#dev-help

1 messages · Page 78 of 1

jaunty sun
#

how can i get secret key on live mode

magic shadow
vagrant steppeBOT
#

george.segovia

olive lake
#

Hello team
I have some errors while calling API from stripe apps.
I am using render for API services.
Please help me

charred saddle
#

Hello there.
I have created product, customer and 3 subscriptions via dashboard (in test environment). And I can see them all (1 active subscription, 1 cancelled and 1 in trial state).
But when I request customer through API I don't see them ( "subscriptions": null, )
I tried python package (stripe.Customer.retrieve) , golang package (customer.Get("<my_customer_id>", params) and stripe CLI .

Maybe the reason is that I created them in dashbord instead of API ?

serene marlin
#

Hi there,
We use Stripe's subscriptions product and I'm trying to create a radar rule that blocks prepaid cards from attaching to customers. I want to make sure I don't block any payments on existing subscriptions. What I had considered is:
Block if :card_funding: = 'prepaid' and :hours_since_customer_was_created: < 1
would that be sufficient or do I even need to include the check for when the customer was created?

fickle wasp
#

Hello folks, do we need to explicitly include a country prefix explicitly when creating a Stripe connected account for a business using the API ? Thanks

olive lake
#

Hello here

jaunty rapids
#

Hello there,
I have created a a product with multiple prices 2 are subscription and 3 are one time payment. And I am using checkout session and then redirect to checkout for payment. Its working but I want scenario where when customer pays it should be put on hold until websites admin checks the details and approves it.

umbral atlas
#

Hello There,
I'm using the api Stripe, but it's strange the route /v1/payment_methods doesn't work.
The first route (/v1/payment_methods/:id) is ok, and send me the right payment method, but the second (v1/payment_methods) send me a void table
{
object: 'list',
data: [],
has_more: false,
url: '/v1/payment_methods'
}
Could you help me please ?

restive forge
#

hello, I'm trying to search customers by email using the API and I see that if the customers are GUESTS I get and empty array, any way to get the GUESTS customers through the API? if not would the best aproach be create a customer with every purchase then if I want to get the invoice for that customer based on email I do a search by customer, get all the customers with that email and then get all the invoices for that email? or is there a more direct way to do this?

tawdry sigil
#

Hello! I want to add few checkbox at the bottom of the payment element and want to make it mandate to click on before cliking on pay now. How can I add it to the existing validation of confirm payment method?

onyx tapir
#

The OAuth 2 authorization flow implemented by Stripe does not follow the specifications defined in RFC6749 section 4.1.2 in the case of authorization rejected by the user. The state parameter is required in the response if the client_id and redirect_uri in the request are both valid (see also section 4.1.2.1), I quote:

state
         REQUIRED if a "state" parameter was present in the client
         authorization request.  The exact value received from the
         client.

Consider implementing the specification according the RFC6749, otherwise cross-site request forgery cannot be verified.

IETF Datatracker

The OAuth 2.0 authorization framework enables a third-party application to obtain limited access to an HTTP service, either on behalf of a resource owner by orchestrating an approval interaction between the resource owner and the HTTP service, or by allowing the third-party application to obtain access on its own behalf. This specification repla...

steel pewter
#

Hello! I have a question about the Stripe Invoices. I see that an invoice on Stripe's webpage has as "amount due: 0" but when I download the invoice pdf then the amount due is the paid amount and not 0. Is this correct?

winged basin
#

Hello,

My first customer accidentally used my business email for his payment. He told me he thought "email" stood for whom he should pay, something like PayPal, lol.

Anyways, the payment went through fine, and I received my 750 euros. I just wanted to make sure Stripe wouldn't think I was paying myself, as I noticed it's against the TOS. I already went ahead and updated my customer's email from the customer's tab.

sweet forge
#

Good day mates! The 125.74 is total price I charged the client. Why does Stripe take 4.39 as fee, it's more than 2.9% + 0.3USD

brisk fern
#

Hello, I apologize for asking this question here, but I am in a very complicated situation. At the end of last year, I opened a company and I decided to use stripe for aggregating payments. I made most of the purchases from the company with my personal card, I did not use the company's data, so I cannot very clearly present the proof that they were bought through the company, but I can present my documents and show my connection with it.
After we put our products up for sale and sold a considerable amount, due to unsuccessful payments, stripe decided to return all the money we earned. The idea is that they ask us for some documents, which we presented but which they do not accept. What should I do not to lose all the money? please write to me that they are coming back on the 25th and I have already sold the product to over 3000 people, I will lose everything

lime bear
#

No payouts in test mode? We recently added a new platform account in Australia. This account has not been set up fully yet (we are awaiting banking information). However, we have started testing connected account transactions. We are noticing, however, that no payouts are happening even tho we have set the account to auto daily payout. (This is the TEST account: acct_1OjtBpQnKhsI877Z)

boreal widget
#

Hol

autumn creek
#

if a expiring payment method doesn't update automatically and a subscription is about to renew, is there a way to notify the customer that their payment method needs an attention?

pine plaza
#

Hi,
How can I use stripe api to get the revenue amount make from my plans users subscription too

covert nest
#

Hello guys,

I have an issue here currently,

My team and I are integrating stripe-connected accounts, but we got to a point where we need to verify the company for us to let users seamlessly operate full wallet functionality like payments wallet top-up, withdrawal, etc, I got the document that speaks to the requirements for the verification but we are still confused on some parts there, so we need help, don't know if anyone has been able to scale through that for their company for global payment solution using stripe connected accounts here, kindly assist because stripe supports are not responding at all.

I hope to hear from your contributions, please kindly help with whatever solution you have,

Kind regards,
Raphael.

broken geode
#

Hello, I am using the <CardElement /> in a ReactJs project, but its not responsive.
On desktop its ok but in mobile there is "number card + MM//AA + CCV + Postal code" on the same line and it doesnt fit the screen !

How can I do ?

Here is my style :

const cardStyle = {
style: {
base: {
color: "#32325d",
fontFamily: "semplicita, sans-serif",
fontSmoothing: "antialiased",
fontSize: "12px",
"::placeholder": {
color: "#32325d",
},
},
invalid: {
fontFamily: "Arial, sans-serif",
color: "#fa755a",
iconColor: "#fa755a",
},
},
};

glacial igloo
#

it is alpanumeric so whats the rpoblem??

honest abyss
#

Hello everyone, we're implementing an express checkout flow on our site but faced an issue with tax calculation. We need the full address to calculate the tax correctly, but the shippingaddresschange event only provides partial information, is there any recommendation for this case?

undone tangle
#

idempotence problems

opaque marsh
#

Hello! My question is related to Stripe customer portal. My business case requires to update payment method on the individual subscription by customers. I've found that I can create a link to customer portal stripe billing_portal sessions create --customer=cus_id. But can I create similar link that directly opens subscription details to update PM? Looks like such page is even present

magic shadow
frank basin
#

Hi! When a customer redeems a one-time use promotional code from the API, the system applies it correctly but does not count the redemption of the promo code. Then that same promotional code could be used by another customer. It only counts it when it is redeemed from Stripe checkout.

Why is this? How can I fix it?+

red radish
#

Hi! I have an issue with my payouts, I received an email saying they would be delayed because i haven’t update my statement descriptor, I’ve done it now but my payouts are still being delayed.

How do I fix this ?

boreal gale
#

Can we send webhook events to our endpoints from connected accounts payments?

glacial igloo
#

i am making a checout session embedded, as my client i give the account's stripe account header, but when using my own publishable key on frontend i m unable to do anything why is that, why isnt the platform's publishable key not allowed?

meager quarry
jovial ice
#

Hi, What is the optimal tax solution for a negative invoice amount returned by stripe?

dapper heath
#

Morning all, quick question about using Link payment method with Payment Intents when confirm=True and api version 2020-08-27

Last week mandata_data seemed required to send on Payment Intent creation if I was using a Payment Method of type Link.

Now it appears to work fine without me sending that param at all. I tried creating new test accounts on Link to see if that triggered a need for a mandate but it all seems to work fine without passing the parameter.

Does anyone know when / why this data is needed? We always confirm our payment intents upon creation and have only seen this issue, intermittently, for Link payment methods. Thanks for any help! https://docs.stripe.com/api/payment_intents/create#create_payment_intent-mandate_data

west vault
#

Hello, I am trying to implement the Save Payment methods Beta, but I am encountering some problems in my Subscription flow

when trying to confirm a PaymentIntent with the confirmPayment method, it gives me back this error: When setup_future_usage is set to off_session with a secret key, you can only update setup_future_usage to off_session using a ConfirmationToken (https://dashboard.stripe.com/test/logs/req_dzpof7PtrbNOay)

i did not specify setup_future_usage neither in the Elements object, neither in the server-side Subscription creation - what can i do to fix this error?

foggy oak
#

Hi there, we have an issue with ideal bank selector that when Stripe confirms and redirects to the bank page, it shows a popup saying 'Safari can not open the web page because the address is invalid" though it does land on the correct bankpage

dire badger
#

Is setting up a bank account for payout part of the stripe hosted onboarding UI or expected to be built using the API's?

fiery fable
#

Hi. Need help. If I charge the client $1. And then make 100% refund. Will Stripe take any commission for this?

spare meadow
#

Webhook signature verification failed.
Is the webhook key starting with... we_

supple niche
#

Hi - quick question. Is there a way to transfer amount between customers in stripe ?

brave flax
#

Hi folks,

I'm trying to pin point the origin of some weird requests coming in to my servers and I'm now wondering if it could come from Stripe itself.

Context:

I have a pretty standard Stripe Payment Element integration. I pass an URL with query params to confirmParams.return_url when calling stripe.confirmPayment . This URL is a dedicated internal hop where I perform some checks and then redirect back to the final location. This path is not findable through any site menu whatsoever.

Weird case:

End-user pays with credit card, so basically the return_url is never actually hit by them, since there is no redirect. Payment intent is confirmed.
Now, 2 days later, My server receives a GET requests at the return_url, with the query params stripped from it. My endpoint crashes since this is technically an impossible case.

Looked at the request and the origin IP appears to be AWS on the US west coast.

Is there some automated process within Stripe that could trigger these requests?

Thanks!

regal bloom
#

Hello! We are using subscriptions from Stripe Billing with Apple Pay.

We've been successfully using it for the past weeks, but now we want to add free trials.

Therefore, if a user starts a subscription with Apple Pay (in iOS) and they deserve a free trial, we:

  1. Generate the sheet using STPApplePayContext - that creates a payment method ID
  2. We pass that to our server that creates a subscription <- that subscription does not generate a payment intent we use free trial when we create it
  3. Our server cannot return a client secret and therefore we can't close the Apple Pay sheet, as that requires either an error or a client secret.

Has anyone faced that in the past? Thanks.

craggy vigil
#

👋 Hello! Looking for some insight related to Customer Tax IDs and validation!

Team and I have a Stripe integration w/ a custom checkout experience for subscription based products. In this UX, the customer (primarily EU) are able to provide their customer tax id (primarily VAT IDs) during checkout. As we've learned it appears that Stripe validation of these tax can take some time (asynchrounous). And what is resulting is the first invoice upon completion of checkout does not have the tax ID appearing on the invoice. Which customers are filing issues on. Subsequent invoices have the tax ID associated. Just wondering if theres anything that can be done for this particular scenario/first invoice?

vocal wagon
#

Idk which option to contact, It's kind of annoying how it tells me to contact support and then gives me a million different options 😭 especially when I don't even know what it wants me to do since I have no new emails

versed igloo
#

Hello!
Sometimes Sentry reports (Network error: ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))) . There is no clear pattern when it happens. Response is not received, so I couldn't provide request_id.

I'm using Python SDK 6.7.0

tawdry sigil
#

Team, I want to prefill few fields for few payment methods in payment element. How can I do that?

teal rose
#

Hi folks,

I have been building a product with some developers which uses Stripe's connected account capability. Currently, we are having trouble calculating taxes. Here are the two uses cases we are hoping to understand better:

  1. We want to be able to calculate taxes automatically for our connected accounts when they sell goods/services through our platform. Do we need to register in each state we do business or is there a way to do this all at once?

  2. Is there a way to customize taxes per good/service. For example, we would like to toggle on/off tax collection for labor and other services for each connected account.

Thank you.

queen mulch
#

I added funds to my customer balance. On the stripe dashboard screen, I see the "Invoice credit balance" and the value is there.
When I create a checkout, whose mode is "SUBSCRIPTION", my customer can pay for the subscription with the balance funds.
But when I create a checkout whose mode is "PAYMENT" and I send the link to my customer, he can't pay it with his balance, only with credit card. Why?

novel hearth
#

Hi there, hope you're doing well!

I'm creating a subscription flow using Python that consists of:

  1. Adding a card with a stripe.SetupIntent
  2. Creating a subscription with that card using stripe.Subscription.create

It worked fine when I did it from a web client using the Stripe JS library, but when I try to do it using the Android SDK, I'm getting the following error: "No such source: 'pm_1234ABCDefgHi'"

I checked and the payment method is correctly registered and attached to the user, but I assume that attaching it from Android is different than doing it from the web form. The only way I got it to work with Android was to set the payment method as default, but that was not necessary when doing it from the web.

The questions are:

  1. Do I need to set the card as the default before I can subscribe with it?
  2. Why does it say "No such source" when the source is there and associated with the user?
  3. Can this be related to using a slightly older version of the Android SDK?
hexed sand
#

Hello all, I have what should be a simple question/problem, but has burned a lot of my time. Any ideas welcome. I am using a pricing sheet as follows:

<stripe-pricing-table pricing-table-id={ process.env.REACT_APP_STRIPE_PRICING_TABLE_ID } publishable-key={ process.env.REACT_APP_STRIPE_PUBLISHABLE_KEY } customer-email={userData.email} client-reference-id={${user.uid}-${org}}></stripe-pricing-table>

And it is only displaying the items vertically on the desktop instead of horizontally. I have tried putting it in divs with max width and min height, as well as in divs that are flexDirection: row, but to no avail. Which makes sense since it is an iframe. Any ideas on how to get this to not look horrible?

mystic ingot
#

hello

#

can I get some help on ids?

#

have a quick question regarding the session id vs the id on the payment screen

tawdry flax
#

Hi everyone! Im trying to verify a domain for use apple pay, but the problem is that my domain needs an slash (....com/account) Is there something I can do that doesnt involve verify the domain without the slash?

vernal elm
#

Hello,
We're using Stripe inside our Mobile application and are struggling with the fees that Stripe takes on each payment.

On our platform users can create a Stripe account connect to receive payment from other users.
If we refer to the stripe fees it says

  • 1,5 % + 0,25 € from UE cards
  • 2,5 % + 0,25 € from others

When we create a payment intent we pass the transfer_data param and the amount + destination inside
the amount is the price minus a fixed fee from us (5€) so for example :

  • The customer pays 35€ (fixed fee included)
  • in the payment intent amount - fees so it's 30€ for the user and 5€ for us
  • Stripe takes 0.92€ of fees on the transaction but it should be lesser and should be around 0,775€
  • And so at the end user takes 30€, Stripe take 0,92€ and we take 4,08€
  • So we need to know what precisely Stripe takes as % to have 5€

0.92€ is about 2.63% so there is something we don't get and we need to be accurate for legal things
Thank you.

hazy vapor
#

Hello team
How do we know the charge for enabling this

zealous pelican
#

Hello, looking at when a trial ends, I do wonder:
On a subscription object, can the trial_end ever be different from current_period_end? (if the sub is trialing)

vocal wagon
#

Hello, Im new and setting-up my initial app with the help of the YT video of React Stripe.js and the Payment Element from Stripe Developers. Now when Im looking in my console when starting the app, I get the following error:
{
"error": {
"message": "Invalid API Key provided: pk_test_************************************************************************************************Cdwx",
"type": "invalid_request_error"
}
}

I literally copied the publishable key from my test-mode Developers API Keys page into my .env file and still get this error.
What do I need to do to resolve this?

keen field
#

Hello I traveled to a different country and im struggling to logon to my account because ive lost my number (and backup code), I cant seem to recover my account can anyone help?

maiden hazel
#

Hi there, I am working on a subscription with 14 days of trial. However, my question is: does stripe prevent the same user from deleting his account and starting a new account with another 14 days of trial? Or do I have to handle that myself somehow?

feral swan
#

Hey folks! So just trying to figure out the best way to fire a webhook when an order/payment intent comes through with a discount applied. I use invoicing and I can see it there, however the invoice is done at the end of the process, I'm looking to figure out how to know when an intent comes through with a discount. Any suggestions?

basically similar to a hotel pre-authorization.. we want to know if the pre-authorization has a discount applied before we make the final charges.

thin acorn
#

Hi guys! I reached out yesterday about #dev-help message Payment Method issue. That got resolved. Thank you so much for that.
Here is an example of two attached payment methods, 'https://dashboard.stripe.com/test/payments/pi_3OmK45KWfSycpO9E1lsXVUYw' This one has all details about the user.
There is another we have from the past and most users have this "card_1Om2XTKWfSycpO9EvPJHpNPR" -> this has some missing details like billing email but so that it can show up in checkout nicely. But I am not able to update this. This is becoming a blocker for us. We want to update billing_email on this so that we could make it show up in Stripe hosted checkout. Screeshots attached above

fierce rover
#

Connected Account Question
Right now, when I receive the webhook event: invoice.paid -> I check my backend to see what connected account is associated with the customer who paid.

Then I make an api call to manually transfer a portion of the invoice amount to the connected account.

**QUESTION: **Will the funds from a paid invoice be immidietely available in my stripe balance to transfer to a conencted account?

spare meadow
#

$ stripe trigger customer.created fails: evt_1OmK9HJ36fJ52FffBcoe1G6r
Webhook signature verification failed.

autumn creek
#

is it not possible to store meta data for the line_items on the Checkout Session?

frank tapir
#

Hey Guys,

I am for the first time using payment links. I'd like to use it but without creating a Price or a Product, only a payment for an amount. My platform is for pay as a service and I don't want to rely on Stripe Products for this.

                'unit_amount' =>123,
                'currency' => 'EUR',
                'product_data' => [
                    'name' => 'Teste,
                ],
            ]);

            $payload = [
                'line_items' => [[
                    'price' => $price->id,
                    'quantity' => 1,
                ]],
                'application_fee_amount' => 10,
                'transfer_data' => [
                    'destination' => 'acct_XXX',
                ],
                'payment_intent_data' => [
                    'setup_future_usage' => 'off_session',
                ],
                'after_completion' => [
                    'type' => 'redirect',
                    'redirect' => ['url' => example.com],
                ],
            ];

            $paymentLink = $this->stripe->paymentLinks->create($payload);````

Is there such way of having payment links for an amount, instead of a price? Thanks ❤️
shut flower
#

Co-worker too, 5 hours away from each other

cursive summit
#

Hi, I'm trying to calculate the taxes on a purchase during checkout. The problem is that I need the users zipcode to calculate that tax rate on the subtotal. I was hoping to get the zipcode as the user is typing in the zip during their payment. I'm using the PaymentElement and paymentIntent but the problem is that I can't the zip from the paymentElement form. Is there something I'm missing.? See screenshot for sample checkout flow.

#

Thanks for your help with this!

tawdry tusk
#

Hi, I need help with stripe fees, I contacted stripe support and told me I need help from dev

open dagger
#

I am using Stripe Terminal and looking for a syncronous way to collect a payment from a Terminal reader. I'd like to avoid using a webhook if possible, because it will require a large architectural change. Is there any solution to synchronously collect a Terminal payment?

autumn cobalt
#

Hello, I am trying to get more technical information regarding the Stripe Identity service. My company is considering integrating Stripe Identity with our Mobile app that is currently in development, but I have a few questions regarding the features and integration capabilities that are available for Mobile apps. My questions are as follows:

  1. Is there a Stripe Identity Flutter plugin available, or is there one currently in development? Our mobile app is a Flutter application for Android/iOS, and from what I have read in the Stripe Identity documentation, you currently only have the Web kit, or the native Android/iOS kits available. We would prefer not to have to use the Web kit inside a Flutter WebView, but instead use a Flutter Stripe Identity plugin if there is one available.

  2. Is there a Stripe Identity Restful API, similar to the Payments API? I looked at the documentation and all i could find is the platform kits, and no mention of a Restful Stripe Identity API.

  3. In regards to the Stripe Identity Web kit, is there an ability to customize the verification session flow so that the user is not uploading the same ID card or Selfie every time a verification session fails? We would like to use Stripe Identity to verify both a valid Driver's License, and a Selfie, but it will be very annoying to the user if one of the documents they uploaded failed and they have to reupload / take a picture of the document that already passed verification.

I appreciate your input, as this will help us determine our next steps moving forward.

Thanks.

fiery stirrup
#

Is it possible to cancel an ACH before it's completed?

untold spoke
#

hello

#

i need help with something someone messed up my stripe with fake credit cards for no reason is there any way to get rid of this?

open dagger
#

On Stripe terminal, can I disable pre-dipping for setReaderDisplay?

tawny cliff
#

Hi devs, i have a subscription plan with Checkout session which works well implemented with code as follow: const session = await stripe.checkout.sessions.create({
mode: 'subscription',
line_items: [
{
price: estelarPriceId,
quantity: 1,
},
],
subscription_data: {
trial_settings: {
end_behavior: {
missing_payment_method: 'cancel',
},
},
trial_period_days: 30,
},
customer: customer !== '' ? customer.id : user.seller.stripeCustomerId,
//payment_method_collection: 'if_required',
success_url: ${process.env.BASE_URL}/seller/plan,
cancel_url: ${process.env.BASE_URL}/payment/seller/cancel,
}); When customer cancel the plan, it cancels immediately, is it possible in this snippet to let customer cancel their plan after the end of the cycle (30 days)?

pine monolith
#

Good evening,
I need your help,
I opened a Stripe account, I need to use the recurring product. I wanted to know, is it possible to include the first installment of €220 and then the subsequent recurring monthly installments of €100 in a single payment?

night peak
#

Hi - I'm experiencing an issue where customers are receiving emails to update their billing information. These emails (I think) are automatically sent by Stripe when a charge fails. But the link to "Update Billing Information" is a link to our pricing page, rather than the Stripe Customer Portal. Additionally, the "contact us" email is incorrect in this email.

How can I change the information included in this email and ideally send a test email to myself to verify that it's correct?

final ibex
#

Hello!
For use the stripe subscription/recurrence it is mandatory to create a product and set a price and quantity?
It is possible just inform the coustumerId and a value in the stripe subscription/recurrence creating request?

cerulean bear
#

I may be in the wrong place to ask this, but when I click the account I just keep getting this message, any ideas?

stable pumice
#

hello every one

#

we have a problem with strip (Reply directly from your inbox
In order to restore your account’s ability to make charges and receive payouts, please check your email for next steps or reach out to our support team.
Contact Support(

languid tulip
#

@stable pumice let's use the thread I created above

stable pumice
#

stripe closed our account . we have founds i can not make e a refund or any payout

final ibex
proud lily
#

Hello, when I am working in Stripe JS for a project and I am creating subscription schedules.

My question is - if I have a phase, am I able to link a coupon to the phase by creating one while I am creating the subscription schedule? Or does the coupon have to exist prior?

violet knoll
#

We are using a platform account with connected accounts, and placing funds in the connected accounts using destination transfers. We need to provide to the customer a report on what transactions are included in a payout. I've looked at these documents: https://docs.stripe.com/expand/use-cases#charges-in-payout, thinking I could listen for payout webhook notices and then track back to the original source transaction to update our database with the payout date. Unfortunately, it appears that looking up a payout to a connected account requires you provide the account id of the connected account. But when I receive the webhook notification, there is not sufficient information contained in the event to know what account that payout is linked to.

So I was hoping I could go the other way. Start at the original charge and work my way to the payout. I can get to the destination payment from the charge, i.e .charge.transfer.destination_payment, but there doesn't seem to be a way to get to the payout from there, even though in the UI I can see the payout listed in the Connections area on the destination payment.

I've also looked at the "available_on" date that you can get from the charge.transfer.destination_payment.balance_transaction.available_on, but it is not the same at the payout date in all cases.

So, is there a way to get from a charge through a destination tranfer to a payout, or from a payout in a connected account back to the original charge?

Learn how the expand attribute helps you perform common tasks.

white steppe
#

hey I have a simple question that someone here should know

#

im sending an invoice to a client in the US for first time from the UK

#

is their anything else i need to set up to receive payment

languid tulip
#

@white steppe let's chat in the thread I created above

exotic heart
#

Hi How Can ME Add in form payment after payment send invoice?

`const CheckoutForm: React.FC<CheckoutFormProps> = ({
clientSecret,
handleSetPaymentSuccess,
}) => {
const { cartTotalAmount, handleClearCart, handleSetPaymentIntent } =
useCart();
const stripe = useStripe();
const elements = useElements();
const [isLoading, setIsLoading] = useState(false);
const formattedPrice = formatPrice(cartTotalAmount);

useEffect(() => {
if (!stripe) {
return;
}
if (!clientSecret) {
return;
}
handleSetPaymentSuccess(false);
}, [stripe]);

const handleSubmit = async (e: React.FormEvent) => {
e.preventDefault();

if (!stripe || !elements) {
  return;
}

setIsLoading(true);

stripe
  .confirmPayment({
    elements,
    redirect: "if_required",
  })
  .then((result) => {
    if (!result.error) {
      toast.success("Checkout Success");

      handleClearCart();
      handleSetPaymentSuccess(true);
      handleSetPaymentIntent(null);
    }

    setIsLoading(false);
  });

};

return (
<form onSubmit={handleSubmit} id="payment-form">
<div className="mb-6">
<Heading title="Enter your details to complete checkout" />
</div>
<h2 className="font-semibold mb-2">Address Information</h2>
<AddressElement options={{
mode: 'shipping',
allowedCountries: ['*'],
blockPoBox: false,
fields: {
phone: 'always',
},
validation: {
phone: {
required: 'always',
},
},
}} />
<h2 className="font-semibold mt-4 mb-2">Payment Information</h2>
<PaymentElement id="payment-element" options={{ layout: "tabs" }} />
<div className="py-4 text-center text-slate-700 text-xl font-bold">
Total: {formattedPrice}
</div>
<Button
label={isLoading ? "Processing" : "Pay now"}
disabled={isLoading || !stripe || !elements}
onClick={() => {}}
/>
</form>
);
};`

quasi night
vernal wigeon
#

Hi, is the email param to pay.stripe.com/receipts/payment/<big-ol'-hash>?email=... an API guarantee? Like I can craft URLs with the email in it for customers accessing receipts that might be "expired"?

storm imp
#

hi! Some of our subscribers have a credit in their Stripe account, used to pay their monthly subscription. We are offering add-ons now, in which we create a new product_id that is just a one-off charge. We do not want the subscriber's credits to be applied to this charge. Is there anyway to collect the invoice for the one-off charge immediately specifiying that we use the card on file over the credits?

molten granite
#

Hey is there a way to retrieve a list of events via api? E.g. provided a setup intent id, I get a list of events including creation, confirmation etc.

cold forge
#

Hi, I am searching for a way to change a customers address from an AddressElement in the frontend. For Cards I figured it's best practice to tokenize them and then connect the new Card to their existing PaymentMethod. Is there a similar way to tokenize only the address and attach it to the customers current PaymentMethod? Kind regards 🙂

glacial flame
#

what is this mean ?

violet knoll
#

I previously asked about payout webhooks. Thank you for your quick response. I will be able to use that for future transactions. But I also need to backfill the payout date on historical transactions. Is there a way to do that from the charge? If not, how else might I do that?

eternal rune
#

Hi, how is-it possible to find out how a customer was created? Is there an api log ?

warped wing
#

Hey i am a college student and i am new to payment integrations.I need api keys just for testing purpose urgently for a resume project but stripe asks for work email and also for india there is a waiting period for activation how do i get api keys?

undone creek
untold spoke
#

did someone also get card testing attack i dont know what to do because evry chargeback is 20€ out of my own pocket and k didnt even do anything

undone tangle
#

Idempotence doubt.

Hello Stripe team, I am creating a checkout session and in it I am adding idempotency, but it does not arrive in the type event: checkout.session.completed

mental shoal
#

can i use paypal for off.session payment?

agile olive
#

Hi! Can we use wallet payment methods like Apple Pay and Google Pay together with Embedded Checkout?

fierce storm
#

Hey! Quick questions. I believe that this is not possible, but just checking just in case. I am testing subscriptions, and it would be useful to have intervals in minutes. I believe the minimum interval for a subscription is 1 day. I know about test clocks, and have used those a lot, but it would be easier to test the subscription in the context of the rest of the app if I could set the interval to a few minutes. Thank you!

oak bluff
#

Hi, quick question about hardware orders.
I'd like an easy way for our users to order new terminal hardware.
I know we can order for them from inside our dashboard, but that link seems to be password protected, so I can't share it with clients: https://dashboard.stripe.com/terminal/shop/thsku_KDjyldD4ifx2za

I know we can create a product in stripe and send that payment page to the customer, but that doesn't link to the terminal ordering from Stripe ... so we then have to go order the card reader from Stripe using the client's details and our credit card.

I also know we can use the api to handle this ordering - this is what we want to do in the long term - we just need a short term solution for the next couple of months until we can do the api coding setup.

So my question is: is there an externally accessible link that we can use for clients to purchase the WisePOSe hardware from Stripe? We don't want to mark the reader price up, we just want to sell it at cost.

Thanks

feral galleon
#

Hey, I want to purchase a ticket for Stripe Sessions 2024. Before I do, can you tell me if attending this conference can benefit me as a programmer who is trying to create a startup?

golden tundra
#

hey, can we make a subscription that is not recurring? like a lifetime plan?

serene bronze
#

if your organization has Use a Smart Retry policy turned on, is it possible to opt out individual invoices from that retry behavior?
we have a certain circumstance where we don't want invoices on single-time purchases to be "recovered" using the retry policy, but we do want it in place for our subscription payments.

umbral seal
#

Why am I getting this error message and why is it taking so long to get support?

wheat wind
#

Is there a way issue a restricted api key locked down by connected account?

sharp cliff
#

Hi guys, I am wondering if using Stripe Connect it is possible to pay out money to a Connected Account via BECS direct debit

thin acorn
#

Hi Stripe Team, Thanks for helping me with all the queries.
Is there anything we can pass in the session config when creating Stripe Session so that payment method we collect there becomes the default payment method?

terse veldt
#

I am getting No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? even though there is a signature. Using nextjs

cinder ore
#

Hello what’s the meaning of this I’m a stripe user and since last year stripe freeze my account and don’t allow me to refund or withdraw my funds a work that I completed for my clients and took my time now I can’t withdraw or refund to them and now my business is distroyed

echo mason
#

Hi, I'm using Stripe Checkout Session for subscriptions. Here's an example scenario:

  • Product is $200/yr
  • A 7 day free trial (trial_period_days: 7).
  • A $100 discount - coupon's duration is set to once (discounts[0].coupon: {id}).

A payment method isn't required upfront (with payment_method_collection: 'if_required' and missing_payment_method: 'pause' for the trial).
So after a user's 7 day trial, they can choose to add a payment method to "officially" start the plan (Stripe's billing portal is used for this).
This has been working great.

Issue:

Today, a user entered the Stripe's billing portal, clicked "start subscription" (which correctly created the first $100 invoice [-$100 discount]), but they backed out (instead of filling card info & clicking "start plan")

They clicked "start subscription" again, and Stripe voided the first $100 invoice and immediately created another invoice (this time, for $200). The user proceeded to pay and was charged the $200 - so they technically didn't get the $100 off.

Looking at the logs, Stripe applied the $100 discount to the first invoice & removed the coupon from the user's subscription (which I guess makes sense since it's a one-off discount). Clicking "start" again voided the previous for some reason, so it of course creates a $200 invoice since that coupon was already removed from the subscription.

stone stag
#

Hey everyone, not sure if anyone knows but I’m curious if you can setup the payment page to accept multiple credit cards for the purchase? Say it’s $1000, put $500 on CC 1 and the balance on CC2

thick fulcrum
#

Hi. I'm using Stripe Pricing tables and have a few questions...

I’ve got the pricing table live on our website as a test page - https://geonadir.com/pricing-new/

  • When you click ’Subscribe’ it goes to the stripe checkout for a $0 payment. As this is a ‘free forever’ account, can it not go to the stripe payment page, and just go straight to our web app to create and account, being this page - https://data.geonadir.com/sign-in

  • When you click ’Start trial’ it goes to the stripe checkout page. We need to link this payment to an account if the user is a new user. What is the easiest way to link the payment to a user account? The current workflow with the payment link is - User clicks subscribe - is directed to our sign up page (https://data.geonadir.com/sign-in) - they create an account - they are then taken to the Stripe payment link page.

  • For the Enterprise, is there a way to edit some of the details on this plan? I want to put a descriptor and then some details under the ‘contact us’ button. There isn’t a way to do this inside the Pricing Table editor. But wondering if my developers can do this inside the code?

  • On the billing portal (see attached screenshot) it says ‘Login to manage your account’. Is there a way to change this text?

Thanks!

GeoNadir

Organising the world's drone data to protect at-risk ecosystems - Join our mission for change.

vagrant steppeBOT
#

knous

pine rune
#

I saw documentation about creating no-cost orders with Checkout Session.

Is it possible to do so with PaymentIntent API? I don't see it mentioned in PaymentIntent doc.

vagrant steppeBOT
#

billibala_

simple bronze
#

Hi there, I need to send custom email to user regarding invoice paid and send a receipt along with it but in stripe apis, I'm only able to file invoice_pdf and I can't send it becuase it show that amount is actually due and not paid yet.

vagrant steppeBOT
#

shayan5871

finite ember
#

i try to verify and the verification went through but when i go back to dashboard it says i haven't verified and i need to contact support. can someone help me?

potent ocean
#

currently I am using hardcoded amount in custom flow prebuilt page. Any documentation about to make the amount not hardcoded

meager hinge
#

Hello.

Q1. in what cases will the current_period_end field in Subscription be updated?

Q2. should the current_period_end field in Subscription always be updated to a future timestamp only?

Q3. Will the current_period_end field of a Subscription be updated when the subscription is canceled or refunded?

Reference

nova moth
#

Hey there!

I've started building a Stripe app - the idea is to be able to split payouts by percentage between different accounts.

I realized today you can only add one bank account per currency in Stripe through https://dashboard.stripe.com/settings/payouts

So intead I was wondering if it's possible to add multiple bank accounts per currency using Stripe API. I tried using stripe.accounts.createExternalAccount to try and programatically create an additional account but received the following error: "*You cannot add cards or bank accounts for payouts and top-ups away from the dashboard" *.

So instead of making the request from my apps backend, I tried to make the from my Stripe app, instead I now get the following error "stripeApiFetch does not support /v1/accounts/" I

Is what I am trying possible to do? How is stripe.accounts.createExternalAccount supposed to be used?

echo coral
#

Hi,

I'm creating Stripe Apps, but I'm not able to test it as my Stripe account it not activated. I'm a developer and I use this account only for test purpose.

I've already contacted you - #1209821203704057857 message

Here you mentioned the external test case. How can I test it on my own account in test mode without activating my Stripe account.

The reason is I'm a developer and this is my test account, thus I done have a businsess details etc..once this integration is ready I can create the actual Stripe app with an activate Stripe account

vagrant steppeBOT
#

sinduri_akshay

scenic jacinth
#

Hi quick question, in test mode, when I create an invoice with line items through the API it takes 1 hour to charge the payment card using charge_automatically. Is the charge on live instant? And does a copy of the invoice get sent or just the receipt?

Am I able to send the invoice once paid through the api with the line items instead of just the receipt? Doesnt look like the receipt contains the tax info of my business.

umbral seal
#

Why did you guys lock down my post and not answer the question??

limpid kettle
#

Hello i am trying to create an external account card but I cant create a token as it tells me i cant send card data directly. How can i test the create external card account?

meager hinge
#

Hello.

Q1. When a subscription is terminated after the end of the current subscription cycle via the Subscription Cancel API, it seems that the values of the ended_at field and thecurrent_period_end_at field will be the same. Is my thinking correct?

Q2. What are the cases where the ended_at field and current_period_end_at field are different when the subscription has ended?

echo coral
#

I integrated bacs direct debit in our WooCommerce plugin. One of our customer reported a duplicate/multiple time payment occurred
Req id- cus_PTbLHvp8bnyI8j

versed turret
#

Is there anyway to throw an error in stripe if a user is trying to subscribe a subscription again but user already has a non cancelled subscription package in his stripe portal.

cerulean spear
#

what happens to a scheduled subscription that has no payment method?

true rock
#

Regarding collecting tax ID with Checkout, there are countries that are not supported, is there any other way to collect it?

viral spoke
#

Hey, I'm currently using checkout sessions to collect payments and now I have so many similar "customer" and "guests" in my dashboard with redudant data.. how can I create one customer and save every data from checkout sessions to it? I first thought it works with the same email, but that's not the case...

cerulean spear
ebon venture
#

hi there im trying to implement upgrading and downgrading subscriptions in my customer portal.

It is quite simple there are only two subscriptions and i want users to be able to switch between the two. Ive taken a look at the limitations listed but it seems like none of those apply to me i was hoping someone could help me take a look at it and see how to fix this

brave fog
#

https://docs.stripe.com/connect/custom/handle-verification-updates#adjust-integration-new-responses I am referring to this documentation from Stripe regarding handling verification updates for Stripe-hosted integration types. How can I collect information from affected connected accounts and handle verification responses? Please suggest a method or API for identifying which old accounts need this update and how to collect all the necessary data.

Help your Custom connected accounts maintain compliance with changing verification requirements.

drowsy scaffold
#

Hello, I have an American company/a Canadian company/an Australian company. How much does it cost when these companies use Stripe to collect payments for e-commerce sales?

#

hey ,there r u online now?

#

i was not sure if u can understand what i said

hasty sequoia
#

what is ths process of creating stripe connect account for company

#

for australia

#

bit confusing for company - custom version

echo coral
#

I've integrated BACS using Stripe. One of our customer reported that they charged multiple time..
Please check the log, these logs came up after checkout session API call.

My question is, is there any chance to duplicate the payment without the customer initiated the payment 2 times?

vagrant steppeBOT
#

finator_-account-support

formal shell
#

I need some help in understanding the subscriptions flow.
My current implementation listens to the webhooks invoice.paid and customer.subscription.updated.
When I get invoice.paid, i read the subscriptionid from the invoice and get the current_period_end from the subscription object and write it to the user in my db.
With customer.subscription.updated, I read subscription.status and write it to the user in my db.

To activate the subscription for the user, I have the following logic:
current_period_end >= Math.ceil(Date.now()/1000) || subscription.status == "past_due"

I want the user not to loose their subscription access if the payment has failed, unless it fails multiple times, and thus the subscriptionstatus is set to canceled.

It works most of the time. But I noticed something strange today. A users current period ended, but the payment method needed to be updated. I would expect the customer.subscription.updated webhook to update the subscription to "past_due" until the payment was made. Instead, it seems the customer.subscription.updated got triggered with a new current_period_end and an active status, as if the payment would have already been made, even though it hadn't. And with my current implementation, as described above, my server did not write the new current_period_end to the user in the db, and thus, the user lost the Subscription features. A while later, the invoice got paid, triggering the invoice.paid webhook and activated the subscription on the user in the db.

I can send you the event id of the subscription update that I was talking about.
I suspect something is missing from my logic that activates the subscription features in my db.

drowsy wigeon
#

Stripe team -

Visa published this bulletin a few months ago, with two essential items:

U.S. merchants that intend to surcharge are required to:
• Notify your acquirer at least 30 days prior to commencing surcharging
• Include the surcharge amount within a dedicated data field (labelled Field 28) in the transaction message sent to Visa (your acquirer will enable the population of this field)

Source: https://usa.visa.com/content/dam/VCOM/global/support-legal/documents/merchant-surcharging-qa-for-web.pdf

As a developer, how do I pass in the value to Stripe that you will pass as field 28 that Visa wants to see from the you, the acquirer?

hoary thicket
#

He, We are using custom Stripe connected account in our Application and i am using test-mode to test the cases on the app.
While creating custom account, i used this DOB ( 1900-01-01) to trigger Office of Foreign Assets Control (OFAC) alert, which ask for identity document submission.
After submitting identity document ,it shows verified on the dashboard with restricted account status.
As per account detail shows in the dashboard , My payouts are disabled but payment card and transfers are enabled.
However, I am still unable to transfer funds through this account to other account. i am getting this error during transfer: ( Screen Shot Attached)
My account details are: ( Screenshot attached).

Question: Why i am unable to transfer funds ? If my account information is verified and transfer capability is active as well .

vagrant steppeBOT
#

nayabtahir_25441

hoary venture
#

Hi team,

I have add ios domain in Stripe

and i have errror like :

The certificate provided does not appear to be valid. We accept a base64-encoded DER- or PEM-encoded certificate.

toxic storm
#

Morning ! I need help with an item on the subscription API.

viral slate
#

I have created my stripe account 5-6 months ago and it's kyc still under review.
I am from India and I know you take time to activate Indian accounts but it's take too much. No one contacted me. I want to use stripe in website and it's still under review!

still beacon
#

I want to integrate stripe in my app for subscriptions but I don't understand how to go about it. I am using python flask and I don't know which api's will be best suited for my requirements. These are my requirements:

  1. We have a plans page where users can select a plan they want to buy.
  2. Each plan is a monthly subscription plan.
  3. Once a user is subscribed they can access the services provided in the plan and they also get a free 7-day trial period.
  4. Users can also update their plans if they want to.
lilac saddle
#

Good morning All, I am a bit lost .. I am trying to see if i can integrate stripe on our CRM portal, Not sure where to start and how to go about it , This is just for a DEMO purpose if it will work before going full fledged , is it possible. Has someone got an example.

quiet moat
#

Hi, I used setOnBehalfOf(accountId) of PaymentIntentParameters class to transfer payment to the specific account using Tap to pay. But it did not go into that account

woeful portal
#

hi

white warren
#

Good morning, the client asked me for a functionality and I wanted to know if it is possible to implement it using the stripe api.

keen mirage
#

Hello I am searching developer from Poland because my English is not good.

gusty fiber
#

Hello i have an issue with invoiceUpcoming.
Monthly is 5.99$.
Yearly is 59.99$.

I have prorated refunds and I need to show him the amount of refund he will get back before he hits refund button depending on how much time passed since he has subscription.
So:

  1. User buys monthly subscription which is 5.99$.
  2. Then he decides to upgrade to Yearly and pays 54.00$.
  3. Then he wants refund and when the call to invoiceUpcoming is succesfull, he will see 59.99$. But if i want to refund him 59.99$, i receive message from Stripe that we cannot refund more than 54.00$.

On TestMode this is the payload for stripe.invoices.retrieveUpcoming
{
customer: 'cus_PZKpmcyiaCus0G',
subscription: 'sub_1OmOwjDmVlmqORBIPD2ybaYb',
subscription_proration_behavior: 'create_prorations',
subscription_cancel_now: true
}

I want to see 54.00$, the last payment he did with the upgrade

broken ibex
#

Hi, I am building a ticket-booking platform where I am handling payments via Stripe Connect. Now I want the connected accounts to be able to withdraw funds only when an event is completed, and the withdrawals are to be done from the platform app and not Stripe. What I've done so far is to split the amount while creating paymentIntent using 'transfer_data.destination' and 'application_fee_amount'. And setting the payouts to be manual for all connected accounts.

opal zenith
#

Hello Stripe Team i m from germany and we have big problem with our stripe account somebady here to help ? Maybe a call is possible

hasty sequoia
#

where and when should add acn for autralia bank add in

jolly nacelle
#

Hi,
When comes to France installements payment method for example Almapay ?

crystal forge
#

Hi, made the setup with paypal using express checkout element and I get card declined when I try to make a payment, why?

wanton scarab
#

Hello, I am using a payment element and I want to collect complete information about the billing address and the shipping address, for this I use the address element, but it only has two functions: billing or shipping, and I need both. Stripe does not allow you to create two address elements(

lost yoke
#

Is there an easy way to integrate additional payment methods like Paypal in the flutter_stripe packages method initPaymentSheet?

trim cloud
#

Hey there, is it doable to let users pick from various products using the product catalog during the checkout process? I've noticed the default quantity is always set to 1. Any chance we can have it set to 0?

scarlet wharf
#

Hello stripe support.

I am reaching out to discuss our first live SEPA Direct Debit payment. During our testing phase using the IBANs provided, we were able to receive updates on the payment status without issues. However, our first actual SEPA Direct Debit payment remains in a "processing" state, even though we can see that the amount has been accounted for in upcoming transfers.

Could you please advise if there might have been any steps we incorrectly followed, or if this processing duration is expected? Additionally, could you inform us about the typical timeframe from the creation of the payment to when it changes to a "success" status?

Your guidance on this matter would be greatly appreciated as we aim to ensure a smooth transaction process for our clients.

Thank you for your assistance.

frosty forum
#

Hi ! I have a plateform where host can create events and sell it to users. I have set up APIs calls to manage it on stripe with a standard account. The host is handled by connected accounts. Here is the basic present workflow :
1 - Host create a price and an event (a product). (.../v1/prices on the connected account)
Then clients wants to book an event:
2 - checkout session (on the connected account)

Now my client wants to do a destination charges. The purpose is to keep the amount of an event and send it to the connected account once the event has been made.

Here is the question : Could I just change the checkout session api call to make a destination charges instead of a direct payment? I saw destination charges was recommended with express or custom account but I have a standard account. In that case, I would maybe be able to send money to my connected account (even manually) . I'm a little bit lost here

glacial igloo
#

how do i customize embedded checkout session, i mean custom css

fierce sphinx
#

Hey,
Regarding the creation of payment intent, if i don't mention a transfer_data, but only amount and currency in the process. Is this money will go straight to my platform ? If so, how long does it take to receive those funds ? Thx

velvet geyser
#

can we able to show our products and make customer to subscribe the product in customer billing portal?

i know this is for update and cancel.
i created billing portal for my customer before subscribing. but products is not visible here.

is my query possible ?

plain onyx
#

Hi

i am using Session::create method for payment , is there way i can add tax separately in line_items ?

glacial igloo
#

why can i not create account links with account update for standard connected accounts, do those customers get email notified?

junior tree
#

still can’t update my number , losing out on potential funds with stripe with the twitter creator update.

brave fog
empty needle
#

Hi all. Trying to determine which stripes services and APIs I will move forward with. I think I need Stripe Connect but unsure.

I am already using stripes Subscription APIs and are looking for a recommendation on which solution would be best suited for automating the movement of # 5 and # 6 which targets another business's account. (See attached chart).

night oxide
#

hey everyone, I had a question regarding this scenario card is expired last year but it still got charged in January, February 2024 , the card was setup for future usage (off session) payments, for charging the customer after their credits are exhausted

hollow bay
#

Hey, is the a complete guide on how to implement subscriptions with bank transfers?
I need to implement it the way that we can get payments from all over the world.

#

The one in original docs, covers only basic steps.
But there are different types of bank transfers like us_bank_transfer, eu_bank_transfer.
I'm not fully sure how it should be set properly

stuck ledge
#

Hello,

Hope you are well.

I have a query regarding express checkouts. I am implementing both apple pay & google pay.

Please see the UI in the image - There is a google pay button and place order button.

My expectations:
If user selected payment method "express checkout" and selects place order it will have the same functionality as them pressing "google pay"

My developers have said this is not the case, if a user selects place order it wont be able to validate payment method. The reason the "google pay" button works is because it is added via iframe by stripe.

Any help on this will be appreciated

clear phoenix
#

Hey, how can i connect my physical BBPOS WisePOS E reader to the test demo account so I can test the payments using my stripe test cards?

true edge
#

Hi, one of our customers is getting an "incorrect card number" message, with a card he recently used to purchase from us (1 week ago). Any ideas on where to start investigating?

fading cedar
#

I hope you're all doing well.

I'm encountering an issue with the Stripe platform and could use some assistance in resolving it. Here's the situation:

Issue: I am using Stripe Connect and the payment link together, I've created a product and a corresponding price in Stripe. While I can successfully create a payment link for destination charges, I'm facing difficulties when creating direct charges. The system seems unable to validate the Price ID (price_1Omb1zKJSEjWzYEg9hFkHUjn) associated with the product.

Details:

Product ID: (prod_Pbof64EgjwRcyb)
Price ID: (price_1Omb1zKJSEjWzYEg9hFkHUjn)
Connected Account ID where I need to transfer the fees: (acct_1OmYfE4DZ0UWQGWx).
Error message: "No such price: 'price_1Omb1zKJSEjWzYEg9hFkHUjn'"

I've tried troubleshooting on my own, but the issue persists. If anyone has experience with Stripe or has encountered a similar issue, I'd greatly appreciate any insights or guidance you can provide.

I am also attaching the code snippet (after the message) that I am using to create a payment link.

Thanks in advance for your help!

Best regards,
Rahul

fading cedar
# fading cedar I hope you're all doing well. I'm encountering an issue with the Stripe platfor...

The below is the code snippet:

const createProduct = async ({ product }) => {
try {
const prod = await stripe.products.create({
name: product,
});
return prod?.id;
} catch (err) {
throw err;
}
};

const createPrice = async ({ amount, product }) => {
try {
const prodId = await createProduct({ product });
console.log(prodId, 'prodId');
const price = await stripe.prices.create({
currency: 'gbp',
unit_amount: calculateOrderAmount(amount),
product: prodId,
});
return price?.id;
} catch (err) {
throw err;
}
};

const createPaymentLink = async ({ priceId, accountId, amount }) => {
try {
const paymentLink = await stripe.paymentLinks.create(
{
line_items: [
{
price: priceId,
quantity: 1,
},
],
application_fee_amount: calculateFeeAmount(amount, 5),
},
{
stripeAccount: accountId,
}
);
return paymentLink;
} catch (err) {
console.log(err);
throw err;
}
};

export async function POST(req) {
try {
const paymentInfo = await req.json();
const priceId = await createPrice(paymentInfo);
const payLink = await createPaymentLink({ ...paymentInfo, priceId });
return NextResponse.json({
paymentLink: payLink,
});
} catch (err) {
return NextResponse.json(
{ message: 'Error', err: JSON.stringify(err) },
{
status: 500,
}
);
}
}

boreal gale
#

how can I get connected account id from payment intent object?

little cloud
#

Hello,

{
"error": {
"message": "Unrecognized request URL (GET: /v1/payment_intents/pi_3Omblablablalblablablabla/confirm). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}

I am getting the above error. I am setting up a paymentIntent, where i can capture a card and charge it later. I am using python(django) and the official stripe python package.

Any help will be appreciated. thanks..

glacial igloo
#
file1: %+v &{{<nil>} 1708605440 0 logo.png file_1OmbWeQmqRHEEOOSESGj1Uu3 0xc0006025c0 file business_logo 54795  png https://files.stripe.com/v1/files/file_1OmbWeQmqRHEEOOSESGj1Uu3/contents}
[ERROR] Request error from Stripe (status 400): {"code":"resource_missing","doc_url":"https://stripe.com/docs/error-codes/resource-missing","status":400,"message":"No such file upload: 'file_1OmbWeQmqRHEEOOSESGj1Uu3'","param":"settings[branding][logo]","request_id":"req_dLFSh53orteGZO","request_log_url":"https://dashboard.stripe.com/acct_1Oloz8QmqRHEEOOS/test/logs/req_dLFSh53orteGZO?t=1708606022","type":"invalid_request_error"}

file exists, look at the log.. and yet doesnt allow me to update account branding settings

vague oriole
#

I am trying to track conversion events with tiktok ads and the TikTok pixel, I am using the price table provided by stripe, but I don't know how to do it. I have created a payment confirmation page on my website that I redirect to once the payment is completed on stripe, but I lose track if the sale comes from tiktok or from my organic traffic. Can anyone help me?

gusty fiber
#

Hello, i need to check if the upgrade was made on webhooks from Monthly to Yearly and set a flag true or false if it's been uggraded.

I cannot find previous attributes on webhook body.

Or maybe the event id to make a GET for event and take data.previous.attributes

hexed oriole
#

Hello. I'm using this example from the docs to add custom field while creating session on my backend - https://docs.stripe.com/payments/checkout/custom-fields. At same time I'm getting an errorRequest req_H06m23GqFBEuKb: Received unknown parameter: custom_fields[0][web] . I'm testing it with live key, what is wrong?

vocal wagon
#

Hello, The 3D secure does not work in Chrome. Our users can't make the payment. In firefox it's work perfectly.

#

Hi,
If I want to apply a discount coupon only for the annual user to the next billing cycle, what should I do?

untold spoke
#

i had a card testing attack on stripe and i have to pay 20€ to each transaction for fees what can i do about that?

left jetty
#

Hello. I am trying to delete a Subscription Item, but I am getting the following error: "A subscription must have at least one active plan. To cancel a subscription, please use the cancel API endpoint on /v1/subscriptions." I am using the SubscriptionItemService to do so, and I use the DeleteAsync method, yet this error shows. I want to do something similar of removing a product from a subscription, which is what is done in the Stripe Dashboard. Any help would be appreciated.

twilit junco
molten granite
#

Hi all. Does stripe provide a test credit card number which will trigger advanced fraud detection and thus hcaptcha?

hollow wharf
#

hello , this is our we are trying to achieve so can you please help what stripe services we can use that also follow the industry best practices.for subscription we are using stripe subscription api but i have doubt about on boarding of the organisation that by which services of stripe we can onboard the organisation , can you please help guys

ancient flame
#

Hi, is there a easy way to migrate from lemon squeezy to stripe?

umbral atlas
#

Hello,
I use Payment Link, I want to know if the Payment Link can receive parameter (via GET or POST), for exemple to fill fields, or fill future metadata after the payment

young plover
#

is there any way to clone customers and payment methods from a connected account to the platform account?

viscid knoll
#

Hi!
I would like to use the stripe.Refund.create api in python.
Which permissions should I grant to my api key/stripe app?

vocal wagon
#

Hi,
Can someone please clarify
A coupon’s duration indicates how long the coupon is valid for. For example, a coupon for 50% off with a duration of 4 months applies to all invoices in the 4-month period starting when the coupon is first applied. If a customer applies this coupon to a yearly subscription during the coupon’s 4-month period, the 50% discount applies to the entire yearly subscription

If I want to apply a 50% off to a yearly subscription, do I need to create a coupon for Number of months = 12?

keen field
#

hello the support team is not replying to me ive contacted them for weeks now but no answer

viscid heron
#

I am currently working on integrating the Stripe payment system into my Ionic Angular application. My objective is to connect the application with the Stripe Reader M2 device to facilitate secure transactions for our users.

During my development process, I encountered an obstacle related to the integration of the Stripe Reader M2 device via Bluetooth. Upon reviewing the documentation provided by Stripe, I noticed that the examples include Java and Kotlin code snippets. These examples contain several import statements necessary for establishing a connection with the reader device.

However, as I attempted to implement this functionality in my application, I encountered a package dependency issue that has hindered further progress. It appears that the required packages for Bluetooth communication are not readily available or compatible with my current setup.

I am reaching out to inquire if there is a workaround or alternative approach available to address this challenge. Specifically, I am wondering if there is an npm package or any other solution provided by Stripe that enables seamless integration with the Stripe Reader M2 device over Bluetooth.

Your guidance and assistance in resolving this matter would be greatly appreciated. Thank you for your attention to this inquiry, and I look forward to hearing from you soon.

split cargo
#

Hello 👋

We would like to upgrade stripe-js from 2.3.0 to 3.0.5. I don't see anything in your upgrade doc https://docs.stripe.com/upgrades mentioning instructions for upgrading stripe-js and I don't see a changelog file in the library here: https://github.com/stripe/stripe-js

Are there any breaking changes to stripe-js from 2.30 to 3.0.5?

glacial igloo
#

how can i localize invoice for connected account, without setting preferred customer local, i want it globally

vernal sail
#

Hello!

I have 2 issues with combo Invoice & Paypal in 'real' mode. In 'test' mode, no issues :/
Api version: 2022-11-15

The PaymentMethod provided (paypal) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include paypal

  • Secondly, when I force on invoice creation the payment_method_types 'payment_method_types' => ['card', 'paypal', 'sepa_debit'], I get:

This The payment method type 'paypal' cannot be used with invoices that have the 'collection_method' set to 'charge_automatically'

Whereas in your doc https://docs.stripe.com/api/invoices/create#create_invoice-payment_settings-payment_method_types, Paypal has no warning about The collection_method must be send_invoice. ... and I repeat, in 'test' mode, all is ok...

fathom drum
#

Hello, I was wondering if development and testing is possible with a physical BBPOS terminal in a country where Stripe doesn't operate? I.e. the engineering team is in country A where readers aren't supported, can they develop and test software with a reader? Are readers limited to geographic location when in test mode? Thanks!

narrow rune
#

Hi
Anybody please explain about this Exception
Stripe exception: Customer already has the maximum 200 sources attached.
Getting this for testing some payments

glad shoal
#

Hi , if subscription create payment is pending will the subscription cycle payment will automatically fail?

timber inlet
#

Hi, does anyone know of a way to ensure a new transfer from a platform account to a connect account succeeds even when there's currently not sufficient funds?

We have a dispute for a connect account that's now won, but by the time the webhook event arrived the payout on our platform account had already occurred, so when creating the new transfer from our platform to the connect account, there's insufficient funds and we don't want to have to revert to manual payouts just for the odd time this happens.

Many transactions will be allowed to go through and funds will scheduled to be withdrawn from our bank to ensure they succeed, but it seems new transfers created don't work this way. Does anyone know a better solution to getting the funds transferred back to the connect account please?

wild mauve
#

Hello, i try to resend a stripe webhook event via cli (stripe events resent evt_.....) to my local running springboot application. event = Webhook.constructEvent(rawBody, stripeSignature, stripeWebhookSecret); throws the exception: "com.stripe.exception.SignatureVerificationException: No signatures found matching the expected signature for payload". How can i handle that?

crisp sentinel
#

i need help accessing my account, i had a phone number change and i still cannot access

frosty kettle
#

Hi there we are currently undergoing a security assessment and the security team have highlighted that when a customer enters their card details, our function calls http://js.stripe.com and the application sends the card details without it being hashed (im speaking about the request payload specifically).

The platform we are running is on Laravel and we implemented Stripe as per the documentation using Laravel Cashier. Here is a screenshot of what I mean

My question is: is this secure and if not, what do we have to do to ensure that the card details sent are masked? If it is secure, could I get some sort of explanation of why we shouldn’t worry?

winter harbor
#

Hi, I'm writing tests for code that creates a customer, creates an invoice and sends it out. I understand that in production, a sent invoice can't be deleted. However, is there a way to do this in test mode? I'm trying to find a method to clean up and delete everything after each test run.

exotic pivot
#

Hello, I'm creating a connect account for my customers on my react app with a link. I said the business_type is individual but the link's form always ask me my business details. But the customers who will create their accounts don't have a business... Why ?

woven pine
#

Hi all

#

Good morning

#

We trying to implement iOS payment component

languid tulip
#

@woven pine let's use the thread I created for you above

fluid sorrel
#

Hello

I created a loom video where I showcase the issue with the payment system. I'm a software engineer and I'm pretty sure the issue is happening on Stripe side.
We have a Wordpress site we use this ( https://www.webtoffee.com/product/woocommerce-stripe-payment-gateway/) plugin to handle payments. We use the latest version (3.6.5) of the plugin. It was working until yesterday, and the plugin has 800 positive reviews on trust pilot.

We use the Stripe checkout setting, so we redirect our customers to the checkout.stripe.com site when they enter the credit card details.

Once customer enters the credit card details it starts the 3ds2 secure payment process, but there is a bad request error on the console on api.stripe.com/v1/3ds2/authenticate, and no 3D2 payment poput arrives (See video)

Request:

source: payatt_3OmdyjK6zP0rzoRM0c5tzHJB
browser: {"fingerprintAttempted":false,"fingerprintData":null,"challengeWindowSize":null,"threeDSCompInd":"Y","browserJavaEnabled":false,"browserJavascriptEnabled":true,"browserLanguage":"hu-HU","browserColorDepth":"24","browserScreenHeight":"1080","browserScreenWidth":"1920","browserTZ":"-60","browserUserAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"}
one_click_authn_device_support[hosted]: false
one_click_authn_device_support[same_origin_frame]: false
one_click_authn_device_support[spc_eligible]: false
one_click_authn_device_support[webauthn_eligible]: false
one_click_authn_device_support[publickey_credentials_get_allowed]: true
key: pk_live_51HwBZ ....  I DELETED THE DATA FROM HERE BUT I MADE SURE THIS IS OKAY.....07T5
#

Error message:

error: {message: "3D Secure 2 is not supported for the specific transaction.",…}
message: "3D Secure 2 is not supported for the specific transaction."
request_log_url: 
"https://dashboard.stripe.com/logs/req_gBRYQZ3o0TD2yh?t=1708525453"
type: "invalid_request_error"

But the same credit card is supporting 3D Secure 2 transactions on other payment systems. And also works on our website if we use Firefox browser instead of Chrome browser.

We used with multiple credit cards from 5 different banks. None of them works and it is not working for our customers as well.

I think this is an issue somehow you are not accepting Chrome somehow. We use 121.0.6167.185 Chrome.

For example this is a payment that is not working: https://dashboard.stripe.com/payments/pi_3OmddXK6zP0rzoRM05lSXKg2

I can send the loom video in DM

silver pendant
#

How do I get around lowering my stripe processing fees?

plucky slate
#

I'm using Stripe webhooks to change the status of an entity in my application. I'm listening to checkout.session.completed event. While creating the payment session, I'm defining a custom identifier value to client_reference_id -field, which is then passed back in the webhook body and then used to target/map the specific entity. Now using Stripe CLI, I can't seem to define custom payloads while triggering webhooks to test this behavior. Should I take a totally different approach, ie. am I using client_reference_id -field wrong or is there a better way?

hexed oriole
#

Hello. I'm using this example for react, where form is utilized. https://docs.stripe.com/checkout/quickstart?client=react
In this example it uses "action" attribute so I cannot pass parameters to form's headers like csrf or access jwt token which I need to link the user on my backend where I create checkout session. Am I missing something? Which way I can pass additional parameters including headers and json (for price_id)?

fresh sable
#

Heyyo!
We're using stripe elements, and currently we have 2 payment methods, card and bank account. We want to automatically switch the order of the payment methods, as well as which one is selected by default.
The problem that we're seeing is that although we can switch the order of the payment methods, we can't interact with the api to switch which payment method is currently selected.
Is there a way to do that currently?
https://docs.stripe.com/js/elements_object

Thank you!

narrow torrent
#

Is there a way to prevent stripe from generating 0$ invoices for customers?

Our product has a separate charge for overage but we notice that even when users do not incur overage, a zero dollar invoice is generated for them. This confuses some of our users and we were wondering if there's a way or an option to turn this off.

dapper heath
#

Hey all -- noticing some interesting behavior regarding Link

If I initialize my PaymentElement widget to only accept card payment types, Link will still appear (rightly so), but the payment method the element creates will be of type card with a wallet of type link.

However , if I expand that widget to accept all (automatic payment methods from dashboard), then when I use Link, the element will create a payment method of type link , rather than card.

Why does this happen? Is there a way I can create a payment method of type card always for Link? I want to see the card details and provide that to the user in summary displays

dusk vapor
#

Hey, my customers pay in USD and I used to always get my money in my CAD balance. Recently I uploaded a second bank and all my revenue has been coming into my USD balance on Stripe. I tried withdrawaing to my bank but since I only have Canadian banks it wouldnt go through. Im wondering if theres a way I can convert my USD balance into CAD balance. If not then perhaps I can go back to having my revenue getting placed in my CAD balance like it used to.

Couple weeks ago it would always automatically get converted into CAD and would show up only in my CAD balance.

agile olive
quiet igloo
#

I have a customer who would like to migrate their subscriptions from another connect platform to mine. Is there any way for Stripe to switch ownership of these customer's subscriptions from one connect platform to another? We have a standard Connect account and direct charges

gusty fiber
#

Hello i have issues on determining when it was an upgrade from Monthly to Yearly with customer.subscription.updated webhook.

If i do not cancel subscription with cancel_at_period_end, it works, previous_attributes contain plan, but if anything else happens that triggers the custumer.subscription.updated webhook, i loose those previous values that i need to check that if plan.interval from previous values is not plan interval from event.data.object

woeful cloak
#

Hello! I'm trying to make a payment through Stripe, but everytime it gives me an error with Invalid postal code but there is literally nothing wrong with it

distant mulch
#

PLEASE I NEED STRIP GMAIL SUPPORT

#

HOW CAN I GET IT

sage gust
#

Hello! i'm trying to test the afterpay payment in my test stripe account. I changed it to Australia so i could activate it but still not able to use it as a payment method in the payment link. Does this happen because the customer (myself) isn't in an available country? is there a way to test it?

hybrid zenith
#

Hi all, I'm still seeing a subscription being charged after the subscription expires.

hexed oriole
#

Hey again, my question is about metadata field which I define on session creation in python backend in the following way
stripe.checkout.Session.create(
line_items=[
{
'price': price_id,
'quantity': 1,
},
],
mode='payment',
client_reference_id=user_id,
success_url=YOUR_DOMAIN, #+ '?success=true',
cancel_url=YOUR_DOMAIN,# + '?canceled=true',
automatic_tax={'enabled': False},
metadata={'web':True}
)
but on the endpoint I see "metadata": {}. What is wrong?

fickle prism
#

Is there anyway to view or fetch a list of subscriptions that have been marked as exempt in Test Mode? (exempt from being auto-cancelled/deleted in Test mode)

delicate heath
#

Hey there, could someone help me w/ why payment intents have a status of "requires_payment_method" when created automatically from an invoice please?

finite pebble
#

Hello everyone,

I am going to use Stripe as a payment provider for the Google Pay integration on our website.

I won't use such things as embedded form, etc It will be a direct google pay integration. (https://developers.google.com/pay/api/web/guides/tutorial#tokenization)

So, I am a little bit confused, does Stripe have any documentation on how to do this? What request should I send after the successful response from the Google Pay side?

I would really appreciate it if someone shared a link to some documentation page or tutorial as I looked at some parts of the Stripe documentation and haven't found answers to my questions yet.

round hornet
#

Does ayone use Adalo here? I'm looking for help with testing Stripe payments component in Adalo 🙏

full spindle
#

😃 Hello, i would like to know if it s possible to integrate the Stripe payment on my app/website just as a Ui interface (like a test version) without the possiblity of payment ?

open dagger
#

Using Stripe terminal’s setReaderDisplay API, can I have custom fields on the reader display? Example: special fees, discounts

round hornet
full spindle
serene cargo
#

hi, i am looking at customizing the customer portal. I am reading the stripe docs (https://docs.stripe.com/customer-management/integrate-customer-portal#customize) but wanted some clarification on if this would customize the customer portal for a specific user or if it would create a customer portal for a specific session

For context, I would like to achieve creating a 2 customer portal views based on if the user is editing their subscription for their profile page or another location in my web app

echo stump
#

Hello. I am inquiring if there is a way internally using API, or 3rd party integration, to create customized collection emails to customers triggered by the due date of their invoice? All I see is that Stipe has automated email reminders out of the box, but no ability to customize.

torn rapids
#

Hi I am looking to set up Renewal reminders for all subscriptions in our stripe production. THe documents suggest under prevent failed payments but I cant seem to locate this section in the payments

bleak arch
#

Hi everyone. does anyone know on subscriptions, if we are to update the price of a subscription, would everyone on the subscription get the new price charged on their next cycle?

uncut geyser
#

My gmail is disabled by google and i have stripe on that gmail i try to update new gmail in stripe but stripe send verifications code on old email?? any one please help how i can update email in stripe?

misty crown
#

Hi Stripe Team,
In Test mode, is there a way to manually create a payout without updating the payout schedule to manual?

We need the payout to be scheduled since we need to get the related transactions for that payout but I also don't want to wait for a day for the payout to be created.

fickle prism
dusk gorge
#

Good afternoon. I found documentation about what information it is possible to make payment to PIX on stripe, I live in Brazil and I wanted to add this payment method too but I can't find it on dasbhoard

crystal anvil
#

I was wondering if there's any extra code needed to show additional payment methods on the payment sheet in android in test mode.

tawny aurora
#

Hi, I would like to know is there a way to show paypal in an express checkout element with 0 amount setup intent case ?

autumn creek
fervent quiver
#

For issuing: The docs explain that there is a random PIN assigned at creation if none is provided? Please some guidance would be great.

I have following behavior on sandbox currently:

After creating a physical card and displaying the PIN using elements it is set to 0000 and in the card object it is set to { pin: null }.

Trying to use stripe client stripe.issuing.cards.update to set the encrypted PIN gives me following error: “Received unknown parameter: pin”

Ideally my thought process was: { pin: null } means not ready for use → user sets PIN and sets card to active using stripe.issuing.cards.update → { pin: 1234 } in the card object → communicate to user card is ready for use

quiet igloo
faint cove
#

Hi there, I am trying to understand a billing situation in production. One of our user invoices was 'automatically' paid after their subscription was canceled for being uncollectible for more than a month (by Smart retry policy).

somber hatch
#

Good afternoon,

Ask me a question, please.

I am implementing the update of a subscription in my API and I am using the UpcomingInvoice tool. I noticed that when I have a discount applied to the TotalDiscountAmounts list, my discount appears, but the value is always 0.
I did the same procedure via Dashboard and the discount information also appears zero. I would like to check if this is correct or not.

Thank you very much

austere garnet
#

Hi, I am doing some testing with tax collection and 100% off coupons. I have seen a few instances where checkout session fails to be created with an error "The checkout session's total amount cannot be zero in payment mode". I'm unsure of how to get around this to allow for a 100% off coupon on an item. Any suggestions?

vocal wagon
#

Hi guys, I need some help with taxes. I have a following situation: We are a company from Austria. We have a web platform where hotels from EU (actually for now Austria, Germany and Switzerland) can offer some of their services. We are selling this service to anyone who books it (whatever country this is, but 99% it is EU), but the service is consumed where the hotel is. So, our TAX registration in Stripe is Austria OOS, but this is actually wrong, because the hotel can be in, say Germany. So the tax in this case should be 19% (German tax), not 20% (Austrian tax). Is there a way to somehow tell Stripe what Tax to use? Oh, we are using autaomated tax from Stripe.

#

Thank you!

viscid jasper
#

I need to integrate stripe to my Spain based nonprofit client. What list of documents are required

dusk gorge
#

Good afternoon. I live in Brazil and added a payment method to my credit card usage. I would like to add the Boleto option too, is it possible to add this Boleto payment method? I'm using Expo React Native

blissful tide
#

Hello, I have a question regarding Stripe connect

#

I want to create accounts to each of my users

urban plover
#

I am from India, I want received payment internationally, and I selling digital products, so is possible on the stripe ?

storm imp
#

hi! we're using paymentintents to charge users for a product, which generates a receipt. Is there a way to display this on a user's dashboard? With invoices, we are able to leverage the invoice URL is there something similar for receipts?

empty needle
harsh abyss
spark hornet
#

We are not able to authorize stripe OMS app in salesforce sandboxes. After click on connect button we are getting this error No such API key: sk_test_SB****************************Mrjz

autumn creek
#

if a customer uses Stripe Link to complete the payment on Stripe Checkout with that provide the card details on either checkout_session.subscription.default_payment_method or checkout_session.payment_intent.payment_method object?

spark hornet
#

so looks like we are failing to establish the connection between OMS and Stripe in the first place. We have not reached the point of individual transactions.

manic slate
#

Hello,

We're currently experiencing issues where we are trying to get the status of a report via the /v1/reporting/report_runs/ endpoint, but the reports seem to be stuck in pending. Is there anyone who might know something about this? We've been having success with reports generating within seconds, but it's been 10+ minutes of pending in our production environment atm. Ty!

fierce stirrup
#

Hi team, is there a recommended action to charge a customer for an invoice that was voided by mistake?

serene cargo
#

I would like to add some logging for Stripe checkout sessions. I currently have log statements in my Stripe webhook that tracks checkout.session.completed. How would I add logging for failed sessions/error states?

mild cobalt
#

Following up on this one since it closed before I could respond further. The customer replied when I checked back in with them and said:

Hi the appropriate VAT number doesn't fit the form, there is an error for swiss companies

bleak arch
#

I guess I should follow up with my message from #1210266198600581201 message

I guess I would ask, is that, does the Subscription items get point to by the subscriber that way the item price can be adjusted or changed and then all subscribers tied to that subscription item will get the change, or do we need to write a mapper to cascade to all subscribers under that subscription?
Meaning, by Stripe's default set up, do we need to update ALL subscribers prices if they are tied to a certain subscription one by one (or bulk via the API), OR if we change the Subscription item price, will all subscribers tied to that item then be updated automatically?

safe fiber
#

Hi, can i get some help understanding Usage based billing and subscription schedules? i am seeing some strange behaviour for "next invoice"

grand violet
#

I'm experiencing an issue using the Stripe React library and Google Pay (all other payment methods, including Apple Pay, seem to be function correctly). Specifically, it's an iFrame error (Unsafe attempt to initiate navigation for frame with origin.... The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.)

smoky marlin
#

how to talk to stripe support for raising my clients transaction limit ?

umbral kettle
#

How do I pass the processing fee onto my client?

fervent quiver
#

Does Stripe offer functionality for monthly account statements for issuing platforms?

tawdry tusk
#

Hi, before processing the payment, there is a way to confirm from where the card is paying ?

ripe storm
#

Hi all! Our team is currently initiating payments with credit cards passed from the backend (no stripe UI elements). We already collect the IP address of our end users for each transaction and were wondering if there's any way to pass that data in when we create our transaction on the backend, such that we can make use of radar rules. I am aware of Radar sessions, but these still require us to have an element on the front end, which is a much longer effort for us.

solid pond
#

hi all, if i'm creating a subscription through stripe checkout api, can i somehow make the first invoice not finalized automatically? maybe by setting billing method to 'send invoice' ?

safe fiber
#

Is there a nicer way to get a subscription schedule to make the change and then immediately release? I can currently make it work by setting the last phase to have a duration of 1 second but it feels bad...

lost umbra
warm sinew
#

Hi, is there a guide on how to use the new payment element feature to show stored customer cards?

hexed mist
#

Is there a way to move a lookup key to a new price instantaneously? I can’t modify a price id’s price, and if I make a new price id, I can’t apply a lookup key without removing it from the original price, which means there could be a moment where my frontend can’t pull a price id..

uncut geyser
#

How i can update my email address in stripe?

undone creek
#

Hi 👋 we are currently using a very old version of stripe api/sdk and trying to upgrade. I noticed that for Subscription, there's no /delete endpoint (we are using it right now). The closest I can find is /cancel (https://docs.stripe.com/api/subscriptions/cancel). Do these endpoints behave in the same way?

knotty flint
#

Can you pay off a balance if you sign up for a payment plan?

mint tiger
#

Hello, I'm currently integrating Stripe Elements in our billing interface but can't figure out what's the best-practise to replace the <PaymentElement /> component with some "saved cards component" (if that's a thing with Elements) if the customer already has a card on file. For context, the integration is done in NextJS.

fossil wadi
#

I only used stripe today to pay for something and since I keep getting random texts with verification codes - could someone be trying to use my card? Or is it a glitch?

tawdry tusk
#

Can i charge directly to the user who is paying a fee and also to the connected account?

autumn creek
#

after the payment is successfully completed on the Stripe Checkout, does the redirect to the success page happen only after the checkout.session.completed webhook is triggered from Stripe successfully?

candid slate
#

Hey there, could you help me understand the mechanisms and use cases for each of the 3 PaymentIntent.payment_method_options.card.request_three_d_secure strategies?
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card-request_three_d_secure

As I understand it:

any
Forces Stripe to request 3DS from the institution on every request, and then if provided the option of frictionless or challenge, it will request frictionless

challenge
Forces Stripe to request 3DS from the institution on every request, and then if provided the option of frictionless or challenge, it will request challenge

automatic (this is the one I understand the least)
Stripe uses its own logic to determine whether or not to query the institution for 3DS? Or Stripe bypasses the institution entirely, and determines the need for requesting 3DS in addition to owning the actual prompt and collection of authentication

Is my understanding on the right track?

hollow sluice
#

Hey! I'm a bit confused on the Stripe Connect payout vs tranfers. My goal is to control when the connected accounts (Express) receive their funds (aka have the ability to move funds to their respective bank accounts). I read that programically setting payout schedules is possible, but those are independent from transfers and can be controlled via the Express account dashboard (making it pointless to set it on the platform's end). Would it make more sense to implement my own transfer scheduling (cron) or is there something I'm missing? Thanks in advance.

astral rock
#

Heya! I'm using Stripe embedded components for the first time with the payouts component. I have it mostly working thanks to the docs, but I have a couple questions:

  1. The component renders, but the "Pay Out" button is missing. I can't find any docs or source code that suggest when this button renders. Does anyone know why this is? (Or can point me in the right direction?) It is worth noting that I'm connected to a test account with dummy data. I've tried connecting to two accounts (both with balances, one with payouts, one without ) and in both scenarios the button does not render
  2. Can the export and filter buttons be hidden?
versed patrol
#

Hi! When storing the connect account ID in the database, do you recommend encrypting it?

primal quiver
#

Is there an event or a way to know if the link authentication element that's prefilled with an email sends an authentication text message (meaning there's an account for the email) I want to know how much existing link accounts are helping

lucid reef
#

Hey team

Looking for a bit clarification around how ACH mandates are managed with Platform & Connect accounts, in particular when you're not using direct charges.

With our Stripe integration currently

  • We store customers & payment methods on the platform account
  • We create payment intents on the platform account setting the on_behalf_of to the appropriate connect account.
  • We create transfers for the balance to connect accounts after payments are processed. We don't use direct charges on the connect accounts.
  • We have an existing credit card integration, and are introducing the Stripe Payment Element to enable ACH (and other) payment methods.

With this setup we expected mandates to be linked to our platform account since that's where the customer, payment method and intent are all created. However it looks like the mandate confirmation email is going out referencing the connect account, and the payment method rightly can't be used for payments against other connect accounts.

Ideally, we would like to allow our users to set up a single ACH payment method that can be used across multiple connect accounts. Since we expected the mandate and charges to all be against our platform account we originally thought this would be ok without mandate cloning (the docs mention this is required for direct charges). However, even with mandate cloning we're not sure whether it's possible if the mandate is linked to the connect account in the first place.

Would be great to get some guidance on how we might enable this with our current setup or if there's something we might have missed to get this working!

Cheers,
Julian

atomic pawn
#

I'm trying to integrate the Stripe PaymentMethodMessagingElement (https://docs.stripe.com/payments/payment-method-messaging) into my checkout page, which I've built using Stripe Elements. I have a couple of questions:

  1. How come I need to pass in countryCode (the country that the end-buyer is in)? It seems like Stripe Elements already does that for me somehow since it auto-selects the country when asking for a credit card. If the PaymentMethodMessagingElement can't auto-fill in the countryCode, do you have a suggestion for how to get the countryCode from the browser?
  2. In the docs, it looks like you don't have to pass paymentMethodTypes as an option if you're using dynamic payment methods. The types (https://github.com/stripe/stripe-js/blob/5acf661d1bc913a4c1e64b60b7d5c528070d400d/types/stripe-js/elements/payment-method-messaging.d.ts#L35), however, say you do. When I ignore the Typescript error, it looks like the messaging element still works as expected
rose summit
#

I implemented the Stripe redirect page as shown here (https://docs.stripe.com/payments/checkout/custom-success-page). My most recent customer made order but says they didn't see a confirmation. The payment worked fine though. I'm not really sure how to test this out and view the confirmation page myself since it requires going through the payment process to submit an order.

novel current
#

I think I have a bug, been talking to general support and they don't seem to have much of an answer but I'm trying to initiate a refund but the page hard refreshes with a 404 and the following error in the console: {
"error": {
"message": "PaymentIntent does not have a linked guest customer.",
"message_code": "guest_customer_not_found"
}
}

novel current
radiant yarrow
#

If I have users that have used a coupon on their subscription can I delete that coupon and will those users still get the discount on future payments?

eager rune
#

hello, I'm getting this error from webhook, the customer in the US trying to make a payment and the webhook will make transfers to each destination(in Canada), but i'm getting this error, how do i fix that ?

fervent quiver
#

How do you define tax codes for bundles with multiple products on an invoice?

How do you assign revenue at the product level in the bundle ?

How do you define recognition periods by product in a bundle (i.e. product A is recognized over 12 months, Product B is recognized over 6 months, Product C is recognized over 3 months) ? TY!

tame cave
#

Hello

#

I need help

frank heart
#

hello, had a qq regarding fx fee enabling.
we're a us platform that has canadian connected accounts. i understand the fx fee applies on the transfer amount and apparently after checking we found out that it was charged at the time of transfer which deducts from their total payout. we were informed the fx fee would be charged on a monthly basis to the platform. is there a way to apply that fx fee charge to the platform instead of the connected account?

vagrant steppeBOT
#

velveth_56818

viscid burrow
#

Attempting to pull brand settings from a Connect account. Circling back. Putting aside the issue of brand settings not existing in testmode, I asked last week where to find them. Answer was on the Account object. But now I see there is a duplicate Connect Account object. Can you explain the logic here? I was going to pull from the Account object and let them override it in our web app. But now if they Connect, do you want me to tell the customer to set their brand setting in Account in the dash, then need them to duplicate update brand settings for Connect, and then where are they in the API? Same issue I have with payment methods is I am totally confused and would rather just pull their normal settings then tell them to set Connect settings. Any docs on this?
Anyway, summary - where do we pull Connect accounts' brand settings? Account (livemode)? Or some special new place?

sand island
#

hello, a customer is trying to connect their account on my platform but they claim to be not getting the sms verification code from stripe to complete the stripe connect onboarding. What shall I do?

vocal wagon
#

According to the docs I've read:
https://docs.stripe.com/payments/checkout/custom-fields
I believe I should be able to add up to 200 items on a drop-down field on my payment link. I would like to add 121 options (the three letter airport code for which a particular airline serves). However, when I go to my dashboard and start adding options, I am limited to 8. Is this not possible when using the dashboard?

candid slate
#

Regarding:

Your understanding for any and challenge are correct. For automatic, you're right, we're using our own logic to determine whether to request an exemption for additional authentication. If that exemption is granted, a customer is not prompted for additional authentication. If it is not granted, then we direct the customer to complete authentication

Thanks for the clarification there!

As for "If it is not granted, then we direct the customer to complete authentication", does this mean that you send the user on to the institution as if we had selected 'any' or 'challenge'? Or does that send the user to a completely different, Stripe-owned flow?

ocean kayak
#

Hello I created an app and use Connect accounts to pay contractors. I have a few Connect accounts connected and I want to pay every Friday but currently it says Daily payout. How do I ensure that payouts are done once a week on Friday?

chrome saffron
#

Hello team, I need help in understanding the behavior of fraud detection. I did some testing on it yesterday and noticed fraud_details on the charge payload is sometimes empty (please see the attached screenshot).

Is this the same with live payments? If so, can I ask what are the basic criteria for fraud_details to have the stripe_report data? Thanks.

lucid reef
calm prairie
#

Hi folks trying to implement a UI/browser based test, we use Stripe for monetization. Is there a way we can bypass the captcha's for tests? Currently use the test number for phone number. Thank you

viscid burrow
#

Since brand settings only exist in livemode, do I need to create a new account and verify it with livemode to test brand settings, specifically making API calls on a.connected account with the acct_ passed into the API call to obtain the brand settings of the connected account?

If yes, the account needs to be a standard Stripe account and have a dashboard. NOT a connect platform since I will be connecting it to our connect platform. Is there a way to communicate to Stripe so if I call it Testing 123 LLC or something they don't deny it? If I create it with the API does it have a dash? How do I do that?

honest abyss
#

Hello, I'm getting this error when using the react express checkout component Unable to select session. Make sure Elements is initialized with clientSecret or use the nullableSessionSelector() instead.
any clue what could that be?

ocean kayak
#

Need help with create Connect account

frank heart
#

sorry left my laptop and came back to a response but was too late to reply

last comment was that, " fx fee could not be charged to the platform instead of the connected account because fx is applied as part of the transfer creation/calcultaion," is this correct?

if so, what are some workarounds where we could take that fee instead of charging our connected accounts?

spice pasture
#

Hello, I was wondering if using the Onramp crypto integration (for validation/testing purposes) is possible without submitting the application?

I was following the integration guide and I'm getting Unrecognized request URL (POST: /v1/crypto/onramp_sessions) But IDK if thats related to not having completed the application.

Thanks.

queen snow
#

Is there a resource where I can see examples of webhook events? Like what the JSON Payload is going to look like?

rose summit
#

Why was my thread closed?

#

I was just about to reply with the checkout session ID

paper birch
#

Are there known issued with the Stripe API Docs right now around CSP? It's very hard to read. I'm seeing CSP errors in my console and the docs (and dashboard, but I really only care about the API docs right now) look pretty strange.

royal dune
#

Hello! I have a question about an affiliate marketing program that I would like to launch and understand if we can leverage our standard connected accounts from our customers to do payouts

hardy raven
#

Hello devs! I am integrating bank payouts in my marketplace app via stripe custom connected accounts. When a user wants to remove their bank payout option to select others, what should I do with the custom account on file?

velvet geyser
#

our product price in dollar. we need to support all customer within india and outside india. outside customers working fine but if i am using indian address, it is throwing error "Non-INR transactions in India should have shipping/billing address outside India."

how can i getting paid for native customer if our stripe product in dollar ?

cerulean spear
haughty crystal
#

Hi. After implement Stripe IOS SDK. How i can test 3DS implement in real eviroment? I just test by real visa card but 3DS not trigger but transaction success.

paper birch
#

I'm looking to anchor subscription to the 1st of the month, and I believe this is (insanely?) simple but I've never actually done it (only anniversary-based billing), so I'd like to confirm.

It's simply creating a subscription with these fields:

{
   "proration_behavior": "create_prorations",
   "billing_cycle_anchor_config": {
      "day_of_month": 1
   }
}

right?

north nova
#

Java language back-end development sdk where to download

fallen ginkgo
#

hi, team, for Apple Pay and Google Pay, can we get the payment method object via the JS first, then create and confirm the intent with the method on the server end?

sand musk
#

Hi Support team,

i'm learning to build Stripe Apps, now i'm facing the issues for get data when payment is succeed.
i'm build a apps for user, when user install my apps, app will be listen when there is a successful payment event, the app sends data to my backend.
on frontend app how can listen event payment succeed and push payment data object to my backend?

fierce stirrup
#

Hi team, I updated a subscription to reset the billing cycle but the generated invoice was automatically finalized immediately. I was hoping to edit the invoice while it is a draft. Is there a way to reset the billing cycle and have it generate a draft invoice?

ember owl
#

is there a way to know how much the stripe fees will be applied to a specific card at the time of the transaction?

vagrant steppeBOT
#

wabisabi2019

#

syoxiss.

haughty dock
#

Hi team, can I customize the email invoice like customer.io
and can I change the email stripe invoice?

torpid marsh
#

Hi,
I need one assistance,

I get payment intent from server side

I need to assign the value payment intent value and get stripe id iOS SDK.

lethal sleet
#

Hi,
We are getting attached error message when we are authorizing Stripe OMS app in salesforce.

haughty mist
#

Hello team, how can I do recurring auto debit for customers (auto pay) is there any API or method to achieve in stripe?

vital bough
#

Quick question if i attach metadata to create.transfer and then setup a webhook for transfer.created event. will the webhook payload have the metadata attached?

marsh perch
#

Hi Team,

I would need support in creating customer on Stripe terminal and attaching the payment mothod with it so we can take recurring payment for that customer

desert raft
#

Why is stripe stealing from my account?

white warren
#

Good morning, is there any way to retrieve only the latest paymentintents of a user?

fast tundra
#

How do I get instant payouts on stripe

#

How do I get instant payouts

hoary venture
#

hi team,

we have using stripe terminal ios sdk for card reader
how to set :

[StripeTerminal] OfflineMode requires the offlineDelegate to be set.

arctic merlin
#

Hello stripe team. I'm trying to setup my webhook file and I always just get a 404 error when stripe tries to send a webhook and I just can't understand why. I'm using remix framework. Can I paste the code here?

muted fog
#

Hi Team.
I'm using customer portal api to create a portal for users to update their subscription. I have user wise plans and my plans have recurring interval of a month. When I'm trying to create a plan it is giving me this exception: 'For each product, its price must have unique billing intervals'.

https://docs.stripe.com/api/customer_portal/configurations/create

hidden breach
#

Hi Team.
I am prompted when registering a new account:“There was an error creating your account. Please contact support at https://support.stripe.com/contact/ for assistance.”

What problem caused this?
clues about me:

  1. I have previously signed up for Stripe Atlas using the same account.
  2. I don't remember my password.
  3. I couldn't receive the email when I reset my password (I also looked for it in my spam box, but it never came).
woven topaz
#

Hi, I would like it for our customers to be able to have multiple subscriptions.

Right now, if a customer has a subscription to product A, and then tries to get another subscription to product B, it says: "You already have a subscription with us."

How can I let customers have multiple subscriptions? Thank you so much

chrome prism
#

hi
can I cancel my subscription at anytime?

vagrant belfry
#

I am using Stripe Pricing Table and when I provide it customer-session-client-secret, it shows me something went wrong, please try again later.

Here's my PHP/Laravel Code to generate Session for the customer

        $stripeCustomerSession = $stripe->customerSessions->create([
            'customer' => $stripeCustomerId,
            'components' => ['pricing_table' => ['enabled' => true]],
        ]);
surreal spire
arctic merlin
#

Hello stripe team. I'm trying to setup my webhook file and I always just get a 404 error when stripe tries to send a webhook and I just can't understand why. I'm using remix framework. Can I paste the code here? (I was chattting with alex_stripe 2h ago but the thread was closed)

edgy saffron
#

Hey, I have a subscription for a customer which is monthly, and after one month when the automatic payment starts, the payment is not completed, it asks for 3D Secure authentication, due to this the payment fails and the after 5 days the subscription is cancelled. So do we really require the 3D authentication in automatic payments also ?

safe rose
#

Hello, I want to ask about the proration behaviour of a subscription. Is it possible to prorate if user adds to the quantity of the subscription, but not prorating if user removes from the quantity?

surreal spire
#

The usage of Stripe's Klarna payment method led me to encounter this issue

waxen quail
#

@surreal spire we already have a thread open, so let's chat in the thread and be patient please

wispy oriole
#

Hi, pls i need help in payout. I have $17.89 in my available balance and i'm trying to payout $5.14 to a bank account but i'm geting '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).' as error.

i also performed a transfer and it worked but payout did not work

frosty forum
#

Hi ! Is there a procedure to check date birth of a connected account user? To be sure he is not under 18 for example?

obtuse jay
#

Hi, i got an issue about refund on stripe
When i try to refund some payment, the pop up close immediatly

lapis warren
#

Hi, can anyone tell me about android tap to pay in react native?

shell raptor
#

Hi, is there any way to pull all stripe payment data with related invoices

brazen pier
#

Hello

Is there a way that I can stop Webhook Notification of perticular transaction. ?

wind blaze
#

Morning folks! I am trying to customize the success page after a checkout and was following this documentation snippet https://docs.stripe.com/payments/checkout/custom-success-page#modify-the-success-url

It mentions the {CHECKOUT_SESSION_ID} template var, and I wanted to use that. However, the redirect after checkout is not replacing that with the actual session id. It gets redirect to the literal URL.

&stripe.CheckoutSessionParams{
    [...]
    SuccessURL: stripe.String("localhost:4242/success?session_id={CHECKOUT_SESSION_ID}"),
}

However, the redirect goes towards localhost:4242/success?session_id={CHECKOUT_SESSION_ID} while I am expecting something like localhost:4242/success?session_id=sess_123eadf.

This is in testmode. Anything I am not doing right?

novel parcel
#

Hi Team, I found a thread about Klarna yesterday.

We are implementing Klarna for Connect.

The point is we want to luanch Klarna only for

Austria, Belgium, Germany, Netherlands, Switzerland

How can we do this? Klarna widget has a list of contries by default.

coarse apex
#

I am facing this issue when making international transactions that i need to add shipping address so i added shipping address when creating payment intent but now i am getting this error to add billing address as well

marsh perch
signal sleet
#

Hi Team, I want to integrate google pay using API's in existing web application can you please help me on this?

undone hinge
#

@coarse apex please talk in the thread.

dusk bear
#

Hello! im facing an issue on payment confirmation (3D Secure) it works with an account (a set of keys) but not another. May i have some support?

sage hull
#

Hi, I have a question regarding the interplay between Checkout sessions, Invoicing and apps as the settlement merchant

frosty forum
#

I just created a product (with price API) but cannot see it in the webhook log (setup for product updated). Is this because the product has been created from a price or something is wrong with my webhook (used to work thou)

heavy wyvern
#

Hello, is there any way to create coupons that are limited to use only once by each customer? So it would have like 50 total usages for example, but each individual customer could only use it once

vocal wagon
#

Hello, where can i see all the stripe fees my application has?

warm wraith
#

Just closed my account by mistake, how can I reopen it?

frank tapir
#

Hey Guys!

Is there a way of separating the webhooks sent to local environment of the ones sent to test env?

Everytime I use the API locally the webhook is sent to my local env and also the dev server and causes a lot of errors because the local data is not present on the dev server. Thanks ❤️

vague zenith
#

Hello there,

Are the Stripe's payment intent IDs unique?

I am asking this because, I want to use same Stripe Webhook across all the Stripe Connect Accounts that we would have, and would be storing the payment intent ID in our database to identify particular webhook with that of Stripe connect account using the payment intent ID that we receive in the Webhook's body, assuming that the Stripe Payment Intent IDs are unique. So is this assumption correct?

vocal wagon
#

Hi, We need help from a supporter

coarse apex
#

Hello there, i am facing this issue - user wants to deposit some amount from his card but stripe deducts its fees and conversion fees and tax due to which user doesn’t get the full amount.
The charges deducted by stripe are later fetching from stripe function but not before.
Does stripe provides any such functionality where i can know how much stripe deducts so that we can add that extra amount on user amount he wants to deposit so that user gets the actual amount and not less amount than he wants to transfer

#

Currently, what is happening is stripe deducts its fees and taxes due to which user is not getting complete amount

floral mist
#

Hey Stripe team.

I am getting reports today from some customers that they're getting the following displayed when they try to make a payment. I believe they see it when an iframe pops up for 3DS for example.

Haven't had any reports about that before and i've not done any changes to my integration. Any help would be much appreciated

neat dawn
#

Hello @vocal wagon I am Sargis
I have a question related to subscriptions.
When I want to add a subscription with one item how can I skip the first month's payment and pay from the second month?
Thanks!

meager quarry
#

Hello guys, any idea how to add default_tax_rates[] to update a Subscription, implemented in Java? Stripe.apiKey = "

Subscription resource = Subscription.retrieve("sub_1MowQVLkdIwHu7ixeRlqHVzs");
SubscriptionUpdateParams params =
SubscriptionUpdateParams.builder().putMetadata("", "").build();
Subscription subscription = resource.update(params);

crystal forge
#

Ok i'm back with my problem regarding paypal payments via Express checkout element and I found from stripe support that capture method should be setted to manual for express checkout element, but in documentation that param at express checkout elements doesn't exist, maybe at creation of elements option to be added?

viscid flax
#

Hey team! We're familiar with Stripe's retry system for subscriptions. If a payment fails, Stripe retries and eventually marks the subscription as 'unpaid', we catch a webhook related to that update and send a final warning before cancelling the subscription a few days later. Is there a similar system for standalone invoices? We'll soon be issuing invoices for 'overages' which will be separate from the active subscription. If a payment fails, my understanding is that stripe immediately fires invoice.payment_failed . But, are there any other webhooks I could be listening for that are similar to Stripe finally marking a subscription as past due? In a perfect world, I think we'd want Stripe to retry the invoice for up to 2 weeks at which point it might fire a webhook I could catch to send a final warning and eventually cancel the subscription that the 'overage' is related to.

rose summit
brazen pier
#

Hello

I want to delete the failed webhook attamps of perticular event which is scheduled in next retry.

light shell
#

Hi we're looking to clone a payment_method object on a platform customer (to be used by a Connect Account Customer) - we are successfully able to load payment methods to the customer_obj using the setupIntent Stripe API...we're running into issues cloning the token as described in the Stripe docs (https://docs.stripe.com/connect/cloning-customers-across-accounts)

light shell
oblique ginkgo
#

Hello! I had a fee incorrectly calculated on a charge. Can I update the collected fee amount?

haughty sentinel
#

hello, i'm following up here. i can remember what the response was for my inquiry.

#

i had an issue with invoices.

vagrant steppeBOT
#

feminaagravat_39821

devout mica
steep dagger
#

Hello 🙂 I just wanted to know if there is any way to make invoices in french through Stripe API ?

covert nest
#

Hello guys, my team and I has been trying to implements connected accounts onboard for users and it seems complicated. Please do we have anyone who is experienced in this that can assist us?

vague zenith
#

Hello there,

Below is the description from the Connect webhook documentation.

For Connect webhooks, it’s important to note that while only test webhooks will be sent to your development webhook URLs, both live and test webhooks will be sent to your production webhook URLs. This is due to the fact that you can perform both live and test transactions under a production application. For this reason, we recommend you check the livemode value when receiving an event webhook to know what action, if any, should be taken.

This stats that production webhook can receive the events from testmode as well, but how would this be true if we configure different webhooks in testmode and the production? Also, the webhook secret in both the modes would be different, so how testmode events can be handled by the production webhook?

frank cloak
#

hey, if i have a list of price IDs, how could i get their product Ids? using prices.search? just a bit confused on what to pass to the search query to fetch what i need

frosty forum
#

Hi ! I can't make a payout on a connected account because "Your card balance is too low". Is this because the account is not set up for bank account but card? Because he has money in it (test mode)

marsh perch
#

Hi Team

I am getting this error while creating paymentintent

2024-02-23 19:36:29.504 25951-26070 System.err com.giveplease.stripenfccardread W com.stripe.exception.InvalidRequestException: Can only apply an application_fee_amount when the PaymentIntent is attempting a direct payment (using an OAuth key or Stripe-Account header) or destination payment (using transfer_data[destination]).; code: parameter_missing; request-id: req_nV1EwyQJwZtSMc

fervent quiver
#

Hello! Is there a way to reset a card’s spending controls? When sending spending_limits: undefined or spending_limits: [] the limits are not removed.Thank you!

worthy wing
#

In the customer portal API is it possible to use the passwordless authentication instead of supplying a customer ID when creating the portal session?

gusty fiber
#

I have a question about setting a flag when upgrading from Monthly to Yearly and then after one year on renewal to set it to false.

I've had the same question yestarday but i have a good solution and i want to see if it's ok.
On invoice.payment_succeeded webhook i can check if:

  1. If it's a cycle and renews automatically after one year to set it to false.
  2. If it's subscription_update to set it to true, and it can only happen when you upgrade from Monthly to Yearly.
  3. On subscription_create set it to false, it's not an upgrade

Now will this be ok?
This is to avoid refund if you upgrade the subscription in the first year. But keep refund modal on Monthly and Yearly direct buying them

            await SubscriptionsService.updateSubscriptionBySubscriptionId(subscriptionId, {
              upgradedToYearly: false
            });
          } else if (dataObject?.billing_reason === 'subscription_update') {
            await SubscriptionsService.updateSubscriptionBySubscriptionId(subscriptionId, {
              upgradedToYearly: true
            });
          } else if (dataObject?.billing_reason === 'subscription_create') {
            await SubscriptionsService.updateSubscriptionBySubscriptionId(subscriptionId, {
              upgradedToYearly: false
            });
          }```
grave comet
#

Hello, I'm using elements.create('paymentRequestButton' to create Google/Apple Pay buttons. Is there any callback methods for when the buttons are clicked? I can't seem to find any.

paymentRequest.on('cancel' works just fine, but I can't seem to find a way to trigger an even when it's clicked

regal bloom
#

Hello! We are using Google Pay & Apple Pay for Stripe subscriptions.

We implementing a flow where the user, from the mobile app (either Android or iOS) will be able to update the payment method of their existing subscription. So we already have a customer ID and a subscription ID.

The case that troubles us is the following. Let's say the user wants to setup a Google Pay payment method for that existing subscription. What we do is that we show the Google Pay launcher, the user confirms and that generates a Stripe payment method ID. However, that payment method ID does not seem to be attached to the customer. As a result, when (in the server-side), we try to update the subscription's default payment method using https://docs.stripe.com/api/subscriptions/update, then we get an error saying:

The customer does not have a payment method with the ID pm_xxx. The payment method must be attached to the customer.

How can we tell Google Pay to attach that payment method to the customer when it creates it?

haughty sentinel
#

the information i received did not help.

#

can someone please reopen the thread.

viscid flax
#

Does deleting a customer via API void all of their finalized invoices? Or, does that need to happen first?

frosty forum
#

Hi again! I don'"t understand why I can't send money from a connected account with money to his bank account even thou my personnal balance is pending...

deep zodiac
#

I am new to Stripe, I am looking to use it with my billing platform, OneBill. I thought there was a way that I could have users add their card/ach info through a form that we could email to them during onboarding and then associate it on the backend to Onebill? I am trying to stay away from new users having to have yet another login as we don't have a client portal built out yet for their one truth.

unreal herald
#

Hi! I've just tried to refund a customer (7 separate payments) . I received an email saying they had been successful but once I checked back, they hadn't gone through and now I can only see 4 failed refunds, the other 3 have disappeared!

blazing mason
#

hey can anyone give me complete map of stripe subscription management i have made one but thought that there might be some one experienced here

so imaging an SAAS user's will have to buy subscription for some services it will go to stripe and after payment done a webhook will recieve the response from stripe and it will update the data base

this much is simple but how to constantly monitor the user's validation like if user's plan is expired so if its saved in state so how to constantly monitor?

regal bloom
#

Hello! Following-up on this thread: #dev-help message. I've tried using the Google Pay launcher with a setup intent, but using this Google Pay launcher gives me a result with no payment method ID.

signal sleet
#

can I add localhost as domain in Payment method domains for testing google pay integration?

stable fable
#

Why would stripe block my OWN card for high risk?

rain tiger
#

Hi Stripe folks, We have about 40 invoices that were created with auto_pay=true config but customers didn't have payment methods. Then later customers have added payment methods but invoices are not being auto processed. What do we need to do? How do we schedule them for auto process?

fallow harbor
#

Hi - I am looking to implement a solution where I have brands signing up for a subscription to my platform. After signing up to the platform, they have an ability to add money to their wallet. With this money they can hire creators. If they don't have enough money they will need to add more money to wallet. Now - My question is which the best way to maintain this wallet and its transactions per brand using stripe product. I don't want brands to go through an elaborate process of providing their business name, tax id etc. Which is another way i can maintain this wallet for the brands and deduct from it as and when they hire creators and then transfer money to creators. We are planning to use stripe expresss connect for creator payouts and stripe's billing product for managing our subscriptions. I need help to design my wallet feature with stripe

torn plinth
#

Hi team, please advice how to require 3DS for every transaction

maiden blaze
#

I'm using react-hook-form and PaymentRequestButtonElement. i'm attaching a code in file here

so the problem here is I want to have react hook form do basic form validation even when the user clicks the apple/google pay button. but if I pass onClick to PaymentRequestButtonElement like this, it doesn't open the apple pay window at all. please help

  const handlePrePlatformPaymentRequest = () => {
     // even if the validation by react hook form's "handleSubmit" is success, it got stuck here. and not opening the apple pay/google pay window
  };

  <PaymentRequestButtonElement options={{ paymentRequest } onClick={handleSubmit(handlePrePlatformPaymentRequest)} />
south narwhal
#

Hello, I cannot log in to my account. I made it 3 years ago via the Rover app so I do not remember any of my details other than the email I used. Because my account was created through Rover, the login was only my email and verification connected to me phone. I no longer have that phone number, and there is no option that shows up for receiving the code via email instead. When I go to the support page and try to do the account recovery form, it asks for a login and password which defeats the purpose of trying to recover an account. I have tried emailing support, but they can't help me with only an email. Stripe is saying I need to verify my bank even though I have been using it for years with no problem. When I go on the Rover app and it transfers me to stripe to upload bank verification, I upload a JPG file of an official bank statement and I get an error message saying it's not accepted because it's not an IRS issued letter 147c or SS-4 which are IRS forms dealing with EIN numbers, and nothing to do with bank verification, I don't need an EIN for my business through Rover. I really need to speak to a human about this, because Rover is threatening to basically bring my business to a stand still with them unless this stripe issue is resolved so I can get paid.

woven pine
#

I need help

#

I want to update connect account api this field payouts_enabled

#

To setup false

#

Can we do that?

vagrant steppeBOT
#

usmseong_29857

#

galacticwhistleblower-account-support

vagrant belfry
#

How can i create a url that will take the customer directly to the customer portal without requiring them to login via email?

thorny root
#

While authorizing card for future payment in node js server side. can we mention the date till when we want to hold the amount. By default it is for seven days.

obsidian willow
#

Hello everyone. I have set up an automation process with Make.com (Integromat). My problem is that I should take a link from google drive and replicate it among the stripe products. That is, after payment to show the link on my Google Drive. Is this feasible with Integromat?

wintry timber
#

Hi, I am working with tax configurations and have some questions. Posting details in thread

wintry timber
vagrant steppeBOT
#

cayro1874

blazing kelp
#

Hey! We're trying to access our standard connected accounts reporting via the API and we seem to be unable to do so for some due to platform controls. Is there a way to either update the standard account on our end so that we can access their reporting, or can the standard account do something on their end so they grant us permission?

vagrant steppeBOT
#

codrin5160

muted fog
tawny aurora
#

Hi, I would like to ask is it possible to migrate Paypal Braintree payments to Stripe?

cunning ocean
#

Hi, I would like to know if the following is possible:
I have 2 subscription plans
I want the customers to be able to switch between the 2 plans but the new plan should be in effect at the start of the next cycle
Example
Customer is currently on plan 1, they switch to plan 2, but until the end of the billing cycle they stay on plan 1, and at the start of the new billing cycle the plan changes to plan2

vast tapir
#

Hi, I'm planning to use Stripe Checkout to sell a yearly subscription.
We may need to sell multiple identical subscriptions (same Product and Price) to the a single customer, is it possible? That subscriptions should have different billing cycle, what I mean is that we cannot sell a 2x subscription and so have a synchronized billing cycle.
Will it be possible to deep link the customer to each purchased subscription in the Customer Portal?
Thanks

lone kestrel
frank heart
#

hi i had a question, about buyer migration. first i would like to understand what information is shared during the migration between 2 stripe platforms. i only ask because in the "description" section theres these sequence of numbers that were added by us that's attached to the dba (first/lastname) we want to exclude and was wondering if that was possible.

rancid plume
#

Hi

#

Is this stripe tech support

slender trellis
#

Hi, can I use the Connect Standard Account's API to onboard Affiliate Marketers or I need to use the connect express account's API. Is there a difference between API or there is only one Stripe API?

storm imp
#

hello. We are charging a paymentIntent for customers for a one-time payment. We are pulling taxes from another service. Is there anyway to add line items or something other than the description that is customer facing on the receipt?

shadow ether
#

Hello there,

I'm creating a new marketplace where transactions can be :

An individual person can buy to a company
An individual person can buy to an another individual person

https://docs.stripe.com/api/accounts in the accounts API, i see "business_type" can be : company, individual or non_profit. What is "individual" in this case ? An individual business or an individual person (without business) ?

Thanks a million for you help 🙂

maiden stirrup
#

I saved a card token using CardField, then I setup a connected account along with this token as the external _account, but when I try to send payout to the account I get this error: message: "No such external account: 'tok_XXXXXXXXX",

balmy yacht
#

In curl command, how do I pass a stripe connect account id if the session id is part of a connect acount?

--header 'Authorization: Basic auth1234'
```
stray crater
#

Is there any initiative to convert the iOS Address Element to native SwiftUI, like the Payment Sheet?

safe fiber
#

I asked this yesterday but didn't get around to an answer: Is there a nicer way to get a subscription schedule to make the change and then immediately release? I can currently make it work by setting the last phase to have a duration of 1 second but it feels bad...

wintry timber
#

Hi! I wanted to know if passing the tax_calculation_id as metadata on payment_intents has impacts? I see the integration guide suggests it but wanted to confirm critial or the is the use of it. Thanks!

sturdy acorn
#

Stripe is holding a client's refund saying i owe them a 3$ balance tha ti'm trying to pay but cant get anyone from customer service to help.

#

Isn't it supposed to be automatically deducted from my bank account?

rotund jetty
#

Is there a way to require a customer to signing with a discord account?

nova dagger
#

Will Stripe be attending GDC?

peak folio
#

Hello! The doubts is for Stripe Connect. I have more than 1 account for the same email. I can connect one of these accounts in another, using the seller connect feature? Like: i have 3 accounts under the same email. I want to connect the account 1 to the account 2, as a seller. It is possible, or i have to use another email to connect these accounts?

slim wadi
#

Hi I have a question regarding my business website

quasi python
#

Hi there, My product had a rather large anomaly yesterday of checkout sessions created to sessions completed. Looking at previous data, roughly 80% of sessions created results in a session completed. Yesterday, it was below 10%. Nothing else has changed in our product or advertising. Can I chat with someone to help triage and figure out if this was on stripe's end?

north pagoda
#

Hello, I wanted to know if Stripe handles subscriptions created with billing_anchor_config different than normal subscriptions.

Problem: We have some subscriptions, for the first invoice - we can modify (deleted specifically) the invoice items in the FIRST invoice.
However while deleting invoice item for the invoices under subscriptions created with billing_anchor_config, the error is: Can't delete an invoice item that is attached to an invoice that is no longer editable

Any help is appreciated!

mighty gull
#

Hello there, we are a bit confused here, we use Stripe Connect / Express and we want to enable Alipay and WeChat Pay but we are unable to do that in the UI, but it says if we use the API that will work as expected for the few eligible accounts that we have in place? 🤔

tired night
#

Hi. I'm using @stripe/react-stripe-js & @stripe/stripe-js'
I'm calling CheckoutForm component as shown in the below code snippet.

        {clientSecret && stripePromise && (
          <Elements stripe={stripePromise} options={{ clientSecret }}>
            <CheckoutForm />
          </Elements>
        )}

I will post the code for the checkoutform component in the next message. My question here is can I support partial payments using this approach? If yes, how?

sudden yoke
#

When creating setup intent, if we set the payment method redirect to never, does that mean card requires action will fail to get created?

shy silo
#

Is it possible to add our company logo to our Stripe accounts? see below picture:

desert badge
#

Hello! Not a dev question. Could I get a DM? I'm a former Stripe engineer (employee), need to get in contact w/ HR today.

drifting widget
#

I am new to stripe and have a few questions. Does stripes pay out include fees? Meaning is the gross amount deposited into my account or is the net amount? If the answer is the net amount, is it possible to have the gross amount deposited and fees taken out separately?

shy silo
#

My company logo has been added to all of our Stripe accounts but it doesn't look clear how do I fix that?

tawdry tusk
#

How to optionally save card info or not

shy silo
boreal moss
#

So I'm late to the party on figuring out how to integrate with Stripe, so I'm new to all this. But I just learned a few minutes ago that a paused Subscription will still have "status" of active , along with a pause_collection property.

This raises a couple questions:

  1. Reading the doc about pausing payments ( https://docs.stripe.com/billing/subscriptions/pause ) makes it sound like the feature's primary intention is to give away a subscription product for free, however the introduction of the Stripe Checkout / Billing Portal exposes a pause button by default for customers to pause their own subscription, which—unless a developer knows to look for the pause_collection property—means they'll just get the subscription product indefinitely for free. Is this just some bit of arcane legacy code that everyone has to work around or am I misunderstanding the nature of the feature?

  2. If my goal is to revoke access from my product when a user isn't paying for it, how am I supposed to handle this? Suppose a user has 15 days left paid for the current period. If they click "Pause" in the billing portal, does that mean "the instant a user pauses, it truly pauses their subscription and the moment that it is unpaused they will have 15 days before being charged again" or does paused mean "when a user pauses a subscription, they should still receive service through the end of the current period but won't be charged 15 days from now as all subsequent invoices will be voided" If it's the former, then that's easy, because I can just check that pause_collection is non-null and immediately revoke access. If it's the latter, then what am I supposed to do? Load the customer's invoices and judge whether they should continue to have access based on the end-date of the most recent paid invoice?

Sorry for the long message, I am super confused by this given how smooth an experience everything else has been so far.

full sapphire
#

Hi, is there a way to make subscriptions to be billed 5th of each month ? Is it also possible to update the plan automatically through the API ?

hazy vapor
#

Hello Team
We are having an issue with card cvv and zip code not getting verified with SetUp Intent Create and Confirm calls from back

prisma dome
#

Why do I get these messages:

(anonymous) @ 8433-9ebdd26e959917bb784cf04985f018e0.js:1
(anonymous) @ prctblitm_PVWAGz8oj3l7e9:11
e @ prctblitm_PVWAGz8oj3l7e9:11
l @ prctblitm_PVWAGz8oj3l7e9:11
value @ prctblitm_PVWAGz8oj3l7e9:11
value @ prctblitm_PVWAGz8oj3l7e9:11
value @ prctblitm_PVWAGz8oj3l7e9:11
value @ prctblitm_PVWAGz8oj3l7e9:11
value @ prctblitm_PVWAGz8oj3l7e9:11
(anonymous) @ prctblitm_PVWAGz8oj3l7e9:11
s @ 8433-9ebdd26e959917bb784cf04985f018e0.js:1
setTimeout (async)
(anonymous) @ sentry-react-ba64ba0a4100c796881f980234474b48.js:1
value @ prctblitm_PVWAGz8oj3l7e9:11
value @ prctblitm_PVWAGz8oj3l7e9:11
...
(anonymous) @ prctblitm_PVWAGz8oj3l7e9:11
(anonymous) @ prctblitm_PVWAGz8oj3l7e9:11```
full sapphire
lofty abyss
#

Hello. I use a Stripe customer portal for existing customers to update or cancel their subscription plans. We offer a 14-day free trial automatically. How can I disable the ability to 'update plan' while the user is on free trial?

Currently, if a trial user updates their plan, their payment method will be charged immediately after updating their plan - overriding the free trial.

spark sundial
#

Hello,

I hope this message finds you well. I'm reaching out for some guidance on implementing a specific flow using Stripe Connect for our platform. Our platform facilitates payments between customers and contractors, with a commission (25%) being transferred to our platform's Stripe account, and the remaining amount (75%) being transferred to the contractor's bank account.

To date, I've successfully set up Stripe Connect and created a contractor account using the following code:

const account = await stripe.accounts.create({
type: 'express',
country: 'US',
email: 'ns265331@gmail.com',
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
});

console.log(account);
Following this, I've attached the bank details to the contractor's account using the following code:

let accountId = "acct_1On2bG2eAoTSFYOK";

// External account
const externalAccount = await stripe.accounts.createExternalAccount(
accountId,
{
external_account: 'btok_1On2blGfZ3KfPi4VgnK3XA2V',
}
);
console.log(externalAccount);
At this point, I'm unsure about the next steps or how to proceed with implementing the desired flow. Specifically, I'm looking for guidance on how to handle the transfer of commissions to our platform's Stripe account and the remaining amount to the contractor's bank account.

Any assistance, advice, or guidance on this matter would be greatly appreciated. Thank you in advance for your help.

sudden yoke
tepid lagoon
#

hello there, stripe is deactivating my account i have all the informations they need is it still possible to prevent them from deactivatinng my account

frank falcon
#

Hello,

I am reaching out for assistance with an unexpected issue encountered with the Stripe Checkout and payment process. Despite the expected expiry of a Checkout session, a charge was processed unexpectedly after the session was considered expired. Below, I outline the sequence of events leading up to this issue, aiming to understand how a charge could occur in this scenario and how to prevent similar occurrences in the future.

Sequence of Events:

  1. Checkout Session Creation: A request to create a Checkout session was successfully completed.
  2. Checkout Session Confirmation: A request to confirm the Checkout session was successfully completed.
  3. Payment Intent Creation: Subsequently, a Payment Intent was created, indicating that further action (3DS verification) was required to complete the payment.
  4. 3DS Verification Required: The payment process indicated that action was required to complete the payment (3DS).
  5. Verify Challenge for Payment Intent: A request to update the Payment Intent to verify_challenge was completed successfully.
  6. Checkout Session Update: A request to update the Checkout session was successfully completed.
  7. Checkout Session Expired: The Checkout session was then marked as expired, which was an expected outcome.
  8. Unexpected Charge: Despite the session expiry, the associated Payment Intent was charged.
  9. Payment Intent Succeeded: The Payment Intent status was updated to succeeded.
  10. Checkout Session Completion: Subsequently, the Checkout session was marked as completed.

Key Concerns:

  • The primary concern is the processing of a charge after the Checkout session was marked as expired, which was not anticipated in our understanding of the Stripe payment flow.
  • Given the Checkout session had expired, our expectation was that no further charges should be processed, especially after the session's expiry status was confirmed.

We are looking to understand the specifics behind this unexpected charge processing and seek guidance on how to align our payment handling processes with the expected Stripe workflow. Any insights, clarifications, or recommended practices you could provide would be greatly appreciated.

tepid lagoon
#

does dtripe have call agent

next vapor
#

How do i prevent customers from creating multiple trial subscriptions?

Im using stripe checkout, and webhooks in a next.js app router project

Currently having a problem where a customer is able to use the stripe checkout page to create multiple trial subscriptions, allowing them to indefinitely use our product without paying. It seems like everytime a customer starts the trial period, a new customer id is assigned to them and is updated in our database.

What is the best way for me to prevent this from happening in our application? I've attached a picture of the stripe checkout code, the webhook code, and an obfuscated image about the person being considered as 3 customers in our stripe dashboard

heavy charm
#

When retrieving an invoice preview with subscription_billing_cycle_anchor=now, how do I get the end of the prospective new billing period? I would have expected it to be in the returned period_end field, but both period_end and period_start come back as equal to the current time, as if the prospective billing period was zero days long.

undone creek
#

Hello 👋 we are in the process of planning our stripe upgrade. We are currently in 2022-08-27 (API) and 2.55.0 (SDK). Moving forward, do you suggest upgrading the API first then SDK like the following, or the other way around?

sand tusk
#

If I have a reference to a Connect fee is there any easy way to see if it was paid out and in what "payout" it was for the platform account? The Connected accounts have linking between the transaction and the payout but if I look at the platform accounts fees I don't see the same linkage (e.g. a way to figure out the "payout"). TIA

vast whale
#

Is there really no way to use two promo codes on stripe at once? If I go with this solution, and create two checkout sessions to apply two promo codes. Does that mean that a user has to enter payment details twice? Is there a way this can be done in parallel or have a single promo code applied to a single product in checkout?

open dagger
#

What are the implications of un-paid payment intents? We have an application that creates payment intents but they can be abandoned while still open. Want to understand what happens if these unpaid intents pile up

inland wadi
#

Hi. We have a webpage with Stripe Elements using stripe.js to create paymentmethods in stripe, This code works fine with 99% of our clients. For one client, they are getting a gray box displayed and a Content Security message saying. " Refused to frame ui-shared-49c3e7b36e-31823379b180b2.js:1 'https://gateway.zscloud.net/'. Because it violates the following Content Security Policy directive: "frame-src 'self' https://b.stripecdn.com". I believe that this is the hcaptcha check Stripe uses. tThe frame-src directive in the message does not match my websites csp. Has anyone seen this before? Any guidance would be greatly appreciated! Thanks

shadow ether
#

Hello,
What's the difference between "cartes_bancaires_payments" and "card payments" ?

little cloud
#

I am setting up a paymentIntent, where i can capture a card and charge it later. I am using python(django) and the official stripe python package.

Now, the stripe payment elements show up but after submission, it says "Not a valid URL".

The confirmPayment func(from my payment.js)

"""""""
const {error} = await stripe.confirmPayment({
//Elements instance that was used to create the Payment Element
elements,
confirmParams: {
return_url: "{% url 'order:finish' order_id app_user.id %}",
},
});
"""""""""

should confirm the transaction automatically, but instead its making an invalid GET request to the stripe payment_intents confirmation endpoint via: https://api.stripe.com/v1/payment_intents/pi_blablabla/confirm

which resulted to this error 400
{
"error": {
"message": "Unrecognized request URL (GET: /v1/payment_intents/pi_3OmysZblablablabla/confirm). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}

Please what do i do?

pseudo knot
#

Is it possible to perform a 'free' checkout? That is, without a customer? Is there any trick?

half lotus
#

Anyone ever add metadata to an existing Stripe subscription?

halcyon nova
#

Hi! I'm trying to configure an iOS Swift app with a Bluetooth Reader (M2). All the docs say "let connectionConfig = BluetoothConnectionConfiguration(locationId: "{{LOCATION_ID}}")" but XCode says "Argument passed to call that takes no arguments", and if I try it with no arguments it says 'init()' is unavailable. I am a Swift noob, so I assume I'm missing something obvious. Can anyone help me please?

misty sand
#

Hi all! Has anyone ever tried this? I have a customer record in one Connect Seller account, and I want to be able to create a Payment Intent "on behalf of" another Connected Seller. Is that possible?

quick sluice
#

no cost payment links, I have enabled them do i need to create a new item now or will an old payment link work. as far as API usage. If the account was created before the no cost was introduced do i require a new API key to ensure it is using the right API version? It is a bit unclear how that works.

little cloud
#

""""
Request req_jblablablablabla This PaymentIntent could not be captured because it has already been captured
""""

I get that when i try to capture the payment for the first time.. I have tried and confirmed this error for more than 3 orders.

Here's my capture code:
""""""
intent = stripe.PaymentIntent.capture(
order.intent_id,
amount_to_capture=int(order.total_price)*100
)
""""""

Please what can i do?

mellow hedge
#

Hi, I try to deactivate test-mode but always when I log out and log in again, it goes back to test-mode

vernal dock
#

Hello good evening, I need to do the following task:
A few days before the subscription trial period ends (7 days), I would like to send an email to the customer containing the payment link.
It is possible? I was a little confused because I saw that the invoice is only generated at the end of the trial period.
Could someone help me?

cerulean pineBOT
cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

wide lodge
#

Necesito ayuda

novel cloak
#

We are trying to use Visa's RDR service (Rapid Dispute Resolution).

We require the following details to complete our application:
Merchant Category Code (MCC)
Bank Identification Number (BIN)
Customer Authentication ID (CAID)
How do we get this information?

cunning sundial
#

can someone help what is the best way to track the utm_source and medium from where the use found out our product after landing on the checkout page

raven niche
#

Hello, I have a kick account and my stripe account has been suspended but donor payments on kick are on stripe express. I will receive this money this month even with this message? Urgent respond thank you

#

Translation of the message
transfer scheduled for March. Will I receive this money or not?

woven lichen
#

Does the payment_method object have a default flag in it? Like it shows up in the Stripe dashboard?

proud nimbus
#

Team, I have created a web application using Stripe payment intents with customized web elements. I haven't integrated or used Stripe 3D Secure. But if some banks require 3D authentication through OTP, do I need to create a separate UI element that allows the client to enter a verification code? Is it something that I need to build or is taken care of by the bank?

frail rock
#

Hello, we would like to ALWAY show all payment methods (including Google Pay, Apple Pay, Link, Cash App, and Card) to our users on the checkout page even if they have a login session to Link or Cash App on their device. We're considering using Express Checkout Element but seems like it does not support Cash App. Could you please help to suggest the best way for our needs?

cerulean spear
#

How do i get the invoice date to be march 1 2024? I'm trying to import a subscription that started 3/1/23 and should invoice on 3/1/24. not sure how to do this.

when i create this SubscriptionSchedule an invoice is created right away for FEB 25, 2024 - FEB 25, 2025.

where start date is march_1_2023 = 1677666015

    stripe.SubscriptionSchedule.create(
        customer=customer_id,
        start_date=start_date,
        end_behavior="release",
        phases=[
            {
                "items": [{"price": price_id_of_product, "quantity": 1}],
                "proration_behavior": "none",
                "billing_cycle_anchor": "automatic",
            }
        ],
    )
sturdy garnet
#

Hi,

We have a software company in Germany with bank accounts there. Call us X.
We have customers that use our software, and these companies are in Australia. Let's call them Y.
They are charging their customers (also in Australia). Let's call them Z.

We would like to charge Z through Stripe, where from that payment, most goes to Y, but a portion goes to each of X.

However, I am looking at this page, which mentions cross-border transactions.

https://docs.stripe.com/connect/account-capabilities#transfers-cross-border

Does this mean the scenario above is not possible?

crystal sigil
#

Hello friends, anyone can help set up the stripe payment gateway, especially the subscription model...?

cunning sundial
humble sail
#

Hello, could I get help with my payments, I have received my first payment from a client, I am wondering how long will it take for the payment to come into my account as I have to order material urgently. Thank you

dusky jasper
#

Hi everyone, we're currently facing an issue with accounts from different region than ours, specifically when trying to create a charge:
await charges.create({ amount, currency: feeCurrency, description: 'processing fee', source: accountId, });
what can we do to avoid this error?

rapid oasis
#

Hey, does anyone have any specific info on how to force a "cvc_check: true"?

"card": {
      "brand": "visa",
      "checks": {
        "address_line1_check": null,
        "address_postal_code_check": null,
        "cvc_check": null
      },

I am creating a SetupIntent, and completing it on our Android App

 Stripe::SetupIntent.create(
      {
        customer: stripe_customer_id,
        payment_method_types: ["card"],
        metadata: metadata,
        usage: "off_session",
      },
    )

When I add my card to our production test, I can add my card w/ an incorrect cvc. Is there a way for me to force the cvc_check? Both my card an one of my co-workers cards did the same thing, allowed us to add our cards w/ the wrong cvc. From the docs i've read it seems that my bank isn't performing the check? Any info is helpful, thanks!

sleek coral
#

This is the reciprh of my client from toronto canada he gave me his recipt to prove that the payment is not fraud please can someone help me on this my account says direct message on inbox when i click the review procces it says link is expired

slate sluice
#

We are using stipe connect, and some of our users who connect from our application to stripe with stripe connect onboarding already have existing stripe accounts set up for their business. Upon the Login of the “onboard” screen in Stripe, there doesn’t seem to be an option to select an existing Business that they can connect to Muzeek. Stripe instantly creates a new one.

Is there a way they can select the existing stripe account when onboarding and signing in with their email, rather than creating a separate orgaisation/business for the stripe connect connection? Do we need to update our API requests to allow this?

sleek coral
#

I fill very sad about this email

green meadow
#

im not getting reply from stripe, im having problem with my payouts, its greyed out.

sleek coral
#

My costumer from toronto canada pay using vanilla canadian dollar His card has a $150 he pays me $150 my stripe is USD his payment has been faild due to insuficient balance he ajust it into $135 then the payment succed after couple of minutes my account is fraud

misty hornet
#

@sleek coral I've already created a thread for you, please keep the discussion in your thread, thank you.

wet hatch
#

=== ATTESTATION_FAILURE (req_afwWfg0PXLhTBL): Device is not Google Mobile Services (GMS) certified. If this is incorrect, we recommend that you perform a factory reset or contact your device manufacturer.

sleek coral
#

Please help me on my accout that support doesn't provide email doesn't provide positive result it's just aa boot machine we need a real human to talk

misty hornet
#

@sleek coral I've told you multiple times that we are unable to assist you on discord. Please reach out to Stripe support. Thank you.

real wharf
#

Hello,how do I get thelatest_charge.transfer.destination_payment field in the paymentIntent object via the sdk?In the test environment, I get the paymentIntent object with id pi_3OfHEpLbDwn6x2jt1vwTkBUW and find that the latest_charge.transfer field is nil

thorn horizon
#

Hello, we are using Stripe Connect. When we request Stripe to reserve the fund from a Debit/Credit Card, then during the process is there anything Stripe returns?

polar cairn
#

Hi, I would like to achieve "first subscription only starts after payment is successful", but the recommended flow of using payment_behavior=default_incomplete has the following limitation:

If the PaymentIntent is not confirmed within 23 hours Subscriptions transition to status=incomplete_expired, which is a terminal state.

How do I support the use case whereby the payment of first subscription can wait for 1 week after subscription creation, rather than 23 hours? Should I use allow_incomplete, or right away call update after creation to set to pending_if_incomplete ? I don't want the user to click the email on the first invoice only to be told invoice is cancelled (due to incomplete_expired)

coarse apex
#

Hello @all i have a query regarding payments being made in multi-currency, does stripe provide any api Where i can fetch the payment exchange rate ? Because i need to know on what base amount currency is being exchanged before-hand so that we can tell the user accordingly how much amount he needs to pay

winged sentinel
#

Hi, I am creating payment intent on the server and sending it to client where the client confirms paymentintent using stripe.confirmpayment. I have also implemented webhooks listening to payment_intent.succeeded event. I would like to know if there's a way for the client to wait until the webhook for payment_intent.succeeded event is processed fully and the database is updated before moving to the next screen in the UI. Currently we don't have websockets implemented.

timid kindle
#

i am trying to implement stock management into my application, can i get some help with this

quiet moat
#

Hi there, PaymentIntentConfirmParams Payparams =
PaymentIntentConfirmParams.builder()
.setPaymentMethod("pm_card_visa")
.setReturnUrl("https://www.givepls.com/")
.build();
paymentIntent.confirm(Payparams);

#

Can someone please tell me which value to pass to sePaymentMethod

#

we want it to accept all cards

velvet geyser
#

const session = await this.stripe.checkout.sessions.create({
mode: 'subscription',
subscription_data: {
billing_cycle_anchor:
new Date(
new Date().getFullYear(),
new Date().getMonth() + 1,
1,
).getTime() / 1000,
proration_behavior: 'create_prorations',
},
});

I created proration next month starting date.
my product is in monthly paid of 1243 INR.
if i calculate for the 4 days, it should be 171.44 INR.
how it will be 147 ?
can u explain this ?
i need to renew subscription on every month start.

vocal wagon
#

Hello I have a Question:

I was trying to embed pricing tables in my website however they appear underneath each other instead of an horizontal alignment. I already added float:left to the container but that did not do anything.

any ideas on resolving this?

Thanks!

tropic dragon
#

Hey All
I have implemented Stripe in asp .net project all is workign fine
But When the change the plan
at this line User = await _userRepository.UpdateAsync(user);
when it updates the planId in database it shows an exception
System.OperationCanceledException: 'The operation was canceled.'
and it cancels the method

vocal wagon
#

When I update a tax rate on the subscription item, is it right that invoice.created webhook returns Remaining time under the new tax rate? I have some doubts about it

summer needle
#

Good morning,
I have a bug on the Bancontact authentication page. When I select the expiration date. The month of October appears in the letter "ten" and not in number. Which blocks the payment. Could you look?

dreamy kindle
#

My account is closed by Stripe due to these fraudulent payments. I don't know why you closed my account when I have nothing to do with these fraudulent payments. Customers are paying, and if their cards are declining, why is it my fault? Why do I have to suffer for customers' mistakes?

#

Can anyone help me ?

wet hatch
#

=== ATTESTATION_FAILURE (req_afwWfg0PXLhTBL): Device is not Google Mobile Services (GMS) certified. If this is incorrect, we recommend that you perform a factory reset or contact your device manufacturer.

dreamy kindle
#

There is no live chat option on my stripe dashbaord now

lone crescent
#

Try this link @dreamy kindle https://support.stripe.com/contact

misty hornet
#

@lone crescent Thanks for jumping in, I got it!

astral summit
#

Hey, I’m trying to set up payouts to contractors with connected accounts, but it doesn’t let me add funds to my account on the balance page to pay out with unless the payout schedule is manual. If this is the case, how are funds supposed to be added for use with automatic payouts to connected accounts?

dreamy kindle
#

and stripe team takes days for replying to emails

lone crescent
#

Hello !
I'm having a question about stripe trials. My billing system works with 1 week interval, if I create a subscription with 6 days trials, will the last day will be billed ?
I'm trying to implement the pausing collection with the use case "Unable to provide services" (https://docs.stripe.com/billing/subscriptions/pause#unable-provide-services), will the option be available during free trials ? (For now I'm creating a "free" subscription then trying to pause_collection and I get the following error : Request req_fmOuuMNpZcZwtv: You cannot create a new invoice for a paused subscription. Unpause the subscription before attempting to create a new invoice.)

Learn how to pause payment collection on subscriptions.

gloomy root
#

Hello i.need help update my number I can access my account

gloomy kite
#

hello

#

Hello,
please help me below,
i got following error C# webhook, when read the subscription stripeEvent.Data.Object, "Object reference not set to an instance of an object"

vague zenith
#

Hello there,

Is there a way to quickly setup Stripe Connect Standard accounts in test mode, without much business details? Also, how can we link multiple dummy bank accounts with different currencies under single Stripe Connect account in test mode?

late yoke
#

Hi! I cant find the api reference for the following endpoint: https://api.stripe.com/v1/customers/{{CUSTOMER_ID}}/funding_instructions. Are customer funding instructions the same as Issuing > Funding Instructions?

vocal wagon
#

hello there,
Can we able to integrate all the flow of identify document with api only ?? and from frontend just recieve the document image or number because when integrate with react native the app crash

winter gyro
#

Hi there. I am looking to switch from my current BACS Direct Debit provider and move to Stripe (who we already use for our Card Payments). We currently collect bank account details via our own system, send them to our current provider, and then setup adhoc payments month to month on the customers collection date. I'm just seeing what end points I need in Stripe to achieve this. I've found adding a bank account to a customer here: https://docs.stripe.com/api/customer_bank_accounts/create

How do I set up a charge on the customers bank account on a specific date?

pastel flume
#

Hello, i contacted stripe support by a diffrent email, because they didnt reply to my another account. They reached out to me, asked for details and verification. I sent them my account gmail, account shopify name and verified my email. Then they sent me a letter, that they will send me instruction for further info, but they didn’t and it’s 7 days past they’re last email

opaque radish
#

Hi, I am using the invoice API (NodeJS) and using the discounts array to pass discounts (when creting an invoice). The thing is that I didn't found a way to pass Promotion Code ID in this array but only the Coupon ID, that results in seeing the redemptions only on the coupon level and not on the promo code level, can you help me with that?

lavish quarry
#

Hello, I have a question I want to consult, the use of PaymentIntent to bind before the capture card business, itself this card in a few days ago, normal, but today's deduction failed, return: Your card was declined.; code: card_declined; request-id: req_LWgIDB4MVwgqqm, this is returned by the bank, how can we improve the probability of successful debit for this? Is there any verification card or API for customerId? My current customerId is: cus_PNC0faMn1qfCFB

fair fable
#

Hi, we are using Stripe Issuing and a client of us is asking the status of a refund using the ARN code. Unfortunately, I don't see a way to lookup a transaction by ARN. Could you help ?

sinful inlet
#

Hi, I have an integration question regarding Stripe hosted checkout and application fees on connected accounts. Is it possible to send the fee to the session creation as a percentage that will be applied on the total amount after discount during the session?

We used to use Stripe elements before and then we would get the final amount after discount, calculate the application fee based on that total amount and a specific for the connected account percentage and then create the payment intent by passing that application fee flat amount to it. Now I can see that I can pass payment_intent_data.application_fee_amount when creating the session, similarly to how we have done it before. However since the discount would be handled by Stripe checkout I wouldn’t know what the total amount of the purchase is before creating the session therefore I am not able to calculate the correct application fee amount to add to the session. Is there any way to work around that?

rapid siren
#

When I try to make a PaymentIntent I would like to be able to declare several accounts in the "transfer_data" field, so that it makes at least 2 transfers once the payment has been made, is this possible?
And on the other hand, who could I contact for guidance on what type of Connect account to use for my business model? I have several doubts about how to make the best use of your services.

brazen gorge
#

Hi, I opened my Stripe account a few minutes ago... I verified my identity and shortly after I was banned. The cause of mine Ban is: "payment not authorized by the customer"... but I never had clients, I never received payments. I can request a further review by providing: Certificate of VAT number or tax registration of the business • Detailed customer invoice • Bank statements for the last 6 months relating to the business account • Statements for the last 6 months from your previous payment processor But my business is new and I have no way to provide this information. How can I do? I feel like they banned me for no reason

fading valley
#

hi i can not log in as my phone that my phone is link to has gone we just use mobile now please help i need to do a refund for a coustomer

flat sphinx
#

Is there Flutter SDK support for Stripe? Linking out to a Stripe payment page in the browser from our app is a terrible UX - trying to avoid. PCI DSS compliance is too heavy a burden

umbral thorn
#

hi, im stuck at ceating checkout. basically im stroing some metadata info during checkout create. but now the json string has exceeded the count of 500. and it is limitize at 500. ;'( how can i enchance the limit is there any paremeter? please suggest some solution else wise i have to change my all existing implement of webhook.

frail valley
#

How to transfer funds still in available to payout soon to a connect account balance?
Got some reference in other thread that this is how to do it, can someone explain how to do this?

if I assign my 'eventId' to 'transfer_group' then I would be able to transfer those funds to connected account even before they are available to payout using that 'transfer_group'. Given that all events have unique 'eventId'

normal forge
#

Hi, i have embedded iDEAL element into my checkout page, how can i change the display of bank list into native select in desktop view (like in mobile) instead of a list of StripeElement list ?

vocal wagon
#

Ciao. Perchè si riceve "Metodo di pagamento non valido." .? Cosa si può controllare? c'è un log?

foggy oak
#

Hi all, is there a good test card I can use for subscriptions where the first payment succeeds, but further recurring payments will fail?

vocal wagon
#

HI. Why do you get "Invalid payment method." .? What can you control? is there a log?

bronze vector
#

Hi all, is there any one here familiar with "stripe identity" ? i have some questions.

long saddle
#

Hello, when creating a checkout session in setup mode, is the card of the client checked to see if it can be debited at least the price attached to the session (to know if later at least this amount can be debited in a payment intent) ?

hard shadow
#

Hi all, which version of stripe is compatible with node 10?

meager quarry
#

Hello guys, anyway to get getDefaultTaxRates() in Subscriptions, it is a list, and I can see it is populated on my side, but when I try to get subs.getDefaultTaxRates().get(0) , exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

lean yacht
#

Hi all, I'm having difficulty with stripe webhooks on localhost on mac. I'm using stripe-cli: stripe listen works fine, and I can use stripe trigger to generate them. My app also causes stripe to emit events, and again these are caught by stripe listen.
But - these events are never forwarded to my app's webhook endpoint.
For reference, I'm using:
CLI: stripe listen --forward-to localhost:3000/api2/payment/stripe/webhook
Dashboard says: -MacBook-Pro.local -> localhost:3000/api2/payment/stripe/webhook -> listening
and I can post using Postman to: http://localhost:3000/api2/payment/stripe/webhook which invokes my webhook endpoint code correctly.
but the code at localhost:3000/api2/payment/stripe/webhook is never forwarded to by stripe listen
All events are seen in the dashboard fine.
Oddly enough, I just tried a curl, and that also doesn't hit the webhook endpoint
curl -H 'Content-Type: application/json' -X POST http://localhost:3000/api2/payment/stripe/webhook

Any ideas what's going on here?

wind blaze
#

Hey! Something is off in the stripe web UI. Not sure where to report hhis except here.

narrow iron
#

Hey there I don't have dev issue but how can I get in touch with a real agent? your KYC robot has no knowledge about Romania having blank backside on ID and I can't complete KYC. This delayed my e-commerce store launch. Please, help me. Got no time to waste

desert yoke
#

Hey there, I am from India and set up a STAN store (third party) and to integrate it keeps asking me the country I am from and India is not in the option. And If I select some other country like USA then they ask for a SSN which I obviously dont have. Please help me integrate this

warm sinew
#

Hi, I am using stripe connect with custom accounts, I am using the transfer group to send transfer to connected accounts, if I want to take back the transfered balance from the connected seller and i want to put it back in the platform balance what would be the best way to do it based on my configuration

harsh vortex
#

hey, in stripe i continously get the error when listening to a webhook event:

19|koop         |   type: 'StripeSignatureVerificationError',
19|koop         |   raw: {
19|koop         |     message: 'Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead. \n' +
19|koop         |       'Signature verification is impossible without access to the original signed material. \n' +
19|koop         |       '\n' +
19|koop         |       'Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing\n'```
I tried several solutions of which none worked
vocal wagon
#

Hello,

I'm writing to you because we haven't found any satisfactory information in the Stripe documentation about the following case.
As a good to know, we currently use the notion of subscription in Stripe to bill our customers.
For a few days now, we've been testing a new specific case.
It involves a subscription update (formula upsale) with a coupon. We currently use pending_if_incomplete for subscription updates.
Sometimes, 3DS authentication is required for the change. We manage this by launching Stripe.js, which performs this verification.
In this case, we get the following error: When payment_behavior is set to pending_if_incomplete, you can only pass supported params. coupon is not supported.

Knowing that if no 3DS authentication is requested, everything works fine.

Do you have a solution for us in this case? We've tried using the other payment_behavior values, but there's nothing satisfactory for us. For example, if the 3DS fails, the subscription is cancelled, which we don't want.

quiet moat
#

Hi there

PaymentIntentConfirmParams Payparams =
PaymentIntentConfirmParams.builder()
.setPaymentMethod(pmId)
.setReturnUrl("https://www.givepls.com/")
.build();

I am setting pmId created using confirmSetupIntent but getting below error

com.stripe.exception.InvalidRequestException: The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first.; request-id: req_vROVZGba4RSAph

#

I did attach the customer to it 1st

#

private void paymentIntent() {
createCustomer();
SetupIntentParameters params = new SetupIntentParameters.Builder()
.setCustomer(customerId)
.build();
Terminal.getInstance().createSetupIntent(params, new SetupIntentCallback() {
@Override
public void onSuccess(SetupIntent setupIntent) {
// Placeholder for collecting a payment method with setupIntent
paymentMethod(setupIntent);
}

        @Override
        public void onFailure(TerminalException exception) {
            // Placeholder for handling exception
        }
    });
}
#

Can someone help me out with it

#

please

grand sable
#

Can someone help me which Stripe Connect flow how can i setup from a gloabal platform and can applied taxation

#

One issue that I am also facing is that when I do USD payment from India I am getting this error

Non-INR transactions in India should have shipping/billing address outside India. More info here: stripe

frail valley
#

Can we use the INVOICE CREDIT BALANCE of a connect account and transfer those funds to platforms stripe balance?

vocal wagon
#

Hello,
I’m contacting you Because I can’t login to my stripe account and the only way I can log in is through my mobile phone but I have change number one month ago so I can’t login,
How can I recover my account ?

Please help me this is my only email

Thank you

terse lodge
#

Is there a way to use the generated elements CSS into extra HTML elements?

hoary thicket
#

Can anybody tell me , How Stripe is deducting processing fee and Tax ?

desert yoke
vocal wagon
#

Does the customer.subscription.deleted occurs after a past due status?

olive heron
#

Hello, how can I add a free trial to a subscription via the UI?

const subscription = await stripe.subscriptions.create({
    customer: customerId,
    // I want this to be attached to the product/subscription
    trial_period_days: 14,
});
wind blaze
#

Hey. Previous thread (#dev-help message) was closed, so here I am with a new one.

@tacit ridge You wanted to know my stirpe ID: acct_1OSDu0LTIz5npmfH

inland wadi
#

Hi, We are prototyping a Credit Card page, where we can capture details for future use. We want to create a Customer in Stripe and a Setupintent. then display CC elements to the client. They will click Save, and we wil the createPaymentMethod in the client js, then call a server endpoint with the payment method. on the server we the call setupIntent.confirm. Question: are 3ds or fraud checks (capthca) performed when calling createPaymentMethod?

serene shoal
#

Hello, I would like to filter payments based on a specific coupon code. I know that the best way to do that is to add some metadata but I completely forgot. I don't have any metadata attached to them. Is there still a way to filter those?

stable wind
#

Hello, I've been using the 4111 1111 1111 1111 test card for a few years to simulate a successful transaction but no longer see it in the documentation https://docs.stripe.com/testing. Can I keep using it?

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

arctic merlin
#

Hey, how do I check if user's subscription status = active | | trialing | | past_due? It needs to update the database (subscription_status column) with webhooks. (p.s I have done it already but the code is not clean and it just check the status like this: js let stripeSubscription = await stripe.subscriptions.list({ I can show you all the code how I check the subsription status.

meager venture
#

Hi there; as part of a rewrite on our end, we need to change from using Subscriptions to just using the Payment Method and creating intents using that.

We need to release this week before the 1st and we have about 8000 subscriptions to cancel, such that our software will use their methods instead to create the invoice.

I would like to create a script to go through all of these and basically check which ones look ok, and which we may have an issue with, for example - if the method is not attached to the customer. Other than this one, is there anything else I need to watch out for? There's a lot on the line here.

summer kite
#

Hi, when calling Terminal.getInstance().cancelPaymentIntent(paymentIntent, cancelPaymentIntentCallback); to cancel a payment, should this reset the reader? atm when i call it, the payment seems to be cancelled but the reader does not reset, cancelPaymentIntentCallback doesn't get called until a card is tapped for some reason.

restive sedge
#

how can I know that user has pressed back button on the checkout page of the browser ?

stiff falcon
#

how do I pass information through a webhook?
using selling an online course as an example (not what I'm doing), how would your webhook endpoint know which user to upgrade to a pro account, for example.

I need a database update ONLY if the payment is successful. (auth and capture, manual): payment authorized -> php database update

open dagger
#

While testing the setReaderDisplay functionality, we noticed what's passed into the "total" argument is shown as the "subtotal" on the display. Can this be corrected to show as "Total" on the screen to avoid confusion from end-users?

drowsy crown
#

hello! i'm receiving an error trying to add an external account (bank account) to a users account on my platform

drowsy crown
neat dawn
#

Hello @vocal wagon ,

My name is Sargis, and I have a question about pricing.

I'm exploring the possibility of setting up recurring prices where the first month is free, followed by paid subscription from the second month onward.

Thanks!

fresh arrow
#

Hey, is there an IBAN to test the failed payment of SEPA? specific to trigger a webhook of event : 'payment_intent.payment_failed'. I find only "charge" events.

ripe drift
#

Hi, does Stripe store the user logs? I want to know if an invoice is created or finalised from stripe dashboard, who did it.

meager quarry
#

hello

vocal wagon
#

Hello, does everybody has an own Stripe iban?

rotund dove
#

Hi I’m unable to login to my stripe I’m not receiving emails for a password reset

stiff falcon
#

I am creating a webapp:

The user will have a html text input whose contents they can upload to a database for a price.

I am having trouble deciding when to create the paymentIntent.
The input content needs to be attached to the paymentIntent's metadata, that way it can be processed by a webhook when the payment succeeds, however the metadata needs to be defined with paymentIntent.

At any point up until payment, the input content may be edited by the user.

Is it bad practice to create a new paymentIntent every time the input content is edited and saved?

I do not like the idea of updating the paymentIntent every time input content is edited as this is done with PHP and would require an API call to my backend, which is clunky

Ideally, there would be a way to edit the metadata on payment submission

humble salmon
#

Hello, i am unable to call https://api.stripe.com through gcp gke istio; this relates not directly to stripe but any help would be great - access to all other external services is possible, but stripe doesnt work

=> net/http: TLS handshake timeout

url := "https://api.stripe.com"

    // Create a new HTTP client with default settings
    client := &http.Client{}

    // Create a new HTTP request to the URL
    req, err := http.NewRequest("GET", url, nil)
    if err != nil {
        fmt.Println("Error creating ppppp request:", err)
        return
    }
    req.Header.Add("Authorization", "Bearer sk_test_xxx")

    // Perform the HTTP request
    resp, err := client.Do(req)
    if err != nil {
        fmt.Println("Error sending request:", err)
        return
    }
    defer resp.Body.Close()
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: %{service}-stripe
spec:
  hosts:
    - api.stripe.com
  ports:
    - number: 443
      name: https
      protocol: TLS
  resolution: DNS
  location: MESH_EXTERNAL
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: %{service}-stripe-destination
spec:
  host: "api.stripe.com"
  trafficPolicy:
    tls:
      mode: SIMPLE
prisma dome
#

Still getting fistfulls fo these errors:

8433-9ebdd26e959917bb784cf04985f018e0.js:1 Error: type: fetch_error, code: undefined, message: Error fetching https://merchant-ui-api.stripe.com/pricing-table/prctbl_1OgV8HGuKQxVPasTQ9Cm8EPf?key=pk_test_5...eDkN: Failed to fetch, status: undefined
    at pf (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:475624)
    at vn (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:89985)
    at Hn (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:95982)
    at xl (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:163996)
    at Lr (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:116265)
    at Nr (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:116190)
    at xr (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:113538)
    at pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:77320
    at t.unstable_runWithPriority (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:218788)
    at Pt (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:77029)
    at Nt (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:77265)
    at It (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:77200)
    at br (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:110327)
    at Mn (pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:93641)
    at pricing-table-app-ce49e97477d0a255d06bb0f92f4ee696.js:1:468635
(anonymous) @ 8433-9ebdd26e959917bb784cf04985f018e0.js:1
Promise.catch (async)
magic grail
#

Hi, I am integrating WisePos E reader with my custom POS. I have a reader and a physical test card from Stripe. When I start payment the reader displays the amount but when I put the card on the reader so it displays try again.

vocal wagon
#

Hello when Im looking at the preview of my pricing tables on my dashboard, every payment method that I added seems visible. however when I run it locally only Paypal and Card appear in the checkout:
left == dashboard view

tender ledge
#

Hi so my account was locked because someone submitted a false chargeback. I submitted the proof etc and its still locked and the support is taking weeks to reply. The other options aren't available for me. I was told the money will not be coming back to me. It is pretty hard to prove that the goods were given to them as it was a virtual item

brittle sapphire
#

What webhooks get fired when a user pauses their subscription from the billing portal, and how can I retroactively find all instances of a user pausing their subscription?

vocal wagon
#

I need help with my Stripe account, I emailed too but no answer. I had a payment go through stripe, I try to log in but i no longer have the same number and it keep sending the verification code to my old number, why isn’t there a password for this or another way to log in?

#

Dear team,

#dev-help message

Can we open again this thread, sorry for the delay.

Thx a lot.

surreal lily
#

Hello Stripe Team

We have one payment with status "incomplete". So it seems payment is stuck. Also in admin panel we can see pop-up "The customer has not entered their payment method". Payment method: none. What can be an issue?
Do you have support team for communication? Can we send more details directly to support email in order to get answers?

Thanks in Advance

halcyon pike
#

Hi, I'm trying to work out the flow for an off session payment that requires 3d secure. Using the test card that always requires authentication, on adding a payment method the customer has to complete 3ds,. If we then do an off session payment I was expecting the off session payment intent to return a status of "requires_action" and then we could direct the user to a page that uses stripe.js with the clientsecret from the intent to complete authentication on that payment. We actually get a stripe error that has the intent status of payment_method_required.

jovial lichen
#

Dear team,
I'd like to inquire whether there is a method available to preserve the customer's payment information before the commencement of a checkout session. This would serve the purpose of eliminating the need for re-entry during the initial checkout session.

stark belfry
serene wolf
#

#dev-help How can I set up automatic reminders for invoices that the due date is near and for invoices that are past due. According to the settings on my invoices, it says that they are turned on but I did a test by invoicing myself and I didn't recieve any reminders for payment. In my invoice logs, it also doesn't show any reminder emails being sent to clients. Thanks in advance!

vivid knot
#

Hi! I haven't received my 1099k form

wind blaze
#

Hey! Is there a way I can test the invoice.finalization_failed event? Stripe CLI notes this event is not supported for stripe trigger command.

errant radish
#

Hello, I'm looking to implement a customized subscription model for our website. Our service revolves around tiffin deliveries, allowing customers to tailor their meal quantities. We aim to establish a subscription structure where charges adapt based on the selected meal quantity, with recurring charges on a monthly or weekly basis for each unique subscription. If users want to modify their subscription, they would first need to cancel their existing plan before adjusting meal quantities. Could you please provide guidance on integrating such a subscription platform with Stripe? Thank you for your assistance!

frank heart
#

quick question, for tokens, what info is included? is it the customer object and card objects?

dull lance
#

Hey I'm trying to build a stripe app and test the webhook events locally for installing/uninstalling the app https://docs.stripe.com/stripe-apps/build-backend#stripe-apps-events. However I'm not receiving any events. I'm creating a release and installing/uninstalling it on the same account associated with the app and I'm running the command stripe listen -e=account.application.authorized,account.application.deauthorized -f=http://localhost:8080/api/stripe/webhook to listen for webhook events. Is there something else I need to do?

light shell
#

Hi we're attempting to charge a saved payment-method on a customer object using an existing payment_intent for a Stripe Connect Account - we're getting an error that there is a resource missing (that the payment_intent_id DNE)

When looking up the ID in the Stripe dashboard, it does exist - do you have any thougths on how to resolve? Thanks!

surreal lily
#

Toby, may I ask you to add me into your friends as I can't send pm to you. We really need your help. Thanks in Advance.

shrewd juniper
#

Hi, how does Stripe decide which payment method to charge on off-session payments when the customer has multiple, but none are set as default? The upcoming invoice has default_payment_method as null, and I want to let the user know how and where they will be charged. Thank you!

graceful breach
#

Hi team!! I hope you are doing well. I would like to ask about a specific issue regarding a product that our company is billing (let's call it SetUp Fee). This particular product has an interval = 'day' and we set it up to be active and applied to an active subscription for 60 days, after which the product should be canceled. The strange situation we are encountering is that this product is generating a different 'canceled_at' date every day. Is this behavior intentional? Is there something we can do to prevent it and avoid the generation of a 'canceled_at' date every day? Thanks again!

broken magnet
#

Is it possible for me to programmatically enable the customer portal link (obo a Connected account), or do I need to manually go to /settings/billing/portal?

past glacier
#

Hello everyone! 👋 I hope you're all doing well. I'm reaching out to see if anyone here has experience with using Stripe Radar, specifically with the :shipping_address_state: attribute to block transactions from a specific state in the U.S. I've had success with :billing_address_state:, but not :shipping_address_state:. Has anyone faced a similar issue or found a workaround? Appreciate any insights you can share!

feral delta
#

Hi. I have a question regarding saving credit cards for future payments via the setupintent api.

It seems to me there are two approaches to go about confirming a setupintent with a payment method:

  1. Client side:
    --> Customer object and setup intent created server side
    --> Setupintent client secret sent to client browser
    --> on browser, call stripe.confirmCardSetup('{SETUP_INTENT_CLIENT_SECRET}'...

  2. Server side:
    --> Customer object and setup intent created server side
    --> Payment method id created client side
    --> Payment method id sent to server and attached via setupintent to customer object in step 1

Just want to confirm from Stripe's perspective, are both approaches valid and acceptable?

Thanks

chilly prism
#

Hey!

I'm trying to create a checkout session for a subscription, on a connected account. On the backend I'm creating the session, passing the priceid, and also passing the stripe account id. this gets me a client_secret which i pass to the frontend

on the frontend side i have a stripe object loaded using loadStripe(pubkey)

and then im trying to do

const checkout = await stripe.value.initEmbeddedCheckout({
clientSecret: client_secret,
})

checkout.mount("#stripe-checkout-id")

this mounts it but inside i'm getting an html rendered error message saying:

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

I think I have all those correctly setup, so what am I missing here?

willow ravine
#

Hi,

We just had an ACH payment that was accidentally charged twice. Because the funds have not gone through, I do not see an option to refund the payment.

Is there a way to cancel the ACH payment before the funds actually come through?

serene wolf
royal dune
#

Hello all, I just noticed that our develoeprs were storing the invoice URL and invoice_id for the receipts of our SaaS platform however these invoice links are expiring over 30 days ago.
https://invoice.stripe.com/i/acct_1IM1OLAk7qSXSxUq/live_YWNjdF8xSU0xT0xBazdxU1hTeFVxLF9QS2ZoeUxKUVV1TjlEZms3SGtzTGpNY0VsTnJvSGFZLDk1MTkzNzY20200QSk3IM9i?s=ap
in_1OW0M9Ak7qSXSxUq4OTiXO0V
They only work if they are recent such as this one that was from this week: https://invoice.stripe.com/i/acct_1IM1OLAk7qSXSxUq/live_YWNjdF8xSU0xT0xBazdxU1hTeFVxLF9QZDltbnBKMWlMbXpTOVdHTVc3U3JuRmMzeWxsYkViLDk5NDU3MTY30200ipW1Niww?s=ap
invoice_id = in_1OntTKAk7qSXSxUqNzibbFos

What should we be using instead? customers need to be able to download their receipts for tax filing, write-offs, etc.
Is there a way to build a link from the invoice_id? Or do we have to do a whole new implementation (hopefully not)

serene shoal
#

Hello, I would like to filter payments made with Stripe Checkout based on a specific coupon code. I know that the best way to do that is to add some metadata but I completely forgot. I don't have any metadata attached to them. Is there still a way to filter those?

haughty surge
#

Hi tere

vocal wagon
#

Hi,
If I change the plan product on stripe for a user, will it generate invoices or any proration?

haughty surge
#

I really have a big problem with my Stripe account and I need someone from the support to solve it with me

twin hamlet
#

Hello, is apple order tracking available for web or do you plan on adding support for web?

autumn hamlet
#

part of my Stripe account has been blocked for an unknown reason, probably due to high webinar activity, can you help me?
I removed all services from the store but still no response.
I'm worried about what will happen to the money that was in escrow

stiff falcon
#

what event can I use to trigger a payment being authorized (not captured) for webhook?

hollow magnet
#

Hi, is searching for a newly created paymentmethod and getting "no search results" normal? 🤔 or is there a delay in between maybe?

plain thistle
#

When creating connected account in stripe through api , can i prefill Legal business name & Registered business address through api for express account , where do i set this attributes in create account api ?

cobalt arrow
#

Hello! Is there a way to apply a coupon to a customer so that it's applied to their next invoice, knowing that the next invoice will be created through the API? The docs seem to say otherwise, but I'm wondering if there's another way to achieve this https://docs.stripe.com/api/customers/update#update_customer-coupon

dusk gorge
#

Good afternoon, I have a question and I wanted to know if anyone could help me? For example, I added the payment method by credit card and by bank slip in my app, when I make charges by credit card I get the result of success at the same time or not, but the bank slip can take up to 3 days. Is there any way for me to check using the code when the bill was paid and the status changed to success on the stripe?

jagged grail
#

Hello
I am from Pakistan where stripe is not supported. And i know a friend who's stripe has been blocked even though he had ltd. Can you please tell me any legal way. Like what other document will i need except businesses company like ltd, phone number and physical address

forest cloak
#

I created 1 product name A and 10 prices within the product A.
Now I want to create an invoice for customer so when I click on create invoice it only ask for product to select and not giving me prices list to charge customer.

pseudo python
#

Hi, I'm currently trying to submit the express checkout element in order to confirm it, but I'm not sure how to do it. I have 2 stripe elements of different types:

  • ExpressCheckoutElement
  • StripePaymentElement

I also have :

const elements = useElements()
...
elements.submit()

But this will always submit the stripePaymentElement, and not the express checkout one.

I want to submit either one, based on which one was selected. How do I achieve this ?

willow ravine
spark sundial
#

hi,
I am currently utilizing Stripe Connect for processing payments within my application. Following the successful creation of a customer, I have encountered a query regarding the configuration of a payment intent.

Specifically, I am unsure about the appropriate value to assign to the destination field within the transfer_data object of the payment intent creation. Below is the code snippet I am currently working with:

const paymentIntent = await stripe.paymentIntents.create({
amount: 1000,
currency: 'usd',
automatic_payment_methods: {
enabled: true,
},
application_fee_amount: 250,
transfer_data: {
destination: 'acct_1On8szGbABriXxNa',
},
});

Could you kindly provide guidance on what should be specified as the destination value? This information will greatly assist in ensuring the correct configuration of my payment processing flow.

Thank you in advance for your assistance. I look forward to your response.

candid yoke
#

Hi, i have a bug with apple pay.

paymentRequest.abort throws InvalidAccessError: The object does not support the operation or argument

Inside of the payment request cancel event handler, I am calling paymentRequest.abort() as I believe this is required for apple pay.

This causes the code to return early and creates bugs elsewhere in my app.

When viewing the trace, it tracks down to this line in the stripe lib

 this.abort = function() {
                                n._privateSession && n._privateSession.abort()
                            },
lost hare
#

Hi guys,
We're a Platform with Connected accounts. My live test-user is having a problem to make a purchase, although we can create a PaymentIntent?

hard shadow
#

I am using Stripe UI Library to create custom payment form. I followed the doc but unable to see any elements in the stripe iframe.

vocal wagon
#

Hi ricRM! I also need to migrate customer data from one Stripe account to another and I don't know which might be the best strategy. Stripe mentions starting with new customers first. Have they told you what the progressive rollout should look like?

dull lance
#

Hey I'm building a stripe app primarily with a backend and after install I need to associate the users stripe account with an account in a different system. I see I can use an install link https://docs.stripe.com/stripe-apps/install-links which offers a redirect back into my system with an install signature so I can verify the request is from stripe. This is great. However if the user installs the app in stripe I can configure a post install action https://docs.stripe.com/stripe-apps/post-install-actions#link-external but the redirect does not contain a signature only an account id so I can't verify the request. Is this something you're looking to support or is there a different way I can support this install flow?

solid pond
#

hello hello. creating a subscription through stripe checkout. I have 2 line items. One, i want billed over the billing period. Another, i want as a one-time. is this configurable? Both seem to be defaulting to across-billing period

soft kelp
#

Hi! I'm underage, and had my account locked after receiving a $3500 payment from a client. He called his bank and said it wasn't fraudulent, but the payment was still failed due to that fact. I'm unable to create a new Stripe account, and I'm 2007. I need help, thanks!

lofty abyss
#

Hello. I am using Stripe Customer Portal for billing/subscription management. I am wondering why a customer cannot edit their default payment method? Instead, they must add a new payment method and can choose to delete their old one. Just wondering if there is an explanation for this as I haven't been able to find one.

stiff falcon
#

Do webhook endpoint secrets work with stripe test mode? I keep getting the error \Stripe\Exception\SignatureVerificationException and I've narrowed every out other than the following lines of code:

\Stripe\Stripe::setApiKey($stripeSecret);
//
//or
//
try {
    $event = \Stripe\Webhook::constructEvent(
    $data, $sig_header, $endpointSecret
    //I have tested that $endpointSecret, $data, and $sig_header are all correct
);
} catch(\Stripe\Exception\SignatureVerificationException $e) {
    // Invalid signature
    echo '⚠️  Webhook error while validating signature.';
    http_response_code(400);
    exit();
}
pseudo python
#

Hi,

Is there a way to tell the Stripe PaymentElement to collect fullname / email / address in the Card payment method ? It seems that there is no way to force this solely from the configuration.

mild owl
#

Stripe tema

sage dove
#

good evening. I have a question about the tax field in the customer object, is this automatically populated by stripe or do I have to set it myself. If it is set automatically is there any particular way to make sure this happens ,like a flow I need to pass the user through ?

lyric harness
#

Hi there! I am currently using the billing_cycle_anchor_config when I am creating subscriptions:

billing_cycle_anchor_config: { day_of_month: 31 },

Based on this: https://docs.stripe.com/billing/subscriptions/billing-cycle#use

This works well for us since we create custom subscriptions where we always want the invoice to be triggered at the last day of the month. For example:

  • new subscription starts 2/26
  • first billing period is 2/26 to 2/29
  • next billing period is 3/1 to 3/31
  • next billing period is 4/1 to 4/30

While this works via API, I can't figure out how to do this when creating a subscription using the UI. is there a way to set this same billing_cycle_anchor_config to a particular day of the month in the Stripe dashboard when creating new subscriptions?

mild owl
#

How can I contact a live agent?

main ivy
#

hello stripe team,
I'm facing a issue regarding automatic collection for invoice,
for some reason, it's not working even when i forcefully finalize the invoice with "auto_advance" option to true

Here's what i'm doing,
I'm listening for webhook event "invoice.created", when it comes i store the details of invoice in my database and then call

        auto_advance: true
      })

even after this, the stripe shows "auto_advance" option as false

what do i do?

oak raptor
#

Can you have seperate webhooks for different products?

lament arrow
#

Hello,

I am having some difficulty confirming a payment intent on behalf of a connected account.

We have a workflow as follows:

  1. A Merchant will connect a stripe account to our Main Stripe Account.
  2. Merchants will create a payment intent and a payment method off the payment elements for a given transaction with their connected account
  3. Merchants will pass the payment intent id and payment method id to our backend services.
  4. Our backend services will confirm the payment intent id with the payment method id on behalf of the connected stripe account using our Main Account.

However I am getting a payment method configuration id error when trying to confirm a payment for a specific connected account. Although when using a different connected account I do not see this issue.

Account experiencing the issue: acct_1NpZeCINSdTE0nGJ
Example payment intent error: pi_3OkXptINSdTE0nGJ0DiPdOhc

Account not experiencing the issue: acct_1OLBxnJte4cqQKEB
Example payment intent success: pi_3OkWMvJte4cqQKEB14MwB25G

The account experiencing the issue is not fully connected though the remaining details only specify that payouts are not support

To avoid paused payouts, provide your tax ID information by Mar 13.

Do I need to finish the setup on acct_1NpZeCINSdTE0nGJ in order to confirm payments with our Main Account? Or is there some other issue going on?

spark sundial
surreal lily
#

Hello. What can be an issue when we can see error: "seller_message":"Stripe blocked this payment as too risky.","type":"blocked"} ?

weary charm
#

How do I add a user in my account? It is for our accountant

timid ember
#

Hi we have an apple pay that fails with zipcode check fail, but the same apple payment also succeeds at other times. I don't understand why it works sometimes and fails other times

dusk oracle
#

Hello, I saw that when I create a payment intent using the Pre-authorized debit payments in Canada payment method acc_debit and then, use it on my frontend page for confirmation using stripe.confirmAcssDebitPayment, if the payment failed due to a wrong bank account, all next attempt of payments calling stripe.confirmAcssDebitPayment, using this same payment intent will display a modal where the user cannot change its bank account. So the user is stuck because it cannot change this failing account.
It looks like creating a new payment intent for next submissions will fix the problem, but I wanted to know if it is a normal behavior or if I'm doing something wrong. (I'm still working in the stripe test environement)

boreal locust
#

Hi! My platform account takes an application_fee for processing transactions on connected accounts. It looks like the connected account has to pay for the processing fees associated with the application fee. Is it possible for the platform to pay for the processing fees associated with the application fee?

rose merlin
#

I have a question about Invalid CSP for Stripe domains when developing Stripe Apps

simple relic
#

a question:
When a subscription fails when trying to charge, when or what is the event that I can listen to to know that the subscription is canceled

manic gyro
#

Hello there I have a question : Stripe publishes tax invoices for the customer which can be recognised by the local tax office so I haven't to create a new one to enclose to the customers order?

ionic cypress
#

Question about express accounts. We are looking to create express accounts for users once they have been approved to be on our platform. What are the minimum requirements to generate the account, then send them the activation link in an email to finalize the account?

pearl mason
#

Hi, I have a question about getting the account name to properly show up in the test checkout session. I'm a new developer just starting to use Stripe so assuming I'm overlooking something simple. Here's the quick issue. 1) checkout works and shows the account name I originally setup, let's call it "ABC". 2) I just changed the account name to "DEF" and the checkout session continues to show the original account name "ABC" even though I set up a new product price "price_123..." after renaming the account from "ABC" to "DEF". Any idea how to fix this issue? 3) I assume I don't need to set up an entirely new account and redo all the settings b/c that would see unnecessary. 4) I looked under all the settings I could find and I'm stumped as to why the old account name continues to appear. Thanks, Eric

gaunt seal
#

Hello, it looks like prices cannot be updated using the api but can additional currency options be added later?

quick sluice
dark vapor
#

Hello, My bank account isn't set up yet But I cannot continue with account creation until I add the bank account

manic gyro
#

Hello again, is there a way possible to make a button on woocomerce website on checkout for apple pay or google pay?

rancid badge
#

Hi , i am not able to transfer balance from my test account

#

and my test balance showes in pending state

fickle pivot
#

Hello, I had used apple pay for long time ago, but recently shopify turn it down, when i go to stripe payments its on , in shopify settings i tried to turn on in credit card list but it wont let me , what should i do please help me , i need to setup domain for it?

pseudo python
#

Hi,

if we activate auto-complete on Stripe Address component, is it free or do we have to pay a fee for the google api calls ?

winged wave
#

Hello - I have an integration for subscriptions where he expected behavior for upgrading existing subscriptions is that if the payment fails, the subscription will be upgraded regardless of payment status, and then if the payment fails, the subscription gets marked as "past due" and then payments are retried for 3 weeks, at which point the subscription gets cancelled if the payment is not completed.

However, I am seeing a few cases where a subscription was upgraded and the payment failed, but the payment never got retried and, the bigger concern, the subscription never got cancelled. This is an issue because these users have gained access to the upgraded plan permissions indefinitely because Stripe never cancelled the subscription due to lack of payment.

This deviates from the expected behavior for Stripe subscriptions and I don't know why these specific cases of failed payments for upgrades are behaving differently. Can I get some clarification on how to make sure that payments are retried and that subscriptions get cancelled if payments don't get collected? Happy to provide the subscription IDs for these cases

manic gyro
#

Is there a way where the customer can make the payment on an other page? What I mean is that a customer will fill the checkout form and choose a payment method and then when they hot the place an order button the will be transferred to an other environment which the customer can select apple pay google pay or fill the gaps for the credit card but in an other page not in the same as the checkout one (I use WooCommerce)

timid ember
#

Hi does the stripe terminal support non-card present payments? Such as entering the credit card number and expiration date manually?

pseudo python
#

Is it normal that the payment element does incorporate the Address component inside it when the country is Canada, but not US ?

dull hare
#

as a plateform account, do I have access to connected accounts's customers? In our case, connected accounts are Standard accounts. I mean, via api

versed rain
#

Howdy 🤠 ,
I am currently working on the upcoming US Verifications requirements update for stripe: https://support.stripe.com/questions/2023-2024-us-verification-requirements-update-details-of-changes. To make the process smooth for our customers we are using the "restricted soon" concept that stripe connect accounts have by checking if there are any currently_due or eventually_due in the requirements field in the account.updatedwebhook event. This seems to work for some cases where the account will be restriced_soon. It does not work in particular due for the verification error invalid_statement_descriptor_prefix_mismatch. This error returns currently_due and eventually_due under the future_requirements field. My understanding was that these would be returned under requirements starting this February. So, are the updates specified in the link above returned in separate fields? When will future_requirements but set to requirements?

still mica
#

Hello friends, I have a problem. I have a payment sheet element using Stripe version 0.22.0 in my React Native app version 0.67.5:
https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet

Even leaving my payment methods on automatic, and several options available on my dashboard, only the "card" and "klarna" options appear. The card works, but when Klarna clicks, it gives an error. Could you tell me what is needed for the options available on my dashboard to appear in the payment element and how to make klarna work with other payment methods?
Is a specific version of the Stripe, Gradle or React Native SDK necessary to resolve this issue?
Thanks

Securely accept payments online.

austere garnet
vivid trail
#

I'm using the stripe npm library and seem to be unable to access amounts_due when retrieving an invoice in test mode. I can access payments when I send expand: ['payments'] but it only shows a single item for the remaining balance instead of what I expected to be an array of payment info.

I'm using an API version of 2023-10-16;invoice_partial_payments_beta=v1

willow condor
#

Hi, quick question. What will be the status of an invoice if it had a failed payment? Open?

carmine island
#

Our account got flagged for gambling but we are a software company that offers discounts to people and do trades promotions which we don’t sell any entries or do gambling. Based in Australia. Anybody know about the issue and how to resolve?

true vine
#

Hi

marble bough
#

Hi there. I'm integrating the React PaymentElement component into my custom invoice page and having an issue with how the Bank Transfer instructions are displayed. The second image is a screenshot from a Stripe Invoice, where the bank transfer details are displayed inline. The first image is a screenshot of how it looks in the PaymentElement component, where it asks for an email and then upon clicking the form submit button ('Pay now'), it opens a modal with the transfer instructions. Is there a way to replicate the inline transfer instructions like shown in the Stripe Invoice? Thank you!

rich robin
#

Hello, we have a Connect merchant who makes sales that may require different Merchant Category Codes (MCC). Since each Stripe account has exactly one MCC, it seems that we need to onboard a new and secondary Connect account for them to make sales on a different MCC. This seems impractical though as a Stripe Terminal is assigned to a Location which is scoped to a specific account. Meaning that you would need to have dedicated payment terminals for each MCC.

Do you have practical advice or examples for how other Connect platforms-merchants have handled this?

errant radish
#

Hey can you guide me how to create a custom and unique subscription every time, for the customers because our website provides tiffin. So, subscription depends on the number of meals and number of days, therefore there is a unique subscription for every customer. Can you guide how to implement such code. So, it creates that subscription directly in stripe dashboard.

spiral jasper
#

Own a stripe verified and did whatever it needed added to my sellpass got a charged and now its closed due to a "unauthorised purchase" when a customer was just buying my product?

brave ruin
#

Hello stripe team
I am trying to test my webhook plugged to the stripe

So I would like to test the event checkout.session.completed
I can create a session using nodejs lib

But I dont know how to set this session as paid.

May you help me?

crimson wind
#

Hello. I'm really lost. The docs are too verbose as to be useless on my screen reader, I cant find an example of setting up a subscription and I'm under the impression I need to create a customer for every user, then add payment methods and create a full payment method management system, but adding a payment method so I can bill people for subscriptions or products seems to require something called an intent now and I'm not sure of the correct flow to use. Help? All the tutorials I can find outside of the stripe docs that are compatible with screen readers seem to use older stuff because when I use it it raises exceptions.

radiant birch
#

Hey, we're looking at updating connected account statement descriptors for the new requirements. Is there anyway to "reset" a connected account statement descriptor so it gets the new default logic. I see the following but I don't want to update any values, just clear out the existing statement descriptor and have it default to stripes new logic.


    If you update an account’s business_profile.name, business_profile.url, or the name of the company or individual and the existing statement descriptor is based on lower precedence data, Stripe automatically resets the statement descriptor to match the higher precedence value. For example, if the statement descriptor is automatically set based on the URL, then you set or update business_profile.name, Stripe resets the statement descriptor to match the business profile name. If the statement descriptor is automatically set based on business_profile.name, and you set or update the name of the company or individual, the statement descriptor doesn’t reset because business_profile.name has higher precedence. The precedence order is business_profile.name, business_profile.url, then the name of the company or individual.
    Any update to an account’s full statement descriptor causes Stripe to automatically set the statement descriptor prefix to a shortened version of the updated statement descriptor, even if the previous prefix is manually set.
radiant birch
obsidian dove
#

Hello, my team is currently integrating our backend and frontend and doing QA on different test card failures, additional actions, etc. Currently our flow is pretty much:

  1. Client calls a server create-subscription endpoint
  2. Server calls the stripe API to create the object and capture the created subscription
  3. Return created subscription with pending_setup_intent field expanded
  4. Client grabs the client_secret from the expanded pending_setup_intent and feeds it into the js PaymentElement

I think I remember coming across some documentation about keeping the customer in-session to confirm the pending_setup_intent but can't find it now. Wondering what the "correct" way of handing this type of flow is, and dealing with bad card info, additional verification steps, customer disconnects, etc

balmy yacht
#

We have stripe connect standard customers that will often create their own products, not related to our application, and they will send their own payment links. On the charge.success webhook, we're receiving all charges, included charges not performed by our application. These are affecting our reconciliation as the order does not exist in our system. Is there any flag to to know these are not charges initiated by our app?

rough warren
#

Hi all, I'm one of the developers for FOSSBilling and we are looking to expand our Stripe integration so that it includes support for subscriptions.
The integration that's currently built uses the checkout integration.
Looking at the docs, everything indicates we must already have a price ID created within the stripe dashboard.

The PHP SDK appears to be able to create these for us, but I can only think of either automatically syncing the user's product list and pricing to stripe or creating a new price for each time a client goes to pay an invoice and neither of these feel like amazing options. With the first option, that complicates things on the chance that the invoice being paid has multiple products on it rather than just one and the 2nd option would very quickly lead to excess clutter on Stripe's end

Is there no option like with PayPal where you can simply provide the cost and subscription period when creating the checkout page?
Thanks!

bold merlin
#

Hi team

I hope everyone is doing well!

I have the following problem: I use a subscription store and I have been using the Woo Stripe gateway + Woo Subscriptions plugin for months.
I have some subscribers with automatic monthly payments. BUT when changing the Stripe account for another account, the recurring payments are now failing, previously they worked fine.

Maybe I need to migrate some keys or IDs from the old Stripe account to the new account?

I appreciate your help

pseudo python
#

Hi, continuing on this #dev-help message. This is the answer to the last question: They are just the Stripe components with custom names:

import {
  PaymentElement as StripePaymentElement,
  AddressElement as StripeAddressElement,
  useElements,
} from "@stripe/react-stripe-js";

Original question: Is it normal that the payment element does incorporate the Address component inside it when the country is Canada, but not US ?

atomic pawn
open dagger
#

We’re using Express Connect and need to expose fee totals to our connected accounts. How can we show this to merchants on the Express dashboard? It currently shows net only.

split moss
#

Hi, good afternoon

snow glacier
#

👋 Hello

Our team utilizes a shared Stripe development account, which leads to all of us getting all the webhooks on each of our machines. This situation tends to clutter our logs. I’m curious if you’ve encountered this problem and if you might have a potential solution that we could put into practice.

Thank you

fervent leaf
#

Hello everyone😩

I hope everyone is doing well!

I want to integrate PayPal in stripe, but I can't find PayPal in the wallet in the dashboard. I would like to ask how should I integrate PayPal?

I appreciate your help

pure scaffold
#

Hi! I need your help
I would like to make saving a card payment method for future payments. To save the card as a payment method for the first payment or separately create and save the payment method for future payments.
How to do it?
How to allow a customer to save a card for future payments?

smoky moon
#

I have a customer that I'd like to block with my radar rules, but they use this Issuing Bank (https://docs.crossriver.com/Content/Home.htm) to dynamically generate card numbers and fake cardholder information, therefore fingerprint and email won't work for blocking them. I see I can block bin lists, but I also don't know the bank's bin numbers. Do I have any options? I wish Radar allowed Issuing Bank as a rule option.

open dagger
#

What API should I use to get the total fees paid by a connected account in a time period?

mighty hill
#

🏗️ We're switching to a new flow...

Hey everyone! We're switching to a new question asking flow and won't be taking new questions for a few minutes. As soon as we're ready for questions again we'll let you know. Thank you for your patience!

atomic shuttleBOT
#

@mighty hill used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/

Question

Just a quick test to make sure the new flow works as expected!

What have you already attempted?

I've never tried this on our main server before!

What are you working on?

Not provided

mighty hill
#

greencheck All done, we're ready for your questions!

We've switched over to the new flow!

If you have a question go to ⁠#help, read the instructions there, then press the appropriate button.

Going forward you won't be able to type in the main #dev-help channel. That's expected: you can create a new thread using the buttons in #help instead.

We look forward to helping you!

atomic shuttleBOT
#

@crimson needle used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

I want my metadata to appear on my PaymentIntent from Checkout

What actually happened?

I have no metadata in my PaymentIntent

Reproduction Steps

Create a Checkout Session with metadata and see none on the PaymentIntent

Question

I want my metadata to appear on my PaymentIntent from Checkout

What are you working on?

Not provided

atomic shuttleBOT
#

@naive minnow used the 🔌 API button in #help

Question

I am implementing the Verify your users’ identity documents through stripe is there any way such that the frontend will give the image of the document/ID or number of the document/ID and we can verify in backend??

Related Request ID(s)

req_6Rylar7ceQyxVo

What have you already attempted?

but app got crashed```
### What are you working on?
```i am working on building an app where i need to impelement identity verification i am using react native as frontend and nodejs as backend```
atomic shuttleBOT
#

@hearty garnet used the 🔌 API button in #help

Question

I received a payment_intent.payment_failed event, but when I found that the last payment error is null when I tried to retrieve payment intent detail. How can I know why this payment is failed?

Related Request ID(s)

pi_3Oo5HXE2ZZnUHRVW0AI5ysu1

What have you already attempted?

payment intent id: pi_3Oo5HXE2ZZnUHRVW0AI5ysu1

What are you working on?

find the payment intent error

atomic shuttleBOT
#

@safe rose used the 🔌 API button in #help

Question

Just a quick question, does subscription list API returns the data in any order? And if it does not, is there a way to get the data in a certain order?

Related Request ID(s)

I do not have any ID(s) since this question is API specific.

What have you already attempted?

I have looked at the docs for list of subscriptions, but I do not think it explains anything about the order of the data.

What are you working on?

I am looking for a way to find the latest subscription the user has, whether it is still active or has been cancelled

atomic shuttleBOT
#

@frank tapir used the 👍 Best Practices button in #help

Question

Hey Guys! I am currently implementing a system where I need to give out money from my stripe account directly to users in case they follow a certain principles. What are my best option on this case? thanks!!

Doc/Guide Links

https://docs.stripe.com/connect

What are you working on?

I am building an app where I need to give out money to users that follow a certain guide

atomic shuttleBOT
#

@tired night used the 🔌 API button in #help

Question

How can we create a payment link through backend api which allows the user to pay a partial amount of the total invoice. Lets say user made a partial payment,after tht user can again go to the same link & pay the remaining amount and there should be some message that says total invoice is x and you have paid y in past.

Related Request ID(s)

Dashboard > + icon on top right > payment link

What have you already attempted?

in the dashboard i can see two options to create payment link. products or subscription or customer choose what to pay. How can i enable partial payment for products or subscription.

What are you working on?

I have a react app which will contain a button that will take the user to the payment link.

atomic shuttleBOT
#

@woven lichen used the 🪝 Webhooks button in #help

Question

Does the `customer.updated` event always get fired along with `payment_method.detached` ?

Related Event ID(s)

evt_1OoJ8BAHP4zSO38wAyJPBJlg

What have you already attempted?

I am handling both `payment_method.detached` and `customer.updated` events separately because in both cases, I need to fetch the associated payment_methods from Stripe and save it in my DB. However, with `payment_method.detached`, there is not customer since it got "detached".

What are you working on?

Not provided

atomic shuttleBOT
#

@full carbon used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

when i click the Sub_schedule on the customer page, it should go to https://dashboard.stripe.com/subscription_schedules/sub_sched_

What actually happened?

it went to https://dashboard.stripe.com/subscriptions/sub_sched_ instead with an error No such subscription: 'sub_sched_

Reproduction Steps

Go to customer with sub_schedule, and click on that sub_schedule

Question

This has been changed since Friday 2 weeks ago, get chat with support team, reply for 1 week

What are you working on?

Not provided

atomic shuttleBOT
#

@misty thistle used the ❌ An Error button in #help

Error Message

You cannot cancel this PaymentIntent because it has a status of canceled. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action, processing

Question

I'm implementing swiftUI with stripe payment sheet. I'm encountering this error and it's being shown on the sheet. Is there anyway that I can configure this error message directly on the sheet? It's not user friendly at the moment.

What have you already attempted?

I've tried to handle the error in the post-payment events. But if what I understand is correctly, that is different from the error shown on the sheet.

Reproduction Steps

Not provided

What are you working on?

Not provided

#

@haughty crystal used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://github.com/stripe/stripe-react-native/issues/243

Question

How to manual set localize payment sheet

What have you already attempted?

How to manual set localize payment sheet

What are you working on?

Not provided

atomic shuttleBOT
#

@vague zenith used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/payments/account/linked-external-accounts#link-financial-account

Question

How can we add multiple bank accounts with different currencies to the Stripe Connect account and not the platform account?

What have you already attempted?

I tried to search for the setting in the Stripe Connect account's settings, but didn't find any option to add another bank account. I can only see one bank account added to the Stripe Connect account, which was added while creating the Stripe Connect account.

What are you working on?

I am trying to setup Stripe Connect accounts with multiple currency bank accounts

atomic shuttleBOT
#

@obsidian fox used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

PaymentIntent-related websites to arrive in order

What actually happened?

I receive created webhooks after every other webhook

Reproduction Steps

Create a checkout session for a connected account. Complete the payment. Webhooks arrive in a completely random event, causing problems with my integration that updates the status of orders based on various webhooks.

Question

As per reproduction steps. When listening to webhooks for a checkout session created for a connected account, the webhooks arrive in an unexpected order. I’ve noticed that the payment_intent.created webhook can arrive after _all_ other webhooks (charge created and succeeded, checkout session succeeded, etc).

What are you working on?

An e-commerce marketplace where merchants can process payments using a Stripe account connected via Stripe Connect

atomic shuttleBOT
#

@faint oasis used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

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

Question

Is Stripe checkout session safe in NextJs or frontend ? Please explain how is it secure ? And why 3D secure Authenticated should be integrated or not ?

What have you already attempted?

I have already integrated & tested stripe checkout session api

What are you working on?

E- Commerce Payment Method.

#

@stone otter used the 🔌 API button in #help

Question

I am using the stripe connect api to add the connected account with the external account and then create the account link with that api. I already have the individual, bank and other information added through the api. But if I navigate to the link it again ask me for the firstname or other information(not prefilled)

Related Request ID(s)

req_tePeyrHNTrdGnN

What have you already attempted?

First I called the api with max information on the request payload and once the account is created, then create the account link with that connected account id. If I navigate to that link, it does not show the prefilled information which I already submitted on the api call. and I have to fill all the information again.

What are you working on?

Transferring amount to the user's bank account through connected account

atomic shuttleBOT
#

@brave olive used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/connect/customize-connect-embedded-components

Question

Im adding Embedded onboarding flow to my application and I see that the option to customize colors/fields/fonts for onboarding option is no longer available in https://docs.stripe.com/connect/customize-connect-embedded-components. 
This makes customizing onboarding really difficult. 
Is there maybe another link```
### What have you already attempted?
```I few weeks ago this option was available in this doc but not anymore```
### What are you working on?
```Adding embedded Stripe onboarding to my web app```
#

@past sparrow used the 🔌 API button in #help

Question

When we create a price what field is the recurring.trial_period_days field?```
### Related Request ID(s)
```req_IOV7ifjuE8V6oI```
### What have you already attempted?
```I have a question about the stripe API price object.
When we create a price what field is the recurring.trial_period_days field?```
### What are you working on?
*Not provided*
#

@fallen blade used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

affirm pay and after pay is not getting displayed in the stripe checkout

What actually happened?


USD is currency```
### Reproduction Steps
```go to this url for testing,  https://shelure.com```
### Question
```check if it getting displayed for you or not, if not need a solution```
### What are you working on?
```plugin for integrating the stripe , wp  site , integration is working fine . only one customer has reported this issue .```
#

@foggy wadi used the 🔌 API button in #help

Question

Is there any way to calculate the total price for given items? So for example, if the user selects some items on our page, how do I get the total amount, that will also be written on the invoice?

Related Request ID(s)

Not request ID related

What have you already attempted?

not relevant for my question

What are you working on?

Not provided

atomic shuttleBOT
#

@vocal wagon used the 🔌 API button in #help

Question

I would like to know if there is a module to connect stripe connect to a prestashop site.

Related Request ID(s)

barabib_prestashop

What have you already attempted?

We've read the documentation on the site but we don't have the developer skills

What are you working on?

Not provided

#

@pine rune used the 🔌 API button in #help

Question

How to create invoice without "bank transfer info"? I want to create a custom note to ask people to send physical check.

Related Request ID(s)

req_1aWrdwxGbWvfGn

What have you already attempted?

Disabled all payment methods from Settings > Invoice Settings

What are you working on?

Stripe Invoicing integration

#

@broken spruce used the 🔌 API button in #help

Question

I have a failing invoice, and I would like to get using the API the date of the next retry

Related Request ID(s)

req_SBNVePx09ChiZk

What have you already attempted?

Tried reading the docs

What are you working on?

I need to store some information

atomic shuttleBOT
#

@hollow finch used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

I attached a card requiring 3ds to a customer using a checkout session with `setup` mode, I expected no more action to be requested from the customer when confirming the payment intent that uses that card.

What actually happened?

When creating a payment intent with `confirm: true` using the previously attached card, the payment requires to take action in order to complete the payment.

Reproduction Steps

1. Create a checkout session providing `mode: setup`. 2. Redirect the user to the checkout session url. 3. Save a card requiring 3d secure (4000002500003155). 4. Create a payment intent with `confirm:true, automatic_payment_method: {enabled: true, allow_redirects: 'never'}`.

Question

Is it possible to attach to a customer a card requiring 3d secure and then using it to create a payment without requesting authentication to the customer anymore?

What are you working on?

A chef-prepared healthy meal kit delivery e-commerce.

#

@past sparrow used the 🔌 API button in #help

Question

You may only specify one of these parameters: unit_amount, unit_amount_decimal.```
### Related Request ID(s)
```req_ynlY6FZ1tA9oJ0```
### What have you already attempted?
```I want to update the stripe price object and got this error message
You may only specify one of these parameters: unit_amount, unit_amount_decimal.```
### What are you working on?
*Not provided*
#

@neat pollen used the 🪝 Webhooks button in #help

Question

I must ascertain if the consumer has paid the monthly subscription fee for the plan they are now utilizing. I also require an up-to-date subscription expiration time.

Related Event ID(s)

evt_1OoONOCdRI7rcOCIjlfayZ2E

What have you already attempted?

I have tried invoice.paid webhook for this but it is not showing updated subscription end time

What are you working on?

Not provided

#

@magic lance used the 🔌 API button in #help

Question

I have 3 products:
- free, monthly, yearly
When user creates an account in background I am creating customer and subscription with free product. Can I disable cancel plan for Free product in portal?```
### Related Request ID(s)
```cus_Pdg0TDCpMkNxfZ```
### What have you already attempted?
```To turn off in settings https://dashboard.stripe.com/test/settings/billing/portal
But I can turn off for everything not only for free```
### What are you working on?
*Not provided*
#

@ionic mesa used the 🔌 API button in #help

Question

Is there anyway I can embed a stripe checkout on my wordpress page instead of redirecting to stripe page?

Related Request ID(s)

no related request id

What have you already attempted?

I am referencing the following but am struggling to figure out what exactly is needed to embed the check out to my website: https://docs.stripe.com/checkout/embedded/quickstart

What are you working on?

embedding check out to wordpress website

#

@low zephyr used the ❌ An Error button in #help

Error Message

{"type":"Error","message":"Funds can't be sent to accounts located in US because it's restricted outside of your platform's region; please contact us via https://support.stripe.com/contact for details.","stack":"Error: Funds can't be sent to accounts located in US because it's restricted outside of your platform's regi

Question

Why is cross-nation payout not working in my website? Users whose accounts are not in Singapore cannot be offered payout and error information is shown above.

What have you already attempted?

I create js scripts to allow new users to connect stripe account when they want to sell anything. Money from Singapore account to Singapore account working but account outside in Singapore does not work.

Reproduction Steps

Not provided

What are you working on?

I am building a c2c website in Singapore and want to allow users from multiple countries to register, buy and sell artwork.

atomic shuttleBOT
#

@still totem used the ❌ An Error button in #help

Error Message

  "error": {
    "message": "Unrecognized request URL (GET: /v1/payment_intents/pi_3OoOueAOiYw02tQN1hEr15aC/confirm). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",
    "type": "invalid_request_error"
  }
}```
### Question
```I reveive and error when I use one of the stripe features: confirmPaymentInent.
Thank you very much for your help```
### What have you already attempted?
```I didn't find any info about the endpoint in api```
### Reproduction Steps
```I tried everything as in quickstart: https://docs.stripe.com/payments/quickstart
The button does showMessage("An unexpected error occurred."); writes to the console status 400 GET https://api.stripe.com/v1/payment_intents/pi_3OoOueAOiYw02tQN1hEr15aC/confirm```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@magic lance used the 🔌 API button in #help

Question


User renews cancelled plan in customer portal. How can I know in customer.subscription.updated that request is made for renew of plan?```
### Related Request ID(s)
```we_1OkOc9GeBYlVs2NB8D2vq54Z```
### What have you already attempted?
```Looking logs at the moment```
### What are you working on?
*Not provided*
#

@lean yacht used the 🔌 API button in #help

Question

With subscriptions, is there any way to immediately refund the customer if they cancel?

Related Request ID(s)

req_vN9hCUHOQtufs7

What have you already attempted?

I've tried adding {prorate: true, invoice_now: true} in the stripe.subscriptions.cancel params, but doesn't seem to make any difference

What are you working on?

Not provided

atomic shuttleBOT
#

@feral zinc used the 🔌 API button in #help

Question


If a subscription payment for a user is declined/fails, what field would represent that on the returned JSON for the below API call? also what value would it have?

https://docs.stripe.com/api/subscriptions/retrieve```
### Related Request ID(s)
```I do not have a request ID as this is a query about the request```
### What have you already attempted?
```nothing, just a simple question```
### What are you working on?
*Not provided*
#

@pliant elk used the 🔌 API button in #help

Question

It seems that the reason parameter is optional, but when set it must be one of the 3 supported values: duplicate, fraudulent, and requested_by_customer. Can you confirm that?```
### Related Request ID(s)
```req_donthaveitatthemoment```
### What have you already attempted?
```Used documentation at https://docs.stripe.com/api/refunds/create#create_refund-reason```
### What are you working on?
```Payment refunds   ..```
#

@trim cloud used the 🔌 API button in #help

Question

Not able to fetch line items via stripe.checkout.Session.list_line_items.

Related Request ID(s)

No_log_id_is_present

What have you already attempted?

This is the error that I see: AttributeError: type object 'Session' has no attribute 'list_line_items'",

What are you working on?

Trying to get the line items to see quantity of the product purchased via checkout

atomic shuttleBOT
#

@vocal wagon used the 🧑‍💻 Code button in #help

Code

    buy-button-id="..."
    publishable-key="..."
    customer-session-client-secret="..."
  >
  </stripe-buy-button>```
### Question
```Hi, I'm starting to use stripe.

I would like to use Buy Button (https://docs.stripe.com/payment-links/buy-button#attributs-pour-personnaliser-le-paiement)

Is it possible that when I click it, it stays on the same tab? Currently it opens a new tab.

Thanks in advance```
### What have you already attempted?
```Read the doc to find parameter```
### What are you working on?
*Not provided*
#

@rose summit used the 🔌 API button in #help

Question

Checkout session success still not working in embedded mode

Related Request ID(s)

cs_live_a1bEiPW21w2PlBWbEadxn3PEfGAk50cya3HobrThQXvjxIsgK5AdgqeHjl

What have you already attempted?

app.get('/successfulOrder', async (req, res) => {
  const session_id = req.query.session_id;

  try {
    const session = await stripe.checkout.sessions.retrieve(session_id);
    const customer = await```
### What are you working on?
```My business website that uses Stripe for tech support service payments and advertisement space.```
#

@oak moss used the ❌ An Error button in #help

Error Message

No such payment_method_configuration: pmc_1Omci1ByUmQCNP4blPJcfMQf

Question

I’ve been testing and resetting various things, and somehow I’m now able to revoke access to our platform from new test accounts. I’m still struggling with the "No such payment_method_configuration” error. I’ll try and provide more insight, so hopefully it’ll make more sense on your end.

What have you already attempted?

and 
https://docs.stripe.com/connect/authentication#adding-the-connected-account-id-to-a-client-side-application
but still same```
### Reproduction Steps
*Not provided*
### What are you working on?
*Not provided*
#

@umbral atlas used the 🔌 API button in #help

Question

I use Payment Link and I want to recover the product of my payment.```
### Related Request ID(s)
```/v1/payment_intents/pi_3OmdrBB12PW1kQJp1TO8hjmQ```
### What have you already attempted?
```I recovered the charge, the session and the payment intend, but thoses informations doesn't provide me lines items, how can I recover the lines items via api ? 
I see in the documentation there's invoice and quote route which it turn lines items, but there is no  invoice id or quote id either
Could you help me please ?```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@magic lance used the 🔌 API button in #help

Question

User buys yearly plan. He uses it 6 months. After 6months he switches to monthly plan and cancels monthly plan. User should pay for 7months and I want to return him on subscriptionCancelled if he has any balance money as a refund. What is the way to go? I am now in customer.subscription.deleted refunding

Related Request ID(s)

evt_1OoQU9GeBYlVs2NBv4Hjgg40

What have you already attempted?

In customer.subscription.deleted creating refund

What are you working on?

Not provided

atomic shuttleBOT
#

@final ibex used the 🔌 API button in #help

Question

When stripe returns the response, 
I need to get the "Fee" inside the Payment_Intent. Is there another way to get this field other than through SessionGetOption?```
### Related Request ID(s)
```req_Q9RurRMHD1rTqh```
### What have you already attempted?
```I call SessionGetOptions and it does not return the Payment_Intent of the transaction (equal to null).
I call the v1/invoice/ passing the coustumerID but did not find the fee as well.```
### What are you working on?
```integrating the subscription payment method```
#

@foggy latch used the 🔌 API button in #help

Question

Can I switch the API version of a webhook endpoint? Or do I have to create a new one?

Related Request ID(s)

nanananananananana

What have you already attempted?

Tried doing it on the website and via API docs

What are you working on?

Not provided

atomic shuttleBOT
#

@boreal urchin used the 🔌 API button in #help

Question

the other card trigger a challenge flow
In the mean time i would like to disable that flow if possible```
### Related Request ID(s)
```evt_3OoQnXFq1BiPgN2K1RX0LbS4```
### What have you already attempted?
```I tried all of the 3ds cards in the doc```
### What are you working on?
```A one click payment solution```
#

@sinful inlet used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/api/checkout/sessions/create

Question

When using Stripe hosted checkout with subscriptions can we create multiple subscriptions on one session that will have different start dates (billing_cycle_anchor) since we want to sell products that can start on different dates?

What have you already attempted?

https://docs.stripe.com/api/checkout/sessions/create
https://docs.stripe.com/billing/subscriptions/multiple-products#creating```
### What are you working on?
```We are working on integrating Stripe Hosted Checkout with subscriptions```
#

@frail perch used the 🪝 Webhooks button in #help

Question

Is there a way to add a webhook to the dashboard automatically? Without doing it manually?

Related Event ID(s)

all events not any particular

What have you already attempted?

I aim to make the experience of adding a webhook easier for my clients without having any technical knowledge.

What are you working on?

I have developed a Saas and connect with the different payment gateways.

#

@agile oar used the 🧑‍💻 Code button in #help

Code

    line_items : items,
    mode: 'payment',
    success_url: `${Sucess}?sucess=true`,
    cancel_url: `${Cancel}?canceled=true`,
  });```
### Question
```I'm receiving that line_items parameter is required. But when I log the req.body I receive the Stripe price tag and quantity as well```
### What have you already attempted?
```I already tried to find a solution on stack overflow and google, but I couldn't find any solution for my problem```
### What are you working on?
```I'm building a cart system```
#

@radiant birch used the 🔌 API button in #help

Question

Updating a stripe connected account doesn't, reset the statement descriptor. In reference to this thread [#dev-help message](/guild/841573134531821608/channel/841573134531821616/).

Related Request ID(s)

req_g4S7LuANvLsCHT

What have you already attempted?

Tried in both test mode and live mode. The statement descriptor logic doesn't seem to reset when I update it to ""

What are you working on?

Handling new statement descriptor requirements

atomic shuttleBOT
#

@meager folio used the 🔌 API button in #help

Question

if a customer has granted auth via a subscription, is it possible to use their card with a payment_intent via the API

Related Request ID(s)

i don't have a specific log

What have you already attempted?

have built processing via API with payment intents/charges and have used subscriptions in Stripe, but have not tried doing one piggybacking from the other

What are you working on?

online learning products

#

@safe bane used the 🔌 API button in #help

Question

I am looking for documentation for level 3 data in payment intent api. In my notes 7 months ago I have access to https://stripe.com/docs/api/payment_intents/create#create_payment_intent-level3-shipping_tax_amount but not it does not exists. Can you please let me know where to check level 3 or if there is a change.

Related Request ID(s)

https://stripe.com/docs/api/payment_intents/create#create_payment_intent-level3-shipping_tax_amount

What have you already attempted?

I have search for it in https://stripe.com/docs/api/payment_intents/create page but I cant see any level 3

What are you working on?

Not provided

#

@light shell used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

checkout session payment intent pay with card on file

What actually happened?

"You cannot perform this action on PaymentIntents created by Checkout."

Reproduction Steps


saved card on file not able to be used to complete checkout session```
### Question
```How can we charge a payment_method on file for a checkout session linked payment_intent?

We want to continue using our existing COMPLEX api for generating Stripe checkout session linked payment_intents, without being required to rebuild the payment intent (in parallel to checkout session payment_intent)...```
### What are you working on?
```...so that our users can choose whether to pay with card on file OR use checkout session to pay with a new payment_method. Thanks!```
#

@slim remnant used the 🔌 API button in #help

Question

How can I check the requests done to the stripe-js method createPaymentMethod and confirmCardSetup based on a connected account ID? Also, is it possible to find SetupIntent objects in the dashboard based on a connected account ID?

Related Request ID(s)

acct_1OgqitQ4xrckZzFA

What have you already attempted?

I've checked the dashboard but I couldn't find anything, not even in the "developers > events"section. I have also tried to use the search query on SetupIntent but that's not a valid endpoint.

What are you working on?

I'm trying to understand why one of our customers is having issues while adding credit cards.

#

@proud mango used the 👍 Best Practices button in #help

Question

Hello, I create a Payment Link via API, is it possible to disable automatically this Payment Link after Customer paid ? By api parameter or dashboard configuration ?

Doc/Guide Links

https://docs.stripe.com/api/payment_links/payment_links/create```
### What are you working on?
```App who Customer paid in oneshot via PaymentLink```
#

@ionic cypress used the 🔌 API button in #help

Question

Trying to generate a login link for an express user to finish onboarding. Using the login link API call results in an error because the newly created user hasn't completed onboarding.

Related Request ID(s)

req_IOPkjSwrPzrTn9?t=1709048977

What have you already attempted?

Post call to https://api.stripe.com/v1/accounts to create a new express user. Then a Post to the login_links endpoint to generate a login link for the user to complete onboarding.

What are you working on?

We are trying to automatically generate an express account when a user is approved to use our platform. The user is not online at the time of creation. t

#

@minor tartan used the 🔌 API button in #help

Question

Hello. We're a Montreal-based company looking to sell PDF reports on our website. Once someone clicks on the Stripe Widget button, I would like to have the taxes calculated on the checkout page based on the user's location (which could be anywhere).

Related Request ID(s)

req_o12Cb6EhtZ941X

What have you already attempted?

Working on Wordpress/Elementor. Strangely enough, I'm in test mode, even though I've disabled it. So I can't see the result live. But when I spoke to someone on the sales team, they told me that you can help me.

What are you working on?

Not provided

#

@quick zephyr used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

Hey there, I'm testing a Stripe integration for my project.Everything works fine in local development, but in production when I access the Stripe checkout page I get an error message "You might be having a network connection problem, the link might be expired, or the payment provider cannot be reached at the moment."

What actually happened?


I've checked env variables and they seems correct.```
### Reproduction Steps
```Test on local development : no issue, I can access the checkout page
Test on live development server : Can't access checkout page```
### Question
```I'd like to resolve this issue and be able to access the checkout page even online, I'm using a 'Test mode' account (no company/bank details) 

I will provide more infos on my configuration```
### What are you working on?
```I'm working on a WebApp for a psychologist that will be based on group sessions```
#

@misty crown used the 🔌 API button in #help

Question


so I have 3 payment method in my invoice API: cards, ach, and bank transfer. Now, we don't want to add application fees for ach and bank transfer but there should be a application fee for card payment.```
### Related Request ID(s)
```Application Fee Credit Card Only```
### What have you already attempted?
```I checked the Invoice API and there is a application fee but I think this application fee will be applied to all payment method.```
### What are you working on?
```Payment Link in Invoice```
#

@wintry rose used the ❌ An Error button in #help

Error Message

I request a review, since the percentage of disputes is super low to assume that the business is risky, since the orders increased due to inertia due to liquidation, the idea is to continue scaling the business with line as a priority partner, please review again, stay tuned. thank you```
### Question
```Hello
I request a review, since the percentage of disputes is super low to assume that the business is risky, since the orders increased due to inertia due to liquidation, the idea is to continue scaling the business with line as a priority partner, please review again, stay tuned. thank you```
### What have you already attempted?
```Hello
I request a review, since the percentage of disputes is super low to assume that the business is risky, since the orders increased due to inertia due to liquidation, the idea is to continue scaling the business with line as a priority partner, please review again, stay tuned. thank you```
### Reproduction Steps
```Hello
I request a review, since the percentage of disputes is super low to assume that the business is risky, since the orders increased due to inertia due to liquidation, the idea is to continue scaling the business with line as a priority partner, please review again, stay tuned. thank you```
### What are you working on?
```Hello I request a review, since the percentage of disputes is super low to assume that the business is risky, since the orders increased due to inertia due to l```
atomic shuttleBOT
#

@clear phoenix used the ❌ An Error button in #help

Error Message

Invalid API Key provided: psst_off******oken
com.stripe.stripeterminal.external.models.TerminalException: Invalid API Key provided: psst_off******oken
	at com.stripe.stripeterminal.internal.common.remotereadercontrollers.CrpcResponseExtensions.withJackrabbitResponse(CrpcResponseExt```
### Question
```I am facing this error while connecting to stripe terminal```
### What have you already attempted?
```I have restarted the terminal as well as my software but this issue still occurs randomly```
### Reproduction Steps
```This issue occurs randomly so I am not sure how to reproduce it```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@desert flame used the 🔌 API button in #help

Question

Creating an account with `additional_verifications

Related Request ID(s)

req_xKE6LZP27zWpOx

What have you already attempted?

Creating the account

What are you working on?

Not provided

#

@vocal wagon used the 🧑‍💻 Code button in #help

Code

      payment_method_types: ["card"],
      line_items: products,
      mode: "payment",
      success_url: `${process.env.FRONTEND_URL}/checkout/success`,
      cancel_url: `${process.env.FRONTEND_URL}/cart`,
      payment_intent_data: {
        statement_des```
### Question
```I have mode set to payment, but when I console log the session, i don't get the payment_intent id. (returns null)```
### What have you already attempted?
```I tried logging payment_intent.id but it returns null```
### What are you working on?
```Building stripe api for checkout webshop```
atomic shuttleBOT
#

@zealous mountain used the 👍 Best Practices button in #help

Question

- subscribe to a product
- change subscription 
- unsubscribe```
### Doc/Guide Links
```https://docs.stripe.com/payments/checkout/upsells```
### What are you working on?
```Subscription service```
#

@tardy yarrow used the ❌ An Error button in #help

Error Message

ACH not available for this account.

Question

I am not able to enable ACH on my Stripe account. When I connect and try to test it with the correct ACH numbers, I got the ACH not available for this account because I am not able to enable ACH on my test account. How can I enable it? Stripe requests real bank account numbers in test mode.

What have you already attempted?

I tried to enter test routing number etc but Stripe does not allow to continue with test numbers in test mode. Stripe requires real numbers.

Reproduction Steps

Not provided

What are you working on?

Not provided

#

@cerulean pasture used the 🔌 API button in #help

Question

I am trying to get an answer from email support but nothing yet, I am trying to see if seperate charges and transfers will allow me to set the rate they process at and i control the deposits

Related Request ID(s)

req_r5GO3mf6862H4G

What have you already attempted?

I have already contact online support

What are you working on?

building a connect application and right now we are destination charge.

#

@grim orchid used the 🔌 API button in #help

Question

ACH debit sources are not currently supported for charges.; request-id: req_z2th6hS0gYA8dA

Related Request ID(s)

request-id: req_z2th6hS0gYA8dA

What have you already attempted?

ACH debit sources are not currently supported for charges.; request-id: req_z2th6hS0gYA8dA```
### What are you working on?
```ACH API debit integration```
#

@mellow shadow used the 👍 Best Practices button in #help

Question

We have Stripe integration on 3 platforms, web, Android and iOS, all three platform is using different Api version. do we need to migrate all platform to same version? if so how do we achieve that since latest Android and iOS uses API versions that start from 2020 and appears to be way behind the latest version.

Doc/Guide Links

https://docs.stripe.com/upgrades

What are you working on?

We are Streamlining how all platform integrate Stripe.

#

@hoary kraken used the 👍 Best Practices button in #help

Question

I am using stripe checkouts in my application. My application is a two sided marketplace where restaurants list the products and then customers buy it. Right now tax calculation is happening basis on the customer's credit card address. I rather want to it basis on restaurants address. How can we do this?```
### Doc/Guide Links
```https://docs.stripe.com/api/checkout/sessions/create```
### What are you working on?
```A two sided market place for restaurants and customers.```
atomic shuttleBOT
#

@dull hare used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

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

Question

I know it is possible as a plateform to have access to my connected accounts customer and PaymentMethod and that I can use them and even clone them. My question is, can I use a connected account's customer PaymentMethod to create a SetupIntent in the root plateform account?

What have you already attempted?

I know I can passe a PaymentMethodId, but what if the PaymentMethod is associated with the Connected Account and the SetupIntent I want to create is for plateform account?

What are you working on?

Online payment feature for home service Saas

#

@rustic vault used the ❌ An Error button in #help

Error Message

me account got blocked and i didnt even started to sell

Question

me account got blocked and i didnt even started to sell

What have you already attempted?

me account got blocked and i didnt even started to sell

Reproduction Steps

me account got blocked and i didnt even started to sell

What are you working on?

Not provided

#

@blissful basin used the 🧑‍💻 Code button in #help

Code

  type: 'custom',
  country: 'US',
  email: 'jenny.rosen@example.com',
  capabilities: {
    card_payments: {
      requested: true,
    },
    transfers: {
      requested: true,
    },
  },
});```
### Question
```is there an way to get list of params that are required to create an connected account based on country selected?```
### What have you already attempted?
```creating account in different regions and try and error tbh```
### What are you working on?
```app that will allow to create establishments like an restaurant and sell food give us a share based on percentage```
#

@storm ingot used the 🔌 API button in #help

Question

When creating a stripe subscription using `stripe.subscriptions.create` it seems can we apply promo codes instead of coupon `id`. https://docs.stripe.com/api/subscriptions/create#create_subscription-coupon How do you apply a promo code on a subscription?

Related Request ID(s)

Create Subscription API

What have you already attempted?

I was able to use coupon id, but the redemption number goes to the count in coupon. Instead, I want the redemption to be on the promo id level.

What are you working on?

Not provided

#

@thin acorn used the 🔌 API button in #help

Question

https://checkout.junglescout.com/c/pay/cs_test_b1hc3CETUo8l0rpWGhTuPChuMQNlddC7LSmWmJpUVtYo8XXtKPj```
### Related Request ID(s)
```Taxes Charge during subscription mode.```
### What have you already attempted?
```I tried putting different addresses, still doesn't work.```
### What are you working on?
```Making a checkout link to buy subscription and want users to pay their taxes.```
#

@mortal needle used the 🔌 API button in #help

Question

How can I add custom branding (that has already been added to a Connect account) to a SEPA / BACS direct debit setup checkout? I am using the Python SDK. I have it working for card payments, but not for direct debit setups

Related Request ID(s)

req_N2NCiGhnsLbp4h

What have you already attempted?

I have tried adding the connect account id to `setup_intent_data.on_behalf_of` which results in errors. Without this setup intent data, the checkout page creates and works but the branding is not applied.```
### What are you working on?
```A B2C web app to allow businesses to manage their Accounts Receivable```
#

@loud thicket used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?


Flow:
1. Payment details collected via Payment Element (bacs_debit)
2. PI created on server, paymentIntentClientSecret sent to client
3. Client calls confirmPayment with secret
4. Payment complete, can use payment method again.```
### What actually happened?
```confirmPayment gives the following error: 

The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements. 

If I omit the setup_future_usage field, payment method is single use.```
### Reproduction Steps
```1. Set up Payment Element with bacs_debit payment method type
2. Create PaymentIntent on server with `bacs_debit` payment method type, a customer_id and setup_future_usage set to 'off_session'
3. Using paymentIntentClientSecret from prev step, call confirmPayment on client using Stripe JS```
### Question
```We're trying to add BACS debit to our existing Stripe integration. We need to store this payment method and charge it later on (it's for a recurring payment). However the mandate is always `single_use`, and trying to use setup_future_usage to make it reusable (presumably?) results in the error I described.```
### What are you working on?
```A donation platform that allows users to set up recurring donations.```
#

@dull prism used the 🧑‍💻 Code button in #help

Code

I have a question about stripe integration to hubspot with hubspot connected apps.

Question

We have a stripe account with test mode in it; We now have a production hubspot and a staging hubspot; is there a way where stripe test mode can push to hubspot contacts in staging? I don't know if the stripe account with test mode is one account so it might not be possible

What have you already attempted?

I have very little information because I haven't dug deep yet; this is why I'm asking.

What are you working on?

setting up a staging env for hubspot and stripe to play nice

atomic shuttleBOT
#

@storm ingot used the 🧑‍💻 Code button in #help

Code

` `const { setupIntent, error: stripeError } = await stripe.confirmSetup({ elements, redirect: 'if_required', confirmParams: { return_url: `${window.location.origin}/setup-complete`, }, });` `

Question

We are using the stripe.confirmSetup [https://docs.stripe.com/js/setup_intents/confirm_setup], in a webhook and we have other steps following it. When the other steps fail, and we retry the same with confirm setup. I get an error `invalid_request_error`, code: `setup_intent_unexpected_state`.

What have you already attempted?

Should we not be re-using the - confirmsetup each attempt? Not really sure how to handle this.

What are you working on?

Not provided

atomic shuttleBOT
#

@snow igloo used the 🧑‍💻 Code button in #help

Code

            ....
            items=[
                {
                    'price': data.price_id,
                }
            ],
            collection_method="send_invoice",
            payment_settings={
                'payment_method_types': ["customer_balance"],
            },
        )```
### Question
```I am trying to set up subscriptions with bank transfer. But now when i set everything up following this guide: https://docs.stripe.com/billing/subscriptions/bank-transfer. Now i get the currency is not supported error: The payment method type `customer_balance` does not support the currency dkk. Request req_r2MXURmkaj```
### What have you already attempted?
```I have tried defaulting the currency of the customer.```
### What are you working on?
```Subscription based on bank transfers.```
#

@ionic cypress used the 🔌 API button in #help

Question

What account data point can be used to show user account status? Is it the existence of disabled_reason?

Related Request ID(s)

Doesn't show up in logs

What have you already attempted?

https://api.stripe.com/v1/accounts/acct_1OoSqjE9mrGdbluS to get account data

What are you working on?

Dashboard view for users to see their account status

#

@dull hare used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

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

Question

We have a customer having a Stripe account we linked to our plateform as connected account (standard). Since he already have his customers and their PaymentMethod, the ideas was to use them in our plateform to create the SetupIntend as part as our flow. BUT, we operate directly in our plateform. Any ideas how to do it?

What have you already attempted?

I asked earlier if it is possible to copy a Connected Account's customer PaymentMethod to the plateform account. Your answer were no but I would like to ask you if you have any idea how to resolve our use case

What are you working on?

Online payment for home service saas

#

@lament arrow used the ❌ An Error button in #help

Error Message

{
    "type": "invalid_request_error",
    "code": "resource_missing",
    "message": "No such payment_method_configuration: pmc_1OkY1PJte4cqQKEB7PmSneVd",
    "request_log_url": "https://dashboard.stripe.com/test/logs/req_jVNY9wiaev4Urg?t=1709066146"
}```
### Question
```Main account(in test) with Standard connect accounts. My connected account calls my server to create a payment intent for the connected account by setting the connected accounts id using SetStripeAccount. However when my frontend receives the intent and tries to set it in elements we receive the error message above.```
### What have you already attempted?
```I talked with support yesterday and was told that having my payment intents created by the main account instead of the connected account would fix this issue, however that is not the case.```
### Reproduction Steps
```Create a main account and a connected test account. Have a backend service using the main account keys. 
Have another service for a webstore that uses the connected account keys and sends reqs to the backend service to create the payment intent. 
Use the payment intent when creating elements. Observe the error.```
### What are you working on?
```Connected account integration```
#

@quiet igloo used the 🪝 Webhooks button in #help

Question

Is the account.application.deauthorized webhook event sent when an account is closed, or only when a user deauthorizes a connect application?

Related Event ID(s)

I do not have a specific event ID

What have you already attempted?

We read the docs here: https://docs.stripe.com/connect/webhooks?lang=php

What are you working on?

Looking to close down associated subscription records on our end when an account is closed/deauthorized

#

@brave beacon used the 👍 Best Practices button in #help

Question


Or can, for example, a subscription with a status like "unpaid" remain as an "active" subscription?```
### Doc/Guide Links
```https://docs.stripe.com/billing/subscriptions/overview#subscription-statuses```
### What are you working on?
```I'm checking based on the subscription status if a subscription is active or inactive```
atomic shuttleBOT
#

@pine rune used the 🔌 API button in #help

Question

```I am using Checkout Session metadata dictionary to store IDs and other info from my platform.

That dictionary is "attached" to the checkout session object.

How can I "copy" it over to "payment intent" so that, when exporting "Payments" from dashboard, metadata will show in the exported CSV file?```

Related Request ID(s)

req_AAXgc56iprnIgD

What have you already attempted?

It seems that it worked before... by that, I mean... the "metadata" in Session object will show up when I export all columns from "Payments" in Dashboard. It seems that this is no longer the case since some time last year

What are you working on?

Checkout Session integration

#

@faint plover used the 🔌 API button in #help

Question

What is the difference between charge.refunded and charge.refund.updated. I wonder if I need to be listening for both.

Related Request ID(s)

evt_3OjiXzKA296nhejw0Weub5mF

What have you already attempted?

Read the docs and I don't see any specifics.

What are you working on?

maintaining current workflow

#

@tawdry sigil used the 🧑‍💻 Code button in #help

Code

<Button className={styles.payNowButton}>{t('payment-information:pay-now')}</Button>```
### Question
```I have a checkbox along with payment element in the form and want to validate both before creating paymentintent and doing the payment. Is it possible to do validation of payment element fields on click of pay now button?```
### What have you already attempted?
```we call confirmpayment at last so till then this validation won't happen. Pls help.```
### What are you working on?
*Not provided*
#

@misty lake used the 🔌 API button in #help

Question

I am using checkout sessions for my customers to buy a subscription product, and I would like to make the session to put the credit card entered by my customer as their default payment method so Stripe can attempt to renew that subscription. How can I accomplish this when creating the session via API?

Related Request ID(s)

req_vGVUpdKGqNOyX5

What have you already attempted?

- payment_method_collection = if_required. didn't work```
### What are you working on?
```Implementing recurring prices to be bought via checkout session```
#

@foggy prairie used the 🔌 API button in #help

Question

Using GO Stripe SDK 76, I call paymentMethodListPtr = paymentmethodconfiguration.List(paymentMethodParamsPtr) and the result structure is empty. I have several payment methods turned on. I did this from the dashboard > settings > payments ? payment methods.

Related Request ID(s)

req_EdFdOSy5sfc4zU

What have you already attempted?

Read the documentation and have test code, which is how I found the issue. I have reviewed the log entry and it is listing payment methods that are not configured. None of which are returned to the GO SDK call.

What are you working on?

Working a stripe payment integration.

#

@young plover used the 👍 Best Practices button in #help

Question

before i need to save the customer in my platform, save his payment method and then clone the customer to the connected acc. then i create a payment intent on the conected and try to use it in the react element. but id doesnt find the pi.```
### Doc/Guide Links
```https://docs.stripe.com/payments/payment-element

all the docs in the payment element```
### What are you working on?
```a text to buy solution```
#

@full carbon used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

on eg: https://dashboard.stripe.com/customers/cus_Pb3Zpajx8WXEm9 when i click sub_schedule, expected to redirect to https://dashboard.stripe.com/subscription_schedules/sub_sched_1OoUagI0FVTRXne4SNa3m588

What actually happened?

but it redirect to https://dashboard.stripe.com/subscriptions/sub_sched_1OoUagI0FVTRXne4SNa3m588 with error: No such subscription: 'sub_sched_1OoUagI0FVTRXne4SNa3m588'

Reproduction Steps

see https://www.loom.com/share/acd66bdffd954d16a2d7b90f8870f3e1?sid=1f105475-e351-432d-8c41-ef9ac681b855

Question

already log ticket but no response for 2 weeks, was on discord yesterday but disconnected, not sure what happened

What are you working on?

Not provided

#

@stone lark used the 🔌 API button in #help

Question

How can I test recurrent payment mandates with SetupIntent and Subscription?

Related Request ID(s)

req_xqbfLL7KkXObvK

What have you already attempted?

Flow: SetupIntent with mandate (server) -> PaymentElement (client) -> confirmSetup (client) -> Set payment method as default (server) -> Create subscription. The confirmSetup step asks for AFA which is expected. The subscription is marked as incomplete because the first payment requires a 3D secure authentication.

What are you working on?

Not provided

atomic shuttleBOT
#

@vocal wagon used the ❌ An Error button in #help

Error Message

My connected accounts have their link expired every time they try to login to connect.stripe.com

Question

Why are my connect accounts not able to login to their accounts , it says "invalid link or link has expired" when they try to login to connect.stripe.com

What have you already attempted?

Tried to login to their accounts , it says "invalid link or link has expired" when they try to login to connect.stripe.com

Reproduction Steps

You need to be a connected account with my main account, go to connect.stripe.com and then try to login with your SMS code , the page opens and says that the link is "invalid or expired"

What are you working on?

I have a marketplace with connected accounts!

atomic shuttleBOT
#

@storm ingot used the 👍 Best Practices button in #help

Question

Where to save setup Ineten `clientSecret? Do you recommend saving it on the frontend - url params, payment session data, or user metadata?

Doc/Guide Links

https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements&client=react

What are you working on?

Retrieve and Create Setup Intent

#

@cinder mesa used the 🔌 API button in #help

Question

I am trying to figure out how to associate a client_session_id with every other event which occurs so that I can connect the events to the correct user in my database.

Related Request ID(s)

unsurewhattoputhere

What have you already attempted?


I am thinking i could link the client_session_id with the user but, checkout.session.completed runs last so i dont really know how to```
### What are you working on?
```interior design tool```
#

@umbral thunder used the 🪝 Webhooks button in #help

Question

I am trying to trigger the event reporting.report_run.succeeded but I am not able to.

Related Event ID(s)

I don't have any ids

What have you already attempted?

I've read that you can trigger events using the CLI so I tried using it online logged in from the Stripe dashboard. This event is supported but when I try to trigger it, I get an error that the "interval_start" was set to 2022-01-01. When I try to override the parameter, it says this event doesn't support any flags.

What are you working on?

I am trying to manually trigger the event to test my webhook connection

atomic shuttleBOT
#

@hushed lily used the 🔌 API button in #help

Question

How to get an invoice for a particular payment in stripe using the API?

Related Request ID(s)

This is not availbale

What have you already attempted?

I have created an api endpoint for invoices. but the URL parameters is only customer. All I get is the invoices for 2 subscription. I did not get the other invoices for other 2 product payment.

What are you working on?

Creating a plugin in bubble.io

atomic shuttleBOT
#

@swift flume used the 👍 Best Practices button in #help

Question


What is the suggestion frequency to report usage? Weekly, monthly, daily?```
### Doc/Guide Links
```https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage```
### What are you working on?
```Property management web application```
#

@marsh tree used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

Checkout session to allow account balance instead of using card

What actually happened?

The checkout session doesn't apply account balance

Reproduction Steps

Code is too big to fit here...

Question

How do I allow customers to use their Account Balance in checkout session?

What are you working on?

Loona.gg - A SaaS Server Deployment Platform

#

@azure void used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?


When querying stripe.Customer.retrieve('cus_Oaa0kXkkIP2uKB')

I would expect only credit cards to be returned given my system only lets users add a credit card.```
### What actually happened?
```I get both object='card' and object='source'. Where is this object='source' coming from?```
### Reproduction Steps
```The customer id='cus_Oaa0kXkkIP2uKB' has both a object=card and object=source```
### Question
```How is it possible that this user has a object=source? I cannot find anything in the docs regarding this. Our system only lets a user add a credit card.```
### What are you working on?
```Trying to fix a KeyError bug due to there being a object='source' dict in the list.```
#

@grand flint used the ❌ An Error button in #help

Error Message

You have created too many bank accounts for this account over a short timeframe. A single account should not attempt to create more than 60 bank accounts in less than 6 hours. If you're running into an issue, please contact us via https://support.stripe.com/contact

Question

I ran into this error when attempting to convert a large partner to stripe. I attempted to find documentation on this error but couldn't. I'm designing a system to automatically convert partners but need to understand this error better.

What have you already attempted?

I attempted to create many external accounts at once.

Reproduction Steps

loop over the create external account endpoint and create 61 bank accounts within a 6 hour timeframe

What are you working on?

I'm building a service to onboarding partners from a legacy system to stripe

#

@west saffron used the 🔌 API button in #help

Question

If i want to add additional items to a subscriptions invoice, im creating pending items prior to the billing interval cycle. The subscription has tax rates attached, but the items I want to add should not be taxed. How can I override the default tax rates from being applied to certain items?

Related Request ID(s)

in_1OobzDKjI0M1O6BOyFPhlgNE, req_Ye7G3EFXGql0EY

What have you already attempted?

Create pending items for a subscription with an empty slice for the tax rates to override with, but the api throws an error for a blank field cant be used clear a value. I can override the rate with NEW rates, but why can't have tax exempt items?

What are you working on?

Multiple subscriptions where we use a primary for billing/transaction purposes and add tax exempt items to the invoice being generated

atomic shuttleBOT
#

@hasty saddle used the 🔌 API button in #help

Question

Is it possible to pay an invoice with Payment Checkout (On My App) for an invoice that was manually created on the Stripe website?

Related Request ID(s)

sdasdasdasdasdasdasda

What have you already attempted?

I tried to create a checkout with the same amounts as the invoice and make the payment. I also tried to check if there was a parameter to link a payment checkout with an invoice already created, but I was unsuccessful.

What are you working on?

I'm trying to pay an invoice that was manually created on the Stripe website through Payment Checkout on my app

#

@past robin used the ❌ An Error button in #help

Error Message

Expired API Key provided: pss_live_YW*********************************************************************_******bh11

Question

We are using Stripe Terminal React Native SDK in our app and we recently received reports from our user that their M2 reader got disconnected unexpectedly. We found that an error with `SessionExpired` code is thrown on calling `retrievePaymentIntent`.

What have you already attempted?

Our user had tried re-installing our app, re-pairing to the reader. It works for about 1 day, and then starts getting the same error.

Reproduction Steps

Not provided

What are you working on?

Not provided

#

@sour cradle used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

When a customer uses a card that requires 3DS1 authentication, Stripe redirects them to a different page

What actually happened?

Stripe redirects the user to a different page, but the page stuck on loading page and gets stuck

Reproduction Steps

Checkout with a card that requires 3DS1 authentication

Question

Is there a way that we can test cards that requires 3DS1 authentication? I can see testing cards for 3DS2, but not 3DS1

What are you working on?

Not provided

#

@meager hinge used the 🪝 Webhooks button in #help

Question

How do I know if a payment or subscription made in Stripe has a chargeback?

Related Event ID(s)

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

What have you already attempted?

I did a search to find the documentation but couldn't find it (https://docs.stripe.com/api/charges/object)

What are you working on?

We're integrating Stripe payments and subscriptions.

atomic shuttleBOT
#

@foggy prairie used the 🔌 API button in #help

Question

Where is a list of the payment methods?

Related Request ID(s)

req_S0fW8kUaGeFDAd

What have you already attempted?

I tried Card, which is the returned payment method listed from the payment method configuration list API.

What are you working on?

Not provided

atomic shuttleBOT
#

@hushed lily used the 🔌 API button in #help

Question

Can I create a checkout session mode = subscription, using the product of my connected accounts and a test customer created on Main account or vice versa```
### Related Request ID(s)
```req_lCahloAi3XkY5s```
### What have you already attempted?
```I have created an api endpoint  https://api.stripe.com/v1/checkout/sessions
but has an error of resource_missing
no such price.```
### What are you working on?
```a plugin using bubble.io```
atomic shuttleBOT
#

@safe bane used the 🔌 API button in #help

Question

I want to ask if sending level 3 data is also available in stripe charge? I can only see stripe payment intent lavel 3 documentation but our app is using payment intent and solidus stripe(Charge). And we want to send the level 3 data for cc payments which is not using payment intent.

Related Request ID(s)

https://docs.stripe.com/level3#sending-level-iii-data

What have you already attempted?

I have send level 3 data already to our payment intent like, affirm and cash app but for cc payments I think its using charge or nice if you educate me but how can we send level 3 data for cc? Im using solidus for our app.

What are you working on?

We already have stripe integrated just need to send level 3 data.

#

@echo coral used the 🔌 API button in #help

Question

Payment made via Stripe checkout is pending.

Related Request ID(s)

Payment intent ID:pi_3On3vCK6zP0rzoRM13VNOVQg, pi_3On41MK6zP0rzoRM0PB6hsR5

What have you already attempted?

I've integrated Stripe checkout session API and one of our customer reported this issue, while inspecting it shown an error 3D secure 2 is not supported for this transaction

What are you working on?

Not provided

atomic shuttleBOT
#

@oak kraken used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

Payment attempts in the Stripe React Native payment sheet would work fin after the first attempt fail given the entry was corrected to a valid card

What actually happened?

There is a bug that appears on android - After the user enters an incorrect card details and attempts to pay, the payment sheet gives an error which is good, the proble```
### Reproduction Steps
```Here is the entire code for testing https://pastebin.com/ATet43qF. I added the creat intent (that should be server side) for convenience to the client side code.
    Tap "Pay Now"
    Enter card details that will fail: 4000000000000002
    After the error appears, correct the details and all further attempts will fail```
### Question
```Is there a workaround or patch I could implement?```
### What are you working on?
```I am working on a mobile app that allows users to purchase mobile data through api providers.```
#

@buoyant skiff used the 🔌 API button in #help

Question

I would like to get sepa mandate from api but I only know customer id and I can't find any endpoint in api to achive this.

Related Request ID(s)

customer_id mandate_id

What have you already attempted?

I was diggin in docs and I only found how retrieve mandate with mandate id and I don't know it and I don't know how to get it.

What are you working on?

Show to my customer payment methods and info related with it.

atomic shuttleBOT
#

@serene mantle used the 🧑‍💻 Code button in #help

Code

<html>
<head>
  <title>Google Pay with Stripe</title>
  <script src="https://js.stripe.com/v3/"></script>
  <script src="https://pay.google.com/gp/p/js/pay.js"></script>
</head>
<body>
  <button id="google-pay-button">Pay with Google Pay</button>

  <script>
    // Set your Stripe publishable key
    va```
### Question
```this merchant is having trouble accepting your payment at the moment.try using a different payment method[OR_BIBED_06]```
### What have you already attempted?
```Stripe Googlepay Issue```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@chilly folio used the 🪝 Webhooks button in #help

Question

Hi there I am wanting to create a direct charge when invoices to my platforms connect account have been paid

Related Event ID(s)

none>none>none>none

What have you already attempted?

recomend a dev please

What are you working on?

a dev to create a direct charge when invoices to my platforms connect account have been paid

#

@meager hinge used the 🪝 Webhooks button in #help

Question


If I lose the dispute, will the subscription be automatically canceled?```
### Related Event ID(s)
```..................```
### What have you already attempted?
```Already tried search document.```
### What are you working on?
```Integrate stripe subscription```
#

@lyric wyvern used the 🔌 API button in #help

Question

I am using Go SDK, how can I add emails to be CCed when finalizing an invoice (I see that we can do this from the dashboard, but I am not able to achieve the same from Go SDK)

Related Request ID(s)

req_3uJrbCMQuYh0G7

What have you already attempted?

I can add emails in CC through the dashboard, but not through API

What are you working on?

Generating invoices through Stripe

atomic shuttleBOT
#

@night oxide used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/api/coupons/create

Question

can we assign a coupon to multiple products from stripe dashboard

What have you already attempted?

Tried creating a new coupon in test mode

What are you working on?

integrating stripe coupons

atomic shuttleBOT
#

@pliant wyvern used the 🔌 API button in #help

Question

 I saw this in the event log when creating an invoice through Dashboard.```
### Related Request ID(s)
```I want to auto charge customer by creating an invoice through API.```
### What have you already attempted?
```Adding invoice details manually in Payment intent parameters.```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@civic holly used the 🔌 API button in #help

Question

I'm trying to use Stripe Connect to connect accounts to manage payment events and take fee on each payment successful. But when I try to connect with Standard accounts, I only can create new account. I want to connect to accounts already exists.

Related Request ID(s)

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

What have you already attempted?

I read the document and tested, but I can't find the way to connect with accounts already exists.

What are you working on?

Integrating stripe connect

#

@foggy wadi used the 🔌 API button in #help

Question

Why can't I expand Price.Tiers when updating a subscription? I need the tiers of the price in the response.

Related Request ID(s)

not relevant for my question

What have you already attempted?

to expand Price.Tiers

What are you working on?

Not provided

atomic shuttleBOT
#

@pseudo python used the 🧑‍💻 Code button in #help

Code

            id="express-checkout-element"
            onReady={handleExpressCheckoutReady}
            onLoadError={handleExpressCheckoutLoadError}
            onConfirm={handleExpressCheckoutConfirm}
            onClick={handleExpress```
### Question
```The onReady hook fires even when the GooglePay element should not actually appear, making the UI incorrect (the display of "or pay another way" depends on this ready state).

Why is that ?```
### What have you already attempted?
```- I tried different browsers (Screenshot taken on Firefox)
- Different tabs
- Adding more height to the 0 height element that is added.```
### What are you working on?
```Express Checkout integration with GooglePay.```
#

@pliant wyvern used the 🔌 API button in #help

Question

When creating Invoice through APIs. Does system will itself create Payment Intent? Or we have to create the same with API. If we need to create Payment intent trough API then how can we link Invoice & it's payment intent

Related Request ID(s)

I want to auto charge customer by creating an invoice through API with Charge Automatically.

What have you already attempted?

Tried entering invoice ID as parameter in Payment intent API.

What are you working on?

Not provided

atomic shuttleBOT
#

@frank otter used the 🧑‍💻 Code button in #help

Code

const addressOptions = {
mode: "shipping",
variables: {gridRowSpacing: '2rem'}
};
if ($("#address-element").length > 0) {
var address = elements.create("address", addressOptions);
address.mount("#address-element");
}```
### Question
```I have integrated Payment element and just finalising it and need your help with a few things. I have set the gridRowSpacing value when initialising the address element, to increase the margin between fields but it's not working.```
### What have you already attempted?
```I have added a styling variable gridRowSpacing with value of 2rem```
### What are you working on?
```Payment element integration```
#

@pseudo python used the 🧑‍💻 Code button in #help

Code

            id="express-checkout-element"
            onReady={handleExpressCheckoutReady}
            onLoadError={handleExpressCheckoutLoadError}
            onConfirm={handleExpressCheckoutConfirm}
            onClick={handleExpressCheckoutClick}
          />
        </Grid>```
### Question
```The Gpay express checkout button does not appear on mobile display, but appears on larger screen. The onReady event does not contain availablePaymentMethods when it's on mobile

How can I make it appear regardless of screen size ?```
### What have you already attempted?
```- Printing the content of the onReady event
- Switching to different size. Only small sizes are affected.```
### What are you working on?
```Express Checkout integration```
atomic shuttleBOT
#

@finite viper used the 🔌 API button in #help

Question

im using link as a payment method and in the PaymentElement i can see a tab for Credit Card and a tab for Bank, i want to remove the Bank or to disable this tab so it wont be clickable

Related Request ID(s)

there is no request id

What have you already attempted?

use the appearance API to remove it

What are you working on?

I'm working on a react-app with stripe we elements the PaymentElement

#

@dense plinth used the 🔌 API button in #help

Question

Hi, I want to combine trials with billing cycle anchor and I want the cycle to start 1st day of each month. My trail period is 14 days. Today is 28 so the trial ends next month, the user should pay till the rest of the month and the full billing cycle should start in 2 months. How can I do this ?

Related Request ID(s)

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

What have you already attempted?

billing_cycle_anchor + 2 months, it doesn't allow me.

billing_cycle_anchor_config: {
        day_of_month: 1,
month: +2
      },

also not allowed```
### What are you working on?
*Not provided*
#

@vocal wagon used the 👍 Best Practices button in #help

Question

Hello, we are trying to implement a rollback functionality if the user chooses to revert changes (upgade) to their subscription in case they failed to pay the invoice that was created for the prorated amount. How can we handle the revert to the previous price if the next billing cycle has come? What options are there?

Doc/Guide Links

https://docs.stripe.com/billing/subscriptions/pending-updates#canceling-changing

What are you working on?

Rollback functionality

#

@summer needle used the 🔌 API button in #help

Question

Do you have a way to test Bancontact in production mode? A test account on a bancontact app? Not being Belgian, I have no way of checking for myself.

Related Request ID(s)

pi_3OohjpK9AB1l4svb0WoqnAV7

What have you already attempted?

I'm trying to integrate Bancontact for a client. In test mode everything works fine. In Prod with the customer's Bancontact app, we don't have the same behavior at all. the app opens intermediate popups which disrupt the payment flow

What are you working on?

Not provided

#

@foggy wadi used the 🔌 API button in #help

Question

We are currently in the process of integrating Stripe to process our subscription payments. In doing so, we came across the issue of the API rate limit. The documentation/help says that you can request an increase in the limit. Would such an increase entail costs? If so, what would these costs be?

Related Request ID(s)

not relevant for the question

What have you already attempted?

not relevant for the question

What are you working on?

Not provided

#

@viscid oyster used the 🪝 Webhooks button in #help

Question

                'transfers' => ['requested' => true], ] and with other fields , it sends two request to the webhook, is this normal behavior ? and the second one is received earlier than first one```
### Related Event ID(s)
```evt_1OogsMCVmjlitkpX9MPNIM7r  evt_1OogsMCVmjlitkpXzN49iOvt```
### What have you already attempted?
```I am trying the understand the sequence of the request sending on webhooks```
### What are you working on?
```I am building system using stripe connected account```
atomic shuttleBOT
#

@vocal wagon used the 🧑‍💻 Code button in #help

Code

        unit_amount=new_amount,  # Convert to cents
        currency=subscription_currency,  # Replace with your currency
        recurring={'interval': 'month'},
        product=product_id,
    )```
### Question
```Hello, we are trying to implement a rollback functionality if the user chooses to revert changes (upgade) to their subscription in case they failed to pay the invoice that was created for the prorated amount. How can we handle the revert to the previous price if the next billing cycle has come? What options are there?```
### What have you already attempted?
```https://docs.stripe.com/billing/subscriptions/pending-updates#canceling-changing```
### What are you working on?
```Rollback functionality reply```
atomic shuttleBOT
#

@silent idol used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

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

Question

I want to schedule  a transfer to a connected account from main account in stripe how can I do it ?
I could not find anything like a schedule transfer in future in docs.```
### What have you already attempted?
```Im also using Firebase. So I used firebase task queue feature (These are the functions that execute in future). I have added a simple transfer function in these firebase future task. This is working fine but it has future 30 days limit.
I was wondering does Stripe provides this kind of feature ?```
### What are you working on?
```I am working on a coaching session booking app. Sessions are booked in future So I have to make transfer in future (At the time when session is completed)```
#

@void dew used the 🔌 API button in #help

Question

I need to be able to collect payments from customers using SEPA and to send funds to customers. I've already done the collection part with SEPA direct debit, but I'm a bit stuck with sending money to customers. Is there a way for me to do this with stripe?

Related Request ID(s)

req_ayz7H3DNTWgX3z

What have you already attempted?

"You cannot charge or add SEPA bank accounts to customers"```
### What are you working on?
```Building a financial service. Loans for small and medium businesses.```
#

@vocal wagon used the 👍 Best Practices button in #help

Question

Hi! We have a booking system that allows credit card and Direct Sepa Debit checkout via Sessions. The main question is what is the best practice to handle SEPA events based on if the payment has been successfull or not (due to its async nature)

Doc/Guide Links

https://docs.stripe.com/payments/sepa-debit```
### What are you working on?
```A office booking system that handles credit card and SEPA payments on a subscription basis```
#

@foggy wadi used the 🔌 API button in #help

Question

We would like to increase our limits for api calls

Related Request ID(s)

not relevant for this question

What have you already attempted?

not relevant for this question

What are you working on?

Not provided

#

@feral zinc used the 🪝 Webhooks button in #help

Question

Which webhook can i use for payment failures for existing subscriptions? or how would I be able to identify if it is for an existing subscription when a webhook comes through.

Related Event ID(s)

no relevant event ids

What have you already attempted?

nothing, simple query

What are you working on?

Not provided

atomic shuttleBOT
#

@wild patrol used the 🔌 API button in #help

Question

How do I enable showing of bank balance for an US bank account while a customer makes an ACH payment? Need to know what steps I can follow to achieve this functionality.

Related Request ID(s)

None at the moment I ahve

What have you already attempted?

Looked at various docs and got a little bit confusing looking at so many stuff.

What are you working on?

A payment experience for customers to make payment using ACH and reducing insufficient funds errors.

#

@wind blaze used the 🔌 API button in #help

Question

```I want to list all subscriptions for a customer. I am using the GO SDK. I need to include the subscriptions price->product->metadata. However, when trying to expand with data.price.product it throws an error, that expanding on data.price is not possible.

According to the docs every list request can be expanded```

Related Request ID(s)

req_RFESociqZwpAIN

What have you already attempted?

````data.priceorprice`.```

What are you working on?

Not provided

atomic shuttleBOT
#

@magic lance used the 🪝 Webhooks button in #help

Question

I've accidentally redeployed my webhook functions on production with dev keys and all of them failed. If I manually resend each event to retry function will auto retry from Stripe be ignored?

Related Event ID(s)

evt_1OoQ6OGBNe6stkneFO9IxnAd

What have you already attempted?

I remember once before when I manually retried webhook that it was again retried automatically and I have created 2fiscalized invoices for 1 payment which is fiscalization issue.

What are you working on?

Not provided

atomic shuttleBOT
#

@oak kiln used the 🧑‍💻 Code button in #help

Code

                                                    var card_id = $("input[name='card_id']").val();

                                                    if (card_id !== '') {
                                                        $("#choice-animals-dogs").prop('checked', true);```
### Question
```The card Iframe showing very small on desktop```
### What have you already attempted?
```I try with custom css but didn't work```
### What are you working on?
*Not provided*
#

@regal jewel used the 🧑‍💻 Code button in #help

Code


For the same i have created two prices one of $2 weekly subscription and on payment succeed , we are attaching another scheduled subscription of  price of $38 per month .```
### Question
```the issue is on the customer portal  while up to 7 day the schedule subscription has not yet started , we are not able to see any cancel plan on the customer portal. after 7 day only customer is able to see cancel or renew plan .  But i want to provide cancel plan access to customer for 7 day period also.```
### What have you already attempted?
```Also  can you help us to handle the cancelation from api calle in nodejs . as while canceling using nodejs function cal i am firstly releasing the schedule and then updating subscription to cancel at period end. But it will remove the schedule and after that on customer portal customer will only see the weekly subs```
### What are you working on?
```r/d on subscription handling of stripe```
#

@short stream used the 🔌 API button in #help

Question

I want to know how to handle the back button click which is there in the top left corner in the checkout page.

Related Request ID(s)

req_0JFToHDUsJEez7

What have you already attempted?

Nothing I have tired yet no clue to follow

What are you working on?

Not provided

#

@grave bloom used the 👍 Best Practices button in #help

Question


I am struggling with getting my payment flow working the way I want to via the API.

I am setting up subscriptions to take the same fixed payment every month via Direct Debit. This all works fine.

The problem comes when cancelling a subscription. I want to end it on a set date and either take no further payments```
### Doc/Guide Links
```https://docs.stripe.com/billing/subscriptions/prorations```
### What are you working on?
```A CRM for gym membership```
atomic shuttleBOT
#

@hushed lily used the 🔌 API button in #help

Question

payment_intent_data.application_fee_amount is working for payment mode, what is the equivalent for application fee on the subscription mode?```
### Related Request ID(s)
```req_fKH74TclNGhPGT```
### What have you already attempted?
```I have created an api endpoint https://api.stripe.com/v1/checkout/sessions
The application fee is working if the mode is payment but when I used subscription I got an error. You can not pass payment_intent_data in subscription mode```
### What are you working on?
```plugin using bubble.io```
#

@frank kernel used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/payments/sepa-debit/set-up-payment?platform=web

Question

Hi, we're planing to start using SEPA Direct Debit payments. But instead of charging customers ASAP we would like to on first working day of each month run DD billing for each of the customers and debit from their accounts total amount (it can be a total amount of multiple PaymentIntents). Can it be done?

What have you already attempted?

I reviewed documentation and it seems that if we would like to have such workflow we will need to implement it on our end but wanted to ensure it's not possible to setup it on Stripe side.

What are you working on?

Not provided

atomic shuttleBOT
#

@vocal wagon used the 🧑‍💻 Code button in #help

Code

    collection_method: 'send_invoice',
(...)```
### Question
```I want to add metadata to the invoice that will be generated automatically upon new subscription creation.```
### What have you already attempted?
```I've checked the reference for subscriptions.create method but the only available metadata elements are for invoice items and subscription which isn't helping in my case.```
### What are you working on?
*Not provided*
#

@long saddle used the 🔌 API button in #help

Question

Cannot create a usage record with usage type `licensed`. You can only create a usage record for metered plans
and i cant find why```
### Related Request ID(s)
```req_eQ83KzcCqjFOiO```
### What have you already attempted?
```look at the doc to find where to change the usage  type```
### What are you working on?
*Not provided*
#

@vocal wagon used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

After updating price on new product (and archiving old), it's no longer visible on the cross-sell option on other products

What actually happened?

After updating price on new product (and archiving old), it's no longer visible on the cross-sell option on other products

Reproduction Steps

After updating price on new product (and archiving old), it's no longer visible on the cross-sell option on other products

Question

After updating price on new product (and archiving old), it's no longer visible on the cross-sell option on other products. Is this a bug?

What are you working on?

Not provided

#

@vocal wagon used the 🧑‍💻 Code button in #help

Code

                stripe_subscription.subscription_id,
                payment_behavior = 'pending_if_incomplete',
                items=[{
                    'id': subscription['items']['data'][0].id,
                    'price': stripe_price.id,
                }],```
### Question
```Hello when modifying a subscription using                 payment_behavior = 'pending_if_incomplete', is it possible to manually set the expire date until the invoice has to be payed?```
### What have you already attempted?
```https://docs.stripe.com/billing/subscriptions/pending-updates#canceling-changing```
### What are you working on?
```Upgrading Subcription```
atomic shuttleBOT
#

@humble geyser used the 👍 Best Practices button in #help

Question


I'm creating an invoice for a client that has, say, 20 employees, and he is paying me $20 per employee.

Is it recommended to create one invoice item per employee, and attach all of them to the invoice? So each one has it's own metadata/description.

Or is it better to create only one, with total amount? Ty!```
### Doc/Guide Links
```I've read the documentation, and although they provide both options, I want to know what is the best practice or more recommended approach for this case.```
### What are you working on?
```A management dashboard for employers with their employees.```
#

@unique cedar used the 🧑‍💻 Code button in #help

Code

      customer: customerId,
      items,
      payment_behavior: 'default_incomplete',
      payment_settings: { save_default_payment_method: 'on_subscription' },
      expand: ['latest_invoice.payment_intent', 'pending_setup_intent'],
      automatic_tax: { enabled: true },```
### Question
```We want to use the `automatic_tax` flag for subscriptions on Stripe. The problem is that we do not collect customer billing address until they decide to pay for the service. Is it possible to use the country info provided on the PaymentElement component(s) before calling `POST /v1/subscriptions` to not get error?```
### What have you already attempted?
```* Read `PaymentElement` documentation
* Read `AddressElement` documentation
* Checked setup/payment intent possibilities, but it won't work for us since we create the payment intent from the `POST /v1/subscriptions` call```
### What are you working on?
```Customer_tax_location_invalid error when creating a subscription with automatic_tax flag```
#

@wind blaze used the 🔌 API button in #help

Question

When using the customer portal, can I pre-fill the email field the customer has to fill out in order to log in?

Related Request ID(s)

did not fire any yet

What have you already attempted?

Read the API doc without success

What are you working on?

Not provided

#

@dense plinth used the 🔌 API button in #help

Question

when the subscription is created
the phase between 13 March and 31 March
is actually 13 march - 13 April which is wrong and it is full price.
I can't get pending_setup_intent from the subscription. Where should I get it from ?```
### Related Request ID(s)
```https://docs.stripe.com/billing/subscriptions/subscription-schedules```
### What have you already attempted?
```I am trying to do subscriptionSchedules with 2 items starting today
1 item:
* trial period 14 days, I use trial_end
* end_date 1 of April (I want the normal cycle to start on 1st each month)
2 item:
* iterations: 100 (I want to start the normal cycle on 1st of April and never ends)```
### What are you working on?
```Building payment flow```
#

@versed turret used the 🔌 API button in #help

Question

Not able to access the secret key of stripe

Related Request ID(s)

Developers > API keys

What have you already attempted?

Not able to see the secret key in live mode, its like sk_live....nslk

What are you working on?

Not provided

#

@thick dew used the 🔌 API button in #help

Question

We are having issues with users downgrading their tier (we use schedules for this). The request returns an error, stating the migration cannot be completed because a subscription schedule already exists, but the schedule in question is either invisible on nonexistent on Stripe's subscriptions page.

Related Request ID(s)

req_kK8m52Oy3LyR4W, req_XitMZNeTM6xHGc

What have you already attempted?

We've attempted to investigate the subscription schedules attached to these subscriptions, but they do not show up on their subscriptions page, and they are also nonexistent in the data collection that we keep on our side.

What are you working on?

Maintaining an integration that allows customers to upgrade and downgrade products via the use of subscription schedules.

#

@zinc jetty used the 🧑‍💻 Code button in #help

Code

        subscriptionId,
        {
          items: [
            {
              id: currentSubscription.items.data[0].id,
              price: priceId,
            },
          ],
          proration_behavior: 'create_prorations',
          default_payment```
### Question
```I want to implement upgrade subscription functionality. how can we implement this feature with the difference payment of both subscriptions. 
Technology used: express js, rreactjs```
### What have you already attempted?
```User can purchase new subscription```
### What are you working on?
```Upgrade subscription```
#

@cinder mesa used the 🪝 Webhooks button in #help

Question

how to link multiple purchases to the same user. I have set up a system which is linking my owner user id to stripes customer id. Issue is however, when they make a new purchase, they then get a new customer id. Is there a way to make sure they maintain their customer id?

Related Event ID(s)

unsure what to put here

What have you already attempted?

So far ive made a products document in my database which keeps track of product updates. This allows me to store the customer id, and then when the checkout is finished attach it to a userid

What are you working on?

design website payments

#

@merry carbon used the 🔌 API button in #help

Question

When canceling the payment intent it is not canceling it on the terminal itself. So How I can do that ?

Related Request ID(s)

Idonthavethisdetails

What have you already attempted?

I am canceling payment intent and it's works fine but at terminal it's still showing for payment.

What are you working on?

Stripe terminal Payment

#

@long saddle used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/api/subscriptions/cancel?lang=node

Question

im using the version of the api 2020/03/02 and im interested to know is there is a way to reproduce stripe.subscriptions.cancel (which is stopping a subscriptions but keeping pending invoice) since in this version there is just stripe.subscriptions.del

What have you already attempted?

read the doc to find an alternative

What are you working on?

Not provided

#

@hallow nebula used the 🔌 API button in #help

Question

My question is regarding the expiration time of the access tokens. Once an access token is obtained, when does this access token expire?```
### Related Request ID(s)
```not directly applicable as this is not related to a specific call into stripe```
### What have you already attempted?
```I've read the documentation on that page and I've searched online.```
### What are you working on?
```looking to switch our integration with Stripe from using API keys, to using oauth/access tokens```
#

@fathom comet used the 🔌 API button in #help

Question


It will calculate for every personal profile type, and for the company type it will calculate for Germany the rest will be tax free.```
### Related Request ID(s)
```I think I didn't have a related Request before this one```
### What have you already attempted?
```I didn't implement anything, never used Stripe tax implementation, and also it will be a monthly or yearly subscription so I wish to talk to someone before starting to make it as better as possible.```
### What are you working on?
```Building a platform, where users will have a monthly subscription and they will get gems that they can spend in my application.```
#

@karmic mango used the 👍 Best Practices button in #help

Question

We would like to implement metered billing with upfront payment. I see from the docs that only arrears is supported. Would it work if we created a `PaymentIntent` when additional seats are added in the middle of the billing cycle? If so, would this require user interaction, or could we trigger by cron?

Doc/Guide Links

https://docs.stripe.com/api/charges/create
https://docs.stripe.com/api/payment_intents/object
https://docs.stripe.com/payments/payment-intents/migration```
### What are you working on?
```15 year old Ruby on Rails SaaS app, 11 years as a Stripe customer```
atomic shuttleBOT
#

@somber tapir used the 👍 Best Practices button in #help

Question

Can I modify the email text in the Subscription cancelation confirmation generated and sent by Stripe?

Doc/Guide Links

https://docs.stripe.com/invoicing/send-email

What are you working on?

Feedback and Cancelation Confirmation

#

@frail perch used the 🔌 API button in #help

Question

I try to make adding a webhook as easy as possible. I have seen and tested that with an API key it is very easy to add the webhook by code, but I would like to make it even easier, assuming that the user does not know that it is an API key. I would like to use a user/pass logar form in Stripe and do all the work myself

Related Request ID(s)

nothing related id

What have you already attempted?

Don't find documentation for do it without sk_

What are you working on?

create webhook with a simple login

#

@hexed cove used the 🧑‍💻 Code button in #help

Code

Question about creating Stripe token using elements and no private key.

Question

We work with a partner who needs us to collect payment information. They provide us with their stripe publish key. We collect credit card info. using our web form, then we use the stripe publish key they gave us to post to "https://api.stripe.com/v1/tokens" and get back a token that we can use later for payment.

What have you already attempted?

This works fine, but because of PCI, we need to get rid of our form, and move that to Stripe elements or Stripe checkout. However we don't have a secret key for this vendor - just a publish key. Is it possible for us to create a token using elements or checkout without a secret key?

What are you working on?

Not provided

#

@thick spoke used the 🪝 Webhooks button in #help

Question

Looking to upload multiple files as dispute evidence...

Related Event ID(s)

many ids... all dispute ids

What have you already attempted?

  'purpose' => 'dispute_evidence',
  'file' => $fp
));```
### What are you working on?
```automatic dispute responder```
#

@hollow cipher used the 🔌 API button in #help

Question

I am using react-stripe-js Payment Element and I want to display the user credit cards if already saved. In my case I'm creating Invoices in the Backend (python). On the web frontend side is it possible to show the details and save card details like iOS or Android?

Related Request ID(s)

req_ULSfEpcRPl5myc

What have you already attempted?

I have tried to set the Invoice default_payment_method to the one I desire but i still don't see the details on the web Payment Element

What are you working on?

Not provided

#

@nimble moon used the 🔌 API button in #help

Question

Hi, I've noticed when applying coupons to an annual subscription the discount property of the subscription is null. I can find the discount under the latest_invoice field but is there any reason why it would be null for annual subscriptions? I've tested with a monthly subscription and the discount property is not null.

Related Request ID(s)

req_cSAXxRURffafiY

What have you already attempted?

I have created a test subscription for a monthly plan to compare and the discount property is populated as expected, here is the id - req_0ut1o6avu1M94w

What are you working on?

Fixing a bug in our application

#

@hasty sequoia used the 🔌 API button in #help

Question

i am trying to create connect account in stripe, so i create token for bank details for company in ios and i can't upload company employer document so i upload it form my server in nodejs but token is created but when in use api it throw error :

Related Request ID(s)

req id is not created

What have you already attempted?

i create token for connect account in ios without company document and let it be upload by backend because ios sdk don't have support : Parameter 'company' cannot be used in conjunction with an account token. To set this field create a token with the desired changes. Pass the token with 'account_token' in a request

What are you working on?

Not provided

#

@sly lake used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/payments/3d-secure/authentication-flow#when-to-use-3d-secure

Question

Is there a guide for using 3D Secure with subscriptions? I understand that the PaymentSheet supports it automatically, but I'm looking for a guide using the CardField or Card Element only.

What have you already attempted?

I've tried adding threeDSecureParams and urlScheme. But I don't think the Card Element automatically supports 3DS. I plan to figure out how to send the invoice link instead and listen for when it's paid before adding their credits. But I wish there's a more seamless way to handle 3DS with the Card Element.

What are you working on?

A credit based subscription model that supports 3DS

#

@slim path used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

I expected a $0 invoice

What actually happened?

The invoice was for -45.01

Reproduction Steps

Generate a one-off invoice via the api that includes prorations that are negative values for a customer that has a 100% off coupon applied in stripe. The coupon ends up applied to the positive invoice items, but the negative remain and the invoice ends up for a negative amount

Question

We have customers with a 100% coupon and are always billed $0. We recently introduced prorations when switching plans and all customers go through the same billing process so if they switch plans, they also see these prorations applied. How do we ensure invoices are always at least $0 when there is a 100% off coupon?

What are you working on?

IoT cameras that have a SaaS component as well as monthly billing for data usage

#

@hallow nebula used the 🔌 API button in #help

Question


However the thread was closed and I cannot respond to the question from Hanzo```
### Related Request ID(s)
```not applicable for this question```
### What have you already attempted?
```Just looking to reopen the thread on my original question```
### What are you working on?
```figuring out how to use stripe's oauth```
#

@opal wave used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

I am retrieving an upcoming invoice so that the user knows what price change will occur and when based on proration when changing their subscription. I am testing and I have a 30 day free trial. When I generate the invoice data, I expect the amount due to be the new price.

What actually happened?

The amount due is 0, even though the plan data shows the correct information in the invoice data.

Reproduction Steps

Set up a subscription that has two prices, one with a 30 day free trial. Subscribe to the one with the free trial and then retrieve an upcoming invoice with the 2nd price.

Question

Is the amount due the correct line item to use? Why wouldn't the amount due be the new price?

What are you working on?

Not provided

#

@vocal wagon used the 👍 Best Practices button in #help

Question

Does stripe support bank transfers (not sepa debit) as a payment method in a checkout session? If so could you provide a bit of insight on how to proceed?

Doc/Guide Links

https://docs.stripe.com/payments/bank-transfers?locale=es-419

What are you working on?

A booking system for offices on a subscription basis, with large quantity of money

#

@still totem used the 🔌 API button in #help

Question

I am trying to add order objects to database```
### Related Request ID(s)
```not relevant not relevant```
### What have you already attempted?
```.then seems only to be working in case of an error. I may be mistaken.```
### What are you working on?
```I am trying to add order objects to database```
#

@broken magnet used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

Creating and completing a checkout session obo a connected account with "only one subscription per customer" enabled should work as expected

What actually happened?


> Connected account impersonation is not allowed on this endpoint.```
### Reproduction Steps
```1. Go to `https://posts.technically.dev/buy` (which spins up a checkout session
2. Enter 'justin@buttondown.email' (A customer which already exists)
3. Hit continue```
### Question
```This behavior seems odd/improper — I can _create_ a new customer through this flow, and the backing checkout session is created for the connected account. What can I do to fix this?```
### What are you working on?
*Not provided*
#

@azure void used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?


We use our own components:
- list current card (works)
- show which card is default (works)
- ability to delete cards (works)
- ability to change default card (does not work with both source and pm cards)```
### What actually happened?
```when using stripe.Customer.modify(cus_***, default_source=card_***)

It does not set the legacy card as default when there is already a pm_*** as default```
### Reproduction Steps
```1. Add card_*** card
2. Add pm_*** card
3. set pm_*** to default through invoice_settings.default_payment_method
4. set card_*** to default through default_source

step 4 does not work```
### Question
```How do we handle migration? We have many legacy card set by the source API.```
### What are you working on?
*Not provided*
#

@tepid crypt used the 🔌 API button in #help

Question

having problems with the card element for subscription... already make the client secret but when trying to make the stripe.confirmPayment i have this error -> Uncaught (in promise) IntegrationError: stripe.confirmPayment(): expected either `elements` or `clientSecret`, but got neither..... but im passing the correct

Related Request ID(s)

https://docs.stripe.com/billing/subscriptions/build-subscriptions?ui=elements

What have you already attempted?

I already check the documenation

What are you working on?

Subscription payment page

#

@gleaming patio used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://docs.stripe.com/connect/set-additional-verifications#supported-additional-verifications

Question

I just want to make sure I understand this correctly, on Stripe account creation if I pass those additional_verifications arguments, the user has to upload a picture of their ID. Then is that ID checked by Stripe and you verify it or do we have to verify it ourselves?

What have you already attempted?

Signing up in test mode, however in test mode all images get replaced by test images.

What are you working on?

Creating Stripe connect accounts for users.

atomic shuttleBOT
#

@cinder mesa used the 🪝 Webhooks button in #help

Question

trying to figure out how to attach a customer id to a checkout session. I asked a similar question twice earlier but it got closed mid issue twice.

Related Event ID(s)

unsure what to put here

What have you already attempted?


It is set up to store the purchase info in my backend related to the customer id and then on completion at the user id through the client_refference_id. I want to know if its possible to add the customer_id to the paymentLink instead of making an stripe buy button```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@warm dagger used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

When a new connected account is created, we can pass the statement descriptor as we have always as 'OTT'

What actually happened?

We are getting an error on the account in future requirements as well as when trying to list capabilities

Reproduction Steps

Create a new account with the statement descriptor prefix set to 'OTT' and then create a link with the new params, then retrieve the account with `Stripe::Account.retrieve(
      'acct_1Oop9ERrHjMNEWhA',
      {
        api_key: Stripe.api_key,
      },
    )````
### Question
```We are trying to enable sellers to input all of the newly required account information. We were previously using AccountLink.create with `collect: 'currently_due` and are now using `collection_options: { fields: 'eventually_due' } `.```
### What are you working on?
```Connected accounts need to update their requirements```
atomic shuttleBOT
#

@obtuse spoke used the 🔌 API button in #help

Question

How can I set the description on a payment? Right now all of the Payments have a payment intent as the description. I am unsure where to update this when making the payment.

Related Request ID(s)

req_SFBIqnJDaA5CDf

What have you already attempted?

When I create the price, I am adding a name and product descriptor to the price, but that is apparently the wrong place to set this.

What are you working on?

Dealers register for booth space at a show. But when the accountant goes into Stripe, there is no way to tell what is coming from the show, because of the name.

#

@minor sage used the 🔌 API button in #help

Question

POST /v1/terminal/hardware_orders generates an error with hardware_items```
### Related Request ID(s)
```req_7DQTvKUrf2fIi6```
### What have you already attempted?
```curl https://api.stripe.com/v1/terminal/hardware_orders \
  -u "sk_live_•••XXXX:" \
  -H "Stripe-Version: 2020-08-27;terminal_hardware_orders_beta=v4" \
  -d "hardware_order_items[terminal_hardware_sku]"=thsku_J2Qtkrh7X6iusM \
  -d "hardware_order_items[quantity]"```
### What are you working on?
```Trying to automate ordering Terminals```
#

@hollow verge used the 👍 Best Practices button in #help

Question

we have a stripe connect account and were processing payments with the stripe element. 
we’d like to process payments from other front ends where credit card info is already collected separately. were not sure how we can create a payment intent with thet CC info without using our stripe element ? is that possible?```
### Doc/Guide Links
```https://docs.stripe.com/api/payment_intents/object```
### What are you working on?
```creating a payment intent with existing credit card info. what is the right way to do this ?```
atomic shuttleBOT
#

@steel inlet used the 🔌 API button in #help

Question

We have full integration with Billing APIs to manage our customers' subscriptions. Now we want to delegate all payment control to the Stripe Checkout tool, but we have realized that if a customer makes several failed payment attempts through SCA, many incomplete subscriptions are generated in their Stripe account.

Related Request ID(s)

not applies for this question

What have you already attempted?

We are trying to avoid repeated incomplete subscriptions

What are you working on?

Not provided

#

@wintry timber used the 🔌 API button in #help

Question

I am using Stripe tax on Connect Accounts and when I calculate taxes I get tax breakdowns but when I commit (create Tax Transaction) I do not. I see the option to retrieve line_items from a calculation and commit transaction but the tax_breakdown is not included in them. Any way I can get it?

Related Request ID(s)

I don't have any ids related to this issue

What have you already attempted?

I tried retrieving the commit transaction, commit transaction line items, calculation, calculation line items

What are you working on?

Connect Account Stripe Tax

atomic shuttleBOT
#

@languid hearth used the 🧑‍💻 Code button in #help

Code

The SCPPaymentIntent within the Terminal iOS SDK

Question

I am trying to find the clientSecret on the SDK but it doesn't seem attached to the SCPPaymentIntent payload?

What have you already attempted?

I have read through the Docs and the SDK.

What are you working on?

Dripos app for Mobile using Tap to Pay

#

@left cape used the 🔌 API button in #help

Question

"Your account isn't configured to directly use SetupIntents to create Mandates for Bacs Direct Debits. See https://stripe.com/docs/payments/payment-methods/bacs-debit to learn more, or contact us through https://support.stripe.com/contact/."```
### Related Request ID(s)
```I do not have a related request ID?```
### What have you already attempted?
```We have a custom portal using elements to create or update a Stripe customer with a new payment method. A Setup intent should be able to create a BACs payment method and mandate, but it doesn't seem to work```
### What are you working on?
```Create new stripe customer with BACs using Setup Intents```
atomic shuttleBOT
#

@tidal ridge used the 🧑‍💻 Code button in #help

Code

            display_name: 'Vat',
            inclusive: false,
            percentage: 23,
        });
        const session = await stripe.checkout.sessions.create({})```
### Question
```I wonder how to add tax rate to my checkout. Im doing it both for one time payment and subscriptions. In case of subscriptions this tax rate should also be aplied to checkouts at customer portal when they for example change amount. Is it working this way?```
### What have you already attempted?
```I have tried to check api docs but cant find how to add tax rates to checkout.```
### What are you working on?
```Im working on portal which would have subscriptions and people could buy stuff when they are subscribed.```
#

@hearty goblet used the 🧑‍💻 Code button in #help

Code

I have no code for this issue yet.

Question

Is it possible to user a multi currency payment using card element and stripe-js ?

What have you already attempted?

My current code lies in two specific prices, one in BRL and other in USD. But I'm facing problems to accept debit cards from a lot of other countries.

What are you working on?

I Like to know if i'ts possible to show the price of a product in current user currency, and even charge it into that currency.

#

@white moth used the ❌ An Error button in #help

Error Message

I need help resolving my clients' declined cards. I would like to understand why all the payments are being processed.```
### Question
```Hello everything is fine ?
I need help resolving my clients' declined cards. I would like to understand why all the payments are being processed.```
### What have you already attempted?
```Hello everything is fine ?
I need help resolving my clients' declined cards. I would like to understand why all the payments are being processed.```
### Reproduction Steps
```Hello everything is fine ?
I need help resolving my clients' declined cards. I would like to understand why all the payments are being processed.```
### What are you working on?
*Not provided*
#

@torpid trench used the 🔌 API button in #help

Question

I've integrated Apple Pay/Google Pay to my website, using @stripe/react-stripe-js, everything works fine, except that sometimes the Google Pay payment sheet doesn't open, and it freezes with an overlay, requiring refreshing the page. I am not using Payment Elements nor Checkout, I am using my custom button.

Related Request ID(s)

I don't have any ids related to this issue

What have you already attempted?

It happens 90% of the time in Dev environment and way less in Production for some reason. It happens more often if the payment sheet is closed and try to open again. The only error I see on the console is: "Unable to download payment manifest "https://pay.google.com/gp/p/web_manifest.json", which is not related I guess

What are you working on?

Not provided

atomic shuttleBOT
#

@brave beacon used the 🧑‍💻 Code button in #help

Code

const url = `https://dashboard.stripe.com/${ mode === 'test' // only in preview ? 'test/apps/settings-preview' : `settings/apps/${id}` }`;

Question


It's pretty common to use test mode not only in local development, but also in external tests before publishing.

The settings URL for app preview mode is different from what it would be in fully installed but still in test mode.```
### What have you already attempted?
```I'm not aware of any way to tell if the app is running in preview mode```
### What are you working on?
```In preview mode, redirect to https://dashboard.stripe.com/test/apps/settings-preview; otherwise, to https://dashboard.stripe.com/settings/apps/id```
#

@soft plover used the 🔌 API button in #help

Question

How do I pick an API version in Stripe? When I go to Dashboard > Developers > Overview > API Versions, I see two API versions, 2023-10-16 and 2022-11-15. The 2023-10-16 one has "Default" and "Latest" tags, but I want to use the other one.

Related Request ID(s)

req_qxeXqAWXOTntLp

What have you already attempted?

I am getting the error because I am getting this error: Received event with API version 2023-10-16, but Stripe.net 41.22.0 expects API version 2022-11-15. Tried updating the Nuget package version, but my supervisor says I should make the change in our Stripe account instead.

What are you working on?

Not provided

#

@feral delta used the 👍 Best Practices button in #help

Question


I am in the process of writing automated tests to submit payments using various test cards, and wondering if there is a way to prefill the elements to facilitate testing?```
### Doc/Guide Links
```https://docs.stripe.com/js/elements_object```
### What are you working on?
```Credit card payment page testing```
#

@compact dirge used the 🔌 API button in #help

Question

I'm looking at in_1O0ThCIZ1PF9tmyNknwqhQmF and I see in the dashboard that it shows $0.47 applied balance. What field in the API corresponds to the $0.47 amount?

Related Request ID(s)

in_1O0ThCIZ1PF9tmyNknwqhQmF

What have you already attempted?

I checked pre_payment_credit_notes_amount, starting_balance, ending_balance, and amount_remaining.

What are you working on?

I work at an accounting firm that books revenue from Stripe Invoices for our customers.

#

@foggy prairie used the 🔌 API button in #help

Question

pm_card_visa for example, what about MC or AMEX```
### Related Request ID(s)
```None ----------------```
### What have you already attempted?
```stripe.Key = "sk_test_51La..."
params := &stripe.PaymentIntentConfirmParams{
  PaymentMethod: stripe.String("pm_card_visa"),
  ReturnURL: stripe.String("https://natsconnect.com"),
};
result, err := paymentintent.Confirm("pi_3...```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@ionic mesa used the 🔌 API button in #help

Question

is it possible to embed a stripe check out page to my word press website?

Related Request ID(s)

no related request id

What have you already attempted?

im referencing the following Stripe Doc: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=embedded-checkout

What are you working on?

embedding check out to wordpress website

atomic shuttleBOT
#

@atomic olive used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

Using Stripe's Payment element with Link support, when entering the email `mail@interia.pl` it should not suggest another domain.

What actually happened?

When using the Stripe Payment element with Link support I enter an email address `mail@interia.pl`. I get a message saying: "Did you mean mail@interia.nl?". There is no such domain interia.nl.

Reproduction Steps

Set up a Payment element and provide a default email. Enter a new email mail@interia.pl in the email input box. Under the email input box a message will appear saying "Did you mean mail@interia.nl?"

Question

This seems to be a bug in the suggestion mechanism.

What are you working on?

Building a custom checkout using the Stripe Payment element.

atomic shuttleBOT
#

@versed rain used the 👍 Best Practices button in #help

Question

When reading through the verification updates stripe docs, I get the impression that `future_requirements` is the go to place to check for all things that will lead to `restricted_soon`. If there are `eventually_due` in `requirements` are those going to be the same set of data?

Doc/Guide Links

https://docs.stripe.com/connect/custom/handle-verification-updates#collect-updated-information-from-affected-users

What are you working on?

A processor to map the stripe status to an internal status

#

@old plinth used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

The transfers we send to Stripe should be paid out to customer based on the daily automatic schedule

What actually happened?

This customer hasn't received the payout after waiting for a month```
### Reproduction Steps
```It even happens with test mode accounts, for example https://dashboard.stripe.com/test/connect/accounts/acct_1Nhe6q2ZpSvIWPYu/activity```
### Question
```Are we missing anything from our api call or config that caused this to happen more and more frequently?```
### What are you working on?
*Not provided*
#

@azure void used the 🧑‍💻 Code button in #help

Code

stripe.PaymentMethod.detach(pm_***)

Question

Is there a way to pass in the cus_***?

What have you already attempted?

Tried adding the param cus_id

What are you working on?

Not provided

atomic shuttleBOT
#

@quasi python used the 🧑‍💻 Code button in #help

Code

			customer=stripe_id,
			line_items=products,
			automatic_tax={
				'enabled': True
			},
			customer_update={
				'address': 'auto',
				'name': 'auto'
			},
			mode='subscription',
			subscription_data={
				'trial_period_days': trial_period_days,
			},
			success_```
### Question
```I'm looking to append some custom information to my receipt, which from what I understand is done by appending the description parameter to the subscription object. Problem is, I only use a checkout session to send my users to the payment screen and handle the rest via webhooks. Is there something I'm missing?```
### What have you already attempted?
```Just reading the documentation. I figured this should be straightforawrd.```
### What are you working on?
```Looking to append some legal information to my subscription receipts.```
#

@pure perch used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

payment methods to be visible on all our Prestashop webshops using hosted checkout and the same Stripe account

What actually happened?

on EU domains apple pay and google pay are not visible, on US domain only creditcard is visible

Reproduction Steps

not sure what to put here .......

Question

any ideas why these payment methods are missing on the hosted checkout of our Prestashop domains ? Most are missing on the US domain (paypal, google/apple pay)

What are you working on?

Not provided

#

@vocal wagon used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

A user on subscription billing had a recurring billing cycle. Their CC failed but they were in a automated retry period so the subscription didn't cancel immediately. Through our system they initiated a plan upgrade (using a portal deep link). They were charged a pro-rated amount less the open retry payment.

What actually happened?

In order to upgrade it seemed logical that they should owe the amount on the open invoice + the pro-rated cost of the new plan. Instead they were charged just the pro-rated cost of the plan change. If their open invoice payment had failed, the whole subscription would have been canceled despite the partial payment.

Reproduction Steps

Configure recurring billing to cancel open invoices/subs after 15 days past due
Create a monthly subscription to the $10 product
Remove the user's payment method and advance the test clock 1 mo + a couple days.
Upgrade the user's sub to $20, prorate, invoice immediately```
### Question
```Why doesn't Stripe require payment of the open invoice in addition to the pro-rated upgrade charge. In our case the user's automated retry eventually succeeded a couple days later but they were confused why they were billed eg 9.22 and then another $10 a couple days later unexpectedly.```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@storm python used the 🔌 API button in #help

Question


I'm getting this error when attempting to create setup intent:
"The payment method type \"us_bank_account\" is invalid. See https://stripe.com/docs/api/setup_intents/create#create_setup_intent-payment_met```
### Related Request ID(s)
```req_HDj6KoPoTS9Ar3```
### What have you already attempted?
```nothing, not sure if this is possible to do with ACH with a canadian bank account```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@azure fog used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

Our app running on an S700 should be able to connect to a server with a certificate signed by Let's Encrypt

What actually happened?

The connection fails, reporting an error of "Trust Anchor for Certificate Not Found".

Reproduction Steps

Attempt to connect to a websocket on a server signed by LE

Question

Has support for Let's Encrypt been withdrawn? This was working last week. If so, what Certificate Authorities are supported?

What are you working on?

Point of sale app for restaurants

#

@solid sigil used the 🔌 API button in #help

Question


Does this apply to Stripe Checkout payment_intent_data? What if the capture method is automatic in this case?```
### Related Request ID(s)
```I don't think this applies```
### What have you already attempted?
```Haven't attempted anything yet, as I'm looking for clarification.```
### What are you working on?
```A product called GiveWP — our Stripe integration```
#

@pure perch used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

paypal and klarna should appear on US shop hosted checkout of our Prestashop webshop

What actually happened?

paypal and klarna not appearing on US shop hosted checkout of our Prestashop 8.0.1 webshop using the official Stripe module

Reproduction Steps

our paypal account has 2 currencies: eur and usd (Eur is primary), and klarna should work with both eur and usd as mentioned in our Stripe account..

Question

Unfortunately there is no option yet in our Stripe account to follow-up on the existing ticket, so we can't follow up there. I was wondering why Klarna and Paypal is not appearing on our US domain. Also , on the US checkout page the text "Sumon I" appears on the left of "Test mode", i'll provide a screenshot.

What are you working on?

Not provided

#

@severe gull used the 👍 Best Practices button in #help

Question

I'm integrating stripe.js in our React project. Which frontend elements and methods in the SDK should I use if I want to collect users' bank account detail and attach it to their customerIDs for receiving money paid by us.

Doc/Guide Links

https://docs.stripe.com/js/tokens
https://docs.stripe.com/js/element/payment_element```
### What are you working on?
```Our users may input bank details of banks in different countries, so I need to allow them choose country and provide corresponding fields for them```
#

@steel bluff used the 🔌 API button in #help

Question

stripe.checkout.sessions.create ?```
### Related Request ID(s)
```Not sure what this is```
### What have you already attempted?
```adding a cancel_at property lol.```
### What are you working on?
```a streaming platform that allows users to pay one another.```
#

@static wraith used the 🔌 API button in #help

Question

Downloading the quote in PDF format using PHP.

Related Request ID(s)

https://docs.stripe.com/api/quotes/pdf?lang=php

What have you already attempted?


$quotePdf = $stripe->quotes->pdf($quote->stripe_quote_id, function () {
            }, [], ['stripe_account' => auth()->user()->stripe_connected_account_id]);```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@marble bridge used the 🔌 API button in #help

Question

I am trying to copy subscriptions from one stripe account to another but i am unable to find any substantial documents on it. I want to move the subscriptions in bulk.

Related Request ID(s)

Subscription migration

What have you already attempted?

I have copied all the customer data from Account A to account B and the customer ID is same in both accounts.

What are you working on?

Working on a task to migrate from one stripe account to another.

atomic shuttleBOT
#

@severe gazelle used the 🔌 API button in #help

Question

Is it possible for us to GET the credit card brands accepted on a connected account? Is there an endpoint for this?

Related Request ID(s)

req_1sXbYuNR1Ndet8

What have you already attempted?

Already tried to use GET https://api.stripe.com/v1/payment_method_configurations

What are you working on?

Display accepted credit card brands for a connected account.

#

@merry cypress used the 👍 Best Practices button in #help

Question

If we create a subscription, schedule it, and do not add a payment method, should an email be received when the payment fails to prompt the addition of a payment method?

Doc/Guide Links

https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?

I am creating scheduled subscriptions.

atomic shuttleBOT
#

@hushed lily used the 🔌 API button in #help

Question

Hi, how can I create an invoice using the checkout session when the capture is manual?```
### Related Request ID(s)
```req_d1JmHMm8svTkkH```
### What have you already attempted?
```I have created an endpoint (checkout session) for creating an invoice when the capture is manual, but I got an error. Post-payment invoice creation does not support separate authorization and capture.```
### What are you working on?
```bubble.io stripe plugin```
#

@full sapphire used the 🔌 API button in #help

Question

I'm trying to grab the price of a subscription through the API to update it accordingly in my database.

Related Request ID(s)

req_zy7YG4MsW0Ao3H, req_urHIXI7sSSrefQ

What have you already attempted?

- Fetching the subscription directly
- Fetching the items directly```
### What are you working on?
```Subscription to a SaaS```
atomic shuttleBOT
#

@radiant ember used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

The billing descriptor to show up using the product billing descriptor override

What actually happened?

It showed the general business descriptor

Reproduction Steps

using the payment links create 2 products one thats recurring one thats one off, set separate descriptors from those and your general billing descriptor.

Question

How do i fix this so that i can show the seperate product descriptor on a one off charge, it works fine on recurring not on one off. I can see when i inspect browser that its 404ing an API call. I think the payment links are rather new and this is an error or overlook.

What are you working on?

Using stripe payment system to run charges for whitelabels of my store.

atomic shuttleBOT
#

@bitter arch used the 🧑‍💻 Code button in #help

Code


https://stripe.com/docs/api/persons```
### Question
```Can I use this API directly in the IOS app?

https://stripe.com/docs/api/persons```
### What have you already attempted?
```Tried by using API teams help which is using node server.
But now I want this to be done from the app side only```
### What are you working on?
```IOS swift : stripe sdk 23.22.1```
#

@still totem used the 📚 A Doc or Guide button in #help

Link to the Doc/Guide in question

https://github.com/stripe/stripe-cli

Question

I want to use stripe docker, but I don;t understand how to use it. I can only run single command, but I would like to enter it as a shell. For example, I can login, but after I do that(after that single command) docker quits. I run another command and it asks for a login, because it's another container instance.

What have you already attempted?

docker run -it works for ubunto docker to enter it as a shell

What are you working on?

I'm truing to implement a webhook https://docs.stripe.com/webhooks/quickstart

#

@fervent dirge used the 🔌 API button in #help

Question

Is it possible to get the country of a credit card on the React <CardNumberElement/> component?

Related Request ID(s)

notrelated/NA/asdf asdfasdf sadf

What have you already attempted?

looked at https://docs.stripe.com/stripe-js/react

What are you working on?

Not provided

#

@hasty sequoia used the 🔌 API button in #help

Question

How to create token for company , i can't find register_number in ios sdk

Related Request ID(s)

How to create token for company , i can't find register_number in ios sdk

What have you already attempted?

How to create token for company , i can't find register_number in ios sdk

What are you working on?

Not provided

atomic shuttleBOT
#

@glacial oak used the 🧑‍💻 Code button in #help

Code

ssnLast4: Joi.string().required(),

Question

I want to add 2 keys company name and tax ID in my code so I want to clarify the key name on which I can add this details.

What have you already attempted?

The information on your account could not be verified with the IRS. Please either correct any possible errors in the company name, tax ID, or upload a document containing those fields. 

Got this error on stripe and trying to resolve it.```
### What are you working on?
```Not able to verify key name on whic this data is needed to pass```
atomic shuttleBOT
#

@west pumice used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

Subscription trial ended and subscription transitioned into "paused". According to documentation, trial subscription should not count towards MRR, and subscriptions paused due to lack of payment method should not count towards churn.

What actually happened?

A subscription that goes into 'paused' because the customer has not added a payment method counts towards churn.

Reproduction Steps

This is an example of one customer who did not add payment method and subscription went into "paused" status. cus_PP3T4WLvPrdVy8

Question

What is causing these subscriptions to be shown as churned in MRR dashboard? This started happening since December when we started using "pause the subscription if the trial ends without a payment method."

What are you working on?

Not provided

atomic shuttleBOT
#

@gilded vale used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

I'm creating payment intents with setup_future_usage = "off_session". I expect the credit card used as a payment method to be saved with the Customer object once.

What actually happened?

If the same card is used by the same customer multiple times in the test environment, then it gets added multiple times to the Customer object representing that customer.

Reproduction Steps

Create a payment intent with setup_future_usage = "off_session" and attach the PI to an existing or newly created Customer. Finalize the payment process and confirm the PI.

Question

Is this a test environment thing? Or does it work the same way in live mode? Shouldn't the payment methods be deduplicated and saved only once per Customer?

What are you working on?

Not provided

#

@autumn quiver used the 🧑‍💻 Code button in #help

Code

                'customer' => $switchSubscriptionPlanDTO->stripeCustomerId,
                'start_date' => $currentSubscription->current_period_end, // Start the schedule right after the current period ends
                'end_behavior' => 'release', // to keep r```
### Question
```current scenario: user currently subscribed to monthly subscription and user with to switch to yearly plan.

For this I am trying to create subscription schedule. Will it automatically renewed? Since the price_id I am using is from the recurring subscription.

If not how can I make sure it restarted```
### What have you already attempted?
```I have also tried with creating subscription with future billing_cycle_anchor as well. By the way which one is better creating schedule or subscription with future anchor```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@still totem used the 🧑‍💻 Code button in #help

Code

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

Question

1) why? shouldn't we check status after meaningfull events?
2) checkStatus() fetches clientSecret from getParams. But we get it inside initialize fetch() function. Thus, the function is not going to work at all.

What am I understanding wrong? thank you```
### What have you already attempted?
```I think we should check status after pressing submit button, if it doesn't redirect(if it gives error). I also think that we  tried to pass clientSecret from initialize() through document.attributes, though I don't think that's a correct solution```
### What are you working on?
*Not provided*
atomic shuttleBOT
#

@spring olive used the 🔌 API button in #help

Question

how to use ReturnUrl in PaymentIntent when Confirm=true

Related Request ID(s)

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

What have you already attempted?

how to use ReturnUrl in PaymentIntent when Confirm=true

What are you working on?

Not provided

#

@zinc jetty used the 🧑‍💻 Code button in #help

Code

    const currentSubscription = await stripe.subscriptions.retrieve(
      subscriptionId
    );

    const newPlan = await stripe.prices.retrieve(priceId);

    const priceDifference =
      newPlan.unit_amount - currentSubscription.items.data[0].price.unit_amount;

    if (priceDifference > 0) {```
### Question
```Update Subscription
User purchased subscription and want to update subscription by difference amount of payment. He can purchase any number of times by paying difference amount of payment```
### What have you already attempted?
```User purchased subscription he can update his subscription but here is one issue with this code```
### What are you working on?
```If user want to update his plan```
#

@mild rivet used the 🔌 API button in #help

Question

I am backend developer and have done my part of calling the API, frontend sends me a card token, when I access it, payment goes to stripe, but it says incomplete reason being "The customer has not entered their payment method." I am not sure what wrong frontend developer is doing as he is not able to find the solution

Related Request ID(s)

payment goes to stripe, but it says incomplete reason being "The customer has not entered their payment method."

What have you already attempted?

I am backend developer and have done my part of calling the API, frontend sends me a card token, when I access it, payment goes to stripe, but it says incomplete reason being "The customer has not entered their payment method." I am not sure what wrong frontend developer is doing as he is not able to find the solution

What are you working on?

I am working on website which is basically travel company, in vorder to make payments we are using stripe.

#

@dense plinth used the 🔌 API button in #help

Question

hi I am creating a subscription schedule, 1st item is trial and the next one has price. schedule start_date = 'now'. How do I retrieve my pending_setup_intent ?

Related Request ID(s)

https://docs.stripe.com/billing/subscriptions/subscription-schedules

What have you already attempted?


I have expanded

expand: ['subscription.pending_setup_intent', 'subscription.latest_invoice'],

but it is missing on both places.```
### What are you working on?
```I am creating subscription flow for new platform```
#

@velvet berry used the 🧑‍💻 Code button in #help

Code


Stripe::setApiKey('myapikey')```
### Question
```What is the difference between Stripe\StripeClient(['api_key' => 'myapikey']) and Stripe::setApiKey('myapikey')? Somehow I need both to authenticate successfully (the first one is enough when using it to checkout via the frontend, the other one is needed though for getting transactions via CLI)```
### What have you already attempted?
```Used both but it feels a duplicated```
### What are you working on?
*Not provided*
#

@shrewd fulcrum used the 👍 Best Practices button in #help

Question

I need freeze payment before works is done```
### Doc/Guide Links
```https://docs.stripe.com/connect```
### What are you working on?
```freelance platform for artist```
atomic shuttleBOT
#

@hasty sequoia used the 🪝 Webhooks button in #help

Question

is there is any webhook request so tha i can find out if connect account is successfully created or restricted

Related Event ID(s)

webhook for connect account

What have you already attempted?

don't know about web hook for connect account

What are you working on?

webhook for connect accoutn restriction

atomic shuttleBOT
#

@scarlet wharf used the 👍 Best Practices button in #help

Question

- The user makes an initial payment that is validated, and the PaymentMethod is configured for off-session use.
- A new PaymentIntent is created with the off-session PaymentMethod, but it is declined.
- The PaymentIntent is attempted again, and validated```
### Doc/Guide Links
```https://docs.stripe.com/testing```
### What are you working on?
```Is there a test credit card number that allows for such behavior, and if not, how can I simulate this behavior?```
#

@past dome used the 🧑‍💻 Code button in #help

Code


{ "setup_future_usage": "off_session", "currency": "EUR", "application_fee_amount": "0", "amount": "59500", "customer": "cus_XXXXXX" , "payment_method" : "pm_XXXXXX"} 

Getting requires_action status in the response.```
### Question
```I could not able to run the payment intent in the offline mode. Please guide me how to do this. We are using PHP```
### What have you already attempted?
```Already passing  "setup_future_usage": "off_session" in the request. Tried with new cards also. I tested with test card "4000002500003155"```
### What are you working on?
```The issue is on both live and staging environments.```
#

@pure cave used the 🔌 API button in #help

Question

Can i upload the file directly on their behalf or is it mandatory to work with a VerificationSession, even for a custom account?
Is it necessary to upload an actual file or can I just fill the ID and nationality of the person ?```
### Related Request ID(s)
```req_702uS9KwyyR2Gn```
### What have you already attempted?
```created a file through files.stripe.com and add it to the person's record```
### What are you working on?
```automating connect custom account creation to approved status.```
#

@vocal wagon used the 🪝 Webhooks button in #help

Question

Hi. I have several clients connecting to my SaaS, and for some clients, the webhook works, but not for others. I receive this error 400: invalid_request_error: You are not permitted to configure webhook endpoints on a connected account.

Related Event ID(s)

req_A0dopvEsS8IZ3o

What have you already attempted?

I tried add the true boolean to connect

What are you working on?

Not provided

#

@hasty sequoia used the 🔌 API button in #help

Question

i was creating custom ui for connect account and my client accep to have stripe ui so i want to know different between standard and custom connect account

Related Request ID(s)

i was creating custom ui for connect account and my client accep to have stripe ui so i want to know different between standard and custom connect account

What have you already attempted?

i was creating custom ui for connect account and my client accep to have stripe ui so i want to know different between standard and custom connect account

What are you working on?

Not provided

#

@vagrant fern used the 🔌 API button in #help

Question

where in the invoice object can I tell that an invoice has finished and no more smart retries will be attempted?

Related Request ID(s)

n/a_________________

What have you already attempted?

read through the fields on the invoice object

What are you working on?

A dunning campaign to trigger once an invoice hits a terminal status and will no longer be retried

#

@strange epoch used the 🔌 API button in #help

Question

I am trying to make custom account using API for stripe connect

Related Request ID(s)

https://dashboard.stripe.com/logs/req_m3fCwKiyDQvBhe?t=1709199219

What have you already attempted?

I have tried all possible solutions as per stripe support but still not clear on it

What are you working on?

Not provided

#

@wind blaze used the 🔌 API button in #help

Question

Hey! As I understand the customer portal does currently not support to change a subscription if it has more than one product. So I have to do it myself. Can I launch a new CheckoutSession to "confirm the subscription changes" before changing them for my customer?

Related Request ID(s)

I have not issued any request yet

What have you already attempted?

Read the API docs, followed examples to update a subscription.

What are you working on?

Not provided

atomic shuttleBOT
#

@hasty sequoia used the 🔌 API button in #help

Question

does custom account type in stripe charge 2 dollars per active account on a monthly basis? what is it and when will it will be charged

Related Request ID(s)

does custom account type in stripe charge 2 dollars per active account on a monthly basis? what is it and when will it will be charged

What have you already attempted?

does custom account type in stripe charge 2 dollars per active account on a monthly basis? what is it and when will it will be charged

What are you working on?

Not provided

#

@cold dragon used the 🔌 API button in #help

Question

In subscription with request id `req_g3NNWegwvwZHaB` After cancelling this subscription its being cancelled immediately no webhook is being called

Related Request ID(s)

req_g3NNWegwvwZHaB

What have you already attempted?

  "cancel_at_period_end": true
}
setting this flag as above during subscription creation```
### What are you working on?
*Not provided*
#

@placid pier used the 🔌 API button in #help

Question

The full price or first installment would be charged only if production is confirmed. I don't want to process refunds in case production is not confirmed. What's the best practice?```
### Related Request ID(s)
```https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements&lang=ruby```
### What have you already attempted?
```I'm on webflow, already trying but can't find the right solution.```
### What are you working on?
```A preorder campaign for Korean lessons```
#

@timber flare used the 🤨 Unexpected Behavior button in #help

What did you expect to happen?

A physical test card should work with the physical reader (BBPOS WisePad 3) in test mode, when the amount ends with 00 cents.

What actually happened?

The physical test card is declined, the terminal says "Card error" and then "Try another card".

Reproduction Steps

I'm testing the integration of the BBPOS terminal with my iOS app. Everything works correctly with the simulated terminal; also the terminal works correctly in live mode, however when in test mode, the physical test card is declined even when the amount ends with 00 cents.

Question

Are physical terminals tied to one of the modes - live or test and can't be used for both? The terminal was ordered from the live dashboard.

What are you working on?

A payment app for tips.

#

@wispy dawn used the 👍 Best Practices button in #help

Question

I'm currently developing an application that enables users to subscribe to various plans through Stripe Checkout (hosted page). Some plans come with trial periods. Is there a way to provide the trial only once for each customer? So if a user has already availed the trial in the past, there would be no trial offering

Doc/Guide Links

https://docs.stripe.com/billing/subscriptions/trials

What are you working on?

SaaS application managing subscriptions with Stripe