#dev-help

1 messages Β· Page 91 of 1

cursive heronBOT
#

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

Question
Hi! I'm currently redesigning my interactions with the Stripe API and wanted to know how to migrate customers from a product to another.

Is it possible to update their subscription like for the prices or do I have to created a new subscription for them?

Doc/Guide Links
https://docs.stripe.com/products-prices/manage-prices?dashboard-or-api=api&lang=node

What are you working on?
People can register and offer monthly services directly through our platform

#

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

Question
I need a way to get ALL invoice line items of an invoice.

Related Request ID(s)
evt_1Q4rYfCYEIkFpocT5HtRXJte

What have you already attempted?
Tried to understand how to call the URL via python, but unclear how pagination works on that URL

#

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

Question
Hello, I'm trying to set up Stripe Connect on my platform. I'm using nextjs. I start the onboarding flow on one browser and i drop. I log in another browser. I retrieve my stripeAccountId from my database. I expect the onboarding flow to continue when the stirpeInstance is retrieved. Instead new onboarding flow is started and it creates a new stripe account it.

Related Request ID(s)
req_OyF78pfwG0baxl

What have you already attempted?
I tried almost everything from your docs. Whenever I drop out of onboarding flow, log out or do anything cross-browser I lose the account. Also, when I submit incomplete flow then the stripeInstance retrieved again starts creating new account instead of continuing with the old one (horrible user experience, they go through all the steps and then they have to go through all of them again).

What are you working on?
Lead dev on a budget funeral aggregator software.

cursive heronBOT
#

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

Question
Im trying to integrate stripe into my app, and i want to manage like my tiers/plans, and i already have them on backend, and now im just wondering is it possible to just create products from them? like i see on the docs each product needs price created beforehand, but then again to create a price you need product data? what? im confused with the flow

Related Request ID(s)
/

What have you already attempted?
/

cursive heronBOT
#

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

Question
Our Flow: The backend creates a PaymentIntent (PI) with capture_method: 'manual' for preauth. Stripe returns next_action.redirect_to_url.url for 3DS if required. Since the customer isn't present, we send an email with a secure link containing an API endpoint (no Bearer token) and a 10minute valid secret code. Upon clicking, the backend validates the code, retrieves the PI, and redirects to the 3DS URL for verification. Questions: When we receive next_action.redirect_to_url.url in the PI creation response, is there any way to get how long URL is valid?if we retrieve the PI 5 days after its creation (and the PI s still open), will the next_action.redirect_to_url still be valid?

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

What are you working on?
We are aware of the off-session payments flow when adding a card. We cannot be certain that the customer’s bank will not request another 3DS auth during the transaction initiation, which is why we rely on this flow.

#

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

Question
Hello! I am working with connect, creating connected accounts though the onboarding, due to the business logic I would like the user not to be able to edit fields such as professional details or public details.
Is there a way tu disable those fields or remove them from the UI?
Thank you!

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

What are you working on?
Since im building a platform I would like for fields such as 'Descriptor shown on customer statements' or 'Website' to be our own.

#

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

Code
Hi. Automatically creating products and payments link

Question
I would like to automate the creation of product cards and automate the creation of payment links. Tell me, please, what are the ways to implement my idea?

What have you already attempted?
I dont now how it create

cursive heronBOT
#

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

What did you expect to happen?
A promocode with a defined minimum spending amount can be successfully applied when the minimum spending amount is being reached.

What actually happened?
A promocode with a specified minimum spending amount of 1€ is rejected on a checkout with > 300€ worth of spendings because the checkout amount is said to be below the threshold.

("Dieser Code ist gΓΌltig, aber Ihr Bestellwert liegt unter dem Mindestbetrag.")

Reproduction Steps

  1. Create a product
  2. Create a tiered price for that product and set tiers_mode to "graduated".
  3. Create a coupon for that product.
  4. Create a promocode for that coupon with a minimum spending restriction.
  5. Create a checkout session for that price
  6. Open the url for that checkout session
  7. Try to apply the promocode

Question
Why is the minimum spending amount not being correctly considered when using tiered prices?

What are you working on?
I just want to create a coupon code for a tiered price with a minimum spending value.

#

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

Code
Trying to get express checkout options on our cart page and I cannot get the "amount" to be correct. I am posting the correct amount to the payment element and it's showing correct (21291), but when I click on stripe link, it shows as 2.12

Question
Trying to get express checkout options on our cart page and I cannot get the "amount" to be correct. I am posting the correct amount to the payment element and it's showing correct (21291), but when I click on stripe link, it shows as 2.12

What have you already attempted?
Looked at the ID for the payment element req_w6h86rJRWQ3HIR and it shows everything is fine, but express checkout recognize it the same

What are you working on?
Express Checkout

cursive heronBOT
#

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

Question
How to make connected account pay stripe fees

Related Request ID(s)
No id

What have you already attempted?
Tried using stripe destination charges with my connected accounts.
I have created a payment intent, where we add our application fee, and transfer the Amount of the payment to the connected account.
Problem is that if we transfer the full amount to the connected account we will be at loss.
Is there a way in the transfer_data, when sending money to the connected account, only transfer the amount - stripe fee?
If not, what's the best way to do this, the goal here is to, for each payment, charge an application fee and make the connected account pay stripe fees

#

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

Question
What is the best way to create the customer mandate needed for processing Bacs direct debit with the payment element?

For context, my team is using a US platform account with connected accounts that have bacs direct debit enabled. After collecting the bacs payment method with the payment element, we try to create a payment intent but we see:

```
Your account isn't configured to allow passing `mandate_data` directly when confirming PaymentIntents for Bacs Direct Debits.
```

or

```
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
```

Doc/Guide Links
https://docs.stripe.com/payments/bacs-debit/accept-a-payment?payment-ui=elements

https://docs.stripe.com/payments/payment-intents#storing-information-in-metadata

What are you working on?
We're building new features into our donations processing application and upgrading to the payment element.

cursive heronBOT
#

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

Code
Payments in site.....

Question
How can I embed a payment system on the site? That is, to use a widget or frame directly on the page?

That is, I do not want to use a payment link, but I want to integrate payment integration into the site. How can we do this?

What have you already attempted?
i dont know

cursive heronBOT
#

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

Question
I'm trying to limit the amount of results from the invoice list but cannot get it to work

Related Request ID(s)
req_Gnzrd62kQ1YXHy

What have you already attempted?
params.Limit = stripe.Int64(2)

ive added this code in GO but it doesnt seem to limit it even though its recieving it as a valid request

What are you working on?
Game server renting

cursive heronBOT
#

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

Question
Ever since we switched to using Payment Intent API instead of Orders API (legacy), we are seeing many more declined payments attempts. Is there a difference between how each API handles credit card validity?

Related Request ID(s)
req_nQEDdlbU1E5jQS

What have you already attempted?
Just wondering about how much more common it is to get declines in PI vs Orders

What are you working on?
custom E-commerce checkout

cursive heronBOT
#

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

Question
I set up a new webhook endpoint, and I am using the Stripe cli to trigger events. However, I am not seeing the logging that should appear if the webhook is actually received.

Related Event ID(s)
evt_1Q59yTIzJqdgXYvPFttUDz3U

What have you already attempted?
I have use cURL to test the endpoint with invalid headers, and I see the logging, even though it's a "Webhook error while validating signature." But the "successful" triggers log nothing.

What are you working on?
Test mode, Stripe integration with standard accounts and Stripe-hosted dashboards.

cursive heronBOT
#

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

Question
Hi,

we've implemented the payment request buttons for many of our clients. Now they have problems with 3DS on their cards. The 3DS process is not starting.
I can't login into their accounts and I have only an account in test mode. How can I test Credit Cards wich are asking for 3DS in test mode?

Doc/Guide Links
https://docs.stripe.com/stripe-js/elements/payment-request-button

What are you working on?
We're building a subscription platform for publishers have implemented payment request buttons one year ago

#

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

Question
Stripe expand is not working with \Stripe\Checkout\Session::retrieve

Related Request ID(s)
n/a

What have you already attempted?
```
$checkout_session = \Stripe\Checkout\Session::retrieve(
$checkout_session_id,
[
'expand' => ['payment_intent', 'payment_intent.payment_method'],
'stripe_account' => $stripe_connect_id,
]
);
```

#

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

Question
I'm investigating a production issue that I guess could've happened like this but the following was done in a Test mode stripe account:

I got a stripe checkout link sent to me by email:
https://buy.stripe.com/c/pay/cs_test_(...)

then I expired it
``` await stripe.checkout.sessions.expire(
checkoutSessionId,
{
( ...)
}
);
````
when I retrieved it again the status was 'expired'
then I went back to the email link and I was able to open it, insert my test card and finish the purchase.
Does this happens in test mode only and I shouldn't be worried about?

Related Request ID(s)
pi_3Q5AutDY3BzcP9iq1bCskyU6

What have you already attempted?
-

What are you working on?
Investigating a production error in which a user was able to pay a order that was supposed to be cancelled

cursive heronBOT
#

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

Question
getting mixed responses using the Payment Method Configuration object

Related Request ID(s)
getting mixed responses using the Payment Method Configuration object

What have you already attempted?
getting mixed responses using the Payment Method Configuration object

What are you working on?
getting mixed responses using the Payment Method Configuration object

cursive heronBOT
#

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

Question
I want to create products that look amazing, but the specific dimensions are not listed anywhere. Images must be under 2MB.

Does anyone know the specific Dimensions that we're working with here? 512 x 512, so perhaps a duplicate sizing for PNG to allow for best clarity on the downsize?

Doc/Guide Links
https://docs.stripe.com/products-prices/getting-started#create-products-prices

What are you working on?
Creating proper products to align with four different systems, ensuring an organic experience from web app through to stripe completion.

#

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

Question
How can I get the amount of a subscription item when the price is tiered? I get a null response from all objects in this case.

Related Request ID(s)
req_89sfA1QTWe8WMm

What have you already attempted?
GET request to price, subscription_items but with null response

What are you working on?
I need to get the MRR of each customer

#

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

Question
Hi Guys! I'm doing a custom implementation on our backend, we want to separate customers billing in 3 different stripe accounts, our approach was creating 3 customer entities (one for each stripe env) and have them custom tracked in our backend through an entity. We are struggling trying to add a payment method, since we don't want the customer to input the information 3 times with a stripe UI element, thought of handling the information and repeating it through a custom method but I shouldn't be handling raw cards data. Is there any feasible solution to my use case? thanks.

Doc/Guide Links
https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis https://stripe.com/docs/testing

What are you working on?
Custom software to handle different billings through stripe from third party services.

#

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

Question
What is the best practice to force a successful payment intent before an invoice is created?

Related Request ID(s)
N/A

What have you already attempted?
I was told the best practice was to finalize an invoice and then attempt a payment intent. If the payment intent fails to then void the invoice. This seems odd because it involves alot of cleanup.
Also if there is no way to attach a payment intent to an invoice post creation. Then why is there even an API to create payment intents in the first place?

What are you working on?
Working on a checkout flow where the payment must be successful for the customer to proceed through the checkout flow.

cursive heronBOT
#

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

Question
How can I add a custom description to the checkout for the product below? This is for subscription mode with a predefined Price ID.

Related Request ID(s)
.

What have you already attempted?
I tried to assign a "custom" price to line items with a custom description, but unfortunately, that’s not the case. I need to have consistent price IDs.

What are you working on?
Website with subscriptions

cursive heronBOT
#

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

Code
def purchase_subscription(users_info):
for users_info in users_info:
user_subs = Subscription.list(
metadata={"firebase_uid":users_info['firebase_uid']}
)
results = []

Question
when a user purchases a subscription I assign their firebase_user_id to their subscription in the metadata object can I search for subscriptions based on the metadata object

What have you already attempted?
im considering creating a customer as soon as the user is created

What are you working on?
api for my application

#

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

Question
Retrieving a payment intent with the payment intent id but for a connected account.

Related Request ID(s)
req_gh8spTPqgfhn6f

What have you already attempted?
From this request I understood that attempting to get the payment intent from the main account will not work, I have to somehow pass in the account id (I do have it but it doesn't look like the payment intent retrieve api endpoint takes in the account id)

What are you working on?
Working on getting the actual amount after stripe fees, taxes etc.

cursive heronBOT
#

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

Code
I don't have the code

Question
Can you help me to log in with my Stripe account?

What have you already attempted?
I tried to log in to my Stripe account and must have an authentication code after signing in but I haven't received any email yet regarding the code

What are you working on?
Stripe

cursive heronBOT
#

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

Question
Connected Account balance - what is the diffrence ?

Related Request ID(s)
Onboarding - retrieve balance

What have you already attempted?
Hello,

Im not suere what is the diffrence and how works those fields from balance.retrieve() from stripe API. can you give me exmaple based on this data? Especilay what is the diffrence beetwen available and instant_available?

```js
{
object: 'balance',
available: [ { amount: 4300, currency: 'gbp', source_types: [Object] } ],
instant_available: [ { amount: 72300, currency: 'gbp', source_types: [Object] } ],
livemode: false,
pending: [ { amount: 68000, currency: 'gbp', source_types: [Object] } ]
}
```

cursive heronBOT
#

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

Code
if event['type'] == 'customer.subscription.created':
subscription = Subscription.retrieve(subscription_id)
plan = Plan.retrieve(plan_id)
product = Product.retrieve(plan.product)
subscription_metadata = subscription.metadata
if product['name'] == 'Usage of Chat-GPT Promp

Question
so if a user makes a purchase from my custom payment link to purchase a subscription will they get the same metadata

What have you already attempted?
PaymentLink.create(
line_items=line_items,
metadata={'firebase_uid': firebase_uid}
)

What are you working on?
a browser extension

cursive heronBOT
#

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

Question
If we want to validate a customer's credit card without charging a nominal fee e.g. 1 USD, what is the best way to implement this? Also, if we perform an auth on a credit card but not collect on it, does Stripe charge us a fee for the auth?

Doc/Guide Links
https://docs.stripe.com/issuing/purchases/authorizations , https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements , https://docs.stripe.com/payments/charges-api#auth-and-capture

What are you working on?
Integration of a new billing platform using Stripe as the payment processor using subscriptions and invoices generated in Stripe

cursive heronBOT
#

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

Question
I'm using Stripe webhooks so that when I create or update a stripe product offering, it's automatically updated in my NextJS app.

However, since I initially started with a local version, now that I also want to test a live website version, the Stripe products I have created are not shown on the live website.

In a video tutorial, they get around this by archiving/deleting the current products, and then recreating them again so that the live website webhook receives them. This feels like an inefficient solution, so I was wondering if there was a way to bulk "resend webhooks" option somewhere.

Related Event ID(s)
product.created, product.updated, product.deleted

What have you already attempted?
In a video tutorial, they get around this by archiving/deleting the current products, and then recreating them again so that the live website webhook receives them. This feels like an inefficient solution, so I was wondering if there was a way to bulk "resend webhooks" option somewhere.

What are you working on?
Using https://github.com/vercel/nextjs-subscription-payments

cursive heronBOT
#

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

Question
Hey, I'm working on a terminal React Native App for the s700. I've upgraded from beta19 to beta21. I've noticed that I get to the end of the payment cycle (createPaymentIntent > collectPaymentMethod > confirmPaymentIntent) with captureMethod: "automatic", and the screen gets stuck on:

<loading green circle animation>
Approved
Please wait...

It never returns to the our App.
paymentIntent status is success & everything looks good in the Stripe dashboard for each PI.

Related Request ID(s)
req_1VBfXZN12AZ9fQ

What have you already attempted?
Followed: https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=react-native

cursive heronBOT
#

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

Question
I develop a marketplace web application. I charge a credit card with `paymentIntent` and specify `transfer_data` field to point to the connected account. I also pass `application_fee_amount` value.

I then need to test "refund" followed by "refund cancellation". I initiate the full refund on the platform dashboard and I tick both checkmarks (app fee and transfer).

When I cancel the refund (also from the dashboard) the refund returns entirely to the platform account, but I need to go to connected account, reduced by application fee.

I cannot create transfer in `charge.refund.updated`

Related Request ID(s)
ch_3Q5JlLApMkaZmFOd0Ie9pvnR,req_KxR4Jaxj00WrGK?t=1727841897

What have you already attempted?
I tried to create a transfer in `charge.refund.updated` hook to return funds to the connected account, but request gets failed because of `balance_insufficient`. I guess it happens because I request the full refund/cancellation and event that I see the amount returned to the platform account on the dashboard (in Balances -> all activity) the actual funds are still not available at the moment due to refund nature

What are you working on?
Marketplace application

cursive heronBOT
#

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

Code
$paymentIntent = $stripe->paymentIntents->create([
'amount' => $amount, // Amount in cents
'currency' => $currencyDefault->code,
'customer' => $user->stripe_customer_id,
'payment_method' => $user->default_payment_method,
'capture_method' => 'manual', // For pre-authorization
'description' => 'Preauthorized Booking Payment',
]);

Question
The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first.

What have you already attempted?
I can create payment intent multiple time to capture amount later

cursive heronBOT
#

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

Question
I am trying to downgrade a customer between plans using subscription schedules.

I have provided the correct priceIDs that need to be reflected at each phase, but when I forward the test clock to the time of change over I can see that the customer is still getting charged for the old product.

For example : I have two products (Premium($2) and Ultra ($5))

When a customer on the Ultra product wants to downgrade to premium, I only want to do a change over once they reach the end of the billing period (its billed monthly) and then change the subscription item to reflect the premium product.

Related Request ID(s)
req_eq02suqV6lPM33

What have you already attempted?
I have read and re-read the docs,
I have tried alternative methods such as creating new subscription, updating subscriptions.
i have looked around in StackOverflow, Stripe Docs, Stripe API docs and Google

cursive heronBOT
#

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

Question
When creating a scheduled subscription, a draft invoice is created automatically, I need to stop the first invoice to be created

Related Request ID(s)
123

What have you already attempted?
When creating a scheduled subscription, a draft invoice is created automatically, I need to stop the first invoice to be created

What are you working on?
creating subscription

#

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

Question
When adding payment method paypal is missing on the modal. Why?

Related Request ID(s)
/

What have you already attempted?
My code when creating setup intent is:

intent = stripe_client.setup_intent.create(
{
customer: customer.id,
automatic_payment_methods: { enabled: true }
}
)

Also tried with listing payment method types:

payment_method_types: ['card', 'paypal']

and in this case I get:

You cannot provide the `usage=off_session` parameter when using a SetupIntent with a PaymentMethod of type paypal. Try again with a different payment method, or create a new SetupIntent with a different `usage` and try again. (Stripe::InvalidRequestError)

cursive heronBOT
#

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

Question
I have created two stripe account with same country as Switzerland, one is standard account, the other one is custom recipient account.
Stripe sets the currency for standard account as CHF but Euro for recipient account
how can I set the currency for recipient account for switzerland to be CHF as well?

Related Request ID(s)
acct_1Q5MnXFkHOTcaakK

What have you already attempted?
I attempted to create the account same way as I am creating standard account

What are you working on?
working on Cohere platform for coaches so they can create their services and sell using the platform

cursive heronBOT
#

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

Question
I cant log in my account and i reset the password and nothing and i try to reset the two steps account and nothing, i cant use an account linked to a web. How can i use my account?

Related Request ID(s)
Account

What have you already attempted?
Reset password
Log in
Reset two steps authentification

What are you working on?
Im building my web and want a safe way to take the payments.

#

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

Question
Hello,

I have users' access tokens. I want to obtain the user's Stripe user ID using these tokens. When I make a request to the 'https://api.stripe.com/v1/accounts' endpoint, I receive the error 'You cannot access the connected accounts of your platform's connected accounts.' For now, I am parsing the Stripe user ID from the request_log_url returned here. Is there an endpoint where I can get the Stripe user ID that indicates which account the user's access token belongs to?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Stripe Oauth Connection

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/upgrades?locale=en-GB#api-versions

Question
Are suffixed API versions the new norm?

What have you already attempted?
`2024-09-30.acacia` almost looks like a beta or release candidate compared to previous versions, is the idea now that there might be multiple API versions with the same date part of the identifier?

#

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

Question
I got an E-mail to admin@topschaum.de with is related to my topschaum Stripe account. This is the last request to change from Sources API to Payment Intents API. But I'm pretty sure we already changed it. Is there a way to check and look it up if we still use the old Sources API somewhere?

Related Request ID(s)
Sources API

What have you already attempted?
This is the last request to change from Sources API to Payment Intents API. But I'm pretty sure we already changed it.

What are you working on?
Sources API

cursive heronBOT
#

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

Code
clientSecret && (
<Elements stripe={stripePromise} options={{ clientSecret }}>
<Stack align="center" spacing={30} style={{ padding: "20px" }}>
<Text fz={24} fw={500}>
Save Payment Method
</Text>

          <PaymentForm /\>
        </Stack\>
      </Elements\>

Question
Can I only display the apple pay/ google pay option in the payment form.

What have you already attempted?
Nothing for now

What are you working on?
working on the setupintent payment form . So the payment_method_types is card and it is showing credit and apple pay / google pay.

cursive heronBOT
#

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

Code
const connectMobileReader = async (reader: any, onConnect?: any) => {
await location.refetch();

        const { error } = await connectLocalMobileReader\({
              locationId\: location.data?.data.stripe\_id,
              reader\: reader \|\| \(mobileReader as Reader.Type\),
        }\);

        if \(error\) {
              Sentry.captureException\(error\);
              if \(\(error.code as any\) !== 'AlreadyConnectedToReader'\) {

Question
I am having loading time issues when using tap to pay. The app is having both tap to pay and terminal reader functionality, so i cannot keep the tap to pay reader connected, i first disconnect any other connected reader, search for tap to pay readers and then connect to it. However after 2nd time onwards the connection time decreases substantially

What have you already attempted?
none

#

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

Question
Im trying to implement Stripe integration and ability to use Klarna. Is it possible to usa Stripe with Klarna and use upsells if user pays with credit card and not klarna? Here is screenshot: https://d.pr/i/P0wdpQ

Related Request ID(s)
req_test

What have you already attempted?
Right now we are using Stripe Checkout Sessions, but if we enable klarna (stripe do not save customer details) and we cannot process on upsells.

#

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

Code
// Charge weekly for the Facebook ad budget
async function chargeForAdBudget(customerId, amountInEuros) {
return await stripe.paymentIntents.create({
amount: amountInEuros * 100, // amount in cents
currency: 'eur',
customer: customerId,
description: 'Weekly Facebook Ad Budget Charge',
});
}

// Example: Charge 500 EUR for ad budget
chargeForAdBudget('cus_1234', 500).then(paymentIntent => {
console.log('Payment Intent created:', paymentIntent.id);
});

Question
Hello, users of my SaaS can publish Facebook ads. They pay a subscription fee of 90€ per month. When they set a budget for the Facebook campaign, we (the software) pay for it in advance. Then, we want to implement a weekly cronjob that checks the spent ad budget and charges the user's credit card via Stripe. I'm not sure how to accomplish this. I attached some (ChatGPT) code. Is this the right approach? Could you please steer me in the right direction?

What have you already attempted?
ChatGPT, reading the docs.

What are you working on?
SaaS for publishing Facebook ads

#

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

Code
const { error, setupIntent } = await confirmSetupIntent(
stripeSetupIntent.setupIntentClientSecret,
{
paymentMethodType: 'Card',
paymentMethodData: {
billingDetails: {
name: paymentMethodInfo.companyName,
email: paymentMethodInfo.email,
},
},
}
);

Question
How fix this error : {
"stripeErrorCode": "resource_missing",
"localizedMessage": "An unexpected error occurred. Try again in a few seconds.",
"message": "No such setupintent: 'seti_123456789ABCDE'",
"type": "invalid_request_error",
"code": "Failed"
}

What have you already attempted?
I check if Setup Intent ID is existing on the stripe dashboard

What are you working on?
I'm using the @stripe/stripe-react-native (version 0.19.0) package in my React Native app. When I attempt to confirm a Setup Intent with the confirmSetupIntent

cursive heronBOT
#

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

Question
I can see well emitted events but they are not received in my webhooks listneing for them.

Related Event ID(s)
evt_1Q5PSgJZXToOOk0QFbK3MnBb

What have you already attempted?
I have events 'identity.verification_session.*' that I can see well in /workbench/events.
Also I have a webhook destination that is listening for those events.
However those events where not sent at all to this webhook.
Thanks for clarification

#

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

Code
ConfirmationToken:
{
"id": "ctoken_1Q3gaMDnrqqBHvnSPqIIO1Xv",
"object": "confirmation_token",
"created": 1727452802,
"expires_at": 1727496002,
"livemode": true,
"mandate_data": {
"customer_acceptance": {
"online": {
"ip_address": "107.185.86.210",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"
},
"type": "online"
...

Question
When creating and confirming a PaymentIntent on the server we received this error:
Payment method data is not allowed when payment_method_options[us_bank_account][verification_method]=instant is used.; code: payment_method_invalid_parameter; request-id: req_mtLnZqHL59pFlP

What have you already attempted?
Everything else works OK. Both card payments and some other us_bank_account payments

What are you working on?
We are working on implementing payments using PaymentElements in the FE, a confirmation token, and creating and confirming the PaymentIntent on the server.

cursive heronBOT
#

@deft scarab 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
I was looking for a way to transfer money from one connect account to another.

I have a flow with three entities. The end user pays the managing company, and the company pays the employee. What is the best way to make this payment from the management company to the employee, as both of which are connect accounts?

What have you already attempted?
I am focusing on transfer, as the company will have this value with the balance, as it received it from the end user. Maybe I would have to create a payment?

Error on making payment between accounts: Cannot create transfers between connected accounts. If you're trying to debit a Connected account then you can learn more here https://stripe.com/docs/connect/account-debits.

#

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

Question
I would like to know how I can update a checkout session title description.
Instead of showing "Pay ${accountName}" I would like it to behave similar to subscription products, where it shows the product name

Related Request ID(s)
cs_live_a1nX2TiRgCRzHYFgdRiDzcqjiW9M3HE65KU6TVR0G6Kzrx8RA9LQsNCXBH

What have you already attempted?
Custom_text field on checkout session

#

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

Code
paymentRequest.canMakePayment().then(function (result) {
console.log('canMakePayment: ', result);
});

Question
We are using Stripe connected accounts and one of our customers has the problem that the Web Express Elements are not showing. The canMakePayment always returns "null". For all other customers it works but not for this customer. The account-id is acct_1NA9BTLBFUffGjSu and our account-id is acct_1BGpjmGrqEcchfhK

What have you already attempted?
I have used the "Express Checkout Element" documentation.

What are you working on?
Integrating Express Payments

cursive heronBOT
#

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

Code
const { error, setupIntent } = await confirmSetupIntent(
stripeSetupIntent.setupIntentClientSecret,
{
paymentMethodType: 'Card',
paymentMethodData: {
billingDetails: {
name: paymentMethodInfo.companyName,
email: paymentMethodInfo.email
}
}
}
);

Question
Hi, how can i fix this error : { stripeErrorCode: 'resource_missing',
declineCode: null,
localizedMessage: 'Une erreur inattendue est survenue. RΓ©essayez dans quelques secondes.',
message: 'Ressource setupintent inexistanteΒ : 'seti_1Q5RDUA69XfgDO9EolT9FoXM'',
type: 'invalid_request_error',
code: 'Failed' }

What have you already attempted?
the req id is. : req_8J7dAaebaLsE3o

What are you working on?
try to set a payment setup

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/object#invoice_object-period_start

Question
Wanting to get clarification - if I want to know if an invoice for a subscription is for the billed period between a certain date, which field do I look at?

What have you already attempted?
Reading the docs

What are you working on?
Custom stripe subscription integration

#

@deft scarab 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?platform=web&ui=stripe-hosted#create-checkout-session

Question
I asked just now about moving money between two connect accounts.

A connect account (manager company) receives money and then passes it on to one or more connect acocunts (employees).

I wanted to do isolated things. And focus with movement between connects accounts. Is there a way to move money between two connect accounts?

What have you already attempted?
Error on making payment between accounts: Cannot create transfers between connected accounts. If you're trying to debit a Connected account then you can learn more here https://stripe.com/docs/connect/account-debits.

#

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

Question
I'm using Stripe's Payment Element in my Angular app. I understand that some errors, like field validation errors (invalid_number, incomplete_expiry, etc.), are automatically handled and displayed by the Payment Element itself. However, other errors, such as authentication failures (authentication_required, payment_intent_authentication_failure), need to be handled manually. For example, card_error can sometimes be displayed by the Payment Element but may also require manual handling. How can I separate these errors to ensure the ones managed by the Payment Element aren't processed again in my error handler, while still handling the remaining errors?

Doc/Guide Links
https://docs.stripe.com/error-handling

What are you working on?
Implementing payment elements component

cursive heronBOT
#

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

Question
Is connect.js (for stripe connect) available via CDN ?

Related Request ID(s)
https://docs.stripe.com/connect/get-started-connect-embedded-components?client=js

What have you already attempted?
I'm working with a custom PHP "framework" and the frontend is basicaly php files so I don't have any bundler to import npm modules.

What are you working on?
Working on a plateform that uses stripe connect with express connected accounts

#

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

Code
$paymentIntent = PaymentIntent::create([
'amount' => 1000, // Amount in cents
'currency' => 'usd',
'payment_method' => $user->default_payment_method, // Get this from your user data
'automatic_payment_methods' => [
'enabled' => true,
'allow_redirects' => 'never', // Set to 'never' to avoid redirects
],

Question
How to attach customer paymentMethod default for every automatic capture payment

What have you already attempted?
The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first.

cursive heronBOT
#

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

Question
I want to migrate active subscription from a different system to Stripe billing. These subscriptions are already active, how can I bring these across using API and ensure that stripe does not bill the customer for the current billing period that the customer has already paid for?
In Stripe I want the status of these subscription to be ACTIVE.
If I pass a customer trial_end date for the current billing period then if I modify the quantity of an item in the subscription and want it to bill immediately, then it doesn't raise an invoice immediately, I want it to raise that invoice immediately

Related Request ID(s)
123

What have you already attempted?
We're tried to migrate an active subscriptions and for the current billing period of that subscription we set the trial_end
parameter to set the trial period to end after the current billing cycle. While this created an ACTIVE subscription, if we then do any chances to the subscription i.e. increase the quantity of a product and select prorate and Invoice IMMEDIATELY, Stripe doesn't immediately rise the invoice for this change. We need it to invoice immediately. How can we achieve this?

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/connect/oauth-reference#redirect-uri

Question
Is there any way to allow connect OAuth flow to redirect to all subdomain of an application without setting them up in platform settings?

What have you already attempted?
I already tried to use wildcard on the subdomain part of the url but it didn't work.

What are you working on?
I am trying to build an application that will allow separate subdomain for each of our paying customer. But we want to let them connect their stripe account for payout.

#

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

Question
Hello, we are creating a platform that allows users to create coaching courses for other users to purchase.

The platform also has a subscription necessary to be able to create these coaching courses.

We want to allow coaches to make their course prices and times, etc. on their own and we will store that in our database and showcase those to the other users.

When a user selects a coach's course, THEN want to create a Stripe payment dynamically from the course data which should be a payment directly from the player to the coach.

What is the best way to create/execute that user -> coach payment?

Doc/Guide Links
https://stripe.com/payments/checkout
https://stripe.com/connect

What are you working on?
A social platform where players can talk and post and also find coaches and their courses to buy.

#

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

Code
const result = await stripe.confirmPayment({
elements: this.elements,
clientSecret,
confirmParams: {
return_url: `${window.location.origin}/thankyou`,
},
redirect: 'if_required',
});
if (result.error) {
this.handleError(result.error);
}

Question
I’m trying to solve an issue related to error handling in Stripe because some errors are automatically handled and displayed by the Payment Element (e.g., formatted messages in the component itself), while others are not. For these, a different approach is required. I’m trying to identify which errors need special handling, but I can’t find specific documentation on this and didn’t get a clear answer in Best Practices. Is there any way to manage this, or documentation that co

What have you already attempted?
I've tested various types of errors using Stripe’s test cards, but there are so many error codes that it’s impossible to distinguish between them clearly. I can’t figure out which errors need to be handled manually and which are automatically displayed by the Payment Element. It’s becoming challenging to filter them correctly.

What are you working on?
Implementing payment elements.

cursive heronBOT
#

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

Question
My client has requested that when a subscription is in an overdue state, we do not give them their subscription entitlements (essentially treat them as a free user) until their subscription is current.

However, without changing the anchor, that means when they become current, there was a portion of their current cycle that they wouldn't have received entitlements which isn't fair.

So I know that I should now adjust the billing anchor so effectively their cycle is considered be starting NOW()

But if I change their billing_cycle_achor to effectively be NOW() mid-cycle, will that cause any issues with partial prorations, etc?

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

What are you working on?
task management app

#

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

Question
I'm using Flutterflow. I'd like to add a custom actoin (Dart) to call Stripe to open the payment Sheet to then confirm the card details. I cannot use the Flutterflow out-of-the-box integration because I want my payment to be authorized only (and then captured at a later point).

I'm deploying my Flutter app as Web, not mobile.

When calling initPaymentSheet, I get an error that it isn't supported. What's the advise to do something like what I want to achieve? Taking payment method but not charging the customer until the payment is captured.

Related Request ID(s)
N/A

What have you already attempted?
My developer is using flutter_stripe_web but this is not supported.

What are you working on?
Marketplace

#

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

Question
Is there a way to change the value of a price based on if the user selects to pay by Credit Card or ACH? (Essentially, I want to adjust price to add a few dollars if folks are paying by Credit Card).

Related Request ID(s)
API

What have you already attempted?
N/A

#

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

Question
Do all webhook requests for Connected Accounts happen on event base or are there also daily cycles that may send a burst of webhook events all at once? We are trying to identify cases where data gets out of sync when accounts get updates for example indicating their payouts are disabled.

Related Request ID(s)
none

What have you already attempted?
We have a reconciliation script to check manually

cursive heronBOT
#

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

Question
Stripe 'rak_accounts_kyc_basic_read' permission error

Related Request ID(s)
{ "error": { "message": "The provided key 'rk_live_*********************************************************************************************felrJg' does not have the required permissions for

What have you already attempted?
Used WHMCS App to generate rk_live*** key to replace sk_live*** key

What are you working on?
WHMCS Billing

#

@pliant lark 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/i-cant-find-the-micro-deposit-verification-code-in-my-bank-statement-descriptor-what-should-i-do

Question
Stripe automatically sends a single deposit in order to verify accounts, but I want the default behavior to be sending two micro deposits

in this article it seems as though the failure of the verification code is the way to cause two micro-deposits verification

What have you already attempted?
I added a bank account PaymentMethod using SetupIntent API and I wish to verify it with two micro deposits, instead of the one verification code
so far Stripe sent me only one micro deposit

What are you working on?
an updated way to collect the payment methods of my customers using setupIntent and PaymentMethod, instead of PaymentSource

cursive heronBOT
#

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

Code
https://github.com/Arbazkhan04/shovelhouse_backend_production/blob/main/controller/Stipe-Connect-Controller.js

here is my backend code

https://github.com/Arbazkhan04/shovel-house/blob/main/pwa/src/Shoveller/components/stripeOnboarding.jsx

here is my front end code

Question
i am using stripe connect for the shvoller account. Shoveller will connect their account with our platforms. i have setup stripe connect onboarding setup for the shovellers.

so the issue is when they connect their accounts the changes are disabled in my database but i check stripe dashbaord for connect account i can see their charges are enabled.

What have you already attempted?
i used chatgpt

What are you working on?
i ma building platform where houseonwer post the job and shoveller will apply on that job.

#

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

Question
I am attempting to connect to a terminal for one of our connected accounts however I am getting the error message no such terminal exists.
The client for testing purposes set up the terminal in their own dashboard.
This makes me think that if the client sets up the terminal and location we as the platform wont have access to connect and run charges through it for them?

Related Request ID(s)
req_EJxG4KmL8beUlG

What have you already attempted?
I looked up the id and entered it manually to make sure I was attempting to connect to the correct one I also tried searching for readers and found none.

What are you working on?
forms tool that will allow swiping using a server integration for connected accounts

cursive heronBOT
#

@ember jackal 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-br/connect/pricing

Question
I'm using Stripe Connect to understand the fees on cross-border payments.

I tested a payment (test mode) from USD to GBP on the amount of $102.84 USD and the only fee take from Stripe was 0.82USD on the sender side.

The received then received 102.02 USD that was converted to 76.10 GBP, but no currency conversion fee was deducted.

But according to the stripe docs, it should have at least 1% fee for currency conversion

What have you already attempted?
This is explained above and I can send screenshots

What are you working on?
Stripe connect

#

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

Code
```
<ExpressCheckoutElement
onConfirm={(
event: StripeExpressCheckoutElementConfirmEvent
) => handleCheckoutElementConfirm(event)
/>

```

Question
I am trying to render the express checkout element using stripe elements, I have initialized the elements provider correctly and setup the apple pay vendors as well as google pay.

However when I try to render the element on the frontend, nothing is displayed and we get a lot of net::ERR_BLOCKED_BY_CLIENT..

I am running this code with dev credentials and within a dev environment. What are common issues that block the element from rendering?

What have you already attempted?
We have enabled the vendor payment methods on the stripe dashboards.

Verified Apple pay merchant data.

Initialized the stripe elements with a clientSecret (using SetupIntent).

Rendered the ExpressCheckoutElement.

What are you working on?
Am building a frontend payment methods page that allows users to add a pay with Apple and Google pay express checkout option

#

@cyan basin 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/pricing

Question
Hello,

I am trying to understand the difference between ACH and "USD Bank Transfer" pricing on this page. Specifically, I'm looking for answers to the following questions:
* Can we select between the two on a per transaciton basis?

* Can we select between the two based on a user's country?

* Is the USD Bank transfer akin to a "wire" payment?

* For a $100 USD Bank Transfer transaction, would it cost $15.50 in fees (0.5% + $15 flat rate)?

* Is the 1.2% fee for two-day ACH's uncapped?

What have you already attempted?
N/A

What are you working on?
A python based checkout system

#

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

Code
invalid_request_error

Question
I'm trying to update a CONNECTED account using Stripe CLI, but I'm receiving an error:

stripe accounts update acct_1MVzpWFg4xATUH1I --live -d "capabilities[card_payments][requested]"=true -d "capabilities[transfers][requested]"=true
{
"error": {
"message": "This application is not authorized to edit this account.",
"request_log_url": "https://dashboard.stripe.com/acct_1MVzpWFg4xATUH1I/logs/req_cjyoBc125Bri8m?t=1727884881",
"type": "invalid_request_error"

What have you already attempted?
- I see that it's because the update is run as the connected account, but it should run it as the platform account.

- I tried adding --stripe-account but I get the same error.

- Queries are working: I tested `stripe accounts retrieve --stripe-account acct_1MVzpWFg4xATUH1I --live
{
"id": "acct_1MVzpWFg4xATUH1I",`

and it works properly

#

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

Question
Collecting tax just stopped working and I can't figure out why for the life of me. Please help

```
const session = await stripeClient.checkout.sessions.create({
client_reference_id: clientReferenceId,
success_url: successUrl,
cancel_url: cancelUrl,
line_items: items,
customer: customerId,
automatic_tax: {
enabled: true,
},
customer_update: {
address: "auto",
},
mode: "subscription",
});
return response.send({ success: true, session });
```

Related Request ID(s)
???

What have you already attempted?
Went through Stripe tax setup again, and no change.

What are you working on?
Subscriptions

#

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

What did you expect to happen?
A failure on creating a paymentMethod but instead a received the payment method id, i was expecting a failure in the front end instead of wait to fail at the moment of creating the payment intent. This is using the test credit cards that stripe provides for testing.

What actually happened?
it doesn't fail. Return the payment method id. It failed only when trying to create the payment intent.

Reproduction Steps

  1. create a payment method with elements.
  2. insert a failure test card (4000000000000002)

return this.stripe
.createPaymentMethod({
type: 'card',
card: this.card,
billing_details
})

Question
Is there a specific card test to test a failure payment method? or a way to check if the card do not have errors? to avoid the creation of the payment method id before sending the request

#

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

Code
final PaymentIntentCreateParams.Builder paramsBuilder = PaymentIntentCreateParams.builder()
.setCustomer(customer.getId())
.setCaptureMethod(captureMethod)
.setAmount(StripeNumbersUtils.amountInCents(request.total()))
.setCurrency("usd")
.setConfirm(true)
.setConfirmationToken(request.confirmationToken())
.setPaymentMethodOptions(PaymentIntentCreateParams.PaymentMethodOptions.builder()
.setUsBankAccount(usBankAccountOptions)

Question
When creating and confirming a PaymentIntent on the server we received this error:
Payment method data is not allowed when payment_method_options[us_bank_account][verification_method]=instant is used.; code: payment_method_invalid_parameter; request-id: req_mtLnZqHL59pFlP

What have you already attempted?
Everything else works OK. Both card payments and some other us_bank_account payments

What are you working on?
We are working on implementing payments using PaymentElements in the FE, a confirmation token, and creating and confirming the PaymentIntent on the server.

cursive heronBOT
#

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

Code
prefill card data, how?

Question
So, it means that I would like to create a landing page and create a form on it for entering cards (not payments, but only water). Then, by clicking the "submit" button, the user goes to the Stripe payment page, but he should already have filled in the card details that he filled out on my landing page. How can we organize a pre-fill?

What have you already attempted?
HELP, I HAVE IDEA

#

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

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

Question
Question about subscription lifecycle.

I have a 30 day free trial with credit card required. When the 30 days is up, if the payment fails, does the subscription move into status "past_due" and Stripe begins emailing the customer with Smart Retries (which I have enabled)? Or does the subscription move into status "incomplete" -- in this case what happens next?

What have you already attempted?
Could not find this info in https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
A SaaS app with a simple subscription and 30 day free trial

#

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

Question
Already had a question here: https://discord.com/channels/841573134531821608/1290976535238672406 follow-up question: I'd like to use "Usage Billing" for subscriptions. I was wondering if I can do this: 1. Implement the `invoice.upcoming` webhook 2. then, before the subscription will get charged I set the value for the usage. 3. Then, the subscription gets charged with the value I've provided in the previous step. I have to add the usage value _just right before_ the amount gets charged due to limitations with the Facebook API.

Related Event ID(s)
invoice.upcoming

What have you already attempted?
I've read the webhook docs but I'm still not sure if this would work as planned.

What are you working on?
SaaS for publishing Facebook ads

cursive heronBOT
#

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

Question
Is it possible to recreate the configuration of the test api key in the custom payment flow example (https://docs.stripe.com/payments/quickstart?lang=go). I found that this key allows the Apple Pay button to show up when run on localhost when the server is configured securely and would like to configure my account key to work the same way.

Related Request ID(s)
n/a

What have you already attempted?
I tried to add localhost to the test environment accepted domain but it still tries to verify the domain. The Apple documentation says that sandbox accounts don't require verification so I feel it shouldn't be required in the test account.

What are you working on?
Testing Apple Pay in a local environment.

#

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

Question
If I change the value of an entitlement for a product and the product has 1000s of subscriptions, will I get 1000s of events in this case

Related Event ID(s)
n/a

What have you already attempted?
I am evaluating for my service.

cursive heronBOT
#

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

Code
stripe apps upload

Upload completes successfully from CLI.

Question
When viewing the application on apps, we see the following error after the upload has been processed:

"Something went wrong on our end and we were unable to complete this upload. Please re-upload from the CLI."

Stripe logs show 200s for POST /v1/tailor/app_build_version and POST /v1/files.

Is there any way for us to debug what the cause of the error is?

What have you already attempted?
- Updated stripe CLI
- Updated stripe apps CLI plugin
- Log out and log back into stripe CLI

What are you working on?
Trying to upload a Stripe App for testing. Initially would like to upload as a private version for QA'ing before publishing the application for public use.

cursive heronBOT
#

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

Question
Hello, good afternoon
I am from the Omnilife company and we are in the process of implementing a new tool to make payments from an IVR and we get the following error:

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.

Related Request ID(s)
Look in Dashboard > Developers

What have you already attempted?
Adjust api restrictions but it hasn't worked

What are you working on?
Api configuration

cursive heronBOT
#

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

Code
useEffect(() => {
if (!stripe || !elements) {
console.log("cc- Stripe or elements not initialized");
return;
}
// Use `elements.getElement` to access the elements directly
const cardNumber = elements.getElement(CardNumberElement);
if (!cardNumber) {
console.log("cc- CardNumberElement not found");
return;
}
cardNumber.on('ready', () => {
console.log("Ready");

Question
I want to be able to listen for when any of these Stripe elements are ready "CardNumberElement, CardExpiryElement, CardCvcElement".

What have you already attempted?
Attempted to do onReady

What are you working on?
Working on a next js project

#

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

Code
class StripeController extends Controller
{
public function checkout(Request $request): RedirectResponse
{
// create the subcription or the charge for set-up fee
// redirect to stripe.com checkout form
}
public function success(Request $request): RedirectResponse
{
// add CC processing fee if applicable
// redirect to success page
}
}

Question
Our business logic is to charge the customer for a set-up fee then charge them a flat rate subscription monthly and credit card fee, if applicable, starting the 1st of next month. (The set-up fee is the same amount as the monthly subscription)

What have you already attempted?
How do I do this using the checkout page? I'm using the PHP SDK with Laravel Cashier.

I've tried doing this by having the customer checkout with the set-up product then adding the subscriptions to the customer after they've paid, but when I try to add the subscriptions, I couldn't because the default payment method wasn't set and I couldn't figure out how to acquire it from the session that's returned.

I've also tried to have the customer checkout with the subscription, but

What are you working on?
SAAS website

#

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

What did you expect to happen?
The customer should be able to switch their subscription in the customer portal, as other customers can do without issues.

What actually happened?
The customer with ID cus_QnJRLSb4cl6UXl is not able to switch their subscription in the customer portal, despite having an active subscription that is included in the customer portal products.

Reproduction Steps

  1. Log in to the customer portal as customer cus_QnJRLSb4cl6UXl
  2. Attempt to switch the subscription

Question
Why is this specific customer (cus_QnJRLSb4cl6UXl) unable to switch their subscription in the customer portal, while other customers can do so without issues?

What are you working on?
Implementing customer portal, so my users can upgrade or downgrade the current subscription

cursive heronBOT
#

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

Question
Once a setup intent gets a succeeded status it won't ever change to any other status besides "canceled" right? We can make an API call to cancel it.

Related Event ID(s)
evt_1Q5Z1rBYN9GHJYxlvgo9i2XB

What have you already attempted?
I've read the Stripe documentation. I presume our integration can just assume the setup intent is either succeeded or it isn't and once it is succeeded then it can never have a change of status unless we manually cancel it.

What are you working on?
A project that collects credit card details of off session use via the Stripe Elements PaymentElement

#

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

Question
i want our users to upload W9. i dont know how to get W9 statuses. we will have new,pending,invalid,verified status for W9 upload.
new: user has not upload w9 yet
pending: user has uploaded and it is in progress
invalid: user w9 is invalid
verified: user has valid w9 uploaded.

Related Event ID(s)
no id

What have you already attempted?
if (req.body.type === 'account.updated') {
const accountData: Stripe.Account = req.body.data.object;
const userHasVerifiedW9 = accountData.individual?.ssn_last_4_provided;

  if \(userHasVerifiedW9\) {
    // set verified
  } else {
    const currentRequirements = accountData.requirements.currently\_due;
    const currentErrors = accountData.requirements.errors;
    const w9RequiredField = 'individual.ssn\_last\_4\_provided';

    const w9IsInDue = currentRequirements.some\(\(field\) =\> field === w9RequiredField\);

    const w9IsInError = currentErrors.some

What are you working on?
i am not sure whether we should check `individual.ssn_last_4_provided` to see Strip W9 status

cursive heronBOT
#

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

Question
What is the best way to collect a payment method for a customer to be used later?

Related Request ID(s)
n/a

What have you already attempted?
I'm looking through the documentation on how to do this, but not sure if I should use payment intent or if there is a different way that users the api only? or if I should use stripe.js?

What are you working on?
Trying to collect payment method for customer to be used later

#

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

Question
I would like to set up a checkout session with **multiple** upsell options for my subscriptions.
So I do have multiple prices for the same product (monthly, every 3 months, every 6 months and yearly) and I want to have a single checkout session in which the user is able to pick a package ("price") they would like among the four prices I offer.
Similar to a pricing table - but within a checkout session.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/upsells

What are you working on?
Building a premium discord service for online retailers.

#

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

Question
Hey, my goal is to use PayPal with Stripe Connect using destination charges. So I created a payment intent with automatic payment methods enabled and the transfer account. The payment element does not show PayPal as a payment method. And the Stripe dashboard shows that "The PayPal payment method does not support the current charge type." Am I missing something in the payment intent creation payload?

Related Request ID(s)
req_E8zGcT3n0xJYny

What have you already attempted?
PayPal is activated on the main account, payment domain is configured, and we are running in test mode

#

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

Question
I was checking on an Issue on our platform and I noticed a couple of events that weren't delivered to the webhook.

Related Event ID(s)
evt_1PwA5RFDzWEzE3i9vHz46nSO, evt_1Q5a23FDzWEzE3i9bcTU5df5

What have you already attempted?
I searched it on the Event Destination search feature and I didn't found them.

I sent the evt_1Q5a23FDzWEzE3i9bcTU5df5 event manually from the Stripe CLI just to test what was going on with that event.

cursive heronBOT
#

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

Question
How do you set `payment_behavior` for subscriptions when using Stripe Checkout (embedded)? I am using Go specfically.

My code looks something like:
```go
params := &stripe.CheckoutSessionParams{
UIMode: stripe.String("embedded"),
ReturnURL: stripe.String(returnUrl),
ClientReferenceID: stripe.String(userId),
CustomerEmail: stripe.String(authIdentity.Email),
LineItems: lineItems,
Mode: stripe.String(string(checkoutMode)),
}
```

Related Request ID(s)
N/A

What have you already attempted?
Looking at the Stripe checkout and subscription docs. Looking at the stripe-go library, specifically `checkout_session.go`.

#

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

Question
I'm using the stripe java SDK to create a tipping configuration for stripe terminals. Creating the list of percentages is easy but I can't figure out how to clear the list to disable tipping.

Related Request ID(s)
req_JQuhjHUSP46NaE

What have you already attempted?
I've tried setting `Usd` to `null` and an empty list. Setting it to empty list returned this error

```You passed an empty string for 'tipping[usd][percentages]'. We assume empty values are an attempt to unset a parameter; however 'tipping[usd][percentages]' cannot be unset. You should remove 'tipping[usd][percentages]'```

I tried creating a Tipping config without setting Usd and that didn't seem to update the configuration even though it effectively sent a map of `tipping: {}`

cursive heronBOT
#

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

Question
Stripe Webhook is not creating Stripe Event records in Salesforce, we're currently using Stripe Universal Connector

Related Event ID(s)
evt_3Q5ckYD2CzZDU24j1EMUUbDe

What have you already attempted?
I tried manually clicking Resend but still encountered error 500

What are you working on?
I am testing this functionality wherein I used Postman to create PaymentIntent and then let the webhook creates a Stripe Event record in Salesforce

cursive heronBOT
#

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

Question
Are retention coupons available i billing portal configurations? I only see them under billing portal sessions API but the Dashboard UI does have an option to configure multiple retention coupons under billing portal / cancellation

Related Request ID(s)
n/a

What have you already attempted?
Set up custom billing portal links: https://docs.stripe.com/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-products

What are you working on?
custom billing portals for multiple products

cursive heronBOT
#

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

Question
When a customer has a SEPA debit payment method. What status does the subscription have BEFORE the payment goes through ?

Related Request ID(s)
none

What have you already attempted?
no

What are you working on?
accepting debit payment

cursive heronBOT
#

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

Question
Blocking customer Debit Cards, Not releasing Holds

Related Request ID(s)
Orakaro

What have you already attempted?
Contact Support, They stated they do not deal with clients.

What are you working on?
Making purchase from Stripe

#

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

What did you expect to happen?
Updated 15.8 to 15.9, expected code to run as normal.

What actually happened?
On turbo run dev with no other dependencies changed, updating to 15.9 causes build to hang indefinitely.

Reproduction Steps
client:generate: 🍻 Start orval v6.17.0 - A swagger client generator for typescript
[Client hangs.]

Question
Were any dependencies changed/have any other breaking API changes been noticed by those upgrading to 15.9?

cursive heronBOT
#

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

Code
Which API should I use to validate credit card from my form?

Question
Which API should I use to validate credit card from my form?

What have you already attempted?
Which API should I use to validate credit card from my form?

cursive heronBOT
#

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

Code
$paymentIntent = PaymentIntent::create([
'amount' => 1000, // Amount in cents
'currency' => 'usd',
'payment_method' => $paymentMethod->id,
'customer' => $user->stripe_customer_id, // Get this from your user data
'automatic_payment_methods' => [
'enabled' => true,
'allow_redirects' => 'never', // Prevent redirects
],
]);

Question
1st time i'm save customer id and create setupintent and save payment method id when i try to create paymentintent multiple times to capture amount automatically it show 3d secure attempt incomplete how can fix this

What have you already attempted?
3D Secure attempt incomplete
The cardholder began 3D Secure authentication but has not completed it.

cursive heronBOT
cursive heronBOT
#

@potent idol 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_payment_element#payment_element_create-options-fields

Question
If I want to hide the Country field in the PaymentElement. Do I need to set the default return value as I heard Country is a field required by Checkout. If I set a default, what will happen when User enter a credit card not from the default.

What have you already attempted?
Nothing yet

#

@modest hill 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/embedded-onboarding

Question
How can i skip the information filling form for a account in embedded onboarding?

What have you already attempted?
I tried to fill the information but i was unable to provide any website url.

What are you working on?
I want to test embedded onboarding with the new account but everytime i have to create new test account with proper details so is there any other way to skip this form?

cursive heronBOT
#

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

What did you expect to happen?
When using a first time order only coupon, I expect the code for each customer only works the first time

What actually happened?
customers can use first time order only coupons multiple times

Reproduction Steps
in the Backend, using stripe's php sdk, I search for a customer (by email) if exists I get the customer id, if not I create one.
using the customer id and other order info I build all the session parameters and create a checkout session. then send the client secret key from that session to the web application.

Question
The code was working until yesterday evening where it stoped working! how can I fix this problem?

#

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

Question
When i am hit all invoice API getting 'receipt_number' is null but when i am download the 'hosted_invoice_URL' then got the receipt_number

Related Request ID(s)
Dashboard -> Testing - > Transaction - 1095

What have you already attempted?
const params = {
limit: query.limit,
status: "paid",
created: {
gte: query.createdStart, // Start of the date range (timestamp)
lte: query.createdEnd // End of the date range (timestamp)
}
};

        if \(lastSubscriptionInvoiceId\) {
            params.starting\_after = lastSubscriptionInvoiceId;
        }

        const susbcriptionInvoice = await stripe.invoices.list\(params\);
cursive heronBOT
#

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

Code
$customer = Customer::create([
'email' => $user->email,
]);

Question
Can you show me the example address for create customer test account 4000 0000 0000 3220

What have you already attempted?
I got card declined error

#

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

Question
If the discount is valid for two months why does the discount object have an end date of the current month

Related Request ID(s)
req_E1LwkFWYmYSQpJ

What have you already attempted?
Tried to use preview-next-invoice but no use

cursive heronBOT
#

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

Code
invalid_request_error

Question
I'm trying to update a CONNECTED account using Stripe CLI, but I'm receiving an error:

stripe accounts update acct_1MVzpWFg4xATUH1I --live -d "capabilities[card_payments][requested]"=true -d "capabilities[transfers][requested]"=true
{
"error": {
"message": "This application is not authorized to edit this account.",
"request_log_url": "https://dashboard.stripe.com/acct_1MVzpWFg4xATUH1I/logs/req_cjyoBc125Bri8m?t=1727884881",
"type": "invalid_request_error"

What have you already attempted?
- I tried the workbench CLI

- I see that it's because the update is run as the connected account, but it should run it as the platform account.

- I tried adding --stripe-account but I get the same error.

- Queries are working: I tested `stripe accounts retrieve --stripe-account acct_1MVzpWFg4xATUH1I --live
{
"id": "acct_1MVzpWFg4xATUH1I",`

and it works properly

cursive heronBOT
#

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

Question
"I’m working on integrating InComm gift cards with Stripe payments in a PHP and WordPress setup. Has anyone implemented something similar before, and are there any specific challenges or best practices I should be aware of?

Also, what’s the best way to manage gift card balances when integrating InComm with Stripe? I'm considering using PayPal as an alternative payment gateway instead of Stripeβ€”does anyone have experience with this, and are there other tools or services that work well together for such implementations?

Related Request ID(s)
NA

What have you already attempted?
Tried to login with InComm but its not worked and have account of Stripe

#

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

Code
<ExpressCheckoutElement
onConfirm={(
event: StripeExpressCheckoutElementConfirmEvent
) => handleExpressElementConfirm(event)
/>

Question
I have initialized the express checkout element with a setup intent clientSecret, what is the correct "type" in the options parameter to use such that the payment doesn't go through immediately. The reason why we use setup intent is so we don't charge the user straight away.

What have you already attempted?
We render the ExpressCheckoutElement with a Elements provider and a client secret value from a SetupIntent tied to the customer id.

What are you working on?
A payment methods page that allows users to create payment methods for plans without being charged immediately.

#

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

Question
Hi, is it possible to detect that card is a prepaid card if I don’t have a Radar?

Related Request ID(s)
Prepaid cards

What have you already attempted?
I try to detect CardNumber value on client side, but int's not possible (sensitive data)

#

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

Code
Asking for a follow up on an issue with stripe react native 3DS on android - https://github.com/stripe/stripe-react-native/issues/1738

Question
Is there any update on this issue? I flagged to support on here and they confirmed they could replicate but haven't heard any word on the ticket or otherwise and it's blocking an important app release.

What have you already attempted?
I've tried with different versions of react native with no joy.

What are you working on?
I'm building an app for a client that uses stripe for payments & subscriptions.

cursive heronBOT
#

@modest hill 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/design-an-integration?connect-onboarding-surface=embedded&connect-dashboard-type=none&connect-economic-model=buy-rate&connect-loss-liability-owner=stripe&connect-charge

Question
I'm unable to new account in my connected account after following steps

What have you already attempted?
I have passed the body as per requirements

What are you working on?
I want to create connected accounts without their dashboard basically custom account using embedded integration

#

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

Question
I want to know whether for a stripe accountId, us_bank_account is a valid payment method or not, how do i get it ? I don't want to use the pmc route, any api for this please suggest.

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
Accept payments via stripe

cursive heronBOT
cursive heronBOT
#

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

What did you expect to happen?
Hello someone called our api. which update card number and someone hiting /v1/token api

What actually happened?
So we got email we are sending card details in api

Reproduction Steps
We will need to check on stripe

Question
How can we find what is happed

#

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

Code
public async Task<SubscriptionCreateResponse> MakeMonthlyPayment(StripePaymentRequestViewModel stripePaymentRequestViewModel,
StripePaymentConfigurationViewModel paymentConfiguration)
{
StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;

    var requestOptions = new RequestOptions
    {
        StripeAccount = stripePaymentRequestViewModel.AccountKey
    };
    var options = new CustomerCreateOptions
    {
        Name = str

Question
what if customer card get expired during recurring monhts

What have you already attempted?
nothing

#

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

Code
$paymentIntent = PaymentIntent::retrieve($booking->payment_intent_id);
$paymentIntent->capture();

Question
How can capture different amount

What have you already attempted?
I can't capture extra amount which was already store specific amount

#

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

Question
Since today's morning our E2E tests are failing on checking whether we got notified about invoice creation. Usually that took no longer than 30 s from subscription creation to invoice.finalized event. But now it takes more than 10 min.
It is connected to Test mode env.

Related Event ID(s)
evt_1Q5l1nAFxlGPwjh5Cuc1Fa16 sub creation, invoice finalization evt_1Q5lAAAFxlGPwjh5B3tHZuy8

What have you already attempted?
We retried runs couple of times, also trying running it locally and sometimes it was passing and finalizing the invoice within 30s or so but sometimes it took way more than 10min

What are you working on?
E2E tests for purchasing subscriptions for online products

#

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

What did you expect to happen?
A Stripe Connect Payment Intent with application fee should be created and captured

What actually happened?
I've got an error saying that "Stripe doesn't currently support application fees for platforms in US with connected accounts in MY.".

Reproduction Steps
* Create account in US
* Created Stripe Connect account in Malaysia
* Try to make a Payment via creating PaymentIntent with application fee

Question
Is there a list of countries, other than Malaysia that have similar restriction ?

#

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

Code
var paymentMethod = await _paymentMethodService.GetAsync(paymentMethodId);

Question
The code bit in question appears to sometimes not fail (throw an error) but instead return an error object. We use paymentMethod.StripeResponse.Content string elsewhere to deserialize into a dto, but instead get Stripe.StripeException, Stripe.net. This happened in prod, during successful setup intent confirmation (pm_1Q5jKH069X7Ht4l1io8YMwF4/seti_1Q5jJo069X7Ht4l1Ey2eOi9p)
(.NET, using Stripe.Net)

What have you already attempted?
We tried to reproduce the issue locally, however we could not reproduce the actual issue (in our case, if GetAsync fails, it throws an error that can be caught)

cursive heronBOT
#

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

Question
I hdave a Jobs schema where multiple users apply on a job and get paid. however during payout webhooks event payout.paid, I recieve the stripeAccount id. i can use this account id to look for the user in my database. but the problem is that i get a list of jobs using this user id, there should be a way to get the exact job which is getting paid, something like a stripe session id or something since i am storing a stripe session id in my jobs schema.

Related Event ID(s)
none

What have you already attempted?
we tried to get the account id but we are not able to find the exact job which is getting paid since a user can have multiple jobs at a time.

What are you working on?
i am making a marketplace where a house owner posts a job and shoveler accepts and does the job for them and get paid. we are using stripe oauth connect on boarding for the shoveler.

cursive heronBOT
#

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

Code
createdCard = await stripe.issuing.cards.create(
{
cardholder: cardholderId,
currency: "usd",
type: "virtual",
status: "active",
metadata: { cardName },
spending_controls: {
spending_limits:
limits.length > 0 ? limits : (null as unknown as undefined),
},
},
{ stripeAccount: StripeAccountId },
);

Question
I am trying to create issuing-only cards. However, I get this error: "The financial account id must be specified."

I'd like to mention that our account is currently configured for Treasury + Issuing. However, we're switching to Issuing only and AFAIK this is in process.

Does creating cards without a financial account id not work on our account right now because we still have Treasury enabled?

What have you already attempted?
-

What are you working on?
Cards product with Issuing, previously we had a full fletched banking solution

cursive heronBOT
#

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

Question
How to determine if a dispute was refuted for a dispute closed ?

Related Event ID(s)
charge.dispute.closed

What have you already attempted?
Some of the events may include previous attributes that contains the previous status. If it was under_review then it was refuted but not all events seems to contains this property. I was wondering if we could rely on the evidence for that ?

What are you working on?
I'd like to create applicative metrics based on the flow of the dispute and break it down in three categories : not_contested, contested_won and contested_lost

#

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

What did you expect to happen?
Address validation on stripe elements to show incorrect address.

What actually happened?
Stripe internal api returns OK but nothing happens

Reproduction Steps
Using stripe card setup with address fields, fill all data except for address. Into address field type 1-2 characters. Submit form -> nothing happens.

Question
How can I force stripe elements form to not hang in case that address is not correctly filed?

cursive heronBOT
#

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

Question
Promotion Code Registers as Not There Despite Being In Database

Related Request ID(s)
(see below)

What have you already attempted?
Using discounts: [{ promotion_code: maybePromotionCode.code }] to generate promotion codes. My code is Test123 (promo_1O4xVcEk6sr5GyDh6WYpzO44) and when I submit, I get an error ("message": "This payment failed to process.",
"name": "STRIPE_ERROR",
"error": "Error: No such promotion code: 'Test123'",
"correlationId": "e77f1042-ff8d-4e79-aa46-1ec00f409d17"
}.

What's going wrong here... ?

#

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

Question
How to replace customer support email in stripe emails with url to contact form?

Related Request ID(s)
NA

What have you already attempted?
Remove customer email from "/settings/update/public/support-details" not possible.

#

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

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

Question
Why don't you migrated failed/consumed SEPA Direct debit sources? Is there a way to migrate them as well?

What have you already attempted?
We currently working on the migration guide you provided to us for migrating SEPA direct debit sources to payment methods. In our DB there are 2785 sources, but in the file that you provided there are 2719, so 66 were missing. It turned out that these are failed or consumed Sources. But we need them migrated as well for historical reasons - we have products already purchased with them.

#

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

Question
Hi, I'm using Report api, and this afternoon it can takes 1 hour + to generate one. Have you any issues ? past week I was able to generate it in few seconds
current pending one : frr_1Q5ouBFq1BiPgN2KfGwTdY96

Related Request ID(s)
-

What have you already attempted?
wait

What are you working on?
acocunting

#

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

Question
When I have a Link authenticate user in session and create a PaymentElement with a SetupIntent + Customer Session. It refuses to use the payment methods from the customer and instead always generate a new payment method with type link.

Related Request ID(s)
req_GGIaBlJ4nXuxmn

What have you already attempted?
Several things.

What are you working on?
Integrating stripe on my checkout flow

#

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

Question
I want to report usage to a meter as told by a Stripe employee. I wanted to use this API `const meterEvent = await stripe.v2.billing.meterEvents.create`, however the docs say `You can’t call API v2 endpoints in test mode; however, you can call API v2 endpoints in sandboxes and live mode accounts.`. I'd like to report usage while being in test mode. I was wondering if there is another API endpoint that I could use? For example, I found this one `stripe.subscriptionItems.createUsageRecord`. Can I use this one instead?

Related Request ID(s)
None

What have you already attempted?
Read the docs

What are you working on?
SaaS for publishing Facebook ads

cursive heronBOT
#

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

Code
if (isPaymentIntentFlow) {
elements.update({
mode: 'payment',
paymentMethodTypes: ['card'],
amount: formatPlatformPayPrice(amount),
});
} else {
elements.update({
mode: 'setup',
});
}

Question
payment doesn't go through from time to time.

I'm using this flow:
https://docs.stripe.com/payments/accept-a-payment-deferred

What have you already attempted?
I followed the documentation, but sometimes I see this error:
"Payment details were collected through Stripe Elements in 'setup' mode and cannot be confirmed with a Payment Intent

What are you working on?
rebulding my checkout form

#

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

Code
this.elements = stripe.elements({
mode: 'payment',
amount: totalAmount,
currency: 'eur',
locale: 'en',
paymentMethodTypes: ['card', 'apple_pay', 'google_pay']
});

Question
How can i ensure that apple pay and google pay will show when well configured and even thats not configured in paymentMethodTypes?
Until now, and after read your docs, i still can understand what should be done to only have specific methods as card, google_pay and apple_pay without errors!

What have you already attempted?
i have tried with apple pay and google pay but i always get errors, and i want to be sure that this 2 methods will be shown!

What are you working on?
Implementing payment elements only with card, apple pay, and google pay.

#

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

Question
Can we connect the general transactions of a user?

Related Request ID(s)
acct_1Oh0tgF6Gkk6c638

What have you already attempted?
Stripe docs relatated to transactions.

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

#

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

Question
Hey there, I am using zapier to get new orders from shopify to stripe. What we need now: The bank transfer method, as schools are ordering our products and they have to pay via bank transfer themselves. Right now, everything is working fine - the data are imported correctly and the invoice is created. But now: Stripe has the problem that payment method bank transfer needs to be added manually. How can I fix this so Zapier can automatically find the draft invoice and add payment method: bank transfer to finalize invoice and send it to the customer?

Related Event ID(s)
Payment methods > Add bank transfer

What have you already attempted?
Asked support but they say we have to do it manually. It makes no sense.

What are you working on?
You can read above

#

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

Question
It doesn't seem like we're receiving the `reporting.report_type.updated` webhook.

Related Event ID(s)
n/a

What have you already attempted?
I've set up a webhook that listens to specific events, including the "reporting.report_type.updated" event, but specifically not "all events" as documented here: https://docs.stripe.com/reports/api?locale=en-GB#new-data-notifications

What are you working on?
Trying to automate running of payment reconciliation reports as data becomes available so that we can reconcile payouts in our system

#

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

Question
Hello there, I have a Platform account and multiple connected accounts. The platform account receive all the payments and transfert them to the connected accounts.

Is it possible to show information of the connected account in the customer receipt instead of the platform account ?

NB: We are using the Destination Charge.

Thanks a lot for your help!

Related Request ID(s)
-

What have you already attempted?
I tried to use the 'on_behalf_of' field but it doesn't do what I want on the receipts.

#

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

Question
Setting description field on transaction, such that when the merchant exports their transactions they can see this

Related Request ID(s)
NA

What have you already attempted?
We're setting the Description field to our internal OrderNumber for the Payment, but unsure of how to set the Transaction, as the merchant doesn't see the Payment Description in their report or the CSV export

What are you working on?
Eccomerce system, wanting to tie the Payments up with our OrderNumber to which they relate

cursive heronBOT
#

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

Question
We're having trouble managing subscription statuses on our end, because we are receiving webhook events for multiple subscriptions from stripe for a single customer - the customer failed payment on the first two attempts, then succeeded on the third, which created 3 separate subscriptions in the stripe dashboard. In our DB, we are only tracking a single subscription object, but now events from the failed ones are overriding the active status from the successful one.

What is the recommended best practice for managing state around multiple subscriptions in a case like this?

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

What are you working on?
webhook for provisioning subscriptions

#

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

Question
I'm working on an android clean architecture app.
i've followed the save and reuse card only android doc. to provide a way of registering payments methods card for my users.

But with this guide, we have a lot of boilerplate code for making a payment and some infrastructure oriented and domain oriented MUST be done in the application layer.

What i really wanted is :
Getting cards info, from my viewModel, call a usecase CreatePaymentMethod.
I want to be agnostic of Stripe.
Doesn't want to have a usecast PostStripeSetup intent in my domain layer. doesn't want to handle Stripe models in my domain layer.

What I ve done is I plugged on the Stripe Singleton and access repository

Doc/Guide Links
https://stripe.com/docs/payments/save-and-reuse-cards-only

What are you working on?
I'm working on a taxi booking application from France

#

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

Code
var paymentIntentOptions = new PaymentIntentCreateOptions
{
Amount = total,
Currency = invoice.Currency,
Customer = customerStripe.CustomerStripeId,
PaymentMethod = customerStripe.PaymentMethodId,
Confirm = true,
OffSession = true,
ReceiptEmail = invoice.EmailsInfo.Split(',')[0],
Metadata = new Dictionary<string, string>
{
{ "subtotal", invoice.Subtotal.ToString(CultureInfo.InvariantCulture) },
{ "tax", invoice

Question
How can I make a credit card transaction stay in a pending status and then move it to an approved or cancelled status?

What have you already attempted?
I am using a setupIntent to register the payment and then make the charges, however some cards I cannot register them due to stripe validations.

The problem is that I need to test when a payment is successful or cancelled, I have not been able to get it to stay in pending status and then simulate the approval.

#

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

Question
When creating a Connect account via API, we do receive some `account.updated` Connect events, with `charges_enabled` and `requirements` updates, but they are not always consistent.
Sometimes we receive none, and sometimes 1, 2 , 3 or even 4, with the exact same `previous_attributes` data but with different IDs, at the same time.
Is that an intended behavior?
Can this happen for other types of events and flows?

Related Event ID(s)
evt_1Q5qliPEcyiDfkNVpcelp75K, evt_1Q5qliPEcyiDfkNVqBt34XhF, evt_1Q5qliPEcyiDfkNVMGacE4dt, evt_1Q5qliPEcyiDfkNVPYccZidu

What have you already attempted?
The documentation (https://docs.stripe.com/webhooks#handle-duplicate-events) mentions events duplication, but it concerns the same event being sent several times.
In this case they are different ones, with different id, but with the same payload, all being delivered successfully and triggering our related business logic several times.

cursive heronBOT
#

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

Question
I am using a checkout session to create a new subscription (with subscription_data). I want to add a description that will show up on every invoice that will subsequently be generated for this subscription (as a memo or a footer). Is there a way to achieve this straight through the checkout session? If not, where should I achieve this in my webhook?

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

What are you working on?
Building a SAAS product

cursive heronBOT
#

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

Question
Is there a way to verify the payment method details from the payment element so that we can update the correct application fee and amount on the payment intent before confirming it when working with bacs direct debit?

Are we able to create a customer for a provided bacs payment method to the PaymentIntent before confirming it for future use?

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#create-the-paymentintent
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#create-ct

What are you working on?
We're in the process of migrating to the payment element, we're running into some issues with setting up a application fee and customer similar to our previous integration with the card element.

#

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

Code
return await this.stripe.paymentIntents.create({
customer: customerId,
payment_method: paymentMethodId,
confirm: autoConfirm,
setup_future_usage: savePaymentMethod ? 'off_session' : undefined,
// this setting allows for the payment methods in the dashboard to be used by default
automatic_payment_methods: { enabled: true, allow_redirects: 'always' },
amount: stripeAmount,
currency: 'usd',
metadata,
statement_descr

Question
We have a donation flow where people can give via card or ACH. They can give on a monthly (sub) or one-time (paymentIntent) cadence

The issue happens when trying to create the paymentIntent for an ACH payment type.

I see 1 of 2 errors:
1) If user is adding bank for the first time: The PaymentMethod provided (us_bank_account) is not allowed for this PaymentInt
2) customer already has a bank account: A bank account with that routing number and account number already exists

What have you already attempted?
I am just not sure if what we are using from Plaid's connection is an ACH account OR if it's a link of some sort.

What are you working on?
Donation flow for donor giving

#

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

Question
Hello, I have a few questions about receiving webhooks continuously.

Related Event ID(s)
Hello, I have a few questions about receiving webhooks continuously.

What have you already attempted?
Hello, I have a few questions about receiving webhooks continuously.

What are you working on?
Hello, I have a few questions about receiving webhooks continuously.

#

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

Code
// server side
```js
const subscription = await stripe.subscriptions.create({
customer: stripeCustomerId,
items: lineItems,
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' },
expand: ['latest_invoice.payment_intent'],
metadata: {
userId: user.id,
cartItems: JSON.stringify(cartItems.map((item) => item.id)),
},
});
```

Question
How can i use the `subscription.latest_invoice.payment_intent` to generate a stripe payment element?

What have you already attempted?
I will paste in a follow up message my client side code.

What are you working on?
Checking out subscription cart items.

#

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

Question
When I have a Link authenticate user in session and create a PaymentElement with a Customer Session. It refuses to use the payment methods from the customer and instead always generate a new payment method with type link.

Related Request ID(s)
no specific id

What have you already attempted?
tried to follow the steps in here https://docs.stripe.com/payments/accept-a-payment-deferred

#

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

Question
Is there any embedded stripe element for viewing a list of payment methods ?

Related Request ID(s)
n/a

What have you already attempted?
I'm looking through the docs, but I don't see any Stripe element that allows for this. Do I need to create the UI for this?

What are you working on?
Trying to show list of payment methods

cursive heronBOT
#

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

Code
apple_pay/sessions 400 response

Question
when using apple pay in stripe elements, after submitting the form, i see a 400 error from stripe: Could not create Apple Pay session

What have you already attempted?
i looked at all relevant documentation

What are you working on?
billing for our products

#

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

Code
const response = await this.stripe.paymentIntents
.capture(payment.externalId);

Question
I am using an AWS lambda function to make a request to stripe using the` stripe.capture` method and I am getting an error Error: Request aborted due to timeout being reached (80000ms).

The code works in my local environment without issue, using the same API key, however it fails when my lambda function makes a call.

What have you already attempted?
- I have tested locally.
- I ensured that my security groups can connect to external services by updating my outbound rules

What are you working on?
A service that captures payments after an auction

#

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

Question
Is there an API endpoint that will show me the financial issuer for a credit card payment? When I look up a customer in Stripe I can see in the Payment Method information the issuer, but it is not included in the Payment Method response

Related Request ID(s)
req_ldlWjHm6QWXuLB, req_p006qdwAWGh2CF

What have you already attempted?
I've reviewed API documentation and did test calls to the PaymentMethod endpoint, for my version of the API and most recent, and did not see any issuer information.

What are you working on?
A program to provide discounts when a certain issuer is utilized

cursive heronBOT
#

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

Code
await this.stripe.subscriptionSchedules.create({
customer: customerId,
start_date: 'now',
end_behavior: 'cancel',
phases: [
{
items: [
{
price: priceId,
quantity: 1,
},
],
iterations: installments,
collection_method: 'send_invoice',
invoice_settings: {
days_until_due: 1
...

Question
By using Stripe scheduled subscription API, Is there any way to make those invoices upcoming invoices to be issued/created 5 days before the actual billing cycle anchor date? Ex: 1st invoice Oct 3, month interval, instead of Nov 3, the next invoice would be on Oct 29 with a grace period of 5 days, and then, if this subscription gets past due, after 30 days with no payment, I would automatically cancel that subscription. Just wondering if there's any available built-in feature

What have you already attempted?
I tried to update the grace period through Stripe dashboard > settings > billing > invoices, but it says the max is 3 days

What are you working on?
Integration to fit enterprise plans under scheduled subscriptions, which will expire/be canceled as soon the iterations/payments have finished

#

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

Question
I am confused about the billing reason field on stripe invoice. I have an invoice "in_1Q5WX9Fgh02vnRc7F73Xu0kg" that has a failed payment. From logs it looks like this invoice is tied to account creation, but it is tagged with billing_reason = "subscription_update" inside this event evt_1Q5WXDFgh02vnRc7jU5rRUDD.

Related Request ID(s)
NA

What have you already attempted?
Looked through logs, checked official api documentation https://docs.stripe.com/api/invoices/object#invoice_object-billing_reason

What are you working on?
Invoice payment failure processing in our system. We have some downstream tasks to kick off based on invoice status that we get.

cursive heronBOT
#

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

Question
When using stripe express checkout Link button to complete a setup intent, it shows "$0.00" as the amount despite providing line items with greater than zero amounts. Also, at the end of the setup intent flow it shows "Payment Complete", despite the payment not even having been initialized yet.

Is there a way to resolve either of these issues

Related Request ID(s)
n/a

What have you already attempted?
I've read through all the docs for customizing the 1 click payment types, and we're successfully customizing apple pay to display as expected, but Link does not appear to be customizable despite it being a stripe product.

#

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

What did you expect to happen?
When in test mode, when the customer email address is set to the email address of a team member (i.e. my own Stripe user), I expect that 3D secure emails for off-session Subscription payments would be sent to the customer email address according to our account settings, so that I can test the 3D secure flow in the test environment.

What actually happened?
I did not receive any 3D secure emails, or any 3D secure reminder emails.

Reproduction Steps
Prereq: active Stripe account

  1. Create a subscription in test mode using Checkout or payment link, using the "Always Always authenticate" test card.
  2. Via the dashboard or billing portal, set the customer email to the email of a team member
  3. Advance via Test Clocks to the next billing period (and again an extra hour to trigger invoice finalization)

Question
The docs suggest we can trigger emails in test mode if using a customer email that is the same as a team member email.

https://docs.stripe.com/test-mode#test-email
https://docs.stripe.com/billing/revenue-recovery/customer-emails#test-your-configuration

Without this, we are not able to fully test our integration for off-session 3D secure payments.

What are you working on?
Updating an existing subscription integration to use Checkout & support 3D secure

cursive heronBOT
#

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

Code
// ---------------------- this is test card endpoint ----------------------
const createChargeToAddFunds = async (req, res) => {
try {
const charge = await stripe.charges.create({
amount: 10000, // Amount in cents (e.g., $100)
currency: 'usd',
source: '4000000000000077', // Test card to add funds
description: 'Simulating funds addition for payout',
});
console.log('Funds added to balance:', charge);
return res.status

Question
{
"message": "Error adding funds",
"error": {
"type": "StripeInvalidRequestError",
"raw": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such token: '4000000000000077'",
"param": "source",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_xSmIU41lNikQSb?t=1727982063",
"type": "invalid_request_error",

What have you already attempted?
above

What are you working on?
i ma building platform where houseonwer post the job and shoveller will apply on that job.

#

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

Question
greetings, what is the best/recommended method of handling webhooks in different environments; for example we have multiple webhooks set up for many environments (some sharing the same database), what's the best way to handle/filter requests so that backend A only handles webhook events made from backend A (to prevent updating a potential shared DB more than once)

Related Event ID(s)
n/a

What have you already attempted?
we've looked into adding metadata to some requests but not all events seem to return the metadata and/or the metadata isn't always in the same location

What are you working on?
webhooks for multiple environments (dev, qa, staging, prod, etc.)

cursive heronBOT
#

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

Question
Is there a way to know the timestamp of when a connected account was last updated? I don't see any information in the API about this.

I'm trying to handle out of order events when updating a connected account's branding info, so I need to make sure the timestamp of the branding updated event is newer than the timestamp of the last time the connected account's branding was last updated.

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

What are you working on?
Porting our billing system to Stripe Billing

cursive heronBOT
#

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

Question
"We run automated test cases and regression tests in our application, which is integrated with Stripe's live environment. We aim to perform end-to-end testing, but when using our credit cards, we encounter the error: 'You previously attempted to charge this card. When the customer's bank declined that payment, it directed Stripe to block future attempts.' I understand this issue is caused by the card issuer, not Stripe. Is there a way to whitelist certain credit cards to avoid these errors?

Related Request ID(s)
ch_3Q5vwSFbFOzNrsPE0P0xNkmG, ch_3Q5vjTFbFOzNrsPE1gRl43WJ

What have you already attempted?
Try change cards it works for some time but fail after few transaction. We have limited number of cards

cursive heronBOT
#

@idle willow 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_intent and expected it to first go to status `requires_payment_method` and then `succeeded`

What actually happened?
I created a payment_intent and the status went directly to `succeeded`, skipping over the `requires_payment_method` status

Reproduction Steps
I don't see it consistently. Using the API I issue a charge and occasionally see the `requires_payment_method` being skipped

Question
According to documentation (https://docs.stripe.com/payments/paymentintents/lifecycle#intent-statuses) every payment intent should initialize to requires_payment_method. In what cases does that not happen?

cursive heronBOT
#

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

Question
Is there any way to create a subscription, return the subscription.LatestInvoice?.PaymentIntent.ClientSecret to the frontend and then later on update the invoice total and tax before calling confirmPayment? My flow requires that I show the payment element before collecting the zip code, which means I can't calculate tax and update the subscription invoice until I've shown the form and the user has clicked the submit button

Related Request ID(s)
req_bYNrpw6Rpyr8iW

What have you already attempted?
I've tried creating the subscription without AutomaticTax, then once the customer submits the zipcode, updating the stripe customers zip and updating the subscription to have AutomaticTax = true, but it seems the invoice gets finalized before this point so I can't update it.

What are you working on?
A subscription sign up flow

cursive heronBOT
#

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

Question
Hi! We have multiple webhooks listening to the same events in test mode. This is because we use test mode in many of our testing environments. I see that some of them are failing and that's becuase the user is not from the same enviroment. My concern is that I see almost the same api calls to almost all of our environment and almost at the same time, but sometimes it completely misses one enviroment. For example, I see a 7:05 pm call being made in 2 environments but not on the third. Is there a reason it did not call the third one?

Related Event ID(s)
Webhooks

What have you already attempted?
I want to know how webhooks work exactly.

cursive heronBOT
#

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

Question
Why my installments.available_plans array is empty on the response for a create payment intent request?

Related Request ID(s)
evt_3Q5y2jAouxLMz2wG1RqMiiqv

What have you already attempted?
enable and disable automatic payment methods, specifying or not the payment method types base on the automatic payment method

What are you working on?
Offering Mexican Installments

#

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

Code
const session = await stripe.checkout.sessions.create({
allow_promotion_codes: true,

Question
TypeScript has been acting weird and doesn't allow me to use any of the params. The Error in question:
`No overload matches this call.`
`The overload 2 of 2 ((options?: RequestOptions): Promise<Response<Session>>) has caused the following error.`
`The object literal can only specify known properties, and β€œallow_promotion_codes” is not present in the β€œRequestOptions” type.`

There is also another error, but there isn't enough space left here...

What have you already attempted?
Looking through the declarations and the source where I got the code from - it is correct and the person I got this part from uses it like this but just in JS.

What are you working on?
Turning my JS code into TS code.

#

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

Question
I want to support a user purchasing an upgrade from Plan_A to Plan_B - but rather than time-prorating the Plan_A refund, I want to prorate based on something we've calculated internally (i.e. usage or time, depending). What's the best way to support a variable proration like this?

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

https://docs.stripe.com/billing/subscriptions/prorations#prorations-and-discounts

https://docs.stripe.com/api/subscriptions/update#update_subscription-add_invoice_items

What are you working on?
Variable proration of refunds for subscription upgrades

cursive heronBOT
#

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

Question
I want to retrieve a payment intent with the api that was a direct charge to a connected account, there is a way to get it?

Related Request ID(s)
Api payment intent connected account

What have you already attempted?
I wanted to get the payment intent with the platform api, but I recieve that the payment intent doesnt exist

What are you working on?
an accounting system

cursive heronBOT
#

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

Question
Hi, I want to upgrade a SubscriptionSchedule in java and I'm referring to https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases?lang=java&architecture-style=services#upgrading-subscriptions to do it. The problem is that SubscriptionScheduleCreateParams.Phase.Builder doesn't provide a setStartDate(Long) method! How would you do it via stripe-java 24.5?

Related Request ID(s)
SubscriptionScheduleCreateParams.Phase.Builder stripe-java

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases?lang=java&architecture-style=services#upgrading-subscriptions

What are you working on?
A Stripe PAD demo

cursive heronBOT
#

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

Question
Unable to create a tax transaction for the successful payment

Related Event ID(s)
evt_3Q601AJ15oFjjfNB0w5dg3rH

What have you already attempted?
My node.js code is creating a tax calculation correctly and completes the payment_intent.succeeded succesfully but i get a message that ReferenceError: tax_calculation is not defined in terminal debugger

What are you working on?
ios swiftui to accept payments on node.js backend

#

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

Code
Payment methods - Stripe payment platform adding "Afterpay" on the stripe payment methods.

Question
anyone able to walk me through how to plug the correct code into stripe payment platform so we can accept "afterpay" buy now pay later form of receiving payments? Anyone have a sample coding?

What have you already attempted?
I've only looked up the information so far.

What are you working on?
API and coding for being able to accept Stripe payment software

cursive heronBOT
#

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

Question
We have a semi-complex flow for taking rent.

  1. Take the monthly rent fee + security deposit when they reserve.
  2. If stay is 2 months or greater, charge the monthly rent fee for each full month stayed.
  3. If the stay is not an exact month multiple, once all the steps above are complete, bill the remaining fraction.

I see 4 options from the docs. I want Stripe to do the recurring charges so "Save and reuse payment information" and "Use invoices" are out. It seems we can do 1) single payment + 2 phase subscription with future start or 2) a 3 phase subscription with a custom length for the first phase.

Which will work most smoothly/is most aligned with Stripe's intent?

Doc/Guide Links
https://docs.stripe.com/recurring-payments#accept-recurring-payments
https://docs.stripe.com/billing/subscriptions/build-subscriptions?ui=elements
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&lang=node&client=react

What are you working on?
A mid-term rental platform

cursive heronBOT
#

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

Question
I want to process the payments through server.
Is it that I need to receive all the credit card details at the server and then pass that information to stripe.
Or I need to put stripe html on screen to let stripe receive the card details.

Related Request ID(s)
payment api through server

What have you already attempted?
Not sure if I need to put stripe html control or my own

What are you working on?
Realestate payment platform

#

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

What did you expect to happen?
I want my customer get the email from Stripe after they do the refund

What actually happened?
they do not get any refund email notification from Stripe

Reproduction Steps
I have enabled the "Email customers for refunds" setting in the Dashboard.
Then I try to place an order and then refund it. However I don't get the refund email from Stripe

Question
Is there any configuration for my request?

cursive heronBOT
#

@modest hill 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/embedded-onboarding

Question
How to get a access token and publishable key for custom account whose type is 'none'?

What have you already attempted?
I'm unable to find any api or related to it.

What are you working on?
I'm trying to get the access token or api key so i can create products for that specific custom account.

cursive heronBOT
#

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

Code
I want to Save Card Using Payment Elements

Question
I want to Save Card Using Payment Elements

What have you already attempted?
I want to Save Card Using Payment Elements

What are you working on?
I want to Save Card Using Payment Elements

cursive heronBOT
#

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

Code
Good morning,

I would like to ask where I can change the text of the email that goes out to people when their subscription is ending and they receive an email saying they have a payment ready?

Thank you very much.

Question
Good morning,

I would like to ask where I can change the text of the email that goes out to people when their subscription is ending and they receive an email saying they have a payment ready?

Thank you very much.

What have you already attempted?
-

cursive heronBOT
#

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

Question
Hi,
I have a Stripe integration for Subscriptions with 3 days trial.
And I have 2 flows One i use for normal payment element for card payments and one i use for Payment request Button for Apple Pay/ GPay.

Everything seems to work fine. But It seems I have higher failure rate about 60%.

I understand some failures are due to insufficient funds. But I get other decline codes.

Can you please have a look at the events for these two customers.

Payment Element Flow:
cus_Qvnoyk6ErFmHCT

Payment Request Button:
cus_QwYPDgkXzrVPzn

Related Request ID(s)
Payment Element Flow: cus_Qvnoyk6ErFmHCT Payment Request Button: cus_QwYPDgkXzrVPzn

What have you already attempted?
I guess I follow the recommended flow.

#

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

Code
$intent = PaymentIntent::create($intentData);

Question
We're currently processing payments using Payment Intent, but the client now requires a breakdown of the tax in the payment

how to do that?

What have you already attempted?
Nothing. found that there is no way in payment intent API documentation

cursive heronBOT
#

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

Question
I manage webhook events such as subscription and payment intents, capturing these events and storing them in the database.

If the webhook is mistakenly disabled or if the Stripe server is down during this time, and multiple events (like subscription creation or payment processing) occur, how can I retrieve these events once the webhook is reactivated or the server is back online?

What strategies can I implement to handle this scenario effectively?

Related Event ID(s)
evt_1Q65Y7Lz3Lhe8Q4YPjdKI2iq

What have you already attempted?
No

What are you working on?
Subscription Payment Functionality for web used stripe hosed page: checkout method and for iOS Use Payment Intent API

cursive heronBOT
#

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

Code
No such paymentmethod: 'pm_1Q664sH00SyOhrmUlTBeyBTv'; a similar object exists in test mode, but a live mode key was used to make this request.

Question
No such paymentmethod: 'pm_1Q664sH00SyOhrmUlTBeyBTv'; a similar object exists in test mode, but a live mode key was used to make this request.

What have you already attempted?
No such paymentmethod: 'pm_1Q664sH00SyOhrmUlTBeyBTv'; a similar object exists in test mode, but a live mode key was used to make this request.

#

@junior carbon 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/create

Question
Hi, my team are using products/prices as our subscription plans to allow our customers to subscribe.

Now we are planning to migrate our customers to new subscription plans, and that will require us to create new subscription or change the items in existing subscriptions.

I'm wondering can we do this seamlessly especially for those using card that already perform 3DS authentication before? That mean they don't have to perform 3DS during this migration.

What have you already attempted?
I tried create Subscription object with the card that will need to perform 3DS.

#

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

Question
We can achieve this in stripe?
"the initial charge is prorated for the remainder of the current month and thereafter charged on the first day of each month"

Related Request ID(s)
the initial charge is prorated for the remainder of the current month and thereafter charged on the first day of each month

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/prorations

cursive heronBOT
#

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

Code
Facin Issue to Save The card from Stripe Payment Element

Question
Facin Issue to Save The card from Stripe Payment Element

What have you already attempted?
Facin Issue to Save The card from Stripe Payment Element

cursive heronBOT
#

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

What did you expect to happen?
Our customer can get the email from Stripe after they do the refund

What actually happened?
They do not get any refund email notification from Stripe in production mode

Reproduction Steps
I have enabled the "Email customers for refunds" setting in the Dashboard.

Then I try to place an order and then refund it in test mode. However I don't get the refund email from Stripe

Question
Is there any configuration for my request?
The PaymentInten ID is pi_30yPI6Kop8UOCUtv1HDaRRXz. We're using Stripe linked Magento 2 module

cursive heronBOT
#

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

Code
Hello! My developer created an integration with stripe and uploaded it to the hosting. However, he is not in touch right now, and I need to change the amount and type of payment:

  1. Payment must be periodic (every day).
  2. The subscription price should be equal to $10 USD.

How do I do this on my own? He used node.js seems to be

Question
Hello! My developer created an integration with stripe and uploaded it to the hosting. However, he is not in touch right now, and I need to change the amount and type of payment:

  1. Payment must be periodic (every day).
  2. The subscription price should be equal to $10 USD.

How do I do this on my own? He used node.js seems to be

What have you already attempted?
Hello! My developer created an integration with stripe and uploaded it to the hosting. However, he is not in touch right now, and I need to change the amount and type of payment:

  1. Payment must be periodic (every day).
  2. The subscription price should be equal to $10 USD.

How do I do this on my own? He used node.js seems to be

#

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

Question
Hello. Using stripe checkout sessions. Im passing discounts array. And when user is redirected to checkout page, the discount is already applied. Is there a way to make, that user could enter his discount code on checkout page?

Related Request ID(s)
req_test

What have you already attempted?
implemented this part: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-discounts

cursive heronBOT
#

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

Question
I created an application that requires an annual subscription, then from the test mode, I subscribed to be able to test it, then in Postman I make the call to https://api.stripe.com/v1/customers or the https://api.stripe.com/v1/subscriptions returns "date": [], but in stripe in the customer area my account appears there, but as a guest, because the account I used for the purchase is not registered in stripe.

Related Request ID(s)
req_puH0Z37bwKhZ5G

What have you already attempted?
I tried testing multiple endpoints but it all gives the same result

What are you working on?
I'm working on the payment method for a plugin I created

#

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

Code
public async Task<SubscriptionCreateResponse> MakeMonthlyPayment(StripePaymentRequestViewModel stripePaymentRequestViewModel,
StripePaymentConfigurationViewModel paymentConfiguration)
{
stripePaymentRequestViewModel.PolicyStartDate = GetStartDate(stripePaymentRequestViewModel.PolicyStartDate);

    StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;


    var requestOptions = new RequestOptions
    {
        StripeAccount = stripePaymentR

Question
collect moto payment while creating a subscription

What have you already attempted?
nothing

What are you working on?
nothing

cursive heronBOT
#

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

Question
I am using Stripe's embedded Checkout for one-time payments, which provides a great design and user experience. However, for invoice payments, I have to use PaymentIntents and the Elements library, which results in an inconsistent design compared to the embedded Checkout.

I want to maintain the same design and user experience across all payment flows on my site. I noticed that the embedded Checkout currently doesn't support PaymentIntent payments. Is there any way to achieve a similar design for PaymentIntents?

Related Request ID(s)
Payments

What have you already attempted?
Checkout and elements docs.

#

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

What did you expect to happen?
We have enabled mobile pay payment method for our connected accounts. We are using checkout session api and then capture payment manually with the application fee amount. We expected it to create the application fee for the payments with mobile pay like the other payment methods like card

What actually happened?
The payments with mobile pay are working fine but the application fee for our platform account is not generated

Reproduction Steps
creating a payment with mobile pay method

For example,
checkout sessionId : cs_live_b1c1HifJa873EXvCt9MAQ8wZ4Om6xRAV2BFmES46WjtbgJd9AaNfUsIHcJ

Request log Id for the api request to capture payment for the above checkout session - req_JXr0dM5J7sZBfr

Question
I would like to know why this is happening and what do we need to do to resolve this.

#

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

Code
async addNewCardToStripeCustomer(payload) {
const { tokenId, customerId, metadata } = payload;
const card = await this.stripe.customers.createSource(customerId, {
source: tokenId,
metadata
});
return card;
}

Question
Hello,

We are encountering an issue when adding cards to customers, consistently receiving a "Card Declined" error with the code "do_not_honor" in the logs. This occurs with multiple valid cards across different customers.

When on test mode, everything works well. But on live we are having this issue

Could you please assist us in resolving this?

What have you already attempted?
From the docs it says for do not honour code error. Customer should contact his card provider

But this happens with different customers or cards too

What are you working on?
I’m currently working on an app that allows organizations to donate to schools. As part of this, we’re using Stripe to enable organizations to add their payment

cursive heronBOT
#

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

Question
In the application I want to enable the connect account for sellers where the platform and sellers both are from UAE, but I am getting the bellow error in create account API: "Request req_DtV4KrY55JlXNS: Platforms in AE cannot create accounts where the platform is loss-liable, due to risk control measures. Please refer to our guide (https://support.stripe.com/questions/connect-availability-in-the-uae) for more details."

Related Request ID(s)
req_DtV4KrY55JlXNS

What have you already attempted?
In tried changing the configuration as shown in the link but the error is persistent.

What are you working on?
Platform which connects the seller and customer where customer makes a payments and seller receives their split and application should receive its application fees

#

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

Code
Receiving an error using the Stripe Terminal error:

Parameter 'req_id': Expected type Integer, got type Float with value 1728041121386.4 Caller: /deploy/pay-server/current/lib/terminalsimulator/endpoint/simulate.rt
Definition: /deploy/pay-server/current/lib/terminalsimulator/util/utils.rb:115

Question
Is this issue likely to be from our code implementation or is there an issue with the Stripe API?

What have you already attempted?
Checking our config, it's not changed and has been working for a year or so

#

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

What did you expect to happen?
Our customers are charged even they have cancelled the subscription.

What actually happened?
So in this scenario the customer first created a free tier subscription, then thy cancelled this subscrition and created new paid subscription, now they again cancelled the paid subscription and went to the free subscription.

Reproduction Steps
Create Free subscription -> user cancels it -> Create paid subscription -> user cancels it -> create free subscription.

Question
In this case they have charged for the paid subscription but when downgrading to the free subscription i.e. cancelling the paid subscription, they have not got the refund back for the cancelled subscription. Any thing to be done from the API wise ?

cursive heronBOT
#

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

Question
I'm upgrading from 2017 APIs to latest and I'm listening to the `charge.dispute.funds_withdrawn` webhook. I noticed in other events that the `charge` object has not the `balance_transations` field expanded, so I started to expand it in my webhooks.

On the api documentation I found that the `dispute` object has a `balance_transactions` field that is `expandable`.
However, in my test environment I receive correctly the `balance_transations`.

My question is if the `balance_transations` field in the `dispute` object received in a `charge.dispute.funds_withdrawn` is reliable.

Related Event ID(s)
evt_1Q6AxNInF1RahwekJa91CNhZ

What have you already attempted?
I set up a test environment with a PHP backend where I can receive webhooks. I've used the test card 4000000000002685 to make a dispute happens.

When I log the event, I see the `balance_transations` field as an array of objects with the information I need, but I'm unsure if I can rely on that field since it should be expandable.

What are you working on?
I'm upgrading my old integration to purchase my software from my website.

cursive heronBOT
#

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

Question
Is there any reliable way to determine the exchange rate of Connect transfers?

Related Request ID(s)
No IDs

What have you already attempted?
I'm trying to withhold taxes as per https://docs.stripe.com/tax/tax-for-marketplaces?charge-type=destination-charges#tax-withholding, using destination charges.

However, the problem is, that the currency of the transfer and the invoice doesn't match - we have to correctly calculate the amount of tax in the right currency.

This is hard to do, because there is seemingly no way of accessing the information of what exchange rate was used.

What are you working on?
Platform for creators

cursive heronBOT
#

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

Code
```
import { loadStripe } from "@stripe/stripe-js";

const stripe = await loadStripe(props.stripePublishableKey, {
apiVersion: config.stripeApiVersion,
});
```

That's it!

Error is at `onLoad(webpack://eljs/./node_modules/@stripe/stripe-js/dist/index.mjs:61:14)`

```
reject(new Error('Stripe.js not available'));
```

Question
We're loading Stripe's JavaScript via the `stripe-js` npm package and we are seeing a lot of errors with only Firefox users.

What have you already attempted?
I can't often replicate the error so I'm not entirely sure what's going on here yet.

What are you working on?
everloved.com

#

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

Question
I am creating a standard account using code and generating a onboarding link to onboard a connect account but the problem is my connect account stays restricted after filling all the details.

do test accounts also get hold in review ?

Related Request ID(s)
req_XTu5Dti4iWzNrc

What have you already attempted?
I tried filling form multiple times creating different connect acccounts

What are you working on?
marketplace for sellers and buyers

cursive heronBOT
#

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

Question
Does stripe api sends information to the webhook when the webhook new subscription cycle got charged.

For example:
User A buy monthly subscription today (4, October).
> We know we received the webhook.

Then in the next period which is 4, November.
Do we gonna receive webhook?

Related Event ID(s)
payment_succeed

What have you already attempted?
I read through documentation and couldn't find the information.

What are you working on?
The best agri cultural website

#

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

Question
Unable to activate Canadian pre-authorized debits in my pricing table checkout

Related Request ID(s)
NA

What have you already attempted?
Activated it in the dashboard

What are you working on?
Subscription flow

#

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

Question
Can you set controller.stripe_dashboard.type to express even though you are creating a standard connected account so you don't pay for each account creation?

Related Request ID(s)
Migrate your Connect integration to use controller properties instead of account types

What have you already attempted?
N/A

cursive heronBOT
#

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

Question
Is there a way to be notified for connect account with negative balances ?

Related Event ID(s)
balance.available

What have you already attempted?
I'm looking for an event that tells me periodically which connected accounts has negative balances. I see that balance.available is send on balance updated but it's done once and does not really answer to my need

What are you working on?
I'd like to notify connected account users when their balance is negative

#

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

Code
```
subscription = stripe.Subscription.create(
customer=customer.id,
items=[{
'price': price_id,
}],
payment_behavior='default_incomplete',
payment_settings={'save_default_payment_method': 'on_subscription'},
expand=['latest_invoice.payment_intent'],
)
client_secret = subscription.latest_invoice.payment_intent.client_secret
```

Question
subscription.latest_invoice.payment_intent.client_secret

Failed because the payment_intent field is NULL, it should not be null because i expanded it in the api request.

This example is also from here:

https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements#create-subscription

What have you already attempted?
I've followed the guide and it doenst work!

https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements#create-subscription

What are you working on?
A subscription order form

#

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

Code
'payment_intent_data' => [
'application_fee_amount' => $order->getTotalAmount(),
'on_behalf_of' => 'acct_****',
],

Question
Is it possible to create a deferred payment for a Stripe Connect account with β€œapplication_fee_amount”, but the funds for the connected Stripe Connect account were received only after manual confirmation via api?

What have you already attempted?
tried not to specify "transfer_date"

#

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

Question
Yesterday Rubeus responded to my previous question about subscriptions saying this -
"If your flow requires that you show the payment form before collecting the zip code you can use a Setup Intent to save the payment details and set them up for future use before creating the Subscription, but that's not a recommended flow."
It doesn't look like I can comment on that thread anymore so asking here -
Why are setup intents not a recommended flow?

Related Request ID(s)
none

What have you already attempted?
Asking Rubeus yesterday at 5:55pm

What are you working on?
A subscription sign up flow

#

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

Code
const attachedPaymentMethodId = await this.stripe.paymentMethods.attach(
paymentMethodId,
{ customer: customer.id },
);

Question
We reach out to plaid to connect bank accounts to Stripe, then we do the token exchange to get a stripe token and we are grabbing the id for the payment method from the token to then try to attach it to the customer, but when I do that, I get this error:
Legacy Bank Accounts cannot be attached to customers using PM API. Please use legacy API to attach BankAccounts to the customer.

What have you already attempted?
Nothing. I am not sure what Legacy API I need to use here.

What are you working on?
broken ACH payments in our donation flow

#

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

Code
'payment_intent_data' => [
'application_fee_amount' => $order->getTotalAmount(),
'on_behalf_of' => 'acct_****',
],

Question
Is it possible to create a deferred payment for a Stripe Connect account with β€œapplication_fee_amount”, but the funds for the connected Stripe Connect account were received only after manual confirmation via api?

What have you already attempted?
I read documentation

cursive heronBOT
#

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

What did you expect to happen?
regular google pay button

What actually happened?
google pay button displays as Buy with GPay

Reproduction Steps
just use PlatformPayButton in react native

Question
how to make PlatformPayButton to be GPay button without any words. I tried manually set type={PlatformPay.ButtonType.Default} but it didn't help

What are you working on?
rebulding my checkout form

#

@summer plume 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/cards/create

Question
I asked a question earlier where i was running into error saving card or multiple cards to a user.

I used this method

async addNewCardToStripeCustomer(payload) {
const { tokenId, customerId, metadata } = payload;
const card = await this.stripe.customers.createSource(customerId, {
source: tokenId,
metadata
});
return card;
}

And i was told it was deprecated

Please can you guide on other ways i can do this. On the link above it doesn't say this method is deprecated.

What have you already attempted?
async addNewCardToStripeCustomer(payload) {
const { tokenId, customerId, metadata } = payload;
const card = await this.stripe.customers.createSource(customerId, {
source: tokenId,
metadata
});
return card;
}

This is current implementation

Please what other method can i use to save a card or multiple card to a user

What are you working on?
I’m currently working on an app that allows organizations to donate to schools. As part of this, we’re using Stripe to enable organizations to add their payment cards for future donations.

#

@tiny crest 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/what-is-the-difference-between-on-session-and-off-session-and-why-is-it-important

Question
Hey all! I'm working on a small project using Charge/PaymentIntent events, and I wanted to ask if there's a reliable way to know if a given charge (or payment intent) is merchant- or customer-initiated.
I read the API docs and the only reference I found to this is in PaymentIntent's `setup_future_usage` field, but that doesn't seem very straightforward to use, and I don't know if it'll miss edge cases (like customers logging in and upgrading mid-billing-cycle).
Thanks in advance for your help :)

What have you already attempted?
I've already checked out the link in the main question, and both Charges' and PaymentIntents' API docs.
Still haven't delved into implementation, given I would like to clear this doubt away first if possible.

What are you working on?
Working at Paddle, we integrate with Stripe events and want to do some internal analytics

#

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

Question
How to attach payment method to customer using paymentElements:

const initialInvoice = await stripe.invoices.create({
customer: customerId,
default_tax_rates: taxRate ? [taxRate] : undefined,
});

    await stripe.invoiceItems.create\({
      customer\: customerId,
      invoice\: initialInvoice.id,
      quantity\: data?.quantity \|\| 1,
      price\: plan.stripeId
    }\);

    invoice = await stripe.invoices.finalizeInvoice\(\)

clientSecret = pi.client_secret;

Related Request ID(s)
NA

What have you already attempted?
stripe.paymentMethods.attach

#

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

Code
Stripe Terminal SDK React Native

Question
we are facing issues with tap to pay, it's bot working properly on ios18

What have you already attempted?
Tried to update to the katest version

cursive heronBOT
#

@past 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://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v13#how-to-upgrade

Question
The migration guide doesn't match other documentation sources (if I'm understanding correctly). It seems to suggest moving from `Stripe.api_key = "sk_test_123"` to `client = Stripe::StripeClient("sk_test_123")` ... but all other documentation sources still use the `Stripe.api_key` format.

Am I supposed to be migrating to the `client` format?
(Perhaps this is only for people who used `APIRequestor` in the past?)

What have you already attempted?
These are the other sources that don't line up with the migration guide:
* https://github.com/stripe/stripe-ruby#usage
* https://docs.stripe.com/get-started/development-environment?lang=ruby#test-install
* https://docs.stripe.com/api/customers/create?lang=ruby

cursive heronBOT
#

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

Code
See previous thread but I'm hitting this line in stripe-js: https://github.com/stripe/stripe-js/blob/a3dfb931c3c6af6dad15dbf7c0bbccd487402e38/src/shared.ts#L83

Question
I had a previous thread going but I stepped out to lunch and it got closed. Same question still applies about errors loading Stripe's JavaSccript via the stripe-js package only with Firefox.

We last left off talking about Osano but I just realized the same configuration is running on both Staging and Production so it's probably not Osano.

What have you already attempted?
Different browsers are not affected.

cursive heronBOT
#

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

Question
Does the API expose the ability to programatically change a User's permissions?

Related Request ID(s)
none

What have you already attempted?
Saw that there are "express links" for Connect Accounts, but wasn't sure if that expanded to Platform Accounts

What are you working on?
Creating a way to temporarily grant and revoke access to Stripe environments to allow developers to debug

#

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

Question
Im trying to use/secure the Webhooks endpointSecret using AWS Secrets Manager but I'm getting a Webhook signature verification failed

Related Event ID(s)
XXXX

What have you already attempted?
I will post code

#

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

Code
const handleClickOnPayButton = async () => {
if (!stripeObj || !stripeElements) return;

setIsPaymentBeingProcessed\(true\);

const { error } = await stripeObj.confirmPayment\({
  elements\: stripeElements,
  redirect\: 'always',
  confirmParams\: {
    return\_url\: 'http://localhost:3000/success',
  },
}\);

if \(error\) {
  setErrorMsg\(error.message ?? 'Unexpected error'\);
}

setIsPaymentBeingProcessed\(false\);

};

Question
I'm using the @stripe/stripe-js and @stripe/react-stripe-js libraries in My React app in order to allow payments with the Payment Element.

The problem I'm facing is that, if the chosen payment method has to direct the user to an external site the Stripe.confirmPayment method will always open that site on a new tab. I want to open the site in the same tab, is that possible?

What have you already attempted?
I was unable to find a solution to this

What are you working on?
Ecommerce store

#

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

What did you expect to happen?
add a new business account into my main account

What actually happened?
So I'm trying to create a new account inside my main account for another service, but I keep getting this: 'An unexpected error occurred.'

Reproduction Steps
I go to the top left section where it says 'Create Account' then go down to the section, 'Create New Account' with a + and then try to create a new name and my country. Here is when I'm getting the message.

Question
I need to add this business. I already have 4, but I'm not able to add this new one.

#

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

Question
Is it possible to support upgrades through the Customer Portal Session while customizing the specific proration dollar amount?

Doc/Guide Links
API docs I'm reading: https://docs.stripe.com/api/customer_portal/configurations/create

Relevant prior thread: #dev-help message

Relevant twitter thread: https://x.com/levelsio/status/1840285503519928645 (you guys really killed it with the turnaround time on this feature, go team)

What are you working on?
Upgrades from one plan to another, with a proration that sometimes depends on time or usage.

#

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

What did you expect to happen?
When a subscription comes out of the trial window and into its first payment, we expected that NO subscription renewal email would be sent by stripe (the user has never paid, so in their mind it has not started)

What actually happened?
A subscription renewal email was sent as the trial window ended.

Reproduction Steps
- Create a subscription with a trial_period_days value (in our case, 14)
- Ensure "Send emails about upcoming renewals" is "on" in dashboard
- Wait until 7 days before trial ends
- Witness subscription renewal email sent for first actual charge

Question
Is this expected behavior? The subscription isn't really renewing. Is there anything we can do to avoid this happening?

What are you working on?
Subscription billing for a SaaS product

#

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

Question
I started seeing error in response to creation of `tax transaction` from `tax calculation`. The error states that this `tax calculation` has already been used to create a `tax transaction`.

Related Request ID(s)
req_0ipls0OPuBmsTV

What have you already attempted?
I double checked my codebase and explicitly commented out all calls to `tax.transactions.createFromCalculation` and instead just printed the calculation ID into console. I then used Stripe API explorer to execute that API call (create tax transaction from tax calculation) and got the same error. I included request ID as a related field to this ticket.

What are you working on?
marketplace web application

cursive heronBOT
#

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

What did you expect to happen?
I'm setting up a recurring payment for a SaS service.
We're based in Portugal but we accept customers from all over the world. We're trying to setup Automatic Tax and let the user select their country at the checkout to calculate which tax we should charge based on their selected country.

What actually happened?
Tax is either 0 or 23% (Portugal tax).
0% when it's outside EU;
23% if it's any country in EU.

Reproduction Steps
Setup the payment link with Automatic Tax turned on - Select any country in EU other than Portugal - Tax is always 23%

Question
How can I configure the payment to charge the user the tax based on the country they've selected. Address is not an issue as we do not require this information. We just need to know which country so we can charge the proper tax.

What are you working on?
SaS with a recurring membership / one-time payment

#

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

Question
I am using the connected accounts api and I want a way for fetching an account based on the medatada key-value pair ,

Related Request ID(s)
await stripe.accounts.retrieve

What have you already attempted?
I am currently fetching all the accounts and filtering by the metadata but I want to know if theres another way

What are you working on?
software development

#

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

Question
Integrating with PaymentIntent API

Related Request ID(s)
N/A

What have you already attempted?

  1. Went through the PaymentIntent docs
  2. Went through the PaymentMethod docs
  3. Went through bank transfer and customer balance docs
  4. Went through documentation for creating invoices with customer balance as a payment setting
  5. Went through a list of documentation provided by Stripe Support.
  6. Been in touch with Stripe Support for over 2 weeks
  7. Stripe support has been unresponsive over the last week.

What are you working on?
Migrating from sources API to PaymentIntents

cursive heronBOT
#

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

Question
How can I show Affirm as an option for Checkout while also saving other payment methods used?

I do not intend to save Affirm as a payment method. But I would like to save other payment methods selected during the checkout, while still being able to display Affirm as a payment option.

I tried using setup_future_usage = off_session during checkout, that removed Affirm as an option.

Tried attaching the payment method to the customer
after the checkout, didn't work.

Tried updating the payment intent after checkout, didn't work either.

Related Request ID(s)
req_Dw9olRq0pdy0r3, req_jzvOgtjiaDFJzt

What have you already attempted?
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=embedded-form#save-payment-method-embedded
(Tried setting up setup_future_usage = off_session for the payment intent on the Checkout, but that made Affirm dissappear as an option)

https://docs.stripe.com/api/payment_methods/attach
(Tried attaching the payment method to the customer, the response was "This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again.")

https://docs.stripe.com/api/payment_intents/update
(tried updating the payment intent)

What are you working on?
Need to save the payment method used on a checkout, while still showing Affirm as an option (do NOT want to save affirm - I would not save the payment method if Affirm is used)

cursive heronBOT
#

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

Question
How can you look up previously used discounts on the customer or somewhere else without just looking up every customer.discount.created event via the events API?

Related Request ID(s)
req_NWi06EWdXXmeLr

What have you already attempted?
GET a specific customer who previously used a coupon code (cs_live_b1beq8Mpud1rm7QQdXD2mOgC5RiWU65nCKpa3tm6KEZUvTAVOBenLPIvBE) but no discount was returned.

What are you working on?
A report of past discounts in Power BI.

#

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

Question
What is the recommended way to charge customers varying amounts on a regular basis? Is the Invoice object the correct approach?

Related Request ID(s)
n/a

What have you already attempted?
We're already using PaymentIntents for singular payments, but they don't seem suitable for this approach. Also, what exactly is a Subscription? Do we require that in this context?

What are you working on?
Notch

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
#

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

What did you expect to happen?
please call me it’s important

What actually happened?
please call me it’s important 615-496-1243

Reproduction Steps
it’s urgent I need to talk ones online

Question
please contact me y’all email not
helping

What are you working on?
help

#

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

Question
We need to have transaction charge deduct for stripe for each payment . How can I get that?

Related Request ID(s)
No id

What have you already attempted?
I am looking for API.

What are you working on?
API to get transaction charge from stripe side.

cursive heronBOT
#

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

Question
I have a question about subscription update API.

We need to update subscription quantity frequently for managing enterprise subscription model.

But when i testing leave organization and decrease subscription quantity using subscription update API, i got error about rate limit exceeds API and same error occurred when retry this API as well.

And i think this rate limit is adopted to each stripe account. I want to know, how many times are max limit in an hour using update subscription API.

Related Request ID(s)
I didn't find related qa.

What have you already attempted?
I don't know how many times are max limit to update subscription quantity. I already saw docs about rate limit, but there is 100 or over per seconds using API. In my case i tested less than 20 udpating API in a minutes.

What are you working on?
I'm searching for stripe API rate limit error

cursive heronBOT
#

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

Code
public async Task<SubscriptionCreateResponse> MakeMonthlyPayment(StripePaymentRequestViewModel stripePaymentRequestViewModel,
StripePaymentConfigurationViewModel paymentConfiguration)
{
stripePaymentRequestViewModel.PolicyStartDate = GetStartDate(stripePaymentRequestViewModel.PolicyStartDate);

    StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;


    var requestOptions = new RequestOptions
    {
        StripeAccount = stripePaymentR

Question
take moto payment while creating a monthly subscription

What have you already attempted?
nohting

#

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

Question
if user has multiple payment method, can stripe attempt to use the second payment method automatically ?

Related Request ID(s)
-

What have you already attempted?
reading the doc but couldn't find to the good answer

What are you working on?
Automatic retry to use the second payment if the first payment is failed

cursive heronBOT
#

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

Code
public async Task<SubscriptionCreateResponse> MakeMonthlyPayment(StripePaymentRequestViewModel stripePaymentRequestViewModel,
StripePaymentConfigurationViewModel paymentConfiguration)
{
stripePaymentRequestViewModel.PolicyStartDate = GetStartDate(stripePaymentRequestViewModel.PolicyStartDate);

    StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;


    var requestOptions = new RequestOptions
    {
        StripeAccount = stripePaymentR

Question
moto payment using stripe monthly subscription

What have you already attempted?
nothing

What are you working on?
client request

cursive heronBOT
#

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

Question
I've recently upgraded my Dashboard API and PHP SDK to latest acacia, to use payment intents rather than sources. Previously I hade 2017 version.

I've noticed that the `charge.refunded` webhook needs now the `refunds` field to be expanded.
So I did:
```
\Stripe\Charge::retrieve([
'id' => $chargeId,
'expand' => ['refunds'],
]);
```

It worked for a refunds. However, this morning I received from my backend where the refunds field was missing, even if I requested its expansion.

Is that normal? Is there maybe an asynchronous that does not guarantee refunds to be ready yet?

Related Event ID(s)
evt_3Q6XrsLDEe7LyNND0JxNamEz

What have you already attempted?
I tried to retrieve the charge and expand it using the CLI and the refunds field was present.

What are you working on?
I tried to reproduce the problem in my test environment. However, I cannot reproduce it. The refunds field is always present in my test environment after retrieving the charge and expanding refunds.

#

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

Question
Billing Meter "scope" level -- one meter event is resulting in two subscriptions (from the same customer) being accrued. Should I have a single meter per price?

Related Request ID(s)
Meter ID mtr_test_61RF8gVJLnvPzI7Mw412LuABUOAasJAu

What have you already attempted?
Have not attempted anything yet

cursive heronBOT
#

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

Question
I'm stuck with the following error on my webhook:

"""
No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
[...]
"""

I'm using AWS lambda with API Gateway and I already followed the instructions on the Stripe docs to get the raw Body. I have confirmed that the web signing secret and stripe key are correct, so I don't understand how to fix this error. Can you help me?

Related Event ID(s)
evt_1Q6vlKDCsULkdqK1k9EOqbLt

What have you already attempted?
I already followed the instructions on the Stripe docs to get the raw Body (https://docs.stripe.com/webhooks/signature#aws-api-gateway-with-lambda-function).
I have confirmed that the web signing secret and stripe key are correct, so I don't understand how to fix this error.

What are you working on?
I'm working on a SaaS product.

cursive heronBOT
#

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

Question
Hi, I’m trying to setup a subscription with PayPal using a setup intent, and I get this error on the confirmPayPalSetup return :

"code"\: "payment\_intent\_incompatible\_payment\_method",
"message"\: "A payment method of type paypal was expected to be present, but this SetupIntent does not have a payment method and none was provided. Try again providing either the payment\_method or payment\_method\_data parameters."

No test payment window appeared as mentioned in the doc
What can i do to make the window appear ?

Related Request ID(s)
req_GNcg56Er8KH0Ta

What have you already attempted?
I read through documentation and couldn't find the information.
https://docs.stripe.com/billing/subscriptions/paypal

cursive heronBOT
#

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

Question
Hello, I would like to know if it is possible to transfer funds to two different Connect accounts after a checkout has been completed? Thank you

Related Request ID(s)
req_gTdl3k6PXDHIjG

What have you already attempted?
I'm developing an online ticketing tool and I'm setting up an affiliation system, and I'd like when a checkout is completed, part of the funds to go to the organizer and part to the ambassador.

#

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

Code
Cannot switch to the new API version in test mode.

Question
We want to test switching to the new API version 2024-09-30.acacia.
We want to set this new version in our test stripe mode, so that we can test our software before changing to the new version in live.
But the dashboard now does not allow to switch the API version in test mode. We get the message:
"Version changes cannot be made in the test mode - swithc to live mode to upgrade or rollback. "

What have you already attempted?
Nothing that can help

#

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

Question
Hi, I have existing monthly subscriptions that started on the 1st of a month, that I set to renew on the first of every month but they somehow offset to the 30th.

How can I change an existing subscription to anchor at the first of the month? I tried updating the subscription and adding trial days like described in the documentation, but I get the error: "Trial end (1730458637) cannot be after billing_cycle_anchor (1728295048). Consider ending the trial (`trial_end=now`)."

Please let me know.

Thanks,

Pierre

Related Request ID(s)
req_RodTkLZGVg4H9C

What have you already attempted?
I tried updating the subscription and adding trial days like described in the documentation, but I get the error: "Trial end (1730458637) cannot be after billing_cycle_anchor (1728295048). Consider ending the trial (`trial_end=now`)."

#

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

What did you expect to happen?
We created a Stripe coupon we try to apply to checkout on order. The coupon is not working if the product is an upsell.

What actually happened?
The coupon should work when we add the product as an upsell.

Reproduction Steps
- Create a checkout session for a specific product with available upsell
- Create a coupon for the upsell
- Add the upsell
- Add the coupon manually (it does not work)

Question
Why does it not work to use coupons with upsell product in Stripe Checkout ?

#

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

Code
com.stripe-terminal - 3060
Could not communicate with the reader. Try resetting or recharging the reader.

com.stripe-terminal - 1100
No reader is connected. Connect to a reader before trying again.

Question
Hi, for a long time, we have been seeing a large number of errors when users trying to activate Tap to Pay on various devices, various SDK versions and various iOS versions. I also see that these errors have been on the github issues for a long time without an answer. We receive especially a lot of messages from users after the update to iOS 18, some of them have the Tap to Pay function stopped working after the update.
https://github.com/stripe/stripe-terminal-ios/issues/315

What have you already attempted?
I have the statistics with iOS version, iPhone model, and timestamp of this errors.

What are you working on?
Booksy

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

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

Question
We need to have transaction charge deducta for stripe for each payment . How can I get that?

Related Request ID(s)
No id

What have you already attempted?
Tried to get data from paymentIntent but it is getting null

What are you working on?
API

#

@hollow juniper 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/direct-charges?platform=web&ui=stripe-hosted#issue-refunds

Question
If i don't set the refund_application_fee parameter to true, but want a full refund, will the part of the carhe that the platform earned be refunded from the connected accounts balance or only the portion that the connected account kept?

Say a charge is 100$ and app fee is 50$.. i want a full refund but refund_application_fee is false, how much will the customer be refunded?

What have you already attempted?
I read the docs but it still isn't entirely clear

What are you working on?
A marketplace type app

#

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

Question
Invoice amount is not using previously reported meter event value: With the Node SDK I report a meter event like so:
```js
const meterEvent = await stripe.billing.meterEvents.create({
event_name: adBudgetMeterEventName,
payload: {
value: spentAdBudgetLast7DaysInCents.toString(),
// @ts-ignore: invoice.customer is a string
stripe_customer_id: invoiceOrSubscription.customer,
},
timestamp: Math.floor(Date.now() / 1000) // Current time in seconds since Unix epoch
})
```

Then I use a test clock

Related Request ID(s)
req_gFLENovV1Cbx8z

What have you already attempted?
NA

What are you working on?
SaaS for publishing Facebook Ads

cursive heronBOT
#

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

Question
Failed to create the offline invoice: Stripe Tax has not been activated on your account.

Related Request ID(s)
123

What have you already attempted?
I have created a one time invoice, and passed on_behlf_of with the connect account id.

getting this error.

I have enabled the tax configuration in connect account still getting this error.

What are you working on?
Creating Invoice

#

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

Question
Hi,

We want to create subspcriptions with a paid trial period. I did not see anything like this in the Stripe Billing documentation.
The trial period is 7 days, while the subscription is going to be of 1 month after that.

How can we do that?

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

What are you working on?
E-commerce plugins

#

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

Code
The revolut_pay_payments capability cannot be requested for accounts in PL.

Question
We have activated Revolut Pay in EUR for European countries. We have created connected accounts and our KYC is blocked with the above error message. We cannot proceed with KYC

What have you already attempted?
We disabled Revolut Pay but the same error message is still present.

What are you working on?
Onboarding connected accounts

#

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

Question
I have issue regarding Subscription cancelation, according to last issue when i canceled the subscription for next month due to time duration issue stripe deduct the less amount

Related Request ID(s)
canceled_at

What have you already attempted?
$payment->update(
[
'canceled_at'=> date('d M Y h:i:s A',$subscription->canceled_at),
'cancel_at'=> $platform_date,
'last_date_stripe'=> date('d M Y h:i:s A',$subscription->cancel_at),
'cancel_at_time_zone'=> date_default_timezone_get()
]);

cursive heronBOT
#

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

Code
const createSetupIntentForCardProvider = async (req, res) => {
const { customerId, cardNumber, expiryDate, cvv, nameOnCard } = req.body;

try {
const cardToken = await stripe.tokens.create({
card: {
number: cardNumber,
exp_month: expiryDate.slice(0, 2), // Extract month
exp_year: expiryDate.slice(2), // Extract year
cvc: cvv,
name: nameOnCard,
},
});

  if \(cardToken

Question
I want to be able to get payouts like with bank accounts (via external account) and i want to do this with debit cards too. How would i be able to do this?

What have you already attempted?
had already tried adding through cardElement but that seems to be only for making payments.

What are you working on?
building a booking service for classes with payouts

#

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

Question
Is it possible to retrieve the Stripe fees dynamically before getting charged for active subscriptions? According to this page https://stripe.com/de/pricing the Stripe fees depend on the type of credit card. For example, for European credit cards Stripe charges 1,5% + 0,25€. For UK cards 2,5% + 0,25€. Is there a way how I can do something like getStripeFeeByPaymentMethod(customerPaymentMethod)

Related Request ID(s)
NA

What have you already attempted?
Made a Google search "how to get stripe fees dynamically" but didn't find anything.

What are you working on?
SaaS for publishing Facebook ads

cursive heronBOT
#

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

Question
In the payments tab in my Shopify, it says: "You have granted Shopify's third-party API access to your Stripe profile."
And I enter other payment methods and they don't appear on Shopify, but Stripe says they are active.
I have already revoked the api keys but it still appears

Related Request ID(s)
dont know

What have you already attempted?
I have already revoked the api keys

cursive heronBOT
#

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

Question
How to accurately determine the country of a connected account before creation? What happens if a user lies?

Related Request ID(s)
NA

What have you already attempted?
It seems I'd have to take the country as input from the user, so I'm wondering what prevents the user from lying about their country of origin.

#

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

Question
How to get stripe fee for subscription charges

Related Request ID(s)
No id

What have you already attempted?
Docs

What are you working on?
Getting stripe fee for recurring transactions.

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?
Our backend creates a checkout session (id: cs_test_b1BIpNbFdyaOGwMEaiRXsr5o8jvY30pmP5Shu6gtGVk0mKY33spz8hLskh) using the secret test key, as intended... the client receives the full clientsecret... but upon mounting, we get {
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such pl

What actually happened?
Our backend creates a checkout session (id: cs_test_b1BIpNbFdyaOGwMEaiRXsr5o8jvY30pmP5Shu6gtGVk0mKY33spz8hLskh) using the secret test key, as intended... the client receives the full clientsecret... but upon mounting, we get resource missing error and the embedded checkout says the checkout session could not be found. We are correctly using pk_test_...

Reproduction Steps
Not sure how to describe the reproduction here.

Question
Is there any way for me to see what's going on here so I can solve this problem? We are using the test key both to create the checkout and to mount the embedded checkout session

#

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

Question
Is it possible to gather a PayPal payment method before creating a subscription with an optional trial? When I create the subscription I am returning the client_secret from either the setup or payment intent conditionally based on whether I add a trial or not. Currently I am testing the setup intent flow and when trying to confirm the setup it says that the payment method can not use multiple mandates. Is there a way to get this working?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/paypal#create-product-plan-code

What are you working on?
New saas

#

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

Question
Hi,
since two months or so, some runs of our webhook handlers don't work as expected anymore. When receiving a checkout.session.completed event, we're querying the full checkout session:
````
const completeSession = (await stripe.checkout.sessions.retrieve(session.id, { expand: ["payment_intent.latest_charge.balance_transaction"] })) as Stripe.Checkout.Session & { payment_intent: Stripe.PaymentIntent & { latest_charge: Stripe.Charge & { balance_transaction: Stripe.BalanceTransaction } } };
````
However, for some checkoutSessions, `balance_transaction` is null.... Why is that?

Related Request ID(s)
req_1MRFu64VG6AoHn

What have you already attempted?
(continuing from above) I've mostly seen the issue with Klarna payments, but also with some other payment methods like card (VISA).
We're retrying after some time, and it works then. I just would like to know what has changed or how to properly implement that πŸ‘ It is also only reproducible in production, I've never seen it in test mode...

What are you working on?
a event ticketing platform (https://dein-ticket.shop)

#

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

Question
I have an application that uses Stripe to conduct transfers to connected accounts. I would like to know where exactly can I look to monitor the transfer status whether its pending, successful and whether the connected account has been paid out.

Related Request ID(s)
Transfers

What have you already attempted?
I have already pinged the transaction = await stripe.transfers.retrieve(txid);

It gives me information but doesnt really communicate transfer status.

What are you working on?
I have a marketplace that pays vendors.

#

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

Question
Looking to use the new usage-based billing system. Currently wondering how I can have multiple line items, of the same meter but in different "groups" i.e.

Group 1
Meter 1: Β£xxxx
Meter 2: Β£xxxx

Group 2
Meter 1: Β£xxxx
Meter 2: Β£xxxx

Currently, I only see a way to submit *total* usage for each meter directly to the user with now way to split up (by metadata etc.) in the invoices for the subscriptions.

Related Request ID(s)
N/A

What have you already attempted?
Considered using the old system, or handling the "splitting" in our dashboard.

What are you working on?
Compute-based usage based billing for multiple "groups" of compute.

cursive heronBOT
#

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

Question
Is it possible to create a subscription with a payment method that has insufficient funds ?

Related Request ID(s)
N/A

What have you already attempted?
await stripe.paymentMethods.attach(String(default_payment_method), {
customer: String(customer),
})

await stripe.customers.update(String(customer), {
invoice_settings: {
default_payment_method,
},
})

return stripe.subscriptions.create({
customer: String(customer),
default_tax_rates,
items,
expand: ['latest_invoice.payment_intent'],
})

What are you working on?
I am building a payments checkout page

#

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

Question
Hi! Is it possible to use the custom_unit_amount during creating checkout session?

	line\_items\: \[
					{
						price\_data\: {
							currency\: 'usd',
							product\_data\: {
								name\: \`Pack of merch\`
							},
							custom\_unit\_amount\: {
								enabled\: true // Required to allow customer adjustment
							}
						},
						quantity\: 1
					}
				\],

Related Request ID(s)
req_M7EsAJNrgQntRg

What have you already attempted?
https://docs.stripe.com/api/checkout/sessions/create?lang=node

What are you working on?
I want to let customers to donate for a cause. They could decide on the "price" .

#

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

Question
I need to understand a little more about the Stripe Connect Webhook for payouts.

Related Request ID(s)
PAYOUTS

What have you already attempted?
Attempting to establish a webhook.

What are you working on?
A marketplace that pays out vendors

#

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

Question
Using the capabilities retrieve api, i am able to accept card payments in my account but when i hit this endpoint it always gives status inactive

Related Request ID(s)
NA

What have you already attempted?
already read the docs the status should be active right ?

cursive heronBOT
#

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

Question
Do I need a GPR cookie consent form for Stripe's cookies?

Doc/Guide Links
Couldn't find specific resources for if Stripe cookies are tracking or not.

What are you working on?
SaaS website

#

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

Question
Hello, I keep getting this error: Error: No such customer: even I created a product on live mode, and I'm using the live mode Publishable key and secret live key, but when arriving to my checkout process I get this error: Error: No such customer: 'cus_QnhxGVP2zxFX04' . By the way my integration status is on 3/4 (in green )
and my keys are: pk_live_.... and sk_live_. I'll really appreciate some help, I been trying to fix this for weeks.

Related Request ID(s)
Developers > Api keys >

What have you already attempted?
I've already delete all my test data, restarted my server, created a new key, rollback my keys to get new ones,

What are you working on?
I'm creating a ecommerce with payload and nextjs hosted in payload.

#

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

Question
How can I test google pay and apple pay vendors in dev environment?

Related Request ID(s)
N/A

What have you already attempted?
<ExpressCheckoutElement
options={{
paymentMethods: {
applePay: 'always',
googlePay: 'always',
},
}}
onConfirm={(event: StripeExpressCheckoutElementConfirmEvent) => {
handleConfirm(event)
}}
/>

What are you working on?
A payments page using ExpressCheckoutElement for apple and google pay

#

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

Question
I'm looking for a smart and safe way to migrate from Stripe Elements to Stripe Checkout for our subscription-based website. Back then Checkout didn't exist yet. We are still using the API version from 2016 for Elements. We wonder if its better to create a brand new Stripe account to integrate Checkout and keep the old account running for old users. When the time and resource are there in the future, we could then copy the old user to the new one (https://support.stripe.com/questions/copy-existing-account-data-to-a-new-stripe-account). Would you suggest to do it this way? Thank you.

Related Request ID(s)
N/A

What have you already attempted?
None

What are you working on?
I'm a frontend developer who took over the codebase. I wasn't the one who originally implemented Stripe for our website.

#

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

Question
I want to get the product name of the subscription I'm changing to, not the product I'm changing from whenever the switching of plans is successful.

Related Event ID(s)
evt_1Q58q7C5Vnk6f7u9EI0WlBH7

What have you already attempted?
customer.subscription.updated
in items.data[0] i'm getting the current (before change) user's subscription. I saw that there is "plan" object with the "product" which seems to be the subscription I'm changing to but this rases two questions:

Is this webhook telling me that the subscription was successfully changed and also am i getting the product id of the plan i'm changing to correctly?

cursive heronBOT
#

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

Question
I am creating an Invoice and then attempting to pay it using Elements (prebuild component which includes card, ApplePay, GooglePay etc.) on web.
For some smaller values, this error appears, although my amount is larger than minimum:
"No valid payment method types for this configuration. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) and that the `amount` (185) is not lower than the `currency` (ron) minimum: https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts."

Related Request ID(s)
in_1Q7JSUQ5cKJaskCkLuPjYu7h

What have you already attempted?
Studied the documentation, it is specified that 2.00 RON is the minimum value for the currency that I am using.

What are you working on?
I am creating an event ticketing platform. Everything was working fine using card-element, but I am trying to add Apple,Google Pay so I migrated to Elements.

#

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

Question
Using Checkout Session, when is a checkout session able to generate a 'payment_intent' id? This is through using stripe.checkout.sessions.create

Related Request ID(s)
N/A

What have you already attempted?
Calling the checkout session API: "sessionParams: {
payment_method_types: [ 'card' ],
mode: 'payment',
customer: 'cus_QzGQVcr8xjF6YE',
line_items: [ { price_data: [Object], quantity: 1 } ],
payment_intent_data: {
capture_method: 'manual',
receipt_email: 'oct102424@test.com',
description: 'PSD Training',
setup_future_usage: 'off_session'
},
success_url: 'http://localhost:8080/processing-payment'
}
sessionParams.line_items [
{
price_data: { currency: 'usd', product_data: [Object], unit_amount: 19900 },
quantity: 1
}
]"

What are you working on?
I was assigned to create $0 purchases by wrapping our 'payment-intent' flow with a 'checkout-session'. We will cancel payment intent generated from checkout-session API creation if $0 payment due

#

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

Question
For local development, I'm getting "unable to download manifest" or "failed to load resource" for Google and Amazon Pay. Likewise, Link doesn't work either for express checkout element.

Related Request ID(s)
req_6tUslc6qVQqtno

What have you already attempted?
Not really sure how to get pass this.

What are you working on?
Adding Express Checkout Element to Payment Intent Checkout.

#

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

Question
Need more clarification with the webhook for payouts

Related Request ID(s)
Webhook Connect

What have you already attempted?
Using the Stripe built-in CLI

What are you working on?
Marketplace to pay out vendors

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/payments/bank-transfers#accepting-bank-transfer-payments-as-the-connected-account

Question
We are a platform with many connected accounts. We want those connected accounts to accept bank transfer payments. I understand that we can't enable bank transfers on behalf of those connected accounts. However, is there a way to turn on the bank transfers capability for a connect account in test mode, so we can develop against it?

What have you already attempted?
Trying to enable the bank transfer payment method for a connect account via the dashboard.

#

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

Question
Is it correctly understood that when i receive an 'account.updated' event ChargesEnabled and PayoutsEnabled is not correctly set on the Account object, unless its these fields that have changed?

Related Event ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Connected accounts app

#

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

Code
test setup:
import { Elements } from "@stripe/react-stripe-js";
import { loadStripe } from "@stripe/stripe-js";
import { render, screen, waitFor } from "@testing-library/react";

...
const stripePromise = loadStripe("pk_123456789");

render(
<Provider store={store}>
<Elements stripe={stripePromise}>{component}</Elements>
</Provider>,
);

...

expect(screen.getByPlaceholderText('Street address')).toBeInTheDocument();

Question
Is it even possible for a jest/react-testing-library test to render an Elements component? when i call `screen.debug()` I only see empty <div />s where the stripe elements would be

What have you already attempted?
i copy pasted a bunch of ideas from all over the place such as https://github.com/stripe/react-stripe-js/issues/59#issuecomment-632271980

I also tried using the real publishable key in the test stripePromise.

What are you working on?
a checkout page

#

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

Question
What is the event that I should use for both Card and Revolut Payment Successfulness as my payment_intent.succeeded only runs for when it is a Revolut payment and not a Card payment.

Related Event ID(s)
nil

What have you already attempted?
Reading docs

What are you working on?
Webhook Handler

#

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

Question
Using stripe connect to payout but gettin a 400 error and I'd like to understand it

Related Request ID(s)
req_slrXPuaBa9pfcj

What have you already attempted?
Using stripe dashboard and api

What are you working on?
buildin with stripe connect

#

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

Question
How should I tell if a request is from api call that our application makes or if it is from a stripe automation (e.g. radar)?

In requests, I see that req_Wqii7XswLfBtg0 triggers a DELETE call on subscription "sub_1Q5zpyFgh02vnRc7tStgdZMl" but inside logs for that subscription, eventually the subscription "ended" with an update event evt_1Q5zq3Fgh02vnRc7SDDRNBtZ; So I *think* this means stripe ended that subscription because that triggered radar rule. But would like to confirm.

Related Request ID(s)
req_Wqii7XswLfBtg0

What have you already attempted?
Read through all the request logs. But I am still uncertain on how to find if a request is made from our application.

cursive heronBOT
#

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

Question
I'm implementing a SaaS application with both monthly and yearly subscription plans using Stripe. For yearly subscriptions, I need to bill customers annually but set and reset usage limits (e.g., message counts, API calls) on a monthly basis. What's the best way to structure my Stripe products and prices to support this? Can Stripe's built-in features help track and reset monthly usage for yearly subscriptions, or should I handle this entirely on my application side? I'm looking for the most efficient way to implement this using Stripe's capabilities.

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

What are you working on?
Creating a SaaS for messaging.

cursive heronBOT
#

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

Code
There is no code involved.

Question
I'm having an issue with creating a stripe account. Each time I do so, it gets instantly locked down, due to a high volume of unauthorized payments - although there are none. It seems like a technical error and I need urgent help with it.

What have you already attempted?
I've tried making multiple accounts from different devices.

#

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

Question
I have a Recipient payout account attached to my Stripe account. I also have a Recipient payout account attached to my Sandbox Stripe account. When I run await stripe.v2.financialAddresses.list(); (using the NodeJS SDK) in my sandbox, I get the account data for my Recipient Payout account. When I run it in prod, the request doesn't fail, but it doesn't return metadata for my financial account, i.e. my "recipient payout" account. I can't figure out why this is happening - how can I list financial accounts in prod?

Related Request ID(s)
req_v2u9hFZfvm8sQ2zRR

What have you already attempted?
I have it all working perfectly in staging. I've created a support ticket and they are really really slow to respond (and had to "escalate" the issue - no word back yet).

I've also tried updating my prod API keys, in case prod didn't "know" about my financial account because it had an old key. This didn't work.

What are you working on?
a way for researchers to pay survey respondents online

#

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

Question
this is a question about error handling for go-sdk.

Imagine you have this code:
```
pm, err := stripeClient.PaymentMethods.Get(
id,
nil,
)
if err != nil {
return fmt.Errorf("stripe payment methods get: %w", err)
}
...
```
Could there be any case where err is nil AND payment method is nil? Generally go convention is that when err is nil, the value has to be valid but wanted to confirm

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
working with stripe go-sdk

cursive heronBOT
#

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

Question
I am building a new CRM for a company based in france and currently in discussion to integrate SEPA payment through stripe. they already have customers with banking details and mandate authorization. do I need to import the customers data to stripe? and what are the best practices to integrate SEPA stripe for requiring payments

Doc/Guide Links
https://support.stripe.com/questions/data-that-can-be-imported-to-a-stripe-account

What are you working on?
building a CRM for insurance broker agency

#

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

Question
onboarding - stripe connect - service agreement

Related Request ID(s)
onboarding - service agreement

What have you already attempted?
is it correct to set service_agreement recipient for US, or recipient is only available for EU ?

tos_acceptance: {
date: Math.round(new Date().getTime() / 1000),
ip: ownership_declaration.ip,
service_agreement: 'recipient',
},

cursive heronBOT
#

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

Question
I use the Invoice List Endpoint to receive all open invoices from all customers. The parameters are Limit=100 & status="open". The problem is that the array is still empty, even though there are invoices that are open.

Related Request ID(s)
in_1Q7MyiG3J6HysIYcSJsjravb

What have you already attempted?
I tried everything. I used even the Stripe CLI and it's not returning me the open invoices.

What are you working on?
I'm building a stripe integration for my SaaS

cursive heronBOT
#

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

Question
I am using a platform account with a connected express account. When creating a charge/payment intent, i want to split the original charge $12 such that the platform keeps $10 and the connected express account keeps $2. I am doing this via transfer on the original payment intent/charge. However, as the platform account, if I want to get this 2 dollar back, how would i do so? what if the original transfer has been paid out already?

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

What are you working on?
I am working on trying find a good way between a platform account and a connected express account to split an initial payment, but be able to pay back the customer the full amount without 1 party being fully responsible.

#

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

Question
What is the best way to know if a webhook for a subscription is for a renewal? I tried looking for billing_reason but don't see it.

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Question
Is there a way to show features list for subscriptions in the customer billing portal? It currently shows only name of the subscription and price but no features list. When users are trying to upgrade, they want to see the features list to understand what they will get for the money they are paying and there seems to be no way to show the features lists on the customer billing portal. The pricing table shows the features list but not sure how to embed that in the billing portal.

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

What are you working on?
We are building a platform for event organizers and sponsors.

cursive heronBOT
#

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

Question
Trying to understand how the `autoPagingIterator` works in relation to the initial query that it requires. From the docs:

```php
$customers = $stripe->customers->all([
'limit' => 3,
]);
foreach ($customers->autoPagingIterator() as $customer) {
// Do something with $customer
}
```

In this example ☝ what does the `limit => 3` do? eg, does that cap the initial requestβ€”and every subsequent request the `autoPagingIterator` has to makeβ€”at 3 records? Or just the first/initial request, with the `autoPagingIterator` maxing out to the 100 record limit on subsequent requests?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Processing all payments that feed into a single payout.

cursive heronBOT
#

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

Code
PaymentSheet(fragment, ::onPaymentSheetResult)
.presentWithSetupIntent(credentials.setupIntentClientSecret, PaymentSheet.Configuration.Builder(merchantDisplayName = context.getString(R.string.app_name))
.apply {
customer(
PaymentSheet.CustomerConfiguration(
credentials.customer,
credentials.ephemeralKey
)
)
} .build()
)

Question
Is there a way to force the PaymentSheet on Android to always display the "Add Payment" screen regardless of whether the user has linked credit cards? The PaymentSheet currently shows a payment methods management screen if the user has linked credit cards

What have you already attempted?
I have tried using PaymentSheet + SetupIntent

What are you working on?
Replacing legacy Basic Integration with Mobile Payment Element

cursive heronBOT
#

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

Question
I am trying to retrieve stripe_invoice_line_items from an invoice in my live account via the CLI. I have V.1.21.8.

Using the command `stripe invoice_line_items list in_1Q4tZYLTGhL6Kyay1Y5lWrRc --limit="100"` I get this error.

Unknown command "invoice_line_items" for "stripe".
See "stripe --help" for a list of available commands.

Can you help me figure out what I am missing? I know I don't have the --live flag in here, but I can't seem to figure out where that flag is supposed to be in the command. Also, does this mean that it is not supported in the CLI?

Related Request ID(s)
N/A

What have you already attempted?
`stripe invoice_line_items list in_1Q4tZYLTGhL6Kyay1Y5lWrRc --limit="100"`

What are you working on?
Retrieving all invoice line ids for an invoice in live mode.

cursive heronBOT
#

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

Question
Is it possible to reverse a transfer that has already been paid out? (assuming that there is sufficient balance to cover this)

Related Request ID(s)
NA

What have you already attempted?
I haven't been able to test this on a test account yet because my test account funds are still in pending

cursive heronBOT
#

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

Question
how can i know when amount of which customer goes into available balance from pending balance

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Service Based Application

#

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

Question
How can I create a subscription with a payment method from Apple or Google Pay?

Related Request ID(s)
N/A

What have you already attempted?
I have implemented this guide https://docs.stripe.com/elements/express-checkout-element/accept-a-payment?client=react&lang=node#submit-the-payment

except I also create a subscription. I want to use the express checkout element as a paymentMethod for future payments on the subscription.

What are you working on?
I am trying to build a payments page that uses a CardElement, and an ExperessCheckoutElement in order to collect a payment method, create a subscription, and charge the subscription.

cursive heronBOT
#

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

Code
{
"error": {
"code": "payment_intent_invalid_parameter",
"doc_url": "https://stripe.com/docs/error-codes/payment-intent-invalid-parameter",
"message": "PaymentIntents cannot be confirmed with an installment plan unless `payment_method_options[card][installments][enabled]` is set to true.",
"request_log_url": "https://dashboard.stripe.com/*******test/logs/req_l78G0b46Wiw2bZ?t=1728343637",
"type": "invalid_request_error"
}
}

Question
Im not able to pay using installments. Maybe I'm missing a setup process on the account

What have you already attempted?
Changed the limits in the Stripe dashboard.

cursive heronBOT
#

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

Code
app.post('/payment-sheet', async (req, res) => {
try {
const customerId = req.body.id; // Extract customer ID
const amount = req.body.amount; // Extract amount

console.log\("Customer ID\: " + customerId\);
console.log\("Amount\: " + amount\);

const ephemeralKey = await stripe.ephemeralKeys.create\(
  { customer\: customerId },
  { apiVersion\: '2022\-11\-15' }
\);

const paymentIntent = await stripe.paymentIntents.create\({
  amount\: amount,

Question
const ephemeralKey = await stripe.ephemeralKeys.create(
{ customer: customerId },
{ apiVersion: '2022-11-15' }
);

Customer is being labeled undefined. Should I be putting customer Id value here?

What have you already attempted?
I am getting this error on the server:

UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode).

What are you working on?
I am trying to add a payment sheet to my Android app using Kotlin client and node js server.

cursive heronBOT
#

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

Question
After the user authorized 3ds verification, we queried the payment intent status through the interface and found that it was processing. Later, we found that 3ds verification failed. How can we know the final result of 3ds for the processing status?

Related Request ID(s)
payment intent id: pi_3Q42lWEmZ3YgtBNv1R8K5Z0Q

What have you already attempted?
none

#

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

Question
paymentSheet?.present hands in ios 16 , swift 5

Related Request ID(s)
req_vYJR5Ztr89K12g

What have you already attempted?
STPAPIClient.shared.publishableKey = self.stripe_publishable_api_key
var configuration = PaymentSheet.Configuration()
configuration.merchantDisplayName = "BO Inc."
configuration.customer = .init(id: self.customer_id, ephemeralKeySecret: self.ephemeral_key)
configuration.allowsDelayedPaymentMethods = true
let paymentHandler = STPPaymentHandler.shared()
DispatchQueue.main.async {
self.paymentSheet?.present(from: self) { paymentResult in
switch paymentResult {
case .completed:}

What are you working on?
Trying to present paymentSheet?.present to user in ios mobile app

cursive heronBOT
#

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

What did you expect to happen?
When a user is on a trial and they upgrade the quantity of the subscription, it should maintain the trial.

What actually happened?
It immediately charges them and doesn't maintain the free trial.

Reproduction Steps
Create a subscription with a quantity of 1 and a free trial of X days. When the user changes the quantity at all, they are charged for it when it should be under trial.

Question
Am I missing something? How can I make sure the user can maintain their trial even if they adjust the quantity of a subscription (aka, adding seats)?

cursive heronBOT
#

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

Question
Stripe Refunds When There Are Insufficient Funds: The error message is not displayed in the front end when we try to refund the payments due to insufficient funds. We can see the exception.

Related Request ID(s)
Stripe Payments

What have you already attempted?
We have tried to capture errors that were thrown but haven't seen any error messages.

What are you working on?
We are building the product.

cursive heronBOT
#

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

Code
```
async updateAddress({ stripeElements, teamId }: { stripeElements: StripeElements; teamId: number }) {
const stripeClient = getStripeClient();
const result = await stripeClient.confirmSetup({
elements: stripeElements,
redirect: "if_required",
});
if (result.error) throw result.error;
}
```

Question
I am using Stripe JS to create an address element on a page. The customer would have already added a card to his/her profile. But I want a page where it gives them to update only the address.

What have you already attempted?
I tried using Stripe Address Element. But when doing the confirm setup in the code I've pasted I get this error
`Failed to update address IntegrationError: Invalid value for stripe.confirmSetup(): elements should have a mounted Payment Element or Express Checkout Element. It looks like you have other Elements on the page. Refer to https://stripe.com/docs/js/setup_intents/payment_method to confirm a Setup Intent by payment method.`

How can I let customer update address then?

What are you working on?
Just building a page where customers can update their address independently instead of having to fill in both card number cvc AND address.

cursive heronBOT
#

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

Question
Im using Stripe Billing to manage subscriptions

I got a few questions:

  1. When creating a Checkout Session Im passing the customer_email with the api call before sending the customer to the stripe-hosted checkout page.

Can the customer change this email address at checkout?? Is it safe to rely on this email address when using checkout.session.completed webhook to match the user to my database?

  1. Also Im listening for both checkout.session.completed and invoice.paid webhooks. what data do I use to match the 2 webhooks together?

Related Event ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

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

Question
All my payment intents are created and confirmed at the same time (`confirm=True`). Wanna confirm when switching to "Asynchronous capture", the card is charged synchronous and the payment intent status will not revert from `succeeded ` to `failed`?

If I don't need the fields `balance_transaction`, `transfer` and `application_fee`, there is no change I need to do?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Trying to ugrade API version to 2024-04-10

cursive heronBOT
#

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

Question
I'm testing subscriptionSchedule for updating subscription quantity of next billing cycle.

My logic is if there is no subscriptionSchedule connected with subscription then create subscription Schedule and update schedule with two phase ( first one is current subscription and second one is updated quantity of subscription for next billing cycle).

And i tested with subscription testClock after 1year.
Charging is work well with updated Quantity.
The problem is subscription schedule's first phase was removed from subscription update dashboard but not removed from API call.

Related Request ID(s)
Subscription update request ID : req_6pCbNGmT8V9VDj

What have you already attempted?
I tried this option but this not removed ended phase

.setEndBehavior(SubscriptionScheduleUpdateParams.EndBehavior.RELEASE)

cursive heronBOT
#

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

Question
I find some products stripe checkout page have two button on the top, but my product have no these buttons(pay with link, G pay)

I can make sure the link is support already

Related Request ID(s)
no

What have you already attempted?
enable link

cursive heronBOT
cursive heronBOT
#

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

Question
I want to create a subscription via code, but I don't want to generate any invoices or charge them. They won’t need to pay anythingβ€”just a free subscription that allows them to use my software. No invoices, no card detailsβ€”nothing required from their side. I just need to create a subscription in Stripe for free access

Related Request ID(s)
/v1/subscription_items?subscription=sub_1Q4RNwIf25crLIrZQJYOPZtx

What have you already attempted?
i just tried with this
stripe.subscriptions.create({
customer: customerId,
items: [
{
plan: `${
ourCustomer
? subs_Id_1
: subs_Id_2
}`,
quantity: 0,
},
],
default_tax_rates: [taxes || ''],
...(ourCustomer ? {
billing_cycle_anchor: Math.floor(Date.now() / 1000),
} : {
collection_method: 'send_invoice',
days_until_due: 5,
trial_period_days: 14,
})
});

What are you working on?
I am working on SDE at payroll software company

cursive heronBOT
#

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

Question
want to enable all available payment option while creating checkout, how can I do that, currently I am adding the payment type options in the list of paymentMethodTypes, but if those are not enable it's giving me error that payment method not available on stripe?

Related Request ID(s)
NA

What have you already attempted?
I tried to make that automatic but didn't find any option

What are you working on?
working on Cohere platform for coaches so they can create their services and sell using the platform

cursive heronBOT
#

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

Code
const stripe = Stripe('pk_test_51IppU7EKZ4Dtb2aTNdyk7W0vQ5G44J59jNDoOsGXQVHq4UC3Xw83ksjSbPKq7xKw7Nj8f9F3yGFYi2Z3plPnZ4ps00wjIVIL3p');
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
};
const elements = stripe.elements(options);

Question
Apple pay not showing. I've done domain verification

What have you already attempted?
I've migrated to express checkout element and all buttons are visible except apple pay.

This is my demo site
https://demo4.wtdev.xyz/product/affiliate/

What are you working on?
https://docs.stripe.com/elements/express-checkout-element/migration

#

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

Question
We are doing standard onboarding process through mobile webview. When we are on payouts step and do select option to connect any bank. When bank session starts, it redirects user to real browser from webview where session is not present and it is showing error "the auth session is in an invalid state for thisΒ action",

Related Request ID(s)
acct_1Q7ZebHFNpMnpf86

What have you already attempted?
I was trying some changes in account create api in order to hide bank connection step and enable only manual credetials but no luck

What are you working on?
mobile app for tipping

#

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

Code
<WebView
source={{uri: link}}
sharedCookiesEnabled={true}
domStorageEnabled={true}
thirdPartyCookiesEnabled={true}
javaScriptEnabled={true}
userAgent="Mozilla/5.0 (Linux; Android 10; Mobile) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Mobile Safari/537.36"
keyboardDisplayRequiresUserAction={false}
/>

Question
Getting "the auth session is in an invalid state for this action" when try to connect stripe account in the WebView from react native mobile app

What have you already attempted?
Tried to manage the session but still it's not working

What are you working on?
Working on an Fintech application

#

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

Question
When using
stripe.confirmPayPalPayment({})
.then(function(payload){
console.log(payload);
});

The user selects paypal and when the form is submitted the user is forced to an external page to complete the payment or cancel it.

Once completed, the user is returned back to another page and not back to the script that made the call (so i dont get the console message appear)

With braintree, I can select paypal which then brings up a paypal modal to compelte the payment and sent back to the calling script to complete the process.

With stripe do i need to do something else to get this to work?

Related Request ID(s)
req_lLIsNo7Emx68bo

What have you already attempted?
If i use
stripe.confirmPayment({}).
then(function(payload){
console.log(payload);
});

stripe.confirmSetup({}).then(function(payload){
console.log(payload);
});

these work perfectly so I can notify the user that the payment is complete.

( I do not want to have force the user to a different after payment success)

What are you working on?
migrating braintree to stripe

cursive heronBOT
#

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

Question
When a customer purchases a subscription service for the first time, they use their A bank card number. However, if the customer wishes to change their bank card number to B in the third month, is this feature supported?

Related Request ID(s)
no

What have you already attempted?
read the subscription api

#

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

Code
const stripe = Stripe('pk_test_51IppU7EKZ4Dtb2aTNdyk7W0vQ5G44J59jNDoOsGXQVHq4UC3Xw83ksjSbPKq7xKw7Nj8f9F3yGFYi2Z3plPnZ4ps00wjIVIL3p');
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
};
const elements = stripe.elements(options);

Question
I've integrated express checkout element but Apple pay not visible.

What have you already attempted?
I've added domain verification. All other buttons are showing except apple pay

#

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

Question
I'm developing an API and it requires annual subscription. For customers to be able to purchase the subscription, I'm using stripe. A few days ago I did a test of a payment and the customer was not registered and became a guest, so I thought it was necessary to register customers after checkout from the backend of the project. But now I'm doing tests and I've noticed that it's now registering customers automatically. Now I'm in doubt. Do i have to register customers after checkout in the backend or not? I'm using test mode. What is the process that is supposed to happen?

Related Request ID(s)
None

What have you already attempted?
None

#

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

What did you expect to happen?
I need help with the price, tax and coupon calculation and i found it little mismatch.

What actually happened?
It should be calculate properly or show how it is calculated

Reproduction Steps
Add 2 line items one with tax another without tax and also add discount use checkout session api

Question
Need to understand the calculation

#

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

Question
How to select PINless debit network cards like Pulse, STAR, NYSE etc.?

How to tokenize it for recurring payments? Is it possible to switch between the networks during the MIT payments?

Related Request ID(s)
NA

What have you already attempted?
Checked on docs

#

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

Question
I need to edit my footer according to the customer billing address. Using Stripe-Hosted checkout page, how can I update the invoice auto-generated by the checkout?
I tried using webhooks with 'invoice.created' event but the invoice is finalized already.

Doc/Guide Links
https://docs.stripe.com/invoicing/customize
https://docs.stripe.com/billing/invoices/subscription

What are you working on?
I am working on customer subscription invoices

#

@scenic swallow 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/billing-cycle

Question
I want to create a multiple subscriptions with a matching billing cycle of 1st active Subscription of the customer.

Let's say the customer subscribed on 1st Oct and is subscribed to another subscription on 8th Oct.

I want to backdate the second subscription to 1st October, and the next billing should start on 1st November, matching the first Subscription.

What have you already attempted?
When I put the subscription backdate it doesn't match the billing cycle. The billing cycle still starts on 8 Oct-8 Nov.

If I put `billing_cycle_anchor` it doesn't charge the customer immediately.

What are you working on?
We want to match billing cycles of multiple subscriptions

#

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

Code
mistake adeudo directo sepa

Question
We have an error with the direct debit SEPA, and it doesn't allow us to enter the customers' account numbers in Trainingym

What have you already attempted?
I urgently need to resolve the problem; we want to have access to SEPA in Stripe.

What are you working on?
ports management

#

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

Code
options = new SessionCreateOptions()
{
PaymentMethodTypes = new List<string>
{
"card"
},
Customer = model.StripeCustomerId,
LineItems = new List<SessionLineItemOptions>
{
new SessionLineItemOptions
{
Price = model.PriceId,
Quantity = 1,
}
},

 Mode = "payment",
 SuccessUrl = SuccessUrl,
 CancelUrl = CancelUrl,

};

Question
I am creating checkout sessions using API, how may I know the enabled payment method types for a standard account and add them while creating checkout session?

What have you already attempted?
I tried to add all payment methods but it throws error that those are not enable?
I want to know how can I check about the enabled payment methods to add in the list?

What are you working on?
working on Cohere platform for coaches so they can create their services and sell using the platform

cursive heronBOT
#

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

Question
How to stop creation of invoice when we create a subscription

even it was created with units $0 , is stripe will send notifications to customers related to invoice or not ?

Related Request ID(s)
/v1/subscription_items?subscription=sub_1Q4RNwIf25crLIrZQJYOPZtx

What have you already attempted?
I tried with creating subsriptions with - stripe.subscriptions.create api

#

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

Code
import {Elements} from '@stripe/react-stripe-js';
import {loadStripe} from '@stripe/stripe-js';
import CheckourForm from './checkoutform';

const stripePromise = loadStripe(publishable_key);
export default function App() {
const options = {
clientSecret: client_secret_key
};
return(
<Elements stripe={stripePromise} options = {options}>
<CheckoutForm />
</Elements>
);
};

Question
This code has one error.
IntegrationError: INvalid value for elements(): clientSecret should be a client secret of the form ${id}_secret_${secret}. You specified: sk_test_.....

Please help me.

What have you already attempted?
I copied my secret key in my account and pasted it.

#

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

Question
Is there a way to generate promo codes/coupons dynamically, on request from API?
Example: I want to provide a buying option for a coupon for 5 subscriptions at the price of 3. When the customers buys this from my website, I want to redirect them to Stripe for an one-time-payment for that coupon, generate the coupon dynamically and send it to the customer on the spot. Otherwise, I should track these payments and generate the coupons manually.
Any help, please?

Related Request ID(s)
https://docs.stripe.com/payment-links/promotions

What have you already attempted?
I tried to find documentation or examples for my question above. No luck so far, so I don't know if it's possible.

What are you working on?
I'm trying to build a services provider based on Stripe(s) subscription. But some clients asked for a better price for bulk buying, so I'm looking on how to use coupons and promo codes now. Thank you!

#

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

Question
Stripe Checkout Payment Intent Data setup_future_usage documentation clarification

Related Request ID(s)
NA

What have you already attempted?
Hi,

According to docs
````
If a Customer has been provided or Checkout creates a new Customer, Checkout will attach the payment method to the Customer.

If Checkout does not create a Customer, the payment method is not attached to a Customer. To reuse the payment method, you can retrieve it from the Checkout Session’s PaymentIntent.
```
the documentation is a little confusing here, my question if I give a customer id to checkout session, will the payment method be saved?

What are you working on?
NA

#

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

Code
I don’t have a code. just an error message

Question
stripe won’t verify my account

What have you already attempted?
I have to make a stipe account through wag but stripe won’t verify my account or let me login. I have tried reaching out to wag but no luck. the message says β€œoops. something went wrong verifying your account. please try again later”

What are you working on?
creating a stripe account for Wag!

cursive heronBOT
#

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

Code
public async Task UpdateMonthlyPayment(UpdateMonthlyPaymentViewModel stripePaymentRequestViewModel)
{
Log.Logger.Information($"UpdateMonthlyPayment - {stripePaymentRequestViewModel.ToJsonString()}");

    StripeConfiguration.ApiKey = stripePaymentRequestViewModel.ApiKey;
    var requestOptions = new RequestOptions
    {
        StripeAccount = stripePaymentRequestViewModel.AccountKey
    };
    var options = new PriceUpdateOptions

Question
want to update price using price id

What have you already attempted?
update price , but getting error

{"Success":false,"Payload":null,"Message":"Invalid currency: unit_amount_decimal. Stripe currently supports these currencies: usd, aed, afn, all, amd, ang, aoa, ars, aud, awg, azn, bam, bbd, bdt, bgn, bhd, bif, bmd, bnd, bob, brl, bsd, bwp, byn, bzd, cad, cdf, chf, clp, cny, cop, crc, cve, czk, djf, dkk, dop, dzd, egp, etb, eur, fjd, fkp, gbp, gel, gip, gmd, gnf, gtq, gyd, hkd, hnl, hrk, htg, huf, idr, ils, inr, isk, jmd, jod, jpy, kes, kgs,

#

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

Question
I am trying to integrate paypal express checkout with my stripe payment element.

We only sell subscriptions, so this isn't a standard checkout.

On my stripe element I have the paypal button but when I click it the page gets redirected to paypal.

I need this button to bring up the paypal express checkout window instead.

Related Request ID(s)
req_lLIsNo7Emx68bo

What have you already attempted?
I have tried using stripe.confirmPayPalPayment however this doesnt seem to activate the express checkout so the user sees just the express checkout window.

What are you working on?
migrating braintree to stripe

#

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

What did you expect to happen?
I have a PHP subscription integration with 3 days trail.
I am expecting the first payment success rate after trial period ends to be 70%.

What actually happened?
I happen to see a drop from 70% to 30% in first payment success rate after trial period ends.

Reproduction Steps
Upon investigating the data(failure reason), I have noticed the increase is "insufficient_funds" decline code.
75% of the total declines.

Question
I usually had 20% "insufficient_funds" rate but in the month of Sep, I am seeing a spike in this specific decline code rate. Which is affecting my overall conversion rate.
For this first week of october, I have
Total declines = 256 out of 308
In which "insufficient_funds" = 193 out of 256 (i.e 75% of total declines).

This seems weird to me. Need help

cursive heronBOT
#

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

Code
const confirmHandler: IntentConfiguration['confirmHandler'] = async (
paymentMethod,
shouldSavePaymentMethod,
intentCreationCallback
) => {
stripeCheckout(
{
orderId: orderData.orderId,
paymentMethod: {
...paymentMethod,
},
returnUrl: linkingUrl,
savePaymentMethod: shouldSavePaymentMethod,
},
{
onSuccess: ({ clientSecret }) => {
intentCreationCallback({ clientSecret });

Question
Why app is crashing after confirm handler response fails only during applepay

What have you already attempted?
Our confirmHandler method works well with card payments and with applepay too only when stripeCheckout succeed.
If we are doing card payment and error occurs - then it appears on the sheet due to ```intentCreationCallback({
error: {
code: 'Failed',``` which is good.
But if error occurs during applepay then app is crashed. I can send you videos of that or full native crash report

What are you working on?
Events management app

#

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

Question
Need a way to track a transfer event and a respective payout event to monitor what stage a user's funds is at when they are getting paid on Connect.

Related Request ID(s)
CLI and webhooks

What have you already attempted?
I am attempting to monitor the balance.available webhook and the payout event webhooks on my local machine.

What are you working on?
Marketplace for vendors

cursive heronBOT
#

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

Question
Hi, I'd like to provide a way to allow my customers to update the payment method (specifically, credit card) use on subscriptions. I'm considering to use the hosted customer portal (with the specific flow) but it's not clear to me how this interacts with payment methods saved on subscriptions (payment_settings.save_default_payment_method=on_subscription -> default_payment_method).
The use case is to provide a way to update an expiring card on an existing subscription.

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

What are you working on?
Payment system with subscriptions

#

@peak 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://stripe.com/en-cz/connect/pricing

Question
Hi, I am a bit confused about the Stripe Connect pricing options that are listed on the pricing page. I would like to select "Stripe handles pricing for your", so that I don't have to pay the active account and payout fees. However, I don't understand where do I select this option - I can't find this setting anywhere in the dashboard. I would assume that it is instead implied from a specific combination of the controller settings on the connected accounts (such as the type of charges, who is liable for negative balances, etc.), but if it is like that, I can't seem to find an explicit explanati

What have you already attempted?
- Checked all pricing docs
- Searched the console
- Searched on the web. Found one Reddit question with the same problem but without an answer.

What are you working on?
A marketplace for playing TTRPG games (such as D&D) online - game masters offer their storytelling services to players and get paid for their work. Platform takes a cut from each transaction.

#

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

Question
Using Stripe-Hosted checkout page, I need to set the customer subscription auto-generated invoice footer according to the customer billing address.

I tried using webhooks with :
- 'invoice.created' event but the invoice is finalized already
- 'checkout.session.completed' event to set the customer invoice_settings footer but the invoice is created and finalized before it completes

How can I work around this?

Note: I cannot create customers or know its billing country before the checkout session is created

Doc/Guide Links
https://docs.stripe.com/invoicing/customize
https://docs.stripe.com/billing/invoices/subscription

What are you working on?
I am working on personalized customer subscription invoices based on their billing country

cursive heronBOT
#

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

Code
Facing Issue With Payment Intent Setup_future Usage Using Confirmation_token for Two Step Checkout

Question
Facing Issue With Payment Intent Setup_future Usage Using Confirmation_token for Two Step Checkout

What have you already attempted?
Facing Issue With Payment Intent Setup_future Usage Using Confirmation_token for Two Step Checkout

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/paypal

Question
I have a USA based stripe account. I want to integrate paypal for my subscription service however according to these docs that is not possible for USA based accounts. PayPal not being an option in my dashboard confirmed this. However I have seen other USA based companies offer Paypal with their stripe checkout. At first I thought that this was just offering two different payment providers, but when I went to cancel the subscription, after previously paying for it with paypal, it was a stripe invoice that was shown to me.

What have you already attempted?
I have tried passing in paypal as a payment method when creating the checkout sessions which didn't work. I've looked at this documentation as well which just further confused me https://support.stripe.com/questions/paypal-payment-method-availability.

What are you working on?
I have a website where I sell a subscription service using stripe as the payment provider. We want to include paypal.

cursive heronBOT
#

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

Question
trying to integrate paypal express checkout along side payment element.

Is there a way to have both payment element and paypal express checkout elements running on the same page because the paypal button on the payment element does not provide a solution for our requiremenets.

Related Request ID(s)
req_lLIsNo7Emx68bo

What have you already attempted?
Tried all sorts, exhausted with searching through endless amounts of useless support pages that are out of date. Wasting way to much on this very simple task that we achieve with braintree payments.

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

cursive heronBOT
#

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

Question
Reserving for the post due to length

Doc/Guide Links
I've read the docs religiously haha

What are you working on?
A print shop ERP via Airtable/Stripe/Make and other low code tools

#

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

Code
Request ID: req_OhzhEusggkJXhy

Question
Noticed a couple of requests to create payment intents failed this afternoon with "An unknown error occurred"

What have you already attempted?
The workbench log doesn't show any further data

cursive heronBOT
#

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

Question
Where is the MRR parameter on the customer object stored? Im trying to include that in a zap to be mapped with Salesforce accounts but cant find it.

Related Request ID(s)
none

What have you already attempted?
Checked API documentation.

#

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

Question
When creating a preview invoice, why is the status of tax "requires_location_inputs" when I have provided a full address?

Related Request ID(s)
req_tmiBOJaz1vSKvP

What have you already attempted?
I first tried with just the country and postal code values which resulted in the same status. I then the line 1 and 2 field and it's still the same status

What are you working on?
Integrating with Stripe Tax

#

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

Question
We're trying to move our stripe billing cycle to midnight for all existing subscriptions and I wanted to see if this was possible using billing anchor time.

Related Request ID(s)
N/A

What have you already attempted?
Docs say that we can't do this for existing subscriptions

#

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

Question
Why does my Plattform Stripe account pay the fees that occur when I refund a transaction for a standard connected Stripe account of one of my tenants using customer balance SEPA transfers (using Virtual IBAN)? It seems like an overlook, because the fees could just be debited to the connected account...

Related Request ID(s)
req_U4SzHMXsgz7eJ1

What have you already attempted?
I already attempted contacting Stripe Support via email and they were 0% helpful.

cursive heronBOT
#

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

Question
I'm seeing the payment.created event in the CLI, but I'm not seeing any documentation on it nor am I seeing it as an event I can listen for in the Stripe dashboard. I'm not seeing that event in the event log of the Stripe dashboard either. What is the purpose of sending that event only in the CLI?

Related Event ID(s)
evt_1Q7gHM2UCnyqrQmAaIXxtl7X

What have you already attempted?
I've looked at the listed events in the docs and it is not there. I'm also not seeing it as an event I can listen for.

What are you working on?
An integration that uses SetupIntents to let customers pay with credit cards.

#

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

Question
How do we simulate cross boarder and connect account fees for Stripe Connect

Doc/Guide Links
There is no documentation on this.

What are you working on?
will tell you in separate message

#

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

What did you expect to happen?
Stripe card element is asking for a zip code and not postal code for customers in Canada.

Expectation is for it to ask customers in Canada for the postal code or not have postal/zip code field displayed.

What actually happened?
Asking for zip code regardless of country.

Reproduction Steps
Load stripe card element on a page.

Question

  1. Is the Zip / Postal code field required or can it be turned off?

  2. Can it be turned off from an Stripe dashboard where they can state they don't want to collect that?

  3. How to have the postal code field show and not zip if the customer's card is associated with a Canadian billing address?

#

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

Question
What webhook event to listen to when subscription is finished and didnt get renewed

and also if user is subscripted to plan a and wants to upgrade to plan B what web hooks to expect and where to i send user to upgrade

Doc/Guide Links
customer.subscription.deleted

What are you working on?
subscription model

cursive heronBOT
#

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

Question
What is the proper way to send this form post key/value pair :

```
permissions.update.shipping_details=server_only
```

Assume using curl.

My attempts result in this :

```json
{
"error": {
"code": "parameter_unknown",
"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",
"message": "Received unknown parameter: permissions.update.shipping_details",
"param": "permissions.update.shipping_details",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_xxxxxxxxxxxxxxxxxxxx",
"type": "invalid_request_error"
}
}
```

Related Request ID(s)
none

What have you already attempted?
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-permissions-update-shipping_details
https://docs.stripe.com/payments/checkout/custom-shipping-options?client=html

What are you working on?
Checkout session where stripe collects billing information, but allows us to dynamically set available shipping options based on customers shipping address, current rates, etc.

cursive heronBOT
#

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

Question
I want Stripe to send emails in advance of an upcoming annual renewal, but not monthly renewals. Is the best way to do this setting the renewal event for upcoming invoices to 45 days before a subscription renewal? That way, it will only cover renewals longer than a month? Would that have any other unintended affects on monthly/annual subscriptions?

Related Event ID(s)
invoice.upcoming

What have you already attempted?
Not sure there's an easy way to test this given how long it would take for a subscription period to start/end.

What are you working on?
Developer tool product

#

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

Question
We're a US-based company supporting Stripe Terminal (multi-tenant SaaS using Stripe Connect) that launched our first customer in Canada a few days ago. They've informed us that Interac payments are not working, so I'm urgently adding this support to our platform. I'm unable to test our interac flow because I get `The interac_present source type is not supported in US.`. Is there any way to test payment intents using Interac if we're not physically in canada?

Related Request ID(s)
req_vAHzYkEg3NmsAe

What have you already attempted?
Adding `interac_present` to the payment methods when creating a payment intent (server side).

What are you working on?
Stripe Terminal + `interac_present` payment method

#

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

Question
my business have merged with another business and as part of the merge we wanted to move credit cards tokens to our side. we are looking for a way to allow customer to enter the cvc on their first checkout then later we use normal token. is there an api endpoint where we can update the existing token cvc value?

Related Request ID(s)
credit card tokens

What have you already attempted?
I have used the endpoint for https://docs.stripe.com/api/tokens/create_cvc_update
but it's mentioned it's single use only so it's not actually update the cvc within an existing card

#

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

What did you expect to happen?
Be able to checkout with Apple Pay

What actually happened?
Domain Verification was successful but got error about domain not registered. Apple pay button also showing.

Reproduction Steps
- verify a domain, in our end it does automatically verify our subdomains. Our structure is {prnumber}.ourdomain.com
- apple button is showing after automatically verified in stripe, also showing enabled.
- checkout using apple pay, it will show error domain not verified in stripe.

Question
- Do we have caching when verifying domain?
- Do we have limit for the number of domain to be registered/verified?

What are you working on?
Make apple pay work in our staging.

#

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

Question
I am looking into offering a paid monthly subscription that carries over into a yearly subscription while having the total runtime remain at 12 months. During the first month the subscription schedule could be modified to either add / remove the yearly phase (which would cover the remaining 11 months after the first month has passed). When the yearly phase starts, I'd like to credit the amount of the monthly subscription to the yearly subscription. E.g. The monthly plan was $3 and the yearly plan is 30$, if canceled during the first month the customer would pay $3, otherwise $3 initially + $27 for the remaining 11 months. Is this easy to pull off?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?
SaaS

#

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

Question
I'm looking for guidance on the best way to manage payment details for connected accounts in our accounting software. Specifically, we want our customers (i.e., connected accounts) to manage the default payment method for their own customers.

Would the recommended approach be to create a Setup Intent and use the PaymentElement in React to display and save the payment details on behalf of our connected accounts' customers?

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements

What are you working on?
ERP Accounting web and mobile application

#

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

Question
I’d like to enable Apple Pay. I’ve already completed all the necessary setup steps, and my account has been processed for eligibility. For the URL, I entered my / root page, but the widget is located on a different page: /root/pay. The documentation states that it should work either way, but the Apple Pay option is not appearing in my widget. Any ideas on what might be causing this?

Related Event ID(s)
pmd_1Q4pw8GxddFBzWyZvWmZF7Xv

What have you already attempted?
Double checked the setup and account activation status. All looks good

What are you working on?
testing app for stripe integration

cursive heronBOT
#

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

Question
I am using your SDK on iOS, and presenting a payment confirmation screen by passing a PaymentSheet.FlowController instance to the paymentConfirmationSheet API in SwiftUI. Just before presenting this sheet, we are updating the payment intent on the backend with a new total.

How do I correctly update the PaymentSheet.FlowController instance to reflect the update? I see there is an update method on it, but I am not sure how to use it correctly, as it requires a PaymentSheet.IntentConfiguration, which I don’t know how to instantiate properly.

Related Request ID(s)
N/A

What have you already attempted?
I have tried using the update api on the PaymentSheet.FlowController and re-creating the PaymentSheet.FlowController instance, which isn't good for our use case as this clears the selected payment methods.

What are you working on?
Product marketplace

#

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

Question
Hi,
I spoke to someone earlier about running both the stripe payment element and the paypal express checkout element on the same page so our customers are not directed off site to process payment.

because we use redirect: 'if_required' so the user is returned back to the script in a response.

My question is can the stripePublicKey be used twice?

const stripeelement = stripe.elements(options);
const paypalelements = stripe.elements(options);

Related Request ID(s)
req_lLIsNo7Emx68bo

What have you already attempted?
I have tried seperately and get them working how I want but need them together now.

#

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

Question
On our iOS integration, I'm trying to figure out how to validate OOB 3DS authentication flows that trigger an app switch (e.g. to a user's banking app) and the associated 'PaymentSheet.Configuration.return_url' behavior that brings the user back into our app.

I've tried the basic 3DS required test card ending in 3220, but that does not trigger an app switch to outside the app.

What test card numbers can I use to validate this flow, particularly, the `PaymentSheet.Configuration.return_url'` behavior?

Doc/Guide Links
https://docs.stripe.com/testing?testing-method=card-numbers#regulatory-cards

What are you working on?
iOS integration

#

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

Question
In my Stripe account I have created a Product with a Price attached to it that is associated to a Meter.
My customers will create a Subscription to that Price object. Depending on an action (which in this case will be the domain of the url where the meter event is being triggered from), I want to be able to see the makeup of events from one action (url) from another. Do I need to create Separate products in order to achieve this? Ideally I want my customers to only have one invoice to deal with at the end of the month, rather than N based on the number of actions.

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

What are you working on?
Differentiating Meter Events with Reporting/Invoices

#

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

Question
I am using the invoices and payment intents API to generate invoices due to our customers from our system. I would like the to run the initial payment intent attempt with payment method 1. And then if that fails retry with payment method 2. How can i do that?

Related Request ID(s)
N/A

What have you already attempted?
I have looked into trying to use the payment method configuration? But that does not seem control what payment methods are used when?

What are you working on?
I am working on a billing system that generates invoices when actions are triggered in our internal system.

#

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

Question
We are implementing a referral program where we’d like to give customers a free month of service for every referral that they make.

Customers may be on one of four Products, each with a monthly and annual Price. Customers may accrue multiple referral credits in a month and the credited time should stack. For example, if a customer with an annual subscription refers 3 new customers, they should receive a 3 month discount on their next invoice. Similarly, if a customer with a monthly subscription refers 4 new customers, we’d like for them to not be charged for their next 4 months of service.

Are there any recommendations or guidance for how to achieve this?

Doc/Guide Links
We have considered achieving this by programmatically applying coupons as necessary each month or pausing / resuming subscriptions. However, both of these approaches feel like a bit of a workaround and require timely webhooks and API requests. Curious if there is a better way.

What are you working on?
Implementing referral program for subscription-based web application

#

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

Code
stripe.confirmSetup()

Question
using apple pay, this fails with an error: "Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web."
Form β€” stripe-drop-in-form.tsx:261

What have you already attempted?
decreasing the time between button click and submit to less than 10 milliseconds

What are you working on?
billing on our products

cursive heronBOT
#

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

Question
How can I customize the address used for automatic tax collection on invoices through the API?

Related Request ID(s)
n/a

What have you already attempted?
Updated the shipping address of the customer. Looking for confirmation that the automatic tax will always use the updated customer shipping address associated with the invoice

What are you working on?
Invoicing

#

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

Question
Can I specify a coupon inside a line item, and if not, why not? ? The idea is that maybe there is a 20% discount on memberships but only 10% on everything else, but currently the discounts parameter is for the transaction, not optionally relating to a given line item.

Related Request ID(s)
--

What have you already attempted?
I have been investigating the coupons, but the Stripe docs state ''Currently, only up to one may be specified". Huh?

What are you working on?
Implementing the embedded Stripe into my website to replace my use of Authorize.net.

cursive heronBOT
#

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

Code
import React, { useCallback, useState } from "react";
import { loadStripe } from '@stripe/stripe-js';
import {
EmbeddedCheckoutProvider,
EmbeddedCheckout,
EmbeddedCheckoutOptions,
} from '@stripe/react-stripe-js';

// Load your Stripe publishable key
const stripePromise = loadStripe("pk_test_51Q1unMATmMagoIMsAazKwePt1MpHpoXw0rW14knjR2s0JNuo877pgfny6tIPYvPV0PqCkfBS1nZs8RbMYDHYmCSU00KhRqqeJe");

fetch('http://localhost:5000/api/create-checkout-session', {
method: 'POS

Question
I am encountering a "Something went wrong. Please try again or contact the merchant" error on the Stripe embedded page while processing payments. Could you help me understand what might be causing this issue, and what steps I can take to resolve it?

What have you already attempted?
I have attempted the following steps to resolve the issue:

Checked API Key: Verified that my Stripe secret key is correctly set in my environment variables and is being passed properly in my API requests.
Review API Documentation: Consulted the Stripe API documentation to ensure that I am using the correct endpoints and parameters for creating a checkout session.
Testing Different Products: Tried creating checkout sessions

What are you working on?
An application for a design agency

cursive heronBOT
#

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

Question
I am trying to test a Stripe Connect Webhook configuration that listens to the checkout.session.completed event.

When I generate a test event using the Stripe CLI, however, the Connect endpoint does not trigger, event when I use the --stripe-account flag as specified in the docs.

stripe trigger checkout.session.completed --stripe-account acct_XYZ

This CLI command does, however, successfully create a webhook event for an "account" type webhook.

I would like to figure out how to successfully trigger the Stripe Connect webhook to receive an event with the "account" field specified.

Related Request ID(s)
req_imrtKhUOv608OD

What have you already attempted?
Docs:
- https://docs.stripe.com/connect/webhooks
- https://docs.stripe.com/stripe-apps/build-backend?public-private=private#receiving-events-webhooks

What are you working on?
A Stripe app that customers install and that forwards information on conversion events to us (we are an advertiser).

#

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

Code
StripeJS Elements broken

Question
We have a number of users complaining that they can't enter card information into our form due to an Error with the Card Element regarding use in the shadow DOM. But we have no shadow DOM usage, and nothing has changed on our side. Further this doesn't affect every user, but there are numerous people in this Discord Server who are complaining about the same thing.

What have you already attempted?
Upgrading the stripe sdk on the client side or using other libraries and configurations. All of them cause the `card` element to not work, only the `payment` element works, but we can't switch to that because the flow is completely different than what we have prepared at this moment.

What are you working on?
Stripe Elements display for our users in our website

cursive heronBOT
#

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

Question
Let me share my problem so you can understand the question better.

Say someone subscribes to something on October 8 at 10AM

Then that person cancels the subscription on October 8 at 10:20AM

Then that same person decided to resubscribe to that same subscription on October 8 at 10:30AM

How would I go about implementing the "resubscription" feature?

Related Request ID(s)
none

What have you already attempted?
I am utilizing Stripe Web Hooks to create a row in my "purchases" table keeping track of the users payments.

When they successfully do a "customer.subscription.created" it creates it

When they successfully do a "customer.subscription.deleted" it changes the purchase status to "canceled".

And I get the payment done using a Stripe Checkout Session. I just find it so easy that way.

What are you working on?
Creating a Web App using FastAPI

cursive heronBOT
#

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

Question
I'm trying to integrate crypto embeddable onramp to our company developer console, so far I was able to generate the onramp session and show the onramp widget.
The problem comes when trying to perform the operation, we get stuck on verify step that gives the following error:
```
We could not secure your device for the current domain. Please make sure that you are on the correct domain to mitigate phishing attacks.
```
All development is being done using a stripe sandbox as test environment and app is a nextjs react app.

Related Request ID(s)
req_jOF32xRWQxnkXW

What have you already attempted?
Docs:
-https://docs.stripe.com/crypto/onramp/embeddable-onramp-quickstart
- https://docs.stripe.com/crypto/onramp/emeddable-onramp-guide

Also tried to register test domain on sandbox, since error was inside the link payment process:
- https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard

What are you working on?
Adding new capabilities on dimo.org developer console (https://console.dimo.org)

cursive heronBOT
#

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

Question
In my api call to create a connect account: stripe.accounts.create, I set type to `individual`, but in the response body `requirements.currently_due`, it still requires business_profile.mcc and business_profile.url. While the account I'm trying to create is an individual, not a business, is there any setting to toggle for individual so that business information are not required?

Related Request ID(s)
req_TBEs1jDZZbmgUv

What have you already attempted?
I passed a test value to enable transfers and payouts, but I expect these to be optional fields

What are you working on?
I'm building a platform that includes creating a connect account for end user, then transfer and payout to their bank account.

#

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

Question
How does the fee calculation for instant payouts work exactly? We seem to occasionally be off by $0.01.

Related Request ID(s)
po_1Q7lOPPcyaTYwTclY49DCLm4

What have you already attempted?
Applying the percentages in various combinations, but we still don't always arrive at the same calculation.

What are you working on?
The Notch platform

cursive heronBOT
#

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

Code
We identified a high volume of unauthorized charges on your account. Payouts are now paused. We will issue refunds on affected card payments five days after your Stripe account is closed. Refunds may take longer to appear on a cardholder's statement. If you believe we've made a mistake, provide additional information about your business for review.

Question
We had just started our business and i do not know what this means but we have put lots of money and time into our business and then seeing our account is going down we need help

What have you already attempted?
I had sent a picture of an invoice from one of our customers but thats all i was able to provide

What are you working on?
keeping our business running

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/crypto/onramp/emeddable-onramp-guide

Question
Is it possible to off-ramp users from Bitcoin to Fiat (their bank accounts)?

I see Stripe offers a crypto-to-fiat on ramp, but I do not see a crypto-to-fiat off ramp (an example of this would be Coinbase’s ability to connect your bank account so you can sell and deposit your earnings into your bank account).

What have you already attempted?
From the doc attached, I see you cannot build your own Front-End to use an app’s unique specifications (see Coinbase’s Buy and Sell Bitcoin Front-End as an example, you do not see a β€œStripe” logo while you’re Buying and Selling Crypto, Coinbase integrates their own Front-End), I’d like this same approach for my project integrating Stripe’s Back-End only for the Buy/Sell process.

What are you working on?
I’m building a fiat-to-Bitcoin On(and)Off-Ramp.

#

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

Code
PHP
$paymentMethod = $this->stripe->paymentMethods->create([
'type' => 'card',
'card' => [
'number' => 4242424242424242,
'exp_month' => 2,
'exp_year' => 2025,
'cvc' => 123,
]
]);

Question
- I have a separate form to enter credit card, not using stripe element or stripe.js, can I call the api like above?
- finally i use $paymentMethod->id to call api paymentIntents->create is it correct?

What have you already attempted?
$reqParams = [
'amount' => $amount,
'currency' => 'jpy',
'confirm' => true,
'customer' => $cus_id,
'payment_method' => $pm_id,
'capture_method' => 'manual',
'error_on_requires_action' => true,
'payment_method_types' => ['card']
];
try {
return $this->stripe->paymentIntents->create($reqParams);
}

cursive heronBOT
cursive heronBOT
#

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

Link to the Doc/Guide in question
Add multiple "Contact us" options in the pricing table

Question
I want to add more than one "Contact us" options without payment in a pricing table. I have one, but can't add more.

What have you already attempted?
I tried creating another plan in a pricing table, but didn't see that option.

What are you working on?
We are building a Website.

cursive heronBOT
#

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

Code
public async Task UpdateMonthlyPayment(UpdateMonthlyPaymentViewModel stripePaymentRequestViewModel)
{
Log.Logger.Information($"UpdateMonthlyPayment - {stripePaymentRequestViewModel.ToJsonString()}");

StripeConfiguration.ApiKey = stripePaymentRequestViewModel.ApiKey;
var requestOptions = new RequestOptions
{
    StripeAccount = stripePaymentRequestViewModel.AccountKey
};

var priceService = new PriceService\(\);
var priceServiceOption = new P

Question
update subscription with new price data

What have you already attempted?
update price

cursive heronBOT
#

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

Question
I need to fetch the ip address and location of the customer for the card payments that are mentioned under risk insights. how to do that?

Related Request ID(s)
na

What have you already attempted?
I am not able to find an API or report to download that

What are you working on?
This is for tax purpose

cursive heronBOT
#

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

Question
Hello! Can you give me some information's regarding reservation of money when subscription is created and there is trial period? How to make sure that money is reserved but not immediately charged?

Related Request ID(s)
evt_1PkLYe02Eb1sVOaRtdnnMMg7

What have you already attempted?
Implemented this part of code with paymentIntent but not sure is this imediatelly charged or just reserved. How I can check that directly on Stripe dashboard?

var paymentIntent = await paymentIntentService.CreateAsync(new PaymentIntentCreateOptions
{
Amount = command.ReserveFundsRequest?.Amount,
Currency = command.ReserveFundsRequest?.Currency,
PaymentMethod = command.ReserveFundsRequest?.PaymentMethodId,
CaptureMethod = "manual", // A PaymentIntent with capture_method: manual will reserve the funds(authorize the amount) on th

What are you working on?
Integrating Stripe into our payment system

cursive heronBOT
#

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

Question
I have been using Apple Pay in React Native with Stripe for a while, and everything was working fine. However, today I started receiving a 400 error when making requests to /v1/tokens

Related Request ID(s)
req_8l5f6R8erjfqRt?t=1728459512

What have you already attempted?
I reviewed the logs from Stripe, which indicate they are unable to fully decrypt my request. As part of troubleshooting, I updated the Apple Pay certificate on both Stripe and my Apple developer account, and everything seems correct. However, the 400 error persists. I have also verified my API keys, restarted the application...

What are you working on?
I’m working on a React Native application that has been running successfully with Stripe for over a year. I haven’t made any updates to the versions of Stripe or React Native recently

#

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

Question
Hey, we are using stripe connect, and our connected accounts want to pass on the amount charged by stripe to there customers, since stripe processing fee depends on multiple factors, is there an api that could give me the processing fee stripe is going to charge on particular amount, something like upcoming invoice.

Related Request ID(s)
no logs yet

What have you already attempted?
Tries using stripe upcoming invoice, but it doesn't contain the breakdown, also it will only work when I have prices, when I want to charge custom amount this won't help

#

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

Question
I am trying to create a Stripe Connect account in India, but unfortunately, I am unable to create an active account (in Test Mode).

Related Request ID(s)
NA

What have you already attempted?
I've tried implement it through API and the dashboard

  1. using an API account is getting created but there is one issue remains which is to accept "terms of services" I've tried accepting it through API but encountering following error: This application does not have the required permissions for the parameter 'tos_acceptance' on account 'acct_'
  2. while creating an connect account from stripe dashboard, in express and standard mode India is not listed in the country drop down, and in custom mode getting following error: Platforms in IN cannot create accounts where the platform is loss-liable

What are you working on?
I am currently building a functionality similar to a delivery system, and I want to transfer money from the user to the vendor's Stripe Connect account. There will be multiple vendors

cursive heronBOT
#

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

What did you expect to happen?
When the user changes the payment amount and reopens Apple Pay / Google Pay after updating the PaymentIntent, I expected the new amount to be displayed (e.g., 100 instead of 250).
(PaymentElement on Next.js)

What actually happened?
After updating the PaymentIntent (which is correctly reflected in Stripe's transactions), the original amount (250) is still shown when the user reopens Apple Pay / Google Pay, even though the new amount (100) is set.

Reproduction Steps
- Select an amount (e.g., 250).
- Open Apple Pay / Google Pay, then close the window.
- Change the amount (e.g., 100), the PaymentIntent is updated.
- Reopen Apple Pay / Google Pay, but the old amount (250) is still displayed.

Question
Why doesn't Apple Pay / Google Pay reflect the updated PaymentIntent amount? Is there a way to force it to show the correct amount after an update?

#

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

Question
Hi,

I want to create subscription schedules on behalf of a connected account, while taking an aplictaion fee, but I get 400 error. Not sure why. I do get the following error message:

invalid_request_error - phases[1].application_fee_percent
You can only apply an application_fee_percent when the request is made on behalf of another account (using an OAuth key or the Stripe-Account header).

While I do set the *on_behalf* parameter. I nust do something wrong though -_-'

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

What have you already attempted?
I tried to create a phase in my schedule including the *on_behalf* parameter.
phase = {
...},
{
"items": [{"price": new_price_id,
"quantity": 1}],
"start_date" : transition_timestamp,
"proration_behavior": "none",
"on_behalf_of": SERVICE_COMPANY_CONNECT_ID,
"application_fee_percent": 10
}

What are you working on?
e-commerce plugins for online stores

cursive heronBOT
#

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

Code
switch (@event.Type)
{
case Events.CheckoutSessionCompleted:
result = _contributionPurchaseService.HandleCheckoutSessionCompletedEvent(@event, forStandardAccount);
break;

Question
I have updated my stripe library in .net to latest version, but after updating it's saying that Events enum is not found in current context.

What have you already attempted?
I tried to find but didn't find anything, it's as is written in their documentation.

What are you working on?
working on Cohere platform for coaches so they can create their services and sell using the platform

cursive heronBOT
#

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

Question
How should I handle SEPA direct debits? I am running a SaaS whereby a user updates their account balance. However, with SEPA direct debits they are stuck in "pending" for weeks now. How should I handle this? Should I wait until it has become successful or top up their account whilst it is pending?

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

What are you working on?
Building a relationship focused customer service platform called Laila

#

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

Question
Is there a way I can downgrade a plan for a user in a way that does not effect current plan subscription details and price, meaning that it should wait until the period ends of that current plan, then only move to the other plan once the current subscription period is finished.

What would be the ideal way to apply this?

Related Request ID(s)
Could not find related

What have you already attempted?
I have tried the following

```
const updatedSubscription = await stripeGatewayClient.subscriptions.update(
providerSubscription.id,
{
items: [
{
id: providerSubscription.items.data[0].id,
price: newProviderPlan.id,
},
],
proration_behavior: 'none',
billing_cycle_anchor: 'unchanged',
}
)
return updatedSubscription
```

getting `An error saying cannot apply unchanged while having a different interval new price plan`

#

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

Question
I would like to receive an email notification every time a payment capture API request on a pre-authorized payment fails due to any error. In the example below the capture request failed due to "code": "amount_too_large", "message": "The payment could not be captured because the requested capture amount is greater than the amount you can capture for this charge".

Related Request ID(s)
req_cRC6QxzkpgQd79

What have you already attempted?
I have built an Azure function app that listens to Stripe Webhooks and sends an email every time one of the following happens charge.expired
charge.failed
payment_intent.canceled
payment_intent.payment_failed. This doesn't work and I was not able to find a webhook that is triggered when the above error happens. Can you please help point me in the right direction?

What are you working on?
A custom platform with a Stripe Checkout Page implementation

#

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

Question
Hello, I have a monthly recurring based subscription. Currently, invoices are generated for the next month, (e.g. if a subscription starts on 2024/10/09 the bill will be generated on 2024/10/09 for 2024/10/09 to 2024/11/09). Instead, I want to create an invoice on 2024/10/31 for 2024/10/09 to 2024/10/31. I am using C# .Net Stripe API

Related Request ID(s)
Subscription and Invoice

What have you already attempted?
I have tried setting the BillingCycleAnchorConfig property on Create subscription to set the last day of the month. but it generates the invoice on the month's last day but for the next month.

What are you working on?
Create and Update subscription

cursive heronBOT
#

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

Question
How to attached a payment method to a customer?

Related Request ID(s)
req_mxtAesMJwyhXsV

What have you already attempted?
Attempted to use this api: https://api.stripe.com/v1/payment_methods/[PM]/attach

What are you working on?
A penalty feature for our app, we need to save the payment method to a customer and make it his default, for auto payment of the penalty.

cursive heronBOT
#

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

Code
When loading the Stripe.js script hosted at https://js.stripe.com/v3, our production environment gives an error in the console and doesn't break, but in development mode the elements are not rendering.

The error that pops up in production is "Uncaught IntegrationError: Elements cannot be mounted in a ShadowRoot. Please mount in the Light DOM."

Question
Hi, suddenly this morning our Stripe Elements integration started crashing without us having made any known changes to it.

What have you already attempted?
Hemos revisado el changelog en https://docs.stripe.com/changelog pero no vemos nada que pueda impactar

cursive heronBOT
#

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

Question
pending_invoice_item_interval will this property generate the invoice for current month for every month on the last day of the current month

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

What have you already attempted?
billing_cycle_anchor
timestamp
A future timestamp in UTC format to anchor the subscription’s billing cycle. The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for week intervals, the day of month for month and year intervals, and the month of year for year intervals.

What are you working on?
it says the bill date can be changed for but it bill date changes for the next month billing

cursive heronBOT
#

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

Question
I'm developing a plugin for a CMS, but for users to be able to access it, they have to have an active subscription, to manage the subscription I'm using stripe, the moment users install the plugin the webhook is automatically configured for their domain, my question is, how can I then autonomously obtain the Webhook secret to then receive them? What is the solution?

Related Request ID(s)
Null

What have you already attempted?
Null

What are you working on?
Plugin for CMS

#

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

Question
Hi,
I am setting up paypal ECE for subscription payments and am struggling to see how it works.

Do i pass the subscription id i have returned from $stripe->subscriptions->create which has created the subscription?

currently the working code I have is:
const options = {
mode: 'payment',
amount: 100,
currency: currency,
//setupFutureUsage: 'off_session',
//paymentMethodCreation: 'manual',
appearance: {
},
};
const expressCheckoutElement = ppelements.create('expressCheckout');

expressCheckoutElement.mount('#express-checkout-element');

The button works and I can pay 1.00

Related Request ID(s)
req_biqLZWtjIzWJpf

What have you already attempted?
I have tried setting mode: 'subscription' but the button doesn't appear. I also tried setting mode: 'setup'

What are you working on?
migrating braintree to paypal

cursive heronBOT
#

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

Question
When subscriptions are renewing, sometimes invoices are marked as 'Past Due' due to insufficient credit. In that case, Stripe automatically retries the payment. Could you let me know what events Stripe sends during these retry attempts?

Related Event ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

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

Question
I am creating a transfer to my connected accounts, and I have a doubt, these connected accounts I have configured to have a delay of 15 days and that the payment is made to your bank on a daily basis, this in order that the money we send them is retained 15 days in case a customer requests a refund. But this is not happening, the transfers the next day are sent to your bank account, why is this happening, is there a way to retain 15 days?

Related Request ID(s)
N/A

What have you already attempted?
I create transfers to my connected accounts and they are configured as follows:

await this.stripeConnect.accounts.update(acc, {
settings: {
payouts: {
schedule: {
delay_days: 15,
interval: 'daily',
},
},
},
})

#

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

Question
Hi! i would like to integrate the onboarding Stripe Connect to my app, instead of using an external link. I saw that it's blocked when i m trying to use an iframe. Is it possible? How? I want this onboarding to be inside our app instead of an external link.

Related Request ID(s)
none

What have you already attempted?
I tried to find anything related to stripe elements, but it seems like the onboarding stripe connect is not included in it.
I also used and iframe, with the generated link, and got blocked.

What are you working on?
setting our current website with payments. We re using stripe connect

#

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

Question
I am Tring to make a invoices and paid it with PaymentIntent

Related Request ID(s)
.

What have you already attempted?
I already crated payment Intent and i was trying to link it with invoices but i didint work out, is it possible to do in other way?

What are you working on?
Mobiel App

#

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

Code
https://github.com/bartoszboruta/stripern

Question
This is reproducible demo with the error I reported yesterday. TLDR: app crashes when paying with applepay when intentcreationcallback fails

What have you already attempted?
Everything, it seems like it is a native paymenthseet bug and there is no way to handle it other way

What are you working on?
Events management app

#

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

Question
Hello I have a question about the route POST https://api.stripe.com/v1/checkout/sessions for subscriptions. I want to add metadata with subscription_data but nothing appears in the administration in Stripe. I tested the same route with the payment mode with payment_intent_data and in this case, the metadatas appear in the administration. So I don't understand why it works in one case and not in other. In the doc, https://support.stripe.com/questions/using-metadata-with-checkout-sessions, I understand that it the same thing, juste the name of the key changes in function of the mode

Related Request ID(s)
No request id

What have you already attempted?
I search the problem in Google but no result helps me to understand the problem.

What are you working on?
I make tests with Stripe for a saas service. Today, we don't have a solution for automatic paiement.

#

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

Question
Hello, I wanna ask about the payout statusses. I've read on the docs that a payout that might fail, can be in "paid" status before. Is there a way to get ahead of this situation?

I've some procedures when the status changes to paid, and if the payout will fail but initially it shows as paid, the webhook will trigger the procedures from "paid" status and I'll need to rollback

Related Request ID(s)
req_YrC6cp9EBm6XFZ

What have you already attempted?
I've read the Stripe API docs but there's no a graphic or explanation of this situation

#

@shell raven 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/list

Question
Which API endpoint (PHP API library) do I use to get all the payments that were made in a specific period for a specific CONNECTED ACCOUNT?

What have you already attempted?
I have just been able to get the connected account details via the https://docs.stripe.com/api/accounts/retrieve API endpoint.

What I am trying to get is a list of data similar to what you see when you go in the dashboard to a connected account and then payments section (lists all payments for that account).

What are you working on?
A tool to list payment summary per week for each connected account.

#

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

What did you expect to happen?
I tried to add a credit note to an invoice from my account.

What actually happened?
it returns `Your Account must be activated to send email.

Reproduction Steps
Go to any open invoice and add credit note from test account.

Question
so I want to know what email? I don't wanna send emails

What are you working on?
we're building auto refunding system

#

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

Question
What is the minimum and maximum character length and data type for Tax ID of a Stripe Connected Account?

Related Request ID(s)
NA

What have you already attempted?
Have passed 9 characters as mentioned the document (https://docs.stripe.com/connect/testing#test-business-tax-ids) but while cross checked with official ABN site the maximum length is 11 and all numbers.

What are you working on?
I am analysing the process for my project to build the backend structure.

cursive heronBOT
#

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

Code
Problem with card payments: Stripe is blocking all card payments on my Sellix store, only allowing Apple Pay and Google Pay. All test transactions were legit and made by me or a customer who reported issues. I tried multiple valid virtual cards, but all were declined due to high-risk rating. These same cards were accepted on other Sellix stores using Stripe. I need this issue resolved

Question
Why is Stripe declining all card payments on my Sellix.io store due to high risk, despite these being legitimate virtual cards? Sellix has its own fraud shield that works well, and these same cards were accepted on other Sellix stores using Stripe. This is affecting my business, and I want to disable Stripe's fraud prevention. Please help resolve this.

What have you already attempted?
I tested several virtual cards, including ones that were accepted on other Sellix stores through Stripe, but they are all being declined on my store. I reached out to Stripe support and was told this could affect my payment score, but the issue persists. Sellix’s fraud system is sufficient, and this is blocking all card payments. Please advise.

#

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

Question
Hey we are using stripe connect, I have an issue with a certain subscription created from our platform, the plan price is $90/month , customer used the coupon of $60 and was charged $30.04 instead of $30, I cannot identify what may have caused this, can you please help me with this.

https://dashboard.stripe.com/acct_1FzTBtDZNrAhojXD/logs/req_cvK9ooLN53MXTj

Related Request ID(s)
req_cvK9ooLN53MXTj

What have you already attempted?
Tried to talking to stripe support, they say price was set intentionally I don't understand how.

#

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

Question
hi,
wonder if someone can advise why I am not seeing a paypal ECE button when i set the mode to subscription please? i cant find anything on the docs to suggest I am missing any settings.

(customerId is my clients stripe id)

here's my options:
const options = {
mode: 'subscription',
customer: customerId,
amount: amount,
currency: currency,
setup_future_usage: 'off_session',
capture_method: 'automatic',
appearance: {
},
};

Related Request ID(s)
req_Y0wx0DrJduSBlI

What have you already attempted?
I've tried it without customerId, and also when I set the mode to payment I get the button. Strange why just setting it to subscription stops it rendering (but the element does get populated)

What are you working on?
migration form braintree to stripe

#

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

Code
Is it possible to create a payment intent with manual capture(separate auth and capture) and save the card at the same time ?

Question
Is it possible to create a payment intent with manual capture(separate auth and capture) and save the card at the same time ?

What have you already attempted?
Create the checkout session with manual capture and setup_off-session for future usage. But I have to capture the funds to attached the payment method to the customer. I would like to save the card details without capturing the funds

#

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

Question
When the user changes their Bank Details in Stripe Connect then is there any Terms and Conditions they need to accept? Is there any link which I need to show to my customers?

Related Request ID(s)
NA

What have you already attempted?
The devs in the API are passing the value of flag as TRUE.

What are you working on?
I am analysing the process for my project to build the backend structure.

#

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

Question
When i try connecting singapour stripe account i get "need add requiered information" 2 fields. First is empty window with title "Company" (look like bug).
And more important field "Identity verification": "This identity verification can only be performed by the owner of the Connected Account, by directing them to the Connect Onboarding form." How i can do second step by code for singapour account?

Related Request ID(s)
acct_1Q7yCnQ4O0jR2INy

What have you already attempted?
I lean documentation about SingPass. But i do not need SingPass.

What are you working on?
B2B platform

#

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

Question
We need to migrate subscriptions with specific existing products. Looking at the Subscription List API, we can only filter based on a single price - Whats the suggestion for find a subscription with Product A and Product B?

Doc/Guide Links
We can query via Sigma and have explored Stripe Subscription API

What are you working on?
Starting on X Date, we need to update customer subscriptions en masse

#

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

Question
I have partially funded payment intent and now I would like to refund the partially funded amount.
But I am getting error when I try to do so.
Error :
This PaymentIntent (pi_xxxx) does not have a successful charge to refund.

May I know how can I refund this partial fund.

Related Request ID(s)
.

What have you already attempted?
https://dashboard.stripe.com/test/customers/cus_R0050oXoxgTFtR

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay?platform=web

Question
For registering subdomains is there a way to register * sub domains. We have dynamic site generations for our customers so we have a *.oursite.com dns.
To ask the question in another way would we have to register each site as its generated or would we only need to register the * certification site

What have you already attempted?
Read through the apple docs and yours and it looks like we'd have to register each one but wanted to check.

What are you working on?
nonprofit auction site

#

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

Question
I have a little issue, created a payment link, all went good, the title off the site says checkout. for some reason (didn't change anything) now there is a ".",
so the favicon of Stripe and instead of check out a point.

Related Request ID(s)
?

What have you already attempted?
tried and checkout yt and help center didnt get it

What are you working on?
softwareXagency

#

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

Question
We need to determine which charges are associated with which payouts for reporting reasons. What is the best way to do this? We aren't seeing anything on the charge object that implies which payout it is associated with?

Related Request ID(s)
n/a

What have you already attempted?
Reading through the docs

What are you working on?
Connected Accounts Platform

#

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

Code
Unable to refund or payout and not receiving reply from support

Question
Unable to refund or payout and not receiving reply from support

What have you already attempted?
I tried multiple times

#

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

Question
I am on iOS, SwiftUI, using a PaymentSheet.FlowController to handle payments. I am collection payment details before creating a payment intent, following this documentation: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=ios&type=payment. How do I update the PaymentSheet.FlowController and PaymentSheet.IntentConfiguration instances while keeping the selected payment method? I can't (or at least I don't know how to) access the old intent configuration, and when creating a new I cannot pass along the payment method a user has already selected.

Related Request ID(s)
N/A

What have you already attempted?
Read through the documentation, follow the tutorial on your website, investigate the API

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/reports/report-types/connect#schema-connected-account-balance-change-from-activity-itemized-1

Question
How do I know if the payment/charge in the report was a success or not. Which column do I need to include?

What have you already attempted?
Reading and listing the columns for connected_account_balance_change_from_activity.itemized.1

example: frr_1Q81UQEybwpuvq4bHplHxkph

What are you working on?
A reporting tool that shows weekly totals.

cursive heronBOT
#

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

Question
I have a zero-priced product. Customers can "buy" it. My backend creates a checkout session and generates a post-purchase invoice for one-time payments. The code is deployed on a dedicated server, but no invoice is generated when customers "buy" the product. On my local machine, the invoice is generated. The code is the same, as both environments run the same repository branch.
Request-id without invoice: req_b10Ca772iMT35I
Request-id with invoice: req_ydujYGBksw0lfP

Related Request ID(s)
req_b10Ca772iMT35I,req_ydujYGBksw0lfP

What have you already attempted?
Investigated the stripe logs and have seen that the requests to create a checkout from my server have the flag "false" to generate the post purchase invoice, while in the code it is "true".

What are you working on?
A complete integration with Stripe to manage subscriptions and one-time payments.

cursive heronBOT
#

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

Question
Hello. We listen to balance.available events which holds both pendingBalance as availableBalance. When available balance gets updated we receive an event, however this event is not send for updates on pending balance. Is there a different event we could listen to or is not possible to get events for pendingBalances.

Related Request ID(s)
no id

What have you already attempted?
Checked the docs, tested payments (different cards leading to either pending or available) etc.

What are you working on?
Showing available balance in our platform to our merchants (Stripe Connect).

#

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

Question
I am creating a transfer to my connected accounts, and I have a doubt, these connected accounts I have configured to have a delay of 15 days and that the payment is made to your bank daily, this in order that the money we send is retained 15 days in case a customer requests a refund. But this is not happening, the transfers the next day are sent to your bank account, why is this happening, is there a way to retain 15 days?

Related Request ID(s)
N/A

What have you already attempted?
I create transfers to my connected accounts and they are configured as follows:
await this.stripeConnect.accounts.update(acc, {
settings: {
payouts: {
schedule: {
delay_days: 15,
interval: 'daily',
},
},
},
})

#

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

Question
Need help differentiating between a "Cancel plan" and "Renew plan" from the "Customer Portal" by the "customer.subscription.updated" event.

Related Request ID(s)
None

What have you already attempted?
Played around with the API and the "previous_attributes" property but still don't understand whats the best way to differentiate these two actions so I can perform some logic.

What are you working on?
A Web App

#

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

Question
I'm constantly getting the error 'param missing 'success url'. Im providing it. I'm 100% certain that's not the issue.

Related Request ID(s)
req_LTeez4nZvNc5NO

What have you already attempted?
I've tried adding WWW to the URL. I have tried changing other params too but this keeps appearing.

What are you working on?
Creating a chatbot for limo booking.

cursive heronBOT
#

@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/payments/payment-methods/pmd-registration

Question
"Using Connect
Connect platforms that create direct charges must use the API to manage domains for their connected accounts, not the Stripe Dashboard."
Basically, if I am using Stripe Connect, I need to call the API method for each connected account that I create on my platform? Basically is not enough to just set the domain in the Settings dashboard?

What have you already attempted?
Create an connected account as follows:
const account = await stripe.accounts.create({
type: "express",
capabilities: {
card_payments: {
requested: true,
},
transfers: {
requested: true,
},
},
});
await stripe.paymentMethodDomains.create(
{
domain_name: "finer.city",
},
{
stripeAccount: account["id"],
}
);

#

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

Code
400: Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?

Question
I'm having trouble connecting Stripe payments and registering them in Supabase. I get an error every time I test it from Stripe CLI: error 400: Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? I can share you my index.js if its needed

What have you already attempted?
I'm a newbie dev and I'm building with Replit's AI. I'm implementing solutions I find in forums, like this one: parsing the request body should not interfere with handling Stripe webhooks. Let's integrate this logic into your Express application to ensure that the webhook request body remains in its raw form so that it can be verified correctly.

What are you working on?
IΒ΄m building AI Horoscope in Replit, a bot in telegram that shares your horoscope and you can interact with

cursive heronBOT
#

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

Question
We are a Stripe Connect platform. We use the Sources API to facilitate top-ups to our connect accounts (via ACH). Given that Stripe is deprecating sources, we were wondering what the new best practice is to facilitate top-ups to Managed Connect accounts.

The "Transition to the new APIs" refers to Payment Method API and Payment Intent API interchangeably. The primary question around using payment intents is that we do not know how much money the customer is going to transfer, nor how often. What is the best practice here -- to create a high value payment intent such that it never hits the limit?

Doc/Guide Links
- https://docs.stripe.com/payments/payment-methods/transitioning
- https://docs.stripe.com/payments/bank-transfers/accept-a-payment?invoices=without

What are you working on?
Migrating away from the soon to be deprecated Sources API.

cursive heronBOT
#

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

Question
I create a connected `account` and corresponding `accountSession` via API and then utilize `loadConnectAndInitialize` and `stripeConnectInstance` on the frontend to facilitate account onboarding. Everything works as expected, and I see a request to create the account in Stripe logs (`req_Zi1EkFuTeCsphC`). I then retrieve a `login_link` for that connected account and fill in the missing info (DOB, last 4 of the SSN) in the embedded dashboard. The account becomes "complete" meaning it has empty arrays in `requirements.currently_due` and `requirements.eventually_due`

Related Event ID(s)
req_Zi1EkFuTeCsphC

What have you already attempted?
I don't see the `account.updated` event that I set my webhook (we_1Q7sLZApMkaZmFOdA1mYJuVO) for.

What are you working on?
marketplace webapp

#

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

Question
Custom key for 3rd party ? i need to share public and private key with 3rd party who's managing the transactions.. is it better to create a custom key? They only do the transaction part

Related Request ID(s)
NO-IDEAI

What have you already attempted?
reading the custom possibilities

What are you working on?
Starting new e-site

#

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

Question
hey so I'm building a custom billing flow and want to know if there is a way to apply a coupon to a subscription after it has already been created but before it has been paid for. can i edit the invoice or do i need to make an entirely new subscription every time the customer tries to apply a coupon

Related Request ID(s)
none

What have you already attempted?
read api docs

What are you working on?
^

#

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

Question
I am creating a transfer to my connected accounts, and I have a doubt, these connected accounts I have configured to have a delay of 15 days and that the payment is made to your bank daily, this in order that the money we send is retained 15 days in case a customer requests a refund. But this is not happening, the transfers the next day are sent to your bank account, why is this happening, is there a way to retain 15 days?

Related Request ID(s)
N/A

What have you already attempted?
I create transfers to my connected accounts and they are configured as follows: await this.stripeConnect.accounts.update(acc, { settings: { payouts: { schedule: { delay_days: 15, interval: 'daily', }, }, }, })

And when I create the transaction I use β€œsource_transaction” value

#

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

Question
Can I remove restricted status from test accounts in order to be able to modify account capabilities

Related Request ID(s)
req_P2H5uj2p28bNcp

What have you already attempted?
Using ruby stripe integration:

Stripe::Account.update_capability(
'acct_1Q82zpHfpsBXgSnl',
'bank_transfer_payments',
{requested: true},
)

This results in an error saying I need to fill out contact information and such. I can't seem to fill that out in the dashboard.

#

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

Code
await stripe.confirmPayment({
elements,
clientSecret,
confirmParams: {
return_url: 'https://some.url/',
payment_method_data: {
billing_details: {
name: user.firstName + ' ' + user.lastName,
email: user.email,
},
},
},
redirect: 'if_required',
},
{ stripeAccount: connectedAccountId},
)

Question
Getting the following error:
"Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed through the API configured with payment_method_types."

What have you already attempted?
chatgpt, claudeai...

#

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

Question
I have just been told by stripe chat support that "subscriptions" are not supported with paypal express checkout. Can someone confirm this please and does anyone have any idea when it will be supported?

Can someone advise a way around this please so I can enable paypal payments for customers wanting to buy subscriptions?

Related Request ID(s)
req_5w4lFpQBRIr70W

What have you already attempted?
const options = {
mode: 'subscription',
customer: customerId,
amount: amount,
currency: currency,
capture_method: 'automatic',
appearance: {
},
};

setting mode to subscription is not actually supported at the moment.

cursive heronBOT
#

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

Question
I'm trying to determine the verification method of a payment method. Specifically whether a customer chose instant verification vs micro-deposit. Given a pm_xxxx is there an endpoint I can call to get this info?

Related Request ID(s)
req_41UMOAuwrvz0Qg

What have you already attempted?
I've looked through the payment method object. We are using both setup intents for just creating a payment method as well as at time using just payment intents to create payment methods and charge. However I'm not seeing a way to find the setupintent or payment intent used to verify the payment method given just a payment method.

What are you working on?
We have an existing Stripe Connect where we do on-behalf payment intents

cursive heronBOT
#

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

Question
I am working to remove Source code from our codebase as Sources APi is getting deprecated for Alipay(in our case) payment types. We do not intend to go to Payment Methods API as of now. We use Card element. I have code instances like Customer.default_source, We have instances of this code in one of our API. We only use this for card-type payments. Will it still work work for card payments because we are not moving away from card elements as of now. Please help thank you.

Related Request ID(s)
No request ids

What have you already attempted?
I am assuming Customer.default_source will still work because our customers with only have this type of integration.

What are you working on?
Moving away from sources api.

#

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

Question
A customer subscribed to a monthly plan. After one month his payment method became invalid and the subscription renewal has not been paid. The customer canceled his subscription, so my application voided his latest unpaid invoice. Upon voiding the invoice, the customer was granted invoice credits for the same amount of the unpaid and then voided invoice. Why is the user receiving credits for something he has not paid for?

Related Request ID(s)
req_ziOI48E9WVE2Et

What have you already attempted?
Investigated and performed several tests. All tests have the same outcome: the user receives credit and this is wrong.

What are you working on?
A complete integration with Stripe to manage subscriptions and one-time payments.

#

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

Question
Invoice and Payment Intent - how to pay the invoice now

Related Request ID(s)
Invoice and Payment Intent

What have you already attempted?
Successfully created the invoice, invoice items and finalize the invoice. I've initiated the PaymentIntent but never charges

What are you working on?
Invoice and Payment Intent

cursive heronBOT
#

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

Question
I'm using Stripe API for ACH direct debit (and credit, though not relevant to this question). I'm using a payment intent that sets up the payment for future off session charges, and including the necessary data for the mandate to be created.

The problem is I have to recreate the mandate every time I charge one of these off-session, which seems wrong, as they are not giving new permission to use the payment device every time their scheduled payment is processed, but it should be using the information from the initial mandate. I can't figure out how to obtain or reuse the existing mandate.

Related Event ID(s)
n/a

What have you already attempted?
There is a mandate.updated event but it doesn't seem to fire in this situation. There is no mandate.created event, for example. I can't figure out how to obtain the existing mandate id manually from the payment intent or payment method id, assuming in the first place that I should include this mandate id in subsequent payment intents instead of creating new mandates each time.

cursive heronBOT
#

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

Question
I am authorizing a payment. but when i capture it give an error.

Related Request ID(s)
req_iH8D6EbTfy2tPb

What have you already attempted?
Capture and authorize payment documentation.

What are you working on?
I am working on a multivendor property management web application in MERN stack. where a landlord will create recurring plan for a tenant . will be seperate pricing etc for every tenant.

cursive heronBOT
#

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

Question
I have an overdue invoice that is accruing interest daily. I've been informed that Stripe doesn’t have a built-in feature to automatically apply interest or manage accruing interest off an invoice. I'm looking for guidance on whether there are third-party developers who can help me code a solution for this issue.

Related Request ID(s)
N/A. I'm exploring how to automate interest on overdue invoices. I was advised to focus on the API side of created timestamps (UNIX) to calculate overdue days for daily interest charges.

What have you already attempted?
I reached out to Stripe's general chat support for help. They informed me that there’s no built-in feature in Stripe to automate interest on overdue invoices. They suggested exploring the API side, particularly the created timestamp or UNIX timestamps, to help calculate overdue payments and implement a solution through a third-party dev

What are you working on?
Automating overdue invoice management, including daily interest calculations and ensuring invoices reflect total amounts due, including accrued interest.

cursive heronBOT
#

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

Question
Capabilities change did not generate a capability.updated event for us to capture in a webhook. How can I get it to generate the event, or how long does it take?

Related Event ID(s)
n/a

What have you already attempted?
The request was made via stripe dashboard. req_P2H5uj2p28bNcp, to enable a new payment method, but I do not see a related event.

This is in test mode.

#

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

Question
Webhook question. I want to have a data model where subscriptions in my db match one-to-one with subscriptions in stripe. I'm using the customer.subscription.created/updated/deleted webhooks to upsert subscriptions into my db. The issue comes when a subscription update comes on a subscription that wasn't finalized AFTER one that was. The result is that the valid subscription in by db is replaced by an invalid subscription. What's the recommended way to handle this?

Related Request ID(s)
N/A

What have you already attempted?
I'll try to attach a screenshot from stripe of the events that can lead to this issue.

cursive heronBOT
#

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

Question
The support of stripe couldnt help me so I'm trying the discord now :)

We have a Stripe connect account and used the payment_method_types in the past when creating the checkout session for the individual stripe accounts of our customers. Now we want to leave the handling of the payment selection to our customers stripe accounts. But we need a migration. So some will have payment_method_types filled with options, some dont. What do we need to change in our connect account to do that?

Related Request ID(s)
req_rfUEzDF1oz0Kzo

What have you already attempted?
simply removing it for some requests isn't working. Take a look in the linked request. our request doesn't include the payment_method_types, but the response coming back from Stripe has it set. I tested it in "Test mode" with all payment methods enabled and on Production with a real vendor stripe account that has a lot enabled (paypal, klarna etc..). But in the test mode only card was accepted and in production card and sepa were enabled.

What are you working on?
We have a learning management plattform system and our customers can sell their courses through stripe.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/financial-connections/testing

Question
Not sure if this is the right place but I just enabled the ACH retries for bank debit retries and I want to test the scenario where a payment fails and the 2 retries also fail to see what is returned back. How can I test this?

What have you already attempted?
I've already read all the testing with the insufficient funds bank account number & routing number found here: https://docs.stripe.com/payments/ach-direct-debit

with also simulating verifying the account

What are you working on?
Working on adding ach payments for our app, Calm, to collect payments on subscriptions for b2b customers

#

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

Question
As a one-time event, can we have our old 'prices' that were previously 'plans' moved (as a one time event) into new products so that we don't have to migrate our customer subscriptions? For example, we sell a software subscription called "Standard" and we have products and prices for Standard+Monthly+EUR, Standard+Annual+USD, etc. Can we have them all moved into a single 'Standard' product as multiple prices on the same product?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/migrating-prices

What are you working on?
My company is considering migrating to the Prices API, but we have many customers on old "Plans." Our old plans now appear in the dashboard as Products with a single price. We now have a product for every combination of product

#

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

Question
Our payments work like this:

  1. Take the monthly rent fee + security deposit when they reserve.
  2. If stay is 2 months or greater, charge the monthly rent fee for each full month stayed.
  3. If there is a partial month once all the steps above are complete, bill that remaining fraction.

I was advised to use the installment plan pattern (subscriptions) for this. However, there are two pieces I am missing that I cannot find in the docs.

  1. How do I take payment from the react element on the front end when I create the subscription?
  2. How do I finalize the first invoice so I can return the clientSecret from the paymentIntent to the front end and confirm the first payment?

Doc/Guide Links
https://docs.stripe.com/billing/invoices/subscription
https://docs.stripe.com/api/subscriptions/create
https://docs.stripe.com/invoicing/integration/automatic-advancement-collection

What are you working on?
A web app (React/Node) for mid-term rentals.

cursive heronBOT
#

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

Question
Hello! I have a price that is tied to a meter, which charges $15 per day per unit. On a test account, I have a customer that has a quantity of 2. I want to reduce it by 1 using appropriate API calls. How do I do this? Steps in the workbench are also helpful as I can imitate this in the codebase.

Related Request ID(s)
req_VdUPfuk35uCaTD

What have you already attempted?
I have tried changing the quantity the way I would to a subscription with usage type license and am met with an error that says that cannot be done to types that are metered.

I also looked through the API documents but couldn't find a clear way to do this. (I probably overlooked something)

What are you working on?
A subscription product.

cursive heronBOT
#

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

Question
Is there some way to encode "cancel_at_period_end" into a phase of a subscription schedule?

Related Request ID(s)
req_m5m3F3vTtZRHxT

What have you already attempted?
Setting cancel_at_period_end fails with the error: The subscription is managed by the subscription schedule `...`, and updating any cancelation behavior directly is not allowed. Please update the schedule instead.

What are you working on?
We have a subscription schedule with 2 phases, and want to allow the user to set that they do not want the subscription to renew

cursive heronBOT
#

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

Question
If I'm changing my price, do I need to archive the old price on the same product? Is there a way to disable that price without disrupting subscriptions on the old price?

Doc/Guide Links
Stripe dashboard for products has "Archive price" but it doesnt explain what it does

What are you working on?
godelterminal.com

#

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

Code
https://docs.stripe.com/payments/accept-a-payment-deferred?type=payment&integration=paymentsheet-flowcontroller

Question
I'm trying to create a form that allows the user to register their credit card. In this context there is no intentConfiguration.amount. The user may never follow through with an actual purchase. I just want to collect and register the card data. I would also like to have the button say something like 'Add Card' instead of 'Continue'. displaying the check box for saving the card also does not align with a form that serves the sole purpose of collecting card data.

What have you already attempted?
Just trying to find documentation that makes it clear that I can achieve what I'm try to achieve.

What are you working on?
Working on a react native app that can store cards and execute purchases on a later data.

#

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

Question
- I pre auth for $100
- Capture $70
- what's the best way to release the hold on the remaining $30? Do I do a cancel auth after the capture?

Doc/Guide Links
Haven't found anything that addresses this specifically.

What are you working on?
Stealthy ninja discounting stuff

cursive heronBOT
#

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

Question
a customer binds their credit card with 3ds enabled, proceed to subscribe a plan that has a free trial period, get charged 0 at checkout, when the trial expires, the payment failed due to not able to perform 3ds. how do i make customer perform 3ds at the first checkout? preferably without charging them. what is the best practice for this scenario?

Related Request ID(s)
req_2zBnJyP2ZXTZhv

What have you already attempted?
.

cursive heronBOT
#

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

Question
I want to take a customer to a checkout session when they decide to upgrade from within my application.

Is it possible to create a checkout session where I can update the subscription to a new price ID once it succeeds?

For example : A customer has a subscription A with product with Price ID X.

When a customer clicks on Upgrade from within my application.

I will create a new checkout session, and when the customer enters their details in the checkout session and it is completed, I do not want to create a subscription but instead update the price ID on their current subscription.

Is this possible to via the Checkout Session API ?

Doc/Guide Links
https://docs.stripe.com/payments/checkout
I also tried searching around.

What are you working on?
A web application

cursive heronBOT
#

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

Question
we have an issue with card present (card reader) . We are developing the ability to pass the fees to the Our merchants’ customers) and to achieve this we are adding the stripe / Tonso fees on top of the amount. To calculate the respective fees , we can only do that once the customer taps or inserts the card , however we do not have any ability to adjust at that stage apart from processing a response from reader. The issue is to do with different charges applicable to domestic cards, international cards and eftpos cards. It will be great if we can get some assistance in relation to this

Related Request ID(s)
N/A

What have you already attempted?
We are stuck, as we cannot determine the card until customer taps the card, so calculating stripe charges upfront and adding before presentment will not be possible? have you encountered this scenario and what do you recommend?

cursive heronBOT
#

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

Question
How do I integrate the Stripe checkout (European Payment methods) into my Shopify checkout?

Related Event ID(s)
cx

What have you already attempted?
I looked on your website but couldn’t find any tutorial

cursive heronBOT
#

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

Question
I would like to pay an invoice using bank transfer.
for that I have created 2 payment intent so I got 2 reference Id.
what if I paid that invoice with both reference id?

Related Request ID(s)
-

What have you already attempted?
https://docs.stripe.com/payments/bank-transfers/accept-a-payment?payment-ui=direct-api&country=GB#handling-underpayments-and-overpayments

#

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

Question
I want to setup connect account from my stripe dashboard and i am confused which fund flow to select . So is there any way to change it later after selecting and do dry run

Related Request ID(s)
N/A

What have you already attempted?
Not yet

What are you working on?
Working on the Ride Sharing Application

#

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

Question
Want to confirm understanding about stripe connected account service agreement (full vs recipient):

My platform (US based) is like fiverr, in the sense that the platform manages payments from buyer -> freelancer, using separate charges and transfers. Freelancers should only be able to receive transfers and then withdraw this money.

I know US based connected accounts have to use "full" agreement, and other countries have to use "recipient" for cross-border payouts.

I want to make sure: based on the way I set up full-agreement accounts, they're NOT able to create their own transfers, correct?

Related Request ID(s)
NA

What have you already attempted?
account_country = 'US'
account = stripe.Account.create(
country=account_country,
email=caller_profile["email"],
controller={
"stripe_dashboard": {
"type": "none",
},
"fees": {"payer": "application"},
"losses": {"payments": "application"},
},
tos_acceptance={"service_agreement": "full" if account_country == "US" else "recipient"}
)

are there any permissions that full-agreement accounts have over recipient accounts that i need to be aware of or explicitly disable?

cursive heronBOT
#

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

Question
Im forwarding my customer to the stripe billing portal

$stripe = new \Stripe\StripeClient(config('services.stripe.key'));

    $stripe = $stripe\-\>billingPortal\-\>sessions\-\>create\(\[
        'customer' =\> Auth\:\:user\(\)\-\>stripe\_customer\_id,
        'return\_url' =\> route\('account'\),
    \]\);

    $this\-\>redirect\($stripe\-\>url\); 

But there is no opition for the customer to upgrade their plan here

Related Request ID(s)
NA

What have you already attempted?
Code above - maybe dashboard setting

#

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

Code
const stripe = Stripe('pk_test_51IppU7EKZ4Dtb2aTNdyk7W0vQ5G44J59jNDoOsGXQVHq4UC3Xw83ksjSbPKq7xKw7Nj8f9F3yGFYi2Z3plPnZ4ps00wjIVIL3p');
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
};
const elements = stripe.elements(options);

Question
GPay button is not visible. I'm using express checkout element integration.

this is my site
https://wordpress-319567-2021527.cloudwaysapps.com/index.php/checkout/

What have you already attempted?
I'm using express checkout element integration.

cursive heronBOT
#

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

Code
No Subscription id found "sub_1PNyFFEwHpTUe8W7IKI9SU5h"

Question
I am currrently in test mode. We just did a large change to our codebase and our stripe webhooks were not arriving to the test deployment for 2 days. Now we have had 2 instances where somebody got a notification that their subscription doesn't exist"No Subscription id found "sub_1PNyFFEwHpTUe8W7IKI9SU5h"" .I cant find the subscription on the dashboard and when trying to filter by customerId I can't find any subscriptions either. We need to figure out how this happened

What have you already attempted?
I have scanned our dashboard

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

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

Question
i need to add api for create connected accounts i need to pass country so i need availabale countries for stripe connected accounts

Related Request ID(s)
No

What have you already attempted?
i used country spec but it returns all country

What are you working on?
Stripe Integration

cursive heronBOT
#

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

Question
hello i search to find a credit note by the invoice , but when i use for exemple list all creditnote with invoiceId i have empty array

Related Request ID(s)
no

What have you already attempted?
i already try list all credit note

#

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

Code
// Retrieve the existing subscription items
$existingItems = $subscription->items->mapWithKeys(function ($item) {
return [$item->stripe_price => ['quantity' => $item->quantity]];
})->toArray();

    // Add the new price or increment the quantity
    $existingItems\[$stripePrice\] = \[
        'quantity' =\> \($existingItems\[$stripePrice\]\['quantity'\] ?? 0\) + 1
    \];

    // Preview the upcoming invoice with prorations

Question
Hello all,

I have coupon for 100% which is applied during checkout. The created subscription has the correct invoice and everything works fine, the problem arise when I try to increase the quantity of the item in the subscription. In the provided snippet the result of the preview is that I need to be charged for 118$ (2 x 59.00) instead of just 59.00 for the second quantity.

What have you already attempted?
I've tried passing the subscription item id besides the quantity, no success. Since it's one time coupon it's not in the subscription payload and even if it was there, re-applying it will result in 100% for 2 quantities which is something that I don't expect as an outcome.

cursive heronBOT
#

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

Question
CΓ³mo sΓ© si estoy en modo pruebas o modo activo

Related Request ID(s)
pk_live_51PbmnHIoybhcyLaDmI9QkANTfwpFl5b5oULswTx2wxmFQf7BWs3LsyfUBjLHRGK3A0lVQOkiZZfW5t290cCFbuGL001ciBz3g4

What have you already attempted?
he estado leyendo la documentaciΓ³n API y no he encontrado dΓ³nde saber si las claves que se pusieron durante la integraciΓ³n era en modo prueba o modo activo

#

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

Question
Is it possible to have a subscription that has 1 price for a certain amount of time (e.g. 2 billing periods) and after that switch to another price_id indefinitly

Related Request ID(s)
none

What have you already attempted?
Searched API docs

What are you working on?
mo.pla

#

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

Question
when I query for a list of plans that are active - one of them doesn't come back. In the dashboard it's active and I can't see a reason why it's not being returned. Can anyone look into two plans by ID and tell me if there's a difference? I can't see what the query returned from the logs.

Related Request ID(s)
req_PuCyhGkar5QH2t

What have you already attempted?
Looking in the dashboard, checking our code: Which is super straightforward, just:
var plans = await planService.ListAsync(new PlanListOptions() {Active = true});

What are you working on?
Timetastic - we're updating some billing code

cursive heronBOT
#

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

Question
I am setting on account creation automatically free trial to paid plan to my customers (subscriptions).

Does Stripe support automatic send of emails after every XY days?

Related Request ID(s)
xy

What have you already attempted?
I am setting on account creation automatically free trial to paid plan to my customers (subscriptions).

Does Stripe support automatic send of emails after every XY days?

What are you working on?
Free trial

cursive heronBOT
#

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

Question
I'm trying to add Link as a payment method on our account. We use an element to display the checkout. Link is enabled in the dashboard. My api calls are doing everything requested in the documentation but the Link payment method is not available. Is there something different I need to be doing for this payment method than others?

Related Request ID(s)
req_cn9MoszAselgYH

What have you already attempted?
I've read all the docs, I've tried including Link in payment methods order

What are you working on?
Ecommerce checkout

#

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

Question
What does Stripe’s reminder of free trial ending look like?

Doc/Guide Links
SendGrid emails vs Stripe emails

What are you working on?
My web app is on Firebase. am adding SendGrid to my app wondering if I should use it to send this email or Stripe.

cursive heronBOT
#

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

What did you expect to happen?
Expect the monthly to yearly upsell toggle to appear on the Stripe-hosted Checkout page.

https://docs.stripe.com/payments/checkout/upsells?payment-ui=stripe-hosted#checkout-flow

What actually happened?
The toggle seems to have stopped appearing, having checked different Prices, countries via VPN, browsers, and API-created Checkout Session, and Payment Links.

Reproduction Steps

  1. Open a Payment Link for a monthly price: https://buy.stripe.com/3csaFTfOdciY5CU28a
  2. See that no upsell toggle is available on the left

Question
Did something change with the upsell option on the Checkout?

I'm aware of the new "show yearly prices in monthly terms" option, and did not enable it, in case that makes a difference.

I also couldn't find any settings related to this upsell feature, and don't believe we have made any changes to our account.

#

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

Code
stripe.createPaymentMethod(element, data)

Question
Need to know the payment method selected in element before calling the above function

What have you already attempted?
Checked content of element before calling this

What are you working on?
Need to ask user if ppayment method can be saved,for that need to know whether the payment method can be saved after using paymentintent

#

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

What did you expect to happen?
Link button do dissappear from my Payment Element.

What actually happened?
Link button still appears

Reproduction Steps
Creating Payment Element passing a clientSecret

Question
Why is this link button still appearing and how can I remove it?

#

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

Question
Link is not showing as a payment method in our checkout element. It is enabled in the dashboard. We are not sending billingDetails when creating the element but from the docs I gather this will prompt the user to input their email when they select Link as the payment option

Related Request ID(s)
13.41.248.133

What have you already attempted?
Adhering to the interface requested in the documentation

What are you working on?
ecommerce platform

#

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

Question
While introducing the Stripe Payment Request button we are having issues with Google Pay, specifically when a customer adds a new address.

When a user changes address we fire a function on the shippingaddresschange event to update the shipping options. This works fine when the user is changing to an existing address, but when they add a new address the shipping options are stuck on "shipping options pending" and don't show any shipping options to the user.

Related Request ID(s)
na

What have you already attempted?
We have break points / logs in the shippingaddresschange event function call and the information send over to the Google Pay with "updateWith" for new vs existing addresses looks identical, there are no log errors or anything the options just aren't showing up for new addresses.

What are you working on?
E-commerce website

#

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

Question
When my user is on free trial for some product and he opens customer portal to manage his subscription, adding a payment method is only right way to bill user correctly?

Related Request ID(s)
x

What have you already attempted?
- I am now looking case if my user creates an account and he is automatically on plus plan (paid plan) and he opens customer portal he sees the date when the trial ends. But I don't see an option that user can immediately pay

What are you working on?
free trial flow

#

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

Question
I have two Standard subscriptions and one Enterprise subscription, which is negotiated individually. I am currently thinking of designing the Enterprise in such a way that I create a product Enterprise with a default value (e.g. 5000€ per year) and then always change the unit_amount if I want a different price. Is this the right way?

Doc/Guide Links
Not found anything for this case

What are you working on?
Subscription Management for a SaaS

cursive heronBOT
#

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

Code
src_1Q663IEFvS24tPKUExDkvrbS

Question
why we are getting this error after migrating to payment methods API

RECOVERABLE: A usable country could not be found. Please set the country in the Source owner address hash to be a 2-character alphanumeric country code, such as 'US', 'EG', or 'GB' and then re-run the tooling. See https://docs.stripe.com/api/sources/update#update_source-owner-address-country for reference.

What have you already attempted?
src_1Q663IEFvS24tPKUExDkvrbS

What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product

#

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

Question
I'm having a usage based subscription. I report spent facebook ad budget to a meter. The unit is cents. However, the invoice looks a bit weird. For example, if someone spent 5€ ad budget this translates to 500 cents which looks a bit weird on the invoice: 1) Is it possible to display the invoice position like in the screenshot? (See "Desired results.png") 2) Is it possible to add more position to the summary? We would like to add our internal service fee. See screenshot

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
SaaS for publishing Facebook ads

cursive heronBOT
#

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

Question
When updating a subscription

Im getting the Invoice.paid
Billing Reason is 'subscription_updated'

But the product ID - Is showing the old plans product ID not the updated product ID -

"product": "prod_QwIw5U0EcVzas4",

Related Event ID(s)
prod_QwIw5U0EcVzas4

What have you already attempted?
testing

cursive heronBOT
#

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

Question
I'm having difficulties understanding what is the right stripe option for me. Do I use Stripe Connect or a Stripe App?

Basically I want to be able to create payments on behalf of other pre-existing accounts. I don't want to manage the accounts myself. I might want to apply a platform fee for some of these at some point.

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

What are you working on?
Just getting started

#

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

Question
How can I assign a invoice template via API? I've created an invoice template and added a short description to the footer. Now, where exactly can I assign this template? Can I add it directly to the product/description? Because I didn't find a setting. When creating the subscription via API, I saw that I can pass `invoice_settings`. However, the Node SDK intellisense only shows account_tax_ids and issuer.

Related Request ID(s)
NA

What have you already attempted?
Read the docs, checked the dashboard settings, node sdk intellisense

What are you working on?
Facebook SaaS

#

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

Code
&stripe.PaymentIntentParams{
Amount: stripe.Int64(5710), // Amount in cents (e.g., $50.00)
Currency: stripe.String(string("usd")),

	//CaptureMethod\:      stripe.String\(string\(stripe.PaymentIntentCaptureMethodAutomatic\)\),
	Customer\:           stripe.String\(customerID\),
	PaymentMethod\:      stripe.String\(paymentMethodID\),
	Confirm\:            stripe.Bool\(true\),
	ConfirmationMethod\: stripe.String\(string\("automatic"\)\),
	//OffSession\:    stripe.Bool\(true\),
	//Payment

Question
Hi team,

In test mode I was able to collect offline payment methods through setup intent.

I am trying to setup payment intent with existing payment methods to charge customer, but all my payments from golang code are created with Incomplete status.

From dashboard for same payment method I was able to create payment with succeeded status, but can't repeat with same payload using Golang SDK - SDK uses POST request, while dashboard is using GET request with next payload:

What have you already attempted?
tried to repeat same payload
--data-raw 'amount=6710&capture_method=automatic&confirm=true&currency=usd&customer=cus_QzzQKdFuQMq90q&description=check&payment_method=pm_1Q7zfZAJlbf9cOtY24aVIAof&payment_method_options[card][moto]=true&payment_method_types[0]=card&statement_descriptor=check
but receive "status":400,"message":"Received unknown parameter: payment_method_options[card][moto]"

please, help to setup minimal parameters needed to charge customer using offline payment

What are you working on?
need to create a setup that will collect payment methods, and than charge every month customers with different amounts depending on their usage in our app.

cursive heronBOT
#

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

Question
Google Pay and Apple Pay used to work one week ago but it doesn't anymore. Keys have been updated. How can I find the reason of this problem?

Related Request ID(s)
Requests are not visible

What have you already attempted?
- update private key
- update stripe api version
- contact phone support of stripe

#

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

Question
Hello, I have my Stripe Mexico account, I want to implement payment with Spei via API, what would be the endpoint with the correct body to create payments with Spei, and my other question is, which banks does Stripe work with for payment in Spei?

Related Request ID(s)
Stripe Spei Mexico

What have you already attempted?
yes

What are you working on?
yes

cursive heronBOT
#

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

Question
Integrating Express Checkout with Payment Element

Related Request ID(s)
N/A

What have you already attempted?
The express checkout mounts correctly. Is there a way for express payment to use the same logic as the payment elements?

Currently, it seems to require its own confirmation handlers as if it was being used separately.

#

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

Question
You may only specify one of these parameters: customer, customer_creation

Related Request ID(s)
You may only specify one of these parameters: customer, customer_creationYou may only specify one of these parameters: customer, customer_creation

What have you already attempted?
You may only specify one of these parameters: customer, customer_creation

cursive heronBOT
#

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

What did you expect to happen?
Link payment option to be disabled

What actually happened?
Link payment option still available

Reproduction Steps
Create invoice with Link disabled

Question
This is a follow-up to a previous thread where I was guided how to disable Link from both Invoices (the flow that I am using) and from Payment Methods. I noticed in Invoices the Link option is unavailable in Test Mode, so I assumed it is expected to see Link in my Payment Element while in Test Mode. However, Link is still visible in both Test and Live Modes.

cursive heronBOT
#

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

Question
Open stripe customer portal add of payment method immediately

Related Request ID(s)
x

What have you already attempted?
Can I on req to get customer portal link
const session = await stripe.billingPortal.sessions.create({
customer: customerId,
return_url: returnUrl,
});

immediately set that I want payment method section opened immediately

#

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

Question
We are using React native and integrate stripe payment intent for Apple Pay but we have no idea how to test it we are not able to use stripe test card it always decline it

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Saas platform

#

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

Question
Using the Payment Request Button the "Shipping Option Pending" is stuck whenever I add a new address. The problem doesn't occur when I select an existing address, and the issue only exists on Google Pay.

Related Request ID(s)
na

What have you already attempted?
I've tried calling updateWith with dummy data (that I'm 100% sure is correct) and it just doesn't seem to want to populate the shipping option.

What are you working on?
Ecommerce site

cursive heronBOT
#

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

Question
When collecting payment method ahead of time, how do I need to handle a subscription's client secret of the payment or setup intent (if the subscription has a trial). I am currently testing my flow and it seems the subscription creates and invoice which will be status of `void` if I advance the time. Do I need to call `confirmPayment` with the default payment method provided when creating the subscription on the frontend? How does the path look when having a trial subscription. Does the customer need to come back to confirm the payment too?

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

What are you working on?
SaaS

#

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

Question
I'm having difficulties understanding what is the right stripe option for me. Do I use Stripe Connect or a Stripe App?

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

What are you working on?
Basically I want to be able to create payments on behalf of other pre-existing accounts. I don't want to manage the accounts myself. I might want to apply a platform fee for some of these at some point.

#

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

Question
Stripe billing user portal isn't showing the subscription

Related Request ID(s)
N/A

What have you already attempted?
this is my api call:

What are you working on?
i'm trying to send users to the billing portal where they can manager the subscription

cursive heronBOT
#

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

Question
I have a customer with payment method bank transfer.

When the customer fund money we receive customer_cash_balance_transaction.created event.

So this event only contains the last 4 digit of transfer sender IBAN.
But I need to retrieve full IBAN of transfer sender.

How can I do this ?

I am in the process of migrating from SEPA credit transfer to EUR bank transfer.
In SEPA credit transfer I was able to retrieve full IBAN

evt_1Q8NiHCwXI9yfnGa7iYH5gJL

Related Event ID(s)
.

What have you already attempted?
.

#

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

Question
how to setup subscription/monthly-payments for metered usage in stripe that allows to increase/decrease the quantity and charged on the quantity left on the end of billing cycle. these offering/pricing should be tiered, for example

- quantities 1-499, then per item 2.75 USD
- quantities 500-999, then per item 2.50 USD
- quantities 1000+, then 2.0 USD

Currently this is done manually and we want to automate this process using Stripe which should handle the charging and payments and we can update the quantity whenever any changes happens in our app.

I went through the docs and wasn't able to grasp everything there, so came here to ask this question.

thank you

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

What are you working on?
We're working on asset management tool and we want to add payments solutions to automate the manual operations for charging customers on their number of assets they manage based on their quantity tiers and tiered pricing.

#

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

Question
I am using Express Checkout and getting loong load times for the UI to render. I am curious what I can look for or is this normal loading times?

Related Request ID(s)
NA

What have you already attempted?
Added JS timers around code, but obviously that doesn't really help

What are you working on?
Our cart page checkout

#

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

Question
Is it possible to issue a refund directly on an invoice through the API? Or do I need to retrieve the payment intent ID of the invoice, and then issue a refund on that payment intent? Is that the best practice?

Related Request ID(s)
n/a

What have you already attempted?
Reviewing the docs

What are you working on?
Invoice refunds

cursive heronBOT
#

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

Question
Is there a way to create a subscription through an invoice item?
The idea is to create a shopping cart that supports one time purchase items and subscriptions, mixed.

Related Request ID(s)
req_FvgHreMehZ5O8y

What have you already attempted?
- To pass the price id to the invoice item.

What are you working on?
The idea is to create a shopping cart that supports one time purchase items and subscriptions, mixed.

cursive heronBOT
#

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

Question
Are there any events associated with an update to payments config? For example this request: req_wubVlJunrHp1YC

Related Event ID(s)
n/a

What have you already attempted?
Modifying the payments configuration object and observing if any events are emitted.

Looking through "types of event" documentation to see if there are any matching events: https://docs.stripe.com/api/events/types

I asked a similar question recently, I thought this action would emit a `capability.updated` event but I was mistaken.

cursive heronBOT
#

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

Question
using stripe-js and react stripe Paymentelement how can i get the default country and if a user change the country?

Doc/Guide Links
i use the paymentelement.on(''ready", (event ) => {})
but there a no values

What are you working on?
subscription billing system

cursive heronBOT
#

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

Question
Is there an easy way in dashboard to enable passing CC fees to customer ie. surcharges?

Doc/Guide Links
looked throughout docs didnt find anything

What are you working on?
web app

#

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

Question
Hey there, when I look at / download an invoice from Stripe's dashboard, I can predictably set the order of the line items. However, when I get the invoice with their line items via API, the line items are not in the same order as the dashboard/PDF version. Is this a bug? Is there a way to request it via API so it contains the same order as the dashboard?

Related Request ID(s)
xxxxxxxxxx

What have you already attempted?
n/a

cursive heronBOT
#

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

Question
I have started to receive out of the "You provided an API key, but the requested endpoint does not require authentication. Try sending your request again without the 'Authorization' header." errors out of a sudden.

Related Request ID(s)
req_h7r8YjeFwOcw1f

What have you already attempted?
This has been working fine, but started to error just a couple of minutes ago.

#

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

Code
You don't have access to this data. If this was done in error, contact your admin to restore permissions.

Question
When I go to my "Subscriptions" tab on the Stripe Dashboard I get the following error

You don't have access to this data. If this was done in error, contact your admin to restore permissions.

What have you already attempted?
Logged in and out of Stripe

#

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

Question
We're using the /v1/invoices/ endpoint to retrieve invoices from Stripe upon successful purchases. This has been working for years without issues.

As of at least 15 minutes ago, this endpoint has started returning "You provided an API key, but the requested endpoint does not require authentication. Try sending your request again without the 'Authorization' header" as error.

Nothing has changed on our side. We're using the .NET API v39.68.0, with Stripe API version
2020-08-27. Please advise on how to resolve ASAP as this is affecting our purchasing flow.

Related Request ID(s)
req_BKK42U2H60hbjw

What have you already attempted?
Nothing. This appears to be an error/change on Stripe's side. We have not made any changes at all on our end for ~6 months. No updates, no version changes, nothing.

#

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

Question
I want to allow users to update their (card) payment method in my Rails app. I send a fetch request to a controller action that creates a setup intent. The client secret is returned in the response to the front end and the payment method is updated. Then, the user is redirected to the return url. However, I want to store the payment info my db. I know I can listen to webhook events to update my db, but it doesn’t happen immediately. Presumably, the return url would be a success page showing the updated payment method. Is there another workflow that will allow me to update db when form is sub

Related Request ID(s)
none

What have you already attempted?
described above

#

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

Question
I am experiencing the same problem reported by @rovarma and have been for 15 minutes.

Related Request ID(s)
can’t see one

What have you already attempted?
nothing but am experiencing same issue as rovarma

What are you working on?
stripe invoice API calls

rose otter
cursive heronBOT
#

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

Question
I have error Stripe Request to Subscription/all - You provided an API key, but the requested endpoint does not require authentication. Try sending your request again without the 'Authorization' header....

Related Request ID(s)
req_fZbvpIRtbuOs1K

What have you already attempted?
We didn't change anything, everything worked fine. Why did the query start giving an error?

cursive heronBOT
#

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

Question
At around 1:30 PM CST our engineering team started seeing all GET requests to v1/subscriptions/{{subscription_id}} endpoint returning the following error:
{
"error": {
"message": "You provided an API key, but the requested endpoint does not require authentication. Try sending your request again without the 'Authorization' header.",
"request_log_url": "https://dashboard.stripe.com/logs/req_hAPbFGUn2A41Ah?t=1728586457",
"type": "invalid_request_error"
}
}

We have not made any changes to our API version or use case for this endpoint and are unsure of the root cause.

Related Request ID(s)
req_hAPbFGUn2A41Ah?t=1728586457

What have you already attempted?
We haven't tried anything - normally these subscription endpoints require authentication.

What are you working on?
Billing for When I Work's core product

rose otter
cursive heronBOT
#

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

Question
Some endpoints I was calling were giving me an error that I did not expect. This happened maybe 30 minutes ago around noon PST and since then they have stopped. The error was this:

You provided an API key, but the requested endpoint does not require authentication. Try sending your request again without the 'Authorization' header.

This happened when I was trying to view subscriptions on the dashboard and also in creating Billing Portal Sessions.

Related Request ID(s)
req_tXnczomCpu61XY

What have you already attempted?
I kind of just came back to this and it was fixed. I am wondering if it was temporary outage or what.

What are you working on?
I am building a subscription integration where users can update the number of seats by opening a billing portal that allows them to add a set increase in quantity

cursive heronBOT
#

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

Question
Is there any way to copy details from connected account and create new one with same details ?

Related Request ID(s)
na

What have you already attempted?
read doc

What are you working on?
Creating new connected account from exisiting one

cursive heronBOT
#

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

Code
Stripe::PaymentIntent.create(
{
use_stripe_sdk: true,
off_session: true,
amount: 10_000,
application_fee_amount: 2_000,
automatic_payment_methods: { enabled: true, allow_redirects: 'never' },
customer: '<redacted>',
currency: 'usd',
payment_method: 'pm_card_amex',
confirm: true,
capture_method: 'manual',

Question
Any attempt to complete payment with AMEX in my test environment is rejected with a card decline error: 'Your card is not supported for this currency. Please use a Visa or MasterCard card'. I believe I have everything configured to use USD, and all other payment methods work.

I'm seeing a "Unfortunately you can't create charges in this currency with this card brand." as well.

Is this an account configuration issue? A PaymentIntent setup issue? Or something else?

What have you already attempted?
I've reviewed card decline errors and confirmed that I am making purchases in USD with other card brands. My Stripe Dashboard shows AMEX as an accepted card brand for my account.

PI demonstrating error: pi_3Q8UulLvyoWw5O6y0QGqebUM

#

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

Question
What are the best new features the new API brings I should be aware of?

Related Request ID(s)
New dev api perks

What have you already attempted?
I upgraded to the new API

What are you working on?
utilizing new api features. I have a free trial and 2 products

#

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

Question
Collecting monthly account fee from onboarding account

Related Request ID(s)
onboarding

What have you already attempted?
We have platform and the sellers. Sellers are onboarding account (stripe connect) that seals their products through stripe checkout.

Our platform is located in UK. Is there a way to receive monthly fee from onboarding accounts (sellers) ? I see option with this subscription billing
https://docs.stripe.com/billing

But when i use it -> will be any lacks in functionalities to receive or something? I mean - when i use it I will lose something else?

#

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

Question
In our iOS app, we have self-maintained UX flows for 'Add a Payment Method' and checkout. Regarding 3DS authentication, we want to purposely NOT show 3DS authentication during the 'Add a Payment Method' flow, and show it, if necessary, during checkout. What do we need to do to ensure this?

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

What are you working on?
iOS native integration

cursive heronBOT
#

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

Question
What would be the best way to create a price breakdown that includes taxes and discounts that lives beside a Payment Element? I can't use the self hosted checkout page sadly. I want it to update on real time any changes with the PaymentElement/AddressElement form (for taxes)

Doc/Guide Links
https://docs.stripe.com/payments/build-a-two-step-confirmation
This piece of the documentation looked like the best but it seems like each step needs to be in a different page.

What are you working on?
New payment system that uses Stripe Elements as it has to be styled specifically to what the client needs.

cursive heronBOT
#

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

Question
Hey I am running a website which fully uses AWS infrastructure. I am planning on implementing the Stripe API for processing users payments at checkout. I read that stripe is PCI DSS compliant so does that mean I don't have to worry about being PCI DSS compliant? There was also something about KYC /anti money laundering and stripe expects anyone who is using the API for payment processing to monitor and be aware of transactions? How does the API work to help me process my consumers payment at checkout? Please help me out I am just trying to build a business and my head is hurting.

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

What are you working on?
A website that provides users access to connect and pay for services upon checkout.

cursive heronBOT
#

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

Question
How long will it take to mark the subscription invoice as past due if Stripe can't collect payment?

Related Event ID(s)
Null

What have you already attempted?
Null

What are you working on?
Stripe subscription web hook

#

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

Question
how much is the charge per transaction if i use stripe here in philippines to accept payment from PH

Related Request ID(s)
dont know the related id

What have you already attempted?
i already have a test sample in stripe just want to know how much charge per transaction

What are you working on?
i am building an application that accept payment using stripe in philippines

#

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

What did you expect to happen?
The subscription product model price is 19.9, but when using Apple Pay for payment, it was found that the actual deduction is 19.9

What actually happened?
The subscription product model price is 19.9, but when using Apple Pay for payment, it was found that the actual deduction is 19.99

Reproduction Steps
subscription id: sub_1Q8TtxIC1xDAOwlveFxcRvnG
price id:price_1Q2eAjIC1xDAOwlvdX7qOEev
pay id: pi_3Q8TtyIC1xDAOwlv0HlxlZCD

Question
what shoud i do make the prices is 19.9 when use apple pay

#

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

Question
How to configure the stripe account to accept payment methods for different country?

We have a verified stripe account and our company (LLC) is registered in New York.

Our business plan is to start with our business on the German market.

And we want to allow our German Customers to pay with Credit Cards, Paypal and SEPA Debit.

However the API is throwing errors when paypal or sepa is added to the payment_methods.

What can we do?

Doc/Guide Links
https://stripe.com/de/payments/payment-methods

What are you working on?
SaaS

#

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

Question
I can't get the meta data from webhook of stripe by java sdk.

Related Request ID(s)
req_v1fI6UvTMnmh40

What have you already attempted?
Should I update the version of java sdk from stripe? Please provide the detail version for me.

#

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

Code
The front-end payment control cannot be pulled up

Question
After selecting Apple Pay payment, the front-end control cannot be pulled up

What have you already attempted?
None

What are you working on?
Subscription payment

cursive heronBOT
cursive heronBOT
#

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

Question
Playing with test clocks and subscriptions, we notice that paused subscriptions still have draft invoices generated, but we are curious about how long after draft invoice generation the invoice will be voided.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/pause-payment

What are you working on?
Allowing our users to temporarily stop paying for access to our platform for a period of time. Access to the platform is charged using Subscriptions.

cursive heronBOT
#

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

Question
Hello Team, I am facing one stripe error for customer not found while creating payment intent under connect account

I followed direct-charge stripe doc and used exact same method
-Create New Customer
-Create Empheral
-Create Intent under connect account

But while I am creating intent it says customer not found

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_Jv6f15gUdWyxTI?t=1728625355

What have you already attempted?
https://docs.stripe.com/connect/direct-charges?platform=ios&uikit-swiftui=uikit

What are you working on?
I'm working on making payment under connect account.

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?
Payment Intent should be succeeded.

What actually happened?
Already added card by the customer did not work and the transaction failed due to incorrect card number

Reproduction Steps
- Add a card
- Create a payment intent
- Payment Intent failed due to incorrect card number

Question
If transaction or payment intent fails due to incorrect card number, it should not have allowed user to add card in the setup Intent only.

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.

cursive heronBOT
#

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

Question
My application runs each night at 00:00 to run payouts to my connected accounts, of which I have over 200 (not all have balances every midnight), these are instant payouts.

This has been running fine for months, however, we've had a few connect accounts reach out and ask why their payments are taking x amount of days when they're normally paid at midnight, via instant payout, I look at their account and the payouts are "standard", which I think Stripe is doing as all accounts were set up as daily payouts, but nothing has changed on our end.

Related Request ID(s)
req_qqtGbzs8irkGly , req_5znkWYyERMwaUx, req_K46UFckaQLkaDN

What have you already attempted?
The request IDs I've added, are some examples of payouts that were ran at midnight via my app, I'm seeing no errors. But what's frustrating when trying to debug, is that in those requests, you can't see the connected account associated with the payout, so I can't match up if the payout was successful. I've also this morning, ran a script to set all of my connected account's payout schedules to be "manual", so there's no cross over. I did this to one account yesterday hoping his next payout at midnight would go through, but it didn't even though payouts were ran.

cursive heronBOT
#

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

Code
{ stripeErrorCode: '',
declineCode: null,
localizedMessage: 'Une erreur inattendue est survenue. RΓ©essayez dans quelques secondes.',
message: 'Could not interpret the error response that was returned from Stripe.',
type: '',
code: 'Failed' }

Question
I try to test the stripe component to test with : card number 4000 0084 0000 1280 . But the 3D modal doesn't display, and i don't have the error code : card_declined

What have you already attempted?
I try on react-native, with the <StripeProvider />

What are you working on?
i try to test error card on the stripe component

#

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

Question
I'm using the `invoice.created` webhook. If the invoice belongs to a subscription I'm receiving a subscription ID as well. Now I would like to differentiate between two subscriptions.

I could do
const SUBSCRIPTION_A_ID = "sub_123"
const SUBSCRIPTION_B_ID = "sub_456"

And then write an if statement, however, I was wondering if I can add a unique identifier to a subscription object as well and if so, where? Because I can't find a setting like that in the dashboard. So for example subscription A should have the identifier subscription_a

Is this possible?

Related Event ID(s)
NA

What have you already attempted?
Reading the docs

cursive heronBOT
#

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

Question
Sources Migration link does not work

Related Request ID(s)
req_MnkoGJ3lJrCw7M

What have you already attempted?
Tried clicking the link to request an extension

What are you working on?
Keeping our active integration working

#

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

Question
Hey, I've recently started using Stripe API to charge franchisees of a Franchise I own. We plan on having around 15 - 20 people paying payments every day or every other day.

This payment is automatic, and is a set price everytime. This payment is also for advertisments, meaning everytime and advertisment is complete, it re-bills the franchisee. This is quite random, so it could be at 1 am or 9pm.

For some reason, a few users have been getting 3D secure requests from the bank in order to confirm the payment. Which is something I'm looking to prevent, as we need the ads running all the time.

Doc/Guide Links
I've created a setup checkout session which gathers the users payment methods, and sets them up for future use. This is also a time where the customer will need to use 3ds secure to confirm the FIRST payment (to turn the ads on)

I understand that this is all on the banks discretion, but am I missing anything obvious here?

We need these payments to be automatic, or if there is a better solution, please let me know.

Thanks.

What are you working on?
Franchise advertisments payments

cursive heronBOT
#

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

Code
Connect Embedded Payments Component: filter out by product_id

Question
I want to add the Connect Embedded Payments Component in my platform. It would be great to be able to filter out payments by productID, to show on the component just the payments coming from a specific product sold, and not show all the payments coming in the connected Stripe account. Is it possible?

What have you already attempted?
I'm reading the Connect embedded components doc but I don't see the possibility to filter by productID.

What are you working on?
Sales ticketing platform

#

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

Question
Hello. Not sure, why Klarna is not active in production. It is enabled in settings. But it is active in DEV enviroment.

Related Request ID(s)
req_8RQL6Z17Vhigid

What have you already attempted?
It works on DEV, but not LIVE.

#

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

What did you expect to happen?
Be able to add logic (e.g API calls) before payment succeeds

What actually happened?
I'm only able to add logic before and after payment sheet initialization

Reproduction Steps

  1. Choose Stripe as payment method
  2. Open the payment sheet
  3. ** When clicking Pay inside the payment sheet, add some logic before payment is completed **
  4. Extra logic is executed, payment completes after it

Question
πŸ‘‹ I'm using "@stripe/stripe-react-native": "^0.35.0" on my react native project. I have some business requirements to add a couple of API calls the moment the user clicks on Pay inside the payment sheet but before the payment is completed. But, I don't have control over the Pay button. Is there a way to achieve this?

cursive heronBOT
#

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

Question
I have a subscription of a customer who has an item worth 140€, this is automatically charged every month, but now I need to check a condition before this is charged, so that I do not charge this amount, but make a price reduction and only charge 50€. This will be varied, and some months it will be applied and some not.
How do you recommend me to approach it? Can I change the subscription item before it is charged? Or can I apply a discount for your next invoice?

Related Request ID(s)
N/A

What have you already attempted?
I am researching

cursive heronBOT
#

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

Code
import { Elements } from "@stripe/react-stripe-js";
import { loadStripe } from "@stripe/stripe-js";
import CheckoutPage from './CheckOutPage';
const stripePromise = loadStripe(process.env.NEXT_PUBLIC_PUBLISHER_
const stripePromise = lo
<Elements
stripe={stripePromise}
options={{
mode: "payment",
amount: convertToSubcurrency(amount),
currency: "usd",
}}
>
<CheckoutPage amount={amount} />
</Elements>

Question
I am facing an error called:- Uncaught (in promise) Error: Frame not initialized.
at Fe.canMakePayment (v3:1:624009)
at d._canMakePaymentForBackingLibrary (v3:1:656209)
at v3:1:657964
at v3:1:196804
at async Promise.all (payment/index 0)

Here's my package detail:-
"@stripe/react-stripe-js": "^2.8.1",
"@stripe/stripe-js": "^4.8.0",

What have you already attempted?
I read the docs and followed one tutorial but could not figured out the issue yet

What are you working on?
I am integrating payment using stripe in my next.js application

#

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

Code
iOS : CustomerSheet with StripeCustomerAdapter

Question
Hi, I've got requirements in my app to save cards when making payments. I talked to one of the developers, and he suggested to use CustomerSheet.

As per suggestion, I’ve setup CustomerSheet in the iOS app to get customer cards saved when making payment, but it provides the ability to save/remove cards only. How can I continue to make payment once card is saved or saved card is selected to make payment?

What have you already attempted?
Configured customer sheet with customer adapter and got success to save/remove card.

What are you working on?
iOS app

#

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

Question
Hi, I have need, where the initial payment of the subscription is failed then it shouldnt try for the next payment in the subscription. This works when i used normal subscription when i set this "payment_behavior": "default_incomplete",

But in the SubscriptionSchedule how should i acheive the above

Related Request ID(s)
None

What have you already attempted?
If set from_subscription then i cant send any phase values right ?

cursive heronBOT
#

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

Question
I'm trying to ascertain if our propsed solution to edit an already created payment method via Elements, using card metadata THAT DOES NOT INCLUDE PAN is still PCI compliant.

I've tried reaching out to Stripe support, but they are just dodging my main question and keep telling me to use Elements or other front-line support like answers.

Is card data without PAN going to our server to then be routed to Edit REST endpoint at Chargebee considered sensitive card information that needs SAQ-D PCI compliance?

Doc/Guide Links
https://stripe.com/guides/pci-compliance#step-by-step-guide-to-pci-dss-compliance
https://stripe.com/docs/security/guide#validating-pci-compliance
https://stripe.com/guides/pci-compliance

What are you working on?
Managing customer payment methods.

#

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

Question
#dev-help message

Related Request ID(s)
req_FT3vH9W50FKNAg

What have you already attempted?
I have included the chat I had earlier today. I have also included after some sifting through requests, a request that was made by my app, which requests an instant Β£270 payout, but hasn't been made as an instant payout, instead it's not expected until the 16th October, my connected accounts are all complaining that their payments are late and I'm trying to understand why as we haven't changed anything.

Appreciate your help.

#

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

Question
Hi! We're using Stripe for our payment processing, in that case we're creating Customer with specific paymentMethodId, then SetupIntent (because there will be trial period and after that charging should happened) and Subscription for that customer. When trial period ends invoice is finalized but payment and subscriptions are set to Incomplete. There is option on dashboard to Charge customer but how to do that automatically? Why that part is not happening automatically when invoice is finalized? As I can see on Invoice level there is tooltip "Automatic collection for this invoice was turned off

Related Request ID(s)
req_JapfcvyCZHzWFn

What have you already attempted?
Created Customer, SetupIntent and Subscription with API calls, using .NET. Also set property CollectionMethod = "charge_automatically" when creating subscription but nothing happened. Also reviewed some configurations on dashboard setting but nothing found out.

cursive heronBOT
#

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

Question
After a subscription has either been started or just renewed, what is the best webhook event to retrieve the date of the next payment on this subscription? or the next "current_period_end"

Related Request ID(s)
not sure

What have you already attempted?
I'm currently adding the renewal date after invoice finalization, and I'd rather not ping stripe unnecessarily when i can extract the renewal date from an endpoint

What are you working on?
my website

#

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

Code
elements.update({... variables: {paymentMethodTypes: [paymentMethodTypes: ["card", "link", "apple_pay"]]})

Question
Apple pay and Google Pay are enabled in my dashboard but not appearing in the PaymentElement. I tried adding to the paymentMethodTypes array but got an error

What have you already attempted?
I tried adding apple_pay, applePay etc but it seems that isn't on the menu.

What are you working on?
checkout page

#

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

Code
`stripe.checkout.sessions.create`

Question
How can I require business details in checkout, aka. only allow B2B and disallow B2C ?

What have you already attempted?
automatic_tax: {
enabled: true,
},

What are you working on?
B2B SaaS

#

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

Code
price: '{{PRICE_ID}}' :

Question
Question : This form works on the price_ID from the stripe dashboard, But we have our products defined in shopify. So, Is It required to import all the products from our shopify store to stripe in order to provide them price_ID or there is another way ?

What have you already attempted?
We have created the embedded form following this guidelines : https://docs.stripe.com/checkout/embedded/quickstart , Created pre-defined products in stripe dashboard

What are you working on?
Stripe embedded checkout form for my shopify website with multiple products and currency conversion

cursive heronBOT
#

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

Question
Hello, i would like to know how much time does it take for a payment funds to be available to proceed with the payout. Is it instantly? Or I'll need to listen to a webhook such as the invoice.paid event?

Related Request ID(s)
evt_1Q8hkVJcE1X0D33Edp6rxHf0

What have you already attempted?
It's just a doubt

cursive heronBOT
#

@floral herald 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/setup_intents/verify_microdeposits

Question
When I hit the endpoint to verify micro deposits on a setupintent object, does it synchronously return whether it was successful or not? Or do I need to setup my app to listen to the associated webhook event?

What have you already attempted?
Read through documents and played around in sandbox, but not sure if sandbox is indicative of production behavior.

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

#

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

Question
I'm seeing a Stripe::InvalidRequestError when trying to update coupon on a Subscription. The msg is:

> You can not update coupon on a subscription while the checkout session is active. Try making your update after the checkout session has completed by listening to the `checkout.session.completed` event.

The customer has no open checkout sessions - they have one complete checkout session and four expired sessions. Notably, the payment for the `complete` checkout session hasn't completed (pending verification).

Why can't this Subscription be updated?

Related Request ID(s)
req_qHOiDVWVXoQSW6

What have you already attempted?
I've looked at the Subscription, looked at all the customer's checkout sessions, etc.

cursive heronBOT
#

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

Code
switch (paymentMethod.type) {
case "card":
...
<p className="text-gray-600">Card Type: {paymentMethod.card.brand}</p>

Question
I'm trying to figure out how to properly structure or type this so that I can safely access attributes on a particular payment type. I currently get:

'paymentMethod.card' is possibly 'undefined'.

What have you already attempted?
That's about it. Couldn't find say, an enum to use in the case compare..?

What are you working on?
Basically displaying the users payment info. Would like to do it in a type safe way in Typescript.

#

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

Code
N/A no code available

Question
I am working in a non profit organization. The last person who was working here left their username and password for me to have access but did not leave their authentification code to sign in and now I can't access Stripe for the organization.

What have you already attempted?
I've attempted to sign in with their username and password, I have access to their old email as well so I tried re-setting the password or seeing if the code was in their email.

cursive heronBOT
#

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

Code
var options = new BillingPortal.SessionCreateOptions
{
Customer = customer.Id,
ReturnUrl = returnUrl,
Configuration = configuration?.Id,
FlowData = new BillingPortal.SessionFlowDataOptions
{
Type = "subscription_update_confirm",
SubscriptionUpdateConfirm = new BillingPortal.SessionFlowDataSubscriptionUpdateConfirmOptions
{
Subscription = subscription.Id,
Items = new List<SessionFlowDataSubscriptionUpdateConfi

Question
Hi everyone,

The subscription_update_confirm feature works well; Stripe prompts users for a payment method if not entered. However, we need to include fields for Tax ID, address, and phone number

What have you already attempted?
While using Stripe.Checkout.SessionCreateOptions with Mode = "payment", I can see these fields; however, this creates a new subscription, which is not acceptable for us. Is it possible to continue using subscription_update_confirm and still have access to these fields? I have also tried using the configuration and AllowedUpdates, but that approach hasn't worked either

#

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

Code
order = await stripe_order.create( . . . ) # POST to /v1/orders

    if coupon\:
        order = stripe\_order.modify\(
                order.id,
                coupon=coupon.id,
                idempotency\_key= . . . 
            \) \# POST to /v1/orders/{order\_id}

As indicated, stripe_order is an internal library to handle calls to the Stripe v1 orders endpoint.

Question
Sometime between 9:24am and 9:31am Pacific on 10/3 API calls to update coupons to mark redemptions stopped worked.

Request from before the problem started: https://dashboard.stripe.com/workbench/logs/req_8wz1SSTwIP13j2 (from coupon: 2ABJvrvJ => note it has two Logs and two Events)

Request with the problematic behavior: https://dashboard.stripe.com/workbench/logs/req_kStMM1pVWIPNix (from coupon /RlMiAdu7 => note it has two Logs, but *only only one Event*)

What have you already attempted?
We did not see anything in the docs to suggest that this behavior was altered by design.

What are you working on?
This is an established app with code we have not updated in some time.

#

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

Question
Is cryptocurrency allowed as a payment method via connect integrations

Related Request ID(s)
none

What have you already attempted?
I am just reading the buying crypto docs, but want to see about offering crypto (bitcoin) as a payment method for instore payments, potentially for on site payments

What are you working on?
point of sale platform

cursive heronBOT
#

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

Question
HI, I am trying to use "payment_behavior": "default_incomplete" in subscription Schedule. but I am getting this error 'Request req_MrzC2gUk5Tld0f: The subscription schedule update is missing at least one phase with a `start_date` to anchor end dates to.'

Related Request ID(s)
None

What have you already attempted?
My phases:

[{'items': [{'price_data': {'currency': 'eur', 'product': 'prod_R0mVCZUlyxEp0L', 'recurring': {'interval': 'day', 'interval_count': 31}, 'unit_amount': 6901}}], 'iterations': 1}, {'items': [{'price_data': {'currency': 'eur', 'product': 'prod_R0mVCZUlyxEp0L', 'recurring': {'interval': 'month', 'interval_count': 1}, 'unit_amount': 6901}}], 'start_date': 1731339614}]

#

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

Question
Is it possible to use Stripe Terminal in test mode with recorded responses (using VCR)? I'm getting Uncaught (in promise) s: Invalid state: No established connection to the Reader. Make sure
you call `discoverReaders()` and then `connectReader()` to one of the resolved discovered readers.
You should not make any other calls to the SDK until the `connectReader()` response resolves without an error or until the connectionStatus changes to 'connected'.
at Function.value (https://js.stripe.com/terminal/v1/:1:730457)
at Function.value (https://js.stripe.com/terminal/

Related Request ID(s)
pi_3Q8kpuEXcUT0ga420vBowdbU

What have you already attempted?
For our existing Stripe implementation we generally mock out both Stripe JS and the Stripe API at the network layer but It'd be great to have at least 1 spec that doesn't mock everything.

#

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

Question
Hi, using the stripe API checkout.sessions.create()
is it possible to let users type in promotion codes in the checkout form?

I only managed to solve this using the static PaymentLinks. But I want the users to be able to type in promotional codes in the checkout form, with the dynamic link received from the checkout session

Let me know if this does not make sense, and I can try to add more info.

Related Request ID(s)
Nothing

What have you already attempted?
Nothing really, just wanna find out if this is possible

What are you working on?
SAAS Application

#

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

Code
v1/customers/xxx/sources

Question
We are getting spammed with 402 errors within our integration out of the blue when attaching a card to a customer.

What have you already attempted?
Looked at the logs and they are all different types of declines. Not sure if we are getting hit with a botnet or if there is something wrong with our integration

#

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

What did you expect to happen?
Invoice items created with a customer id and subscription id to be added to the subscription's upcoming invoice

What actually happened?
Invoice items created with a customer id and subscription id are not being added to the subscription's upcoming invoice

Reproduction Steps
InvoiceItem.create(customer=<customer>, subscription=<subscription>, ...)

Question
Hi, I am making invoice items with a customer id and subscription id and they are not being added to the subscription's upcoming invoice. I get back a successful response from InvoiceItem.create and can see the invoice item in the Logs and Events section on the associated subscription's page in the dashboard. Example request id: req_aXZ8YPjIznFlvO

cursive heronBOT
#

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

Question
Any way i can have both billing_cycle_anchor and trial_period_days in a checkout session create webhook?

Please see code below:

customer=cus_Qu2XrvXI1b3ZIl&
line_items[0][price]=price_1P0oVeIBlWedxMGUrEyyCglK&
line_items[0][quantity]=1&
mode=subscription&
subscription_data[proration_behavior]=create_prorations&
subscription_data[billing_cycle_anchor]=1727740800&
subscription_data[trial_period_days]=10& << THAT SHOULD BE ADDED >>
success_url=https://ordio.com&
cancel_url=https://ordio.com&
payment_method_collection=always&
discounts[0][coupon]=XRxty17F

Related Event ID(s)
none

What have you already attempted?
checked docs and web

cursive heronBOT
#

@floral herald 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/set-up-payment?platform=web&payment-ui=direct-api#web-verify-with-microdeposits

Question
We're trying to make a decision on whether to go with the self-hosted vs Stripe-hosted micro deposit verification flow. Is there any documentation on what the email would look like if we go with Stripe hosted verification? Our product designer needs to see it to make an informed decision. Or is there a way to test this sending to a real email?

What have you already attempted?
Read documentation

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

#

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

Code
await stripe.subscriptions.update(
subscriptionId,
{
items: [
{
id: subscriptionItemId,
price: newPlanPriceId,
},
],
}
);

Question
I'm seeing some strange behavior in the Customer Portal "Update Plan" setting after changing a `subscriptionItemId` to a price belonging to another product, and I'm wondering if I might be doing something wrong here?

What have you already attempted?
If I've understood the docs correctly, I should be able to just provide the new price id, even if it belongs to a different product. Both products are setup with upsell from their Monthly to Yearly plan.

What are you working on?
B2B SaaS

cursive heronBOT
#

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

Code
// Define payment amount and fees
$team_player_fee = 2550; // $2550 base fee
$sp_fee_percentage = 0.03; // 3% SP Fee
$stripe_processing_fee_percentage = 0.029; // 2.9% Stripe Fee
$stripe_fixed_fee = 0.30; // Fixed $0.30 Stripe Fee

Question
This code calculates the proper charge amount. However -- when the transaction goes through its $5,242.35. What in the world and how?

What have you already attempted?
I've combed through php and js code -- this is the only area where I define calculations. (happy to send full code - it's not huge file)

#

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

Question
Hey! I want to allow enterprise customers to pay through bank transfers. I thought I can add this option to the customer through the createFundingInstructions API, but this isn't working and I'm curious if I can do that without having to add it as a default payment method for invoices, because then it would be also accessable for other subscription types.

Doc/Guide Links
https://docs.stripe.com/invoicing/bank-transfer?locale=de-DE&country=EU#api

What are you working on?
SaaS

#

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

Question
What is the easiest way to prevent all subscriptions from auto-renewing? not sure if you can do this via dashboard or if it needs to be done via API, but wondering if there's an easier way than cancelling them one by one

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Sunsetting a subscription product

cursive heronBOT
#

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

Question
I'm using the API to pull one of the reconciliation reports when we receive the webhook that it's been updated. I want to get only the new items since last time it ran. Can I use the last run's interval_end as the next run's interval_start, or can i get duplicates this way? do i have to add one second or something? or do i need some other mechanism to skip duplicates

Related Request ID(s)
req_xodhbDGiMnL7dE

What have you already attempted?
n/a

#

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

Question
Why does stripe_dashboard="none" and requirement_collection="stripe" cause the error:

"Stripe must be liable for negative balances or refunds and chargebacks"

When if the dashboard was set to "express" then my platform can be liable? I wish to disable the express dashboard, and have embedded components be the only stripe interface for my application.

Related Request ID(s)
NA

What have you already attempted?
Looked online

cursive heronBOT
#

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

Question
Im connecting stripe connect (onboarding) and have webhook validators that sets my flags to true if some fields are required.

I have a question how to handle with this create account onboarding field

individual.ssn_last_4 --> should I ask user to send last4 digits of his Document ID ? This field is required for US country onboarding when the platform is in UK

Related Request ID(s)
onboarding

What have you already attempted?
I was thinking to ask user to send last 4 digits via form on fronted

#

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

Question
We have a multi-tenant setup with 1 platform account and multiple connected accounts. When we create a user, we create the user in the platform account and clone the user to the connected accounts to complete transactions.

Adding a new customer triggers a $0 authorization. This has caused some concerns from customers as they do not recognize statement descriptor from our platform account. They recognize the store name they are purchasing from. Is there a way to:
1) Set the statement descriptor when creating a new customer in Stripe dynamically
2) Create a customer in the connected account and clone that customer into the platform account/ other connected accounts?

Doc/Guide Links
https://docs.stripe.com/connect/cloning-customers-across-accounts

I want to do this, however start from the connected account because this would be the store the customer is purchasing from. I would like to clone it into my platform account as well so we can clone this account into other connected accounts related to this store for future payments

What are you working on?
Grocery ecommerce platform

#

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

Question
What to I expand to get the promotion code?

Related Request ID(s)
/vcs_live_b1PPHIZ8UC3EYYfgNenoF0ZuSurYyFMBT7DzjqcjDni9h4u9M22cYla3TX

What have you already attempted?
I need the promotion code

What are you working on?
ecommerce

cursive heronBOT
#

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

Code
try {
const response = await fetch('/api/create-checkout-session', {
..........
});

  const { sessionId } = await response.json\(\);
  const stripe = await loadStripe\(process.env.NEXT\_PUBLIC\_STRIPE\_PUBLISHA

await stripe?.redirectToCheckout({ sessionId });

Question
Next JS version: v15.0.0-rc.0
Stripe version: 2024-09-30.acacia

Error:

net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep 200 (OK)

Error: Failed to load Stripe.js

I'm able to get the session ID by calling a Stripe API but when I pass that onto the Stripe js version, that's when it throws the above error.

I have tried changing some CORS policies. Unable to get the right result. How do I fix this?

What have you already attempted?
I have tried changing some CORS policies. Nothing works.

What are you working on?
Open a checkout page. One-time payment not subscription.

#

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

What did you expect to happen?
I have successfully got my sandbox javascript/php integration running. When I replace my test secret key on server side and public key in my javascript side with the live counterparts I expected to be live when I next went to make a purchase.

What actually happened?
I still see sandbox in the checkout amount panel

Reproduction Steps
100% reproducible. Per my (limited) understanding, one substitutes live or sandbox key and that's the only thing needed to switch "collection modes".

Question
What changes other than swapping sandbox with live keys does one need to make to switch modes?

What are you working on?
One-time checkout/purchase of goods on bespoke website I wrote

cursive heronBOT
#

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

Question
Help Needed with Restricted Connected Accounts in B2B2C Integration

Related Request ID(s)
N/A

What have you already attempted?
Hi Stripe Support,

I’m building a B2B2C system on Bubble, creating connected accounts with the Stripe API. I can generate acct_xxxx IDs by submitting emails, but when clients complete their details on the Stripe setup page, these accounts end up with β€œRestricted Account” status in my dashboard, flagged for further review.

I’ve tried test setups as per your docs, but accounts remain restricted. Could you provide guidance on verifying these accounts properly?

Thanks,

What are you working on?
.

#

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

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

Question
How to handle subscription callback events if unclear

Related Event ID(s)
evt_3Q7oa2AuL8dzvcxn02mjjlfy

What have you already attempted?
Subscription callback event

What are you working on?
Subscription callback event

#

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

Question
I have a product with two pricing - Monthly and Annual.

We run a discount for the monthly users at the moment, offering them a $10 discount on the monthly price.

The customer can then upgrade the subscription to an annual, for which I configure a billing portal and create a session for the user to be able to upgrade the subscription.

However, when in the portal session, I am not being able to clear any existing discounts applied to the customer as I do not want them to have a discount on upgrade.

I have tried expiring the coupon but that does not solve it either.

I tried unsetting the value and it can't be unset too.

I want to be able to unset the discount.

Doc/Guide Links
https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-flow_data-subscription_update_confirm-discounts

What are you working on?
A web application

#

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

Question
We are currently transmitting plaintext card numbers using the PCI interface, so the code looks like this:
-d payment_method_data[type]=card
-d payment_method_data[card][number]=
-d payment_method_data[card][exp_month]=
-d payment_method_data[card][exp_year]=
-d payment_method_data[card][cvc]=

Since we have not integrated any of Stripe's components or JavaScript and have built our own payment form, we consulted with Stripe support before. They guided us to pass in the IP and user agent when creating a payment intent:mandate_data[customer_acceptance][online][ip_adress]/[user_agent]

Related Request ID(s)
n/a

What have you already attempted?
However, our customers have noticed that there is no IP and user agent information in Radar.

I have now checked the updated Stripe documentation at: https://docs.stripe.com/radar/integration#recommendations
Do we need to do it like this so that Radar will have the IP and user agent

information?"payment_method_data[ip]"=""
--data-urlencode "payment_method_data[user_agent]"=""
--data-urlencode "payment_method_data[referrer]""

cursive heronBOT
#

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

What did you expect to happen?
Generated a stripe checkout session with a lookup key to basic-monthly. This upsells to basic-yearly. When instead starting with basic-yearly, it should allow the user to downgrade to basic monthly.

What actually happened?
When I start with basic-yearly as the lookup key, users are not able to switch to monthly plan in the checkout session.

Reproduction Steps
Create a product. Create a monthly subscription price. Create a yearly subscription price. Add yearly subscription price as upsell for monthly price. Create a checkout session with yearly subscription price.

Question
I want users to be able to switch from annual to monthly in their checkout session. How can I achieve that? Is there a way for me to perhaps start with basic-monthly but tell it to trigger "switch to annual" on the checkout session page?

cursive heronBOT
#

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

Question
We have a few connect accounts from Australia and New Zealands wanted to use EFT POS via terminal. In our use case, we are doing manual capture, because we wanted to calculate the fee before capture the charge. However, we see that terminal cannot use "manual", any other practice we can do here?

Doc/Guide Links
https://docs.stripe.com/terminal/payments/regional?integration-country=AU
https://docs.stripe.com/payments/eftpos-australia

What are you working on?
We are trying to allow our customer to collect payment via EFT POS + terminal.

cursive heronBOT
#

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

Question
i have a platform account on which i onboard my customers accounts. i am unable to connect one of the accounts with an error saying i have not enabled bank transfer in my platform but the customer is using that

Related Request ID(s)
i have tried thru dashbaord /settings/connect

What have you already attempted?
tried in connect settings and the connect profile, connect onboarding options. the obboarding options has a list of payment methods but does not include bank transfer

What are you working on?
enabling a customer to connect our platform account

#

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

Question
Hello! We need to have reservation of money for more that 7 days, that is by default on Stripe. I read there is some custom option for setting extended_authorization but I cannot do that on PaymentIntent object because I'm only creating Subcription object that automatically creates SetupIntent (because of trial period). Is there any way how to setup this extended authorization without touching PaymentIntent?

Related Request ID(s)
req_JapfcvyCZHzWFn

What have you already attempted?
Try to find way how to set extended_authorization via SubscriptionCreateOptions

What are you working on?
Integration Stripe payment subscription system in our App

cursive heronBOT
cursive heronBOT
#

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

Question
Invoice payment failed webhook not called

Related Request ID(s)
123

What have you already attempted?
The webhook - invoice.payment_failed

is not called on the invoice - https://dashboard.stripe.com/invoices/in_1Q9amJIE5Vvk0efGYxR4rOLR

I need to trigger the payment failed event

Sometimes invoice.paid also not get called

for ex - https://dashboard.stripe.com/invoices/in_1Q9amIIE5Vvk0efGm0g1NEsm

What are you working on?
webhooks.

cursive heronBOT
#

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

Code
Bonjour, je voudrais parler Γ  une personne en France. J’ai un souci car actuellement mon compte possΓ¨de plusieurs comptes que je voudrais regrouper que sur un

Question
Bonjour, je voudrais parler Γ  une personne en France. J’ai un souci car actuellement mon compte possΓ¨de plusieurs comptes que je voudrais regrouper que sur un

What have you already attempted?
Bonjour, je voudrais parler Γ  une personne en France. J’ai un souci car actuellement mon compte possΓ¨de plusieurs comptes que je voudrais regrouper que sur un

What are you working on?
Bonjour, je voudrais parler Γ  une personne en France. J’ai un souci car actuellement mon compte possΓ¨de plusieurs comptes que je voudrais regrouper que sur un

#

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

Code
var options = new BillingPortal.SessionCreateOptions
FlowData = new BillingPortal.SessionFlowDataOptions
Type = "subscription_update_confirm"

Question
How can I add tax_id, phone, and billing address fields in the payment method update if the user has not entered them?
How to create a billing session to get this information from the user? Using deep links

What have you already attempted?
I have tried with Type = "payment_method_update", but also these fields are not added, even if I use the configuration created with AllowedUpdates = new List<string> { "tax_id" }. No tax_id field in the

cursive heronBOT
#

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

What did you expect to happen?
BACS to show up on Payment Element configured in "setup" mode - it is enabled in the Stripe configuration

What actually happened?
It doesn't show up :)

Reproduction Steps
Visit a page displaying the payment element for a GPB transaction.

Question
During our implementation phase, the team had to enable an account-level back-end "gate" for BACS to work.
We're now configuring our UAT environment to test direct debits before going live with those, but here, it's not showing.

We've contact Stripe support asking for them to enable the setting, but they have no idea what we're talking about! Does anyone know?

What are you working on?
Live with Card payments, now wanting to enable Direct Debit (BACS/SEPA)

#

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

Question
my integration would like to support an account that has multiple users (stripe customers) who can create many payment methods. However the account will only have 1 subscription. if the payment method has a customer id that differs from the subscription customer id and that payment method is to be the subscription default payment method, an error is thrown as the customers conflict. what is my best cause of action/approach to using the stripe API / system? Thank you in advanced for any help.

Related Request ID(s)
na

What have you already attempted?
can not assign a new customer ID to a subscription. Toyed with the idea of multiple subscriptions with toggled states (paused/active) but this seem messy.

What are you working on?
A customer portal for content management.

#

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

Question
Using embedded checkout, the browser windows scrolls to the top of the form at first.

When continuing to the next page (select shipping), the top of browser window jumps to that accordion window

Related Request ID(s)
no ids

What have you already attempted?
setting minimum parent div height. I think this is inside the form iframe, function that scrolls on focus

cursive heronBOT
#

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

Question
I have a flow where I am downgrading a current subscription, the downgrade should happen when the interval of the first subscription ends, and I am achieving this by using a scheduler from the current subscription. There is a secnario where users use different payment methods when changing their plan, or downgrading.. that works fine with normal cards as am chaning the customer default payment method before attaching the scheduler, but for paypal it is bit tricky. because it navigates the user to another page, then comes back. so what would be the ideal way of handling downgrade with paypal..

Related Request ID(s)
Could not find related

What have you already attempted?
```
const handleDowngradeSubscription = async (
user,
paymentObj,
providerSubscription,
newProviderPlan
) => {
let scheduleId = providerSubscription.schedule
let schedule = null
if (!scheduleId) {
schedule = await stripeGatewayClient.subscriptionSchedules.create({
from_subscription: providerSubscription.id,
})
scheduleId = schedule.id
}

schedule =
await stripeGatewayClient.subscriptionSchedules.retrieve(scheduleId)

const defaultPhase = schedule.phases[0]

await stripeGatewayClient.subscriptionSchedules.update(scheduleId, {
end_behavior: 're
```

#

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

Question
In the catalog I have 4 products, 1 is a monthly sub, the other 3 are one-off purchases.

Having 1 webhook endpoint for all, I have assumed that for the monthly sub I only have to check `invoice.paid` while for the one-off payments I listen to `checkout.session.completed`.

But it looks like a monthly sub is getting logged under "checkout.session.completed"

Related Event ID(s)
evt_1Q9MXHK98lEnV33FHZcOt0kH

What have you already attempted?
```js
if (event.type === "checkout.session.completed") {
console.log(event.data.object, event.data.object)
// this is getting logged even tho it's a monthly sub
....
}

if (event.type === 'invoice.paid') {
// this should be for monthly subs ( ?)
...
}
```

What are you working on?
website backend discord bot

#

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

Code
created the subscription using the stripe endpoint and used the secret from the response in the FE side

const { confirmPayment } = useConfirmPayment();
await confirmPayment(clientSecret, { paymentMethodType: 'PayPal' });

Question
I am trying to implement subscription using the Paypal. I tried from using the react stripe elements and it worked well.
And for the mobile I am using react native SDK to confirm the payment and it is throwing an error says that "When confirming a PaymentIntent with a `paypal` PaymentMethod and `setup_future_usage`, `mandate_data` is required."

What have you already attempted?
React web elements are tested and those are working fine. The issue is only from react native confirmation method. I tried to pass mandate_data on while creating the subscription and it is throwing and error says that: Received unknown parameter: mandate_data

#

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

Question
i have implement stripe.checkout.sessions.create in apppliacion side api.. but when this process is done that time when i redirect ???
in website i pass success url but for application ??

Related Request ID(s)
NA

What have you already attempted?
addProductPriceSessionInStripe: async (
stripe_product_price_id,
stripe_customer_id,
) => {
try {
const session = await stripe.checkout.sessions.create({
mode: "payment",
line_items: [
{
price: stripe_product_price_id,
quantity: 1,
},
],
success_url: `${USER_FRONTEND_URL}payment-success`,
cancel_url: `${USER_FRONTEND_URL}payment-failed`,
});
return session;
this is for website

What are you working on?
implement payment in chechout.session.create payment mode

cursive heronBOT
#

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

Code
require('dotenv').config();
// This is your test secret API key.
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEYS);
const express = require('express');
const app = express();
app.use(express.static('public'));

const YOUR_DOMAIN = 'http://localhost:4242';

app.post('/create-checkout-session', async (req, res) => {
const session = await stripe.checkout.sessions.create({
ui_mode: 'embedded',
line_items: [
{
// Provide the exact Price ID (f

Question
How to automatically sync product my shopify product on stripe embedded payment form or include price Id ?

Does stripe payment form support automatic product synchronization of a shopify store products ?

We have 1000s of products so including them one by one in stripe will cost a lot of time, is there way to automatically capture product details on embedded form when someone clicks on checkout ?

What have you already attempted?
We followed this stripe guidelines : https://docs.stripe.com/checkout/embedded/quickstart

What are you working on?
To Embed stripe payment form on my shopify. store checkout with multiple products synchronization and currency conversion

#

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

What did you expect to happen?
My Stripe customer that upgraded from my yearly Premium plan ($192) to Premium Pro ($260) to be upgraded to the higher plan without being charged an extra expense. I think they paid in $400+ dollars instead of $260. Can you please look into it?

What actually happened?
I think they paid in $400+ dollars instead of $260. Can you please look into it?

Reproduction Steps
https://checkout.stripe.com/c/pay/cs_live_b11qB8O9zhA5KuzESpait2EXuolg8GApmxrs8RWURHDcKQ3dsPug9rNwP2#fidpamZkaWAnPydkcHFqJykndnBndmZ3bHVxbGprUGtsdHBga2B2dkBrZGdpYGEnP2NkaXZgKSdkdWxOYHwnPyd1blppbHNgWjA0VUtBQk43S2ZmbW5ySUFOaFJ9NWtUZHR0XU13NkJMUDxdUEJ1Nm48MVRUTXV3YGxwaGhgUm9CN2Q3Rmx0X241TkRnUl08fXZySkdXZEl1bUFKNGFsU3Y3NTVPXGI1d2FWQycpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8

Question
How can I be sure they are only charged once when upgrading? And how can I tell if this is accuate.

What are you working on?
Pricing Plans

cursive heronBOT
#

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

Question
public async Task<SubscriptionCreateResponse> MakeMonthlyPayment(StripePaymentRequestViewModel stripePaymentRequestViewModel, StripePaymentConfigurationViewModel paymentConfiguration)
{
stripePaymentRequestViewModel.PolicyStartDate = GetStartDate(stripePaymentRequestViewModel.PolicyStartDate);

 StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;


 var requestOptions = new RequestOptions
 {
     StripeAccount = stripePaymentRequestViewModel.AccountKey
 };

 var productService = new ProductService\(\);
 var productOption = new ProductCreateOptions\(\)

Related Request ID(s)
req_NTSDZe9us9d4KA

What have you already attempted?
getting exception

What are you working on?
creating monthlt scubscription

cursive heronBOT
#

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

What did you expect to happen?
I am using "@stripe/stripe-react-native": "^0.35.0" in my react native project. After turning on amazon pay from stripe dashboard, I got a different view in the Stripe payment sheet in the app organized in two steps while I expected just the amazon pay to be added in the list

What actually happened?
The Stripe payment sheet was presented as a two-step process, where you can select Apple pay or Other methods in the first step, if you click Other methods you can go on the classical Stripe sheet

Reproduction Steps
Turn on Amazon Pay in stripe dashbaord
Other payment methods included: Apple Pay, Bancontact, Card

Question
How can I bring back the classical stripe payment sheet, without multiple steps to select payment methods. Will attach screenshots

cursive heronBOT
#

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

Question
Stripe elements pay with apple not working on web payment after respecting the guidelines.

Related Request ID(s)
Stripe elements pay with apple not working on web payment after respecting the guidelines.

What have you already attempted?
Stripe elements pay with apple not working on web payment after respecting the guidelines.

What are you working on?
Stripe elements pay with apple not working on web payment after respecting the guidelines.

#

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

Question
Can I get stats from Api? I want to get for example total amount of active subscriptions in price. The total payment for overdue subscriptions etc

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Show dashboard data to customer

cursive heronBOT
#

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

Question
When i capture payment intent first charges object is attached in payment intent object and his response but when I recently capture one payment it is not there.

Related Request ID(s)
https://dashboard.stripe.com/acct_1PVAxuSFCi0tdtw3/test/logs/req_nslT1NRjsEIUw5

What have you already attempted?
https://dashboard.stripe.com/acct_1PVAxuSFCi0tdtw3/test/logs/req_nslT1NRjsEIUw5

cursive heronBOT
#

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

Question
I want to accept SEPA debits. Can I create a setup intent instead of a payment intent in step 3 of this guide ?
https://docs.stripe.com/payments/sepa-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=elements

Related Request ID(s)
none

What have you already attempted?
nothing yet.

What are you working on?
accepting SEPA debits with Stripe element

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/connect

Question
We are creating connected account for our customer. We want to create Invoice in connected account and transfer the whole invoice amount to the connected account upon payment. The stripe fees for the invoice should be born by us.

What have you already attempted?
Attempted different combination of destination charges, on behalf of and applucation fees

#

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

Code
if (!checkoutState.paymentMethodID) {
stripe
.confirmSetup({
elements,
clientSecret,
confirmParams: {
return_url: `${window.location.origin}/checkout`,
payment_method_data: {
billing_details: {
email: checkoutState.form.email,
name: isCompany ? checkoutState.form.company : checkoutState.form.name,
address: {
state: checkoutSta

Question
I'm currently in testing mode using the Setup Intent, and the Google Pay modal shows a $0.00 payment amount. Why is that? Can I use Google Pay and Apple Pay with a Setup Intent? If so, is there a way to display the correct amount?

What have you already attempted?
nothing

What are you working on?
stripe apple/google pay integration for the web

cursive heronBOT
#

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

Question
I am integrating msi for Mexico, before making the payment I would like to validate the payment months available for the card. I have checked that there is a GET endpoint https://api.stripe.com/v1/installments/plans/available?currency=mxn&amount=2001044&payment_method_type=card&payment_method_data[card][bin]=400000&merchant_source=pi_3Q

But I can't find it in the documentation, where can I find that documentation, or is there a similar endpoint?

Related Request ID(s)
Mexico - MSI

What have you already attempted?
.

#

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

Code
```js
const setupIntent = await stripe.setupIntents.create({
payment_method_types: ['card'],
customer: stripeCustomerId,
usage: 'off_session',
});
```

```js
elements = stripe.elements({ clientSecret, appearance });
paymentElement = elements.create('payment', options);
paymentElement.mount('#payment-element');
```

Question
I want to setup a card for future use for a IaaS provider, I also want to ensure that its a real instead of fraudulent customer. I see other people in the space also take inputs like cardholder name and billing address but with a payment element it doesnt populate fields like that.

What have you already attempted?
tried using different types of `elements.create` arguments and setup intent settings

What are you working on?
IaaS provider to charge for previous months usage to a authorized card.

#

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

Question
Looking for an endpoint in Stripe API in order to get stripe customer bank transfer funding instructions

Related Request ID(s)
1

What have you already attempted?
Read API doc

What are you working on?
API

#

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

Code
var options = new SubscriptionCreateOptions
{
Customer = CustomerId,
DefaultPaymentMethod = PaymentMethodId,
TrialPeriodDays = 1,
Coupon = string.IsNullOrEmpty(StripeCouponId) ? "" : .StripeCouponId,
ProrationBehavior = "none",
Items = subscriptionItems,

			//BillingCycleAnchor = lastDayOfMonth
			//BillingCycleAnchorConfig = new SubscriptionBilling

Question
I want to create a subscription which will be billed on the end date of the current billing period.

What have you already attempted?
BillingCycleAnchor property. but this property shifts the billing date. I want to charge the for the subscription in the end of the current month.

What are you working on?
Billing period is 10/14/2024 to 11/14/2024. I want ot charge for this perios on 11/14/2024

#

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

Question
I’m working on integrating Connect embedded components and have a few questions on it as it would be rolled out to a larger number of users:

An increase of requests, additional load, won’t in any way affect our existing payment flows and trigger rate limits on main account?

New client embedded components do not bring any security risks if everything is correct on our end?

As its client library does it internally have some rate limits which could prevent an overload?

Client first retrieves a session token and then claim it to get an api key, could it afterwards be used outside library components, for custom Api requests? Key is scoped just to enabled actions?

Doc/Guide Links
Looked into the docs but can't find all the info :)
https://docs.stripe.com/rate-limits

What are you working on?
Marketplace platform

#

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

Question
We are trying to reconnect Stripe after moving the clients woocommerce site from one server to another

Using the woocommerce connect tool, We see the stripe accounts

However, the live account shows:

This account is connected to another platform

We have removed the woocommerce app from stripe but still get this message

Related Request ID(s)
dashboard.stripe.com/settings/apps

What have you already attempted?
We have removed the woocommerce app from stripe
There are no other platforms but there are two connect extensions 'Payment.co' and 'Xero'

What are you working on?
We moved clients site and Stripe will not connect to woocommerce

cursive heronBOT
#

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

Question
When accepting sepa debits using setup intents. What event indicates that the payment was debited ? (not succeeded but just attempted)
thank you

Related Event ID(s)
none

What have you already attempted?
none

What are you working on?
accepting sepa debit

#

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

Question
Is there a way to retrieve payment methods associated with Link (https://link.com/) for a Stripe account?

Related Request ID(s)
No id

What have you already attempted?
Tried to look in the documentation for this API, couldn't find any

What are you working on?
We provide payment collection software for our customers. They can connect their existing Stripe account and view customers and payment method options and collect payments

#

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

Code
N/A
N/A
N/A
N/A
N/A
N/A

Question
We have fully implemented a working integration using Stripe Connect.

We want our connected accounts to be able to generate promo codes (or we could generate it for them), so that, for example, the first 100 users to purchase their product get it for free. In this scenario, we would still want to take our 10% fee of the full price. Any recommendations?

What have you already attempted?
We figure one approach is that we could implement our own promo code system to give out the free products, then simply invoice the connected account for the promo codes used? Is there a better way?

What are you working on?
"Marketplace" where creators can come on, market their goods, and allow users to purchase their products -- of which, our platform takes a fee from.

cursive heronBOT
#

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

Question
What is the difference between Plan and Product in stripe. Which of them should I ise to get the list of subscriptions plans a user can subscribe to?

Related Request ID(s)
-

What have you already attempted?
-

#

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

Question
Our free trial implementation via api is not requesting 3ds from users, so when we go to re-bill 7 days later, theyre incomplete.

Related Request ID(s)
n/a

What have you already attempted?
n/a

cursive heronBOT
#

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

What did you expect to happen?
I am using "@stripe/stripe-react-native": "^0.35.0" in my react native project. After turning on amazon pay from stripe dashboard, I got a different view in the Stripe payment sheet in the app organized in two steps while I expected just the amazon pay to be added in the list of payment methods

What actually happened?
The Stripe payment sheet was presented as a two-step process, where you can select Apple pay or Other methods in the first step, if you click Other methods you can go on the classical Stripe sheet

Reproduction Steps
Turn on Amazon Pay in stripe dashbaord
Other payment methods included: Apple Pay, Bancontact, Card. When one of the payment methods is not available, for example in my country Apple Pay is not supported, everything works correctly

Question
How can I bring back the classical stripe payment sheet, without multiple steps to select payment methods.

#

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

Question
I have a flow where I am downgrading a current subscription, the downgrade should happen when the interval of the first subscription ends, and I am achieving this by using a scheduler from the current subscription. There is a secnario where users use different payment methods when changing their plan, or downgrading.. that works fine with normal cards as am chaning the customer default payment method before attaching the scheduler, but for paypal it is bit tricky. because it navigates the user to another page, then comes back. so what would be the ideal way of handling downgrade with paypal..

Related Request ID(s)
Could not find related

What have you already attempted?
I have for a example a user that subscribes intially using normal cards.. then when downgrading he chooses to procced with Paypal...

In my current downgrade flow. the user does not get charged right away. they get charged when the period of the current subscription ends..

For normal cards, Before I attach the scheduler to downgrade, am simply chaning the payment method of the customer to the new one (if user has changed it), but for paypal.. I know that paypal requires extra verification, my confusion is there if I have I scheduler payment to downgrade using pa

#

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

Question
As per previous thread, I created a Product for each item sold by Connected Accounts via Stripe Connect.
In doing so, I provided a name, image, and also default Price Data.

When I create the Checkout Session for Destination Charges, I notice that even when I provide the Product id, I still also have to provide the price and currency. Why? How do I have it just use the price I provided earlier?

Related Request ID(s)
N/A

What have you already attempted?
I tried not providing any price information (error). I tried providing a dummy value for pricing (dummy price takes precedence). I tried looking for other ways to specify the Product besides via Line Item. Nothing worked as expected.

#

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

Code
google pay and apple pay error

Question
google pay and apple pay error

What have you already attempted?
google pay and apple pay error

What are you working on?
google pay and apple pay error

#

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

Question
When using payment_method_types on my PaymentIntent, is "card" the one that is used for Apple Pay?

Related Request ID(s)
N/A

What have you already attempted?
Finding documentation for this

#

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

Code
const account = await stripe.accounts.create({
type: 'express',
country: 'US', // Specify the country as required
email: email, // Use a valid test email
capabilities: {
card_payments: { requested: true }, // Enable card payments
transfers: { requested: true }, // Enable transfers
},
});

Question
When I create a test connected account in Stripe Connect API, it is not accessible in my code because its created as a live account, not test. What do I do?

What have you already attempted?
I've tried checking my API keys to make sure it's test keys.
I've tried using unique emails that weren't already used.
I've tried manually creating a connected account on my stripe platform dashboard.
My Stripe Connect has been approved already.
Ensured onboarding was fo test

The reason why I know it isnt working, is because when I make a paymentintent in the code later, setting the connected account ID as the destination, it throws an error.

What are you working on?
i want to create small transactions that hold the funds in escrow in the middle, so a buyer puts it in escrow, then when verified, it sends to the seller.

cursive heronBOT
#

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

What did you expect to happen?
When clicking back on the checkout page, pressing back takes me to localhost website when deployed in prod. Also, I'm unable to select custom payment methods.

What actually happened?
await stripe.checkout.sessions.create({
// payment_method_types: ['card', 'us_bank_account', 'mobilepay', 'cashapp'],
customer_email: userObject?.email,
line_items: [...],
mode: 'payment',
success_url: `${req.nextUrl.origin}/`,
cancel_url: `${req.nextUrl.origin}/pricing`,
}

Reproduction Steps
Create a checkout session, go to the website and press back without paying. Takes me to localhost instead of the prod website

Question

  1. I'm creating a stripe checkout session in next JS v15 using Stripe's acacia version. When I press the back button on the checkout page, it redirects me to localhost always.

  2. I'm unable to set payment method directlywhile creating the checkout session.

cursive heronBOT
#

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

Question
My app allows users to make one-time payments and also set up subscriptions using both card and us_bank_account.

For one-time card, I know immediately if payment succeeded or fails and for one-time ACH I know if it fails or is processing.

What webhook events should I listen to for subscription payment updates and one-time ACH success/failure?

I am currently using these for ACH:
payment_intent.processing
payment_intent.succeeded
payment_intent.canceled
payment_intent.partially_funded
payment_intent.payment_failed
payment_intent.requires_action"

And these for card subscriptions:
invoice.paid
invoice.payment_failed

Thanks.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview#subscription-lifecycle

What are you working on?
App

#

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

Question
Can i change Invoice numbering like: prefix should be the actual year and month and then sequence should be according this year and month , for example for august it will be 202408_0001,next will be 202408_0002, for september again 202409_0001 , next 202409_0002, maybe something like set prefix to current month with API at beggining of month and also at beggining of month reset the sequence to 1. Can i do something like that with API or another things?

Related Request ID(s)
5

What have you already attempted?
1

#

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

Code
stripe.webhooks.signature.verifyHeader(
JSON.stringify({
user_id: userId,
account_id: accountId,
}),
sig,
// The app's secret in your app settings page in the Developers Dashboard
process.env.APP_SECRET!
);

Question
Hi, I have a published Stripe App in the Apps Marketplace (Parcelcraft). We're converting the app to work as an Embedded Platform app. We verify the signature on our APP frontend to our API backend using await fetchStripeSignature() to our backend code. This works fine in a Stripe Apps context, but when running the app in a platform, there is no concept of a user_id. We're using the guide here: https://docs.stripe.com/stripe-apps/build-backend#send-a-signed-reque

What have you already attempted?
I've attempted to verify the body request without a user_id, and also tried adding parameters to the fetchStripeSignature function, but it's not clear from the docs how to handle this in a Platform context

What are you working on?
https://marketplace.stripe.com/apps/parcelcraft-shipping

#

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

Code
import {loadStripe} from '@stripe/stripe-js';

Question
I am developing a ScalaJS app which is making use of `strip-js` dependencies.
I've installed it via `npm install @stripe/stripe-js`.
For cross compiling the types I use ScalablyTyped https://scalablytyped.org/docs/readme.html which is basically converting the types from TS to Scala.
The problem is that somehow no types are inferred. Usually, I will get all the types of the TS library in my scala code.
Are the TS definitions somehow set up differently than in other TS prjcts?

What have you already attempted?
Installing the library via npm and then running the compiling process.
The result is that I will only end up with the crosscompiled function `stripeStripeJsRequire`. But no `loadStripe` function is available

#

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

Question
stripe checkout error, after custom onboarding

App platform: UK

I have this error to check after doing onboarding payments.

"The customer's location isn't recognized. Set a valid customer address in order to automatically calculate tax."

Any idea? I think that maybe guy who was trying to do payment he set his company onboarding country to UK but he is located in India. Can be the case? Im just guessing

Related Request ID(s)
custom onboarding, stripe checkout

What have you already attempted?
No idea currently. Maybe country of seller (account which made onboarding) can not do payments through GBP in seller country ?

#

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

Question
Is there a way to use the add a payment method to a customer via your SDK or a way to just add it without my app looking or sending the card info, we are trying to avoid the PCI certification and looking for a way to just add a pm to a client to continuo with our payment flow

Related Request ID(s)
Coulnt find any related ones

What have you already attempted?
Sending raw data from a Card to add a pm to a customer but we dont have the PCI certificate so

What are you working on?
i want to avoid changing all of the payment flow we already have and just added it wihthout needing the PCI

cursive heronBOT
#

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

Question
I can't configure the connected accounts, I'm following all the steps, I've verified the data correctly more than once. What is the reason?

Related Request ID(s)
acct_1Q2GGTPT6e5gBuYM

What have you already attempted?
I have already uploaded the data to verify my identity more than once and nothing.

What are you working on?
Building

cursive heronBOT
cursive heronBOT
#

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

Question
When will React Native be available for onboarding components?

Related Request ID(s)
None

What have you already attempted?
I can see what is currently available and someone else asked the same question earlier this year. So trying to understand if it is on the roadmap and I can wait or try and build a workaround

What are you working on?
Connect onboarding on mobile react native

#

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

Question
Monthly fee for using onboarding stripe checkout payments.

Here is the case:
We have custom onboarding platform that allow sellers create onboarding to stripe and then sellers can make stripe payments and send link to their clients. Every seller must have suscription to be able to create onboarding

What i want to achieve: After onboarding the seller must pay monthly application fee for using onboarding. lets say 2$ per month

Related Request ID(s)
custom onboarding. stripe checkout, fees

What have you already attempted?
I dont want take dollars from connected account. Best scenario is take them from card at the end of month. I was thinking that if every user must have subscription -> i can add addon to subscription (payment item) and they will pay additional 2$ if onboarding was passed.

But what if they turn off onboarding day before paying subscription?

Have you better ideas to achieve monthly fees ?

#

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

Question
Hi, we used to be able to do $0 checkouts. However, suddenly this has stopped working. We are getting this error: https://dashboard.stripe.com/logs/req_sIxVxLueC7EqvG

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

What have you already attempted?
I see the API version showing there is wrong as we have 2023 version. Also, we are sometimes getting no response on checkout. It is giving me just no response.

cursive heronBOT
#

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

Question
How do I customize payment form without custom flow? is this possible or do I have to do custom flow where I'd use the payment intent API instead of creating a checkout session?

Related Request ID(s)
N/A

What have you already attempted?
looked at the stripe documentation

What are you working on?
embedding credit card acceptance in our invoice payment links via stripe connect

cursive heronBOT
#

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

Question
What is the best way to transfer a subscription from one customer to another? Can it be done in the dashboard?

A business purchases a sub but, in some cases, they want to update the sub from one payee to another. Is there a better way to update the customer for a sub than canceling and having them re-purchase?

Doc/Guide Links
Could not find documentation on this topic

What are you working on?
Discord Security App

cursive heronBOT
#

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

Question
We need help adjusting how our platform handles transaction fees.

A buyer purchases $1000 worth of goods, plus a 1.6% fee (total $1016). The seller receives $984 after the 1.6% deduction. Currently, Stripe charges its processing fees on top of our 1.6% fee, but we want the 1.6% to be inclusive of all Stripe fees (we understand this may cause a small loss on some transactions).

Can you guide us on how to set this up so buyers pay $1016 and sellers receive $984, without additional fees?

The 1.6% is charged to the buyer and to the seller.

We would like funds to land directly into the users connect account rather than being held in our account as well, to avoid custody issues

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

What are you working on?
Marketplace Platform using Stripe Connect

cursive heronBOT
#

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

Question
Is there a way to create an invoice with a one time cost and a monthly recurring cost on the same invoice?

For example, if I am selling a website build. I want to charge the price of the website build plus the monthly hosting.

Doc/Guide Links
https://support.stripe.com/questions/send-one-time-or-recurring-invoices-to-customers

What are you working on?
Marketing invoice

cursive heronBOT
#

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

Question
I have a custom checkout being generated on my website, but I need to add the processing fee to the checkout for the customer to pay, but I don't know how to do that without the stripe processing fee increasing

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

What are you working on?
This is for taking invoice payments, and we are wanting the customer to pay the 1.7% + $0.30 processing fee from Stripe

#

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

Question
Hey Stripe Support,

We're using Stripe Custom Connect Accounts and need help with a specific payment flow. All payments must go directly into the Seller’s Connected Account, not the platform account.

We also need the buyer to pay Stripe card processing fees. For example, if a buyer is purchasing $1000 worth of goods, the buyer should be charged $1017.50 (assuming the Stripe fee is $17.50).

Once the funds land in the Seller’s Connected Account, we want to deduct a 1.6% platform fee from the seller. In this case, after the $1000 is received by the Seller, $16 (1.6%) is deducted and sent to the platform. The Seller would then be left with $984 after the fee is applied.

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

What are you working on?
Marketplace Platform

cursive heronBOT
#

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

Code
const paymentIntent = await stripe.paymentIntents.create(
{
amount: Math.round(amountTotal*100),
currency: currency,
customer: customerId,
payment_method_types: ['card'],
automatic_payment_methods: { enabled: automatic_payment_methods },
off_session: true,
on_behalf_of: account_id,
},
{
stripeAccount: account_id,
}
);

Question
I want to direct the payment to a connected account

What have you already attempted?
I receive from the frontend the customerId, the amount and a type of data to identify which Stripe account the money will be deposited into.

What are you working on?
Building

cursive heronBOT
#

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

Question
My Webhook Request to the server is failing, it was working just fine earlier

Related Event ID(s)
evt_1Q9rIHKXSEvkiZUFzNqIKq8C

What have you already attempted?
I have tried both the below codes:

var stripeEvent = EventUtility.ConstructEvent(json.ToString(),HttpContext.Current.Request.Headers["Stripe-Signature"], "Stripe-Webhook-Secret");

var stripeEvent = EventUtility.ParseEvent(json.ToString(), true);

Both are giving error

What are you working on?
I am Working on a Chartable hospital website to collect donations

cursive heronBOT
#

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

Question
I'm looking for help on how to "create a checkout session" for a Stripe checkout > embedded form for a blazor server web app (.net 8).
I'm stuck on this line from the example for an MVC app, and unsure what to use for a Blazor app: return Json(new {clientSecret = session.ClientSecret});

Related Request ID(s)
n/a

What have you already attempted?
https://docs.stripe.com/checkout/embedded/quickstart

cursive heronBOT
#

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

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

Question
Where do I find documentation on when to expect a Stripe subscription to renew? Not asking about the upcoming renewal time of an existing subscription - rather, curious about whether there's something we can show to customers like "Renews on xx/xx/xxxx" depending on whether they've selected a Monthly or Yearly plan, before they check out. For example, would a subscription purchase on 01/31 renew on 02/28 or on 03/01?

What have you already attempted?
Read docs, wasn't quite sure where to find

cursive heronBOT
#

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

Code
const bankAccount = await stripe.accounts.createExternalAccount(
Config.ACCT_ID,
{
external_account: {
object: "bank_account",
account_holder_name: req.body.accountHolderName,
account_number: req.body.accountNumber,
routing_number: req.body.routingNumber,
account_holder_type: "individual",
country: "US",
currency: "usd",
},
}
);

Question
I want to create test external account for payout but it gives error that it only created with live key.

How I can able to create test external account?

What have you already attempted?
I tried with test account number and routing number, but getting always same error.

cursive heronBOT
#

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

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

Question
I have created the test subscription with static data but currently if I click on pay it is redirecting me to checkout page even if I do not add any details from my web app so how can I make it work dynamically?

What have you already attempted?
Could you please guide me on this?

What are you working on?
I am trying to integrate payment method with checkout page from stripe for dynamic data

#

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

Question
Hi! I'm trying to figure out how to properly add detail to invoices that are generated for subscriptions. I have larger enterprise clients that want a breakdown of what users to attribute invoices too. There is one central subscription per enterprise client, and then multiple items with varying quantity. Possible actions are: increasing a quantity item (i.e adding a new user), which would directly generate a pro-rated invoice. Is there a way for me to directly get a hold of that invoice after I call update on the subscriptions so I can modify the memo on the invoice? If I wait for invoice.created I don't know how to attribute it back with certainty here. Thanks!

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

What are you working on?
SAAS product

#

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

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: amount,
currency: 'usd',
customer: customer.id,
});

Question
Im integrating stripe in my android kotlin app, i have followed this guide https://docs.stripe.com/payments/accept-a-payment?platform=android

But after processsing payment, it shows something went wrong in payment sheet, and when i see in my dashboarrd it shows incomplete and The customer has not entered their payment method.

What have you already attempted?
I went through all but didn't get any solution.

cursive heronBOT
#

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

Code
var options = new SubscriptionScheduleUpdateOptions
{
Phases = new List<SubscriptionSchedulePhaseOptions>
{
new SubscriptionSchedulePhaseOptions
{
Items = new List<SubscriptionSchedulePhaseItemOptions>
{
new SubscriptionSchedulePhaseItemOptions
{
Price = price.Id,
Quantity = 1,
},
},
StartDate = GetStartDat

Question
how come i know when my subscription will be terminate or completed ?

What have you already attempted?
trying to find in dashboard when my subscription will be completed

#

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

Question
In the migration guide there is nothing about migrating sources in our connected accounts? Our logic creates source for every card/SEPA DD source in the connected account before charging it. Do we need to migrate those sources as well? Why they are not identified by stripe in the migration guide?

Related Request ID(s)
see src_1G6z66CPM4wZaXE78CnKYW6U on our connected account

What have you already attempted?
Nothing.

What are you working on?
We currently working on migration of SEPA DD payment sources to payment methods. We've done almost all steps in the migration guide.

#

@vagrant 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
Want to know How Can i Save Customer Payment in My Account Section

Question
Want to know How Can i Save Customer Payment in My Account Section

What have you already attempted?
Want to know How Can i Save Customer Payment in My Account Section

What are you working on?
Want to know How Can i Save Customer Payment in My Account Section

cursive heronBOT
#

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

Code
ToyoCart cart = repo.GetCart();
string successUrl = "https://localhost:62983/Checkout/Success";
string cancelUrl = "https://localhost:62983/Shop/Checkout";

        StripeConfiguration.ApiKey = options.Value.SecretKey;

        var opt = new SessionCreateOptions
        {
            PaymentMethodTypes = new List<string\>
            {
                "card"
            },
            LineItems = new List<Sess

Question
I've just implemented Stripe.net package in a ASP.NET Core project. It worked the fine the first time, but now I get "Expired link - This link has expired. This means that your payment has already been processed or your session has expired.". What am I doing wrong?

What have you already attempted?
Updated code, set payment methods.

What are you working on?
a webshop in an ASP.NET Core site

#

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

Question
How to retrieve the connect account details using the email is there any possible way ?

Related Request ID(s)
N/A

What have you already attempted?
i have tried using the id but not able to retrieve using email

What are you working on?
Working on the Ride Sharing Application

#

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

Code
> Task :app:minifyDebugWithR8 FAILED
ERROR:/Users/dcboy/.gradle/caches/transforms-3/49711519bd388594070086155c2daa3b/transformed/fragment-1.8.2-runtime.jar: R8: java.lang.NullPointerException

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:minifyDebugWithR8'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
> Compilation failed to complete, origin: /Users/dcboy/.gradle/caches/transf

Question
// old stripe
implementation "com.stripe:stripeterminal-localmobile:3.7.1"
implementation "com.stripe:stripeterminal-core:3.7.1"
//==== update to
//stripe
implementation "com.stripe:stripeterminal-localmobile:3.10.0"
implementation "com.stripe:stripeterminal-core:3.10.0"

What have you already attempted?
after update version build apk fail

#

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

Question
For the stripe disputes i need to obtain from the API the columns charge created utc, charge amount, charge currency, charge id, card fingerprint, card funding, has evidence (for has evidence the same as for past due), amount refunded, visa compelling evidence 3 status - I have already got many other but not these, which are also in the Excel file when exporting via the web GUI. How can I obtain them?

Related Request ID(s)
req_tia0SIn5FzmL9u

What have you already attempted?
I have tried including all what comes back from the API request but I cannot spot these.

What are you working on?
mass billing process automation

cursive heronBOT
#

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

Question
I have integrated stripe subscription functionality.
And I want to save all the transaction happen while subscription
I mean if any user bought monthly subscription for 1 year then every month it will charge x amount.
So whenever that charges made at that time I want to store it in my database
How can I achieve this using webhook and which event is ocuure and what data I can save it.

Related Event ID(s)
invoice.payment_succeeded

What have you already attempted?
invoice.payment_succeeded This event I have done it
But in my stripe dashboard there is only option to send test event using CLI when I used that its only sending some of the data in the json but I need some real time data like customer id and subscription id but it did not sending object of that thing
So I am not sure will this work or not

What are you working on?
PHP

cursive heronBOT
#

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

Question
Currently Implementing a function that creates a customer record and created payment method and attaches said payment method to a customer object in stripe using the Stripe Elements and Stripe JS, while also using the API for a connected account. Implementation worked before I switched it over to use create the customer object in a connected account. Now I'm getting an error from the confirm setup intent saying "code": "resource_missing", "message": "No such setupintent: seti_abcdefghijklmn' "type": "invalid_request_error". I tried passing a stripe_account param along with the API call.

Related Request ID(s)
N/A

What have you already attempted?
My original implementation for creating a customer object and attaching the payment method with the setup intent and stripe elements worked but the customer account was created on the platform account. My main goal is to create the customer object in the connected account as it is the one that will use it. When I attached a stripe_account param to it the setupintent create API call is now returning an error.

What are you working on?
currently building a function that saves a customer's payment method for later payments using setup intents, stripe elements, the Setup intents create API call, and the customers create API call

#

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

Code
"[code] => card_declined"

Question
They are charging my client a monthly subscription multiple times each day until they have no money in the bank. Can you help me?

What have you already attempted?
I have tried to request a refund for all those transactions but they are going to charge me a commission and the error is Stripe's, not mine

What are you working on?
nothing

cursive heronBOT
#

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

Question
im using stripe-hosted checkout flow and users are receiving an error that says "a processing error occurred", and a webhook fires with an event that says "type: next_action.use_stripe_sdk", i believe this has to do with 3ds payments but i assumed the stripe hosted checkout flow would handle this for us

Related Event ID(s)
evt_3Q9qOEFwyek2CYOK1EEA6Ijw

What have you already attempted?
nothing since im confused

What are you working on?
stripe-hosted checkout flow

#

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

What did you expect to happen?
I am using "@stripe/stripe-react-native": "^0.35.0" in my react native project. After turning on amazon pay from stripe dashboard, I got a different view in the Stripe payment sheet in the app organized in two steps while I expected just the amazon pay to be added in the list of payment methods

What actually happened?
The Stripe payment sheet was presented as a two-step process, where you can select Apple pay or Other methods in the first step, if you click Other methods you can go on the classical Stripe sheet

Reproduction Steps
Turn on Amazon Pay in stripe dashbaord
Other payment methods included: Apple Pay, Bancontact, Card. When one of the payment methods is not available, for example in my country Apple Pay is not supported, everything works correctly
When reproducing, no saved payment methods

Question
How can I bring back the classical stripe payment sheet, without multiple steps to select payment methods.

#

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

Question
can we create a user account on our website if user already stripe account on any other website but in our website the user doesnot have so can we do onboard user like by taking the user email we create the account and account link ?? is this the right way

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@glad nimbus 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/quickstart#provision-access-webhooks

Question
I have integrated the basic checkout redirection but do I need to create webhook from my backend to check customer's subscription detail? for example whether subscription is active or not and when it is ending etc!

What have you already attempted?
.

cursive heronBOT
#

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

Question
When setting up stripe connected accounts, why is gender needed? It's an ill-fitting questions during sign up process. Can we move this to the KYC/Verification section as we know it's needed for AML and payout part. For account set up, we want to ignore this. Can we do that? We're in the UK

Related Request ID(s)
dev

What have you already attempted?
explored docs

What are you working on?
small account set up app

cursive heronBOT
#

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

Question
We have added the stripe connect embeded form API and have specified that its for individual accounts only however, the onboarding steps are still asking for business related details. We need to only collect individual information and the minimum required to accept payments on our platform.

Related Request ID(s)
n/a

What have you already attempted?
We have changed the stripe connect onboarding type to express and the business type to individual.

We are using node,js

What are you working on?
We are working on a AI prompt marketplace

#

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

Question
I am currently working on an Android application using FlutterFlow and integrating the Stripe Checkout API via a POST call. However, I have encountered a challenge, I am not able to check if a payment has succeeded, is this data only available in production mode?

Related Request ID(s)
Developer mode

What have you already attempted?
I added stripe in package.json, and i tried to check if the id isnt null

cursive heronBOT
#

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

Question
I am facing an error of 400 on trigger of event from stripe CLI, and getting this response:- LvjjGjabAarUywqQlA]
2024-10-15 17:20:48 --> invoiceitem.created [evt_1QA9H2LvjjGjabAaFig9AQES]
2024-10-15 17:20:48 <-- [400] POST http://localhost:5050/api/v1/webhook [evt_1QA9H2LvjjGjabAaFig9AQES]
2024-10-15 17:20:49 --> invoice.created [evt_1QA9H3LvjjGjabAarjnmgOIR]
2024-10-15 17:20:49 <-- [400] POST http://localhost:5050/api/v1/webhook [evt_1QA9H3LvjjGjabAarjnmgOIR]

I have provided the secret key already so what is causing this issue?

Related Event ID(s)
evt_1QA9H7LvjjGjabAa2Oi2cS0n

What have you already attempted?
Here's my code for webhook:- payment.post('/webhook', async (req, res) => {
const sig = req.headers['stripe-signature'];
let webhook = process.env.STRIPE_WEBHOOK_SECRET;

if (!sig || typeof sig !== 'string') {
return res.status(400).send('Webhook signature is missing or invalid.');
}
let event;
if (!webhook) {
return res.status(400).send('Webhook secret is missing or invalid.');
}

try {
event = stripe.webhooks.constructEvent(req.body, sig, webhook);
} catch (err: any) {
// If verification fails
return res.status(400).send(`Webhook Error: ${err.message}`)

What are you working on?
I am creating a webhook to check status and etc details of customer's subscription

#

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

Question
Stripe dispute API to list disputes accepts a status to list disputes based on status, can we get that to show on the documentation.

Related Request ID(s)
none

What have you already attempted?
nothing

What are you working on?
Personal project

cursive heronBOT
#

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

What did you expect to happen?
Payment sheet to present payment methods in one page

What actually happened?
Payment sheet displays payment methods in multiple steps

Reproduction Steps
- Add customFlow: true
- Handle submitting payment via confirmPaymentSheetPayment

Question
I am using "@stripe/stripe-react-native": "^0.35.0" in my react native project and when I turned on customFlow and confirm payment by confirmPaymentSheetPayment it is presenting the payment methods with a two-step view. If I remove the custom flow and confirmPaymentSheetPayment it shows all payment methods in one single step.

cursive heronBOT
#

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

Code
{
"error": {
"code": "parameter_invalid_empty",
"doc_url": "https://stripe.com/docs/error-codes/parameter-invalid-empty",
"message": "You passed an empty string for 'card[number]'. We assume empty values are an attempt to unset a parameter; however 'card[number]' cannot be unset. You should remove 'card[number]' from your request or supply a non-empty value.",
"param": "card[number]",
"request_log_url": "https://dashboard.stripe.com/logs/req_zvFcXktjSFb3

Question
We have a discount code that allow to get 100% discount - 0 USD payment. However this discounts stopped working on Stripe form. Error referring to enter card details, but form don't allow to do that when 0USD payment is processed.

What have you already attempted?
This was working fine in a last few days.

cursive heronBOT
#

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

Question
I'm trying to get the balance transactions for a particular payout, but the payout was manual. What if we listed all balance transactions, then found the payout identifier for each transaction. is that possible?

Related Request ID(s)
po_1PvjXiPjuTBXKaMCcqRImAPq

What have you already attempted?
Tried to fetch all transactions for this payout id, but this particular payout was a manual payout.

Can't find a way to get the payout id for a single balance transaction

#

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

Question
Struggling to retrieve a list of failed webhooks that do not have an associated returned status code via the GET /v1/events endpoint. However, the relevant webhooks are not being returned.

Does the GET /v1/events endpoint filter out failed webhooks that do not have a status code associated with them (i.e. timed out)?

Related Request ID(s)
evt_3Q80rBKHV9I0GxFc185tBTgY

What have you already attempted?
Tried to get the relevant (payment_intent.succeeded) webhooks via the GET /v1/events endpoint. Have tried to look on the Stripe API docs to see if there is a possible alternative endpoint that could be used, but no luck so far, or I'm misinterpreting the documentation!

What are you working on?
Programatically retrieving failed webhooks from X timeframe, in order to re-trigger them.

#

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

Question
Hello, I would like to know if I need to listen to an event when the balance from an invoice paid is available to make a payout? I read that it takes 3 days in usa to be available

Related Event ID(s)
none

What have you already attempted?
I've the webhooks for listen to payouts, but not for invoices

#

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

Code
My current code looks like this (Ruby):

Stripe::PaymentIntent.create(
{
amount: amount_to_seller,
payment_method_types: ['card'],
currency: order_currency,
application_fee_amount: application_fee + shipping_cost,
capture_method: 'automatic',
metadata: { …. }
},
stripe_account: seller_account_id
)

Question
I want to collect the application fee and shipping cost separately in a single payment. However, the current code includes the shipping cost in application_fee_amount. How can I exclude the shipping cost from application_fee_amount and handle it as a separate charge while keeping transactions within the same payment for the buyer?

What have you already attempted?
I tried including both the application fee and shipping cost in application_fee_amount, but this doesn't meet my requirement to handle them separately. I have reviewed the Stripe documentation on connected accounts, fees, and transfers, but I couldn't find a clear solution for splitting the shipping cost and application fee.

What are you working on?
I’m working on a marketplace where buyers pay sellers directly for listings, and platform collects the application fee and shipping cost.

#

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

Question
Hi! Getting UTM_TERM via Webhook. Now, to get utm_term for each transaction, I use export in the transactions tab. However, I need to use a webhook and get utm_term after each subscription creation (successful) on a third-party system. How do I set up this process in Stripe? What data should I use and where should I click? Please help me

Related Event ID(s)
what is this

What have you already attempted?
nobody

cursive heronBOT
#

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

Question
Occasionally the `<ExpressCheckoutElement />` components onReady function will run, but then no wallet buttons will appear. This is often resolved with a page refresh, but we're wondering if there is something else we can do to make this more robust?

Related Request ID(s)
n/a

What have you already attempted?
n/a

cursive heronBOT
#

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

Question
We have Connected Accounts connected with our platform. Is there a way for us to control what the payout descriptor will be be?

Related Request ID(s)
https://dashboard.stripe.com/acct_1NvFsKQ6t7QQwXAB/events/evt_1Q7V6FQ6t7QQwXAB5nueyWAU

What have you already attempted?
I've tried reading the docs here: https://docs.stripe.com/connect/payout-statement-descriptors

What are you working on?
We're hosting a platform which works as a CRM for our clients

#

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

Question
Not receiving emails from creating invoice

Related Request ID(s)
req_YgZu0gfmbU365a

What have you already attempted?
I have tried using finalize which is supposed to send email but that’s not working. I tried the email api but that is not sending the email also. I have tried changing the customer in the test account to the email associated to the account I’m on and that didn’t work either. no setting that I could find would affect this either

What are you working on?
I am creating a system to create an invoice for customers can pay later after they are accepted into a program

cursive heronBOT
#

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

Question
Is there a way to see if a free trial user (who will be billed in 7 days) was prompted for 3ds and if they successfully added it?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

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

What did you expect to happen?
Right after my users finish the Stripe Connect onboarding, I gather all payments they have on my platform and create transfers to their Stripe Connect account.

I expect the transfers to be created as I requested transfers to be enabled when creating the account.

What actually happened?
This worked fined in test mode but in live mode I have an error stating that transfers are not enabled for the account.

Right after that, I checked the Connect account status and transfers were marked as enabled.

Reproduction Steps
Finish the onboarding of a Stripe Connect account and in the account.updated webhook, create transfers to this account.

Question
Is there a delay in live mode between the Stripe Connect onboarding being complete and the account actually having transfers enabled?

What are you working on?
An affiliation platform

#

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

Question
Hi! I'm using stripe connect to onboard my stripe connect accounts. I noticed that using only a stripe connect link, the address has a autocomplete, which doesn't exist with stripe connect embedded components. Is it possible to also have it there? How?

Related Request ID(s)
none

What have you already attempted?
Well, i configured all these two, searched on your doc for this but didn't find what i need. I saw that it's possible to prefill, but i would like the autocomplete

What are you working on?
Integrating stripe payments in our app threw stripe connect

#

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

Question
We're a Saas service charging subscriptions to small businesses. often these businesses in our industry switch owners frequently. What's the best way to keep track of multiple "duplicate" customers? Merging them is precarious because we'll have invoices for both the old and new owners and old payment methods as well.

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

What are you working on?
We use Stripe's dashboard to charge subscriptions for our customers and are building a standard operating procedure for ownership changes

#

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

Question
What is the best way to calculate gross volume in the same way that the default stripe report calculates gross volume? I am using charges as my source of truth and looking at amount_captured, amount_refunded, disputed, and status="succeeded". It seems my internal count is off by Stripe's count by a small percentage

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

What are you working on?
I am the founding engineer at trainwell (https://www.trainwell.net)

#

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

Question
The subscription period on my site is 30 days but 31 days is set for stripe. The subscription on my site expires 1 day earlier and it is no longer good to charge a subscription fee after 1 day

Related Request ID(s)
I couldn't find it

What have you already attempted?
I tried updating the date for the billing cycle but it didn't work

What are you working on?
site that works with subscriptions

#

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

Code
Implement wallets in stripe integration

Question
Implement wallets in stripe integration

What have you already attempted?
Implement wallets in stripe integration

What are you working on?
Implement wallets in stripe integration

#

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

Question
We use the payment and address element on the custom checkout page. The client is using Hotjar to track users and have requested for Stripe's iframe content to be available in Hotjar's recordings.

Doc/Guide Links
https://help.hotjar.com/hc/en-us/articles/115011624347-Can-I-Track-iframes-Inside-Heatmaps-and-Recordings

What are you working on?
Adding Hotjar tracking to Stripe elements

cursive heronBOT
#

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

Question
im playing with a market place idea and have other connected stripe accounts but want to give the connected accounts the option to disconnect. How can this be done? the marketplace uses php

Related Request ID(s)
idk

What have you already attempted?
ive attempted the Delete end point but this seems to delete completely? maybe im not understanding.

What are you working on?
market place for businesses

cursive heronBOT
#

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

Question
I disconnected the API and I am unable to reconnect it. When I click on the stripe button in recharge, it simply reload the page.

Related Request ID(s)
1056365

What have you already attempted?
Clicking on the stripe button in the recharge page. Not working. Sent an email, did not receive answer.

What are you working on?
The connection between Stripe and Recharge.

cursive heronBOT
#

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

Question
I want to create a stripe invoice through the API, and use the payment intent it creates to render an elements payment form.

My Connect customers want to be able to control their payment methods, ideally through your interface rather than me having to create another one.

How can I use a payment_method_configuration ID when creating an invoice?

Related Request ID(s)
None

What have you already attempted?
I see code for using the ID here in a payment intent:
https://docs.stripe.com/connect/multiple-payment-method-configurations?payment-ui=payment-element

But how would I add it to a create invoice API call? I don't see it as an option under "payment settings"
https://docs.stripe.com/api/invoices/create

What are you working on?
Kiln Fire : kilnfire.com

cursive heronBOT
#

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

Question
We're operating a marketplace and want to delay transaction transfers to certain sellers only. Sellers have their stripe account connected to ours. I haven't been able to find any reference to this in the documentation so far.

Related Event ID(s)
dashboard > connect > transfers

What have you already attempted?
Looking for any existing references to this and/or settings.

What are you working on?
marketplace that receives orders, then transfers the order amount minus the marketplace commission to each individual seller. (not a payout)

#

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

Question
Hey! I have recently opened up an e-commerce store with "Quickbutik" and am looking to use Stripe for card payments and Apple Pay. I have setup my checkout domain with Stripe and it's verified. Apple Pay is also activated through Quickbutik yet I don't see it as an option when testing the store checkout. What can I do?

Related Event ID(s)
Dashboard > Payments > Accept online payments

What have you already attempted?
I have tried re-adding my domain in Quickbutik, Cloudflare and Quickbutik. It says it's verified but no signs of Apple Pay.

What are you working on?
An e-commerce store for second hand watches :)

#

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

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: Math.round(amountTotal*100),
currency: currency,
customer: customerId,
payment_method_types: ['card'],
automatic_payment_methods: { enabled: automatic_payment_methods, },
off_session: true,
transfer_data: {
destination: account.id,
},
});

Question
I can't even perform a test to get the money to a connected account. Why?

What have you already attempted?
I'm trying several ways and nothing

What are you working on?
Building

#

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

Code
Hi Team just need to confirm that, us_ban_account payment method is supported only if the connected account's origin is US right ?

Question
Basically i am fetching details for an accountId and checking if stripe's account's origin is US then pass in the payment method types as 'us_bank_account'

What have you already attempted?
N.A

What are you working on?
Basically i am fetching details for an accountId and checking if stripe's account's origin is US then pass in the payment method types as 'us_bank_account'

#

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

Question
Hello! In my app I use subscriptions, when a subscription is created I save a row in my db with a few info & the status, it's not clear to me which hook should I use to cancel the subscription in my db if the payment fails, advancing the time I can see that `invoice.payment_failed` has been called multiple times incrementing the attempt number, is there a max number? when is this hook called for the first time? before or after the subscription enters in the new month?

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

What are you working on?
SAAS

#

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

Code
const session = await StripeClient.checkout.sessions.create(
{
line_items: lineItems,
mode: "subscription",
success_url: successUrl,
cancel_url: cancelUrl,
// Would love to have a callback that is called before the payment is processed
before_payment_processed: () => {
// Run validation, if it fails then do not process the payment
if (failed) return { success: false }

  // If validation succeeds, process the payment
  return { su

Question
I am trying to use either the Stripe hosted checkout or the embedded checkout, and have some custom validation to run on my products before they are purchased. Right now I am just validating the products before the checkout is initialized, but I would prefer running the validation AFTER the user confirms payment on the Stripe hosted page. And if the validation FAILS then we don't process the payment.

ie. a user creates a checkout with 3 products -> user goes to the Stripe ho

What have you already attempted?
Currently i have it working so the validation runs before the checkout is initialized, but something could happen while the user is on the Stripe checkout page that could invalidate a product, so ideally i can just run the validation on the Stripe checkout page and if the validation fails the payment does not go through

With my current implementation if validation fails after paying, I would have to issue a refund

What are you working on?
A checkout system that has custom validation that will determine if a checkout should process payment or not

#

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

Code
permissions: {
update: {
shipping_details: 'server_only',
}
},

Question
How can I set up the `permissions` block in the Stripe Java SDK? Like in this example for node https://docs.stripe.com/payments/checkout/custom-shipping-options#create-checkout-session

What have you already attempted?
I have tried
.putExtraParam("permissions.update.shipping_details", "server_only")

#

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

What did you expect to happen?
When the allow customer to cancel toggle is off - it should not show option to cancel. Also, I toggled on the ability for customers to update billing and shipping info on portal.

What actually happened?
It is still showing option to cancel and not showing option to update billing and shipping.

Reproduction Steps
toggled on > saved > untoggled > saved. Cleared cache and cookies and tried to a different PC

Question
When the allow customer to cancel toggle is off - it should not show option to cancel. Also, I toggled on the ability for customers to update billing and shipping info on portal. Need help to check and resolve.

#

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

Question
Is there a way to retrieve payouts to connected accounts through the api?

Related Request ID(s)
req_TmCD6VduMTZErG

What have you already attempted?
I have attempted to use `stripe.Payout.list` with `destination=<stripe connected account>` and `destination=<external test account of connected account>` which both failed.

What are you working on?
I'm working on an ecommerce platform for flowers

#

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

Question
I am migrating form a very old checkout version where we have a total amount of 100 usd and was able to split it in 2 charges (90 & 10). How can I do that now in new checkout?

Related Request ID(s)
NA

What have you already attempted?
Not sure if thatΒ΄s possible anymore.

cursive heronBOT
#

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

What did you expect to happen?
Zip code match the order management software (logicbroker) that our BigCommerce runs off of

What actually happened?
Zip code stripe show is different than zip code entered on order

Reproduction Steps
does not happen on every order. can provide examples

Question
Why is the Zip code that Stripe runs to check radar AVS different that what the customer entered on the order?

What are you working on?
NEw eCommerce platform for franchised brands over 300 locations

#

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

Code
const accountGSO = await stripe.accounts.update(account_id, {
external_account: '',
business_profile: {
name: '',
support_phone: '',
url: 'https://www.tuempresa.com'
},
company: {
name: '',
address: {
line1: '',
city: '',
state: '',
postal_code: '',
country: 'US'
},
tax_id: '123456789',
},
tos_acceptance: {
date: Math.flooor(Date.now(),
ip: '127.0.0.1'
}

Question
I can't define an endpoint in charge of sending payments to the corresponding connected accounts

What have you already attempted?
Building

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!

#

@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/invoicing/dashboard/credit-notes

Question
I am trying to implement a system that give user incentive through a referral system, and if we try to reward them with credit that will be used to pay for their future subscriptions, is this the correct way to do? Or there are better ways to do it?

What have you already attempted?
Nothing for now, still exploring and researching for options.

What are you working on?
A referral system

cursive heronBOT
#

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

Question
How do we invite team members to a Connected Merchant's sandbox account?

Related Request ID(s)
pi_3QAKHYIEeIH1gPwZ1kDk69vb

What have you already attempted?
I have signed into the Connected Merchant account (POV = merchant) and I see the very limited Express dashboard as expected. We don't see any of the payment transactions (like you do in the Rocket Rides demo) because the test payments we have done are in

Sandbox Platform: acct_1Q8nLfIEeIH1gPwZ

Sandbox Connected Merchant: acct_1Q8oRCIj0xieSpiY

Live Platform: acct_1P9d1YI3hO2CDsyC

Live Connected Merchant: acct_1Q8mpyINVUhPuxmU

What are you working on?
We are a platform migrating from Connect Standard to Connect Express. It's our first time using a Sandbox instead of Test mode of the applicable Connected merchant account.

cursive heronBOT
#

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

Question
We use Billing Portal with the β€œcancel at period end” option. Works great! But we’d like if customers who were past due to instead do β€œcancel immediately”. What’s the recommended way to achieve this?

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

What are you working on?
SaaS app with simple monthly/annual subscription

cursive heronBOT
#

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

Question
The amounts provided do not match the amounts that were sent to the bank account. error

Related Request ID(s)
cannot find

What have you already attempted?
used antoher bank account but got same issue

What are you working on?
adding customer banking account on production env

cursive heronBOT
#

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

Question
i want to know How long does it take to receive the customer's payment status after a transaction is completed, how long does it typically take for a dispute to occur, how long does it take to resolve a dispute, and how are my funds handled when a dispute arises?

Related Request ID(s)
all transaction

What have you already attempted?
i have looked for the api book

What are you working on?
i am building a Reconciliation System

#

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

Question
I am trying to integrate the webhook for the subscription events and I am testing it with the Stripe CLI but I am facing 400 error on trigger of stripe events:- 2024-10-16 09:41:01 --> invoice.paid [evt_1QAOZcLvjjGjabAaD1GlmfWc]
2024-10-16 09:41:01 <-- [400] POST http://localhost:5050/api/v1/webhook [evt_1QAOZcLvjjGjabAaD1GlmfWc]
2024-10-16 09:41:01 --> invoice.finalized [evt_1QAOZdLvjjGjabAabkIzaH7h]
2024-10-16 09:41:01 <-- [400] POST http://localhost:5050/api/v1/webhook [].
Webhook signature verification failed: Webhook payload must be provided as a string or a Buffer

Related Event ID(s)
evt_1QAOZdLvjjGjabAabkIzaH7h

What have you already attempted?
I am using node.js and I have already defined bodyParser.raw() for my webhook but It is not working.
payment.post('/webhook', bodyParser.raw({ type: 'application/json' }), async (req, res) => {
const sig = req.headers['stripe-signature'];
const webhookSecret = process.env.STRIPE_WEBHOOK_SECRET;

// Logging the signature and raw body for debugging
console.log('Headers received:', req.headers);
console.log('Stripe signature:', sig);

// Log raw body as string for debugging
console.log('Raw body received:', req.body.toString('utf8')); // Convert Buffer to string

cursive heronBOT
#

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

Code
Want to attach the Card for User In My Account Section
Facing Issue With Setup Intent

Question
Facing Issue With Setup Intent

Want to attach the Card for User In My Account Section
Facing Issue With Setup Intent

What have you already attempted?
Facing Issue With Setup Intent
Want to attach the Card for User In My Account Section
Facing Issue With Setup Intent

What are you working on?
Facing Issue With Setup Intent

cursive heronBOT
#

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

Question
I am using currently ngrok to test webhooks, and I have added the live URL with API route in the webhooks domains but events are failing over dashboard and it says pending status, however I am getting 200 message with stripe CLI so what can be the issue here?

Related Event ID(s)
evt_1QAQRFLvjjGjabAaAOgYRucT

What have you already attempted?
I checked my server logs, and everything looks fine there so what is issue with dashboard?

cursive heronBOT
#

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

Code
In the browser console the error message:
controller-3d67252f1899f76d7227268f18fe24bf.js:1 [Stripe.js] You have not registered or verified the domain, so the following payment methods are not enabled in the Express Checkout Element:

Question
The Apply Pay does not appear after following all the steps from Stripe.

In the browser console the error message:
controller-3d67252f1899f76d7227268f18fe24bf.js:1 [Stripe.js] You have not registered or verified the domain, so the following payment methods are not enabled in the Express Checkout Element:

- apple_pay

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

What have you already attempted?
Followed all steps mentioned in the Stripe documentation and suggestions provided by Stripe support

What are you working on?
Magento-Stripe connector

cursive heronBOT
#

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

Question
How to provide invoice template ID while creating Session Checkout in python?

Related Request ID(s)
0

What have you already attempted?
I tried to add it has metadata but nothing is happening.

#

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

Question
Want to apply a promotion code in checkout session creation but API complains about the code not existing while it definately does.

Related Request ID(s)
req_cclfSHYts5Lphz

What have you already attempted?
Created various codes.

What are you working on?
Using promotion codes for customers.

#

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

Question
I add api to my next.js app, no theu blockme

Related Request ID(s)
I checked my dashabaord too

What have you already attempted?
I checked emails, and and send them all realted docusmnts,

What are you working on?
adding payment api to my app next.js

#

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

What did you expect to happen?
When we add new credit card in Stripe and set it as default source. The card shows as default source in Stripe dashboard but if we fetch customer via API "default_source" id is still for the older card and not the current default card.

What actually happened?
Its expected show the updated default_source id as in Stripe dashboard

Reproduction Steps
Add a card to stripe customer. Then and another card and make default. Now fetch the customer via API we are using Stripe PHP SDK. The default source point to old card

Question
Can it be fixed? Its expected show the updated default_source id as in Stripe dashboard

#

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

Question
I want to use Apple Pay in a Payment Element, which is in an iframe and embedded in a parent page not having the same origin. Is this possible? If not, what should be the correct way to show Apple pay in an iframe?

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

What are you working on?
I've verified the iframe domain. Apple pay shows up on the domain and not when embedded in another parent page

#

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

Code
The example:
The buyer will make a payment that covers both the listing price and the shipping cost.
For example, if the listing price is $100 and the shipping cost is $25, the buyer will pay a total of $125.
From the $100 listing price, the seller should receive $90 (after deducting a 10% application fee: $100 - $10).
The shipping account should receive $25 to cover the shipping cost.
The platform will collect the $10 application fee.

For simplicity, Stripe fees are ignored

Question
I need to facilitate a single payment process that splits funds between multiple parties. Example in the CODE field.

Could you please advise on how I can implement this logic?

What have you already attempted?
After researching, I found that I can create a PaymentIntent with a transfer group to charge $125 from the buyer, and then create a Transfer object with the shipping_account_id as the destination for the $25 shipping charge.
Would this approach work for my use case?

What are you working on?
I’m working on a marketplace.

cursive heronBOT
#

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

Code
const fetchClientSecret = async () => {
const response = await fetch("/create-checkout-session", {
method: "POST",
});
const { clientSecret } = await response.json();
return clientSecret;
};

Question
I am trying to re-implment this tutorial (with Java), but fail on this step https://docs.stripe.com/payments/checkout/custom-shipping-options#mount-checkout . My server successfully implemented `/create-checkout-session` and returns a response of the form `"cs_test_b1h..."`.
But the Javascript code fails with:

Uncaught (in promise) IntegrationError: fetchClientSecret failed with error "The fetchClientSecret function should always resolve with a client secret as a string.

What have you already attempted?
I made sure, that my server returns everything as expected for example also `application/json` response. And the actual string

#

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

Question
In the Stripe docs, https://docs.stripe.com/api/external_account_bank_accounts/create?lang=cli, the parameter below, external-account takes a token (which i don't need) or a dictionary... what is the format of the dictionary

stripe external_accounts create acct_abcdef
--api-key sk_test_β€’β€’β€’ykey
--external-account "??????"

(i've tried json, using the -d external_account[currency]=NZD style params, and a few other formats... to no avail)

An example of the dictionary format in this command would be great to help us resolve some issues with NZ routing and bank account formats.

Related Request ID(s)
req_Bsdffg1wAFMEry

What have you already attempted?
I've been through the documents, attempted a few cli commands, crafting up what the dictionary could look like, reviewed google, used chatgpt, etc...

What are you working on?
I'm working on setting up our integration to the New Zealand Stripe environment. We are having trouble getting the NZ bank account/routing formats correct. (We have already setup US, CA, GB and AU)

#

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

Code
Help for Hiding the Other payment in Payment element form and Creating Payment method

Question
Help for Hiding the Other payment in Payment element form and Creating Payment method

What have you already attempted?
Help for Hiding the Other payment in Payment element form and Creating Payment method

What are you working on?
Help for Hiding the Other payment in Payment element form and Creating Payment method

cursive heronBOT
#

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

Question
We are creating Payment Links for Connect accounts, using destination charges with the `on_behalf_of` property.
As the payment links are associated to the platform and the Connect account, there aren't listed when we list the payment links of the Connect account.
Is there a way, via the API, to list payment links that have been creating on behalf of a specific Connect account?

Doc/Guide Links
https://docs.stripe.com/api/payment-link/list
https://docs.stripe.com/connect/payment-links#destination-on-behalf-of

What are you working on?
We want our users to easily manage their payment links from our app, and thus need to list them.

#

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

Question
I want to have a feature in my subscription purchase via stripe to pay in installmemts for a yearly priceId. for example if i have a product A and its yearly priceId has a amount of 200 $ then i need to subscribe to this priceId but in installments

Related Request ID(s)
Subscriptions

What have you already attempted?
thinking of creating a quartely priceId as an alternative

#

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

Question
I get a invalid_request_error that I don't undestand couple with a "blocked" payment by stripe for "too high-risk". I want to undestand if the payment is blocked or the request is invalid
Thanks!

Related Request ID(s)
pi_3QATiY2ERkXzKdsi0acidwZe

What have you already attempted?
Checked the logs of the PaymentIntent

What are you working on?
Make an off session payment with a SEPA payment method

cursive heronBOT
#

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

Question
We have noticed that the webhook config warns us if we add to many events. Is it best practise to split up receiving endpoints rather than just /stripe/webhook receiving many (e.g. 25 different event types)?

Related Event ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Refactoring connect integration

cursive heronBOT
#

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

Question
For Stripe Connect what is the maximum age of the user allowed?

Related Request ID(s)
NA

What have you already attempted?
Provide max 120 years of age as of current date (referred from https://docs.stripe.com/connect/handling-api-verification#validation-and-verification-errors) (refer the error "invalid_dob_age_over_maximum")

What are you working on?
I am analysing the process for my project to build the backend structure.

#

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

What did you expect to happen?
I expected to get the notice "Verification remains pending until further notice"when validating the eu_vat tax id 222222222

What actually happened?
I got "null" as an answer

Reproduction Steps
We are using Stripe connected accounts and we successfully created an account with the eu_vat Id 222222222. We tried to test validate the tax id but get the response β€œnull”
Here is the response
{ "object": "list", "data": [ { "id": "txi_1QAUF9H4lFm8CIFnwnlACMFt", "object": "tax_id", "country": "AT", "created": 1729073655, "customer": null, "livemode": false, "owner

Question
Can you identify why we get " null " instead of the expected output "validation remains pending.."

What are you working on?
Eu Vat Tax Id Validation for connected accounts

cursive heronBOT
#

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

What did you expect to happen?
In stripe-magento, coupon usage count increase by 1 after payment

What actually happened?
coupon usage double counted when using payment method other than stripe

Reproduction Steps
In magento stripe plugin

  1. have stripe and 1 other payment method enabled (I am using QFpay, but looking at the source code of the problem, it does not matter)
  2. enter a coupon when placing order
  3. complete the order using payment method other than stripe
  4. coupon usage double counted

Question
this issue happens after the 4.0.9 update in stripe-magento
shouldIncrementCouponUsage value will not update properly when using other payment method
also the plugin to overwrite updateCouponUsage->execute() will be overwritten by Magento_MultiCoupon module

#

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

Question
Hi, I’ve started using the Express Checkout Element.

Our flow is as follows:

On the server:

1.	Create a customer.
2.	Create a subscription with expand\: \['latest\_invoice.payment\_intent'\]. The off\_session parameter is not set, so it defaults to on\-session.
3.	Return the client\_secret from the payment\_intent to the client.

On the client:

1.	Initialize the Express Checkout Element with the client\_secret received from the server. We set PayPal, Apple Pay, and Google Pay as payment methods.

The PayPal button never appears in the UI. Why is this happening?

Related Request ID(s)
-

What have you already attempted?
I tried setting off_session: true on the server when creating a subscription. In that case, the PayPal button appeared in the UI. However, I believe setting off_session: true is incorrect for my flow. I’m setting up a subscription for the customer for the first time with an initial payment, and then I’ll charge them offline monthly.

cursive heronBOT
#

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

Question
How can I know if a payment_intent.payment_failed event comes from a PaymentIntent confirmation or a capture (we separate authorization and debit) ? Or maybe there's another webhook to listen to to know if a preauth fails / when a payment capture fails?

Related Event ID(s)
evt_3QAVnwBBURfSZNfg1cvYev3L

What have you already attempted?
I've checked in doc and there's no information about this

What are you working on?
Trying to move our code from what we have right now, listening directly to Stripe responses, to listen to webhooks instead.

cursive heronBOT
#

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

Question
Hello, I need to listen to an event like balance.available, but I need more information about what payments are included in that balance.

I need something to get the payments that are ready to paid out, but balance.available have poor information

Related Event ID(s)
none

What have you already attempted?
Listen to transfer.update but doesnt fires, My idea was get the transacion id and then the payment id, but doesnt fires so I cant

#

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

Question
Hiya! I'm working on creating a checkout session for an item that's in a reduced Tax category in my country. For that, I specified the tax_code on the product_data within the price_data of the checkout session. However, Stripe keeps charging me the high Tax rate. I have Stripe tax enabled, and also pass automatic_tax: { enabled: true } into the session.

Related Request ID(s)
-

What have you already attempted?
I've tried changing the tax_code, but this didn't work. It's a photo book, so a physical good.

What are you working on?
My travel planning app :)

#

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

Question
We're working on migrating from Stripe::Plan to Stripe::Price. is there an API doc that outlines these changes? there's some properties we were using on Stripe::Plan that I can't find on Stripe::Price. specifically trial_period_days.

Related Request ID(s)
N/A

What have you already attempted?
tried creating a Stripe::Price with trial_period_days

What are you working on?
migrating from Stripe::Plan to Stripe::Price

#

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

Question
I am trying to save the payment card details with this option saved_payment_method_options.payment_method_save
enum
Enable customers to choose if they wish to save their payment method for future use. Disabled by default. But for returning customers the card details are not prefilled. please refer the code snippet. body += '&mode=payment';
// Set customer_creation to always
body += '&customer_creation=always';
// Enable saved payment method options
body += '&saved_payment_method_options[payment_method_save]=enabled';
//body += '&saved_payment_method_opti

Related Request ID(s)
NA

What have you already attempted?
body += '&mode=payment';
// Set customer_creation to always
body += '&customer_creation=always';
// Enable saved payment method options
body += '&saved_payment_method_options[payment_method_save]=enabled';
//body += '&saved_payment_method_options[payment_method_save][enabled]=' + EncodingUtil.urlEncode('true', 'UTF-8');
/* // Add custom consent text as metadata
body += '&payment_intent_data[metadata][consent_text]=' + EncodingUtil.urlEncode(
'I authorize Balkan Plumbing to store my card and send instructions to the financial institution that issue

cursive heronBOT
#

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

Question
How can I retrieve a checkout sessions shipping_rate name ?

Related Request ID(s)
req_hERWUT3cV6rg5E

What have you already attempted?
I have looked through the documentation for how to retrieve shipping name by the stripe id assigned to the shipping rate selected. I do not see an end point.

What are you working on?
Checkout system for a board games site.

#

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

Question
How am I supposed to know if the default bank of a connected account doesn't support instant payouts, so that I can proceed with the standard payout instead?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
SAAS Application

#

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

Code
} else if (Platform.OS === 'ios') {
console.log('IOS PAY!!');
const {error, paymentMethod: iosPaymentMethod} =
await createPlatformPayPaymentMethod({
applePay: {
cartItems: [
{
amount: `${amount}`,
label: 'Top up',
paymentType: PlatformPay.PaymentType.Immediate,
},
],

        merchantCountryCode\: 'US',
        currencyCode\: 'USD',

Question
I am using topup functionality in react-native with stripe and using createPlatformPayPaymentMethod for apple pay topup, but nothing happens after selecting real card and no error on the console

What have you already attempted?
I am using the same function on android for google pay and its working fine

What are you working on?
Topup wallet functionality in react native ios

cursive heronBOT
#

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

Question
How do we set/change the payment descriptor for payouts?

Related Request ID(s)
https://dashboard.stripe.com/webhooks/we_1Oqx69L8luXqMHtbCeoFKEdt

What have you already attempted?
We followed the guide/instructions on https://docs.stripe.com/connect/payout-statement-descriptors, however it seems that the API doesn't allow us to change the payment descriptor.
What can we do in order to verify which payout belongs to a particular bank slip?

What are you working on?
Platform with many Connected Accounts

#

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

What did you expect to happen?
I expect the Connected account link to either refuse registration because it expired or to work properly.

What actually happened?
The customer was able to create an account 9 days after the link was created (he opened the link sooner). The account seems to be created properly for him but I can't see it in my dashboard

Reproduction Steps
Create a link to add an account to connected accounts. Wait for it to expire but open it in the url. The account will be created but not shown on the main dashboard

Question
Why can't I see the account in my dashboard? What should I now tell the customer?

cursive heronBOT
#

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

Question
Hello, I have stripe paypal as a manual payment method when I create a payment intent. Recently, I want to add apple pay and google pay as methods and these type of payments require this: automatic_payment_methods: {
enabled: true,
} which automatically makes me think I need to get rid of manual payment_method_types: ['card', 'paypal'] but this throw error for Paypal payments. so basically Paypal needs to have been integrated manually but wallet payments dont work if I continue with manual integration.

Related Request ID(s)
fds

What have you already attempted?
I also saw an old video where Paypal was shown in the wallets section in the stripe dashboard but its not shown for me

cursive heronBOT
#

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

Question
Q: Can you have a Subscription Inovice for the previous billing cycle?

Context

I've been working using Stripe Subscriptions. After talking to the business, they provided the following requirements:

- Monthly Billing Cycle: 1st of Every Month
- Invoice should charge for the previous month's subscriptions
- Product should reflect Monthly Quantity
- Prorate on initial subscription and charge on the next Invoice

Configs I have tried:
- Set anchor at end of month: Invoice gets created from 31st of Oct to 29th of Nov (Due Oct 31st)
- Set anchor at 1st day of month: Invoice gets created from Nov 1st to Nov 30th (Due Nov 1st)
- Playing around with Phases

Cheers!

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases
https://docs.stripe.com/billing/subscriptions/billing-cycle
https://docs.stripe.com/products-prices/pricing-models

What are you working on?
Working on a product that is billed monthly on the first day of every month and create an invoice for the previous month. The Product Quantity must be Monthly for example: 2 Monthly Seats for October.

#

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

Question
Will the resource-based pattern for Stripe requests be deprecated in future gem versions after version 13?

Does api v1 have a sunset period or will it still be supported in upcoming gem/API releases?

Related Request ID(s)
N/A

What have you already attempted?
https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v13

https://docs.stripe.com/api-v2-overview#:~:text=API v1 always returns the,and provide an updated response.

What are you working on?
Our team is looking to upgrade the gem version but we noticed the resource-based request pattern still works in the console and in tests

cursive heronBOT
#

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

Question
Why is it when you create a connected account with india through the stripe connected onboarding page, but from the stripe dashboard you can

Related Request ID(s)
n/a

What have you already attempted?
n/a

cursive heronBOT
#

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

Question
Hi. We want to charge registered users (to our service) a variable amount automatically every week. A user can cancel our service and payments at any time. The need is for automatic recurrent but variable payments. We don't need the Stripe Billing + Invoice service as ours is a simpler requirement. Is this possible with Stripe?

Doc/Guide Links
https://stripe.com/gb/resources/more/how-to-accept-recurring-payments

What are you working on?
n/a

#

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

Code
Payment on Shopify are not working following Stripe update on its connector

Question
Seems recurring payment (saved Credit card) is not working on Shopify since I have updated to the new Strip connector Stripe Card Payments

What have you already attempted?
I have contacted Stripe support but they don't how to fix this

What are you working on?
Ecommerce platform on Shopify

cursive heronBOT
#

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

Question
I'm trying to simulate a subscription renewal to test a local bug. How can I do this and have the renewal invoice automatically attempt payment and send the webhook?

Related Event ID(s)
n/a

What have you already attempted?
We have Stripe CLI running and listening for events (which is working). We created a subscription, went into the dashboard, and simulated the time moving forward a year. We see, what we believe, is the new invoice, but it doesn't look like it automatically attempted to charge the invoice.

What are you working on?
The payment system for givewp.com

#

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

Question
What is the difference between the `charge.refunded` and `charge.refund.updated` events, specifically when the `status` is `succeeded`? We are implementing a refund flow in our app, and upon a successful refund, we trigger another process (a reverse payout). Is there any possibility of a refund failure with either of these events? We are concerned about initiating the reverse payout and then encountering a failed refund.

Related Event ID(s)
charge.refunded, charge.refund.updated

What have you already attempted?
Initially implemented flow with charge.refunded but then moved to charge.refund.updated as we found the later more relevant to our flow.

What are you working on?
Implementing refund flow with a follow up reverse payout.

cursive heronBOT
#

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

Question
I occasionally see Insufficient Funds errors when creating refunds via the API, but when visiting the accounts in question, they are in good standing. Refunding from the UI always seems to work, why does this occur with the API?

Related Request ID(s)
req_n0sHoi1yfYGlwd

What have you already attempted?
Just looking around and seeing if I can work out whats wrong. Some refunds pass, so it doesn't seem to be a problem with the code, but just the API seems to error when it shouldnt

What are you working on?
Sports Platform

#

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

Question
How do I test a payment plan API to ensure the future installments comes out appropriately?

Related Request ID(s)
?

What have you already attempted?
I'm using creating a customer and a price, then converting the checkout to a schedule payment over "x" months.

cursive heronBOT
#

@frigid 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/receipts#:~:text=to that address.-,Automatically send receipts,don't send a receipt.

Question
Do these settings apply to test mode as well? How can i receive receipts for paid invoices automatically emailed to customer? Also similarly, emailing about their credit card expiry

What have you already attempted?
I have created a subscription with customer in test mode. the invoice is paid but no email. then i move the test clock to a month ahead, i get a subscription reminder email but again no email with receipt. finally I also tested a credit card with close expiry date, but i dont get any reminders for expiring card

What are you working on?
developer platform with plans

cursive heronBOT
#

@tough kindle 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/?contact=true&topic=other&redirected=true

Question
I know this is likely not the right forum but I have no other means to communicate to Stripe. I am trying to send an email, to support but I get in a loop of choosing a topic, then trying to send an email and I never get the option to actually email.

What have you already attempted?
I have spend an hour going in a loop, tried various browers and tried to email support and sales directly but to no avail.

What are you working on?
What I really want is to talk to my TAM (Account Manager)

cursive heronBOT
#

@umbral bronze 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: ['us_bank_account'],
payment_method_options: {
us_bank_account: {
verification_method: 'automatic',
financial_connections: {
permissions: ['payment_method'],
},
},
},
invoice_creation: {
enabled: true
},
line_items: [
{
price_data: {

Question
Currently I am using the stripe checkout API to accept an ACH Debit payment, however, I need to be able to support and ACH Credit payment (a push ACH rather than a pull ACH) as major US customers do not typically have support for pull ACH payments. What is the best way to do so?

What have you already attempted?
I have explored ways of implementing this and most things I find online are using the deprecated Sources API.

MY ideal work-flow would be the following:

  1. User check's out, my stripe bank account information is presented to them to initiate the transfer.
  2. User initiates the transfer through their bank account.
  3. Webhook recieves the payment and does the required following actions.
cursive heronBOT
cursive heronBOT
#

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

Question
While a payment is pending, a bank payment for example, can I attach a new default payment to the customer?

If so, what happens?

Doc/Guide Links
https://docs.stripe.com/api/payment_methods/attach

I am using this API to attach a payment method to a customer.

What are you working on?
I am trying not to disrupt a processing payment by attaching a new one.

#

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

Question
I want to test a webhook but I need a specific customer id to come in the event and I cannot trigger the event via CLI to include the specific customer.

Related Event ID(s)
'evt_3QAcoeRpyK8wByBp15uwOsTW'

What have you already attempted?
I have been trying for days now. This should not be that difficult. I am probably missing something very simple. Please help.

What are you working on?
webhook to update a user database on certain events in stripe.

#

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

Question
On my NextJS app I have set up stripe but on the pricing page instead of hardcoding a value of a specific currency, I wanted to fetch like the price of a product in the local currency. Eg. Instead of writing <h1>$9.99 USD</h1> I would like to make it change based on the user's country like <h1>β‚Ή839.69 INR</h1>

Thanks,
Shaurya

Related Request ID(s)
β €

What have you already attempted?
I have tried to use the user's ip address to get their location and then show the price but it isn't working and even if it did work there would be too much converting.

#

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

Question
Hi, I'm making a website for my company and need to accept payments using stripe. I need a payment key so my developer can go ahead and finish setting up the payment gateway. Please advice on where I can find it. thank you

Related Request ID(s)
n/a

What have you already attempted?
,/A

#

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

Question
I currently have a discord server that I plan to monetize with a subscription tier. I am looking for a direct Stripe to Discord integration that allows me to connect MY Stripe account, to my server. I will be looking for role assignments and removals, as well as discount codes, and different SKU's.

Doc/Guide Links
I dont have any guides

What are you working on?
Building a premium Discord Server

cursive heronBOT
#

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

Question
I am setting up a stripe connect account to facilitate transactions, but i am also charging a subscription fee under the same legal entity. should i set up two different stripe accounts, one to act as the stripe connect platform account and one for standard subscription revenue? or is it fine to just do it under the same stripe account?

Doc/Guide Links
https://docs.stripe.com/connect,
https://docs.stripe.com/billing/multi-entity-business,
https://docs.stripe.com/get-started/account/orgs/setup,
https://docs.stripe.com/connect/subscriptions

What are you working on?
Im building a voice ai powered ubereats-like application where i take orders for restaurants over the phone and facilitate payments to the merchant.

#

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

Code
const session = await stripe.checkout.sessions.create({
success_url: successUrl,
locale: lang,
customer: customer.id,
payment_method_types: ["card"],
// automatic_tax: {
// enabled: true,
// },
line_items: [
{ .........

Question
I am currently using Stripe in our web app, and we create sessions with Stripe's APIs. When I create my session component with the product information, I am unable to set a parameter to automatically calculate the taxes.

This line

automatic_tax: {
enabled: true,
},

give me an error.

Thanks

What have you already attempted?
We have a sale representer redacted <redacted> and he said I can contact support here in discord.

#

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

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

Question
i want to support multiple currencies through stripe. i might wanna have different price points for different locations (not a direct conversion), and it'd be best to get the currency through a dropdown list that shows the available countries. i'm creating a paymentintent in the backend and i'm not sure how to integrate multiple currencies into my workflow

Related Request ID(s)
dashboard > product catalog > price under pricing

What have you already attempted?
i tried adding a currency parameter to the backend when creating paymentintent and passing a currency in through the client. however, the stripe checkout bar doesn't show at all. i looked at adaptive pricing, but it looks like it's only for payment sessions and not paymentintent (what i'm using).

What are you working on?
i'm building a competition registration app for a martial arts app. i want to have the user pay for the events they want to participating. using expo, stripe, and firebase.

cursive heronBOT
#

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

Question
What measures can be taken to prevent abuse of the refund policy, specifically instances of customers subscribing and then requesting refunds and cancelling their subscription within the first month on a repetitive basis?

Doc/Guide Links
https://support.stripe.com/topics/refunds

What are you working on?
A subscription system for a Discord app.

#

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

Code
```
<div>
<div>
<h1>Fergus Pay</h1>
<p>Embedded Onboard WIP</p>
</div>
<ConnectComponentsProvider
connectInstance={stripeConnectInstance}
>
<ConnectAccountOnboarding
onExit={() => {
console.log('The account has exited onboarding')
}}

```

Question
What settings/configuration am I missing to get the onboarding component to load the assets from correct context?

What have you already attempted?
I've reviewed the getting started docs for any missing setup steps.

What are you working on?
Integrating Embedded Onboarding React components

cursive heronBOT
#

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

Question
I am currently using the checkout API and allowing my customers to initiate a Bank Transfer. The customer is being correctly re-directed to the "hosted_instructions_url" page but there is not clear way for the customer to return back to my website afterwards.

Doc/Guide Links
https://docs.stripe.com/payments/bank-transfers/accept-a-payment?payment-ui=stripe-hosted&invoices=with&testing=stripe-cli&country=US

What are you working on?
Working on a checkout flow for large, one-off transactions which are then distributed to connected accounts

cursive heronBOT
#

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

Question
I was wondering if there are any type definition provided for `API ENUM`s of payment methods in the `@stripe/react-stripe-js` package.
From my investigation it seems like it is just defined as array of string for `payment_method_type` on payment element.
Ideally, I wish to have all possible API ENUM that is controllable by Stripe dashboard.

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/payment-method-support#bank-redirects-api-support

What are you working on?
Integrating Payment Elements to a Typescript React Web

#

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

Question
How can I disable instant payouts for connected accounts on my platform with Stripe Connect? Can I specify this during the account creation call to the API?

From what I can tell, if a "standard" connected account issues themselves an instant payout, the 1% fee falls to the platform. I want to prevent that from happening. How do I disable instant payouts for my connected accounts?

Related Request ID(s)
n/a

What have you already attempted?
I've read through the documentation extensively. I've also checked the Stripe Dashboard's Connect settings, but the "Instant Payouts" section doesn't allow me to disable instant payouts.

What are you working on?
An application that will pay out users for something sold off-line. Connected accounts will not accept payments directly.

#

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

Question
I want to take payment from a react element and use it to pay for a subscription that I am creating with `stripe.subscriptionSchedules.create`.

I don't see this in the docs, and what the AI bot told me seems wrong. It told me to create payment method, attach to customer, set as default, and let the subscription use that. That seems wrong because you need to know the payment method type to use the create payment method endpoint, and the whole point of the react element seems to be to eliminate manual handling. I don't think it sends that info. Additionally, the "save payment method" option just creates an optional box. Not what we need.

What is the correct way to do this?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&lang=node&client=react#save-payment-methods
https://docs.stripe.com/api/payment_methods/create
https://docs.stripe.com/api/payment_methods/attach

What are you working on?
A mid-term rental application

cursive heronBOT
#

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

Question
Hi team, i have issue related to api `POST
/v1/accounts/:id` when try to update a connected account, receive message "This application is not authorized to edit the parameter 'email'."

Related Request ID(s)
None

What have you already attempted?
I call from my golang app

#

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

Question
Is there any way to limit customer balance automatic reconciliation to the 'domestic_wire_us' network, or otherwise limit the usage of 'ach'?

Related Request ID(s)
No specific requests

What have you already attempted?
I've looked for documentation surrounding specifying allowed networks in the PaymentIntent and FundingInstructions API, as well as options in the Stripe dashboard, to no avail.

What are you working on?
I would like to use Stripe's automatic reconciliation logic, but it would be great if we could restrict that usage to 'domestic_wire_us' and 'ach' to manual.

#

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

Question
I can't set a external reference on orders.

Related Request ID(s)
API

What have you already attempted?
I tried to set it on metadata, doesn't work too.

What are you working on?
E-Commerce

#

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

Question
it looks like intentConfiguration requires a mode object which requires the payment amount and currency. however, i want to select this only after clicking checkout.

Related Request ID(s)
https://docs.stripe.com/payments/accept-a-payment-deferred?integration=paymentsheet > collect payment details (default)

What have you already attempted?
i'm following this and i can open up the stripe checkout bar on react native. yet, i want the user to select products and choose a price only in the end so that they get charged that amount after clicking checkout.

cursive heronBOT
#

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

Question
Why does stripe_dashboard="none" and requirement_collection="stripe" (default for connected account embedded onboarding) cause the error:

"Stripe must be liable for negative balances or refunds and chargebacks"

But if the dashboard is set to "express" then it lets my platform be liable (no error)? I wish to disable the express dashboard, and have embedded components be the only stripe interface for connected accounts.

Related Request ID(s)
NA

What have you already attempted?
errors:
account = stripe.Account.create(
country="US",
controller={
"stripe_dashboard": {
"type": "none",
},
"fees": {"payer": "application"},
"losses": {"payments": "application"},
},
tos_acceptance={"service_agreement": 'full},
)

no error:
account = stripe.Account.create(
country="US",
controller={
"stripe_dashboard": {
"type": "express",
},
"fees": {"payer": "application"},
"losses": {"payments": "application"},
},
tos_acceptance={"service_agreement": 'full},
)

#

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

Question
#REOPEN - Hi team, i have issue related to api `POST
/v1/accounts/:id` when try to update a connected account, receive message "This application is not authorized to edit the parameter 'email'."

Related Request ID(s)
none

What have you already attempted?
none

cursive heronBOT
#

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

Code
No code, stripe hosted payment link: https://buy.stripe.com/9AQ28B4PjcRI72U3cd

Question
I have apple pay enabled, as well as having my domains verified and enabled. but apple pay still doesnt show as a payment option.

What have you already attempted?
the hidden .well-known file is good and verified, even though i dont think that even matters for stripe hosted payment links?

What are you working on?
ai plushies for kids www.magical.toys

#

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

Code
Using Stripe Payment Element When I am Not Checking the Checkbox to save card for future usage then also Payment is attaching to Customer

Question
Using Stripe Payment Element When I am Not Checking the Checkbox to save card for future usage then also Payment is attaching to Customer

What have you already attempted?
Using Stripe Payment Element When I am Not Checking the Checkbox to save card for future usage then also Payment is attaching to Customer

What are you working on?
Using Stripe Payment Element When I am Not Checking the Checkbox to save card for future usage then also Payment is attaching to Customer

#

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

Question
We are using Stripe Payment forms. Is there an option to enable a checkbox that a customer can toggle on or off to elect to have their credit card information saved?

Currently, it is automatically storing the credit card details without their consent.

Doc/Guide Links
All payment forms related stripe docs

What are you working on?
Stripe payment forms

#

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

Question
Webhook is not triggered when no cost order

Related Event ID(s)
evt_1QAmasGEZcPk1AQr4D9KlG17

What have you already attempted?
Tried Local webhook listener
it's not getting fired. Priced products are working fine

cursive heronBOT
#

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

Question
Is there any API to update notification method of a source in batch? We want to disable notification at Stripe

Related Request ID(s)
N/A

What have you already attempted?
Used update source API for single record. Would like to do it for 25k records

#

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

Question
I want to onboard the user so i have created the connect account and after that generating the account link with return and refresh url and so it will generate the link to redirect to stripe but while on that page as per that documentation the stripe will return that user anytime if the user has successfully existed but i want to do like it will return to that url only if the details and account are active also on that page there is one return to project option on clicking on that it will be redirecting to the return url i do not want that

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Working on the Ride Sharing Application

#

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

Code
useEffect(() => {
if (selectedProduct && selectedProduct.priceId) {
fetch("/api/server", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ items: [{ id: selectedProduct.priceId }] }),
})
.then((res) => {
if (!res.ok) {
throw new Error("Network response was not ok");
}
return res.json();
})
.then((data) => {
console.log("Pa

Question
I want to send the productId, but I can't send it.

What have you already attempted?
I have started creating the product page, but I still can't send it to Stripe. I want to send the products I purchased for payment.

What are you working on?
I will create a subscription product page for monthly and yearly plans.

#

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

Code
StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;

var service = new PaymentIntentService();

var requestOptions = new RequestOptions
{
StripeAccount = stripePaymentRequestViewModel.AccountKey
};

var options = new CustomerCreateOptions
{
Name = stripePaymentRequestViewModel.FullName,
Email = stripePaymentRequestViewModel.EmailId,
};

var service1 = new CustomerService();
var customer = await service1.CreateAsync(options, requestOptions);

if

Question
save card details for future usage

What have you already attempted?
want to save card details for future usage

cursive heronBOT
#

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

What did you expect to happen?
Payment element used as a payment method. I was hoping that the rendering of the card layout would be free of visual problems.

What actually happened?
On some client sites, the place holders are not injected into the inputs and the layout is deformed. It's strange because it happens on some sites and not on others, and in the same browser (google chrome). On the other hand, everything is fine in Firefox.

Reproduction Steps
There are no steps to take.

Question
Have these strange behaviours ever been reported? Do you have any idea what it might be?

What are you working on?
Payment Elements - Cards, GPay, APay

#

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

Question
In `customer.subscription.updated` event how to get the coupon/discounts applied value?
```
"discount":
null,
"discounts": [],
```

Related Event ID(s)
evt_1QAn0ZJrW4qoE0zy9ZoiraE2

What have you already attempted?
We have built a credit module, so each time when a user subscribe to a plan, and if they've a credit then we create a coupon in stripe along with the value of subscription amount from our internal credit module. But on this event `customer.subscription.updated` we are not getting the discount value. We have tried manually from Stripe dashboard to check if there is anything we are missing in integration but the result was same even with manual process.

What are you working on?
Creating Subscription for cloud computing platform.

#

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

Question
i want create one-time product and charge customer by invoice

Related Request ID(s)
req_9ozNpm5mVpkJAR

What have you already attempted?
we are collecting payments with strip charge and payment intents

What are you working on?
want to send charge by invoice from customer

#

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

Question
Is there any API to update notification method of a source in batch? We want to disable notification at Stripe

Related Request ID(s)
N/A

What have you already attempted?
curl --location 'https://api.stripe.com/v1/sources/<source_token>'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: Basic <api-key>'
--data-urlencode 'mandate%5Bnotification_method%5D=manual'

#

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

Code
Hello everyone, I am trying to implement payments through SEPA. I am using the IbanElement component and sending the data using stripe.createPaymentMethod('sepa_debit'). When working with cards, the stripe finds cardElement, and everything works fine. However, with SEPA, I receive the error: "Could not find an Element that can be used to create a PaymentMethod of type: sepa_debit", even though everything is wrapped in <Elements />, as per the documentation.

Question
could you advise if there is a way to retrieve ibanElement, similar to how it works for cards? Or, is there a way to extract the IBAN number from ibanElement so I can send the request in this format: ('sepa_debit', sepa_debit: {iban: iban_number}, billing_details: {name: 'name', email: 'email'})?

What have you already attempted?
this worked when using createSource. I also updated 'stripe-js' and 'react-stripe-js' to their latest versions, but the <Elements /> component is imported from 'react-stripe-elements'

What are you working on?
migrating to the payment methods

cursive heronBOT
#

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

Code
The example:
The buyer will make a payment that covers both the listing price and the shipping cost.
For example, if the listing price is $100 and the shipping cost is $25, the buyer will pay a total of $125.
From the $100 listing price, the seller should receive $90 (after deducting a 10% application fee: $100 - $10).
The shipping account should receive $25 to cover the shipping cost.
The platform will collect the $10 application fee.

Question
I’m using Stripe Standard Connect to manage connected accounts and need to implement a payment process that splits funds between multiple parties. I’m looking for a solution where the funds are split directly between the connected accounts, without passing through my platform account. My platform should only collect the application fee. Above is an example, in Code.

Could you please advise on how I can implement this logic? Should I switch from Standard to Express Connect?

What have you already attempted?
After research, I found that I can create a PaymentIntent with a transfer group to charge $125 from the buyer. Then, I can create a Transfer object, setting the shipping_account_id as the destination for the $25 shipping charge (Separate Charges and Transfers).

However, using a transfer group requires the funds to first land in my platform's account before making transfers to the connected accounts, which doesn’t suit my needs.

What are you working on?
I’m working on a marketplace.

cursive heronBOT
#

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

Code
stripe.onSetupResult(
requestCode,
data,
object : ApiResultCallback<SetupIntentResult> {
override fun onSuccess(result: SetupIntentResult) {

            }

            override fun onError\(e\: Exception\) {
                
            }
        }
    \)

Question
We are facing an error when create a token with the card requires authentication.
It is happening on Android devices, and on sandbox environment.

What have you already attempted?
We have reviewed our code and make sure that we did not change anything.
Please also notice that this issue just happend few hours ago. It still worked fine yesterday.

#

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

Question
Hello,

as part of our travel marketplace, we create group transfers. Once the travel date has been set, we transfer the funds to the seller's online account.

However, despite the transfers set up on a daily basis, the seller has to wait 7 days to be able to transfer the funds to his bank account (even if the customer's original transaction is older).

Is it possible to reduce this minimum time? Bearing in mind that our platform guarantees all disputes?

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

What are you working on?
Instant payout

cursive heronBOT
#

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

Question
Is it possible to start a free trial of a specific product with a customers credit card, and once the trial ends move them to a new product automatically? if so how can I accomplish this?

Related Event ID(s)
free trial start end on new product

What have you already attempted?
new trial on product

What are you working on?
free trial users are abusing premium free trial features wondering if free trial can have limits vs when they are actually on the plan

#

@rigid 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/apple-pay

Question
Why does apple pay button not show up in this page?
https://test.registration.iframes.connfair.com?language=de&apiKey=994604b7-384c-41cd-8b55-01457b96a72f&eventId=6dd5e7b8-1c08-402e-a83e-b3d1fcb4a33f

What have you already attempted?
I've tried adding the domain and verify it in the dashboard. It has the green enabled tag on it

What are you working on?
I want to have apple pay option in payment element

#

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

Question
i need to creat one-time product with Apiand collect payment with invoice from customer

Related Request ID(s)
req_9ozNpm5mVpkJAR

What have you already attempted?
creating product but it's recuring and showing on catalog

What are you working on?
working on accept one-time payment with invoice

cursive heronBOT
#

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

Question
We're using the Stripe Terminal and receiving an odd error, but intermittently.

When calling `terminal.connectReader` we receive the following error:

Parameter 'req_id': Expected type Integer, got type Float
Caller: /deploy/pay-server/current/lib/terminalsimulator/endpoint/simulate.rt
Definition: /deploy/pay-server/current/lib/termi

Related Request ID(s)
none

What have you already attempted?
Checking all code configuration - all appears OK and like I say, the error only happens every 1 in 30 tries

#

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

Question
We are currently setting up BACS direct debit and are getting questions from our legal team about the emails that will be sent to customers. Stripe appears to send emails automatically for us, but its not clear what these look like, what they contain etc.

The docs also indicate that these emails will not be sent in test mode - why is this? It would be great to have our test mode (or sandbox) hooked up to something like MailTrap so that we can actually test out what emails our customers will get before we enable it in Live. Is there a good way to get this level of email visibility?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/bacs-debit

https://docs.stripe.com/payments/bacs-debit/email-customization?locale=en-GB

What are you working on?
Enabling BACS

cursive heronBOT
#

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

Question
Creating a platform that will connect both existing and new accounts. Regarding pre-existing accounts, is the OAuth onboarding for direct accounts still the best way to connect? Should that also be used for new accounts?

If an account is going to switch from another platform to our platform and wants to continue using their existing payment methods, what should be taken into consideration? I understand that it can only be connected to a single platform, so they'll need to disconnect first, but aside from that?

Doc/Guide Links
https://docs.stripe.com/connect/oauth-reference
https://support.stripe.com/questions/disconnect-your-stripe-account-from-a-connected-third-party-platform

What are you working on?
Platform that creates mandates & collects direct debit payments

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide#query-reported-usage

Question
How can I get the current value of a given meter, in this payment period (in my case per month)

What have you already attempted?
var options = new Stripe.Billing.MeterEventSummaryListOptions
{
Customer = tenant.CustomerId,
StartTime = DateTimeOffset.Now.AddMonths(-1).UtcDateTime,
EndTime = DateTimeOffset.Now.UtcDateTime,
ValueGroupingWindow = "day"
};
var service = new Stripe.Billing.MeterEventSummaryService();

    StripeList<Stripe.Billing.MeterEventSummary\> meterEventSummaries = await service.ListAsync\(
        \_meterId,
        options
        \);
#

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

Question
Continuing with previous thread:

When a Stripe Setup Intent is created to collect payment details for a user to set them up for future use, are the payment details held by Stripe or do we have to store the details?

Doc/Guide Links
https://discordapp.com/channels/841573134531821608/1296140318009462795/1296142087170953216

What are you working on?
An AI platform for developers

cursive heronBOT
#

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

Code
Can we hold amout in stripe for certain period of time

Question
as our customers are not paying us on time so can we hold a certain amount for specific period and if they don't pay us for our service use it as a security deposit

What have you already attempted?
none

#

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

Question
At the trigger I can return the issuer information, however when I do at the code it returns null

Could you help me to return the payment method information?
evt_1QAra51njmFqhzph6XTtFMqO

Related Event ID(s)
evt_1QAra51njmFqhzph6XTtFMqO

What have you already attempted?
I am using the Java SDK API, but it is returning null:

"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "pass"
},
"country": "US",
"description": null,
"display_brand": "visa",
"exp_month": 10,
"exp_year": 2025,
"fingerprint": "5HEtFZvMGkYtkqh2",
"funding": "credit",
"generated_from": null,
"iin": null,
"issuer": null,
"last4": "4242",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
}

#

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

What did you expect to happen?
Visit the developer insights page to migrate SEPA source to PaymentMethod API and be able to load the page

What actually happened?
Developer Workbench insights page keeps loading and sometimes shows a message that we've been alerted

Reproduction Steps
Login > visit Developer Workbench insights https://dashboard.stripe.com/workbench/insights/.
page keeps loading and sometimes shows a message that we've been alerted

Question
Developer Workbench insights page keeps loading and can't land to that page, is there a workaround? timeline of a fix if any?

#

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

Question
I am migrating project from one stripe account owner to another one.
In my project I have stripe (node.js) version 12.2.0, and in code I initialize StripeAPI with version 2022-11-15. On new stripe account dashboard when I am creating webhook I can't select that API version.

If I create in dashboard webhooks with version 2024-06-20 and keep my version 12.2.0 of package and StripeAPI with version 2022-11-15 will that be an issue?

Related Event ID(s)
x

What have you already attempted?
Came here first

cursive heronBOT
#

@jovial kestrel pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected 3D secure window to appear on Android

What actually happened?
Payment fails with this error {"error": {"code": "Canceled", "declineCode": null, "localizedMessage": "The payment flow has been canceled", "message": "The payment flow has been canceled", "stripeErrorCode": null, "type": null}}

Reproduction Steps
- Test payment on test environment
- Insert card details 4000 0000 0000 3220 to test 3D secure payment
- Tap on pay inside stripe payment sheet

Question
I have "@stripe/stripe-react-native": "^0.35.0" in my React Native project. I was testing payments via 4000 0000 0000 3220 on Android and it fails. On iOS it is working as expected, the same codebase.

cursive heronBOT
cursive heronBOT
#

@modern flax pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to use a slack webhook to send messages in slack whenever a customer cancels their subscription. I'm not sure what events types I should be sending

Related Request ID(s)
I don't see the events I selected in the logs when I test cancelling a subscription

What have you already attempted?
I've tried these two:
customer.subscription.deleted
subscription_schedule.canceled

But nothing seems to fire.

#

@upbeat panther pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using rails + stripe API. Trying to change billing date. There is no way of changing it to any date?
I am keep facing limitations like: billing_cycle_anchor cannot be later than next natural billing date for plan.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/billing-cycle

What are you working on?
using stripe subscriptions and want to change payment date to any date in the past of future

#

@somber nebula pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I know this might not be completely supported by Stripe, but... In the US, in our line of business, we should collect sales taxes based on the service's location (address) and not the customer's address (as per usual).

We will have multiple locations in different states and thus different tax rates (and multiple products), too. We are ready to use Stripe Tax's automatic tax but can also figure out something else if necessary.

Any suggestions on how to manage this?

Doc/Guide Links
https://support.stripe.com/questions/taxes-on-stripe-fees-and-products-for-businesses-based-in-the-united-states
https://docs.stripe.com/api/payment_intents/create
https://docs.stripe.com/api/tax/calculations

What are you working on?
Monthly subscription service with physical rentals

#

@hidden tendon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to create via the API a pending negative invoice line that will be applied to the next invoice?

Related Request ID(s)
none

What have you already attempted?
I knew it was possible from the dashboard but I cannot do it anymore.

#

@north token pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Request failed, status=400, body={
"error": {
"message": "9:Because your account is a Connect platform, you cannot choose the public distribution at this time.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_brHq6oAfFjtGiF?t=1729168728",
"type": "invalid_request_error"
}
}

Question
Hi there,
I'm encountering an error when I attempt to run the command "stripe apps upload"
I have Stripe Connect set up on my account, but I no longer need it. I require the distribution type to be public.

Thanks for your help!

What have you already attempted?
My goal is to create a Stripe app that allows API calls on behalf of my users. I want to synchronize Stripe transactions with my application.

What are you working on?
Booky.biz a bookkeeping software

#

@cold bear pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i have created a webhook for [invoice.payment_succeeded,invoice.payment_failed] , now when my payment is getting failed due to card decline reason, i am not receiving webhook event in my api

Related Event ID(s)
req_NbvKISwM6jgJC0

What have you already attempted?
i want to trigger card decline event via webhook

cursive heronBOT
#

@weary stone pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Coupon Invoice Removing Itself From Customer

Related Request ID(s)
customer_id cus_R2yEAI7glqecaT, event_id evt_1QAsHxEk6sr5GyDhtdtei23e

What have you already attempted?
Hello-- it claims in the logs that the coupon we apply is being removed, despite the customer continuing to show up in the list of people who have redeemed the coupon. Is there a reason for the logs to imply the coupon has been deleted (we are not deleting the coupon)?

#

@lofty walrus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, I have monthly subscriptions enabled in Stripe. Invoices are issued monthly and most of them has field frequency set to "monthly" but some of them has empty frequency field. What could be the cause of this problem?

Related Request ID(s)
Look in -> Dashboard -> Invoices

What have you already attempted?
I have tried to look if these invoices with empty field are properly connected with subscription and if the was issued at the proper time, but everything looks fine.

#

@sweet gyro pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// call in react-native
const { error } = await initPaymentSheet({
customerId: paymentSession.customerSession.customerId,
paymentIntentClientSecret: paymentSession.customerSession.clientSecret,
merchantDisplayName: account?.company?.name || "Class Manager",
style: "automatic",
returnURL: addPaymentMethodReturnUrl,
allowsDelayedPaymentMethods: true,
});

Question
I've integrated stripe into our web (react) and mobile (react-native) apps using the expected libraries. I am able to succesfully capture intents and take payments . The web app works as expected with me providing a clientSecret and customerSessionClientSecret to the <Elements /> component. Does the initPaymentSheet call on native require something else to retrieve saved methods? perhaps the ephemeralKey (not required on web)

What have you already attempted?
see question.

What are you working on?
Web and Mobile app where we take payments

#

@frank wraith pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
No code to share as i have a question

Question
With iOS18 released and macOS Sequioa apparently we're able to use any browser to let users offload onto their phone using Apple Pay, is this implementation working in Stripe?

What have you already attempted?
We use the payment elements.

#

@wet gulch pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Dashboard Prorations on Subscriptions setting the billing anchor to the start of the month on a Product with a Monthly price to take midnight of the selected day as the starting point for the calculation of usage.

What actually happened?
The value of the Invoice for the proration takes into account the hour at which the Subscription is started and doesn't allow you to select a start time, only the day.

Reproduction Steps
- Start a Test Clock
- Move the time to Oct 18 at 12:01 PM
- Start a Subscription for a $90/month Product with Qty 1
- Set the Anchor to "1st of next billing cycle"
- Check "Prorate Charges"
- Amount due will be $39.19
- 39.19/(90/31) = 13.498 days

- Move the time to Oct 19 at 12:01 AM
- Do the same Steps
- Amount due will be $37.74
- 37.74/(90/31) = 12.999 days

Question
Through the Dashboard, is there a way to set Subscriptions to charge for the full day on Prorations regardless of the time at which the Subscription started?

Example: Subscription started Oct 18 at 12:01 PM would calculate proration based on Oct 18 midnight.

Using the API this would be resolved using the backdate_start_date property on "Create a subscription"?

What are you working on?
A recurring "Per-seat" pricing model that is billed Monthly but can't bill for less than full days worth of a product.

cursive heronBOT
#

@timber fossil pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there, we're a company with over 300K ARR. We want to migrate from Substack billing to Stripe billing. Stripe will become our only billing provider.

As a first step, we want to keep the majority of our prices / products active (not including specific Substack billing features - which we will obviously remove).

We're aware of other companies having already proceeded with this migration. Would you be able to share best practices and things to look out for ?

Is it possible to cut Substack without cancelling existing subscriptions on Stripe ?

Doc/Guide Links
- [**Stripe Billing migration toolkit**](https://docs.stripe.com/billing/subscriptions/import-subscriptions-toolkit)Β orΒ [**Stripe APIs**](https://docs.stripe.com/billing/subscriptions/import-subscriptions)Β to migrate your existing subscriptions to Stripe Billing. This will import subscriptions from third-party systems, in-house systems, or other Stripe accounts.
- [**Modify subscriptions API**](https://docs.stripe.com/billing/subscriptions/change)Β to adjust subscription details like pricing, billing dates, discounts
- [**Build a subscriptions integration**](https://docs.stripe.com/billing/subscriptions/build-subscriptions)

What are you working on?
Substack to Stripe billing

#

@fathom lily pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I export transactions from the Stripe dashboard, the ID I get starts with `py_`. When I initiate a charge through the API, the resource I get back has an ID that starts with `ch_`.

I don't have any reference to the `py_` ids exported from the dashboard.

What's going on and how do I reconcile those IDs?

Related Request ID(s)
?

What have you already attempted?
n/a

cursive heronBOT
#

@shut steeple pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const sessionCreatePayload: Stripe.Checkout.SessionCreateParams = {
ui_mode: 'embedded',
mode: 'payment',
payment_method_configuration: pmc,
billing_address_collection: 'auto', //or auto need to know
customer: stripeId,
line_items: [
{
quantity: 1,
price_data: {
currency: 'eur',
unit_amount: round(Number(price * 100), 2),
product_data: {
name: t('profile:one_time_payment.item'),
},
},
},
],

	payment\_intent\_data\: {

Question
i'm going to create a checkout session in order to allow my user to pay an outstanding balance, so the payment method configuration is enabled to support all the cards and Bank transfer, so i cannot configure the session as 'off_session' otherwise i loss for example the bank transfer, i want to know if is possible to save only the cards to the user to perform an off session later, i kind 'off_session_if_possible'

What have you already attempted?
configure off_session

#

@warped finch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var paymentElementOptions = {
layout: 'accordion',
paymentMethodOrder: ['card', 'apple_pay', 'google_pay', 'amazon_pay'],
defaultValues: {
billingDetails: {
name: ''
}
},
fields: {
billingDetails: 'auto'
},
wallets: {
applePay: 'auto',
googlePay: 'auto'
}
};

Question
hello, I'm trying to integrate amazon pay but I don't see the button, I see only google pay. I have already enabled the service in the stripe panel and everything seems ok. What's wrong?

What have you already attempted?
I already tried everything I found in the documentation

cursive heronBOT
#

@winter magnet pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
In route.ts:

const accountSession = await stripe.accountSessions.create\({
  account\: accountId,
  components\: {
    account\_onboarding\: {
      enabled\: true,
    
    },
  },
}\);

-----

Front end component:

return (
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectAccountOnboarding onExit={() => {
console.log('onExit');
}} />
</ConnectComponentsProvider>
);

Question
I am trying to set up embedded account onboarding in my next.js app. The actual onboarding works, but the issue is that the form is not embedded - when I click the button on my component to start onboarding, there is a pop-up instead of the forms rendering in my app, and my browser is on a different link for the forms. Additionally, the embedded onboarding was blocked when I had my adblocker enabled. How do I make the component render in my app and work with adblock?

What have you already attempted?
I have tried setting the 'appearance' field on my loadconnectandinitialize instance, but both options, (drawer and dialog) do not seem to work and both cause the pop up instead of in-app rendering.

What are you working on?
Next.js App (app router)

cursive heronBOT
#

@snow chasm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello. If I void an open invoice (using the API, but I suppose also via the dashboard), and it had a customer's Stripe balance applied to it, will that balance go back to the customer?

e.g. Let's say the customer has a subscription to a $20/month product that they pay for at the end of their month of usage. If that customer, at the beginning of the month, has $15 in their Stripe credit balance, I understand that that $15 is applied to that open $20 invoice, reducing the amount they need to pay to $5 for that month. If I void that open, unpaid invoice (with $15 of that customer's credit alread

Related Request ID(s)
N/A

What have you already attempted?
I've read through the documentation on invoices and user credit balances, and the Stripe API reference on invoices. I found no information that answers this question.

#

@honest vale pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
elements.update({mode: recurringItems ? "subscription" : "payment",
setupFutureUsage: recurringItems ? "off_session" : "on_session",})

Question
"message": "The value provided for setup_future_usage (on_session) is not supported for link.",

What have you already attempted?
My company allows both subscriptions and one time purchases. I noticed that the error. We have the Link Authentication element and link payments enabled. Is it impossible to have link operate with one time payments or am i reading the error incorrectly
?

What are you working on?
a checkout page

#

@manic flicker pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to setup a subscription business model where you pay for a fixed price plan for licensed access, but additionally are metered for usage throughout the billing period.

What isn't obvious to me, how do you attach usage billing to the subscription? I created a subscription with all products (flat rate product, and 3 metered products), but in the initial invoice it shows that the user is being charged $0 for usage products for the cycle. It makes sense that it is 0, but the date range showing that it is 0 for the 30 day range (Oct 17-Nov16) is what makes me nervous....

Is this right? I want to charge the flat rate now, and metered with next months flat rate...

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#credit-burndown-model

https://www.stripe.training/stripe-billing

https://docs.stripe.com/billing/subscriptions/overview#subscription-lifecycle

https://docs.stripe.com/invoicing/overview#invoice-lifecycle

https://docs.stripe.com/billing/subscriptions/designing-integration#metered-billing

https://docs.stripe.com/products-prices/pricing-models#usage-based-pricing

https://docs.stripe.com/billing/subscriptions/multiple-products#billing-periods-with-multiple-prices

What are you working on?
SaaS Video Software

#

@foggy vault pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"req_vYEsGfWnE1VZ4J"

Question
Can I use card_present stored paymentMethodId to again do a payment

What have you already attempted?
Other than "card_present" other payment method types are working

What are you working on?
Basically In my application, I am handling subscription manually meaning I just store customerId and paymentMehtodId and when time comes for payment, I use them

#

@vapid solstice pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await _invoiceService.UpdateAsync(invoice.Id, new InvoiceUpdateOptions
{
CustomFields = new List<InvoiceCustomFieldOptions>
{
new () { Name = "My CustomField", Value = myVariable }
}
});

Question
Is there a way to dynamically populate a custom field for Invoice PDF before it gets generated and sent to user?

To give more context, user can open checkout session for a particular product in order to subscribe to it. If subscription is successful, I need to somehow pass ID of that product to the invoice PDF user will get. Also, for every next invoice each billing period, I need to have that Product ID in the invoice shown.

What have you already attempted?
I was thinking that if I listen for invoice.upcoming event, I will be able to update that upcoming invoice with Custom fiel, however that event is not providing me an ID of the upcoming invoice. Also if I listen for invoice.created or invoice.paid events, status of the invoice is not anymore in draft and Stripe does not allow editing invoice in other stete.

What are you working on?
CMS system where user can subscribe to various products.

cursive heronBOT
#

@languid gate pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
2024-10-17 18:19:08 --> customer.created [evt_1QAwPnJB01I21rynfafB4lng]
2024-10-17 18:19:27 <-- [200] POST https://localhost:7095/api/Payment/webhook [evt_1QAwPnJB01I21rynfafB4lng]
2024-10-17 18:23:10 --> payment_intent.succeeded [evt_3QAwTeJB01I21ryn01iFco54]
2024-10-17 18:23:10 --> payment_intent.created [evt_3QAwTeJB01I21ryn0LKKIAPA]
2024-10-17 18:23:14 <-- [200] POST https://localhost:7095/api/Payment/webhook [evt_3QAwTeJB01I21ryn01iFco54]
2024-10-17 18:23:17 <-- [200] POST https://localhost:7095/api/Payment/webhook [evt_3QAwTeJB01I21ryn0LKKIAPA]

Related Event ID(s)
evt_3QAwTeJB01I21ryn0LKKIAPA evt_3QAwTeJB01I21ryn01iFco54 evt_1QAwPnJB01I21rynfafB4lng

What have you already attempted?
Trying to relog, manually debug what is happening -> happend prior so no real idea what the issue might be.

What are you working on?
Saas

cursive heronBOT
#

@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/connect/hosted-onboarding#create-account

Question
When using hosted onboarding for connected accounts who do not have access to the Stripe Dashboard. What happens if the email entered is associated with a connected account or an existing Stripe account?

What have you already attempted?
I went over the doc but could not find clarification.

What are you working on?
Connect Custom - no Stripe Dashboard access - Destination charges - Hosted Onboarding

#

@velvet mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, i am trying to add an item to an existing subscription but encounter errors.
I pass the subscription_id and line_item

$response = $stripe->subscriptions->update(
order['current_subscription_id'],
[
'items' => [
[
'price' => $product_price_id,
'quantity' => 1,
],
],
'proration_behavior' => 'always_invoice',
]
);

however when I try and get the client secret to pass back I get an internal error:

$status['clientSecret'] = $response->latest_invoice->payment_intent->client_secret;

any ideas?

Related Request ID(s)
req_csyZqGjiaG2MUX

What have you already attempted?
Im confused because I am passing the correct sub_id:
sub_1QAwaXKnxJnfLFNQ12ysLb0D

What are you working on?
migrate braintree to stripe

#

@broken crater pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are a platform with many connected accounts.

When retrieving the list of payment_method_configurations for a connected account, is there a reliable way to know what is the default configuration?

Related Request ID(s)
req_rHPF6fLTqH9VwX

What have you already attempted?
A pmc has an is_default flag, but there is almost always more than one configuration with `is_default: true`.

In production, usually one of them is a child configuration and one is not. Is this a reliable heuristic to determine the "true" default?

I also read the documentation for this endpoint: https://docs.stripe.com/api/payment_method_configurations/list

#

@dreamy pike pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can use usage based per tier graduated AND per package? The idea is we tracking the duration in millisecons in the meter and the user will pay in minutes, at the moment i can only use per tier or per package ( tier we will use for free minutes )

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models

What are you working on?
billing per usage in minutes duration

#

@umbral thunder pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to test bank payments in test mode for lower environments like dev? Since bank payments can take days, I want to be able to tell when a bank payment is processing and trigger other code to run.

Related Request ID(s)
none

What have you already attempted?
I've searched the logs and test bank payments but haven't found what i'm looking for.

What are you working on?
I want to display a message to customers when a payment is processing, and I would like to test it in a dev environment first.

#

@snow chasm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've been following the advice in the #hakeem_invoice-void thread to use Stripe test mode to verify my assumptions about credit note and Stripe credit balance logic. I've noticed that after I issue credit notes to refund an invoice, another credit note of $0.01 gets applied to the customer's balance, with "Tax" as the reason. Why is this? The tax is included in the full amount already refunded to the customer, and $0.01 is not the tax amount paid by the customer either. Where did this come from, how can I prevent it, and where can I learn more?

Related Request ID(s)
req_CdHz3tCCCwrPLY

What have you already attempted?
I've retried the request and searched through the documentation for explanations of this behavior.

cursive heronBOT
#

@ruby walrus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are attempting to store the mandate ID for US Direct Debit payments that are set up for future off session charges. This proves to be complex because the MandateId property only seems to be exposed to us via the charge.succeeded event, which includes a Charge object, but according to the documentation neither the Charge object nor the child "US Bank Account" object has a MandateId property. Yet in the event message body, there obviously is a mandate ID present.

Related Request ID(s)
evt_3Q4xsoFnSqw89al61EP8ykKj

What have you already attempted?
noted above

What are you working on?
How can i obtain the mandate ID associated with a particular charge, ideally using the .NET SDK, or do I have to manually parse the JSON of the event to pull it out?

#

@fallen 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://support.stripe.com/questions/test-mode-subscription-data-retention

Question
I just learned about sandboxes. One of our frustrations with legacy test mode is the limit of 50 ongoing subscriptions, described in the doc link. With sandboxes, how does this change? Do we get 50 ongoing subscriptions per sandbox?

What have you already attempted?
We manually restart test subscriptions when they get auto-cancelled

#

@drowsy thorn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Express Checkout Element negative testing for stripe.createConfirmationToken (Link) so that an error can return.

Related Request ID(s)
req_7vQkLI6a9YKs6i

What have you already attempted?
Credit cards from the test documentation don't seem to have the same result.

What are you working on?
Trying to reproduce error states and display them in our UI.

cursive heronBOT
#

@mellow surge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Only problems and problems....

Related Request ID(s)
Only problems and problems....

What have you already attempted?
Only problems and problems....

What are you working on?
Only problems and problems....

cursive heronBOT
#

@final apex pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am wondering what the correct connection method is for my platform. I am building an API gateway that links a users *existing* Stripe account and manages billing, limiting, etc for them. I have started this by building a test Stripe app, and it has worked perfectly so far, but I have gotten stuck in this one use case. When I try to create a checkout session on behalf of a connected account, it all works until the checkout errors out with

```
This application does not have the required permissions for this endpoint on account '********'. Having the 'read_write' scope would allow this request to continue.
```

Should I be not using a stripe app and just use Connect oauth?

Doc/Guide Links
Confused between

https://docs.stripe.com/connect/oauth-standard-accounts

https://docs.stripe.com/stripe-apps/api-authentication/oauth

What are you working on?
Building https://useultrance.com/

#

@glad pumice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On my NextJS app I have set up stripe but on the pricing page instead of hardcoding a value of a specific currency, I wanted to fetch like the price of a product in the local currency. Eg. Instead of writing <h1>$9.99 USD</h1> I would like to make it change based on the user's country like <h1>β‚Ή839.69 INR</h1>

Related Request ID(s)
Couldn't find any.

What have you already attempted?
I have tried to use the user's ip address to get their location and then show the price but it isn't working and even if it did work there would be too much converting.

#

@meager crag pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
readerResponse = reader.processPaymentIntent(props, requestOptions);

Question
Why is the S700 terminal device randomly freezing? Our merchants are complaining that the device randomly freezes. Sometimes a restart works. Sometimes it doesn't. In addition, the client pays with the card and device gets stuck saying processing payment method and never finishes. Once it enters this state, the device needs 5-10 minutes maybe more to fully become responsive again. A restart may or may not fix it

What have you already attempted?
Restarting the device. Waiting 10 minutes for the device to fix itself. Replacing the device. This happens at multiple locations.

What are you working on?
POS for liquor stores

#

@obtuse bison pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/test-app#set-up-test

Question
Hi, I'm a Twilio software engineer. Twilio <pay> integrated with Stripe several years ago. The integration qualifies as an extension, so we must upgrade to Stripe apps by EOY. Twilio utilizes a platform account (acct_1D7DrpAwJMsWNg9e ) to do transactions on behalf of Twilio's customers. For this reason, I was told that our Stripe app cannot have distribution = 'public'. So I set it to private. But now, it appears there is no way to test it.

What have you already attempted?
I tried following the docs. The docs allude to "If you don't see the External test tab, verify you've selected public distribution from Create a release". But I have not selected public distribution, because if you try to upload my app in public distribution, it tells me "Because your account is a Connect platform, you cannot choose the public distribution at this time".

What are you working on?
Twilio <pay> integration with Stripe

#

@cosmic anchor pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I had one live webhook, and one test webhook. The test webhook was for something else, and i forgot to import it to the live one. Now i have an event that went through the first live webhook, but i can't find a way to resend the event to the previously-test, now-live webhook

Related Event ID(s)
evt_1QAvn8AaUAsw03BSZ6GG99Uf

What have you already attempted?
I tried resending but it only resent to the first webhook. I dont know how to make it send to the desired webhook (we_1QAzWjAaUAsw03BSco40n1hl)

cursive heronBOT
#

@gentle ore pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there. It looks like starting today the additional payment methods such as link, bank account, etc on the stripe elements show up in test mode even if its disabled as part of the stripe dashboard.

Is there a way to disable these additional payment methods in test mode?

Related Request ID(s)
pmc_1On3UIEnfH5zKLApetXkNgns

What have you already attempted?
Looking at settings and configurations in stripe dashboard

#

@runic jackal pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get email of payment_link checkout session that is expired? The event has a null field for customer email.

Related Event ID(s)
evt_1QAw6dCXdt5982xwIaCF7Cws

What have you already attempted?
I used the developer dashboard to look through the event fields but all customer email is null

What are you working on?
I want to subscribe to these events and email the customer a coupon to reduce purchase abandonment

cursive heronBOT
#

@fallow brook pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are looking to add Stripe payment method so multiple sellers can use their own Stripe ID to accept payments. Would we need to create a Stripe account to facilitate this?

Related Request ID(s)
API

What have you already attempted?
What would be the best way to approach this. We can connect to the API have a field for each seller to provide their own Stripe Merchant ID.

cursive heronBOT
#

@outer plover pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm not sure if webhooks is the correct category... it might be code

I am really struggling to use stripe, its so counter intuitive for someone who doesn't know code.

I only want to add the option of customising my checkout - asking for an address input and allowing cupon codes but it seems impossible to figure out how to do this - I would really appreciate some help, I've been trying to figure this out for days now.

Related Event ID(s)
I'm not sure what this means sorry?

What have you already attempted?
scrolling through the immense and complicated stripe help system and getting more and more confused...

What are you working on?
An ecommerce website

#

@rapid oriole pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Google Pay Not Appearing in Payment Element for Subscription: I am using Payment Element in Javascript and Backend is PHP Laravel. Client secret and Subscription Creation is manage by backend. Payment Elment does not display Google Pay, however it displays Cards, Pre-authorized Debit (ACSS Debit). It is also working for one-time payment.

Location: Canada
Connected Account: Standard

Related Request ID(s)
Payment Elements for Subscriptions & Google PAy

What have you already attempted?
Javascript:
const options = {clientSecret: clientSecret,
appearance: {theme: 'stripe'},};

elements = stripe.elements(options);
const paymentElement = elements.create('payment', {});
paymentElement.mount('#payment-element');

PHP:
$subscription = $stripe->subscriptions->create([
'customer' => $cust_id,
'items' => [ ['price' => $priceid], ],
'payment_behavior' => 'default_incomplete',
'application_fee_percent' => $app_fees_percent,
'expand' => ['latest_invoice.payment_intent'],
], ['stripe_account' => $stripe_account]);

return $subscription;

What are you working on?
I am working on a fundrasing application that is not live yet. Almost there

cursive heronBOT
#

@manic dawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi all,
question, on setup intents, for our customers

In our existing production environments:

* Australia - AUBECSDebit
* CA - ACSSDebit
* UK - BACSDebit
* US - USBankAccount

Related Request ID(s)
req_VVO8I7Tl3Vhf5I

What have you already attempted?
When setting up the NZ env, In my testing, I had used the AUBECSDebit model... just to get us started... (I couldn't see any obvious NZ option in the documentation, or in the Stripe code)

https://github.com/stripe/stripe-go/blob/v79.12.0/setupintent.go#L499 for reference, this is the stripe-go version we are using

What are you working on?
We are extending our business, currently in CA, UK, AU, US to the NZ region, I am currently setting up the NZ integration testing environment.

cursive heronBOT
#

@manic flicker pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
So I'm trying to set up a checkout session with multiple coupons, each for different products. But looking at the API docs, it seems I may not be able to add more than one? Is that right?

Is there a solve for this?

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-discounts

What are you working on?
SaaS Video Software

#

@vocal wagon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I just created my stripe and im trying to have a customer buy with prepaid mastercards but they arent working, it is saying blocked, how do I fix

Related Request ID(s)
none

What have you already attempted?
Nothing I dont know

What are you working on?
Fixing to accept payment collection

cursive heronBOT
#

@frail oriole pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to bill my users based on 3 things
1: 10 euros per property per month
2: 3 euros per unit per month
3: 2 euros per user per month

Usage can fluctuate month per month, and users should be billed based on peak usage in the current billing period. We dont know how much they are going to use every month so we can decide quantities beforehand. If they create 4 properties and delete 1 in billing period (aug-sep) then they should be billed for 4, but if they then dont do anything for (sept-oct) they should be billed for 3 because that is their peak usage during those billing periods.

Doc/Guide Links
https://docs.stripe.com/api/billing/meter
https://docs.stripe.com/billing/subscriptions/quantities
https://docs.stripe.com/products-prices/pricing-models#per-seat

What are you working on?
I am creating a property management SAAS where users can manage properties, units, tenants and property managers

#

@distant locust pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
hellp i pay for my card for temu app and hes stole my money can you give me my money back my last number for my card i use it in temu 6467

Question
hellp i pay for my card for temu app and hes stole my money can you give me my money back my last number for my card i use it in temu 6467

What have you already attempted?
hellp i pay for my card for temu app and hes stole my money can you give me my money back my last number for my card i use it in temu 6467

What are you working on?
hellp i pay for my card for temu app and hes stole my money can you give me my money back my last number for my card i use it in temu 6467

cursive heronBOT
#

@amber shadow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On this order, I enable currency conversion, such as USD to HKD. After the transaction is completed, it will be displayed in the stripe transaction panel that the amount of HKD I received does not match the amount of HKD set for my product, sometimes it will be a few to dozens of HKD more. Sometimes a few Hong Kong dollars less

Related Request ID(s)
132123132131

What have you already attempted?
I tried to calculate the stripe currency exchange rate, because the stripe currency exchange rate includes 2%-4% exchange fee. Even with the exchange rate of this part, the result of my calculation still does not match the money actually received in the account and the one displayed on the product. Why is this

#

@fierce hare pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building a subscription app for woocommerce. My developer thinks we can just use Stripe saved cards and use our app to just trigger next payment. Is there an issue doing this? Or do we need to connect to stripe via token IDs?

Doc/Guide Links
I have changed guides and cannot find an answer to my Q

What are you working on?
Subscription app

cursive heronBOT
#

@violet gorge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to cancel one subscription and start a new one in one transaction if payment success? I am attempting to upgrade a customer from one subscription to another, and want them to pay only the difference between the two subscriptions. We cannot use Stripe checkout due to some limitations we have.

Related Request ID(s)
req_5MxmBU9gxyIuaT req_pHSfZ9avN03RUM req_NcxJJ1vWwy2VFo

What have you already attempted?
So I attempt to cancel the existing subscription, start a new one and catch the exception due to failed payment. I then attempt to reactivate the old one, but get a 400. I also tried checkout, but that won't work for our needs

What are you working on?
Upgrading a customer to a higher plan

cursive heronBOT
#

@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"],
proration_behavior: "none",
collection_method: "charge_automatically",
billing_cycle_anchor: timestamp});

Question
HI guys I am facing a strange issue I want to create a subscription for a product for which we have set subscription cycle that matches the quarterly cycle but i always get
**error: Error creating subscription in Stripe: Error: Failed to create subscription**
without any explanation of what I am doing wrong
I been following stripe's integration guide for billing cycle

What have you already attempted?
tries using billing cycle config

What are you working on?
working on creating a seat based subscription

cursive heronBOT
#

@scarlet kiln pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I get the balance transactions from manual payouts using API

Related Request ID(s)
not found any

What have you already attempted?
I tried using the balance transactions API to get transactions using payout Id

cursive heronBOT
#

@bleak breach pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi friends! I want to set up a Connect platform account where I only listen to connected account's webhooks. This isn't a separate business but a product of my existing business. Ideally I'd like to create a whole new Stripe account for this for separation of concerns reasons.

The docs linked here suggest that I'd need separate tax ID and legal info for a new account though, is that still the case in my scenario where my connect platform only listens to webhooks and doesn't make any payments on behalf of the connected accounts?

Doc/Guide Links
https://docs.stripe.com/get-started/account/multiple-accounts

What are you working on?
Connect platform account that only listens to connected account webhook events.

#

@fast plover pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using Stripe solely for tax calculation through the Tax API. How can we generate a report for tax purposes, or what additional information should we send to Stripe via the API in order to generate a report later?

Related Request ID(s)
Stripe tax itembase

What have you already attempted?
https://docs.stripe.com/tax/reports#tax-calculations-recorded-in-reports

cursive heronBOT
#

@radiant canyon pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're implementing PayPal with Stripe. Since we're a marketplace, PayPal asked us to see with you for STC (set transaction context) because their risk team asked for it. However we have no idea what we have to do in Stripe and could not find any thing about it in Stripe docs.

Doc/Guide Links
https://docs.stripe.com/payments/paypal and all doc associated to paypal

What are you working on?
a marketplace

#

@tender vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
We are implementing a checkout using EmbeddedCheckout. We are looking for a way to react to a change in the number of LineItems.
The EmbeddedCheckout object contains a recently added atrubut
onLineItemsChange, but we can't hook a handler to it. This is a link to the code in the Stripe-js repository that we followed: https://github.com/stripe/stripe-js/blob/master/types/stripe-js/embedded-checkout.d.ts#L75C3-L75C20
Unfortunately we don't see info about it in the documentation.
How would we receive information about the `quantity` number change event in the products?

Related Request ID(s)
-

What have you already attempted?
Here's code example:

const checkout = await stripe.initEmbeddedCheckout({
fetchClientSecret,
onLineItemsChange: function (value) {
console.log("Line items changed", value);
}
});

What are you working on?
Checkout for SaaS platform

#

@echo coral pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When connect the app in test mode I received access and refresh token. When I connect it on live I received another set of access and refresh token.

As the expiry time of access token is 1 hour. My question is both access token remains valid at the same time?

One of our client report that, access token remain valid on in one environment(either sandbox or live)

Related Request ID(s)
not relevant

What have you already attempted?
Connected Stripe app in test mode and then connected the app in live mode

https://docs.stripe.com/stripe-apps/api-authentication/oauth#obtain-access-token

What are you working on?
OAuth authentication to connect Stripe account in our plugin

#

@glass lagoon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I setup connected Standard Accounts and pass in the tos link of our customer. I thought I did pass it correctly, but when I then trying to create a check out session with ConsentCollection and get an error "You cannot collect consent to your terms of service unless a URL is set in the Stripe Dashboard." I need a way to set the tos of the connected account via the API

Related Request ID(s)
req_q2GaqUbcVvTCwi, req_r0Du6s19CRLiRa

What have you already attempted?
I have tried this after Account creation:
ConfigurationCreateParams.BusinessProfile.Builder terms = ConfigurationCreateParams.BusinessProfile.builder()
.setTermsOfServiceUrl(termsOfServiceUrl)
.setPrivacyPolicyUrl(privacyUrl);

Configuration configuration = Configuration.create(ConfigurationCreateParams.builder()
.setBusinessProfile(terms.build())
.build(), "conencted acc id");

For above code see req_q2GaqUbcVvTCwi

For checkout session creation see req_r0Du6s19CRLiRa

What are you working on?
Reservation System for Restaurant. Using Stripe COnnected Standard accounts to provide customers possibility to collect payments for events

#

@subtle zephyr pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://dashboard.stripe.com/account/onboarding/representative

Question
While creating a test account I have to verify my company and enter the data of a "company representative". I can not complete the onboarding process because the field "Date of Birth" does not take valid dates, no matter which date I enter there, I see the error message "Please enter a valid date."

What have you already attempted?
Enter multiple valid dates

What are you working on?
Dev site setup

cursive heronBOT
#

@old ermine pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentElement = stripeElements.create(
'payment',
paymentElementOptions,
);

Question
We are rendering the card from on our website, but we do not want to support the `enter` key from the keyboard. Is there any way to do this?

What have you already attempted?
I tried to set the form as `readOnly` and call `blur()` but still it is not working as expected.

cursive heronBOT
#

@topaz marsh pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am using PaymentElement with "@stripe/react-stripe-js": "^2.8.0". Usually there are placeholders and not (MM/YY) in the label of the expiration date.

What actually happened?
Yesterday only, there was no placeholders and (MM/YY) in the label of the expiration date.

Reproduction Steps
Displaying PaymentElement with "@stripe/react-stripe-js": "^2.8.0"

Question
I saw a person on stackoverflow with the same issue at the same time : https://stackoverflow.com/questions/79100001/stripe-payment-element-not-returning-placeholders
Someone answered that Stripe was doing testing on PaymentElement placeholders. Is it right ? Or is there something to do on my side excepting waiting for Stripe test to end ?

What are you working on?
Using PaymentElement

#

@gleaming patio pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to have a list of payment intent ids and get data for all of them in one stripe query or do we have to get each one individually and have multiple queries to stripe?

Related Request ID(s)
Any ids, none in particular

What have you already attempted?
I tried playing around on the dashboard with constructing a search query with like pi_id pi_id2 and id:pi_id id:pi_id2 etc but couldn't find a way to get it to work. But was wondering if it is possible to construct a search query and use the payment intents search endpoint?

What are you working on?
Just need the data for all payments intents related to an item.

#

@cloud pawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using ACSS payments in Canada - what is best practice for determining if the user needs to login to a personal or business account?

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_BR44kjhV6VunGt

What have you already attempted?
Tried with hardcoding personal but have customers using business accounts - also tried removing the payment_method_options altogher

What are you working on?
Payments system for clubs to pay for membership

#

@meager rock pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Is there a way to prevent a Payment Intent from being confirmed programatically?

Question
I would like to create a PaymentIntent for an item, at first for the Price amount, but later update the Payment Intent amount to include the Shipping cost selected by the buyer, is there a way to prevent a PaymentIntent from being confirmed until a X step is done?

What have you already attempted?
I've read that we can set payment collection as "manual" but this value can't be reverted back to automatic, and I need this payment intent to be able to be payable using publishable keys.

#

@rapid siren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to update the invoice when it is created, but in Test mode it is very fast payment and I can't test my code, how can I test my invoice amount update in Test mode, do you have any possibility to add a delay in the invoice process for draft to paid

Related Request ID(s)
N/A

What have you already attempted?
I'm trying update invoice when the Webhook notify the next action "invoice.created"

#

@silk python pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am create unexpected error when create subscription schedule

Related Request ID(s)
req_73gqd61npIDzVM

What have you already attempted?
Yes, i read api doc and confirm that i am passing future subscription schedule date.

#

@late nova pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Google Pay option is not visible in the checkout page shown in my chrome browser.

Related Request ID(s)
req_KG79bErBNzMvKT

What have you already attempted?
I am creating the checkout session without setting any "payment_method_types". I have enabled the Google Pay and Card payment methods in the Stripe's dashboard of my account (settings->payment methods). I have also configured my browser enabled with Google Pay which have valid card details. I am also serving the page along with the "success_url" and "cancel_url" over HTTPS. But still the Google Pay option is not visible.

What are you working on?
Integrating Stripe's different payment methods in my ecommerce web site.

#

@polar abyss pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello :)

We're setting up a checkout flow using a PaymentElement (among other custom code) on our FE. We have a 'save method' checkbox on the page which, when changed, toggles the 'setupFutureUsage' param on the PaymentIntent object in the BE between 'none' and 'on session'. When set to on session the iDEAL/bancontact payment methods disappear (and reappear when set to 'none'). the docs are a bit vague about what supports what so I wanted to ask a) if this is expected and b) what is best practice for improving the experience for customers here

Related Request ID(s)
None(?)

What have you already attempted?
Read https://docs.stripe.com/payments/payment-methods/payment-method-support?locale=en-GB which implies 'on session' future usage isn't supported by most methods - but wanted to confirm for bancontact/iDEAL.

Read https://docs.stripe.com/payments/save-during-payment which uses 'off session' in the example - we've been using 'on session' since we don't need 'off session' in this flow

What are you working on?
Checkout flow on custom FE using PaymentElement

#

@vagrant quartz pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Using the Confirmation Token Approach in Checkout

Question
In Payment Element Without Checking the checkbox to save payment for future Purchases its Attaching Payment to Customer

What have you already attempted?
In Payment Element Without Checking the checkbox to save payment for future Purchases its Attaching Payment to Customer

What are you working on?
In Payment Element Without Checking the checkbox to save payment for future Purchases its Attaching Payment to Customer

cursive heronBOT
cursive heronBOT
#

@cold bear pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public async Task<string> CreatePaymentLink(string priceId, StripePaymentConfigurationViewModel paymentConfiguration)
{

 StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;
 var requestOptions = new RequestOptions
 {
     StripeAccount = paymentConfiguration.AccountKey
 };
 var options = new PaymentLinkCreateOptions
 {
     
     LineItems = new List<PaymentLinkLineItemOptions\>
 {
  new PaymentLinkLineItemOptions
  {

Question
avoid creating a new customer & subscription when creating payment link

What have you already attempted?
no

cursive heronBOT
#

@astral owl pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to use schedules with subscriptions via connect. It isn't clear to me what the hierarcy is between these. For example, does a schedule wrap a subscription, or does a subscription reference a schedule? Does a subscription still require an SI or does the subscription now point to the schedule? Or is it both?

Does the schedule phase and associated price need to point to a price that is recurring? Or is the price type unrelated and instead recurrance is managed by the schedule phase?

Related Request ID(s)
n/a

What have you already attempted?
R&D

What are you working on?
Stripe connect integration to laravel for a marketplace

#

@echo coral pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://docs.stripe.com/stripe-apps/api-authentication/oauth#refresh-access-token

Question
My concern is, the refresh token generated is exist independently in each mode(test and live) ?

In my case tokens in test mode generated initially and then generated in live mode. So to refresh the access token in test mode can I use the refresh token generated in test mode? Or should I use the last generated refresh token regardless of the environment?

What have you already attempted?
I installed our Stripe app in test mode, received access and refresh tokens.

Then I installed the same app in live mode, again received access and refresh token.

The test payments not working even if the access token expiry is one hour. I came to know that then tokens remains active only in one environment.

So the initial connection in test mode is expired even after I connect in live mode.

So I need to refresh the access token in test mode to make test payments.

What are you working on?
Stripe app connection using OAuth authentication

cursive heronBOT
#

@astral owl pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Follow up to previous query on the use of schedules and phases for subscriptions. Given a phase refers to a price, and a subscription created via a schedule would invoke an SI that points to the price of each phase, how are the prices best stored?

E.g. I was under the impression a price must be linked to a product. So if we are creating something a user can 'sell', would that be a single product with 3 prices, one of which becomes default. Each price can be a phase in the schedule?

Related Request ID(s)
N/A

What have you already attempted?
R&D

cursive heronBOT
#

@fast cipher pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building a platform for sellers. I am using Stripe connect and the intent is when buyer buys a item from seller the amount is split between platform and seller. But the payment intent i have does not do it. Pasting the code below

Related Request ID(s)
acct_1Q0SmPBOeYSSiMPG

What have you already attempted?
PaymentIntentCreateParams params = PaymentIntentCreateParams.builder()
.setApplicationFeeAmount((long)listService.getairbikFees(listing.getRate()))
.setAmount((long)listing.getRate())
.setTransferData(
PaymentIntentCreateParams.TransferData.builder()
.setDestination(tblstripeaccount.getStripeAccountId())
.build()
)
.setCurrency(USD)
.setAutomaticPaymentMethods(PaymentIntentCreateParams.AutomaticPaymentMethods.builder().setEnabled(true).build())
.build();

PaymentIntent paymentIntent = PaymentIntent.create(params);

#

@olive heron pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Usage based subscription: Why does Stripe finalize invoices "too early"? I have an usage based subscription and right after I create the subscription, Stripe flags it as finalized and paid for the timeframe Oct 18 – Oct 25 (weekly subscription). However, since it's a usage based subscription, it could still happen that there might be a usage fee during that timeframe. So why does Stripe flag it already as paid and finalizes it?

Related Request ID(s)
NA

What have you already attempted?
Invoice ID: in_1QBGAbEQTxIQh7eRtW9tyv51 (test mode)

NA.

What are you working on?
SaaS for publishing Facebook ads

cursive heronBOT
#

@woeful mauve pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do we "add Notes" to objects in Stripe using the API. There are "+ Add Note" buttons all over the UI, but we can't figure out how to do that via the NodeJS SDK.

Related Request ID(s)
.

What have you already attempted?
Looked at the API documentation, and couldn't find anything.

cursive heronBOT
#

@meager crag pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payment Intent Processing Status with Card Present Transactions

Doc/Guide Links
We currently have an approach that has been working well, but relies on the stripe terminal device (S700) apis, which isn't always reliable. Currently the steps we have are

  1. Create payment intent
  2. Attach card present payment method
  3. Process payment intent
  4. Status for payment intent stays in requires_payment_method I believe
  5. We poll reader/terminal api until we see status updated to success / failed
  6. On success, succeed
  7. On failure, cancel payment intent

Essentially, we want to stop relying on the reader api and only rely on the payment intent, however the payment intent never enters a state of processing / in progress. Why is that & what should we do instead?

What are you working on?
POS for Liquor Stores Card Present Transactions

cursive heronBOT
#

@fast cipher pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building a platform for sellers. I am using Stripe connect and the intent is when buyer buys a item from seller the amount is split between platform and seller. But the payment intent i have does not do it. Pasting the code below

Related Request ID(s)
acct_1Q4Q1mPhA6N6Gojy

What have you already attempted?
PaymentIntentCreateParams params = PaymentIntentCreateParams.builder()
.setApplicationFeeAmount(2)
.setAmount(100)
.setTransferData(
PaymentIntentCreateParams.TransferData.builder()
.setDestination(acct_1Q4Q1mPhA6N6Gojy)
.build()
)
.setCurrency(USD)
.setAutomaticPaymentMethods(PaymentIntentCreateParams.AutomaticPaymentMethods.builder().setEnabled(true).build())
.build();
PaymentIntent paymentIntent = PaymentIntent.create(params);

#

@vague perch pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I design a database schema to manage Stripe subscription data, including customer details, subscription plans, payments, and subscription status, while ensuring synchronization with Stripe's API?

Doc/Guide Links
Did not find any useful link until now

What are you working on?
I am working on a website where users need to buy a subscription to gain access to the featuers

cursive heronBOT
#

@rigid comet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I use the PaymentElement to always rely on the PaymentMethodConfiguration for Connect accounts?

We have implemented the PaymentElement but is always relying on the Billing -> Invoice settings -> Payment methods instead of the PaymentMethodConfiguration, therefore, the component is showing unsupported payment methods for our app.

Related Request ID(s)
.

What have you already attempted?
I have tried to use the `paymentMethodTypes` on the PaymentElement, but if something is supported the component won't render entirely.

What are you working on?
.

cursive heronBOT
#

@latent surge pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a problem with Stripe subscriptions. I have a setup where all invoices are issued on the 1st of the month and failed payments are allowed to be collected for 15 days before marking invoices as uncollectible. Some customers exploit this by using my product for 15 days, waiting for the invoice to fail, and then restarting their subscription on the 16th day, only paying a prorated amount until month-end. How can I configure Stripe to prevent starting a new subscription unless all invoices are paid?

Doc/Guide Links
https://stripe.com/en-es/resources/more/how-to-handle-unpaid-invoices

What are you working on?
SaaS

#

@neat acorn pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Mostly the code from the mentioned guide adapted to VueJS.
I was able to make it work, but would like a better understanding of the optional step

https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=setup#save-payment-methods

Question
At the moment, my objective is to create Payment Methods, without necessarily making a payment.

In Collect payment details before creating an Intent guide there is an optional step -> Save and retrieve customer payment methods

What's the purpose or advantage of this step.
Is it to only display pre existing payment methods of the customer?
If I don't use it the customer won't see the payment method again?

What have you already attempted?
I am going through the guide *Collect payment details before creating an Intent* -> Set up a payment method.

https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=setup#save-payment-methods

What are you working on?
Integrating StripeJS in our Admin, so support can add payment methods to customers if necessary.

#

@versed lantern pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want all invoices to be marked paid via the API only after a successful Payment Intent is completed. If we send the invoice link or PDF, there is still the option to fill out payment information, or in the PDF there is a link β€œPay Online” which goes to the invoice URL. We need all the payments to go through our API because we apply metadata to the transaction that Zapier picks up on correctly.

Related Request ID(s)
I've only been in test mode

What have you already attempted?
When I create an invoice via the API, and I do not provide any PaymentMethodTypes to the PaymentSettings and set the invoice CollectionMethod to β€œsend_invoice”, the invoice accepted payments reverts to the settings in the dashboard.

What are you working on?
A self-hosted invoice payment solution

cursive heronBOT
#

@pearl imp pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to be able to add a payment method via the Stripe API to later use in a checkout session.

Related Request ID(s)
req_bVzU2uyVW90Ppy

What have you already attempted?
I've successfully been able to reuse payment methods used during checkout on future checkout sessions, but I have not been able to add a payment method via the API that can be used in future checkout sessions.

We want to do this to simulate the UI checkout flow for testing purposes.

I've done the following:
- configure the checkout session with: saved_payment_method_options: {
allow_redisplay_filters: ['always', 'limited'],
}
- create a payment method @ POST /payment_methods
- setup intent to attach payment method to the customer.
- update payment method to always redisplay

What are you working on?
Telecom Carrier

#

@sand tusk pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$payment_method_types = ['card','link', 'affirm];

var paymentElement = elements.create("payment", {
defaultValues: {
billingDetails: {
email: emailAddress,
address: {
postal_code: postalCode
}
}
}
});

Question
I'm trying to test Link locally and for some reason keep getting the following message:

[Stripe.js] The following payment method types are not activated:

- link
- affirm

They will be displayed in test mode, but hidden in live mode. If I provide a credit card the Link interface pops down but for some reason it's not pulling the existing account (based on the email provided in the Payment Element defaults). TY.

What have you already attempted?
I confirmed the provided accepted payment methods `payment_method_types` via the payment intent ['card', 'link', 'affirm']. I also confirmed the email being passed to the Payment Element defaults is signed up with Link. Finally as far as I can tell it's enabled in the Stripe dashboard for test mode with "Inherit default (On)"

What are you working on?
We have a ticketing platform that uses the Connect product.

cursive heronBOT
#

@queen spire pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.accounts.create({ individual: { nationality: 'SG' } })

Question
I'm making an api call to stripe.accounts.create, and trying to provide the individual.nationality value to the api, but in the stripe code, interface Individual doesn't have such a field

What have you already attempted?
NA

cursive heronBOT
#

@rigid comet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have implemented the PaymentElement but is always relying on the Billing -> Invoice settings -> Payment methods instead of the PaymentMethodConfiguration, therefore, the component is showing unsupported payment methods for our app.

```
// current Stripe.js initialization
{
mode: "subscription",
setup_future_usage: "off_session",
currency: paywall.currency_code,
amount: price.amount,
}
```

We're using the default PE initialization
```
{
terms: {
card: "never",
googlePay: "never",
applePay: "never",
},
}
```

Related Request ID(s)
.

What have you already attempted?
I have tried to use the `paymentMethodTypes` on the PaymentElement, but if something is not supported the component won't render entirely.

cursive heronBOT
#

@storm imp pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have received large amounts of fraud on our system, and are now working with third-party softwares and our own database to block these subscribers.

I noticed that Stripe does not give businesses subscriber BIN numbers via API. However, this is crucial for us to identify fraudulent transactions and stolen cards.

Is there any way that Stripe can expose this for us?

Related Request ID(s)
BIN

What have you already attempted?
We have looked at the card object API.

What are you working on?
Anti Fraud Algorithm

#

@hidden vine pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentRequest.canMakePayment()

Question
We are trying to use the canMakePayment method to determine if Google pay is supported. We are using this check to dynamically alter the layout of our form when Google pay will be abled. We have noticed in our testing, that it is taking approximately 1-1.5 seconds for this promise to resolve, which adds an unacceptable amount of render time to our forms. Is there any other way of checking if Google pay is enabled that doesn't involve waiting for this promise to resolve?

What have you already attempted?
https://docs.stripe.com/js/payment_request/can_make_payment

What are you working on?
Adding Google pay to existing contribution forms using StripeJs

#

@river tusk pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have already implemented the payment processing to direct transactions to the corresponding connected accounts from which the products are purchased, all of which I am currently doing in test mode. The creation of the connected account takes place on the backend. For production mode, should I proceed in the same manner? Is it not possible to create the connected account from the dashboard?

Related Request ID(s)
acct_1QAJ7MPNyv2VJ6iD

What have you already attempted?
I have already implemented the payment processing to direct transactions to the corresponding connected

What are you working on?
Building

#

@worn vault pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi!

I am currently setting up Stripe webhooks for my web app and would like to know: What is the best event/piece of information to listen for, to show that a user has completed the external onboarding flow to create a Connect account within my application, such that they are able to start creating invoices/subscriptions?

Currently, the app manually retrieves Accounts and checks to see whether `payouts_enabled` and `details_submitted` are true on them, but being able to listen for a certain event via webhook would much better suit my needs.

Doc/Guide Links
Event api docs, docs regaring Connect account external onboard flow

What are you working on?
Rent Payment Portal

#

@harsh berry pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The Tokens API is or will be deprecated if it’s being used outside of the Sources API?

Related Request ID(s)
NA

What have you already attempted?
Transition to the Payment Intents and Payment Methods APIs documentation

What are you working on?
Transition to the Payment Intents and Payment Methods APIs

cursive heronBOT
#

@queen spire pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm making api call to stripe.accounts.createExternalAccount, and I was getting 400 error for two times, and 200 for the third time. The request body is exactly the same for the three calls. What's causing the error?

Related Request ID(s)
req_iixrKWD6C2oeYE, req_S3y1LAB3uWLWUq, req_c9avFOt44QooJF

What have you already attempted?
For the first two times, I was calling an endpoint I implemented for creating external account, which calls stripe.accounts.createExternalAccount, but failed.
For the third time, I was running a script I implemented for creating external account, and it has exactly the same code as the endpoint above, succeeded.

#

@fast cipher pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to split payment using Stripe connect. Want to know if the payment went to right stripe accounts

Related Request ID(s)
acct_1MsWNZBbLC2XC625

What have you already attempted?
PaymentIntentCreateParams params = PaymentIntentCreateParams.builder()
.setApplicationFeeAmount(2)
.setAmount(100)
.setTransferData(
PaymentIntentCreateParams.TransferData.builder()
.setDestination(acct_1Q4Q1mPhA6N6Gojy)
.build()
)
.setCurrency(USD)
.setAutomaticPaymentMethods(PaymentIntentCreateParams.AutomaticPaymentMethods.builder().setEnabled(true).build())
.build();
PaymentIntent paymentIntent = PaymentIntent.create(params);

#

@manic flicker pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
message: 'Array discounts exceeded maximum 1 allowed elements.',

Is there a way I can include multiple discounts? I need to remove certain cost of different prices

Related Request ID(s)
req_8NUGCj7Ux7M3rA

What have you already attempted?
I tried to follow the subscription api guide to use the discounts array, but it seems you can only submit one??

What are you working on?
SaaS Video Software

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
#

@chilly zealot pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create a refund webhook. So far I have setup the createRefund on my backend and created a webhook to listen to the charge.refund event. But there is a little issue with calculating the refund amount. I get the error that the amount refund is not accurate. I want to know how to create the refund with the correct amount after the fee has been removed so I can send the request with the correct amount.

Related Event ID(s)
we_1QAoKVHloKxPxF5LKJM7BSrf

What have you already attempted?
I have set up the webhook, and it is listening correctly for the event I am just stocked with how to calculate the correct refund amount less the fee

What are you working on?
An online book store. A very simple ecommerce website for books.

cursive heronBOT
#

@chilly zealot pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am getting an error message when creating a refund using the webhook. It gives an error message as follows: 'Refund amount ($9.00) is greater than unrefunded amount on charge ($4.53)',
[the-word-that-suits] [2024-10-21 03:34:38] param: 'amount', I want to know if based on stripe, my webhook is listening for the correct event (charge.refund) for enable the users to get a refund and how to set the correct refund amount

Related Event ID(s)
we_1QAoKVHloKxPxF5LKJM7BSrf

What have you already attempted?
I have successfully created the webhook and been able to create a refund request with the webhook listening for the charge.refund event, but the amount parameter in what I am having a problem with.

What are you working on?
An ecommerce website for eBooks

cursive heronBOT
#

@fast ice pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
"I triggered an payment.intent.success in Stripe, and it returned a status of 200, but when it tried to deliver the event to the webhook, it returned a status of 500."

Related Event ID(s)
evt_3QCDI4Rq28RUc2zX0wUsNwBR

What have you already attempted?
I tried modifying the webhook route in the Stripe CLI, but it shows that the trigger was successful.

What are you working on?
Paying for monthly or yearly subscriptions.

#

@fresh crag pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
vendor/magento/module-sales-rule/Model/Validator.php

function processShippingAmount

case Rule::BY_PERCENT_ACTION

Question
Incorrect Discount Calculation After Placing Order with Cart Price Rule (Apply to Shipping Amount)

What have you already attempted?
Steps:

  1. Create Cart Price Rule:
    Coupon code: T99
    Apply: Percent of product price discount
    Discount amount: 99.5
    Active "Apply to shipping amount"

  2. Add T99 discount on checkout
    Subtotal: 50$. Shipping: 50$. Sale Tax: 0$. Discount: 99.5$. Grand Total: 0.5$

  3. Click PLACE ORDER

  4. Actual result on success page:
    Subtotal: 50$. Shipping: 50$. Sale Tax: 0$. Discount: 99.25$. Total: 0.75$

Expected result on success page:
Discount: 99.5$. Total: 0.5$

What are you working on?
Magento EE 2.4.6-p3. stripe/module-payments: v.4.1.5. stripe/module-tax: v.1.0.0. stripe/stripe-php: v13.18.0.

#

@sly oyster pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I wanted to create an api where we r showing the billing details of the particular user which includes transactionID, planName, amount, plan purchasedAt, status of the plan for that user whether it is active or inactive so i want this details for particular user and also the to let u know we r not saving/capturing payment intent and in short we r just saving stripe_user_id so can we fetch all this details basically subscription details of the user from stripe_user_id alone ?

Related Request ID(s)
Look in Dashboard > shortcuts > subscription > List All Subscription

What have you already attempted?
I am trying to get this details but i m not getting the exact details of the plam and also i m not able to fetch the transactionId

cursive heronBOT
#

@surreal night pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can i customize invoice branding with Api

Related Request ID(s)
req_sZqF1sp5oyVTOv

What have you already attempted?
have create an invoice for accepting payments from customer with invoice

What are you working on?
i want to customize invoice branding daynamicaly with Aps's. i wan't to to update my account just custimize branding and it's possible to customize every invoice with diffrent branding.

#

@cold bear pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripePaymentRequestViewModel.PolicyStartDate = GetStartDate(stripePaymentRequestViewModel.PolicyStartDate);

StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;


var requestOptions = new RequestOptions
{
    StripeAccount = stripePaymentRequestViewModel.AccountKey
};

var productService = new ProductService\(\);
var productOption = new ProductCreateOptions\(\)
{
    Name = "rg recurring",
    DefaultPriceData = new P

Question
invoice_hosted_url is not getting rendered in browser for failed payment

What have you already attempted?
invoice_hosted_url is not getting rendered in browser for failed payment

What are you working on?
url

cursive heronBOT
#

@lavish rover pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to delete a stripe connect account which was recently registered via my platform but have not had any success via the dashboard or API.
I've noted the docs (https://docs.stripe.com/api/accounts/delete) mention restrictions around deleting connect accounts:
"...accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all balances are zero."
I believe this account is a "custom" connect account with all zero balances. Can anyone suggest why might I be getting unauthorized errors with my deletion attempts?

Related Request ID(s)
req_BjiwkbRTRA4MC4

What have you already attempted?
- Delete via stripe dashboard
- dropdown option in disabled with message "You can’t remove this account because you, the platform, own loss liability. Consider using the Delete API to remove this account instead."
- installed the stripe CLI tool
- authenticated via `stripe login`
- ran `stripe delete --live acct_accountidhere` - responds with error "This application is not authorized to delete this account."

What are you working on?
Maintaining a website with a stripe connect integration.

#

@iron wasp pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do we need to provide the payment method id while creating the payment intent or we can skip it

Related Request ID(s)
N/A

What have you already attempted?
N/a

What are you working on?
Working on the Ride Sharing Application

cursive heronBOT
#

@analog sable pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to update a verification document for a person in stripe custom account after a account is verified (they had provided a document earlier and account is active and verified as well). Scenario is that if a verification document is expired user will upload a new document in our system so I am trying to upload same in stripe but stripe is throwing a invalid request exception . A question whats the best way to handle this scenario or we dont have to worry about document reupload at all ? Please review request with id req_dHhRWLDxyCz35k for error details and suggest a solution .

Related Request ID(s)
req_dHhRWLDxyCz35k

What have you already attempted?
I have tried to reupload the document by creating a new file using FileService and then trying to override an existing document for a person with this new file using the PersonUpdateOptions in PersonService.

What are you working on?
Trying to replace existing document with a new one so if the document is expired we can replace it on our system and then sync the same with stripe .

#

@real sage pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I use the API in ASP.NET Core. Everything works fine, but I was wondering if it's possible to get some kind of payment reference number in return in the querystring?

Related Request ID(s)
req_SumJTAa0FKNSeo

What have you already attempted?
Tried to see if I can define some return value, but I can't find any

What are you working on?
a webshop in an ASP.NET Core site

cursive heronBOT
#

@idle sluice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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 modify the current plan since the interval change it creates invoice instantly which i don't want or should i schedule the downgraded pricing in the end of the current cycle but it creates two subscription and both deducts amount for invoice.

Related Request ID(s)
Subscription downgrade

What have you already attempted?
i have read docs for subscription create, modify and subscription schedule.

What are you working on?
i am implementing stripe subscription in our system.

cursive heronBOT
#

@restive crescent pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi ! I retrieve the refunds via api, and I you like to know what to expand for finding the payoutId linked to the refund

Related Request ID(s)
-

What have you already attempted?
nothing

What are you working on?
accounting

cursive heronBOT
#

@magic lance pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I pass in creation of customer portal to user 50% discount?

I am creating free trial flow for my app, but I want to reward my legacy free users when they decide to upgrade to Plus.
So I want programatically when they open customer portal and choose any plan, that their discount is auto applied?

Related Request ID(s)
x

What have you already attempted?
nothing

#

@urban burrow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Given a payment link once you set a application fee are you able to change it if not is there a solution to this problem:

User has 20 payments links that his customers uses and he doesn't want to create 20 new ones for with different urls in order to customise the application fee or amount charged as the customers already have this link. How does he achieve changing the application fee without changing the url?

Related Request ID(s)
Look at Payment Link API

What have you already attempted?
Changing the application fee using the API on stripe

cursive heronBOT
#

@prisma egret pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
When I use the Google Pay button, the following problem occurs:

Question
Error: Element confirming payment is "expressCheckout", but stripe.confirmPayment() was not called within the "confirm" event. Please call stripe.confirmPayment() in the "confirm" event (https://stripe.com/docs/js/elements_object/express_checkout_element_confirm_event).

What have you already attempted?
const { error: payEroor } = await this.stripe.confirmPayment({
elements: this.btnGoogleElements,
clientSecret: JSON.parse(res.data.resp).clientSecret,
redirect: 'if_required'
})

#

@idle sluice pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.SubscriptionSchedule.create(
from_subscription=current_subscription.id,
phases=[
{
'start_date': 'now', # Start immediately with the current pricing
'end_date': current_subscription.current_period_end,
# Phase ends when the current billing cycle ends

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 modify the current plan since the interval change it creates invoice instantly which i don't want or should i schedule the downgraded pricing in the end of the current cycle but it creates two subscription and both deducts amount for invoice. i have attached the code.

What have you already attempted?
i have read the docs suggested.

What are you working on?
stripe subscription in our system

cursive heronBOT
#

@winter seal pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello stripe devs. Let me preface my question by saying how smooth my stripe integration was into my business so far. Docs are organised and Stripe browser CLI is amazing.

I have 2 plans, both offer free trial configured in payment link webiste page. Situation: user subscribes to plan 1 with 7 days free trial. After 6 days he updates subscription to plan 2. Because plan 2 also has a free trial, user doesn't pay anything. Before free trial for plan 2 expires, user updates to plan 1 and so on... And endless loop of free trials.

How do I create a portal, but disable free trial for the products?

Doc/Guide Links
https://docs.stripe.com/api/customer_portal/sessions

This is how I create an update portal link:

    \`\`\`$portal = $stripe\-\>billingPortal\-\>sessions\-\>create\(\[
        'customer' =\> $cus\_id,
        'return\_url' =\> self\:\:redirect\_url\_afer\_subscription\_update\(\),
        'flow\_data' =\> \['type' =\> 'subscription\_update'\],
    \]\);\`\`\`

What are you working on?
I am trying to implement stripe checkout with free trial.

#

@drifting gulch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I use the newly preview features specific to our test account?

Related Request ID(s)
Developers

What have you already attempted?
I tried using extra params in the PaymentIntent creation but stripe throws unknown parameter exception.

What are you working on?
I am working on adding line items for the paypal order via stripe

#

@untold jetty pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I am using a PHP integration for Β£1 plan subscription with no trial period.
The integration is working as expected.
But my question is how do i prevent the incomplete subscription if the payment fails or the authentication fails?

Related Request ID(s)
sub_1QC0OMED5xkfDv2ctSKiez4i

What have you already attempted?
The workaround will be using the setupIntent and confirming the card first and then creating the subscription via webhook.
But i don't want to take that aprooach.

#

@zinc imp pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm listening to the CheckoutSessionCompleted event in my webhooks, which is fine but I'm wanting to record the balance_transaction fee at the same time. It appears that it doesn't always have this information. Is there a separate event that I should be listening to instead or should this be present? My example is below. I'd really like to just handle this off 1 event if possible.

Related Event ID(s)
x

What have you already attempted?
$this->stripe_webhook_id = $this->webhookCall->payload['data']['object']['id'];

    $this\-\>session = Session\:\:retrieve\(\[
        'id'     =\> $this\-\>stripe\_webhook\_id,
        'expand' =\> \['payment\_intent'\],
    \]\);

    $this\-\>charge\_id = $this\-\>session\-\>payment\_intent\['latest\_charge'\];

    $this\-\>charge = $this\-\>stripe\-\>charges\-\>retrieve\($this\-\>charge\_id, \[
        'expand' =\> \['balance\_transaction'\],
    \]\);

// This is how im accessing the fee:
$this->charge['balance_transaction']['fee']

What are you working on?
php laravel project

cursive heronBOT
#

@hoary torrent pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Could you please provide us the product API for the recurring payment if we create the a product with $10? and if any user subscribes to the product for a year with 5 member , then it should be $50 should be the subscription price for one year .

Means acoding to the number price should be dynamic. Please provide the API for the same . Thanks

Related Request ID(s)
API

What have you already attempted?
No this is the first time

What are you working on?
Working on IT company.

cursive heronBOT
#

@normal dust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to replicate a scenario in SEPA where a intent fails after some time. I want this to fail in setup intent phase.

The scenario isn't working as expected for setup intent. How do I know if the account used in setup intent is valid? Will I only know during payment intent creation? In that case, what entity should I rely on to validate the payment method?

Related Request ID(s)
N/A

What have you already attempted?
Tried setup intent creation using the following account number AT321904300235473204 given in Stripe documentation.

Expected scenario: The PaymentIntent status transitions from processing to succeeded after at least three minutes.

What are you working on?
Working on building SEPA direct debit for recurring payments using intents API

cursive heronBOT
#

@still hare pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're looking for a stripe developer who has already implemented pay-per-use billing using β€œMeters”.
And who also knows how to use the Bubble environment.

Please contact me.

(If you speak French, it's a big Yes :) )

Related Request ID(s)
nope

What have you already attempted?
6 developpers who don't have never use meter

cursive heronBOT
#

@meager crag pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
private void processPaymentIntent(String paymentIntentId, Reader reader)
throws StripeException {
final ReaderProcessPaymentIntentParams props =
ReaderProcessPaymentIntentParams.builder()
.setPaymentIntent(paymentIntentId)
.build();
final int maxAttempts = 3;
final long msBetweenAttempts = 150;

    final RequestOptions requestOptions =
            RequestOptions.bu

Question
How to handle terminal_reader_timeout. We retry the same request with the same idempotency key, but we get back an error saying. Unsure how to go about it next.
> ApiException: There is currently another in-progress request using this Idempotent Key (that probably means you submitted twice, and the other request is still going through): 296d9a9a-71ae-46e4-a7bd-894cba12c53e-1. Please try again later.; code: idempotency_key_in_use; request-id: req_NVOjv2aEsETfM4

What have you already attempted?
Not having retries.

Unsure if we should just try again with a different idempotency key?