#dev-help

1 messages Β· Page 92 of 1

cursive heronBOT
#

@ripe rose pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to apply a quantity discount to my one-time payment products when creating a payment link through the API? I wonder if this is something that can be configured in the Stripe dashboard, but I haven't found any information about it.

Related Request ID(s)
I'm having trouble understanding this.

What have you already attempted?
I attempted to find information online, but Stripe's live support is currently unavailable.

What are you working on?
An SaaS to create 3D rendered Videos from your real estate.

cursive heronBOT
cursive heronBOT
#

@nimble mulch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Refund with reverse_transfer is failing due to insufficient funds in Connected Stripe balance to reverse the amount.

Related Request ID(s)
req_tLK83nn5MZavP0

What have you already attempted?
I think I should have pulled amount from connected stripe's bank account in case of insufficient funds

cursive heronBOT
#

@dusty jungle pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We work currently with Stripe and it is UK to other countries. We want to roll out in other countries and invoice correctly between say the US and a US customer, Netherlands to Netherlands etc. we cannot invoice from UK to other countries as we have an entity there. We need to get the data to the right place to be compliant with local tax, I think. We also need the contract to flow to the right country.

Does Stripe support this, are there any costs, is the link below what we need to do and how long will it take to integrate this

Doc/Guide Links
https://docs.stripe.com/billing/multi-entity-business?locale=en-GB

What are you working on?
Software - see above question.

cursive heronBOT
#

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

Code
Hi all - sharing this here because, as a former big tech SWE, I know that calls and complaints to overseas support die in a sea of low-pri tasks that never get properly triaged, whereas internal eng can actually flag things and drive impact.

Question
Big issue with Stripe Connect:

Stripe Connect payouts to MasterCards fail deterministically. Every single one of them.

Because MasterCards make up ~30% of the debit card market by transaction volume, this is a huge problem.

There's also nothing in Stripe's documentation that indicates this. As developers, we were super frustrated when we built our whole integration, only to find out that MasterCard payouts are silently unsupported.

What have you already attempted?
I understand the rules of this dev discord and understand you cannot help me, *please*, I urge you *please* flag this internally because I think this is a serious problem.

At the very least, please make clear in documentation that connect payouts to MasterCard are unsupported. Or, maybe prioritize a fix here this half or the next. Either would be nice.

Regardless, we have a bunch of frustrated customers, and I'd imagine other connect clients do to.

What are you working on?
I sincerely hope this gets properly escalated, as we've had no luck in other channels. Thanks so much!

#

@hollow bane pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Good afternoon!

We are a SaaS whose customers are vacation rental property management companies. Our customers have their own Stripe accounts. They add their API credentials to their accounts and we use them to collect card information via Stripe Elements, process charges, etc, from their guests on their behalf. So far so good, that's already implemented and working.

(continues...)

Related Request ID(s)
req_uEVe9EeBly9Rjh or req_uEVe9EeBIy9Rjh

What have you already attempted?
We attempted to send a full card number to a PaymentMethod and received an email

What are you working on?
A Vacation Rental Property Management System (www.mapro.io)

cursive heronBOT
#

@rain shore pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to know the account related to an event that arrived on a webhook?

We want to make a multi-version Stripe integration, where we have 3 different accounts dedicated to different countries each, and we want to receive all the events on the same webhook.

I know that, on connected webhooks, there's a top-level property `Account`, but we don't wanna use Stripe Connect for this integration.

We're adding query params to the same webhook to differentiate the events, but we want to know if there's another way to know the account related to an specific event

Related Event ID(s)
evt_1QCO2hFDzWEzE3i9Ig2dE2ow

What have you already attempted?
We already checked the Connected doc and the Organizations doc

#

@balmy scaffold pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The verify product offers SSN verification based on last 4 digits. I want to require 9 digits (and verify them) instead. I this possible? Alternatively, if I collect 4 and it's verified, will the SDK give me all 9 later, e.g., if I want to file a SAR? Asking client to give it could tip them off to SAR filing.

Related Request ID(s)
N/A

What have you already attempted?
Read through all docs

cursive heronBOT
#

@tranquil panther pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeConnectInstance = loadConnectAndInitialize({
publishableKey: <<MY_KEY>>,
fetchClientSecret: <<SECRECT>>,
appearance: {
variables: {
fontFamily: `SamsungOne600`,
},
},
})

Question
How can I get my embedded ConnectComponentsProvider element to use my desired font?

What have you already attempted?
I've tried passing the font as the global css name, as a url, static url, no luck

#

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

Code
stripe
.confirmCardPayment(`${paymentIntentClientSecret}`, {
payment_method: paymentMethodsArray[cardIndexValue].id,
})
.then(result => {
if (result.error) {
setIsProcessing(false);
if (result.error.type === 'card_error' || result.error.type === 'validation_error') {
if (result.error.decline_code === 'do_not_honor') {
setMessage(
'Your card was declined. P

Question
Hi, we are trying to figure out why the following happened. We had a payment intent request that was confirmed, but then failed after the fact, when 3D Secure authentication failed.

What have you already attempted?
Our stripe confirm payment function is pretty standard.

What are you working on?
We are building / maintaining a fundraising platform.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/changelog#2024-09-30.acacia

Question
I'd like to better understand the delay_days behaviour for Platform who own liability for losses

What have you already attempted?
I read the doc and tested the behaviour in a Sandbox but getting conflicting results

What are you working on?
Connect Custom - Platform owns liability for losses

#

@dense oasis pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A client paid twice an article because after a payement, the Checkout page didn't redirect

What actually happened?
The client passed through Checkout the first time the 19 oct. 2024 at 13:31 and finished the process at 13:37, but another payament started at 13:34 and ended also at 13:34

Reproduction Steps
Add article to the cart, go to checkout and order (but we don't know how it happened since it happened only two times)

Question
What should we do to avoid this situation since the client paid two times for his articles

#

@frozen parrot pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

I am using Stripe to sell my SaaS as a subscription based product and prices. We currently offer monthly and yearly billing cycles.

We were looking into building something to pause subscription. For example let's say a customer subscribed to a yearly subscription. The user pauses subscription after 10 months, When they want to resume again, it will resume with 2 months left on the subscription without further billing.

Right now, it looks like Stripe does not provide any native support for pausing subscriptions, only pausing subscriptions.

What would be the best and simplest way to build this? Ideally we want to leverage stripe Checkout or Customer Billing Portal to

Doc/Guide Links
https://support.stripe.com/questions/how-to-pause-payment-collection-or-cancel-subscriptions

What are you working on?
SaaS monthly/yearly subscription

#

@raw shore pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Sending Invoices Still Requires a Default Payment

Question
Why Can't I Make an Invoice To Send to a Customer when they have no default payment method attached?

What have you already attempted?
I have coded to dynamically only put a default payment method in if the customer has one, and to set the collection method to send_invoice. But that seems to still trigger a "needs a default payment method" error

What are you working on?
A automatic payment system for a x month payment plan on a system that requires no interest payments.

#

@coarse escarp pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Given my account, how can I check the API version that I am using?
Can I use the Java Stripe library as API version?
I need to create phemeralKey, but it requires the mobile client version:

You must .setStripeVersion on EphemeralKeyCreateParams.builder() with the stripe version of your mobile client.

Related Request ID(s)
--

What have you already attempted?
set properly the stripe client version

cursive heronBOT
#

@undone cape pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to determine if a connected stripe account is using Radar for fraud detection?

Related Request ID(s)
none

What have you already attempted?
I have reviewed the api documentation and don't see how I would determine this. There documentaiton saying to check the dashboard but it would be grate to programatically determine this

What are you working on?
We are considering radar to be a requirement for connected accounts using our platform. We currently use direct charges so I believe their account would need radar enabled for fraud detection

#

@plain chasm pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We subscribe to the capability.updated webhook for all our connected accounts as a means of determining whether they have requirements with stripe. We had a case this morning where it appears that the webhook and reality are *not* corresponding

Related Event ID(s)
evt_1QB1Lp2Ym3KhdAfuUjr7sQZk

What have you already attempted?
acct_1QB0zE2Ym3KhdAfu

User logged in and attempted to update requirements and met with apparent success, but dashboard shows them as restricted due to elevated risk profile

What are you working on?
Is there a webhook that we should be listening to that reports capability supervention?

cursive heronBOT
#

@silver depot pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Frontend: React with TypeScript
Backend: Firebase (Typescipt)
Cloud Functions: Firebase Functions v2
Authentication: Firebase Auth

Is there a reason why after I create events for a subscription using my webook and try to update the data in firebase firestore it refuses to update firebase because of a permission issue?

Are there known issues with Stripe integration in Firebase Functions v2 that could cause discrepancies between dev and prod environments?

Related Event ID(s)
endpoint Id: we_1Q8QpwGiU2k5hJRTTjbgXgYI

What have you already attempted?
I've tried using the Firebase extension, and it failed even to build. I've looked pretty heavily at whether it's cors / API key issues, and it seems those have been fixed on my end. I looked into whether my Firebase cloud function URL was incorrect, but all the docs pointed to it being fine. It works perfectly in dev, but in production, authentication keeps failing due to not having enough permissions in Firebase.

What are you working on?
I'm a solo developer working on a web application for ASWB LCSW exam preparation

cursive heronBOT
#

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

Code
InvoicePaymentSettingsOptions. PaymentMethodTypes

Question
The tooltip for this suggests "ach" payment types are acceptable. The thrown exception suggests otherwise. Upon further investigation, "us_bank_account" looks to be the replacement. The documentation for this class needs an update.

What have you already attempted?
See question.

What are you working on?
POS System

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/js/element/payment_element

Question
When using a payment element, how can I give customer the option to save their credit card when submitting a payment? So if do not check off that they want to save the CC, the credit card details should not get saved in Stripe.

What have you already attempted?
Reviewed the documentation.

#

@light jacinth pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to use idempotency requests with a custom idempotency key for payment intents.

Related Request ID(s)
N/A

What have you already attempted?
I need to know how to attach the idempotency key to the payment intent I am creating and processing offsession. When a bid is accepted I charge the customer and hold the money until goods are delivered. If someone doesn't deliver on time etc then a refund can be initiated and we will refund the payment intent.

What are you working on?
Adtech Bidding Platform

cursive heronBOT
#

@languid gate pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Creation of an old API-Webhook version (via UI not possible)

Related Event ID(s)
-

What have you already attempted?
Trying it with the CLI/Curl command -> it is not for production creation

What are you working on?
Saas

cursive heronBOT
#

@torpid walrus pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
To improve success with enterprise customers, I need to offer custom subscription pricing. What are best practices for maintaining a clear pricing structure while accommodating individual customer needs? Should I create unique prices, products, or permanent discounts for each customer or is there a better alternative?

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

What are you working on?
A subscription usage-based pricing model for restaurants

cursive heronBOT
#

@rich robin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The "Apple verification" filter on the "Payment Method Domains" page does not seem to be working correctly

Related Request ID(s)
pmd_1QAL7aIEeIH1gPwZxQm9AE6i

What have you already attempted?
Coincidentally, or not coincidentally, Apple Pay is not working for our app when we try to create an Apple Pay session for this domain.

It displays the same domain when you select "Verified" and "Unverified". You can see this in a video here: https://www.loom.com/share/9a0a0bb34abb47679d71ef963e0d5b61?sid=f69b1d80-0cf3-47b1-b831-ab270b824557.

https://dashboard.stripe.com/test/settings/payment_method_domains?apple_pay_active=false

https://dashboard.stripe.com/test/settings/payment_method_domains?apple_pay_active=true

cursive heronBOT
#

@winter seal pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am offering free trial if the customer submits credit card info via payment link. Free trial customer is limited to a certain number of business operations.

Once the customer hits the limit of business operations it is offered to immediatly start paying for the subscribed plan.

I shift the user from tree trail and start immediate paying with the code below.

This works fine, but I would prefer the customer to perform the same operation via Stripe UI billing portal session. Is it possible to perform the same operation via billing portal session offered by stripe?

Doc/Guide Links
$stripe->subscriptions->update($subscription_id,['cancel_at_period_end' => 'false']);
$stripe->subscriptions->update($subscription_id,['trial_end' => 'now']);

What are you working on?
I am trying to implement restricted free trial.

cursive heronBOT
#

@mighty wigeon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are working with SetupIntents for our mobile app payment. Our company is multinational but we give customers the flexibility to order from multiple countries. Each country has its own associated Stripe account.

We will need to create a new Setup intent when the customer orders from a country they haven't ordered from before.

When they return to the original country (e.g., order from US, then Canada, then US), will creating a new setup intent remove their existing saved payment method? Is it better to retrieve the setup intent in this case? And is this overall approach correct? Thank you.

Related Request ID(s)
N/A

What have you already attempted?
More of a design/flow question.

What are you working on?
Coffee ordering app

#

@burnt raven pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to build out my platform with a platform convience fee as an extra charge added to our users pricing. Plus will be taking a percentage. Our users should be using stripe connect accounts. So I want to confirm the best architecture would be to use there account for billing, but add on our convience fee on to the subscription. Then collect app fees so as not to have to bill and incur fees twice.

Related Request ID(s)
none

What have you already attempted?
Currently we have it setup as that. But users would see the revenue higher looking like we took part of there money. Is this a good approach and architecture? Or should we do a seperate transactions?

cursive heronBOT
#

@random tiger pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want to update my currency and amount based on user input. when i try using a setState, the stripe payment gateway doesn't update with the new amount/currency and still shows the initial values.

Related Request ID(s)
dashboard > transactions

What have you already attempted?
logging the values, i see that amount updated based on the setstate. however, i'm not getting an update when i make the api call (as below):
```const paymentIntent = await createPaymentIntentFn({ amount, currency });```

maybe i'm doing this the wrong way? i was offered to look at this - https://docs.stripe.com/payments/accept-a-payment-deferred?integration=paymentsheet

What are you working on?
i'm building a registration page. i want the user to select a location and list of products and have the price change accordingly

cursive heronBOT
#

@frozen parrot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I have a subscription based product that I offer through Stripe

I am looking into case to handle the status `incomplete_expired` for subscriptions.

I tried to create a test clock, create subscription with test clock, then fast foward it to a day (requires 23 hours of no payment), but failed at creating a subscription.

Is there a test card, or could you help me provide steps to re-create `incomplete_expired` status for subscriptions?

Related Request ID(s)
Not sure

What have you already attempted?
I explained it in the main question

What are you working on?
SaaS monthly/yearly subscription

#

@dense brook pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to be able to get card payment details that was used in a Link payment
Due to the way our vendors work, I am required to submit pieces of card info along with additional data when using their service
My payment flow: intent creation -> a few pages go by -> payment element shown -> stripe.js element.submit() -> stripe.js stripe.confirmPayment() -> my form submit -> capture funds on my server
Is there some specific way to see what card ends up getting used in a Link transaction?

Related Request ID(s)
req_CMnIVAnJdau2V0

What have you already attempted?

  1. "extend" parameters - The only information I've been able to get out of any request is the email used.
  2. Docs diving - the Payment Element and Link pages don't say anything about the return object; the PaymentMethod/PaymentIntent API docs don't either.

What are you working on?
Payment Element + custom checkout + Link in stripe.js and stripe-php

#

@sleek dome pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm currently using the payment method API not the Payment Intent API.

We'd like to set the on_behalf_of parameter for the payment method in question but that would appear to be an option only available payment_intent API.

Is there a way to set this parameter?

For context, the root problem we are trying to solve is adding an Amex card. Recently an MCC code was changed that would allow us to do this and we've succeeded when using the Payment Intent API and, but we have an edge case where we get raw data and need to run it through VGS which requires our using the Payment Method API.

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

What have you already attempted?
We've tried using the extra params field

What are you working on?
Trying to link this payment method to a connected account

cursive heronBOT
#

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

Code
const stripeCustomer = await stripe.customers.create(
{
email,
name,
phone: phoneNumber,
address: {
line1: address.street,
city: address.city,
state: address.state,
postal_code: address.postalCode,
country: address.country,
},
},
{
apiKey: process.env.STRIPE_SECRET_KEY,
}
);

Question
When I create an account in my backend, I receive an error message, even though I have provided the API key.

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

What have you already attempted?
I am currently working with Node.js and Express.js to integrate Stripe into my application. I have attempted to refactor the code, reinstalled the dotenv package, and reinstalled the Stripe package using npm install stripe. I have also reviewed the official documentation and tried creating the Stripe customer using an alternative method.

cursive heronBOT
#

@vast flint pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi all.

Our current user case requires custom payment plans for customers.
This means that we need flexibility when capturing payments, as defined by specific business rules (eg installments/payment plans).
From what I understood so far, there are multiple ways this could be achieved:

1. Authorizing the payment once, and capture the payment in multiple steps \(multi capture\)
2. Set up future payments, in which we would create the customer, create a SetupIntent, PaymentMethod and then create a PaymentIntent for each installment.
3. Save payment details during payment, in which I would only capture a first downpayment during checkout, and then save the payment

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

What are you working on?
current building the payment infrastructure for a sports platform

cursive heronBOT
#

@pliant orchid pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
im setting up a new stripe connect account. i am in test mode trying to link accounts to the main connect account.

all the accounts are restricted

Related Request ID(s)
req_upKKKGpN2szu9a

What have you already attempted?
i have tried using each of the test DOB for verification none seem to work

What are you working on?
i am building a marketplace for influencers

cursive heronBOT
#

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

Question
OAuth refresh token API is time out with 45 seconds.
What should be the reliable timeout for connecting to your API?

Related Request ID(s)
not given by customer

What have you already attempted?
OAuth authentication

#

@idle sluice pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.SubscriptionSchedule.modify(
subscriptionschedule.id,
phases=[
{
'start_date': 'now',
'end_date': current_subscription.current_period_end,
},
{
'items': [

Question
if customer wants to downgrade from yealy plan to monthly plan and apply the downgraded monthly plan in the end of the current billing cycle and continue with the downgraded plan how to achieve this ? should i schedule the downgraded pricing and interval in the second phase item and in the end of the current cycle but it gives errors ` Missing required param: phases[0][items]` while modifying the add subscription schedule. i have attached the code.

What have you already attempted?
Read the docs suggested.

What are you working on?
stripe subscription in our system

#

@fallen blade pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
will the webhook notification depends on time zone deiffrence

Related Event ID(s)
we_1PshOuCSINqXJlpbRkb7k26g

What have you already attempted?
we checked the doc can find any clarification.

cursive heronBOT
#

@stray mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
I need to call an ajax request to get the clientSecret ansd after that, stripe.confirmPayment. From the logs I can see that its a success, but I am not getting any response from the stripe.confirmPayment. Please help.

Related Request ID(s)
req_vmRkgRWjoPcR9c

What have you already attempted?
$.ajax({
url: Utils.siteUrl() + 'transactions/main/stripe_create_paymentintent',
type: "POST",
data: {'invoice_id': invoice_id, 'amount': amount, 'currency': currency},
success: async function(resp) {
// Assuming your backend returns a PaymentIntent client secret
const clientSecret = resp.clientSecret;
if (clientSecret) {
const { error } = await stripe.confirmPayment({
elements,
clientSecret:

cursive heronBOT
#

@wooden axle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Not able to fetch reader on a location
Location Id -> tml_FwTMA0HyluKR3
Reader Id -> tmr_FwTsgmBVaMS19L

Related Request ID(s)
req_sRK3oODd57hNj5

What have you already attempted?
Tried regsitration of a reader

What are you working on?
When I am trying get the reader list using the above request id. I am not able to fetch it is is returning empty array.

cursive heronBOT
#

@vernal prairie pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating payment intent for connected account. In this I have to give 1.1% of the total amount to admin and remaining amount will go to connected account owner. Currently the stripe processing fees is deducted from admin account that's why my admin balance will go in negative.

Related Request ID(s)
req_hVuoCyD46t9sRs

What have you already attempted?
I have created payment intent and I am transferring 1.1% to admin and the remaining amount to connected account owner. But the stripe processing fees is deducted from admin account.

#

@vestal spade pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Setting up stripe on my react web app, where I can find dummy card details to test payment

Related Request ID(s)
Setting up stripe on my react web app, where I can find dummy card details to test payment

What have you already attempted?
Tried to look in docs but didn't find anything related to ot

What are you working on?
Subscription module with recurring payment option

#

@ocean cradle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$account = \Stripe\Account::update(
'acct_1QA******',
[
'tos_acceptance' => [
'date' => time(), // Current timestamp
'ip' => $request->ip(), // User's IP address
],
]
);

Question
it is giving me this error -

{"error":"Failed to accept terms of service: This application does not have the required permissions for the parameter 'tos_acceptance' on account 'acct_1QASpURQndt7ooxS'."}

What have you already attempted?
$account = \Stripe\Account::update(
'acct_1QA******',
[
'tos_acceptance' => [
'date' => time(), // Current timestamp
'ip' => $request->ip(), // User's IP address
],
]
);

What are you working on?
Updating connect account

cursive heronBOT
#

@cyan swallow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When doing plan upgrades (updating subscription), the prorated amount am getting slightly mismatch the one in the invoice for some reason.

Related Request ID(s)
Could not find related

What have you already attempted?
this is how am showing the prorated amount to the customer when they try to upgrade
```
const newItem = [
{
id: providerSubscription.items.data[0].id,
price: stripePlanId,
},
]
const proration_date = Math.floor(Date.now() / 1000)
return stripeGatewayClient.invoices.retrieveUpcoming({
customer: stripeCustomerObj.stripeCustomerId,
subscription: providerSubscription.id,
subscription_details: {
items: newItem,
proration_date: proration_date,
proration_behavior: 'always_invoice',
},
})
```

What are you working on?
Website

#

@tropic radish pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
no code yet---------------------

Question
How and where can i enable Stripe extended authorization period on django, python?

What have you already attempted?
PHP, want to turn to django

cursive heronBOT
#

@stiff inlet pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We try to use Stripe Embedded Checkout. Currently the top product summary looks strange

Question
Is there a way to customize (or even hide) the top product summary?

What have you already attempted?
Checked the demo

cursive heronBOT
#

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

Code
const expressCheckoutElement = await elements.create('expressCheckout',

Question
Apple Pay ls Not Available For This Website

What have you already attempted?
x

What are you working on?
Use the Express Checkout Element to create the Apple Pay.

cursive heronBOT
#

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

Code
<Elements
stripe={stripeClient}
options={{
mode: 'subscription',
paymentMethodTypes,
amount,
currency
}}
>

// where amount it 1799 and currency is EUR

Question
Since Saturday we've started getting these errors:
"Invalid value for PaymentRequest update(): total.amount should be a positive amount in the currency's subunit. You specified: xxxx." our amounts have for instance been 14388, 35686 and 1799. We know that we always provide an amount and currency to the element - and we're confused by the error since the amount obviously is positive. For us the amount looks valid - why are we getting this error?

What have you already attempted?
We've updated "@stripe/react-stripe-js" to the latest version. We've checked that we always pass legit params to the stripe element. Our checkout has been live > 6 months, so nothing on our end has changed as of lately.

What are you working on?
This is our checkout for our product, we started getting these errors on Saturday and they've been quite frequent since then (5 errors since then)

cursive heronBOT
#

@finite tree pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My goal is to utilize the invoice to

  1. Retrieve the total amount, including aspects such as tax rates, discounts which define in the API during create invoiceItems & invoice
  2. Using invoice specifically for collecting a one-off payment.

I have questions below:

  1. I would like to confirm whether it's possible to use invoice to achieve above goals?
  2. Will it have downside if I keep creating a draft invoice? (Because I use invoice to get the total amount, tax rates and etc to display on frontend) 

    Any guidance or best practices on this topic would be greatly appreciated!

Thank you in advance for your help.

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

What are you working on?
I'm creating a one-time payment flow to charge a customer on specific product he/she selected. I would like to utilize the final calculation from the invoice to display on my frontend

#

@vernal prairie pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have created payment intent with the direct charges and now I want to fetch receipt of that payment.

Related Request ID(s)
req_SGtWYfL0T26LgN

What have you already attempted?
Previously I am using destination charge and in that I am calling webhook charge.updated and in that I am getting receipt _url. But Now I am using direct charge so I am not getting receipt_url. Please provide me proper solution.

#

@drifting gulch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
But after payment intent is created, I can only see this info:
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
},
"paypal": {
"preferred_locale": null,
"reference": null
},
"sepa_debit": {
}
}

I am using Java SDK

Related Request ID(s)
Developers

What have you already attempted?
I am sending this information in payment intent creation :
"payment_method_options": {
"paypal": {
"line_items": {
"0": {
"name": "Category 1",
"quantity": "1",
"unit_amount": "1000"
}
}
}
}

What are you working on?
I am working on adding line items for the paypal order

#

@late hill pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have stripe account of Malaysia and want to create destination account

What actually happened?
Stripe says they dont support destination account in Malaysia

Reproduction Steps
Create destination account and try to create a checkout session

Question
How can I create destination account for my Malaysia account?

What are you working on?
Trying to create destination account

#

@potent aurora pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have integrated the payment element from the SDK. I want to show multiple payment methods.

What actually happened?
It only shows cards.

Reproduction Steps
Nothing to be reproduced. It's not showing other payment methods.

Question
I tried activating other payment methods through the dashboard, but it's not adding any new ones.

#

@zealous yoke pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey! We're working on integrating stripe in our product. We have our own credit module that we need to glue together with the stripe discounts api. currently the flow is this, if credits on products present > create one time coupon on stripe and redeem it > wait for a webhook from stripe with the credit metadata > attach our own credit history to an invoice if subscription succeeds or delete the credit history from out product after 24 hours.

The create subscription works as expected however I am not getting the metadata or invoice with subscription update event.

Related Event ID(s)
evt_1QCf2PJrW4qoE0zyccNJMJ1A

What have you already attempted?
I've already tried adding metadata to the update subscription api

#

@surreal meteor pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I create a payment link with checkout api and I would like for a monthly subscription and I would like to purpose on the payment page the yearly subscription. How Can I do that ?
Here my checkout code :
const session = await stripe.checkout.sessions.create({
line_items: [
{
price: 'price_********',
quantity: 1,
adjustable_quantity: { enabled: true },
}
],
mode: "subscription",
success_url: `${domain}?paymentId=${paymentId}`,
cancel_url: `${domain}`,
automatic_tax: { enabled: false }
thanks

Related Request ID(s)
none

What have you already attempted?
I searched in stripe documentation a way to achieve that

#

@astral owl pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the dashboard when adding hooks, after X number of hooks it begins to show a warning suggesting you shouldn't add to many. Our platform is somewhat complex, so what is best practise here?

Should we create different endpoints for Connect per event type, e.g. /webhooks/connect/product, /price etc, or is it perfectly fine to have 40 events tied to one endpoint?

Related Event ID(s)
n/a

What have you already attempted?
R&D

What are you working on?
Laravel backend for integrating stripe connect

#

@idle sluice pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
existing_schedules = stripe.SubscriptionSchedule.list(customer=clinician.stripe_customer_id, limit=1)

    if existing\_schedules.data\:
        for schedule in existing\_schedules.data\:
            if schedule.status != 'canceled'\:
                stripe.SubscriptionSchedule.cancel\(schedule.id\)

Question
if customer wants to downgrade from yealy plan to monthly plan and apply the downgraded monthly plan in the end of the current billing cycle and after downgrading the plan which is now in the subscription schedule for next billing cycle now the customer want to stick with the same current plan not downgrade the plan in the next billing cycle, how to achieve this ? Should i cancel all the existing subscription schedules ?

What have you already attempted?
read the docs.

What are you working on?
stripe subscription in our system

cursive heronBOT
#

@tender vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we're integrating with an external invoicing system. I need to extract the unit price for products with tiered pricing from the invoice object. The invoice line data contains the quantity and total amount, but the price.unit_amount field is empty (null). In PDF invoice this price per item is visible.

I'm using the stripe.Invoice object. The field in question is invoice.lines.data[0].price.unit_amount

How can I retrieve the unit price for tiered pricing on an invoice?

Related Request ID(s)
-

What have you already attempted?
I tried extracting from unit_price from regular pricing and it has unit_price set properly.

What are you working on?
Invoice system integration

#

@wary umbra pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why does "charge.dispute.funds_withdrawn" gets invoked before "charge.dispute.created"?

Related Event ID(s)
evt_1QCg5sEDp185F5ggZjyiNOnh

What have you already attempted?
Looking into the order of execution I dont understand :(

What are you working on?
Food App

#

@haughty stream pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
return stripe.subscriptions.create({
customer: stripeCustomerId,
items: [{ price: priceId, quantity: nfts.length }],
payment_settings: {
payment_method_types: ["card", "paypal"],
save_default_payment_method: "on_subscription",
},
payment_behavior: "default_incomplete",
expand: ["latest_invoice.payment_intent", "schedule"], collection_method: "charge_automatically",
});

Question
Hi I am working on creating a subscription and then creating a schedule now the buisness wants me to implement a time frame during which consumer can pay but if they fail we cancel the subscription also we want to send a reminder to user before certain days now they do not want move away from automatic -charging

What have you already attempted?
suugested useage of collection methold for invoice but buisness is reluctant on that

What are you working on?
creating a subscription system

#

@astral owl pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the dashboard when adding hooks, after X number of hooks it begins to show a warning suggesting you shouldn't add to many. Our platform is somewhat complex, so what is best practise here?

Should we create different endpoints for Connect per event type, e.g. /webhooks/connect/product, /price etc, or is it perfectly fine to have 40 events tied to one endpoint?

Related Event ID(s)
n/a

What have you already attempted?
R&D - previous thread was closed before i could reply

cursive heronBOT
cursive heronBOT
#

@unborn glen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am integrating a Setup Intent with SEPA Direct Debit in my SwiftUI app, but SEPA is not appearing in the Payment Sheet, while card payments work fine.

Setup Intent creation:

const setupIntent = await stripe.setupIntents.create({
customer: customer.id,
payment_method_types: ["card", "sepa_debit"],
});
SwiftUI Payment Sheet configuration:

var configuration = PaymentSheet.Configuration()
configuration.applePay = PaymentSheet.ApplePayConfiguration(merchantId: "<id>", merchantCountryCode: "DE")
SEPA is enabled in my account settings. Am I missing something in the SwiftUI configuration?

Related Request ID(s)
-

What have you already attempted?
Described in my question

#

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

Code
public async update(id: string, updateCompanyDto: any): Promise<any> {
const { address, supportAddress, owner, ...payload } = updateCompanyDto;

const company = await this.database.queryOne\(
  'SELECT \* FROM companies WHERE id = $1',
  \[id\],
\);

if \(!company\) {
  throw new NotFoundException\('Company not found'\);
}

const existingOwner = await this.database.queryOne\(
  "SELECT \* FROM company\_people WHERE company\_id = $1 AND role = 'owner

Question
I’m encountering a permission error when trying to update a company's information for a driver on Stripe. Specifically, I’m working on updating the company information (like business name, address, etc.) associated with a Stripe account ID (acct_1P6YdAQr9ExjXpAI). The update is required for both our internal dashboard and Stripe.

What have you already attempted?
tried to find different methods and read stripe documentation to follow best practices but always getting permission error

What are you working on?
Urgently resolving this issue so we can update the company information for the driver in Stripe and on our dashboard.

#

@alpine cedar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have input metadata into the payment link (testmode) but even when payment intent is successful I find no meta data

Related Request ID(s)
>Developer>Meta data

What have you already attempted?
I tried to put everything I can but nothing is working

What are you working on?
My personal project

#

@tough phoenix pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a main account in Stripe and another connected account. The main account is singular, while the connected accounts range from the 10th to the 15th.

I have many customers in my main account, and now I want to move these customers to a connected account, including all their information like subscriptions, payments, transactions, refund data, and other details.

Is there any way to do this?

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

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

Question
We are a platform with custom connected accounts and destination payments .. the connected accounts want to offer subscriptions .. what is the best practise here? i want that as example on the invoice generated for the customer should stay the name and adress of the connected accounts

Doc/Guide Links
NoneNoneNoneNoneNoneNone

What are you working on?
Stripe Subscriptions for Connected Accounts

cursive heronBOT
#

@wary umbra pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
[TEST MODE] I created a transfer and saved its id in my DB,but for some reason i cant find it in the dashboard

Related Request ID(s)
tr_1QCiByDO5gthmatskbReiXM9

What have you already attempted?
I looked in the dasboard, but the trnasfer is nowhere to be found

What are you working on?
Food App

cursive heronBOT
#

@astral owl pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Error: This price cannot be archived because it is the default price of its product.

When trying to archie a product and its prices, this error is being throw. We are doing this via the api

Related Request ID(s)
req_ahpFgeImWHyfYn

What have you already attempted?
Reading docs but can see no refrence to this issue

cursive heronBOT
#

@frosty coyote pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to test email receipts for connected accounts. However, the documentation says that test payments don't send receipts. is there a way to override this behavior? We have an issue in production and I think its because its a connected account and we are not using `receipt_email` field. However, I want to test it and them come up with a solution, but email's dont appear to be sending. I checked the dashboard and they don't appear under the customer either. Is there a way to change this behavior, even if temporarily, so I can test?

Related Request ID(s)
N/A

What have you already attempted?
I've tried setting the receipt_email, and reading the docs

#

@tender apex pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have created a subscription, and want to swtich that subscription for a user without him getting any refund but when i create new subscription the payment is incomplete because of missing verificaton by user

Related Request ID(s)
cus_R4si47XkKJKSaG

What have you already attempted?
WHen I try to do manual and create subscription in dashboard then it works

#

@slim apex pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
API - https://api.stripe.com/v1/subscriptions/<subscription_id>

Parameters passed in the form of x-www-form-urlencoded
cnacellation_details[comment] = "cancelled from platform"

I donot find these cancellation details in the response of the delete API

Related Request ID(s)
req_aO2dVE9oCAEmql

What have you already attempted?
Attempted to pass comment, but it doesnot return back the cancellation reason, nor it shows on the dashboard

What are you working on?
I am integration Stripe subscription into our SaaS application

#

@granite wedge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! We are planning to migrate customers from one Stripe account to another. While I see there's a manual migration option available in the dashboard, the challenge we face is that we have six source accounts from which we need to migrate customers throughout the year, as these source accounts will remain open. Copying customers from multiple source accounts over an extended period could become problematic. Is there an API or another programmatic solution to help streamline this process? Your guidance would be greatly appreciated. Thank you!

Related Request ID(s)
NA

What have you already attempted?
manual account -> account migration from the dashboard

What are you working on?
migrating customers from one account to another

#

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

Code
if let paymentSheet = paymentSheet {
PaymentSheet.PaymentButton(
paymentSheet: paymentSheet,
onCompletion: onPaymentCompletion
) {
Text("Buy")
}

Question
In Versions before iOS 18 i could use the Stripe payment sheet with SwiftUI without problems. Now, although the sheet is loaded, it won't show. The only thing i get is this: "Modifying state during view update, this will cause undefined behavior."

The Stripe log looks ok and i haven't changed anything in comparison to iOS 17 and lower....

What have you already attempted?
I have made it very simple, not using nested buttons inside, tried to find a new version fixing this bug on github.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/appearance-api

Question
Have you a page to see online the result of changing the variables?
Because my customer would like to fine tune the variables himself.

What have you already attempted?
I test manually by changing in our webshop but my customer is nitpicking about the rendering result.

What are you working on?
I'm working on customizing the appearance for a customer.

#

@paper spruce pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any issue with the Session Checkout create parameter "success_url"?

This is happening for a long time, my Stripe checkout retrieval almost all the times is working but there are some cases that the success_url just don't work. My customer said that after he went to the checkout page from Stripe, he just stayed there after the purchase. The weird part is that my code didn't changed and works for most customers

Related Request ID(s)
req_w58dWsBo9XTLyT

What have you already attempted?
My Stripe Checkout is being logged, so any kind of stuff that i receive gets logged there. And I got a Payment session creation but I never got the success url retrieve.

What are you working on?
Stripe Checkout retreive

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/reporting/report_run

Question
Do you have any api endpoint for getting bank statement of the customers? Customers can join with their login links and they can allow their bank accounts and then in the response we can catch the their bank statement (REPORT) with specified days. Is it possible to do that with stripe?

What have you already attempted?
There is no try yet, because we couldn't find documentation of the creation of bank statement after a customer connect with stripe.

What are you working on?
We have a loan form and in this form we want customers to join with stripe and add their bank statement.

cursive heronBOT
#

@solid bloom pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Have a question about what our options are for handling subscription rebilling after free trial. Getting lots of declines. Would billing $0.01 and then refunding it theoretically solve this issue?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
7 day free trial.

#

@worn harness pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using the following feature: https://docs.stripe.com/connect/account-debits#transferring-from-a-connected-account

however we use restricted keys in our application, and I'm getting the following error:

"This is a restricted API key, but the required permissions are not available for use by restricted keys."

Is it only possible to debit a connected account via the "transfers" endpoint using an unrestricted API key? And if so, why?

Related Request ID(s)
req_Z5coFkgGUeZ8AY

What have you already attempted?
Have read all of the docs on permissions and this endpoint but nothing that definitively says one way or the other.

What are you working on?
We are a custom connect platform and trying to account for the fact that transfer reversals can only reverse up to the original amount of the transaction.

#

@grand wasp pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying to supply additional information to stripe in order to get more data for advanced fraud signals due to a high volume of chargebacks.
We noticed that currently, customer email address has a 0% ratio contribution to the advanced fraud signals and we're wondering if the customer email needed to be supplied in the payment intent request and if so, what is the name of the property to provide this under. Documentation indicates that the receipt_email field is used by stripe to enhance fraud detection but we just wanted to check if this is the correct approach?

Is there a way to provide the customer name in a similar fashion and would this help with fraud detection?

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

What are you working on?
High volume of chargebacks due to fraud

#

@solar hollow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we're working on implementing Stripe Tax, and from what we understand, Stripe Tax is billed based on the number of tax calculations that are created.

does using this endpoint create a tax calculation when passing automatic_tax https://docs.stripe.com/api/invoices/upcoming? and if so, is it possible to retrieve the ID of the tax calculation?

Related Request ID(s)
N/A

What have you already attempted?
called the endpoint, and it correctly calculates the tax, but not seeing a way to get the tax calculation ID, so I'm unsure if this counts towards the Stripe Tax usage.

What are you working on?
Stripe Tax for invoices

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/how-connect-works#how-connect-works

Question
We are a platform with many connected accounts.

In these docs it says "you create a Connect application". There doesn't seem to be any documentation or endpoints for this resource.

Querying payment_method_configurations returns an application field in the form "ca_xxxxxx", which I guess is the same resource.

How can I know what is "my" connect application ID? Is the connect application ID persistent?

What have you already attempted?
Searching the docs for relevant strings about connect applications.

#

@azure junco pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
google pay button to appear

What actually happened?
google pay button does not appear

Reproduction Steps
Use stripe elements react component
add payment method to chrome web browser
enable google pay on stripe dashboard
ensure domain is registered with stripe

Question
the stripe elements component renders but only has the credit card option

#

@tender vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was using subscriptions, and they were working correctly. The invoices issued after payment were marked as "Paid." I switched from using Subscription to SubscriptionSchedule to be able to edit the invoices.
However, now the invoices, despite the payment being successful, are marked as "Open."

Payment: pi_3QCkhrRu8cxSbXdW1OXw4ReX
Subscription: sub_1QCki2Ru8cxSbXdWIyfBe1zX
Open invoice: in_1QCki2Ru8cxSbXdWvcaf5kqS

Current Flow:
- I create a PaymentIntent.
- After (PaymentIntent.status == "success"), I create a SubscriptionSchedule, with default_payment_method and collection_method

Related Request ID(s)
-

What have you already attempted?
How should I create the SubscriptionSchedule so that invoice is marked as paid?

I found this fragment in docs, but I don't know how to execute it: "Later, the invoice is auto-advanced into the open or paid status depending on the outcome of the asynchronous payment attempt at finalization time" https://docs.stripe.com/billing/subscriptions/subscription-schedules#managing

What are you working on?
Invoice system integration

cursive heronBOT
#

@graceful marsh pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to know the setting in the Stripe portal that will allow me to create multiple customers with the same email using Payment Links in Test Mode.

Doc/Guide Links
https://docs.stripe.com/customer-management/configure-portal

What are you working on?
We are no longer able to create multiple customers using the same email via a payment link in Test Mode.

#

@hallow dawn pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I want to update/downgrade a subscription through the customer portal, at the same time I want to control if a user can/can't upgrade/downgrade the subscription...to achieve this I've disabled anything in the customer portal and I create a new configuration on the fly when I build the customer portal url using the api. The only question I have is, is it ok to create a lot of configurations?

Doc/Guide Links
https://docs.stripe.com/customer-management/portal-deep-links

What are you working on?
SAAS

cursive heronBOT
#

@manic gazelle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe Team we are using Stripe Invoice URLs to show invoices to our Customer, we update the invoice_settings.custom_fields but they are not showing up in the invoices. We tried this before and it was working, but today suddenly we don't these details in the invoice.

Related Request ID(s)
cus_R2Kq2WXsrGRNGh, req_Z8JMdCATWrSK6O

What have you already attempted?
We have tried updating the fields in customers object but no luck.

What are you working on?
Showing Company Details in Stripe Invoice Bug

cursive heronBOT
#

@light jacinth pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using the Rust Api and I want to submit custom idempotency keys and that is not working.

Related Request ID(s)
N/A

What have you already attempted?
I see that there are RequestStrategy objects for async-stripe. But no ability to manipulate the header myself.

#

@neat acorn pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a use case where a customer can have multiple line items in an order. Some items can be one-time items and other items can subscriptions.

We don't want to have to break up their order into multiple transactions.

Going through your docs I see that Subscriptions generate Invoices.

But could we create a single Invoice like the order I mention?
So the client will be charged the first time for the subscription and the other items. And latter will be charged recurrent just for the subscription.
What's the best way to achieve this?

Doc/Guide Links
https://docs.stripe.com/invoicing/overview

What are you working on?
Integrating with Stripe Invoicing.

cursive heronBOT
#

@proud turtle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am the CTO of a systems development company in Argentina. I have a specific product that has to manage payments from Argentina and off Argentina. Does Stripe support payments and monthly subscriptions in pesos and dollars?

Related Request ID(s)
suport argentinan

What have you already attempted?
create a count to used

What are you working on?
aplication mobile

cursive heronBOT
#

@velvet mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
I have absolutely no idea why i am seeing "payment_intent_unexpected_state" error and "You cannot confirm this PaymentIntent because it has already succeeded after being previously confirmed" yet I take the card payment and it processes it correctly.

I use:
stripe.confirmPayment({
elements,
confirmParams: {
// Return URL where the customer should be redirected after the PaymentIntent is confirmed.
return_url: 'https://kwiktactix.com/gateway/err.php',
},
redirect: 'if_required'
})
.then(function(payload) {
if( payload.paymentIntent.status == "succeeded" ){
create subscription...

Related Request ID(s)
req_y3jhIy8rmJ3U0C

What have you already attempted?
I use:
$response = $stripe->subscriptions->create([
'customer' => $customer_id,
'items' => $line_items,
'payment_behavior' => 'default_incomplete',
'payment_settings' => ['save_default_payment_method' => 'on_subscription'],
'expand' => ['latest_invoice.payment_intent']
]);
$status['clientSecret'] = $response->latest_invoice->payment_intent->client_secret;
$status['paymentType'] = "sale";

What are you working on?
trying to migrate braintree to stripe

#

@final apex pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create portal configuration for my connected users, and be able to modify it after to add / remove products. This works most of the time but I have run into an issue where I am unable to update a portal config since `PortalConfiguration that has `is_default: true` on a connected account.`. What should I do to counteract this? Should I just create two portal configurations for a user in this case and just use the non-default one?

Related Request ID(s)
req_oYNm1oKVcsXqwg

What have you already attempted?
https://docs.stripe.com/api/customer_portal/configurations/create

What are you working on?
useultrance.com

cursive heronBOT
#

@acoustic cedar pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let customerAdapter = StripeCustomerAdapter(customerEphemeralKeyProvider: {
let json = await myBackend.getCustomerEphemeralKey()
return CustomerEphemeralKey(customerId: json["customerId"]!, ephemeralKeySecret: json["ephemeralKeySecret"]!)
}, setupIntentClientSecretProvider: {
let json = await myBackend.getSetupIntentForCustomer()
return json["setupIntentClientSecret"]!
})

Question
This is sample code for Customer Sheet in Swift. It will pop up a window to manage payment methods, but after adding a card, and I tried to add another card, it says 'You cannot confirm this SetupIntent because it has already succeeded'. My understanding is that in the sample code, I have to use a setupIntentClientSecret to create the customer adapter, but there is no method to re-setup a new setupIntentClientSecret to the adapter after one change has been made

What have you already attempted?
N/A

#

@bitter heron pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I used to use transfer.paid event type and the status attribute of a transfer. It got deprectaed. Can I assume that if I receive a transfer.created event, the transfer got through and the connected account got paid?

Related Event ID(s)
NA

What have you already attempted?
NA

What are you working on?
Checkout Migration.

#

@paper spruce pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I opened another thread here later on and it was suggested that i use webhooks and i want to know what is the correct way

Related Event ID(s)
None

What have you already attempted?
Not applied

cursive heronBOT
#

@earnest lintel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
what is the proration_behavior in stripes custom portal configuration when you set it to always invoice. Is it prorating immediately or is the amount on the next invoice? The docs dont seem to give a choice or an explanation.

Related Request ID(s)
xxxxxxxxx

What have you already attempted?
n/a

#

@torpid lantern pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are implementing a subscription cancellation process for unpaid subs. We have configured Smart Retries to retry up to 8 times within 2 weeks, and to leave the invoice and sub as past_due.
On the first payment_failed event, we mark the sub as locked in our app.
Every day, our app checks for subs where the lock date + 14 days is in the past, and at that point, we call Stripe to cancel the sub.
However, we've encountered a situation where, after the sub is canceled, if the customer updates their CC, Stripe charges the past_due invoice. Should we list all open invoices related to the subscription and mark them as uncollectible along with the cancellation request?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/object?lang=curl

What are you working on?
We have a E-commerce portal integrated with Stripe

#

@vague hinge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We run a Go service in the us-east-1 AWS region which uses Stripe's API. Ever since an hour ago, we noticed that a subset of our service's API calls to Stripe suddenly resulted in a TLS error:

Request failed with error: Get "https://api.stripe.com/v1/plans/plan_REDACTED?expand[0]=product": tls: no supported versions satisfy MinVersion and MaxVersion

Our service uses Go 1.21, and stripe-go v76.11.0. Curiously, not all requests are affected; we've only observed this for a handful of requests.

Related Request ID(s)
We don't have a request ID.

What have you already attempted?
We took a look at Stripe's blog, issue tracker, and the release notes of the stripe-go SDK but found nothing that would explain this behavior.

cursive heronBOT
#

@queen spire pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.accounts.createExternalAccount

Question
Does stripe.accounts.createExternalAccount goes through some kind of validation process for bank account? Should I listen for webhook event for updates?

What have you already attempted?
I tried in test environment, the bank account is added automatically when calling this api.

cursive heronBOT
#

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

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

Question
If I want to have a referral program that give customer money back that only allow them to use on their next subscription, what kind of credit should I issue them?
Should it be a customer balance transaction (https://docs.stripe.com/api/customer_balance_transactions/create) OR a credit note (https://docs.stripe.com/api/credit_notes/create)?

What have you already attempted?
Nothing, just researching

What are you working on?
A referral project

#

@sharp violet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to get the MRR from my subscriptions.

I have subscriptions for a few different products, and I'm having trouble getting the value out of my metered subscriptions.

Related Request ID(s)
si_K9SqWwqtXX9dWw

What have you already attempted?
I've tried grabbing the price.unit_amount from the subscription object, but this is returning null for the metered ones.

What are you working on?
syncing stripe subscriptions into hubspot

cursive heronBOT
#

@queen spire pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.transfers.create
stripe.payouts.create

Question
I want to implement a withdraw endpoint which includes a transfer between two connected accounts, and then payout. how should I handle the time between transfer confirmed and initiate payout properly?

What have you already attempted?
const confirmedTransfer = await stripe.transfers.retrieve(transfer.id);

    if \(confirmedTransfer.status !== 'succeeded'\) {
        return res.status\(400\).json\({ error\: 'Transfer not confirmed.' }\);
    }

but this doesn't allow for retry

cursive heronBOT
#

@humble ingot pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://r.stripe.com/b
https://m.stripe.com/6
https://api.stripe.com/v1/confirmation_tokens
https://api.stripe.com/v1/payment_intents/

Question
We have implemented Stripe checkout. And during load tests we are hitting the rate limit sooner than expected on test environment. Out of the above endpoints which ones are counted against rate limit? All of them are triggered as soon as the user lands on the page without interacting with the stripe payment.

What have you already attempted?
Trying to understand why it’s rate limiting

#

@random tiger pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want to update my currency and amount based on user input. when i try using a setState, the stripe payment gateway doesn't update with the new amount/currency and still shows the initial values.

Related Request ID(s)
dashboard > transactions

What have you already attempted?
logging the values, i see that amount updated based on the setstate. however, i'm not getting an update when i make the api call (as below):
const paymentintent = await createPaymentintentFn({ amount, currency });

the way my current code is set up, i should be calling initPaymentFunction when amount gets updated (which was a common fix i was recommended).

What are you working on?
i'm building a registration page. i want the user to select a location and list of products and have the price and currency change accordingly

#

@topaz vessel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im working on building a system that integrates with iMessage for business - we send apple pay requests to our end users and recieve the encrypted payment requests and transaction identifiers to our own servers - since this falls outside of the scope of the standard ios/react native/web experieences I have been struggling to find. the proper way to provide that encrypted payment data directly to stripe via api - I poked around the sdks a bit to see how it might trickle back to stripe post payment sheet, but have not been able to figure out how to send the data back manually.

Related Request ID(s)
n/a

What have you already attempted?
Creating a payment intent is fine, but I cant figure out where to send that id + encrypted payment data from apple to.

What are you working on?
apple imessage for business app

cursive heronBOT
#

@idle sluice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
if a customer checkouts for purchase and inputs card info, i want to save these payment methods so that in future purchases there would be the option to choose already used payment method or from new card. How to achieve this ?

Related Request ID(s)
checkout

What have you already attempted?
i have passed different arguments for that while creating checkouts.

What are you working on?
stripe subscription in our system

cursive heronBOT
#

@thorn bone pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have a usage based metered monthly subscription plan, named pay as you go plan. The usage was reported by our backend, and upon cancelling the subscription in middle of the subscription, the reported usage should have been charged, since that is how it was working.

What actually happened?
Yesterday, one subscription was canceled from an API call. On python, it was stripe.Subscription.cancel.

The subscription was canceled, but the reported usage did not get charged. I will share screenshots further below.

Reproduction Steps
When the subscription is canceled from the dashboard or the customer portal, the usage gets charged.

But yesterday, the subscription was canceled through an API call through python library.

Question
All details are above, pls ask anything that is not clear

What are you working on?
Integrating my product backend with stripe

#

@sweet plaza pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe connect- Affiliate set up

We plan on launching an affiliate program for new job board we are building https://www.virtualprojobs
Affiliate will market our job board to his followers

Affiliates get 40% of our fee. Not a one time fee. Ongoing as long as virtual assistant keeps billing and paid by employer through our site

Affiliate Example- Employer pays virtual assistant $10 through our website. VA is paid $9. We get paid 60 cents of this $10. The affiliate gets paid 40 cents of this $10. Would like these payments to be automatically done through stripe without manual intervention

Related Request ID(s)
n/a

What have you already attempted?
asked stripe they have not gotten back to me

What are you working on?
See first question

cursive heronBOT
#

@fast ice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want to add userid to metadata by api create-checkout-session but i can't use userid in webhook i call it like this const userId From Metadata = subscription.metadata.userid;

Related Request ID(s)
req_apE7O1cTv2G4Fu

What have you already attempted?
i try to get userid but it not work

What are you working on?
i try to send userid from webhook to my server for unlock premium

#

@surreal night pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can i see stripe fee cherged on success payment intent

Related Request ID(s)
req_lqc5nRC3Uo2ULw

What have you already attempted?
accepting payments with payment intent

What are you working on?
accepting payment with strip

#

@shadow laurel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
After user sign-up, they are redirected to a page where they can enter their card details (card number, name, expiry date, and CVV).
Users will haves have the ability to add, edit, and delete their card information on this page?

Related Request ID(s)
NA

What have you already attempted?
Not attempted anything yet.

What are you working on?
Integrating Stripe API for card page redirect

#

@fierce mortar pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Just experimenting with the sandbox feature. The main thing stopping me using it is that my sandbox is missing all the accounts etc that have built up in normal dev environment. Is it possible to transfer that to a sandbox as well?

Related Event ID(s)
NA

What have you already attempted?
NA

What are you working on?
Money transfers.

#

@upper crest pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe Team, I hava a question about the checkout page return url,
i using ios webview checkout page pull up the alipay app and completed payment, can i make alipay app back to my app automatically by using return_url param?

Related Request ID(s)
no request ids

What have you already attempted?
i tryed using deeplink like myapp:aliapy but not work

What are you working on?
make alipay app automatically back to my app

#

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

Code
const company = await this.database.queryOne('SELECT * FROM companies WHERE id = $1', [id]);
const existingOwner = await this.database.queryOne("SELECT * FROM company_people WHERE company_id = $1 AND role = 'owner'", [id]);
await this.updateStripeAccount(company, updatedPayload, existingOwner);

Question
Error: I face a Stripe permission error when updating a company via your API.
Request: Please help in resolving the permission issue.
I’ve discussed this via email with Cristina, and we clarified that the issue is with the SIREN number, not the phone number.
Stripe account: acct_1P6YdAQr9ExjXpAI.

What have you already attempted?
We validated geometry for addresses and owner.
Ensured that all payload data is structured properly.
Checked existing permissions and roles for the company owner.

What are you working on?
I am now waiting for guidance on how to resolve the permission error during Stripe account updates.

#

@serene drum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I automatically set a payment method from a setup intent as default?

Related Request ID(s)
req_4yzKa35HPDakm6

What have you already attempted?
I am using Setup Intents to add a payment method to a customer, so it can be used for subscriptions. How can I automatically set the payment method as default? If it is not default, I can't create a subscription for the customer

#

@potent aurora pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When an invoice is finalized, I receive two times the same event.

Related Event ID(s)
evt_1QCzcVG3J6HysIYctDkKskLk

What have you already attempted?
Couldnt figure it out as it's coming directly from Stripe

#

@neat acorn pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Relative to the thread linked below.

I was discussing with the team about Mixed Cart Checkout, but for now it is not an option to us.

So what would be the best way to handle an order that has one-tme items and subscriptions, without having to charge the user multiple times?

Doc/Guide Links
#dev-help message

https://docs.stripe.com/payments/checkout/how-checkout-works?payment-ui=stripe-hosted#mixed-cart

What are you working on?
Integrating Stripe.

#

@pearl talon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am currently using the event:
invoice.payment_failed

For recognizing when a users cancels because they didn't have enough money on their account etc (this is for subscriptions) but I am wondering if this event is also triggered when a user is trying to create a subscription and their payment fails. If so how would I know if it's a first payment for a new subscription or if its a new one

Related Request ID(s)
evt_1QCsss1bjIAkDbrBNbC31zAk

What have you already attempted?
I looked at the response and there is a field called:
billing_reason

I wanted to check whether this is the correct this to use to verify it's not a first payment.

What are you working on?
A dashboard to manage subscriptions online

#

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

Code
const _collectPaymentMethod = async (
pi: PaymentIntent.Type,
groupTransfersName: string,
) => {
try {
const { paymentIntent, error } = await collectPaymentMethod({
paymentIntent: pi,
skipTipping: true,
});
console.log('===> payment intent step2: ', paymentIntent, error);

Here is the part of the payment function where this issue is returned

Question
Sometimes when I log into my account and to do Tap to Pay payment on my app, this issue happen: message: 'The current session has expired, and the reader will be disconnected. Please reconnect the app to the reader.',
code: 'SessionExpired'
I don't know why this happened, and how to resolve it?

What have you already attempted?
I have visited the GitHub repo of the Stripe Terminal React Native but no one mentioned this issue before.

What are you working on?
I'm building a React Native application, which allows the users to use the Tap To Pay feature on both Android and iOS

#

@tender vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I want to implement following flow:
- receive a payment and create subscription
- edit invoice number

Is it possible to receive payment for subscription and edit invoice number afterwards?

Related Request ID(s)
Here is a related question that I opened, but unfortunately I was unavailable for a while: #dev-help message

What have you already attempted?
- I tried with ScheduleSubscription, but subscription_schedule.subscription.latest_invoice.payment_intent doesn't exists.

What are you working on?
Payment and subscription integration.

cursive heronBOT
#

@idle sluice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
if the customer save the payment method for future payment in one time purchase or when checkout mode=payment than can we show this saved payment method in subscription payment or when checkout mode=subscription ?

Related Request ID(s)
checkout

What have you already attempted?
read the docs

What are you working on?
stripe subscription in our system

cursive heronBOT
#

@upper crest pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe Team
I tryed to using alipay_handle_redirect
in stripe.js
how can i make alipay app complete payment to redirect to my navi app

Related Request ID(s)
not request id

What have you already attempted?
i tryed by i dont understand how it work

What are you working on?
using stripe.js alipay_handle_redirect make alipay app complete payment to redirect to my navi app

#

@mighty marten pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi team, I'm looking to build a payment plan. When a customer purchases a service from one of the connected accounts on my platform I would like the payment to be split into parts, collected from the customer and passed on the the connected merchant based on the service being provided. I was looking at affirm but it's unclear whether that'll be best for my use case.

Doc/Guide Links
https://stripe.com/gb/payments/affirm

What are you working on?
Funeral homes aggregator app where customers can purchase services from local funeral homes.

cursive heronBOT
#

@mellow tendon pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hiya, i'm looking to put a payment link together that's a recurring monthly subscription but I would like to automatically stop after 3 months instead of me having to manually stop it after that period.

Doc/Guide Links
Im a bit of a novice when it comes to stripe and I haven't found much on how to do this in the help centre

What are you working on?
I am a personal trainer looking to create an online fitness challenge that lasts 12 weeks so would like the payment system to reflect this, once the 12 weeks are over the payments should stop

#

@short kraken pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
PaymentMethod (https://docs.stripe.com/api/payment_methods/object) does not have Apple Pay or Google Pay listed in "type" enum. We would need to distinguish Apple / Google Pay payments for analytics purposes, is there some way to detect those payments?

Related Request ID(s)
-

What have you already attempted?
Read the docs

What are you working on?
Customer project

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/entitlements

Question
When a new feature is created, and it is attached to an existing product, does that update the existing subscriptions? In the dashboard, there is a note β€œAttaching a feature to a product will not affect entitlements of existing subscriptions. Feature changes will be reflected on the next billing cycle update.β€œ Is that the same in the API? If so, how would I make sure that a new feature we're introducing for a Pro plan are available to existing users immediately, not just new subscriptions? (especially if some of the billing cycles are yearly).

What have you already attempted?
I read the entire Entitlements documentation page for both dashboard and API, and checked out the API docs for Features, Product Features, and Entitlements.

What are you working on?
A SaaS product.

cursive heronBOT
#

@tall flower pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<stripe-pricing-table pricing-table-id="prctbl_1QD1OOGP4HuBzYDmvhMyCSsc"
publishable-key="pk_test_51QD1DdGP4HuBzYDmzloXIh2UuKCHX75LoMr8XJz98wnQAQ3cm1L5sYcVDn3HpqfesP4O9rzOTNzclvyUIznrlJHt00SKPQp3tC"
client-reference-id="<?php echo $idutente ?>"
customer-email="<?php echo $email ?>">

</stripe-pricing-table>

Question
Is it possibil to enable split payment with pricing table?

What have you already attempted?
I tried to find some info on official documentation

What are you working on?
Subscription for a SaaS software

cursive heronBOT
#

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

Question
I am saving card details when the customer clicks the link to make payment using checkout session. But how can i check if the card details are saved and how can i reuse the saved card details for future payment. here is my code snippet. body += '&consent_collection[terms_of_service]=required';
body += '&custom_text[terms_of_service_acceptance][message]=I authorize Joseph L. Balkan Inc. to store my card details for future payments in accordance with their <a href="https://www.balkanplumbing.com/terms-of-use/" target="_blank">Terms of Service</a>';
body += '&payment_intent_data[setup_f

Related Request ID(s)
body += '&consent_collection[terms_of_service]=required'; body += '&custom_text[terms_of_service_acceptance][message]=I authorize Joseph L. Balkan Inc. to store my card details for future payments i

What have you already attempted?
body += '&consent_collection[terms_of_service]=required';
body += '&custom_text[terms_of_service_acceptance][message]=I authorize Joseph L. Balkan Inc. to store my card details for future payments in accordance with their <a href="https://www.balkanplumbing.com/terms-of-use/" target="_blank">Terms of Service</a>';
body += '&payment_intent_data[setup_future_usage]=off_session';
body += '&payment_method_options[klarna][setup_future_usage]=none';

cursive heronBOT
#

@astral owl pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If using a custom checkout instead of stripe checkout, is it still necessary to create checkout session? We need to at times, tie a specific checkout session to a specific event / user / product to apply specific rules / prices etc.

I know the limations of the stripe checkout now so i am exploring a custom checkout which was suggested to me yesterday.

Related Request ID(s)
N/A

What have you already attempted?
R&D

#

@mellow glade pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Having issues testing a taint connection for my platform account (stripe connect express) for one of our clients who’s based in Switzerland and we’re based in US

Related Request ID(s)
?

What have you already attempted?
we can’t turn it on to test and therefore not sure what else to do

What are you working on?
stripe twint api

cursive heronBOT
#

@leaden leaf pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'd like to build a way for my users to manage their payment methods on my application. I have a Laravel application with Stripe Elements for checkout right now. I currently save the payment methods for offline use and store them in our database.

Question
How do I give customers a way to add a payment method that's not during a purchase but can be used for later purchases? Is this the correct flow to follow: https://docs.stripe.com/payments/save-and-reuse?lang=php Or is it this? https://docs.stripe.com/payments/accept-a-payment-deferred

What have you already attempted?
I asked ChatGPT for sample code but it didn't work as expected and I don't understand exactly what it's doing.

#

@rustic jacinth pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have many products (over 22 products) with lots of different prices. Can we move active subscriptions using product 1 and pricing 2 to product 3 and pricing 4? And can we do so with charging our users at the end of the current periode?

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

What are you working on?
We're creating a media platform and moving away from Substack. We're merging products and prices to have a better understanding of our ARR and users.

cursive heronBOT
#

@past harbor pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This is a follow-up to https://discord.com/channels/841573134531821608/1288093660256141396 where it was said, that `Specifically, PayPal with ECE and Setup Intents/setup_future_usage is not supported right now`

I'm taking over this issue from a colleague and would like to ask, if there are plans for this in the future? Will we be able to use Paypal ECE + Setup intents?

Related Request ID(s)
-

What have you already attempted?
We contacted you in this discord and got the answer, that things are not supported yet.

What are you working on?
A SaaS paywall funnel

#

@rough scroll pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using global payment sdk to preauth and then capture it, preauth is working fine but after that whenever I'm hitting my capture API it's giving me
error:
{"status":0,"message":"Unexpected Gateway Response: 508 - Original transaction not found.","error":"Unexpected Gateway
Response: 508 - Original transaction not found.","error_code":0}

Related Request ID(s)
Developers

What have you already attempted?
I've used chatgpt and nothing got it about my code

What are you working on?
Global Payments with SDK

#

@haughty stream pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.subscriptionSchedules.update(scheduleId, {
phases: [
{
start_date: scheduleStartDate,
end_date: endDateInSeconds,
items: [
{
price,
quantity, // Ensure correct quantity is set
},
],
proration_behavior: "none",
},
{
billing_cycle_anchor: "phase_start",
items: [
{
price,
quantity, // Set quantity for the next phase as

Question
I have a susbcripton for which Iam modifiying the billing cycle to follow the year's quarter I want to know that can we charge upfront for an upcoming subscription i.e if sub starts form jan 1 we ask for payment in time window of last 15 days of previous quarter?

What have you already attempted?
tried using invoices for manual payments but buisness is not up for this

What are you working on?
working for a quarterly subscription for seats

#

@solar hollow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
is it possible to use Stripejs or Stripe's Address element (https://docs.stripe.com/elements/address-element) to collect a customer's IP address? if not, does stripe recommend a way to collect the IP address? it's going to be used to calculate tax via StripeTax.

Related Request ID(s)
N/A

What have you already attempted?
checked the StripeJS docs and here: https://docs.stripe.com/tax/customer-locations#address-hierarchy

What are you working on?
Stripe Tax implementation

#

@tranquil prism pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhook failed. I recently disconnected my stripe from woocommerece. I set it up to be used on a platform meetribbon and was able to connect. I also plan to hook it up to my shopify. I am unsure how to proceed with the webhook fail and if it means it will not work on my meetribbon platform.

Related Event ID(s)
evt_3QBevFDFQoNNygRo156o76h2

What have you already attempted?
Not sure what to do

What are you working on?
Meet Ribbon and soon Shopify

#

@unborn glen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
// Confirm the SetupIntent
const confirmedSetupIntent = await stripe.setupIntents.confirm(
setupIntentId, // ID of the SetupIntent to confirm
{
payment_method: paymentMethodId, // The payment method to attach
mandate_data: {
customer_acceptance: {
type: "online",
online: {
ip_address: ipAddress, // IP address of the user
user_agent: userAgent, // User agent (browser/device)
},
},
},
}
);

Related Request ID(s)
-

What have you already attempted?
I tried to confirm the setupIntent after the paymentMethod was created.

// Confirm the SetupIntent
const confirmedSetupIntent = await stripe.setupIntents.confirm\(
  setupIntentId, // ID of the SetupIntent to confirm
  {
    payment\_method\: paymentMethodId, // The payment method to attach
    mandate\_data\: {
      customer\_acceptance\: {
        type\: "online",
        online\: {
          ip\_address\: ipAddress, // IP address of the user
          user\_agent\: userAgent, // User agent \(browser/device\)
        },
      },
    },
  }
\)
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage

Question
We have Card, BNPL, Ideal & Bancontact, sepa debit payment methods enabled. If setupFutureUsage param in payment element options was set to off_session, BNPL payment methods (klarna,afterpay,affirm) are not displayed in Payment element. We want to save all payment methods except BNPL for off session future use. We want to know the right way to do that?

What have you already attempted?
We tried exploring the on_session, off_session on setupFutureUsage to understand the behaviour. Unable to find the way in docs for this

#

@shell path pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const elements = stripe.elements({
appearance: {
theme: 'flat',
variables: {
fontFamily: 'Montserrat, "Helvetica Neue", "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
}
})

Question
How to use custom font with Stripe Elements when they are in Stripe <iframe/> ?

What have you already attempted?
The font Montserrat is loaded on the HTML page.

cursive heronBOT
#

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

Question
Need help with api call for this end point. Customer is not getting created though i include customer_email attribute

/v1/checkout/sessions

Related Request ID(s)
NA

What have you already attempted?
I had tried with multiple attribute options but no help

What are you working on?
We are builing payment integration with Salesforce for a customer

#

@tawny olive pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I have created a Coupon and if I want as per that for single quantity I want to make payment free and for more than one quantity I want to apply 25 % discount

Related Event ID(s)
NA

What have you already attempted?
Payment Done and Coupon Created.

#

@white horizon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to get apple pay up and running however it keeps saying I have not registered the domain. When I check on the stripe dashboard it says it is registered.

Related Request ID(s)
req_i6Sh4aKW8FfUby

What have you already attempted?
I tried 2 different domains being registered and neither worked

cursive heronBOT
#

@drifting stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to use twint in my payments
i'm having an issue saving a payment method of type twint to a customer
`PaymentMethods of type 'twint' cannot be saved to customers.`
and also i'm having an issue when i create a payment intent and i pass the payment method of type twint
i can't get the next steps it's set to null and i get the status saying : requires_confirmation

Related Request ID(s)
req_YoaqK1HpI7Bb3O,req_IRTgtVWDdvFiTx

What have you already attempted?
I need help saving the payment method of type twint to that customer so i wouldn't be creating a new payment method each time
and i want the payment intent to provide me with the next steps so i can show the customer the qr code or redirect them in order for them to finish the payment

What are you working on?
adding twint to our system so our customers can make payments with it

#

@wise lantern pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
mode: 'setup', // Set the mode to 'setup'
customer: customerId, // Pass the customer ID for whom you're adding payment details
success_url: 'https://yourdomain.com/success',
cancel_url: 'https://yourdomain.com/cancel',
});

Question
How can we add a payment method and set it as the default through code?

What have you already attempted?
I have tried using the checkout session and set its mode to 'setup.' I can add payment details through it, but I am unable to set it as the default.

What are you working on?
upgrade & downgrade subscription

#

@indigo smelt pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await this.stripe.confirmPayment({
elements,
confirmParams: {
return_url: this.processPaymentUrlValue
}
})

Question
i use the payment intent api. when a payment fails i add customer_balance to the supported payment methods and card. choosing customer balance on the elements widget it does the confirm payment thing and opens up a popup with the bank transfer instructions.. is there a possibility to not open the popup and proceed to the return url? i would like to display the bank transfer details myself.

What have you already attempted?
looked at the documentation but didn't find anything

#

@proven pulsar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a clarifying question about the charge API (e.g https://api.stripe.com/v1/charges/[py_*,ch_*]).

When our end-users make a payment, the Stripe dashboard gives a 'charge.succeeded' event with a receipt_url with the prefix: https://pay.stripe.com/receipts/payment/.

After some time, the same API request returns a different receipt_url with the prefix: https://pay.stripe.com/receipts/invoices/.

Are both urls safe to pass to the user for their invoice? Is there a best practice around this?

Related Request ID(s)
evt_3Q8naBAmXqgZiZIf1KnF3jhd

What have you already attempted?
We use the first receipt_url in the payment webhook, but after some time our users will get an expired page.

What are you working on?
Enterprise travel platform

cursive heronBOT
#

@glacial glade pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What version of the API do I need to use to process MOTO payments (as per https://docs.stripe.com/terminal/features/mail-telephone-orders/payments)?

Related Request ID(s)
n/a

What have you already attempted?
Used the latest API via .Net SDK sending `"process_config[moto]"=true` as an extra param:

```
var readerProcessPaymentIntentOptions = new ReaderProcessPaymentIntentOptions { PaymentIntent = intent.Id };
if (moto) { readerProcessPaymentIntentOptions.ExtraParams.Add("process_config[moto]", true);
}

var reader = await readerService.ProcessPaymentIntentAsync(readerId, readerProcessPaymentIntentOptions, requestOptions);
```

#

@unborn glen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm getting the error "invalid_request_error
This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter." in request
req_WGkxjZapTMIz0X.

I want to create an invoice with sepa_debit payment method which i create for a customer with setupIntents.create.

My problem is that I don't know when to create or add a sepa mandate.

Related Request ID(s)
-

What have you already attempted?
A colleague adviced to create another setupIntent for the same user with a mandate, but this does not resolve it.

const setupIntent = await stripe.setupIntents.create\({
  customer\: stripeCustomer,
  payment\_method\: paymentMethodId,
  mandate\_data\: {
    customer\_acceptance\: {
      type\: "online",
      online\: {
        ip\_address\: ipAddress,
        user\_agent\: userAgent,
      },
    },
  },
  usage\: "off\_session",
cursive heronBOT
#

@random bear pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to immediately move funds from `pending` status to `available` status (Stripe balance account without automatic payout)?

Related Request ID(s)
none

What have you already attempted?
I simply tried, reading the documentation regarding the API, to use `charges` but saw that it is deprecated. However it didn't work, the money is initially in a `pending` state and therefore not usable.

What are you working on?
Marketplace app. In fact, I am trying to develop a marketplace where initially having an amount of money already available makes possible the reduced wait for payouts ( basically to zero if the money

cursive heronBOT
#

@south trellis pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a subscription where the payment failed but the subscription did not cancel. subscription sub_1Q2CRoBPM36OC3gX7tl5UBxs

Related Request ID(s)
NA

What have you already attempted?
nothing

What are you working on?
is this a bug on stripes side

#

@broken crater pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do I, as the platform with a connected account, receive an event when the connected account's customer funds their cash balance?

Related Event ID(s)
evt_1QD8fmLdJVNsLKhobBazB82X

What have you already attempted?
This event appears when I am logged in as the connected account, but I can't see any corresponding transaction event in the main account's event log.

#

@novel willow pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi. I have several express account. I m charging customer directly on my own account. Then, when some conditions are met, I have to pay the express account. I don't know what is the best pratices there. There is some options: 1. Make a transfer on the express acc, then he manually payout himslef to his bank account. 2. Make directly a payout to the bank account of the express account. 3. Make a transfer to the express account but he cannot do payout, I am the one who parameters payouts. Anyone have some advice please ? Depending on answers I have to create express account with more or less options

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

What are you working on?
Sending money to express account

cursive heronBOT
#

@wet gulch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
line_items: [
{
price: "price_1QAHy8L2wtzMQawZBNgGxIds",
quantity: 10,
},
],
customer: "cus_R5ISjVAbCEobDP",
mode: "payment",
payment_method_types: ["us_bank_account"],
saved_payment_method_options: {
payment_method_save: "enabled",
allow_redisplay_filters: ["always", "limited", "unspecified"],
},
success_url: `${refer

Question
I am creating a Checkout Session that only accepts ACH payments and redirecting to the `session.url`. I am passing the Customer which identifies the correct Customer in the Checkout Page but I don't get any of the existing Bank Account Payment Methods for the Customer. I always have to go through the Bank Account flow from scratch and a new Payment Method gets created for the Customer.

Is there a way to get verified bank account Payment Methods to show in a Checkout Session?

What have you already attempted?
- Multiple configurations in the Checkout Session Creation
- Testing with Cards instead of Bank Accounts which did populate the pre-existing Payment Method
- Different ways of connecting/verifying the account through the Checkout Session URL

What are you working on?
Checkout Session that accepts ACH only but can use existing Bank Account if it has already been verified for the Customer the session belongs to.

#

@north pagoda pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why does an invoice period Oct 1 - Nov 1 when the period is Sept 1 - Oct 1

Related Request ID(s)
none

What have you already attempted?
I read that this has something to do with the billing anchor but not sure.

#

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

Question
When I create a location for a Connect account under my Platform umbrella, that location does not show in the list of locations in the Stripe Terminal dashboard. Is this expected?

Related Request ID(s)
N/A

What have you already attempted?
We've validated that creating a terminal location in the platform account does show up in the dashboard.

What are you working on?
Terminal integration for medical offices

#

@pearl talon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do invoice.payment_failed get triggered also when the user's cards fail even if they are purchasing a membership for the first time?
I received this webhook when the key for the billing_reason in the payload:
"billing_reason":
"subscription_create",

This causes problems for my API because it marks the user as past due when they didn't even have a subscription yet.

How should I handle this? check whether it's a subscription_create billing reason and just void that event?

Related Request ID(s)
evt_1QCsss1bjIAkDbrBNbC31zAk

What have you already attempted?
Checked the response but I want to clarify.

What are you working on?
Dashboard to manage subscriptions to online service.

cursive heronBOT
#

@wanton egret pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When i create a direct payment of 100$ i expect to see 100$- stripe fees in the connected account

What actually happened?
i don't see any stripe fees in the connected account and in the platform account

Reproduction Steps
using python create a checkout sessions using stripe.checkout.Session.create don't define any payment_intent_data or any fee, add only the items and stripe_account=connected_account_id

Question
is it correct that from my dashboard and from the connected account express dashboard i don't see any fees on any payment?

What are you working on?
building a platform to help sports clubs renting their fields

cursive heronBOT
#

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

Code
stripe.createSource(paymentElement, { type: 'card' });

Question
Via Stripe.js: when attempting to create a Source with a PaymentElement, I receive the following error: `TypeError: (0 , e[n.element]) is not a function`

What have you already attempted?
- Generating Sources with card* elements seems to work fine, but we'd prefer to use the PaymentElement. I've tried creating the PaymentElement with _only_ the card Payment Method Type, but that does not appear to make a difference.

I've read your reference docs on StripeJS, Stripe Elements, and the React Stripe library.

What are you working on?
I'm working on a retrofit project which is deprecating my company's use of Stripe.js v2 and Sources, in favor of the new APIs

#

@uneven urchin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to know on the balance the amount that already entered into the customers bank account, on the documentation I already saw those two fields
available -> amount that is ready to withdrawl
pending -> amount pending to be withdrawl

but I need to know how much of the pending already entered on the customer account.

Related Request ID(s)
Documentation > Balance object

What have you already attempted?
Already tried to search on the documentation for possibles objects and attributed but got nothing

What are you working on?
Transparency of balance operation to the customer

#

@vocal wagon pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any possibility to make stripe auto renew charge 1 day before expiry? Our system works based on a 30 days fixed duration for month plans, but your system works on the idea of 18 September - 18 October which fails on our end due to the fact that some months have 31 or whatever.

Related Event ID(s)
Doesnt matter

What have you already attempted?
Tried bunch of edits and docs on ur end but nothing with proper success rate.

What are you working on?
Stripe auto renew for our services.

#

@digital latch pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want users to start a free trial of my application but during that free trial I want users to be gated from certain features.

After the user has started a free trial, and now wants to start the paid version of my app to unlock those features, how can I:

  1. Collect the payment from the user; can I use the current Stripe Checkout Session links to do that?

  2. Update the user's subscription from "trialing" to "paid".

I'm using the Ruby SDK.

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

https://docs.stripe.com/api/checkout/sessions/create

What are you working on?
A travel app that will have extra benefits for paying users

cursive heronBOT
#

@turbid locust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to preview an invoice for an user that is switching from a subscription to a lifetime plan. The lifetime plan is a single charge price_id. Is there a way to do this? To preview the subscription cancellation but with a new invoice item attached?

Related Request ID(s)
req_4fG0kC86dBLUA5

What have you already attempted?
I've tried using subscription details and or schedule options but they conflict with me trying to add an invoice item of the single charge price_id

What are you working on?
Course platform with both recurring and lifetime plan options

cursive heronBOT
#

@proven valley pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to select an integration. Here are my requirements. 1. I'm running an online digital product store, so I want to make sure products are fulfilled instantly. It's not acceptable to wait for a webhook to fulfill the purchase. 2. I have a lot of products; I don't want to have to define my products and line items with Stripe manually. I can't see how to get what I want. What can I do?

Related Request ID(s)
None

What have you already attempted?
Hosted Checkout and Payment Links both seem to want me to define products manually in the Dashboard. Payment Element seems to only offer webhook-based fulfillment.

What are you working on?
An online digital product store

cursive heronBOT
#

@maiden veldt pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
no puedo iniciar secion ami cuenta de stripe express por motivo que perdi el numero de celular y me pide verificacion me gustaria recuperarlo ya que mi cuenta de stripe esta vinculada ami canal de kick espero me puedan ayudar gracias por su tiempo y comprencion.

Question
no puedo iniciar secion ami cuenta de stripe express por motivo que perdi el numero de celular y me pide verificacion me gustaria recuperarlo ya que mi cuenta de stripe esta vinculada ami canal de kick espero me puedan ayudar gracias por su tiempo y comprencion.

What have you already attempted?
me intente contactar por correo pero me pedieron mi edentidad y todo y les pase y cumpli todo lo que me pidieron y luego me dijeron que me contactarian por mi numero para poder verificar y nada ya llevo 3 dias esperando espero ustedes me puedan ayudar gracias .

What are you working on?
soy estrimer de la plataforma kick trabajo con redes sociales

cursive heronBOT
#

@maiden veldt pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I can't log in to my Stripe Express account because I lost my cell phone number and it asks me for verification. I would like to recover it since my Stripe account is linked to my Kick channel. I hope you can help me. Thank you for your time and understanding.

Question
I can't log in to my Stripe Express account because I lost my cell phone number and it asks me for verification. I would like to recover it since my Stripe account is linked to my Kick channel. I hope you can help me. Thank you for your time and understanding.

What have you already attempted?
I tried to communicate by email and they asked me to verify my identity and a photo of my identity and I did it and they told me that they would not contact me, they asked me for a time and day, I sent them everything and until now I have been waiting for 3 days and nothing, I would like to be able to solve my problem, thank you for your time.

What are you working on?
kick influencer

#

@left jetty pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Subscription Metadata to be created for a user creating a subscription for the first time. I created a subscription using a checkout session and added Metadata to the SubscriptionDataOptions hoping to visualize the subscription metadata in the dashboard.

What actually happened?
The metadata was not present. Only after canceling the FIRST subscription created by a user, and then creating a second one, I can visualize and see the metadata that was sent using the exact same code.

Reproduction Steps

  1. Create a Customer
  2. Create a Checkout session where SubscriptionDataOptions is used to add metadata to the subscription
  3. After the checkout session is completed the susbcription should be visualized in the dashboard WITHOUT the metadata.
  4. Cancel that subscription and create another subscription for the exact same customer. Only then the metadata will be creat

Question
Is there a possibility that Stripe is limiting or postponing the time Metadata is created on a customer’s first subscription?

What are you working on?
SaaS for Real Estate owners with a subscription

cursive heronBOT
#

@weary crescent pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<Elements>
<AddressElement>
<PaymentElement>

Question

  1. Is it possible to enable auto tabbing between the inputs in the PaymentElement - specifically for cards, once the customer enters their card number can we auto tab to the expiration element?

  2. When a customer lands on the page can we start their cursor in the name input of AddressElement?

What have you already attempted?
It does not do this by default and there don't appear to be settings to configure this in the docs

cursive heronBOT
#

@acoustic cedar pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let paymentSheet = PaymentSheet(paymentIntentClientSecret: paymentIntentClientSecret, configuration: configuration)
paymentSheet.present(from: self) { paymentResult in

}

Question
Does it validate card info when displaying the PaymentSheet?
If not, I have CustomerSheet for customer to edit / select payment method option, so is there a new way to finish payment with selected payment method option without using PaymentSheet. Btw I'm migrating from Legacy Basic Integration.

What have you already attempted?
N/A

#

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

Code
import { NextApiRequest, NextApiResponse } from 'next';
import Stripe from 'stripe';

const stripeTestSecret: string | undefined = process.env.STRIPE_SECRET;

if (!stripeTestSecret) {
throw new Error(`Stripe test secret is not defined.`);
}

const stripe = new Stripe(stripeTestSecret);

export default async function handler(req: NextApiRequest, res: NextApiResponse) {
if (req.method !== 'POST') {
res.setHeader('Allow', ['POST']);
return res.status(405).end(`Method

Question
I have just changed my app to live mode and made a purchise to test the system, it was the first purchise on live mode on my stripe account. The checkout was created and everything worked fine, after that, I've created a new account and tried again, when generating the checkout session I get this error now: Error creating checkout session: Error: Your account cannot currently make live charges.

What have you already attempted?
I have tried different products and different prices, I get the same error, making the same process as before.

What are you working on?
On a mobile app that has a remote checkout on a website with checkout session API.

cursive heronBOT
#

@buoyant bison pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi - We are building a marketplace on Sharetribe, which is utilizing the integration with Stripe Connect. How is tax calculated? Is Stripe Tax capabilities available?

Related Request ID(s)
N/A

What have you already attempted?
N/A - informational, looking for guidance

What are you working on?
For context, we are offering a sharetribe-based marketplace with buy online and pick up at the seller’s brick and mortar store. We need to calculate tax based on the location of the seller’s store.

cursive heronBOT
#

@limber needle pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When a user buys a subscription for a monthly package which has a 2 day trial, is there an invoice for Β£0 for 2 days and a follow-up invoice for the month after that? When subscribing to a monthly plan with a trial period is the invoice.payment_succeeded event fired at the time of the subscription starting or is it only fired when the first charge has actually been made 2 days after the tiral?

Related Event ID(s)
invoice.payment_succeeded

What have you already attempted?
Testing with and without a trial.

What are you working on?
SaaS with monthly and a weekly packages

cursive heronBOT
cursive heronBOT
#

@ashen flame pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const handleConnectBluetoothReader = async (reader: Reader.Type) => {
setConnectingReader(reader);

const { reader\: connectedReader, error } = await connectBluetoothReader\({
  reader,
  locationId\: location!,
  autoReconnectOnUnexpectedDisconnect\: false,
}\);

if \(error\) {
  console.log\('connectBluetoothReader error\:', error\);
} else {
  console.log\('Reader connected successfully', connectedReader\);
}
return { error };

};

Question
I am getting an 'InvalidLocationIDParameter' error when trying to pair with a M2 reader. I have the location set up in my dashboard, what am I doing wrong?

What have you already attempted?
I've tried setting the location on the create token and not, I'm not sure which way is right. Also, how close do I have to be to the address? I am testing at my home a few miles away. Is that it?

What are you working on?
I am building an app that sells tickets to live events using Terminal and Stripe Connect.

cursive heronBOT
#

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

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

Question
We have Card, BNPL, Ideal & Bancontact, sepa debit payment methods enabled. If setupFutureUsage param in payment element options was set to off_session, BNPL payment methods (klarna,afterpay,affirm) are not displayed in Payment element. We want to save all payment methods except BNPL for off session future use. We want to know the right way to do that?

What have you already attempted?
I already reached out to discord for this issue. And they said to set payment_method_options.card.setup_future_usage to off_session. But we use Element object, not checkout session.

cursive heronBOT
#

@tawny zenith pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Saving payment method for future use with invoice:

const initialInvoice = await stripe.invoices.create({
customer: customerId,
}, { stripeAccount: stripeAccount.stripeId });
const invoice = await stripe.invoices.finalizeInvoice(initialInvoice.id, { stripeAccount: stripeAccount.stripeId });
const pi = await stripe.paymentIntents.retrieve(invoice.payment_intent as string, { expand: ['payment_method'] }, { stripeAccount: stripeAccount.stripeId });
const clientSecret = pi.client_secret;

Related Request ID(s)
NA

What have you already attempted?
Use it with PaymentElement but not sure how to get it to save the payment method for future use

#

@wise lantern pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Create a customer in Stripe
const customer = await stripe.customers.create({
email: userEmail
});

// Subscribe customer to the Basic Plan
const subscription = await stripe.subscriptions.create({
customer: customer.id,
items: [{ price: PRICE_ID }]
});

Question
How can i create stripe hosted checkout page for updating subscription?

What have you already attempted?
created a customer in stripe and assigned a basic plan manually through code. now i want upgrade the subscription through stripe hosted checkout page.

NOTE :- I don't want to use customer portal to manage plans

What are you working on?
upgrade & downgrade subscription

cursive heronBOT
#

@gaunt urchin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does this whmcs stripe module perform authorization when adding a card or making a payment?
https://docs.whmcs.com/payments/payment-gateway-modules/stripe/

Related Request ID(s)
none

What have you already attempted?
I tested a payment in a test environment, but I wasn't sure if it was authorized, so I asked.

What are you working on?
I want to know if the whmcs stiripe module is processing authorization or not.

cursive heronBOT
#

@velvet mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I create a trial subscription fine but when i try and add an item while still in trial mode i get an "invalid_request_error" error.

Related Request ID(s)
req_otapE4MiIQ8Py4

What have you already attempted?
i use the following process to create a trial sub:
$response = $stripe->subscriptions->create([
'customer' => $customer_id,
'items' => $line_items,
'trial_period_days' => $sale['trial_period_days'],
'payment_behavior' => 'default_incomplete',
'payment_settings' => ['save_default_payment_method' => 'on_subscription'],
'expand' => ['pending_setup_intent']
]);
$status['clientSecret'] = $response->pending_setup_intent->client_secret;

What are you working on?
braintree to stripe migration

cursive heronBOT
#

@gentle flint pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The generated_sepa_debit is null for the payment intent created for iDeal payment method. Earlier it showed the sepa debit payment method id but now it's showing null. So my future payments are failing.

Related Request ID(s)
payment intent id - pi_3QD6sLF4niufLwn40sLqOT0H

What have you already attempted?
The code I'm using to retrieve generated_sepa_debit is - $payment_intent->latest_charge->payment_method_details->$payment_method_type->generated_sepa_debit

What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.

cursive heronBOT
#

@pure gate pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using Stripe tax and are building a auto refund flow with Stripe SDK. According to the docs, we need to apply `POST /tax/transactions/create_reversal` API to partially refund the tax amount as well. With the API, `original_transaction` is needed, but I do not know where can I get such value.

Related Request ID(s)
N/A

What have you already attempted?

  1. Read tax transaction API doc (https://docs.stripe.com/api/tax/transactions?lang=node), but there is no API to get all tax transactions.
  2. Also search `tax_` in API docs page, can not find a way to get tax transaction ID.
cursive heronBOT
#

@eager sphinx pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
useEffect(() => {
const fetchData = async () => {
await fetchStripePromise()
}
fetchData()

const createIntent = async \(\) =\> {
  await handleCreateSubscription\(\)
}

if \(team && team.email\) {
  createIntent\(\)
}

}, [])

Question
Hey there. I'm just wondering two things:

1) Every time that a user opens the payment model, should I be creating a new subscription?

If they keep opening an closing the model then loads of subscriptions will be created. Is this normal?

2) Should I be tracking the price of the subscription in a draft state and update at the end? Or be consistently using the price from the latest_invoice in the subscription data and updating it everyitme the user makes a change/api call?

What have you already attempted?
Reading lots of docs - for days! I just need confirmation please.

What are you working on?
https://monomize.com

cursive heronBOT
#

@fierce mortar pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We've got a page that uses the stripe web element to take card details. Once the card details have been processed, our frontend receives a link to the "successful" page. This link includes the payment intent ID and the payment_intent_client_secret, both visible to the end user. Is this safe? Should we be hiding at least the secret?

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

What are you working on?
A class booking process.

cursive heronBOT
#

@molten radish pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a working stripe-hosted solution on web already. In the React Native app we use this in a webview currently.
arenaclub.com
We want to implement it natively on mobile.
Currently our APIs provide us with a stripe checkout url to navigate to when the user wants to go ahead and pay.
Can we use this url in when implementing native stripe? What’s the best/simplest way to proceed for React Native?
Url e.g.
https://checkout.stripe.com/c/pay/cs_test_b1fZ.... etc

Doc/Guide Links
https://docs.stripe.com/sdks/react-native
https://docs.stripe.com/payments/accept-a-payment?platform=react-native&locale=en-GB#react-native-customization

What are you working on?
Trading card app that allows card purchases

#

@runic pilot pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When setting different spending controls for Cardholders (allowed_categories:["transportation_services"]) and Cards (allowed_categories:["grocery_stores_supermarkets"]), I was expecting authorisations with a "grocery_stores_supermarkets" category to succeed

What actually happened?
The auth was declined. I expected cardholder + card spending limits to "add up".

Reproduction Steps
Here's my code: https://gist.github.com/dominiklessel/2abe455854bcbfc7d2e61560dd088abd

Question
Is this expected? Are there any docs on this? Also how can I get the decline reason? I can see it in the Dashboard not when I retrieve the authorization via the API.

cursive heronBOT
#

@serene drum pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Showing payment elements for a subscription should show infos about subscription details (price etc.)

What actually happened?
There is just the selection of payments

Reproduction Steps
I followed this documentation: https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements

Question
I am using Go for the backend and Svelte for the frontend. I create a subscription with the following code:

cursive heronBOT
#

@potent aurora pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I wanted to resume a subscription, but then an error appeared with the message even though the subscription is created with payment_behavior: default_incomplete:

You cannot set `payment_behavior` to `pending_if_incomplete` when the default payment method is `sepa_debit`.

Related Request ID(s)
req_V2lEP4lCnSXMFU

What have you already attempted?
.

What are you working on?
SaaS

#

@rocky sable pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$customer = $stripe->customers->create([
'email' => $user->email,
'name' => $user->fname . ' ' . $user->lname,
'description' => $description,
'source' => $tokenId,
]);

Question
why should not create customer? the stripe developer logs shows 403 error

What have you already attempted?
{
"error": {
"message":
"We're sorry, but we're unable to serve your request.",
"request_log_url":
"https://dashboard.stripe.com/test/logs/req_8A4hThJevpvupq?t=1729757300",
"type":
"invalid_request_error",
},
}

What are you working on?
create customer for payment from php project

cursive heronBOT
#

@noble loom pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question

  1. Is it possible to migrate saved payment methods to work with Payment Element + customer session?
  2. How can I display saved payment methods which were saved in Payment Element?

Related Request ID(s)
Dashboard > Customers

What have you already attempted?
I only started migrating to Payment Element
https://docs.stripe.com/payments/payment-element/migration

What are you working on?
Payment processing

cursive heronBOT
#

@cedar furnace pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I am trying to set a Price on a Product where the price is "One-Off" and I want "Package Pricing" as my pricing model. I am unable to find a way to achieve that using the .NET Stripe API

Related Request ID(s)
N/A

What have you already attempted?
I have gone through this but couldn't figure out what to do- https://docs.stripe.com/products-prices/pricing-models#package-standard-pricing

What are you working on?
Working on setting up a Product with "One-Off" price where I can have ability to set per-unit amount, Just like we can using "Package Pricing" in GUI

#

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

Question
What is the best way to test this solution? I don't know what reflects production environment more sandbox or test mode?

Doc/Guide Links
https://docs.stripe.com/billing/testing?locale=en-GB&dashboard-or-api=api

What are you working on?
I am working on an application with one platform account multiple connected accounts and subscriptions. Customers will subscribe to connected accounts, payments will be collected via direct debit.

#

@cold forge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to create a checkout session, that includes a digital subscription that is paired with a physical product. When adding the shipping rates, I get the error that " `shipping_rates` cannot be used in setup or subscription mode." How should I proceed?

Related Request ID(s)
N/A

What have you already attempted?
I have read the Session and Shipping Rates Documentation aswell as How Prices work

What are you working on?
I'm building a checkout system for a Saas Platform

cursive heronBOT
#

@tepid lance pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
what are the features/functions of stripe connect, as it has multiple options

Related Request ID(s)
no related ids

What have you already attempted?
we have created the stripe account for a user on our platform, now we need to know further kyc functionality through the api

What are you working on?
car selling web app

cursive heronBOT
#

@distant sun pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why are cards getting saved when the 'save my details' checkbox isn't checked?

Related Request ID(s)
n/a

What have you already attempted?
On web, when I make a payment and don't enable the 'save my details' checkbox, the payment method shows up for the user on our native app regardless. It does not display as a saved card on web. This is unexpected behaviour as per your docs:

'When confirming the PaymentIntent, Stripe.js automatically controls setting setup_future_usage on the PaymentIntent and allow_redisplay on the PaymentMethod, depending on whether the customer checked the box to save their payment details.'

What are you working on?
Fixing the aforementioned issue

#

@frosty coyote pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to receive line items from a payment intent id, via the API? I am trying to use the payment_intent.succeeded event, to then look into the line items and eventual fire off email receipts (note the stripe email receipts don't meet our requirements due to connect issues and the inability to test in test mode).

Related Request ID(s)
N/A

What have you already attempted?
I've been looking through the docs and through the postman workspace. I can't seem to find a way to retrieve the line items with a payment intent.

cursive heronBOT
#

@fierce sphinx pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to have a negative amount invoice line item or a credit note which is linked to a product ?

Related Request ID(s)
Nfjdj

What have you already attempted?
Jdjdj

What are you working on?
Jdjdj

#

@sly brook pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello How Can I know if payment was created with Link method or only card was attached?

Related Request ID(s)

What have you already attempted?
I Dont Have payment intent or payment method saved in my database As Far as I know there is different fee for normal payments a Link Payments. How can i know if customer used Link for payment ? Having only subscription id or checkout session id?

#

@amber folio pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My question is: When a customer registers their SEPA mandate as a payment method, does this SEPA mandate need to be issued for each connected account where the user makes an order, or is it sufficient if the customer has one mandate?

Related Request ID(s)
in_1QD7oDH4lFm8CIFnxgGKxDSv

What have you already attempted?
I have a situation where I initially created a SetupIntent for a user to save a SEPA Direct Debit payment method, but the on_behalf_of parameter was not set for the connected account (the service provider). Now, when attempting to pay an invoice for the service provider using the user’s payment method, I encountered issues with the mandate. We are receiving an error indicating that the "on_behalf_" function does not match.

What are you working on?
Integrating SEPA as a payment method

#

@sand kiln pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
private fun processToPayment(payment: com.tiwuapp.tiwu.api.response.delivery.PaymentResponseDto) {
paymentIntentClientSecret = payment.token
customerConfig = PaymentSheet.CustomerConfiguration(
id = payment.customerId,
ephemeralKeySecret = payment.ephemeralKey
)

    PaymentConfiguration.init\(this, payment.publicKey\)
    presentPaymentSheet\(paymentSheet, customerConfig, paymentIntentClientSecret\)
}

private f

Question
I am providing the customer id through backend and the frontend receives. But when I check in dashboard, i cannot see the customer related to the payment. On payment there is "None" as customer. Also when I check the customer page on the dashboard, i cannot see any transactions of the customer... Also, when the user "save" the payment method in android, nothing happened

What have you already attempted?
Checked official documentation: https://docs.stripe.com/payments/accept-a-payment?platform=android&ui=payment-sheet&lang=java#android-collect-payment-details

cursive heronBOT
#

@dapper relic pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there!
I am building an integration that will facilitate setting up a subscription between a customer and a merchant using Stripe Connect. We wish to use API onboarding with no dashboard, but either with Direct Charges or Destination with OBO - (We want the customer to see the merchant branding). However, some Stripe documentation indicates this is not possible or recommended. Is this the case?

Related Request ID(s)
N/A

What have you already attempted?
I've read through various docs - and I've seen conflicting information. A flow chart provided to my company suggests it's not doable / recommended, the "design an integration page" states it is possible, and other guidance seems to suggest that it's not doable with direct charges - just destination with OBO. Would love some clarification!

What are you working on?
A B2B2C where we faciliate setting up a subscription plan for customers, so that they can access services provided by the merchant at a discounted rate.

cursive heronBOT
#

@uneven scaffold pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there! I am building a hierarchical integration with 4 level of hierarchy. Platform, Client, Branch and User. I provide an interface where Platform can create packages which clients can subscribe to. Similarly, Clients can create their own packages which Branches can subscribe to. Branches in turn also create their own package which end users subscribe to. Payments flows from end user to branch, branch to client and client to platform in the hierarchical fashion.

Related Request ID(s)
N/A

What have you already attempted?
I have tried to use Stripe connect and create connected accounts for client and branch in the main platform account. But, with this approach, client and branch has to go through stripe onboarding and branch should also connect to platform account which means branch will know the platform exists and is not desirable due to whitelabelling. I also tried to create custom account type but this is too complex as multiple factors needs to be considered and regulations are different per country.

What are you working on?
Implementing hierarchical integration with 4 levels with complete whitelabeling of the platform

#

@dusky jasper pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are experiencing a new behaviour in our payment elements, when we run our end to end tests, we see a new UI that we are unable to identify in our local machines, it's just rendering on the virtual machines we run our tests. any idea why it might be? and how can we potentially disable this modal until we move to the new checkout elements?

Related Request ID(s)
I'm not sure if I can provide this since it's an element in the DOM

What have you already attempted?
We tried running the same flow in our development machines but we're unable to identify this new modal, we're not sure what other alternatives we could try

What are you working on?
Payment flow

#

@vital geyser pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I want to be able to checkout without creating a Link account

What actually happened?
The payment element forces to provide a mobile number to create a Link account

Reproduction Steps
Create a payment element with both saved payment methods (through CustomerSession) and Link (through LinkAuthenticationElement)
When going through the payment process, select the checkbox to save payment methods, but leave the Link phone number box empty.

On some countries (i.e. Italy, Ireland) it lets you checkout fine. In USA it forces to insert phone for Link

Question
How we allow USA customers that don't want to create a Link account, to checkout on our site?

What are you working on?
I'm working on the checkout page for www.qwertee.com integrating Stripe payment element in our React site.

#

@spiral anchor pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Create a Stripe Connect account using API.

What actually happened?
I got an error from the API saying
"The recipient ToS agreement is not supported for platforms in GR creating accounts in GR. See https://stripe.com/docs/connect/cross-border-payouts for more details."

Reproduction Steps
use Stripe PHP package to create a client and then call the accounts create method with the following parameters (which is working for for other countries based Stripe accounts)

$account = $stripeClient->accounts->create([
'type' => 'express',
'email' => ...,
'country' => 'GR',
'capabilities' => [...],
'tos_acceptance' => [...],
]);

Question
How is it possible that I cannot create GR Connect Express accounts on a Greek Stripe account for a Greek company?

What are you working on?
Booking platform

#

@ashen flame pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const handleConnectBluetoothReader = async (reader: Reader.Type) => {
setConnectingReader(reader);

const { reader\: connectedReader, error } = await connectBluetoothReader\({
  reader,
  locationId\: location!,
  autoReconnectOnUnexpectedDisconnect\: false,
}\);

if \(error\) {
  console.log\('connectBluetoothReader error\:', error\);
} else {
  console.log\('Reader connected successfully', connectedReader\);
}
return { error };

};

Question
I am getting a ConnectionTokenProvider-CompletedWithError message.

What have you already attempted?
Was working with support last night, created a new location on the account in question. Account ID is acct_1MLtmlR8EvBMqb53 and location is tml_FxcNbgV2nZyg4x

What are you working on?
I am building a ticketing app for live events

#

@hexed harness pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Hello, when chatting with the Stripe Support, i was supposed to send a video of my behviour

What actually happened?
It seems that sending a video through the chat, or any file, makes the support chat window fail.

Reproduction Steps
It seems that sending a video through the chat, or any file, makes the support chat window fail.

Question
Just a feedback on the website integration.

cursive heronBOT
cursive heronBOT
#

@tender vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to allow users to adjust their quantity in the yearly plan and charge them immediately, but charge the changes in the upcoming invoice if they're on a monthly plan. Additionally, users should have the flexibility to switch between plan types.

Is it possible to create proration rules for specific plan changes for users using Stripe Customer portal?

Related Request ID(s)
-

What have you already attempted?
Proration settings in subscription and settings in Customer Portal -> Billing.

#

@glad nimbus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Which API or object does stripe recommended to get the plans interval and next plan occurring date with its price?

Related Request ID(s)
.

What have you already attempted?
I tried to use plans object and current_period_end date but that is not working so which API I should use here?

#

@dapper relic pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having difficulty testing emails in sandbox. I am using an email address that exists as a team member, which according to these docs (https://docs.stripe.com/billing/revenue-recovery/customer-emails?locale=en-GB) should work.

Are emails supported at all in sandbox mode?

Are there any differences between Sandbox & Test Mode?

Doc/Guide Links
https://docs.stripe.com/test-mode?locale=en-GB
https://docs.stripe.com/sandboxes
https://docs.stripe.com/billing/revenue-recovery/customer-emails?locale=en-GB

What are you working on?
Testing customer flows - setting up a direct debit subscription.

#

@proper hornet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe element does not display all the enable payment methods.

I have a customer with a french address, SEPA debits are enabled and yet, I cannot see them on the payment element, why is that ?

Related Request ID(s)
none

What have you already attempted?

  1. Enable sepa debits
  2. Create a customer with a FR address : https://dashboard.stripe.com/test/customers/cus_R5cF2N5U3PkP1E
  3. Check the stripe element on the Front end, only card element is displayed.

What are you working on?
Enabling SEPA debits for eur-account having customers

cursive heronBOT
#

@balmy yacht pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Are there any best practices along preventing a script that iterates through credit cards? We have malicious users attempting small charges on thousands of cards to attempt to find valid cards. Stripe Radar has done a good job blocking most of these, and we have rate limiting in effect, but that just slows down the attempts.

Doc/Guide Links
https://docs.stripe.com/radar/rules

What are you working on?
We have a donation platform that allows donation charges, but scripters are using our site to find valid cards

cursive heronBOT
#

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

What did you expect to happen?
Hello I am trying to test a subscription payment with bacs direct debit but the test mode data is not producing the desired behaviour. I was expecting payment_intent to change status from processing to requires_payment_method.

What actually happened?
The status changed from processing to payment_failed

Reproduction Steps
Using Stripe Connect, create a platform account, create a connected account,
create product,
price and everything needed to create a subscription, create a test subscription - payment method direct debit, use sort code and account number 108800 33333335

Question
How do I produce the flow of events described in the documentation.

What are you working on?
Trying to test a subscription payment retires via direct debit.

#

@ashen flame pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if (orderData?.clientSecret && orderData.clientSecret.id) {
console.log("Payment Intent ID: ", orderData.clientSecret.id);
const { paymentIntent, error } = await collectPaymentMethod({ paymentIntent: orderData.clientSecret.id, skipTipping: true });
if (error) console.log("error", error);
else console.log("success", paymentIntent);
}

Question
I need some help troubleshooting. I have a paired M2 reader in my app and I am trying to process a test payment. My API returns a payment intent, but I get an error message saying "The PaymentIntent is missing sdkUuid field." Do I need to add something in on the server side when I create the payment intent? I don't see that field in the docs.

What have you already attempted?
I tried passing in the payment intent ID and the client secret version before realizing it wanted the full object.

cursive heronBOT
#

@sick gorge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why is it that this payment intent had 3 requests for a confirm, where the first 2 failed due to a Radar rule to block the payment on zip code failing, and the 3rd one succeeded, however, the first and third attempts had the SAME address info (including zip code)? What went wrong with the validation here, particularly on the first attempt? Am I missing something?

Related Request ID(s)
pi_3QD2QGB4R1ZdOkx00AK8u4Nb

What have you already attempted?
Looked at the history of the payment intent.

What are you working on?
Helping users have less zip code blocks

#

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

Code
Stripe.addBetaVersion("checkout_server_update_beta", "v1")
Stripe.apiKey = config.apiKey

Question
I am receiving a `java.lang.RuntimeException: Stripe version header 2024-09-30.acac` when initialising the stripe checkout.
Even though I initialise my Stripe as described above. The crazy thing is that it _sometimes_ works.

What have you already attempted?
I have tried bumping my stripe-java deps to the latest beta via `27.2.0-beta.3` . And also setting the latest beta version via `Stripe.addBetaVersion("checkout_server_update_beta", "v4")`

#

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

Question
Hello,
We are creating customer invoices though API.

The invoice hosted page doesn't contain billing address on the payment element.
Is there is any way on how to "tell" invoice hosted page to render additional address fields on card element?

Related Request ID(s)
in_1QDTH7AZsVWZrzM8pw7vsrDY

What have you already attempted?
Digging around API and Dashboard documentation.

What are you working on?
We are building invoice/payment automation for our customers.

#

@tawny wasp pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
created payment method using "createPlatformPayPaymentMethod" in react native stripe API with Apple Pay & with Stripe account in test mode.. created payment method, doesn't contain fingerprint in card details.. In my application, I was relying on fingerprint to correlate all payments made with same payment method.. Any idea why fingerprint is not filled in above case?

Related Request ID(s)
req_pV2v4CzfdzVqtR

What have you already attempted?
Snippet from payment methods API documentation.. based on this I was expecting tokenized number in fingerprint

"card.fingerprint
nullable string
Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number."

cursive heronBOT
#

@astral owl pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible in stripe connect to create a subscription schedule for a connected account customer? If so, what syntax for php? I can see the correct information in the api docs but it does not state how you reference another account_id (for the conected account).

Related Request ID(s)
n/a

What have you already attempted?
``` $stripe->subscriptionSchedules->create([
'customer' => $customer->stripe_customer_id,
'start_date' => 'now',
'end_behavior' => $product->schedule->end_behaviour,
'phases' => $phases.
['stripe_account' => 'acct_1O4mLkKCc0YxVqNU']
]);```

#

@drifting stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a platform account with many clients connect express accounts and i want to create webhooks for each connected account why is that not possible since each client of mine has a different website

Related Request ID(s)
req_Nx8fx6wWC5hLCB

What have you already attempted?
I'm trying to find a solution so each connected account which represents my client gets his own webhook to his own website endpoint

cursive heronBOT
#

@somber lion pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We began the process to set up the Stripe Connect product within the account for rev sharing purposes, but we are confused on how it will handle the rev share by SKU/item purchased on our Squarespace website. As a first step, should I link Stripe to Squarespace as I do for other ticketing/events related Stripe Accounts (screenshot below) and then handle the rev sharing component Stripe?
FYI, we selected the no-code option for Stripe Connect as we do not want to handle this via API

Related Request ID(s)
n/a

What have you already attempted?
We began the process to set up the Stripe Connect product within the account, but we are confused on how it will handle the rev share by SKU/item purchased on our Squarespace website.

What are you working on?
Stripe Connect for Rev Sharing

#

@merry echo pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am incrementing the quantity of an item on the update subscription entity, but the upcoming invoice does not match what I would expect.

Related Request ID(s)
Subscriptions > Update a subscription

What have you already attempted?
I have read the Stripe API documentation, and am using the TS SDK. I am passing in just itemId and quantity

What are you working on?
SAAS fintech application

cursive heronBOT
#

@tawdry ginkgo pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is the Stripe Crypto Onramp product available in NY state for USDC (BASE)?

Related Request ID(s)
No request ID yet

What have you already attempted?
I see online that on-ramping for certain currencies such as USDC (Polygon) and USDC (Solana) are not available in NY state due to state regulations, but I didn't see any restrictions with regards to on-ramping to USDC on BASE

Does the current Stripe crypto on-ramp offering support USD -> USDC (BASE) onboarding in NY state specifically?

Please make sure to check deeply as this specific restriction has been repeatedly overlooked by other on-ramp providers and have cost us significant development time. I've checked everywhere in the documentation and don't see a supported regions page.

What are you working on?
A social networking platform that facilitates word of mouth introductions for gigs

cursive heronBOT
#

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

Code
I have an api with a PaymentsController that returns the session url created by the SessionService; this is returned to a Blazor Webassembly.

Question
When the Blazor Webassembly app navigates to the url, the subscription page appears correctly but only briefly; then an exception appears

What have you already attempted?
the same code was working correctly in Stripe.Net (41.1.0) before

What are you working on?
a Software As A Service suit of apps that requires a user subscription

#

@hushed dragon pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Two related questions:
What are the different values for `pause_collection.behavior` when updating a subscription? (`keep_as_draft`, `mark_uncollectible`, and `void` - what should I provide if I just want to say "the user did something in my application that grants him 1 month or X [time-periods] of free access to premium features" ?)
Also, if a user redeems a bunch of free-time in the middle of the current billing-period, how is the billing handled? How does the pausing work?

Doc/Guide Links
Reading this: https://docs.stripe.com/api/subscriptions/update#update_subscription-pause_collection

What are you working on?
Pausing subs for customers. I'm handling code redemption and subscription pausing outside of Stripe.

cursive heronBOT
#

@gaunt delta pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My company charges application fees of 1% on top of Stripe fees. We are about to see an influx of migrations to our software, from a competitor who also charges application fees. The subscriptions will remain intact, but we need to start charging our own application fees on transactions post-migration and ensure that the application fees from the previous vendor are removed from the subscriptions in Stripe. How do we handle this?

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

What are you working on?
Outseta.com

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/integration/workflow-transitions?locale=en-GB

Question
Is there a similar page for other objects? Specifically the Customer object and the Subscription object.

What have you already attempted?
Googling :-)

What are you working on?
I'm just trying to design the onboarding process for a SaaS application and it probably makes sense to align SaaS Statuses to Stripe Statuses for ease of managing the logic.

cursive heronBOT
#

@brisk goblet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happen to the future payments of a subscription once the phases of its subscription_schedule have all been completed (provided that its end_behavior="release")? Will these payments be collected?

Related Request ID(s)
Api / developers / subscription_schedule

What have you already attempted?
Nothing

What are you working on?
A prototype payment module for our web application

#

@carmine axle pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am expecting to get `amount` reflected in Apple Pay window as a Total

What actually happened?
Instead I am getting `Amount Pending` text

Reproduction Steps
- Use Payment Elements to create an element
- Try to purchase something with SetupIntents

Question
How can I get amount to be reflected in the Apple Pay window. I've read the docs and searched through other resources but nothing solid came up. I am using SetupIntents, collect card information, create and auth a transaction in backend on-session then _charge_ off session via a job

cursive heronBOT
#

@paper glen pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
SessionsResource.d.ts lacks have terms_of_service_acceptance like doc says

interface CustomText {
/**
* Custom text that should be displayed alongside shipping address collection.
*/
shipping_address?: Stripe.Emptyable<CustomText.ShippingAddress>;

      /\*\*
       \* Custom text that should be displayed alongside the payment confirmation button.
       \*/
      submit?\: Stripe.Emptyable<CustomText.Submit\>;
    }

Question
We have 2 products we support checkouts for and want them each to have their own unique terms of services. It seems like on the stripe dashboard you can only show one. The stripe documentation indicates you can provide a custom ToS in the stripe checkout session API. However typescript says this is not possible.
https://docs.stripe.com/payments/checkout/customization/policies?payment-ui=stripe-hosted&lang=node#collect-a-terms-of-service-agreement

What have you already attempted?
I have tried upgrading my stripe verion.

What are you working on?
Adding different terms of service to different checkouts

#

@turbid viper pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am calling this API https://docs.stripe.com/api/charges/list for charges in the last 24 hours. I should be seeing refunds ie records where `amount_refunded` is populated, but they are not being included in the data returned.

Related Request ID(s)
N/A

What have you already attempted?
Fetching data from the API for a date range where a refund happened

What are you working on?
Proxy API for our PAAS solution

#

@pure panther pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"description": "Subscription creation",

Question
since this is a payment coming from kajabi check out pages, i'd like for the description to have the offer name. In some instances, the description just says "subscription creation". How can i make sure that the custom field "offer name" or "offer id" are reflected in the description field of the stripe transaction ?

What have you already attempted?
no

What are you working on?
I want to integrate stripe transactions to clickup to create a sales dashboard

cursive heronBOT
#

@limber niche pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to pull new subscription (successfully paid) to be triggered and sent to the crm or sheets but I do not see new subscription triggered on zapier.

Related Event ID(s)
unsure

What have you already attempted?
tried a lot of triggers - cant find the proper one

What are you working on?
I need to pull new subscription (successfully paid) to be triggered and sent to the crm or sheets but I do not see new subscription triggered on zapier.

cursive heronBOT
cursive heronBOT
#

@brave citrus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why sometimes attempting to retrieve a subscription with a valid id fails and sometimes it works?

We got this error:
Could not determine which URL to request: Subscription instance has invalid ID: <Subscription subscription id=sub_1P82DPBQa0JUCpZ6D2GxCrk6 at 0x7f96c1dca6f0>

At Oct 23 00:18:49 we got an error
At Oct 22 02:23:26 the successfully retrieved the record

Same stripe key was used in both instances

Related Request ID(s)
Account: acct_1O5YruBQa0JUCpZ6, subscription: sub_1P82DPBQa0JUCpZ6D2GxCrk6, invoice: in_1QCNRSBQa0JUCpZ6CkYSQ7TB

What have you already attempted?
Retried

What are you working on?
Salesforce integration

#

@devout drift pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create(
{
line_items: lineItems,
mode: "subscription",
// Cannot pass payment intent data in subscription mode
payment_intent_data: {
capture_method: "manual",
},
// Could start the user on a trial for the subscription and then charge them when processing
subscription_data: {
trial_period_days: 1,
},
},
{ stripeAccount: connectedAccountId }
)

Question
I am creating a checkout session that could be a mixed cart (with a subscription and a product), but want to collect payment AFTER the checkout session has been completed. Reason being is that I want to run some validation after the checkout session, and if the validation succeeds THEN process the payments. Since if the validation fails I do not want to collect payment.

What have you already attempted?
I know with `mode: "payment"` i can set the capture method to manual and then process the payments after, which works well, but cannot find the same thing for subscriptions. I was hoping that there was some `subscription_data: { invoice_settings: { issue_method: "manual" } }` but could not find anything like that. It would be nice if i could issue the invoice for the subscription (collect the first payment) whenever i have run my validation after the payment succeeds

What are you working on?
A mixed cart where a user needs to buy a subscription and a product at the same time

cursive heronBOT
#

@pure gate pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The automatic retry mechanism of WebHooks, for example, if the first attempt at a certain event fails, how long will it take before the second and third attempts?

Related Event ID(s)
N/A

What have you already attempted?
Read webhook docs (https://docs.stripe.com/webhooks#retries)

What are you working on?
Built our own SaaS platform and use Stripe SDK to integrate payment

#

@sweet stump pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
print(β€œim so sorry I can’t contact $upp0rt because I don’t have an account\ni keep getting text message verification codes despite not having an account. Someone is repeatedly inputting my number”)

Question
Can I please grab an email to reach out to I don’t have an account

What have you already attempted?
Contacting via website as it requires login

What are you working on?
Making it go away

cursive heronBOT
#

@vernal prairie pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I ma creating stripe connected account with stripe.accounts.create and then after creating accountLink from this . But whenever I am creating login link and in that I am login to the created stripe account. But my issue is that in the login ui of connected account there is button of create new business if the customer is creating connected account from that button the account is crated but my db has no entry for this. How can my DB know there is account created. Please manage this.

Related Request ID(s)
na

What have you already attempted?
I have created connected account and that time I am adding that entry in db. But when I am going there from login link and clicking that create new business button I am not able to take that account entry in db. How can I manage this.

cursive heronBOT
#

@surreal night pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how can i create payment intent with exclusive stripe processing fee. i need to charge stripe processing fee from customer and want a full breakdown of stripe charge amount. that's need to show to customer.

Related Request ID(s)
req_NoyPEoRwK04D4s

What have you already attempted?
have created payment intent on success stripe charge fee from my/bussiness account

What are you working on?
working on a marketplace and want to charge stripe fee from customer

cursive heronBOT
#

@whole osprey pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using stripe for payout's, but i am facing a issue where i get the following error " No such external account: 'ba_1Q...".

Related Request ID(s)
ba_1QDgE2Pd5lmB1dIMuXKwnpkx

What have you already attempted?
I have tried it multiple times i could share the snippet

$account = Account::create([
'type' => 'express',
'country' => 'US',
'email' => $user->email,
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);

using this to create account
$this->stripe->accountLinks->create -> this for onboarding

$stripePayout = \Stripe\Payout::create([
'amount' => 10000,
'currency' => 'usd',

What are you working on?
I have added stripe on other places in the website i am just trying to add payouts to users on my platform

cursive heronBOT
cursive heronBOT
#

@last anchor pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<AddressElement
className={'mb-4'}
options={{
mode: 'billing',
fields: {
phone: 'never',
}
}}
/>

Question
React AddressElement field displays "Full Name" field. I don't need it, as I already have this info. How can I remove it from AddressElement form?

What have you already attempted?
hiding with css

#

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

Question
Why this invoice has been created on cancelled the subscription

https://dashboard.stripe.com/test/invoices/in_1QDiEIIE5Vvk0efGP9QiUJfW

and what is Applied balance and from where it is applied ? Is extra customer payment taken ?

Related Request ID(s)
123

What have you already attempted?
Cancelled the subscription and schedule

What are you working on?
cancel subscription

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/account-debits

Question
My platform account is in the US, connected account is in the CA.

My transfers from CA to US are not working

What have you already attempted?
This is the error I receive from transfer

Error: Account debits are not supported from CA to US.

What are you working on?
Food app

cursive heronBOT
cursive heronBOT
#

@quiet drift pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
No code to share No code to share

Question
On an android Application, I want to start a payment flow with FlowController on one Fragment and confirm the flow a couple of Fragments later. Is this possible? Should i keep a reference of the FlowController and share it between the fragments? Is there a way to initiate the FlowController on each fragment? My concern is that FlowController is initiated and have a reference on the selected payment method. So i suppose the payment selected method is binded to the FlowControl

What have you already attempted?
No code to share

#

@fleet token pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get last payment failure date information

Related Request ID(s)
Payment failure

What have you already attempted?
Check payment intent api response and Invoice details but have not found last payment failure date details

What are you working on?
I have to lock user when second time payment intent failed

#

@magic plaza pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I resend a webhook call that had a 400 error using a newer stripe api version directly from my dashboard?
The 400 error occurred with version: 2020-08-27 and I want to resend a call with version: 2024-09-30.acacia

Related Event ID(s)
in_1QCMwUAEt55jQS9f7rEeEIy4

What have you already attempted?
Currently I clicked on the "resend" button, but it returns the request with the old version of api.

#

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

Code
No code, other than latest Magento2 plugin code as provided in the plugin

Question
During setup:compile step, I get this error:
'Unable to apply data patch StripeIntegration\Payments\Setup\Patch\Data\Patch003InitialFees for module StripeIntegration_Payments. Original exception message: The "stripe_sub_enabled" attribute name is invalid. Reset the name and try again.'
The plugin seems to work and accept payments on my Magento 2.4.7-p3 store but it keeps coming back every time I compile.

What have you already attempted?
Tried clean install, latest stripe-php libraries, latest plugin. This doesn't clear the error.

#

@velvet drum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Add one api for adding a card and it will return error like:- Sending credit card numbers directly to the Stripe API is generally unsafe.

Related Request ID(s)
req_P7P1aD8MZ1w9ev

What have you already attempted?
Saw a add card api document and followed same payload but it will gave me error

What are you working on?
I'm working ona dding card for customer

#

@worldly flint pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.confirmPayment(activity, params, stripeId)

Question
Is there a way to confirm a payment intent and get a result with a modern callback or activity result contract? The api seems to force the dev to use `onActivityResult()` which is deprecated.

Alternatively, is there a way to use `PaymentSheet` or `PaymentSheet.FlowController` to set a payment method for the user, and then call `.confirm()`, without displaying the UI?

What have you already attempted?
We implemented payment with new card using `PaymentSheet` successfully but our other payment methods (GooglePay, Bancontact, iDeal) need to handled outside PaymentSheet for UX reasons, and I'd like to avoid using `onActivityResult` if I can avoid it

What are you working on?
A full rewrite of our checkout process, including the adoption of `PaymentSheet` for new cards only at this stage

#

@serene drum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I see a character limit of specific fields?

Related Request ID(s)
req_g64DAAONJP6OOE

What have you already attempted?
I allow the user to input a reason when cancelling his subscription. I am just wondering if there a limitations to the "comment" fields in this example to not send requests to Stripe when the comment is too long. I don't find anything in the API doc (e.g. https://docs.stripe.com/api/subscriptions/cancel)

cursive heronBOT
#

@burnt raven pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Application Fee Percentage based is now what is charged for application fee.
I have a a calculation that should calculate to 164.9984 cents application fee.
The total is 4.49, I pass an application fee % of 35.56
Equating to 164.9984 that should be the application fee. But stripe shows 1.60

Related Request ID(s)
none

What have you already attempted?
I double verified that calculations and percentages.

What are you working on?
Platform calculation fee.

#

@dawn mulch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have questions the development, it is the first time I make an Ecommerce, I am using stripe in php and I send the data via API.

Currently I have the products created, prices created, customer creation and I do not know if I need something else to continue with the cart and the payment of this same, then I came to ask if I could advise me a little to not make mistakes if I miss something or important things to consider.

Related Request ID(s)
none

What have you already attempted?
none

#

@mild tulip pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { FC } from 'react';

import { PaymentElement } from '@stripe/react-stripe-js';

import { useStripeForm } from './hooks/useStripeForm';
import { PaymentFormProps } from './types';

const StripeForm: FC<PaymentFormProps> = ({ formRef }) => {
const { handleSubmit } = useStripeForm();

return (
<form ref={formRef} onSubmit={handleSubmit}>
<PaymentElement />
</form>
);
};

export default StripeForm;

Question
The enabled 'Bank Account' payment method is not visible in the PaymentElement from @stripe/react-stripe-js, while other enabled payment methods are available.

What have you already attempted?
Enabled toggles on Stripe side, tried to pay using others methods

#

@rare cape pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am new to Stripe integration. I have setup two accounts one developer account and another test company to receive funds. Through online I am able to checkout successfully. Under the connected account payments, it was successful. The web hook on checkout.session.completed is not triggering. The transaction is in Test mode. The connected account is in restricted mode since i have setup the account to with minimal detail to validate the flow.

Related Event ID(s)
I don't see the event id

What have you already attempted?
deleted connected account couple of times and re-added. dropped and added new web hook end points.

What are you working on?
I am working on building online payments for my service buisiness

#

@green kernel pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const account = await stripe.accounts.create({
type: 'express',
});

Question
I am getting an error saying " You can only create new accounts if you've signed up for Connect, which you can learn how to do at https://stripe.com/docs/connect." but connect is already setup in this account

What have you already attempted?
Followed all the docs of stripe to setup connect

#

@fleet token pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get last payment failure date details

Related Request ID(s)
Payment intent failure

What have you already attempted?
I have check last payment failure details but haven't found date info, even I checked charge object but still not found solution

What are you working on?
I am working on when first time payment intent failed at that moment not locked the user, to use account when again payment failed after 7 days at that time I have to locked user to use that account

#

@rapid fractal pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let paymentIntentParams = STPPaymentIntentParams(clientSecret: clientSecret)
paymentIntentParams.paymentMethodParams = STPPaymentMethodParams(affirm: STPPaymentMethodAffirmParams(), metadata: [:]) STPPaymentHandler.shared().confirmPayment(paymentIntentParams, with: self) { status, paymentIntent, error in
}

Question
i implemented the given code and i got this error and even sheet isn't popup. error is:

LOG ANALYTICS: stripeios.paymenthandler.confirm.finished - [(key: "status", value: "failed"), (key: "intent_id", value: "pi_3QDkjmJDsF3FhY2a0ZxTpqXz"), (key: "error_type", value: "invalid_request_error"), (key: "error_code", value: "")]
Payment failed: There was an unexpected error -- try again in a few seconds

What have you already attempted?
const paymentIntent = await stripe.paymentIntents.create({
amount: 10000,
currency: 'cad',
customer: customerID,
payment_method_types: ['affirm'],
confirmation_method: 'automatic',
metadata: {
integration_check: 'accept_a_payment',
},
});

this code create payment intent on backend

What are you working on?
Payment Method Affirm

cursive heronBOT
#

@whole osprey pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$session = $stripe->checkout->sessions->create([
'line_items' => [$data['line_items']],
'mode' => 'payment',
'success_url' => route('booking.success', [], true),
'cancel_url' => route('booking.failed', [], true),
'metadata' => [
'action' => 'booking',
'booking_id' => $booking->id,
],
]);

Question
All stripe payment are going to hold in strip account.

i am using checkout to accept payment. In the transactions all the payments are coming as success but i am unable to make payouts as all my fund are on hold , my stripe is in test mode

What have you already attempted?
na

#

@carmine meteor pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
//create the Stripe session
var service = new SessionService();
Session session = service.Create(options);

                Response.Headers.Add\("Location", session.Url\);

Question
After successfully creating the Stripe session and seeing the payment form, I get an unhandled exception after a few seconds in hws.js (Stripe's JS) and am not able to enter in the test CC# and other details in the input boxes.

What have you already attempted?
I haven't tried anything yet. I followed a tutorial online to instantiate the checkout form to collect payment and that all has worked, except my code pops the unhandled exception.

What are you working on?
an online registration and payment app for our customers to pay for their tests.

#

@haughty stream pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const subscription = await stripe.subscriptions.retrieve(subscriptionId);

if \(subscription.schedule\) {
  await stripe.subscriptionSchedules.release\(
    subscription.schedule as string
  \);
  await cancelStripeSubscription\(subscriptionId\);
}

Question
is this correct way of canceling our subscription by releasing their schedule first and then updating the sub to cancel at period end

What have you already attempted?
directly canceling the sub

#

@stray mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

I have a form where I used payment-element to accept card details. I would like to give an option to Save the Card(checkbox in the form) for future use. Is this a good idea to do so. Or can I use the payment method from the paymentIntent to be used to attach the card to the customer?

Related Request ID(s)
req_ODBeFFy3gIjA9s

What have you already attempted?
When I tried, I got this message,

This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again

cursive heronBOT
#

@glass umbra pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I handle statuses when the user already has a subscription and the recurring payment with the card has failed?

Related Request ID(s)
Subscription object

What have you already attempted?
I see the docs

cursive heronBOT
#

@weak nymph pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi!
I'm getting this error message "The `default_payment_method` provided has a payment method type (card) that is not included in `payment_settings[payment_method_types]`." when trying to set to cancel a subscription for a specific customer.
Not sure how to solve that as even in the Stripe dashboard I'm also getting the error, see request here:

Related Request ID(s)
req_p8hIX64cBVv68n

What have you already attempted?
It seems due to the subscription was first made with Paypal. Then the customer remove his Paypal account and linked a card payment method.

cursive heronBOT
#

@terse shale pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const res = await fetch(invoice.invoice_pdf, {
mode: "no-cors",
});
if (res.ok) {
const blob = await res.blob();
return new File(
[blob],
getDecodedFileNameFromUrl(url) ||
"Downloaded File - " +
dayjs(new Date()).format("DD-MM-YYYY"),
);
}

Question
HI, I am using this code to fetch an invoice that I want to convert to a file so that we can process it. However, the res.ok is false. How would i properly do this?

What have you already attempted?
Tried it how i show in the image. I also tried without the "no-cors"

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

cursive heronBOT
#

@haughty stream pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const chargeAmount = newNfts.length * 9500;

  await stripe.invoiceItems.create\({
    customer\: stripeSubscription.customer as string,
    amount\: chargeAmount,
    currency\: "usd",
    description\: \`Charge for ${newNfts.length} new NFT\(s\)\`,
  }\);

  const invoice = await stripe.invoices.create\({
    customer\: stripeSubscription.customer as string,
    auto\_advance\: true,
    collection\_method\: "charge"

Question
unexpected charge being levied onto customer for next sub phase

What have you already attempted?
tried immideate charging customer

What are you working on?
a IAAS product

#

@noble loom pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In documentation https://docs.stripe.com/api/payment_methods/detach is stated that "After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer." Does it mean that a customer can't use the same credit card or whatever the type of payment was done anymore?

Related Request ID(s)
Dashboard > Customers

What have you already attempted?
-

What are you working on?
Deleting attached payment methods of customers

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/js/confirmation_tokens/create_confirmation_token

Question
hello, is it possible to retrieve the billing address from apple pay or google pay using Platform Pay Button in React Native before creating a PI?

I want to retrieve billing address from apple pay, then put retrieved billing address into a payload for a client secret generation request to my backend.

What have you already attempted?
I also have a web app where I'm using Payment Element. In my web app I create confirmation token, then retrieve billing address attached to the apple pay, then pass it to the BE, then BE returns me a client secret.

What are you working on?
rebulding my checkout form

#

@distant sun pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Issue with payment details getting saved during creation/confirmation of setup_intent

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

What have you already attempted?
I had an issue yesterday (linked in request id) where a user confirming a payment on web, would have their payment details display on our react native app, despite having the 'Save my payment details' box unchecked. I thought I had fixed this issue when one of your team suggested I remove any reference to the 'setup_future_usage' parameter. I have double checked my implementation and any reference is removed, yet the issue persists when the user confirms a setup_intent. Any help is appreciated :)

What are you working on?
See above

cursive heronBOT
#

@frosty urchin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the Stripe Payment Elements. I was unable to find the Stripe documentation on passing Level 2 information.

Related Request ID(s)
n/a

What have you already attempted?
Searching documentation

What are you working on?
Create Payment Intents with Level 2 data.

cursive heronBOT
#

@silver lava pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am encountering an issue when handling Stripe Webhook events in my backend. Specifically, the error I see in the logs is:java.util.NoSuchElementException: No value present. This error seems to occur when the backend is processing a Stripe Webhook event, particularly when it tries to retrieve an object using the following line:event.getDataObjectDeserializer().getObject().get(); The exact error traceback suggests that the deserialization of the event data fails because no value is present at this step. This could be due to a missing field or an unexpected data structure coming from the Str

Related Event ID(s)
evt_3QDkHHK4vaWYtFny1Ai5NDXH

What have you already attempted?
i have read this document but it doesnt help https://docs.stripe.com/payments/handling-payment-events?locale=zh-CN&lang=java#signature-checking

What are you working on?
webnovel website

#

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

What did you expect to happen?
I expected payment_intent to be in requires_payment_method status and the invoice to be in past_due

What actually happened?
payment_intent is cancelled and the invoice is void and the subscription was cancelled.

Reproduction Steps
Create a connected account, set up a subscription use bacs direct debit as a payment method. Use sort code: 108800, account number: 22222227

Question
I want to have a PaymentIntent in requires_payment_method and an active direct debit mandate so I can attend to retry. How can I achieve that?

#

@pastel ridge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to share a bank account payment method with a connected account. An API error informs me that I need to provide an account holder name. I have been unable to figure out how to provide that name, either by updating the payment method (I am told that us_bank_accounts can't be updated) or by supplying a name when creating the payment method on the connected account. The payment methods are originally established through Plaid.

Related Request ID(s)
req_P0hp9rkpWw1L9G req_MupSQzX6ZgBicN req_ppQHAH7LhglkGZ

What have you already attempted?
Updating the payment method on the platform, and supplying a name when creating the method on the connected account. For the latter case, the API doc for payment method creation suggests I can send billing_details, but it is not accepted.

What are you working on?
Incurring charges for a third party service

cursive heronBOT
#

@silver gorge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to apply tax rate of the connected account instead of the user card location ?

Related Request ID(s)
req_F1MimZJbRiqUGM

What have you already attempted?
Nothing because I already searched the doc and don't find the solution to my problems

What are you working on?
A fleet system where you can rent electric scooter or other vehicles

#

@last anchor pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<AddressElement
className="mb-4"
options={{
mode: 'billing',
display: { name: 'split' },
defaultValues: { firstName: state.user.first_name, lastName: state.user.last_name },
fields: { phone: 'always' },
}}
/>

Question
Pre-defining " defaultValues: { firstName: state.user.first_name, lastName: state.user.last_name }" disables Stripe country detection. How to make sure if I define first and last name it auto-detects the country as if I wouldn't have set defaultValues

What have you already attempted?
Some hacky solutions, but I would like to know the right one

#

@stuck star pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
this Stripe error, "This auth session is in an invalid state for this action," after clicking share my data from bank

Related Request ID(s)
req_MtgFxvnh6nLMHS

What have you already attempted?
test local with https and productions env. neither works

What are you working on?
building connecting via stripe and my app

#

@devout drift pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create(
{
// Mixed cart with subscription and one-time items
mode: "subscription",
line_items: lineItems,
},
{ stripeAccount: connectedAccountId }
)

Question
Is there a way to create a checkout session with a mixed cart (subscriptions and one time payments) that defers capturing payments for both the subscription and the one-time product fee until some other event in code (that I would control)? The idea is that I have custom validation that needs to run AFTER the checkout is completed, and only if the custom validation passes will I capture the payment for the subscription and the one-time fee.

What have you already attempted?
I've looked at using the setup mode for checkout, but found that the hosted checkout UI was missing things like the total charge and the products/subscription being purchased. Also looked at using `capture_method = manual` but that only is supported for one-time fees, and not for subscriptions, which I require a mixed cart.

What are you working on?
A checkout where a user must select a subscription as well as a one-time fee product, checkout, but process payment only after some extra validation is run

#

@quaint veldt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am facing issue with 3DS verification issue for subscription. How to use NACH e mandate to allow users from India to do 3DS verification and do we have to manually add mandate_data, if yes then how should we handle user from US and India. I mean is there a way to dynamically detect user with respect to card and redirect them to NACH mandate if they're using card issued in India?

Also, how to setup one time payment in case if we cross the limit of NACH mandate amount?

Related Request ID(s)
N/A

What have you already attempted?
I have checked this doc https://docs.stripe.com/billing/subscriptions/webhooks#additional-action but still confused how to implement the NACH mandate properly when we need to deal with user in US and India as well.

What are you working on?
Building a PaaS.

#

@worn vault pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to streamline my development of features making use of Stripe's subscription API. I'm also trying to leverage Stripe's flows for things like Connect Account onboarding.

What I would really like to do is make it as easy as possible for users to add a default payment method to attach to their subscriptions, to enable automatic billing. Since I am not using an SPA framework or frontend JS bundle, it's a bit cumbersome (not impossible) to include Stripe's payment elements in my pages.

I would still like to know, is there any way other way to get a default payment method from a customer-user, possibly in Stripe's own UI, such as while they are paying an invoice?

Doc/Guide Links
Stripe Payment Element docs

What are you working on?
Rent collection portal

cursive heronBOT
#

@mystic wadi pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
extension StripePaymentView: STPApplePayContextDelegate {
func applePayContext(_ context: STPApplePayContext, didCreatePaymentMethod paymentMethod: STPPaymentMethod, completion: @escaping STPIntentClientSecretCompletionBlock) {
// Create a PaymentIntent or SetupIntent on your server and return the client secret.
// Pass the client secret to the completion block.
}
}

Question
Getting an error on this Swift code in Xcode "Cannot find type 'STPApplePayContextDelegate' in scope"

What have you already attempted?
Getting an error on this Swift code in Xcode "Cannot find type 'STPApplePayContextDelegate' in scope"

What are you working on?
Trying to integrate Apple Pay into Swift iOS app

#

@oblique dust pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are failing on some `charge.dispute.closed` events. We issue a credit note automatically when we receive these events, using `out_of_band_amount` parameter.

But, we have several cases, where we already refunded a customer's invoice, but later on, their bank issues a chargeback and we get a lost dispute, for the exact same invoice items. This causes an error in our webhook, since we try to create a lost dispute credit note, but Stripe errors with:
> The credit quantity of 1 for invoice line item il_1Q6iUKDJaiMMfIya4lxigycj exceeds the limit of 0 units.

Related Event ID(s)
https://dashboard.stripe.com/logs?object=in_1Q6iUKDJaiMMfIyabrTdRPqN

What have you already attempted?
Looking for insight before we change anything.

I am wondering how it's possible to lose a dispute, even after we previously refunded the customer. Looking on insight on how to handle these cases

What are you working on?
This project is the payments-api of our company. Handles purchases, refunds, disputes, etc.

#

@broken plover pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
expressCheckoutElement.on('confirm', async (event) => {
const {error: submitError} = await elements.submit();
if (submitError) {
handleError(submitError);
return;
}

  var qty = document.getElementById\('quantityInput'\).value;

  // Create the PaymentIntent and obtain clientSecret
  const res = await fetch\("../../wp\-content/plugins/qrpaynow/sc\_checkout.php?productId=" + productId + "&q=" + qty, {
    method\: 'POST',
  }

Question
Using the express checkout, the customer doesn't get the invoice via email.

What have you already attempted?
I tried using $stripe->checkout->sessions->create and it works, but not the express checkout

#

@winter sail pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm looking for a way to retrieve the rules applied to compute the fees when retrieving the balance transaction. We use the Platform Pricing tools and I can see that the fee_details contains the amount and so on, but I'd like to have more details on how the fee were computed

Doc/Guide Links
https://docs.stripe.com/api/balance_transactions?shell=true&api=true

What are you working on?
Balance Transactions

cursive heronBOT
#

@severe pewter pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Wir haben verpasst, zur Payments Intents API zu wechseln, kΓΆnnt ihr uns helfen

Related Request ID(s)
req_jLlJ3Z6Dy8VEXw

What have you already attempted?
nichts

What are you working on?
online Ticket Shop

cursive heronBOT
#

@delicate glen pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeSession = await stripe.checkout.sessions.create({
success_url: `${getBaseUrl()}/${lang}/checkout/success?order=${order.id}`,
cancel_url: `${getBaseUrl()}/${lang}/checkout/canceled?order=${order.id}`,

Question
I just wanted to know what to do and how to handle checkout cancelled.
I create an order before redirect to stripe so I need a way when cancel to tell my app to delete that order. At first, I did this directly into the page since I'm using next js which is server component.

My question here is what should I do from that cancel_url ? Just display a sad message ?
Should I use some sort of webhook to handle order cancelation/delete ?
I need experienced people feedback please..

What have you already attempted?
As said above, atm I delete the order directly inside the page on load. But I feel like I'm not doing the right way..

What are you working on?
Working on e-commerce website using next js 14 app dir

cursive heronBOT
#

@wary timber pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
PHP

$setup_intent = SetupIntent::create($params, $options);

$payments is {"usage":"off_session","automatic_payment_methods":{"allow_redirects":"never","enabled":true},"customer":"cus_............"}

$options is {"stripe_account":"acct_........"}

Question
I'm trying to create Setup Intent on PHP Code but Stripe returns an error: "All types provided in `payment_method_types` are invalid. Please ensure the provided types are activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use."

What have you already attempted?
Read all documentation related to API. I think that problem probably in the stripe account configuration. Can you give the advise what should I check at first?

What are you working on?
Trying to create SetupIntent

cursive heronBOT
#

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

Question
I'm trying to figure out if there's a way to do an embeddable buy button for one of my Stripe Connect (standard) customers that goes through our Stripe Connect (and we can take a small percentage). Trying to determine if I need to build a custom form tool that goes through my own server. I don't want them doing it not through my Stripe account.

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

What are you working on?
I want to provide my CPA clients a "Pay My Bill" form they can put on their website in a similar way they can do en embedded buy button.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=android&type=payment#billing-details-collection

Question
Is there a way to make the ZIP code field optional in the PaymentSheet form on Android? In the current behavior, that field must be filled in order to get the "Add" button enabled

What have you already attempted?
I have tried using BillingDetailsCollectionConfiguration.AddressCollectionMode.Never but that hides the ZIP code at all

#

@worn birch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am not receiving copies of receipts for reoccurring transactions. Please help.

Question
I am not receiving copies of receipts for reoccurring transactions. Please help.

What have you already attempted?
I am not receiving copies of receipts for reoccurring transactions. Please help.

What are you working on?
I am not receiving copies of receipts for reoccurring transactions. Please help.

cursive heronBOT
#

@cold spear pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<Elements options={options} stripe={stripePromise}>
<form id="payment-form" onSubmit={handleSubmit}>
<PaymentElement id="payment-element" options = {paymentElementOptions} />
<Button type = 'submit' style = {{ width: '100%', marginTop: '20px', textAlign: 'center' }} variant = "contained" disabled={isLoading || !stripe || !elements} >Pay ${pricing.price}</Button>
</form>
</Elements>

Question
In react, I have an Elements component, containing a PaymentElements component. In my stripe account, payment methods, I have "Link" turned off, yet the "Secure, 1-click checkout with Link" button keeps showing up. How do I disable this?

What have you already attempted?
I turned off the setting in the account, I couldnt find any docs on a setting I can turn off to Elements or PaymentElements

#

@blazing spoke pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to test trigger payment intent errors for customers with attached payment methods. The documentation shows different payment errors we can get but they only work when the payment method is attached.

https://docs.stripe.com/testing#declined-payments

Related Request ID(s)
N/A

What have you already attempted?
I can only do a generic decline but I need to test the other errors as well.

What are you working on?
backend application that integrates with Stripe Payment Intent

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

cursive heronBOT
#

@velvet drum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently i have two flow for india and for other country like in India for RBI we not save card so we create customer on every transactions. and for other country we have to save card for future transaction for users.

Related Request ID(s)
Need to know about flow changes

What have you already attempted?
I just wanted to know like for India and other country flow will be valid if we use this new update flow for all country like universal flow for all country

cursive heronBOT
#

@modest narwhal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How I Can Implement Stripe Withdrawal in Stripe ? I mean Each User Can Withdraw Money From Their Stripe.For That I Have To Use Stripe Connect and Then Transfer ? AM I Right ? Also I have Another Quetion Regarding US Bank Accounts There I need to Provide Account Type which can be individual or company but for company its mandatory for taking all business details from User ?

Related Request ID(s)
req_4Qa3ularsy0RBd

What have you already attempted?
I have already made API for Stripe Connect and Add Bank Accounts and Withdraw also happened.

What are you working on?
I am implementing a withdraw process like user can withdraw money from their account by choosing their bank account or default bank account

#

@atomic vale pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we have integrated BECS Direct Debit payments in Australia but payment is getting failed all the time

Related Event ID(s)
http://203.109.113.155/keymanagement/webhook

What have you already attempted?
Here is our reference code $paymentMethod = \Stripe\PaymentMethod::create([
'type' => 'au_becs_debit',
'billing_details' => [
'name' => $request->owner_name,
'email' => $user->email,
],
'au_becs_debit' => [
'bsb_number' => $request->bsb_number,
'account_number' => $request->account_number,
],
]);

What are you working on?
we have integrated BECS Direct Debit payments in Australia but payment is getting failed all the time

cursive heronBOT
#

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

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

Question
We have Card, BNPL, Ideal & Bancontact, sepa debit payment methods enabled for our customers. We use deferred intent flow. We want to display all enabled payment methods and save the payment methods which can be saved for future use. If setupFutureUsage param in payment element options was set to off_session, BNPL methods (klarna,afterpay,affirm) are not displayed in Payment element.

What have you already attempted?
Instead of this setupFutureUsage param in payment element options and setup_future_usage param in payment intent, we tried out setup_future_usage param in payment_method_options for each payment method like payment_method_options.card.setup_future_usage. This is working fine. Hope this is right way. Please confirm

#

@sly brook pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello Why If I go to checkout stripe page in test mode and select Link Payment with card. Then In the webhook I dont have this method?

In event on checkout session completed im taking payment_intent id retrieves id from stripe API and in the method types there is only card

Related Request ID(s)

What have you already attempted?
-

#

@snow quartz pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I want it can still connect to the local terminal reader.

What actually happened?
When the phone is at low battery, it can not connect to the local mobile reader, hence the tap to pay payment is failed.

Reproduction Steps
Put the phone into a low battery state (below 5%), then observe the failed to connect reader behavior

Question
My colleague is testing our app includes the Stripe Terminal React Native SDK latest version on his iPhone running iOS 18. When the phone is at low battery, it can not connect to the local mobile reader, hence the tap to pay payment is failed. May I ask if the battery level affect to the local mobile reader functional or not?

What are you working on?
I'm building a React Native application, which allows the users to use the Tap To Pay feature on both Android and iOS

cursive heronBOT
#

@stiff citrus pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
elements.update({amount: newAmount});

Question
Trying to enable Google Pay for my app; everything looks good except the amount shown in Google Pay’s payment UI.
Flow:

  1. Stripe element initialized with 100.
  2. Buyer interactions adjust final amount (voucher, etc.).
  3. Final amount sent to backend for confirmation.
  4. elements.update() called to refresh UI with final price.
  5. Run await elements.submit().
  6. Create Payment Intent, then confirmPayment. Amount still displays incorrectlyβ€”any ideas?

What have you already attempted?
We switched our Payment Intent (PI) flow from PI-first to PI-last per this doc (https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#dynamic-updates) to ensure Google Pay shows the correct values in the payment UI. Reached out to Stripe support but haven’t found a solution.

What are you working on?
We are extending our applications payment options from card + iDEAL to include Google Pay and Apple Pay wallets.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/get-started/data-migrations/pan-import#request-migration

Question
I understand that you can use the migration request form but we have connected accounts how do we request a migration on behalf of a connected account?

What have you already attempted?
When navigating to https://support.stripe.com/contact/login?topic=migrations; it only lists the platform account and not listing any connected accounts

What are you working on?
Building a integration plan for Stripe connect Migrate Payments from existing 3rd party processors

cursive heronBOT
#

@ripe cypress pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm implementing stripe payment to my web app. All things are done but When I try to check live payment then it gives following response

{
"Success": 0,
"message": "3DS authentication required",
"data": {
"clientSecret": "seti_1QEo8iSACBysAw9x2POLocvP_secret_β€’β€’β€’9U9Q"
}
}

Related Request ID(s)
seti_1QEoJlSACBysAw8w0vWYD2ER

What have you already attempted?
I have attempted all the methods and cards.

#

@flint palm pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My customer wants to sell a subscription via a payment link.
In the first month, the subscription should cost the price of the payment link. After that, a different price should be charged annually.
The customer should receive an invoice at the start and then an annual invoice after the first month.

I thought that could be implemented with a "Subscription Schedule". But - if I understood correctly - the subscription should have to have the annual price so that the "Subscription Schedule" can be ended / expire.

What is your "best practice" in such a case? Is there a way to create a payment link with a paid trial phase?

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

What are you working on?
Subscription with a paid trial

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/checkout/fulfillment#create-fulfillment-function

Question
I am [creating a Checkout session](https://docs.stripe.com/api/checkout/sessions/create).
There is also documentation for [creating a fulfillment function](https://docs.stripe.com/checkout/fulfillment#create-fulfillment-function).

I am confused how to specify the fulfillment function when creating the checkout session. Or is the fulfillment function the same thing as the `success_url`?

What have you already attempted?
(I was originally going to fulfill the order as part of the success_url callback, but now I'm unclear if that's the best strategy.)

What are you working on?
Building a checkout for a custom code template, so the fulfillment function would be useful to kick off the project template generation based on the customer's order.

#

@idle sluice pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
schedule = stripe.SubscriptionSchedule.create(
from_subscription=current_subscription.id,
)

                    first\_phase = {
                        'items'\: \[{
                            'price'\: schedule.phases\[0\].get\('items'\)\[0\].price,
                            'quantity'\: schedule.phases\[0\].get\('items'\)\[0\].quantity,
                        }\],
                        'start\_date'\: schedule.

Question
when a customer is in yearly plan and want to downgrade the plan to monthly but stick to the current plan for this billing cycle, To achieve this i create schedule subscription and in 1st item of phase i put the current plan info and in the 2nd item i put the downgraded plan info but in the next billing cycle two invoice are generated and charged, but only one (downgraded) should charged how to achieve this ?

What have you already attempted?
Reads the docs, chat with the stripe developer team.

What are you working on?
stripe subscription in our system

cursive heronBOT
#

@fallen blade pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public function process_payment( $order_id ) {
try{
EH_Helper_Class::wt_stripe_order_db_operations($order_id, null, 'update', 'wt_stripe_is_off_session', 'no', false);
$order = wc_get_order( $order_id );
$currency = $order->get_currency();

        $total = EH\_Stripe\_Payment\:\:get\_stripe\_amount\( $order\-\>get\_total\(\), $currency\);
        
        $images    = array\(\);
        foreach \( WC\(\)\-\>cart\-\>get\_cart\(\) as

Question
paypal is not getting rendered in the stripe hosted checkout page

What have you already attempted?
paypal is enabled in stripe account , domain is registered

cursive heronBOT
#

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

Question
Can we migrate all connected accounts to another? We have been running the platform for 5 years, however, our legal entity changed and Stripe does not allow us to update the legal entity. So can we migrate all existing connected account to a new one? We want all the application fees goes to the new entity.

Doc/Guide Links
I could not find any relevant documents.

What are you working on?
A donation platform that using Stripe connect features.

cursive heronBOT
#

@ebon turtle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Get credit card capability on connected account by default

Related Request ID(s)
acct_1QEqDaQtCYdCbfV5

What have you already attempted?
We use `https://connect.stripe.com/express/oauth/authorize` with params &suggested_capabilities[]=card_payments&suggested_capabilities[]=transfers.
After creation there I use stripe.accounts.update(... capabilities: { transfers: { requested: true } } ) to make sure it's requested.

But we always send up manually having to set the capability and then the user has to input more data to sell on our marketplace.

What are you working on?
multi vendor ecommerce

#

@dapper relic pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I’m looking for some clarification around charge types & account setups.

We are setting up Connected Accounts, and we want for the connected account to be interacting with our platform instead of Stripe. To enable this, this means we must collect the requirements ourselves, and specify a dashboard type of `none` .

Question: If we were planning to manage disputes ourselves on behalf of Connected Accounts, is it OK to use direct charges? We were imagining our Operations staff managing these disputes via the Stripe Connect UI.

Doc/Guide Links
https://docs.stripe.com/connect/design-an-integration
https://docs.stripe.com/connect/charges?locale=en-GB

What are you working on?
B2B2C where we facilitate subscription setup between the customer and business to enable access to discounted products

cursive heronBOT
#

@cedar furnace pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create future dated subscriptions and payment intent. I could not find a way to do that using the .NET API

Related Request ID(s)
N/A

What have you already attempted?
I have tried going through the API. I am using 'SubscriptionCreateOptions` but I can only see BackDateStartDate. I also can't find a way to set a future date on a payment intent.

What are you working on?
I am working on adding subscriptions and payment intents but I want to set a future date on when a subscription starts

cursive heronBOT
#

@drowsy kraken pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to use stripe invoicing for payments with our stripe connect

we have connect accounts we collect money on their behalf from customer

let suppose customer comes and place order for 100 usd

we will have three invoices
5 platform transaction (stripe invoice to customer)
50 for connect account A (stripe invoice to customer)
45for connect account B (stripe invoice to customer)

once the order placed money with stripe invoice gets paid by customer and send to influencer

we have manual payouts so our connect accounts cant withdraw money until manual processing

After completion of

Related Request ID(s)
Dashboard

What have you already attempted?
stripe invoicing with customer payments

What are you working on?
working on stripe connect payments and charges

cursive heronBOT
#

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

Question
How can I implement BACS direct debit retries if I am creating customers and subscriptions via checkout session in connected accounts.

Doc/Guide Links
https://docs.stripe.com/billing/revenue-recovery/smart-retries?locale=en-GB

What are you working on?
An application with a platform account, multiple connected accounts under that platform account, each platform account will have plans available to subscribe to via checkout session. The only payment method will be BACS DD.

#

@steel dust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Presenting Saved Cards on Payment Elements (React Native).

Related Request ID(s)
N/A

What have you already attempted?

  1. Using customer sessions - It seems this DOESNT support customerSessions,
  2. Seems it instead needs a "ephemeral key" passed with the PaymentIntent in order to display these. But i cannot find on the docs anything related to generating a "ephemeral key" except in the context of "issuing" which is not what I am trying to achieve ( that is physical cards i think?)

What are you working on?
React Native app, display used cards for customer to make payments.

#

@simple bronze pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: 10000,
currency: 'cad',
customer: customerID,
payment_method_types: ['affirm'],
confirmation_method: 'automatic'
});
paymentIntent.client_secret

Question
I'm using this to get client_secret and take affirm payment in ios mobile app, but it's not accepting this client_secret

What have you already attempted?
I tried multiple iterations in paymentIntents creation but non of them are working

What are you working on?
Affirm payment method integration

#

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

Question
Reset billing cycle
This will generate an invoice immediately

which flag to use to set Reset billing cycle on subscription update and subscription schedule update

and in upcoming invoice API also

Related Request ID(s)
123

What have you already attempted?
Reset billing cycle
This will generate an invoice immediately

which flag to use to set Reset billing cycle on subscription update and subscription schedule update

and in upcoming invoice API also

What are you working on?
upcoming invoice api and subscription and schedule update api

#

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

Question
Hello, I have a problem with the ['allow_redisplay' => 'always'] parameter, this does not work when the payment method is created from the billing portal via:

```
[
'return_url' => config('app.client_url'),
'flow_data' => [
'type' => 'payment_method_update',
'customer' => $stripeCustomerId,
'after_completion' => [
'type' => 'redirect',
'redirect' => [
'return_url' => config('app.client_url')
]
]
]
]
```

Related Request ID(s)
null

What have you already attempted?
['allow_redisplay' => 'always']
This works when I'm doing it via my Webhook after a payment but not when the card is added via the billing portal with 'payment_method_update' type

#

@velvet drum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when i try to attach payment method inside connect account it will return error like account_invalid

Related Request ID(s)
stripe.paymentMethods.create used this method for attaching pm into account

What have you already attempted?
when i attach card into connect account it will gaves me error like account_invlid

#

@faint fern pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to refetch the payment element with new paymentIntent after a succesful payment

Related Request ID(s)
-

What have you already attempted?
I have tried storing all the details for Elements in state in react app and when updating the state elements context doesn't seem to provide new values for the payment element even when I hit refetch

What are you working on?
spa with field for announcements to display during live broadcast that you have to pay for

cursive heronBOT
#

@solar hollow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to use the upcoming invoice endpoint to apply a discount to an invoice and I'm passing the following parameters:

```{:subscription_items=>[{:plan=>"plan_NBdUFQ4KtvbFTo"}], :subscription_billing_cycle_anchor=>1730379586, :subscription_tax_percent=>0, :discounts=>[{:coupon=>"platform-22-1-off"}], :customer_details=>{:tax=>{:ip_address=>""}}}```

but the coupon is not applying to the invoice item. the resulting invoice item is giving `discountable: false` and the docs say "If true, discounts will apply to this line item. Always false for prorations." but I need that discount to apply

Related Request ID(s)
req_tbuzW7GlQCKd1o

What have you already attempted?
calling the endpoint with `discountable: true` for the subscription_item

What are you working on?
previewing upcoming invoice with a discount

#

@real compass pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am unable to use the new v2 meter_events.

https://docs.stripe.com/api/v2/billing-meter

I have tried to create the client instance like shown in the guides, it creates a client, but that client has no v2 attribute.

Related Request ID(s)
N/A

What have you already attempted?
I have upgraded my python stripe package, used a sandbox environment (as it seems it does not work in test), but it seems like if I look at the version of Stripe. it does not match the version of the API used in the sandbox environment

#

@steel mist pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We wanted to allow customers to connect to standard accounts that already exist and not create new ones under our company umbrella. Is there a way we can restrict to just connecting existing standard accounts?

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

What are you working on?
Building an ability to connect existing Stripe Standard Account to start processing payments

#

@static wraith pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Connected Payment Intent: Who pays the Stripe fees?

Related Request ID(s)
req_6w554bFdymO8Mh

What have you already attempted?
Hello,

I’m reaching out because I've created an application that allows my user’s clients to initiate payments.

To make this possible, my user has a Stripe Connect account. When a payment is made, I use Payment Intent to set up the application fees, and this setup works well.

Once the payment is validated by the client, the funds are transferred to my user’s account minus the application commission (for example, if I charge a 10% fee on €10, I receive €1).

However, I’m unsure who is responsible for the Stripe fees (1.5% + €0.25). Are they charged to me or to the Connect account?

#

@rough flax pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are considering metered billing or graduated pricing but want to prevent automatic purchasing of additional credits when the initial credits are exhausted. Users should manually decide if they wish to purchase more credits. Is there a way to set up metered billing that stops charging once the included credits are consumed, requiring user action to buy more?

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

What are you working on?
We are building an application that requires a flexible credits system tied to user subscriptions and purchases. Users should also have the ability to purchase additional credits as needed.

#

@rigid hill pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Initialize Stripe API key
StripeConfiguration.ApiKey = "your_api_key";

// Create a sandbox manager instance
var sandboxManager = new SandboxManager();

// List all sandboxes
var sandboxes = sandboxManager.ListSandboxes();

// Check if a specific sandbox exists
bool sandboxExists = sandboxes.Any(s => s.Name == "your_sandbox_name");

Question
Thiswas suggested to me by Copilot as a way of checking whether a Sandbox exists - but from the looks of things the Sandbox

What have you already attempted?
I've tried looking through the Stripe Docs and the GitHub repo for Stripe.net - but can't find anything

What are you working on?
Automation in our build pipelines to create a stripe sandbox for each environment

#

@graceful crag pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to integrate the Stripe payment app in my traditional outsystems applications. The application is for customer usage to purchase a product and make a payment. I want to use the API calls for stripe integration. Could you please provide the step by step process for using the strip payment gatway.

Related Request ID(s)
Question related to https://docs.stripe.com/api

What have you already attempted?
I already attempted the "payment link" api to generate the UI for the checkout page.

#

@toxic shadow pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Working on a solution for a membership org with 17locations sharing a single Salesforce instance. They are wanting to setup stripe with 17 merchant IDs to segment data, control data access, reporting, etc. I'm trying to understand the implications of having 17 merchant IDs and using the standard Stripe Connector for Salesforce Platform - especially where a single customer can have transactions across multiple locations. Are there other mechanisms that can be put in place to support the segmentation of data, controlling user access to data in Stripe, etc based on a terminal ID or some other location identifier?

Doc/Guide Links
https://docs.stripe.com/plugins/stripe-connector-for-salesforce/installation-guide https://docs.stripe.com/connectors/stripe-connector-for-salesforce/enablement

What are you working on?
Connecting a Salesforce org that supports 17 locations with a virtual terminal interface for collecting payments.

cursive heronBOT
#

@toxic onyx pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using StripeJS with react, when I want to change a Stripe element's options (Elements, PaymentElement, ExpressCheckoutElement), is it best practices to pass in a new value for the `options` prop (A), or to call `element.update()` (B)? Thanks!

(A)
```
const MyComponent() {
const options = // re-compute entire options object here

return (
<ExpressCheckoutElement options= {options}/>
);
}
```

(B)
```
const MyComponent() {
const elements = useElements();
useEffect(() => {

elements.getElement('expressCheckout').update(...);
}, [...]);

return (
<ExpressCheckoutElement options= {initialOptions}/>
);
}
```

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element/comparison
https://docs.stripe.com/js/elements_object/update

What are you working on?
Checkout Form with StripeJS/React

cursive heronBOT
#

@sacred gorge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a subscription with a trial and use the stripe element in iOS to have a user add a card and start the trial. We also have radar rules that are supposed to block prepaid cards but it seems the rules only run at the end of the trial. Is there anyway to run the rules along side the initial set up intent and block the user from starting the trial with a prepaid card?

Related Request ID(s)
cus_R789lV0Jm3J77e

What have you already attempted?
We have the radar rules in place but they only run after the trial which defeats the purpose.

#

@lunar lotus pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I added a Connect Extension (Claris Connect), and expected it to add as a 'read & write' application.

What actually happened?
Everytime I add the Connect Extension it will only add as 'read only' and I don't see anywhere to change the settings to 'read & write'

Reproduction Steps
Any time I re-add (reconnect the Claris Connect extension) the extension it shows up as 'read only', even though I have full 'read & write' on the Claris side also.

Question
How can I give this particular extension read and write access inside of Slack. can this be done through CLI or adjusting the settings somewhere else?

What are you working on?
Connecting stripe to our in-house database to push payment requests straight from our system.

#

@crystal anvil pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Question: How do I pass some identifiable data to the checkout api that can help me tell apart users?

Related Event ID(s)
we_1QEth1C3fRpXjzyoaY3xiLI5

What have you already attempted?
I'm trying to integrate Checkout into a chatbot platform. When the user clicks Pay, I generate a checkout link using the Checkout API. Upon a successful checkout, I want to call a Zapier webhook that updates data in the chatbot (to let it know about the payment).

What are you working on?
Chatbotbuilder + Zapier + Checkout

#

@spring rain pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can i provide information about user in Payemnt Link like name, surname

Related Request ID(s)
pi_3QEtoVGZoi1Nxyrl08SRIXHV

What have you already attempted?
Tried to look in api/ docs but nothigh there

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/products-prices/pricing-models

Question
Not sure this is the right place to ask, but I'm trying to understand how Stripe handles products and prices.

My company wants to move our pricing logic to stripe. Our model is not subscription based or recurring, but instead a customer buys a single product, which we charge for based on volume. (I can explain in more detail)

I can't tell if Stripe supports this - the docs are subscription based. Am I looking in the wrong place?

What have you already attempted?
Reading through the pricing models documentation

What are you working on?
Implementing pricing logic on Stripe

#

@river tusk pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I can't configure a stripe webhook so that when a payment is successful the payIntent id is automatically saved in the database, since to make a refund that id must be used. I'm using node.js

Related Request ID(s)
evt_3QDwyvAZJHGoU7Pr3GwcUAdb

What have you already attempted?
I have two endpoints, one "/checkout" and the other "/webhook". I've already set them up in my Stripe dashboard, but I can't get them to work.

What are you working on?
Building

#

@magic wren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to retrieve all existed subscriptions of September , I tried this command:
stripe subscriptions list --limit="3" --current-period-start="1725148800" --current-period-end="1727654400"

but it returned empty data array, I am not sure if the current-period-start and current-period-end are the fields I need use

Related Request ID(s)
req_WFFUYRq4qarujp

What have you already attempted?
stripe subscriptions list --limit="3" --current-period-start="1725148800" --current-period-end="1727654400"

What are you working on?
want to list all subscriptions

#

@late sigil pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Stripe Checkout API and I would like to add a field on the Link Creation and this shows on the Payment (when it's paid).

Related Request ID(s)
pi_3QEuGlHcJEFI81TO0CN9dPYQ

What have you already attempted?
Nothing

#

@weak onyx pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a webhook event on payment success. Our webhook code is inside our backend api.
At the end of the payment success, we do a stripe transfer of the netAmount for that payment to the connected account. We also set the 'source_transaction' as the payment charge ID for that this specific payment.
Problem is I'm getting this error: "Transfers using this transaction as a source must not exceed the source amount of €10.00. (There is already a transfer using this source, amounting to €10.00.)" which does not allow me to only send the netAmount, that for a payment of 10EUR, would be around 9EUR

Related Event ID(s)
No ID

What have you already attempted?
I tried to check if for some reason the webhook is firing twice, because the error I get tells me that I already did a transfer of 10 euros to the destination, which I did not.

#

@buoyant agate pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we dynamically attach both PaymentMethods and Sources to multiple entities in Stripe, each with a unique publishable key?

We need users to enter payment info once via Stripe Elements and apply it across different services, each linked to distinct Stripe accounts. The setup requires dynamically assigning publishable keys based on service context, creating both PaymentMethods and Sources, and ensuring each attaches correctly to its intended entity (stripe account).

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

What are you working on?
We want to create payment methods and sources without asking users to enter card details twice

#

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

Code
Stripe.addBetaVersion("checkout_server_update_beta", "v1")
Stripe.apiKey = config.apiKey

Question
Hi there,
I try to use some beta feature via `stripe-java`. Sometimes the request to the Stripe-API resolves correctly and sometimes not. I could not find a pattern why. And also I do not change the code between the runs.
The error is:
`Error creating checkout session: Stripe version header 2024-09-30.acacia; checkout_server_update_beta=v1 already contains entry for beta checkout_server_update_beta`

What have you already attempted?
I have tried to play with different beta api versions but it does not work

#

@mortal marsh pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How did the subscription status become active after we marked the invoice as uncollectible and then void?

Related Event ID(s)
evt_1QEgQGF8tiMhHfPbi6sNVyvp

What have you already attempted?
I tried to do a similar thing in the TEST environment but could not reproduce the issue. Customer id: cus_R78wyNile0ReSg

#

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

What did you expect to happen?
when using IOS with "Add to Home Screen" feature load stripe payment methods with the ExpressCheckoutElement

What actually happened?
ExpressCheckoutElement isn't loading any payment methods when being opened through Add to Home Screen feature

Reproduction Steps
1) go to the demo store
2) click on a bundle
3) express checkout dosen't load (GPay, applePay, Link)

Question
what can i do to make the ECE work with this feature (Add to Home Screen). when just opening Safari browser everything works fine, but when it's with the home screen shortcut the ECE dosn't work as expected. We are also using the PaymentElement and it works without a problem (with Safari and with the home screen shortcut)

What are you working on?
a react web app with products and a checkout page that opens when clicking on a product

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/manage-payout-schedule#interval-property

Question
If I set the schedule to weekly payouts on a Monday, does Stripe payout all transactions prior to Monday? Does the payout happen at midnight Monday?

I'm hoping for a little more clarification on how the payout schedule really works.

What have you already attempted?
Documents are a little vague about the technical implementation of how payouts are done.

What are you working on?
Looking at doing weekly payouts and want a little more detail of the algorithm of what transactions are paid out.

#

@kindred marsh pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a database table that keeps track of `Charge` metadata when the application requests payment from a user. Let's call this table `payment_requests`. This table has a reference to the Stripe payment intent that was used to make the payment.

I would like to add a timestamp column to this table to track when the Stripe has paid out the funds associated with a payment that the customer has made. Without using reports and other data lake tools, is there a way for me to determine when a payment was included in a payout and to update my database table with the payout's estimate payout date?

Related Event ID(s)
NA

What have you already attempted?
NA

#

@lofty grove pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is possible to add a discount to an expired trial subscription, so when the client renew the subscription the price is decreased?

Related Request ID(s)
req_p0RbOQ3GvyV4e5, req_YLw0TOJ28K8sLL, req_46iVomHGhKWqf9

What have you already attempted?
To attach the coupon to the subscription, doing an update subscription with the field discounts including the coupont id.
Then a checkout session to put the credit card details.
After the card details are entered, the subscription is renewed but a prorration is created and the discount is applied on that prorration.

What are you working on?
A subscription system for doors virtual remotes controllers.

#

@frosty bronze pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are onboarding users to Stripe Connect with our NextJS 14 application using "Express" accounts. We do not want to enable "card payments", because the platform is a simple marketplace where onboarded and verified connected accounts can transfer money between one another. The SDK says we must enable card payments to also enable the "transfer" capability. Equally, we do not want to prompt our users for their entity name as it will appear on invoices during Connect onboarding, and hope nailing down the right Stripe Connect onboarding flow will get rid of screens/forms we feel are not needed.

Related Request ID(s)
req_XMem8bVAbwYazj

What have you already attempted?
Reached out to our non-technical Stripe rep (Ralph) to see if we can move along the request to get "transfer" capability set up and enabled on our onboarding Stripe Connect accounts without enabling "card payments", but we want to understand more about refining the Connect Onboarding experience as a whole by only asking users for the minimum information to transfer money between Connected Accounts, as we feel there is extra stuff we wouldn't otherwise ask users during onboarding.

What are you working on?
A marketplace for artists to upload their tracks, attach a pre-canned license, and sell that license for their track on a marketplace to other artists, keeping track of re-uploaded pieces.

#

@inner saffron pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm facing signature verification errors when configuring webhook on AWS API Gateway in a Next JS app. I am calling constructEvent through the Stripe API and cannot get the rawBody. This makes me wonder, do I even need to use constructEven? Is a good enough solution only processing requests that come from Stripe IPs? I don't want to skip crucial security steps, but I also don't want to over invest into resolving this (2+ days of debugging now). Would love to get a sense of what my options are.

Related Event ID(s)
customer.subscription.created

What have you already attempted?
I have ten separate APIs configured in my IAC that are based on variations of the suggestions outlined in https://github.com/stripe/stripe-node/issues/356. So far nothing is working

What are you working on?
SaaS product that uses Stripe for payments :)

#

@patent cloud pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The "save card details after payment" functionality (https://docs.stripe.com/terminal/features/saving-cards/save-after-payment) appears to have stopped working in the past few days even though our code has not changed. We added the new "allow_redisplay: always" parameter last week and it worked then, but now it does not.

Related Request ID(s)
req_nI6U34EHLi2H0X, req_sZzZLSalDOrXS1, req_oCYDxiV7EFjmvF

What have you already attempted?
We use "setup_future_usage: off_session" to indicate we want to capture the card, and set "allow_redisplay: always" per the change log for the 2024-09-30.acacia API release, but no generated_card is present in the card present payment method details.

What are you working on?
A payment web application

#

@gilded dew pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
That setup_future_usage was sent as off session and allow redisplay as always. The payment intent should be confirmed and completed.

What actually happened?
An error about confirmation token was not being sent as off session when required. The payment intent does not confirm and complete.

Reproduction Steps
In NextJS with Stripe.js, and its react lib, follow the steps of "Finalize payments on the server" official docs with the optional section of "Save and retrieve customer payment methods". Make a payment using card and checking the save for future purchases checkbox, the payment intent wont complete because of the mismatch.

Question
According to the documentation, when checking the box stripejs should put setup future usage to off_session and allow redisplay to always automatically, but it does not. Setting the option manually in the element options doesn't either. The only thing that makes it save the card is manually setting allow redisplay, but that saves it regardless of the checkbox.

What are you working on?
A service subscription integrated checkout page.

#

@safe crystal pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What's the interval of webhook event auto-retry?
In our previous cases, Stripe will retry the webhook within 10~20 seconds after failing deliver the event. However, today I found that all of our failed event were retried after 1 hour. I don't know what caused this difference, and if there is any way to config the retry interval of webhook? 1 hour is really a long interval for us, we want the retry interval keep in 20 seconds. Thanks for your help!

Related Event ID(s)
evt_3QEuJaHyXPU8YWm41Abwh7pj

What have you already attempted?
I've resent the events manually.

cursive heronBOT
#

@magic wren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to get subscriptions of previous month with the request search subscription with a query

Related Request ID(s)
req_eCX87fbgrTKXmQ

What have you already attempted?
stripe subscriptions search --query="((created<1725148800 AND (canceled_at>1725148800 OR canceled_at:null)) OR (created>1725148800 AND created<1727654400))"

Copy
{
"error": {
"message"
:
"We were unable to parse your search query. Try using the format `metadata["key"]:"value"` to query for metadata or key:"value" to query for other fields."
,
"request_log_url"
:
"https://dashboard.stripe.com/test/logs/req_8F6yKlQYbAUq2R?t=1730134428"
,
"type"
:
"invalid_request_error"
,
},
}

What are you working on?
want to list all subscriptions of a specific month

#

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

Question
I want to create a report of all prices sold for a given product. Can you help me with the flow to do that? Do I start with checkout sessions? The product below is a dance, and the prices inside were the different options (member, non-member, student, etc). I need a list of every transaction for a given price.

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

What have you already attempted?
I read the web-based reports but they all have fees and don't necessarily do what I want anyway.

What are you working on?
Dancing

#

@candid coyote pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are receiving an issue would our Stripe signature validation on some events but not others.

Our Customer, Payout, and PaymentIntent events all works as expected and the Signature is validated.

However, for Charge and SetupIntent events we receive the following error:

Error
processing message: The expected signature was not found in the Stripe-Signature header. Make sure you're using the correct webhook secret (whsec_) and confirm the incoming request came from Stripe.

Related Event ID(s)
info Stripe-signature: t=1729868538,v1=1965c930070e997a1e260c48c1015c147ca7e6ac8151294df6ec67fe2b0bf632,v0=da058f97cc4bb950dbe21cdeb83a8cde7ccae82f2de242335ac931cb22681277

What have you already attempted?
We have validated the whsec configuration for all of our events. We have validated that some events work for certain objects when running the same code and configuration

What are you working on?
We are updating our processes for consuming events within our Stripe Implementation. We are upgrading our Stripe Listener to .NET8 Lambda functions in AWS.

cursive heronBOT
#

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

Question
So we create a subscription
- we use the add_invoice_items field to add an extra one-time fee for the first payment
- but during the checkout process we need to add/remove extra items to the outstanding invoice.
- I can use $stripe->invoiceItems->create with a subscription reference, but that will change the upcoming invoice.
- I need to change an existing one. Using $stripe->invoiceItems->create with an invoice reference, I get the message "This invoice can no longer be edited"

Related Request ID(s)
no

What have you already attempted?
$subscription = $stripe->subscriptions->create([
'customer' => $subscription_old['customer'],
'items' => $subscription_old['items'],
'add_invoice_items' => $invoice_items,
'payment_behavior' => 'default_incomplete',
'metadata' => $metadata,
'expand' => ['latest_invoice'],
]);

cursive heronBOT
#

@slim wadi pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are migrating from Basic Integration to new Payment Sheet, using iOS and backend with payment intents. We use Stripe connect where we save the payment methods on the main platform account and then share these payment methods to make the Direct payments to Connected accounts.

With the Basic Integration it worked perfectly for us, but with the new Payment Sheet there is an issue that we cannot confirm it on the iOS side later due to a problem that the initial payment method doesn't match the one inside the payment intent.

https://docs.stripe.com/connect/direct-charges-multiple-accounts

Related Request ID(s)
Not related

What have you already attempted?
1) use the PaymentSheet.FlowController to select a payment method
2) send the request to the server with the selected paymentMethod id
3) backend shares this payment method to a connected account and puts the shared one inside the payment intent
4) backend sends the payment intent secret back to iOS and we are tying to call intentCreationCallback?(.success(clientSecret))
5) ERROR An error occurred in PaymentSheet.There is a mismatch between the payment method ID on your Intent: pm_XXX and the payment method passed into the `confirmHandler`: pm_YYY

What are you working on?
We are building a management platform that has many connected businesses.

cursive heronBOT
#

@royal oracle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In regards to the api call:
/v1/test_helpers/customers/:id/fund_cash_balance, is there a way to simulate a value for the sender_name attribute for the funded bank_transfer hash so we can test interfaces that will display this name?

Related Request ID(s)
req_fq7mmnvc1LxZsW

What have you already attempted?
I tried passing in sender_name as a parameter, but this is not a valid parameter as expected.

What are you working on?
wire transfer payment management system

#

@cerulean pasture pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to have a connect account that different stripe terminals deposit into different bank accounts?

Related Request ID(s)
none

What have you already attempted?
We have not yet started, as we are answering a question for a connect customer, if they need to sign up for a new account so the funds deposit into a different account than their normal one

What are you working on?
Point of sale platform

#

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

Code
Payments and payouts paused until requirements met
Provide some additional required information to resume payments and payouts

Question
What should I do? because I gave my proof and all the data and I still have

What have you already attempted?
I don't know how to fix it

#

@humble nymph pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Implemented: Stripe Connect (Express Accounts). We have three roles:

  1. Customer (the one who Pays for a Service)
  2. Service Provider (the one who fullfills a Service)
  3. Plattform (us who provides the Plattform)

We have the following payments:

  1. When Customer books a Service, the customer Pays 100% of the Price to the Service Provider. The Payout is Manual, so the Plattform decides, when the payout happens.
  2. During initial payment, the Customer Pays 5% non refundable Plattform fee to the Plattform
  3. After succesfully completing the Service, we want to charge the Service Provider 20% Prov

Related Request ID(s)
req_9A4Q5uOw3jHGlG

What have you already attempted?
Read all the documents to stripe invoicing API

What are you working on?
A plattform for brands being able to book influencers for marketing campaigns

#

@severe bane pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import stripe

stripe.api_key = ""
stripe.api_version = "2022-11-15"
conected_account_cust = stripe.Customer.create(
stripe_account="acct_1Ow9ln2eUdatTH1y",
source="tok_visa",
)
print("conected_account_cust: ", conected_account_cust)
token = stripe.Token.create(
customer=conected_account_cust["id"],
stripe_account="acct_1Ow9ln2eUdatTH1y",
)
print("token: ", token)
platform_customer = stripe.Customer.create(
source=token["id"],
)

print("platform_customer", platf

Question
We want to create a copy of a customer that exists on a connected account on our platform account.

What have you already attempted?
Traceback (most recent call last):
File "/ironman/./repl.py", line 36, in <module>
token = stripe.Token.create(
File "/ironman/.venv/lib/python3.9/site-packages/stripe/api_resources/abstract/createable_api_resource.py", line 16, in create
return cls._static_request(
File "/ironman/.venv/lib/python3.9/site-packages/stripe/api_resources/abstract/api_resource.py", line 139, in _static_request
response, api_key = requestor.request(method_, url_, params, headers)

#

@magic solstice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I use the Stripe API to set an 'upsell_price' on a price record?

Related Request ID(s)
req_uPn2cHfQ8uVce0

What have you already attempted?
I have tried to set this field while creating a price via API in Ruby with Stripe::Price.create and I have also tried after creating with Stripe::Price.update.

cursive heronBOT
#

@drifting elbow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am onboarding Stripe connect accounts. I saw that in the documentation you have the following... "Additionally, if you onboard an account without its own website and your platform provides the account with a URL, prefill the account’s business_profile.url. If the account doesn’t have a URL, you can prefill its business_profile.product_description instead." I prefill the business_profile.product_description but I am still prompted to enter a URL.

Related Request ID(s)
n/a

What have you already attempted?
Done the following above

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/issuing/customize-your-program

Question
Is the page linked above all the documentation about programs? I'm not finding docs on how to make calls to this programs api.

What have you already attempted?
I've looked for docs on your website. Our Stripe rep said, "we have a programs api that allows you to direct which user goes on a certain issuing program."

What are you working on?
An Issuing integration.

cursive heronBOT
#

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

Question
We're building out a way for users to sell products on our platform and want to use Stripe to do this. We're unsure about best practices for managing payouts for users.

- Not related to our payouts for SaaS fees
- We are not based in USA so cannot use Creator Economy (https://stripe.com/en-ca/use-cases/creator-economy)

User flow:

- Creator sells access to product on our platform
- Purchasing user hits Stripe landing page to enter payment info
- Payment goes to our stripe account
- Creator gets a payout via our Stripe account at some pre-determined time (per month let's say), minus Stripe and our transaction fees

Doc/Guide Links
https://stripe.com/en-ca/use-cases/creator-economy
https://docs.stripe.com/no-code/payout

What are you working on?
Building out system for creators to sell on our platform through our stripe acount

cursive heronBOT
#

@bleak abyss pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are able to create customers, payment methods, and payment intents. I get successful logs in the Stripe dashboard. However, I'm totally stuck on how to auto-verify a us bank account. I've tried numerous ways to include the stripe_bank_account_token provided by plaid, but I get error messages again and again. I'm looking to know exactly how to create or update a payment method and/or payment intent so that the payment method gets auto-verified. Any help is much appreciated.
Here is a link to a payment intent I created: https://dashboard.stripe.com/test/workbench/logs/req_WCOXMw1fejomMv
and t

Related Request ID(s)
req_WCOXMw1fejomMv

What have you already attempted?
I tried to include the stripe_bank_account_token I get from Plaid numerous ways both when creating a payment method and a payment intent. It doesn't work. I need help marking a payment method at auto-verified.

What are you working on?
Plaid + Stripe integration on Salesforce

#

@drifting elbow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This regards my previous thread... business_profile.product_description does not override the requirement

Related Request ID(s)
n/a

What have you already attempted?
refer to previous thread

cursive heronBOT
#

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

Code
Issue with Klarna Testing – Redirected DNS Not Resolvable

Question
Hi stripe devs, I'm encountering an issue while testing Klarna payments. The redirected DNS cannot be resolved.

What have you already attempted?
Here's the sequence I'm seeing:
I receive a redirect URI to pm-redirects.stripe.com (path ignored). This responds with a 302 redirect to:
https://pay.test.klarna.com/na/requests/6ab26853-1d9c-652a-b0b0-dd8a98855904/start
That URL then returns a 307 redirect to:
https://login-platform-dummy.url.c2c.klarna.net (path ignored). The issue is that `login-platform-dummy.url.c2c.klarna.net` isn’t resolving to a valid DNS entry. Could you provide guidance on this?
Thanks

What are you working on?
Testing Klarna

cursive heronBOT
#

@hoary scroll pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do we get charged for every unsuccessful payment attempt from stripe?

Doc/Guide Links
N/A - cant find anywhere

What are you working on?
We would like to develop our own in house payment failure system that follows the schedule we design

#

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

Code
```ts
stripe.transfers.create({
currency,
description: 'Payout for: ' + eventLink,
amount: amountInCents.toNumber(),
destination: stripeAccountId,
transfer_group: eventLink,
metadata,
})
```

Question
Error: `balance_insufficient`

I run a live music tickets platform. When fans buy tickets for a concert, we accumulate funds in the platform balance. We distribute the proceeds between artists at the end of the concert.

In Stripe test mode, I bought 10 tickets, the payments went through and I saw the money in my balance.

I then tried to create a transfer that would send %50 of the balance to each connected artist, but I got an `balance_insufficient` error.

What have you already attempted?
I tried using source_transaction like the docs say https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability

But that doesn't apply to my use-case, because the docs say "The amount of the transfer must not exceed the amount of the source charge"

I want to make 1 transfer per artist that includes revenue from multiple charges because it's confusing for artists to see many transfers for 1 show they played.

What are you working on?
Live music ticketing platform that sends proceeds directly to artists

cursive heronBOT
#

@austere raptor pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Testing Google Pay only works when the payment method domain is registered

What actually happened?
Google Pay is working even without registering the payment method domain (using google test suite cards)

Reproduction Steps
Make a payment with Google Pay using google test suite cards without registering your payment method domain. The transaction on your stripe dashboard will show it as successful.

Question
I want to know how to properly test google pay so that I can be confident that registering a payment method domain via the api will work in prod.

cursive heronBOT
#

@acoustic cedar pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
sample code:

class CheckoutActivity : ComponentActivity() {
private val viewModel by viewModels<CheckoutViewModel>()

override fun onCreate\(savedInstanceState\: Bundle?\) {
    super.onCreate\(savedInstanceState\)
    val configuration = CustomerSheet.Configuration.builder\(merchantDisplayName = "{{YOUR BUSINESS NAME}}"\)
        .headerTextForSelectionScreen\("Manage your payment method"\)
        .build\(\)

    setContent {
        val customerSheet

Question
I'm trying to use the new PaymentSheet and CustomerSheet in my Android app, and from the documentation and sample codes I found that PaymentSheet supports both 'Jetpack Compose' and 'Classic Views', but seems like CustomerSheet only supports 'Jetpack Compose'.

I'm not using Jetpack Compose in my project, so is there a way that I can use CustomerSheet in my project? Thank you.

What have you already attempted?
N/A

#

@clever rapids pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected the SetupIntent to be confirmed after using Payment Element, firing stripe.confirmSetup and getting redirected with no error

What actually happened?
I watched the user fill out their credit card data, click the submit button and be redirected (no error). At the same time, the setup intent remains incomplete, with no payment method attached.

Reproduction Steps
Not a general reproduction as this happens for one user only. The steps we take are as follow:

  1. create a setupIntent on backend and send the intent id and client secret to front-end.
  2. Render the stripe payment element using the secret
  3. User provides their credit card data and submits the form
  4. User is redirected to specified url, but the setup is not confirm

Question
Primary question: why is the setup not confirmed (see seti_1QF0nCKujHy4K0OUsAlPdcTd)

Secondary questions: are there any logs that could tell me what is happening?

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/handling-api-verification#handle-risk-verifications

Question
The documentation states that with the risk requirements, there are three resolution paths: "challenge", "form", and "support", and then also goes on to state that in order to remediate those requirements, we can use "connect embedded components", "stripe hosted onboarding" or "complete on behalf of your accounts", depending on the type of requirement.

Our integration does not use the embedded components - can we always send users to the stripe onboarding page or are there some risk requirements that will force us to implement the embedded components?

What have you already attempted?
New Feature - nothing attempted

What are you working on?
Stripe Express Integration

cursive heronBOT
#

@real compass pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to use Meters V2 API

'You must submit a value reference in the payload value of `page` as defined in the meter.'

Related Request ID(s)
req_v2UxJKVj2zz2RFSUj

What have you already attempted?
read guide on Meters V2, unclear what the payload field should be req_v2UxJKVj2zz2RFSUj

cursive heronBOT
#

@austere raptor pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Testing Google Pay only works when the payment method domain is registered

What actually happened?
Google Pay is working even without registering the payment method domain or having it as enabled.

Reproduction Steps
Make a payment with Google Pay without registering your payment method domain. The transaction shows as successful on the stripe dashboard. Repeat with registering the domain but disabling it. It will still unexpectedly work.

Question
I want to know how to properly test google pay so that I can be confident that registering a payment method domain via the api will work in prod.

What are you working on?
Adding Google Pay into our payment element checkout process

cursive heronBOT
#

@light epoch pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Are there any webhooks that *ARE NOT* able to be generated via the stripe CLI?

Related Event ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
We just want to be able to generate test webhooks via the stripe CLI for our application - some appear to not be able to be generated with the stripe CLI.

#

@heady heron pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to use OAuth to collect auth and refresh tokens by which my app will interact with Stripe on their behalf. This is solely for collecting payments and all I've found so far is linking Connect accounts. Is there a way to do this for personal accounts?

Doc/Guide Links
https://docs.stripe.com/connect/oauth-standard-accounts#integrating-oauth

What are you working on?
I am working on building a Discord integration that will allow my clients to make payments and manage their subscriptions via slash commands.

#

@harsh sorrel pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We need to improve the UX for how Stripe Meter charges are displayed in invoices. Can we create a new price for *every* transaction? "Unit Cost" being the total cost of the transaction, quantity is 1, with a personalized user-facing description.
Any 'best practice' issues with making so many?

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

What are you working on?
Electric Vehicle flat subscription + electricity usage, billed in a single monthly invoice per customer

#

@wooden axle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why a payment intent automatically captured while creating payment intent i have specificed manul_apture?

Payment Intent-> pi_3QF446G0JSD42p8M1QcK4Qy8

Related Request ID(s)
req_TWfdqp7R6Qokpt

What have you already attempted?
Sometimes I have to capture the data manualy sometimes not.

What are you working on?
Taking Terminal Payments in canada region

cursive heronBOT
#

@open river pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I get my $700 back you guys stole

Related Request ID(s)
.

What have you already attempted?
I contacted support, they ghosted me for months now.

What are you working on?
A section of rules that they said I didn’t follow doesn’t even exist.

#

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

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

Question
In my application, the customer start a 14 days free trial after signing up. I created the customer and subscription on Stripe, but I also have a licencing fee that should be paid after the 14 days. How should I handle this process?

What have you already attempted?
I was planning on creating a payment intent for the customer and then send him to the client portal once the free trial ends, as well as incorporating the client portal on my web app for the customer to manage the subscription and payments during free trial/subscription active

What are you working on?
Web plataform with Python Flask backend and Angular Frontend

#

@daring garnet pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
elements = stripe.elements({ appearance, clientSecret });

const paymentElementOptions = {
layout: "tabs",
};

const paymentElement = elements.create("payment", paymentElementOptions);
paymentElement.mount("#payment-element");
const options = { /* options */ }
const expressCheckoutElement = elements.create('expressCheckout', options)
expressCheckoutElement.mount('#express-checkout-element')

Question
google pay's payment method is not specified,

What have you already attempted?
my payment area name is confirmed.

What are you working on?
I use the element payment method

cursive heronBOT
#

@mortal marsh pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I don't understand how the subscription status became "active" from "past_due" when Stripe marked his recent invoice as uncollectible and we marked it as voided. I expected it to become "cancelled" not "active".

Related Event ID(s)
evt_1QEgQGF8tiMhHfPbi6sNVyvp

What have you already attempted?
I performed similar steps using a time machine for this test user: cus_R78wyNile0ReSg. But the test user subscription status became "cancelled" from "past_due", which is what I expected.

Am I missing something?

I don't understand this doc: https://docs.stripe.com/billing/subscriptions/overview#voiding-invoice

Please help.

What are you working on?
Subscription remain active after 1 year for users to whom we send_invoice. EFT payment. The subscription should be cancelled when the recent invoice became uncollectible and then voided.

#

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

What did you expect to happen?
I used `stripe.setupIntents.create` to create a setup intent on my server, `stripe.confirmSetup` to confirm on the front end, and got a 200 back including `status: "succeeded"` and a value for `setupIntent.payment_method`.

I expected this to create a payment method with the ID I see in the response.

What actually happened?
A payment method is not created even though the call succeeded and a payment method ID is returned.

Note also that this was working last week, and since then no code was changed for the setupIntent, or confirmSetup.

Reproduction Steps
Steps are already noted above. Other notes: this is in test mode, I have used the current customer multiple times and deleted all their existing payment methods so it is easy to see if a new one gets created.

Customer ID:
cus_R3YQyhCb4BY7fA

Example of supposedly created payment ID:
pm_1QF6OLHUbcyPjxRfW2lCD0al

Question
Why is a payment method not created even though the call succeeds and a payment method ID is returned? And ideally, what do I need to do to get it to succeed?

What are you working on?
Web app for mid-term housing rentals

#

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

Code
payload = {
product: provider_product_id,
nickname: plan_info[:name],
unit_amount: (amount * 100).to_i,
currency: shopping_session.currency,
tax_behavior: 'inclusive',
recurring: {
interval: plan_info[:interval],
}
}

    provider\_plan = Stripe\:\:Price.create\(payload, config\)

Question
I had tried to change our subscriptions from being tax exclusive, where Stripe was automatically calculating it, to tax-inclusive. This was because of a final price mismatch due to slightly different rounding.

But when using this new price on a subscription, I get an error: "One or more prices have a `tax_behavior` that conflicts with the tax rates that apply to the corresponding line item."

I'm wondering what this means?

What have you already attempted?
I've tried to find docs about this, but I couldn't seem to see anything.

What are you working on?
Subscription pricing

cursive heronBOT
#

@lament loom pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create Transfer to Stripe Account to Stripe Connected Account but I am getting Error:
{
"error": {
"message": "Cannot create account debit on this account; please contact us via https://support.stripe.com/contact with details for assistance.",
"request_log_url": "https://dashboard.stripe.com/acct_1OhVO1GhhUPwPZQz/test/logs/req_14rlGa9DssrGfb?t=1730177374",
"type": "invalid_request_error"
}
}

Related Request ID(s)
https://dashboard.stripe.com/acct_1OhVO1GhhUPwPZQz/test/logs/req_14rlGa9DssrGfb?t=1730177374

What have you already attempted?
Create Transfer

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

@ivory axle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm building a custom payment flow for customers. I have an option to book a single lesson and recurrent lesson for a certain period of time (aka custom subscription schedule). To be able to checkout users for recurrent schedule, I need to set `off_session` property to true.
The problem occurs when I try to use `off_session: true` with customer sessions. I did everything like in tutorial, but when I activated "Save payment details for future purchases" WITH `off_session: true`, I got this error:

Related Request ID(s)
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 publishable key.

What have you already attempted?
Followed the documentation:

https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#save-payment-methods

What are you working on?
Online school site

cursive heronBOT
#

@ornate oyster pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to implement subscription model in our system just like netflix.

I need to give free trial to customer for starting 10 days but capture their credit card details. for future autmatically capture payments from customer saved payment method. Need to have webhooks for all events so I can provision customer access. Also if automatic payment failed how we can proceed with it.

Related Request ID(s)
acct_1PglXO2MU00cdNit

What have you already attempted?
I have read subscription document for recurring and one time payment

What are you working on?
Website

cursive heronBOT
#

@drifting tiger pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When a card that was saved to be used off-session triggers a 3d secure check I need to have the customer go through the check. Is there an easy way to do this? I saw https://share.zight.com/7KuNwJBe but it seems this email is only sent after 24 so not right away. Is there any way to use a Stripe hosted page and send a link to the customer to go through the flow right away?

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

What are you working on?
Re-using saved cards to speed up workflows for our clients

#

@glad yoke pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to delete a connected custom account but I'm getting an error.
The Stripe dashboard says I need to use the API, and the API returns the error: Failed to delete account: acct_1QDFV2Q5oZb8DNsb The provided key 'sk_live_*********************************************************************************************bXsK3h' does not have access to account 'acct_1032D82eZvKYlo2C' (or that account does not exist). Application access may have been revoked.

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

@modest narwhal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we have created stripe connected account for stripe and add bank account and update details but why we got a mail from stripe ?

Related Request ID(s)
req_kmDYB2U9jPbhSW

What have you already attempted?
we have created stripe connected account for stripe and add bank account and update details and onboard user also it showing status completed in connected account

#

@toxic relic pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe Support Team,

I am reaching out regarding my Stripe account, which is registered in Australia. I need to enable the us_bank_account payment method to allow customers to make payments directly from their US bank accounts.

Currently, I'm receiving the following error:

"Error creating payment intent: StripeInvalidRequestError: The payment method type 'us_bank_account' is invalid."

Thank

Related Request ID(s)
1

What have you already attempted?
I have already added a US bank account for settlement, but the option to use it as a payment method isn't appearing in my settings. Could you please help me understand how I can enable this feature?

What are you working on?
stripe bank account

#

@winter tulip pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I set up a payment on my test environment for a connected account. The payment amount was for Β£102 GBP, this includes Β£2 application fee to go to the host account and Β£100 for the actually payment with a processing fee of 1.70 deducted ... so a total of 98.30 to be paid to the connected account

What actually happened?
Payment Break down showed that the Stripe Processing Fee was Β£3.52 and not the Β£1.70 expected (1.5% + 20p) so the connected account received only 96.48

Reproduction Steps
Make payment of Β£102 on connected account and have Β£2 application fee

Question
What is the break down of the processing fees? Is there an extra charge for applying an application fee ?

What are you working on?
Connected account payments with application fee

cursive heronBOT
#

@sudden warren pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected to initialize the payment sheet without errors after creating a payment intent, allowing the app to proceed with the payment flow.

What actually happened?
When attempting to initialize the payment sheet, I received an error: Initialize Payment Error: [Error: Payment Intent not accessible: 'pi_3QF1jQ2cOkXXXXXXX']. This suggests that the payment intent may not be accessible immediately after creation.

Reproduction Steps
Call initializePayment to create and initialize a payment intent with Stripe.

Observe the response and logs, particularly the Initialize Payment Error: [Error: Ressource payment_intent inexistante], which indicates the payment intent is not accessible.

I will give more code in the thread.

Question
How to avoid the error : Payment Intent not accessible.

The payment intent is visible on stripe dashboard

What are you working on?
An expo react native app

cursive heronBOT
#

@neat dawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have an issue with adding a payment method, when I add a payment method and try to attach it to a customer then I get an error message that " insufficient funds"

Related Request ID(s)
req_PqQgYJ9q3NfqGE

What have you already attempted?
Hello, I have an issue with adding a payment method, when I add a payment method and try to attach it to a customer then I get an error message that " insufficient funds"

cursive heronBOT
#

@white token pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to change my device location ip using proxy ip in api

Related Request ID(s)
In payment list

What have you already attempted?
$proxy = "{$stripe_account->host}:{$stripe_account->port}";
$proxyUserPwd = "{$stripe_account->user}:{$stripe_account->pass}";

        // Set up handler stack with Proxy\-Authorization header
        $stack = HandlerStack\:\:create\(\);
        $stack\-\>push\(Middleware\:\:mapRequest\(function \($request\) use \($proxyUserPwd\) {
            return $request\-\>withHeader\('Proxy\-Authorization', 'Basic ' . base64\_encode\($proxyUserPwd\)\);
        }\)\);
        
        // Stripe client configuration with proxy and debugging enabled
        $stripe = new Str
cursive heronBOT
#

@buoyant vale pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
try {
$httpClient = new \Stripe\HttpClient\CurlClient();
$httpClient->setProxy('http://proxy.digitalcompass.net:3128');
\Stripe\ApiRequestor::setHttpClient($httpClient);

        } catch \(\Stripe\Exception\ApiErrorException $e\) {
            // Handle error
            echo 'Error\: ' . $e\-\>getMessage\(\);
        }

Question
I want to proxy in stripe sdk for php, I tried adding in my code above but I am getting 500 error

What have you already attempted?
I tried but I am getting 500 error

What are you working on?
I am working setting up proxy for stripe sdk in php, our company requested that while our integration is already working.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/3d-secure/authentication-flow

Question
Is there a way to say "ask for 3d secure if it will be required on the first payment" when using the setup intent to add a card to the customer account?

What have you already attempted?
Not sure if what I asked is possible and couldn't find anything online.

cursive heronBOT
#

@stray mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the case of elements.create, I have given the postal code, but its not showing in my form. Please help

Related Request ID(s)
req_NmB9t65g9TnC6W

What have you already attempted?
I have given the following code, but its not populating the postal code.

var options = {
defaultValues: {
billingDetails: {
address: {
postal_code: 'M5V 3L9'
}
}
}
}

var paymentElement = elements.create('payment', options);

#

@brave zenith pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
so i am integration Stripe on multi vendor with payout methods of Paypal & Mobile Pay, we have 3 Countries currencies

Saudi
Finland
Sweden

No i want to show products on each currency according to the user country with same currency checkout but stripe is not allow or i can't fine method Stripe Required checkout of Euro to use Mobile Pay & Paypal did any one have solution?

Related Request ID(s)
https://dashboard.stripe.com/settings/adaptive-pricing

What have you already attempted?
i Tried to do in $ now i am implementing Adaptive Pricing

cursive heronBOT
#

@sour flax pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a product (annual subscription 01/01-31/12) and I am trying to create a checkout page via API which allows a customer to be able to take the product but without proration. The amount is 130€. It would be the same if the customer takes the product in the middle of July

Related Request ID(s)
Developpers Log Test

What have you already attempted?
I try to using doc API and multiple test with : billing_cycle_anchor...

What are you working on?
New project for association

#

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

Code
request_data = {
β€œcustomer”: customer_id,
β€œitems”: [
{
β€˜price_data’: {
β€œcurrency”: currency,
β€œproduct”: product.id,
β€œrecurring”: {
β€œinterval”: frequency,
β€œinterval_count”: 1
},
β€œunit_amount”: amount
}
}
],
β€œpayment_behavior”: β€œdefault_incomplete”,
β€œexpand”: [β€˜latest_invoice.payment_intent.invoice.s

Question
I am getting error as "quote_from_bytes() expected bytes" while trying to charge against payment method using id

What have you already attempted?
Searched few stackoverflow links

What are you working on?
Working on Stripe connect to charge customer for subscription fee

cursive heronBOT
#

@glacial thicket pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When working with stripe's physical test card on an S700 terminal, is there a way to manipulate the facts about the card? I am seeing documentation to influence if we get declines, etc by manipulating the dollar amount, but what I am seeing is that the card I have always seems to return as a Visa ending in 9969 with an expiration date of 03/23.

While the card does get accepted if I use a dollar amount with 00 for the decimal, we have a system to re-use saved cards at a later date, but we are flagging the card as declined, so I would like it to recognize a later expiration date for the card.

Additionally, I am struggling to find support for how to test tap of virtual wallets

Doc/Guide Links
https://docs.stripe.com/terminal/references/testing#physical-test-cards

What are you working on?
Working on building out tests around saved card functionality as they relate to terminals.

#

@tawny sigil pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
the checkbox in the payment sheet has copy (1) "Save this card for future [merchantDisplayName]" -- https://docs.stripe.com/payments/accept-a-payment?platform=ios

but when integrated, the checkbox says (2) "Save payment details to [merchantDisplayName] for future purchases". Can I please get help on how to edit it to the first copy (1)?

Related Request ID(s)
Paymentsheet -> checkbox

What have you already attempted?
not sure where else to look

What are you working on?
checkout on mobile

cursive heronBOT
#

@spark juniper pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have everything setup to accept stripe payments through an external payment link and everything was working just fine. Until recently, I tried to generate a payment link and it returned a 401 response code on the NodeJS server. Does this mean something needs to be fixed in the code? Coincidentally on my stripe dashboard I receive this message "Payouts paused until requirements met". Are the payment links not getting generated because we didn't confirm out business documents yet? I am just trying to find the root cause.

Related Event ID(s)
Go to Dashboard -> See message popup "Payouts paused until requirements met"

What have you already attempted?
I am just looking for a response on what is causing this, whether it be the code itself (which hasn't changed since it worked) or the payout problem.

#

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

Code
Uncaught (in promise) error: The domain (localhost:3000/) that redirected to Checkout is not enabled in the dashboard.

Question
I'm still developing and using React, so the domain is localhost:3000. I'm trying to add it on the domain list in the dashboard but it's not been accepted (Your subdomain must have at least 3 parts

What have you already attempted?
I'm trying to add it on the domain list in the dashboard but it's not been accepted (Your subdomain must have at least 3 parts

What are you working on?
Developing app using React

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-js/elements/payment-request-button

Question
Do you know when the component will be not available for use? It would help our team to set a timeline

What have you already attempted?
https://docs.stripe.com/stripe-js/elements/payment-request-button
https://docs.stripe.com/elements/express-checkout-element

#

@hoary scroll pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I set my payment failure custom retry to the following, does this mean we'll charge the card once when the subscription renews, and then never again?

Doc/Guide Links
https://stripe.com/resources/more/payment-retries-101-how-businesses-can-make-the-most-of-this-important-detail

What are you working on?
Building our own custom retry payment system

#

@cold linden pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I cannot make a stripe account as it is not available in my country (Saudi Arabia), therefore i cannot contact support about this issue. Please make it available.

Related Request ID(s)
I can't, as i'm unable to make an account.

What have you already attempted?
I tried making an account, and it would not allow me to because i live in the KSA.

What are you working on?
I'm trying to add Stripe to my website.

#

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

Code
const stripe = useStripe()

const handlePayPress = async () => {
stripe
.createPaymentMethod({
paymentMethodType: 'Card',
})
.then((res: any) => {
const payload = {
...bookingPayload,
payment_details: {
payment_method_id: res?.paymentMethod?.id,
amount: 5,
},
};
AddBooking(payload);
})
.catch(err => console.log(err, 'ERROR'));
};

Question
How to handle 3d secure cards on payments in react native application

What have you already attempted?
I have created a payment method id using useStripe().createPaymentMethod() and shared the payment method id to my backend server.But the backend responds with client secret, payment intent data with 400 status code. What is the right way to handle payments for 3d secure cards

What are you working on?
Customer are paying to stripe sub account

#

@ebon turtle pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do you properly route webhooks?

Related Event ID(s)
evt_1QFHnpR9iMA7b1SKjVQphOU1

What have you already attempted?
I have a staging instance, but all webhooks from there are coming back to my local PC. I had this solved previously, but I admit I have forgotten how

#

@wicked fossil pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm not able to create an account with full dashboard access AND with our platform paying the fees

Related Request ID(s)
req_XSz96zoOytMCJF

What have you already attempted?
I can set payer to account, but that's not what our business wants. I can also change the dashboard to express, but then I'm asked to change who's responsible for the losses, and that's again not what our business wants

What are you working on?
We're a fintech company for business users. We let users create invoices using our product, and we want to make it possible to pay with cards for those invoices

#

@fossil pendant pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
ubject: Question about Tax Calculation for US Transactions

Hello, Stripe Support Team,

We are in the process of developing an integration with Stripe's tax calculator and have noticed that when calculating taxes for transactions in the United States, the returned tax amount is coming back as zero. We are unsure if this result is correct or if there might be a missing configuration on our end to ensure accurate tax calculations.

Since we are still in the early development stage, we would like to confirm whether a zero return value is expected under certain conditions, or if there is a specif

Related Request ID(s)
req_wTzCR3BS9cnjKb

What have you already attempted?
We tried some requests to the API and some different configurations returning the zero value from the tax calculation API.

What are you working on?
Tax rate calculation

#

@hoary scroll pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Re: My last thread that was closed. If I disable stripe's retry system to do nothing - what will happen to ongoing subscriptions with payment failures?

Doc/Guide Links
Couldn't find anything

What are you working on?
Custom payment failure retry system

#

@livid tangle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const checkoutOptions: RedirectToCheckoutOptions = {
lineItems: [item],
mode: "payment",
successUrl: `${window.location.origin}/sucess`,
cancelUrl: `${window.location.origin}/cancel`
};

Question
The domain (https://cd38-166-205-101-37.ngrok-free.app/) that redirected to Checkout is not enabled in the dashboard. Add this domain at https://dashboard.stripe.com/account/checkout/settings.

What have you already attempted?
The domain (https://cd38-166-205-101-37.ngrok-free.app/) that redirected to Checkout is not enabled in the dashboard. Add this domain at https://dashboard.stripe.com/account/checkout/settings.

What are you working on?
React app in development

cursive heronBOT
#

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

Code
<ConnectAccountOnboarding
collectionOptions={{
fields: 'currently_due'
}}
onExit={handleConnectAccountOnboardingExit}
/>

Question
I'm using a Stripe Connect Embedded Component in test mode. It opens a popup that asks for a phone number. No matter what I enter, I see an "invalid phone number" error.

What have you already attempted?
This is code that is running fine in prod and it used to run fine in test mode during development. Now it is broken and I haven't changed a thing.

What are you working on?
Code that creates a Connect account.

cursive heronBOT
#

@toxic onyx pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// validation and wallet collection
const { error: submitError } = await elements.submit();
if (submitError) {
return { error: submitError };
}

const { error, confirmationToken } = await stripe.createConfirmationToken({
elements,
});

Question
My checkout flow has both an ExpressCheckoutElement and a PaymentElement.

I would like to use `ExpressCheckoutElement` for "wallet methods": Link, GooglePay, AmazonPay. Vs use `PaymentElement` for direct inputting credit card or EFT info.

In this screenshot I want to create a confirmationToken using the PaymentElement input (4242), since the customer hasn't clicked the link button. But when I generate a confirmationToken using the code above I get a `link` token (4111).

What have you already attempted?
Tried including or excluding Link in the PaymentMethodTypes option for <Elements> component

Made sure no LinkAuthentication element present

What are you working on?
StripeJS Checkout with ExpressCheckoutElement and PaymentElement

#

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

What did you expect to happen?
Adding connect-js v3.3.16 library to my Angular app should not reassign window._.

What actually happened?
Adding connect-js v3.3.16 library to my Angular app reassigned window._ to lodash v4.17.21, breaking code in my app that requires window._ to reference underscore.

Reproduction Steps
In Angular app, import the loadConnectAndInitialize function from the connect-js library:

import { loadConnectAndInitialize } from '@stripe/connect-js/pure'

Call the loadConnectAndInitialize function, which adds the connect-js library to the page.

=> window._ will now reference lodash v4.17.21 instead of what it referenced before adding connect-js to the page

Question
Would it be possible to scope that reference within the connect-js library instead of rewriting _ on the window object?

What are you working on?
I'm working on a hybrid AngularJS/Angular app. The legacy code depends on window._ referencing underscore, not lodash.

#

@river tusk pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to properly delete an account from API in live mode?

Related Request ID(s)
req_B9lQumb8ob3FWH

What have you already attempted?
I implemented an endpoint that works in test mode but does not work in live mode, as I understand it is the same

What are you working on?
Building

#

@soft ledge pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Invoice.Upcoming Event was previously set to 7 days.
On the 24th of October, we changes this to be 30 days.

The attached subscription has a renewal on the 27th of November. As such, the event **should** have been created on the 24th of October. No such event was created.

Related Event ID(s)
sub_1Ps9pzCtMhNtiuzXPxbXOsVE

What have you already attempted?
This event is rather sparsely documented. The documentation I was able to find stated that the event is created X days before the next planned invoice, assuming the next planned invoice is at least X days long.

My assumption was, that if I change the interval from 7 to 30 days, any subscription whose next cycle was at least 30 days from the day of change would get the event created.

it would be great to know if this can be retroactively applied to existing subscriptions, or, if not, where to see which subscriptions are affected.

What are you working on?
Online Shop for prescription products.

#

@hearty pilot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there anywhere that outlines the upsides of handling saved payment methods for subscriptions via SetupIntent vs creating a payment method directly? We're currently handling SCA by confirming the payment intent associated with the first invoice. Is there any advantage to handling the confirmation via a SetupIntent?

Related Request ID(s)
Example of subscription creation process: https://dashboard.stripe.com/events?related_object=cus_R7Y2p7qgpQg0if

What have you already attempted?
I've tried looking through the Stripe docs but didn't find anything explicit around this.

What are you working on?
A donate form for a charity.

cursive heronBOT
#

@fast cipher pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In Create a refund API one of the input is "charge": "ch_1NirD82eZvKYlo2CIvbtLWuY". Where do i get this "charge" from. When i create payment intent the only thing i am getting is "payment_intent".

Related Request ID(s)
pi_3QFIsNBbLC2XC6250eyrLf3a

What have you already attempted?
I have created a payment this is id pi_3QFIsNBbLC2XC6250eyrLf3a

cursive heronBOT
#

@peak cloak pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Doc about surcharging:
const result = await this.terminal.processPayment(
paymentIntent,
{
config_override: {
amount_surcharge: 21,
},
}
);

Question
We are trying to use the beta surcharging feature stripe offers, but we have a problem, we process the payment in the server side, using the "stripe" npm library, and we process the payment using 'stripe.terminal.readers.processPaymentIntent(terminalId, { payment_intent: paymentIntentId })', the problem is that it doesn't seem like we can send the config_override object using that method, so I want to know if there's any way we could do that?

What have you already attempted?
We already tried to see if there's a way of getting the same StripeTerminal object we have in the client side in the server side using the stripe sdk, we didn't find any, and it seems like the '@stripe/terminal-js' library is meant to be used in the FE only.
doc we are basing ourselves: https://docs.stripe.com/terminal/features/surcharges?terminal-sdk-platform=js

#

@fossil pendant pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, Stripe Support Team,

I would like to use the Tax Calculation API to obtain tax amounts for different states without processing the charge directly through Stripe. The idea is to calculate and register the tax at the time of the transaction, but the actual charge would be handled later by an accountant, outside of the Stripe platform.

To implement this, I would need to set up the system to register all relevant states and calculate taxes according to each state's requirements. The goal is to have the tax calculation available without Stripe automatically processing the charge.

Would i

Related Request ID(s)
req_0hLPaZHPdXZmto

What have you already attempted?
We are trying to calculate the tax only. We made the request to API which returned the tax.

What are you working on?
Tax rate calculation

#

@hybrid dust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create payment method by client secret and card token....

Related Request ID(s)
---

What have you already attempted?
I have checked but didn't find anything...

What are you working on?
i am working on beat api of greece

cursive heronBOT
#

@eager vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The invoice object has a payment_intent field, and the payment intent object has an invoice field

Is it possible for 2 payment intents to have the same value on the invoice field?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

@rapid forge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We would like to continue to manage coupons using our cart system, however we would need to know the coupon that was used via the webhook response for checkout complete, as well as show the discount applied in stripe checkout to the customer.

Related Request ID(s)
none

What have you already attempted?
I have been looking through the documentation on how to apply a coupon, and also I tried setting a single line_item with a negative value which breaks stripe rendering.

What are you working on?
Integration with an existing cart system that has been customized since 1998.

cursive heronBOT
#

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

Code
This is not an issue with the code. This is an issue with the web dashboard.

Question
On any page for a legacy order (for ex https://dashboard.stripe.com/orders/or_0NLebUtpTGd6T1QOTZv95yd0), when we try to click the pencil icon to edit the status of an order, we get a JS error, "Uncaught TypeError: C.activeDialog is not a function."

What have you already attempted?
Multiple users with multiple levels of permissions in the dashboard have tried this and noted the same JS error.

What are you working on?
Our customer service needs to manually change the status of an order to reflect the interaction with the user.

#

@hallow dawn pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to sell subscription in multiple countries, mainly UK & Europe, atm the default price is in Β£, I do wonder what's the best practise to show prices in €, I've tried to buy something adding `+location_IT ` in the email to emulate a checkout from Italy but I still see the prices in Β£, do I need to create multiple prices per currency? am I right if I say that the adaptive price doesn't work with subs? I'm using both the checkout for the first purchase and the billing portal for any upgrade, the second doesn't seems to accept a currency, how can I select the currency in this case?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/adaptive-pricing

What are you working on?
saas

cursive heronBOT
#

@digital geyser pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
After customer activates Free Trial with Coupon (which has `First-time order only` enabled), in the case of this free trial subscription expiring, the next time the customer attempts to activate a new subscription with the same code, they should have no issues assigning the code, since it was not used in any purchase (just used as activation of free trial)

What actually happened?
After customer activates Free Trial with Coupon (which has `First-time order only` enabled), in the case of this free trial subscription expiring, the next time the customer attempts to activate a new subscription with the same code, they get the Error `An active promotion code with code: already exists.` Even though no purchase was made with this code.

Reproduction Steps
Free Trial -> Add Code -> Free Trial Expires -> Subscription is set to Canceled state -> Customer attempts to subscribe again -> Uses code

*code has First-time order only enabled

Question
Why is free trial activation counted as consuming the `First-time order only` code, when it works perfectly fine after free trial expires and next invoice is charged with the discount applied.
Is there any way to prevent this?

What are you working on?
Offering sports data behind subscriptions

#

@viral fable pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const {setupIntent, error} = await stripe.confirmAcssDebitSetup(
clientSecret,
{
payment_method: {
billing_details: {
name: <I want this just to come from the Payment Element where the user has entered their name>,
email: <I want this just to come from the Payment Element where the user has entered their email>,
},
},
}

Question
I am trying to create a PAD payment method for future use (need to setup it up up front, and later in time will use it for a subscription).

I am trying to use a SetupIntent and Payment Element to do so.

I don't know how to call confirmAcssDebitSetup without needing to recreate the email and full name collection on my end instead of just using the values from the Payment Element.

What have you already attempted?
I have created a setup intent. I have a page showing the Payment Element, and the user can select "Pre-authorized Debit" enter their Full name and Email. When they submit, I am calling confirmAcssDebitSetup to trigger. It works if I hardcode name and email, but I want it to use the email/full name from the payment element.

What are you working on?
Exploring effort to implement bank debits

#

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

Question
Hi I'm looking for a way to have reusable Payment Methods for Terminals that allow Apple Pay and Google Pay to process.

Ideally we want a flow where we can:

  1. Create a Setup Intent or Payment Method
  2. Charge it with a PaymentIntents call

We thought we'd found a way to do this with https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly but it seems to have a limitation where Apple Pay and Google Pay cannot be saved this way? Is this assumption accurate?

Related Request ID(s)
-

What have you already attempted?
The other option we found is https://docs.stripe.com/terminal/features/saving-cards/save-after-payment which seems to be:

  1. Make a Payment Intent 2. Pull the Payment Method out after.
    The limitations seem to be this second option is for US only and we're not sure if Apple Pay and Google Pay are supported.
    Just looking for some advice on how best to achieve our goal here and generate payment methods before intents that are reusable with wallet payments.
#

@hasty spire pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var request = URLRequest(url: backendCheckoutUrl)
request.httpMethod = "POST"
let task = URLSession.shared.dataTask(with: request, completionHandler: { [weak self] (data, response, error) in
guard let data = data,
let json = try? JSONSerialization.jsonObject(with: data, options: []) as? [String : Any],
let customerId = json["customer"] as? String,
let customerEphemeralKeySecret = json["ephemeralKey"] as? String,

Question
I am trying to present stripe PaymentSheet to customers (using SwiftUI). However, i get a status 403 error while connecting to server. What am I missing?

What have you already attempted?
I followed the below doc for client side code. (https://docs.stripe.com/payments/accept-a-payment?platform=ios&uikit-swiftui=swiftui#ios-collect-payment-details)

cursive heronBOT
#

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

Code
Setting up Data Pipeline for snowflake, after putting in account information, it's stuck at 'sending test data' for over 1 hour

Question
How to check what is causing the error?

What have you already attempted?
Confirmed the correct account information in snowflake

What are you working on?
Setting up data pipeline to start collecting data

#

@surreal gyro pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
`controller: {
losses: {
payments: "application",
},
fees: {
payer: "application",
},
stripe_dashboard: {
type: "express",
},
},`

Question
We needed to set up our connect accounts like this so that we can use direct charges, but the platform pays the fees not the connected accounts.

I am wondering if it is possible to do custom onboarding with this method? It seems that we can only specify express, however we eventually want out customers to only be able to access a custom dashboard we build and not one hosted by Stripe.

What have you already attempted?
We have tried specifying custom but it doesn't seem to be a valid value.

What are you working on?
Marketplace

cursive heronBOT
#

@woeful storm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've created a Stripe Payment Link (like https://donate.stripe.com/xx) for a WordPress site I'm associated with.

I'm also haved coded a lot with WordPress, PHP, and JavaScript in the past.

My questions:

  1. Is there any way on the Stripe Payment link to add custom JavaScript to add a checkbox to pay that gives an online donator the option to pay the Stripe service charge (2.9% + 30Β’)?

  2. Or is my best option to create a form using PHP and Stripe's API to do this?

Please provide a general answer and doc or video links either way. Thank you!

Related Request ID(s)
plink_1QF0dNLXonyD9MbSZUf8qKP1

What have you already attempted?
I've already failed to find the answer by looking at my Payment Link settings in my Stripe account, a Google search, a search on Stripe.com dev docs, and asking a question on ChatGPT.

What are you working on?
A WordPress site (built with PHP and MySQL).

#

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

What did you expect to happen?
I was expecting test cards I'm presenting through the Terminal Test Helpers to populate generated_card and trigger payment method attached webhook.

What actually happened?
Test cards being presented through the Terminal Test Helper Function PresentPaymentMethodAsync for the Dot Net Package no longer generating generated_card field

Reproduction Steps

  1. Create A Typical Payment Intent with SetupFutureUsage as off_session, Customer field populated with a valid customer id, and Confirmation Method being set to auto
  2. Pass the PaymentIntent to Terminal through ProcessPaymentIntentAsync with AllowRedisplay set to always in ProcessConfig
  3. Use Terminal Test Helpers Method to present card

Question
Why is it that after updating to most recent API that my test cards are sometimes not generating generated_card field and attaching that to customer? It seems to be working when we using physical S700, is this an issue with the test helper or our setup?

#

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

Code
&stripe.PaymentIntentParams{
...
ConfirmationMethod: stripe.String(string(stripe.PaymentIntentConfirmationMethodManual)),
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
AllowRedirects: stripe.String("never"),
Enabled: stripe.Bool(true),
},
}

Question
I recently updated stripe-go to V80 (latest) and am now unable to create payment intents the way I was before. I want to have a payment intent with manual validation. However, when I do this and go to confirm the payment intent I then get an error that I am not providing a redirect_url. It then prompts me to add AutomaticPaymentMethods to my payment intent with the above settings, but then I get an error that I cannot include ConfirmationMethod and AutomaticPaymentMethods

What have you already attempted?
Adding a redirect URL, which also fails because you cannot have a redirect URL with manual confirmation. And then I have also tried what was suggested above.

What are you working on?
Stripe backend implementation in GO and using react-native as the frontend.

cursive heronBOT
#

@real compass pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am getting a failure for V2 Meters API but unsure what is wrong

Related Request ID(s)
req_v27iqGxXxrJr37nlx

What have you already attempted?
Tried to view the request in the dashboard, but since this is a sandbox I cannot see them?

cursive heronBOT
#

@wild peak pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working on a E commerce website. In that I have a backend website in that i am using stripe.price.search using Lookup_key as query.

But I dont know the reason but when stripe.price.search after the product is made to search its price it gives back nothing. Sometime I have to wait for Hours then it works just fine. But whenever a new price Id is created it is not searchable right away.

Related Request ID(s)
req_es91PoVHqd9M0A

What have you already attempted?
Only thing that works sometime is wait

What are you working on?
An Ecommerce website and its Backend to manage it.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://stripe.com/en-jp/pricing

Question
Currently, I trying integrate bank transfer method for checkout sessions and calculate payment amount after include stripe fees.

According https://stripe.com/en-jp/pricing, the fees is include 1.5% and Β₯250 + 10% consumption tax for refunds, but when I make a bank transfer payment on stripe, it only deduct 1.5% and 10% consumption tax from payment amount.

So i wonder, if document is outdated or when Β₯250 will be deducted.

What have you already attempted?
According https://stripe.com/en-jp/pricing, it say the fees for refunds, but when I try refund a bank transfer payment, there is no fee have been deducted.

What are you working on?
I building B2B app integrate with stripe

cursive heronBOT
#

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

Code
{"code": "Failed", "declineCode": null, "localizedMessage": "No such payment_intent: 'pi_3QFSkORsVwOeW4pi0KEzZYnC'", "message": "No such payment_intent: 'pi_3QFSkORsVwOeW4pi0KEzZYnC'", "stripeErrorCode": "resource_missing", "type": "invalid_request_error"}

Question
Trying to implement card payments with 3ds cards on react native

What have you already attempted?
I am trying to make payment for 3ds cards on react native. I have tried calling the stripe.handleNextAction(client_secret). But I got the above response. I have checked the public key and that is correct

What are you working on?
Trying to pay from customer to stripe sub account

cursive heronBOT
#

@weak hazel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created a subscription through the API, adding a licensing fee with add_invoice_items to be charged after the trial period of 14 days. However, the payment was made immediately when the subscription was created. What can I do?

Related Request ID(s)
req_1DZB59yk2SgEqo

What have you already attempted?
I tried using the invoice items on the subscription to charge the customer only when the subscription is due for payment, after the free trial period

What are you working on?
Python Flask

cursive heronBOT
#

@molten karma pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Sometimes in case of Revolut payment I'm getting two times webhook call for same event in very close time

Related Event ID(s)
evt_3QFTrQJJwRD860NB1lJo3KQ9, evt_3QFTrQJJwRD860NB185MDhei

What have you already attempted?
I've checked the event details and payload, there is nothing change

What are you working on?
Then whey webhook hitting twice for Revolut payment?

#

@sharp heath pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on adding an application_fee to destination charges and want to ensure the amount we are passing is matching the fee that stripe will charge the platform. We are currently working with standard connect accounts but moving to express accounts now, so we don't want to be responsible for the application_fee. As there are a lot of different factors which determine the fee, we can't accurately calculate this before sending the user to the hosted checkout. We also don't want to be over/under charging our users.

Related Request ID(s)
n/a

What have you already attempted?
Mostly just scouring the documentation and forums without any luck. I can't see much else that is offered to help achieve the same or similar functionality.

Have been trying to contact support for a few months and recently got a automated reply to come here.

What are you working on?
Maintaining a online market place. We are currently moving to express accounts and improving the sellers experience with stripe.

#

@weak hazel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Related to my previous submissions, I cannot add to invoice because when the subscription is created with free_trial, the invoice is paid so my API is not even triggering the InvoiceItem.create. I don't want to do try and error, should I create the subscription with the collection_method set to send_invoice or the payment_behavior set to default_incomplete? Or is totally another thing?

Related Request ID(s)
req_PtRcTys1smAnfy

What have you already attempted?
Previous submissions discussions

What are you working on?
Python

cursive heronBOT
#

@dusk gazelle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I tried to create a checkout session with specific payment method config by specifying the id (pmc_1QDGbY2f4MxBVXmrrFDyBrMJ) on a JP account. But when trying out the payment with JCB card it wasn't accepted with "card_not_supported" error.

Related Request ID(s)
req_ir9xxdNhIAEDuv, req_7ghN6LznSX8d7d

What have you already attempted?
Turning on/off/on the JCB payment method.

What are you working on?
Checkout

cursive heronBOT
#

@halcyon lynx pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have an application to make payments to different connected accounts using saved cards. To manage cards with customers, we have used Stripe APIs to fetch and delete cards. And we are using PaymentSheet to attach new cars to customers.

I am trying to make payment with payment method ID using the Create payment intent API and getting error in response as "The provided key 'sk_test_******************' does not have access to account 'acct_********' (or that account does not exist). Application access may have been revoked."

What could be the possible reasons for the mentioned error?

Related Request ID(s)
Destination account is "acct_1PVAxuSFCi0tdtw3". Source is "pm_1QEqgaFbOwMhIcpir7WF8mFj" and customer is "cus_Mj5g8t6aTr8DGd"

What have you already attempted?
Used create payment intent API and getting error in response as "The provided key 'sk_test_******************' does not have access to account 'acct_********' (or that account does not exist). Application access may have been revoked."

What are you working on?
iOS app

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=android

Question
Why the Android sdk behaves differently from iOS?

We are migrating to the Mobile Payment Elements on Android & iOS app and we have a miss match of behaviours in regards the "saved payment method"

We are following this mechanism, where we first collect the payment info and then we listen to the intent callback to create the payment intent on the server.
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=android

We are also passing the ephemeral key secret as per the documentation. In fact, we are able to see the checkbox in the UI to save the payment method. But after the tr

What have you already attempted?
We have tried on iOS and works but not in Android

What are you working on?
Migrate to stripe payment elements

cursive heronBOT
#

@sour flax pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I will try to create a specific checkout session for activated webhook in local

Related Event ID(s)
No

What have you already attempted?
stripe checkout.sessions.create
--success_url="https://test.local/mes-cabinets/"
--cancel_url="https://test.local/mes-cabinets/"
--mode="subscription"
--line_items[0][quantity]=1
--line_items[0][price]="price_1QF93RJD16ieXYBwtbiC76HT"
--customer="cus_R7Vmu77mwnurqv"
--allow_promotion_codes=true
--billing_address_collection="required"
--custom_text[submit][message]="AdhΓ©sion du 01/01/2024 au 31/12/2025"

What are you working on?
Association

#

@sterile pollen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happened with API versions?

  1. We upgraded to 2024-09-30.acacia a month ago but now in dashboard it shows that the default version is 2024-06-20.
  2. In webhooks I can select only 2024-10-28.acacia or 2024-06-20. No option for 2024-10-18
  3. But stripe-java.jar is not available for 2024-10-28.acacia. The latest available is 27.1.1 for 2024-10-18.
    So what version should we use
    - in dashboard
    - in API (java)
    - in webhooks?

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

@unique dock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to refund a cash-balance directly to the bank-account it came from

Related Request ID(s)
-

What have you already attempted?
I do not have a proper approach as the documentation does not state anything usefull (or I can't find it)

What are you working on?
Bank-Transfer automation

#

@drowsy kraken pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
about stripe charge on connect account unable to find a away

Related Request ID(s)
stripe connect

What have you already attempted?
stripe invoicing not working

What are you working on?
we are collecting payments from customer via stripe invocing for our connect account now want to charge our connect accounts with 20 percent of their earning (order) unable to charge connect account

#

@uncut vale pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using stripe subscriptions. We want to create a customer that is on a subscription that renews every year on 1st Jan. We allow people to start paying for the membership from 1st October. We therefore need to be able to create subscription tat renews on 1st Jan every year but if someone does this on 2nd Oct for example, we charge them today and then their next payment due would be 1st Jan 2026

Related Request ID(s)
n/a

What have you already attempted?
We have crated a customer, created a subscription with an anchor date. The problem is we get no payment_intent with tis method. We thought about creating a customer, attaching an invoice and then creating the subscription but we are not sure if this is recommended or will do what we want

What are you working on?
A website for a sports club

cursive heronBOT
#

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

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

Question
How to generate payment method link from API call? Can I do that from my application?

What have you already attempted?
I have copied Stripe generated subscription payment method update link and updated the payment method of the subscription, but I am looking for a way to automate the process of sharing the link to my customers.

What are you working on?
A SaaS application on online consultancy.

#

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

Question
How can i transfer amount from my stripe account to other bank accounts using there bank details or card details

Related Request ID(s)
No request Id

What have you already attempted?
Trying to implement to transfer money from stripe account to the other user bank accounts without onboarding users

What are you working on?
tranfering money from stirpe to bank account

#

@echo furnace pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const options = {
mode: "payment",
amount: totalCost,
currency: "cad",
};

return (
<Elements stripe={stripePromise} options={options}>
<ElementsForm {...props} />
</Elements>
);

function ElementsForm(props) {
return
(<div id="checkout-page">
<ExpressCheckoutElement
onClick={onClick}
onConfirm={onConfirm}
onShippingAddressChange={onShippingAddressChange}
/>
</div>)
}

Question
In Previous version google pay and apple pay was working. When i upgraded to ExpressCheckoutElement the response from api says
google_pay_preference: disabled. Not able to test. Nothing is changed from dashboard. What's the issue

What have you already attempted?
tried the code from docs

What are you working on?
upgrading to ExpressCheckoutElement

#

@hexed mountain pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, a client from India has card payments failing consistently and he told us:

"Starting October 1, the RBI (Main bank of India) requires additional compliance for transactions marked as "recurring." You may face similar issues with other Indian customers using credit cards. We develop solutions for clients, so we know that a "recurring" flag is sent to the payment mediator. If this flag is not set (your tech team can check this), the transaction should go through smoothly."

We create an off_session SetupIntent and charge it from our backend offline. Do you know what can we do about it?

Related Request ID(s)
pi_2QAlp0VyHoaa9nmD1FUPB1KA

What have you already attempted?
I went through this guide but I'm not sure it's relevant https://docs.stripe.com/india-recurring-payments

cursive heronBOT
#

@gleaming pivot pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await this.stripe.checkout.sessions.create({
currency: currency,
mode: "payment",
line_items: lineItems,
payment_intent_data: {
transfer_group: transferGroup,
},
metadata: {
transferGroup,
orderId: order.id,
},
automatic_tax: {
enabled: true,
},
customer: customer.id,
success_url:
"https://app.alfrd.ai/success",

Question
we want to include apple pay, google pay

What have you already attempted?
Enabled the google pay and apple in stripe stripe dashboard

What are you working on?
we are working on e-commerce application

#

@twin badger pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi everyone,

Is it possible from the Stripe dahsboard to see what was the Stripe-Signature for the following two events:

evt_1QFYPIRm5boCGYDhjGLCVNiW
evt_1QFYQ5Rm5boCGYDhyIOlh138

I wanted to make a postman collection to simualte webhooks for some scenarios i can't look in test

Related Event ID(s)
evt_1QFYPIRm5boCGYDhjGLCVNiW, evt_1QFYQ5Rm5boCGYDhyIOlh138

What have you already attempted?
I tried looking into dashboard, by cannot find the signature

#

@velvet drum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you please tell me what went wrong in this payment and their request. I'm attached req id.

Related Request ID(s)
req_ZFJSbaKAdTi79k

What have you already attempted?
I made payment from ios application.

#

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

Code
type: 'StripeSignatureVerificationError',
raw: {
message: 'No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? \n' +
'\n' +
'Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing\n'
},

Question
i am getting this error in my app which is in development and also the production one.

What have you already attempted?
already tried to change all the api keys but all were the same

even tried to look in the docs and implemented all the things mention inside the stripe docs.

What are you working on?
creating a stripe app

cursive heronBOT
#

@upbeat sigil pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Invoice does not come to the customer's mailbox. Price, invoice and all information is pulled up, there are no errors, but the email does not arrive. Checked and made a request in Test version.

Related Request ID(s)
req_U1ll2PZcTwmCL3

What have you already attempted?
used stripe's API documentation

#

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

Question
Received invalid grant error in refresh token API

Related Request ID(s)
req_016HkzlgrbvzY5

What have you already attempted?
https://dashboard.stripe.com/logs?showIP=true&remote_ip=185.69.149.101&starting_after=1730194719-req_016HkzlgrbvzY5

when checking the APIs, the last two refresh API calls failed.
req_JprZulTEDUUOGI - This is the last successful refresh token API call.

After this the next refresh token API is failed - req_016HkzlgrbvzY5

What are you working on?
Stripe plugin lets its customers to connect their account using OAuth authentication and offer various payment methods

#

@drowsy kraken pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
unable to charge on same region as well

Related Request ID(s)
stripe connect debit connect account

What have you already attempted?
trying to charge same region connect account unable tocharge

What are you working on?
stripe charge

#

@opal cliff pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async createConnectAccount({
email,
country,
accountType,
holderName,
holderAddress,
accountHolderName,
accountNumber,
sortCode
}) {
try {
// Step 1: Create the Stripe Connect account
const account = await this.stripe.accounts.create({
type: 'custom',
country,
email,

    business\_type\: accountType === 'business' ? 'company' \: 'individual',
    capabilities\: {
      card\_p

Question
Creating Stripe Connect account via API results in 'restricted' status. What are the required fields and object structure?"

What have you already attempted?
Try to create stripe connect account

What are you working on?
creating stripe connect

cursive heronBOT
#

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

What did you expect to happen?
I'm experiencing an issue with past-due subscriptions that I’d like help in understanding and reproducing in test mode.

Here's the scenario:

When a user's subscription is marked as "past due" due to a failed payment, and the user then updates their card, the payment typically retries and succeeds right after the card update.
However, if the payment was blocked by t

What actually happened?
If the payment was blocked by the user's bank and they then update their card, the payment does not automatically retry upon card update.

Reproduction Steps
Need to know how to reproduce this issue on local

Question
Why does the payment not automatically retry when it’s blocked by the bank, even after the user updates their card?
Is there a specific way to reproduce this scenario in test mode (e.g., specific card types or decline codes I can use to mimic a blocked payment and trigger this exact condition)?

What are you working on?
stripe payment

#

@spring stump pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am facing 302 error for my production endpoint but same is working for my UAT endpoint

Related Event ID(s)
evt_1QFZE2FB5YF9BwLlaDZsqOdV

What have you already attempted?
tried changing the endpoint to some temp endpoint provided by pipedream and it working for that endpoint. I am able to hit my webhook endpoint from my postman but only issue is stripe is not able to hit it

#

@woven moth pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to transfer (payout) money from my stripe's connect account to my external bank account,
facing error of "no such external account".

Related Request ID(s)
req: req_yqu0otvrnMcDTl, external_account: ba_1QCbPi08Mst8GkZ8Xg3Fww1p

What have you already attempted?
I've already tried stripe.payouts.create() method

What are you working on?
working on a grocery delivery system, I want to transfer money to vendor's stripe account and from that to vendor's bank account

#

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

Question
Can we update the line items in the invoice?

Whenever we add/remove quantity from our subscriptions, we generate invoice that adds line items like unused time, total time.

Related Request ID(s)
no

What have you already attempted?
looked into docs

cursive heronBOT
#

@peak geyser pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am receiving this exception: No signatures found matching the expected signature for payload, when transaction is completed and the webhook checkout.session.completed is reached.

        Event event = Webhook.constructEvent\(payload, signatureHeader, endpointCheckoutCompletedSecret, 800L\);

this is the problematic row

but i can assure you i do not alter none of these

Why is this so hard?

Related Event ID(s)
Webhooks

What have you already attempted?
Attempted to finish the webhook

#

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

What did you expect to happen?
I was expecting coupon details to show in the webhook for checkout.session.completed.

What actually happened?
No coupon details showed up in the data.

Reproduction Steps
Created a new coupon, added the coupon id to the structure used to create a new session. Coupon + discount appears on checkout.

Question
How can I get the coupon id that was used during checkout from the webhook checkout.session.completed.

What are you working on?
Custom stripe integration with existing cart written in Coldfusion.

cursive heronBOT
#

@barren lotus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am leveraging on Stripe Connect to provide payouts to Business owners on my platform. I need assistance with an endpoint that I can use to fetch and display their payout earnings data on their dashboards

Related Request ID(s)
None

What have you already attempted?
balance = stripe.Balance.retrieve(stripe_account=request.user.stripe_account_id)

        \# Fetch recent payouts
        end\_date = datetime.now\(\)
        start\_date = end\_date \- timedelta\(days=30\)
        payouts = stripe.Payout.list\(
            stripe\_account=request.user.stripe\_account\_id,
            limit=10,
            created={
                'gte'\: int\(start\_date.timestamp\(\)\),
                'lte'\: int\(end\_date.timestamp\(\)\)
            }
        \)
#

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

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

Question
My checkout page has both an ExpressCheckoutElement and a PaymentElement.

It is possible to disable link pre-fill on the PaymentElement, while still having Link as a payment method on the ExpressCheckoutElement?

What have you already attempted?
Disabling Link as a payment method on the top-level Elements component.

Turning off "Prefill Link for my platform and connected accounts" setting in my Stripe dashboard

Turning off Link as an option in my Stripe dashboard

What are you working on?
Disable Link Prefill in PaymentElement

#

@wide mountain pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have integrated stripe in my Rails-vite application, but from last few days I am getting error "3D Secure was completed, but the customer hasn't been verified because the bank does not support 3D Secure, has not set up 3D Secure for the card, or is experiencing an outage. The card network has provided proof of the attempt" even with the test card 4242424242..., that's only happening when I am using US currency even through my 3DS is completed.
Please tell me how can I fix it.

Related Request ID(s)
Testing it on testing mode

What have you already attempted?
I have tried to skip the 3ds, as payments are failing if 3ds is completed but customer bank didn't supported it

What are you working on?
Stripe Integration in my application

cursive heronBOT
#

@severe mauve pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var options = new AccountCreateOptions
{
Controller = new AccountControllerOptions
{
StripeDashboard = new AccountControllerStripeDashboardOptions
{
Type = "full"
},
},
Email = email,
Company = new AccountCompanyOptions()
{
Name = name,
Phone = phone,
},
BusinessType = "company",
Country = stripeCountryType.ToString(),
};

Account account =await accountService.CreateAsync(options);

Question
After create the stripe connect account. I want to create the login url with

What have you already attempted?
var options = new LoginLinkCreateOptions();
var service = new LoginLinkService(){};
var loginLink = service.Create(connectedAccountId, options);
error
Stripe.StripeException: Cannot create an edit link for the account acct_1QFd2iRwbsiuGeFT, which does not have access to the Express Dashboard.

cursive heronBOT
#

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

Question
How can I test that I need to upload an identity document, in order for payouts to be enabled again?

Related Request ID(s)
req_NrVk5efdT1pony, req_Nu2o2YYTbFbdZw

What have you already attempted?
I tried creating a direct charge with the charge API like described here: https://docs.stripe.com/connect/testing-verification#blocked-payouts and here https://docs.stripe.com/connect/testing#trigger-cards

This is the stripe test account I tried it on: https://dashboard.stripe.com/test/connect/accounts/acct_1OdrTeFhn7HWgSe0/activity

I set the Stripe-Account header to acct_1OdrTeFhn7HWgSe0, and tried submitting both source being tok_visa_triggerPayoutBlock and source being tok_visa_triggerTransferBlock, with no success.

What are you working on?
C2C platform where users can get paid out

#

@dull crag pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
To the received payment intent to be capturable as normal

What actually happened?
We've received a successful payment but when trying to capture the amount it says that the payment intent requires a payment intent. Id: pi_3QFbzqGOs2bxG0Rw1sUkjycs

Reproduction Steps
Not sure what happened

Question
What happened for the successful payment to not go trough?

#

@vocal wagon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Session sessionEvent= (Session) event.getDataObjectDeserializer().getObject();

Question
I think I've found a bug. I just wanted to raise some awareness to this issue. I found by creating my own POJO & using the object mapper class, I was easily able to work around this issue in the Java SDK. The above snippet would always be null, so I just parsed the event JSON payload as a quick work around.

https://docs.stripe.com/checkout/fulfillment?lang=java#create-payment-event-handler

What have you already attempted?
I've tried following the documentation word for word, but the underlying object was always null. The session object was never populated, so I found a simple solution of mapping the object myself to get the information that I needed for my use-case, in this scenario, an example of some critical data is the customers email address.

What are you working on?
SaaS Product

#

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

Question
Hi again! So we know that Wallet Payments cannot be used in a flow where you are saving the card with a terminal for recurring/later use. (this flow: https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly)

I know we get test cards with the Terminal dev kit but, is there a way to test Apple Pay / Google pay charges as well. We're trying to confirm that if we call the process_setup_intent method and someone has used Apple Pay on the terminal, it will throw some sort of error.

Related Request ID(s)
-

What have you already attempted?
We also want to make sure a normal (ie. not saved card) apple pay payment works with terminals using the usual payment intent flow detailed here: https://docs.stripe.com/terminal/payments/collect-card-payment

So just wondering what the best way to test wallet payments for that is with a Dev kit.

#

@torn cosmos pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a basic subscription with 2 prices for 1month and 3months, if i wanna add a new premium one, should I make a new product or a new price, i want customer to be able to switch from one subscription to another from the stripe customer dashboard

and is there a way to fetch only active/trialing subscription (right now I fetch all and filter)

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

What are you working on?
saas

cursive heronBOT
#

@vast orchid pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to detect invoices that go past due date so that they can be voided/marked uncollectible? Previously tried creating an automation for this which doesn’t seem to work. So now using sub moving to past_due as trigger for voiding the overdue invoice. But this approach fails if user fails to authorize payment with 3DS card.
Context: User checks out with invoice payment method -> attempts to pay open invoice with 3DS card -> sub moves to past_due -> user fails to authenticate -> invoice remains open & sub past_due -> after invoice due date -> no change to sub status -> so can’t void invoice

Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1KvS7GG3sHfiJI0A/subscriptions/sub_1QFeCbG3sHfiJI0APrVJlRXp

What have you already attempted?
Tried creating an automation to move overdue invoices to uncollectible state & send invoice.overdue webhook event . Dashboard doesn't show the evnt being emitted and invoice state remains unchanged.
Automation: https://dashboard.stripe.com/automations/autocfg*AZLaIxNguQAAAG2b%23EhcKFWFjY3RfMUt2NTRnSUh1Q0t0enZHag

What are you working on?
Offering a checkout-now-pay-later feature. Customer checks out a subscription, invoice is created - due in 45 days- if payment not completed - overdue invoice should be voided

#

@sour inlet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
PAYOUT BLOCKED FOR A YEAR PLEASE HELP NO ONE RESPONDS ITS OVER A GRAND

Related Request ID(s)
NONE

What have you already attempted?
EVERYTHING EMAILS, LETTERS SENT THE LOT

What are you working on?
TRYING TO GET MY MONEY OFF OF YOU

#

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

Code
return stripe.Webhook.construct_event(
data,
signature,
secret_key,
tolerance=SIGNATURE_TOLERANCE_SECONDS,
)

Question
Trying to validate signatures on webhook payloads (in our case for Stripe Apps connections) just started failing out of the blue. Is there an ongoing outage on your side?

What have you already attempted?
We have reproduced this and it happens on all new connections

#

@austere monolith pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Payouts for Connected accounts should have followed the Delay Days option.

What actually happened?
Its always paying them out without holding the funds for the "delay days"

Reproduction Steps
I think its a general bug with Stripe Connect payouts

Question
I'd like that this bug is fixed.

#

@vocal wagon pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For disputes, stripe sends a webhook event for literally every character added or removed when writing the texts, is there a way to limit that?

Related Event ID(s)
any charge.dispute.updated

What have you already attempted?
nothing since this is a stripe behavior

What are you working on?
dispute dashboard

#

@slow island pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I connect payouts with invoices and transactions. I need to show my accounting team which payments are included with x fees in one payout.

Related Request ID(s)
/

What have you already attempted?
Check the api docs to see if something connectable is existing...

What are you working on?
A help for my accounting team

#

@reef dune pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working with Stripe Test. I have a connected account that in test they have the payouts restricted. I don't identify the way to resume those

Related Request ID(s)
1

What have you already attempted?
I'm working with Stripe Test. I have a connected account that in test they have the payouts restricted. I don't identify the way to resume those

#

@tawny pivot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Good morning. I am trying to get a list of charges using a payment method id. I cannot find anything in the API that allows this.

Related Request ID(s)
None

What have you already attempted?
I tried to use the charges API, but that only allows customer id .

What are you working on?
Payment method history.

#

@polar cypress pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I trigger an automatic payout of transfers for testing? I don't want to have to wait a day for my test payments to be paid out, and stripe.balanceTransactions.list requires automatic payouts and not manual ones.

Related Event ID(s)
req_PeBVyxmcFQeYqh

What have you already attempted?
We have it set everything we need to tie payouts to transfers, but being able to trigger an automatic payout would be helpful. We make a change and have to wait a day for out test transfers to be bundled and paid out.

What are you working on?
On our side, we have a list of transfers we've initiated, but we want to be able to know when they are groupsed together and paid out on the stripe-side.

#

@vast orchid pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to detect invoices that go past due date so that they can be voided/marked uncollectible? Previously tried creating an automation for this which doesn’t seem to work. So now using sub moving to past_due as trigger for voiding the overdue invoice. But this approach fails if user fails to authorize payment with 3DS card.
Context: User checks out with invoice payment method -> attempts to pay open invoice with 3DS card -> sub moves to past_due -> user fails to authenticate -> invoice remains open & sub past_due -> after invoice due date -> no change to sub status -> so can’t void invoice

Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1KvS7GG3sHfiJI0A/subscriptions/sub_1QFeCbG3sHfiJI0APrVJlRXp

What have you already attempted?
Tried creating an automation to move overdue invoices to uncollectible state & send invoice.overdue webhook event . Dashboard doesn't show the event being emitted and invoice state remains unchanged.
Automation: https://dashboard.stripe.com/automations/autocfg*AZLaIxNguQAAAG2b%23EhcKFWFjY3RfMUt2NTRnSUh1Q0t0enZHag

What are you working on?
Offering a checkout-now-pay-later feature. Customer checks out a subscription, invoice is created - due in 45 days- if payment not completed - overdue invoice should be voided

#

@real pumice pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why did the "invoice.updated" event not trigger when the invoice became "Past Due" due to the parent subscription? Only the "invoice.will_be_due" triggers, which is before it became past due actually

Related Event ID(s)
evt_1QFfIdDfShUmFKB5KLPZPfYM

What have you already attempted?
I'm trying to use the "customer.subscription.updated" and get the "latest_invoice" from the subscription object to retrieve that invoice, and then, if the subscription was status "active" and became "past_due", I'm using it to trigger a custom e-mail from my API, but, if multiple invoices become past due, this will trigger only for the first invoice, because the previous subscription status was past due and would not have changed after the second invoice gets past due too

What are you working on?
Integration to trigger a custom e-mail whenever an invoice gets past due

#

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

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

Question
Is it possible to include apple pay in the payment methods tab? The preview example generated in my dashboard shows apple pay separate from the tabs.

What have you already attempted?
I've tried to enable apple pay but don't see it locally due to the requirement of verifying apple merchant ids.

What are you working on?
Building a subscription service and expanding to different payment methods

cursive heronBOT
#

@snow glacier pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We've wrongly updated subscription items as part of a migration. We'd like to pause collection on a subscription, revert back the subscription items, do something make sure the invoice does not reflect this faulty migration and resume collection. How can we do this?

Related Request ID(s)
req_GHYzyFTGTRbIqx

What have you already attempted?
Nothing, we're looking at our options to revert the migration and we're now looking at our options to pause collection to mitigate the blast radius.

#

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

What did you expect to happen?
We have a public and published app in the Stripe Apps Marketplace: com.productivity.parcelcraft. We generate a signature from Stripe to verify requests to our backend. This has been working for the past year, but without changing our app or backend code, the signature generated by fetchStripeSignature can no longer be verified by webhooks.signature.verifyHeader

What actually happened?
The response from verifyHeader throws "No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
Learn more about webhook signing and explor

Reproduction Steps
//
Frontend
sig = await fetchStripeSignature();

//Backend

stripe.webhooks.signature.verifyHeader(
JSON.stringify({
user_id: userId,
account_id: accountId,
}),
sig,
process.env.APP_SECRET!
);

Question
Do the instructions at https://docs.stripe.com/stripe-apps/build-backend need to be updated in someway? Have the underling functions changed?

What are you working on?
The Parcelcraft Shipping app for the Stripe Apps Marketplace

#

@north root pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I try to do payment via Link payment method using stripe-react-native method It fails. On the Stripe dashboard it shows error:
parameter_unknown - _stripeAccount
Received unknown parameter: _stripeAccount

This is error for request performed by stripe sdk see related request id. So what is the reason for Sdk sends request with incorrect parameters?

Related Request ID(s)
req_q39Yp2dggGFV2U

What have you already attempted?
It just failed payment via Link payment method, not much else to try here.

What are you working on?
react native app

cursive heronBOT
#

@frigid quartz pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way in checkout session to attach payment method to a customer is `subscription` mode

Related Request ID(s)
req_mRUNUIK75p53eg

What have you already attempted?
the above request. I tried the following, but that is apparently not for subscription mode
```"payment_intent_data": {
"setup_future_usage": "off_session"
},```

What are you working on?
platform that offers different plans and freemium services

#

@sharp shell pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Our account just randomly got blocked after we did some testing on production with actual money and subscriptions.

What actually happened?
We got blocked, we did our testing on test but wanted to check prod as well.

Reproduction Steps
Not sure what happend, so I can't share this.

Question
We need help to restore this, we worked a lot to integrate everything and we're now for no reason getting our account removed...

What are you working on?
We're working setting up the payment subscription services for https://www.brainbite.ai

#

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

Question
How can I test failed ID document upload?

Related Request ID(s)
req_cNtImluDef1wws

What have you already attempted?
I tried uploading two black and white images to satisfy the verification.document ID verification requirement. https://docs.stripe.com/connect/handling-api-verification#confirm-id-verification

It says black and white pictures are not allowed, but that rule didn't kick in.

I'd like the stripe account to enter a state where the uploaded document is invalid (for any reason really).

What are you working on?
C2C sales platform with seller payouts

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/cash_balance_transactions/object#customer_cash_balance_transaction_object-funded-bank_transfer-us_bank_transfer-network

Question
I would like to confirm what the expected values for network could be for funded customer cash balance transactions. Specifically in the case of international wire transfers. Is it safe to treat both 'swift', and 'wire' values for the network attribute as wire transfers that can not be reversed? Thanks!

What have you already attempted?
I'm just hoping to get more certainty on this network value since it is not something we can test or simulate for international wire transfers.

What are you working on?
wire transfer payment processing system

cursive heronBOT
#

@vast orchid pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to move a sub from past_due to active other than paying/voiding the latest finalized invoice on that sub?
Context: User checks out with send_invoice payment method -> attempts to pay open invoice with 3DS card -> sub moves to past_due -> user fails to authenticate -> invoice remains open & sub past_due -> after due date passes (45 days) -> we would like to void the open invoice . There is no invoice webhook event to detect overdue invoices - so we were using sub moving to past_due as a trigger for voiding the overdue invoice. But there is no change to sub status in this case.

Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1KvS7GG3sHfiJI0A/subscriptions/sub_1QFeCbG3sHfiJI0APrVJlRXp

What have you already attempted?
Tried creating an automation to move overdue invoices to uncollectible state & send invoice.overdue webhook event . Dashboard doesn't show the event being emitted and invoice state remains unchanged.

What are you working on?
Offering a checkout-now-pay-later feature. Customer checks out a subscription, invoice is created - due in 45 days- if payment not completed - overdue invoice should be voided

#

@barren zinc pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to determine from a
customer.subscription.deleted webhook whether the subscription was cancelled because of a failed payment versus when a customer requested the cancellation?

We were previously using profitwell, when a customer failed to pay the `cancellation_details: reason` in the
customer.subscription.deleted webhook would say "payment_failed"

Now that we've stopped using profitwell all of the webhook's have the same reason, "cancellation_requested" despite many of our subscriptions being due to a failed payment.

Related Event ID(s)
evt_1Q8uEaJyFlemKh0gDlFaU1WQ

What have you already attempted?
Nothing, just trying to determine how we can restore the previous functionality.

What are you working on?
We want to be able to tell our data team whether a user churned voluntarily or involuntarily. We consider customers who cancel manually voluntary and customers who fail to pay involuntary.

cursive heronBOT
#

@hallow dawn pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I use the customer portal to update a subscription using deep link, all is great but I've noticed that if I upgrade a subscription the billing cycle start from the next month, I don't see any options in the api se upgrade the subscription immediately, am I missing something?

Doc/Guide Links
https://docs.stripe.com/customer-management/portal-deep-links

What are you working on?
SAAS

cursive heronBOT
#

@static zodiac pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I recently updated my workflow to the one documented here: https://docs.stripe.com/payments/accept-a-payment-deferred.

Now, when I submit it gives me the error:
Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types.

I was able to update this in the payment intent when creating a straight forward payment, but when going through the subscription schedule workflow, I don't see how to do this, as there is no field for that.

Related Request ID(s)
sub_1QFikeGlaRMYAMgbZbtrt0o8

What have you already attempted?
When updating the subscription with 'save_default_payment_method' => 'on_subscription', I also had 'payment_method_types' => ['card'], which I removed, and I'm still getting the error.

#

@south trellis pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we have a scenario where we have two different prices for a subscription one is $69 and one is $79. If we start the patient off on the $79 sub and then change the underlying price to $69 we want to credit them with the prorated amount whatever that is. we can do that by setting the proration behavior to 'always_invoice'. If we then change the price back to $79 we dont want to charge them the prorated difference. we can do this by updating the subscription with proration_behavior to none. however if we change the price again to the lower one we would not want to give them another credit.

Related Request ID(s)
none

What have you already attempted?
none

What are you working on?
na

cursive heronBOT
#

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

Code
const PAYMENT_OPTIONS: StripePaymentElementOptions = {
layout: {
type: 'accordion',
defaultCollapsed: false,
radios: true,
},
fields: {
billingDetails: 'auto',
},
}
<PaymentElement options={PAYMENT_OPTIONS} />
<AddressElement options={{ mode: 'billing' }} />

Question
I'm getting the following error in my sentry reports:
Invalid value for PaymentRequest update(): total.amount should be a positive amount in the currency's subunit. You specified: 2000.

What have you already attempted?
N/A

cursive heronBOT
#

@wild fulcrum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When we have a payment issue with a customer (ex: 5 payments failed), then the "Automatic collection for this invoice was turned off", and the Subscription is CANCELLED !

How to configure my subscription to not be cancelled when 5 payments failed ?

Related Request ID(s)
https://dashboard.stripe.com/events/evt_1Q1g6DFozK3SDFaCPatSV2Zp

What have you already attempted?
We try to find the right configuration in the documentation.

The doc says "If subscription collection_method=charge_automatically […], once Stripe has exhausted all payment retry attempts, the subscription will become canceled or unpaid (depending on your subscriptions settings).".

What are the "subscriptions settings" concerned ??? I cannot find!

#

@real compass pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have begun using the v2 API for meter, but upon sending meter data am seeing rejections for rate limits hit. I am trying to identify what rate limit I hit and via what call, because this is against a sandox account and I cannot see anything about the requests made in the workbench I am unclear.

Related Request ID(s)
req_v2dkyxZrT6yQFyGwG

What have you already attempted?
Checked dashboard workbench, but cannot see any information

#

@austere raptor pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
PaymentMethodDomainService List() to give me the same registered domains as I see on my stripe payment method domains page

What actually happened?
PaymentMethodDomainService List() is not giving me different registered domains compared to my stripe account

Reproduction Steps
PaymentMethodDomainService.List(requestOptions) where requestOptions.ApiKey is the test key from the Stripe Connect account, and the Stripe Account id is the connected stripe account where we want to retrieve domains from

Question
I want to be able to retrieve registered domains from the connected stripe account as per https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect or be shown where they are on the dashboard

#

@sacred bone pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
lets say that a customer pays for his subscription, that subscription will be transferred to the company that sells the subscription.

I'm trying to get the transaction ID from that payout and also which subscription ID's that were included in that payment.

but I couldn't find a correlation between the 3 entities(subscription, payout, bank transfer reference)

Related Request ID(s)
0000000

What have you already attempted?
I've tried to fetch the payouts and for each payout fetch the balance transactions, but no linking found

What are you working on?
Financial metric tool

#

⛔️ Stripe developers aren't currently available on Discord

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

We will be back around 10am GMT on Thursday

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

#

@grim tartan pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Google Pay has been enabled on Check Out, there should be Google Pay button on the Demo.

What actually happened?
there is still no Google Pay button on the Demo.

Reproduction Steps
- Google Pay enable on Check Out
- Check the Demo through this link https://sz.smartzliving.ai/checkout.html

Question
What should I do to meet the expected?

#

@charred minnow pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have 3 entities:
Customer
Platform/Company (us)
Session provider (third party connected via Stripe Connect)

What we are trying to achieve:

  1. Customer books and pays for the session ahead of time.
    - Session could take place the same day or in the future with a Provider through the Platform.
  2. After the session is done, the provider gets payed 80% and the platform takes 20%.

I have looked at the "separate-charges-and-transfers#collect-fees" in the documentation and its quite close to what we want to achieve, but with a delay of transfers (we would handle the delay inside our platform).

At the moment w

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#collect-fees
https://docs.stripe.com/connect/collect-then-transfer-guide?platform=web&lang=node
https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-add-server-endpoint

What are you working on?
Booking platform for online training and therapy sessions with external providers.

#

@surreal night pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
want to charge stripe fee from cutomer. is there any way to pass param stripe fee is include or inclusive

Related Request ID(s)
req_hnWHgUR9ad1mxs

What have you already attempted?
we calculated stripe fee manually and then charge customer on total amount. but stripe again charge fee on calculated fee.

What are you working on?
want to charge stripe fee from customer

cursive heronBOT
#

@quasi panther pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m using Stripe Connect Express to manage driver accounts in my VTC app. Drivers may either have a business type of company or individual. For drivers under business type company, I need their accounts in Stripe to display company contact information (company email and phone) instead of the driver's personal information. How can I update existing business type company accounts to reflect this company info? Is there a recommended way to update this via the API?

Related Request ID(s)
i have acct ids: acct_1PjJx1R6caSpOGNj

What have you already attempted?
I’ve reviewed Stripe’s Account Update API and identified fields like support_email and business_profile as possible solutions. However, I’m uncertain if these updates can override driver details for Express accounts with business type set to company.

What are you working on?
I'm working on a VTC app using Stripe Connect Express, where we differentiate between drivers who operate as independent individuals and those affiliated with a company.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay/apple-pay-recurring

Question
We're having issues with deferred off-session Apple Pay payments where they are often getting declined. We use SetupIntents with OFF_SESSION to set up the default payment method without an initial charge for some payments for a later one-off payment, but as per the docs:

You can also create a SetupIntent directly to save the Apple Pay PaymentMethod for future usage. SetupIntent confirmation initiates the same CIT 0 USD validation to consume the cryptogram

I'm not sure if the 0 USD CIT validation is automatic or if it's actually working or if we need to do something in addition to that.

What have you already attempted?
Set up off-session setup intents, which have been working for 2+ years without any issues. Read most docs related to SetupIntents, etc. but not sure about the $0 CIT.

This is using a custom payment flow inside our app through our backend service.

What are you working on?
Deferred payments

cursive heronBOT
#

@silver lava pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The issue here is that the Stripe webhook callback for the checkout.session.completed event was successfully received, as evidenced by the detailed event payload in the logs. However, an error occurred when processing this webhook in the stripe_events method within the PayController.

The specific error is a NoSuchElementException, which typically arises when attempting to access a value from an Optional object without first checking if the value is present. This indicates that the code tried to retrieve a value that was not available, leading to the exception.

Related Event ID(s)
evt_1QFsMEK4vaWYtFnyu0HDIOFq

What have you already attempted?
check if webhook version, key, ssl implementation

#

@lilac ore pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I set `ShippingAddressCollection` Allowed Countries to ALL - meaning worldwide? Did not find something in the enum definition

Doc/Guide Links
ShippingAddressCollection.AllowedCountry

What are you working on?
What the best practice here pls?

#

@pulsar depot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I get bank name of a payment method? I can see the bank name on the dashboard but need that via api

Related Request ID(s)
API

What have you already attempted?
call api fhttps://api.stripe.com/v1/payment_methods/:id but not bank not returned

#

@chrome verge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
//ElementsProvider
useEffect(() => {
const fetchPaymentIntent = async () => {
const { clientSecret } = await createPaymentIntent({
eventKey,
}).unwrap();
setOptions({
appearance,
clientSecret,
});
};

fetchPaymentIntent\(\);

}, []);
<Elements stripe={stripePromise} options={options}>
{children}
</Elements>

<form\>
  <PaymentElement
    onChange={handlePaymentElementChange}
  /\>

</form>

Question
Apple pay button is now showing up, other options like Amazon, 1Link are showing but apple pay isn't. PaymentIntent creation and other stuff is configured correctly. I am successfully able to complete payments through test cards.

What have you already attempted?

  1. Enabled apple pay in dashboard.
  2. Registered my domain in stripe dashboard.
  3. Serving development server over https.
  4. Opening the page from safari.
  5. Apple pay option shows up for other working applications on my safari browser.

What are you working on?
I want to integrate card payment and apple pay payments.

cursive heronBOT
#

@fresh haven pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there, Is it possible to have a behaviour in the invoice flow similar to the subscription behaviour of error_if_incomplete?

Related Request ID(s)
in_1QFveYAaUXuXv6pvaOigqDxt

What have you already attempted?
I currently pass the options of collection_method: charge_automatically however upon the payment failing the invoice is then set to open so that it can go through the automatic collection lifecycle. Is there a way for me to instead void the invoice and have the finalise invoice call return an error if the payement fails?

cursive heronBOT
#

@lost notch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you please confirm that stripe allow pre authorization payment visa and secure 7 days max - is the api today valid and can be integrated with this option on api for one pur project. We ask this question because our customer want to install the pre authorization payment visa without debited amount only if we overpass 7 days or if payment confirmed definitively: so the question we asked if stripe will charge services for such pre authorization

Related Request ID(s)
This is new request not yet deployed 12345000000000

What have you already attempted?
We found docs on your website but not sure if this paid sevice

cursive heronBOT
#

@fierce sentinel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why when creating a partial refund with app fees, the app fees amount was not refunded (in test mode)?

Related Request ID(s)
req_2nF0AKesmBPOGT

What have you already attempted?
create a transfer reversal
by this doc
https://docs.stripe.com/api/transfer_reversals/create
with parameter
refund_application_fee = True
for partial refund with app fees refund

cursive heronBOT
#

@untold flame pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I maintain rust bindings for stripe and am interested in the backwards compat story of v2 as it becomes available. v1 had an openapi spec, is there any similar documentation for v2

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
arlyon/async-stripe

#

@fast siren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm on the billing portal page, having created a portal session. I need to use a Stripe test bank account for testing a US Bank account via ACH. The only options are to use the Stripe test banks, there is no option to insert the account details manually (which I usually see). I am using setup intents. I need to force microdeposit payments so I can get the next steps and microdeposit url back. Thank you!

Related Request ID(s)
"bps_1QFyA2J7FBqLiwgY2ZPDkEik"

What have you already attempted?
I have tried as above, there is no option to add the bank account manually.

What are you working on?
Two sided marketplace for clients and events.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/appearance-api?platform=web#radio-icon

Question
Would it be possible to change the icon of the radio button to be a chevron icon? And would it also be possible to change the orientation of the icon to the right hand side?

What have you already attempted?
I tried to change it locally but have not got it to work

#

@meager flame pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When creating processing a setup intent, I am getting responses like "Your card has insufficient funds". Is there a way to create the payment method even if the card is over its limit since it will be used for future billing in my case

Related Request ID(s)
req_lmJZCY8GJ710ZG

What have you already attempted?
In the documentation it appears that this should not be an issue, but it is and not sure why

What are you working on?
this part of the project creates payment methods for future billing

#

@errant timber pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the Stripe Payment element to save customer information for future payments. On the element, I notice that the mandate is provided by default. However, when I test using the test ACH account ending in 1113, I see the following on my Stripe logs "This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter.". This error occurs at checkout . I am able to successfully add the ach payment method.

Related Request ID(s)
req_vEFzNCiHD4Ywts

What have you already attempted?
Nothing at the moment. I am looking to understand if why I would get this error if the Payment Element already provides the mandate by default. And the customer agrees to it, if they choose to save their account information.

What are you working on?
I am working on making sure invoices are correctly displayed.

cursive heronBOT
#

@reef drift pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am extracting information from stripe using the api, via airbyte and I have different information comparing with data directly through the UI via sigma

Related Request ID(s)
.

What have you already attempted?
I tried to use events to access all the discounts used but without success.

What are you working on?
Identify all subscriptions that already used a coupon

#

@bleak abyss pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
I'm able to create a payment method and setup intent record, but I can't figure out how to auto-verify it. In the dashboard, the payment method shows 'pending verification'. How do I make it so that the payment method is 'verified'.

Related Request ID(s)
req_dSCrXZncrizMFN

What have you already attempted?
I've tried to pass the stripe_bank_account_token, but it gives me an error when I try.

What are you working on?
Payment Method / Setup Intent

#

@forest hazel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there an inconsistency between the next natural billing cycle anchor and a newly made subscription's current_period_end? From an existing subscription, I want to create a new subscription, with billing_cycle_anchor set to the next renewal. For this, I've used current_period_end, but I just got this error.

billing_cycle_anchor cannot be later than next natural billing date (1732948297) for plan

sub_1QFlSeIXLR0o4zHDHAaURTFE
That is the subscription I was trying to take the next renewal from

Related Request ID(s)
req_eWG7RMl6agGH6v

What have you already attempted?
I've tried using a subscription's current_period_end as billing_cycle_anchor for creating another subscription.

cursive heronBOT
#

@willow turret pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I noticed some long time ago that Stripe webhook (subscription.created events mainly) takes sometimes more than 30 seconds to fire the event to the webhook (im checking the timestamp of when the event was created comparing to the time that it was sent in webhooks page), is that expected? I can attach some screenshots for comparison, but also I want to know, if this is expected, how we should handle it in our end? As we manage subscription in our APIs + have a paywall in frontend, and the user will be blocked until the event is fired.

(We're using stripe hosted page)

Related Event ID(s)
evt_1QFzUlC3RUd61rif07eSXVr0

What have you already attempted?
We did workaround by creating a random code and attaching it to the success url + user cookies, that way it would verify if it matches when the user comes back from stripe page, but that doesn't seem the right path to me

#

@rare cape pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Need help with customizing stripe hosted checkout page for all connected accounts

Doc/Guide Links
I followed documentation on branding and it didn’t work

What are you working on?
I would like to have same theme for all connected customers. Through api I would like to send connected account logo. Send invoice details like invoice number, to customer name, connexted customer name erc in api

#

@quaint vapor pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to migrate existing subscriptions from an external system to Stripe. I am creating Subscription Schedules on Stripe to into account the currently running subscription and setting that phase to end at a specified date where the next phase will send an invoice or charge automatically.

I am running into an issue with phase[0] attempting to autocharge customers instead of running the prorated duration at a no-cost (as they have been paid for on the external system). Phase[1] seems to be set up correctly.

Related Request ID(s)
req_eLTMXL5lqByUUM

What have you already attempted?
I have set proration_behavior to none after

#

@pure gate pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can Stripe search APIs support sorting rules in query?

Related Request ID(s)
N/A

What have you already attempted?
I want to use the search API to search for some resources based on certain conditions, and after retrieving these resources, I need to sort them in a certain order, such as by creation time. I haven't found any relevant descriptions in the docs.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/account-debits#charging-a-connected-account

Question
Is there a fee for transferring money from a connect account? We are trying to move customer credit from platform account to a dedicated connect account to keep track and want to ensure we won't end up paying additional fees for when the customer withdraws that money or if we move the money between the connect account and our platform account.

What have you already attempted?
Looked at the docs I could find online.

#

@maiden veldt pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Hello, good afternoon, I would like you to help me create a stripe account since I have already tried to create it several times and I cannot, they reject me since I am from Peru and I don't know how to create it.

Question
Hello, good afternoon, I would like you to help me create a stripe account since I have already tried to create it several times and I cannot, they reject me since I am from Peru and I don't know how to create it.

What have you already attempted?
Hello, good afternoon, I would like you to help me create a stripe account since I have already tried to create it several times and I cannot, they reject me since I am from Peru and I don't know how to create it.

What are you working on?
Hello, good afternoon, I would like you to help me create a stripe account since I have already tried to create it several times and I cannot, they reject me si

#

@errant timber pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Looking to continue the conversation for this thread: #dev-help message. I noticed the mandate error is not for all test ach accounts, but rather just one; account ending in 1113.

Related Request ID(s)
req_vEFzNCiHD4Ywts

What have you already attempted?
Looking to get a better understanding why I would get the error if I am using Stripe's Payment Element, which provides a default mandate.

#

@vagrant belfry pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Apple Pay is not showing up on Checkout

Related Request ID(s)
req_pg2z2gHw3LWp2h

What have you already attempted?
Apple Pay is meant to be displayed on checkout if it's supported. Now it's not showing up on the devices which used to see it. We haven't changed anything in our integration code or in stripe settings on our own. I am not sure if it's some automatic/default behavior after some internal stripe update

#

@neat acorn pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a use case where a customer support can setup a custom charge, which is not connect to any product.

I was looking into Stripe Invoice and InvoiceItem, which seems the way to go to implement this. But it seems that even InvoiceItems create products in Stripe, although apparently they are created as archived products and not directly visible in Stripe Dashboard.

Is this correct? Or is there a better approach?

Doc/Guide Links
https://docs.stripe.com/invoicing/integration/quickstart

What are you working on?
Integrating Stripe Invoice

cursive heronBOT
#

@bleak abyss pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For US Bank Account payment method, is it possible to auto-verify the bank account without having to use micro-deposits?

Related Request ID(s)
https://dashboard.stripe.com/test/workbench/logs/req_dSCrXZncrizMFN

What have you already attempted?
I've tried to set verification_method to automatic, but it doesn't work. I want to skip having to use micro-deposits. How do I do that?

What are you working on?
auto-verifying a payment method

#

@signal wolf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am trying to make use of the embedded pricing table. I have successfully created the table and was able to embed it within my React App. I am trying to track subscriptions and also pass the customer email, but no changes are appear when the user has a subscription and the email is not being passed when they enter checkout. Am I using the wrong ids or is something wrong with my API.

Related Request ID(s)
req_wlFwUfT9XkDJHH

What have you already attempted?
I have made of use of the example provided in the docs:

<stripe-pricing-table
pricing-table-id="'{{PRICING_TABLE_ID}}'"
publishable-key="pk_test_51O3NOeK1KAag6qnVEzHCLnx8hnN4aayAjGNyPX2Dqkz3CVtuwmNVDodm417Squgf7ZFKaVTobhtTrd0eZBaLzKHU00790dndyD"
client-reference-id="{{CLIENT_REFERENCE_ID}}"
customer-email="{{CUSTOMER_EMAIL}}"
>
</stripe-pricing-table>

but this doesn't seem to work. The email doesn't get passed to checkout and the reference_id doesn't seem to be recognized.

What are you working on?
Integrating Stripe payments into React App using embeddable pricing table

#

@torpid latch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"afterpay_clearpay": {
"available": false,
"display_preference": {
"overridable": true,
"preference": "off",
"value": "off"

Question
When adjusting display preferences when dynamic payments is enabled, can you adjust the payments for "categories" instead of "an individual payment method"?

For example, "bank debits" is comprised of Bacs, FPX, SEPA, ACH, etc. Rather than adjusting each of those individually, can i just adjust at the "bank debits" level as a whole?

What have you already attempted?
Nothing

What are you working on?
Dynamic Payments Implementation

#

@pale zodiac pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our webhook endpoint for handling Connect events currently has a failing `payout.paid` event. During development, we got some warnings about webhook events being disabled due to failed events. I just want to see how much time we have to address the failing event before we're in danger of our webhook endpoint being disabled.

This is currently the only event that is failing on this webhook endpoint.

Related Event ID(s)
evt_1QFmMYQ47DT3p7v3RTWz8ssa

What have you already attempted?
Haven't attempted anything yet. Just wanted to get a sense of how much time we have to address the issue with our webhook event handling.

cursive heronBOT
#

@limber veldt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using experimental stripe API for tax forms and there's no example of response payload

curl -G https://api.stripe.com/v1/tax/forms
-H "Stripe-Version: 2019-03-14;retrieve_tax_forms_beta=v1"
-u "sk_live_*****"
-d type=us_1099_k
-d "payee[account]"=****

gets me:

{
"object": "list",
"count": 0,
"data": [],
"has_more": false,
"url": "/v1/tax/forms"
}

Can you please share some sample responses for data list?

Related Request ID(s)
Can't find request in dashboard

What have you already attempted?
Posted curl request/response ^^^

cursive heronBOT
#

@stark fiber pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When a scheduled subscription is scheduled to start and the payment method is declined, a subscription is not created.

What actually happened?
When a scheduled subscription starts and the payment method is declined, a subscription is created anyways with a failed (depending on settings) invoice.

Reproduction Steps
Schedule a subscription with a payment method that looks valid at first but ends up being declined when the subscription starts.

Question
Is there a way to stop a subscription from being created when a scheduled subscription starts if the payment fails? Without a schedule, if you try to start a subscription normally and the payment fails, a subscription is not created. This may be possible for removing all retry attempts in Billing settings but this would affect renewing subs when only want new affecte

#

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

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

Question
So, I have a platform that currently has two monthly plans: free and paid (PRO). I want to add another paid plan, the Premium plan. I want this plan to have a free 3-day trialing. But I have a requirement: stripe shouldn't prorate or issue customer any credits when changing plans. Instead, I need to prorate only after the trial ends and user is charged for the new plan. Also, if user decides he no longer wants the trial, the previous subscription should remain with the same billing date, and nothing should be charged from him. How can I achieve this? I wasn't able to do it from the Dashboard.

What have you already attempted?
Pretty much every attempt on the Dashboard, but if I don't prorate, stripe doesn't "remember" the previous billing date, and it charges the user twice for the old plan since no prorations were applied before.

What are you working on?
Integrating a new paid subscription with a free trial period in an existing website.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/separate-charges-and-transfers

Question
Is "Separate Charges and Transfers" supported under our current Express Connect integration model, specifically when using Destination Charges?

Could you please clarify the function of the transfer_group parameter and provide examples of how it might be leveraged in our use case?

For enterprise locations, we would like to charge a flat fee that is not tied to a specific transaction and transfer it to HQ from the franchisee location based on the fee configuration set up in our backend. Could you elaborate on how we can set up such a scenario?

What have you already attempted?
We have reviewed Stripe’s documentation on Separate Charges and Transfers, specifically the article found here: https://docs.stripe.com/connect/separate-charges-and-transfers. We also have a working Express Connect integration with Destination Charges but are unsure of the best way to expand this integration to accommodate split funding, royalty fees, and flexible fee configurations.

What are you working on?
We are currently integrated with Stripe using Express Connect, and a lot of our businesses have expressed interest in implementing split funding and royalty fees.

#

@ruby walrus pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What's the recommended pattern (or what are my options) for adding metadata to charges generated by Payment Links? I discovered that the metadata added to the Payment Links doesn't pass down to the charges.

Doc/Guide Links
The docs seem to state that metadata will flow from the payment link to the payment intent or the checkout session, which implies it's possible somehow to add metadata to payment links.

https://docs.stripe.com/metadata#exceptions

https://stackoverflow.com/questions/69510916/attaching-metadata-to-stripe-payment-link (unsolved SO post)

What are you working on?
I would like to add a backoffice identifier code to payment links that will aid in accounting automation

#

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

Code
aunthorrize payments

Question
why are u guys closing my account with no reason

What have you already attempted?
ive sending emails and i contact to every single of my costumer and nobody has put a dispute on my account review my case

What are you working on?
maintaining

cursive heronBOT
#

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

Question
I want to allow Customers to pay for a Subscription and save a default payment method that will be used for future subscription payments. I'm able to attach a PaymentIntent to a Customer and if they check the box to save the payment, it will be attached to that Customer and shown on a CustomerSheet. However when I simulate time passing the next subscription payment fails, which I think is because the payment is not saved as the default for the customer or for the subscription. I can also save the payment as the default for the subscription, but then the CustomerSheet does not have a way for the customer to change their default. How can I let customers setup default payments?

Doc/Guide Links
https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method

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

What are you working on?
iOS app which allows signing up for a subscription (for content outside of the app) with an optional default payment method

#

@jaunty garnet pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We are using connect accounts and onboarding users stripe with our platform account . When a User outside USA, say Nigeria, tries to attempt to onboard himself, we get the following error
"you cannot request card_payments capability for accounts in NG "...

What actually happened?
We expected to create connectaccount for the user works for USA.

Reproduction Steps
1) Go to pendfunds.com
2) signup for a new account.
3) afterwards, connect your stripe in dashboard, choose country other than USA.
4) You will get the error

Question
how can we have onbaording of connected accounts other then USA and have both card and transfers for them? Current code is
//
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},

What are you working on?
A secure payment escrow platform. pendfunds.com

cursive heronBOT
#

@tulip tiger pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using Stripe Connect, given I have a paymentID how do I identify which payout the payment was included in?

In the portal it seems like it's in the automatic_transfer object. I can't get that object using the node SDK

Related Request ID(s)
req_EITJqCGoN18MHe

What have you already attempted?
const payment = await stripeInstantiated.charges.retrieve(
'py_1QFiSGGfXU4j4BOeYi5aA3Lz',
{
expand: [
'transfer',
'transfer.destination_payment',
'balance_transaction.automatic_transfer',
],
},
{
stripeAccount: stripeAccountID,
},
);

What are you working on?
Online storefronts for retails

#

@rare cape pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I send a payment link to customer, I would like to accept partial payment also.

Doc/Guide Links
Can you provide document or code snippet ?

What are you working on?
I am building sAs product. Current payment link is captures the full amount.

#

@slim apex pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Order of webhooks in Test Clock is arbitrary

Related Event ID(s)
None

What have you already attempted?
Using test clock, moved a subscription to its next renewal date

What are you working on?
Integrating stripe subscriptions into webapp

cursive heronBOT
#

@blissful comet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've setup a product where Customer chooses the amount to pay for a Tip for Content. How do I submit the value from my webpage to the api

Related Request ID(s)
POST /v1/products/prod_R8MigsRvOSYlii

What have you already attempted?
I've read the API docs but it looks like it only applies to checkout sessions or payment links

What are you working on?
Tip page for Twitch with custom payment elements

#

@void nimbus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the JS Payment Element to take user's payment info (just talking US-only for now). They can either add a bank account via instant verification, or manually with account/routing numbers. How can I tell the difference from the PaymentMethod object? Ideally I would want to be able to see the verification status, but I can't do that until I fetch via the BankAccount API, and I can't do that until it's attached to a customer, right?

Related Request ID(s)
pm_1QG5phE041Hl1BIuAsUseten

What have you already attempted?
https://docs.stripe.com/api/customer_bank_accounts/retrieve . But it doesn't seem to work with what I think the customerId is, which is cus_R7zWrj1IjSViwT

cursive heronBOT
#

@stark fiber pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to search for all invoices of a cancelled subscription. When passing the expired subscription_id into "List all invoices": /v1/invoices I get an error for no such subscription. When I pass the same subscription_id as a search query into /v1/invoices/search, I get the expected results. Is this intended?

Related Request ID(s)
req_YeA8EXT00UfR7y, req_6aT8rvRBe0mgss

What have you already attempted?
Tried both requests in Postman and getting these results. Seemingly, they should return the same results but perhaps I am missing some documentation about expired subs

#

@honest vale pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<AddressElement
options={{
...addressOptions,
mode: "shipping",
defaultValues: {
name,
address: { ...address, country: activeCountry },
},
}}
onChange={onAddressUpdate}
onBlur={onAddressBlur} />

Question
I have a checkout form with an address element. When the user enters the address, they have the option to use autocomplete. if someone chooses a dropdown suggestion, it doesnt trigger a blur event, which we need to kick off a request to update someones tax. Is there a callback i can get where we could react to a user choosing their address from the autocomplete dropdown

What have you already attempted?
Looked at docs and type signatures to see if there was anything i could find that might do this.

What are you working on?
checkout page

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

We will be back in a few hours, around 10am GMT on Friday November 1st

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

#

@indigo smelt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i added to my failed payment intents payment method customer_balance.. it worked perfectly with my test setup.. but on live i get:

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

i cant enable customer balance on the payments settings page - right?

Related Request ID(s)
-

What have you already attempted?
tried it on test environment

#

@candid widget pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
$stripe->tokens->create([
'card' => [
'number' => '4242424242424242',
'exp_month' => '5',
'exp_year' => '2026',
'cvc' => '314',
],
]);

Message is:Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.\n

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

What have you already attempted?
https://dashboard.stripe.com/test/apikeys

cursive heronBOT
#

@silver lava pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
having problem when implement webhook, the body is empty.

Related Event ID(s)
evt_1QGFBxK4vaWYtFnyDF55ESa8

What have you already attempted?
support team had told me to pinned webhook version to 2023,

cursive heronBOT
#

@surreal verge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Visa informed us that you have access to their PAN account name inquiry API. We would like to activate so that we can check if people checking out with credit card are using their real name. How can we do so?

Related Request ID(s)
NA

What have you already attempted?
We contacted Visa and they said that we can set this process up through Stripe if we can get in contact with someone at Stripe.

cursive heronBOT
#

@short moss pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i am having issues Klarna not showing as list of payment method automatic_payment_methods is enable

{
"data": {
"isSuccess": true,
"clientSecret": "pi_3QGILVExzaeyBHyO1KzbWgTC_secret_β€’β€’β€’NLMN"
}
}

Related Request ID(s)
req_S572M6E202Fwcq

What have you already attempted?
public function createIntent(StripeCreateIntentRequest $request): StripeCreateIntentResponseInterface
{
$response = $this->paymentIntent::create([
'amount' => $request->getAmount(),
'currency' => $request->getCurrency(),
'metadata' => [
'orderId' => $request->getOrderId(),
],
'automatic_payment_methods' => [
'enabled' => true,
],
]);

    return new StripeCreateIntentResponse\($response\);
}

What are you working on?
ecommerce platform using symfony

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal

Question
How to get terminal logs because one of our customer claiming that card is tapped for a card but on payment intent it is not showing any card data
payment intent
pi_3QFlPOG0JSD42p8M1NZrumb9

What have you already attempted?
Check the payment intent data it shows no card data

cursive heronBOT
#

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

Question
Can the Stripe embedded components for Connect accounts on-boarding handle all the steps related to on boarding such as in some cases the connect account owner has to upload their identity for verification?

Related Request ID(s)
....

What have you already attempted?
I have tested out the sample code in documentation and it is working. Just want to make sure that it covers all the cases. Thanks!

cursive heronBOT
#

@half sigil pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I use Adaptive Pricing with Payment intent/Payment Element https://docs.stripe.com/payments/checkout/adaptive-pricing?lang=php#testing-payment-links

Related Request ID(s)
req_HEMXUiivg0ZVPg - req_jUYA4Ua7iPodP3

What have you already attempted?
I did the checkout part with payment element and payment intents, but I would like to know how to implement adaptive payment for the customer's country

What are you working on?
WordPress Theme Store

cursive heronBOT
#

@half sigil pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I do currency conversion using Payment intent/Payment Element? The documentation shows that Adaptive Pricing is in beta for Payment Element but they said it is not supported yet, is there any other way to do this?

Related Request ID(s)
req_HEMXUiivg0ZVPg - req_jUYA4Ua7iPodP3

What have you already attempted?
What have you already attempted? I did the checkout part with payment element and payment intents, but I would like to know how to implement

#

@sonic wyvern pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to make a reservation form with a zero euro charge.
If the guest is a no show, i want to charge the guest a fee.
Is that possible with stripe? I found nothing in the docs to implement this feature.

Related Request ID(s)
.

What have you already attempted?
I searched the docs for a solution.

What are you working on?
I am building a reservation system for a restaurant.

#

@charred nacelle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the API to creat an invoice which I would like to pay automatically using the customer's stored card details. I have managed to get this working using 3 seperate API calls:
Create an invoice item
Create an invoice
Finalize a Draft invoice

Is it possible to combine this into a single API call?

Also the payment is taken 1 hour after the invoice is created. Is it possible to take payment immediately or indeed at a specified future time?

Thanks.

Related Request ID(s)
req_XnwZknKyuycfJg, req_zze4qDLXVyIpNT, req_9ZlbOBgRw9BS9Y

What have you already attempted?
3 API calls achieve what I want but would prefer to use 2 or 1 if possible.

What are you working on?
Payment for weekly commission

#

@modest sand pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Hi! Our team is working with a custom checkout. We are using Stripe's web elements (nextJS app).

Our checkout consists in 2 steps:
Step 1: We collect customer's email and shipping address - using LinkAuthenticationElement and AddressElement.

Step 2: We collect customer's payment method - using PaymentElement.

Question
We are working on implementing Link for faster checkout. So far is working as expected in step 2. Link is autofilling customer's credit card information.

BUT is not auto-filling AddressElement in first step.

What have you already attempted?
Stripe's docs and demo shows autofilling on AddressElement working fine when all elements (LinkAuthenticationElement, AddressElement, PaymentElement) are on the same page. Since our checkout consists in 2 steps, I wonder if that is the reason why our AddressElement is not being autofilled.
But our PaymentElement autofilled tho...

#

@river ingot pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to setup subscriptions for a three-tier product (basic, plus, premium). I have three products created for each of the tiers and two 'pricings' (one for a yearly membership and one for monthly).

The docs suggest using different products for each tier but modifying the user's membership to a specific tier looks like it only supports one product with multiple pricings (i.e. 6 pricings for each of the different tiers x payment intervals). This also seems to be the only way of prorating when modifications are made unless I'm misunderstanding.

What's the best setup here? 3 products, or 1 product?

Thanks for any help you can provide!

Doc/Guide Links
https://docs.stripe.com/subscriptions?locale=en-GB

What are you working on?
A web application with subscription based membership

#

@halcyon vault pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I created a payment link where folks can choose their own amount and then pay in their local currency (which happens to be NOK in this case). I expected the transaction history to show 150 NOK original payment, and a non-zero amount (~12 EUR) converted.

What actually happened?
The Stripe transaction history does show 150 NOK but shows 0 EUR. Quite literally, it shows "150 NOK -> 0 EUR" conversion. It deducts 0.13 EUR fees, and all I see is an overall negative amount stating -0.13 EUR for the transaction.

Reproduction Steps
Have an account set up in EUR. Create payment link in NOK. Let customers choose their own amount. Successfully complete a payment.

Question
Why is this happening? Am I missing something? The payment method used was PayPal, so it should be instant.

#

@fickle dawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have just finished implementing Stripe Connect flow with oAuth. I successfully obtained the code from the redirect uri and then with the help of this code parameter I got the stripe account id.

Now that I have the account id I tried retrieving the account and successfully got back a lot of data. Unfortunately I didn't receive business data (like name) and email address. I really need these data. How can I get these?

Related Request ID(s)
no ids

What have you already attempted?
I have just finished implementing Stripe Connect flow with oAuth. I successfully obtained the code from the redirect uri and then with the help of this code parameter I got the stripe account id.

Now that I have the account id I tried retrieving the account and successfully got back a lot of data. Unfortunately I didn't receive business data (like name) and email address. I really need these data. How can I get these?

What are you working on?
Creating an account on our app with the help of stripe data.

cursive heronBOT
#

@thick kraken pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected to see a mandate id generated for the customer

What actually happened?
Mandate id was not generated or seems to be missing

Reproduction Steps
Create a setup intent for the customer with required parameters for generating a mandate for future session and wait for response

Question
We have automated the process of mandate creation through Stripe APIs however I see some discrepancies in the data with some customers.

mandate is not generated for some customers need clarity.

this is the one such customer https://dashboard.stripe.com/customers/cus_QnAZdVlgmWejtW

What are you working on?
Saas platform similar to AWS for Frappe apps and their customers to host sites

#

@cyan ferry pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do you have any sample American Express card which supports 3D Secure Auth?

Related Request ID(s)
https://docs.stripe.com/payments/3d-secure/authentication-flow

What have you already attempted?
https://docs.stripe.com/payments/3d-secure/authentication-flow in the Stripe Doc, example American Express cards dont invoke 3D Secure Auth

What are you working on?
API Integration

#

@polar cypress pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Create an Invoice
const invoiceCreate = await stripe.invoices.create({
customer: division.customerId,
collection_method: 'charge_automatically',
});

  const invoiceLines = await stripe.invoices.addLines\(invoiceCreate.id, {
    lines\: \[
      {
        amount\: value,
        description\: \`TCO Reimbursement \(${dateText}\)\`,
      },
    \],
  }\);

Question
It was my understanding that using "charge_automatically" means stripe will finalize and send the invoice depending on the delay set in the admin (In my case 3 days). It seems to only create a draft and not finalize it. It seems like I need to go into the admin and mark the invoice as "Turn on automatic collection" to get it to do anything

What have you already attempted?
I've tried manually finalizing it, but that doesn't add the delay. I've even tried making sure there's a payment method for the customer.

What are you working on?
I want to create the invoice and have the invoice sent 3 days later. It seems like this should work, but it never automaticaly finalizes.

cursive heronBOT
#

@twilit turret pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to walk through the best practices for handling terminal payments. It seems like we are getting some uncaptured payment intents.

Doc/Guide Links
https://docs.stripe.com/terminal/payments/collect-card-payment
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#create-payment
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
Checkout flow

#

@proud mountain pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to use Stripe for gathering payment info and as a payment gateway but another vendor for managing subscriptions and billing (this vendor integrates with Stripe). So when a customer signs up on my site I want Stripe to have their credit card, but I need to use the vendor's API to create a subscription and charge the card. I can listen to webhooks for both Stripe and the vendor. I'd like to not let the customer through the payment process until the charge from the vendor succeeds. Can this be done with Checkout or do I need to use Elements?

Doc/Guide Links
https://docs.stripe.com/payments/checkout

What are you working on?
AI compute as a service

#

@teal mango pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The onboarding API give me return url and refresh url
but it gives error of http and https how can i use deep linking

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
SAAS Platform

#

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

What did you expect to happen?
Our clients connect their bank accounts via setup sessions.

What actually happened?
One of our clients tried to set up their checking account but they couldn't with the following error:

"The accounts you selected aren't eligible"
"We found 2 Citizens Bank accounts but you can only link checking or savings accounts to <account>. Please select another bank."

Reproduction Steps
Connect a bank account to do an ACH payment.

Question
- Is it a bank issue?
- Is it an account issue? Are there sub-types of checking accounts that Stripe does not accept?
- Is it a Stripe issue?

cursive heronBOT
#

@iron solar pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to set the customers default_payment_method (pm_id) by retrieving it from a completed checkout session.

However, i cant find the pm_id in the checkout session. Is there a way to get it and store it on the customer?

Related Event ID(s)
none

What have you already attempted?
https://docs.stripe.com/api/payment_methods/retrieve

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

cursive heronBOT
#

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

Code
Bank Transaction failed

Question
Hello
I don’t understand what is the payment on my circle account and why it’s in negative right now

Can you explain me ?

Chiara Lehmann
Chiara luce

What have you already attempted?
Nothing

#

@analog forge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<?php
session_start();
require("functions.php"); //file which has required functions
?>

<html>
<head><title>Payment Page </title>
<script language="JavaScript">
function successClicked()
{
document.paymentpage.submit();
}
function failClicked()
{
document.paymentpage.status.value = "N";
document.paymentpage.submit();
}
function pendingClicked()
{
document.pa

Question
How do I integrate stripe payment gateway on my reseller club control panel?

What have you already attempted?
Tried using the payment link code but did not work out.

What are you working on?
I am trying to integrate stripe payment gateway with my reseller club account to enable customers pay with cards after a n order has been made

cursive heronBOT
#

@reef sand pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
struct PaymentMethodSelectorView: View {
@State private var isPresented = false
@State private var customerSheet: CustomerSheet
@State private var stripeCustomerAdapter: StripeCustomerAdapter

init\(\) {
 // 
}

var body\: some View {
    Button {
        isPresented.toggle\(\)
    } label\: {
        // omitted 
    }
    .customerSheet\(isPresented\: $isPresented, customerSheet\: customerSheet, onCompletion\: onCompletion\)
}

}

Question
I am working with the CustomerSheet in iOS 18 and I cannot add a new payment method:

Calling -viewDidAppear: directly on a view controller is not supported, and may result in out-of-order callbacks and other inconsistent behavior. Use the -beginAppearanceTransition:animated: and -endAppearanceTransition APIs on UIViewController to manually drive appearance callbacks instead // omitted
View controller: <STP_Internal_SavedPaymentMethodsCollectionViewController: 0x103031800>

What have you already attempted?
Loading existing payment methods and deleting an existing payment method works as expected. Adding a new payment method fails with no error in the UI, just error in logs posted above.
Also see setup intent success log before error: LOG ANALYTICS: stripeios.paymenthandler.confirm.finished - [(key: "status", value: "succeeded"), (key: "payment_method_type", value: "card"), (key: "intent_id", value: "seti_1QGOY4FKKJ5EQsly3uLQbWMX")]

What are you working on?
Allow customers to manage saved payment methods in iOS 18.

#

@lofty matrix pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have several questions regarding subscriptions, that are part of our use cases as we migrate our system to stripe. PAN information has been transferred to stripe, and now we are trying to handle subscriptions and ongoing daily items.

  1. User is on subscription 1. They want to move to subscription 2 immediately. How do we charge immediately for subscription 2 full amount, but add on remaining days of subscription 1.

  2. A user buys a, say, 1 year subscription for, say, $100. Can we not extend the next billing date by 10 days, say they get a 10 day bonus.

1 and 2 are very similar.

Related Request ID(s)
None

What have you already attempted?
Scheduled Subscriptions (Phases)
Trial periods

What are you working on?
Migrating user subscriptions and handling day-to-day customer care.

#

@graceful thistle pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
No emails about a test account with an expirying credit card

What actually happened?
Got email about a test customer's expirying credit card

Reproduction Steps
Have a customer with an expirying credit card in the near future.

Question
Why was this sent about a test customer?

#

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

Code
I need to issue a refund

Question
Hello, I did over transaction with my stripe and my got locked after 10 minutes. I want to issue a refund on the transaction made.

What have you already attempted?
I already sent an email multiple times but I only receive an automatic email saying that the account is locked and cannot speak with anyone.

cursive heronBOT
#

@proper niche pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the correct way to create a SetupIntent for a US Bank Account?

Related Request ID(s)
req_aTJhvJbDrSQ2m3

What have you already attempted?
If I don't set the parameter, the type will be rejected.

What are you working on?
Notch Platform

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/scheduled-finalization

Question
I want to schedule an invoice to finalize and send at a specific time on a specific day, but only seem to be able to specify the day.

What have you already attempted?
Tried using the invoice editor option labeled "schedule send date"

What are you working on?
Weekly Invoices

cursive heronBOT
#

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

Code
Error Message:
The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.

Question
I am using GHL and I sold a website template to a client, they paid the $48, but then the transaction failed

What have you already attempted?
I don't know what I should do. Will I ever get the money?

What are you working on?
I don't know what I should work on, I sold a website to a client and it gave me this.

#

@valid sun pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await stripe
.confirmPayment({
elements,
clientSecret,
confirmParams: {
return_url: `http://www.localhost:3000/orderPlaced`,
},
});

if \(error\) {
  setErrorMessage\(error.message\);
}

Question
When I fail the payment the user redirects to the orderPlaced page so it never reaches the error below it no? I want to do stuff in the if statement but it never reaches the code below the confirmpayment succesfull or not.

What have you already attempted?
I tried it with .then().
Doing what I want in the redirected page but that is not what i want.

What are you working on?
Webshop

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

cursive heronBOT
#

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

Question
I used customer.subscripton.updated webhook for finding end of subscription.
I get invoice from lastest_invoice from subscription.
I get paymet_intent from invoce object ,
in some case payment_intent is null and I can not find status of payment_intent.

Related Event ID(s)
invoice id=in_1QHIBADNZsE8LVSagONcSHYs

What have you already attempted?
I need to payentent is successful then update end of subscription in my application

What are you working on?
start up of time managment

cursive heronBOT
#

@woven moth pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to transfer money from stripe's account to external bank account of stripe connect account.

Related Request ID(s)
external bank account: ba_1QHIzQP2eXCRKKjPjFNpDU2N, stripe connect account: acct_1QFrWRP2eXCRKKjP, req: req_CpJVji7Qn2YVoA

What have you already attempted?
I've tried payout method,
const payouts = await stripe.payouts.create({
amount: 1000,
currency: 'usd',
destination: 'ba_1QHIzQP2eXCRKKjPjFNpDU2N',
});

I am getting an error "No such external account: 'ba_1QHIzQP2eXCRKKjPjFNpDU2N"

cursive heronBOT
cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/cancel

Question
How can I set to cancel at the end of the period using delete API?
And If I want to renew again, how can I do using API?

What have you already attempted?
curl -X DELETE https://api.stripe.com/v1/subscriptions/sub_1MlPf9LkdIwHu7ixB6VIYRyX
-u "sk_test_β€’β€’β€’p7dc:"

I use it, but the subscription cancelled immediately

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/why-did-stripe-not-send-an-email-receipt-for-my-successfully-paid-invoice

Question
The receipt is not automatically sent for a payment on the connected accounts, although the feature has been turned on.

What have you already attempted?
Creating an invoice, then paying the attached paymentIntent.

What are you working on?
Platform + direct payments on connected express accounted

cursive heronBOT
#

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

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

Question
At which point do i have to pay the fee for stripe.
On the Checkout Session Time or when I do the final payment step?

What have you already attempted?
I already read the Session API, but there is nothing about the stripe fee.
https://docs.stripe.com/api/checkout/sessions/object

cursive heronBOT
#

@eternal sage pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using React Native WebView for our mobile app.
Recently, we tried to activate Amazon Pay using the "Express Checkout Element," and we noticed that it doesn't work correctly on iOS devices and some Android devices. When we click the Amazon Pay button to complete the payment, it seems that the WebView is blocking Amazon from loading inside the WebView or from opening the popup window to ask the user to sign in to Amazon.

Can you help and advise if this is normal behavior and if we should consider that Amazon Pay is not supported via React Native WebView, or if there is a trick or solution we should follow regarding allowing the WebView to load the Amazon iframe?

Doc/Guide Links
https://docs.stripe.com/elements/express-checkout-element

What are you working on?
A mobile application using react native framework and WebView component

#

@agile oar pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to make a specific flow where i check if a specific card is known in my database (using fingerprints), to give them free trial to my SaaS if it that card isn't known.
I'd like to know how you would recommend a flow like the one I described in the diagram below.

Doc/Guide Links
https://gist.github.com/GeekCornerGH/79f3b4a4c576d53877f11806d6c68b3c

What are you working on?
SaaS checkout using Elements (and custom Checkout, but there's no problem if you explain things that only works with a standard Elements installation)

#

@prime dune pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I was contacted by someone claiming to be from stripe.

What actually happened?
Stelios Solakidis β€’ ssolakidis-tuskg@ops.stripe.com contacted me with this message Hello Bogdan,

I hope you are doing well.

Can I please have a phone number so I can be able to call you.

Thank you.

Kind regards,

--
Stelios Solakidis

Stripe Sales Team - EMEA

Book a meeting with me by choosing one of the following etc.

Reproduction Steps
Unsure how to reproduce

Question
Is this an actual person affiliated with stripe?

What are you working on?
A dating portal.

#

@lavish oar pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We expected the tap to pay flow to work on S700 devkit.

What actually happened?
We are getting errors for both possible methods: "localMobile" and "handoff".

localMobile:
INTEGRATION_ERROR.LOCAL_MOBILE_UNSUPPORTED_ANDROID_VERSION", "Android version not supported. Upgrade device to Android 11+"

handoff:
"READER_ERROR.READER_COMMUNICATION_ERROR", "RPC application error INVALID_REQUEST with message Invalid device_type: must be one of ..."

Reproduction Steps
Build any of the sample apps to test tap to pay for S700, run it on S700 and try to discover readers.

Question
We were assuming either local localMobile or handoff should work on the terminal device itself. It seems localMobile has an Android version cutoff that doesn't meet the device's current version, so that wasn't possible. We were wondering if this flow was not meant for terminal devices. Or is there a flag you need to flip for us to enable this?

What are you working on?
We're working on running our app in terminal devices and distribute them to our partners instead of generic android devices

#

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

Code
I am setting up a Stripe payment sheet for the iOS app by following the given link below.

https://docs.stripe.com/payments/accept-a-payment-deferred?platform=ios

Question
I've followed steps as mentioned in the doc link, and it presents a payment sheet with the user's saved card, but when I tap on the Pay button in the payment sheet, I get an error as No such payment_intent: 'pi_xxxxx'.

What have you already attempted?
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=ios

What are you working on?
iOS app

#

@steel mural pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Bonjour, j'ai un problème que je ne parviens pas à résoudre depuis longtemps : j'ai un site client sous Prestashop 1.7.8 configuré en paiement cartes de crédit et bancontact avec les services Stripe ; tout va bien sauf que lorsque le paiement est validé par Stripe, le statut de commande dans le Prestashop de mon client qui devrait normalement passer à Paiement accepté ne fonctionne pas, c'est une barre (un trait) qui s'affiche et je ne parviens pas à trouver la solution, je suis obligé de resté connecté pour effectuer l'opération chez mon client manuellement. Pouvez-vous m'aider SVP, merci

Related Event ID(s)
the last one : pm_1QHMA1BO8pQ6nobqdNoQcO3K

What have you already attempted?
Stripe Checkout instead of integrated, create order after validation by Stripe, none succeeded

cursive heronBOT
#

@chrome sable pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on a feature where I need to pass on the Stripe processing fee to the customer. Currently, I calculate this fee based on the final amount (after tax). For subscriptions, I add the processing fee as an invoice item just before creating the subscription. However, once the subscription is created, the tax is calculated on the total amount, which now includes the processing fee. This results in a discrepancy in how the processing fee is handled on my platform. I'm looking for a way to prevent the tax from being calculated on the processing fee.

Related Request ID(s)
req_PzyVQEEPXexHmq, req_H7b5om9xj1Rl1o

What have you already attempted?
While creating the invoice Item, I tried adding tax_behaviour : 'exclusive', and tax_rates as null

cursive heronBOT
#

@tawny nest pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, we have a service where users provide their own api key. Some uses restricted keys and I was wondering if we are able to see the restrictions of a key trough the api so we dont have to do a bunch of calls that will fail.

Related Request ID(s)
req_zRsrF7AQFrZTQt

What have you already attempted?
I have looked through the documentation but have not find anything yet pointing to a api call that we can make to see the restrictions of the key.

What are you working on?
We have a bookkeeping service that mostly read from stripe but also write back metadata.

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/how-to-pause-payment-collection-or-cancel-subscriptions

Question
I am pausing stripe subscription and marking invoices uncollectible, so the customers will not be charged for the upcoming invoice right?

What have you already attempted?
I have paused the subscription through Dashboard, but the it still shows the amount customers would be charged at the start of the next billing cycle.

What are you working on?
Building a SaaS software.

cursive heronBOT
#

@chilly prism pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What are the ways to handle one-off payments that should also include coupon logic and other payment methods like Apple Pay/ GPay etc. I'm interested in creating the coupons in stripe for some Products, but for actually using them, I only found things related to Stripe Invoice. I looked at stripe payment element /express checkout element for handling other payment methods, but that component doesn't seem to support coupons

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

@compact ore pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to add the correct version of the API for my Webhook. The version I need is 2024-06-20.

Related Request ID(s)
?

What have you already attempted?
I have tried using both of the options given to me and they are not working.

What are you working on?
An educational platform.

cursive heronBOT
#

@wise river pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Im waiting refund from Brights Electronics
Allmost 4 months

What actually happened?
Still nothing happend

Reproduction Steps
They said it will come next monday and answer everytime is the same

Question
Order nr 15033, was waiting my order for two months and then they canceled my order, but until now I didnt get my money back.

What are you working on?
Can you help me?

#

@fleet gulch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using invoice API to create invoices, we want to calculate tax automatically with proper currency. Its sufficient to use only tax_filing_currency. But where can we get the list of currencies? Can I get it from stripe?

Related Request ID(s)
N/A

What have you already attempted?
Set tax currency automatically

What are you working on?
Put correct TAX currency on invoice

#

@smoky slate pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
ssssssssssssssssssdd

Question
Is there any github repo or something along those lines for escrow-like integration of stripe

What have you already attempted?
....

What are you working on?
.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://stripe.com/docs/connect/cross-border-payouts

Question
We are trying to onboard a user from Nigeria and other countries that have an "extended" framework. We get an error that

"You cannot request the `card_payments` capability for accounts in NG. For a list of countries that support `card_payments`, see https://stripe.com/global. To create an account in NG, see https://stripe.com/docs/connect/cross-border-payouts"

Whatever be the case, we need card payment capability for all connected accounts. please help

What have you already attempted?
here is our flow so far

async createConnectAccount(createConnectAccountDto: CreateConnectAccountDto) {
const account = await this.stripe.accounts.create({
type: 'express',
country: createConnectAccountDto.countryPrefix, // country
email: createConnectAccountDto.email, //email
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
settings: {
payouts: {
schedule: {
interval: 'manual',
},
},
},
business_type: createConnectAccountDto.businessType, //

What are you working on?
A platform that will hold money in escrow until the parties contract concludes. we have users acting as buyers and sellers in contracts. buyer pays with card and that is transfered to seller escrow.

#

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

What did you expect to happen?
Enable both apple pay and google pay in stripe checkout

What actually happened?
Only apple pay is working

Reproduction Steps
Go to stripe checkout page in google chrome where you are signed in with a google account which has cards added to google wallet.

Question
I can see Apple Pay appearing in Safari on iOS and Mac, but Google Pay does not appear in Chrome, even though I am signed in to my Google account and have cards added to Wallet. I am in the US, so location shouldn't be an issue. How can I identify what's causing it not to load, and how can I debug this problem?

What are you working on?
It's a fitness content platform

#

@silver lava pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
the call-back work seemingly as intented, but not actually. Since the session of success always be with session like expire or something else

Related Event ID(s)
evt_1QGbSNK4vaWYtFnypZtrWunT

What have you already attempted?
not yet

cursive heronBOT
#

@graceful imp pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected the subscription to be in good standing instead of showing past due.

What actually happened?
The subscription is showing as past due with an invoice that isn't due until 12/1.

Reproduction Steps
Subscription goes past due, I reset the billing cycle to 11/1 which generated a new invoice for 11/1 - 12/1, I voided previous invoice.

Question
How can I get a subscription to show as active once it has gone to Past Due?

What are you working on?
Equip is a platform to support the independence of those with I/DD and their support network.

#

@proven igloo pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the webhook and sending metadata to the webhook and only receiving it in the checkout.session.completed event and not the customer.subscription.created.

Related Event ID(s)
evt_1QHR5gFiFNtGjlxq4m5B1gHL

What have you already attempted?
I have console.log the session and session.metadata. I am receiving it one event but need it for when customer.subscription.created is triggered

What are you working on?
Next.js app with a 7 day free trial and trying to update db accorddingly

cursive heronBOT
#

@mental forum pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We are trying to simulate a failed 3DS payment in our service & expecting logs in stripe to show the payment failed

What actually happened?
Stripe logs show a success message (200) not a 402 ERR

Reproduction Steps
Create a booking in our system and Go through to the payments page
Use card test stripe card , any expiry dates, any CVV
Try to pay
On the Stripe modal, press complete payment
You should be re-directed back to the payment page in our system with a failure message
Visit stripe logs and view success message not error

Question
Why are we seeing a success message when this should be showing an error?

What are you working on?
We're updating the Stripe PHP library that we use

#

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

What did you expect to happen?
A customer of ours tries to connect their bank institution with Stripe but gets error 908.

What actually happened?
Customer tries since yesterday, Setup intent example: `seti_1QHQusHay2F9AX5VXBKNJoS5`.

Reproduction Steps
setup intent, connect bank

Question
Anything we can do? Error happens since yesterday so it doesn't seem like a temporary error.

#

@prisma mulch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I create a Credit Note with a refund_amount, and have the "reverse_transfer" be set to True for the refund that is created as part of the credit note?

The docs say that by default, the refunds are created with reverse_transfer unset, which causes the refunds to go from the platform account instead of the connected account.

If it's not possible with the credit note API, what is the workaround? Do I have to create a refund with this reverse_transfe=True, and then link it when creating a new credit_note? Ideally I want to do this in one step.

Related Request ID(s)
req_iUvSgs7W8nM9XW

What have you already attempted?
I've looked at these docs:

https://docs.stripe.com/connect/destination-charges?platform=web&ui=stripe-hosted#issue-refunds

and

https://docs.stripe.com/api/credit_notes/create

What are you working on?
We're trying to use issuer[account], {"issuer[type]": "account"} and transfer_data[destination] on the invoices and subscription objects. I want to test that credit notes work as expected.

#

@weary stone pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Upcoming Invoice Causes API Error-- Then Mysteriously Disappears

What actually happened?
[Will present code in ticket, along with reproduction steps. It's long and I want to include the actual invoice objects.]

Reproduction Steps
[Will present code in ticket, along with reproduction steps. It's long and I want to include the actual invoice objects.]

Question
[Will present code in ticket, along with reproduction steps. It's long and I want to include the actual invoice objects.]

cursive heronBOT
#

@shut steeple pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i have received this hook
payment_intent.partially_funded, how can i 'close' the payment intent without waiting for the other 'partial' founds ?

Related Event ID(s)
pi_3QHQlbG0HkO3ZPnp0nXTQrKS

What have you already attempted?
look to confirm payment intent documentation

cursive heronBOT
#

@strong pasture pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking for a clear overview of what type of event can be received via a webhook, in which order, in which case... so that I can implement properly the behavior on our application.

Related Event ID(s)
All, in particular events in case of a terminal payment

What have you already attempted?
Searching in documentation and testing several cases (but we miss always some cases).

cursive heronBOT
cursive heronBOT
#

@half nova pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to offer upgrading subscriptions, I currently have two different states a customer can be in.

1: A subscription schedule for first-time customers. They have a paid trial and then move over to a yearly plan.
2: A yearly subscription for recurring customers. They are not offered a paid trial and thus don't require a subscription schedule.

As far as I know I first need to release a subscription from a schedule before I can update it. I am wondering if I should also use a schedule for the second state for recurring customers so I can use the same logic.

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

What are you working on?
New saas

#

@unborn tree pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to know what would be best practices for doing this:

I sell an annual and monthly subscription, currently it's 2 different products with one for the monthly and the other for the annual, this currently works, except that we want to modify this? To explain simply, at present, with this subscription, we sell 600 tokens which cost €20, but we want to let the user add a multiple of 300 tokens which will add €8 to the price of his subscription, we would like to define 600, 900, 1500, 3000.

Doc/Guide Links
We have tested several configurations and at present, we have added levels to the prices for when the quantity changes, this adds €8 to the price of the final subscription, but is this the best solution? Do you suggest another solution?

What are you working on?
New pricing system

cursive heronBOT
#

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

Question
Hi Guys, I really need some help/ advice on how to proceed.
I defined a custom Invoicing Template that is called in our testing environment.
I assigned this template to the newly created or pre-existing customers via the API or the Dashboard.
When a Subscription is created for these customers, only the first invoice is using my pre-defined template, every subsequent invoices are being created with Stripes default invoicing templates.
Has anyone ever encountered this? Thank you in advance!

Related Request ID(s)
Customers > Edit Details > Invoice Template

What have you already attempted?
We have attempted to assign rendering templates directly via the Dashboard and via the API (Customers / Subscriptions)

What are you working on?
Managing customer subscriptions via Stripe, transffering old system to Stripe

cursive heronBOT
#

@indigo smelt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when trying to update a failed payment intent with different payment methods i get

`handle_error_response': `setup_future_usage` cannot be used with one or more of the values you specified in `payment_me
thod_types`. Please remove `setup_future_usage` or remove these types from `payment_method_types`: ["customer_balance"]. (Stripe::InvalidRequestError)

i can see that somehow setup_future_usage gets set on the root paymentintent. i assume thats the problem.. does paymentintent confirm off_session = true set the setup_future_usage on the payment intent root?

Related Request ID(s)
-

What have you already attempted?
checked the doc

#

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

Question
Hi guys, I am trying to display saved payment methods in our Stripe Payment Elements, without the Link integration. According to the docs (https://docs.stripe.com/payments/save-customer-payment-methods#display-existing-saved-payment-methods) it should be possible to do that if we update our PaymentMethods with `allow_redisplay="always"`, I did that and it doesn't seem to work.
The reason is that I don't want to rely on Link to display the saved payment methods is because of the OTP step, which we already have it in our checkout page, so that adds extra friction.

Related Request ID(s)
req_1muRs3RW96LwjC

What have you already attempted?
- Set PaymentMethod allow_redisplay = "always"
- Tested Payment Elements form under SSL

What are you working on?
Checkout page

#

@toxic onyx pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
With StripeJs + React, can I have two <Elements> tags in my app?

I know I cannot have two instances of <PaymentElement> inside the same <Elements>, this errors. I am wondering if I can have two <Elements>. This would allow me to have more fine grained control of my checkout flow, showing the use either a <PaymentElement> or an <ExpressCheckoutElement>, etc.

Thanks!

Doc/Guide Links
https://docs.stripe.com/sdks/stripejs-react#elements-provider

What are you working on?
StripeJs + React, multiple <Elements> tags

cursive heronBOT
#

@young glacier pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'd rather not start to try and clone the connected accounts or similar, or try and ask the users to do something on their end as either will be disruptive to the user and more likely to be a bad experience.
I'm thinking we could change the middleware that connects the merchants to Stripe via our Connect setup to somehow recognize "old" account and continue to route them to my account but route all other accounts to the new connect account.
What's the best way to handle this type of scenario?

Doc/Guide Links
https://stripe.com/docs/connect/cloning-customers-across-accounts

What are you working on?
I have a wordpress plugin that uses Stripe Connect that i need to pass on to someone else, but are told that we can't just pass the account to the new owners.

cursive heronBOT
#

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

Code
paramsTransfer := &stripe.TransferParams{
Amount: stripe.Int64(amount), // example amount in cents
Currency: stripe.String(string(stripe.CurrencyUSD)),
Destination: stripe.String(bankAccountToCredit),
SourceTransaction: stripe.String(chargeID),
SourceType: stripe.String("bank_account"),
}

Question
I am using the Transfers API to create a transfer. I am first charging a connected account and then using the chargeID as sourceTransaction for the Transfer.

I am seeing the following error:

[ERROR] Request error from Stripe (status 400): {"code":"balance_insufficient","doc_url":"https://stripe.com/docs/error-codes/balance-insufficient","status":400,"message":"You have insufficient funds in your Stripe account for this transfer. Your card balance is too low.

What have you already attempted?
I made sure my Stripe platform account has enough balance, however I see a negative card balance. I am not sure how that happened.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/testing

Question
In Test Mode, I am trying to connect an account through Stripe Connect. From the doc link, it says "Use 000-000 as the SMS code when prompted for test accounts." I have used this many times for the "Verify your login" portion of the Test Mode connect flow and am getting back an error "Incorrect verification code."

What have you already attempted?
I have tried using 000-000 many times.

What are you working on?
Stripe Connect Flow

#

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

What did you expect to happen?
I'm using the stripe-terminal-react-native SDK and testing physical card payments with decimals as per Stripe's test cases. I expect to see an error or event based on the decimal provided. However, payments ending in .02 and .03 only show a "try again" message on the reader, and cancelPaymentIntent freezes with no logs or errors.

What actually happened?
I 'm using the stripe-terminal-react-native SDK and facing issues with test cases for physical card payments. Payments ending in .02 and .03 don't trigger the expected offline_pin_required or online_or_offline_pin_required declines. Instead, the reader shows a "try again" message. Additionally, calling cancelPaymentIntent after this freezes with no logs or errors.

Reproduction Steps
- create a payment with 10.03 and send to a wisePad terminal
- tap the card
- payment failed, no error back from the server and SDK, reader showing ' try again'
- cancel the payment by using cancelPaymentIntent SDK
- app freeze

Question

  1. is there any way to indicate that the payment declined with an offline_pin_required code or online_or_offline_pin_required code?

  2. I can confirm that the cancelPaymentIntent SDK is working with all other payment, why after payment declined with offline_pin_required /online_or_offline_pin_required we are not able to cancel the payment?

What are you working on?
working on cancel payment and clear reader screen after payment declined.

#

@tulip cipher pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to "Pay with Crypto" with subscription invoices?
Is there an API example to pay existing invoice with Crypto feature?

Related Request ID(s)
None

What have you already attempted?
Attempting to update existing invoice payment_intent for "crypto" payments fails with:

(payment_method_types) cannot be used when modifying a PaymentIntent that was created by an invoice.

cursive heronBOT
#

@lusty halo pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
elements?.getElement('payment')?.update({
defaultValues: {
billingDetails: {
email: 'test@test.com',
...
}}

Question
How to prefill data into Link using PaymentElement?

What have you already attempted?
I have tried to pass in the values to Link using billingDetails fields both in an update like the code above, and also by passing in the options to the element. Every time I include those values the link button somehow disappears. I'm wondering if I'm simply using the wrong fields.

What are you working on?
Payment flow for my app

cursive heronBOT
#

@heavy warren pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best practice for displaying expected payout date?

We schedule payouts every Tuesday, but our users are confused by the 2-3 day delay between receiving the transfer and staging the money for a payout.

For example, we show:
"$XX.XX"
"Next Payout is on Nov 5"

But the money could have been transferred anywhere within Nov 1-4 so some are available for the payout but some are not.

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

What are you working on?
Marketplace

#

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

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

Question
Is there a plan to support a Connect embedded component for creating/updating/deleting coupons and promotion codes?

What have you already attempted?
We have a dashboard on our current platform that has a list of all available coupons, where people can create/update/delete a coupon. But as we move to Stripe we want to keep this page on our platform but not have to build out a UI for this and sync it with the Stripe UI + settings. Instead we would love for the embedded components that Stripe has created to include a list of coupons + promotion codes, and ability to create/update/delete them

cursive heronBOT
#

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

Question
How can I use the Payment Element on a page with cross-origin isolation enabled?

Related Request ID(s)
none

What have you already attempted?
disabling cross-origin isolation works, but this is not an acceptable solution for us

What are you working on?
Puter

#

@full halo pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'd like to know which events trigger for my goal of managing subscriptions. I'd like to manage the following:

1) User subscribes with a free trial -> invite them to my app.
2) Once the free trial is over, what events do I need to capture to ensure a user is kept/removed on my app?
3) When a user cancels their subscription, what event do I watch for/how do I setup to ensure their access is removed at the end of the current period, not immediately?
4) Payment succeeds/fails -> reactivate/deactivate them on my app.
5) Do failed payments auto-retry once a person adds a valid payment method?

Related Event ID(s)
exploration-phase

What have you already attempted?
Gathering this info before beginning for 2 reasons:

1) I don't have Stripe in my country and getting an overseas bank account is not a guarantee, so I don't want to overcommit to dev work.

2) I get the feeling that some things can be captured by more than one event, and I'd like to know which are best for my needs.

What are you working on?
A fitness app at https://app.fitnessmadepractical.com/ and I need to manage subscriptions externally.

cursive heronBOT
#

@wet gulch pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm listening to webhook events to perform updates on a table. Events can be duplicate and event ordering is not guaranteed, I cannot reliably use the event data to perform updates without checking that the event is newer than a previously processed event.

Looking at the API docs and the event payloads, I cannot find a field to use such as an "updated" or "updated_at" field that I can store in my table to know if an event being processed is stale or not.

Can I use any standard field of webhook events to check if the data is stale? Is there an updated at or similar field for Stripe entities?

Related Event ID(s)
evt_1QHQFEL2wtzMQawZSvrDqjyR, evt_1QHQFEL2wtzMQawZSvrDqjyR, evt_1QHQFEL2wtzMQawZSvrDqjyR

What have you already attempted?
- Logging event data on my webhook handler
- Looking at events in the Development Dashboard
- Looking at the TypeScript interface for EventBase
- Digging through `event.data.object` on a few events for an "updated" field.

I don't think the EventBase `created` field will work as it seems to be the same as `event.data.object.created`.

- Looking at Dashboard logs for Invoice POST "req_WucSXrpYZD5pxx" where the response body had an "updated" field that is not present on the Event.

I could call the API every time but would rather not load the DB or call the API unnecessarily.

What are you working on?
Billing micro-service for multi domain based company with many micro-services that should interact with the billing micro-service.

cursive heronBOT
#

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

What did you expect to happen?
We have long standing and regularly run regression test using the test helper API `POST
/v1/test_helpers/terminal/readers/:id/present_payment_method`. This test covers our code for handling and saving the `generated_card` property for US card_present payments.

I expect the `generated_card` to be present in the response for USD payment -- it was until recently.

What actually happened?
Previously stable tests started failing last week. The response from Stripe no longer includes a `generated_card`.

example PI `pi_3QHWxTRJnW2CIzEE0HXNdQ0u`

Reproduction Steps
Create card_present payment intent
Simulate terminal payment
Notice that generated_card is now missing

Question
This feels like a change on Stripe's side. Is it deliberate? should we still expect a `generated_card` in this situation?

What are you working on?
Ticketing system

cursive heronBOT
#

@glad pumice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I saw in a website someone had implimented a feature so when they get redirected to the stripe payment link checkout the email can't be changed. I'd like to implement this feature on my website as well but couldn't find any relevant stuff online.

Related Request ID(s)
N/A

What have you already attempted?
Tried looking through stripe docs and searching google.

cursive heronBOT
#

@lethal oxide pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Facing timeout issues all day today

Related Event ID(s)
All event types

What have you already attempted?
Just sending webhook request to my system

What are you working on?
Payment process to mark as paid or not

#

@cunning cosmos pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to get our customers bank statements via Stripe api.

Related Request ID(s)
Δ± cant

What have you already attempted?
We have implemented the account linking to banks part but we stuck in the bank statements. And we are getting tighter with resources.

What are you working on?
Getting bank statements of our customers via Stripe api.

cursive heronBOT
#

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

Question
is it possible to create a custom checkout flow WITHOUT iframe elements? We are not PCI compliant but would like to pass the info collected from our html inputs to your js for secure processing.

Related Request ID(s)
none yet

What have you already attempted?
reading through the documentation here:
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements

What are you working on?
ecommerce checkout

#

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

What did you expect to happen?
We have long standing and regularly run regression test using the test helper API `POST
/v1/test_helpers/terminal/readers/:id/present_payment_method`. This test covers our code for handling and saving the `generated_card` property for US card_present payments.

I expect the `generated_card` to be present in the response for USD payment -- it was until recently.

What actually happened?
Previously stable tests started failing last week. The response from Stripe no longer includes a `generated_card`.

example failing PI (new): pi_3QHYNOIkOBD2bC0I27hEB7A7
example successful PI (last week): pi_3QG8XSIkOBD2bC0I0pSByFIQ

Reproduction Steps
Create card_present payment intent
Simulate terminal payment
Notice that generated_card is now missing

Question
This feels like a change on Stripe's side. Is it deliberate? should we still expect a `generated_card` in this situation?

What are you working on?
Ticketing system

#

@glossy crow pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Is it possible to have the pop up login screen window be embedded in the embedded account onboarding element?

Question
When beginning the embedded stripe account onboarding process, the first screen is a pop-up window with a stripe login screen. Is there a way to make this embedded?

What have you already attempted?
Documentation doesn't address this

What are you working on?
stripe onboarding embedded element

#

@proper niche pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why did this PaymentIntent jump to 'REQUIRES_CONFIRMATION'?

Related Request ID(s)
pi_3QHOwxBIMZTJKM1c0dJmyy9R

What have you already attempted?
We've sent several payments through that worked, but this one is holding us back.

What are you working on?
Notch

#

@pale lark pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm building ride-sharing application. Aim is to use stripe API to:

  1. Reserve the amount while creating booking.
  2. Modify the PaymentIntent amount later, before capturing, if the final amount changes.

The issue is once a PaymentIntent is confirmed with `confirm=True`, I'm unable to modify the amount due to Stripe's restrictions. However, I want to avoid cancelling and re-creating PaymentIntents because it could impact the customer’s available balance or result in unsuccessful charge if they lack funds during re-authorization. Is there a Stripe-supported workflow that meets my requirements?

Related Request ID(s)
req_e08gdVqpxGP4p1

What have you already attempted?
I tried modifying the reserved amount, which gave error. Currently using the following procedure:

  1. Create PaymentIntent with confirm=True (because amount to reserve is required)
  2. If amount doesn't change at booking complete, capture the PaymentIntent.
  3. If amount changes, than cancel the transaction and recreate new PaymentIntent with new fare value.

Drawback: if client has insufficient balance than the job will be completed but we are unable to take the amount at that time, which in return raises concerns of not getting the money.

What are you working on?
Developing Ride Sharing application similar to Uber.

cursive heronBOT
#

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

Question
Hey, I'm using apple pay to begin a subscription for a monthly donation. Every time the suer selects a different price point, I crate a new payment intent and reload the apple pay button. This feels wrong, since the apple pay button literally disappears while the new intent is loading, and the past intents are stored as "incomplete" subscriptions in the customers history. What's the best practice here, how should I be doing it?

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

What are you working on?
A charity app with monthly donations.

cursive heronBOT
#

@tepid wigeon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We received an email regarding the statement_descriptor change. We currently set it to null and do not have any plans to modify its value in our implementation, nor are we using the statement_descriptor_prefix field explicitly when we create a payment intent. Are we okay in this case?

Related Request ID(s)
None.

What have you already attempted?
We're currently looking for guidance. We just got the email and we're looking for information.

cursive heronBOT
#

@robust walrus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having an issue with customers having their financial connections accounts going inactive soon after they use it. Once it goes inactive, I can't refresh the account to get the information I need. Is there a way to keep these accounts active or re-activate them?

Related Request ID(s)
req_hJ5N12ykdavHu7

What have you already attempted?
I've tried removing the payment method and adding a new one, but the new payment method seems to be created with the old financial connections account (which is inactive).

What are you working on?
I'm working on an office rental management app that collects rent payments.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/receipts#automatically-send-receipts

Question
When automatically sending bills to email, can the Description field only add a simple line break style? Is there rich style support?

What have you already attempted?
When I call the paymentintent api, I have added the receipt_email and description fields

What are you working on?
Elements

cursive heronBOT
#

@austere raptor pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe payment_method_domains validate and list are contradicting

Related Request ID(s)
req_FvNnnoNl5ZgWb5a

What have you already attempted?
payment_method_domains list shows my registered domain, then running payment_method_domains validate with the same domain gives the error

"message": "No such payment_method_domain: x"

cursive heronBOT
#

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

Question
I'm experiencing an issue with my Stripe platform payment methods. In my platform account, Alipay is not listed as an available payment method on the "For your connected accounts" page.
However, in one of my connected accounts, Alipay is available as a payment option.
Could you please help me understand why Alipay is not available in my platform account and guide me on how to enable it? I would like to manage Alipay as a payment method for my connected accounts.

Related Request ID(s)
pi_3QHGqrJAyK60857l0rZd6xwA

What have you already attempted?
I read documentation about payment methods for connected accounts

#

@rare tartan pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Before 30th November, my transaction with wechatpay got no issue. But right now we have a lot of Payment declined by the issuing bank. Is this something that only occur to one account? We didnt touch any code regarding wechatpay til today. Is there anything we can do?

Related Request ID(s)
pi_3QHdEzKPLd55usy71Yy4K4R4

What have you already attempted?
I already asked stripe CS but they keep asking for screen record even though I already provided curl for confirmWechatPayment.

What are you working on?
Stripe WechatPay

cursive heronBOT
#

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

Question
When I modify a subscription to change the amount, and the new amount is higher (the user "upgraded" to a higher tier), the user is not charged. Instead, their next month's bill is increased. This is a problem because what's to stop a user from upgrading, and then downgrading immediately before the billing cycle ends?

Related Request ID(s)
none

What have you already attempted?
nothing

What are you working on?
web service

#

@glad owl pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Following my colleague's question: #dev-help message

Ok, I get the idea that some PM's might be enabled on account holder request so then page Β«Payment Methods for Connected accountsΒ» (PMC controlled by our platform account). But in this case a merchant can initiate a payment through the platform with PM NOT supported by platform and successfully handle such payments. Hope I was clear even the question was a long :)

Related Request ID(s)
pi_3QHGqrJAyK60857l0rZd6xwA

What have you already attempted?
Read documentation. Asked on discord (#dev-help message)

cursive heronBOT
#

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

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

Question
We want to adjust billing dates for subscriptions. I want to know the exact difference between billing_cycle_anchor_config and billing_cycle_anchor. What does they do? So, I can decide to integrate the appropriate one for our app.

What have you already attempted?
Not yet attempted anything now

#

@halcyon lynx pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Setting up payment flow in iOS app with stripe using same steps as mentioned in below link.
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=ios

Question
Our platform uses connect accounts to transfer amounts into. I am creating payment intent with the Connect account. By using same setup as the given link, I am confirming payment intent before returning intentCreationCallback inside the handleConfirm method. By doing the same, I face errors such as β€œNo such payment intent” or β€œmismatch between the payment method ID on your Intent and the payment method passed into the
confirmHandler”

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

What are you working on?
iOS app

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/sdks/community

Question
I have developed an official Ballerina connector for Stripe [1] using the Stripe's official OpenAPI specification [2] The connector source code can be found here [3]

I would like to get this listed in the community SDKs section in the Stripe documentation.

[1] - https://central.ballerina.io/ballerinax/stripe/2.0.0
[2] - https://github.com/stripe/openapi
[3] - https://github.com/ballerina-platform/module-ballerinax-stripe

What have you already attempted?
Nothing yet.

cursive heronBOT
#

@velvet mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
Our platform uses js and php and we use payment element fine. We find an issue with the 3d secure in that if a subscription is originally purchased with 3dsecure and the customer adds a item, then we need to force the 3dsecure popup to appear after the item has been added to the subscription.

with normal cards we use:
$itempaid = $response->latest_invoice->paid;

die( json_encode($itempaid) );

and in our js we show check for response to be 1 and show a popup that the item was paid fine and added.

Related Request ID(s)
req_infajlb7IVX3Hz

What have you already attempted?
we use php to add the subscription:
$response = $stripe->subscriptions->update(
$order['current_subscription_id'],
[
'items' => [
[
'price' => $product_price_id,
'quantity' => 1,
],
],
'proration_behavior' => 'always_invoice',
'expand' => ['latest_invoice.payment_intent']
]
);

What are you working on?
migrating braintree to stripe

#

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

Question
I'm not receiving the customer ID, so how can I identify the customer's payments?

Related Request ID(s)
req_ngDRTwmTPymHee

What have you already attempted?
I have added customer email from the front side after checkout session API.

What are you working on?
Stripe checkout session API

cursive heronBOT
#

@random void pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i create account using embed on boarding ? affter onboard i check the account the bandage shoeing enabled Add missing information for person(s) listed on the account
To avoid disrupting payouts, more information is needed for some people listed on this account soon
Submit the information
If you have the information we’ve requested, submit it for review on behalf of the connected account.

Related Request ID(s)
acct_1QHfIb2cNbaSlUlK

What have you already attempted?
no

What are you working on?
se

cursive heronBOT
cursive heronBOT
#

@woven moth pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how to listen payout events using Webhook?
I've added multiple (7)events to listen, related to transfer and payout in the same webhook.

I am receiving transfer events, but somehow stripe isn't notifying me about payout events.

Related Event ID(s)
webhook ID: we_1QCGBp021oVRUlBpOl4p5vEn

What have you already attempted?
-

What are you working on?
Grocery Delivery System

#

@shut steeple pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i receive a payment_intent.partially_funded, following the guide it says to edit the 'amount' of the payment intent if i want to complete it without waiting that the customer end another bank transfer, but when i try i obtain an error
Some of the parameters you provided (amount) cannot be used when modifying a PaymentIntent that was created by Checkout. You can try again without those parameters.

Related Event ID(s)
pi_3QHhcdG0HkO3ZPnp11sr2vl6

What have you already attempted?
handle the webhook and call the payment intent update with the new amount

#

@potent idol pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to use setup.intent saved payment method to prefill Checkout session payment method

Related Request ID(s)
Nil

What have you already attempted?
https://docs.stripe.com/api/checkout/sessions/create

Followed the above guide, can't find how I can use the payment_method with the PAYMENT_METHOD_ID mentioned in https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements 7. Charge the saved payment method later

Then i tried to just pass the customerID to use the most recently saved card payment method

cursive heronBOT
#

@limpid pike pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected no fees on my platform account.

What actually happened?
I received refund fees on my platform account even though the refund happens on a standard connect account. It was just triggered by the platform account.

Reproduction Steps
Your platform account is acct_A
You have a connected standard account acct_B
You create a PaymentIntent pi_123 on account acct_B. They own the PaymentIntent and the Charge. The funds went to their Stripe account's balance
Then you are creating a Refund re_1234 on that connected account acct_B. The funds come from acct_B's balance.
acct_A receives a fee bill of 50cts

Question
This question has already been asked once here: #1293237766339170324 message

It has been closed and I cannot reopen it. The old engineer told me it must be a bug. Sadly the Stripe Support still tells me this is intended. No reason.

Why do I pay the fee for a refund that I triggered through Stripe Connect?

What are you working on?
Qourses - a course management platform

cursive heronBOT
#

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

Code
I try to enter chat support online and it says i'm in a call

Question
I need to contact suport and I can not reach them because the chat online is not allowing me to start another conversation. it says im waiting for the call, and its not true

What have you already attempted?
login and unlogin multiple times, change explorer, etc.

What are you working on?
i am trying to open an account.

#

@daring patrol pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I received an email saying that statement_descriptor_suffix will be mandatory on payment intents and checkout if I use statement_descriptor on my integration. But in my integration I use statement_descriptor also on Payouts so do I need to use statement_descriptor_suffix on Payouts also ?

Doc/Guide Links
This email em_nkpk8m4nqybw8tdtjifyyxvyt3thpd

What are you working on?
Social website

#

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

Code
We are not having a issue with our code, but we are in need of help.

Question
We're currently using Stripe with our eCommerce shop on WordPress, processing payments through iDEAL. We've received a lot of feedback from customers reporting an issue: when they select "Rabobank" as their payment method, they're redirected to the Rabobank environment. However, after choosing an option within Rabobank, they encounter an error notification.

What have you already attempted?
Tried different gateway plugins, but this did not help. Hired stripe expert to take a look at webhooks etc.

What are you working on?
ecommerce store

#

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

Question
What is the difference between the transfer.created and transfer.paid?. Here transfer.created only triggering... when will transfer.paid will get trigger?

Related Request ID(s)
evt_1QHjFL00kovRZbRfqlyLjDx9

What have you already attempted?
tried to transfer amount from the stripe to one of the connected account..

What are you working on?
tried to transfer amount from the stripe to one of the connected account..

#

@pine mauve pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Dear Sirs,

Reference deleted Stripe account name – β€œonenorthgroup.co.uk”

Last year we were a customer of Stripe via our on-line letter generation website www.debt2collect.co.uk and unfortunately after a few months working with you we were advised that we needed a new payment provider due to Stripe not supporting businesses within our industry as we fell under your Restricted Business list, this was despite previously being approved. We therefore found an alternative provider and now operate using Worldpay.

www.debt2collect.co.uk – sells debt collection letters to its customers. We do no

Related Request ID(s)
1

What have you already attempted?
As part of our growth, we are looking to integrate with Xero accountancy platform and become one of their app partners, however during the development work we have discovered that Xero use Stripe for their payment services.

cursive heronBOT
#

@slim cypress pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,

I am working on a payment-form for StripeConnect + on_behalf_of payments and would like to restrict the accepted card networks to only allow the following:
- visa
- mastercard
- cartes_bancaires (FR)

Right now my payment-form seems to support all methods included in "cards" (amex, union-pay, ...), most of them I do not want to allow because of their higher fees.

I am using PaymentElement in the frontend (https://docs.stripe.com/sdks/stripejs-react#element-components), along with the PaymentIntent API on the backend (https://docs.stripe.com/api/payment_intents/create).

Related Request ID(s)
N/A

What have you already attempted?
I looked at the following
- the "create PaymentIntent" endpoint and API docs.
- my dashboard configuration at https://dashboard.stripe.com/settings/payment_methods.
- I also found community thread suggesting to use "radar" to block unwanted networks.

But in the end I am not sure what is the recommended approach.

In the end I would like the frontend to only showcase the networks I want to allow, and the PaymentIntent to be configured to only accept allowed networks.

What are you working on?
I have a payment form setup and want to restrict payment_methods to only allow users to pay with "visa", "mastercard" or "carte_bancaire" schemes.

#

@simple monolith pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What mechanism does Stripe have to block card test attacks? When a hacker has a list of cards that need to be verified to see which cards are still active, the hacker will create a payment intents through an online store that integrates Stripe, then call the API POST /v1/payment_intents/pi_xxxxxxxxxxxxxxxxxxxxx/confirm
to test the card until the test is successful.

Related Request ID(s)
req_7l8rPU283Yxqr4

What have you already attempted?
I have sent many requests to the API POST /v1/payment_intents/pi_xxxxxxxxxxxxxx/confirm to test with a list of cards through the body parameter payment_method_data[card][number]=******************&payment_method_data[card][cvc]=xxx&payment_method_data[card][exp_month]=xx&payment_method_data[card][exp_year]=xx, and I do not see Stripe blocking this action.

What are you working on?
We are ShopBase, a cross-border e-commerce platform and we are working on a solution to prevent verify card attacks through our system when integrating with Stripe

#

@static nacelle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using stripe api while sending invoice items is not showing to client

Related Request ID(s)
req_BXSHHc5dQjTXxW

What have you already attempted?
I have added stripe invoice API to create invoices, create invoice item creation, and then send invoices to customer ,

What are you working on?
stripe connect platform integration in website

#

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

Code
When trying to make payment with payment sheet, i am getting an error as No such PaymentMethod: 'pm_xxxxxxxxxxxx'.

Question
When i make payment with new card my payment gets success but when i try to make payment again with saved card i get error as No such PaymentMethod.

I am facing this error while presenting payment sheet with customer details in payment sheet configuration. request ID is req_VZf6RZFua5Ytxp

Our platform required customer cards to be saved and used to make payment to different connected accounts to our platform.

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

What are you working on?
iOS app

#

@rare cape pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have setup new account and I can’t see webhook tab in developer dashboard

Related Event ID(s)
Dashboard

What have you already attempted?
I completed the account onboarding and also completed connected account onboarding process. I don’t have any pending tasks in my home page

#

@river violet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know if any customers have more than one attached payment method. Is there a way to get this information via a single API call (ignoring pagination)?

There is a "list payment methods" endpoint but that seems to be specific to something called "treasury flows" which is a shame as its exactly what I want

Related Request ID(s)
None

What have you already attempted?
The only way to do this I have found so far is to first get all the customers, then iterate over each customer and retrieve all their payment methods. This is a lot of api calls...

cursive heronBOT
#

@last zealot pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I ran BACS DD payments. I always expect that for payment_intent.processing I will get at least one charge object in the charges list, but today I've got empty list for two of the events (evt_3QHc43IhXA5yfr1N2dYfsY84, evt_3QHc3yIhXA5yfr1N0DjlYWLy), but on the other hand I've got charges normally (eg. evt_3QHc3sIhXA5yfr1N055hkVkh). Why did it happen? What does it depend on whether charges will be created?

Related Event ID(s)
evt_3QHc3yIhXA5yfr1N0DjlYWLy and evt_3QHc43IhXA5yfr1N2dYfsY84

What have you already attempted?
Went trough the docs (https://docs.stripe.com/payments/payment-methods/bacs-debit) and I have not found anything regarding the missing charges.

What are you working on?
BACS DD implementation

#

@swift anchor pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the maximum time between a subscription renewal and invoice paid being triggered? Will it always get triggered after 1 hour? And is this unchangeable? I want to renew credits when the invoice is paid.

Doc/Guide Links
https://stackoverflow.com/questions/22601521/stripe-webhook-events-renewal-of-subscription

What are you working on?
Sass Chatbot

#

@eternal badge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I work for a company with 5 subsidiaries operating under one platform. We add our customers and their payment methods to our platform account, and then take payments on behalf of the connected accounts. A requirement of our business is to have invoices branded with the correct subsidiary and I believe this requires us to create the invoices not within the platform but the connect account is this correct? If so this seemingly results in an incredibly amount of duplication of customer objects as well as products and tax rates? Is there something I'm missing or is this indeed the reality?

Related Request ID(s)
N/A

What have you already attempted?
I've established an idea of using the customer webhook events to propagate changes to the connect accounts and this doesn't seem awful, but it will be tedious to onboard new connect accounts.

#

@mental hull pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to understand how to get a webhook when the customer balance changes.

Related Event ID(s)
None

What have you already attempted?
I am looking for the documentation to implement this.

What are you working on?
Building a webhook to automatically update the customer balance of our customers when they get money added to the balance or when money is taken out of the balance.

#

@cold dragon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have added the trial_end in this request and final output has updated the start_date of the billing cycle to november 5. But its current billing cycle is between jan23-feb23. and my clock is stuck at jan24.

Related Request ID(s)
req_ueMUWf6p9A2ZRT

What have you already attempted?
Nothing, as there is no field like start date in the subscription_update api

cursive heronBOT
#

@strong badger pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a PaymentIntent by nodejs SDK, it uses data_transfer to pay inmediatly to my connected users. I'm getting "balance transactions", then, I expand the "source" object", finally I need to get my "charge" or "payment_intent" from this source, but it is not there (it is null) . I really need this for know all payments has been sucessfully from some "payout" and I have to update my database.

Related Request ID(s)
Create a payment intent with data transfer > get all balance transactions > get source -> get payment_intent or charge

What have you already attempted?

  1. get charge from balance transaction
  2. put some description or metadata on paymentIntent, then extract from balance transaction
  3. get paymentIntent from payout or balance transaction

example: (balance transaction)
"transactionId": "txn_1QHa2j2H59waw1jDPsSlXStS", "object": "balance_transaction",
"amount": 60,
"status": "pending",
"type": "payment",
...
"source": {
"id": "py_1QHa2j2H59waw1jDRJn8kGaK",
"object": "charge",
"amount": 60,
"paid": true,
"payment_intent": null,
"source_transfer": "tr_3QHa2iFlYuSANXNc144yh4L7",

What are you working on?
Im finishing 2 mobiles apps for sell services and get money from my users

cursive heronBOT
#

@late cove pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
**Issue Description:**

I'm trying to figure out why, in test mode, after the first subscription payment using the `advance time clock` feature, Stripe behaves unexpectedly when I move the clock to the current subscription's end period.

Here’s what happens step by step:

  1. **Initial Setup:**
    - I created a product with a `price_id`.
    - I have an endpoint on my backend that I use to create checkout session:
    - Creates a customer if they don’t already exist.
    - Links the `customer_id` internally.
    - Finally, it creates a Checkout session for the subscription and customer_id.

2

Related Request ID(s)
3

What have you already attempted?
I tried reading docs and searching on the internet

What are you working on?
Subscription based site

cursive heronBOT
#

@foggy wolf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When i am transfer amount from my stripe account to customer connected account with external bank account using transfer request.

Related Request ID(s)
req_q091U4FzDblyhZ

What have you already attempted?
i am transfer amount using connected external bank account then can not transfer amount to bank account.

cursive heronBOT
#

@hearty raven pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected the payment to go through successfully

What actually happened?
In our test environment, when I press pay in the embedded checkout it says processing => loads => then button turns green with green checkmark, but no payment is registered and webhook is never hit. AFTER that we get "An invalid API request was made." in the "Retrieve a Checkout session" step.

Reproduction Steps
The comment above details it I think

The retrieve a checkout session step I'm referring to is here:

https://docs.stripe.com/checkout/embedded/quickstart

Question
My question is:

  1. Did the payment go through or not when that pay button turns green and shows a green checkmark?
  2. If not, how does the payment going through hinge on the result of the following "Retrieve a Checkout session" step? This seems like it occurs AFTER the payment is done.

What are you working on?
Property Management System

#

@tender vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, is it possible to limit the number of unpaid invoices in a subscription to a maximum of one?

Related Request ID(s)
-

What have you already attempted?
I adjusted the settings in the dashboard, but I could only manage to cancel the subscription after 30 days of an unpaid invoice, resulting in two unpaid invoices.

#

@modern sonnet pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What should I do in context of implementation
- open banking
- direct debit
?

What is the best way to implement that? Currently, I am playing with Direct Debit and if I understand correctly first payment combined with the subscription details should be used to setup a mandate and should take roughly 3 days to confirm the invoice as paid and we let the user to have the service + we have a mandate for future payment automatically. Can I do the same thing with open banking (financial-connections) and is it a good practice?

Thanks

Doc/Guide Links
https://docs.stripe.com/financial-connections/fundamentals
https://docs.stripe.com/subscriptions

What are you working on?
We (as a business) want to sell service based on monthly subscription, UK as location.

cursive heronBOT
#

@brisk kite pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Hey! We have an integration that uses the Stripe Payment Element in the "subscription" mode to collect user's payment information and create a subscription.

We expect the Payment Element to be rendered, but for a specific connected account, it doesn't work.

The integration works well for all our connected account, except this one.

What actually happened?
The Payment Element sent the "ready" event and an iframe with empty divs was rendered.

The connected account has no restrictions on Stripe side. Product and Prices are correctly set up. We don't get any specific error, so it has been hard to debug this one.

Reproduction Steps
Here are the simplified steps from our code:

const options = {
mode: 'subscription',
amount: amount,
currency: 'usd'
}

this.elements = this.stripe.elements(options)
this.paymentElement = this.elements.create('payment')

this.paymentElement.mount('#payment-element')

Question
Any insights on what can be going wrong? Here is the iframe body (cropped a bit):

<body><div id="root"><div class="p-PaymentElement de7zKgf4__p-Root p-Locale-en p-Animatable p-LTR"><div class="p-HeightObserverProvider"><div class="p-HeightObserverProvider-container"><div class="FadeWrapper"><div class="Fade"><div class="Fade-item"></div></div></div></div><div class=

What are you working on?
We're working on a checkout page where end-users can purchase our customer's subscriptions.

cursive heronBOT
#

@peak geyser pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer euBankTransferOptions =
PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer.builder()
.build();
PaymentIntentCreateParams.PaymentMethodOptions.CustomerBalance.BankTransfer bankTransferOptions

Question
returns this error:
com.stripe.exception.InvalidRequestException: Missing required param: payment_method_options[customer_balance][bank_transfer][eu_bank_transfer].; code: parameter_missing; request-id: req_HgbZ8HpGeZ884O

What have you already attempted?
I want to add bank transfer as a payment method by creating PaymentIntent from which then i can get the auto-generated iban and send it as a pro foram to the custoemrs.

What are you working on?
I want to add bank transfer as a payment method by creating PaymentIntent from which then i can get the auto-generated iban.

#

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

Question
Have started making use of the web element for payments. It's not showing payment options for more than just card payments, although we have a few others enabled in the Stripe dashboard. Is it likely that there's some extra steps needed to enable these in Stripe, or do I have to enable them in code?

Related Request ID(s)
NA

What have you already attempted?
Combing through stripe dashboard and code.

What are you working on?
Class booking payment process.

cursive heronBOT
#

@velvet mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
we have an active subscription that is being paid for by a 3dsecure payment element.

When we add an additional item half way through the cycle, can we force the 3dSecure popup to be displayed using the client payment token after we perform a $stripe->subscriptions->update with the additional line item?

Related Request ID(s)
req_ILpw5glEVSq5ic

What have you already attempted?
We use ajax to post the item to a php script then return a response. Using the data form the response we then display or load the payment element. If the response is invoice.paid (using normal cards) then we display a message to the customer saying the item has been added.

What are you working on?
migrate braintree to stripe

cursive heronBOT
#

@loud stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do we charge Connected Accounts correctly based on the card their customer paid with?

Via the API we can only detect the brand (Visa, Mastercard or Amex) and the type (Credit, Debit). We can't detect whether it is personal or business.

Personal has interchange of 0.2/0.3%, but business can be 1.15% up to 1.5%.

Ideally, we want to just markup with a `markUpFee` property by 0.2% on all payments. But we can't figure this out. What can we do?

Related Request ID(s)
n/a

What have you already attempted?
We currently are trying a number of avenues but to no success.

At the moment we have a simple decider where if the card is Visa or MC we chard 1.2%, if it's Amex we change 2.4%. However this obliterates us if it is a Visa Business Debit (we can only detect Visa and Debit, not the Business part) as VBD has interchange of1.15

What are you working on?
A shopping and commerce platform where we use Stripe Connect to give our merchant the ability to take card payments, but we want to make sure we don't get obliterated by the card fees

#

@last anchor pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
too long, I am interested in concept. The input textareas are too short - therfor I will explain full problem inside the thread

Question
how can we allow user to make the purchase in one step, basically checkout with address and payment elements, he makes the payment and on stripe side invoice is generated and paid.

What have you already attempted?
Goal:
Create a checkout page by using stripe payment and address elements. After checkout user should get also stripe invoice with automatic tax calculated depending on the address.
What we have tried:

  1. Create invoice, finalize it, but we don't know yet the customer address.
  2. From that we get payment intent to get the client secret to render stripe elements
  3. Make the payment
#

@neat temple pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
decimal stripePercentage = 0.029m;
decimal stripeFixedFee = 0.30m;
decimal applicationPercentage = 0.0146m;

decimal appFeeDollars = (netAmount * applicationPercentage);
decimal stripeFeeDollars = ((netAmount + appFeeDollars) * stripePercentage) + stripeFixedFee;
decimal totalFees = appFeeDollars + stripeFeeDollars;

decimal grossAmount = netAmount + totalFees;

Question
Given our fee percentage, we want to know how much to send Stripe to NET our invoice amount. We need to know that before hand, and sometimes is off by 1 cent.

Here’s an example, we want to charge an invoice for 1500$. We pre calculate all the fees, but sometimes is off by 1 cent. How to know exactly all these fees, for a specific invoice amount?

What have you already attempted?
almost every kind of rounding, but there's always some specific amount that fails and get's off by 1 penny.

What are you working on?
As a platform account, we need to process invoices for connected accounts, and we need to present final amounts (gross amount, stripe fee and our fee) before we

cursive heronBOT
#

@pearl bramble pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Apply coupons to shipments and tax

Related Request ID(s)
trying to find out if this is possible

What have you already attempted?
::Stripe::Coupon.create({ amount_off: amount_off, name: name, currency: currency })

which creates a coupon but then when it's applied i notice the shipment and tax rates are still required to pay by the customer even if the coupon amount covers it

#

@chrome siren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hi, we are implementing the Stripe payment elements (https://stripe.com/payments/elements) for twint, in test mode everything was working fine but when we switched to live mode, when the user does the payment and its redirected to our page again and we verify the payment intent, we get the status 'requires_action' next step: 'redirect_to_url' instead of 'succeeded'.

Related Request ID(s)
req_MvRJ5kl8WijFTz

What have you already attempted?
For our tests, it happens only on desktop, in mobile itΒ΄s working as expected.

i have also seen that the user comes back to the redirection url 2 seconds before the payment success in the stripe logs, could that be the problem? should we wait some seconds before we get the succeeded status?

we are also implementing Paypal with Stripe payment elements that has a similar approach (use redirects) and that one is working fine in live mode

#

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

Question
Is there a way through an API to register new domains with payment methods, such as with Apply Pay? We give each of our customers a unique address, and that it looks like each one will need registering, or can we use wildcards? All the URLs end with the same domain name: franscape.io

Related Request ID(s)
NA

What have you already attempted?
Exploring the Apply Pay control panel,

What are you working on?
Payments

cursive heronBOT
cursive heronBOT
#

@cerulean warren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If the sub-account created for our customer updates their API version, does that impact the API requests we send as the Connect account on their behalf?

Related Request ID(s)
N/a

What have you already attempted?
We have looked at the Stripe documentation, but are unsure. We don't want our API usage to breakdown. However the parent account wants to bump their API version

What are you working on?
We have a stripe connect account, pulling data from the parent stripe account

#

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

What did you expect to happen?
when we check if a twint payment intent has succeeded we expect 'succeeded' status

What actually happened?
we get a 'requires_action' status with next step 'redirect_to_url'

Reproduction Steps
hi, we are implementing the Stripe payment elements (https://stripe.com/payments/elements) for twint,
in test mode everything was working fine but when we switched to live mode, when the user does the payment and its redirected to our page again and we verify the payment intent, we get the status 'requires_action' next step: 'redirect_to_url' instead of 'succeeded'

Question
is this a expected behavior? we use stripe.confirmPayment in our client side.
In our tests, it happens only on desktop, in mobile itΒ΄s working as expected.
I have also seen that the user comes back to the redirection url 2 seconds before the payment success in the stripe logs, could that be the problem? should we wait some seconds before we get the succeeded status?

#

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

Question
I need to get fees from a checkout session line items.

Related Request ID(s)
cs_live_b18LOaaIJwq9DaMs8q2X56cPuM8l4H50p3pybLJbhTS4C42H7WZzNRB1zC

What have you already attempted?
expand 'latest_charge.balance_transaction'

What are you working on?
Ecommerce

cursive heronBOT
#

@eternal badge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The business I'm working for utilises connect accounts and creates records against the platform account but will utilise the on_behalf_of property and transfer_data to assign an object (lets say an invoice) to the connect account. They also seem to be storing an application_fee_amount for the payments, I've been told that they were previously advised to store 4% of the amount that is being charged to the customer in this field as there is a 4% fee charged for each entity? I don't have a lot of clarity on this so any advice on how the platform and connect account transfers create fees is good.

Related Request ID(s)
N/A

What have you already attempted?
Consulted Docs

cursive heronBOT
#

@dense mirage pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are currently implementing a payment process via payment intents where we create the intent in our domain service, pre-authorize the payment via webapp (stripe.js) and then capture the actual amount in domain service (manual capture).

In my automated integration test I already have a payment intent in state "requires_payment_method". I need to add a test card and move it over to "requires_capture" in the test (Java, Selenium, whatever .... ). What is the best way to achieve that? PaymentLinks have been suggested but I don't see how this would work.

Doc/Guide Links
https://docs.stripe.com/api/payment-link/object?lang=java

What are you working on?
Direct Payment System using Pre-Auth / Capture

#

@peak geyser pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
created test webhook for payment_intent.succeeded, but when create a test simualte funding the local listenr for this webhook return 403

Related Event ID(s)
payment_intent.succeeded

What have you already attempted?
i added endpoitn of the webhook but it is not reached. Do not not why i receive 403 forbidden
[403] POST http://localhost:8080/webhook-invoice-paid [evt_3QHpuDFWqYIjorXP2U7BZlJk]

cursive heronBOT
#

@onyx cape pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're adding usage-based billing to our product, and we envision that we'll have something like the 'per tier, graduated' pricing model, but we'll have different amounts of included usage per customer, essentially. A customer will get, for example, 1,000 requests included, and then be able to buy packages of 500 requests to change their allowance. Has anyone set something like this up before?

Based on explorations so far, it seems like we can bill for the 'extra allowance' within stripe, but that the path of least resistance after that would be to calculate usage on our side at the end of the month, subtract their allowance, and only send billable usage to Stripe.

Doc/Guide Links
https://prefab.cloud/blog/usage-based-billing-with-stripe-meters/
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models
https://prefab.cloud/blog/usage-based-billing-with-stripe-meters/
https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits

What are you working on?
Customer A & B are on the same pricing tier. Customer B has paid for 2 packages of additional credit that increases their free/included usage tier specifically.

#

@rapid forge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to pass our internal customer id with a fresh order, that would get passed back to us on the checkout.session.completed webhook ?

Related Request ID(s)
n/a

What have you already attempted?
I have not tried anything as I am unable to locate something that fits what I am looking for.

What are you working on?
Integration with an existing custom cart in ColdFusion.

#

@keen hatch pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
mocking data with a live payment link

Doc/Guide Links
i have made all of my payment links on a live stripe account rather than a test account and i want to mock data to test that my integrations with them are working correctly, how do i go about mocking a payment on a payment link

What are you working on?
monthly recurring tutor service

cursive heronBOT
#

@proper niche pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why did these events arrive out of order?

Related Event ID(s)
evt_3QHOwxBIMZTJKM1c0iIPe2rY, evt_3QHOwxBIMZTJKM1c06EjV7VH

What have you already attempted?
This is a new phenomenon that we haven't encountered on our existing payments.

What are you working on?
Notch Platform

#

@hard void pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I added a subscription to our app we are about to launch. Along side it, we added addons. (Additional users). We are a little unsure how and when the addon is billed. Currently the customer can add more users using a slider, and then it will make a call to Stripe, which is does.

Doc/Guide Links
I dont have any docs.

What are you working on?
flowthings.app an issue management platform.

cursive heronBOT
#

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

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

Question
We’re considering adding a feature to our platform that allows clients to add funds to their account balance, which could later be used to pay invoices. However, we have a few questions. According to the documentation, it seems that clients wouldn’t have the option to select a specific invoice to apply this balance toβ€”it would automatically be used for their next invoice payment. Could you clarify how this would interact with past-due invoices? Would the balance be automatically applied to reduce the amount owed on overdue invoices, or would it only apply to the next new invoice?

What have you already attempted?
I've read the following doc: https://docs.stripe.com/billing/customer/balance

#

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

Question
We were using the "source.chargeable" event webhook to manually reconcile an invoice if the payment made by the customer by ACH credit transfer is ~98% of the invoice amount.

We are moving over to the payment intents API and bank transfers. The event webhook is going away.

Bank transfers have automatic reconciliation.

What event webhook can we use to reconcile our invoices if the payment/funds available for the customer are ~98-99% of the invoice amount

Related Event ID(s)
N/A

What have you already attempted?
Went through the documentation.
Interacted with a Stripe support rep.

The initial suggestion was to remove that part of our code.

What are you working on?
Migrating to PaymentIntents API.

cursive heronBOT
#

@hazy warren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I started the trial for Radar for Fraud Teams for allow rules. It doesn't seem to function for me even though the documentation says it should. Is there something I'm doing wrong?

Related Request ID(s)
N/A

What have you already attempted?
I've read a handful of docs regarding this topic. As I said I started the trial so I could have access to it but it doesn't work

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/invoices

Question
Can I create duplicate customers with the same email when working with Invoices? I do not need to save the customer, I just want to create a new one every time.

What have you already attempted?
Currently working with Stripe Express Connected accounts and creating Invoice on the connected accounts (direct charges), but I plan to change to Destination Charges.

What are you working on?
Ticketing Platform

#

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

Question
using paymentIntents api with hosted stripe elements, is there a way to prefill the zip code for customers? In our ecommerce store, by the time they would get to the payment page, we already know their zip code and it would help to prefill it for them.

Related Request ID(s)
following this guide: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements&lang=php#fetch-updates

What have you already attempted?
read through the documentation, cant find anything related

What are you working on?
ecommerce store

cursive heronBOT
#

@past elbow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any pre-authorization API in Stripe?

Related Request ID(s)
Is there any pre-authorization API in Stripe?

What have you already attempted?
Is there any pre-authorization API in Stripe?

#

@slate sedge pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I am currently working on a SaaS based business right now and am trying to make user checkouts for my pricing page. (User buys the service). What would be the best way to go about making this with Stripe?

Doc/Guide Links
N/a I do not have any docs.

What are you working on?
Harmonized

cursive heronBOT
#

@past elbow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any pre-authorization API in Stripe?

Related Request ID(s)
Is there any pre-authorization API in Stripe?

What have you already attempted?
I mean that to validate a card, a minimum charge is made for that card.

#

@steel totem pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I add multiple line_items to the session creation, the page does not redirect and the session creation fails. Not sure why adding 2 items to the session would break it.

Related Request ID(s)
NA

What have you already attempted?
I have tried removing the second object, it then works. I add it back and it is broken again

What are you working on?
private

cursive heronBOT
#

@honest vale pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
With stripe elements, I included a font declaration and it works on desktop. I expect the same font to be there in mobile safari

What actually happened?
MObile safari stripe elements are in Times New Roman it seems.

Reproduction Steps
I can't share a link with you but basically the iframes dont load the font consistently on mobile safari.

Question
What do i have to do to get mobile safari elements to look correct like they do on Chrome desktop

What are you working on?
checkout page

#

@harsh temple pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Apple Pay to work in hosted checkout

What actually happened?
Apple Pay is no longer working in hosted checkout, for Connected Accounts.

Reproduction Steps
Begin Checkout session. Clicking Apple Pay button nothing happens

Question
The support team refers to documentation about settings up domain and certificate for apple pay. But we already have multiple purchases via connected accounts with apple pay as payment method?
Also, this wasnt an issue in test mode. And it wasnt part of the "Get reday for production " checklist.
Is there a misunderstanding?

cursive heronBOT
#

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

Question
Statment descriptior -> stripe checkout

Related Request ID(s)
stripe checkout

What have you already attempted?
Statment descriptior in stripe checkout will be required for every payment or just for first payment when you create checkout session ?

cursive heronBOT
#

@simple monolith pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to ask more information regarding the following thread #dev-help message, please reopen it. I want to ask that according to the docs you provided, Stripe has automatically implemented mechanisms against verify card, what further action do we need to take?

Related Request ID(s)
req_7l8rPU283Yxqr4

What have you already attempted?
.

cursive heronBOT
#

@quick palm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to get a list of Credit Cards... but in order to do that I have to scan all Customers, and then get their "default_payment_method" and with that I can obtain the Payment Method details (Last Four, Expiration Month, etc)... Is there a way I can get the same information without scanning all customers?
I've tried Sigma and it is great, but it is too expensive for us

Related Request ID(s)
-

What have you already attempted?
Scanning all Customers works, and also Sigma.. But want to find a better approach from the APIs

What are you working on?
Need to have daily reports of Customers renewing their CC as we are migrating from Paypal

cursive heronBOT
#

@simple monolith pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Please continue this thread #1303510218633908234 message

Related Request ID(s)
req_7l8rPU283Yxqr4

What have you already attempted?
as described earlier, I have demonstrated that there is currently a card verification risk by repeatedly calling the API POST /v1/payment_intents/pi_xxxxxxxxxxxxxx/confirm to try multiple cards. So what mechanism should we implement to prevent this. I see in the docs that Stripe has implemented some mechanisms to prevent this type of attack, but I don't see it working, so what should I do to prevent it on my end, do you have any suggestions?

cursive heronBOT
#

@dry tangle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there! My product has different subscription tiers, and for each tier I create a new Stripe customer + subscription combination, and I save an association for the user's subscription, so when a user upgrades or downgrades tiers I cancel the previous subscription through the Stripe API, and I mark it as `Prorate: True`. However this seems to just generate a negative balance invoice without ever completing the invoice. Even when I manually try to complete it, it marks it as 0 because the amount due is 0. I want to reimburse the user for the prorated amount immediately.

Related Request ID(s)
req_ICkc9OUMHD1ZZB

What have you already attempted?
I tried using `SubscriptionCancel` with `Prorate: true`.

What are you working on?
Production API

#

@prisma mason pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi. We have Kajabi connected to Stripe. Suddenly our Kajabi turned to USD currency charges instead of the default AUD.

Related Request ID(s)
idk

What have you already attempted?
asked for support with Kajabi, they told me to contact you.

cursive heronBOT
#

@frosty stag pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to test balance.available webhook but not seeing event.Account being set. Its always "".

Related Event ID(s)
evt_3QHu4YGa8Tfgfn4e1zDjdEHj

What have you already attempted?
stripe trigger balance.available --stripe-account acct_1OSsLlGanIaJxuuT

But getting "Card Payments" not enabled error which is a different issue.

What are you working on?
Expense sharing app for groups.

cursive heronBOT
cursive heronBOT
#

@deep turtle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am not able to payout from my stripe account using api.

Related Request ID(s)
req_GpizAWzih68Efv

What have you already attempted?
i am payout request using without connected account and with connected account but payout cant't working.

#

@foggy wolf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am not able to payout from my stripe account using api.

Related Request ID(s)
req_GpizAWzih68Efv

What have you already attempted?
i am payout request using without connected account and with connected account but payout cant't working.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/testing-apple-pay-with-stripe

Question
We have enabled Apple Pay and Google Pay payment methods. However, our QA team is in India. How can they verify this change from India?

What have you already attempted?
QA Said they are not seeing these options in stripe checkout page.

What are you working on?
Fitness content platform

cursive heronBOT
#
cursive heronBOT
#

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

Question
Hi, is it possible to get the transfer id from the payout?

Related Request ID(s)
no request id

What have you already attempted?
added webhook to listen for payout, and i need to updatte the transaction with payout status. i am trying to identify transaction by using transfer id

What are you working on?
Integrating payout

cursive heronBOT
#

@real fog pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Support, good day! I created an invoice via an API call and provided it with an idempotency key. I have also configured my webhook to listen for any invoice-related events, which triggers an invoice webhook event. When I sent the invoice API request again without changing any details (using the same idempotency key), I noticed that no webhook event was triggered. Is there a reason for this?

Related Event ID(s)
None

What have you already attempted?
None

cursive heronBOT
#

@silver lava pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I thought may be you have seen my name namy times. Problem about webhook deserialize, or say call-bacl

Related Event ID(s)
none

What have you already attempted?
lots of work, including checking version of SDK, webhook ...

#

@copper thorn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey folks, is it possible to download the request logs via API or from the Stripe Dashboard?

I know that I can get a list of events via the API but there doesn't seem to be an API resource for requesting API requests.

I'd like to see the same payload used by the Developer Console:
- Request POST body
- Response body
- Request ID
- HTTP status code
- Time
- API version
- Idempotency key

Related Request ID(s)
-

What have you already attempted?
- https://docs.stripe.com/api/v2/events
- https://docs.stripe.com/development/dashboard/request-logs
- https://docs.stripe.com/cli/logs/tail

I've also tried to run the same requests as the Stripe Dashboard/Developer Console which works but is unofficial and not documented.

What are you working on?
I'd like to get a list of all failed requests due to a reused idempotency key (due to a bug on our end) so that we can re-send them properly.

#

@winged spade pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, we found that when opening this demo
https://docs.stripe.com/elements/express-checkout-element in the Firefox browser, it shows support for Apple Pay. However, the documentation indicates that it is not supported. Can you please clarify what the issue is?

Related Request ID(s)
n/a

What have you already attempted?
I have downloaded the Firefox browser on my iPhone and found that it does support it.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/paypal/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api

Question
Is there a way to enable Venmo payment method through the PayPal Integration, we saw that integrating PayPal is available but Venmo is not which is subsidiary of PayPal.

Link: https://developer.paypal.com/docs/checkout/pay-with-venmo/integrate/

What have you already attempted?
I have tried to search for Venmo mentions in the documentation, I've seen it might work through QR Payment but there is no mention of it in the technical documentation

What are you working on?
We are using Stripe for ACH, Credit/Debit Cards, Google Pay & Apple Pay. Also looking to move to stripe for PayPal but depends if it supports Venmo

cursive heronBOT
#

@mortal marsh pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripe = Stripe('<%=process.env.STRIPE_PUBLIC_KEY%>');
const options = {clientSecret: clientSecretStripe};
const elements = stripe.elements(options);

      let form = document.getElementById\('subscription\-form'\);
      form.addEventListener\('submit', async \(ev\) =\> {
        ev.preventDefault\(\);
        
        const { error\: submitError } = await elements.submit\(\);

        if \(submitError\) {
          enableB

Question
I want to validate Insufficient Funds card in between step 2 and 3, and block step 3 and 4.

What have you already attempted?
We are using Payment Element, something like this

  1. Create a payment intent from the backend API
  2. Submit "payment element" form.
  3. Create a subscription by calling the backend API
  4. Using create subscription response confirmPayment or confirmSetup
cursive heronBOT
#

@deep turtle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Which format support phone number in connected account inside individual

Related Request ID(s)
None

What have you already attempted?
in Connected account, account -> individual -> phone which format is accept?

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/rate-limits?lang=python#object-lock-timeouts

Question
We are getting the object lock timeout error as described in this section however I am confused when and how to use the `stripe.max_network_retries`.

Should it be in while creating setup_intent or pass with every payment intent

What have you already attempted?
I couldn't find enough documentation or sample code for usage of max_network_retries

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

#

@glad acorn pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentInvoice = await this.createPaymentInvoice(invoice, paymentAmount, InvoicePaymentType.STRIPE);
// create payment intent params
const params: Stripe.Checkout.SessionCreateParams = {
customer: (await invoice.user).stripeCustomerId,
line_items: [{
price_data: {
currency: invoice.currency, // force to set EUR as default
product_data: {

Question
I created a session on BE and want to let my user pay in FE using stripe checkout, I have adaptive-pricing enable on my dashboard, why it's always show EUR instead of showing user local currency?

What have you already attempted?
turn on and turn off the adaptive-pricing in dashboard because it's working before.

#

@grand frost pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$token = (isset($paymentData['token']['paymentData']['data']) && !empty($paymentData['token']['paymentData']['data']))?$paymentData['token']['paymentData']['data']:null;

$paymentMethod = \Stripe\PaymentMethod::create(['type' => 'card','card' => ['token' => $token,],]);

Question
I have an already implemented cart(without stripe checkout but server side stripe), I need apple pay implemented. I am able to get apple token but not able to charge it to create paymentMethod.

What have you already attempted?
I have tried to create PaymentIntent directly with appleToken. I have tried to create paymentMethod with apple token.

I have tested all fields of appleToken array to be used as token.

What are you working on?
I am working on adding apple pay to already existing cart. I am testing apple pay at this url:

#

@ivory crown pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a web app which is similar to ChatGPT but for a particular domain, we have integrate stripe for subscription management on the web.

Now we are developing mobile apps for the same Android and iOS, as per their policy we can't redirect users to web for in app purchase.

Does stripe support in-app purchase I have seen documentation where it says
"However, in-app purchases of digital products and content must use the Google Play billing system. "

So I'm confused on implementation can someone explain how this is done

Doc/Guide Links
https://docs.stripe.com/google-pay?platform=react-native#react-native-create-payment-method

https://docs.stripe.com/apple-pay

What are you working on?
AI chat application for specific domain

#

@empty night pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using Stripe Connect destination charges + on_behalf_of. Is delay_days for payouts then ignored? Should we approach this differently in the API? It's not completely clear from the API docs, but we see payouts being in_transit within the configured delay_days. See related id, delay_days is configured to 2 days, but it got a payout to in_transit within a day.

Related Request ID(s)
acct_1QHD45QSaaACtSom

What have you already attempted?
Tried different payout setup, read the docs

What are you working on?
Building a platform for business, but fraud protection by delaying the payouts a bit (we are automating this via the UI)

#

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

Code
No such PaymentMethod: It's possible this Payment Method exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs /connect/authentication

Question
while adding new card i am getting this error
it was working fine now getting this issue

i am using
'com.stripe:stripe-android:20.34.4' version

What have you already attempted?
checked stripe documentation and refered other sites but not found any proper solution

What are you working on?
android application

#

@loud tiger pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
customer,
payment_method_configuration,
success_url,
line_items: [
{
price,
}
],
mode: 'subscription',
})

Question
How can I initiate a Checkout Session of an existing Stripe customer with their default payment method? If I use the code above, I can create a Checkout session just fine, but the default payment method is not applied automatically.

What have you already attempted?
I don't want to use payment method configuration param if that's possible.

What are you working on?
A website that uses Stripe Checkout to buy subscriptions.

#

@peak geyser pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Nothing for now. Want help :)

Question
How can i implement to send an invocie to the mail the way it is created in stripe dashboard, but through my spring application?

What have you already attempted?
i want to look like this i will attach a picture once the chat start

cursive heronBOT
#

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

Question
I am working on connected account links and refreshing the connected account link generation part. I have implemented the create connected account link part. but I am confused in the refreshing link part. how can I implement that auto refresh URL logic?

Related Request ID(s)
12345

What have you already attempted?
I have completed generation for the connected account link part.

What are you working on?
I am working on connected account links and refreshing the connected account link generation part. I have implemented the create connected account link part. but I am confused in the refreshing link p

#

@loud tiger pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://discord.com/channels/841573134531821608/1303659305832284230

Question
https://discord.com/channels/841573134531821608/1303659305832284230

What have you already attempted?
I tried passing in the parameters as instructed, but the result is not what I want: it just shows the option to save the card for future use.
The Customer in Stripe already has a default payment method, but when opening the Stripe Checkout session, the user still has to input a new card and I don't want that. I'm trying to understand if it's possible to show the card saved with the Customer to be used in Stripe Checkout.

#

@mystic ruin pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a stripe webhook working locally via CLI but can't get the live version to work.

Related Event ID(s)
evt_1QI6coRs8vkcpRO5WE3ONkA9

What have you already attempted?
I have setup the webhook with my url in the dashboard and put the provided webhook secret into my env

What are you working on?
an eshop

#

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

Code
[error] => Array
(
[code] => resource_missing
[doc_url] => https://stripe.com/docs/error-codes/resource-missing
[message] => No such customer: 'cus_RAPPlpQcGgEPFF'
[param] => customer
[request_log_url] => https://dashboard.stripe.com/logs/req_jazRaejZSBGq7P?t=1730881766
[type] => invalid_request_error
)

Question
The problem is the following (as far as we can tell): we create the buyer in a provider’s account (in a connected account), but when we want to create a token for later automatic charge, we get the β€œmissing customer” error, because Stripe is trying to access that customer’s data from our main account, not the provider’s connected Stripe account.

What have you already attempted?
Trying to figure out if it's because we use a wrong secret/API key somewhere but we couldn't see where it was wrong

What are you working on?
we encountered a problem when trying to implement the β€œSave and reuse” function. Our business setup is the following: we have a PMS system with a Payment module

cursive heronBOT
#

@blissful comet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
With the Express Dashboard, i know you have embeddable components, however is there a way to get the same info via the api so i can customize the output myself?

Related Request ID(s)
api

What have you already attempted?
had a search through the docs, but haven't found any info

What are you working on?
just a general question for a potential marketplace

#

@velvet drum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to get balance details via balance retrieve api but got an error

Related Request ID(s)
req_wBYalzX8JDznZS

What have you already attempted?
I tried to get the details of my transactions but received an error like no transaction found

#

@mortal marsh pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripe = Stripe('<%=process.env.STRIPE_PUBLIC_KEY%>');
const options = {clientSecret: clientSecretStripe};
const elements = stripe.elements(options);

      let form = document.getElementById\('subscription\-form'\);
      form.addEventListener\('submit', async \(ev\) =\> {
        ev.preventDefault\(\);
        
        const { error\: submitError } = await elements.submit\(\);

        if \(submitError\) {
          return;

Question
confirmSetup validates insufficient balance and throws an error, but the free trial subscription created in step 3 remains active. I want to avoid creating a subscription or canceling a subscription when confirmSetup fails.

What have you already attempted?
While working with free trial, I:

  1. Create a payment intent from backend API.
  2. Submit "payment element" form.
  3. Create subscription by calling backend API.
  4. Using create subscription response confirmSetup.
#

@tender vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, how can I create a coupon using the same promotion code that applies a 30% discount for three months on monthly subscriptions, and a 30% discount on only the first invoice for yearly subscriptions?

Related Request ID(s)
-

What have you already attempted?
I attempted to create two separate coupons, but I encountered an error: an active promotion code with code: CENTER-AI already exists, so I cannot reuse the same code.

#

@silent basalt pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
i have a order table in postgres that is created when a payment happens. should this order only contain the payment intent id or subscription id? a payment can be either a one time payment or subscription.

Question
if a payment is a subscription, is it enough to just store the subscription id? so when say a customer cancel, i can retrieve the order, fetch subscription from stripe and see when end date / expiry date etc is. that way i dont have to store end date in postgres table? its stored in subscription on stripe?

What have you already attempted?
im not sure whats ideal to do, thats why i ask

#

@devout basalt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any practical difference in creating recurring option with interval (12, 'month') vs (1, 'year'), e.g. some edge cases when invoice will be delayed a day or so? Or those are identical?

Related Request ID(s)
no request

What have you already attempted?
I tried to search in docs but found nothing

#

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

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

Question
Hi, I want to make sure this fits what I look for. Is the Payment Element a feature that enables me to collect payment details from client as a promise of payment? Such as a hotel app that will allow cancellation til certain date without charging any amount. Can you confirm?

What have you already attempted?
If I don't know programming how can I implement this to my business?

#

@winged spade pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When we docked Google Pay, we found that there was an old docking scheme on the Googlepay document. Do we want to know if we can still use this scheme?Using this scheme, it seems like you can build your own payment button. https://developers.google.com/pay/api/web/reference/request-objects#gateway

Related Request ID(s)
n/a

What have you already attempted?
stripe There doesn't seem to be this solution on the documentation.

cursive heronBOT
#

@arctic acorn pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working on one task where I am sending the connected account links to merchant. I am building one system where i need to confirm, that merchant is set up their account or not. when ever one merchant completed their account set up process properly then , i need to notify my system that ya merchant completed the process vie updating one flag which is isOnboarding into my database. so for that which webhooks do i need to implement and how can i implement this flow ?

Related Event ID(s)
12345

What have you already attempted?
I configured webhook in to dashboard.

What are you working on?
I am working on one task where I am sending the connected account links to merchant. I am building one system where i need to confirm, that merchant is set up their account or not. when ever one merch

cursive heronBOT
#

@solemn sandal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For our React web app, we are using:
stripe.checkout.sessions.create()
We are passing this parameter:
customer_email: user.email,
Which adds the customer_email in the Stripe generated invoice.
Now for our React Nativ app, we are using:
stripe.paymentIntents.create()
We want to display the user's email in the Stripe generated invoice. But we are unable to find an option for the same.

Related Request ID(s)
req_iRT0XoYUkkan7i

What have you already attempted?
Already tried adding the user's email in the variable: receipt_email
Also, added the user's email in the customer object, and sent it with the payment intent.

cursive heronBOT
#

@white warren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a doubt about the subscription BillingCycleAnchor field. It's posible that the hour change that we had on October 31th affected it? Because I have some cases of subscriptions that has now a billing date on 30th of november rather than 1st of december...

Related Request ID(s)
cus_QnjnlS07yaYp4B from acct_1O4naIDbw9778AEf

What have you already attempted?
int year = subscription.StartDate.Year;
int month = (subscription.StartDate.Month + 1) % 12;
if (month == 1) year = year + 1;
if (month == 0) month = 12;
var startMonth = new DateTime(year, month, 1, 0, 0, 0, DateTimeKind.Utc);

//Then I use this value in the BillingCycleAnchor field.
new SubscriptionCreateOptions
{
....
BillingCycleAnchor = startMonth,
....
}

#

@eternal badge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was advised in a separate thread that it is possible to mark an invoice as paid utilising an existing PI and assigning it to the invoice but that it was a Beta feature. I contacted Stripe support as advised in the thread but they have no knowledge of this feature. Can I have clarity on this please?

Related Request ID(s)
#dev-help message

What have you already attempted?
The part relating to PI's is in the later part of the thread

#

@wild wraith pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I have created stripe invoice generate code but in that code amount paid and amount due gets 0 invoice is creating with amount 0 I have reasearch in various platforms but not get any solution please help

Question
$paymentIntent = \Stripe\PaymentIntent::retrieve($paymentIntentRecord->payment_intent);
$amountPaid = $paymentIntent->amount_received; // Amount received in cents

        Log\:\:info\('Amount received \(in cents\)\: ' . $amountPaid\);

     
        $amountInCents = 5000; // Example\: 5000 cents for $50

        
        $demo = $stripe\-\>invoiceItems\-\>create\(\[
            'customer' =\> $stripeCustomerId,
            'amount' =\> $amountInCents,

What have you already attempted?
[2024-11-06 12:05:34] local.INFO: Amount received (in cents): 5000
[2024-11-06 12:05:35] local.INFO: Latest Invoice Status: draft
[2024-11-06 12:05:35] local.INFO: Latest Invoice Amount Due: 0 USD
[2024-11-06 12:05:35] local.INFO: Finalizing invoice: in_1QI7zO1gPwWtjJ9YHTkVRnmY

cursive heronBOT
#

@tawny olive pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
There i am working on stripe integration by two ways one is payment link button and another is session and I have webhook for payment link success of charge email get send to email but its working for session based too ? how to avoid this ?

Related Event ID(s)
na

What have you already attempted?
Strip Integration in 2 ways

#

@unique epoch pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best way to prevent users from making another purchase for the same product while a one-time payment is still pending? We got this issue with delayed notification payment methods, users can attempt a second purchase while the first payment is pending.

Additionally, what’s the best way to allow users cancel pending payments if they want? Should we use paymentIntents.cancel for this, how should we handle webhook events to ensure the user’s purchase status is updated accordingly?

Related Event ID(s)
-

What have you already attempted?
What have you already attempted?
In our NestJS application, we handle the following

Stripe webhook events:
case 'checkout.session.completed':
case 'checkout.session.async_payment_succeeded':
{
if (session.payment_status === 'paid' && session.mode === 'payment') {
await this.savePayment(session);
//handle rest
}
}

We are also listening to subscription events (customer.subscription.created, customer.subscription.updated, etc.). we haven’t enabled `Limit customers to one subscription` in Stripe yet, but we understand this option can prevent multiple subscriptions for the same product.

#

@vocal wagon pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using stripe listen in my terminal but it is still using the old webhook signing secret how can i change it

on the stipe works but on my local listener is the wrong webhook signing secret

Related Event ID(s)
evt_1QI91DDw6LwlCSwpcLZIPuse

What have you already attempted?
I try stripe listen --remove

What are you working on?
creating my app recive webooks form stripe

#

@peak geyser pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to send paid invoice to customer so he can keep his accounting properly?

Related Event ID(s)
Webhooks paymnet_intetent.succeed

What have you already attempted?
I tried with send invoice but it turns out it should be done if you want to pay through an invoice automatically so i think this is not the right approach.

#

@latent glen pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am a SAAS.
How should i handle addons ? How can I attach them to my current product ?

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

What are you working on?
I am a SAAS. I want to sell a product, billed monthly which can have 'options". These options can be added or removed whenever the user wants. I want only one invoice with the product and all the options.

#

@leaden stirrup pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Best way to check subscriber's default payment method? I want to display user's payment method they use in my sass app. My payment methods are credit card only for now.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/object#subscription_object-payment_settings

What are you working on?
a small saas project where i offer music production tutorials. users can subscribe to different tiers.

#

@arctic acorn pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working on one task where I am sending the connected account links to merchant. I am building one system where i need to confirm, that merchant is set up their account or not. when ever one merchant completed their account set up process properly then , i need to notify my system that ya merchant completed the process vie updating one flag which is isOnboarding into my database. so for that which webhooks do i need to implement and how can i implement this flow ?

Related Event ID(s)
12345

What have you already attempted?
I have configure web hooks in test local model

What are you working on?
I am working on one task where I am sending the connected account links to merchant. I am building one system where i need to confirm, that merchant is set up their account or not. when ever one merch

#

@tardy gorge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
PaymentMethodOptions paymentMethodOptions = PaymentMethodOptions.builder()
.setCard(PaymentMethodOptions.Card.builder()
.setRequestThreeDSecure(PaymentMethodOptions.Card.RequestThreeDSecure.ANY)
.build())
.build();

	PaymentIntentCreateParams createParams = builder\(\)
			.setAmount\(paymentIntentRequest.getAmount\(\)\)
			.setCurrency\(paymentIntentRequest.getCurrency\(\)\)
			.setConfirm\(true\)
			.setPaymentMethod\(paymentIntentRequest.getPaymentMethod\(\)\)

Question
Is it possible to disable frictionless flow for 3D secure payments? Always ask for a challenge

What have you already attempted?
check docs

What are you working on?
stripe integration

cursive heronBOT
#

@velvet mist pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var clientSecret = response.clientSecret;
var payment_method = response.payment_intent.payment_method;
stripePublicKey = response.stripePublicKey;
const stripe = Stripe(stripePublicKey);
stripe.confirmPaymentIntent(clientSecret, {
payment_method: payment_method,
confirmParams: {
},
}).then(function(payLoad) {
console.log( payLoad );
});

Question
I am adding an item to an existing 3dsecure paid subscription

my php code which we ajax to:
$response = $stripe->subscriptions->update(
$order['current_subscription_id'],
[
'items' => [
[
'price' => $product_price_id,
'quantity' => 1,
],
],
'proration_behavior' => 'always_invoice',
'expand' => ['latest_invoice.payment_intent']
]
);

What have you already attempted?
Normal card payments work fine but 3dsecure response status: "requires_action"

When return back to the client i send :
$status['stripePublicKey'] = $stripePublicKey;
$status['payment_intent'] = $response->latest_invoice->payment_intent;
$status['clientSecret'] = $response->latest_invoice->payment_intent->client_secret;

What are you working on?
braintree to stripe migration

#

@trim hull pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected that after setting up my Stripe Connect environment in test mode, I could just go into production by enabling production mode.

What actually happened?
I built my application in test mode using Stripe Connect, everything was working. Now that I want to go into production, I encounter an issue:
At the step where I create a Stripe Connect Account for my user, I get this error:
You can only create new accounts if you've signed up for Connect, which you can learn how to do at https://stripe.com/docs/connect.

Reproduction Steps
Setting up Stripe Connect on an app then toggle the production mode

Question
How do I fix this issue ? It feels like I didn't already setup Stripe Connect for some reason.

#

@unique epoch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
case 'checkout.session.completed':
case 'checkout.session.async_payment_succeeded': {
const session = event.data.object as Stripe.Checkout.Session;

if (session.payment_status === 'paid' && session.mode === 'payment') {
await this.savePayment(session);
return {
received: true,
message: `Session id: ${session.id}, payment succeeded`,
};
}

return {
received: true,
message: `No action taken`,
};
}

Question
How can we prevent users from making another purchase while async payments are pending? we got this issue with a banking payment method.

would it be wise to save the payment status `pending` in our db during the `checkout.session.completed` and then update it when `checkout.session.async_payment_succeeded` fires? In this scenario, should add a restriction during checkout to prevent users with a `pending` payment from purchasing the same product again?

What have you already attempted?
we’re currently listening to both `checkout.session.completed` and `checkout.session.async_payment_succeeded` events.
We are also listening to subscription events (customer.subscription.created, customer.subscription.updated, etc.)

#

@undone kiln pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On our Stripe Main Account, we have several accounts attached via Stripe Connect.
We do not understand why our "main" account sends to a live webhook test events from attached Stripe Connect accounts.

Related Event ID(s)
evt_1QIAAaEwfZH56lQwhDru6SpR

What have you already attempted?
We have read the doc to try to understand why we were receiving test events from connected accounts but there is nothing about it.
We have no clue of what is going on.

What are you working on?
Insurance payments

#

@iron tree pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I get the Mensual Recurring Revenue of my customers, using sigma or API?

Related Request ID(s)
I didn't find this information

What have you already attempted?
I use the next invoice to get an equivalent information, but it is not possible to use this method to get MRR historically, I mean: What if I want to know what was the MRR of a customer in each of the last 5 months, for instance?

What are you working on?
I just need to make a report using this info.

cursive heronBOT
#

@peak geyser pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Created an Invoice sent mechanism when a customer request to buy something from my site.

Question
Everything works fine, but the invoice is not sent to the customer why is that and also there is no bank transfer as a payment option but in payment methods we can see that bank transfer is active?

What have you already attempted?
I will paste the code once we start a thread

#

@eternal sky pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Client tried to connect their account multiple times. Connection seems successful, but when trying to initiate refresh balance, we get the following error:

```
https://dashboard.stripe.com/logs/req_ntkSBnwWRB2llv?t=1730885222
```

Seems account is inactive, although, there is no failure on setup sessions.

Related Request ID(s)
req_ntkSBnwWRB2llv, cus_OyeoJo2B47PWrY

What have you already attempted?
Connect account multiple times.

Logs on dashboard do not show any issue during connection: https://dashboard.stripe.com/customers/cus_OyeoJo2B47PWrY

#

@ember turtle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe US connect accounts not accepting `pin` as a valid parameter when attempting to update issuing card pin code. The documentation states that the property exists, and the same calls on our European UK Stripe connect accounts work.

Could someone advise as to what I am doing wrong here?

In particular the call is a POST request to `/v1/issuing/cards/:cardId`.

Request is of type `x-www-form-urlencoded`, with the only key in the request being `pin[encrypted_number]`

Related Request ID(s)
req_gdIiijiILN6AC6

What have you already attempted?
Attempted to look through whether the API version is impacting this. Currently using 2020-08-27.

#

@white warren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a storageroom rent protal. I create monthly subscriptions and I need that the invoices are created on 1st day of the month. Is good to use billing_cycle_anchor_config?

Related Request ID(s)
No ids

What have you already attempted?
I was using billing_cycle_anchor but it has giving me problems in some month and hour changes.

#

@civic raft pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
is there a way to make a customer search query based on a metadata key case insensitive? ie the key for the metadata not the value.
For example:

instead of using the following query:

metadata["id"]:"value" OR metadata["Id"]:"value" OR metadata["ID"]:"value"

just specifying some parameter to allow any case of ID

Related Request ID(s)
req_jmgBNOJJvzI5LU

What have you already attempted?
providing OR clauses on the query, reading documentation (it is not very clear about case matchking on metadata keys)

#

@tribal spruce pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async function initialize(isLight) {
const appearance = {
theme: isLight ? "stripe" : "night",
};

const options = {
  mode\: 'subscription',
  amount\: amount,
  currency\: currency,
  appearance\: appearance,
};

elements = stripe.elements(options);

const paymentElementOptions = {
layout: "tabs",
defaultCollapsed: false,
};

const paymentElement = elements.create("payment", paymentElementOptions);

const addressElement = eleme

Question
Im trying to implement deferred payments - use payment element to first gather info, then create a subscription and confirm it upon payment

What have you already attempted?
I had everything working without deferred payments - firstly created a customer, then create a subscription when showed elements with client secret - but the name on the invoice was default "guest" name we set when creating a customer. What I did was update the customer before confirming payment but it did not work - "guest" was still on invoice. Then I found out about deferred payments but I cant seem to get the payment element to work without client secret

What are you working on?
A solution in which I can render payment element succesfully based on this guide

#

@quaint mural pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
BACKEND NODEJS:
const stripe = require('stripe')(process.env.STRIPE_SK);

app.post('/create-checkout-session', async (req, res) => {
try {
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
line_items: [
{
price_data: {
currency: 'huf',
product_data: {
name: 'example',
},
unit_amount: 20000000,
},
quantity: 1,
}

Question
the server status is code 500, where is the problem?

What have you already attempted?
...

What are you working on?
a simply webshop for my girlfriend

#

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

Question
What are the Best Practise regarding right of withdrawal with Custom Connected Accounts with Destination Charges

Doc/Guide Links
NothingNothingNothing

What are you working on?
Withdrawal of payment intents

cursive heronBOT
#

@coarse storm pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import {
ConnectAccountOnboarding,
ConnectComponentsProvider,
} from '@stripe/react-connect-js';
import { loadConnectAndInitialize } from '@stripe/connect-js/pure';

<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectAccountOnboarding
onExit={() => {
console.log('The account has exited onboarding');
}}
onLoadError={onLoadError}
/>
</ConnectComponentsProvider>

Question
Two questions:

  1. Is it possible to avoid having the Stripe popup that asks for the Email and Phone number to appear? I want to keep as much of the experience in-app as possible and I cannot figure out a work around when using embed approach.

  2. I am getting this warning: (using nextJs)
    ConnectJS won't load when rendering code in the server - it can only be loaded on a browser. This error is expected when loading ConnectJS in SSR

What have you already attempted?
For Question 1:
I looked through the sample app (pur) and tried to fiddle the props for the component. The popup seems to come no matter what. I would really like to avoid trying to roll my own solution here. I tested creating the connected account and filling in all the details via API, it was working, but this seems better.

For Question 2:
I switched over to using the /pure version of loadConnectAndInitialize like the error recommended. I am still getting the exception.

What are you working on?
NextJS Web Application

#

@covert comet pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
{
"backdate_start_date": "1730419200",
"billing_cycle_anchor": "1730419200",
"customer": "cus_xxxxxxxx",
"items": {
"0": {
"price": "price_xxxxxxx",
"quantity": "6"
}
},
"metadata": {
"SFDC Opportunity ID": "006xxxxxxx",
"organization_id": "TEST_ID"
},
"payment_behavior": "default_incomplete"
}

Question
I'm getting the following error: "The parameter `billing_cycle_anchor` expects a unix timestamp representing a date and time in the future. You specified the value `1730419200` which is in the past."

What have you already attempted?
If I do not send billing_cycle_anchor it doesn't create the invoice properly, I need the invoice to display a subscription start date in the past, instead of doing an innacurate proration (does +1 day), ideally I would like to have no proration at all.

What are you working on?
an integration between Salesforce and Stripe to create Subscriptions using Opportunity data

#

@sour flax pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to create a checkout with user information in the product description, using a product already in my Stripe dashboard.

Is this possible?

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

What have you already attempted?
I'm trying to use `line_items.price_data` and `line_items.price_data.product_data`, but in this case, I'm unable to apply a promo code to the actual product.

What I want is to use:
- `line_items.price_data.product`
- and `line_items.price_data.product_data.description`.

What are you working on?
Association

cursive heronBOT
#

@heavy warren pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I stop an event from retrying from the dashboard? Once of our webhook endpoint which is used to send a payout failed a couple days ago.

I manually triggered the payout instead of waiting for the next retry. Can I stop the next retry attempt?

Related Event ID(s)
evt_1QHP2dAHIrtkyTaBtYKdf1hT

What have you already attempted?
I checked the event details + related subscription

What are you working on?
Marketplace

#

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

Question
What's the best practice for keeping Financial Connection accounts active? I have several customers that seem to have their accounts go inactive every month and are forced to remove their payment method and add it again to re-connect their financial connection accounts. Is there a better way?

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

https://docs.stripe.com/financial-connections/balances

What are you working on?
We're building a platform to manage rent for office buildings. Recently are making the transition to use Stripe for our payment processor.

cursive heronBOT
#

@vocal path pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking for a way to test onboarding without using a real email address. In videos on Stripe's official YouTube channel I would see the developer click on a button to use test data for sms code and such, but more importantly the Stripe screen said an email was not required. This is for connect onboarding a Standard account.

Doc/Guide Links
https://youtu.be/xN79dwF-rOE?si=kBin0Q6XDdTg51ZJ&t=1066

What are you working on?
Peer-to-Peer Rental Marketplace with sellers creating Standard Stripe accounts

#

@tired carbon pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to update an existing subscription via a Checkout session? We have a feature called "bundles" where customers can buy a group of one-time and recurring products for a single one-time payment. Checkout sessions with subscriptions work great for creating a new subscription, but for customers with an existing subscription is there a way to update via a checkout session so that the customer could make a single payment that updates their existing subscription and pays for other one-time products?

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

What are you working on?
Platform for musicians to build and monetize their communities.

#

@sinful igloo pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Need some information on docs and packages versions.

Related Request ID(s)
null

What have you already attempted?
Looking at api docs/npm package version etc.

What are you working on?
SAAS

#

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

Question
In sandbox, I am unable to simulate different scenarios in setup intent. The setup intent succeeds all the time for SEPA irrespective of the account number.
I am working on testing setup intent for SEPA. Would like to know if setup intent will be successful only if the payment method is successfully verified at the gateway? Will payment method be present for the setup intent if it's in processing status or any other status?

This is already raised in discord channel.

Related Request ID(s)
NA

What have you already attempted?
Tried multiple test account numbers from Stripe docs. But, they are returning only succeeded status by default.

cursive heronBOT
#

@rustic jewel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to collect id scans and photo verification on our end from your Identity API

Related Request ID(s)
.

What have you already attempted?
Tried but weren’t able to

What are you working on?
A risk management software for car rental businesses. Our software connects businesses with verification technology. In this case we are using your identity API to verify people’s licenses

cursive heronBOT
#

@bleak zodiac pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get card information from a setup intend on the backend ?

Related Request ID(s)
sub_1QIBUzDn6CAQGXZnfFXhxssr

What have you already attempted?
var intent = new SetupIntentService().Get(setupIntentId, new SetupIntentGetOptions
{
Expand = new List<string> { "latest_attempt", "payment_method" }
});

	return intent;

What are you working on?
Gym POS

cursive heronBOT
#

@true bear pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I enable Payment Elements to accept Canadian EFT?

We generate a customer session for the end-user and pass that clientId to Stripe Elements Payment Element. This works when specifying card and ACH (us_bank_account) paymentMethodTypes but I can't get it working when passing acss_debit.

I wind up with this somewhat vague invalid request error: "deferred_intent.payment_method_types"

Any info is appreciated

Related Request ID(s)
req_rBx2YfTtLtNg1l

What have you already attempted?
We have created a test Canadian Stripe customer account (with Canadian EFT enabled) and connected to it. We try specifying acss_debit in the Stripe elements options. with card only it works but I can't seem to get it working when passing acss_debit

What are you working on?
We run a SAAS where part of our software facilitates our users (standard connected accounts) to collect payments through our stripe integration

#

@upbeat blaze pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<ConnectPayouts
onLoaderStart={() => {
console.log('calling loader start');
}}
/>

Question
Im trying to embed Stripe ConnectPayouts embedded component but was not able to get the detection of embedded display to work as referenced in https://docs.stripe.com/connect/get-started-connect-embedded-components?client=react#reacting-to-component-display . Was wondering if the onLoaderStart prop is deprecated and not usable anymore or there is an issue from my code

What have you already attempted?
tried embedding but onLoaderStart function was never called

#

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

Question
Why can't I pass a decimal value to a meter event? The situation is I need to do billing based on minutes used while also accounting for the seconds used (can't round to the nearest minutes). It has to be in the format minutes rather than seconds because its a poor customer experience for them to see 200,000 seconds used on their invoices. I'm blocked by this because we can't pass decimal values to the meter events. What are the other ways to go about solving this issue?

Related Request ID(s)
req_sXnX9Hc0eBCCb7

What have you already attempted?
Considering setting up a second meter event (without charging for it) to keep track of seconds. Then when seconds is greater than the minutes meter event by at least one minute we update the minutes meter event.
Also considering storing the seconds overflow in our database and checking it each time to see if it has accumulated to at least a minute before we send it to the minutes meter event.

Any other ideas or best practices we should be following?

What are you working on?
Attempting to set up a subscription that charges per minute but accounts for each second used.

cursive heronBOT
#

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

Question
Our dev team recently implemented a change in behavior when users switch between plans (monthly to annual and vice versa). Now, users receive a balance credit for the remaining period of their subscription.

However, I'm concerned about the Stripe fees. I understand there’s a fee associated with each invoice. For example, if we pay a $2 fee for a $100 subscription, when we credit users $100 back, we lose that $2, correct?

Doc/Guide Links
https://docs.stripe.com/billing/customer/balance

What are you working on?
A fitness content platform

cursive heronBOT
#

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

Code
We are unable to authenticate your payment method. Please choose a different payment method and try again.

Question
We are unable to authenticate your payment method. Please choose a different payment method and try again.

What have you already attempted?
We are unable to authenticate your payment method. Please choose a different payment method and try again.

cursive heronBOT
#

@covert comet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I create a subscription with a start date in the past, that must be invoiced also in the past. Billing cycle anchor will only allow me future dating, I want the invoice that gets generated to be also in the past. For example if it's sent today, both the Subscription and the Invoice must be dated on Nov, 1st 2024. I know this can be achieved manually updating the invoice, but I want to do it through the API

Related Request ID(s)
req_AcFSklg3Pd7KTw

What have you already attempted?
I tried sending backdated_start_date and also billing_cycle_anchor

What are you working on?
Salesforce integration to create subscriptions from opportunities

cursive heronBOT
#

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

Code
Stripe::Entitlements::ActiveEntitlement.list(
{ customer: customer_id },
{ stripe_account: account_id }
)

Question
The above code results in the following error message:

The provided key 'rk_test_****' does not have the required permissions for this endpoint on account '<account ID>'. This is a restricted API key, but the required permissions are not available for use by restricted keys.

Will restricted API keys ever have access to entitlements?

What have you already attempted?
Not much, beyond some fiddling with the permissions for the restricted API key, but that error message doesn't make it sound like that will work.

What are you working on?
A Stripe Connect-based integration for tracking a customer's entitlements.

#

@proper niche pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we link an unknown payout to the customer?

Related Event ID(s)
evt_1QFmrMPZ7QvwDa3JOsaE6CVC

What have you already attempted?
I can see the destination ID, but how do I link that back to the account?

What are you working on?
Notch Platform

cursive heronBOT
#

@sour shell pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Accessing latest revenue recognition figure via API

Related Request ID(s)
NA

What have you already attempted?
Hey.

Trying to retrieve a single number representing the current months revenue recognition figure as seen in the Recognized revenue chart in the dashboard.

My approach is to create a report run, then retrieve the CSV, then parse and show. However, I am not sure which report_type to run to get the same figures as is being shown in the dashboard.

From inspecting the dashboard requests, it appears to be using a report type of "revenue_recognition.income_statement_chart.17", but this doesn't seem to be found when using API.

What should I use?

What are you working on?
Piccolo Health echo reporting software

cursive heronBOT
#

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

Code
This application does not have the required permissions for this endpoint on account ''. Having the 'read_write' scope would allow this request to continue.

Question
We are using both card element and embedded stripe form. We are getting authentication error when we are using embedded stripe form on live but its working in test mode. But card element is still working successfully

What have you already attempted?
https://docs.stripe.com/checkout/embedded/quickstart

What are you working on?
Trying to embed with Stripe embedded form

cursive heronBOT
#

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

Question
using paymentintents api and requesting a client secret and specifying "payment_method_types"=>["card"] i am still getting a GOOGLE PAY accordion in my hosted form?

Related Request ID(s)
req_YzhCRYbPsNdrpH

What have you already attempted?
following this:
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements&lang=php#fetch-updates

What are you working on?
ecommerce store

cursive heronBOT
#

@midnight lion pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
private async void ProceedToPaymentButton_Click(object sender, RoutedEventArgs e)
{
// Replace with your API's base address and endpoint
string apiUrl = "https://localhost:7186/api/payment/create-checkout-session";

        // Use HttpClient to call the API
        using \(HttpClient client = new HttpClient\(\)\)
        {
            try
            {
                // Make a POST request to the API

Question
I am trying to create a payment page for my flight booking app it runs on local host

What have you already attempted?
I have tried changing the url links and made sure my api key is correct

What are you working on?
I am making a personal project and it is a fake flight boooking app and it runs on local host

cursive heronBOT
#

@hard coyote pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have:
- Platform account (Platform A) based in US
- Customer account (Customer A) will set up a US bank account or credit card
- Connected account (Connected Account A) is a connected account that has a bank account connected to a different region (UK, Ireland, Australia, etc.)

The work flow is as follows:
- Customer A wants to send money to Connected Account A
- Customer A sends the base amount + a fee to Platform A
- Platform A transfers to Connected Account A and gets the difference as a service charge to Customer

I am unable to do this flow with connected account that is outside US.

Related Request ID(s)
N/A

What have you already attempted?
I've read the docs around cross-border payouts, destination charges, service agreements, and connected account types.

It seems like I want the Recipient service agreement, and my flow works with that in the test environment, but I am worried about the financial compliance/liabilities I am introducing to the platform.

Thus, I'd like some best practices/workarounds for doing transfers from US platform account to a non-US account using Full service agreement and Standard Connected Account type.

If it is even possible.....?

#

@snow cargo pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Subscription.search() to return subscription list

What actually happened?
Subscription.search() not returning subscription

Reproduction Steps
search for a subscription by status and metadata

Question
search query :
{
"object": "search_result",
"data": [],
"total_count": null,
"has_more": false,
"url": "/v1/subscriptions/search",
"next_page": null,
"request_params": {
"query": "status:\u0027active\u0027 AND metadata[\u0027customer_id\u0027]:\u0027cus_RAQjL4XzDwW789\u0027 AND metadata[\u0027type\u0027]:\u0027PACKAGE\u0027"
}
}

cursive heronBOT
#

@earnest glen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
I want to get the fee details include net value from payment intent using stripe.js apis on webhook when payment is triggered as successed.

Related Request ID(s)
evt_3QIGE9QhgM7Cp2e41Z1xOm8B

What have you already attempted?
I have tried like this.

const expandedIntent: any = await stripe.paymentIntents.retrieve(
paymentIntent.id,
{
expand: ['latest_charge.balance_transaction'],
},
{
stripeAccount: transaction?.from,
},
);

const balanceTransaction = expandedIntent.latest_charge
.balance_transaction as Stripe.BalanceTransaction;

it's working. but sometimes balanceTransaction is null.
What is reason or are there any other way?

cursive heronBOT
#

@wild patrol pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A refund failed with reason 'unknown'. There is no more details on the event, that I can see.

Related Request ID(s)
re_3PvkU0HFzwE4pTge1zafTwlh

What have you already attempted?
Just a normal refund was tried by one of our customer like every time but it got failed.

cursive heronBOT
#

@solar arch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { ExtensionContextValue } from "@stripe/ui-extension-sdk/context";
import { Button, ContextView, Box, Img } from "@stripe/ui-extension-sdk/ui";
import verifiedImage from "../undraw_verified_re_4io7.svg";

const Default = ({ userContext, environment }: ExtensionContextValue) => {
const handleCalendlyClick = () => {
window.open('https://calendly.com/philip-pages', '_blank');
};

return (
<Box
css={{
display: "flex",
flexDirection: "col

Question
How does one enable opening new windows in a sandboxed stripe app?

Default.tsx:188 Blocked opening 'https://calendly.com/philip-pages' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.

What have you already attempted?
i can't really find any documentation on this error

What are you working on?
Stripe app for payment recovery

cursive heronBOT
#

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

Code
I just want to know of my bug status which we have raised in github.

Question
I just want to know of my bug status which we have raised in github.

What have you already attempted?
I just want to know of my bug status which we have raised in github.

#

@tender lake pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We encountered a Kakao Pay transaction failure on Stripe with the following details: Charge ID: py_3QIMkjKdj6noHvxg1z1afLtW, Payment Intent ID: pi_3QIMkjKdj6noHvxg1ghPFggS, Amount: 2000 KRW, Status: failed. The response shows failure_code: payment_intent_payment_attempt_failed, failure_message: "The payment failed: The payment method provider denied the payment." Outcome details indicate declined_by_network, generic_decline, issuer_declined. Requesting further details and suggestions to improve success rate.

Related Request ID(s)
py_3QIMkjKdj6noHvxg1z1afLtW

What have you already attempted?
We encountered a Kakao Pay transaction failure on Stripe with the following details: Charge ID: py_3QIMkjKdj6noHvxg1z1afLtW, Payment Intent ID: pi_3QIMkjKdj6noHvxg1ghPFggS, Amount: 2000 KRW, Status: failed. The response shows failure_code: payment_intent_payment_attempt_failed, failure_message: "The payment failed: The payment method provider denied the payment." Outcome details indicate declined_by_network, generic_decline, issuer_declined. Requesting further details and suggestions to improve success rate.

cursive heronBOT
#

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

Code
let paymentMethodParams = STPPaymentMethodParams(
card: cardParams,
billingDetails: billingDetails,
metadata: nil)
apiClient.createPaymentMethod(with: paymentMethodParams) {
paymentMethod, createPaymentMethodError in
self.delegate?.addCardViewController(
self, didCreatePaymentMethod: paymentMethod
) {
attachToCustomerError in

}

Question
I am unable to add my card. When I try to add it, I receive the following error: 'There was an unexpected error. Please try again in a few seconds.' Could you please assist me with this issue?

What have you already attempted?
I have one project where the code is working fine. However, when I use the same code in another project, it doesn't work. Could you please help me resolve this issue?

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/get-started/account/statement-descriptors#set-the-statement-descriptor-on-non-card-charges

Question
I have multiple stripe accounts being setup. And recently I receive a email titled as [Notice] Updated statement descriptor requirement for card payments.

It urges to make changes to use statement_descriptor_suffix for card charges when create payment intent or else get a 400 error.

I don't know if this applies to all the accounts or just account that getting the email. There is some logic apply to the statement_descriptor which i not sure if we can apply to all stripe accounts

What have you already attempted?
I not yet tried or make any changes. It is production environment

What are you working on?
We are maintaining integration of stripes with our company system

cursive heronBOT
#

@slim apex pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
invoice.payment_action_required is sent out when a subscription invoice requires additional 3DS measures to be taken. For one time invoice payments, where stripe elements handles the payment completion using the payment intent client secret, is this webhook also received, then 3DS screen is loaded on elements ?

Related Event ID(s)
None

What have you already attempted?
None

What are you working on?
Stripe One time invoice integration

cursive heronBOT
#

@arctic acorn pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working on one task where I am sending the connected account links to merchant. I am building one system where i need to confirm, that merchant is set up their account or not. when ever one merchant completed their account set up process properly then , i need to notify my system that ya merchant completed the process vie updating one flag which is isOnboarding into my database. so for that which webhooks do i need to implement and how can i implement this flow ?

Related Event ID(s)
5678

What have you already attempted?
I have implemented code

What are you working on?
I am working on one task where I am sending the connected account links to merchant. I am building one system where i need to confirm, that merchant is set up their account or not. when ever one merch

cursive heronBOT
#

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

Question
Twint method not available on Stripe checkout

Related Request ID(s)
req_qUWDESte49mp0u

What have you already attempted?
Twint payment method is active on the customer Stripe account - https://dashboard.stripe.com/test/settings/payment_methods?config_id=pmc_1QIPfBALQA3gmQcPZa0pJnSp

But it can't enable on the platform account - https://dashboard.stripe.com/settings/payment_methods/connected_accounts?config_id=pmc_1Q4yVeLdIlnHGLasng3VXXoG

What are you working on?
A plugin which offers various stripe payment methods to pay. Stripe app OAuth integration is used to connect to the plugin users Stripe account

cursive heronBOT
#

@sour flax pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to use `stripe trigger checkout.session.completed` on an existing checkout session that I created previously.

Related Event ID(s)
No

What have you already attempted?
For my testing, I'm trying to test a webhook locally with a specific checkout session that I created.

#

@eternal badge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using destination charges and connect accounts, how exactly are fees on payments charged? When creating a payment I cannot see Stripe fees assigned to the payment object in either the platform or the connected account. I can see them in our payouts, but that obviously groups many payments fees into one object. Is there any property on a payment object in either the platform or the connect account that will tell me what the Stripe Fee + Network fee will be for that payment.

Related Request ID(s)
N/A

What have you already attempted?
Testing in sandbox but as fees are not calculated there I don't think it's possible?

#

@crisp tartan pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Getting error after using confirmPayment hook in react-native

What actually happened?
fields errors are null

Reproduction Steps
- Create PI
- Using cardForm to collect card informations
- ConfirmPayment with these informations
- Using a card with 3DS
- Most of error fields objects are null

{"code": "Failed", "declineCode": null, "localizedMessage": "Your card was declined", "message": "Your card was declined", "stripeErrorCode": null, "type": null}

++ Fields not null when not using 3DS

Question
Can I have more informations about it please ?

cursive heronBOT
#

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

Question
subscriptions recurring is not working as expected

Related Request ID(s)
subscriptions recurring is not working as expected

What have you already attempted?
const subscription = await stripe.subscriptions.create(
{
customer: customerId,
items: [
{
price: priceId,
},
],
payment_behavior: 'allow_incomplete',
proration_behavior: 'none',
default_payment_method: paymentMethodId,
cancel_at: cancelAtTimestamp,
application_fee_percent: applicationFeePercent,
billing_cycle_anchor: billingCycleAnchor,
collection_method: 'charge_automatically',
payment_settings: {
payment_method_options: {

What are you working on?
deduct money at fixed interval

#

@gentle flint pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm getting the following error while trying to do a test purchase using sepa debit. url_invalid - return_url
Not a valid URL

Related Request ID(s)
req_rn7I9iYA9vl29q

What have you already attempted?
The payments with other payment methods like bancontact, ideal, klarna, link etc. are working fine.

What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/bbpos-wisepad3

Question
I need to buy one of Stripe's available POS, but I need to integrate those to a Point Of Sales Management Software installed to my client restaurants. I need help to understand if you POS are compatible with:
Generic protocol 17
Ingenico protocol 17
Protocol 3cXml
Protocol PagAmico
Protocol Pulse
Protocol TIM
Protocol PAX
Protocol Smart POS Nexy
Protocol Poynt smart terminal

Just to understand if one of thease protocol are compatible with it.

What have you already attempted?
I try to analyse the documentations but I didn't find any of this kind of infos.

What are you working on?
We are working with a Restaurants Franchise in Italy

#

@torn stratus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to get the Payment's method country when is `Customer Balance`

Related Request ID(s)
pm_1QFHJpAexhg1EE2MoCG1vrZ0

What have you already attempted?
I was trying to get the payment method country the same way we do it for Cards:
-----------------------------------
card := paymentMethod.Card
if card == nil {
return "", error
}
return card.Country, nil
------------------------------------
But I can not find a field called "country " in the payment method. Is there another way to get the Bank Transfer / customer balance payment method country?

cursive heronBOT
#

@digital mason pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
SEPA payment is still in pending status and need to address it do that payments are debited from the tenants

Related Event ID(s)
evt_3QGEOUJf6oICl7Az0gjWFTf6

What have you already attempted?
All the SEPA payments initiated are in pending status

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

cursive heronBOT
#

@little oar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to collect customer details to charge customer in the future (3 months) using Stripe Express Checkout (Apple pay, Google pay)?

Related Request ID(s)
none

What have you already attempted?
Looked at express checkout docs

#

@bronze moon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When sending use_stripe_sdk to false, I receive the following error message: A PaymentIntent using type `card` must be confirmed with either `return_url` set to the desired URL or `use_stripe_sdk` set to true

As we are not using the SDK this is a confusing message. Should I leave `use_stripe_sdk` set to true? I'm not using an SDK.

However return_url is meaningless for a server to server card payment integration.

Related Request ID(s)
req_dPKGYN4YnsS7Pt

What have you already attempted?
Running some test with and without use_stripe_sdk set to true.

What are you working on?
Replacing Java SDK with direct calls.

#

@tight quiver pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<?php
// Ensure clean output - no warnings or notices
header('Content-Type: application/json');
error_reporting(E_ALL);
ini_set('display_errors', 0);
ini_set('log_errors', 1);
ini_set('error_log', 'pp_error.log');

// Load dependencies
require_once(__DIR__ . '/vendor/autoload.php');
require_once(__DIR__ . '/email_functions.php');
$config = require_once(__DIR__ . '/config.php');

// Initialize Stripe with platform account
$stripe = new \Stripe\StripeClient($config['stripe_secr

Question
I'm trying to ensure that a subscription is created in stripe and in the payment breakdown it needs to show
Payment amount
$530.60 USD (correct)
application fee
- $x USD
- Stripe fee
- $x USD
Net amount
$500.00 USD

I can't for the life of me figure out how to show the stripe breakdown and ensure that the connected account gets EXACTLY 500.

What have you already attempted?
I've been doing this for 3 days.. I've done more than I can even remember.

Sharing all code in case theres something I am not seeing.

#

@warped finch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
amazon pay problem, the payment stuck inside amazon

Question
how can I solve the problem? I'm not able to check the intent response

What have you already attempted?
It's impossible to log this situation because it's outside our environment

#

@crystal trout pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way collect payment with Stripe without creating invoice?

Related Request ID(s)
None

What have you already attempted?
Tried going through the documentation for creating payment links, but couldn't find much information about it

What are you working on?
Working on a proposals software and we allow our customers to collect payments from their clients

cursive heronBOT
cursive heronBOT
#

@sharp sluice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm testing stripe JS, more specifically the function this.stripe.checkout.sessions.create

I am trying to set the metadata using the "metadata" object but the metadata under Stripe Transactions is always empty.

I am using a test account on my local development.

If I use mode "payment" and then the object payment_intent_data.metadata then that works and the metadata shows up under meta data in stripe dashboard. If I use mode "subscription" with "subscription_data.metadata" then that does not show up.

Do you have any idea what might be going on?

Thank you!

Related Request ID(s)
req_0mVURG3jaMnSWZ

What have you already attempted?
I tried using the global "metadata" object which according to the documentation should work.

I tried using "payment_intent_data.metadata" for mode "payments" which works, but it does not work for mode "subscription" when using the "subscription_data.metadata" object.

What are you working on?
I want to associate users from my backend with the person who made the purchase on stripe.

#

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

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

Question

  1. Can we(Marketplace - MP) implement it according to our business model?
    Example:
    Seller product price is 100 eur.
    Buyer pays 100 eur.
    MP keeps in its Stripe account the 100 eur until Seller order is completed
    MP pays Stripe fees.
    MP controls the delay, refund, …
    After an order is complete MP release the 100 eur to Seller Stripe account
  2. Can MP create a Seller Stripe account ( on behalf of Seller ) using API? We want Seller to be able to do only KYC and do it only after receiving the first order.
  3. Which one among Standard, Express, Custom should we choose and why?

What have you already attempted?
https://docs.stripe.com/connect/charges
https://docs.stripe.com/connect/accounts

What are you working on?
chefmarket.place B2B marketplace for HORECA

#

@floral lotus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created a trial subscription in stripe which ended and the status moved to 'pause'. Now I want to extend the trial but stripe throws "You cannot set `trial_end` while a subscription is `paused`. Resume the subscription first before setting `trial_end`." Then I tried to fix this by first calling subscription resume API. But the status remained 'pause'. How to fix this? I'm in test mode BTW.

Related Request ID(s)
req_uOCIPKCAfa5Yix, req_SFmoUPsy5Ci1uH, req_eF22RcGYpfDNu9

What have you already attempted?
ChatGPT suggested me to set pause_collection.behavior = 'void' but this API throws "You cannot set `pause_collection` while a subscription is `paused`. Resume the subscription first before setting `pause_collection`.". request id: req_FpO4Nl8yCPSzW5

What are you working on?
I am integrating stripe in a SaaS and one of the requirement is to give user the option to extend the free trial for 7 days after it is expired.

#

@unique epoch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await this.stripe.checkout.sessions.create({
// ...
success_url: `${this.STRIPE_REDIRECT_URI}?stripeSessionId={CHECKOUT_SESSION_ID}&success=true`,
cancel_url: `${this.STRIPE_REDIRECT_URI}?stripeSessionId={CHECKOUT_SESSION_ID}&success=false`,
});

Question
We facing an issue when using U.S. Bank Account payments with Hosted Checkout in the processing state. If a payment is in the processing state like this, Stripe redirects users to the cancel_url on Checkout completion, which displays our UI as if the payment has failed but the payment is actually in `processing`, this creates confusion for users.
We are going to save a `processing` status in our side on webhook events but we’re unsure how to handle the UI in this case.

What have you already attempted?
* listening to the `checkout.session.completed`, `checkout.session.async_payment_succeeded` to handle async payments.
* planning to save a `processing` state in our db to record async payments state.
* Still on hosted checkout users are redirected to the `cancel_url` with U.S. Bank payments pending, which leads to incorrect messaging in the UI.

#

@untold wedge pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
My account would be recovered soon.

What actually happened?
Dear, I am reaching out desperately to you because I am unable to contact support. My account got blocked even after trying to verify it. I have money in my balance and would love to send it to my bank account. Could you kindly help me get through this? Kind regards, Gijs

Reproduction Steps
There were actually 2 ways to recover, with ID and selfie method and the other way, but after many attempts trying both + getting an automatic email, we still got rejected after being so persistent. Please help me reocvering my account.

Question
Dear, I am reaching out desperately to you because I am unable to contact support. My account got blocked even after trying to verify it. I have money in my balance and would love to send it to my bank account. Could you kindly help me get through this? Kind regards, Gijs

What are you working on?
Trying to working on contacting support. My email: gijsvdpomine@gmail.com

cursive heronBOT
#

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

Code
\Stripe\Checkout\Session::create($session_data, $this->optionsParam);

Question
Using embedded form is causing permissions issues even though card elements is working

What have you already attempted?
Tried everything

What are you working on?
Trying to embed with Stripe embedded form

#

@bronze moon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When upgrading the version of the API that is being called from `2022-11-15` to `2024-09-30.acacia` we needed to set `payment_intents[automatic_payment_methods][allow_redirects]` to `never` to avoid setting the return_url. This directly impacted another field that we are sending which is `payment_intents[confirmation_method]` which previously had a value of `manual` but now needs to be omitted. Is this the correct settings for a server to server card only flow?

Related Request ID(s)
NA

What have you already attempted?
Attempted processing transactions with just existing code only bumping the version. Set automatic_payment_methods to false. Removed confirmation_methods.

What are you working on?
Upgrading API version

#

@torpid epoch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm working on login page and here is my pseudo-code:
const [email, setEmail] = useState();
const [password, setPassword] = useState();

// the following code inside render()
<TextField label="Email" type="text" onChange={(event) => setEmail(event.target.value)} />
<TextField label="Password" type="password" onChange={(event) => setPassword(event.target.value)} />

Question
When I'm trying to type into TextField it just allow to type one-two symbols and cleans up and loosing focus of the input.

Bug is recorded here
https://www.loom.com/share/8b145bba10944074a70bc3d63ae24ef5

What have you already attempted?

  1. I was trying to use defaultValue as suggested docs, but in this case, I can see the value in the input but still it looses focus after each key press.
  2. I tried different browsers, Firefox, Chrome, Safari are all the same.
  3. I was trying to upgrade stripe npm package from 14.x to 17.3.1 didn't help.

What are you working on?
I'm working on StripeApp (an application to extend my dashboard functionality)

#

@rich valley pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
is is possible to put a hold on 3ds card?

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

What have you already attempted?
when customer purchases a 0$ order on my site I want to put a hold on his card like 1$ auth charge.
it works ok for non 3DS cards, but for 3DS cards I see this error?

> "message": "Your card was declined. This transaction requires authentication."
"type": "card_error"

what am I missing?

What are you working on?
rebulding my checkout form

cursive heronBOT
#

@modern flax pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to allow customers to upgrade / downgrade their subscription and maintain their free trial days remaining. Is this possible with webhooks?

Related Event ID(s)
N/A

What have you already attempted?
I'm thinking of adding code in my webhook that fires when the subscription is updated to manually transfer over the remaining trial days, but if the customer has already updated their subscription I'm thinking they will have already been billed. Hoping for some advice on how best to handle this!

What are you working on?
SaaS Web Application

#

@austere jungle pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When creating a transaction manually through the dashboard in test mode Im expecting the resulting charge.payment_method_details.card.authorization_code to not be null

What actually happened?
The charge.payment_method_details.card.authorization_code is always null

Reproduction Steps
Create a transaction in stripe dashboard test mode using the success test card

Question
When creating a transaction in test mode that results in a charge object where charge.payment_method_details.card exists, charge.payment_method_details.card.authorization_code is always null. Is this behaviour specific to test mode? In live mode will these manually created transactions have an authorization_code?

What are you working on?
Webhook that triggers on charge.succeeded event to pull the authorization_code from the charge. Expecting a non null value

#

@devout basalt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to check subscription item usage via API. If I open it in Stripe dashboard (https://dashboard.stripe.com/test/subscription_items/si_RArvRfXYIXAzX5/usage_records) I see total for current period, and if I click quantity, I see individual records for that period. Unfortunately I don't see how I can get this info (individual usage records for period) via API

Related Request ID(s)
Not a request, but rather object ID - si_RArvRfXYIXAzX5

What have you already attempted?
I checked docs https://docs.stripe.com/api/usage_records?lang=python and https://docs.stripe.com/api/usage-record-summary?lang=python but those do not return individual usage records

#

@heavy warren pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to fetch the next scheduled/upcoming payout date for a connected account?

I use 'Balance API' to get 'available' and 'pending' funds. I display 'available' amount on the client. I want to show the user that they will receive 'available' amount on their next payout date,

Doc/Guide Links
https://docs.stripe.com/connect/manage-payout-schedule

What are you working on?
Marketplace

#

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

Code
<script async defer src="https://js.stripe.com/v3/"></script>
<script crossorigin="anonymous" src="https://kit.fontawesome.com/ee7414b437.js"></script>

Question
I got this error in my angular project.
```
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-5+YTmTcBwCYdJ8Jetbr6kyjGp0Ry/H7ptpoun6CrSwQ='), or a nonce ('nonce-...') is required to enable inline execution
```

What have you already attempted?
I just inserted the this code but I'm still getting an error.
<meta http-equiv="Content-Security-Policy"
content="
default-src * 'self';
script-src * 'self' https://connect-js.stripe.com https://js.stripe.com 'unsafe-inline';
style-src 'self' https://fonts.googleapis.com 'unsafe-inline';
connect-src * 'self' https://checkout.stripe.com;
frame-src * 'self' https://connect-js.stripe.com https://js.stripe.com;
">

What are you working on?
I am making e-commerce platform using angular.

cursive heronBOT
#

@gentle flint pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have issues with subscription purchase using sepa debit. It sometimes shows error in return url. And I'm getting different error messages. I'm sharing different request ids for which I got different error messages. I'm sharing the one which worked succssfully too.

Related Request ID(s)
req_JQsKrYCDXcNyti, req_Y8wPzmMOdZwy2D, req_rn7I9iYA9vl29q, req_UxhJOCmD7FsqoY

What have you already attempted?
The payment worked for other payment methods like bancontact, ideal, klarna, link etc. I'm getting error with sepa debit.

What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.

#

@plush portal pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I work for a major University. We're addressing PCI DSS 4.0 section 6.4.3 regarding "A method is implemented to assure the integrity of each script.". Our PCI scanner, made by Tenable, checks our site and declares stripe.js is not being called with an integrity parameter and fails 4.0 compliancy for this reason. We want to support SRI hashes, but it doesn't seem that Stripe publishes them or manages this for customers. What is the recommended way to stay compliant here for section 6.4.3? Our scanner is specifically looking for SRI usage so I don't think CSP will cut it.

Doc/Guide Links
https://docs-prv.pcisecuritystandards.org/PCI DSS/Standard/PCI-DSS-v4_0_1.pdf

What are you working on?
A shop that sells tickets to students at a university using Drupal/Commerce/Stripe

cursive heronBOT
#

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

Code
\Stripe\Checkout\Session::create($session_data, $this->optionsParam);

Question
Using embedded form is causing permissions issues even though card elements is working

What have you already attempted?
Everything

#

@tight prairie pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi - our company makes money by taking a percentage of the revenue that is processed across a series of connected accounts. Our percentage, and thus application fee, increases if we can help our customer reach a certain net revenue threshold.

We want to be able to programmatically the two fields across a time range (YTD):

1) Net volume from sales
2) Gross volume

These are already graphs that are already available on the home page of the Stripe dashboard but the API doesn't appear to an endpoint to calculate some of these values.

We'd love to get the exact value that shows in either graph.

Related Request ID(s)
None

What have you already attempted?
Parsed through API and tried to calculate the value via iterating over charges, payments, etc.. but we're not getting the same value shown in the Stripe graph.

What are you working on?
We make booking for our customers and take a percentage of the transaction volume that we process.

cursive heronBOT
#

@wraith mesa pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're wondering what the best practices are for having multiple subscription options, with entitlements.

A simple example, let's assume we're a streaming service and we offer two plans:

Basic Plan, $10/month
Entitlement: standard-definition-video

Premium Plan, $20/month
Entitlement: high-definition-video

So you get HD video with the premium plan, SD video with the basic plan. Obviously we want users to be able to upgrade/downgrade plans easily.

We're confused as to whether we should have one single subscription product, or two. I'll explain more in next comment.

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

What are you working on?
Multiple subscription options, with entitlements

#

@proud notch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was wondering if anyone knows where I can get a users Tax Location in the Stripe API. I am referencing the Tax Location you see on every invoice on the Stripe API.

Related Request ID(s)
If you go into the Stripe UI and go into any Invoice, if you scroll down you will see Automatic tax section and in there you will see Tax Location

What have you already attempted?
I have searched all my available tables I have pulled from stripe API.

#

@molten granite pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
It’s seems that cards can be declined for various reasons when saving them using setupintents api, e.g. insufficient funds. Is there a way to suppress this using the api or is this controlled by their bank?

Related Request ID(s)
None

What have you already attempted?
Read docs

What are you working on?
Api

cursive heronBOT
#

@dull comet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I don't think this is possible, but just wanted a quick sanity check. Is it possible to do a Customer Search (https://docs.stripe.com/api/customers/search) to check for customers with a Metadata key containing a specific string? Essentially a substring match on a Customer Metadata key, rather than value.

Related Request ID(s)
N/A

What have you already attempted?
Looked at the documentation.

#

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

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

Question
>You only need to display a mandate the first time you collect a customer’s bank account.

Please forgive my ignorance. For an ACH "us_bank_account" payment method, how do I know I have collected a user's bank account before? Because I do not store their routing and account number right? I just have an opaque paymentMethodID?

What have you already attempted?
reading docs

What are you working on?
extending card payment flow with an ACH payment flow

cursive heronBOT
#

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

Question
Adding discounts/promo codes to our integration and am finding that once a single use coupon has been used by a user it throws errors if the user tries to create a new subscription using the coupon code.

This makes sense, but is there some way to test if that particular customer is eligible to use the coupon before attempting to create the subscription?

Doc/Guide Links
https://docs.stripe.com/api/discounts/object?lang=node&api-version=2024-10-28.acacia

What are you working on?
SAAS

cursive heronBOT
#

@frigid quartz pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how to make trial subscription active? we provide free trials to some customers. but when we check status in our app, it is marked as inactive? is this expected behaviour? what steps need to be done to make it an active subscription

Related Request ID(s)
req_vDiyUJANQrE92I

What have you already attempted?
create a customer
create subscription on behalf of customer

What are you working on?
a developer platform

#

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

Question
using the hosted stripe elements along with radar and 3DS, is it possible to create a token that is used server side to charge the customer instead of in the front end stripe.confirmPayment in javascript? We offer a post purchase upsell in our ecommerce flow and want to charge the customer later after knowing if they are interested in the upsell or not server side.

Related Request ID(s)
nothing yet

What have you already attempted?
created a solution using: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements&lang=php

What are you working on?
ecommerce store

cursive heronBOT
#

@unkempt raven pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
teste teste teteteste teste teteteste teste teteteste teste teteteste teste tete

Related Request ID(s)
teste teste teteteste teste teteteste teste teteteste teste teteteste teste tete

What have you already attempted?
teste teste teteteste teste teteteste teste teteteste teste teteteste teste tete

What are you working on?
teste teste teteteste teste teteteste teste teteteste teste teteteste teste tete

cursive heronBOT
#

@primal marsh pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to group line items on invoices regarding proration, so thought the invoicing Template would be best, but can't find out how to apply it to a subscription up front.

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

What have you already attempted?
i have reviewed all docs, i can get the result i want with the template, but can't see a way to apply it via creation or update of the foundational subscription.

#

@limber nymph pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to get the network fees for a payment. I have my Payment ID, I'm able to pull that and the transaction and the charge, etc. etc. But I can't find a link between the values I'm getting from the Transaction report that has network fee.s

Related Request ID(s)
pi_3QG1JMDjoWRoAwlY0UCvYmwe / ch_3QG1JMDjoWRoAwlY0Eh0vB4k

What have you already attempted?
Pretty much everything. I've looked for every object I can to try and find a connection; but can't.

here's the csv data I'm trying to find by using the chargeId

https://docs.google.com/spreadsheets/d/1a53l7QqFMaqIMzm8snyBR1ZgsWuI4TPMFnpUHHQnSzg/edit?usp=sharing

#

@autumn fractal pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
there is no code I can share at the moment because I am looking to apply to accept $USDC through my app with 'Pay With Crypto'

Question
how do I apply to offer 'pay with crypto' on my app? I did not see an option to apply for it on my Stripe dashboard

What have you already attempted?
I tried to find how to apply to accept $USDC by reading at https://docs.stripe.com/crypto/pay-with-crypto#onboarding but I cant find how to apply so I am stuck.

What are you working on?
I am building an app called 'NoMusic Nearby' where I sell my music direct to consumer worldwide via MP3 and WAV files. all music is original music created by me

#

@somber tusk pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I'm trying to handle the following scenario in my web app: upon a new invoice created, I'm trying to get hold of the Boleto PDF url (or other info) to be able to display it inside my app's Invoice page.

Scenario: customer has a Subscription with Boleto as payment method attached. I've forwarded the Test Clock so that it tries to charge / generate the Boleto. I can see the invoice.created, invoice.updated_events normally, but upon trying to get more information using the charge id, I can't seem to find any information for the Boleto. (like an URL, or anything)

Related Event ID(s)
evt_1QIavjBJDdSKgcEcndfCniUN, evt_1QIavjBJDdSKgcEcnLKoUqXf

What have you already attempted?
Attempted: listening to the invoice.updated event, used the charge_id to get more info from the Charge. There it says its a Boleto chage, but with nothing other than the taxId inside the object.

What are you working on?
We already use Stripe on our web app, currently improving all the subscription flow providing some internal screens and user actions to reduce our manual work in the Dashboard.

#

@forest monolith pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe subscription to go from unpaid to active when latest open invoice is paid.

What actually happened?
Subscription remained in unpaid after all open invoices paid. I don't know how to get the subscription back to active.

Reproduction Steps
Create subscription with one item, generates invoice 1. A few minutes later, update to quantity 2 with pending updates, generates invoice 2. Invoice 2 payment fails. Wait 23 hours, pending update expires, invoice 2 voided BUT still is latest_invoice on subscription. Inv 1 payment fails. Wait 2 days, sub in unpaid. Pay invoice 1. Sub doesn't go to active.

Question

  1. How do I get subscription out of unpaid?
  2. Why didn't paying all open invoices move subscription to active?
  3. Should subscription.latest_invoice point to a voided invoice?

What are you working on?
Adaptable.io PaaS platform for developers.

cursive heronBOT
#

@midnight lion pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var domain = "https://localhost:7186";
var options = new SessionCreateOptions
{
PaymentMethodTypes = new List<string> { "card" },
LineItems = new List<SessionLineItemOptions>
{
new SessionLineItemOptions
{
PriceData = new SessionLineItemPriceDataOptions
{
Currency = model.Currency,

Question
I am trying to implement a flight ticket payment feature but I keep getting an error the project runs on local host

What have you already attempted?
I was looking at the docs and tried just adding that code but still getting an error

cursive heronBOT
#

@dark mortar pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
func handlePaymentSheetConfirm(paymentMethodID: String, shouldSavePaymentMethod: Bool, returnURL: String?, intentCreationCallback: @escaping ((Result<String, Error>) -> Void)) {
guard let cartContext = self.cartContext, let secret = cartContext.cart.stripe?.paymentIntentClientSecret else {
return
}

    cartContext.rememberLastFareID\(\)

    state\(\).purchase\(
        cart\: cartContext.cart,
        paymentMethod\: paymentMethodID,

Question
I'm trying to understand what my server has to return in order for my iOS client integrating the Stripe payment element to show a 3DS verification flow

What have you already attempted?
Followed the guide to implement Stripe Payment Element in my iOS app.

What are you working on?
I'm working on integrating Stripe Payment Element into a transit ticketing app, Token Transit.

#

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

Question
Trying to use credit burndown model but creating the invoice is not working

Related Request ID(s)
N/a

What have you already attempted?
Code I am using

```

$invoiceItem = \Stripe\InvoiceItem::create([
'description' => 'Credits',
'customer' => $customer_id, // Replace with actual customer ID
'collection_method' => 'charge_automatically',
]);
```

Here is what I am trying to do
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?dashboard-or-api=api&shell=true&api=true&resource=invoices&action=create#credit-burndown-model

I am getting this error `Error creating invoice: Received unknown parameter: collection_method`

cursive heronBOT
cursive heronBOT
#

@restive crest pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I pay an invoice from the balance of a connected account?

Related Request ID(s)
req_zrxzsN7pQl3b48, req_DiWx2d2kkxBMNQ, req_jVs7iRpyM2jNw4, req_WDDpvJ0oCNluP0, req_Zuuo6EI4KCPI5v

What have you already attempted?
I have tried the following:
- make a transfer from connected account A to B and then set the invoice as paid
- create a paymentintent and pass it to the invoice and then set the invoice as paid

What are you working on?
I have a nocode integration between Airtable - Noloco - Make and I'm using Stripe Connect to manage payments. Every user can be both a customer and hold a connected account.

#

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

Question
when using SetupIntent api flow to charge customers later, when creating customers and passing the same details, a new customer id is created every time even with the same exact customer details. Is this ok and the intended flow for creating customers? Will this create a problem later if the same returning customer has multiple customer ids within the stripe system? The customer search functionality seems limited and may take up to an hour to update according to the documentation. Using test mode currently

Related Request ID(s)
pi_3QIdRjEjhsTXrKxz0dSz3CGF, pi_3QIdIMEjhsTXrKxz13zYV969

What have you already attempted?
following these docs:
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements&lang=curl&shell=true&api=true

What are you working on?
ecommerce store

#

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

What did you expect to happen?
Enable Google Pay at checkout.

What actually happened?
Google Pay isn’t appearing at checkout.

Reproduction Steps
Go to the checkout page and check if the Google Pay button is visible.

Question
I am trying to enable Google Pay in Stripe Checkout, but the Google Pay button isn’t showing up on the checkout page.

cursive heronBOT
#

@golden tundra pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how can i get new and old subscription data from webhook event invoice.paid when billing reason is subscription_update

Related Request ID(s)
/

What have you already attempted?
nothing yet, i don't see any fields indicating old data

cursive heronBOT
#

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

Code
I'm receiving the error message "Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis."

Question
I'm using BookingPress Pro and GiveWP plugins for WordPress on my website The Art Times (www.thearttimes.com). GiveWP is working just fine, but BookingPress Pro is not properly processing payments. What strikes me as strange is that in the Stripe website, the error messages are saying that the source is GiveWP, not BookingPress Pro.

What have you already attempted?
I've tried disabling GiveWP and reverifying my keys, but nothing seems to be working in either case. I'm at a bit of a loss, and I urgently need to get this online because I have people who want to schedule their interview appointments and donations for Artists Without Borders, our upcoming charity initiative.

cursive heronBOT
#

@glossy rock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are updating the quantity on a subscription using Subscription.Update. If the call succeeds we then update the subscription's schedule to add a future phase for renewal purposes (we're updating to also change product in the future). However, sometimes the call to update the schedule fails. With error message "You can not update a phase that has already ended. Trying to update phase 0.". However, we fetched the schedule first, get the current phase then add our phase. Seems we might have a stale schedule as it appears Stripe has also modified the schedule with some very short lived phases.

Related Request ID(s)
req_cira0I9AWqmflu

What have you already attempted?
Docs read: https://docs.stripe.com/billing/subscriptions/subscription-schedules?lang=go

Where it states: "To add additional phases to a subscription schedule, pass in the current phase, and then define your new phases"

Which we do, but it seems we might be hitting a race here. We've fetched the schedule (stale), Stripe has modified the schedule, and then we try to update the schedule using a stale "current phase".

Tried to provide as much context/info as possible. Happy to provide more. Thanks!

cursive heronBOT
#

@barren zinc pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible with StripeTax to update a Subscription to be tax inclusive?

Related Request ID(s)
sub_1QIdDQJyFlemKh0gLCoM4Hsp

What have you already attempted?
I attempted to update the tax_behavior to inclusive for the subscription item, but it keeps asking for additional fields.

What are you working on?
We're moving from Avatax to Stripe Tax and a small subset of our users will be tax inclusive.

cursive heronBOT
#

@velvet bane pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For a payment intent paid with Stripe Link, if there any way to know from the charge, payment intent, balance transaction, etc whether or not it was a card payment or an instant bank payment?

Related Request ID(s)
req_JxEU5nON2EaP5C

What have you already attempted?
Looking at Stripe docs and API responses.

cursive heronBOT
#

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

What did you expect to happen?
My customer received an email about a failed payment, and the button should take them to the URL that has configured in Revenue Recovery

What actually happened?
My customer received an email about the failed payment, but the button took them to a different place.

Reproduction Steps
i can't provide details

Question
Where is the link in the email coming from?

cursive heronBOT
cursive heronBOT
#

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

Question
We are moving over to the PaymentIntents API and we know that Bank transfers have automatic reconciliation.

When the customer pays less than the amount on the invoice, Stripe does not auto-reconcile the invoice and the "payment_intent.partially_funded" webhook is not generated as stated by an engineer before.

The "customer_cash_balance_transaction.created" webhook with the type "funded" is created and after that there are no more webhook events.

We want to reconcile the invoice if the payment is ~98%-99% of the invoice amount.

What webhook should we use to pay/reconcile the invoice?

Related Event ID(s)
N/A

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

What are you working on?
Migrating to PaymentIntents API.

#

@worn talon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm getting unexpected results for subscription proration preview amounts

Question
I'm using Node 18 and stripe 15.12.0 along with `stripe.invoices.retrieveUpcoming` to attempt to preview the cost of changing a subscription. I'm getting $0 back when I'd expect to get a different value. What am I doing wrong?

What have you already attempted?
I followed these instructions: https://docs.stripe.com/billing/subscriptions/prorations#preview-proration

What are you working on?
I'm trying to allow our customers to preview what they would be paying if they changed from their current subscription to a new subscription level

cursive heronBOT
#

@vernal fiber pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I have this error: Error: Call to undefined function curl_version() in file /home/apicom/api.com.mx/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php on line 85. Can you help me? please!

Related Request ID(s)
In my Laravel application hosted on a Hostgator Domain

What have you already attempted?
I'm trying to register a stripe client in my application.

What are you working on?
stripe integration with laravel

cursive heronBOT
#

@orchid latch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create card token from the server side using craete token api but it will give me this response:
Error: Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using...

but in want to create card token from the server side.

Related Request ID(s)
req_mG4GSoqAjb6Ra0

What have you already attempted?
create card token from the server side using craete token like
stripe.tokens.create({ card: source })

#

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

What did you expect to happen?
why afterpay showing as payment option on checkout page when he used USD currency invoices?

What actually happened?
When he creates invoices in CAD, afterpay showing as payment option on checkout

Reproduction Steps
We are using stripe checkout session API for the mount stripe element.

Question
The customer have an issue with afterpay. His location is Canada and when he creating invoices in USD, afterpay not showing up on the checkout.
When he creates invoices in CAD, afterpay showing as payment option on checkout. we expect show afterpay in both currency.

cursive heronBOT
#

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

Question
subscription for fixed duration & fixed date

Related Request ID(s)
subscription for fixed duration & fixed date

What have you already attempted?
subscription for fixed duration & fixed date

What are you working on?
subscription for fixed duration & fixed date

cursive heronBOT
#

@pine laurel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to get direct PDF link to a receipt for a paid invoice?

Related Request ID(s)
No requests

What have you already attempted?
Background: I have a service selling subscriptions that are automatically billed via credit cards. In my service I would like to give the users ability to view and download their receipts of these monthly bills. I cannot seem to find anyway to do that. I can get invoices for a customer and those invoice objects do have a managed link to Stripes services where they can download the invoice AND receipt. However the invoice is very confusing for a customer when the invoice is already paid.
Is there currently anyway to get just the receipt PDF url?

What are you working on?
Service that sells monthly subscriptions.

cursive heronBOT
#

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

Question
I have completed the flow for the merchant connected account onboarded process. now i want to create flow for the payment flow. into that i need your help. can you help me with this ?

Related Request ID(s)
657473634

What have you already attempted?
I have completed merchant connected account flow.

What are you working on?
I have completed the flow for the merchant connected account onboarded process. now i want to create flow for the payment flow. into that i need your help. can you help me with this ?

#

@solar hamlet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i am getting errors :
resource_missing - payment_method
No such PaymentMethod: 'pm_1MzRJwLG4i5Wt97l1iZziGmc'

this show the log:

POST /v1/payment_intents
Estado
400 ERR
ID
req_pFwCQQdHO6Hrf3
Hora
8/11/24 7:30:55
DirecciΓ³n IP
209.182.205.246
VersiΓ³n de la API
2024-10-28.acacia
Fuente
aMember PRO/6.3.31 (https://www.amember.com)
Idempotencia
Clave: 9b142a98-43a2-4a9a-bf89-819e3e5aac16

resource_missing - payment_method
No such PaymentMethod: 'pm_1MzRJwLG4i5Wt97l1iZziGmc'

Related Request ID(s)
{ "amount": "100", "automatic_payment_methods": { "enabled": "true" }, "confirm": "true", "currency": "EUR", "customer": "cus_LEE1ZlfTlGJ5nT", "description": "Invoice #H1TGR: Credit

What have you already attempted?
i tried with lattest api version 2024-10-28.acacia
and this version too 2024-06-20

What are you working on?
i use amember stripe plugin that has been already tested

#

@drowsy kraken pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
need to know if i enable manual payouts for my connect accounts can i charge the money without payouts or not?

Question
need to know if i enable manual payouts for my connect accounts can i charge the money without payouts or not?

What have you already attempted?
our use case is we have connect accounts which will get money when customer pays. after the delivery of order we want to charge 20 percent debit to connect account and then we want to payout the funds for our connects not full amount but specific amount is it possible?

What are you working on?
our use case is we have connect accounts which will get money when customer pays. after the delivery of order we want to charge 20 percent debit to connect acco

misty hornet
cursive heronBOT
#

@torn plinth pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I want to create new Connect Account
From the Developer log, it returned and accountId but I did not see this account on the dashboard as well as search this account

What actually happened?
Connect Account created but search result show "No search results found"

Reproduction Steps
Requested again and still got problem

Question
Nee help to find the root cause to resolve the issue

cursive heronBOT
#

@warped rune pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I use paypal payment method through stripe>

Related Request ID(s)
none

What have you already attempted?
I have enabled paypal in stripe dashboard,
I have looked at the code

What are you working on?
I need to integrate paypal payment method on my e-commerce website

cursive heronBOT
#

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

Code
Shortened version:
loadStripe(data!.publicKey, {
stripeAccount: data!.accountId
}).then(stripe => {
if (stripe) {
this.stripe = stripe
this.checkout = await this.stripe!.initEmbeddedCheckout({
clientSecret: <Extracted client secret>,
})

Question
When I do this on localhost, I get The embedded form and everything looks great. When I do this on the real site i get a 404 on this url:
https://api.stripe.com/v1/payment_pages/cs_test_a1ib7EPcxtFUZoHVmAEmd7IjLdtdfbg5FA2TxKEGRt3T6RZCwWnkfZp4pb/init

What have you already attempted?
The response body:
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payment_page: 'cs_test_a1ib7EPcxtFUZoHVmAEmd7IjLdtdfbg5FA2TxKEGRt3T6RZCwWnkfZp4pb'",
"param": "payment_page",
"type": "invalid_request_error"
}
}

What are you working on?
An embedded payment for Connect:ed accounts

cursive heronBOT
#

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

Question
Hello, how do I know if a payment method (a card) is expired, invalid, has insufficient funds, etc..For expired, is it simply the month after the month/year on the card, it's expired, or is there another method (since sometimes cards are still valid for 1-2 months after this date). For the others is there any way to know the card is invalid / has insufficient funds / etc, or must one try to make a payment to be rejected ?

Related Request ID(s)
N/A

What have you already attempted?
Reading through the API

#

@outer gorge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export const createConnectedAccount = async (
Business: Business,
User: User,
ip: string | undefined,
businessType?: string
): Promise<Stripe.Account> => {
let connectedAccount;

if (businessType === BUSINESS_TYPE.NON_PROFIT) {
connectedAccount = await stripe_connection.accounts.create({
email: Business.dataValues.email,
type: 'custom',
country: 'GB',
default_currency: 'GBP',
business_type: 'non_profit',
capabilities: {

Question
I am using stripe embedded onboarding flow for creating custom accounts. We are prefilling some information here based on business type (eg. company).

When user starts creating an account using the link generated by this function, we can see prefilled details but they are editable by users.

My question is that how i can prevent users from editing those prefilled entries or make those fields non editable?

What have you already attempted?
I have already read docs for embedded onboarding flow. I have also checked all parameters provided by this function.

What are you working on?
I am building a platform for Businesses and retail users. I have to enable businesses to accept payment.

#

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

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

Question
Is there a way to fetch next charge or retry date after a failed payment?

What have you already attempted?
Couldn't find any attribute in the charge object to accomplish this.

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

#

@eternal badge pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected to be able to log into connect account acct_1PuZHQ2eI6RHAK8R and change it's email and phone number. I expect to be able to log into the same way I log into other connected accounts like acct_1KmKGt2f3aPkh34S where all I do is go to https://dashboard.stripe.com/login enter the email address and the password disappears and instead it sends me a text.

What actually happened?
I created a connect account acct_1PuZHQ2eI6RHAK8R, the accounts email was oliver.brand@collectingcars.com and it appeared to the linked to a team member on our platform with the same email. I logged into the connect account here https://connect.stripe.com/express_login and changing the email and phone number on the connect account changed the team members as well.

Reproduction Steps
Not entirely sure, potentially just creating a connected account with an email that is the same as a team member?

Question
Why is account acct_1PuZHQ2eI6RHAK8R seemingly linked to a team member? And why does it not act in the same manner for login as acct_1KmKGt2f3aPkh34S?

#

@wild wraith pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$paymentIntent = \Stripe\PaymentIntent::retrieve($payment_intent);
$amountPaid = 6000;

InvoiceItem::create([
'customer' => $customer_id,
'amount' => $amountPaid, // in cents
'currency' => $paymentIntent->currency,
'description' => 'Payment aasif and aniket test ',
]);

        $latestInvoice = Invoice\:\:create\(\[
            'customer' =\> $customer\_id,
            'auto\_advance' =\> true, //

Question
The amount paid is not passed to invoice why please help code in laravel . I have doing this through payment intent

What have you already attempted?
I have tried all options in stripe docs for invoice

#

@tepid nebula pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntent = await this.createPaymentIntent();

this.stripe = await loadStripe(paymentIntent.apiKey, {
stripeAccount: paymentIntent.stripeAccount,
});

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

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

Question
Why does the Express Checkout button not render when I omit the clientSecret property?

What have you already attempted?
I am migrating from the Payment Request button to the Express Checkout button, following the migration docs (https://docs.stripe.com/elements/express-checkout-element/migration).

When I try to initialize elements, if I omit the clientSecret property and include a mode the button does not render.

If I include a clientSecret, the Express Checkout button does display, but not in the correct mode.

cursive heronBOT
#

@noble mural pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! A couple days ago started happening Timeout exception on Stripe Webhook. I changed logic just to insert event in our database and return immediately response to the event but it didn't help. What I should do to in order to fix this issue?

Related Event ID(s)
evt_1QIp2c02Eb1sVOaRTxQEVheE

What have you already attempted?
Reduced logic that I had in Webhook API and now it's only about inserting in database events

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

cursive heronBOT
#

@carmine meadow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi. We are looking at the iDeal changes here: https://support.stripe.com/questions/make-required-changes-to-your-ideal-api-integration

We have a setup where we use Stripe elements in Vue. We want to support the above. But Stripe elements expects, as far as we can see, to have the bank selector on the page? How do we make the needed change

Further, the second needs us to remove usage payment_method_data[ideal][bank] if we understand it correctly. But this is used all throughout systems. We even show the bank on the invoice.

Finally, it's not clear to us if there is a deadline for this change

Related Request ID(s)
Requests are failing

What have you already attempted?
I've removed the selector from our page, but then we get an IntegrationError from Stripe Elements. We've tried looking up examples from Stripe, reading through docs, etc, but nowhere can we find docs on how to make this change.

What are you working on?
huispedia.nl

cursive heronBOT
#

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

Question
How do I update the subscription end date for an already active subscription without generating a zero dollar invoice?

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

What have you already attempted?
I want to update the subscription end date for an already active subscription and I referred this section - https://docs.stripe.com/billing/subscriptions/billing-cycle#changing

However on following the steps mentioned here, a $0 invoice is created. Is there a way I can avoid the $0 invoice from being created?

What are you working on?
I have a workflow where I want to update the subscription end date for teams that have an existing subscription

cursive heronBOT
#

@eternal badge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created a connect account through the dashboard where I initially used the same email address as a team member for the account. I then attempted to change the email on the connected account as described in the other message and this also changed the email address of the team member. I'm trying to correct this and remove whatever link exists between this connected account and the team member. All I'm after is ensuring the connected account is setup in the same way as my other connected account where I enter the email inorder to login and a text message is used instead of password.

Related Request ID(s)
#dev-help message

What have you already attempted?
I attempted deleting the team member to achieve this but still no luck.

cursive heronBOT
#

@bitter silo pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
exports.confirmBlikPayment = functions.https.onRequest((req, res) => {
cors(req, res, async () => {
try {
const { paymentIntentId, blikCode } = req.body;

  // Confirm the PaymentIntent with the BLIK code
  const paymentIntent = await stripe.paymentIntents.confirm\(paymentIntentId, {
    payment\_method\_options\: {
      blik\: {
        code\: blikCode,
      },
    }
  }\);

  res.status\(200\).send\({ success\: true, paymentIntent }\);

Question
i get error The parameter `payment_method_options[blik][code]` cannot be passed when creating a PaymentIntent unless `confirm` is set to true.

but from what i understand it should be set to true when using .confirm

What have you already attempted?
All docs code.

#

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

Code
Testing discord comm (disregard)

Question
Testing discord comm (disregard)

What have you already attempted?
Testing discord comm (disregard)

What are you working on?
Testing discord comm (disregard)

#

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

Question
I have few questions related to payment flow and payment split. i need help for this.

Related Request ID(s)
3456

What have you already attempted?
Completed connected account link generation part.

What are you working on?
I have few questions related to payment flow and payment split. i need help for this.

cursive heronBOT
#

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

Code
I am attaching few screenshots of steps and same file I have hosted on our dev environment and here is the link to access that page - https://dev.cheapestairportparking.com/airport-parking/apple-pay-poc This is a simple HTML JS file, so code can be seen in the browser page view source. I am not able to send the whole code here.

Question
I am trying to integrate ApplePay in the web using Express Checkout Element. But getting the error on apple pay session

What have you already attempted?
- Activated apple pay in stripe dashboard
- Verified main domain and dev subdomain both after uploading apple certificates

cursive heronBOT
#

@dry mural pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
After 28 oct we have a lot transactions with status incomplete and the time line description appear "3D Secure attempt incomplete
The cardholder began 3D Secure authentication but has not completed it." and sometime these transaction change to Succeeded

Related Request ID(s)
req_m8QijadCku3bqB

What have you already attempted?
my question if is necessary change payment_method_options , right now we automatic

#

@mental nebula pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I saw that is possible to create 1 time use products from the dashboard when creating an invoice.
Is it possible to do the same via API, if yes how?

Related Request ID(s)
s

What have you already attempted?
look into the API documentation

What are you working on?
automated biling system via API

#

@kindred marsh pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the recommended approach for updating a payment intent's application fee dynamically based on the type of payment method a person uses at checkout?

For example, I have customers using Connect accounts and I want to increase the application fee if their customers use Affirm or some other BNPL method and revert back to a smaller fee if the customer pays with a credit card. Thanks.

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

What are you working on?
NA

#

@west pumice pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"Open customer portal" is missing in production mode.

Question
When in test mode, there's a "Open customer portal" button on customer page. In production mode that button is missing.

What have you already attempted?
...

cursive heronBOT
#

@iron solar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, i created a checkout session in test mode for a price_id which is billed biyearly.

The checkout session price description is confusing. Is that a configuration or language problem (german).

Related Request ID(s)
none

What have you already attempted?
-

#

@solemn sandal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was previously using stripe.paymentIntents.create() for payments, but now I switched to invoice creation because I was missing a feature.
Now, I am unable to send the metadata in this way. Is there a way to send metadata and get it back via "invoice.paid"?

Related Request ID(s)
req_DmrWck7G4kBwAj

What have you already attempted?
Tried sending the metadata in the invoice item, but it is not coming back.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/hosted-onboarding

Question
We want to enable payments between private persons. one customer pays an other customer for a used tool like selling something on ebay marketplaces.

What have you already attempted?
we use the stripe hosted onboarding for connect, but i only can select businesses, but i need to get a simple onboarding for private people selling their stuff. without any company.

What are you working on?
i have no clue what to change to get private people into connect.

cursive heronBOT
#

@mortal marsh pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
function handleSubscriptionClick() {
var b = document.querySelector('input[name\x3d"subscription"]:checked').id
, a = "monthly" === b ? "monthlysub" : "annuallysub";
a = parseFloat(document.getElementById(a).textContent.match(/$([0-9]+(.[0-9]{1,2})?)/)[1]);
sessionStorage.setItem("billingCycle", b);
sessionStorage.setItem("subscrValue", a)
}

Question
Is this function related to stripe? I cannot find it in our source code.
It is throwing error
Uncaught TypeError: Cannot read properties of null (reading 'id')
at HTMLButtonElement.handleSubscriptionClick (<anonymous>:1:105)

What have you already attempted?
Already reviewed our code base and https://js.stripe.com/v3

#

@sharp ridge pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey there, question around processing ACH payments. We've integrated with Stripe for credit and ACH using Stripe JS (elements dropin) and the Go lang SDK. We use manual capture for credit which minimizes the chance for network issues to impact the user's purchase.

For ACH, it currently requires automatic_capture, so as soon as the user's browser calls' stripe.confirm, the charge will eventually be processed. We've seen a few incidences where an issue then prevents the user's browser from hitting our back end to reflect the purchase. Do you have any recommendations for ACH payments?

Doc/Guide Links
https://docs.stripe.com/payments/ach-direct-debit

What are you working on?
Improving reliability of ACH payments

#

@noble mural pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi again! I really need your help regarding Stripe webhook timeout. This integration with my API worked fine and 5 days ago it started returning "Timed out connecting to remote host". Could you please check my eventId in dashboard? It's a bit urgent! Thanks in advance.

Related Event ID(s)
evt_1QIsca02Eb1sVOaRiDyJGaWO

What have you already attempted?
I tried this API directly trought Postman and it works. With Stripe Webhook it even didn't trigger controller because I added logs on more places in order to check how much time event is processed.

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

#

@limber niche pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to provide a discount for our member for her next billing only.

But after that, she should be invoiced as normal. How do I do this

Doc/Guide Links
stripe resources like credits but it's unclear

What are you working on?
I want to provide a discount for our member for her next billing only. But after that, she should be invoiced as normal. How do I do this

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/free-trials

Question
1 year trial subscription with 0 amount invoices issued during the trial period

What have you already attempted?
Playing with TrialSettings.EndBehavior.MissingPaymentMethod.CANCEL
.setPaymentMethodCollection(SessionCreateParams.PaymentMethodCollection.ALWAYS)

and checked the dashboard for settings for that

What are you working on?
i want to have webhook event for paid invoices with 0 amount during the trial period, what i tested so far the behavior is one zero amount invoice during checkout + mandate setup and 1 after the end

#

@white crystal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there,

We’re working on a POC for integrating Stripe with our billing system. Could someone provide guidance on the APIs and webhooks needed for these use cases?

Creating a payment link: We need to generate a one-time payment link to send to customers for a single payment.
Getting a mandate (or token): We require a method to securely collect a mandate or token from customers that allows us to charge them for future bills. Note that these bills may vary in amount and are not part of a subscription.
Webhook events: What specific events should we monitor via Stripe webhooks to keep our billi

Related Request ID(s)
none

What have you already attempted?
POSTMAN collection but I need some taylored help

What are you working on?
Building credit card payment integration for our billing system.

#

@bleak quartz pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentElementOptions = {
wallets: {
applePay: 'auto',
googlePay: 'auto',
},
layout: 'tabs'
};
const paymentElement = elements.create('payment', paymentElementOptions);

Question
Hi, I am trying to activate the wallet payment method and I am using Stripe payment element to collect the payment method from the customers. But this is not working at all!

What have you already attempted?
I have added klarna and it worked perfectly fine. But for Google pay and Apple pay, the doc says, they will show when the Payment Intent has the card payment method and the customer is using a supported platform and have an active card in their account. This is the auto behavior, and it is the default for choice for all wallets. So far, I have verified the domain I am testing on, HTTPs enabled, added a test card (VISA - 424242...) to the test customer object, but still nothin

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/build-a-two-step-confirmation

Question
I am building a two step confirmation workflow that also uses dynamic payment method configuration for each of my Connect account customers.

I need to allow a person to be able to pay with a credit card and provide the option to save that card for future use. The issue is that if I pass `setupFutureUsage` to the `Elements` component, the Affirm option doesn't show up.

I got around this before by creating the payment intent on the server using `payment_method_options: { card: { setup_future_usage: true } },` but it seems that I cannot create a payment intent BEFORE a confirmation token.

What have you already attempted?
Doc listed above.

#

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

What did you expect to happen?
When updating a subscription with a promo code I would expect the latest invoice to have the discount applied.

What actually happened?
When I call stripe.subscriptions.update and pass along a discounts array including an object with the promo code ID I get back a subscription that has a discounts array which includes the applied promo, but in the latest_invoice there's no discounts applied.

latest_invoice.discounts is an empty array.
latest_invoice.total_discount_amounts is an empty array.

Reproduction Steps
Create a subscription, make a subsequent call to update the subscription with the promo code ID, expand latest_invoice and discounts.

Question
It seems difficult to discern when a discount is applied to a subscription. Is there a consistent methodology for determining if it's discounted?

What are you working on?
SAAS

cursive heronBOT
#

@worn talon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.subscriptions.retrieve and stripe.invoices.retrieveUpcoming

Question
I am not getting correct proration. Why?
Old subscription: $395 started August 10
New subscription: $395
Showing cost: $0
Should be cost: Maybe $310 or so, because old subscription almost 3 months old

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/prorations#preview-proration

What are you working on?
Node18 web app

cursive heronBOT
#

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

Code
Payment method
ID
pm_1Q9JiiA43ICTQBWBhe9xX6Nq

I heard sometimes ago from someone that is existing a program 'Burp Suite' and that program stops the connection between my shop and stripe and you can buy with 1 euro the last offer or what offer you want

Question
Hello. I have a big problem, you have some errors in code probably, someone bought a product from my website, price 500 euro and he bought the product with 1 euro. and today happened again, bought product with 1 euro, and the product is 5 euro

Payment method
ID
pm_1QIuTqA43ICTQBWBXuHCVzL7
Number
β€’β€’β€’β€’ 8799
Fingerprint
UR6qUvkfO8i7k7fE
Payment
€0.99
eur
Succeeded

----------
and from 13 octomber:

Payment
€1.00
eur
Succeeded

Items
Qty
Unit price
Amount
13950 Monede Dragon

What have you already attempted?
help me

What are you working on?
help

#

@thorn edge pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have an account with a test mode that was full of data. I had created daily subscriptions to continue populating the test mode account with data while we used this to test an accounting SaaS integration. My expectation was that this data would continue to be available.

What actually happened?
All of the subscription records and associated invoice records are no longer in the account. They have vanished! I can attempt to fetch a finalized invoice by ID via API, and it returns an error that no such record existsβ€”despite it being referenced in the charge and payment intent.

Reproduction Steps
Check the subscriptions and invoices for account acct_1PVw3kB6upHt2yhL

Question
Why are the subscriptions and invoices gone? In particular, finalized invoices can't even be deletedβ€”so what happened?

cursive heronBOT
#

@solid wing pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
iin: This is the card's BIN or the first 6 digits of the card number.
description: This is a more comprehensive description of the card, if available, based on the BIN. Example values include "Visa Classic" or "Debit MasterCard" (not an exhaustive list).
issuer: This is the name of the issuing bank.

Related Request ID(s)
iin: This is the card's BIN or the first 6 digits of the card number. description: This is a more comprehensive description of the card, if available, based on the BIN. Example values include "Visa Cl

What have you already attempted?
Trying to see BIN numbers from Oct 29-Now transaction on our Stripe account

What are you working on?
Trying to determine how to identify Citi Cards vs. Non-Citi card

#

@bleak quartz pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentElementOptions = {
wallets: {
applePay: 'auto',
googlePay: 'auto',
},
layout: 'tabs'
};

const paymentElement = elements.create('payment', paymentElementOptions);

Question
Hi, I am trying to activate the wallet payment method and I am using Stripe payment element to collect the payment method from the customers. But this is not showing them.

What have you already attempted?
I have verified the domain with Stripe, added a card to my browser, HTTPs is also enabled. Card and Klarna payment method shows up, but not Google or Apple pay.

#

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

What did you expect to happen?
Expect retrieveUpcomingInvoice to return subtotal/tax/total/total_discount_amounts in the same way that getting a subscription's latest_invoice would.

What actually happened?
upcoming_invoice.subtotal was the subtotal *after* the discount is applied whereas the subscription.latest_invoice.subtotal is the subtotal *before* the discount is applied.

Reproduction Steps
create an upcoming invoice with a coupon code that discounts

Question
Is this the expected behavior? If so, please explain how it's logical.

What are you working on?
SAAS

#

@proper niche pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we confirm a PaymentIntent when the user has given a general permission to automatically charge the account?

Related Request ID(s)
req_EDPT1f4RDCC8VM

What have you already attempted?
I've had several chats about this over the past few weeks, and the last one said this should work.

What are you working on?
Notch Platform

#

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

Question
Is there a way to detect if an account (main account, not a connected account) have Automatic taxes configured and ready to use?

Related Request ID(s)
N/A

What have you already attempted?
Looking at

https://docs.stripe.com/api/tax/settings/object

but it just says "taxes", not automatic taxes specifically

What are you working on?
Customer can use their stripe account on my app to let their customers pay but my app use automatic_taxes and I need to make sure its on before allowing payments from the client stripe account

cursive heronBOT
#

@peak gull pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Hi, Is there any way we can change the branding in ACH bank transfer popup?

Question
Hi, Is there any way we can change the branding in ACH bank transfer popup? Its currently showing the plugin name Im using instead of my website or another name. It currently says "GiveWP uses stripe to connect your accounts" and "GiveWP can access data" But that's the plugin name not anything associated with me or my company. Where does this modal get the text "GiveWP" from how is it piped or sent over via the api?

What have you already attempted?
Changing the GiveWP text throughout the plugin.

cursive heronBOT
#

@formal copper pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$price_response = $stripe->prices->create([
'unit_amount' => $price * 100,
'currency' => $_SESSION['bank_currency'] ?? 'eur',
'product_data' => [
'name' => $product_name
],
],
['stripe_account' => $account]);

Question
I have a Connect customer based in the US. I want them to be able to receive payments in Euros from people based in the EU. But if I try and set anything different from USD as currency I get an error. If I set USD I am able to create the payment link but of course it's in USD, I want the final customer to see the amount in euros. If I set everything to EUR it doesn't work because the connect is US located. Help!

What have you already attempted?
$link_response = $stripe->paymentLinks->create([
'line_items' => [
[
'price' => $price_response->id,
'quantity' => 1,
],
],
'automatic_tax' => [
'enabled' => false,
],
'currency' => $_SESSION['bank_currency'] ?? 'eur',
'phone_number_collection' => [
'enabled' => true,
],
'payment_method_types' => 'klarna'
] + $application_fee_amount,
['stripe_account' => $account])

What are you working on?
webapp

#

@icy saffron pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripe = new StripeClient(config('stripe.secret_key'));

    return $stripe\-\>customers\-\>create\(\[
        'name' =\> $this\-\>name,
        'email' =\> $this\-\>email,
        'preferred\_locales' =\> \[
            'pt\-BR'
        \]
    \]\);

Question
After customer invoice paid, my customer enter in portal, e-mail sended your e-mail in english.
Customer configure locate portuguese.

What have you already attempted?
Configure in panel or API (customer create)

#

@terse lodge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I create a Self Billing Invoice via the API?

Related Request ID(s)
none

What have you already attempted?
I can create the invoice in the API but I cannot find out to associate it to an independently made payment to a connected account

What are you working on?
Self Billing invoices to connected accounts. We want to self invoice ourselves to our connected accounts and make a payment for that invoice.

cursive heronBOT
#

@steep pecan pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi we are trying to move from .net to nextjs

Related Event ID(s)
evt_3QIylZJKY8YXH2zh1xE0VTcI

What have you already attempted?
export async function GET(request: NextApiRequest, response: NextApiResponse) {
const headersList = await headers();
const sig = headersList.get("stripe-signature")!;

return Response.json({ message: "Hello from Next.js!" }, { status: 404 });
let event;

try {
event = stripe.webhooks.constructEvent(request.body, sig, endpointSecret);
} catch (err: any) {
return new Response(`Webhook Error: ${err.message}`, { status: 400 });
}

cursive heronBOT
#

@hasty spire pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to set up Stripe Webhook to be connected to Amazon API Gateway. My endpoint URL is https://83828tfs34.execute-api.us-west-1.amazonaws.com/dev

however, i encounter a "Missing Authentication Token" error when making a POST request to endpoint.

In trying to debug, what exactly is posted to the endpoint?

Related Event ID(s)
eventID: evt_3QImhS05PIMIj7Fi0oHqyDf3

What have you already attempted?
looked at event data