#dev-help

1 messages · Page 80 of 1

atomic shuttleBOT
#

@meager hinge pressed the 🪝 Webhooks button in #help to ask a question:

Question
When I do a refund while canceling a subscription in the Stripe Dashboard, the refund.created event is not sent.

Related Event ID(s)
evt_3OtSyHH7t32LLKQx1fvsuMSl

What have you already attempted?
Test using API & Dashboard

What are you working on?
Integrate stripe subscription

#

@vital parrot pressed the 👍 Best Practices button in #help to ask a question:

Question
I need to have different shipping rates for each country, if I collect Customer Address beforehand, can I prefill them into Checkout? I like Checkouts Coupon validation + After payment Invoices and Payment Intents don't have those included so Checkout is the only way to go

Doc/Guide Links
https://docs.stripe.com/payments/collect-addresses
https://docs.stripe.com/payments/during-payment/charge-shipping?payment-ui=checkout

What are you working on?
Jewelry page that ships inside Europe, shipping prices vary from 5.5€ to 20€+, that is why I need shipping rates to vary depending on the country

atomic shuttleBOT
#

@sterile flame pressed the 🔌 API button in #help to ask a question:

Question
hi, In my situation, I want the user to activate my subscription and after a 30Days stripe send an invoice to the user for recharge. i just call the checkout Api and i could not find how to config this api to send invoice after 30Days instead charge automatically.

Related Request ID(s)
sub_1OtruYJWWKtHpjwkB8gZwtqq

What have you already attempted?
when user clicked on buy button, i call the checkout api and redirect user to checkout page, after successful payment i change user stats, but after 30 days stripe recharge automatically and i dont want this. i want to stripe sends an email for manual payment from user. i cant do this from Api

#

@golden wolf pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I'm working with parital refund function for Stripe on Opencart site.
I add another field for reason. The refund API does support reason field but it is not what I want.
It should be a note to timeline or something else that Stripe account owner can see in payment page

What have you already attempted?
I tried to use metadata but it is not very useful because there is no place to view refund detail in Stripe dashboard

#

@native wren pressed the 🔌 API button in #help to ask a question:

Question
I am trying to create a subscription with a custom start date and end date for the first period. Basically from 01/01/2024 to 01/01/2025 for an annual sub. But the price is slightly incorrect dur to proration... When I try to disable it, then no invoice is created for the first period of the subscription. Any idea?

Related Request ID(s)
req_9NKJgP9DplZFf4

What have you already attempted?
I tried to create a subscription with a backdate\_start\_date and a billing\_cycle\_anchor\_config, which actually works well and properly create the subscription and the first invoice.
Then, as the price of the invoice was slightly off, I added a proration\_behavior set to none.
But then, no first invoice is created.

atomic shuttleBOT
#

@sudden dagger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hi, for android TV SDK. Using PaymentSheet, when we are showing the payment sheet, we could not select the address in the fields, it's not "Focusable". So unless you have a pointer, the focus will go from card number to zip code without having the ability to select the "address"

What actually happened?
Hi, for android TV SDK. Using PaymentSheet, when we are showing the payment sheet, we could not select the address in the fields, it's not "Focusable". So unless you have a pointer, the focus will go from card number to zip code without having the ability to select the "address"

Reproduction Steps
Present the paymentsheet on android. using keyboard/remote, fill up each fields, try to select "Address" field

Question
Is this expected behavior? and if yes how can we have a custom address field that is focuseable or at least set the default for the PaymentSheet, if yes, can you please provide fix for the focuseable address field?

What are you working on?
Payment integration for products on android tv.

#

@short fern pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Hello, may I know which API in the Stripe-ACH payment process includes the user's bank card name? Because we require users to make deposits under the same name.

What have you already attempted?
we didn't find this name in the API docs

What are you working on?
Link Stripe-ACH and Pionex.US

atomic shuttleBOT
#

@opal wing pressed the 🔌 API button in #help to ask a question:

Question
Test Case For Payment Card In My Website

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Test Case For Payment Card In My Website

#

@coarse burrow pressed the 🔌 API button in #help to ask a question:

Question
get the data from payout reconciliation report via API with all the column

Related Request ID(s)
get the data from payout reconciliation report via API with all the column

What have you already attempted?
i tried the below API

https://api.stripe.com/v1/reporting/report_types/payout_reconciliation.itemized.4 but I am just getting

{
"id": "payout_reconciliation.itemized.4",
"object": "reporting.report_type",
"data_available_end": 1710460800,
"data_available_start": 1501027200,
"default_columns":

What are you working on?
stripe and netsuite integration

#

@echo coral pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm a Stripe plugin developer and one of. our customer reported that the payment made via Stripe checkout is succeeded on Stripe but not Updated in corresponding order. When I cehckout found that the customer didn't add the webhook event "checkout.session.async_payment_succeeded".

Related Event ID(s)
no event since the webhook is not added

What have you already attempted?
What will I do? Is there any method to create a webhook for succeeded payment through dhasboard or any methods?

#

@supple warren pressed the 🔌 API button in #help to ask a question:

Question
i want to release some funds to my platform account to connected account. but the error is insufficient balance. can we hold amount of customer payment in our platform and after few days we transfer some or whole amount to the connect account. Our site is based on Renting system. there is business section.

Related Request ID(s)
pi_3OuXEDJ3dxAQpMxW1t7T54lz you can see our last 14th and 15th march payments

What have you already attempted?
We have custom account, and already implement successfully stripe landlord and renter, with multiple bank support. now i need to send. customer to platform and platform to connect account. I think transfers is best, but i don't understand the how to hold funds to my platform account to i can pay later to connect acc.

What are you working on?
myrentalspot.com its our site, and we are currently working on jobs and business feature just like freelencing site.

#

@mellow axle pressed the ❌ An Error button in #help to ask a question:

Error Message
{
"error": {
"message": "An unknown error occurred",
"request_log_url": "https://dashboard.stripe.com/logs/req_Ag8KG1iB********",
"type": "api_error"
}
}

Question
This error was gotten for a transfer attempt. I have a retry mechanism, which retried after sometime. But later noticed I have duplicate successful transfer. Is there a possibility that a response like this can later be retried by Stripe? How can I handle this better to avoid recurrence? Thanks

What have you already attempted?
I have a retry mechanism implemented when error occurs but eventually got a duplicate transfer.

#

@jaunty warren pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We create a CheckoutSession via API with the locale=de property and with customer_creation=always. The CheckoutSession is german and we also expect the automatically created customer to have language german.

What actually happened?
The automatically created customer will use the language of the browser with a higher priority than the locale which was set in the CheckoutSession. So e.g. if the browser is set to english the new customer will also have language english and get his invoices in english (!!)

Reproduction Steps
Create a CheckoutSession with locale=de and customer_creation=always but with a browser in another language. If you conclude the session and a new customer is created the customer will have the browser language

Question
We see this as a bug. When CheckoutSession has locale=de it should take higher priority than the browser language. Can this be changed?

What are you working on?
implementing stripe us our way of payment

#

@lucid bough pressed the 🔌 API button in #help to ask a question:

Question
We are using stripe API for a very long time and suddenly we can't see new customers payment sources through API. It's there on the dashboard, but not in the response. It's very critical thing for us, as we can't charge clients. Has something changed?

Related Request ID(s)
req_RlazKc6bdaTdts

What have you already attempted?
Create new customer with same source that isn't visible
Create yet another customer with different payment source
Mark payment source as default

#

@full sapphire pressed the 🔌 API button in #help to ask a question:

Question
I want to upgrade a subscription to a new tier, but I can't seem to find the code example in the docs.

Related Request ID(s)
price_1OteVpHKQ1MO1mAIGzZsJAyr

What have you already attempted?
Upgrading the quantity doesn't seem to work

atomic shuttleBOT
#

@ornate bough pressed the 🔌 API button in #help to ask a question:

Question
I want to attach a payment method of previous customer which is already in use. for new customer.

Related Request ID(s)
req_lrrU0ggBx5aYOS?t=1710501275

What have you already attempted?
I have created a new customer with create customer API and trying to attach previously used payment method of existing customer. encounter with error

atomic shuttleBOT
#

@opal wing pressed the 🔌 API button in #help to ask a question:

Question
Test card for test payment confirm

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Test card for test payment confirm

#

@little thorn pressed the 🔌 API button in #help to ask a question:

Question
Why this setup intent goes to failed?

Related Request ID(s)
evt_1OuYq9BHlcEWpgCkauVa19rB

What have you already attempted?
The card seems valid, the details about it show an expiration in August 2026 but we receive an error with 'expired card'

#

@granite sigil pressed the 🔌 API button in #help to ask a question:

Question
Need help with automatic_tax[enabled]=true in an aPI connection

Related Request ID(s)
I do not think this is applicable

What have you already attempted?
Called the support and tried throught he dashbord

#

@frail valley pressed the 🪝 Webhooks button in #help to ask a question:

Question
we need to make extra api call to expand the charge object from the latest charge returned in the payment_intent.succeeded event to get the balance_transaction, can we expand it in the payment_intent.succeeded webhook itself somehow?

Related Event ID(s)
evt_3OuT7PJHAA2oXO3V0wUN7Hj0

What have you already attempted?
I tried to expand the payment intent object in the webhook, but there is no such option i can find

What are you working on?
Maintaining wallet balance for a customer on our platform.

#

@thorn venture pressed the 🔌 API button in #help to ask a question:

Question
Can I create a Stripe intent and get a _pm id, without sending a name or email to Stripe? I am trying to send payment data, along with property data and dates to a channel manager via their API, but their API complains that the pm already has a customer attached. Can I get a pm without actually finalizing the payment?

Related Request ID(s)
req_6bx2hoZQly5NIB

What have you already attempted?
I have just been trying to send the payments along with the property data to the channel manager API and working with the errors there via their help team.

What are you working on?
New work on a web site app for corporate rental properties

#

@abstract yacht pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Need more space to input code, I will expand upon it in the chat below

Question
I want to connect my code to the Stripe hosted checkout page, for some reason it says that this page isn't working

What have you already attempted?
I have previously done this using the stripe hosted checkout page, it's just that I tried to then use Stripe elements, and decided to revert back to the hosted checkout, but I can't seem to connect it to the previous code

What are you working on?
I am trying to create a stripe hosted checkout page

#

@ornate bough pressed the 🔌 API button in #help to ask a question:

Question
Certainlly my organization works on role based. can I create customer role based to give permissions for multiple customer to access one payment method which is in use to another customer. if anyone give workaround for that more helpful

Related Request ID(s)
req_lrrU0ggBx5aYOS?t=1710501275

What have you already attempted?
i have tried to attach payment method which used to new customer.

#

@strong mist pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm not sure when a seller account is ready to start accepting payments, after the onboarding process. I have set up a webhook to listen for account.updated but I'm not sure if I only need to look for charges_enabled. I'm planning on using destination charges.(Also, do I need to set the transfer capability for account)

Doc/Guide Links
https://docs.stripe.com/connect/collect-then-transfer-guide?platform=web&payment-ui=checkout

What are you working on?
I'm considering stripe connect for a marketplace app. I'm looking at using express accounts for the sellers and charging a platform fee using destination charg

#

@primal hound pressed the ❌ An Error button in #help to ask a question:

Error Message
Not able to find document to add new payment provider

Question
I need to understand how we can integrate any other payment gateway in stripe. For example I can see applepay, bencontact in the settings option of worldpay where merchant can enable these payment methods. I want to add one more payment method example worldpay. i have this requirement from payment provider.

What have you already attempted?
not able to find any relevant document

What are you working on?
A Payment provider wanted me to use stripe for the merchant payments.

#

@fathom comet pressed the 🔌 API button in #help to ask a question:

Question
Hi, In my app there should be a list of receipts and the user should be able to download those receipts.

Related Request ID(s)
No related request

What have you already attempted?
I tried reading documentation, but didn't find a way to generate a pdf for download I'm only able to send it.

atomic shuttleBOT
#

@tawdry sigil pressed the 🧑‍💻 Code button in #help to ask a question:

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

if \(!stripe \|\| !elements\) return;

// Trigger form validation and wallet collection
const { error\: submitError } = await elements.submit\(\);
if \(submitError\) return;

Question
How can I get the info entered by the user in payment elements form? Can I get the country code by any chance?

What have you already attempted?
I tried getting it from elements but not sure exact way to do it.

#

@river pivot pressed the 👍 Best Practices button in #help to ask a question:

Question
I have prices that are on metered usage, and they have a flat fee/base fee, but when I fetch prices from Stripe, these flat fees are not anywhere to be seen. Is there any way of getting them?

Also when you create a checkout session with metered per-usage -> per-tier -> graduated, the price is 0.00

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models#tiered-pricing

What are you working on?
Building a SaaS for game servers to upload images and other media files + analytics and logging services

atomic shuttleBOT
#

@tribal steppe pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi team, I know that after creating a payment intent to authorize a credit card it will expire after 7 days. Is there a way that I can simulate the expiration of the payment intent so I don't have to wait for 7 days to test the code? Cancel a payment intent API doesn't offer the "automatic" cancellation_reason.

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

What are you working on?
Testing authorization expiration code we added for troubleshooting

atomic shuttleBOT
#

@vocal wagon pressed the 👍 Best Practices button in #help to ask a question:

Question
We have an scrow system where users can register and buy/sell their products via our platform. When user buys a product, we create payment intent within our platform account and later we create transfers to send money to the connected seller account . Will Stripe generate fiscalized invoices for both of these payments?

Doc/Guide Links
https://docs.stripe.com/receipts#:~:text=To generate invoices%2C toggle Successful,in your invoice template settings.

What are you working on?
Scrow system where users buy/sell their products

#

@thin flume pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const products = await this.stripe.products.list({
limit: 10,
expand: ['data.default_price']
});

Question
How I can expand product in response also with all recurring prices attached to it? I have to prices attached to the product but request returns only default_price

What have you already attempted?
I tried to add 'data.prices' value to expand property array in request but didn't received any expected data.

What are you working on?
Stripe payments integration in the angular web app.

#

@dawn basalt pressed the 🔌 API button in #help to ask a question:

Question
How can I perform instant verification using the Stripe API for the verification process only?

Related Request ID(s)
req_eJgczDMRkSiRYx

What have you already attempted?
I only require assistance with verifying whether the user has a correct Stripe account using the Stripe API.

What are you working on?
I'm a software developer

atomic shuttleBOT
#

@rose geyser pressed the 🧑‍💻 Code button in #help to ask a question:

Code
New api bbbbbbbbbbbbbbbbbbbbbb

Question
How to use new api fgggggggggggggggggggf

What have you already attempted?
New api gffffffffffffffffffffffffffffffffff

#

@rain violet pressed the 🔌 API button in #help to ask a question:

Question
Installed Stripe. TerminalSdk. StripeConfiguration class

Related Request ID(s)
1234567896598756211

What have you already attempted?
Installed new terminal sdk

atomic shuttleBOT
#

@frail valley pressed the 🪝 Webhooks button in #help to ask a question:

Question
If a payment settlement doesnt go through the bank does stripe provides any webhook

Related Event ID(s)
evt_3OuT7PJHAA2oXO3V0wUN7Hj0

What have you already attempted?
I want to it the payment doesnt settle due to some reasons then does stripe provide that webhook to know this?

What are you working on?
adding funds into stripe balance for my platform using customer card

#

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

Error Message
could not communicate with the reader. please make sure your reader is online and on the same network as your device. see https://support.stripe.com/questions/terminal-connectivity-issues for more details.

Question
How do you guys solve this? we have several locations and cant keep accessing router everywhere.

What have you already attempted?
https://support.stripe.com/questions/my-point-of-sale-application-cannot-connect-to-the-reader

Reproduction Steps
connecting router with our application, wont work on fritzbox and magenta router

atomic shuttleBOT
#

@torn vortex pressed the 🪝 Webhooks button in #help to ask a question:

Question
for some reason webhook failed to deliver.

Related Event ID(s)
evt_1OuctiJuwzUkoN6W2DtOLZo9

What have you already attempted?
webhook was triggering in live mode, on test mode its failing

#

@silk rose pressed the 👍 Best Practices button in #help to ask a question:

Question
I have 2 subscription based products. I am currently making use of Graduated pricing to allow the user to choose 1 of 2 quantities.

In reality, the quantities represent grams. either 100g or 200g of product.

I am doing it this way to get the nifty dropdown on the pricing table.

I need aliases for the 2 quantities

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/quantities#setting-quantities

What are you working on?
See the above! Checking out 1 of 2 "named" quantities

#

@charred swift pressed the 🔌 API button in #help to ask a question:

Question
How do I create a one_time price using stripe API

Related Request ID(s)
I don't have a specific Id for this question

What have you already attempted?
I am using the python package to call stripe:
stripe.Price.create(**params, api_key=self.stripe_api_key)
I saw there is a `recurring` attribute. If I DO NOT include `recurring`, it will be created as `one_time` as default?

#

@astral spire pressed the 🪝 Webhooks button in #help to ask a question:

Question
Webhook listens to recurrent charge

Related Event ID(s)
req_k45T6uCof0uRyh

What have you already attempted?
After my user subscribe to a plan, stripe will handle the recurrent charge (monthly & yearly in my setting), and our web app does not need to do anything more for it. Is webhook able to listen and handle this recurrent charging?

#

@spark pawn pressed the 🪝 Webhooks button in #help to ask a question:

Question
The checkout.session.completed and payment.intent.suceeeded objects returned from webhooks - does not show the last 4 digits of the credit card used.

Related Event ID(s)
evt_1OuTggIIYLWrOwdxAeoT10aH

What have you already attempted?
I have checked the docs.

What are you working on?
Ecommerce Web Application

atomic shuttleBOT
#

@warm marsh pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: amount,
currency: "sek",
payment_method_types: ['card','swish','klarna'],
customer: customer.id,
receipt_email: user.email,
confirm: false,
transfer_group: booking,
use_stripe_sdk:true,
})

Question
above is the stripe payment intent created for the payment and set the payment type to card,swish , and klarna

What have you already attempted?
already tried the code suggested from one of you dev-help , code from the documentation

What are you working on?
building a payment page in an android/ios application with payment types as card, swish, klarna

#

@austere solstice pressed the 👍 Best Practices button in #help to ask a question:

Question
hello! in my implementation, users can update their subscription in the customer portal, or resubscribe using the pricing table. In the case a payment fails, what happens? does the status change immediately? When would webhooks be necessary? Will a payment succeed at first then fail later on?

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

What are you working on?
web application for work

atomic shuttleBOT
#

@astral spire pressed the 🔌 API button in #help to ask a question:

Question
Subscription upgrade and downgrade on customer portal

Related Request ID(s)
req_tdspIEE9MuUpvW

What have you already attempted?
I use customer portal to handle subscription downgrade and upgrade. I made the portal through stripe dashboard. Currently, the user can change subscription plan on the portal, but all updates will be effective starting from next billing beriod. I want to make upgrade plan effective once the user upgrades to a plan

#

@spark pawn pressed the 🪝 Webhooks button in #help to ask a question:

Question
Karbi was helping me with expanding the Checkout Session object to get the last four digits of the credit card number.

I could only get the Session ID for the retrieve statement from the already returned Session object.

No errors on the retrieve statement. I'm confused how to access the information in the retrieve.

Related Event ID(s)
evt_1OueRLIIYLWrOwdxl0UEIpBx

What have you already attempted?
Viewed docs and attempted implementation

What are you working on?
Ecommerce Web Application

#

@oblique mango pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Payment through GPay to work.

What actually happened?
It throws an error (invalid payment method)

Reproduction Steps
const { error: submitError } = await elements.submit();
if (submitError) {
// setErrorMessage(submitError.message);
return;
};

    // create the customer
    const stripeCustomerIdRes = await fetch\('/api/stripe/findOrCreateCustomer', {
        method\: 'POST',

Question
What is wrong with my ECE setup?

#

@fiery stirrup pressed the 🔌 API button in #help to ask a question:

Question
When listening to webhooks, can we rely on the created field to understand the right order of the received webhooks?

Related Request ID(s)
we_1Jv3KwDfcmTYbu9Yq9C5xptl

What have you already attempted?
We think we have observed webhook events arriving where the created field didn't actually give us an accurate picture of the right order of the webhooks received.

What are you working on?
Stripe API Integration

#

@cobalt quarry pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Visa RDR dispute mitigation not working

What actually happened?
We noticed in our stripe account visa RDR is not catching and auto refunding disputed transactions after 03-05-2024

Reproduction Steps
Account: acct_1GujDIJtNWih52kX

Question
How can we resolve this issue? We have not changed anything with Visa regarding configuration of RDR rules - thank you

#

@cedar hawk pressed the 🔌 API button in #help to ask a question:

Question
what limited permission can I use to generate restricted API key that I can provide to my developers developing my shopify or woocommerce store? the keys should just have permission to allow store to collect payments and nothing else.

Related Request ID(s)
req_gUa21e4IhTdwJQ

What have you already attempted?
I tried looking for API docs that would allow me to generate restricted API keys with permissions only to pay via web store(shopify/woocommerce)

What are you working on?
My ecom sellers wants me to collect payments from their ecom stores So we want the brand to be able to generate API keys to configre their store from our portal

atomic shuttleBOT
#

@dense saddle pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there a way to allow the customer to save their payment method (e.g. a card) for future use during a checkout session in payment mode?

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

What are you working on?
A web app that allows customers to pay for services

#

@wide temple pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Payment to be processed without 3DS or required_action to be triggered

What actually happened?
Payment completed successfully, however, requires_action is returning true

Reproduction Steps
Will post code once chat has been created.

Question
Why is requires_action true, if payment is succesfully taken, and the card does not require 3ds?

atomic shuttleBOT
#

@sinful igloo pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expected to use the stripe payment element to test my integration using the US Bank Account > Test institution option.

What actually happened?
When I go to the US Bank Account option and select Test Institution I get this error in the console and the frame hangs in loading state. Refused to display 'https://connections-auth.stripe.com/' in a frame because it set 'X-Frame-Options' to 'deny

Reproduction Steps
Use a payment element for a payment or to add a payment method, select US bank account option, fill details, click Test Institution option.

Question
Is this a known issue? If so, how can it be overcome?

What are you working on?
SAAS Application w/ user subscriptions

atomic shuttleBOT
#

@bright shale pressed the 👍 Best Practices button in #help to ask a question:

Question
What's the best practice for seat-based pricing models and allowing adjusting quantity in Customer Portal? I'd like to prevent them from setting quantity lower than their team's user accounts. Customer Portal allows setting any value. Do I have to roll my own proration previews to avoid this issue?

Doc/Guide Links
Can set Customer Portal config here, but you can only enable/disable setting quantity. No way to set parameters on it:
https://docs.stripe.com/api/customer_portal/configurations

Can use this for proration previews:
https://docs.stripe.com/api/invoices/upcoming_invoice_lines

What are you working on?
SaaS application that prices per user seat

#

@candid siren pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I was trying to make a virtual card but it wont let me contact sales.

What actually happened?
It denied access with my email adress, every other adress than gmail adresses are accepted. my account is set up with a gmail adress.

Reproduction Steps
Log in
Click card issueing
Click Contact sales
Put in email
Email denied
It says sign up
it automatically logs me in
repeat

Question
I would just like to contact sales but chat denied me any help because i accidentally hit caps mid sentence and sent 3 messages in caps

#

@solemn shadow pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Stripe Link won't show up on card element

What actually happened?
Cards, Klarna, Google Pay (or Apple Pay) all show up, but link is activated and won't show up.

Reproduction Steps
Developing local so I can't show

Question
What can I tell you to help me get Stripe Link to show up in my card element. (I've googled, read docs etc).

#

@flat perch pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it possible to use the API to send an invoice to an e-mail other than the one associated with the customer (ex: an account services manager at a larger company) at the time of purchase?

Doc/Guide Links
https://docs.stripe.com/invoicing/integration and those sub-pages

What are you working on?
an academic research app that is accessed through a subscription

#

@hollow magnet pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it possible/good practice to setup Affirm as a customer's preferred payment method, for use as their "method on file" for charges at later stages? "Later" here means several months, year, and server initiated without direct customer interaction.

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

What are you working on?
Csuite want to add "Affirm as on-file payment method" in addition to "Credit cards on file"

atomic shuttleBOT
#

@dry ember pressed the 🔌 API button in #help to ask a question:

Question
Is the latest stripe-react-native library enough to prevent us from having to fill out a PCI SAQ form?

Related Request ID(s)
req_LAeCrKvqHJKH6o

What have you already attempted?
We are on the 0.26.0 (March 2023) version of stripe-react-native and the Compliance page is telling us we have payments that were made by sending card details directly to Stripe.

#

@graceful thistle pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Apple Pay should work

What actually happened?
Apple Pay did not work

Reproduction Steps
We are using your terminal to create invoices via a setup intent, but it seems that apple pay doesn't work.

Question
Is there a way to enable apple pay support for terminal setup intents?

What are you working on?
Setting up live donation when our client is at an event.

#

@next pond pressed the 👍 Best Practices button in #help to ask a question:

Question
In the case when I use Destination charges, and application_fee_amount is 0 (or null), how found flows looks like? Is that mean that Stripe fees are subtracted directly from the connected account?
I don't see the point that amount going first on the platform. Can you please explain it or send flow of founds for this?

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges

What are you working on?
Food delivery app, without platform fee for clients.

atomic shuttleBOT
#

@silk rose pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Defined multiple currencies for subscriptions. ACC is not available in my country. Docs make me assume that detecting the set currency should still be possible?
(currently in testmode, am aware of testing w the email trick, but shouldnt automatically determining the currency work in test mode as well?)

What actually happened?
remains the default currency

Reproduction Steps
create subscription, add multiple currencies, generate pricing table, embed, visit table and checkout

Question
Get currency detection working without ACC for subscriptions in pricing table.

#

@rocky fog pressed the 🔌 API button in #help to ask a question:

Question
we want to provide customers w additional detail after they make a payment. currently the receipt only has some detail but we'd like to add customer's name, company name, address and customers tax ID to receipts that they receive when they make payment

Related Request ID(s)
there are no related request IDs found

What have you already attempted?
contacting stripe support but they pointed me here.

atomic shuttleBOT
#

@regal tree pressed the 🔌 API button in #help to ask a question:

Question
How can I use the API to check if a specified email belongs to any customer? The ways described in the API documentation return no results, even for valid emails.

Related Request ID(s)
Strangely, I couldn't find any logs of these operations.

What have you already attempted?
I tried using cURLing the `v1/customers/search` endpoint using `query="email:'[customer email]'"`, as well as sending a GET request including the email to the `v1/customers` endpoint. Both return the `search_result` object, but no results (empty `data` array).

What are you working on?
I'm implementing a licensing scheme into my macOS app based on customer emails.

cerulean pineBOT
atomic shuttleBOT
#

@grand moss pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to search for invoice items based on their period value or some metadata values?

Related Request ID(s)
N/Aaaaaaaaaaaaaaaaaaaaaaaaa

What have you already attempted?
I've read the docs, and it appears there is a way to filter by when they were created, but I don't see any methods for searching based on the `period` of an invoice item.

What are you working on?
I'm working on a invoicing integration.

atomic shuttleBOT
#

@opal wing pressed the 🔌 API button in #help to ask a question:

Question
I have some questions during the test stripe process after completing the integration in the dev environment

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
I have some questions during the test stripe process after completing the integration in the dev environment

#

@lyric harness pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We use the API to create new subscriptions on customers. Something changed recently in the way Stripe creates new subscriptions. Similar API calls that passed earlier today fail now.

What actually happened?
This passed at 7:32 pm et: https://dashboard.stripe.com/logs/req_Pix1sLck57p64W

And this failed at 8:40 pm et: https://dashboard.stripe.com/logs/req_VslsysxT3hWc3c

Reproduction Steps
Posted similar requests to create subscription

Question
Did anything change in the way stripe processes this?

atomic shuttleBOT
#

@hushed lily pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to change the price of a subscription?

Related Request ID(s)
req_cQtIHDDaXC1mCy

What have you already attempted?
Using this API endpoint > https://api.stripe.com/v1/subscriptions/sub_1MowQVLkdIwHu7ixeRlqHVzs

I don't see any parameter to change the price of a subscription.

What are you working on?
A bubble app plugin.

atomic shuttleBOT
#

@jovial arch pressed the 🔌 API button in #help to ask a question:

Question
I have a unique pricing structure that I'm hoping for help setting up via the API.
Subscription - yearly recurring, includes 10 seats
Ability to add 1 seat @ $$/seat, or packages of 5 seats @ $$/package

Do I need to tackle this through the UI? With a choice of 5 seats just adding a qty of 5 to the "1 seat" price?

Related Request ID(s)
N/A........................

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#flat-rate-per-seat
Followed this for one price for Subscription and one price for the "add 1 seat" ... but can't determine how to do either an "add 1 seat" or a "package of 5"

What are you working on?
Custom Nextjs App with subscription pricing for teams

atomic shuttleBOT
#

@rain violet pressed the 🔌 API button in #help to ask a question:

Question
We want to implement .Net Beta integration. I have installed only Stripe.Net package. Can you please help us with the difference between server driven & .Net Beta implementation?

Related Request ID(s)
789456123789456123

What have you already attempted?
I have only imstallled Stripe.Net package. added stripe, stripe terminal package reference.

atomic shuttleBOT
#

@ornate bough pressed the 🔌 API button in #help to ask a question:

Question
Can I assign one payment method which is used by one customer to another customer.

Related Request ID(s)
req_hikAshOE6KrRpv?t=1710607835

What have you already attempted?
https://api.stripe.com/v1/payment_methods/pm_1OtmtvSGPu394vel0nd2u9bw/attach
{
"error": {
"message": "The payment method you provided has already been attached to a customer.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_hikAshOE6KrRpv?t=1710607835",
"type": "invalid_reque

#

@noble lantern pressed the 🔌 API button in #help to ask a question:

Question
When we using destination charges during creating payment intent then the transactional volume is counted towards the platefrom turnover or not?

Related Request ID(s)
When we using destination charges during creating payment intent then the transactional volume is counted towards the platefrom turnover or not?

What have you already attempted?
When we using destination charges during creating payment intent then the transactional volume is counted towards the platefrom turnover or not?

atomic shuttleBOT
#

@low parrot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
asdfasdfsadfsdfasfdsfsdfasfasfsdf

Question
asdfsdasdfadsfsdfasdfasffasdfasdfasd

What have you already attempted?
sdfasdasdfasdfdsfdsfsdfasfd

What are you working on?
asdfsadfsadfsadfsdasdfsfs

atomic shuttleBOT
#

@abstract yacht pressed the 🔌 API button in #help to ask a question:

Question
How do I display custom information for the stripe checkout form?

Related Request ID(s)
I don't think this is applicable

What have you already attempted?
I tried 'custom fields' and 'metadata'

What are you working on?
Building a checkout page

#

@rare cedar pressed the 🔌 API button in #help to ask a question:

Question
While trying to send a request to https://api.stripe.com/v1/transfers endpoint, I am trying to get a certain time interval using the created parameter, but I could not understand how the parameter should be filled.

Related Request ID(s)
req_0sf8a6RjCO3U1Q

What have you already attempted?
I tried to fill in the create parameter and sent a request.

#

@thorny summit pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
It should have returned the results for running `.search()` method

What actually happened?
I got this error message,
```
StripeInvalidRequestError: The search feature is temporarily unavailable in your region.
```

Reproduction Steps
In this example, I am using express.js (Node.js)

Try running this script
```
const searchStripeProduct = await stripe.products.search({
query: stripeProductParams.name,
});
```

Question
Unable to use search method for using products API

#

@heady tartan pressed the 🔌 API button in #help to ask a question:

Question
I'm using make.com and the Stripe app modules there, and I had our integration between Stripe and the accounting software our company uses working well. Now I don't know how to get the information about Balance Transfer (inbound) and I'd like to know how to tap into the amount of that btri_

Related Request ID(s)
po_1OkGIXKoqLsM0duKCWk8S4Wz

What have you already attempted?
The request ID is not related, I'm using it to complete this form.
I've been in touch with the Stripe tech support who recommended asking here.

What are you working on?
I'm working on an integration between Stripe and PowerOffice Go for our customers.

atomic shuttleBOT
#

@haughty grove pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best way to replicate StripePaymentSheet (iOS SDK) in JS (where the sheet doesn't exist) with PaymentIntent API but with a custom UI? Our backend provides the data for the iOS StripePaymentSheet (clientSecret, customerId, ephemeralKey and paymentIntentId).

Doc/Guide Links
https://docs.stripe.com/api/payment_intents
https://docs.stripe.com/elements/express-checkout-element
https://docs.stripe.com/payments/payment-element

What are you working on?
A payment flow on the web where user enters credit card info.

#

@short fern pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://stripe.com/zh-cn-hk/pricing/local-payment-methods

Question
May I ask how the single ACH transfer is charged, whether the user has a payment limit (including single, daily, accumulated, etc.), and how is the handling fee collected in case of a refund?

What have you already attempted?
Furthermore, is the settlement between Stripe and Pionex in USD directly or in USDT? If it's the latter, will there be an exchange rate difference, thank you for the explanation.

What are you working on?
Link Stripe-ACH and Pionex.US

#

@ember owl pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const account = await this.stripe.accounts.create({
type: 'standard',
country: 'AU',
email: email,
business_type: 'individual',
individual: {
first_name: 'John',
last_name: 'Doe',
dob: {
day: 1,
month: 1,
year: 199

Question
I've tried to pre-fill stripe with onboarding standard account to try and skip the business details part for individual onboarding. However, it still ends-up the same when I genereate an onboarding-link. How do I make it more seamless for the user or let them skip this step on onboarding?

What have you already attempted?
So I've attempted to pre-fill as much as I can but when I generate the onboarding link, the user still needs to go back to step 1

What are you working on?
Connecting e commerce with influencers

atomic shuttleBOT
#

@frail valley pressed the 🧑‍💻 Code button in #help to ask a question:

Code
withdraw_info=stripe.Payout.create(
amount=body['amount'],
currency=body['currency'],
metadata={"data":body['account_id']}
)

Question
How can i test manual payout to my external bank

What have you already attempted?
I have tried using test cards in the destination parameter but it did not work , do we have some test bank that we can use to test payouts

What are you working on?
Maintaining wallet balance for a customer on our platform.

#

@hushed lily pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi, how to test the invoice.payment_failed using webhook? My subscription is set to 30 days, how can I test it during the recurring process, I don't want to waste time.

Related Event ID(s)
evt_1OvbuTKmzyGfZeqIY1uzqS5e

What have you already attempted?
I have created a webhook with invoice.payment_failed event. I already test it upon subscription payment. But how to test it during the recurring process.

What are you working on?
bubble.io application using webhook invoice.payment_failed

#

@sweet lance pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Why does it charge you again when you change from a plan with different billing cycles (a plan with more features to offer to one with less to offer) when you have already paid for a larger plan?

What actually happened?
If a new invoice is being generated, an invoice should be created when the billing cycle ends

Reproduction Steps
Example: Premium Plus (3 usd) monthly to Premium Annual (24 usd) (But the monthly one is worth 2 usd, therefore the plus offers more things)

Question
Is there any way to channel this? I have tried the behavior and billing cycle anchor and it doesn't work, in fact it doesn't let you in the Stripe interface either.

#

@vernal trail pressed the 🔌 API button in #help to ask a question:

Question
PHP Stripe Subscription - how to create subscription with 20% discount only on 1st payment and recurring payment should charge full amount?

Related Request ID(s)
subscriptions with discount

What have you already attempted?
subscription without discounts

atomic shuttleBOT
#

@sharp agate pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Can't find any information about styling a `SelectList` for example `IdealBankSelectList` when using iDEAL. I'd like to add a padding to the `.SelectListItem`.

What have you already attempted?
I think I tried everything.

What are you working on?
iDeal payment styling

#

@still jay pressed the 🔌 API button in #help to ask a question:

Question
I have a payment intent that I'm listening on checkout.session.completed.
I belive this means that payment went fine.
How do I get the net value of that payment that arived on my platform?

Related Request ID(s)
req_ht7iiVd8r5GW1a

What have you already attempted?
PaymentIntent refreshedIntent = PaymentIntent.retrieve(paymentIntentId);
//Charge paymentIntent.getLatestCharge();
Long refreshAmountReceived = refreshedIntent.getAmountReceived();
Long refreshPaymentAmount = refreshedIntent.getAmount();

What are you working on?
A web app to organize gaming tournaments

#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
I am implementing Stripe payment in my react native app. For this implementation, I am using stripe-react-native v0.24.0 SDK. But the Stripe dashboard is saying that some payments made by sending card details directly to Stripe. I am not sure if this issue in on my end or not. Please help me for this issue.

Related Request ID(s)
req_MjCy3fgxkzivsX, req_68U7S8vPs3xRuc, req_XmA5RYzBOcysCp, req_Lxcn8CjVkdTLmp

What have you already attempted?
I have tested this workflow many times on my end, but I couldn't find any issue.

What are you working on?
As I mentioned above, I am implementing Stripe to my ReactNative app.

#

@opal wing pressed the 🔌 API button in #help to ask a question:

Question
I want to confirm the min and max I can pay.

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
I want to confirm the min and max I can pay.

#

@royal stone pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have a SaaS based platform, I am using Checkout Sessions with mode subscription to create subscriptions for my customer, I want to save the latest subscription id of my customer only after he has successfully paid the invoice, which webhook event to listen for

Related Event ID(s)
Currently I have know which webhook to use

What have you already attempted?
I have attempted to use the charge.succeeded webhook to fetch the invoice id from the charge succeeded event, and then fetch the subcription id using the invoice id

What are you working on?
Working on MERN stack project

#

@still jay pressed the 🔌 API button in #help to ask a question:

Question
I need to continue this discussion the published documentation is outdated.
I have a payment intent that I'm listening on checkout.session.completed.
I believe this means that payment went fine.
How do I get the net value of that payment that arrived on my platform?

Related Request ID(s)
req_ht7iiVd8r5GW1a

What have you already attempted?
PaymentIntentRetrieveParams params =
PaymentIntentRetrieveParams.builder()
.addExpand("latest_charge.balance_transaction")
.build();
....
Charge charge = paymentIntent.getLatestChargeObject();
Long chargeFee = charge.getApplicationFeeAmount();//I get null

What are you working on?
A web app to organize gaming tournaments

atomic shuttleBOT
#

@magic lance pressed the 🔌 API button in #help to ask a question:

Question
I want to share to users in email link to checkout where they can buy 25% off yearly plan. What is the easiest way to make it?

Related Request ID(s)
I have not tried anything yet

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

#

@vernal trail pressed the 🔌 API button in #help to ask a question:

Question
Stripe Subscriptions API webhook

Related Request ID(s)
Stripe Subscriptions API

What have you already attempted?
Applied 50% discount coupon ID to subscription object and it shows 50% less price for first month payment but on not getting same in webhook. why?

#

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

Error Message
The cryptogram provided is not valid. Cryptograms should be 16 to 32 character alphanumeric strings.

Question
What if for MAESTRO card there is a 44-digit value is coming from ApplePay?

What have you already attempted?
That seems to be an industry practice, so we are not able to impact it in any way.

What are you working on?
Processing external network tokens

#

@jade peak pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Is there posibility to configure price as one time and include there quantity?

What have you already attempted?
I was able to create price recurring and one time price. Now there is a need to create quantity feature for one time payments.

atomic shuttleBOT
#

@oblique mango pressed the 🧑‍💻 Code button in #help to ask a question:

Code
When submitting an ECE, I get the error : "The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements."

Question
What is wrong with the way I handle the ECE?

What have you already attempted?
I have read the documentation

What are you working on?
handling ECE payment

#

@slender valley pressed the 👍 Best Practices button in #help to ask a question:

Question
Using checkout and fulfilling orders through the checkout.session.complete hook, how do I know that a payment process is failed? When using Paypal and declining the payment (on the integration page), I get redirected to my return url. How do I know that the user has declined this payment when querying stripe?

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

What are you working on?
SaaS startup with subscriptions and products.

#

@rare cedar pressed the 🔌 API button in #help to ask a question:

Question
https://api.stripe.com/v1/transfers When I was sending a request to the endpoint, I noticed that it came with pagination. How can I reach the other page when has_more is true?

Related Request ID(s)
not applicable I think

What have you already attempted?
I sent a request to https://api.stripe.com/v1/transfers endpoint

atomic shuttleBOT
#

@pliant elk pressed the 🔌 API button in #help to ask a question:

Question
How to remove "By saving your payment information, you allow <name> to charge you for future payments in accordance with their terms." from checkout page?

Related Request ID(s)
no_id_at_the_moment

What have you already attempted?
Looked in API docs at https://docs.stripe.com/api/checkout/sessions/create?lang=dotnet but could not find the answer.

What are you working on?
Payment service integration

atomic shuttleBOT
#

@frail valley pressed the 🧑‍💻 Code button in #help to ask a question:

Code
top_up_info = stripe.PaymentIntent.create(
amount=body["amount"],
currency=body["currency"],
automatic_payment_methods={"enabled": True, "allow_redirects": "never"},
customer=body["customer_id"],
payment_method=body["pay

Question
while using payment intent with a credit_card as a payment method, how much time is the settlement time for these funds?

What have you already attempted?
i tried to create a payment intent using credit card

What are you working on?
Maintaining wallet balance for a customer on our platform.

#

@odd dust pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Currency to be as set

What actually happened?
Currency is not the one I expected

Reproduction Steps
Create an invoice with a product in USD despite my account being in PLN

Question
How do I fix that and make the product actually be in USD?

#

@reef blade pressed the 🔌 API button in #help to ask a question:

Question
Hello! Is there any way we can filter out the zipcodes from a country that user's can't use? For example we have a service that's available in a single country (we filtered that out, all good) but we also support only a certain list of zip codes from that country. Is there any way to do this on the checkout API?

Related Request ID(s)
No requests ID found or not sure what you mean

What have you already attempted?
Searched the check-out api and google/stack overflow for it - but nothing clear for me yet.

What are you working on?
Lola - which enables seamless integration with over 60 devices, offers male & female blood testing*, crafts tailored fitness plans, monitors your daily mood, an

#

@graceful niche pressed the 🔌 API button in #help to ask a question:

Question
is it possible to update the invoice line content
when a payment is made for a subscription, the invoice line contains the product and a period starting from the due date to due date + 1 month
we want to remove the period annotation

Related Request ID(s)
in_1Ouha0FxsE4pn4oajW6I88Hp

What have you already attempted?
........................

atomic shuttleBOT
#

@dusty delta pressed the 🧑‍💻 Code button in #help to ask a question:

Code
// Create the subscription with the found product ID
$subscription = $stripe->subscriptions->create([
'customer' => $customer,
'items' => [['price' => $product_id]],
"currency" => $_currency,
"description" => $paydesc,
]);

Question
Hi, I'm trying to setup a yearly stripe subscription for a client. in test mode the subscription code works but in live mode i'm having issues where the user is unable to complete the verification process for a 3D Secure Billing for users in UK

What have you already attempted?
i have enabled 3d secure and Send a Stripe-hosted link for customers to confirm their payments when required in settings . i have read the docs on 3d secure but unable to understand or implement the instructions due to customization of the code from the first developer. -the code isn't mine and there aren't doc for it

What are you working on?
I am changing a stripe pay model from one time payment to a year subscription payment

#

@jade beacon pressed the 🔌 API button in #help to ask a question:

Question
I am building a stripe apps saas that users who install my app can flowlessly I onboard customers and take their payment details. One of the steps that the app will do is to do identity check on customers of the app owner.

Related Request ID(s)
stripe apps marketplace

What have you already attempted?
I have a backend and ui for the stripe app. issue is when I have integrated the identity api it is not giving the platform permission to do an identity check for the connected accounts customers

What are you working on?
it is a market place stripe app that users can install and use as an onboarding tool for their business

#

@cobalt arrow pressed the 🔌 API button in #help to ask a question:

Question
Using post transfer request to pay out a connected account and getting a "No such destination" error when the account number clearly matches the acct number shown on the connected account

Related Request ID(s)
1138699125727166474

What have you already attempted?
- I compared previous transfers to the same account and verified that the requests were identical
- I inspected the connected account for obvious issues

What are you working on?
A marketplace for coaches

atomic shuttleBOT
#

@sweet lance pressed the 🔌 API button in #help to ask a question:

Question
Is there any API or endpoint that allows me to show my upcoming invoice but from a subscription schedule?

Related Request ID(s)
No ids here, just a question

What have you already attempted?
I am creating a subscription schedule, the problem is that the retrieve only works with the same cycles, but when they are different cycles, it does not show the upcoming invoive well, the only way is to create a schedule, but I need to show the upcoming of that schedule without relating it to the subscription

What are you working on?
nestjs react postgresql

atomic shuttleBOT
#

@autumn creek pressed the 👍 Best Practices button in #help to ask a question:

Question
When a subscription has multiple items, I am using the Subscription Update to delete a subscription. Does the deletion happen just like subscription cancellation at the end of the cycle or does it delete immediately and prorate?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/update#update_subscription-items-deleted

What are you working on?
Building a custom UI for cancelling Subscription items from a subscription as this is not supported by Stripe Customer Portal

#

@frigid vapor pressed the 🔌 API button in #help to ask a question:

Question
I am using the /v1/payment_intents endpoint to process a charge on a us_bank_account payment method. We worked with someone at Stripe to waive the requirement for microdeposit verification on our account. But when I send the request through, it still returns a "next_action" of type "verify_with_microdeposits"

Related Request ID(s)
req_nwmNfhdxoSG4TL

What have you already attempted?
I've looked through the docs for Payments, PaymentIntents, ACH capture flows, Bank Accounts, etc, and not found anything specific to my situation: a callout expecting microdeposits to be waived. The parameters included in the above request Id are the result of much fiddling, the closest I can get.

What are you working on?
A new system which accepts initial deposits and later bills additional sums for individuals signing up to go on guided tours.

#

@woven hawk pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Create a checkout session with on_behalf_of parameter set to a connected account.
await stripe.checkout.sessions.create({...
...
payment_intent_data: {
on_behalf_of: req.connectedAccountId,
application_fee_amount: req.platformFee,
},
...
});

What actually happened?
When calling redirect to checkout, I get Unexpected error communicating with Stripe.

Reproduction Steps
create a checkout session with the payment intent data as described and then redirect to checkout.

Question
Why am I getting Unexpected error communicating with Stripe instead of opening the Stripe checkout page?

What are you working on?
ticketing platform where my connected accounts are event organizers and I want the invoice to go directly to the organizers, without increasing my turnover

#

@molten cliff pressed the 🔌 API button in #help to ask a question:

Question
need to implement two step payment
Step #1: user enter the credit card
On the basis of BIN (first 6 digit of credit card), I want to apply appropriate discount
Step #2: Preview page to confirm the payment
How can I achieve this using stripe ?

Related Request ID(s)
Could not find any relevant

What have you already attempted?
I tried with stripe documentation. Came across
https://docs.stripe.com/payments/build-a-two-step-confirmation
but I am not able to find how can I get the BIN

What are you working on?
need to implement two step payment Step #1: user enter the credit card On the basis of BIN (first 6 digit of credit card), I want to apply appropriate discount

#

@midnight mortar pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I would like to get access to the customer-sheet beta for React Native.

What have you already attempted?
I saw someone get help accessing beta features in the #dev-help thread so I am posting this here.

What are you working on?
Would like to test Customer Sheet react-native integration

#

@ornate bough pressed the 🔌 API button in #help to ask a question:

Question
can i create business card for one user and use to multiple customers

Related Request ID(s)
req_lrrU0ggBx5aYOS?t=1710501275

What have you already attempted?
using one paymet method of business card to other customer. can we achieve it

atomic shuttleBOT
#

@wide temple pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Smart Retries not available on Test dashboard. I also have some subscription questions.

What actually happened?
I visited /revenue_recovery/retries

Reproduction Steps
Umm, go to the test dashboard /revenue_recovery/retries and the settings can't be changed.

Question
I'm building a SaaS app, subscriptions are optional. I'm looking for advice on best approach for failed payments/retries.

#

@regal apex pressed the 🪝 Webhooks button in #help to ask a question:

Question
Subscription invoice generated and failed after that another attempt for invoice created but this time webhook event invoice.finalized not fired, need support to resolve this issue

Related Event ID(s)
https://dashboard.stripe.com/payments/pi_3Otq5h4V4UG4b3Qn1C9dw8m2

What have you already attempted?
Checked fired events and logs

What are you working on?
Maintaining stripe API Calls

#

@mossy hazel pressed the 🔌 API button in #help to ask a question:

Question
Hi, I am creating a chart where I wanna show the money earned in the last 30 days for the connected acc. So how much revenue the connected-acc made on each day, for the last 30 days. What the recommended way or rather which Api would do the job?

Related Request ID(s)
.....................

What have you already attempted?
I looked into the api docs but hard to find the right once

atomic shuttleBOT
#

@drowsy kindle pressed the 🔌 API button in #help to ask a question:

Question
I am using checkout session for our existing customers to place orders from our in-house shop. Prior to switching to CheckoutSessions, a customer account balance would be applied in the invoice automatically. Now it appears that feature is no longer available in Checkout Sessions. Am i missing a setting somewehere?

Related Request ID(s)
NoneNoneNoneNoneNone

What have you already attempted?
I have looked through the documentation

What are you working on?
Checkout Sessions xcv

#

@slim vessel pressed the ❌ An Error button in #help to ask a question:

Error Message
checkout form appearing blank

Question
why appearing blank or empty?
even after successfully integrating stripe in my code?

What have you already attempted?
every possible steps available

What are you working on?
LMS platform course generator

#

@small sedge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
In the iOS & Android SDKs, is it possible to hide the `Add Card` button in the Payment Sheet?

Question
In the iOS & Android SDKs, is it possible to hide the `Add Card` button in the Payment Sheet?

What have you already attempted?
Looked through the Stripe Docs & investigated the library

What are you working on?
Hide the Add Card button in certain User flows.

atomic shuttleBOT
#

@mossy hazel pressed the 🔌 API button in #help to ask a question:

Question
I am using the retrieve balance api to get the balance from an connected acc but always getting 0 as the amount eventhough the acc has balance

Related Request ID(s)
.....................

What have you already attempted?
......................

#

@grand moss pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to make positive credit note adjustments to an invoice after it is in the "open" state?

Related Request ID(s)
req_bcTwXaKvek6sij

What have you already attempted?
I attempted to create a negative credit note to increase the balance of the invoice:

```python
credit_note = client.credit_notes.create(params={"invoice": invoice.id, "lines": [{"type": "invoice_line_item", "amount": "-1000", "invoice_line_item": invoice.lines.data[0].id}],})
```

What are you working on?
Attempting to port our billing system to stripe

#

@prisma coral pressed the 🔌 API button in #help to ask a question:

Question
I'm a platform using stripe connect that let's businesses take bookings. My customers want to be able to see the payment intents that make up a payout and link those back to application objects (bookings). I do not see a nice way to go from a payout to a list of payment intents (with metadata). Any ideas here?

Related Request ID(s)
-----------------------

What have you already attempted?
I don't see any way to do this currently.

#

@pliant elk pressed the 🔌 API button in #help to ask a question:

Question
How to remove "Securely save my information for 1-click checkout" from checkout page?

Related Request ID(s)
no_id_at_the_moment

What have you already attempted?
Looked in API docs at https://docs.stripe.com/api/checkout/sessions/create?lang=dotnet but could not find the answer.

What are you working on?
Payment service integration

#

@dull anvil pressed the 🔌 API button in #help to ask a question:

Question
Problem with 3ds authentication(confirmCardSetup) with SetupIntent. Stripe.js returns setup_intent_authentication_failure and api request to https://api.stripe.com/v1/3ds2/authenticate fails with 400 http code and message "3D Secure 2 is not supported for the specific transaction."

Related Request ID(s)
seti_1OvgdU4jglQovnzXXVXkM0i5

What have you already attempted?
I've tried different versions of Stripe.js, api and php sdk.

#

@novel current pressed the 🔌 API button in #help to ask a question:

Question
Payments for customer keeps failing due to "connection error", error says to retry but it's been ongoing for 11 days

Related Request ID(s)
pi_3OrpwDJoa4Az1hv20m1ATmqZ

What have you already attempted?
Retried payment multiple times

atomic shuttleBOT
#

@misty crown pressed the ❌ An Error button in #help to ask a question:

Error Message
Missing email. In order to create invoices that are sent to the customer, the customer must have a valid email.

Question
Is it possible to create Invoice in Stripe without email address for the customer?

What have you already attempted?
I've been checking the Invoice API but I can't see any options.

#

@grand grail pressed the 🪝 Webhooks button in #help to ask a question:

Question
We are looking to set up a webhook to listen to the `account.updated` event. We are interested in receiving an event whenever an accounts payouts have been disabled. However this webhook payload includes the entire account object and not the field that was changed. How would we listen for just when the account payouts

Related Event ID(s)
xxxxxxxxxxxxxxxxxxxxxxx

What have you already attempted?
I've attempted to go through the docs & it's unclear where I'd see the field being "changed"

What are you working on?
Chargeblast App .....

#

@stable radish pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
the Apple Pay button to show

What actually happened?
the Apple Pay button doesn’t show

Reproduction Steps
going to payment links and the page doesn’t have the Apple Pay button available

Question
how can i get the apply pay button to show on payment screen it’s not showing

What are you working on?
payment page links and it’s not working

atomic shuttleBOT
#

@mossy hazel pressed the 🔌 API button in #help to ask a question:

Question
Hi, I am creating a chart where I wanna show the money earned in the last 30 days for the connected acc. So how much revenue the connected-acc made on each day, for the last 30 days. What the recommended way or rather which Api would do the job?

Related Request ID(s)
.....................

What have you already attempted?
....................

#

@karmic mango pressed the 👍 Best Practices button in #help to ask a question:

Question
We currently use both Stripe Checkout and Portal to allow users to manage their subscriptions. We would like to introduce four different add-ons that can be purchased as upgrades (ex: Priority Support, Analytics, etc). Do Checkout/Portal support this, or do we need to handle the UI on our side and change via the API?

Doc/Guide Links
https://docs.stripe.com/payments/checkout
https://docs.stripe.com/payment-links/promotions
https://docs.stripe.com/payments/checkout/cross-sells
https://docs.stripe.com/payments/checkout/upsells

What are you working on?
SaaS app with monthly per-seat subscription

#

@sweet lance pressed the 🔌 API button in #help to ask a question:

Question
Is there any way for a plan with a $0 subscription to be infinite? Stripe only allows me a maximum of 3 years.

Related Request ID(s)
no ids for this question

What have you already attempted?
I tried to enter many years but Stripe won't let me

What are you working on?
nextjs react nodejs and

#

@forest ore pressed the 👍 Best Practices button in #help to ask a question:

Question
If our company wanted to upgrade product pricing for all monthly customers could we do this from a terms of service perspective even though the customer did not approve it? I assume our legal department would send out a 30 day notice opt out etc to all customers before we did it.

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

What are you working on?
API for our business to increase pricing

atomic shuttleBOT
#

@knotty skiff pressed the 🔌 API button in #help to ask a question:

Question
I am using Ringba , I am trying to activate auto recharge recurring payments for our buyers using Stripe. I am lost as it is my first time to use Stripe and financial APIs.

Related Request ID(s)
Not available. This is a new request

What have you already attempted?
I am stuck in the beginning, can someone please guide me?

What are you working on?
I am using Ringba , I am trying to activate auto recharge recurring payments for our buyers using Stripe. I am lost as it is my first time to use Stripe and fin

#

@plucky pine pressed the 🔌 API button in #help to ask a question:

Question
I changed my package name/bundle ID from com.motomtech.app to community.bash.us and I need help making sure I can still communicate to Stripe

Related Request ID(s)
I'm not sure what this means

What have you already attempted?
I'm not sure what to attempt.

#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
I want to implement Stripe payment system on my RN app using stripe-react-native module.

Related Request ID(s)
req_implement_stripe_to_RN

What have you already attempted?
I was going to create a Payment Intent but the result is undefined

What are you working on?
I am working on RN project

#

@oblique mango pressed the 🪝 Webhooks button in #help to ask a question:

Question
How to simulate a subscription renewal?

Related Event ID(s)
No event Id ********

What have you already attempted?
I have tried to use the simulator within the subscriptions tab, but it does not seem to hit my webhook

#

@grand moss pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected the invoice revision to retain the same due date as the original invoice.

What actually happened?
The revised invoice instead had its due date pushed out into the future.

Reproduction Steps

  1. Create a test clock.
  2. Create a customer tied to the test clock.
  3. Create an invoice for that customer with `days_until_due` as 30 and `collection_method` as send_invoice.
  4. Add an invoice item to the invoice.
  5. Finalize the invoice.
  6. Advance the test clock by 15 days forward.
  7. Create a revised invoice

Question
How can I ensure that a revised invoice retains the same due date as the original invoice? Attempts to pass `due_date` when creating the revised invoice results in this error:

stripe._error.InvalidRequestError: Request req_jkbQPQNsxrB2Zd: Received both from_invoice and due_date parameters. Please pass in only one.

What are you working on?
Porting our billing system to use Stripe Invoicing.

#

@sturdy compass pressed the 🔌 API button in #help to ask a question:

Question
I have a front of office as well as a back of office site. I am fine with Link on the front of office site but need to disable support on back of office

Related Request ID(s)
pi_3OvmRWEEh9cdAk0g0mnERbQN

What have you already attempted?
Using the dashboard to control but that impacts both sites and I only want one. Previously I did not support sending of the email address to the stripe js sdk to prevent this but it appears it now always happens

What are you working on?
Back of office payments I do not want to support link as this is not a good experience, however front of office is fine. How to turn off link for given site?

#

@lucid epoch pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to move away from the stripe checkout session and bring that functionality into my app. I am having trouble getting the subscription to start (it's stuck in an incomplete state). The flow I'm trying to do is 1) add card. 2) set card as default 3) create sub.

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

What are you working on?
Creating a checkout flow to start a new subscription from our app, without going to stripe's checkout session. I

atomic shuttleBOT
#

@glacial flame pressed the 👍 Best Practices button in #help to ask a question:

Question
what the best way to enable customers to update their payment method using API?

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

What are you working on?
repair membership website

#

@rich jewel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
SELECT
charges?.<f1> created_utc
,charges?.<f2> available_utc
,charges?.<f3> pay_charge_amt
,charges?.<f4> pay_charge_fee
,c.<f5> c_name
,c.<f6> AS c_email
FROM customers c
INNER JOIN charges???
ON c.id = charges.customer_id
WHERE created_utc BETWEEN DATE('2024-02-01 00:00:00') AND DATE('2024-03-01-00:00:00');

Question
I need to know how we can get an itemized list of all payments/charges that have gone through to our Stripe account, the grosses, the fees, the date created, and the date available, the customer's name, and that customer's email address. How would I go about getting this information with the Sigma SQL?

What have you already attempted?
In the Stripe panel > Balance change from activity, I am unable to see the customer name. I signed up for Sigma to generate the data that I need to be able to export. But, I need to know what tables and columns I need in order to make the above code work as you would expect from what is written above.

What are you working on?
We are maintaining a website that allows recurring subscriptions and one-time payments through Stripe.

atomic shuttleBOT
#

@gleaming lantern pressed the 👍 Best Practices button in #help to ask a question:

Question
We do need a invoice for the application fee which is 7,5% including VAT and send it to the student / to our accountant. What is the best practice to do this?

Doc/Guide Links
We’ve read the documentation about direct/destination charges but can’t seem to connect it with the whole invoice / stripe tax logic.

What are you working on?
We are a platform for digital golf coachings using Stripe Connect. We earn with a 7,5% that is being charged via application fee.

#

@tender igloo pressed the 🔌 API button in #help to ask a question:

Question
Creating a Stripe Account via the Make.com’s integration, I am struggling to POST information about “business_profile.product_description” to the Make integration. I want to define what the product description will set to.

Related Request ID(s)
req_scbKzZpfCSyqNe

What have you already attempted?
Attempted the integration via Make, where key = business_profile.product_description, but it isn’t being recognised. The URL I am aiming for is v1/accounts, method POST

What are you working on?
From an Airtable Form a user fills in, I am creating a Stripe account, and I want to pre-define the field of Business Profile Product Description.

atomic shuttleBOT
#

@alpine jay pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<PaymentElement options={{ fields: { billingDetails: { address: { city: 'auto', country: 'auto', line1: 'auto', line2: 'auto', postalCode: 'auto', state: 'auto' } } }} } />

Question
I have Next js app that has following affirm, afterpay and klarna as payment method, as you know that afterpay requires shipping address, but shipping address fields is never shown along with the form. I can add new address element but It'll show it on all payment methods.

What have you already attempted?
I have tried creating AddressElement separately and tried to trigger changes when changing payment method types but it was unsuccessful.

What are you working on?
a next js app, that allows user to book message recording services for wedding and other events.

#

@median oak pressed the 🔌 API button in #help to ask a question:

Question
Is there a platform API version of the following command available?
https://docs.stripe.com/api/accounts/update

I do not want to update a connected account's information - I would like to update my own platform business account info.

Related Request ID(s)
req_bve0Vw6GtRIK93

What have you already attempted?
I've successfully issued a command to this end-point from my platform account. However the error message states this command is only to update connected accounts.

What are you working on?
I would like to update my platform account's business information from my own webapplication (instead of logging into stripe.com)

#

@sharp cliff pressed the 🔌 API button in #help to ask a question:

Question
Hi there I am trying to initiate a payment from a customer to a connected account via a payment intent. However I am seeing this error

The PaymentMethod provided (au_becs_debit) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card.

Related Request ID(s)
req_OSqM595M1WunHP

What have you already attempted?
I have tried explicitly setting the payment method & not using the customer default.

What are you working on?
Invoicing software with a similar model to ride sharing

atomic shuttleBOT
#

@timid glen pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am planning to move from
2022-11-15 to
2023-10-16. I wasn't aware of any breaking changes for the payload but it seems like webhook events are either failing or not being parsed the same

Related Event ID(s)
we_1N1wpfKjI0M1O6BO71Nt4Ik5

What have you already attempted?
testing the api version and deployed stripe-go v76 instead of v74

What are you working on?
billing service that uses kafka for eventing

atomic shuttleBOT
#

@hazy holly pressed the 🔌 API button in #help to ask a question:

Question
Finalizing an invoice that's too small with only Bank Transfers as an option results in an error

Related Request ID(s)
req_jBHQ0IrcNlEH0p

What have you already attempted?
I tried manually hitting 'Send invoice' in the dashboard, but the invoice doesn't get finalized.

In the end I got things working by manually adding $0.01 in credit to the customer account, then "Send invoice" worked.

#

@mint flame pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to retrieve revenue by month associated with a coupon?

Related Request ID(s)
i am not sure about this one

What have you already attempted?
i tried getting a list of all invoices and detecting for if the coupon is used

What are you working on?
SaaS for audio engineers

#

@grim orchid pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/financial-connections

Question
Does anyone have a sample code on how to recreate this functionality?

What have you already attempted?
Downloaded git hub repo

What are you working on?
I am needing to link a financial institution with my users so that they can later on use it to pay via ach

#

@gilded shard pressed the 🪝 Webhooks button in #help to ask a question:

Question
Good evening, I would like to do a simple integration of a webhook link that I have where it sends automatic messages on WhatsApp, how do I do it? I have the API link and I just need to link it with the product and the "purchase completed" option

Related Event ID(s)
plink_1Ov1OpEX7e6mrXD7dl03hOh6

What have you already attempted?
I just need this to continue

What are you working on?
I just need this to continue

atomic shuttleBOT
#

@hushed lily pressed the 🔌 API button in #help to ask a question:

Question
How to update a subscription price?

Related Request ID(s)
req_tdO68GfsbUyQq7

What have you already attempted?
created an API endpoint to update subscription price

https://api.stripe.com/v1/subscriptions/[sub_id]?items[[0]][[id]]=[price_id]&items[[0]][[price]]=[price]

What are you working on?
bubble.io plugin for development

#

@short fern pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/test/settings/payment_methods?platform_id=pmc_1OvrqBIk3S0fjC9foueCgN6h

Question
Hello, we only need to set up ACH's link payment method. Can you tell me where in the dashboard I can configure this? Currently, credit card payment is set as default. Could you please advise how we can deactivate this in the settings?

What have you already attempted?
I can't close the credit card payment setting

What are you working on?
Link Stripe-ACH and Pionex.US

atomic shuttleBOT
#

@old osprey pressed the 🔌 API button in #help to ask a question:

Question
how to redirect to dashboard page of app after upgrading subscription through stripe billing portal

Related Request ID(s)
stripe billing portal

What have you already attempted?
added return_url
const data = {
customer: req.session.user.stripeId,
return_url: `${domain?.origin}/dashboard`,
};
const session = await stripe.billingPortal.sessions.create(data);

atomic shuttleBOT
#

@opal wing pressed the 🔌 API button in #help to ask a question:

Question
Apply apple pay to my website now

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Apply apple pay to my website now

#

@loud condor pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I'm setting up usage-based pricing for certain items. The first 672 units will cost $0.50 each, then it's a flat $7.50. Also, I need to create multiple subscriptions for the same customer under the same price.

How can I do that?

What have you already attempted?
I attempted to create multiple subscriptions, but it keeps giving me an error saying there's a duplicate subscription.

What are you working on?
I work as a partner with Digital Ocean servers, and I need to set up billing for the servers that people buy from me.

#

@spark pawn pressed the 👍 Best Practices button in #help to ask a question:

Question
I have stripe checkout & webhooks functioning. I want to leave a transaction number for the customer on the final redirect page. I noticed a token in the url.

Is there Stripe API available for how to post information on the final/success page?

Doc/Guide Links
I am not sure of the name or what to look for to accomplish this.

What are you working on?
I am building a web application

atomic shuttleBOT
#

@wintry mural pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When using an iOS device, I would like the Apple Pay button to be displayed on checkout in payment mode.

What actually happened?
The apple pay button is not displayed in checkout in payment mode.
On the same device, an Apple Pay button was displayed on checkout in subscription mode.

Reproduction Steps
The following parameters are set for checkout.
- mode: "payment"
- payment_intent_data: {setup_future_usage: "off_session"}
- customer: "cus_xxxx"

Question
What settings do I need to make to display the apple pay button on checkout in payment mode?

atomic shuttleBOT
#

@magic bronze pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to force a single currency for all express connect accounts? e.g. force all connect users to deal only in USD (even payouts regardless of their local currency)

Related Request ID(s)
N/A N/A N/A N/A N/A N/A N/A

What have you already attempted?
N/A N/A N/A N/A N/AN/A

What are you working on?
A payment marketplace

#

@echo coral pressed the 🔌 API button in #help to ask a question:

Question
One of my plugin end customer made payment using Stripe checkout, it's succeeded in Stripe but not received the webhook event checkout.session.async_payment_succeeded for the payment

Related Request ID(s)
req_zPa7TfhgcRTLs6

What have you already attempted?
My plugin relays on checkout.session.async_payment_succeeded event to get the payment status and update the related order in WooCommerce

#

@ripe vessel pressed the ❌ An Error button in #help to ask a question:

Error Message
com.stripe.exception.SignatureVerificationException: No signatures found matching the expected signature for payload

Question
com.stripe.exception.SignatureVerificationException: No signatures found matching the expected signature for payload

What have you already attempted?
com.stripe.exception.SignatureVerificationException: No signatures found matching the expected signature for payload

#

@velvet geyser pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I am using stripe customer portal for updating / cancelling the plan for our customer with recurring charges. I am using invoice.paid and invoice.payment_failed webhook event for making change in our database. when user cancel the plan after paid, which webhook event (any ) is triggered at the end of month ?

What have you already attempted?
i dont know which webhook will trigger

What are you working on?
stripe webhook integration

atomic shuttleBOT
#

@tough shell pressed the 🪝 Webhooks button in #help to ask a question:

Question
Why is payment_intent null in "invoice.created" webhook

Related Event ID(s)
Event Id: evt_1Ov1ikJ54lNDIU9BeAw6P6uS

What have you already attempted?
I expected to retrieve the payment intent from the "invoice.created" event. What are the reasons that it could be null?

What are you working on?
Debugging our stripe webhook

atomic shuttleBOT
#

@normal prawn pressed the 🔌 API button in #help to ask a question:

Question
which api for saving and displaying different payment methods, such as apple pay, paypal, two/three cards of customer

Related Request ID(s)
I dont know about this

What have you already attempted?
I have researched about it and I think its thhe setup intent api?:
https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly?terminal-sdk-platform=react-native

What are you working on?
Hey guys, I am building uber clone in react native. I am in the process of integrating the payment flow

atomic shuttleBOT
#

@copper wasp pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am using stripe-java sdk in an quarkus based project I was expecting to be able to access stripe resources and operate on them using stripe-sdk

What actually happened?
Hello I am trying to integrate stripe into our quarkus back end using stripe-java SDK , locally everything is working fine I am able to access stripe resources, problem starts when application is build as an native image by GrallVm and deployed then every endpoint is returning NPE that is caused by missing stripe res

Reproduction Steps
1) Create an quarkus based project using stripe-java v24.10.0

2) Define a simple endoint for accessing user invoices as a list

3) Apply reflection-config.json https://github.com/stripe/stripe-java/issues/1199

3) Build application as an native image using GralVM and run it

4) Try accessing created endpoint

Question
What may be the cause of this behavior am I missing any configuration details ?

What are you working on?
Service for managing stripe operations

#

@hexed lantern pressed the 🔌 API button in #help to ask a question:

Question
Would it be possible to get an example of how to edit phases of a schedule through the API (preferably in PHP). I want to remove an item from a future phase, but am struggling so far. Something else I noticed is that if I fetch a schedule from the API, a phase doesnt have 'items' but 'plans'

Related Request ID(s)
req_Nn8FFW9yImBIK8, req_ieg4sP9ZbhyeWL, req_3xgZJqEqvLEWU0

What have you already attempted?
-only provide the future phases with their correct key (first request id). This gave an error because the indices dont start from zero.
-only provide future phases, without their key. This is interpreted as editing the current phase : not allowed
-provide all phases: not allowed to change past /current phases

What are you working on?
canceling items from a subscription in the future

#

@blazing crystal pressed the 🔌 API button in #help to ask a question:

Question
Currently we're using the sources API from which we create a single anonymous payment from which we retrieve the iDeal url. Then we'll redirect the user to this iDeal url. Now we want to migrate to the payment intents API, however there doesn't seem to be a way to get the iDeal url from that. How can I achieve this?

Related Request ID(s)
1234567890123456789

What have you already attempted?
I've read the docs, and we only want to implement payments trough iDeal. However there doesn't seem a way to achieve this without "checkout" or "elements"

atomic shuttleBOT
#

@lucid bough pressed the 🔌 API button in #help to ask a question:

Question
I have two questions. I'm migrating Sources to PaymentMethods and for `card` type it went smoothly. However, I have issues with ACH (us_bank_account type).

  1. From Plaid integration I'm getting bank token that I can't use for payment method - how to handle it?
  2. How to check if bank account is verified or not?

Related Request ID(s)
I don't have any useful request ID

What have you already attempted?

  1. Create PaymentMethod based on the token, receive `ba_` ID from fetched tokens data and connect it to PaymentMethod (informed me that I can't use legacy ID)

  2. I can't see that information in PaymentMethod object, and can't fetch BankAccount as it's not implemented yet in ruby gem

#

@long pumice pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm currently using PaymentIntent in the back and <PaymentElement> in React as a method to attempt payment. This seems to be allowing 3DS authentication for cardholders. Is there anyway for me to automatically decline payment from a card if it requires 3DS.

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

What are you working on?
Create a payment system for my subscription

atomic shuttleBOT
#

@heavy cove pressed the 🔌 API button in #help to ask a question:

Question
Hi !!!

How could I know the status of a connected account via API? Rejected, Pending, Restricted...

Is there a specific field?

Or do I have to rely on the set of several fields to know? In that case, what fields would they be?

Related Request ID(s)
acct_17KYQUIwtQdnj3Zt

What have you already attempted?
I have tried to do a retrieve of the connected account, and I see some parameters such as "capabilities" active or inactive, but I don't know if those are the fields that I have to look at to determine the status.

What are you working on?
system so that the connected client knows their account status

atomic shuttleBOT
#

@hexed lantern pressed the 🔌 API button in #help to ask a question:

Question
Edit phases through API. Previous thread was closed after the response that I need to provide all phases. As mentioned in the attempts (and seen in the last request id), if I provide all phases I get the error that I cannot update a phase that has ended.

Related Request ID(s)
req_Nn8FFW9yImBIK8, req_ieg4sP9ZbhyeWL, req_3xgZJqEqvLEWU0

What have you already attempted?
-only provide the future phases with their correct key (first request id). This gave an error because the indices dont start from zero.
-only provide future phases, without their key. This is interpreted as editing the current phase : not allowed
-provide ALL phases: not allowed to change past /current phases

What are you working on?
canceling items from a subscription in the future

#

@deft river pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Link payment should be showed on Payment Sheet in the expo 50 and react-native app

What actually happened?
The Link payment did not show on Payment Sheet in the expo 50 and react-native app.
Expo: 50
FE:
- usePaymentSheet()
BE:
- automatic_payment_methods: {
enabled: true,
},

Reproduction Steps
- Front End:
"@stripe/stripe-react-native": "~0.35.1",
"expo": "~50.0.13",
"expo-status-bar": "~1.11.1",
"react": "18.2.0",
"react-native": "0.73.5"

- BE deps:

  • "stripe": "^9.0.0"
  • automatic_payment_methods: {
    enabled: true,
    },
    - Activated Link payment method in the stripe dashboard

Question
I was followed from the instruction https://github.com/charliecruzan-stripe/react-native-video-series. My diff is that only using Expo 50 for develop the native app. I have also created a sample to show this issue. Please help to check at https://github.com/lamhong-playon/expo-stripe-link-payment-sample. Thank you

What are you working on?
Im developing the native app Stripe payment with Link feature for the ecom company.

#

@warm rover pressed the 🔌 API button in #help to ask a question:

Question
Trying to create a onramp session returns 404 Error (Invalid request)

Related Request ID(s)
req_4AFQNx3L3Y1je3

What have you already attempted?
Followed the crypto documentation

What are you working on?
Allowing users to buy into usdc

atomic shuttleBOT
#

@fast isle pressed the 🧑‍💻 Code button in #help to ask a question:

Code
PaymentIntentCreateParams params =
PaymentIntentCreateParams.builder()
.setAmount(60L)
.setCurrency("usd")
.addPaymentMethodType("card")
.setCaptureMethod(PaymentIntentCreateParams.CaptureMethod.MANUAL)
.setCustomer(clonedCustomerId)
.setPayment

Question
PaymentIntent is created with Stripe API version 21.0.0 But with version 24.20.0, it is failing

What have you already attempted?
Tax calculation code requires latest Stripe API, which doesn't work with paymentIntent. Already tried fixing the error by explicitly importing gson library

What are you working on?
EV charging post paid service with custom tax calculation

atomic shuttleBOT
#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to exclude some products (eventually by name) for coupons in the checkout session ?

We integrate Stripe Subscriptions with Prestashop but the coupons don't have the same behavior. Stripe inclue delivery fees, but Prestashop don't

Related Request ID(s)
Exclude Products for Coupons

What have you already attempted?
Tried to use the applies_to with all eligibles products but we don't have products_id in the checkout session

What are you working on?
A subscription module with Prestashop

#

@vocal wagon pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-customer_balance-bank_transfer-eu_bank_transfer

Question
I am creating a payment intent via API which will accept a bank transfer payment, my question is that if i processing eu_bank_transfer then i see that we need to pass country as well, in which i see permitted values include: BE, DE, ES, FR, IE, or NL so can you clarify if its related to where customer is based or not?

What have you already attempted?
I have started implementing this functionality so i am in process of implementation and needs this guidance.

#

@mild arrow pressed the 🔌 API button in #help to ask a question:

Question
We are implementing an auction platform. Each auction can consist of multiple auction items of various prices, each auction item belongs to one auctioneer. When someone bids we create one payment intent for each auction item.

Related Request ID(s)
No related request id

What have you already attempted?
Let's say we have an auction with 3 auction items. Is it possible, to create 1 payment intent instead of 3 and then 'split' that payment intent into 3 payment intents when the bidder wins the auction?

#

@neat dawn pressed the 🔌 API button in #help to ask a question:

Question
i need to move all products and prices from the one stripe account to another, how can I do it?

Related Request ID(s)
price_1OvwYjB2BzF6ryro7SpKbwbE

What have you already attempted?
i need to move all products and prices from the one stripe account to another, how can I do it?

atomic shuttleBOT
#

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

Error Message
Error: You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance

Question
Get the error in this api call...

$response = $stripe->payouts->create(
[
'amount'=> 8100,
'currency' => 'chf',
// 'destination' => 'acct_1OtqUfFKbRTtdEaaWX', // Replace with the specific account ID
]);

What have you already attempted?
trying to transfer fund from stripe to connect account id..

it not refund but we need to developed reward system to transfer some amount to our customers..
it working on cross border?
please suggestion if best ideas and things to implement if possible as well it great support..

Reproduction Steps
In Test mode we created connect express account...
then after get one account id from API response. and this account id we pass transfer API but get the message we shared in error message,

What are you working on?
be build our system reward system.

#

@still harbor pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/settings/connect/onboarding-interface

Question
Is there anyway I can customize the text displayed during the onboarding process apart from branding for onboarding of express users in Stripe connect?

What have you already attempted?
I've tried branding customization options

What are you working on?
I'm trying to implement payment for my app called Trops

atomic shuttleBOT
#

@twin hamlet pressed the 🔌 API button in #help to ask a question:

Question
How can i accept a dispute via API?

Related Request ID(s)
no related ids yet

What have you already attempted?
We already submit evidence for counter, but the docs are not clear on how to accept.

What are you working on?
stripe connect system

atomic shuttleBOT
#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to exclude products by name for the coupons code by API ?

Related Request ID(s)
Exclude Products for Coupons

What have you already attempted?
I tried to use the applied_to reference for coupons but it didn't work because we don't have all products_id

What are you working on?
A subscription module with Prestashop

atomic shuttleBOT
#

@obtuse vale pressed the 🔌 API button in #help to ask a question:

Question
seeking guidance on incorporating the 'moto=true' flag within the 'confirmCardPayment' function of Stripe. This flag facilitates the utilisation of Stripe hosted fields instead of transmitting card details to our server

Related Request ID(s)
Developer raised issue as unclear in docs

What have you already attempted?
We've implemented this code but returning error:
stripe
.confirmCardPayment('{PAYMENT_INTENT_CLIENT_SECRET}', {
payment_method: {
card: cardElement,
billing_details: {
name: 'Jenny Rosen',
}, },
})
.then(function(result) {
// Handle result.error or result.paymentIntent
});

What are you working on?
Process virtual terminal transactions using intent API, but needs to work with hosted elements for compliance

atomic shuttleBOT
#

@finite hawk pressed the 👍 Best Practices button in #help to ask a question:

Question
Hey there! Our business has been using Stripe Checkout Sessions for a few years now, and we've decided it's time to move the checkout into our page to have more flexibility.

Which is the best and most efficient approach to achieve this? Should we confirm the payment on the client OR do it from the server, etc.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription

https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=subscription

What are you working on?
I'm trying to migrate our checkout sessions into in-app stripe elements

#

@nova saffron pressed the 🔌 API button in #help to ask a question:

Question
I want to support bank account transfers with stripe (from one bank account to another) , Can you please let me what APIs , I should look for this ?

Related Request ID(s)
I do not have this

What have you already attempted?
I want to see some examples (API)

What are you working on?
Developing a Freelancer Platform

#

@obsidian crystal pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I wanted clarification: if I have a stripe account and a connected stripe account, how does the connected stripe account create a payment intent with the payment method I have cloned? Does creating a payment method make a token I can send to their server?

What have you already attempted?
I'm just trying to understand the documentation as written

What are you working on?
We are working with another business and trying to figure out how to split a single checkout cart into two payments to two businesses

#

@old nest pressed the 🔌 API button in #help to ask a question:

Question
How to deal with an invalid_request_error with the message:
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...
Should there be an error code? How else can we identify this error?

Related Request ID(s)
req_AwJPC03UeuNw9S, req_qpTQXAA2klH18G

What have you already attempted?
There doesn't appear to be an error code relating to this. Should there be? Is there another way that we can identify this scenario other than checking for the message in the response, which isn't ideal.

What are you working on?
ECommerce integration

#

@pine plaza pressed the 🔌 API button in #help to ask a question:

Question
I want to know the api I would use to charge user if I have there payment method saved already.

Related Request ID(s)
I can not find this

What have you already attempted?
I did the subscription way, but I’m having issues mixing it with other payment platforms to handle currencies stripe have issues with eg naira

What are you working on?
I’m working on a subscription based system and I want to handle the subscription my self

#

@slim remnant pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the recommended approach to unit/integration test the ruby gem "https://github.com/stripe/stripe-ruby"? We are interested in knowing how to validate that the requests done are valid and no wrong params have been passed to the request. I can give an example below but there's not enough space here.

Doc/Guide Links
We are looking for different solutions and one would be stripe-mock "https://github.com/stripe/stripe-mock" but we would like to know if it's possible to do it serverless or not relying on external services.

What are you working on?
Improving the testing on our platform

#

@pseudo python pressed the ❌ An Error button in #help to ask a question:

Error Message
"PaymentMethods of type `us_bank_account` must be verified before they can be attached to a customer." when calling attachPaymentMethod on a customer before creating a subscription.

Question
What is this error ? I can't find it in the docs.
How are we supposed to handle it ?
How can I reproduce it locally ?

What have you already attempted?
- Checking Stripe request logs req_km45sbe5Nsn0tx
- Try in our testing env using https://docs.stripe.com/payments/ach-debit#test-microdeposit-amounts-and-descriptor-codes but not sure how to enter this information

#

@supple ice pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Client-side:

stripe.createPaymentMethod('card', cardNumber,{billing_details: billingDetails}).then(function(result)
{}

Question
I'm currently trying to implement the co-badged card compliance. I'm successfully reading the available card networks as the user types in the card number, showing a select box and letting the user select their preferred option.

However, I'm at a loss of how I can hand over that piece of info to the stripe API.

What have you already attempted?
I have tried setting the preferred Network like this:

cardNumber.preferredNetwork = cardNetworkValue;

as I found that somewhere in the documentation, but it seems like that only works when the element gets created, but not in the update function

What are you working on?
Working on our shop system so a carte bancaire user can select their preferred card network

#

@alpine loom pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm expecting the a test payment to be processed when using a physical test card and a terminal reader connected to our test environment

What actually happened?
When I tap the card on the reader (WisePad 3) it immediately says "Card Error", followed by "Try another card".

Reproduction Steps
Connect terminal reader to mobile app
Add item to basket in mobile app
Checkout. Wait for reader to present "sale" screen with price.
Tap physical test card on reader.

Question
We have an app that works with multi currency and multiple terminal readers (incl. Wisepad 3). The app works, it connects to the terminal reader. But payments with a test card fail. If we tap or insert a physical test card it won't work. If we use a live/real card it tries to process but declines.

What are you working on?
An iOS app integration

atomic shuttleBOT
#

@uneven axle pressed the 🔌 API button in #help to ask a question:

Question
Is email invoice sent by default after billing ?

Related Request ID(s)
Sending automatic emails

What have you already attempted?
I have already integrated end to end , but need to test email receipt in production.

What are you working on?
Building subscription modal

#

@forest bay pressed the ❌ An Error button in #help to ask a question:

Error Message
Reply directly from your inbox
In order to restore your account’s ability to make charges, please check your email for next steps or reach out to our support team.

Question
how to make my account exept payments, cause dont have anything in my mail about this.

What have you already attempted?
looking threw my mail to find something about this.

Reproduction Steps
what u mean ???????????????????????????

What are you working on?
my websites needs a payment to stripe so i can get paid

atomic shuttleBOT
#

@finite hawk pressed the 👍 Best Practices button in #help to ask a question:

Question
Aside from the payment and address elements, are there other useful elements for things like promo codes?

Assuming there aren't cause I couldn't find any, is there a recommended approach to try and offer pretty much the same service that stripe checkout session does?

Doc/Guide Links
https://docs.stripe.com/payments/elements

What are you working on?
Building a custom checkout using stripe elements

#

@lost yoke pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a scenario with Stripe Connect where I'm facing a challenge regarding refunds, and I'm hoping for some guidance.

In my platform, customers can pay invoices using their Stripe balance, and these payments are directly transferred to connected accounts. This process does not create

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

What are you working on?
Casual sports platform where players can find coaches and vice versa

#

@grave comet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<iframe id="buyNowPageIframe" allow="payment *" src="https://www.construct.net/store/checkout?editor=1&amp;theme=dark&amp;lang=en-US&amp;productType=games&amp;utm_campaign=C3Editor&amp;utm_source=browser&amp;utm_medium=r384&amp;utm_term=BuyNowTab&amp;utm_content=UserViewed"></iframe>

Question
Page in iframe uses payment request button, but fails to show Google Pay with the console error:
m=credential_button_library:50 [GSI_LOGGER]: The given origin is not allowed for the given client ID.

What have you already attempted?
iframe has the parameter allow="payment *" as per the docs. However, it still fails to load the payment request buttons.

What are you working on?
Payment page for our PWA app

#

@open pewter pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm trying to get my stripe payments set up with my B2B SaaS product so that it's self serve and I want users to be able to buy multiple licenses and assign them. I'm wondering if there are any best practices for how to set this up in terms of data schema. Can assigning licenses be done through customer portal?

Doc/Guide Links
I've read through the starter guide for stripe and the customer portal page. I have begun processing payments, but want to set things up in a more self serve manner now and have it tied to my backend.

What are you working on?
B2B productivity SaaS

#

@heavy cove pressed the 🔌 API button in #help to ask a question:

Question
Hi!! is possible get secret keys of connected accounts from the platform accounts,. trough the Stripe API?

Related Request ID(s)
acct_17KYQUIwtQdnj3Zt

What have you already attempted?
Search in the web, but I don't find anything about this

#

@fluid perch pressed the 🔌 API button in #help to ask a question:

Question
I am currently moving away from Stripe v2 to Stripe v3, the reason for this update is so I can add a way of checking the 'cvc' authenticity by having the customer inform it during checkout and validate it before saving the order entry. Is it possible to have the cvc check without implementing any of the new intents?

Related Request ID(s)
req_DzOIA75vFta2Hk, I tried to follow some examples using SetupIntent + PaymentIntent but I don't think it is the best since I would need server-side actions

What have you already attempted?
I tried to:
- implement setupIntent + PaymentIntent and inform the cvc;
- create a payment intent directly using the customer card id as payment method while informing cvc values;
- create a cvc_update token. I couldn't use it because PaymentIntent must be set to confirm manually (I tried it but couldn't make it work)

What are you working on?
I need to setup cvc recollection in an app that uses stripe v2, validate it and have the order be confirmed/generated server-side

#

@karmic prism pressed the ❌ An Error button in #help to ask a question:

Error Message
429 lock_timeout

Question
Am i getting a lock_timeout error from going over our accounts Stripe API limit?

We only have 1 worker running on our backend creating payment intents. I am the only developer on the team so I can confirm I did not have any scripts running that would be accessing this object through stripe.

What have you already attempted?
I have checked through our backend to ensure that no processes were running in parallel - causing the stripe api to access this object at the same time. I have also checked the logs to ensure that the script would not be accessing this object at the same time.

#

@tropic bridge pressed the 🔌 API button in #help to ask a question:

Question
I need some help in building a migration script that can take existing active subscriptions of a Stripe Account which is now connected to our platform and update some fields so that our integration is able to catch it.

Related Request ID(s)
req_x1WIRALFpPdgJ6

What have you already attempted?
i've attempted to naively update but I get an error saying that:

`You can't change the application_fee_percent on a subscription that was not created by your application`

What are you working on?
Migration process (from the same account)

#

@round canyon pressed the 🔌 API button in #help to ask a question:

Question
I need to set prorration_behavior to none in a checkout session that includes subscriptions as well as single payments, with a billing_cycle_anchor in the future. The error message is straightforward, and I know it cannot be done. Wanted to ask if there are any plans to add this feature in the future, thanks.

Related Request ID(s)
req_wc8TipoXGbSlB8

What have you already attempted?
If I remove the fee, it works as I need; also, I can remove proration_behavior, but then the default proration behavior (create_prorations) kicks in. Tried to set up a free trial to achieve something similar, but the 2 days restriction is a problem. As a last resort, I will pass the fee as a separated charge

What are you working on?
An education platform: academies and teachers may sign up, set up a connected account, and configure their own courses for selling.

#

@sudden yoke pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Making a one-time payment with payment intent using a payment method attached to a customer should update the cvcCheck of the pm to succeeded as the pi has cvcCheck=passed

What actually happened?
pm.cvcCheck remained to be failed
pi was succeeded with cvcCheck=passed

Reproduction Steps
make a pi to a pm with wrong cvc to set the cvcCheck=failed
make a pi to the same pm with correct cvc does not set the cvcCheck=passed on pm

Question
shouldn't the pm cvcCheck be set to passed now since the latest pi was succeeded with cvcCheck=passed

What are you working on?
To ensure we prompt user when onsession for cvc token when making purchases if the cvcCheck is not yet passed on the pm

#

@opaque minnow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
From the Payment Intent

"payment_method_options": {
"card": {
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},

Question
I am trying to limit the Elements form to only show card entry through the codebase. But it is still showing other options enabled in the Stripe Dashboard.

What have you already attempted?
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_types

https://docs.stripe.com/payments/payment-intents

What are you working on?
I am maintaining an advocacy payments system for contributions.

#

@pulsar swallow pressed the 🔌 API button in #help to ask a question:

Question
Do 3DS Authentication Required (
payment_intent.requires_action) ever expire? If so what's the expire of that state? What would be the webhook event produced if that state can expire.

Related Request ID(s)
req_GnscNLdrTYnsey

What have you already attempted?
Reviewed these docs https://docs.stripe.com/payments/payment-intents/verifying-status#next-actions but I didn't find any info about

What are you working on?
Use case is a consumer gets redirected to 3DS auth but bails and never completes the auth

atomic shuttleBOT
#

@jaunty ruin pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#handling-zero-amount-prices-and-quantities

Question
If you’ve subscribed a customer to a zero-amount price, changing the price to a non-zero amount generates an invoice and resets the billing period to the date of the change. Why does the documentation not mention that setting billing_cycle_anchor to unchanged does not reset the billing period?

What have you already attempted?
Speaking with support

#

@jaunty cipher pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi Stripe, before we implement new logic, would a non US - Stripe Standard Connect account be able to collect US ACH payments if they connect a USD currency WISE bank account? Or is it the users country of origin KYC that determines what payments methods are acceptable?

Doc/Guide Links
(read through 90% of Stripe + WISE docs)

What are you working on?
international payments platform

#

@unkempt robin pressed the ❌ An Error button in #help to ask a question:

Error Message
The provided key
sk_test
****★
***asFG
7H' does not have access to account 'acct_1Jekex2E2B07Xpgz' (or that account does not exist). Application access may have been revoked.

Question
I am getting this error and need some information. What is wrong here?

What have you already attempted?
I am unsure why there is a mismatch.

Reproduction Steps
I am trying to update the account.

#

@glossy oxide pressed the 🧑‍💻 Code button in #help to ask a question:

Code
expressCheckoutElement.on('shippingaddresschange', async function(event) {

Question
can you update the total amount with this shippingaddresschange function?

What have you already attempted?
ive tried this: this.elements.update({ amount: cartState.orderCalculations.credit.total }) as this works in the expressCheckoutElement.on('click' event but not on the shippingaddresschange function.

What are you working on?
Ecommerce platform that handles on demand printful merch. so when a user enters their shipping address in the google/apple express payment modal, we need to cal

atomic shuttleBOT
#

@oblique pollen pressed the 🧑‍💻 Code button in #help to ask a question:

Code
stripe.subscriptionSchedules.cancel and Customer Portal Configuration

Question
Is there a way to display subscription schedules inside the Customer Portal so that customers can cancel an upcoming subscription schedule prior to being billed for that subscription.

What have you already attempted?
https://docs.stripe.com/api/customer_portal/configurations/object#portal_configuration_object-features

I think I already know that the answer is no so then my real question is do you know of any plans to add this capability? (sorry if this is the wrong place to ask that question)

atomic shuttleBOT
#

@oblique mango pressed the 🪝 Webhooks button in #help to ask a question:

Question
Why are there no simulated subscription webhook requests?

Related Event ID(s)
No event Id ********

What have you already attempted?
I have tried setting the simulated renewal time to the Current period + one hour

#

@tropic bridge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
To retrieve a name of a product

What actually happened?
The name of the product is undefined

Reproduction Steps

  1. Fetch a price with ID: `price_1OvcsNLAVB3C1lDI9wL5pNWN`
  2. adding `expand: ['data.product']`

Question
I'm trying to get the name of a product, but it's undefined

#

@grave comet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment

Question
I was given this link before as an example of being able to manage payment methods without creating a PaymentIntent. Its no longer working for me.

What have you already attempted?
I've retraced steps, but continue to receive the error: Invalid value for createPaymentMethod: card should be an object or element. You specified: null.

#

@molten storm pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Low code customer portal should be displaying default source payment information (we have some customers still on sources), at least for cards saved to their account which are still supported. Expected to see card in the portal (bot not bank account if applicable) and the ability to add a new payment method.

What actually happened?
The customer's portal does not display ANY payment info saved to the account when the default source is a bank account. Cards saved are not visible and there is no ability to add a new payment method.

Reproduction Steps
We have customers in live mode and test mode where the portal is displaying this behavior. We added the customer ID to our stage and production apps and launched the low code portal from our app. This is where we are seeing the portal behave unexpectedly for stripe accounts with bank account as default source.

Question
Is this a Stripe portal limitation or is there anything we can/should to in our Stripe settings or otherwise to allow the customer's with deprecated sources to be able to add a new payment method? We understand that these bank account sources are no longer supported, but need to allow our customers to add a new method.

What are you working on?
Integration of Stripe customer portal (low code)

atomic shuttleBOT
#

@tender igloo pressed the 🪝 Webhooks button in #help to ask a question:

Question
I need to collect information a user fills on a Stripe Connect Account Creation URL form, and I am trying to do via a Webhook, but I am struggling. I would like to get the Name, Phone Number and Email out of the information provided by the user. Can I do this with a Webhook?

Related Event ID(s)
req_6hTkXQ5WwqZ69T

What have you already attempted?
The ID presented is the event where the Account URL is created.

What are you working on?
The sellers in my marketplace are onboarded via a Stripe Connect Account Creation URL, and after they fill the form, I would like to pass some fields to airtabl

atomic shuttleBOT
#

@stone urchin pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm creating a React Native app using the Stripe payment sheet.

What is the process for updating a payment method attached to a subscription? I have created a setup intent, and displayed the sheet, but how do I get access to the payment method after setup intent confirmation?

Doc/Guide Links
....................

What are you working on?
React Native app with Stripe Payment Sheet

#

@hardy raven pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to create test payouts on behalf of a connected account using the API or CLI?

Related Request ID(s)
req_faRQVGSCu4ulmn

What have you already attempted?
I have tried creating test payouts using the connected account ID and and external account ID that is connected. The account has a balance.

What are you working on?
A marketplace for selling templates.

atomic shuttleBOT
#

@robust kiln pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/separate-charges-and-transfers?locale=en-GB

Question
I have successfully tied my (master) account with a third party account (my platform user) using Connect. my platform user currently uses Stripe to sell his SaaS and I am developing a solution for referral tracking. how can I transfer funds from my platform user stripe account to their affiliates?

What have you already attempted?
Still understanding the possibilities

What are you working on?
building a saas for sales referral tracking, looking to understand how I can payout my customers affiliates

atomic shuttleBOT
#

@sweet lance pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to set the payment attempt limits to 2 instead of 8 in Stripe?

Related Request ID(s)
no ids for this just a question

What have you already attempted?
I tried to find some information about payment_failed, the attempts, and would like help

What are you working on?
nextjs react nodejs with

#

@oblique mango pressed the 🪝 Webhooks button in #help to ask a question:

Question
Subscription Simulations Don't Make requests to my webhook

Related Event ID(s)
No event Id ********

What have you already attempted?
I created two subscriptions & switched a subscription card with an invalid card (to trigger a failed payment). Then I created two simulations at Current period + 2HOURS. Neighter worked.

atomic shuttleBOT
#

@keen spire pressed the 🔌 API button in #help to ask a question:

Question
We would like to receive the email address used when our user opens a Connect Express account and write that to our database. Which API would I use to do this?

Related Request ID(s)
There is no related request

What have you already attempted?
This is a new account being set up and we are looking to understand how we can accomplish this when a new Connect Express account is opened.

What are you working on?
We are connecting an existing platform to stripe and looking to enhance the user experience by not requiring them to enter their email twice.

#

@grand moss pressed the 🔌 API button in #help to ask a question:

Question
Is it not possible to update an invoice item associated to one draft invoice such that it becomes associated with a different draft invoice?

Related Request ID(s)
req_EFEgmJnfYLmPwl

What have you already attempted?
```python
>>> client.invoice_items.update(invoice_item.id, params={"invoice": "in_1NR3EZB7kbjcJ8QqM5DO33xG"})
stripe._error.InvalidRequestError: Request req_EFEgmJnfYLmPwl: Received unknown parameter: invoice. Did you mean invoiceitem?
>>> invoice_item.invoice
'in_1OvmeSB7kbjcJ8QqxYXi7erI'

What are you working on?
Porting my existing billing system to Stripe

#

@naive spindle pressed the 🧑‍💻 Code button in #help to ask a question:

Code
elements = stripe.elements(options);
const paymentElement = elements.create('payment');
or
let cardExpiryElement = elements.create("cardExpiry", {});
cardExpiryElement.mount('#card-expiry');

Question
Which one is better to be use to collect payment methods card for subscription, I'm trying different implementations to know which can be beneficial for us in future when we add additional mode of payment

What have you already attempted?
Written down in question

atomic shuttleBOT
#

@opaque swan pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Invoices to be automatically charged when created with collection_method set to charge_automatically, for a customer with a default payment method

What actually happened?
The invoice payment failed

Reproduction Steps
Create an invoice via the API, I specifically am using the node sdk:
await stripe.invoices.create({
customer: organization.stripeCustomerId,
collection_method: "charge_automatically",
auto_advance: true,
});

Question
I created an invoice with the node stripe SDK, and the customers all have default payment methods which have been set up for future use, but payment is failing on the invoices. I can manually charge them from the dashboard, but that obviously isn't preferable.

atomic shuttleBOT
#

@waxen field pressed the ❌ An Error button in #help to ask a question:

Error Message
{"error":"You must update your Connect branding settings with business name, icon, brand color in order to create an account link. You can set the missing fields at https://dashboard.stripe.com/settings/connect"}

Question
Hi! When trying to work with the repository 'connect-onboarding-for-standard repo' using my account I get this message.
I would like to work on test mode since I am only trying to understand the application, but I cannot modify the fields on test mode.

What have you already attempted?
- Doc about Connect Test mode: https://docs.stripe.com/connect/testing
- When I switch to Active this info is modifiable, but I don't want to create a real business

Reproduction Steps
- Created Stripe account
- Accepted Connect terms&conditions
- Followed ReadMe instructions to set up repository

What are you working on?
A school application for e-commerce. Payments are handled in test mode and would like to do the same for the accounts to transfer money to the sellers.

atomic shuttleBOT
#

@south trellis pressed the 🔌 API button in #help to ask a question:

Question
is the cancellation details field on subscription object a deprecated field or something because I'm using node js with typescript and using that field throws an error

Related Request ID(s)
there is no related

What have you already attempted?
I've attempted to look at the documentation

atomic shuttleBOT
#

@tawdry canopy pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Under 'Manage advanced invoicing features' we have set 'Use custom retry schedule for one-off invoices' to have no retry mechanism. We are expecting that automatic collection for the invoices should be turned off, and `auto_advance` should be false.

What actually happened?
For payment_id pi_3OvvwJDnKbkHbxM525bBvIvV, we observed that when the invoice payment failed, reference event: evt_1OvvyODnKbkHbxM5wpZZJSb8, the auto_advance was set to true

Reproduction Steps
2 events:
1) pi_3OvvwJDnKbkHbxM525bBvIvV - evt_1OvvyODnKbkHbxM5wpZZJSb8

2) pi_3OrrVsDnKbkHbxM5381Yi06e - evt_1OrrbADnKbkHbxM5qCWQjISO

Question
We would like to know what settings or workflow we could have gone wrong that is causing the auto_advance to be set to true, as we have observed that a customer's 3DS to have failed, but the payment went through anyway later on.

What are you working on?
Collecting payment for invoice

atomic shuttleBOT
#

@opal wave pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect to see data returned for a cancelled subscription that has a CANCEL_AFTER_PERIOD_END = true and that date has not yet been reached

What actually happened?
Looking up the subscription via the API using customer id, returns Data.Count of 0

Reproduction Steps
I have a test customer who has a free trial for a year. I cancelled the subscription via the API and added the CANCEL_AT_PERIOD_END = true.

Question
I need to know if the subscription is ongoing until the period end even if it is technically canceled. How do I do that via the API?

What are you working on?
A website with monthly and yearly subscriptions

atomic shuttleBOT
#

@quaint jacinth pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to allow off_session payments from subscriptions for services that I deliver. If I use a empty checkout session it lets me collect a payment_method to attach to a customer. Would I be able to create subscriptions with those payment methods without further 3dsecure authentication

Doc/Guide Links
https://docs.stripe.com/api/setup_intents
https://docs.stripe.com/api/checkout/sessions
https://docs.stripe.com/api/subscriptions
https://docs.stripe.com/api/payment_intents

What are you working on?
Cloud computing platform that bills on a few different metrics for various types of services.

atomic shuttleBOT
#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
We sometimes end up in with the session being in 'open' state. We thought that one would have access to the url when the state is open. Is this not true? Should one handle state of expired and open the same in this flow?

Related Request ID(s)
I have not found any related question IDs

What have you already attempted?
I have looked at logs from the object received and there is no url there. In the embedded flow, should one handle the state of expired and open the same?

What are you working on?
Payment flow for our customers with embedded checkout following this guide: https://docs.stripe.com/checkout/embedded/quickstart?lang=node

#

@scarlet kiln pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is it possible to make payment to live mode's connected account via stripe test mode keys? And also is it possible that same connected account is available for test and live mode?

Related Event ID(s)
I have not found any

What have you already attempted?
I tried to do payment to live mode connected acocunt via test mode keys and it returns success but not any payment is visible in live mode.

#

@chilly zealot pressed the 🔌 API button in #help to ask a question:

Question
I am building a project on a vite-express server using ES module and my files as .mjs and not .js. I use 'import/from' rather than 'const/require'. The problem is that stripe is not seeing my API key. I keep having the error message YOU NEED TO PROVIDE API KEY.

Related Request ID(s)
req_ZPHblpuo8tyYxk

What have you already attempted?
I have tried to setAPIKey manually. I have properly imported stripe, I have crosschecked a million times my test keys on my .env file. Manually set the Bearer on postman. Nothing seem to work

What are you working on?
I am currently working on a React project using create vite and express server for the backend.

atomic shuttleBOT
#

@sweet solar pressed the 🔌 API button in #help to ask a question:

Question
Do I need to implement reader for integrating stripe terminal and Also How can I test for payments

Related Request ID(s)
I have searched for Oficial documentation

What have you already attempted?
I have Searched for official documentation, not able to find the exact resource I'm looking for

What are you working on?
I am trying to integrate Stripe Terminal. My use case is I have a front end flutter application that will be used to add card details for the payments and I wa

atomic shuttleBOT
#

@opal wing pressed the 🔌 API button in #help to ask a question:

Question
Which countries will require a zip code with payment element?

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Which countries will require a zip code with payment element?

atomic shuttleBOT
#

@tender igloo pressed the 🔌 API button in #help to ask a question:

Question
I need to delete Stripe Connect Express Accounts associated to my Striple Connect Platform. However, I have been using Stripe Connect in a low code fashion via Make.com, so need a bit of help triggering the DELETE API call (from here: https://docs.stripe.com/api/accounts/delete)

Related Request ID(s)
acct_1Ow9EcEJ6W7czO6x

What have you already attempted?
I have read the API docs support, and I understand I'll need to call the API in this way: DELETE
/v1/accounts/:id where the :id is acct_1Ow9EcEJ6W7czO6x

What are you working on?
Basically I have been testing outside of test mode (I know I shouldn't), but now need to clean the clutter (20+ Express Accounts, many with the same email)

#

@dusty delta pressed the ❌ An Error button in #help to ask a question:

Error Message
Uncaught (in promise) IntegrationError: Invalid value for token type: value should be one of the following strings: account, bank_account, person, pii, cvc_update, apple_pay. You specified: card.

Question
Hi,

how do i pass make sure the token passed is card? I'm creating a subscription and also trying to handle 3D secure

What have you already attempted?
I've tried generating the card token via stripe.js

What are you working on?
I am changing a stripe pay model from one time payment model to a year subscription payment model

#

@fallen ginkgo pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/disputes/object#dispute_object-status

Question
What does the warning mean? Like warning_needs_response, warning_under_review, do warning means a filed chargeback?

What have you already attempted?
We're trying to categorize different dispute statuses for our merchant.

What are you working on?
Building a chargebake management tool for the merchants on our platform.

atomic shuttleBOT
#

@royal stone pressed the 🔌 API button in #help to ask a question:

Question
I have a SaaS based real estate platform where brokers onboard on my platform as Connected account, they further can onboard realtor under them as their end customers, brokers take subscription plans on my platform, it can be monthly or yearly, I want to know about how to change the billing interval

Related Request ID(s)
req_neNgbhsWdHNX7n

What have you already attempted?
I have already attempted-
subscription.items.data[0].price_data.recurring.interval = 'year';
subscription.items.data[0].price_data.unit_amount = 3458 * 12 * 100;

What are you working on?
Building subscription interval change

#

@haughty ridge pressed the 🪝 Webhooks button in #help to ask a question:

Question
I need to link the bank transfer payment received by the system to cash balance transaction + payment intent where the amounts are applied.

I'm using customer_cash_balance_transaction.created webhook event.

In test mode I'm using the "request section" to link them, but in production mode this section is null.

Related Event ID(s)
Test: evt_1N4QjuFTgZEmRcC4X7UBZzq2, prod: evt_1OtYS7FTgZEmRcC4wu1DWzjF

What have you already attempted?
Documentation + open stripe webhook information

What are you working on?
Webhook system for finalcial use

atomic shuttleBOT
#

@wintry mural pressed the 👍 Best Practices button in #help to ask a question:

Question
I would like the user to be able to select ApplePay or card at checkout in payment mode, and if they select card, I would like to save the card information for the next payment.
After setting `payment_method_options.card.setup_future_usage`, the expected behavior was achieved.
Are there any side effects?

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_method_options-card-setup_future_usage

What are you working on?
Comic distribution service

#

@shadow basin pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Does Link available in test mode?

What have you already attempted?
I'm using 2 accounts both enabling payment method Link. I use Link with Payment Element
1 Account live mode: acct_1K645mJ8XiPdkv6a. Link was displayed in the payment element form of the environment using this stripe account
1 Account test mode acct_1E2cGhJM6pJQSuvz. Link was not displayed

What are you working on?
Build custom Payment page for our business website, using payment element

atomic shuttleBOT
#

@hard shadow pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Can I retreive state of an account example if it is rejected, pending, enabled etc. I dont see any attribute related to it. Also can multiple users be associated with an account stripe

What have you already attempted?
Explored the attributes

atomic shuttleBOT
#

@opal wing pressed the 🔌 API button in #help to ask a question:

Question
Can we change the font on the form payment element

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Can we change the font on the form payment element

#

@mossy hazel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
the embedded UI for the payments is not being displayed correct on smaller screens.

Question
..............................

What have you already attempted?
.......................

#

@wintry mural pressed the 👍 Best Practices button in #help to ask a question:

Question
Can I use "payment_method_types" or "payment_method_configuration" to place two links in my app, one for checkout that only accepts cards and the other for checkout that only accepts Apple Pay?
This is because if I set setup_future_usage, Users will not be able to use Apple Pay.

Doc/Guide Links
https://docs.stripe.com/api/payment_method_configurations/create
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_method_types

What are you working on?
Comic distribution service

#

@faint wadi pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const createOrder = async () => {
try {
const res = await api.post("http://127.0.0.1:3000/payments/intents", {
cart,
email: "test2@gmail.com",
});
console.log(res.data.paymentIntent);
const { paymentIntent, ephemeralKey, customer } = res.data;
const initResponse = aw

Question
how can i save user cards and select the card which the user prefer and fill the cards .like on user profile i save cards and on checkout i have to let them select which card to use

What have you already attempted?
const saveCard = async () => {
try {
const res = await api.post(
"http://127.0.0.1:3000/payments/payment-sheet-setup-intent",
{
cart,
email: "test2@gmail.com",
name: "test2",
description: "Payment Sheet Setup Intent",
}
);
console.lo

What are you working on?
const createOrder = async () => { try { const res = await api.post("http://127.0.0.1:3000/payments/intents", { cart, email: "test2@g

atomic shuttleBOT
#

@cloud pawn pressed the 🔌 API button in #help to ask a question:

Question
We have some advance_funding transactions on our connected accounts and we need to reconcile them.
How can I get back from the py_ number provided in the advance funding transaction to the original charge or transfer

Related Request ID(s)
py_1OjBp52fVHKdQT6V5FsgMz2m

What have you already attempted?
expanding settings on balance transaction

What are you working on?
member registration system

#

@weary coyote pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hi,
In the checkout page , we see option of "switch to annual pricing" . How is annual pricing being here.
While creating the checkout page, we only provide monthly pricing.

What actually happened?
it is showing annual pricing. The problem is we have 2 annual pricing but we want to show only 1 or don't show at all.

Reproduction Steps
I generated the checkout session url via API.
Inputs are only the price id of ht monthly subscription . , set adjutable qty and set qyantuty

Question
How to fix this? Other problem is the annual pricing we don't want to show already has an active subscritpin

atomic shuttleBOT
#

@vocal wagon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Let customers apply promotion codes on Customer Portal

What actually happened?
I don't see to see where they can do that

Reproduction Steps
I double-checked the "let customer apply coupon" toggle on the customer portal settings

Question
What is happening? I would like my custoemers to be able to apply promotion codes on customer portal

#

@signal sleet pressed the 🔌 API button in #help to ask a question:

Question
How we can configure the PayPal payment option in Stripe (Web)

Related Request ID(s)
No ID for related request Id

What have you already attempted?
Not yet tried anything

#

@hexed dagger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Stripe Checkout API accepts an image url with a space ("%20" or "+") in the pathname

What actually happened?
Stripe API returns a url_invalid code

Reproduction Steps
Include an image url in a custom line item ("line_items[0][price_data][product_data][images][0]")

Question
Is this expected behaviour? Its impossible for me to stop my clients from uploading assets with spaces in the name

#

@marsh nexus pressed the 🔌 API button in #help to ask a question:

Question
Is there a way I can get the number of active subscriptions without having to pull all of the subs?

Related Request ID(s)
req_hS9gHJfxImrSIJ

What have you already attempted?
I've checked Products, Prices and Subscriptions. Not seeing it anywhere, yet it exists on the backend.

What are you working on?
I'm just trying to grab the number of active subs for a given subscription/product

#

@oblique mango pressed the 🔌 API button in #help to ask a question:

Question
Does creating a subscription schedule with multiple phases create multiple subscriptions?

Related Request ID(s)
sub_1OwNq2J4ILijjURSSscz6Qsa sub_1OwNq1J4ILijjURSD1FlvWgb

What have you already attempted?
I'm creating a subscription schedule like this:`await stripe.subscriptionSchedules.create({
customer: stripeCustomerId,
start_date: 'now',
phases: [
{
items: [{ price: standard, quantity: 1 }],
iterations: 3,
},
{
`

#

@midnight cave pressed the 🔌 API button in #help to ask a question:

Question
Hi, I am trying to create a payment using bacs payment method. But I am getting this following error

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

Related Request ID(s)
req_z52knTy3M3JCGr

What have you already attempted?
Have enabled bacs payment in the accounts

#

@thorn venture pressed the 🔌 API button in #help to ask a question:

Question
Still trying to complete a POST to a reservation API on Guesty.com. I'd like share a reply from Guesty help to give some more background to the errors I'm getting. Between Guesty and Stripe, I'm not exactly sure what I need to be doing.

Related Request ID(s)
req_6bx2hoZQly5NIB

What have you already attempted?
I have just been trying to understand the exact series of steps I need to take to make this work. I was using Stripe's Elements to take payment from customers. This is quite high-level so not really sure what exactly is going on behind the scenes.

What are you working on?
Trying to pass a payment method to Guest remote API without it being used against a customer. I thought this response from their help might be of use to explain

atomic shuttleBOT
#

@pliant elk pressed the 👍 Best Practices button in #help to ask a question:

Question
We are trying to verify that refunds fail when there are insufficient funds. In test mode, we have tried to refund a payment for a connected account with balance lower than actual payment, but that did not result in failure. Could you advise us what to do to verify this scenario?

Doc/Guide Links
https://docs.stripe.com/testing#refunds
https://docs.stripe.com/refunds#failed-refunds

What are you working on?
Verifying failure during refund - part of integration with Stripe

#

@regal bloom pressed the ❌ An Error button in #help to ask a question:

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

Question
We are trying to use Stripe subscriptions with Apple Pay, but have been failing to create something that works well so far.

Our goal is to support:
1) Adding payment methods for future use
2) Setting up subscriptions (cards, Apple Pay, Google Pay)

What have you already attempted?
We have made an an API that creates a subscription and returns the subscription first payment intent client secret to the iOS client. This used to work, because we created the subscription without specifying a payment method (see code in thread).

#

@frozen jay pressed the 🔌 API button in #help to ask a question:

Question
I will have a system that is going to support the one time payment and subscription based payments for users using stripe connect. For each transaction I want for my app to have an application_fee_amount. For subscriptions ( recurrent payments), how can I set up the fees?

Related Request ID(s)
No related request

What have you already attempted?
For one payment, it's clear, having application_fee_amount set, it makes everything work smooth

What are you working on?
Platform where artists / collectors can be supported by one time and monthly donations support (similar to YouTube join features)

#

@vocal wagon pressed the 👍 Best Practices button in #help to ask a question:

Question
Best practice on taking payments using the payment elements and talking to our API to confirm the amount is accurate.
Slight caveat is that price can change on the hour, (i.e. if they start paying at 13:59 we need to make sure that the price they are paying is identical at 14:00).

Doc/Guide Links
https://docs.stripe.com/payments/finalize-payments-on-the-server-confirmation-tokens?platform=web&type=payment#next-actions

What are you working on?
Ticket sales product

#

@slim heron pressed the 🔌 API button in #help to ask a question:

Question
hello i just want to add paypal informations( email/exc) when i create payment method of type paypal

Related Request ID(s)
api that creates new payment method

What have you already attempted?
i've read the documentation of the api no mention how i can access and add those additional data for paypal type

What are you working on?
i'm creating an api that creates payment method of type paypal

#

@slim remnant pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/create

Question
Is it possible to include a hyperlink in the description (or anywhere else) of an invoice

What have you already attempted?
I just read the documentation and it doesn't look like possible but I just wanted to confirm

#

@vocal wagon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Let customers apply promotion codes on Customer Portal

What actually happened?
Customer portal is not showing as expected

Reproduction Steps
I don't see to see where they can do that

Question
Allow subscribers to change plans and apply promotion codes on customer portal

atomic shuttleBOT
#

@left jetty pressed the 🔌 API button in #help to ask a question:

Question
I am using two different Stripe accounts for an application (development, production). When performing a checkout session, in development, Stripe returns the current customers saved payment method as an option, while in production using the other Stripe account it doesn't. Code is the same, just missing a configuration

Related Request ID(s)
req_YRSV4JGDUrZG3q

What have you already attempted?
I have attempted multiple checkout sessions with already saved payment methods for the customer I was working on, but every time I am in a checkout session I would have to create a payment method instead of using an already saved one. I also created more than1 payment method to verify its not just that payment method

#

@plush quartz pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Trying to install Android app on a device that does not have an NFC reader

What actually happened?
Google Play store says app is not compatible

Reproduction Steps
Check app in Google Play dev console

Question
I found the issue in the stripe-terminal-android SDK stripe-terminal-android/issues/420, that was closed 2 weeks ago. But we built our app using the React Native SDK. I don't see the workaround or an update for that.

#

@raven atlas pressed the 👍 Best Practices button in #help to ask a question:

Question
attaching the same card twice to a customer

Doc/Guide Links
https://docs.stripe.com/api/payment_methods/attach

What are you working on?
I'm saving payment methods to a customer via attaching but If I added exactly the same card, it adds twice

#

@sweet lance pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to migrate all the data from my old stripe account to my new stripe account?

Related Request ID(s)
no request ids for this

What have you already attempted?
I would like to know if it is possible, but I have not seen any interface option that offers it.

What are you working on?
nextjs react nodejs with

atomic shuttleBOT
#

@frozen jay pressed the 🔌 API button in #help to ask a question:

Question
I use stripe connect and I want to cover 2 scenarios for updating a subscription plan

  1. Lower price: all the subscribed users should pay less from now on
  2. Higher price: the old users will pay the same as before, the new ones will pay as edited.
    What are the best practices for doing that? More Stripe prices?

Related Request ID(s)
No related request id

What have you already attempted?
I haven't coded anything yet, but my thinking is that I should have X different prices for the same plan and these should be updated using updatePrice
However, I don't know if for the scenario where the new price is lower, could I simply update the price for everyone or I should re-subscribe?

What are you working on?
A platform which allows users to support by subscribing or donating to users, similar to Join YouTube feature

#

@tidal creek pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The subscription (with scheduled cancellation) tax is updated without creating a schedule for the subscription.
We can call subscription update with cancel_at_period_end = false without errors

What actually happened?
The subscription (with scheduled cancellation) tax is updated creating a schedule for the subscription.
We get the error: "The subscription is managed by the subscription schedule, and updating any cancelation behavior directly is not alloed" when calling subscription update with cancel_at_period_end = false

Reproduction Steps

  1. Create a customer
  2. Create a monthly subscription without automatic tax collection
  3. Cancel the subscription at the end of the billing period
  4. Update subscription by setting a default tax
  5. Check the subscription, a new schedule was created
  6. Call subscription update with cancel_at_period = false

Question
Is this an expected behaviour? if you do one of these actions separately and you retrieve the subscription from the API, the value subscription.schedule will be null. But if we have a combination of both, a schedule is created. This was unexpected for us, because if we want to undo the cancellation, we receive an error

What are you working on?
Subscriptions cancellation and undo cancellation flows

atomic shuttleBOT
#

@vale quarry pressed the 🧑‍💻 Code button in #help to ask a question:

Code
stripe.subscriptions.create({
customer: customerId,
items,
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' },
automatic_tax: { enabled: true },
})

Question
I want to create subscription with "automatic_tax" enabled without collecting address first.

What have you already attempted?
Tried to create payment intent but can't connect it into subscription's first invoice.

#

@shrewd zephyr pressed the 🧑‍💻 Code button in #help to ask a question:

Code
```js
const paymentIntent = await stripe.paymentIntents.create({
amount: amount,
currency: 'INR',
customer: customer.id,
confirm: true,
setup_future_usage: 'off_session',
payment_method_types: ['card'],
payment_method: "pm_1OtSOzSBaY8pfsc59Vt0LB7Z"
});
```

Question
how do I automatically charge a customer, once I've set: `setup_future_usage: 'off_session',`

What have you already attempted?
I don't even know what to do

What are you working on?
An App for my freelance, where I can auto charge after I received confirmation

#

@silver jewel pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to setup BACS using the Python SDK on Backend and Stripe Elements on Frontend but I'm getting an error saying my account is not enabled to pass 'mandate_data' when confirming the PaymentIntent as I'm passing 'mandate_data'. Does this mean I have to pass a reference to a 'mandate' if so how do I do this?

Related Request ID(s)
req_qEjU40OEHplqaC

What have you already attempted?
I've tried following the guide on: https://docs.stripe.com/payments/bacs-debit/accept-a-payment but it doesn't mention anything about how to get/pass the mandate

#

@hallow nebula pressed the 🔌 API button in #help to ask a question:

Question
Hello,
I am trying to create a stripe app:
"distribution_type": "public"
"stripe_api_access_type": "restricted_api_key"

I am following the instructions here: https://docs.stripe.com/stripe-apps/api-authentication/rak
however whenever I try to do "stripe apps upload" stripe cli removes the distribution_type entry

Related Request ID(s)
not applicable really... No logs related to this.

What have you already attempted?
I've tried this several times to make sure I am not crazy. Stripe cli silently removes distribution type from the strip-app.json file.

What are you working on?
I work for bubble and am testing integrations with stripe.

#

@forest saddle pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
it is possible to deactivate card from automatic payment methods

What actually happened?
automatic payment methods do not allow to remove card payment method type

Reproduction Steps
I went to the payment methods dashboard page and I tried to remove card from the payment methods: pmc_1Ovd96JN163VreO5NA7J3ccl

Question
Is it possible to do it in another way?

#

@pearl bramble pressed the 🔌 API button in #help to ask a question:

Question
I tried to create an invoice item but the generated invoice does not contain the invoice item and it's amount is $0 because Stripe says the product is archived.

I wonder what parameter I am missing? Also my understanding from Stripe docs is Stripe will automatically associate invoice item based on their customer id.

Related Request ID(s)
https://dashboard.stripe.com/customers/cus_PlFttDw39XI3EW

What have you already attempted?
Using the Stripe Ruby library, this is how I would try
::Stripe::InvoiceItem.create({
customer: 'cus_PlFttDw39XI3EW',
unit_amount: ::ACS::Stripe.number_format(29),
currency: 'USD',
description: 'item-example',
quantity: 1
}, store_options)

#

@pliant wyvern pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
What are the different verification methods available for Bank Account information

Question
Can customer verify Bank information instantly after entering Bank Accounts

What have you already attempted?
Checked available documents

#

@peak jasper pressed the 🔌 API button in #help to ask a question:

Question
I have created future subscription using stripe prebuild checkout for monthly price now I got different different price could you please look into this

Related Request ID(s)
evt_1OwRIw2fFyUdWSvwsT3QWRYu

What have you already attempted?
I provide event id of last payment for that subscription

I have 3 months subscription and got 4 payments

2.61 euro
58.48 euro
58.48 euro
54.71 euro

but I have 58.48 euro subscription

#

@random skiff pressed the 🔌 API button in #help to ask a question:

Question
At one point I was able to submit a refund to a customer id and it would send them an email for a payout, but I am unable to remember how I achieved this before

Related Request ID(s)
Dashboard > Customers

What have you already attempted?
I tried looking into the payout methods docs but that wasn't what I had done before

What are you working on?
Trying to pay out constructions workers on my app

atomic shuttleBOT
#

@jade beacon pressed the 🔌 API button in #help to ask a question:

Question
I am having difficulty uploading my stripe apps so that I can test it externally

Related Request ID(s)
stripe apps, upload for testing externally

What have you already attempted?
I have created the sample app however
I need to test it externally there it needs
to have public visibility

What are you working on?
I am building a stripe apps application

#

@shrewd zephyr pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to automatically charge a payment method,
However, I get a error: The payment failed: The parameter `mandate` is not provided or invalid. Please either provide the id of an existing mandate or create a new mandate.

How do I get the mandate

Related Request ID(s)
pi_3OwS8pSBaY8pfsc50xWHipvv1

What have you already attempted?
I've attempted to set the mandate same as the payment method, which didn't work

What are you working on?
A app so I can autocharge my freelance clients

#

@untold thorn pressed the 🔌 API button in #help to ask a question:

Question
I called Sales and chatted with support to allow me 30 day fund authorization, sales told me they created a ticket since they cant upgrade me to IC+ pricing.

Related Request ID(s)
rvelasco@sales.stripe.com

What have you already attempted?
Called support, and talked with Sales

What are you working on?
Car rental management, need to be able to hold funds on reservations longer than 7 days.

#

@lunar apex pressed the 🧑‍💻 Code button in #help to ask a question:

Code
subscription = stripe.Subscription.create(
customer=customer.id,
coupon=coupon,
items=[{
'price': price_id,
'quantity': quantity
}]
)

Question
I want to exclude tiered pricing breakdown from invoice created from my code above.

What have you already attempted?
I tried using creating templates by going to https://dashboard.stripe.com/settings/billing/invoice/.

What are you working on?
I want to exclude tiered pricing breakdown from invoice created from my code above and from stripe itself also.

#

@autumn cobalt pressed the 🔌 API button in #help to ask a question:

Question
Want to know if it is possible to have a "PaymentIntent" request have an instant payout once the money is tranfered to a destination connected user's account.

Related Request ID(s)
There are no related requested ID(s)

What have you already attempted?
Have not attempted anything yet as we are still trying to figure out how to implement.

What are you working on?
We are trying to implement a marketplace with a Buyer and Seller, with the Seller being a connected acount

#

@dry vessel pressed the 🪝 Webhooks button in #help to ask a question:

Question
on test environment i setup a webhook with test endpoint and it triggered the checkout.session.completed just fine but on prod when i created a webhook with event checkout.session.completed and provided the prod endpoint it didn’t forward anything to the endpoint is there any extra step for prod?

Related Event ID(s)
we_1Ow7oYC9l10FvQU6Zw9p5Cvq

What have you already attempted?
I have set it up the way i did on test environment except the test mode was turned off and the endpoint was for production

What are you working on?
on checkout.session.completed im trying to update the order status

#

@peak lance pressed the 🔌 API button in #help to ask a question:

Question
How do I make the option to add coupon appear on my Payments screen?

I already created the coupon in the admin but the option to add it does not appear, there is no information about it within the stripe.

Related Request ID(s)
https://dashboard.stripe.com/settings/checkout

What have you already attempted?
How do I make the option to add coupon appear on my Payments screen?

I already created the coupon in the admin but the option to add it does not appear, there is no information about it within the stripe.

#

@wicked hemlock pressed the 👍 Best Practices button in #help to ask a question:

Question
I have fixed, monthly, per seat pricing. Each seat comes with 60 units of service that can be used within that month. Is is possible to, and is it best practice to, use Stripe to limit usage to 60 units, or is it best to use a seperate database for that sort of thing.

Doc/Guide Links
https://docs.stripe.com/api/usage_records
https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage
https://docs.stripe.com/billing/subscriptions/usage-based
https://docs.stripe.com/products-prices/pricing-models#per-seat
etc.

What are you working on?
A SaaS where users can upload calls and get insights!

#

@hallow nebula pressed the 🔌 API button in #help to ask a question:

Question
I am trying to continue this thread: https://discord.com/channels/841573134531821608/1220034397995008010
where I already explained what the problem (it's regarding installing an app as public)

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

What have you already attempted?
everything described in this thread: https://discord.com/channels/841573134531821608/1220034397995008010
also:
- tried installing the app again, with a new stripe account and confirmed that the app is installed in private mode

What are you working on?
testing integrations with stripe

#

@merry sedge pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to create a EmbeddedCheckout and I'm getting a network error while running `loadStripe`: `net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep`

Related Request ID(s)
req_4APuH4mLaRIh1A

What have you already attempted?
I've checked the public test key and it's the correct value before calling the function.

I've tried removing and adding the dependencies again.

I've searched the discord for the same error, but there was not a lot of information on the topic

What are you working on?
I'm developing a Web App with the framework Svelte. The user can subscribe monthly to access specific features

atomic shuttleBOT
#

@vocal wagon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am trying to get the ConnectAccountOnboarding Component to load in my next.js application, but its crashing when I use the pure import

What actually happened?
its giving me this erro TypeError: element.setConnector is not a function. And It calls the api multiple times, Im not sure if my initial call has to wrapped in a useEffect or not

Reproduction Steps
import {
StripeConnectInstance,
loadConnectAndInitialize,
} from '@stripe/connect-js/pure';
import {
ConnectAccountOnboarding,
ConnectComponentsProvider,
} from '@stripe/react-connect-js';

at the top level call loadConnectAndInitialize while assigning it to the instance variable

Question
How do I get this to work in nextjs? I had it working I originally created my project with vite before I migrated to nextjs. Also, am I supposed to wrap the loadConnectAndInitialize in a useEffect? There's not much docs on how to use this ConnectAccountOnboarding componeent, let a lone the pure version of it

#

@hallow wadi pressed the 🔌 API button in #help to ask a question:

Question
I need to crate a checkout session mode subscription with metadata on line items. This does not seem to be supported? How can I achieve this?

Related Request ID(s)
Not applicable --------------

What have you already attempted?
I appear to be blocked so came here.

What are you working on?
Production app at Prisma.

#

@fossil shoal pressed the 🔌 API button in #help to ask a question:

Question
Question about integrating with stripe elements. We are currently collecting credit cards using react-stripe-js. Basically after the user adds the details we are calling confirmCardSetup method which sends the info to Stripe. One of our cusotmers mentioned that the credit card data is sent in plain text and can be seen

Related Request ID(s)
req_zms3ILSum31h8g

What have you already attempted?
Just need info about it

#

@north crow pressed the 🪝 Webhooks button in #help to ask a question:

Question
My company has two Stripe accounts. I am configuring a DataDog integration from Stripe. I don't see any key that indicates which account a charge is correlated to. I only want to report on transactions from one account and not the other.

Related Event ID(s)
evt_3Ow7RiJaaKBKOW8E10A1UTYO

What have you already attempted?
I have reviewed various webhook payloads and haven't identified any account identifier. I have also reviewed the logs in DataDog and I don't see anything helpful there.

#

@shrewd zephyr pressed the 🔌 API button in #help to ask a question:

Question
My offsession automatic payment didn't return mandate id

Related Request ID(s)
req_y6lriLV1mE0Sv6

What have you already attempted?
i've tried to provide mandate options

atomic shuttleBOT
#

@tranquil raptor pressed the 🪝 Webhooks button in #help to ask a question:

Question
Do Apple Pay Purchases result in an event push to the data layer? If so, how can I find a sample payload of that event or learn how to configure one if possible.

Related Event ID(s)
ch_3OwPhGGtWIfFn4nb10cYdip7

What have you already attempted?
reviewing the Request POST body

What are you working on?
Improving match event quality for meta ads. Currently, clickfunnels does not send much data back, and apple pay purchases are causing the pixel

atomic shuttleBOT
#

@loud apex pressed the 🔌 API button in #help to ask a question:

Question
we are creating express connect accounts , we dont see any email triggered to customers for any of the events in test for account creation, onboard, money transfer. we are currently testing in test mode , Does it suppose to trigger emails?

Related Request ID(s)
None.......................

What have you already attempted?
we tried using the same email we use for platform account to create an express account , as stripe support said test email are triggered only to the company email on the account.

What are you working on?
Payouts-Money transfer to express accounts

#

@plain thistle pressed the 🔌 API button in #help to ask a question:

Question
i am trying to use setup intent api and create setup intent for connected account from platform account using destination charge and because of that i am using on_behalf_of in create setup intent . So when i am providing customer id which i created on connected account , it is giving an error no customer found.

Related Request ID(s)
req_QniuACm5YSMNLk

What have you already attempted?
Read Setup Intent Api Docs

#

@livid barn pressed the 🔌 API button in #help to ask a question:

Question
I'm integrating Stripe as one of the payment gateways, but I need to somehow know the net amount in the webhook callback, and I couldn't find anything about it in the documentation.

Related Request ID(s)
req_ESdjI9pvzMWE40

What have you already attempted?
if ($paymentIntent->status == 'succeeded') {
$grossAmount = $paymentIntent->amount; // Valor bruto do pagamento
$fees = 0;

                        if \(isset\($paymentIntent\-\>charges\-\>data\[0\]\-\>payment\_method\_details\-\>card\-\>network\_statu

What are you working on?
It's for a game, where I already work with MercadoPago, NowPayments and PayPal, I'm wanting to add Stripe too.

#

@jagged shell pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table pricing-table-id="prctbl_1OwBb5GPiA9t6Fdq14xZWd5c"
publishable-key="pk_live_egsMiMJq4s2KNvlkoPU4pBfb">
</stripe-pricing-table>

Question
I want to show in my pricing table the yearly option but show the amount that the person would pay per month instead of the yearly total price

What have you already attempted?
i cannot find any setting in the dashboard or code to display the amount per month billed yearly instead of the yearly amount

atomic shuttleBOT
#

@thorny acorn pressed the 🔌 API button in #help to ask a question:

Question
Hi team, I am a less technical, more functional consultant and new to Strip. When Strip collects direct debit (subscription recurring payments), how can we transfer the payment transactions back to our ERP via API (similar to if exporting payment as .csv file to import in ERP, but we want to do it via Strip API)

Related Request ID(s)
no_request_id_yet_in_strip

What have you already attempted?
Still just a question to see if it is possible

What are you working on?
Odoo and Strip Integration

#

@lost wolf pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Customer should be able to submit for credit card charge and go through to next page

What actually happened?
This error pops up and there is no resource to help me:

"This Connect account cannot currently make live charges. The `requirements.disabled_reason` property on the account will provide information about why this account is currently disabled. If you are a customer trying to make a purchase, please contact the owner "

Reproduction Steps
https://bpettingill.com/pay-now/

Pay by credit card

Question
Everything is stated above, what is that error?

Our ID verification was COMPLETED 3 days ago

#

@earnest lintel pressed the 🔌 API button in #help to ask a question:

Question
Hey - Wondering if its possible to set some description on a subscription item. Want to provide our customers with details on specific line items. The reason is that they need details to be able to reconcile their books. Thoughts?

Related Request ID(s)
xxxxxxxxxxxxxxxxxx

What have you already attempted?
Looked at API object for subscription items.

#

@prisma ore pressed the ❌ An Error button in #help to ask a question:

Error Message
NOT_INITIALIZES (null): adk not initialized

Question
I'm implementing Tap to Pay for react-native (@stripe/stripe-terminal-react-native@0.0.1-beta.15) and have an issue with an android phone.

What have you already attempted?
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android
The documentation says that the Samsung A21 is supported but when I try to connect to the terminal with "connectLocalMobileReader" I get the error: "NOT_INITIALIZES (null): adk not initialized". The implementation works on a OnePlus 7T.

Reproduction Steps
Setup Tap to Pay with @stripe/stripe-terminal-react-native@0.0.1-beta.15.
Try to execute the following function with a samsung A21
* initialize
* discoverReaders
* connectLocalMobileReader

#

@glacial flame pressed the 🧑‍💻 Code button in #help to ask a question:

Code
var options = new Stripe.BillingPortal.SessionCreateOptions
{
Customer = "{{CUSTOMER_ID}}",
ReturnUrl = "https://example.com/account/overview",
FlowData = new Stripe.BillingPortal.SessionFlowDataOptions
{
Type = "payment_method_update",
},
};
var service = new Stripe.B

Question
customer portal, flowdata is not working in API version 39.7.0

What have you already attempted?
var options = new Stripe.BillingPortal.SessionCreateOptions
{
Customer = "{{CUSTOMER_ID}}",
ReturnUrl = "https://example.com/account/overview",
FlowData = new Stripe.BillingPortal.SessionFlowDataOptions
{
Type = "payment_method_update",
},
};
var service = new Stripe.B

#

@eternal jewel pressed the 🔌 API button in #help to ask a question:

Question
How do I get request ID for list paymentMethods request inside my Node.js code

Related Request ID(s)
req_x2E2XhpJabpbvW

What have you already attempted?
Did't find any code examples from your API document

What are you working on?
We are trying to log the stripe list paymentMethods request ID that returns empty list.

#

@lime marsh pressed the 👍 Best Practices button in #help to ask a question:

Question
We're changing prices for a subscription. Is it recommended to create a new price and migrate customers to the new price, and archive the old price?

Doc/Guide Links
I couldn't find any documentation on best practices for changing prices.

What are you working on?
Web application with subscription model.

#

@pliant steeple pressed the 🪝 Webhooks button in #help to ask a question:

Question
Do Webhooks have a cutoff date when they stop retrying? So once a Webhook call lets say 'charge.refunded' failed at March 12, would all those webhooks from March 12 until now be recalled?

Related Event ID(s)
evt_3OwTkcHOgdCiM1tl0AONqZsG

What have you already attempted?
Trying to see the created dates but still unsure

atomic shuttleBOT
#

@grim elm pressed the 👍 Best Practices button in #help to ask a question:

Question
I am trying to implement the usage-based billing module.
My goal is for my customers to be able to login to stripe and view how much usage they have used, what usage they have been billed for, and how much they have left. Is this possible? Does stripe have the capability to display this information?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based?dashboard-or-api=dashboard#aggregate-metered-usage

https://docs.stripe.com/no-code/customer-portal

https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage

What are you working on?
I'm just trying to see if this is even a capability of Stripe. The article for the customer portal seems like it does, but it's not exactly straight forward

#

@weary crescent pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
my team has been live in prod with stripe subscriptions in 6 connected accounts since June and is intentionally only allowing payments via credit card. we have disabled all other payment methods.

What actually happened?
we noticed google pay has appeared as a payment method on a few different occasions despite us disabling it multiple times, and even saw 2 customers checkout with it in the last 2 months

Reproduction Steps
sample account ID acct_1ISmjMIM8s5J3nnP (not sure if this is uniquely identifying for you?)

Question
why does this keep happening? is there a log history of when this was enabled/disabled so we can see if there was a manual cause?

atomic shuttleBOT
#

@umbral thunder pressed the 🔌 API button in #help to ask a question:

Question
I am planning to use setup intents to gather payment details from customer. I see in the docs that I will need to use the function `confirmSetup`, but I also see some payments will return a `requires_action` status. I was wondering what payments will return this status and do I or Stripe handles this?

Related Request ID(s)
https://docs.stripe.com/payments/paymentintents/lifecycle

What have you already attempted?
I've been looking in the docs but I don't see how I would handle a `requires_action` status.

atomic shuttleBOT
#

@vocal wagon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Customer Portal to work as expected

What actually happened?
Does not work as expected

Reproduction Steps
Rechecked all my settings and still have issues

Question
Customer Portal does not reflect my settings about "allowing customers to change their subscription" or "apply promotion codes"

#

@random skiff pressed the 🔌 API button in #help to ask a question:

Question
How do I share a Stripe Connect Account Link for onboarding the connected account within my iOS app?

Related Request ID(s)
Dashboard > Developer

What have you already attempted?
I have gone through https://docs.stripe.com/connect/collect-then-transfer-guide but not sure why the payment sheet has a non zero payment amount

atomic shuttleBOT
#

@abstract dagger pressed the 🔌 API button in #help to ask a question:

Question
Getting this error when we try to modify a subscription for a Connect Account. Any way around this?

```
You can't make any changes on a subscription that was not created by your application.
```

Related Request ID(s)
req_gHm8uyrYiifrgY

What have you already attempted?
Haven't attempted much since google results in nothing. Same for Chatgpt.

What are you working on?
Customer imported his subscriptions from a competitor to us. And now he cannot pause/unpause this subscription. The checkout wasn't done by us.

atomic shuttleBOT
#

@jolly scarab pressed the 👍 Best Practices button in #help to ask a question:

Question
I have questions about how customer_balance works for overpayment usecases in Bank transfers.

Say you have the following scenario:
- bill customer $100 and they pay with bank transfer
- customer sends $120. $20 is added to customer_balance.funds_available.

... continued in thread.

Doc/Guide Links
https://docs.stripe.com/payments/customer-balance/reconciliation?lang=node#cash-automatic-reconciliation
https://docs.stripe.com/payments/bank-transfers/accept-a-payment?invoices=without

What are you working on?
Adding Bank Transfers as a method to a checkout flow.

atomic shuttleBOT
#

@uncut lion pressed the 🔌 API button in #help to ask a question:

Question
I’m trying to add Afterpay. I do not understand the doc that they keep sending me in the chat about how to integrate it. I really need someone to walk me through it step-by-step.

Related Request ID(s)
???????????????????????

What have you already attempted?
I have it selected as an option, and it says active but it’s not working. So I keep being told by Support that I have to integrate it but they will only send me a link to do it and I do not understand that link. 

#

@tepid grotto pressed the 🔌 API button in #help to ask a question:

Question
I am using zapier to run automations triggered by new stripe payments. This has been working well so far for months, but then yesterday I discovered two payments that zapier never saw (which is of course problematic). It wasn't that there was an error with any zaps, just that no zaps were triggered by those payments.

Related Request ID(s)
not applicable, unknown

What have you already attempted?
I have searched the zap runs for any sign of those payments and couldn't find any. Though they definitely show as successful payments in stripe. What could cause this? I can provide any other information that would be helpful. Thanks!

What are you working on?
automations using zapier

#

@lucid shell pressed the 🔌 API button in #help to ask a question:

Question
I have 2 paid subscriptions on an app im working. A pro plan and a starter plan. I need a way of billing the user immediately when they "Upgrade", and bill end of billing period when they "Downgrade". Is this possible at all?

Related Request ID(s)
??????????????????

What have you already attempted?
Tried looking through the docs for the upgrade/downgrade and also contacted customer support but wasnt able to get a direct response to this.

atomic shuttleBOT
#

@novel wigeon pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to know whether updating a subscription generated an immediate charge vs created pending invoice items just by inspecting the response from the Subscription Update call?

Related Request ID(s)
Just a question so no request id

What have you already attempted?
Inspected the response payload, but haven't been able to deduce whether this is possible.

atomic shuttleBOT
#

@autumn quiver pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$stripe = new StripeClient(config('services.stripe.secret_key'));

        // Create a Setup Intent
        $setupIntent = $stripe\-\>setupIntents\-\>create\(\[
            'customer' =\> $contractor\-\>stripe\_customer\_id,
            'payment\_method\_types' =\> \[$paymentMethodType\],
        \]\);

Question
I am using the stripe checkout page where it is offering both the card payment as well as us bank account details as well. And, it is working fine, however, in cases where user wants to add new payment method in the mid term, is there any page provided by stripe itself just to add new payment method (card or ach_debit)

What have you already attempted?
I have tried to set up the intent, with that i am able to add the new card, however, i am unable to set the us bank account (ach debit).

atomic shuttleBOT
#

@manic elbow pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/update

Question
I want to identify time below timestamp info from subscription object

  1. user canceled timestamp (canceled_at right?)
  2. developer canceled timestamp (canceled_at right?)
  3. How to identify auto recurring failed timestamp?

What have you already attempted?
I'm able to identify canceled_at but want to identify auto recurring failed timestamp

#

@tribal plume pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I want to implement payouts in my application. Please guide me step by step, how to implement it?

What have you already attempted?
Yes, I have tried the Payouts API but it gives an error related to Connect/External Accounts. I don't what that is.

What are you working on?
I am working on feature to send some amount from my Stripe account to a bank account.

#

@night wave pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect the stripe account to be able to change the connected account's service agreement from Full to Recipient

What actually happened?
I am not able to change the agreement type

Reproduction Steps
in stripe connect a account for transfee

Question
unable to change old connected account service agreement

#

@mint herald pressed the 👍 Best Practices button in #help to ask a question:

Question
What's the best way to handle usage based billing after a customer cancels a subscription. We have a SaaS product where we can only compute usage after ~25 hours, but if I send a usage report on a canceled subscription ID, it's rejected with "Cannot create the usage record because the subscription has been canceled."

Doc/Guide Links
https://docs.stripe.com/api/usage_records
https://docs.stripe.com/products-prices/pricing-models#usage-based-pricing

What are you working on?
SaaS product with daily usage billing, but calculated after a day

#

@surreal gyro pressed the 🔌 API button in #help to ask a question:

Question
Trying to work through the setup_intent API. I am running into an issue where i need to set the payment_method before I know it?

I need to create the intent to render the payment element, but i wont know if they are using a visa or mastercard until that step?

Related Request ID(s)
req_Bb1vP3SbK84Xpb

What have you already attempted?
I have tried generating different setup_intents with different parameters but it seems I always need to do it with customer id and payment_method which as mentioned doesnt make sense so I must be missing something?

What are you working on?
P2P Payments for Zutopia

#

@steady oriole pressed the 🔌 API button in #help to ask a question:

Question
I want to integrate subscriptions with payment sheets for react native.

Related Request ID(s)
Not have any id i have not tested yet

What have you already attempted?
I have tried with stripe.subscriptions.create so It telling that this customer need to attach a default payment method. But for the frist time we are not collecting the payment infomation and we want to ensute that people will pay with payment sheet for the subscirption creation and I need back end configuration for th

What are you working on?
I am working on react native with subscirption based requiring payment based operation

atomic shuttleBOT
atomic shuttleBOT
#

@trail glen pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to know what is the best practice making new price in existing product. We are using subscription product in stripe and i need no side effect to existing subscribe user when we change old price to new multi currency price.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/multi-currency-prices

What are you working on?
I'm working on adding EUR payment methods(debit , redirect bank)

atomic shuttleBOT
#

@open olive pressed the 🔌 API button in #help to ask a question:

Question
Hi,
I am calling to https://api.stripe.com/v1/issuing/funding_instructions
And I get the following error: A Funding Instruction is not currently supported for US
the goal is to get the stripe account information using the api

Related Request ID(s)
1111121432343242345343

What have you already attempted?
use different ways to solve that

#

@dusk oracle pressed the ❌ An Error button in #help to ask a question:

Error Message
No such ephemeralkeynonce: 'ephkn_pub_Y8Ut5fpvDyBftr19JPgRq1cw'

Question
I follow theses steps:
- Create an account holder and a card on stripe, in behalf of the connected account
- Create a nonce on front, to display the card PIN
- Create the ephemeral key with nonce and card_id
It looks like the nonce is only valid if the card is created on my account, not on the connected account

What have you already attempted?
Use a card and account holder which belong to my personal account (not the connected account). Everything works fine, I can display the PIN on the frontend

Reproduction Steps
> issuing.cards.create({...}, { stripeAccount: connectedAccountId })
> const stripe = useStripe()
> const nonceResult = await stripe?.elements().createEphemeralKeyNonce({ issuingCard: cardId });
> ephemeralKeys.create({ nonce: nonce, issuing_card: cardId }, { stripeAccount: connectedAccountId })

What are you working on?
Display the PIN, using Stripe Issuing for connected accounts

atomic shuttleBOT
#

@glad bay pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have a scenario in my product i.e., whenever my customer chooses auto debit option, I'll add subscription in Stripe. Let's take it's a monthly subscription, stripe will be taking money from account. The scenario is, I need a track of those payments and transaction status on my own database. For that is there any api?

Related Event ID(s)
Created subscription using test account. You can look into dashboard

What have you already attempted?
I have no clue how it works. I'm here for assistance

What are you working on?
I'm building a product which will be used by our clients for making sales call and tracking those calls in a crm tool.

#

@tulip sun pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
validateChecksum() on Security.php returning true

What actually happened?
After selecting Stripe and then switching to another payment method, reselecting Stripe causes the `validateChecksum()` function to return false.

Reproduction Steps
When Stripe is initially chosen as the payment method in a Magento 2 setup, the validateChecksum() method correctly verifies the data integrity, returning true because the hashes match. However, an issue arises when you switch to a different method and then back to Stripe. This time, validateChecksum() returns false.

Question
Have you encountered similar issues? What steps can I take to understand where the problem lies?

#

@pseudo python pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The ExpressCheckoutElement button should not disappear.

What actually happened?
The button disappears when entering a specific amount:

https://www.loom.com/share/56b664e20a0d4f97a4bb162574da3351?sid=0ca39d64-c2be-4b7c-85f4-d54e3429a18f

Reproduction Steps
See : https://www.loom.com/share/56b664e20a0d4f97a4bb162574da3351?sid=0ca39d64-c2be-4b7c-85f4-d54e3429a18f

This is the form link : https://www.zeffy.com/en-US/ticketing/a6f2d814-9a13-4832-8bbf-35d816d56db9

Question
How do we avoid the ExpressCheckoutElement to disappear ? Do you maybe have information about this behaviour ?
We made sure that it was not our own integration that was hiding it as much as we can.

Our form conversion has dropped slighly since releasing express checkout element, so it's kinda urgent for us.

#

@ionic whale pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected to see the modification of http request headers.

What actually happened?
It did not change the request header by setting "Accept" to "image/jpg,image/png". Nothing changed actually.

Reproduction Steps
Create a new transform rule.
Have it applied to all incoming traffic (just for the sake of testing)
and choose Add Static
and Set "Accept" to "image/jpeg,image/png,image/jpg"

Question
The image served from image delivery of Cloudflare Image is in the format of AVIF. However, I am trying to show the image on Stripe checkout page, and they dont support AVIF but only png and jpg. What did i do wrong or anything else i can do?

What are you working on?
I am trying to show the image on Stripe checkout page

#

@trail glen pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a question about delayed webhook. When customer use SEPA Direct Debit , it makes delayed webhook. In docs, checkout.session.async_payment_succeeded webhook is made after multiple days. When i test this payment method customer.subscription.creation made immediately.
How to controll paid success in this case?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/fulfill-orders#delayed-notification

What are you working on?
I'm working on handling webhook events.

#

@jolly star pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/separate-charges-and-transfers

Question
I'm using stripe connect and would like to receive a bank transfer from a customer (stripe connect account), and then dispatch the paiement to 2 stripe connect accounts (and keeping a fee). I don't really understand how the bank transfer part works, what informations I should send to the client.

What have you already attempted?
I've tried to create a payment intent with a payment_method of "bank_transfer", expecting the response to give me a bank account that I could send to the customer, and receive a webhook event when the payment is made, but I get an "payment_intent_invalid_parameter" error. I don't know if my approach is correct.

What are you working on?
a platform where freelance and customers meet each other, where freelance generate and send invoices (not using stripe for the invoices) to customers

#

@unique cedar pressed the 🔌 API button in #help to ask a question:

Question
Hello! Some subscriptions are getting canceled and its invoices voided for some reason we cannot understand, if it's something we are doing wrong on our API or a missing parameter or something. The voiding happens right after customer.subscription.updated event takes place. Could you please help us out?

Related Request ID(s)
req_OMePCDimOcErw8, req_Egq7KxaSNzS4GJ, req_aZvCQChsbeqcSz, req_NXGa0ibVMKYQwz

What have you already attempted?
Inspected logs
Checked if it could be something wrong on our codebase

#

@raw escarp pressed the 🔌 API button in #help to ask a question:

Question
I am using https://docs.stripe.com/api/customer_portal/sessions/create to create a portal session to manage user cards/user details
I need to track what webhook events are generated based on actions taken by the user in this portal session.

Related Request ID(s)
req_PE8H9eqh8VpYCb

What have you already attempted?
I have tried to find out if there is any unique session identifier that I can track between the session creation process and the incoming webhooks.
Some API calls support metadata, but this one does not.

atomic shuttleBOT
#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
How to restrict customer to only use the card scheme (brand / networks) from the ones I want to let him in the card Element.

Related Request ID(s)
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

What have you already attempted?
've noticed an issue with co-branded test cards such as Carte Bancaire / Mastercard. Even if I choose the Carte Bancaire network in the dropdown, the event object keeps returning the brand mastercard instead of returning Carte Bancaire.

this issue doesn't occur with cardElement.on('networkschange', handler). Could you

What are you working on?
Only allow customer to choose from the card schemes on Front-End and from the card scheme I want to allow them to use.

#

@meager hinge pressed the 🔌 API button in #help to ask a question:

Question
Q1. When a payment is made on my Stripe subscription, how do I know if a coupon was used for that payment?

Q2. When a $0 payment is made using trial_period in a Stripe subscription, how do I know that the trial_period was applied to that payment?

Related Request ID(s)
req_zu4QqSoz9oGHpC

What have you already attempted?
Already find api document .

What are you working on?
Integrate stripe subscription

atomic shuttleBOT
#

@hot kernel pressed the 👍 Best Practices button in #help to ask a question:

Question
We have a pricing table in our product however we wanted to customise this to align with our UI. Is there a way to use stripe to get the correct price, currency localisation and payment/checkout links but use our own pricing cards? The pricing API may be the solution but I was unclear on how to get the users currency.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/pricing-table

What are you working on?
We're building a platform for digital teacher tools

#

@steady tiger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I transfer charge from platform to connect account then I update the charge of this charge

What actually happened?
the charge not happened I got this exception The resource ID cannot be null or whitespace

Reproduction Steps
transfer and update the charge

Question
why this is happened " the charge not happened I got this exception The resource ID cannot be null or whitespace"

atomic shuttleBOT
#

@regal bloom pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We are confirming payments client-side with the Stripe SDK (iOS/Android). Then our clients call a server-side endpoint verifies the payment has `succeeded` status (via the Stripe API) and if so, it makes some database changes. However, if our API fetches the intent from Stripe too quickly, it receives a pending status

What actually happened?
We were expecting the Stripe API to be consistent. So, we were expecting:

  1. Our server gives a payment intent client secret to the clients
  2. Our clients call confirm payment
  3. In case of success from confirm payment, our clients call our API
  4. Our API fetches a successful payment intent from the Stripe API

Reproduction Steps
Follow above scenario ^^^^^^^^

Question
When we add a delay between (3) and (4), the Stripe API does return a succeeded status, hinting that this is a consistency issue. Could this be the case?

#

@crisp rain pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am working on Stripe Connect and want to transfer funds from the Client's Stripe account to the connected user's bank account.

What actually happened?
Instead of transferring the amount to the connected user's bank account, the API transfers the funds back to the Client's connected account.

Reproduction Steps
Retrieve the connect account by ID
Verify that the connected account has charges and payouts enabled
Retrieve the client's USD balance and verify that the current balance is sufficient
Check if the withdrawal amount is greater than zero i.e. non-negative
Make transfer

Question
How can I make sure that the amount is being transferred to the user's Stripe-connected bank account and not to the Client's bank account?

What are you working on?
Stripe PHP SDK : $stripe = new \Stripe\StripeClient(config('app.stripe_secret')), connect accounts

#

@steel jacinth pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is 'account.application.authorized' for me to track when a new user installs my stripe app?

How do I test 'account.application.authorized' locally/in test mode if it is not supported by Stripe CLI?

Related Event ID(s)
000000000000000000

What have you already attempted?
stripe trigger account.application.authorized
The event ‘account.application.authorized’ is not supported by the Stripe CLI.

What are you working on?
I am trying to create a webhook to receive events when there is a new user who install my stripe app

atomic shuttleBOT
#

@sour talon pressed the 🔌 API button in #help to ask a question:

Question
we would like to show our users on our web app a message if a payment attempt for subscription renewal has failed. can you please direct me as to where can i find this info?

Related Request ID(s)
no ids are relevant

What have you already attempted?
read a lot on the api documentation but could not find an answer

#

@steady tiger pressed the ❌ An Error button in #help to ask a question:

Error Message
"Insufficient funds in Stripe account. If you provide `source_transaction` and the source transaction's `available_on` date has passed, you still need funds in your available balance. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance)."

Question
I need to transfer charge from platform account to connect account for this charge

What have you already attempted?
this is the payment I try to transfer charge
pi_3Ot6AOFEgoPPTUJh1h1XJYsG
and I'm using transfer group as this
$stripe->transfers->create([
'amount' => $amount,
'currency' => "usd",
'transfer_group' => $group,
'destination' => $this->stripe_connec

#

@gray peak pressed the ❌ An Error button in #help to ask a question:

Error Message
Action required.
To avoid paused payments and payouts, provide your business owner information by 26 Mar.
View details

Question
it ask me to add all owners its only me as owner and I added my wife as secretary she doesn't have residency in uae

What have you already attempted?
tried to remove here but the system is not smart enough to detect that's its only one owner on the file uploaded !

Reproduction Steps
what icando here ???? please support

atomic shuttleBOT
#

@empty dirge pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hey there, I'm trying to use the Stripe SDK and Clerk to set up a webhook that updates a users public metadata with the stripe Customer ID and a "paid" field.

Related Event ID(s)
evt_3OwkfBJfa7ajJzhm0q7vH32I

What have you already attempted?
https://github.com/Bloom-Assistant/bloom.getoasis.io/blob/master/src/pages/api/stripe.ts

What are you working on?
I'm working on a chrome extension

#

@frank ridge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I am working on the on_behalf_of code

Question
When a customer makes a payment, it currently shows "Dinerly" on the bank statement. However, I would like it to display the name of the connected account, how do I do that?

What have you already attempted?
adding the on_behalf_of code but it is not working

What are you working on?
A website builder for restaurants that allows them to take online orders via their website.

#

@unreal bloom pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
For upTo in the API to be something other than NULL when using metered usage tracking

What actually happened?
upTo when retrieving in the API is NULL

Reproduction Steps
Create a subscription with a prices based on metered usage and create different tiers. When requesting prices through the API then upTo is NULL

Question
How to get the volume limit per tier from the prices API?

What are you working on?
A subscription based API service using stripe's usage-based billing

#

@hollow kettle pressed the 🧑‍💻 Code button in #help to ask a question:

Code
stripe = Stripe(pubKey);
const options = { clientSecret: clientSecret }
elements = stripe.elements(options);
paymentElement = elements.create("payment");
paymentElement.mount("#payment-element");

Question
We're creating an internal web app and using elements to take new card details for MOTO orders. For mail-order orders we are not, and should not ask for CVV number but we can not find a way using elements to make it an optional field

What have you already attempted?
Not rendering the CVV field by building up the elements fields ourselves. It wasn't happy doing that. We don't want to roll our own as that would open us up to more PCIDSS exposure

What are you working on?
internal C# blazor web app to take MOTO orders

#

@empty stone pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Payment are going through.

What actually happened?
Payments were blocked by Stripe.

Reproduction Steps
We were recently onboarding a new customer to our software platform. We are using Stripe for automatic payments via Subscriptions. We started around 70 subscriptions on one day via API and 30 of them had failed payments, with reason "This payment failed because Stripe determined it was too high-risk".

Question
Why are the payments failing, if we used SEPA mandates which were imported from the Stripe Migration Team?

Interesting fact: The first around 10 payments via SEPA succeeded, and then all the following got immediately blocked.

Can you help us here?

#

@rotund sun pressed the 🔌 API button in #help to ask a question:

Question
Do we have an api for transfer the amount from stripe to someone else credit card ?

Related Request ID(s)
No ids just need to know do we have an api for that.

What have you already attempted?
I only found out we can transfer from stripe to another stripe account not sure if can we can transfer to a customer credit card also.

#

@smoky lark pressed the ❌ An Error button in #help to ask a question:

Error Message
CSP errors from stripe.js

Question
Using stripe.js v3. I am now getting a long list of CSP errors

What have you already attempted?
It worked before. I have added the CSP rules

Reproduction Steps
Use stripe.js on external site with CSP

#

@floral mist pressed the ❌ An Error button in #help to ask a question:

Error Message
Some of my customers can't seem to finish their 3ds payment because they're getting a message "This content is blocked. Contact the site owner to fix the issue."

Question
What can I do to address this? Is this an issue with my Stripe setup or Stripe itself?

What have you already attempted?
I've updated my Stripe js dependency to the latest version but it still happens.

Reproduction Steps
Here's some payments intents which it happened on:
pi_3OwkAFKRNFCo7hZk19FiAAAl
pi_3OwOyKKRNFCo7hZk08Vd2NTP

I cannot reproduce it myself.

#

@scarlet kiln pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi, In my project structure I am creating subscription in stripe using subscription API and sending the email to customer via webhook. I tried the "Advance Time" feature of stripe it is creating invoice in draft mode but not firing webhook of invoice_payment_success

Related Event ID(s)
I have not found any

What have you already attempted?
I created weekly subscription in test mode today so my next payment will be on 28th so I advanced the time from dashboard but I could not found the success webhook

#

@storm stag pressed the 🔌 API button in #help to ask a question:

Question
I want to be able to add multiple Billing Emails to a customer - I can do that through the UI but would prefer to do it via API, however, I cannot find anywhere support for multiple emails, is upon adding a subscription? Or how can I automate it?

Related Request ID(s)
req_Jkjt59i0SdPkko

What have you already attempted?
Checked docs, checked in stackoverflow where it says this is a dashboard only feature (https://stackoverflow.com/questions/71319021/stripe-one-customer-need-to-send-invoice-to-multiple-email-addresses)

What are you working on?
Platform for helping people transport cars

#

@finite hawk pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best way to provide several discounts to a subscription?

Should we use negative invoice items to "stack" coupon discounts?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/coupons#alternative

What are you working on?
I'm building a checkout using payment and address elements

atomic shuttleBOT
#

@oblique plover pressed the 🔌 API button in #help to ask a question:

Question
Using the PHP api library, is there a way to send a request and skip any webhooks that would usually be generated from that request?

Related Request ID(s)
evt_1OwmMDILkkcOmYXlQ196LqBL, req_yzRXG6C2bgDKQr

What have you already attempted?
I have read the documentation to locate anything relating to "ignoring webhooks" or "skipping webhooks"

What are you working on?
we are using a script to process many hundreds of our customers to upgrade their pricing

#

@pure crane pressed the 👍 Best Practices button in #help to ask a question:

Question
Retrieve data displayed in Stripe dashboard in the connected account balance summary.
3 informations are displayed: total available, estimated future payment and in transit to the bank.

Doc/Guide Links
https://docs.stripe.com/connect/account-balances#understanding-connected-reserve-balances

What are you working on?
Mimic the connected account summary balance summary displayed from Stripe dashboard.

atomic shuttleBOT
#

@mental flume pressed the 👍 Best Practices button in #help to ask a question:

Question
We sell annual subscriptions for $5k/year. The sales team has worked out a deal with a new client to pay $7800 up front for a 2 year subscription. I can set the custom price using checkout, but how should i best handle the 2 year subscription term?

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

What are you working on?
A custom checkout for a subscription with both a custom duration and price.

atomic shuttleBOT
#

@smoky lark pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Is there any test card that will fail when being attached to a customer?

What have you already attempted?
Looked at test cards

#

@raven ore pressed the 🔌 API button in #help to ask a question:

Question
How do I read Balance Transfers in the API, Records that begin with _btr?

Related Request ID(s)
req_iFicbHr520IP0H

What have you already attempted?
read through documentation

#

@steady remnant pressed the 🔌 API button in #help to ask a question:

Question
Once the customer has used the payment element and saved their card with Link, when they return to use it again, the payment element does not appear. Instead a smaller element appears specifically for Link with their card displayed.

Is there a way of detecting this using JS?
Or disabling it without removing Link?

Related Request ID(s)
This box is irrelevant to my question but still required lol

What have you already attempted?
I have already tried console.logging these variables: stripe, stripeElements, StripePaymentElement.
None of them contain any indication of which payment method is selected on load.

What are you working on?
I am integrating the Stripe Payment Element into the checkout of my website.

#

@distant sun pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Upgrading React Native SDK to v37 causes the app to crash on Android when using the CardField component.

Question
I would like to use the CardField component on the latest version of the SDK, ensuring requests are being made with the latest API version.

What have you already attempted?
Downgrading the SDK to v33 fixes the issue, but requests are using the older API versions. We are in the process of upgrading our packages as our implementation is using the old API in requests, causing flags on our dashboard where we are sending card details.

#

@pseudo python pressed the 👍 Best Practices button in #help to ask a question:

Question
I'd like to display the card_error type messages in a specific language (FR) or (EN) based on the language of my form, but I make confirmation from the server and not client. How can I achieve it ?

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

What are you working on?
PaymentElement integration with server side confirmation

#

@umbral thunder pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to pay multiple invoices at once? For example, customer has 3 past due invoices at $50 each. Can I call an API to pay all past due invoices with one charge of $150?

Related Request ID(s)
no related ids for this

What have you already attempted?
Looked at API docs and I don't see a way to pay multiple invoices but wanted to confirm. I do see you can pay one invoice.

#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
How can I add item to be displayed on the Stripe Checkout page? (I'm using my own webstore)
What API do I need?

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

What have you already attempted?
Read the documentation, not really useful for myself.

What are you working on?
Modifying my webstore code.

#

@vocal wagon pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi, I'm trying to understand why I did not received the webhook request after issuing a card.

Related Event ID(s)
evt_1Owo8RRPunamYXaqQMFoVDRU

What have you already attempted?
I've created the card from a stripe connect account dashboard.

#

@shut steeple pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Receive a webhooks, when a stripe identity session expire because the user have used the link and left the session

What actually happened?
no webhooks emitted, the session remain in requires information, but he link doesn't work

Reproduction Steps
generate a session identity use the link, go to the first ID check and left the session

Question
How can i handle this case server side to send an email with the new link to the user ?

#

@zinc shell pressed the 🔌 API button in #help to ask a question:

Question
Stripe API and PCI compliance

Consider the following scenario. My app sends the card information over SSL to my server. My server then calls `/v1/payment_methods` in order to create a new payment method for my customer. I don't store or log the card information anywhere. Am I still PCI-compliant?

Related Request ID(s)
Sorry, this is a general question therefore I have no logs

What have you already attempted?
I've tried searching on stripe's website but couldn't find a definitive answer. If this question goes against the server's policy please delete it. Thank you

#

@cinder jetty pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const confirmPayment = useCallback(async (paymentIntent: PaymentIntent.Type) => {
// Setup and attempt to confirm paymentIntent.
if (confirmedPaymentIntent && confirmedPaymentIntent.status === 'succeeded') {
capturePayment({...}); // Intended for DB log, not Stripe capture.
}
}, [deps]);

Question
I'm encountering an error when attempting to log the completion of a payment in my backend using 'capturePayment'. The PaymentIntent has already been confirmed and marked as 'succeeded', but the capture log fails with a 400 status: 'PaymentIntent already captured'. How should I correct this?

What have you already attempted?
I've checked the state of the PaymentIntent before the 'capturePayment' call to ensure it's 'succeeded'. The 'capturePayment' function is meant for database logging, not Stripe capture. I've tried reorganizing the code to prevent unnecessary calls and checked if other states like 'requires_payment_method' are causing t

#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/custom/hosted-onboarding

Question
Im testing the onboarding flow, and im never being prompted to add bank details? Why is that? The account link generation is set to collect currently due.

What have you already attempted?
Ive looked through the docs and googled quite a bit

What are you working on?
Connect onboarding via stripe

#

@uncut bay pressed the 👍 Best Practices button in #help to ask a question:

Question
I created a payment intent with the ability to acquire funds manually. I was wondering how I can increase the expiration of this authorization from 7 days to 14 days?

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

What are you working on?
I would like to update the payment intent expiration date by increasing it by 3 days

#

@honest lodge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm using Stripe elements within my product. I am adding support for ACH payments (before we just accepted card). Everything was working yesterday. I expect to be able to click Test Institutions in the sandbox element and select things like Success & Account Closed.

What actually happened?
When clicking on the Test Institution button in the Stripe react element, it grays out all the different ACH bank test institutions and says under each account 'Unavailable for payments'. I've double checked to ensure our test settings account allows for ACH direct debit payment type.

Reproduction Steps
Create a new payment intent > click Test Institution (or any other OAuth account button, etc) > All options are greyed out with error 'Unavailable for payments'

Question
Why am I no longer able to select the different test bank accounts? It was working earlier and I'm a bit confused on why it's broken now! Thank you

atomic shuttleBOT
#

@feral brook pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, if a user has a stripe_id+paym on the main application, can they subscribe to express connected (direct billing) without a new id+paym being required per connected account.
Too much conflicting info hence asking directly.
Don't really want users to have to enter payment details for each new providers subscription

Doc/Guide Links
https://docs.stripe.com/connect/subscriptions#customer-connected-account

What are you working on?
A membership platform where users subscribe to service providers

#

@dusty delta pressed the 🧑‍💻 Code button in #help to ask a question:

Code
It won't fit but i can share the php logic and stripe.js logic after this is posted

Question
How do i authenticate 3DS cards on stripe using Stripe.JS v2. for subscriptions

I know it's not recommended to use v2 but unfortunately it is what i have to work with for now until my client decides to upgrade all the APIs on they website.

before now, i've been able to successfully create a customer and subscription

What have you already attempted?
I've created a PaymentIntent, I've also checked if the requires action and confirmed it true, I've also tried to redirect to stripe for 3DS authentication. But unfortunately by this point. my form no longer works for but non 3DS cards and also 3DS cards

What are you working on?
I'm trying to authenticate 3DS cards by redirecting them to Stripe/Bank page.

#

@royal nebula pressed the 🔌 API button in #help to ask a question:

Question
We are using Stripe for Woocommerce. We have some JS that swaps keys based on user selected country / currency. Currently keys update but require a page reload. How can we do this via Ajax to change the keys?

Related Request ID(s)
This doesn't apply since it is before the request is generated

What have you already attempted?
We are already able to successfully swap keys tied to the user's billing country field and also the geolocated currency, but it requires a page reload. We would like to use Ajax to do this. Please advise with any code examples or method you may have to achieve this.

What are you working on?
Woocommerce Stripe plugin to swap keys at checkout based on country / currency

#

@crisp rain pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am working on Stripe Connect and want to transfer funds from the Platform account to the connected user's bank account.

What actually happened?
Instead of transferring the amount to the connected user's bank account, the API transfers the funds back to the Platform's connected bank account.

Reproduction Steps
Retrieve the connect account by ID
Verify that the connected account has charges and payouts enabled
Retrieve the Platform's USD balance and verify that the current balance is sufficient
Check if the withdrawal amount is greater than zero i.e. non-negative
Make transfer

Question
How can I make sure that the amount is being transferred to the user's Stripe-connected bank account and not to the Client's bank account?

What are you working on?
Stripe PHP SDK : $stripe = new \Stripe\StripeClient(config('app.stripe_secret')), connect accounts

#

@covert slate pressed the 🧑‍💻 Code button in #help to ask a question:

Code
// pay from connect
await stripe.charges.create({
amount,
currency,
transfer_group: rental.id
source: stripeAccount
})
// fetch list of income and payment
const result = await stripe.balanceTransactions.list({
type: "payment",
stripeAccount,
});

Question
We are trying to implement a wallet feature that will allow users to spend own stripe account balance in order to pay for rentals. I found that stripe.balanceTransactions show me both income and outcome(payments) but I cannot find out how to add more information from this list. I want transfer group and metadata

What have you already attempted?
I tried to pass different arguments to stripe.balanceTransactions but only getting basic information

atomic shuttleBOT
#

@normal prawn pressed the 🔌 API button in #help to ask a question:

Question
Hello! I am building a uber clone app. I am using stripe completely. In driver side, I need a way to let drivers cash out to their card or bank account. Is there any api for that in stripe?

Related Request ID(s)
I dont know about this

What have you already attempted?
I searched for the api but to non avail.

#

@thorn marlin pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/paypal

Question
The doc implies that Paypal via Stripe is only available in Europe. That does not seem right as I am sure I have seen some sites using Stripe as the Payment Provider also have Paypal. Assuming Stripe can process Paypal payments in the U.S. I will follow up with my environment and real question in the next section.

What have you already attempted?
Env: SalesForce Ccommerce Cloud B2C (Demandware) using Salesforce Payment processor, which to my understanding is using Stripe. The Client wants to be able to use Venmo, so would enabling PayPal as a payment method a send the user to PayPal and Venmo an option there?

What are you working on?
Creating a Donation website.

#

@shell jewel pressed the 🔌 API button in #help to ask a question:

Question
How can I implement instant payment in my web app for users adding credits? I am using python for the backend and React for the client side.

Related Request ID(s)
req_gIHsBHkptEHJ8m req_WOxFdVx9LPA4w8 req_AWvVVbUA1zL8HQ

What have you already attempted?
I've tried to enable instant payments by first creating an invoice item with a specified amount using InvoiceItem.create(). Then, I create an invoice with the 'charge_automatically' flag set via Invoice.create() and finalize it using Invoice.finalize_invoice(). Despite these steps, the dashboard shows the invoices as p

What are you working on?
A web app that allows users to manually input an amount or opt for automatic recharge when their balance falls below a set threshold.

atomic shuttleBOT
#

@glacial plinth pressed the ❌ An Error button in #help to ask a question:

Error Message
getting "requires_payment_method" on dashboard

Question
Couldn't receive payments, so I was redirected to this server. How do I fix the error and if the error gets resolved, would the payments go through or the clients would need to make another payment attempt?

What have you already attempted?
Read the article docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method

Reproduction Steps
I am not sure how to proceed...

What are you working on?
Trying to receive payments from clients

#

@dry ember pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment?platform=react-native&mobile-ui=payment-element#react-native-enable-payment-methods

Question
If we switch to using Mobile Payment Element over Card Element only in our React Native implementation, do we get other payment methods without additional coding on our side?

What have you already attempted?
We're struggling with updating our current implementation of Card Element only.

What are you working on?
Mobile and web parking app for apartment communities

#

@earnest lintel pressed the 🔌 API button in #help to ask a question:

Question
Wondering something... It seems like creating a regular invoice is way more flexible than creating a subscription invoice. For example, on a regular invoice you can add multiple coupons, create one off line-items, etc. You cannot do this on a subscription. Is there a reason behind this? Maybe I'm not understanding.

Related Request ID(s)
xxxxxxxxxxxxxxxxxx

What have you already attempted?
Api documentation
manual invoice creation via api for subs and just one-offs.

#

@silver lily pressed the 🔌 API button in #help to ask a question:

Question
I am very new to coding. I need help with resolving the error error is : No API key provided. (HINT: set your API key using "stripe.api_key = <API-KEY>"). You can generate API keys from the Stripe web interface.

Related Request ID(s)
NANANANANANANANANNA

What have you already attempted?
I was trying to call secret key from .env via config, but that gave me first error. then tried writing secret key directing in utils.py but still didnt work

What are you working on?
I am making ecommerce website using django.

atomic shuttleBOT
#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/payment-links?lang=dotnet#customize-branding

Question
I dont quite understand what price id is, its not entirely clear.

What have you already attempted?
Ive read the docs for products, i created a product and tried creating a payment link but it rejects the price id

#

@valid garnet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
`https://connect.stripe.com/oauth/v2/authorize?response_type=code&client_id=${process.env.STRIPE_CLIENT_ID}&scope=read_write&state=${state}&stripe_user[email]=${session.user.email}`;

const response = await stripe.oauth.token({
grant_type: "authorization_code",
code: UNIQYE CODE HERE,
});

Question
Hey, I'm adding stripe integration to my project where users can connect a form with stripe, but when a user connect his account, and try to connect the same account with a different form I get this: "This authorization code has already been used. All tokens issued with this code have been revoked."

What have you already attempted?
I tried to follow this docs "https://docs.stripe.com/connect/oauth-reference" but nothings worked or helped to get rid of this error message "StripeInvalidGrantError: This authorization code has already been used. All tokens issued with this code have been revoked."

What are you working on?
I'm working on https://rapidforms.co

atomic shuttleBOT
#

@west saffron pressed the 🔌 API button in #help to ask a question:

Question
I need to migrate all subscriptions using a specific coupon id, to a new coupon that only applies to certain products. How do i search based on coupon id being applied to an entity like the dashboard supports

Related Request ID(s)
There is no request, just a general process question

What have you already attempted?
In the dashboard ui, there is an api call to `https://dashboard.stripe.com/v1/customers?coupon=COUPON_ID` or `https://dashboard.stripe.com/v1/subscriptions?coupon=COUPON_ID` and lists the current customers using that coupon, but how can I do this on the supported API? Otherwise I have to scan all subscriptions

#

@queen shard pressed the 🔌 API button in #help to ask a question:

Question
Payment intent throws requires_source_action for Payment Method which was setup using a Setup Intent which passed the requires_action to get 3DS validation and the status changed to succeeded.

The payment Intent was to cancel a trial subscription and start the paid one.

Authenticate unless set up 4000002500003155

Related Request ID(s)
evt_3Owra0KE1tKkEuI11OZMGNKl, pi_3Owra0KE1tKkEuI11kReTdWx, pm_1OwrZlKE1tKkEuI1RUmvh8zx, seti_1OwrZnKE1tKkEuI1knBxO2QU

What have you already attempted?
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements

During subscription creation I've set

off_session: true,
collection_method: 'charge_automatically',

the setup intent was created with
usage: 'off_session',

I'm using the

Authenticate unless set up 4000002500003155

test card for testing

What are you working on?
This is a running platform related to AI music production (jamahook.com)

atomic shuttleBOT
#

@valid garnet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const response = await stripe.oauth.token({
grant_type: "authorization_code",
code,
});

When I try to connect stripe with another form with the same account I’ve connected with the old form I get this: ""StripeInvalidGrantError: This authorization code has already been used. All tokens issued with"

Question
Is there any way to check if I consumed the same code twice. Note: I get a unique code every time I try from this: const authUrl = https://connect.stripe.com/oauth/v2/authorize?response_type=code&client_id=${process.env.STRIPE_CLIENT_ID}&scope=read_write&state=${state}&stripe_user[email]=${session.user.email}

What have you already attempted?
I tried to follow this docs "https://docs.stripe.com/connect/oauth-reference" but nothings worked or helped to get rid of this error message "StripeInvalidGrantError: This authorization code has already been used. All tokens issued with this code have been revoked."

atomic shuttleBOT
#

@austere solstice pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Mode = "subscription",
SubscriptionData = new SessionSubscriptionDataOptions
{
TrialSettings = new SessionSubscriptionDataTrialSettingsOptions
{
EndBehavior = new SessionSubscriptionDataTrialSettingsEndBehaviorOptions

Question
Hi! in the sign-up flow I'm making, I want to add a case where existing users create a checkout session and it just lets them pass instead of making a new customer. I'm setting the existing customer SessionCreateOptions, but trial cant be 0. How can I create a new session for existing customer and continue the trial?

What have you already attempted?
setting the trial days to 0, setting the existing customer in SessionCreateOptions

What are you working on?
web application for work :)

#

@final kiln pressed the 🔌 API button in #help to ask a question:

Question
I can't get the integration to work

Related Request ID(s)
don't have any....

What have you already attempted?
i tried to fix everything the error message is goving me. but no help

What are you working on?
a web shop for a friend. she's using stripe, so I'm trying to set this up for her

atomic shuttleBOT
#

@steady oriole pressed the 🔌 API button in #help to ask a question:

Question
We already have a yearly subscription on our SAAS, using Stripe and React Native + Node JS.
But we need to offer this yearly subscription with installments, 12 installments.
So the client pay the monthly installments, and we reiceve the total amount.

Related Request ID(s)
I have not tested yet

What have you already attempted?
I have not tried yet

What are you working on?
I am working on instalment payment

#

@snow glacier pressed the 👍 Best Practices button in #help to ask a question:

Question
Hey team, I'm trying to understand how `stripe. createConfirmationToken` can help me to do some server side validation. I'm switching our checkout flow to use pre-authorization now, but I'd like to implement a checkout rate limit to prevent card-testing

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

What are you working on?
checkout flow with pre-auth against card testing

atomic shuttleBOT
#

@humble nymph pressed the 👍 Best Practices button in #help to ask a question:

Question
We use Stripe Connect (Express Accounts) and hold payments until service from provider is complete.

1) How long can we hold the payment? 2) Where does the money "sit" until we release the payment? 3) Do we have somehow access / influence to this money during the process? (because this can mean legal issues)

Doc/Guide Links
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
Influencer-Marketing-Plattform, a Plattform where Influencer offers marketing services

atomic shuttleBOT
#

@reef meteor pressed the 🔌 API button in #help to ask a question:

Question
Is there a limit to the quantity of a subscription item when creating/updating a subscription?

Related Request ID(s)
000000000000000000

What have you already attempted?
checked the docs: https://docs.stripe.com/api/subscriptions/create#create_subscription-items-quantity

What are you working on?
I'm creating a product to add to subscriptions where the user can add multiple

atomic shuttleBOT
#

@worn pewter pressed the 🔌 API button in #help to ask a question:

Question
I check payment_status of CheckoutSession from success return url and time to time it's unpaid even if they are paid hence they are coming to the success return url.

First two is successfully paid IDs of subscription, last sub's id is the user paid again.

Related Request ID(s)
pi_3OwtnxJr3N20QNXk1WBOSEni, cs_live_b1ejCwhgHcMGM58omRtkr0IFe36ZgpHzD81B6XigHA75sMukiEgBpc4zdA, sub_1OwvrOJr3N20QNXkN9E0Hneu

What have you already attempted?
On the success_return url, I grant digital product to user account. The url can be used manually or so hence I use a code to check session is paid. If not, I send them back to the stripe checkout. And I think due to this sometimes people are paying twice.

#

@flint kestrel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
::Stripe::Checkout::Session.create(
{ mode:, customer_email: email,
customer_creation:, invoice_creation:,
metadata: { referral_code:, promo_code:, promo_code_id: },
automatic_tax: { enabled: true },
discounts: [{ coupon: stripe_coupon_id.presence }], line_items: [{ quantity:, price: price_id }])

Question
When using Checkout with Apple Pay and/or Google Pay, do you have to use an embedded checkout? I can't get them to appear on a Stripe hosted checkout, even though they show up as "Active" on my Payment Methods screen. I am not passing in an options about payment methods to the Checkout Session object, expect default

What have you already attempted?
https://me.1se.co/pro is production, you can see the Checkout button leads to a Stripe hosted checkout, and Apple Pay and Google Pay are not options

What are you working on?
1SE is a video diary app

#

@grand moss pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the proper way to adjust an invoice that has already been paid if it turns out the balance needs to be increased instead of reduced? I cannot use invoice revisions nor credit notes for this purpose AFAIK.

Doc/Guide Links
https://docs.stripe.com/invoicing/integration/programmatic-credit-notes

https://docs.stripe.com/invoicing/invoice-edits?testing-method=with-code&architecture-style=services&lang=python

What are you working on?
porting our billing system to stripe invoices

#

@trail glen pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a question about integrating Debit payment method and subscriptipon mode. My question is why in stripe the subscription is created and active before that event happens, when invoice.paid comes at this point and I can see that the payment was successful.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/fulfill-orders#delayed-notification

https://docs.stripe.com/testing?testing-method=payment-methods&payment-method=sepa-direct-debit

What are you working on?
'm currently testing with SEPA DIRECT DEBIT and I'm testing with a card where the checkout.session.async_payment_succeeded webhook comes after 3 minutes.

atomic shuttleBOT
#

@atomic bough pressed the 🧑‍💻 Code button in #help to ask a question:

Code
val subscriptionId = "sub_1Of9NMBZuRENdfSAYdQ77jsc"
val subscription = Subscription.retrieve(subscriptionId)
val subscriptionItem = subscription.items.data.first { it.price.id == MONTHLY_COLLECTION_PRICE_ID }

    val paramsNew = SubscriptionItemUpdateParams.builder\(\)

    paramsNew

Question
I am trying to figure out how to remove proration behavior. I have a subscription with SubscriptionItem having quantity of 2. When I remove 1 item from SubscriptonItem I want that be reflected in next billing cycle and not be prorated is this supported?

What have you already attempted?
Adding proration behavior to NONE for Subscription and SubItems

What are you working on?
SaaS solution when we offer service and want to charge customer

atomic shuttleBOT
#

@dusty delta pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm trying to understand the logic behind sending a Stripe-hosted link to customers to confirm their payments when required via billing setting.

Related Event ID(s)
sub_1OwkCkDLt3ELpQcmnD19emZt

What have you already attempted?
Nothing yet, i just need to confirm the right steps to take since i can't use billing setting in test mode

What are you working on?
I'm trying to authenticate 3DS cards by redirecting them with a stripe hosted-link

atomic shuttleBOT
#

@echo coral pressed the 🔌 API button in #help to ask a question:

Question
I'm a WooCommerce plugin developer, my plugin integrated with Stripe. One oru customer reported that many orders remains in incomplete status

Related Request ID(s)
req_AmjLFMVJZJRjUH, req_ocyieSbRhoFO9z, req_DZAwTdiyr7WAgY

What have you already attempted?
I checked the logs and found that only payment intent created is happened. Is there any issue on our side

atomic shuttleBOT
#

@meager hedge pressed the 🪝 Webhooks button in #help to ask a question:

Question
Why my webhook route does not work (Only 400) ?

Related Event ID(s)
evt_3Ox0vYB4fjaL5cwe0fzH8teT

What have you already attempted?
I try with tutorial (https://codingpr.com/stripe-webhook/) , github (https://github.com/stripe/stripe-node/blob/master/examples/webhook-signing/express/main.ts) and also ChatGPT i do the samething but never get 200 code

What are you working on?
I use Stripe CLI and node js express server

#

@short fern pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Hello, may I ask where to get the ACH settlement failure notification, that is, the situation where Stripe cannot make payments to Pionex due to the failure of the user's ACH account settlement.

What have you already attempted?
Hello, may I ask where to get the ACH settlement failure notification, that is, the situation where Stripe cannot make payments to Pionex due to the failure of the user's ACH account settlement.

What are you working on?
Link Stripe-ACH and Pionex.US

#

@tidal rose pressed the 🔌 API button in #help to ask a question:

Question
I am using your Express API. Getting this error
Uncaught (Status 400) (Request req_rDx2PcuAzInjUi) You must update your Connect branding settings with business name, icon, brand color in order to create an account link.

Related Request ID(s)
Request req_rDx2PcuAzInjU

What have you already attempted?
Uncaught (Status 400) (Request req_rDx2PcuAzInjUi) You must update your Connect branding settings with business name, icon, brand color in order to create an account link. You can set the missing fields.

#

@fair kite pressed the 🔌 API button in #help to ask a question:

Question
As per Stripe's documentation, any DRAFT invoice that is associated with a recurring subscription cannot be deleted. Is there a way we can achieve it through API?

Related Request ID(s)
req_3Fpu88SPwrkEUJ

What have you already attempted?
We do have webhooks implement for invoices but did not yet try deleting a DRAFT Invoice through API as we wanted to first try it on the dashboard and we found that DRAFT Invoices which are associated to recurring subscriptions cannot be deleted

What are you working on?
A mobile phone security product

#

@thorny summit pressed the 🔌 API button in #help to ask a question:

Question
Can I remove the prefix from the customers invoice?

In India, it is required for the invoice numbering to run in sequence. Starting from `1`.

Related Request ID(s)
req_zij89LRx3EV82O

What have you already attempted?
In the `customers.create()` method.

I tried setting the value `invoice_prefix: ""`

But I got this error

```
You passed an empty string for 'invoice_prefix'. We assume empty values are an attempt to unset a parameter; however 'invoice_prefix' cannot be unset. ```

atomic shuttleBOT
#

@short fern pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
When we use the payout.failed event, how can we simulate a failure in the test environment?

What have you already attempted?
When we use the payout.failed event, how can we simulate a failure in the test environment?

What are you working on?
Link Stripe-ACH and Pionex.US

#

@valid shoal pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We are expecting the same auth amount which we also calculating in our backend

What actually happened?
Anyhow Stripe calculates less than we are doing .

Reproduction Steps
I am sharing some screenshots where it shows what stripe authorize and what we are calculating

Question
How is Stripe calculating fees , can you share a formula ?

atomic shuttleBOT
#

@opal wing pressed the 🔌 API button in #help to ask a question:

Question
How can I get this live secret key?

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
How can I get this live secret key?

#

@silver jewel pressed the 🔌 API button in #help to ask a question:

Question
We're trying to put through a bacs payment and getting an error saying our account isn't setup to send mandate_data, when we don't send this param we get an error saying no mandate was found and to send mandate_date

Related Request ID(s)
req_Zzcw5jK47DLVfT, req_myXIK2LVutLw0E

What have you already attempted?
We've tried sending / not sending mandate_date

#

@ionic jacinth pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expect that both cvc checks returns "pass"

What actually happened?
When I create/confirm a PaymentIntent I see the card cvc checks equals to null even if during the paymentMethod attach to customer return "pass"

Reproduction Steps
create a setupIntent and collect card data for the customer. Next create a paymentintent and verify that cvc check is null

Question
why cvc checks inside a paymentIntent are null?

#

@sweet elbow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
new SessionCreateParams.Buidler().setPaymentIntent(paymentIntentId).setMode(Session CreateParams.Mode.PAYMENT)

Question
how use customer balance in stripe one time payment using checkout session ?

What have you already attempted?
I tried to create payment intent with use_stripe_balance=true and tried to set this payment intent in checkout session but method is supported

What are you working on?
wnated to use Customer balance in one time payment using checkout session flow

#

@tidal rose pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/express-accounts

Question
When we have completed an account using stripe express, however after completing the onboarding process, we are not able to get the response. Which will display that the user is connected.

What have you already attempted?
We have created the account as per the doc and also created account link, completed the onboarding process.

What are you working on?
We are trying to connect a user via stripe express. The user has sucessfully completed the on bording process, but we are not able to get response for the same.

atomic shuttleBOT
#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
Hello I have to active webhook for all the standard connected account. If I do it on parent account will it be applied to all connected account or I have to add webhook to each connected account.

Related Request ID(s)
No id just a question

What have you already attempted?
I have not tried anything

What are you working on?
I am working on stripe webhook to automatic capture subscription payments

#

@cinder jetty pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const confirmPayment = useCallback(async (paymentIntent: PaymentIntent.Type) => {
// Setup and attempt to confirm paymentIntent.
if (confirmedPaymentIntent && confirmedPaymentIntent.status === 'succeeded') {
capturePayment({...}); // Intended for DB log, not Stripe capture.
}
}, [deps]);

Question
"I'm encountering an error when attempting to log the completion of a payment in my backend using 'capturePayment'. The PaymentIntent has already been confirmed and marked as 'succeeded', but the capture log fails with a 400 status: 'PaymentIntent already captured'. How should I correct this?"

What have you already attempted?
"I've checked the state of the PaymentIntent before the 'capturePayment' call to ensure it's 'succeeded'. The 'capturePayment' function is meant for database logging, not Stripe capture. I've tried reorganizing the code to prevent unnecessary calls and checked if other states like 'requires_payment_method' are causing

#

@gentle flint pressed the 🔌 API button in #help to ask a question:

Question
I'm getting the below error while doing a test payment using payment method 'US Bank Account'. "When confirming a PaymentIntent with a `us_bank_account` PaymentMethod and `setup_future_usage`, `mandate_data` is required".

Related Request ID(s)
req_ZtdzQVZvEzyc4k

What have you already attempted?
I've added mandate_options field in the payment intent charge array while creating the payment intent. Still I'm getting this error. Do I need to do anything else?

What are you working on?
I'm integrating Stripe payment element in my application

#

@rapid siren pressed the 🔌 API button in #help to ask a question:

Question
I have problem with Connected Accounts when i try to do a transfer

Related Request ID(s)
req_fRv3x4FYpCl1Wb

What have you already attempted?
const payloadAccount: Stripe.AccountCreateParams = {
type: 'express',
country: 'ES',
business_type,
email,
capabilities: {
card_payments: {
requested: true,
},
transfers: {
requested: true,
},
},
}

What are you working on?
Payment service between commerce, influencers and final customers

#

@scenic swallow pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/custom-fields

Question
How do we link the Custom Fields value from the Checkout session to custom_fields in Invoice to show that value in the Generated Invoice?

What have you already attempted?
We try to update the invoice but since invoice get finalized during checkout we can't update the custom_fields in Invoice.

atomic shuttleBOT
#

@vernal hemlock pressed the 🔌 API button in #help to ask a question:

Question
I cannot create checkout session in Java, when I add the following param:
RequestOptions requestOptions = RequestOptions.builder().setStripeAccount(
"acct_XXXXXXXX"
).build();
It returns the error: No such price: 'price_xxxxxxx'; code: resource_missing; request-id: req_t48KBk86YqlkMw

without that param works

Related Request ID(s)
req_t48KBk86YqlkMw

What have you already attempted?
I removed that parameter and it works fine, no problem with productID, however the payment goes to the platform instead of another stripe account

What are you working on?
developing a payment system between clients in our platform

#

@trail glen pressed the 🔌 API button in #help to ask a question:

Question
How to test automatic curreny setting. I turned on automatic currency conversion in my Payment setting. Our team use price id for making checkOut session and this price data we made in stripe is US dollar. We want to check the price currency is converted well when check out session was made in europe.

Related Request ID(s)
https://support.stripe.com/questions/automatic-currency-conversion

What have you already attempted?
I turned on automatic currency conversion and test with test customer (test+location_FR@example.com)

What are you working on?
I'm working on check the price conversion test

#

@winter shuttle pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have stripe account under which there are many connected account suppose we can say ABC is main account and under that other connected accounts. If I have to apply webhooks for all connected account is it enough to add webhook for ABC account or is it required to add webhook on each individual connected account

Related Event ID(s)
subscription.updated

What have you already attempted?
I have tried on connected account not tried on main account i.e. ABC

What are you working on?
Webhook intergration for subscription updates

#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
For some reason, the customer api has changed its behaviour concerning queries on the metadata. the exact same code worked fine till yesterday and now returns that "query" is not a valid parameter

Related Request ID(s)
req_bISJopLbQS1min

What have you already attempted?
For some reason, the customer api has changed its behaviour concerning queries on the metadata. the exact same code worked fine till yesterday and now returns that "query" is not a valid parameter

#

@sweet elbow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
PaymentIntentCreateParams paymentIntentParams = PaymentIntentCreateParams.builder()
.setAmount(amountToPay)
.setCurrency("usd")
.setCustomer(customerId)
.putExtraParam("use_stripe_balance", true) // Use customer balance for payment

Question
how use customer balance in stripe one time payment using checkout session ?

What have you already attempted?
I tried to create payment intent with use_stripe_balance=true and tried to set this payment intent in checkout session but method is supported

What are you working on?
wanted to use Customer balance in one time payment using checkout session flow

atomic shuttleBOT
#

@cloud tapir pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to fetch the VAT number for a connected account via the API?

Related Request ID(s)
There are no specific requests related with this.

What have you already attempted?
I'm requesting the connected account objects via the node library, but I don't see VAT number in the response object. On Account.company there is a boolean called vat_id_provided, but I don't see the VAT number itself.

What are you working on?
We have a marketplace where local businesses offer up their available space for travelers to store their luggage.

atomic shuttleBOT
#

@cinder jetty pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const confirmPayment = useCallback(async (paymentIntent: PaymentIntent.Type) => {
// Setup and attempt to confirm paymentIntent.
if (confirmedPaymentIntent && confirmedPaymentIntent.status === 'succeeded') {
capturePayment({...}); // Intended for DB log, not Stripe capture.
}
}, [deps]);

Question
I'm encountering an error when attempting to log the completion of a payment in my backend using 'capturePayment'. The PaymentIntent has already been confirmed and marked as 'succeeded', but the capture log fails with a 400 status: 'PaymentIntent already captured'. How should I correct this?

What have you already attempted?
I've checked the state of the PaymentIntent before the 'capturePayment' call to ensure it's 'succeeded'. The 'capturePayment' function is meant for database logging, not Stripe capture. I've tried reorganizing the code to prevent unnecessary calls and checked if other states like 'requires_payment_method' are causing

#

@dim loom pressed the 🪝 Webhooks button in #help to ask a question:

Question
stripe buildWebhooksEvent msg:stripe dataObjectDeserializer fail!
java.lang.RuntimeException: stripe dataObjectDeserializer fail!

Related Event ID(s)
pi_3Ox3lyH6RXDT0rjl00dpbqHt

What have you already attempted?
This error should be caused by the inconsistency between the version of webhooksecret and my Stripe Java version, but I am not sure which Stripe Java version I should choose. The API version is 2023-10-16

atomic shuttleBOT
#

@short fern pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/events/types#event_types-charge.dispute.created

Question
How should I get the webhook for ACH reversal error codes, such as R01, R10, etc.?

What have you already attempted?
How should I get the webhook for ACH reversal error codes, such as R01, R10, etc.?

What are you working on?
Link Stripe-ACH and Pionex.US

atomic shuttleBOT
#

@slow goblet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
if(downgrade){
await stripe.subscriptions.update(
subscriptionPlan.stripeSubscriptionId,
{
items: [...]
proration_behavior: "none",
}
);
}

Question
How do i downgrade Yearly to monthly but only after the current plan ends. which should be after the year ends.

What have you already attempted?
I have tried to set prorated to none, as the document says the when changing of the billing period may charge immediately.

What are you working on?
Downgrading user from yearly to monthly will only downgrade after the current yearly plan ends.

#

@tidal ridge pressed the 👍 Best Practices button in #help to ask a question:

Question
Hey, in my app users can pass their cc and we charge them later.
Backend is generating customer and his paymentIntent, passing setupIntent to frontend which should collect cc data, get payment_method, and send it backend.

Doc/Guide Links
Now at this point I'm checking whether this payment_method exist and belong to this customer.
What else should I check? Should I check "type" field whether it's card? is this enough or should I check something more to ensure that it will be possible to charge this cc later?

What are you working on?
im working on a way to save cc via stripe and charge it later.

#

@thin citrus pressed the 🔌 API button in #help to ask a question:

Question
Hello. Is there any way to retrieve the virtual account bank number associated to my customers using the API?

Related Request ID(s)
evt_1OltAEB2v5yxQy40XQpYfg8Y

What have you already attempted?
I have read the API docs but could not find anything related

atomic shuttleBOT
#

@molten lantern pressed the 🔌 API button in #help to ask a question:

Question
#1.Which APIs to Use and What Actions to Take
#2.What Information to Receive and Store

Related Request ID(s)
req_l8aTi2K2wMNiS9

What have you already attempted?
I operate a service in a clinic in Japan where we accept home visit requests from patients via a web application, and then visit the patient's home to provide medical services. The transportation and medical fees are collected through card payment.

What are you working on?
Django rendering and templates using js.

#

@half mountain pressed the 🔌 API button in #help to ask a question:

Question
Can i very local .test domain for Apple Pay/Google Pay?

Related Request ID(s)
0000000000000000000

What have you already attempted?
Not tried anything yet.

What are you working on?
Migrating card element to payment element.

atomic shuttleBOT
atomic shuttleBOT
#

@abstract yacht pressed the 🔌 API button in #help to ask a question:

Question
On localhost, the stripe checkout works fine, but not when I deploy it; I am unable to even click to open the checkout link - do I need to switch the test key to the actual key to even open the link?

Related Request ID(s)
This is not related to it

What have you already attempted?
What I explained within the question

#

@craggy vigil pressed the ❌ An Error button in #help to ask a question:

Error Message
```
{
message: Cannot read properties of undefined (reading 'getState'),
name: TypeError,
stack: TypeError: Cannot read properties of undefined (reading 'getState')
at https://js.stripe.com/v3/fingerprinted/js/controller-a96cda740e6c3315316742d9415454fd.js:1:619519
}
```

Question
We have a custom Stripe checkout integration for subscription based products. Our Sentry integration caught this exception.

What have you already attempted?
Have not actioned on this yet.

What are you working on?
Custom stripe checkout integration for subscription products.

#

@cloud tapir pressed the 🔌 API button in #help to ask a question:

Question
I'm requesting a connected account via the API but I don't get some basic information like the company name. I see the name (doing business as) in the Stripe Dashboard, so it should be available on the account.

Related Request ID(s)
req_RkP2p01e7fLJyO

What have you already attempted?
I'm requesting the account object via the api. I tried passing the expand parameter explicitly specifying 'company' and 'business_profile', but I still don't get those object back in the response.

What are you working on?
Two-sided market for luggage storage

#

@harsh python pressed the 🧑‍💻 Code button in #help to ask a question:

Code
export function CheckoutForm() {
async function handleSubmit(event: React.FormEvent) {
event.preventDefault()
}

return (
<form onSubmit={handleSubmit}>
<PaymentElement options={paymentElementOptions} />

  <Button variant="evolnex" className="mt\-6 h\-\[26px\]"\>
    Submit
  </Button\>
<

Question
I would like to create a list of cards for a client, I'm trying to do this with React and Nodejs. I would like to use a component visually similar to PaymentElement to create this functionality where I can obtain the user's card and insert it into Stripe. I have no idea how to start.

What have you already attempted?
I tested the PaymentElement component to save the card to the user

What are you working on?
Monthly payment where the user has several cards saved, when the first card fails, the payment will be executed on another card.

#

@orchid ridge pressed the 🪝 Webhooks button in #help to ask a question:

Question
I don't understand which webhooks I should prepare with endpoints for the case where my customers didn't paid their subscription plan, whatever why they didn't.

Related Event ID(s)
subscription plan failed for any reason

What have you already attempted?
Read this, but not sure that I didn't miss something...

What are you working on?
website with subscription plan to allow user to use apps. So I should be able to know if a plan is not anymore paid to disabled access

#

@royal mortar pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to set the description field on a balance transaction? We're using the API to generate an invoice for a customers. Our finance department generates a monthly report by downloading from the "Balance Change from Activity".

Related Request ID(s)
req_BTdPFi0SZqRh7x

What have you already attempted?
The "charge" entries that tie back to these invoice payments in the report mentioned above don't have a useful description so we'd like to manually customize them. I've read through the docs and while its clear this is on the Balance Transaction Object I'm not sure where this its generated

What are you working on?
A project to automatically send invoices for reconciliation payments to members.

atomic shuttleBOT
#

@median hazel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Code injection for a squarespace website

Question
Hi there, I need to ask if there is a possibility to do code injection into a squarespace checkout for it to have a payment button on a subscription basis. So first question would be whether it will be possible? And also would the products need to be improted in Stripe or it can pick them up from checkout page?

What have you already attempted?
I've read the docs on stripe subscription and also in squarespace. I am not sure squarespace has the capability to insert a different button in their checkout, but even if it did not sure if stripe can pick-up the products from the checkout page

What are you working on?
Trying to offer people an option to buy supplements as a 1 time or subscription basis. Squarespace only allows for 1 product to be processed when subscribing

#

@summer oxide pressed the 🔌 API button in #help to ask a question:

Question
Hi devs, I wanted to know what country is being returned by stripe when we fetch the charge object. Inside payment_method_details.card.country, link:https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card-country

Related Request ID(s)
NO request for this case.

What have you already attempted?
Why I am asking this is because when we export the customers list we get two items there "Card Address Country" and "Card Issue Country"

What are you working on?
We intend to cancel few users subscriptions based on their card details on our website and hence we need these info, could'nt find it in api doc and general doc

#

@crimson wind pressed the 🪝 Webhooks button in #help to ask a question:

Question
On https://docs.stripe.com/billing/subscriptions/webhooks it lists the *possible* events but not a minimal flow for a digital only product. From that list, how many of the events do you need to support for a digital only membership that is. for example, monthly on a schedule that won't change once the user has started?

Related Event ID(s)
https://docs.stripe.com/billing/subscriptions/webhooks

What have you already attempted?
I've looked at that list of all the events, and it seems like a lot of events for just something that, in my mind, should be as simple as initial payment failed/ Initial payment succeeded/ subscription payment succeeded/ subscription payment failed/subscription canceled; the added complexity is making me second guess.

What are you working on?
a digital only subscription plan system with no manual invoicing

#

@knotty tendon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
customer support to call

What actually happened?
i requested call customer support and they called me after the call ended the page has been stuck since and i cant request another call or email or chat

Reproduction Steps
i refreshed and tried emailing heretohelp@stripe but got no response

Question
can someone please help fix the account its under the email of info@nedialo.com

atomic shuttleBOT
#

@near blade pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/products-prices/getting-started#use-products-and-prices

Question
We want to import a product catalogue CSV file to our Stripe account. This Document leads to the API code?

Has anybody got this task done and could guide us on how to do it?

What have you already attempted?
The option "Data Management" is showing in Beta mode and unavailable to click on our dashboard.

What are you working on?
Importing product catalogue to Stripe account

#

@half mountain pressed the 🔌 API button in #help to ask a question:

Question
Hello, i'm missing balance_transaction when retrieving payment intent after updating the PHP SDK from version 7.97.0 - 2021-09-16 to the most recent one due to my previous ticket, i need the balance_transaction but cant figure out how to get it.

Related Request ID(s)
0000000000000000000

What have you already attempted?
I looked in the API docs but i dont see a way to extend the response?

#

@fathom sky pressed the ❌ An Error button in #help to ask a question:

Error Message
{
"error": {
"message": "You must update your Connect branding settings with icon, brand color in order to create an account link. You can set the missing fields at https://dashboard.stripe.com/settings/connect",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_DmyibJp6izeLIH?t=1711121407",

Question
We are integrating connect accounts in test environment. We have main account properly configured, and connected accounts are succesfully created. However, when requesting onboard link it throws this error

What have you already attempted?
Properly configuring brand section on main account. Reading docs

Reproduction Steps
Create an express connected account on our test environment. This is the current request payload
{
"account": "acct_1OxA2iPhmRET7mVL",
"return_url": "http://example.com",
"type": "account_onboarding",
"refresh_url": "http://example.com"
}

What are you working on?
Stripe connect integration with Laravel Cashier

atomic shuttleBOT
#

@foggy zodiac pressed the 🔌 API button in #help to ask a question:

Question
What is the limit on subscriptions for a particular customer? I think it's 3 based on recollection, but I don't see anything in the documentation. Is that 3 subscriptions in total for a customer, 3 subscriptions for a particular product, or 3 subscriptions for a particular price within a particular product? Thank you.

Related Request ID(s)
25005050505505050505

What have you already attempted?
I contacted the standard Stripe support, but they didn't know the answer and told me there was no limit. I know from prior situations that this is incorrect.

What are you working on?
Donation management system for community associations.

atomic shuttleBOT
#

@mighty marlin pressed the 🔌 API button in #help to ask a question:

Question
How can I retrieve a custom field that is part of a payment link with the API?

Related Request ID(s)
req_m7qHn8UZi9B8ir

What have you already attempted?
Checked the documentation,, and that only mentioned the custom fields in combination with an webhook. That is fine for new transactions, but not for the ones already in the system,

What are you working on?
Retrieving the data for an custom order handeling system

atomic shuttleBOT
#

@frank falcon pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have webhook endpoints for receiving stripe events. If I disable these webhook endpoints will stripe send any events that were not sent during the time the endpoints were disabled once I enabled them?

Related Event ID(s)
000000000000000000

What have you already attempted?
I have disabled and enabled wehoook endpoints

atomic shuttleBOT
#

@woven lichen pressed the 🔌 API button in #help to ask a question:

Question
Can the amount be updated in the same call that confirms a Payment Intent?

Related Request ID(s)
req_iusPp72aEN4DFZ

What have you already attempted?
I attempted to pass the updated amount in the same call while confirming the payment intent and it failed.

const paymentIntent = await stripe.paymentIntents.confirm(
updatedBasket.basketPaymentIntentId,
{
amount: updatedBasket.basketTotalAmount * 100, // this amount is in cents

atomic shuttleBOT
#

@feral sinew pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Enabling Google Pay should use production environment with Embedded Checkout

What actually happened?
Google Pay in production says it's using the test environment.

"Your payment method won't be charged because you're in a test environment"

Cash App does not show any test environment notes and regular card checkout works fine in production.

Reproduction Steps
Using Stripe Embedded Checkout in Production and checking out with Google Pay (enabled and domains verified) shows "Your payment method won't be charged because you're in a test environment" in the Google Pay dialog in Chrome.

Question
What am I doing wrong? Stripe & Checkout is in production mode, so why would this be showing the test environment for Google Pay?

#

@misty crown pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to arrange the payment method in the payment link?

Currently, in my invoice payment settings > payment types: us_bank_account, customer_balance.

The customer_balance (bank transfer) always appear as the first selection in payment page.

Related Request ID(s)
NO RELATED REQUEST

What have you already attempted?
Rearrange the payment types
from;
[customer_balance,us_bank_account]
to :
[us_bank_account, customer_balance]

atomic shuttleBOT
#

@royal mortar pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to update the description field on a py_xxx object? We are trying to add data to the description field on reports our team is generating and we're pretty sure it's being populated from a mysterious py_xxx payment object but we see no way to adjust that manually.

Related Request ID(s)
req_8qaIexcZWXndwl

What have you already attempted?
We have updated the description on the invoice's associated paymentIntent (pi_xxx) which updates the associated charge (ch_xxx) but doesn't show up on the report. Similarly, updating the description on the associated transfer (tr_xxx) also doesn't show up. We've determined it's on the py_ object but there are no docs

What are you working on?
A product feature that generates and sends invoices to members for reconciliation payments.

#

@supple obsidian pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect to be able to use promo codes on a product

What actually happened?
When I click the buy button on my website and it takes me to the payment page I can't find the add promo code btn

Reproduction Steps
going to my upgrade page and clicking buy

Question
How can I allow promo codes to be used on the page?

What are you working on?
A social platform that has subscribtions

#

@foggy bolt pressed the 🔌 API button in #help to ask a question:

Question
I have a Stripe web hook that triggers an endpoint in my express server. The web hook seems to be triggering repeatedly. I believe this is because the web hook expects a 200 response within a certain time frame. How can I increase the wait timeout so the web hook does not trigger repeatedly?

Related Request ID(s)
No related request IDs

What have you already attempted?
I have tried to make my endpoint reply faster but that's not possible owing to some DB operations.

What are you working on?
I am working on an application to manage Stripe payments

#

@frozen ember pressed the 👍 Best Practices button in #help to ask a question:

Question
How do I share a single Payment Method between a Connected Account (via Stripe Treasury) and a Customer on the Platform Account so that I can support both Subscription payments and Inbound/Outbound Transfers from the same external bank account?

Doc/Guide Links
https://docs.stripe.com/treasury/moving-money/working-with-bankaccount-objects

What are you working on?
SaaS platform that supports embedded banking

atomic shuttleBOT
#

@shell jewel pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I receive notifications when a $0 subscription renews in Stripe? I need to automate the deduction of a service fee from user in-app credits upon each monthly renewal.

Related Event ID(s)
req_bFvyJy1S1jvmS0

What have you already attempted?
I've implemented a webhook to monitor events but am unsure how to specifically track $0 subscription renewals. My goal is to reduce the user's credits automatically at each renewal.

What are you working on?
I have a web app where users buy credits via Stripe. They use these credits to pay for monthly services, like phone numbers.

atomic shuttleBOT
#

@ornate oxide pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
New Customer ID to be generated after using a new email

What actually happened?
Stripe figured out that it was the same Customer despite the new email

Reproduction Steps
Given a Customer who is on GBP currency and tries to subscribe to a USD price, this fails even if attempts are made to try to get Stripe to assign a new customer like changing email.

Question
An existing GBP customer can't buy a subscription because prices are USD and Stripe recognizes them. I had them sign up with a new email but somehow Stripe recognized them as the same customer. What can be done so that on purchasing Stripe assigns them a new customer id. e.g. new browser? card? clear cookies? etc

What are you working on?
Standard E-Commerce Site

#

@pallid kettle pressed the 🪝 Webhooks button in #help to ask a question:

Question
i am noob. my question is when i create an endpoint webhook which event should i use? more details is under text box.

Related Event ID(s)
cs_test_a1Sfa3MKYPqNulTlHwOkSsBzF5ezbXD8nre3hwuHRKoFYhyvp5WazlJ6OB

What have you already attempted?
so 1st i am using Stripe hosted method. and i created an api route in nextjs for payment Intent create checkout.sessions. and for get response i create a webhook and there i am getting checkout.sessions. and i a also have cancel-payment api, captured-payment api. so when i call the cancel,capture api i also get respons

What are you working on?
i am using nextjs, prisma with mongodb and don't have any external server.

atomic shuttleBOT
#

@bold jewel pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to see a card's issuer from the API? When I look at a payment method in the dashboard, I see Issuer, but not when retrieving from the API

Related Request ID(s)
this does not apply

What have you already attempted?
Retrieving customer + expanded default payment method, retrieving payment method directly

What are you working on?
Identifying fraudulent accounts

atomic shuttleBOT
#

@ornate oxide pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
New Customer ID to be generated after using a new email

What actually happened?
Stripe figured out that it was the same Customer despite the new email

Reproduction Steps
Given a Customer who is on GBP currency and tries to subscribe to a USD price, this fails even if attempts are made to try to get Stripe to assign a new customer like changing email.

Question
An existing GBP customer can't buy a subscription because prices are USD and Stripe recognizes them. I had them sign up with a new email but somehow Stripe recognized them as the same customer. What can be done so that on purchasing Stripe assigns them a new customer id. e.g. new browser? card? clear cookies? etc

What are you working on?
Standard E-Commerce site

atomic shuttleBOT
#

@valid garnet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
When I do authentication through this connect url bellow, I get different code for the same account every time.

https://connect.stripe.com/oauth/v2/authorize?response_type=code&client_id=${process.env.STRIPE_CLIENT_ID}&scope=read_write&state=${state}&stripe_user[email]=${session.user.email}

Question
Now, it doesn’t work when I store the code in my DB to check if it exist when a user try to connect the same account again

What have you already attempted?
I tried to do it on private browser window, but didn’t work

atomic shuttleBOT
#

@shell lagoon pressed the 🔌 API button in #help to ask a question:

Question
How can I get webhooks working on Google Cloud. Either via Docker on GCR or a cloud function.

Related Request ID(s)
req_Rpv7Dbwp4100b2

What have you already attempted?
When I run my node/express app locally. And I trigger `checkout.session.completed` from the CLI. It will process fine.
I am using bodyParser as done in the sample code.
As soon as I put it up on my server. I get the webhook signature error. I have consoled the `request.headers['stripe-signature']` and it logs the sig

What are you working on?
Webhook intergration

atomic shuttleBOT
#

@surreal gyro pressed the 🪝 Webhooks button in #help to ask a question:

Question
We are building a service which uses webhooks from stripe to updated credits and tiers in our database but I am confused as to which webhook events are most effective to listen to for something like hits

Related Event ID(s)
evt_1OxzIKALTX8EO1fkmTiinZPn

What have you already attempted?
We know how to handle them we just need guidance on which webhooks are most efficient to use

What are you working on?
We are building an ai chatbot solution with tiered subscriptions

#

@astral spire pressed the 🪝 Webhooks button in #help to ask a question:

Question
Sending metadata in checkout session receive the metadata in webhook event

Related Event ID(s)
req_k45T6uCof0uRyh

What have you already attempted?
I am using webhook to listen events for checkout success. I want to use payment_intent.succeed event. But this event doesn't have subscription id that will let me know what subscription the user buy in checkout session. I want to use metadata to send info when creating checkout session, and webhook can receive it.

atomic shuttleBOT
#

@marsh sundial pressed the 👍 Best Practices button in #help to ask a question:

Question
Can we delete a subscription object using api?

In our project user can do subscription or one time payment. When user is middle of a subscription and tries for one time payment we need to delete the subscription. If we cancel subscription user will see renew plan option in billing portal I guess, which we don't want

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

What are you working on?
a saas app with one time and subscription payment model

atomic shuttleBOT
#

@noble talon pressed the 🔌 API button in #help to ask a question:

Question
Looking to upgrade subscription from monthly to yearly or vice versa but only charge at end of current billing period. I've set proration_behavior = none however it is billing immediately. Is it possible to change to billing at current period?

Related Request ID(s)
req_FysLm5KMclHfGj

What have you already attempted?
I've read the doc here: https://docs.stripe.com/billing/subscriptions/upgrade-downgrade. It states " However, switching a customer from a monthly subscription to a yearly subscription moves the billing date to the date of the switch".

What are you working on?
Building on a new marketplace app for client

atomic shuttleBOT
#

@swift leaf pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
There is a balance in my Stripe account that I wish Stripe to refund.

What actually happened?
My Stripe account is not able to get verified. I acknowledge that and I have no problem closing the account. However, I would like Stripe to refund the money to the original sender. Despite numerous attempt to contact Stripe email support, they did not address my issue and give me irrelevant automated response.

Reproduction Steps
Not sure what this means xxxxx

Question
my stripe account: tan.geoffrey168@gmail.com

atomic shuttleBOT
#

@zealous cosmos pressed the 🪝 Webhooks button in #help to ask a question:

Question
I want to test custom behavior on our code when we get the payout.paid webhook (for standard payouts) but I have difficulties with the testing. Is there a way to evoke this webhook or is resending old events we got the only way? I don't have many past events I can resend.

Related Event ID(s)
evt_1OvqChFdCE6n8elIOhgkpqij

What have you already attempted?
I tried to resend 2 events I got

What are you working on?
sending an email once we get standard payout.paid

#

@rich inlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hey hello, im using React stripe form, and one of our users didn't succeed in seeing the form

What actually happened?
the react form didnt show up i can show you a screenshot image

Reproduction Steps
i cant because its a user issue I have a screeenshot

Question
Can you help me to fix it or at least to know the problem

#

@wet hatch pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Apple Pay Stripe Payment Elements consistently show up

What actually happened?
Sometimes Apple Pay doesn't show up

Reproduction Steps

  1. with your iPhone, go to putien.oddle.me
  2. Pick any items and then click "Add"
  3. Select "Pickup"
  4. Select any "Stores"
  5. Select any date and time
  6. Checkout

Question
How does Stripe decide when to show Apple Pay

#

@hearty raven pressed the 👍 Best Practices button in #help to ask a question:

Question
What are best practices for paying out to connect accounts? How do I "prevent" them from withdrawing until a specified flag allows them to?

Doc/Guide Links
https://docs.stripe.com/connect/best-practices

What are you working on?
Building a property management system

#

@hasty sequoia pressed the 🔌 API button in #help to ask a question:

Question
i want to get business name form api of account created as connect account

Related Request ID(s)
i want to get business name form api of account created as connect account

What have you already attempted?
i want to get business name form api of account created as connect account

What are you working on?
to get business name of bank account

#

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

Error Message
2024-03-06T08:52:17+00:00 Información Payment gateway enabled: "Stripe Card Processing

and

2024-03-05T12:05:59+00:00 Crítico Uncaught Error: Call to undefined method ElementorPro\Core\Utils::_unstable_check_document_permissions() in /srv/htdocs/wp-content/plugins/pro-elements/modules/payments/module.php:146 CONTEXT:

Question
i have problem with checkout form stripe. i can't enter credit card

What have you already attempted?
i contact with stripe service and read same articles

What are you working on?
i building a scuba diving website

#

@terse crypt pressed the 🔌 API button in #help to ask a question:

Question
How do I provide customers with a way to renew a subscription early, potentially with a discount, before their subscription period ends and they are billed automatically? We use the API to create a checkout session to purchase a sub, but found no way to collect "early" payment for a next period.

Related Request ID(s)
req_EN4A3B5TnI7uFw

What have you already attempted?
We can update subscriptions manually in the dashboard to assign promotion codes and reset the billing cycle, but users don't get the payment screen.
We can apply promotion codes to the next invoice, but this doesn't require payment until that next period actually starts which defeats the purpose of a promotion.

What are you working on?
Selling subscriptions to digital products, which we wish to discount via promotion codes, which requires early or manual renewal.

#

@orchid ridge pressed the 🪝 Webhooks button in #help to ask a question:

Question
I want to trigger webhooks in order to test my development, how can I do that ?

Related Event ID(s)
I looked in "Simulateur d'horloge", but it didn't do what I want.

What have you already attempted?
I want to be able to trigger any webhook in order to test my endpoint and the associated development. For example, I want to trigger customer.susbscription.updated and be able to set the parameters, like status ?

What are you working on?
website with subscription plan

#

@meager hinge pressed the 🔌 API button in #help to ask a question:

Question
You've listed an item in KRW currency and it's converted when the card is checked out, incurring a conversion fee. What can I do to avoid the conversion fee?

Related Request ID(s)
req_8kINPl6HokfB50

What have you already attempted?
This is production environment. Can you help me?

What are you working on?
Integrate subscription

#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
I need to embed the secret key in my backoffice application. How can I make it expiry in min 1 year or more? Currently the max I can choose is 7 days.

Related Request ID(s)
req_5R3DRC3kO8kWk0

What have you already attempted?
Tried to create a key that has a longer expiry date.

What are you working on?
Stripe Connect Api Integration

atomic shuttleBOT
#

@fallen blade pressed the 🔌 API button in #help to ask a question:

Question
i have a plugin for stirpe integration, one of my clients got a mail form stripe about Co-badged cards compliance. is it mandatory to give Co-badged cards compatibility in my plugin..?

id given is totally irrelevant , just used it to submit.

Related Request ID(s)
req_vfZfpkyydVrqkm

What have you already attempted?
i read the doc still don’t know whether normal payments gets effected if Co-badged cards compliance is not given to the plugin.

#

@glad owl pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Are coupon attempts/redemption count increased even for not-successful purchases?

What have you already attempted?
All 13 redemption attempts are wasted even though there is no any single purchase succeeded: https://dashboard.stripe.com/test/events/evt_1Oy7gNJAyK60857l4pmr33Ya

What are you working on?
Stripe.Connect platform

#

@opaque sentinel pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout

Question
On checkout I want to allow only specific countries from the list and make Tax ID mandatory as I only provide services to business customers and never individuals.

Is it possible with no code options - payment links and pricing table checkout methods or I need to use Stripe checkout/Stripe elements?

What have you already attempted?
There is "Allow business customers to provide tax IDs" checkbox in no-code options but I want tax ID to be ALWAYS required as I don't support invididual customers.

#

@rugged pasture pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout

Question
I have created a product with several prices / packages. The user should be able to select his package in the checkout. The choice is between Pro, Premium and Enterprise. How can I make it so that the customer can select this in the no code checkout?

What have you already attempted?
I searched in the dashboard

What are you working on?
I am working on a recruiting platform and I am missing the Stripe connection that allows the customer to choose between the packages

atomic shuttleBOT
#

@twin hull pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
How can i get the authorization code with payment intent?
or is there any specific code for transactions

What have you already attempted?
I am unable to find the authorization_code

#

@rich inlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
hey for some reason the react form stripe did not appear , I found out that for one user the invoice was empty 0 dollar and it happen to only him

What actually happened?
the stripe form is not showing

Reproduction Steps
just createad a one time invoice (its working for other user)

Question
help me to find the issue with this user

atomic shuttleBOT
#

@hearty raven pressed the 👍 Best Practices button in #help to ask a question:

Question
Connect best practices. What dictates whether or not an onboarded account can issue payment links?

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

What are you working on?
Property management system

#

@uncut bay pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/capture

Question
Let me explain better, I am using the checkout session to create a payment session with payment_method = manual.
Reading the documentation in the capture method section of the payment intents tells me that the maximum default limit for charging the cost to my customer is 7 days. How can I increase this limitie?

What have you already attempted?
I tried to update the payment intent, after the user entered the stripe screen data, but I received this error: Some of the parameters you provided (payment_method_options) cannot be used when modifying a PaymentIntent that was created by Checkout. You can try again without those parameters.

What are you working on?
I would like to increase the expiration limit of the payment intent created with the method indicated in this documentation https://docs.stripe.com/api/checkout

atomic shuttleBOT
#

@upper carbon pressed the 🔌 API button in #help to ask a question:

Question
How to handle customers. E-Mail does not seem to be a unique identifier. When user creates a new order from landing page, it will create a new customer on stripe. But this way we would have multiple stripe customer accounts for the same account (email).

Related Request ID(s)
evt_1OyBitK86VledpvlCYKD6itZ

What have you already attempted?
Checked if it is possible to merge customers.
Checked if option to set email as unique identifier.
No luck so far.

atomic shuttleBOT
#

@junior sand pressed the 👍 Best Practices button in #help to ask a question:

Question
We are a car rental service and the booking happen online. The users add their card details before booking the car. Recently we have had some customers use someone elses card and use our service and now the card holder is disputing the payments and we had issue with these and loosing our money

Doc/Guide Links
I have gone throught payments process like charge and paymentIntent API docs but havent found anything related.

What are you working on?
I want to implement a system were every time someone tries to use our service to send a verification code or message to the cardholder to prevent fraud usage

atomic shuttleBOT
#

@soft notch pressed the 🧑‍💻 Code button in #help to ask a question:

Code
`const accounts = await stripe.accounts.list(
{ limit: 100 }, { apiKey: apiKeyValue }
)`

Question
Is there a way that I can return all of the connected accounts available (well over 100) or parse them in a paginated way?

What have you already attempted?
I've used the API documentation about list: https://docs.stripe.com/api/accounts/list

atomic shuttleBOT
#

@hearty goblet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
payment intent api charging behavior.

Question
payment intent api charging behavior.

What have you already attempted?
payment intent api charging behavior.

What are you working on?
payment intent api charging behavior.

atomic shuttleBOT
#

@mental shoal pressed the 🪝 Webhooks button in #help to ask a question:

Question
I want to increase timeout to make sure it’s not sanded again because can be dangerous due to calling multiple times same endpoint

Related Event ID(s)
evt_1OxmxlA94JJJ3znbZGwNKraq, evt_1OxmxlA94JJJ3znbZGwNKraq

What have you already attempted?
I have a web hook function that manages the checkout.session.completed that calls another endpoint. Sometime it requires some time to execute due to cold start, in this case it went in timeout evt_1OxmxlA94JJJ3znbZGwNKraq and send it again evt_1OxmxlA94JJJ3znbZGwNKraq

What are you working on?
I want to increase timeout to make sure it’s not sanded again because can be dangerous due to calling multiple times same endpoint

#

@robust walrus pressed the 🔌 API button in #help to ask a question:

Question
Can I prevent the customer from completing a checkout session if after prefetching the balances of a US Bank Account if it shows that the balance will not cover the payment amount?

Related Request ID(s)
pi_3OyDAAJKKkVYLY750Zc1x6Q6

What have you already attempted?
We're using an embedded checkout on our app. I'm using financial connections when I create a session in order to "prefetch" the balances of the account. The balance will show up correctly, but the customer is still able to proceed with payment even though the balance shows $0.00.

What are you working on?
We're building a platform to manage rent for office buildings. Recently are making the transition to use Stripe for our payment processor.

#

@molten anvil pressed the 👍 Best Practices button in #help to ask a question:

Question
I have setup an Atlas company in the US (with mercury bank account) and hooked it up with my American stripe account (main Connect platform). I want to support transactions in both USD and Uruguayan Peso currencies. I've noticed that Uruguayan Peso is not supported in direct payment. So how can I achieve this?

Doc/Guide Links
https://docs.stripe.com/connect/cross-border-payouts

What are you working on?
I had direct payment working in a Connect setup, where the money is directly sent to the sellers. Need something similar now in multiple currencies.

#

@open olive pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am trying to create a bank transfer method on a user with billing in France and currency is Euro. I set a payment of bank transfer and allow it

What actually happened?
'customer_balance` does not support the currency of eur

Reproduction Steps
create new customer with billing in France and Euro add subscription and set the payment to bank transfer

Question
can I only use bank transfer for US customers with US currency??

#

@vocal wagon pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a group subscription partner. It's basically a group that is actively attempting to create a members club and sell subscriptions. Group ID is 65bbf7e251ca924f1fa3f8d4

They are asking if they can change the bank account connected to Stripe, is that possible ?

Doc/Guide Links
I didn't read anything about this

What are you working on?
marketplace app for selling subscriptions

atomic shuttleBOT
#

@knotty skiff pressed the 🔌 API button in #help to ask a question:

Question
I just issued an API request that i see on the logs , but i get this response on postman :

{
"error": {
"message": "Invalid API Key provided: {'sk_tes************************WE'}",
"type": "invalid_request_error"
}
}

Related Request ID(s)
req_5Ekajzy5yGAUvm

What have you already attempted?
https://api.stripe.com/v1/customers/cus_PmioQtCZD8Bbwl

(please do not close chat when responding. thanks)

#

@dusk falcon pressed the 👍 Best Practices button in #help to ask a question:

Question
since 01.06 dispute/failed payments fee change...
how do i get the amount fee for an invoice?

Doc/Guide Links
https://docs.stripe.com/disputes

What are you working on?
invoice disputes/fee

#

@unkempt nova pressed the 🧑‍💻 Code button in #help to ask a question:

Code
let options = { classes: { base: "form-control", invalid: "invalid" }, style: { fontFamily: "'Helvetica Neue', Helvetica, Arial, sans-serif", lineHeight: "24px" } };
cardNumberElement = elements.create("cardNumber", options);
cardNumberElement.mount("#card-number");

Question
Hello, I'm trying to style the older cardNumber and cardExpiry elements. But they seem to ignore the styles that I am passing in the options. Do these styles only work with the "payments" element?
Can these elements be restyled?
https://docs.stripe.com/js/elements_object/create_element?type=cardCvc

What have you already attempted?
I have applied classes to the containing divs where the elements are mounted, but I want to be able to make the input fields text size and the font used to match the rest of the site

What are you working on?
An internal app to let customer services add card details without a cvc when we receive card numbers through the post

#

@lone seal pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to determine if there is a way through the API to audit all customer cards that were created with the Stripe.js v2 api.

Related Request ID(s)
req_pHZGrlX3sF6QNZ

What have you already attempted?
Not currently seeing anything in the api that points to its creation source api wise.

What are you working on?
We're trying to close the loop on PCI compliance issues.

#

@covert silo pressed the 🧑‍💻 Code button in #help to ask a question:

Code
import { loadStripe } from '@stripe/stripe-js'

Question
When I include this import the page gets stuck in a reload loop. If I switch to the pure version it stops, but it still fails to load with a 504 status attempting to load <project>/node_modules/.q-cache/vite/spa/deps/@stripe_stripe-js_pure.js?t=1711377376074&v=da1b664f

What have you already attempted?
I've tried with and without the `/pure` version. Placing the `import` at different positions within the load cycle. Also tried adding a dynamic <script> tag to load the v3 js.

What are you working on?
Quasar project which uses Vue and Vite

atomic shuttleBOT
#

@vocal wagon pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a group subscription partner. It's basically a group that is actively attempting to create a members club and sell subscriptions. Group ID is 65bbf7e251ca924f1fa3f8d4

They are asking if they can change the bank account connected to Stripe, is that possible ?

Doc/Guide Links
I didn't read anything about that

What are you working on?
marketplace app for selling subscriptions

atomic shuttleBOT
#

@red wedge pressed the 🔌 API button in #help to ask a question:

Question
Looking to manually set tax price for Stripe Invoices.
Our application applies coupons and gets the final total before tax and sends its to stripe to process. Issue is tax has to be calculated on subtotal before discounts, so I want to conditionally set tax price in these cases.

Related Request ID(s)
req_wZc1ZhGDyDdq3d

What have you already attempted?
https://docs.stripe.com/api/invoices/update

#

@hazy umbra pressed the 🔌 API button in #help to ask a question:

Question
Hey team! I'm looking to collect and store certain card data from users in order to better understand my customer base. In particular, I'd like to collect information on credit card tier (e.g. Visa Signature, Mastercard World Elite, Amex Platinum) as well as the Major Industry Identifier (MII) from linked payments

Related Request ID(s)
Not applicable here

What have you already attempted?
I've looked into the Card object returned by the API but couldn't find a field with this information (only info on card network/brand, but not card tier). I'm looking for an API endpoint that I can call with a card identifier to gather MII and card tier

#

@vocal wagon pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi!
I have an error with my Saas webhook. Every webhook got the following error:

HTTP status code
500 (Internal Server Error)
Invalid encoding: ISO-8859-1

Related Event ID(s)
evt_1OyFz5A1USpF0dTpv7AdZ5cc

What have you already attempted?
My Saas try to get webhook with the following url:
https://goquick.ly/webhooks/stripe

What are you working on?
I would like to make subscribed payments on my Saas

#

@real compass pressed the 👍 Best Practices button in #help to ask a question:

Question
A customer can toggle on and off what specific subscription items they want to use. I am using metered billing, on calling of subscription item delete, it is requiring me to pass in clear_usage. I am not clear on what clear_usage does? does this remove all usage and not bill the customer for the metered usage?

Doc/Guide Links
https://docs.stripe.com/api/subscription_items/delete

What are you working on?
Project to charge customers based on their usage.

#

@fluid perch pressed the 🔌 API button in #help to ask a question:

Question
I am in the process of upgrading both Stripe packages (client & server) and am confused about the capabilities. My confusion is about the #createToken JS method and the overall structure. Should one still use stripe.createToken method or handle it all through the new Intents? Can card and pm be used on payment intent?

Related Request ID(s)
Not applicable to this question

What have you already attempted?
I upgraded the backend and frontend to payment intents.

my setup for Cards went from token to SetupIntent > PaymentMethod

the Backend went from a Charge(Payment) to PaymentMethod with further options that allow me to create/capture it right away.

What are you working on?
upgrading stripe packages

#

@uneven carbon pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to integrate into the web application of our client this Stripe solution: https://docs.stripe.com/connect/express-accounts

The stripe.accounts.create step works well

On step stripe.account.links,

I get this error: Received unknown parameters: account, returnUrl, refreshUrl. Did you mean account_token?

Related Request ID(s)
There are no ids related to this

What have you already attempted?
I'm tried the first 2 steps of the documentation, so that is:

-stripe.accounts.create (this works well)
-stripe.accountLinks.create (I get the error here)

What are you working on?
Web application that is going to allow customers to create a profile and offer services to users and receive payments from Stripe after the client pays the serv

atomic shuttleBOT
#

@spark silo pressed the 🧑‍💻 Code button in #help to ask a question:

Code
import Stripe from 'stripe';
const stripe = new Stripe('');

export async function POST() {
const session = await stripe.checkout.sessions.create({
line_items: [
{
// Provide the

Question
Hey! I am currently working on the payment for my small product. I read that you can use a webhook and a lot of people do that.

But for me just using the success URL might be easier. What is the best practice here? Is there any issue with just redirecting to a success URL and there parse the session_id etc.?

What have you already attempted?
n/A

All details in question

What are you working on?
A 1 year license for 20$ that scans the web using SERP for exposed API Keys. Basically just a one-time payment and then a setup screen to submit the website :)

atomic shuttleBOT
#

@strange arrow pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
we have a payment elements integration, they all work normally except for link in wallet on safari, the expected behavior is that the payment goes through

What actually happened?
we use express checkout element, while working locally, it works, but on our qa site, the link pop up just hangs once the user presses pay , no errors no logs, just hangs

Reproduction Steps
attempt to pay with link on dev while on safari

Question
is there any setting or configuration that needs to be enabled? are there any known issues on this now?

#

@rare marten pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-method-messaging?locale=en-GB

Question
We are in the process of setting up the payment messaging element for Klarna. It used to be working fine, but when I returned to the code after a few days, klarna messaging stopped appearing.

What have you already attempted?
Having played with different settings, I can get clear pay to display. However, Klarna is hidden. The payment option is available on the site.

What are you working on?
Payment Messaging Element

#

@signal tinsel pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://stripe.com/en-ca/connect/features#onboard-and-verify-users

Question
We are in the process of making a "Airbnb" application where we (the platform) let users book spaces and we want to give the money to the "space owner" minus platform fee, but we need control over WHEN the payout occurs (usually after checkout). Unsure if express or custom is the best fit for this usecase

What have you already attempted?
I read express / custom documentation. I understand that custom gives more flexibility, but it harder to configure / onboard an account VS express where everything is done via stripe existing UI's.

I am looking for the easiest onboarding, that also gives me flexibility as a platform for payouts

What are you working on?
In short: some sort of airbnb platform with (Host / Guest / And us, the platform)

atomic shuttleBOT
#

@frank ridge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
[System.Web.Services.WebMethod(EnableSession = true)]
public static string CreateIntent()
{
PR_StripeParam oParam = GnSession.StripeParam;
if (oParam != null)
{
// 1) ADD SECRET KEY
StripeConfiguration.ApiKey = SecretKey;
// 2) ADD PRODUCT

Question
We are coding in C# in ASP.NET 4.5 framework and on_behalf_of code is not supported in this framework, we are want to use this so payments done through our connect partners show on bank statements as charges with their name, can you please tell us if there is another code we can use? We are using destination charges.

What have you already attempted?
We have read the destination charges and on_behalf_of docs but none of them help us fix our issue of the code not working in .net 4.5 framework

What are you working on?
Dinerly is a website builder with online ordering, we use stripe connect for restaurants to take orders through it and charge their customers money.

#

@wise sierra pressed the 👍 Best Practices button in #help to ask a question:

Question
I am working on the Salesforce B2B platform and am looking for information on implementing Stripe as a payment processor and am wondering if there is some documentation on the best practices, if there is an app to use instead, and if I can implement subscription (recurring) payments?

Doc/Guide Links
There are a few documents, but it's tough to find specifics ones on Salesforce B2B.

What are you working on?
Salesforce B2B Commerce implementation

#

@thorny gale pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const session = await StripeAPI.createCheckoutSession({
...

Question
I am going to make subscriptions using tiered pricing / volume for monthly plans. so if a company add users, company should charge based on usages

I have added tiers like below;
1 to 9: $59
10 to 20: $49
21+: $39

What is the best way to charge whenever a company adds a user or decrease qty when remove a user as well?

What have you already attempted?
I am able to make subscription for 1 qty or input manually, but I want it to be flexible

#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
How do I trigger currently due for testing?

Question
Is there any way to programmatically (or via the dashboard) trigger a currently_due requirement for a connected test account?

What have you already attempted?
Tried fiddling around with the settings in teh dashboard

What are you working on?
Property management system

#

@scenic plover pressed the 🧑‍💻 Code button in #help to ask a question:

Code
payment_method_types: ["card", "acss_debit", "us_bank_account"]

Question
How to add multiple types of payments? In my case I'm trying to allow card, acss_debit & us_bank_account. If I remove acss_debit from the types it works but it gives error if I add it

What have you already attempted?
In my settings, I enabled cards, ACH Bank Debit as well as US Bank Accounts are active

What are you working on?
Building a custom invoice system

atomic shuttleBOT
#

@midnight skiff pressed the 👍 Best Practices button in #help to ask a question:

Question
In order to charge the customer with automatic tax, they need an address associated with the customer object. If they will be subscribed to a subscription, it makes sense for the customers tax to be based on what payment method they use to pay. But then this logic becomes cyclic. How do I avoid this?

Doc/Guide Links
I've read many docs. I'm aware that the users address used for tax will prioritize the customer shipping/billing address. I've set the customers address right when they submit a payment method through stripe elements. But if the customer changes their payment method, I would also need to re-set the customers address.

What are you working on?
I'm building a website that is locked until a user purchases a subscription.

atomic shuttleBOT
#

@hot dew pressed the 🔌 API button in #help to ask a question:

Question
Hi guys. So, I currently integrated Stripe into my Next.js project for accepting donations. It is a charity organization so they want to provide those who donated with tax receipts. The automatic email receipts are not tax compliant (Canadian laws).
So, I was wondering what would be the best option in this situation ?

Related Request ID(s)
req_bdkbp7ezgDD3nx

What have you already attempted?
Should I handle custom receipts on my end?
Or is there a way to send paid invoices through API ?

atomic shuttleBOT
#

@viscid path pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<script data-allow-same-origin="true">

const stripe = Stripe\('pk\_test\_xxxxxxxx'\);
async function createCheckoutSession\(\) {
    const session = await fetch\('/create\-checkout\-session', {
        method\: 'POST',

Question
i am trying to add a Stripe Checkout embed into a Click Funnel website but I am getting CORS errors 'Stripe.js requires 'allow-same-origin' if sandboxed.' and I cannot find a way to handle this as a front-end standalone element because how can i expose the secret key like that ?

What have you already attempted?
loads of research and trying to fix the CORS error using <script data-allow-same-origin="true"> but this didnt work and I have researched how to do this form Click Funnel

What are you working on?
Changing an existing Stripe Link button to embedding Stripe Checkout

atomic shuttleBOT
#

@prisma dome pressed the 🔌 API button in #help to ask a question:

Question
Trying to retrieve the Product and subscription info from the API

Related Request ID(s)
none none none none is that 18?

What have you already attempted?
```
const sess = await stripe.checkout.sessions.retrieve(session.id,
{
expand: ['line_items'],
}
);
const lineItems = sess.line_items;
const type = lineItems.data[0].description;
const product = lineItems.data[0].price.product;
...
```
But I'm now thoroughly confused as to what information I need

What are you working on?
A payment processor a payment processor

#

@knotty skiff pressed the 🔌 API button in #help to ask a question:

Question
I just issued an API request that i see on the logs , but i get this response on postman :

{
"error": {
"message": "Invalid API Key provided: {'sk_tes************************WE'}",
"type": "invalid_request_error"
}
}

Related Request ID(s)
req_5Ekajzy5yGAUvm

What have you already attempted?
https://api.stripe.com/v1/customers/cus_PmioQtCZD8Bbwl

What are you working on?
(please do not close chat when responding. thanks)

atomic shuttleBOT
#

@plain thistle pressed the 🔌 API button in #help to ask a question:

Question
I am using Destination Charge for custom connected account , when i create payment intent for the same and i set transfer_data with amount and connect account id , but how can i also update description for that transfer , because transfer is created by stripe it uses default description and i want custom description

Related Request ID(s)
evt_3OyK0OHSQswGh7t60DtBarPN

What have you already attempted?
Went through create payment intent api docs but couldn't find anything

What are you working on?
Creating destination charge for custom connect account

#

@icy dove pressed the 🔌 API button in #help to ask a question:

Question
I am setting up payments with OXXO for Mexico. I am using stripe hosted checkout sessions and the problem is that after choosing oxxo as payment and clicking on continue/pay, the site redirects to the stripe hosted voucher url, and the user does not have the option to go back to the original site. How can I redirect?

Related Request ID(s)
req_eAj4nR4A21TfYG

What have you already attempted?
I tried setting the success_url parameter when creating a checkout session, but it only works for card payments. I would like to redirect the user to a specific url after the voucher has been created

What are you working on?
painting frames delivery

#

@shell valve pressed the 👍 Best Practices button in #help to ask a question:

Question
When updating the quantity of an item in a subscription and we need to calculate taxes on our end and add it to the invoice with the prorations, is the right approach to use `proration_behavior` as `create_prorations` and listen to the event? How do we then request it to get charged?

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

What are you working on?
Implementing increasing quantity to a Strip subscription with proration that needs to have taxes added for the proration

#

@hexed moss pressed the ❌ An Error button in #help to ask a question:

Error Message
Element confirming payment is "expressCheckout", but stripe.confirmSetup() was not called within the "confirm" event

Question
I have a checkout page with ExpressCheckout, Card, and Address elements on it. The user can select the one they want to use (express checkout for mobile wallets, card/address for a credit card). Submitting a payment via the card/address elements throws this error because express checkout is in the elements instance.

What have you already attempted?
Is there a way to specify which element was actually used to submit the payment and exclude the rest on confirmSetup?

#

@rich inlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
To create an invoice from invoice items and finalize it

What actually happened?
I have one user and just one that creates the invoice and the finished invoice doesn't contain anything

Reproduction Steps
I have the customer id of the only user that have the issue (you can check the logs)

Question
what happend since its working for every user except that one

#

@primal stag pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected my subscription to resume after it was paused due to free trial expiration. After expiration I add a valid card to the subscription and attempt to resume it through the API.

What actually happened?
The API call returns a representation of a subscription with the status still paused. The subscription stays paused in the stripe view as well.

Reproduction Steps
Create a subscription on a customer with no payment method, setting a trail period that will pause on expiration with no active payment method. Then force the trial to expire, transitioning the subscription status to pause. Then add a valid payment method to the subscription. After that, call resume through the API.

Question
How do I remedy this issue so that I am able to resume paused subscriptions through the API? I am using ruby, specifically https://github.com/stripe/stripe-ruby.
Any help would be appreciated!

What are you working on?
The company I work for is building a CRM.

atomic shuttleBOT
#

@brittle sparrow pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Migrate customers to new stripe account, setup subscriptions, everything works.

What actually happened?
Migrated Customers to a new stripe account, and setup new subscriptions. Now all payments shows up as incomplete with "The PaymentIntent requires a payment method"

Reproduction Steps
See above, yes see above, yes really.

Question
Why does my payments show up as "The PaymentIntent requires a payment method"? I cannot set a payment method on the subscriptions

#

@versed patrol pressed the 🔌 API button in #help to ask a question:

Question
Can I get the list of payment_method_types for creating a payment_intent?

I know that 'card' is the default value, but what do I need to pass if I want to add 'ACH Debits' as a method?

Related Request ID(s)
req_EDcFcUSfWrsNjN

What have you already attempted?
I've tried 'ach', 'ACH', and 'ACH debits'. Also, I tried looked up from the Stripe docs, but couldn't find the list.

What are you working on?
Creating a paymentIntent

atomic shuttleBOT
#

@half stirrup pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to Migrate the "Link" payment methods for each customer from one Stripe account to another?

Related Request ID(s)
na na na na nana na na na na

What have you already attempted?
na na na na nana na na na na

#

@bleak arch pressed the 🔌 API button in #help to ask a question:

Question
No more developer chat in Discord? Just a form?

Related Request ID(s)
No more developer chat in Discord? Just a form?

What have you already attempted?
No more developer chat in Discord? Just a form?

What are you working on?
No more developer chat in Discord? Just a form?

#

@sterile elk pressed the 🔌 API button in #help to ask a question:

Question
I work for ezchargrerental.com. our devices currently use Nayax vpos touch and a far east marshall protocol with a wired connection to conduct transactions. I would like to develop a wired connection with the M2 reader.

Related Request ID(s)
333333333333333333

What have you already attempted?
This is a new project and i am willing to pay a developer for help and guidance on this

atomic shuttleBOT
#

@hearty raven pressed the 👍 Best Practices button in #help to ask a question:

Question
What API do I use if I want to see all payments / transfers to a connected account (using on behalf of)?

Doc/Guide Links
https://docs.stripe.com/api/charges/retrieve

What are you working on?
Property Management System

#

@crystal anchor pressed the 🔌 API button in #help to ask a question:

Question
hi we are a mobile wallet using stripe as a processor… we charge our users a transaction fee to send money …can connected users get charged? And if so how do you do this using the node js stripe sdk”

Although it might be difficult to follow up on this since id need to sho them the error I’m getting

Related Request ID(s)
developer, connected users

What have you already attempted?
https://docs.stripe.com/connect/dashboard/managing-individual-accounts#pulling-funds

https://docs.stripe.com/connect/dashboard/managing-individual-accounts

https://support.stripe.com/questions/debit-a-custom-or-express-connected-account

What are you working on?
mobile wallet that allows users to send money back and forth - upload funds from connected bank account and withdraw funds to their connected bank account

#

@jovial arch pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Trying to configure my Customer Portal for use through my app using stripe.billingPortal.sessions - however, I had Pause subscription turned on and now I can't uncheck it or save any other changes as the Pause Subscription option is being deprecated from the PortalConfiguration

What actually happened?
Tried to save other Customer portal changes, cannot save because Subscription Pause is checked.

Reproduction Steps
Log in to stripe account
Settings -> Billing -> Customer Portal -> make changes, try to save, can't save because Pause Subscription is checked.

Question
How can I uncheck the Pause subscription setting?

atomic shuttleBOT
#

@hearty goblet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Payment failed two times, then user add same card again and payment was correctly charged?

Question
Payment failed two times, then user add same card again and payment was correctly charged?
Is it possible that something is wrong in the way I'm collecting the card data?

What have you already attempted?
Payment failed two times, then user add same card again and payment was correctly charged?
Is it possible that something is wrong in the way I'm collecting the card data?
I'm creating a payment intention, but not sure if its correctly

What are you working on?
Payment failed two times, then user add trying to understand the reason this is happening, cus maybe there's a lot of other failed payments for the same reason.

#

@midnight skiff pressed the 👍 Best Practices button in #help to ask a question:

Question
This is related to my previous post. I want to understand why the tax related to the product that a customer wants to buy is dependent on the customer object's address, and not the billing/shipping address of the credit card that they will use. I want the tax to be based on the address of the card they will use.

Doc/Guide Links
Which customer address we use: https://docs.stripe.com/tax/customer-locations#address-hierarchy

Customer here is required to have an address: https://docs.stripe.com/tax/subscriptions#create-a-customer

Many other docs

What are you working on?
I'm building a website that is locked until a user purchases a subscription. They can also purchase other things while on the website.

#

@untold thorn pressed the 🔌 API button in #help to ask a question:

Question
I want to know if my application fee is being implemented correctly

Related Request ID(s)
pm_1OyMno4aQWfIHionHh8woMBs

What have you already attempted?
I've tried application fee with destination charge and on_behalf_of and im curently getting missing payment method but am still able to capture the authorized funds.

What are you working on?
Fleet management app with connected accounts as fleet owners.

#

@jovial arch pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Issue with Customer Portal

What actually happened?
Can't save any changes to the Customer Portal settings because I can't uncheck the Pause Subscription option

Reproduction Steps
Stripe login -> Settings -> Customer Portal -> make changes, changes aren't saved because I can't uncheck the Pause

Question
Previous link #dev-help message

atomic shuttleBOT
#

@graceful barn pressed the 🔌 API button in #help to ask a question:

Question
I am trying to create a session with a mixed cart (includes both subscription and payment typed items) and can not include shipping rates for the payment item. The documentation says that I should set the mode as "subscription" for a mixed cart but I am getting a shipping rate error when I do so

Related Request ID(s)
req_WTY1cRQ5z9Axv6

What have you already attempted?
Tried changing the payment mode and using mixed vs. unmixed carts. Everything works except the mixed cart

atomic shuttleBOT
#

@glad owl pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I have a coupon having redemption count as 13 times which is max. I have unlinked that coupon/discount from one of unpaid invoices. I expected to see the number of redemptions decreased and `coupon.updated` webhook triggered

What actually happened?
A webhook was triggered but it stated:
```
"times_redeemed": 13,
"valid": false
},
"previous_attributes": {
"times_redeemed": 12,
"valid": true
}
```

Reproduction Steps
Create a coupon with 1 redemption.
Use it for one unpaid invoice.
Unlink the coupon.
Check webhook

Question

  1. Is this a bug in webhooks system?
  2. Why redemption count has not been decreased?
#

@short fern pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/error-codes

Question
Could you please tell me which API I can use to receive reversal notifications for ACH, such as R01 Insufficient Fund, R02 Account Closed, R03 No Account/ Unable to Locate Account, etc.?

What have you already attempted?
Could you please tell me which API I can use to receive reversal notifications for ACH, such as R01 Insufficient Fund, R02 Account Closed, R03 No Account/ Unable to Locate Account, etc.?

What are you working on?
Link Stripe-ACH and Pionex.US

atomic shuttleBOT
#

@wild gust pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to fetch the custom field parameters that I added in the payment section for example: [Discord Username] so i can use it as reference? does the stripe API have it?

Related Request ID(s)
req_H26NkVnBo9eVsL

What have you already attempted?
So i already made a function that uses Stripe.charges.list() which obviously lists all the charges, every payment_links have 1 custom_fields which is Discord Username, but it seems that charges.list() doesn't include that in the response schema, any ways that I can get the custom_field value of that payment?

What are you working on?
A discord bot where I sell stuffs and the bot tracks the payment order and who bought it.

atomic shuttleBOT
#

@dusty delta pressed the 🧑‍💻 Code button in #help to ask a question:

Code
// Check if 3DS authentication is required
if ($subscription->latest_invoice->payment_intent->status === 'requires_action' &&
$subscription->latest_invoice->payment_intent->next_action->type === 'redirect_to_url'
) {
// Redirect the customer to the 3DS

view more

Question
Hi,
i'm trying to setup a 3DS authentication modal or iframe that allows my users to confirm a payment for subscription

What have you already attempted?
i've tried using Stripe.js but it does not work, partly due to the stripe.js i'm using being a v2 and the docs only talks about v3

What are you working on?
I'm trying to authenticate 3DS cards by redirecting them to Stripe/Bank page.

atomic shuttleBOT
#

@scarlet kiln pressed the 🪝 Webhooks button in #help to ask a question:

Question
I wanted to know what will be the cause behind the email that Stripe sent me related to webhook failure

Related Event ID(s)
I have not found any

What have you already attempted?
I tried to check the log and get to know why my endpoint is not working

atomic shuttleBOT
#

@shell hazel pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/checkout/embedded/quickstart

Question
Hi guys. I'm embedding the checkout form inside my app's dashboard. The app has both light and dark modes - is there a way to dynamically adjust the form styling? And to make the iframe background transparent? Thanks!

What have you already attempted?
I've searched for info on this in the docs and online but haven't found anything

atomic shuttleBOT
#

@valid moss pressed the 🔌 API button in #help to ask a question:

Question
we are using stripe connect to perform payments on connected accounts . As a platform we want to charge the connected accounts So we are using the application fee parameter in create paymentIntent API. but in the refund flow there is option to refund the application fee from the connect account dashboard

Related Request ID(s)
pi_3Owj1HGUfk6Cpft429ATMpij

What have you already attempted?
please suggest any better way in which as platform we have to charge the connected account in any case we don't get into -ve amount

What are you working on?
We are a event hosting and Ticketing platform as our customer gets their own stripe account we user stripe connect and perform the peyments.

#

@lime linden pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/checkout/quickstart

Question
I'd like to know how I can order the appearance of subscription items in the left panel of the Stripe hosted checkout page. When a user subscribes, they'll be subscribing to three unique products(prices), all three appear in that left panel and I'd like to order them.

What have you already attempted?
Reading the docs.
Adjust line items when creating a new checkout session.

What are you working on?
SaaS application that users can subscribe to for monthly plans

atomic shuttleBOT
#

@tough shell pressed the 🪝 Webhooks button in #help to ask a question:

Question
When is the payment method linked to a charge payment?

Related Event ID(s)
invoice.finalized event: evt_1OyAcbJ54lNDIU9BTfgSPicE

What have you already attempted?
I am using the invoice.finalized event, to sync with our database and create a charge on our end. For that I depend on getting the payment method that is used for the stripe charge. I've tried retrieving the payment intent and checking the linked payment method but it seems to be null (at that point)

What are you working on?
I am maintaining the stripe integration for our subscriptions

#

@abstract yacht pressed the 🔌 API button in #help to ask a question:

Question
Is there an API or function that automatically sends a custom email to user upon purchase complete - I know Stripe automatically sends a receipt confirmation, but if I want to send a custom email , can I do that via Stripe?

Related Request ID(s)
Not relevant to this

What have you already attempted?
Looked into Stripe receipt confirmation, but found nothing

atomic shuttleBOT
#

@neat moss pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When creating a Stripe checkout session you can provide the parameter payment_intent_data[setup_future_usage]
I expect to select Ideal as a payment method

What actually happened?
Only payment_method_types card is shown

Reproduction Steps
Create checkout session with payment method enabled form the Dashboard.
Set the payment_intent_data[setup_future_usage] = off_session while creating the sessions

Question
How can I use the hosted checkout page with Ideal that also sets up the payment method (SEPA) for future payments off sessions

What are you working on?
Building a recurring payments integration

atomic shuttleBOT
#

@dusk oracle pressed the 🔌 API button in #help to ask a question:

Question
Hello, I am trying to use the balance transfer API, to transfer some funds from my account balance to my issuing balance. The following curl works well for my parent account, but I cannot manage to make it work with a connected account. Do you know how can I do that ?

Related Request ID(s)
req_OaeKpT7woAvqTo

What have you already attempted?
curl https://api.stripe.com/v1/balance_transfers
-u "apiKey:"
-d amount=1000
-d currency=usd
-d "source_balance[type]"=payments
-d "destination_balance[type]"=issuing

What are you working on?
Add funds by API to a custom account issuing balance

#

@vocal wagon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
SEPA Integration via Elements is working

What actually happened?
SEPA Integration via Elements is NOT working. After submitting the form the client is not redirected.

Reproduction Steps
Create a form with Elements, add SEPA direct debit to payment methods. As a client use SEPA to initiate a payment.

Question
The developer tools show the message: Refused to frame 'https://js.stripe.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".
This is new. 12 hours ago everything worked as expeceted.

What are you working on?
A stripe newbie trying to integrate Stripe Elements

#

@small grotto pressed the 🧑‍💻 Code button in #help to ask a question:

Code
async getProductDetails(product_id){
const product = await stripe.products.retrieve(product_id);
return product;
}

async getPriceDetails(price_id){
const price = await stripe.prices.retrieve(price_id);
return price;
}

Question
How can I get price table from price

What have you already attempted?
I used below APIS
https://docs.stripe.com/api/prices/retrieve
https://docs.stripe.com/api/products/retrieve

What are you working on?
to get price table from stripe show it to UI

#

@burnt pulsar pressed the 🔌 API button in #help to ask a question:

Question
I'm creating an invoice related to an order in our system. It might happen that the request is done twice and that's why I am using a unique idempotent key related to the order. I can see that the go client is implementing retries how ever am getting a 409 error. Is 409 not retried during test mode?

Related Request ID(s)
req_mID18ZQ3MXK97V, req_nSV6sLl6K0IVjY

What have you already attempted?
Read through the source code, tried reproducing the error

What are you working on?
invoicing of orders.

atomic shuttleBOT
#

@knotty zenith pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello, I use connect with standard accounts. I need the amount to be settled to the connected account and the platform account to receive the fee and handle stripe fees on behalf of the connected account. I'd also like the connected account to be the merchant of record

Doc/Guide Links
https://docs.stripe.com/connect/separate-charges-and-transfers
https://docs.stripe.com/connect/destination-charges#differences

What are you working on?
We're building a platform for separated parents to help them manage their children

#

@uneven basalt pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscription_items/update

Question
I would like to know how to manage subscriptions with multiple products. For example, imagine there is a plan basic of 20€/month and an add-on of 10€/month. Each one with their respective quantities.

The result would be a single subscription with 2 items and their quantities.

What have you already attempted?
I'm still reading and trying to documenting how to implement this logic.

#

@rich inlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
All the customer default currency should be USD

What actually happened?
Normally or our users default currency is in USD , but somehow one of them is eur and its causing an issue to the invoice creation since every invoice item is in USD

Reproduction Steps
i dont know how to reproduce this

Question
I know that to update usr currency we have this should be happened The customer is subscribed to a plan
An invoice is created for the customer
An invoice item is created for the customer
The customer’s balance is adjusted

I want to know when does that user had his customer object currency changed to EUR

atomic shuttleBOT
#

@hazy vessel pressed the 🪝 Webhooks button in #help to ask a question:

Question
I deleted Stripe Connect account, then recreated it. The response has payouts_enabled=false, however the account acct_1OyVwXIbvskrPvEM is showing Payments=Enabled however I haven't received any account.updated webhook we_1Ov83jESm1Rqnz4xaWfsysAc changing the state of teh account.

Related Event ID(s)
req_DB15YJCCHYjKUB

What have you already attempted?
Refresh webhook, account etc.

What are you working on?
Building a new content creator payment platform

atomic shuttleBOT
#

@rich inlet pressed the ❌ An Error button in #help to ask a question:

Error Message
the user invoice was empty , so the form stripe didn't show up
that was stripe dev supposition as the user had an invoice created manually in eur so it changed his currency to eur
but after my manager check , the currency update was made after the error happend

Question
We believe that the issue is froom user default currency, but it appears that the invoice creation was after the invoice creation

What have you already attempted?
i talked with your dev before,, and they said that it was the currency

Reproduction Steps
i dont know how to do that because its a specific issue

atomic shuttleBOT
#

@bronze canyon pressed the ❌ An Error button in #help to ask a question:

Error Message
Uncaught (in promise) IntegrationError: fetchClientSecret failed with error "The fetchClientSecret function should always resolve with a client secret as a string. The function that was provided resolved with a value type of undefined."

Question
I copied the exact React/Python code for building an embedded checkout here: https://docs.stripe.com/checkout/embedded/quickstart?client=react&lang=python
And it keeps returning the above error (then timing out while waiting for client secret. How can I get it working?

What have you already attempted?
I have tried changing it from a fetch to axios.post (i have my own custom api.post I have made and changing it to that format isn't working either - it gives the same error regardless of what I tweak). I have also tried restructuring it into a useEffect rather than useCallback, same thing.

What are you working on?
Simple embedded checkout

#

@harsh notch pressed the 🔌 API button in #help to ask a question:

Question
Create connect account with MCC code "5262" fails. But other code works

Related Request ID(s)
have not found any related issue

What have you already attempted?
tested the code with different codes

What are you working on?
Building peer to peer marketplace app

#

@dusty delta pressed the 🧑‍💻 Code button in #help to ask a question:

Code
// Create the subscription with the found product ID
$subscription = $stripe->subscriptions->create([
'customer' => $customer,
'items' => [['price' => $product_id]],
"currency" => $_currency,
"description" => $paydesc,

rest of the code in post

Question
so this is an update to my last post few hours ago

i var_dumped my payment intent intent status and next action and the result was

`reqiures_action` and `use_stripe_sdk`

i was expecting a `redirect to url` not use_stripe_sdk

so how do i change the use_stripe_sdk to redirect to url

What have you already attempted?
i tried add this

'payment_behavior' => 'default_incomplete',

and it changed the requires action to requires confirmation

What are you working on?
I'm trying to authenticate 3DS cards by redirecting them to Stripe/Bank page.

#

@tender crater pressed the 🪝 Webhooks button in #help to ask a question:

Question
What will happen after stripe tries maximum number of attempts for failed subscription, Like I set retry 5 days after the previous attempt, which webhook will be called after 5 days?

Related Event ID(s)
I don't know what to write here

What have you already attempted?
I've tried customer.subscription.deleted webhook but I don't know if that's relatable

#

@left basalt pressed the 🔌 API button in #help to ask a question:

Question
I am wondering if we can create an account workflow like eBay where our users just set up an account with us we pass that information and their Credit card info and then they can receive payments without a load of additional steps like there is for the standard account creation

Related Request ID(s)
type: custom account

What have you already attempted?
Looking at docs ect, on boarding flows

What are you working on?
Platfrom where amature online sports coaches can take payments from other users on our platfrom

#

@runic widget pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hey guys! I have a problem with webhooks on my Stripe test account; it feels like the structure of the webhook JSON has changed, and all my test backend related to webhooks stopped working. What could it be? Should I rewrite the webhook handling from scratch?

Related Event ID(s)
evt_1OyXAaKnnCzZTWpNO1RLFsEY

What have you already attempted?
I tried to find a setting for the webhook version in the admin panel, but I didn't find anything. The API version is pinned to "2023-10-16".

#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Should I be using this API if I want to retrieve how much a connected partner is getting in gross amount (after charges) and how much he's paid in charges?

What have you already attempted?
I tried this API but its not giving me the data im expecting

What are you working on?
Property Management System

atomic shuttleBOT
#

@small sedge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
In the javascript library: @stripe/react-stripe-js

Question
We are in the beta for card-product-codes. When we enter one of those test cards in stripe elements, the stripe sheet does not have a zip code. Was just curious if this is behavior specific to one of those test cards

What have you already attempted?
Only these test cards exclude zip code field. With other test cards, there is a zip code field in the form

What are you working on?
We are regression testing these now and noticed when we input one of these test cards, the Stripe form excludes zip code

#

@neat moss pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When creating a Stripe checkout session you can provide the parameter setup_future_usage on payment method level
I expect to be able to enable it for Ideal as a well but the only option is none

What actually happened?
unable to the setup_future_usage on ideal payment method

Reproduction Steps
POST https://api.stripe.com/v1/checkout/sessions
Authorization: Bearer {{api-key}}
Content-Type: application/x-www-form-urlencoded

mode = payment &
customer_creation = always &
currency = eur &
success_url = http://localhost:5146/webhook &
line_items[0][price_data][currency] = eur &
line_items[0][price_data][product_d

Question
Want to be able to configure recurring payments using the hosted checkout for ideal

#

@subtle turtle pressed the 🔌 API button in #help to ask a question:

Question
Does the "Send a Stripe-hosted link for customers to confirm their payments when required" option from the /settings/billing/automatic section of the dashboard work for payment intents made from Connect accounts? Is there a way to have this behaviour using the API instead?

Related Request ID(s)
req_dK1rAIawMtanqE

What have you already attempted?
I tried to enable to option on the connected account, then made an off_session payment with an always authenticate test card from the Connect account. I expected to receive an email to confirm the payment, but I didn't.

#

@candid gale pressed the 🔌 API button in #help to ask a question:

Question
im checking Pay out to people feature . my drivers will have an area to payment that that will create an invoice with the amount and submit , and stripe will handle the process and my drivers will get the payment

Related Request ID(s)
req_ZP6Rje0dYDIFuw

What have you already attempted?
is this possible , im checking the documentations if possible or not

What are you working on?
a portal for my drivers to receive an payout base on there services ,

#

@native gazelle pressed the 🔌 API button in #help to ask a question:

Question
How can I call the `ApplePayError` method in a Stripe Express Checkout instance? I'm validating a shipping address to avoid PO Boxes entries and would like to display a specific error message instead of just calling `event.paymentFailed({ reason: 'invalid_shipping_address' })` at the `onConfirm` event.

Related Request ID(s)
Can't find any on the support and docs

What have you already attempted?
I'm using React with the `@stripe/react-stripe-js`. I have tried the `useStripe` hook to access Apple Pay Session or something else for Apple Pay, but there aren't any.

What are you working on?
I need to prevent PO Box addresses on the shipping address and inform the user the reason for the invalid address.

#

@errant jungle pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When entering a checkout session with autocomplete and required phone_collection, UI should accept a country-codeless autocomplete value.

What actually happened?
On some browsers that are storing number without country code, Checkout UI sometimes interprets an incorrect country code and submission is blocked because of incorrect phone number (for the incorrectly identified country). Manually entering +1 fixed it.

Reproduction Steps
My client presented this to me after a complain from a customer. he was able to reproduce himself as well. Not sure if its only certain browsers, but he has an autocompletion entry for his phone number that does not have a +1 country code. When he opened a checkout session, it autocompleted but with another country.

Question
Is this a known issue and when could it be fixed? I have to disable phone collection until then.

What are you working on?
Event tickets & reservations via stripe Checkout

#

@tawny nest pressed the 🔌 API button in #help to ask a question:

Question
Invoice line items tax_amounts are missing some types in the node client.
Using the api I get `effective_percentage` on the expandable `tax_rate` for each tax_amounts item and `taxability_reason` on tax_amount item are missing in the types in the stripe node package?

Related Request ID(s)
req_3VgylPqnn516S7

What have you already attempted?
effective_percentage is not included in the api docs for tax rates.
taxability_reason is included in the docs, however I can not find any type for this in the stripe node package

What are you working on?
I need to figure out which tax amounts we should pick up for bookkeeping.

#

@copper wasp pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Angular fronted is able to download invoice pdf from stripe by url

What actually happened?
Fronted receive CORS issue when trying to download invoice PDF

Reproduction Steps
1) Expose REST API that return invoice data including pdf url

2) Consume API on FE side (Angular) try to download pdf by URL

Question
What may be the issue that is causing this CORS errror , download is working fine from postman or directly from browser

atomic shuttleBOT
#

@midnight skiff pressed the 👍 Best Practices button in #help to ask a question:

Question
For the purposes of taxes, what's the best or most common way to get the user's address to set in the customer object's address and should I be worried about the address potentially changing?

Doc/Guide Links
https://docs.stripe.com/tax/customer-locations#:~:text=Which customer address we use,service%2C or a shipped good.
https://docs.stripe.com/tax/subscriptions#:~:text=Stripe Tax allows you to,on your customer's upcoming invoice.

What are you working on?
A user must buy an online subscription before using our website. They may also buy a physical product in which I can use the shipping address for the customer.

#

@blissful pumice pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
There is a possibility to test the payment_method.automatically_updated event

What actually happened?
i did not find a possibility to trigger a `payment_method.automatically_updated event

Reproduction Steps
cli and dashboard dont allow you to send the `payment_method.automatically_updated event

Question
Is there something i overlooked? how does the event look like ?

#

@thorn matrix pressed the 🔌 API button in #help to ask a question:

Question
We use manual payment intents to create subscriptions using iDeal for the trial and then try to use SEPA direct debit for further subscriptions.

The subscriptions paid with iDeal should have been renewed and been paid with SEPA direct debit, but it didn't happen, its marked incomplete, help please

Related Request ID(s)
pi_3OySouBGasr0RNIF1FJnGUux

What have you already attempted?
We don't know what we can do

What are you working on?
Mobile App payment flow integration using iDeal for subscriptions

#

@urban vine pressed the 🔌 API button in #help to ask a question:

Question
How can I filter through currencies of a given price when using the `GET /v1/prices` endpoint?

Our setup is:
- 1 product
- 2 prices
- each price with multiple currencies

Related Request ID(s)
req_dv6HolZLYEqPCk

What have you already attempted?
- sending the `currency` parameter to that endpoint listed above.

What are you working on?
Building a checkout session with stripe

#

@molten anvil pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a Connect platform in the US. Some connected accounts in other countries which do not support Direct Charges, they are recipient accounts that have no card_payment cap. Users purchase goods in our app in local currencies from these sellers. Whats the best strategy to move 100% of the transaction to their acc?

Doc/Guide Links
https://docs.stripe.com/connect/charges

What are you working on?
Ideally our main plat account will always have $0 funds. We want them to manage it.

#

@clever rapids pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expected the subscription to go back to "active", since there are no invoices left to be paid.

What actually happened?
The subscription stays "past due".

Reproduction Steps

  1. User subscribes
  2. Invoice is created and finalized
  3. Payment for the invoice fails
  4. The subscription is set to "past due"
  5. Void the invoice

Question
We have created 2 invoices for a users subscription by mistake. We noticed when both of the invoices were finalized. The payment failed, since there was not enough money on the card. We voided one of the invoices, user updated the card and paid the other. How to make subscription go to "active"?

#

@nova current pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
subscription successfully renew

What actually happened?
subscription payment failed

Reproduction Steps
charge simple payment, attach method from webhook to the subscription, wait for renew

Question
why subscription didn`t renew after ends of trial (I will give more details)

What are you working on?
developing subscription payment

#

@shrewd zephyr pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: amount,
currency: "INR",
customer: customer.id,
setup_future_usage: 'off_session',

payment\_method\_types\: \["card"\],
payment\_method\_options\: {
  card\: {
    mandate\_options\: {
      reference\: uuidv4\(\),
      am

Question
How can I get the payment to be declined, if no mandate id is returned i.e. the mandate is null

What have you already attempted?
Not sure what I could have done

What are you working on?
A app to automatically charge funds, on approval

atomic shuttleBOT
#

@dense slate pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We authorized a charge for a 3DS card and created and confirmed a SetupIntent. We expected this to allow us to charge the card later. https://dashboard.stripe.com/payments/pi_2OtaokUmS57H7yUM0L2CA7Kw

What actually happened?
The PaymentIntent moved to a "cancelled" state after 7 days and we were not able to charge the card.

Reproduction Steps
Auth a PaymentIntent with a 3DS card and create a SetupIntent. Confirm the SetupIntent when the user confirms the authorization. Wait more than 7 days.

Question
What do we need to do to be able to charge the customer later? We seem to only have this issue for 3DS cards. We want to authorize the charge and then charge the customer at an arbitrary point in the future.

What are you working on?
This is relevant for pre-order and free trial features in our application. We have this working in general but it seems to fail for 3DS cards.

#

@sullen owl pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The returned Reader.Type object includes label field with the right value

What actually happened?
The returned Reader.Type object includes label but it's always null

Reproduction Steps
- Create a reader with a label
- Discover and connect the reader with the app (get discoveredReaders and connectedReader by using useStripeTerminal)

Question
Currently, I'm using stripe-terminal-react-native in the app, and I want to display the label of Readers (both discoveredReaders and connectedReader). But I found that the label field in returned Reader.Type objects are always null. Is that the limitation of the library? What do I need to do to get the Reader labels?

What are you working on?
I'm developing an app that connects with Stripe readers to sell product for e-commerce company

atomic shuttleBOT
#

@rich inlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
To update subscriptions from one plan to another

What actually happened?
somehow it didnt work at force

Reproduction Steps
just update subscription to another plan the payment will be automatic , for some reason it didn't work

Question
can i know where the user had the issue ? i have the customer id

atomic shuttleBOT
#

@magic lance pressed the 🔌 API button in #help to ask a question:

Question
I have in app subscriptions which are handled through Stripe. We are now migrating purchase of tickets from paypal to Stripe. For subscription success we already have webhook which is listening on event 'invoice.payment_succeeded'
Should I create new webhook for stripe checkout (mode payment) or use this one?

Related Request ID(s)
I haven't made any request yet

What have you already attempted?
First asking you here before I dive in

#

@proud lily pressed the 👍 Best Practices button in #help to ask a question:

Question
Creating subscription schedules and saving ID's in database, should I save subscription schedule ID or subscription ID if I want to get details about next payment date etc...

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

What are you working on?
NextJS using stripe JS

#

@untold thorn pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const cloned_payment_method = await stripe.paymentMethods
.create(
{
customer: customer.id,
payment_method: paymentMethodId
},
{
stripeAccount: fleet?.connectedStripeAccountId
}
)
const pi = await stripe.paymentIntents
.create(

Question
My webhook is getting status of "require_payment_method" from the payment_intent.created event

What have you already attempted?
ive tried talking to support about the api, i just want to make sure theres nothing wrong with my implementation

What are you working on?
fleet management platform

atomic shuttleBOT
#

@hushed summit pressed the 🧑‍💻 Code button in #help to ask a question:

Code
My session-object has this cancel & success-url : "localhost:3000/payment/?sessionId=XXXX"
XXXX is representing the sessionId . Im having a .NET backend + VUE frontend. im trying to redirect to my paymentpage with the sessionID to make a checkpayment call and give like a status.

Question
the redirect is working on success or cancel but my frontend just opens the payment url without the given sessionId parameter . if i copy paste the succes url from my object itself (e.g. i debug and inspect the object and i can see the correct url) - my frontend is working with that.

What have you already attempted?
chatgpt, stripedocs, stackoverflow... i just cant find my solution... i wonder if its some kind of authentication that stripe cant pass parameters or w/e.

What are you working on?
enterprise app just implementing stripe checkout sessions for onetime payments and subs

#

@fast siren pressed the 👍 Best Practices button in #help to ask a question:

Question
*Express and Seperate Charges and Transfers.

Is it possible to debit a connected account's bank when it's at zero?

Example - $100 item with 100% off code. Platform needs to still take 15% ($15), but connected account is at 0.

Any best practice on how to debit this from the connected account?

Doc/Guide Links
I've read the documents on Stripe on negative balances and also on transfers. Its not clear if I can force a connected account to go negative (not refund) but by a transfer, for my scenario.
https://support.stripe.com/questions/handling-negative-balances-in-your-stripe-account
https://docs.stripe.com/api/transfers/o

What are you working on?
Two sided marketplace for airbnb owners to sell physical goods

#

@torn shell pressed the 👍 Best Practices button in #help to ask a question:

Question
After reading webhook best practices, it says sometimes events can come through twice so you need to make your webhook idempotent. Is there a way to test sending the exact same event twice so I can check my idempotency works?

Doc/Guide Links
https://docs.stripe.com/webhooks

What are you working on?
A gaming website which has the ability to buy one off purchases and subscription

#

@untold thorn pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const pi = await stripe.paymentIntents
.create(
{
amount: amount,
currency: "usd",
payment_method: cloned_payment_method.id,
capture_method: "manual",
confirm: true,
description: "Rental authorization: Amount " + amount,
expand: ["l

Question
creating a payment intent like this results in the webhook updating the intent with status of "requires_payment_method"

What have you already attempted?
I have tried to contact support but they take long and close the thread.

What are you working on?
fleet management platform

#

@grave lion pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there any way to obtain user IP and UserAgent of the device used to pay a subscription during a checkout (with Stripe Checkout).

I have my webhook that is triggered on subscription.updated events, how can I obtain the IP & User Agent? (this is mainly to notify Facebook AP Convertion that the Facebook AD has worked)

Related Event ID(s)
customer.subscription.updated

What have you already attempted?
I'm already firing events to Facebook API Convertion when a subscription is created/updated, but I'd like to enrich the data providing them IP/UserAgent as well, but using StripeCheckout without a custom backend integration I'm losing such informations.

What are you working on?
SaaS with basic business model

#

@finite hawk pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/checkout/custom-checkout

Question
Given we use Stripe Checkout nowadays in prod, would you recommend reaching out to be included on the private beta?

What have you already attempted?
I've been building a checkout from scratch by using Stripe Elements, but just found out this existed.

What are you working on?
Migrating Stripe hosted checkout to a custom checkout hosted on our app

#

@rich valley pressed the 🔌 API button in #help to ask a question:

Question
Our stripe web integration uses PaymentRequestButtonElement. It makes
https://api.stripe.com/v1/payment_methods request which returns apple/google pay card and billing details. Is it possible to have a similar request for react native integration? I need to get billing address attached to the apple/google pay card

Related Request ID(s)
https://docs.stripe.com/stripe-js/elements/payment-request-button

What have you already attempted?
I tried to create a new payment method using react -native sdk, but it didn't help. I just need to retrieve billing address attached to the card in react native

What are you working on?
stripe apple/google pay integration for the web and react-native

#

@willow condor pressed the 🔌 API button in #help to ask a question:

Question
We have failed payments set up for 3 retries, on each attempt we have custom logic which we trigger through the failed payment webhook and checking attempt count in the invoice. I need to test this, what is the best way? Stripe Test Clock? How would I do it to get as close as real data as possible in the invoice?

Related Request ID(s)
No related request id

What have you already attempted?
Testing through the cli

atomic shuttleBOT
#

@undone walrus pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<Elements
stripe={stripePromise}
options={{ clientSecret: paymentIntent.clientSecret }}
>
<StripeForm reset={reset}
title={

Question
How are you supposed to use the PaymentElement from a list of components and dialog element in Next.js 14 with the App Router? useStripe and useElements don't access the data from the page.

What have you already attempted?
Loading stripe from global layout. Loading stripe from route layout, creating a context, drilling props. Currently looking into intercepting and parallel routes, but that's new to me. I had this working with Vite in a regular React app, but it's not working in Next.js

What are you working on?
a feed where the cards open a drawer (vaul). the drawer has a form that asks for the amount, sends the payment intent, and reveals the PaymentElement.

#

@inner trail pressed the 🔌 API button in #help to ask a question:

Question
Our webhook was down for about 22 hours. However, our gateway was returning 200 success. Is there any way we can batch "Resend" all webhook events within a certain period of time?

Related Request ID(s)
req_yGlaWBkwQVNORn

What have you already attempted?
We have tried to click "Resend" button on the webhook dashboard manually but there are too many requests.

#

@vital slate pressed the 🧑‍💻 Code button in #help to ask a question:

Code
trying to manual key entry code api key

Question
I need help and file program source code suggested

What have you already attempted?
when are stating editing the code it won't allow me

What are you working on?
building process to streamline different business partners that transactions with speek

atomic shuttleBOT
#

@tepid crypt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
if ($this->trialcampaing == true) {
$thirtyDaysFromNow = time() + (30 * 24 * 60 * 60);

        $subscription = $stripe\-\>subscriptions\-\>create\(\[
            'customer' =\> $customerId,
            'items' =\> \[\[
                'price' =\> 'price\_1LAxd9BHYS6r19T02EhtArGq',

Question
this is null -> $subscription->latest_invoice->payment_intent->client_secret... but if i take out the -> 'trial_end' => $thirtyDaysFromNow,
it gives me the client_secret

What have you already attempted?
taking out that line -> 'trial_end' => $thirtyDaysFromNow,

What are you working on?
Payment gateway for enrolling in a sub

#

@alpine jay pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/custom/onboarding#US+US+custom+full+individual+card_payments,transfers+us-2023

Question
I want to implement a feature where customer can buy products/services on my platform which is offered by my registered partners. And automatically pay them when that service/product has been delivered

What have you already attempted?
I haven't attempted anything as I can't find a good starting point

What are you working on?
a platform that enables service/IT product companies to sell directly to customers. Kind of like fiver/upwork but more specialized towards AI, Data science.

#

@willow condor pressed the 🔌 API button in #help to ask a question:

Question
I am trying to test the failed payment webhook, I will use Stripe clock to do that. How do I add a card that will fail in a payment to a subscription in the dashboard? Every time I try to add one it just fails and doesn't let me save the payment method to the subscription

Related Request ID(s)
No related request id

What have you already attempted?
Adding the payment method that will fail

#

@molten anvil pressed the 🔌 API button in #help to ask a question:

Question
Main platform successfully uses Separate Charge and transfer. It charges in UYU currency but when trying to transfer the value to the connected account receives and error.

Related Request ID(s)
https://docs.stripe.com/connect/separate-charges-and-transfers

What have you already attempted?
Tried sending 100% of the amount collected in UYU to the connected account. But it fails because connected account and platform diverge in currency.

What are you working on?
Trying to find a way to transfer a value charged.

#

@meager hedge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
document.getElementById("checkoutB").addEventListener("click", function() {
stripe.redirectToCheckout({
lineItems: [
{
price: "price_1OuvO0B4fjaL5cwebjtOVW8W",
quantity: totalTshirtsOrdered,
},
],
mode: "payment",
successUrl: "h

Question
I would like to know how to get the payment id when i do a checkout before i get redirecting to stripe payment

What have you already attempted?
i have done all the method to go on the payment page and also the fetch to write in my file

What are you working on?
i'm on html/js/nodejs

atomic shuttleBOT
#

@fickle pivot pressed the 🔌 API button in #help to ask a question:

Question
how to add /.well-known/apple-developer-merchantid-domain-association
to verify domain i have domain in my shopify

Related Request ID(s)
settings > payments

What have you already attempted?
i dont know how to configure it

What are you working on?
Domain apple pay configure

#

@hexed wagon pressed the 🔌 API button in #help to ask a question:

Question
Does the `customer.subscription.updated` webhook topic get fired once a subscription schedule is released, too?

Related Request ID(s)
No request IDs to share yet

What have you already attempted?
Nothing so far besides reading the docs.

#

@fathom sky pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I know the discount applied to a paymentIntent ?

Related Event ID(s)
payment_intent.succeeded

What have you already attempted?
checked doc, checked api

What are you working on?
trying to show to user all fees applied to any payment

#

@jolly scarab pressed the 🔌 API button in #help to ask a question:

Question
Trying to use the /v1/accounts endpoint or /v1/accounts/{}/capabilities endpoint to see if Bank Transfers is active for a customer. The dashboard says yes, but response says no.

Related Request ID(s)
req_ApXqRCaYfrkOUR, req_dK2vmg6t0nhYXR

What have you already attempted?
Tried different test accounts (standard and unified). Tried disabling the payment method and reenabling it on the connected account.

What are you working on?
Adding Bank Transfers to a connect account platform

#

@shell warren pressed the 🔌 API button in #help to ask a question:

Question
Hi, I'm having difficulty with the metadata search. Nothing is retuned when I query the customer like so:

```
customersSearch = await stripe.customers.search({
query: `metadata["user-id"]:"${id.toString()}"`,
});
```

This has always worked before but has suddenly stopped.

Related Request ID(s)
req_dALDOYJNbXVRxB

What have you already attempted?
I know this should work since when I retrieve the customer with the customer id and can see that it does have the appropriate metadata

What are you working on?
This is an issue in my unit tests which is preventing deployment.

#

@sacred igloo pressed the 🔌 API button in #help to ask a question:

Question
POST /v1/coupons lists "applies_to dictionary" while GET /v1/coupons/:id does not. How does one retrieve applies_to via the API ?

Related Request ID(s)
req_4xOtjrdeK6apB0

What have you already attempted?
Read the documentation.

#

@autumn creek pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Is there a way to get a list of invoices for a subscription? I am trying to find the invoice id for when the subscription was created.

What have you already attempted?
Not sure where to sort to get list of invoices for Subscriptions

What are you working on?
Internal Financial Statistics

atomic shuttleBOT
#

@supple lava pressed the ❌ An Error button in #help to ask a question:

Error Message
S C:\Users\armin\react-stripe-payment-element\client> npm run start

> react-cra@0.1.0 start
> PORT=4242 react-scripts start

'PORT' is not recognized as an internal or external command,
operable program or batch file.

Question
i tried to npm run start the client and it worked on server but on client i get this weird error

What have you already attempted?
npm i tried to ask chatgpt and he gave me an force solution wich i didnt like

Reproduction Steps
i dont understand the question

What are you working on?
building an paymenth method on my website

atomic shuttleBOT
#

@opal marlin pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to accept multiple part payments against a finalised invoice?

Related Request ID(s)
req_TkxgopTzgklWuh

What have you already attempted?
This is exploring a concept.

What are you working on?
I am looking to build an integration for a food & beverage events based business. The invoice may change multiple times over the course of its lifetime.

atomic shuttleBOT
#

@naive spindle pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
Need a guidance for stripe invoice

Question
We are sending manual invoice to our customer which they can receive in there email there is a link to available to pay the invoice, but when redirecting on the link it's shows three different payment option - card, bank and wechat pay. I just want to enable the card the other should be off for now

What have you already attempted?
The api is implemented the flow is also working just the different option of payment should be stop

#

@rich inlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected to update a subscription with a new plan (e call that an upgrade in our platform) but it don't work in a certain case

What actually happened?
actually, i paid for one plan with 3d secure card, it created a subscription the first payment was a success, so for upgrading my plan what we do is to take the subscription an update the price ID , but this time it didn't work since I'm using a 3D secure-auth

Reproduction Steps
PAid for a subscription with 3ds card
upgrade the sub to another plan with updating the subscription but didn't work

Question
how can i fix that since i have a test

atomic shuttleBOT
#

@shell valve pressed the ❌ An Error button in #help to ask a question:

Error Message
{:error, %{"inv" => [%{"err" => [%{"code" => -15, "msg" => "Address not found."}], "itms" => [%{}]}]}}

Question
There is an event that is failing to send via webhook: https://dashboard.stripe.com/events/evt_1Oxk03F5n5KjLa7RNOEJr3wv - We rely on this event in order to calculate taxes on our end and add them to the invoice.

What have you already attempted?
Resending the event manually.

What are you working on?
Invoicing for subscriptions

#

@wise iron pressed the 👍 Best Practices button in #help to ask a question:

Question
After 9 months of development, we're on the precipice of running the command `stripe apps publish` Our app will enable anyone with a Stripe account to create a shipping label with just one click if certain preset defaults are met.. There is some confusion on our part of the API Key and the Stripe Apps secret we use.

Doc/Guide Links
Everything on https://github.com/stripe/stripe-apps/issues

What are you working on?
Stripe Apps Marketplace app

atomic shuttleBOT
#

@vivid rivet pressed the 🔌 API button in #help to ask a question:

Question
We are having problems with our subscriptions. Over 30% of our subscriptions fail to process after the trail period ends. To resolve this, we are trying to create the subscription session with a payment intent that has a hold, so that the submission request fails if their source has insufficient funds

Related Request ID(s)
req_wN7l8gfVJ2H7vQ

What have you already attempted?
We have tried to create a subscription with a hold. The API does not support it

What are you working on?
Subscriptions with a trial period and a hold

atomic shuttleBOT
#

@cosmic sparrow pressed the 🪝 Webhooks button in #help to ask a question:

Question
Can you assist me in identifying an endpoint that includes the customer's email and relates to canceling their plan, allowing me to send them an email through customer.io?

Related Event ID(s)
Developer -> Webhook -> https://api.customer.io/v1/webhook/7228811bd9db9b56 -> customer.subscription.deleted

What have you already attempted?
When a customer cancels their plan, the endpoint I call is "customer.subscription.deleted." However, this endpoint doesn't contain the customer's email. Consequently, I couldn't send them an email in customer.io. I attempted to find additional endpoints but couldn't find another solution. Can you help me identify an en

What are you working on?
I'm building email in case cancellation, new invoice, expiring card, refund to customer on customer.io

#

@small grotto pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/pricing-table

Question
How can I define hight and widht of pricing table

What have you already attempted?
I want that price table fit into my layout without any scroll

atomic shuttleBOT
#

@willow yoke pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/express-accounts#create-link

Question
I have created express connect account with the the parameters type, country, email, capabilities, business_profile and business_type. Later, I am creating Account Link with type "account_update" so that above information are prefilled. I am getting error "You cannot create `account_update` type Account Links for this

What have you already attempted?
I have tried account creation link with type "account_onboarding" and it works fine but the information which were used during account creation are not prefilled

atomic shuttleBOT
#

@median moat pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expected scroll to work on the form created for setupintent by embedding stripe element using mount in js to custom div

What actually happened?
The scroll on iframe rendered is disabled, scroll works only on embeded div

Reproduction Steps
Created a <div> and used stripe elements to create payment methods and mounted them to said div. Then selected SEPA DEBIT which requires user scroll to enter details needed.

Question
Is it possible to enable scroll in rendered iframe ?

#

@thorny summit pressed the 🧑‍💻 Code button in #help to ask a question:

Code
```
export async function createStripeCustomer(email: string) {
return await stripe.customers.create({
name: faker.person.fullName(),
email
})
}
```

Question
Official stripe-mock package for Javascript ecosystem?

What have you already attempted?
I am writing integration test, for now I have to use the the test mode API tests.

It would be nice to use mock data for faster response.

#

@long niche pressed the 🔌 API button in #help to ask a question:

Question
I’m getting this error message trying to test payment with card integration in test mode “ sending credit card numbers directly to the strip API is generally unsafe “

Related Request ID(s)
I’m getting this error message trying to test payment with card integration in test mode “ sending credit card numbers directly to the strip API is generally u

What have you already attempted?
I’m getting this error message trying to test payment with card integration in test mode “ sending credit card numbers directly to the strip API is generally unsafe “

atomic shuttleBOT
#

@carmine briar pressed the ❌ An Error button in #help to ask a question:

Error Message
"message": "Error processing payment No such account: 'abcd_some_account'"

Question
I want to implement a multiparty system, where in my platform blog creator (which can be multiple) can enter the stripe id and all the amount from end user of that project goes to creator of that blog directly without involvement of the platform. Location is India. Please tell me code snippet or docs for the same.

What have you already attempted?
I have tried both charges and paymentIntent for this.

Reproduction Steps
this is the code snippet .

  const paymentIntent = await stripe.paymentIntents.confirm\("pi\_key."\);
  
  const transfer = await stripe.transfers.create\({
    amount\: paymentIntent.amount,
    currency\: paymentIntent.currency,
    destination\: clientId,
  }\);

What are you working on?
A platform like a blog site.

atomic shuttleBOT
#

@short fern pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Does Stripe charge a fee for refunds, and how is it charged? Also, we've integrated with Link - through which API and field can we obtain the account holder name?

What have you already attempted?
Does Stripe charge a fee for refunds, and how is it charged? Also, we've integrated with Link - through which API and field can we obtain the account holder name?

What are you working on?
Link Stripe-ACH and Pionex.US

#

@high shuttle pressed the 🔌 API button in #help to ask a question:

Question
dispute api doesn't metion of any key to store "Why should you win this dispute?" under evidence.
this "Why should you win this dispute?" can be seen when submitting via Stripe. How can I pass this via API.

Related Request ID(s)
req_zSmHMTq7Bfpfn2

What have you already attempted?
checked documentation and there is no mention.
but also when I checked the developer log for the dispute I created I found that the value for "Why should you win this dispute?" key is stored as "narrative".
so why this is stored but not mentioned in API and can I pass the value to this key and what are available values

#

@spark silo pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Adding in next message, as it's too long.

Question
Hello! I am encountering an error that I cannot find info on the web for.

The error:
⨯ Error: Stripe: Argument "subscription_exposed_id" must be a string, but got: null (on API request to `GET /v1/subscriptions/{subscription_exposed_id}`)

What have you already attempted?
Looked up the error on the web and did not find anything. Also already moved away from my old code.

What are you working on?
A small tool that uses SERP to find exposed API keys.

atomic shuttleBOT
#

@finite cloak pressed the 🔌 API button in #help to ask a question:

Question
It seems now that I am not able to create an invoice if the stripe customer does not have an email sent :(
Is it so, or there is a way to overcome that and create an invoice without email, to send it manually via some other resource ?

Related Request ID(s)
req_qlQ1G7qzGfOLMg

What have you already attempted?
Tried to call stripe.invoices.create(), but it gives an error : "Missing email. In order to create invoices that are sent to the customer, the customer must have a valid email."

#

@dusk oracle pressed the 🔌 API button in #help to ask a question:

Question
Hello, I am trying to get all the balance transactions of type "issuing_authorization_hold" from my connected account "acct_1MUTO0H2z2S1wXIQ". The list I get is empty, but I have issuing authorizations in this account

Related Request ID(s)
req_VcJKGo388tDHjo

What have you already attempted?
My request is working for all other type ("payment", "payout", "issuing_transaction", "issuing_dispute" etc...), but not for "issuing_authorization_hold" and "issuing_authorization_release"

What are you working on?
I am working on Stripe Issuing in test mode

#

@rich valley pressed the 🔌 API button in #help to ask a question:

Question
Hello, I can't find a way how to create a payment method using stripe components for web.

Related Request ID(s)
https://docs.stripe.com/elements/express-checkout-element

What have you already attempted?
In my RN app I use PlatformPayButton for creating a new payment method, then I attach it to the customer. Can I do something similar for the web? like to create a payment method in browser

What are you working on?
integrating platform pay into my website

#

@sweet solar pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Stripe.apiKey = stripeKeyTest;
ConnectionTokenCreateParams params = ConnectionTokenCreateParams.builder().build();
ConnectionToken token = ConnectionToken.create(params);
Map<String, String> tokenMap = Collections.singletonMap("secret", token.getSecret());
return Response

Question
Hitting this API Endpoint gives me: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: com/google/gson/ReflectionAccessFilter

Also, when I try to debug I see params has all values as null

What have you already attempted?
looking through the documentation and google the error

What are you working on?
Integrate JS SDK for Stripe Terminal and create a server side endpoint for ConnectionToken and secret

#

@toxic idol pressed the 👍 Best Practices button in #help to ask a question:

Question
I was wondering what default fraud prevention behaviour is like without radar. And if radar is enabled, how does that impact subscription customers. Is radar used at each recurring payment? Or just initial.

Doc/Guide Links
https://docs.stripe.com/radar

What are you working on?
A discord bot with premium which is purchasable from a Sellix embed using stripe as a gateway.

#

@hasty sequoia pressed the 🔌 API button in #help to ask a question:

Question
is there is any api to know how much stripe charge

Related Request ID(s)
is there is any api to know how much stripe charge

What have you already attempted?
is there is any api to know how much stripe charge

What are you working on?
is there is any api to know how much stripe charge

#

@tropic anvil pressed the 🔌 API button in #help to ask a question:

Question
Through my backend in nodejs I am trying to create a transfer after I collect fees on my platform related to a transaction.
Specifically the round I would like to achieve is as follows:

- User purchases an asset
- Platform collects X%+Y%
- Platform turns over Y% to a connected account

Related Request ID(s)
https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-availability

What have you already attempted?
I followed the transfer documentation, binding both the transfer_group and the source_transaction, but I get rejected with the following error:
"You have insufficient available funds in your Stripe account..."

I also tried setting the source_type to "bank_account" but there is an API error: "Invalid source_type"

#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/quickstart

Question
Is this the correct way to integrate a custom stripe checkout on my website?

What have you already attempted?
I recall having done this before, but I was told it was incorrect to focus on the backend and instead rely on the clientsecret coming from the API in the client. Would like to know what "best practices" are for integrating a custom checkout session on my website (start to finish) with stripe elements

What are you working on?
property management system

atomic shuttleBOT
#

@sweet solar pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Stripe.apiKey = stripeKeyTest;
ConnectionTokenCreateParams params = ConnectionTokenCreateParams.builder().build();
ConnectionToken token = ConnectionToken.create(params);
Map<String, String> tokenMap = Collections.singletonMap("secret", token.getSecret());

Question
This code results in this error: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: com/google/gson/ReflectionAccessFilter

Using this

What have you already attempted?
Read This Documentation: https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=js#connection-token

Googled it

What are you working on?
Integrating the JS SDK for Stripe Terminal

#

@hasty sequoia pressed the 🔌 API button in #help to ask a question:

Question
can i calculate payment before send payment
stripe fee

Related Request ID(s)
can i calculate payment before send payment

What have you already attempted?
can i calculate payment before send payment

What are you working on?
can i calculate payment before send payment

#

@vocal wagon pressed the 🔌 API button in #help to ask a question:

Question
I see wrong data on stripe connect balance

Related Request ID(s)
acct_1OHlSsRmkxOapJsj

What have you already attempted?
I tried to reload and see if it changes but it shows completely wrong data

What are you working on?
Stripe Connect - Balance of Connected Accounts

atomic shuttleBOT
#

@rich valley pressed the 👍 Best Practices button in #help to ask a question:

Question
what's the best practice for apple pay and google pay integration for react native?
I was told that for web stripe's recommendation to use PaymentIntent or SetupIntent is that correct? if so, what about react native?

Doc/Guide Links
im using this:
https://docs.stripe.com/apple-pay

What are you working on?
integrating platform pay into my checkout form

#

@merry carbon pressed the 🔌 API button in #help to ask a question:

Question
We are going to create multiple locations for terminals and also with multiple account connect.

So.
Q1. Do we have to create new configuration for each account connect ? or it's available for all account connect.

Q2. From where I get a File ID for splash-screen and also it's same for all account connect ?

Related Request ID(s)
Iidonthaverequestdetails

What have you already attempted?
I am looking to create terminal configuration

What are you working on?
create terminal configuration

#

@shut steeple pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
3d secure popup triggered automatically using the checkout form component

What actually happened?
the user insert the card, the click on pay button but remain in loading, no popup of 3d secure was triggered, on the dashboard i can see that '3d secure not completed' but the user never see the popup and never receive nothing from the bank

Reproduction Steps
it's difficult to reproduce, i'm able to reproduce it in production using a mastercard from BCC PAY SPA

Question
There is something that i need to do to ensure that the 3d secure prompt will display ?

#

@magic lance pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I differentiate one-time payment from subscription payment on webhook that listens on invoice.payment_succeeded

I have already setupped subscriptions with Stripe and I'm switching one-time payments from Paypal to Stripe.

Is it better to have 2 separate webhooks for sub and one-time or only one?

Related Event ID(s)
I'm still investigating how to resolve this.

What have you already attempted?
I'm still investigating how to resolve this.

atomic shuttleBOT
#

@cerulean burrow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const params: Stripe.BillingPortal.SessionCreateParams = {
flow_data: {
type: "subscription_update_confirm",
subscription_update_confirm: {
subscription: subscriptionId,
items: [{id: "new item", price: "price_1234", quantity: 1}, {id: "si_1234", price: "price_5678", quantity: 1}]
}
},
...

Question
I want to use Stripe Customer Portal with a flow type of "subscription_update_confirm".
How can I let a customer add items to a subscription using this flow type? It seems there is only a way to update existing items through their ID or delete them (using the deleted flag).

What have you already attempted?
Read the documentation, see https://docs.stripe.com/api/customer_portal/sessions/create

What are you working on?
A SaaS company that allows customers to subscribe to different modules.

atomic shuttleBOT
#

@vocal wagon pressed the 🧑‍💻 Code button in #help to ask a question:

Code
i don't have any code yet, thanks!

Question
Hello, I'm looking to integrate Stripe into my website so users can create and sell products, with me earning a commission on each sale. Can you provide guidance or resources as i have found little,
Thanks.

What have you already attempted?
nothing as i have found little documentation.

What are you working on?
digital product selling website

#

@magic lance pressed the 🔌 API button in #help to ask a question:

Question
I have already subscriptions on stripe setupped. I'm listenign on evnet invoice.payment_succeeded for subscription success in webhook.
I'm now migrating one-time payments from paypal to stripe.
Do you suggest to use invoice.payment_succeeded for subscriptions and one-time payments
or separate webhooks

Related Request ID(s)
Nothing yet. Investigating and consulting

What have you already attempted?
Nothing yet. Investigating and consulting

#

@frozen jay pressed the 🔌 API button in #help to ask a question:

Question
I'd like to test the webhooks for invoice.payment_failed and after the customer.subscription.deleted. What are some best practices to do that in a local / staging environment?

Related Request ID(s)
no related request id

What have you already attempted?
I look up on Stripe dashboard, couldn't find anything, I looked also on Stripe Cli but as far as I have seen I can't add specific subscription ids

What are you working on?
A platform for art collectors: have a feature similar to youtube's feature: join membership.

#

@nocturne moat pressed the 🔌 API button in #help to ask a question:

Question
We have paid this credit invoice yesterday using invoice.pay(), however I still do not see that credit reflected on the Credit Card statement

Related Request ID(s)
in_1Oyh7MIGl3kRb8fooSIUGYco

What have you already attempted?
Canceled a subscription with prorate set to true, which created a credit invoice for the unused period. Paid that invoice using invoice.pay(requestOptions). It shows as paid on Dashboard, but hasn't reflected on the credit card of the user.

#

@thorny summit pressed the 🧑‍💻 Code button in #help to ask a question:

Code
```
const stripeLists = await stripeMock.invoices.list();
```

Question
Strip-mock returns the same set of data including same IDs

What have you already attempted?
I was looking for it to generate a unique/random ID/data

atomic shuttleBOT
#

@fathom barn pressed the 🧑‍💻 Code button in #help to ask a question:

Code
line_items: [
{
price: 'one-time-price-id-that-should-start-immediately',
quantity: 1,
}
{
price: 'subscription-price-id-that-should-start-at-specific-date',
quantity: 1,
}
],

Question
Due to german legal regulation Annual or subscription longer then 1 month need to transit back to 1 month after the initial subscription timeframe ends. How can I offer this kind of product with stripe/checkout without using the 'trial' option in checkout.

What have you already attempted?
I tried to pass 2 products (1 subscription and 1 one-time-pay) to the checkout line_items but there seem to be no way to schedule the the subscription to start AFTER the end day of the 1 one-time-pay product (passing a day when the sub should start without using trial).

What are you working on?
German VOD Platform.

#

@shut steeple pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
3d secure popup triggered automatically using the checkout form component

What actually happened?
the user insert the card, the click on pay button but remain in loading, no popup of 3d secure was triggered, on the dashboard i can see that '3d secure not completed' but the user never see the popup and never receive nothing from the bank

Reproduction Steps
it's difficult to reproduce, i'm able to reproduce it in production using a mastercard from BCC PAY SPA

some request ids with differents cards of clients in production
pi_3OyY5bG0HkO3ZPnp19HeVVIr
pi_3Oya7OG0HkO3ZPnp09dkwv3N

Question
There is something that i need to do to ensure that the 3d secure prompt will display ?

#

@red robin pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Invoice accepts as many payment attempts as necessary without a limit

What actually happened?
Attempts to pay the invoice after 3 failed payment attempts returns the following error:

"This invoice can no longer be paid. Consider voiding, marking as uncollectible, or marking as paid out of band instead."

Reproduction Steps
- Create a subscription on a plan with `amount > 0`
- Remove the payment method
- Advance a test clock to a month later, so the Subscription goes into `status=past_due`
- Attempt to pay the last subscription Invoice with a card that declines with `insufficient_funds`
- Attempt that payment 3 times
- The 4th time fails.

Question
How can a customer that has had 3 failed payment attempts on a subscription-cycle Invoice, flip his subscription back to `status=active`?

What are you working on?
Billing System of an Education Platform

atomic shuttleBOT
#

@nocturne moat pressed the 🔌 API button in #help to ask a question:

Question
We have paid this credit invoice yesterday using invoice.pay(), however I still do not see that credit reflected on the Credit Card statement

Related Request ID(s)
in_1Oyh7MIGl3kRb8fooSIUGYco

What have you already attempted?
Canceled a subscription with prorate set to true, which created a credit invoice for the unused period. Paid that invoice using invoice.pay(requestOptions). It shows as paid on Dashboard, but hasn't reflected on the credit card of the user.

atomic shuttleBOT
#

@wise yoke pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const upComingInvoice = await stripe.invoices.retrieveUpcoming({
customer: user.stripeId,
subscription: subscription.id,
subscription_quantity: 4,
})

Question
Hello, I have a problem I can not understand the logic of "retrieveUpcoming".
The users have a subscription, they can modify it by changing the quantity for example so I have to invoice/refund them pro rata, I understood that "retrieveUpcoming" can allow me to preview the next invoice but the results are completely ill

What have you already attempted?
I've tried changing the quantity several times but I can't find any logic.

#

@valid zenith pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#billing-periods

Question
I'm trying to design and implement a Stripe subscription with a per seat pricing where the user needs to pay upfront price for adding new seats and if the seats are decreased, then this would be reflected from the next billing cycle onwards but pay for the seat in this billing cycle as well.

What have you already attempted?
I have played around with prorated pricing but this charges by the period of usage of the product.

Instead I want to charge the user for the whole amount if they've used it.

Additionally, I couldn't find anywhere in the docs to cater the upfront payment for the updation in subscription.

What are you working on?
Building stripe subscription for Pro tier @ Ironforge

#

@magic lance pressed the 🔌 API button in #help to ask a question:

Question
I have in my app stripe subscriptions and one-time payments.
For handling one-time payment logic I have webhook checkout.session.completed
When subscription is created and renewed will checkout.session.completed be trigerred? I hope not because users are paying for subscriptions in app with react-stripe-elements

Related Request ID(s)
Nothing yet. Research

What have you already attempted?
Nothing yet. Research

#

@untold pagoda pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The user with email-B should have a different authentication session.

What actually happened?
The user with email-B can see/utilize the Link authentication session of the user with email-A. Should this be a security concern on a shared device?

Reproduction Steps
Integrate with Link checkout using linkAuthenticationElement and pass the user email collected at the pre-checkout step to linkAuthenticationElement for authentication.

Question
We're integrating Link checkout and using linkAuthenticationElement. We then pass a customer email address to the linkAuthenticationElement. A user with email-A checks out with Link successfully, and a user with email-B checks out on the same device but it automatically loads the authentication session of email-A.

#

@trim marsh pressed the 🔌 API button in #help to ask a question:

Question
I have to ask that while creating the usage record we had a parameter action of enum (set, increment). I have implemented both and they both responded the same way (set ) is also incrementing the usage quantity.
link : https://docs.stripe.com/api/usage_records/create

Related Request ID(s)
https://dashboard.stripe.com/test/subscription_items/si_PmInq0sL40YkPL/usage_records

What have you already attempted?
I have attempted the creation of a usage record of my metered plan in my case I want it to be incremented and decremented based on the scenario. I also attempted to set it through the dashboard and it responded the same as an increment

What are you working on?
web app - solution to provide management of file

#

@hearty raven pressed the 👍 Best Practices button in #help to ask a question:

Question
If I use on_behalf_of / destination charges, who do I create products for?

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

What are you working on?
Property Management System

#

@mint vessel pressed the 🪝 Webhooks button in #help to ask a question:

Question
Set up Stripe integration for Salesforce. The webhooks are not available in the Flow Builder even though they have been enabled. What step am I missing here?

Related Event ID(s)
there are no current event IDs yet

What have you already attempted?
Installed Stripe for Salesforce integration. Connected live account and enabled webhooks for invoices.

What are you working on?
Building a Flow in Salesforce from Stripe Webhooks.

#

@balmy yacht pressed the 🔌 API button in #help to ask a question:

Question
When I create a checkout session, using stripe, can I copy all the meta down to its payment intent, and then ultimately the charge object?

Related Request ID(s)
req_ERfGYpkLHTlkYq

What have you already attempted?
Ultimately i'd like to get the metadata that I created in the checkout session to the charge object when the charge succeeds. I understand that the intent's metadata will get copied down the charge, but how do I copy the metadata from the session to the intent?

#

@final kiln pressed the 🧑‍💻 Code button in #help to ask a question:

Code
checkout code for registration

Question
I need to verify the payment status for purchases and registrations.

What have you already attempted?
I've tried to follow the guides for both embedded form and api, but can't figure it out.

What are you working on?
I'm building a website for someone who's going to sell digital products and membership. And I can't get the registration or product checkout to work. I need tl

#

@bronze canyon pressed the ❌ An Error button in #help to ask a question:

Error Message
Unsupported prop change on EmbeddedCheckoutProvider: You cannot change fetchClientSecret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead.

Question
How can I include the customer stripe ID in a payment they make? I have set it up so when a new company is added to our system, a corresponding customer ID is set up in Stripe, and this Stripe ID is stored with that new company in our database.

What have you already attempted?
However, I have a context which keeps track of the current company (useAuth), but it throws this error when I include currentCompany in the payment page component. Likewise, on the backend, when I try to extract data from the call, it leads to the same error (see the commented out lines in the backend code).

Reproduction Steps
Please see the relevant frontend and backend code in the next message.

What are you working on?
Payment page which associates a payment with the current company.

#

@faint cypress pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, currently we are looking to increase price of our base subscription. What will be the best practice to update existing subscription with new prices. There are legal restriction which we need to consider.

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

What are you working on?
We are building a subscription based app.

#

@lone ermine pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to create an invoice for a connected account but I can't add tax id and business address to it. It only shows the name and phone number.

Related Request ID(s)
Finance automation -> Billing -> Invoicing

What have you already attempted?
Already tried to follow this steps: https://docs.stripe.com/invoicing/connect#account-tax-ids

#

@gaunt hinge pressed the 🔌 API button in #help to ask a question:

Question
Is there a time limit to get old data? I am Listing subscriptions created before 2018 but I always get an empty response.

Related Request ID(s)
could not find this

What have you already attempted?
val requestOptions = RequestOptions.builder().setStripeAccount("acc_id").setApiKey("api_key").build()
val params = SubscriptionListParams.builder().setCreated(SubscriptionListParams.Created.builder().setGte(1479752160).setLte(1514764799).build())
val data = Subscription.list(params.build(), requestOptions).data //empty

What are you working on?
getting subscription information for accounting software

atomic shuttleBOT
#

@devout mica pressed the 🔌 API button in #help to ask a question:

Question
I want to upload an app to Stripe marketplace and it isn't letting me do it because of the test app I already uploaded with wrong configurations

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_qBVgRbYpiOye6q?t=1711553374

What have you already attempted?
Unable to overwrite or delete.

What are you working on?
I need help either deleting the app or option to overwrite it.

#

@magic lance pressed the 🪝 Webhooks button in #help to ask a question:

Question
I need help reading line items in payment success (checkout session completed).

Related Event ID(s)
req_q1JNx5yh1uAK8T

What have you already attempted?
Passing as metadata my data to success webhook but I got 500 characters limit on metadata.

atomic shuttleBOT
#

@pure crane pressed the 🪝 Webhooks button in #help to ask a question:

Question
Webhook livemode property in event has moved

Related Event ID(s)
evt_1OyyXSQtGdpGRQFpyyNzIAki

What have you already attempted?
The webhook doesn't returns anymore in my production environment the property `livemode` at this depth `event.data.object.livemode`.

Could you confirm there was any change about it?

From my development environnment this property is still returned `event.data.object.livemode`

Thanks for help

#

@dawn rune pressed the 👍 Best Practices button in #help to ask a question:

Question
I have Platform account and multiple connected accounts in different countries.

I'd like to add Stripe fee and any other possible fees (excluding Platform Fee) on top of my user amount. Is there a way how can I do it?

Doc/Guide Links
I'm trying to hardcode the stripe fees for different countries according to the https://stripe.com/en-ca/pricing. But I don't think this is efficient.

I believe I'll ended up just putting 3% fixed on top (which is for some countries still less than Stripe fee)

What are you working on?
My Platform account is donation platform and Connected Accounts - NPOs. I'd like to pay them using Direct Charge

atomic shuttleBOT
#

@dense slate pressed the ❌ An Error button in #help to ask a question:

Error Message
Stripe::CardError: (Status 402) (Request req_wGjI9jTAYbfmiJ) Your card was declined. This transaction requires authentication

Question
How can we properly set up 3DS cards for charges that should occur at a later date?

What have you already attempted?
I've tried following guidance from this thread: https://discord.com/channels/841573134531821608/1222213337928962211

We are currently trying to authenticate the card for a later charge by creating the payment intent with off_session = true. This also fails if we create a SetupIntent before creating the PaymentIntent

Reproduction Steps
Auth a PaymentIntent with this 3DS card https://docs.stripe.com/testing#authentication-and-setup and off_session = true

What are you working on?
We are trying to enable 3DS authorization to charge at a later date. One example use case is authorizing the card before a free trial starts. Charge at the end

#

@nocturne moat pressed the 🔌 API button in #help to ask a question:

Question
List All Invoices API isn't listing pending invoices. How do I get them?

Related Request ID(s)
customer ID cus_PZhZ7tSVnd21oH, subscription ID sub_1OkYA82XRZBXnduI3hXjGe8f and Pending Invoice ID ii_1OyzTv2XRZBXnduIn2ufrOzj

What have you already attempted?
Problem

  1. I have canceled a subscription with prorate set to true.
  2. This created a Pending Invoice Item.
  3. Im trying to fetch this Pending Invoice Item via list all invoices API,
  4. Tried filtering by Subscription ID and customer ID, both of which only returned paid Invoices

What are you working on?
As per docs, I need to get Pending Invoice and associated charge to create a refund

#

@soft juniper pressed the 🪝 Webhooks button in #help to ask a question:

Question
what webhook events are enough for subscription with interval (invoice.paid and invoice.payment_failed are enough ?)

Related Event ID(s)
couldn't find event id

What have you already attempted?
i tried payment_intent events

#

@little skiff pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Subscription started with EFT as payment stay active until first payment clears (this can take up to 14 days, as per your docs and our experience)

What actually happened?
The subscription is automatically canceled after a while (it seems 24 hours), when the payment clears it comes into the subscription even if it closes

Reproduction Steps
Create a subscription, payment method EFT, payment_intent.pending arrives.
Just wait 24 hours and the subscription is canceled. Payment will arrive in 3-14 days.
The subscription is canceled

Question
How can I make the subscription to wait for the first payment more than 24 hours? EFT payment takes _always_ more than this, and we lost already good subscriptions for this one.
https://docs.stripe.com/billing/subscriptions/overview#payment-window don't seem to have any solution, but that makes EFT unusable for subs

What are you working on?
Subscriptions and donations site for a no-profit US radio

#

@dusky magnet pressed the 🔌 API button in #help to ask a question:

Question
Hello, I'm looking into how we can use subscription schedules (https://docs.stripe.com/billing/subscriptions/subscription-schedules) in our integration. Are there any docs on the recommended lifecycle with subscription schedules and how to manage it through webhooks?

Related Request ID(s)
No related request IDs

What have you already attempted?
I've already looked at https://docs.stripe.com/billing/subscriptions/webhooks#events and seen descriptions for the various webhook events listed there. However, it seems like there is still some ambiguity around what webhook event you should use for mirroring the sub. change in your own DB

What are you working on?
Looking to move our current synchronous subscription flow to a scheduled subscription flow to allow for scheduled upgrades/downgrades across multiple items

#

@trim estuary pressed the 🔌 API button in #help to ask a question:

Question
I need help confirming if we need to upgrade our Stripe.net client library and API versions to initiate unlinked refunds and process the webhooks associated with them.

Related Request ID(s)
I don't have any related request IDs.

What have you already attempted?
I've implemented the code to make requests to the Stripe API to initiate unlinked refunds. It appears we do not need an upgrade to the client library to do this. However, it appears the webhook event name "refund.updated" is not present until version 42.5.0. We are on client version 39.126.0 and API version 2020-08-27

What are you working on?
Initiating unlinked refunds and processing their related webhooks.

atomic shuttleBOT
#

@calm geyser pressed the 🔌 API button in #help to ask a question:

Question
Hi i am not clear on which postal code is used fo rthe fraud check when making a payment request. We add a shipping address for our customers through the API, then they enter a postal code on the checkout session as well. Which postal code value is used to cross-reference with the card holder zipcode on file

Related Request ID(s)
unknown what to put here

What have you already attempted?
https://docs.stripe.com/disputes/prevention/verification#avs-check
I have checked here but it is not clear which postal code is used.

What are you working on?
This is part of our main stripe project, and we are getting payment failures due to zip code check, but there is no verification block during the checkout

#

@glacial grove pressed the 🔌 API button in #help to ask a question:

Question
hello
using the python library, how can I retrieve a pi_ with all its charges?
this gives me only the first charge

stripe.PaymentIntent.retrieve(
payment_intent_id,
stripe_account=account_id,
expand=["charges.data"]
)

Related Request ID(s)
req_gAhBhmBWpJggLi

What have you already attempted?
using expand=["charges.data"]

#

@simple kraken pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Trying to setup test store and use Private and Public key to connect to development.

What actually happened?
Wants login for this to be possible (with plugin)

Reproduction Steps
Using "WooCommerce Stripe Gateway" plugin. 1st time setup

Question
Is there another way to do it?

What are you working on?
Development site to setup a store.

#

@silver geyser pressed the 🔌 API button in #help to ask a question:

Question
Hi we chatted 2 weeks ago about recurring vs one time payment methods. My checkout workflow was always creating recurring PMs and customers were confused by their bank statements saying recurring, I was instructed to omit the setup_future_usage parameter when creating a payment intent but that caused attachment errors

Related Request ID(s)
2345678923456789234

What have you already attempted?
Omitting the param caused an error when receiving webhooks. There is likely something missing in this workflow

#

@trim marsh pressed the 🔌 API button in #help to ask a question:

Question
I have to ask that while creating the usage record we had a parameter action of enum (set, increment). I have implemented both and they both responded the same way (set ) is also accumulating the usage quantity.
link : https://docs.stripe.com/api/usage_records/create

Related Request ID(s)
https://docs.stripe.com/api/usage_records/create

What have you already attempted?
I have attempted the creation of a usage record of my metered plan in my case I want it to be incremented and decremented based on the scenario. I also attempted to set it through the dashboard and it responded the same as an increment

What are you working on?
web app - solution to provide management of file

#

@ruby tendon pressed the 🔌 API button in #help to ask a question:

Question
We're being hacked by a malicious actor. I need to get info about where the requests are being made from - ex: IP, location, etc.

Related Request ID(s)
req_pXaZhaj3RliSZ0

What have you already attempted?
I've rotated our API keys, and reviewed the logs. I need to get more information to pass this to authorities.

What are you working on?
A gifting suite for customers.

#

@frozen ember pressed the 👍 Best Practices button in #help to ask a question:

Question
When creating/confirming a payment method for a Connected Account to use for inbound/outbound ACH transfers between their Treasury account and their own external bank accounts, is a mandate still necessary? If so, what mandate needs to be used since the example mandates in the Stripe docs are all payment-related?

Doc/Guide Links
https://docs.stripe.com/treasury/moving-money/working-with-bankaccount-objects#setupintents

https://docs.stripe.com/payments/ach-debit#mandates

What are you working on?
Embedded banking SaaS product using Stripe Treasury

#

@dusky magnet pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there any way to differentiate subscription changes from the `customer.subscription.updated` webhook events that are on recurring billing cycle updates?

Related Event ID(s)
we_0Lv09W3MFIk84T3n7Jz20GkW

What have you already attempted?
I see that the subscriptions associated with a schedule include that data in their webhook events. I've tried looking through the event data on both the subscription and subscription schedule, but am not seeing a way to confirm whether an update was at the billing cycle switch

What are you working on?
Looking for how to find subscription.updated events that were run from susbcription schedules on the billing cycle switchover

#

@vivid rivet pressed the 🔌 API button in #help to ask a question:

Question
We're collecting a payment method as part of a checkout session. When viewing the webhook details after the payment method is created, it looks like it's not doing any checks on the method. Is the cvc, address, and zip verification part of the checkout session creation request configuration?

Related Request ID(s)
evt_1Oz05qDl7puKas71ieywEz2t

What have you already attempted?
Looking through documentation on the configuration parameters of the checkout session request, have not been able to find anything on card verification

What are you working on?
Creating subscriptions with a payment method

#

@sharp siren pressed the 🔌 API button in #help to ask a question:

Question
Hi, is it possible to hide payment methods from the Stripe Element that are not available in the selected country?

We collect billing details first internally and then display a Stripe Element, while passing in the billing address details, but for example Klarna is still displayed for non-US customers.

Related Request ID(s)
not applicable (n/a)

What have you already attempted?
Tried passing in the billing details to the stripe element API, but methods not available in the customer's country are still shown.

#

@mystic ingot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
stripe expire. want to set to 30 min abs send to url

Question
how to set stripe expire? send to url?

What have you already attempted?
Google and stripe documents

What are you working on?
stripe checkout session

#

@split pivot pressed the 👍 Best Practices button in #help to ask a question:

Question
Would like to have user login to the system before they can subscribe using stripe pricing table

Doc/Guide Links
https://docs.stripe.com/payments/checkout/pricing-table

What are you working on?
Subscription application

#

@sacred axle pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it possible to attach an application fee to a completed Payment Intent's Charge? I have a workflow where I am confirming payment intents on the client side and I would like to attach an application fee after the payment intent is confirmed.

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges#flow-of-funds-with-fees
https://docs.stripe.com/api/charges/update
https://docs.stripe.com/api/application_fees

What are you working on?
Charging Application Fees for Client Side Payments

#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/customization

Question
I can't find anything in the guide on how to manipulate the look of the checkout other than branding. By default, it seems to be in phone mode, how do I change that? I have quite limited frontend skills so maybe im missing something?

What have you already attempted?
Read the docs above and googled a bit

What are you working on?
property management system

#

@untold thorn pressed the 🪝 Webhooks button in #help to ask a question:

Question
I updated my endpoint to accept refund.updated and create yet it is still not firing.

Related Event ID(s)
req_KJjDL9tvGGwlzf

What have you already attempted?
Updating my endpoint to accept refund events

What are you working on?
fleet mangement platform

#

@round dock pressed the 🔌 API button in #help to ask a question:

Question
I am trying to capture an application fee in a checkout session where the quantity is changeable by end users. `application_fee_amount` is in cents and is set before popping the session. I see `application_fee_percent` is an option for subscriptions. Is there any way to enable this for checkout sessions as well?

Related Request ID(s)
this_is_not_applicable

What have you already attempted?
https://stackoverflow.com/questions/67811713/how-do-i-get-stripes-application-fee-to-reflect-the-adjustable-quantity-during/67812686#67812686

This is definitely a workable solution, though much less convenient than specifying a percent

What are you working on?
we take a cut of credit purchases by students to course creators. Credit purchase amount is adjustable by students when checking out

#

@silver geyser pressed the 🔌 API button in #help to ask a question:

Question
Re-opening #dev-help message

Related Request ID(s)
1222599744379945041?

What have you already attempted?
omitting the param led to an error

#

@valid zenith pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/products-prices/pricing-models#per-seat

Question
Hey folks,

I'm trying to build a product with per-seat pricing. I've tried couple of ways but unable to achieve the goal.

I have a product with a metered pricing and a per-seat pricing, the per-seat pricing is such ( mentioned below )

What have you already attempted?
I've tried couple of ways including proration but it's not the way I want.

- The user should be charged immediately with the whole seat amount instead of prorated amount
- Upon deleting a user, the current billing cycle shouldn't have any changes but next cycle would have decreased seats

Can you help me design this ?

What are you working on?
Building a per seat pricing @ Ironforge

#

@vocal crest pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I attempted to understand code, but I gave up. I do have a Direst Suggestion for a stripe payment option.

Question
Coding is quite over my head and I have no idea about the terminology your using :(

I would love to know if Stripe is offering an (end date option) under product catalog in re-occurring subscriptions?

What have you already attempted?
Apologies if this is irrelevant, I just wanted to mention as directly as possible.

What are you working on?
I am attempting to create a product under product catalog that automatically charges my client 1x per month for 3 months only & connect to it via integration.

atomic shuttleBOT
#

@tepid crypt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
public function createSetupIntent($customerId, $stripe)
{

        $thirtyDaysFromNow = time\(\) + \(30 \* 24 \* 60 \* 60\);

        $subscription = $stripe\-\>subscriptions\-\>create\(\[
            'customer' =\> $customerId,
            'items' =\> \[\[
                'price' =\> 'price\_1LAxd9BHYS6r19T02EhtA

Question
Im using this for getting the client secret so i can create a a stripe element... when the user fill the credit card info it trigger this but is not working ->
const elements=this.elements;

        this.stripe.confirmPayment\({
            elements,
            confirmParams\: {

What have you already attempted?
Try different javascript codes

What are you working on?
Payment subscription

#

@mystic ingot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
having issues trying to set the date for expires at in .net

Question
having issues trying to set the date for expires at in .net

What have you already attempted?
multiple date time formats

What are you working on?
session expires at in session options

atomic shuttleBOT
#

@plush veldt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
jest.mock('@stripe/stripe-js', () => {
return {
...jest.requireActual('@stripe/stripe-js'),
loadStripe:
jest.fn().mockResolvedValue({'STRIPE'})
}
})

Question
Mocking Stripe Response from loadStripe call to render Elements/PaymentElement for Jest.

What have you already attempted?
I tried the solution here: https://github.com/stripe/react-stripe-js/issues/59

and overriding to hit a live server :(

What are you working on?
Stitchfix Stripe Integration

#

@outer path pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/verify-a-new-ach-direct-debit-customer-using-micro-deposits

Question
Hi all - this question is about microdeposit verification. we've got clients who operate multiple locations where each manages its own billing. sometimes locations will use a common ACH account (i.e the same account fingerprint). will that account receive a microdeposit per employer, or only one for all of them?

What have you already attempted?
- spoke with Stripe support twice, both times they confirmed that there would be a microdeposit for each customer
- my companies internal documents (composed by departed employee) contradict that
- recent test with internal accounts point to only one microdeposit, though we've only waited 24 hours and mds can take 48

What are you working on?
we operate a qualified transit program for restaurant employees

atomic shuttleBOT
#

@reef salmon pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to work around a problem with the way we are handling subscriptions - my question is, is it sufficient count our users as "subscribed" if we get the setup_intent.succeeded web hook? We are currently setting users as "subscribed" if we get the invoice.payment_succeeded, but that is problematic

Related Request ID(s)
There are no related request IDs

What have you already attempted?
I have read the API docs for the above web hooks and can't tell if it is sufficient to use setup_intent.succeeded. The problem is with subscriptions that have a promo code - the invoice gets set as paid (since it's $0) before we have obtained a valid credit card (we are using invoice.payment_succeeded)

What are you working on?
Subscriptions for our scheduling service

atomic shuttleBOT
#

@quiet coral pressed the 🔌 API button in #help to ask a question:

Question
I am getting the error "No such checkout.session: cs_live_b1aomb2jrjzdkf7coxvayetgjakazigmlbrjkdcpf72bwgmrxkqfjyj6pe" while I can actually see that this checkout session exists in stripe

Related Request ID(s)
https://dashboard.stripe.com/logs/req_U2bBJB6kThLPGH?t=1711554433

What have you already attempted?
I have tried checking if the STRIPE_SECRET_KEY was correct and it was indeed correct.

What are you working on?
SlideSpeak.co -- AI PowerPoint generating app.

atomic shuttleBOT
#

@sand musk pressed the 🧑‍💻 Code button in #help to ask a question:

Code
require 'vendor/autoload.php';
$stripe = new \Stripe\StripeClient('...');
$endpoint_secret = '...';

$payload = @file_get_contents('php://input');
$sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE'];
$event = null;
$event = \Stripe\Webhook::constructEvent(
$payload, $sig_header, $endpoint_secret
);

Question
https://dashboard.stripe.com/apps/com.n-frames.n-frames-review

I uploaded a new app to my new account.
My question is, on the test mode, when a user sets up an account through 'External test', will the user's account be added to the connected accounts list of the owner account? And what about in a live mode?

What have you already attempted?
I'm building a stripe app, and my wish is that, when a user installs the app, and when they receive a payment, my app owner account, will listen for successful payment event.

#

@knotty skiff pressed the 🔌 API button in #help to ask a question:

Question
I am trying to do the following through APIs:
1- Customer pre-pay: charge customer's credit card and put amount of money in his balance (i get the money in my account)
2- Customer buys product: i deduct customer's balance (that they already pre-paid)

Related Request ID(s)
req_Cv3FXop3w0Eftz, req_O0UDlZcbMtjPO6, req_bkA0twmZnSEBoK, req_NuYR3gHaEbxZGA, req_WnE1aR3z1MSh0o

What have you already attempted?
I used credit balance and invoices. Is the credit balance enough or doesnt it charge the customer's credit card? Should i include another API call to charge the customer in step one and get the money into my account?

atomic shuttleBOT
#

@bronze canyon pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to embed the billing information for a certain customer within our app? Likewise, embedding a table of a customer's invoices in our app?

Related Request ID(s)
None yet - haven't started setting up.

What have you already attempted?
I have already set up embedding a payment page, but can't see anything in the documentation related to either of the above (low code rather than no code is what I'm looking for)

#

@rustic wigeon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
In test mode, when Link is disabled it should not show in a Checkout session.

What actually happened?
In test mode, I disabled Link but when I create a Checkout session using a test API key the checkout session is still showing the Link payment method.

Reproduction Steps

  1. Toggled on Test mode
  2. Downloaded Python quickstart for embedded checkout
  3. Ran quickstart using test key. Link still shows as payment option up top

Question
How do I remove Link from the checkout screen?

#

@stray dirge pressed the 🔌 API button in #help to ask a question:

Question
My Payement intents don't contains any applications fees while there is a fee in the UI. Any idea where I could get the stripe fee on a payment ? -> "application_fee_amount": null

Related Request ID(s)
pi_3OyyZYAqqrWx3cPv0UAOPKnY

What have you already attempted?
I can't find any other way to access the fee and it's not in any payload.

What are you working on?
I need to extract a payment fee from a webhook without making another API request

#

@neon mauve pressed the 🔌 API button in #help to ask a question:

Question
Hello, im having issues accepting payments through my paypal integration through metforms. The keys have be imut properly but when i submit the payment it simply says "Undefined"

Related Request ID(s)
Undefined error code

What have you already attempted?
I've attempt connecting and reconnecting, Test mode, opening a new account, and just about every forum fix i have found. nothing is working

atomic shuttleBOT
#

@humble nymph pressed the 👍 Best Practices button in #help to ask a question:

Question
We want to use german vat (steuernummer) and not European vat (Umsatzsteuer-Identifikationsnummer) in our Stripe Invoicing. Is this possible?

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

What are you working on?
A plattform for influencer marketing

atomic shuttleBOT
#

@uncut bear pressed the 🧑‍💻 Code button in #help to ask a question:

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

Question
Can I include an automatic Stripe Billing Form or do I need to create my own?

What have you already attempted?
https://docs.stripe.com/payments/quickstart?client=next

What are you working on?
Simple Payment interface for digital products.

atomic shuttleBOT
#

@unreal mortar pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<div id="pricing" class="w-full">
<stripe-pricing-table id="pricing" pricing-table-id="prctbl_1Oz5ZvCb0vlBJRgsJSRMQmFf" publishable-key="pk_test_51MaA7yCb0vlBJRgsTM6jMotzagD3aCsMpdPlOD3P6XC6d3Xd1cJTas8ggZO8WLU9O0DqJE9WLxgsnNeO3lB0aXGb00SEGgbVBe"></stripe-pricing-table>
</div>

Question
What's the best why to handle the flashing white background on the Pricing Table?

What have you already attempted?
Animating the tag in to hide the leading

What are you working on?
A SaaS platform that has a price table

atomic shuttleBOT
#

@coarse wind pressed the 🧑‍💻 Code button in #help to ask a question:

Code
.addPaymentMethodType(SessionCreateParams.PaymentMethodType.US_BANK_ACCOUNT)
.addPaymentMethodType(SessionCreateParams.PaymentMethodType.CARD)

Question
When I enable both the ACH and Card payment type for a checkout session, I am unable to complete the ACH portion of the checkout on the UI

What have you already attempted?
I am using stripe connect and I am getting a stripe checkout session link on my backend. When I do not specify any payment type, the card payment is shown and it works successfully. When I specify ACH payment, that works successfully. When I specify both payment types, I am unable to complete the ACH payment on the UI

What are you working on?
Stripe Connect, allowing ach payments

atomic shuttleBOT
#

@boreal tangle pressed the 🧑‍💻 Code button in #help to ask a question:

Code
adding Apple Pay method within custom code PHP

Question
I have website built on custom code PHP custom code currently I use stripe for my merchant service within the site but I would like to add Apple Pay/Google Pay as method of payment

What have you already attempted?
For a frame of reference I read the literature on from the official Stripe website

What are you working on?
Unfortunately, this isn’t my area of expertise I’m facing a challenge as I would like to accept Apple Pay/ Google Pay as a form of payment

#

@vivid rivet pressed the 🔌 API button in #help to ask a question:

Question
We're capturing a payment method as part of starting a subscription through a checkout session. I'm not seeing a reference to the payment method in the session response.

Related Request ID(s)
cs_test_a1rVHW47lfv1MjbGmJLl4JATlAJTN7OSmBQEqMHAZmijqVRrHJHwyyZk4W

What have you already attempted?
Looked through session object

What are you working on?
Capturing payment method through checkout session

#

@pine badger pressed the 🔌 API button in #help to ask a question:

Question
I was recommended to reach out through here. my clients are having issues processing payments

Related Request ID(s)
just need payments to process

What have you already attempted?
haven’t read any docs. just got here

What are you working on?
trying to get payments processed

#

@trail glen pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/list

Question
Is there any way to get all of subscription list by current_period_end date?

What have you already attempted?
I already tried using subscription list api but i think there is no way.

What are you working on?
I'm working on finding way to get subscription list by end date

#

@azure spindle pressed the 🔌 API button in #help to ask a question:

Question
If a payment fails, such as credit card not having funds, do we receive a charge.failed event?

Related Request ID(s)
evt_1Oz7eJElX7aSAyrrs0XtEoXv

What have you already attempted?
Using fail ach payment details

What are you working on?
Self serve for customers

atomic shuttleBOT
#

@eager rune pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expecting a connected account to be complete or enabled

What actually happened?
It was enabled before but suddenly went to restricted

Reproduction Steps
Tried to re-do onboarding & verification step but couldn't figure out a way, tried to generate remediation link but it says copied to clipboard but it didn't at all, and there's no way to send the user an email

Question
Is there a way to let the user to do onboarding process again, or for every connected account that one day they're all gonna be restricted?

atomic shuttleBOT
#

@rotund nebula pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/managing-limited-inventory

Question
How to implement this for the custom-payment-flow?
Could I just create a CheckoutSession inside the create-payment-intent controller? I'd save Session ID in the db, then reserve all the items. If the customer lingers, I'd listen to the checkout.session.expired event and cancel the reserved items. Is there a better way?

What have you already attempted?
The doc would fit the "stripe-hosted page" scenario:
https://docs.stripe.com/checkout/quickstart
However, I have my own checkout page and only need the Credit/ Debit Card form, which is the "custom-payment-flow" scenario:
https://docs.stripe.com/payments/quickstart
...but the (Checkout) Session code isn't there at all?

What are you working on?
I'd like to reserve items for customers when paymentIntent is created. In case they don't pay, I'd like to make items available again to other customers.

atomic shuttleBOT
#

@tender crater pressed the 🪝 Webhooks button in #help to ask a question:

Question
If payment for subscription cycle has been failed for some reason, then the payment has been success after 5 days cause I've set retry after 5 days of previous attempt in settings. in this case when the payment will be succeed which webhook will be called?

Related Event ID(s)
I don't know what to write in this section

What have you already attempted?
Yes I've tried to catch the event in 'invoice.paid' but that's not happening

atomic shuttleBOT
#

@dry wolf pressed the 🔌 API button in #help to ask a question:

Question
How can I pass the session id in after the payment redirect URL

Related Request ID(s)
https://dashboard.stripe.com/test/payment-links

What have you already attempted?
https://dashboard.stripe.com/test/products/prod_PmJi7sDDVRzvRG

I am trying to pay. Payment is done but I want to pass session Id in my after payment redirect URL

What are you working on?
I am working on integrationg stripe subscription module in Angular and Node js Application

atomic shuttleBOT
#

@velvet geyser pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
i am using recurring billing charge. so i subscribed on feb 26 with test card. now it is trying to charge but failed and showing retrying in stripe subscription page. is test mode automatically charged recurring basis ?

What have you already attempted?
i researched for this but not getting the solution

#

@frail valley pressed the 🪝 Webhooks button in #help to ask a question:

Question
I was looking for the receipt url for a payment intent in the webhook data

Related Event ID(s)
evt_3OyvKxJX5V9XswsN0Tt7ClRi

What have you already attempted?
I want to make the receipt downloadable from my platform and not directly email it.

What are you working on?
Wallet for custoemers

#

@gentle flint pressed the 🔌 API button in #help to ask a question:

Question
I'm doing payment element integration. I'm getting the an error while testing subscription. The PaymentMethod provided (link) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card, cashapp. Alternatively, update the allowed payment_method_types for this PaymentIntent t

Related Request ID(s)
req_UiX7lFDPuzZLPf

What have you already attempted?
I don't know where to update payment_method_types. I haven't given that in my code.

What are you working on?
I'm doing payment element integration

#

@tame hare pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/create

Question
In our payment flow we want to ask users to "pay now" for their subscription while on a trial. Basically they click an upgrade CTA, enter their payment details and they get charged + their trial ends/converts to paying immediately. This is instead of waiting for a trial to end, after which they are charged.

What have you already attempted?
We've looked through the checkout/portal documentation, however there doesn't seem to be an obvious way to collect payment for a trial subscription immediately. The closest is the `subscription_update_confirm` flow but that won't allow you to change an existing subscriptions trial.

What are you working on?
We're a financial analysis SaaS app.

atomic shuttleBOT
#

@noble lantern pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I have add the money to stripe plateform then transfeered that money to connected account, then i cancelled that transaction.

What actually happened?
i am getting a message for revert amount with unexpected message

Reproduction Steps
i am not able to find from where that message taken

Question
i am getting a message for revert amount with unexpected message

#

@modern trail pressed the 🪝 Webhooks button in #help to ask a question:

Question
thanks for the reply!
I encountered 2 problems. One problem is that some refunds seem to have no charge.refund.updated callback event. I only received the charge.refunded event, but not the charge.refund.updated event;

Related Event ID(s)
Refund ID : re_3Oyv9TH6KGNmuPs600y3nWew

What have you already attempted?
I don't seem to have this problem in test mode, but it does in real mode and I'm not sure why.

#

@vagrant ibex pressed the 🔌 API button in #help to ask a question:

Question
I need to receive a webhook event after a new source is added to a client's account. but this webhook is missing in list of available events in webhook settings

Related Request ID(s)
https://docs.stripe.com/api/events/list

What have you already attempted?
follow the documentation

atomic shuttleBOT
#

@eternal geyser pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/discounts

Question
How does the customer apply a promo code on the Checkout interface?

What have you already attempted?
I was expecting a field on the Checkout interface for the customer to add a promo code, but I can't find it and I can't see how to activate it.
I did see that it could be added when the session is created, but that's not what I want.

#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/using-metadata-with-checkout-sessions

Question
Metadata is not being set in my checkout sessions' "paymentdata_metadata" field

Event id: "evt_1OzElaGPWwmX339co7OI80T7"

What have you already attempted?
I've tried setting the metadata in multiple things and asked for advice here

What are you working on?
Property management system

#

@fleet forum pressed the 🔌 API button in #help to ask a question:

Question
Is it possible with the React Native SDK to provide a PaymentIntent or capture a PaymentMethod from an existing customer on a Standard Connect account?
On the web, I create a CheckoutSession and everything is great.
When I attempt on the SDK im met with PI does not exist as its created on my account on the SDK.

Related Request ID(s)
req_iB6dZ9YTD0yI9d, req_FWwcTnfTrJLH55, req_BlDUgs1VVyTA15, req_uO8H3F1RtGXIiW, req_rHke4v6Cgkyx8V

What have you already attempted?
I have attempted capturing PM with the SDK and assigning it to the charge ServerSide, Creating an invoice on the Server and returning the PI secret to the client.

What are you working on?
A Mobile app that users can purchase directly from the merchants, The platform only takes a small application fee and the merchants own the data for everything.

atomic shuttleBOT
#

@dreamy burrow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Checking the availability of google pay

Question
I need a way to simply know whether google pay is available before I render our payment method selection. We use a radio button based selection which doesn't quite fit with how the react button works - and I haven't found anything matching ApplePaySession.canMakePayments() for GP.

What have you already attempted?
Google. All the solutions I find seem to be predicated on a more direct implementation of google pay rather than one wrapped by stripe.

What are you working on?
Purchases of written media.

#

@valid zenith pressed the ❌ An Error button in #help to ask a question:

Error Message
Unexpected Error {"error":"Stripe: Argument "subscription_exposed_id" must be a string, but got: null (on API request to `GET /v1/subscriptions/{subscription_exposed_id}`)","method":"POST","url":"http://localhost:8080/webhook/stripe"}

Question
I'm trying to create an invoice for an active subscription.

and in this invoice I'm adding an invoice line item which a one_time pricing.

What have you already attempted?
I've tried to create invoice separately but fails to add to the subscription.

Can you help me out in what's going wrong?

Reproduction Steps
I'll attach in the chat below.

#

@sleek phoenix pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
During a subscription checkout split between our platform and the Express account connected, we have set up a calcul on the amount of: Net amount = ( Payment Amount (excluding VAT) ) - ( Total amount (including VAT if applicable) x 7% )

Then we want to transfer 80% of this Net amount to the Express account connecte

What actually happened?
the amount transferred to the Express account connected is : Total amount (including VAT) x 80%

Reproduction Steps
The express account chooses its subscription price, depending on the final customer country VAT is applicable with Stripe Tax, we have set up 7% fees on the total amount that is deducted to the payment amount (excluding VAT), then transfer 80% of this net amount to the express account. The remaining amount goes to us.

Question
we are in a cross border and checkout configuration with Express connected accounts. In test mode, our configuration works well, but in live mode, the transferred amounts to the express accounts are wrong and don't take into consideration our calcul in the code. We would like to know what's wrong here

What are you working on?
we are building a subscription platform

#

@glacial spruce pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected to update "next_invoice_sequence" property from 0 to 1 on a customer.

What actually happened?
The "next_invoice_sequence" value on customer doesn't update. After a successful api call, the value is still 0

Reproduction Steps
Use .NET SDK version 43.20.0. Create a CustomerService object, then use it's UpdateAsync method to update next_invoice_sequence, like so:
await customerService.UpdateAsync(CUSTOMERID, new() { NextInvoiceSequence = 1 });

Question
Is this a known bug? Is there some other way I can force that property to be updated?

What are you working on?
My company is sometimes issuing invoices manualy. I want to update next_invoice_sequence when that happens

#

@regal bloom pressed the 🪝 Webhooks button in #help to ask a question:

Question
In test mode, when advancing the time clock for a subscription that is past due and is currently retrying a payment, when retries stop, we never receive a `subscription.updated` event for the switch to `Cancelled` subscription status

Related Event ID(s)
evt_1OzFMnJ54lNDIU9B5dMRlTNd, evt_1OzFHxJ54lNDIU9Bb095jnGx

What have you already attempted?
We are not sure why this event has not been sent, even though we see the subscription (sub_1OzFCdJ54lNDIU9BFRL9DUwr) as cancelled.

#

@foggy vault pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const bankAlreadyExist = customer.listsource.find((paymentMethod) => {
return (
token.retrieved,.bank_account.fingerprint === paymentMethod.fingerprint
);
});

Question
How to check if new bank i am about add is not already present for customer of connected account in stripe. (Should I should fingerprint or id of bank)

What have you already attempted?
I am using fingerprint for now. But In test mode, stripe always has same fingerprint so, I am not able to add two bank account for testing purposes

atomic shuttleBOT
#

@hazy jacinth pressed the 🔌 API button in #help to ask a question:

Question
I'm working on subscription plans, and we have Stripe integration for that purpose.
I want to use Customer Portal to allow users to manage their plan (upgrade plan etc.). I have a requirement that users should be allowed to only upgrade plan, but not downgrade. Is there a way to achieve this with Customer Portal?

Related Request ID(s)
No related request Ids

What have you already attempted?
I went through Stripe docs, stack overflow and tried to simply google my question.
Also tried to configure it in Stripe account  - Settings -> Billing -> Customer Portal.

What are you working on?
Web app with subscription feature for users

atomic shuttleBOT
#

@night oxide pressed the 🔌 API button in #help to ask a question:

Question
we have a coupon code is showing ```inactive``` on stripe dashboard but from the stripe API its returning the field isValid: true

Related Request ID(s)
promo code id - promo_1OwgbDEUdH8iAtR7FaYiB8wj

What have you already attempted?
reproduced the issue on staging implementation

What are you working on?
we added stripe coupons on our webapp

#

@mellow sentinel pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-methods/bacs-debit?locale=en-GB#refunds

Question
GB Direct debit payments are a delayed payment method; take 3 business days to complete.

At what point during these 3 working days can a payment intent be cancelled without the funds getting debited and then reimbursed days later? Am I correct that we'd use the "Create a refund" API to cancel under these circumstances

What have you already attempted?
Reading the guide on BACS direct debits

#

@ornate bough pressed the 🔌 API button in #help to ask a question:

Question
Created a token and passing tokenId to create a payment method and attaching to customer. but if I make it default to use that card. in Checkout object still asking for card details. Able to see card Name in checkout object.

Related Request ID(s)
req_lrrU0ggBx5aYOS?t=1710501275

What have you already attempted?
Created a token and passing tokenId to create a payment method and attaching to customer. but if I make it default to use that card. in Checkout object still asking for card details. Able to see card Name in checkout object.

atomic shuttleBOT
#

@meager hedge pressed the ❌ An Error button in #help to ask a question:

Error Message
XHROPTIONS
https://checkout.stripe.com/c/pay/cs_test_a156sKkkz8qPMV91w00DXdDPY5FRo4AS2LfxH3QhpIo1XDOqXtfoA7bLqO#fidkdWxOYHwnPyd1blpxYHZxWjA0SnBPX29HMWNvZEkwZnJgck1oZEFfQ0tkUG5cN3A9MDQ3b0BtdkRpPTNNaktEQkhwbjFgZFJPMTZ2XU1RY1doXDB8X04xTz1pVXJWfFRUMURMNUloYDA2NTV1UF9uNE1VNCcpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGti

Question
I have CORS issue whereas my app use cors()

What have you already attempted?
i generate the checkout session but i couldn't redirect on the client side

What are you working on?
node js express and html js

#

@floral temple pressed the 🔌 API button in #help to ask a question:

Question
We have a connect account with an issued card who is trying to get an SMS Pin reminder, but they haven't received as they're opted out of receiving stripe SMS (according to response from api request). How can we opt them back in - and how can we see if someone is opted in/out for future cases.

Related Request ID(s)
req_iyU76mU0hmBCvG

What have you already attempted?
Checked phone number is correct, checked the request to stripe was being sent through correctly, etc.

#

@smoky pasture pressed the ❌ An Error button in #help to ask a question:

Error Message
Cannot onboard via express oauth due to gated access

Question
I am using the same code that I have been using, yet I am getting this error, not sure why.

What have you already attempted?
I have already set client id, stripe keys, etc.

Reproduction Steps
When trying to connect an account , I get this error message

What are you working on?
Connect Express accounts

#

@final kiln pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$paymentStatus = $stripe->paymentIntents->confirm(
$paymentIntentId,
[
'payment_method' => 'pm_card_visa',
'return_url' => $YOUR_DOMAIN,
]
);

Question
I need to be able to verify the payment, but the test code doesn't work on live code

What have you already attempted?
I've tried to retrieve the payment method id based on the session and payment intent, but it's not working

What are you working on?
I'm building an online store for someone, and it includes payment per digital product, membership, and messages

#

@boreal tangle pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Integration of Apple Pay within payment portal

Question
Seeking support on the integration of Apple Pay as method of payment I’ve assumed this task wouldn’t be complex or near impossible for a novice so I’m seeking support from an expert

What have you already attempted?
connecting with the stripe support YT channel and community forms

What are you working on?
Configuration of Apple at check out

#

@tough sentinel pressed the 🔌 API button in #help to ask a question:

Question
Why are payments classified as unauthorised if they are made via the API? What happens to the transaction fees when a refund is executed by Stripe?

Related Request ID(s)
req_sFVquy6zPatnkv

What have you already attempted?
Everything worked perfectly in test mode. In live mode with real customers, both SEPA direct debits and credit card payments are classified. A payout is not possible. The support does not answer concretely.

What are you working on?
A Pretix instance for an association.

#

@supple solar pressed the 🧑‍💻 Code button in #help to ask a question:

Code
let res = await confirmPayment(clientSecret, {
paymentMethodType:'Card',
paymentMethodData: {
billingDetails:billingDetails,
},
redirect:false;

        }\)

        console.log\(res\);

Question
the res is printing this ->
{"error": {"code": "Failed", "declineCode": null, "localizedMessage": "", "message": null, "stripeErrorCode": null, "type": null}}

What have you already attempted?
everything in docs i

What are you working on?
react native expo and spring boot

#

@azure hemlock pressed the 🔌 API button in #help to ask a question:

Question
I've set up a BBPOS WisePOS E device with and been successful interacting with it from the API side, sending payment_intents, cancelling actions, etc. However, I wanted to know is there any way to cancel the action from the device itself? Im imagining if power goes out or someone closes the tab without cancelling.

Related Request ID(s)
This is not applicable I guess?

What have you already attempted?
Searched through the docs and have yet to find anything.

What are you working on?
Events Management Platform

#

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

Error Message
I am not a user of your app. But I was asked to help and send you this message.

Question
I am writing to bring to your attention an issue I am facing with my account login. My registered phone number with Stripe is +971585361631, which is an Arabic phone number. However, I am not receiving any login messages on this number to access my dashboard. Could you help me?

What have you already attempted?
I didn't make any attempts

atomic shuttleBOT
#

@bright holly pressed the 🔌 API button in #help to ask a question:

Question
Hi,
I would like to add a fee to a checkout session. We have recently implemented a fee that is applied if the order is under the minimum order value, so the user can still opt to checkout. I have not found an option to add custom fees anywhere.

Related Request ID(s)
ifhsifhskdjskjhdks

What have you already attempted?
Checked the docs and google.

What are you working on?
Platform for local retailers in germany

#

@golden gale pressed the 🧑‍💻 Code button in #help to ask a question:

Code
intent = stripe.SetupIntent.create(
customer=stripe_customer_id,
payment_method_types=[
"card",
"us_bank_account",
],
usage="off_session",
automatic_payment_methods={"enabled": True, "allow_redirects": "never"},
)

Question
I get this error on when I try to run that code:
_message:
'You cannot enable `automatic_payment_methods` and specify `payment_method_types`.'

What have you already attempted?
I'm trying to get a simple proof of concept working. I want a front end page that captures either cred card OR bank account info on the front end, and save that as a payment method attached to a customer for later use on a nightly billing job (i.e offline, no customer interaction)

What are you working on?
collect payment_methods (incl bankaccounts) for nightly payment job

#

@fast isle pressed the 🪝 Webhooks button in #help to ask a question:

Question
The Stripe test account is sending data to deleted webhooks

Related Event ID(s)
evt_3OzD3xBTWzk4a0Ig0NT4icrh

What have you already attempted?
Already tried to reattempt creating new webhooks

What are you working on?
Payment Intent aut-and-capture

atomic shuttleBOT
#

@native lake pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi !

I'm trying to integrate Subscription with asynchronous payment method (SEPA transfer).

I want to activate customer's subscription only when the payment is completed

I would like to know wich webkooks listen to do that

Related Event ID(s)
evt_1OzIU5H9aD4p34wjuf4xsKyV, evt_1OzIU5H9aD4p34wj7QOxn2iE

What have you already attempted?
- create a checkout session with customer ID and subscriptionId
- use AT321904300235473204 test account Number
- When the customer validate this account Number, I receive a customer.subscription.created event (status=incomplete). Immediatly after that, I receive a customer.subscription.updated with statut = active

#

@sleek phoenix pressed the 🔌 API button in #help to ask a question:

Question
we have a problem in the transfer calculation to the Express connected account.
we have stripe tax and are in Exclusive. but the problem is that the VAT seem to be transferred to the Express account while it should be excluded from our calculation to the transfer and should remain in the platform account as VAT collect

Related Request ID(s)
pi_3OzFjuG1RCiQG6Zk1Rv2UoYu

What have you already attempted?
we are trying to transfer to the express account, an amount calculated on the net amount (excluding VAT) but it always takes into account the VAT for the amount transferred

What are you working on?
building a subscription platform

#

@fathom sky pressed the 👍 Best Practices button in #help to ask a question:

Question
how can I show the discounts we are making over the original amount we are using for creating a Checkout

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

What are you working on?
Trying to show the discount amount on checkout view. This discount is not a coupon or promotion code

#

@plush quartz pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/cash-app-pay/accept-a-payment

Question
As the cashier, in a face to face transaction, how do I accept Cash App payments on a react native app we have built to use terminal devices (M2, etc)

What have you already attempted?
We have the Cash App function added, but right now on mobile it tries to launch the devices Cash App app. But I need to display a QR code (similar to desktop) for the customer to scan with the Cash App app on THEIR device.

#

@sweet solar pressed the ❌ An Error button in #help to ask a question:

Error Message
{

"error"\: {

    "message"\: "Terminal is currently only available in certain countries. For more information, see https://stripe.com/docs/terminal.",

    "request\_id"\: "req\_aAyTE7fDJTF1pA",

    "code"\: "no\_code"

}

}

Question
I'm a developer integrating Stripe Terminal for a German Client to be used in Germany. I am Based in India, How can I test and develop the solution so I can Release it for my client?

What have you already attempted?
Looked into the documentation.

Reproduction Steps
https://api.stripe.com/v1/terminal/readers?limit=100&compatible_sdk_type=js&compatible_sdk_version=1.3.2

What are you working on?
Integrating a Stripe Solution for my flutter application

atomic shuttleBOT
#

@ruby swan pressed the 🔌 API button in #help to ask a question:

Question
I have backend in python flask which making the payment intent, I do not want accept debit card as payment method.

Related Request ID(s)
req_X6OKYgzzlZ0RgN

What have you already attempted?
No, we have not done any modification. Please help us regarding this issue.

What are you working on?
We have backend written in python flask, we have already integrated stipe for payment. Now we do not want to accept debit card as payment method.

#

@final kiln pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$stripe->paymentIntents->confirm(
$paymentIntentId,
[
'payment_method' => 'pm_card_visa',
'return_url' => $YOUR_DOMAIN,
]
);

Question
I need to get the pm_card_visa that is generated by stripe for live environment

What have you already attempted?
I understand this is not possible without webhooks? I've tried to get it using payment intent, with no luck

What are you working on?
I'm trying to confirm the payment before giving the client any access.

atomic shuttleBOT
#

@night wave pressed the 🔌 API button in #help to ask a question:

Question
I want to make a payment through card to the platform account in US so we create a charge for this payment in US but we also want to transfer money to the connected account in UK.
we were exploring seperate charge and transfers rather than destination charges as we want to keep both the flows seperate.

Related Request ID(s)
this is not for us

What have you already attempted?
my question is if I send the money in transfer to cross border connected account. is it allowed

What are you working on?
Working on payment from user to platform and connect account

atomic shuttleBOT
#

@golden gale pressed the 🧑‍💻 Code button in #help to ask a question:

Code
verification_method="instant",
payment_method_options={
"us_bank_account": {"verification_method": "automatic"}
},

Question
I'm getting an exception as follows
Received unknown parameter: verification_method', param='verification_method'

even though I got that option from here: https://docs.stripe.com/api/setup_intents/create#create_setup_intent-payment_method_options-us_bank_account-verification_method

What have you already attempted?
https://docs.stripe.com/api/setup_intents/create#create_setup_intent-payment_method_options-us_bank_account-verification_method

What are you working on?
capturing payment methods for offline processing

#

@azure fog pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Touch inputs should register on the S700 appropriately

What actually happened?
Touch inputs are registering with a delay of one event - when a user presses a button, the touch event registers on the previously touched button.

Reproduction Steps
Behaviour is fairly inconsistent. The app is written in Jetpack Compose, and does not exhibit the same issues on a tablet running vanilla android. Issue was first reported on March 17th.

Question
The reader software version is 2.20.4.0. We did not introduce any changes that correspond to this behaviour. Video will be attached. How can we resolve this?

What are you working on?
Point of sale app for restaurants

#

@undone iron pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$stripe->billingPortal->sessions->create([
'customer' => $stripe_id,
'return_url' => $actual_url,
'configuration' => [
'features' => [
'subscription_update' => [
'default_allowed_updates' => [
'price',
],
],
],
'plans' => [
[
'id' => $id_basic,
'name' => 'Basic'
],
[
'id' => $id_plus,
'name' => 'Plus'
],
],
],
]);

Question
On the page I manage 2 types of accounts with 2 types of different subscription plans, is there a way to configure the plans for the portal billing sessions with the price_id?

What have you already attempted?
change the plans from the billing portal configuration in the pricing table configuration

What are you working on?
a social network/marketplace style page for construction workers

atomic shuttleBOT
#

@cobalt lion pressed the 🔌 API button in #help to ask a question:

Question
Im using stripe elements in laravel, but i cant seem to separate the inputs i.e card, expire etc.. also they do not have boarders

Related Request ID(s)
not sure what this line means

What have you already attempted?
using a theme i.e stripe

#

@vital wind pressed the 🧑‍💻 Code button in #help to ask a question:

Code
pricingtable background-colour

Question
The dashboard forces a background colour but is there anyway to make this transparent so it uses my sites background colour?

What have you already attempted?
I tried using the class selector but it doesnt work as the table is inside a iframe

What are you working on?
Subscription page on website

#

@warm pagoda pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi

i want to block money but at 99% i will not capture the funds.

did i have the right to do that ?

Doc/Guide Links
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
i have a ticket marketplace. I want people think i can took money if they don't deliver the ticket they sold on my marketplace

#

@desert haven pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hello! I am creating subscriptions using Subscription Schedules, to offer an intro price for a limited time and then move to the subscription price.

I am giving users the possibility to handle their subscriptions through the customer portal, and I expected them to be able to cancel the subscription as usual from there

What actually happened?
The customer cannot cancel the subscription from the portal unless we first release the schedule programmatically.

Reproduction Steps
Create a subscription through Subscription Schedules, and then visit the customer portal as the user who created it.

Question
How can I give users the possibility to cancel the subscription from the portal? Is there a specific setting to enable?

Thank you!

atomic shuttleBOT
#

@forest night pressed the 🔌 API button in #help to ask a question:

Question
Hi, I'd like to remove the country and postal code from the payment element.

Related Request ID(s)
I don't see this particular error in the logs in the dashboard

What have you already attempted?
When I set billingDetails to 'never', I get an error saying I have to pass that info in via confirmPayment. Is it not possible to avoid asking for zip code and country?

What are you working on?
I'm building a checkout page, hopefully without asking for zip code and country

atomic shuttleBOT
#

@wary umbra pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const invoice = await stripe.invoices.retrieveUpcoming({
customer: stripeCustomerId,
subscription: subscriptionId,
subscription_items: items,
subscription_proration_date: proration_date,
});

Question
Using Stripe's API to handle subscriptions: when a customer currently on a "Basic' level subscription plan wants to upgrade to a 'Premium' one, we invoice them right away by initiating a new billing cycle and prorating any differences. How can we obtain the amounts the customer would pay if they decide to upgrade?

What have you already attempted?
I've been trying to configure the stripe.invoices.retrieveUpcoming(), but it doesn't quite return the accurate amounts.

What are you working on?
We are building subscription based online product.

#

@pastel stone pressed the 🔌 API button in #help to ask a question:

Question
Hi, my customer had his first recurring payment (subscription cycle) and it seems to have retried like 6 times after that in the space of 10 mins and I can't figure out why, I don't think it's come form my end

Related Request ID(s)
pi_3OxC02AjtNFaRAYo0bkyqQqS

What have you already attempted?
I've checked my database/code for why this is the case but I believe subscription_cycle payment are stripe initiated

#

@eternal sky pressed the 🔌 API button in #help to ask a question:

Question
Can't create a checkout session.

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

What have you already attempted?
Cards are already enabled as a payment method.

What are you working on?
Setup a new account for Japan market

#

@manic slate pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best way to dynamically update the application fee for a CheckoutSession after it has been paid?

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-application_fee_amount

https://docs.stripe.com/connect/charges

What are you working on?
Our application fee changes depending on the payment method, but when we build a CheckoutSession we don't know what it is until the user pays.

atomic shuttleBOT
#

@tropic wyvern pressed the 👍 Best Practices button in #help to ask a question:

Question
How can I save the payment method used during a subscription?

I would like to have the ability to do the attachment of the paymentMethods made during customer subscription, which it currently does not do because it is set in the default_payment_method field. How can I make the save?

Doc/Guide Links
I followed the following documentation for subscription integration: https://docs.stripe.com/billing/subscriptions/buil. After following step by step, I noticed that the paymentMethods is implemented, beyond the invoice thanks to the "on_subscription" parameter. However, this does not absolve what I want to implement.

What are you working on?
I wonder if there is an easy way to implement saving, instead of leveraging the webhook to manually attach the paymentMethod to the customer

atomic shuttleBOT
#

@round dock pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there a way to split connect/account webhooks in the cli? I process checkout.session.complete in both which causes some overlap locally

Related Event ID(s)
not_applicable_asd

What have you already attempted?
Right now I have two endpoints using the same secret, and will exit based on metadata in the checkout sessions. This definitely works fine, but wanted to make sure I wasn't missing something in the CLI

atomic shuttleBOT
#

@remote helm pressed the 🧑‍💻 Code button in #help to ask a question:

Code
SessionCreateParams params = SessionCreateParams.builder()
.setMode(SessionCreateParams.Mode.SUBSCRIPTION)
.addLineItem(SessionCreateParams.LineItem.builder().setPrice(priceId).setQuantity(1L).build());

Question
I am following the guide for building a subscription integration found on stripe's website. My problem is that when I try to set the price field I am getting an error, "The method setPrice(String) is undefined for the type SessionCreateParams.LineItem.Builder"

What have you already attempted?
I am following the guide to a T and have gone through the documentation for SessionCreateParams.LineItem.Builder.setPrice and cannot find any indication of why this error is occuring.

What are you working on?
I am working on an app for a gym owner and am currently working on integrating stripe payment processing.

#

@frail rock pressed the ❌ An Error button in #help to ask a question:

Error Message
{"name":"TypeError","message":"Cannot read properties of undefined (reading 'dispatch')","stack":"TypeError: Cannot read properties of undefined (reading 'dispatch')\n at elementUnmounted (https://js.stripe.com/v3/fingerprinted/js/controller-2aa04b3c46ea0be488eb0c29cb339810.js:1:667712)\n at https://js.stripe.com

Question
Recently, in just the last day or two, our dev tests have started to intermittently fail. We traced it down to the JS code that stripe is loading.

What have you already attempted?
This seems to be something that changed recently within stripe.js, so I'm not sure what we could do to address it.

Reproduction Steps
Unfortunately I don't know how to give any good reproduction steps, because this happens within our test suite at work. But, I can say that it seems to happen when loading the page and very quickly using it.

atomic shuttleBOT
#

@fading garden pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best practice to instantly know if the stripe payment is actually made.

I want my customers use our platform only after they made actual payment. (not include the failed, cancelled payments)

Doc/Guide Links
I was using Stripe webhook events to manage subscription of my productions.
I used "invoice.paid" event on my webhook listener to know if the customer made payment or not.

I think the "invoice.paid" is not useful for my new logic since it's updated as successful around 1 hour later of "customer.subscription.created"

What are you working on?
Can I use "customer.subscriptoin.created" event for this purpose to instantly know if the payment is successful? Or what's the best practice?

#

@feral stirrup pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a question about the workflow for taking payments for a subscription. In everything I have read you must create a subscription for a customer BEFORE you accept a payment for it. What happens if the customer aborts (stops at the payment screen)? You now have an orphaned subscription and unpaid invoice. Thanks

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

What are you working on?
Implementing payments for a subscription

atomic shuttleBOT
#

@jade trench pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there a way to set a threshold for payment failure when I create a subscription schedule? I am creating a subscription schedule so that I am able to have the 1 hour delay

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

What are you working on?
Preventing users to have access to a subscription if they have a payment failure on new subscriptions

atomic shuttleBOT
#

@fierce fern pressed the ❌ An Error button in #help to ask a question:

Error Message
previous payments or payouts with this account have failed. Please double-check the account details, and contact us via https://support.stripe.com/contact if you think this is in error.

Question
I am trying to set up my strip account for my whatnot account to get paid but I'm having trouble with that message and that is the only bank account I have to get paid.

What have you already attempted?
i have tried logging in and then putting my verification close then clicking on the whatnot link and then just says it has expired and its not working

atomic shuttleBOT
#

@heady rain pressed the 👍 Best Practices button in #help to ask a question:

Question
How can I forward tax liability to the platform, but have the products be in the Custom Connect account? Using Payment Links.

Doc/Guide Links
https://docs.stripe.com/tax/tax-for-marketplaces

What are you working on?
We sell merchandise on an organization's behalf, and if they want to increase prices, the difference should kick back to them.

atomic shuttleBOT
#

@weary otter pressed the 🔌 API button in #help to ask a question:

Question
What does “valid” mean here and how/when is the validation done?
https://docs.stripe.com/tax/checkout
"... see whether or not a customer’s saved addresses are valid by checking the customer’s customer.tax.automatic_tax property ... it means the customer’s saved addresses are valid ..."

Related Request ID(s)
generic question. no specific request ids

What have you already attempted?
Blurb does not sound like its describing address verification service (AVS) because AVS is about comparing billing address w/ the card’s address on file while the customer’s `customer.tax.automatic_tax` property appears to be related to the customer’s address only and does not account for the customer’s card(s).

What are you working on?
Billing customers on a subscription basis. Some customers we need to charge tax on.

#

@fervent apex pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to transition customers from my account to connected accounts (I've just transitioned from Desintation Charges to Direct Charges) - is there a way to easily transition existing subscriptions without forcing customers to do anything like resubscribe?

Doc/Guide Links
https://support.stripe.com/questions/copy-existing-account-data-to-a-new-stripe-account

What are you working on?
Gitwallet: A business builder for Open Source - www.gitwallet.co

atomic shuttleBOT
#

@weak pike pressed the 👍 Best Practices button in #help to ask a question:

Question
I’m just trying to sell digital art but stripe never works I’ve lost 1000’s because they keep closing my accounts

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

What are you working on?
trying to get verified that’s all.

atomic shuttleBOT
#

@inland arrow pressed the 🔌 API button in #help to ask a question:

Question
hello! I’m stuck with WHMCS module for Stripe. API embedded server side integration. can not migrate to Dinamic mode (can not delete payment method types).
and wallets are not shown…
can somebody help me? please

Related Request ID(s)
I don’t know any related requests

What have you already attempted?
updated api , contacted support, checked all on server, updated new files from githab….same point

What are you working on?
WHMCS web hosting . trying to add wallets to my Checkout

atomic shuttleBOT
#

@rich inlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
So the user did many chekcout on our website , but one of the selling is weird

What actually happened?
what happen is that he bought two same subscription 10 second one after each other , I want to know if its a problem on my flow , can you help me to figure out if there is a problem in what you see on customer logs please ?)

Reproduction Steps
i didnt succeed to do it again

Question
is what happend normal or not , maybe the user used two tabs in the same time so we don't know

atomic shuttleBOT
#

@proper epoch pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const { error } = await initPaymentSheet(data);
if (!error) {
openPaymentSheet()
}
const openPaymentSheet = async () => {
const { error } = await presentPaymentSheet();
...

Question
await presentPaymentSheet(); does not resolve i.e. show the sheet or produce an error on iOS. Instead nothing happens. If I add a timeout, say 250 ms, it works as intended.

What have you already attempted?
As mentioned, the timeout alleviates the issue. The code works as intended on android, or by adding a 250 ms timeout to the openPaymentSheet function call.

What are you working on?
Building a checkout for a client.

#

@viscid pilot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Terminal.shared.cancelPaymentIntent(paymentIntent)

Question
In the iOS Stripe Terminal SDK, is there something that must be called before attempting to call the SDK method cancelPaymentIntent? I am testing stripe terminal hardware for physiotherapy clinics and this is the final piece and the cancel payment intent is not working from the SDK for some reason.

What have you already attempted?
iOS Stripe Terminal SDK. I am facing an issue with the cancelPaymentIntent SDK call not executing properly as expected. I have a full Stripe Terminal Manager class for my iOS code. payment intent life cycle flow to execute these 3 SDK calls in sequence:
createPaymentIntent
collectPaymentMethod
cancelPaymentIntent

What are you working on?
Phyiostherapy Clinic iOS 17 SwiftUI Full Stack Application

atomic shuttleBOT
#

@warm stag pressed the 👍 Best Practices button in #help to ask a question:

Question
How can I have a billing address and a billing account different for many subscriptions? I'm building a SASS, and the same user (stripe costumer) may have multiple organizations, in each one he may have a subscription. As far as I can see, the billing address is the same for all, and the billing is "merged" across.

Doc/Guide Links
https://docs.stripe.com/billing/subscription-resource

What are you working on?
SASS where costumers buy subscription plans in different organizations (companies).

atomic shuttleBOT
#

@gusty elm pressed the 🔌 API button in #help to ask a question:

Question
I am integrating with Stripe to handle credit card payment for my portal. My portal is a cloud property management portal, where tenants can pay rent online.
I would like for tenant to be able to link their credit or debit cards to my connected account, and then manually or automatically pay rent with that linked card.

Related Request ID(s)
nanananananananana

What have you already attempted?
Read the docs, can't find the API i needs

atomic shuttleBOT
#

@cerulean spear pressed the 👍 Best Practices button in #help to ask a question:

Question
How do I see my Tax threasholds and registrations? I'm an admin in 2 accounts but only see the tabs in the Tax section in on of them

Doc/Guide Links
https://docs.stripe.com/tax/monitoring

What are you working on?
using payment forms on one site a uk card payment seems to be triggering the vat threashold but in another account it doesnt

atomic shuttleBOT
#

@glacial scroll pressed the ❌ An Error button in #help to ask a question:

Error Message
"message": "An error occurred while processing your card. Try again in a little bit."
"type": "card_error"

Question
One of our Stripe Connect users has been experiencing this error across multiple customers and continues to experience this error after retrying the payment multiple times.

What have you already attempted?
The user has retried the payments multiple times for each customer and across a period of a few days with no success.

atomic shuttleBOT
#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
Hello, I create a subscription with checkout.session.create API, now If I want to upgrade my subscription plan, I will use stripe.subscriptions.update. Okay but how will I take money from customer.
e.g. for creating subscription I use checkout.session.create
but for updating subscription which payment method to choose?

Related Request ID(s)
I don't know what to write in this section

What have you already attempted?
I have no idea how to do it

#

@slate moss pressed the 🔌 API button in #help to ask a question:

Question
Hello Team,
i just want to payment success after my subscription trial ended.
but for items in subscrition it is working now need to do this same things for add_invoice_items how can i achieve this as my add_invoice_item is only one time price and itesm are recurring item

Related Request ID(s)
this is my request id for subscription creation with add_invoices items, req_LTVuHgJdNldg7w

What have you already attempted?
return await stripe.subscriptions.create({customer: customerId,description: description,items: items,...add_invoice_items,payment_behavior: payment_behavior,payment_settings: payment_settings,trial_end : currentDate, expand: ['latest_invoice.payment_intent']});

atomic shuttleBOT
#

@winged dagger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Finish the payment of apple pay

What actually happened?
apple pay failed when test payment in APP

Reproduction Steps
order:pi_3P0xd2HiYvn8ZIke08GHSlNA
pi_3P0xcmHiYvn8ZIke13tlHQuX
click payment but report payment failed

Question
we want to know what happened in this error. we cannot check the logs

What are you working on?
an auto car washing app. customer can pay the order by apple pay and google pay.

#

@fallen blade pressed the 🔌 API button in #help to ask a question:

Question
we are tying to give Co-badged cards compliance to our plugin for stripe integration. we have done everything mentioned as necessary in the document provided. but still the icon or option to switch net work is not shown. we are using card elements. icon is rendered by stripe.

Related Request ID(s)
req_VLqWu8U971ZerD

What have you already attempted?
we have done everything mentioned as necessary

#

@carmine briar pressed the ❌ An Error button in #help to ask a question:

Error Message
Error retrieving payment lists: StripeInvalidRequestError: Received unknown parameter: connected_account

Question
I want to know the transactions and amount like recieved , total amount , etc for a stripe account which I onboarded.

What have you already attempted?
Tried the API and docs from the stripe.

Reproduction Steps
This is the code.
const payments = await stripe.paymentIntents.list({
limit: 10, // Example: limit to 10 payments
connected_account: account.id // Filter payments by onboarded account ID
});

atomic shuttleBOT
#

@frail valley pressed the 🧑‍💻 Code button in #help to ask a question:

Code
response = PaymentIntent().list(body=params)

Question
I am looking for payment intents for a particular customer, but the problem is that i am getting all the payment intents at the same time, i just need the payment intent that are not part of subscription.

What have you already attempted?
I have attempted to retrieve the payment intents

What are you working on?
wallet for customers

atomic shuttleBOT
#

@near needle pressed the 👍 Best Practices button in #help to ask a question:

Question
We can use stripe dashboards for connected accounts. According to the docs we should have an instance of the customer for every connected account. In this case, we won't be able to utilize customer portal because there will be multiple customers for one user. Is there some other way to use stripe components for this?

Doc/Guide Links
https://docs.stripe.com/connect
https://docs.stripe.com/connect/enable-payment-acceptance-guide
https://docs.stripe.com/invoicing/customer
https://docs.stripe.com/payments/payment-methods/connect
https://docs.stripe.com/no-code/customer-portal
https://docs.stripe.com/customer-management/configure-portal

What are you working on?
Hi. We're working on a platform with connected accounts and customers and invoices between them and we want to utilize stripe components.

atomic shuttleBOT
#

@night oxide pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/co-badged-cards-compliance

Question
hey, is there a deadline for updating my stripe integration to comply with the co badged cards

What have you already attempted?
Checked the above link and it doesn't mention deadline

#

@cobalt lion pressed the 🔌 API button in #help to ask a question:

Question
I asked aquestion last week where can i find my replys

Related Request ID(s)
look in dashboard under dev

What have you already attempted?
click on dev tab but its empty

#

@slate moss pressed the 🔌 API button in #help to ask a question:

Question
Payment element is not getting mount

Related Request ID(s)
this is my requesId : req_N1a1QqdNGUGx4W

What have you already attempted?
My payment element is getting element bind if i add add_invoice_item on subscriptions
but now i don't want to add_invoice now i am facing this issues

What are you working on?
I need to create subscription with free trial and also want to add payment method of client for that i am payment element

#

@shut steeple pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
see apple pay as payment method when there is a checkout session with payment_intent_data.setup_future_usage: 'off_session'

What actually happened?
all the payment method like cards and gpay are showned but apple pay never display

Reproduction Steps
create a checkout session and use payment_intent_data.setup_future_usage: 'off_session'

Question
I know that this bug is known by the dev team, i want to ask the timeline of resolution, my clients cannot pay with apple pay

atomic shuttleBOT
#

@magic nacelle pressed the ❌ An Error button in #help to ask a question:

Error Message
Impossible de traiter ce paiement, veuillez réessayer ou utiliser une autre méthode.

Question
I don't understand, i don't have made any change and do the updates...

What have you already attempted?
Updated Woocommerce Stripe Gateway

#

@left haven pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Please help me with my issue that appears in my dashboard that i cant receive payouts.

Question
Dear Stripe Team, recently, I received an email informing me that my account is closed and all of my balance will be refunded to customers. I want to mention that most of my customers have received their items and are completely happy about them. My suppliers are now asking for that money that is in my balance.

What have you already attempted?
Contacting stripe support multiple times already.

What are you working on?
Getting my money out of the stripe account that i legally own

#

@pseudo python pressed the 🔌 API button in #help to ask a question:

Question
Hi, I'm trying to create a topup on the issuing balance with destination_balance="issuing", but this parameter is not recognized by the node SDK (using14.24.0-beta.1). Is the code example wrong in the doc or is there another version I should use of the SDK ?

Related Request ID(s)
No related request

What have you already attempted?
Check the documentation : https://docs.stripe.com/issuing/connect/funding?lang=node#top-up-a-connected-account’s-issuing-balance

Check the API ref : https://docs.stripe.com/api/topups/create?lang=curl#create_topup-destination_balance

What are you working on?
Issuing cards feature

#

@willow grove pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/testing?testing-method=card-numbers#declined-payments

Question
We have Stripe iOS SDK integrated in our app.
Previously, we were able to attach these cards to user's saved cards by using PaymentSheet before making the actual payment.
But now, seems like we can no longer doing such

What have you already attempted?
We've used the "Decline after attaching", but this works differently comparing to those cards we were using before, and it provides less scenarios now.

What are you working on?
integrate with Stripe iOS SDK

#

@sweet peak pressed the 👍 Best Practices button in #help to ask a question:

Question
What's a good alternative to `billingPortal.sessions.create` with `subscription_update_confirm` for subscriptions with multiple items?

I'm adding support for multiple items and looking for a solution that lets the user know what to expect (in matter of prorata and charging).

Doc/Guide Links
`subscriptions.update` works well for my new solution but charges immediately. It would be better to let the user know what's expected with their new plan before actually updating and charging.

https://github.com/stripe/stripe-node/blob/e0e084c373039fe468c2fca38c204813947e12b2/types/BillingPortal/SessionsResource.d.ts

What are you working on?
dev platform for prompt engineering

atomic shuttleBOT
#

@peak copper pressed the ❌ An Error button in #help to ask a question:

Error Message
TypeError: Cannot read property 'getConstants' of null, js engine: hermes .
TypeError: Cannot read property 'StripeProvider' of undefined

Question
I'd like to use stripe in a native react application, on ios everything works perfectly but on android, when I display my page with stripe and the stripeProvider, the application crashes with error messages.

What have you already attempted?
I've tried to change the stripe version, I've done all the google forums but I haven't found the solution to my problem.

Reproduction Steps
pour reproduire l'erreur, lancer une app react native avec npx react-native run-android ensuite aller dans une page ou il y a un StripeProvider

What are you working on?
a padel tournament management application

atomic shuttleBOT
#

@lucid bough pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Currently on LIVE we are using Plaid, but because it's not recommended anymore to use we are migrating our logic to Financal Connections.

Everything went very smooth except one huge issue. On Plaid user is able to add only *one* bank account, here they can add multiple banks. How can we allow user to select only one?

What have you already attempted?
As workaround I have added validation on JS side after user finishes financial connections modal - however it has very poor user experience because after setting everything up there is a message that they need to choose only 1 account (and from that point they need to do whole flow again)

atomic shuttleBOT
#

@distant steppe pressed the 🔌 API button in #help to ask a question:

Question
Stripe Checkout with Snipcart Shopping Cart not working

Related Request ID(s)
req_btFUfLXOM7bLzv

What have you already attempted?
I followed the Instructions in your Developer Docs, 1. I created an Account for Stripe and activated the Payment Methods i want to use. 2. I installed the stripe libaries on my webserver. 3. i connected Stripe as Payment Gateway in the Snipcart Dashboard successful.

What are you working on?
Want to integrate Stripe Checkout Options in Snipcart Shopping Cart .

atomic shuttleBOT
#

@tranquil sun pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I want to implement purchase orders in our platform is there any way to implement it.

What have you already attempted?
I have gone through the docs but can't find any documentation regarding the same.

What are you working on?
Implement stripe for payments and give users option to pay by purchase order.

atomic shuttleBOT
#

@shell stratus pressed the 🔌 API button in #help to ask a question:

Question
Attempting to prioritize PayPal as the default payment method within Stripe's PaymentSheet. Need guidance on setting PayPal specifically for a better user flow.

Related Request ID(s)
Empty ID request (N/A) ?

What have you already attempted?
Tried adjusting the initPaymentSheet configuration, but Stripe API doesn't offer a direct way to set PayPal as default.

What are you working on?
A payment flow in React Native app where users prefer PayPal over card within Stripe's PaymentSheet.

#

@frail valley pressed the 👍 Best Practices button in #help to ask a question:

Question
I am trying to implement refund, but for a amount i have to refund muliple payment intents if that amount exceeds a payment intent amount.

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

What are you working on?
Maintaining wallet balance for a customer on our platform.

#

@coarse star pressed the 🔌 API button in #help to ask a question:

Question
Good day. Please let me know if I can add payment methods(credit card or bank account) for customers in Stripe Connected accounts using embed components. Or, if possible, add a payment method for the customer through the API without using the payment intent?The task is to add a payment method for customers to Stripe C

Related Request ID(s)
Add payment method for customers(Stripe connect)

What have you already attempted?
I tried to transfer the card data through the API in order to record the data as a payment method for the customer in Stripe Connect, but it gives an error about the need to comply with PSI DSS standards. Are there other methods such as embed components that can be used to add a payment method for the customer on the S

#

@brisk nymph pressed the 🪝 Webhooks button in #help to ask a question:

Question
I need to add custom metadata while creting a payment link for customer and that field should be available in checkout.session.completed webhook event

Related Event ID(s)
evt_1P10AXGVCe8mF8QWvsEDc0EG

What have you already attempted?
I tried to add it subscription_data.metadata which is available in subsctiption.created event only

#

@sharp cliff pressed the 🔌 API button in #help to ask a question:

Question
I am testing with Stripe connect and I've just received an error "Invalid parameter amount. Amount must be at most $1,500.00 AUD".

Is there a way configure this max payment amount limit?

Related Request ID(s)
req_60DxPffd5SyPzT

What have you already attempted?
Looking at the Stripe connect docs, and googling, but I can't find relevant documentation

What are you working on?
an invoicing application

#

@slate moss pressed the 🔌 API button in #help to ask a question:

Question
Hello Team,
i add a invoice item after listening invoice.created method but i want to add that invoice for one time payment but it is showing in another subscription cycle invoice.

one more thing what is draft here if my invoice how payment will sucessfull

Related Request ID(s)
Req Id : req_kwyBPPoivKZalz

What have you already attempted?
i have create setUp intent but after trial end my payment is not getting sucessful

What are you working on?
Subscription invoice item

#

@austere monolith pressed the ❌ An Error button in #help to ask a question:

Error Message
You cannot change `individual[verification][document][front]` via API if an account is verified. Please contact us via https://support.stripe.com/contact if you need to change the legal entity information associated with this account.

Question
How do I check if an account is verified or not before making this call? There is no such parameter in the Account object.

What have you already attempted?
I tried to check if requirements array is empty, but this doesn't sound right for this specific use case.

Reproduction Steps
I uploaded a individual[verification][document][front] document and tried uploading again.

#

@jolly dock pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to know whether the card payment or stripe checkout is secure?

The integration used for card payment is split card element integration. Stripe checkout is by stripe hosted page.

Doc/Guide Links
https://docs.stripe.com/checkout/quickstart

What are you working on?
Stripe payment system

#

@uncut bane pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/api-authentication/oauth?shell=true&api=true#obtain-access-token

Question
I am trying to create an OAuth integration as per the documentation, but once I run the `stripe apps upload` with the distribution_type=public error occurs

What have you already attempted?
On running the `stripe apps upload` with this manifest file with {distribution_type: "public"} this error occurs:

```
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": "http
```

What are you working on?
I am working on a OAuth integration through stripe apps

atomic shuttleBOT
#

@heavy smelt pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm looking for a way to automatically settle payments that occur irregularly and are of an undetermined amount.
For example, we would like to charge the actual cost of irregular deliveries or storage fees after a customer purchases an item.
We do our own invoicing and would like to use Stripe for payment.

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
I'm doing a rebuild an EC site

#

@carmine tiger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Invoking `collectPaymentMethod()` on the Stripe Terminal iOS SDK should launch the reader screen to accept a "tap to pay" payment

What actually happened?
The method fails with "Missing required field". This appears that the payment intent object passed to this method omits the required connected account fields from it's class definition. These are documented on this GitHub issue - https://github.com/stripe/stripe-terminal-ios/issues/287

Reproduction Steps
- Create a payment intent using the Stripe NodeJS SDK for a connected account.
- Retrieve the payment intent with the Stripe Terminal iOS SDK
- Invoke the `collectPaymentMethod()` method with the payment intent object from the Stripe Terminal iOS SDK

Question
What workaround can we use to ensure the connected account fields can be read when invoking the Terminal.collectPaymentMethod() function?

What are you working on?
We are building a finance app for SME's, for managing their business

#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
First I'm buying the starter plan 699.99/year, Then I switch to plus plan 999.99/year, stripe should minus the 699.99 and bill me for 300. But something else is happening,
It's bill me for 1299.99, why is that?

Related Request ID(s)
I don't know what to write in this section

What have you already attempted?
Yes, it's working fine from monthly plan 19.99/month to plus plan 999.99/year, but in the year to year case something went wrong

atomic shuttleBOT
#

@plain blaze pressed the 🔌 API button in #help to ask a question:

Question
When I create a Payment Intent, I am expecting to be able to retreive it with the GET api, but I am getting 404. Though the client secret works and the payment flow works.

I need access to the payment intent afterwards

Related Request ID(s)
Not sure what this is about

What have you already attempted?
Looked at the api in the dashboard etc.

#

@silver fjord pressed the 🔌 API button in #help to ask a question:

Question
Is a way that I can cancel a payment intent before it is confirmed via the dashboard?

Related Request ID(s)
not applicable n/a n/a

What have you already attempted?
i checked, didnt find buttons

What are you working on?
trying to test my webhook with a real payment , so I want to trigger a payment_intent.canceled on dashboard

atomic shuttleBOT
#

@oblique wagon pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to make a one time payment by my website customers, without using product, checkout or something else, I just to send to the stripe API currency and amount, and make my customers pay, obviously with return link for success or fail

Related Request ID(s)
I don't understand this field

What have you already attempted?
I readed the doc, but I don't find a way to do that, it's forcing me to create a product ... in my stripe account and I don't want to

What are you working on?
I develop a website in php/js and I want to allow my customer to pay their subscribtion by stripe API

#

@raven atlas pressed the 🔌 API button in #help to ask a question:

Question
How to delete payment methods in the past

Related Request ID(s)
deleting account delete

What have you already attempted?
I need to delete old saved payment methods for all users in our stripe account

atomic shuttleBOT
#

@late stream pressed the 🔌 API button in #help to ask a question:

Question
How to make billing_anchor on 6th of every month in metered post paid subscription. I'am using checkout method, but it's not working.

Related Request ID(s)
req_0dpYk8yK6rNUqg

What have you already attempted?
tryed put 'billing_cycle_anchor_config' => ['day_of_month' => 6] to $customerOptions in checkout function

What are you working on?
post paid metered subscription with fixed invoice date across all subscriptions

#

@small grotto pressed the 🔌 API button in #help to ask a question:

Question
how to create subscription with default payment method and add credit to customer for that billing period

Related Request ID(s)
cus_PqnfK7wPkdQFQ5

What have you already attempted?
https://docs.stripe.com/api/subscriptions/object

#

@brisk nymph pressed the 🔌 API button in #help to ask a question:

Question
The customer is on a grace period and wants to upgrade/downgrade the subscription plan, how to create a checkout session to adjust the pricing

Related Request ID(s)
evt_1P10AXGVCe8mF8QWvsEDc0EG

What have you already attempted?
I can resume the customer with existing plan but price are not adjusted for upgrade/ downgrade

#

@pseudo python pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The external bank account attached to the connected account is used for the top up https://dashboard.stripe.com/acct_1LAHH7QYDOxjRr7w/settings/payouts

What actually happened?
A new source ACH is created and used for the topup https://dashboard.stripe.com/acct_1LAHH7QYDOxjRr7w/sources/src_1P16CWQYDOxjRr7wndqsRrRE

Reproduction Steps
See request req_s4UGWXyKjmExsY

Question
How can I make the topup use the registered bank account instead of creating a new ACH source ?

What are you working on?
Topup issuing balance from external bank account

#

@native cloud pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/create

Question
how to return to the existing checkout session (online, payment mode) to avoid creating a new one and pay the same subject twice (or multiple times)? What is the correct flow? I suppose it is still not possible to create payment_intent before creating the checkout session?

What have you already attempted?
Because the payment_intent is created after the session is confirmed, two people can open the checkout session payment form and confirm the payment. How can this be avoided?

What are you working on?
B2C and B2B platform

atomic shuttleBOT
#

@tawny nest pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am using the api to get the payouts and send that information over to our bookkeekeping software.
We use arrival_date as the date for the exchange rate we should use.

What actually happened?
When I now look at the date I looks like the exchange rate for the created date was used instead.

Reproduction Steps
Unsure how to reproduce. My theory is that a payout the arrival date is the same as created at first and then gets changed.

Question
When a Payout is create is the arrival_date set or can this change over the next days?

atomic shuttleBOT
#

@maiden carbon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Apple pay should show in my web payment screen

What actually happened?
apple pay doesn't show on my payment screen

Reproduction Steps
I have follow the documentation to use the `PaymentRequestButtonElement` and verify the domain but the apple button doesn't show. I've read some people here are also facing the same things so I though it might be because my country doesn't support apple pay

Question
can any one help me check my web to see if the button really showing or not. I was building this web for my client in Europe, I wanted my client to test it to be honest but my boss doesn't want me to show broken app to the client. it will be really nice if some one can help me check my apple pay button. Thanks

#

@somber tapir pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Customer subscription should become active again.

What actually happened?
After customer account auto canceled due to lack of payment, customer updated payment info and a payment was processed. However, customer account continues to be marked as canceled.

Reproduction Steps
Not able to reproduce the error on the customer account.

Question
See above. Will add screenshots of transaction history.

What are you working on?
Subscription based web service.

#

@terse shale pressed the 🔌 API button in #help to ask a question:

Question
Is stripe.subscriptions.del the only way to remove a subscription so that it no longer shows up when you run stripe.subscriptions.retrieve(id)? I keep getting "No such subscription: 'id" even though I know exactly that we created this subscription and it used to be active.Also, could you tell me when it was deleted?

Related Request ID(s)
req_LTXO5BszP7H58s

What have you already attempted?
I've googled the topic and tried to find a definitive answer in the stripe docs.

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

@vocal wagon pressed the 👍 Best Practices button in #help to ask a question:

Question
Consider App, that creates a Stripe CheckoutSession in Subscription mode for a specific product, and has the user fill in their data. Then, a `checkout.session.completed` hook grants access to subscribed product. However, subscription has a free trial. How can the card be validated in the same checkout session?

Doc/Guide Links
https://docs.stripe.com/payments/setup-intents

What are you working on?
Validate a card (setup intent?) and a Subscription Checkout session in one step, with a free trial

#

@feral linden pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Keyboard to push up the view on the S700 when a text input is in focus.

What actually happened?
When the text input is in focus, it didn't push up the view. It just covered it. I even tried to do a simple Keyboard listener to check when the keyboard opens so I can implement my KeyboardAvoidView and it still doesn't work.

Reproduction Steps
This is in react native but I don't think there's a difference. I put a simple KeyboardAvoidView surrounded by a bunch of TextInputs.

Question
How do make this work? Is there anything that can be done?

#

@carmine tiger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Invoking `collectPaymentMethod()` on the Stripe Terminal iOS SDK should launch the reader screen to accept a "tap to pay" payment

What actually happened?
The method fails with "TerminalException: invalidRequiredParameter 
A required parameter was invalid or missing.". Also Stripe's payment intent object passed to this method omits the required connected account fields from it's class definition. See GitHub issue - https://github.com/stripe/stripe-terminal-ios/issues/287

Reproduction Steps
- Create a payment intent using the Stripe NodeJS SDK for a connected account.
- Retrieve the payment intent with the Stripe Terminal iOS SDK
- Invoke the `collectPaymentMethod()` method with the payment intent object from the Stripe Terminal iOS SDK

Question
What workaround can we use to ensure the connected account fields can be read when invoking the Terminal.collectPaymentMethod() function?

What are you working on?
We are building a finance app for SME's, for managing their business

#

@warm pagoda pressed the 👍 Best Practices button in #help to ask a question:

Question
I use "save and reuse" payment method.

  1. I want to save a credit card for a customer. but how i can be sure, he didnt add before. With 4242 card and i can add multiple times

  2. On your doc, you said :
    "Make sure you keep a record of your customer’s written agreement to these terms."
    not enough place for my 2nd ask

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements

What are you working on?
saving credit card for use offline

#

@tawdry sigil pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Can I get the list of all the payment methods supported by different currencies?

Question
Can I get the list of all the payment methods supported by different currencies?

What have you already attempted?
Can I get the list of all the payment methods supported by different currencies?

#

@lone phoenix pressed the 🧑‍💻 Code button in #help to ask a question:

Code
require './stripe/init.php';

function getSupportedLang($lang) {
$lang = strtolower($lang);
$supported_lang = "bg;cs;da;de;el;en;es;et;fi;fil;fr;hr;hu;id;it;ja;ko;lt;lv;ms;mt;nb;nl;pl;pt;ro;ru;sk;sl;sv;th;tr;vi;zh";
return (strlen($lang) != 2 || strpos($supported_lang, $lang) === false) ? "auto" : $lang;
}

Question
the metadata is generated in the stripe event data but not in the right place and I do not see it in the export of payments with the .csv.
This is what I have in stripe:
"issuer": null,
"metadata": {
},
"rendering_options": null
}
},
"locale": "fr",
"metadata": {
"ARTICLES": "Mercelis01

What have you already attempted?
I want my data extracted in the metadata to be seen in the .csv file as is already the case with the 'client_reference_id' => $custname,

What are you working on?
I do online ticketing for my wife :D

atomic shuttleBOT
#

@graceful niche pressed the 🔌 API button in #help to ask a question:

Question
hello hope you're doing well
if a subscription is created through a subscription schedule will i have a post /subscription at the end of the subscription schedule last phase ?

Related Request ID(s)
cus_PMCBBpGmzi5YBJ

What have you already attempted?
i have a customer subscription created through a sub schedule i think, the subscription creation was set for the 1st april at 00:00, but the created date is different , indeed, it's on 31st march

What are you working on?
i created i script to retrieve subscriptions created yesterday : subscription + subscriptions schedules (starting in an other day)

#

@true nexus pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/customer-balance/virtual-bank-account-numbers

Question
There are limitations to creating VBANs 5000 in 24 hours. We are using custom connected accounts in our app. Does this limitation work for all connected accounts or Stripe can create 5000 per connected account?

What have you already attempted?
Read the documentation.

What are you working on?
App which help users to make transactions.

#

@river anvil pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm working on a platform that charges a one-time fee for a service (non-subscription). Currently, the service saves the CC for future use. However, if the CC expires, how can the end user update it? Or can that only be done through Stripe admin portal?

Doc/Guide Links
https://docs.stripe.com/payments/save-during-payment?platform=web#save-payment-details-for-future-use
https://s-plugins.com/updating-customers-credit-card-information-for-a-stripe-subscription-product/
https://docs.stripe.com/issuing/cards/replacements

What are you working on?
service platform that provides consulting and charges a one-time fee

atomic shuttleBOT
#

@vapid sky pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Is it possible to not reset my subscription usage after the trial period ends? I really need it to handle users subscription usage (registered users).

What have you already attempted?
I looked at API docs with no luck.

What are you working on?
I am looking for a mechanizm to not reset record usage of the subscription. I am building an project management system app.

#

@terse shale pressed the ❌ An Error button in #help to ask a question:

Error Message
[Tue, 02 Apr 2024 17:19:52 CEST] FATAL Error while authenticating with Stripe: Authorization failed, status=401, body={
"error": {
"code": "api_key_expired",
"doc_url": "https://stripe.com/docs/error-codes/api-key-expired",
"message": "Expired API Key provided: rk_test_************************************

Question
Im running the stripe listen command from my CLI and it says that my API expired. My app uses the same test keys and it works fine.

What have you already attempted?
I've read the suggested docs from the error

Reproduction Steps
npm run stripe listen --forward-to localhost:3000/api/stripe/webhook --latest

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

@meager hinge pressed the 🔌 API button in #help to ask a question:

Question
When multiple events are sent via webhooks, how do I know if they are bundled and processed in the same database transaction?

Related Request ID(s)
--------------------------

What have you already attempted?
Already search api document

What are you working on?
Integrate subscription data

#

@gusty elm pressed the 🔌 API button in #help to ask a question:

Question
I am integrating with Stripe to handle credit card payment for my portal. My portal is a cloud property management portal, where tenants can pay rent online.
I would like for tenant to be able to link their credit or debit cards to my connected account, and then manually or automatically pay rent with that linked card.

Related Request ID(s)
nanananananananana

What have you already attempted?
Read the doc: https://docs.stripe.com/payments/save-during-payment?lang=dotnet&client=react

#

@flat perch pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to allow future payment setup for subscriptions when using the `collection_method: send_invoice`?

Related Request ID(s)
req_ib5ufnGcQliJPM

What have you already attempted?
I've tried finalizing the invoice before it gets sent an hour after signup and then modifying the `payment_intent` to include `setup_future_usage: "off_session",`

What are you working on?
Subscription app that needs to allow users to both "pay now" using CC OR download an invoice to send to a billing person in their org.

#

@silver pendant pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to setup a subscription to a connect account?

Related Request ID(s)
Connect ID acct_1OCMoE4FheL2Y27n

What have you already attempted?
Looking through the API docs

#

@mortal robin pressed the 🔌 API button in #help to ask a question:

Question
I am trying to implement Stripe Platform Pricing in a test account. I have the pricing scheme set up. The platform pricing creates the application fee as expected when I use a card that is stored in our database. When I enter the card information (it's not stored in out database), the application fee is not generated.

Related Request ID(s)
not application fee (req_5jvlEe41yiAq4c) application fee created (req_e3M8DBqMkTzuAU)

What have you already attempted?
I have tried to update the intent options for the request body to see if that was causing the application fee to not be created.

What are you working on?
Implementing Stripe Platform Pricing

#

@proud lily pressed the 🪝 Webhooks button in #help to ask a question:

Question
Which webhook should I listen to for an invoice succeeding for a specific subscription_ID ?

Related Event ID(s)
evt_1P09AUDyFtOu3ZuTyyBCC345

What have you already attempted?
I have inspected the payload for the event but I'd like help with a specific case type

What are you working on?
I want to listen in the webhook and identify invoice.paid events for a previously failed payment that has now cleared.

#

@autumn creek pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there a way to empty Test data in Test Mode using the API?

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

What are you working on?
trying to setup CI for our product

atomic shuttleBOT
#

@dull sorrel pressed the 🔌 API button in #help to ask a question:

Question
I was wondering if it is possible to exclude cards that have the funding type 'prepaid' when creating a setup intent. Or possibly if a $1 charge and then reversal might weed out cards with the 'transaction_not_allowed' failure type

Related Request ID(s)
req_FPVTbecPRK18pM

What have you already attempted?
We used PaymentIntents in the past, but do not like the pre-authorization process for our user experience so have switched to using a SetupIntent

What are you working on?
This is a service that allows users to charge their electric vehicle at our stations and then bills them after their charge completes.

#

@sinful wharf pressed the 🧑‍💻 Code button in #help to ask a question:

Code
let configuration = IdentityVerificationSheet.Configuration(
brandLogo: UIImage(named: "{{YOUR_BRAND_LOGO}}")!
)

Question
When trying to integrate the IdentityVerification iOS SDK the header files are empty and I can't initiate any of the code to display the verification sheet.

What have you already attempted?
I've followed the step by step instructions in the documentation.

What are you working on?
Building a way for connected accounts to add and verify their banks via our app.

#

@eternal basin pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/tax/custom

Question
I want to add tax while charging patient i.e in my platform patient can have appointment with therapist and we charge patient for the appointment and I want to add tax based on patient's location.

one more thing can I add tax without regitering the jurisdictions as patient can be from anywhere (scope is global)

What have you already attempted?
I am researching the best approach to implement this :)

What are you working on?
I am working on health related project and looking for a solution to add tax in payment intent for charging patient based on his location

#

@grave thistle pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const stripe = Stripe('pk_test_51OzftaITd0Wmp1rf1h3pC9PoSiTe4XqBTJ1CgMUd7cdh8xDO6Amn37Y10QCzxRkCCHffl8jjHnXYw9bGUNKhb7E600tUcKijr4');

const appearance = { /* appearance */ };
const options = { /* options */ };
const elements = stripe.elements({ clientSecret, appearance });
const paymentElement = elements.create('payme

Question
Code is from stripe docs. I need help trying to create a payment method & associate it with a customer during the customer creation flow. If this is the right track, I'm not sure what to do for the clientsecret

What have you already attempted?
I tried using the api paymentmethod.create, & now I am trying to make a frontend react component to collect the data more securely.

What are you working on?
A dummy car rental system for a college project (payments will never go live, just using test services)

#

@unique rose pressed the 🔌 API button in #help to ask a question:

Question
We have a customer who is showing a $0 charge on their bank statement from Paw Partner (our platform account). This is at the same time it shows a (correct) $32.50 charge from the connected account. There were only 2 API calls for this customer - the PI and an "attach" for the payment method.

Related Request ID(s)
cus_PgsUgLysgoes1x

What have you already attempted?
I'm trying to figure out how the $0 entry in her bank statement got there. It seems like the "attach" for the payment method triggered a statement entry, which is weird.

What are you working on?
Stripe integration for Paw Partner

#

@plucky pine pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
After scanning their ID, I expected for the scanned information to populate our modal with the basic info to populate their profile.

What actually happened?
The modal was empty with no profile info.

Reproduction Steps
Sign up, scan ID, see that it doesn't populate the fields.

Question
Can someone help me troubleshoot this? I have another stripe error as well so I would like to work with someone that has some time to dedicate to this with me.

What are you working on?
I'm building out verification with Stripe Identity.

#

@silk escarp pressed the ❌ An Error button in #help to ask a question:

Error Message
https://spg-pbo.my.salesforce-sites.com/connect is down for maintenance

Question
When I use Stripe for Salesforce Billing, and try to authenticate to my Stripe account, I get an error. This error did not happen before.

What have you already attempted?
Multiple users have tried in different orgs and accounts

Reproduction Steps

  1. Open the Stripe for Salesforce Billing page
  2. Click Get Started
  3. Click Authorize
  4. Banner shows that says "You're currently in test mode. Skip This Form".
  5. Click "Skip This Form"
  6. It redirects to a url that is in maintenance
#

@slow mesa pressed the ❌ An Error button in #help to ask a question:

Error Message
The currency provided (eur) is invalid. Payments with klarna support the following currencies: usd.

Question
Why Klarna does not start Payment Element with EUR currency?
In documentation says:
"Presentment currency
AUD, CAD, CHF, CZK, DKK, EUR, GBP, NOK, NZD, PLN, SEK, or USD"

What have you already attempted?
In USD it works normally

#

@bright blaze pressed the 🔌 API button in #help to ask a question:

Question
My company uses Stripe to process payments. When responding to disputes, is there a way to specify our answer to the question "Why should you win this dispute?" through the Dispute API?

Related Request ID(s)
Not referring to a specific request

What have you already attempted?
Searched docs in https://docs.stripe.com/api/disputes/update#update_dispute-evidence but there's no section that corresponds to the question

What are you working on?
A script that automatically responds to customer disputes with their activity log and related information

#

@supple lava pressed the 🧑‍💻 Code button in #help to ask a question:

Code
.......................................

Question
well i was just wondering if you could use the stripe product catalog on my website so you can like switch the products and etc and if so do you have a certain tutorial for it?

What have you already attempted?
well i tried to find how i should do it but couldnt

What are you working on?
a candy site where i need to post my picture

#

@wheat wind pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Mostly curious about local testing against Stripe API

Question
Curious how people are testing locally against Stripe's API without testing against a QA / testing Stripe account

What have you already attempted?
We have been locally testing connecting to our QA env Stripe Account but don't want to continue this practice as it will cause issues with our QA data.

What are you working on?
Stripe Connect and Card Issuing.

atomic shuttleBOT
#

@calm geyser pressed the 🔌 API button in #help to ask a question:

Question
Checkout session is not validating the zipcode in session? shouldn't it be?

Related Request ID(s)
stripe checkout session

What have you already attempted?
We have a number of payment attempts failing on cards which have been setup_future_usage
The card details were added at an earlier date, at the customer was successfully able to enter card in setup intent. Then when charge was attempted, it failed due to zip code incorrect. shouldn't have zip code check be done before

atomic shuttleBOT
#

@rich jewel pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When we created a Stripe Payment Portal we allowed Link as a payment option. We expected our customers to receive a receipt and never receive an invoice.

What actually happened?
One of our customers updated their credit card and received an invoice for a Subscription they had created.

Reproduction Steps

  1. User purchases subscription using link as the payment option
  2. User updates payment card information in Link
  3. Link sends out a Invoice for the user to pay the subscription amount

Question
How do we make it so that no invoice is sent when a user updates their information through link? How do we make it so that the user only receives a receipt. Our notification setup is through Stripe's Dashboard not a webhook.

#

@molten edge pressed the 🔌 API button in #help to ask a question:

Question
How do I get Amazon Pay to work with subscriptions?
I am getting the following error:
The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.

Related Request ID(s)
req_7kFiLqrX3NMO5i

What have you already attempted?
I tried setting up Stripe Elements with the following StripeElementOptions:
mode: 'payment',
currency: 'usd',
amount: 1000,
paymentMethodTypes: ['card', 'amazon_pay'].
I then attempt to create a subscription and confirm the invoice payment intent.

What are you working on?
Adding amazon pay as an alternative payment method on thangs.com

atomic shuttleBOT
#

@serene hare pressed the 🧑‍💻 Code button in #help to ask a question:

Code
SELECT
i.id as invoice_id,
i.customer_id,
date(i.date) as invoice_date,
i.application_fee / 100.0,
-- TODO this is where i want to display the stripe fee!
FROM invoices i
LEFT JOIN coupons c ON i.discount_coupon_id = c.id
LEFT JOIN subscriptions s on s.id = i.subscription_id

Question
Hello, i'm trying to create a query in Sigma SQL to capture invoices. I want one of the columns to be the fee associated with (the payment associated with) the invoice. I'm having trouble figuring out where it is stored in the schema - I see the field on the dashboard, but can't find it in the data model

What have you already attempted?
Looking through the fields on invoice, payment, charge, and similar tables

What are you working on?
a financial accounting report to give to our fractional accountant to help her manage her books

#

@plain vector pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/account/statement-descriptors

Question
We do not wish to have customer call phone number in their bank statement. We only wish for them to be able to reach us via email.

All our products are offered via subscription, but based on the documentation shared it is not possible to create checkout link with a descriptor.

Is there a way to make this happen?

What have you already attempted?
Based on the documentation we tried to hide phone number on receipts and invoices via settings but looks like that does not apply to bank statements.

#

@gusty fiber pressed the 🔌 API button in #help to ask a question:

Question
Before user can refund he needs to see how much money he gets back. In that case I use invoiceUpcoming.

The issue is that i don't want to refund prorated, so i'm using

subscription_cancel_now = true;
subscription_proration_behavior = 'none';

So i can cancel subscription and don't prorate and i expect to get full price back, but i get an error that
No upcoming invoices for customer: cus_Pq1Wd0DN6aRLr9 for customerId: cus_Pq1Wd0DN6aRLr9

Related Request ID(s)
cus_Pq1Wd0DN6aRLr9

What have you already attempted?
Everything and nothing works. I want full price back sent from invoiceUpcoming

#

@versed patrol pressed the 🔌 API button in #help to ask a question:

Question
What params do I need to pass for creating a refund? In the document, it passes charge_id in an example, but charge is deprecated. I am using payment_intent, and looks like I can pass the payment_intent_id instead of charge_id?

Related Request ID(s)
req_EDcFcUSfWrsNjN

What have you already attempted?
I've been just looking through the documents to get information. Haven't implement it yet to test the real thin.g

What are you working on?
I would like to clarify how refunds work.

#

@sinful wharf pressed the 🧑‍💻 Code button in #help to ask a question:

Code
verificationSheet.present(from: self, completion: { result in
switch result {

Question
verificationSheet sheet is not present in the header file

What have you already attempted?
Referenced all the correct headers and enabled all the correct bridging.

What are you working on?
connected account bank verification

atomic shuttleBOT
#

@rough forge pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi, my system auto-syncs data from Stripe using the dj-stripe library. I’m looking to minimize the number of webhook events I’m listening to, as I’m currently listening to too many. Is there info someone on when particular events do and don’t trigger? For example, are `*.created`, `*.updated`, and `*.deleted` events mutually exclusive? What about on the `invoice.*` events, which have a ton of variations?

Related Event ID(s)
n/a

What have you already attempted?
I’ve manually looked through webhooks logs and googled this topic, but am still wondering if there's a better resource out there.

#

@tidal shell pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const { error } = await stripe.confirmPayment({
elements,
confirmParams: {
return_url: "https://mywebsite.com/stripe/return",
},
});

Question
Since 3 days, the stripe.confirmPayment() promise from the JS SDK does not resolve: no response, no error and no exception to catch.

The code justs stuck into the confirmPayment() method.

Do you have any idea on why this could occur please? I am out of idea on my side.

What have you already attempted?
I already checked if any other JS library could impact this code

What are you working on?
Selling services

#

@red wedge pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to pre auth a charge?

I need to pre auth and then post only if the order creation works fine in my store api.

Having issues right now because i capture the charge and then sometimes theres errors with creating the order internally.

So I want to preauth the charge and if the order is createed succesfully then post the charge.

If not I want to remove the preauth

Related Request ID(s)
N/A

What have you already attempted?
Searched the api

What are you working on?
Building an online store in WIX

#

@reef wind pressed the 👍 Best Practices button in #help to ask a question:

Question
We have built a payment platform using stripe and we want to integrate bank transfers into it. How it is possible to make a refunds of payments that are partialy paid. Let's say I have a customer who paid me via bank transfer. Instead of $100 they paid $50 and after that they asked me to make a refund. Or another case - I have a customer who needs to pay 2 invoices: invoice#1 -$100 & invoice#2 $100. They paid $150. Invoice#1 paid & invoice#2 has balanse $50 and status 'patialy paid'. How to refund invoice#2?

Doc/Guide Links
didn't find it in the documentation.

What are you working on?
Bank transfers

#

@unkempt canyon pressed the 🧑‍💻 Code button in #help to ask a question:

Code
def create_card_token(params)
Stripe::Token.create({
card: {
number: params[:card_number].to_s,
exp_month: params[:exp_month].to_s,
exp_year: params[:exp_year].to_s,
cvc: params[:cvc].to_s,
},
})
end

def create_stripe_customer_card(params, stripe_customer)
token = create_card_token(params)
Stripe::Customer.create_source(
stripe_customer.id,
{ source: token.id }
)
end

Question
I am using the above code in Rails. I get the Following Error -
/var/lib/gems/3.1.0/gems/stripe-10.13.0/lib/stripe/stripe_client.rb:715:in `handle_error_response': Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode.

What have you already attempted?
If i Directly created token in Rails console firstly passing sk key as argument and then pass all the details of card then it successfully work. But using form it can show me error

What are you working on?
I am building a sample project for learning

#

@royal shard pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const stripe = require('stripe')('sk_test_•••p7dc');
const payout = await stripe.payouts.retrieve('po_1OaFDbEcg9tTZuTgNYmX0PKB');

Question
I want to retrieve the payout object model. Does payout object contain only 1 balance transaction or can it include multiple balance transaction? (does stripe create payout object for each balance transaction? or multiple transaction can be paidout in the same payout object ?)

What have you already attempted?
Read documentation and analized api docs

What are you working on?
Stripe integration for connected accounts

atomic shuttleBOT
#

@worldly cedar pressed the 👍 Best Practices button in #help to ask a question:

Question
My company has a product with several prices and many subscriptions at those price points. Additionally, we utilize other features like pre-billing, subscription schedules, and discounts on those subscriptions.

Given that the documentation shows several methods, which method is preferred? What differentiates each method?

Finally, I'd particularly like to ask about prorations and pre-billing features. Those are the two features that we're most concerned with breaking.

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

What are you working on?
A Price Increase for my company's products

atomic shuttleBOT
#

@shell jewel pressed the 🪝 Webhooks button in #help to ask a question:

Question
Cannot find webhook secret in the dashboard.

Related Event ID(s)
we_1P1E99EvUNDxHSmfaJwncvMf

What have you already attempted?
I have been using the stripe webhook locally and has been working perfectly. I have deployed my backend and now it doesn't work. I have created a new webhook and I am searching for the webhook secret but cannot find it. Where can I find the webhook secret on the dashboard?

atomic shuttleBOT
#

@crisp rain pressed the 🔌 API button in #help to ask a question:

Question
Why does platform's USD balance is always zero?

Related Request ID(s)
none

What have you already attempted?
$usdBalance = array_values(array_filter($stripe->balance->retrieve([])->available, function ($item) {
return $item["currency"] === 'usd';
}));

What are you working on?
I am working on balance transfers from platform to connected user's account

atomic shuttleBOT
#

@rigid thistle pressed the 👍 Best Practices button in #help to ask a question:

Question
I am working to find a solution, where:

  1. There are 2 business accounts, like buyer and seller.
  2. I as a platform want to pay amount directly from buyer's account to seller's account without incurring any payment on my account.

Is there a way where an amount can directly be transferred/paid from one customer's bank account to another customer's bank account without reflecting any amount on my account/book? I should be able to control this payment via API or from my dashboard.

Doc/Guide Links
https://docs.stripe.com/connect/bank-debit-card-payouts

What are you working on?
solution on best way to solve this problem

atomic shuttleBOT
#

@prisma sphinx pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm trying to add a custom reason for a refund from the API.

From the Stripe dashboard, you can write a refund reason other than those proposed. This actually adds a note on the dashboard but it's not written in the "reason" field of the refund object.

Is there a way to create a note for a payment from the API ?
If not, what is the best practice to write a custom refund reason from the API ?
I want it to be visible from the dashboard. Maybe the field "description" of the payment intent object is the best ?

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

https://docs.stripe.com/api/payment_intents/object

What are you working on?
A feature that allows you to create a refund from an admin dashboard, with the option to specify a reason. This reason should be visible on the Stripe dashboard.

atomic shuttleBOT
#

@haughty crystal pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/search?q=resolve outdate apple pay cert

Question
Can't find FAQ related to update Apple pay cert

What have you already attempted?
Can't find FAQ related

What are you working on?
Resolve an outdated Apple Pay Cert file

atomic shuttleBOT
#

@meager hinge pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I get the client_reference_id information inside the Checkout Session if the payment fails when performing a subscription via Checkout Session?

Related Event ID(s)
----------------------------------

What have you already attempted?
Already search document

What are you working on?
Integrate subscription

atomic shuttleBOT
#

@daring meteor pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm trying to change my payment method.
, even if I try to solve the captcha after entering the necessary information
The screen automatically switches and moves around during the selection process, making it impossible to solve the problem. I would like you to check the video to see if this is normal operation.
I'm taking a video of the screen.

What actually happened?
I'm trying to change my payment method.
, even if I try to solve the captcha after entering the necessary information
The screen automatically switches and moves around during the selection process, making it impossible to solve the problem. I would like you to check the video to see if this is normal operation.
I'm taking a video of the screen.

Reproduction Steps
I'm trying to change my payment method.
, even if I try to solve the captcha after entering the necessary information
The screen automatically switches and moves around during the selection process, making it impossible to solve the problem. I would like you to check the video to see if this is normal operation.
I'm taking a video of the screen.

Question
I'm trying to change my payment method.
, even if I try to solve the captcha after entering the necessary information
The screen automatically switches and moves around during the selection process, making it impossible to solve the problem. I would like you to check the video to see if this is normal operation.
I'm taking a video of the screen.

atomic shuttleBOT
#

@tender crater pressed the 🪝 Webhooks button in #help to ask a question:

Question
I can not figure out how can I refund.
First I update my subscription from premium tier to basic tier with subscription.update API,
then I catch the webhook 'customer.subscription.updated' ,
for the refund there is some API called refunds.create, but how can I use it?

Related Event ID(s)
I don't know what to write in this section?

What have you already attempted?
I don't know what to write in this section?

atomic shuttleBOT
#

@pine rune pressed the 🧑‍💻 Code button in #help to ask a question:

Code
https://docs.stripe.com/payments/checkout/no-cost-orders?lang=go#full-cost-discounts

Question
I understand we can create no-cost orders.

However, is there a way to "cancel" or "delete" a no-cost order?

What have you already attempted?
For paid orders, we can refund to indicate that the order is no longer a "completed" order.

"refund" is obviously not applicable to this case. However, we still want a way to indicate a no-cost order should is no longer valid (cancelled or voided, etc)

#

@stone grove pressed the 🔌 API button in #help to ask a question:

Question
如果没有使用stripe的radar,商家应该怎样自主控制是否请求3d

Related Request ID(s)
no ids

What have you already attempted?
3d

#

@frail valley pressed the 🔌 API button in #help to ask a question:

Question
I am trying to retrieve a subscription using stripe.Subscription.retrieve, its throwing error for the subscription.

Related Request ID(s)
req_U9QV2YKgo3xKxm

What have you already attempted?
Tried searching for the susbcription

What are you working on?
Maintaining wallet balance for a customer on our platform.

#

@autumn quiver pressed the 🔌 API button in #help to ask a question:

Question
Company A is a parent company, and it wants to make payment of monthly subscription for its child company like AA, AB, AC AD, AE ....

and each child compnay might have different numbers of users / quantity.

Now, what is the best way to deal with it, i was thinking using the same price item with different quantity for each company bu it seems there is a limit of 20 line items max.

Could you please suggest me if there is any api to deal with this scenario?

Related Request ID(s)
none

What have you already attempted?
thought about using different line items for different child company

atomic shuttleBOT
#

@wise copper pressed the 🔌 API button in #help to ask a question:

Question
when we cancel a subscription does it delete the customer also if yes then why the customer is still visible in the dashboard in the test mode

Related Request ID(s)
none

What have you already attempted?
I tried to use the API and listen to webhook it says customer.deleted but I can see that customer in my dashboard then let's say I am creating the subscription again for the same email it creates a new customer but I have two same email customers.

#

@valid zenith pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to add another pricing item in an existing subscription. But it's throwing error.

Related Request ID(s)
req_efEsv3wCLODdrj

What have you already attempted?
I'm passing the price_id in price parameter while updating the subscription

What are you working on?
Migrating the user's subscription

atomic shuttleBOT
#

@crude remnant pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to get the embedded checkout session working for my application. I'm using React for the client and Python for the server. I've created the checkout session in Python. This is a checkout session for a connected account.

I'm seeing the following error:

The specified Checkout Session could not be found. This error is usually caused by using the wrong API key or visiting an expired Checkout Session. Please make sure the Session is not expired and that the API keys used to initialize Stripe.js and create the Checkout Session are test mode keys from the same account.

Related Request ID(s)
N/A

What have you already attempted?
I'm following thee docs: https://docs.stripe.com/checkout/embedded/quickstart?client=react

I've tried using both live keys and test keys. Neither work. Live keys don't lead anywhere complaining that there might be a network issue. The test keys result in the error I pasted in the question.

I'm not sure what I'm doing wrong. I've confirmed multiple times that I am using the publishable key and secret key from the same Stripe account.

What are you working on?
A side project related to booking management for small businesses

#

@vocal wagon pressed the 👍 Best Practices button in #help to ask a question:

Question
I recently found out that I can add an *existing* subscription to a test clock, and it's shown prominently in the dashboard subscription view. That's awesome!

I just wanted to send some kudos to the dev and product team! You gals (and guys) rock when it comes to developer experience!!

I'm just curious, I couldn't find any announcement for this change? Is there a blog post somewhere? This is a *game changer* IMO, it's much easier for my PMs to travel in time now.

Doc/Guide Links
https://stripe.com/blog/changelog

What are you working on?
Mural self-serve checkout flow

#

@hollow yoke pressed the 🔌 API button in #help to ask a question:

Question
I tried to create a Connect’s AccountLink to update the account info of already existing account in CLI and Python. I checked the account is active but an error, Unable to create account_update type Account, occur
Here's questions:

  1. Is this error supposed to be?
  2. Can’t I use account_update in Express account and test ENV?

Related Request ID(s)
"req_WJbOU1dYdA5fJR", "req_K6BQe2og5vU12Q"

What have you already attempted?
Tried to create an Account Link to update account info.
"""
stripe.AccountLink.create(type="account_update", ...)
"""
Then, this occurred.
"""
... You cannot create account_update type Account Links for this account. ...
"""
I referred to "Create an account link" in API docs and "Stripe hosted onboarding - 5"

What are you working on?
EC platform payment related codes

#

@muted terrace pressed the 🔌 API button in #help to ask a question:

Question
Hi, we are using stripe account for our counselling service app. Need help to setup automatic verification of vendor accounts for payouts. Recently connected with stripe support regarding this feature request, but looks like it is not available. Is there any way/provision to get the auto verification done, as we've 1000s of vendors signing up on daily basis. It will not be feasible to manually verify each vendor's profile to make it ready for "payout".

Related Request ID(s)
req_B3W8oij0Eynpmf

What have you already attempted?
Went through docs, connected with stripe support regarding this auto verification for connected accounts for payout, but failed to get positive response.

What are you working on?
Counselling platform, where customers will pay for the counselling service to the counsellors, and the platform will make payouts to counsellors on custom withdrawal periods.

atomic shuttleBOT
#

@sweet solar pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element

Question
Can we use elements or stripe UI to only display the UI for saving a card, setting it default and using it in future transactions?

What have you already attempted?
Looked through documentation

What are you working on?
I'm trying to implement Online payments using the STRIPE UI. I want to display a screen in my application to add payment methods on signup and charge them for future transactions

#

@hearty garnet pressed the 🔌 API button in #help to ask a question:

Question
How do I know the accurate payment time from a payment id?

Related Request ID(s)
pi_3P0m9dGV8R8kZBnN2y4QY2AH

What have you already attempted?
I retrieve a checkout session detail and payment intent detail, there both are "created" time only, no payment time.

What are you working on?
Find a bug for a payment

#

@frail valley pressed the 🪝 Webhooks button in #help to ask a question:

Question
I want metadata from my subscription in the payment_intent.succeeded event which is triggered when i create scheduled subscription and at the end of the billing cycle it cancels and triggers the payment_intent.succeeded event as the payment is done

Related Event ID(s)
evt_1P1OLgJX5V9XswsNvhcvIvfA

What have you already attempted?
I passed the metadata in the createscheduledsubscription payload

What are you working on?
maintaining subscriptions

#

@pine rune pressed the 🧑‍💻 Code button in #help to ask a question:

Code
No-cost order: https://docs.stripe.com/payments/checkout/no-cost-orders?lang=go#full-cost-discounts

Question
I understand we can create no-cost orders.

However, is there a way to "cancel" or "delete" a no-cost order?

What have you already attempted?
For paid orders, we can refund to indicate that the order is no longer a "completed" order. (And we have successfully integrated with this behavior)

"refund" is obviously not applicable to this case. However, we still want a way to indicate a no-cost order should is no longer valid (cancelled or voided, etc)

What are you working on?
Event ticketing system

#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
Not getting charge id in
```
await this.stripe.subscriptions.retrieve(
subscriptionID,
{
expand: ['latest_invoice.payment_intent'],
},
{
apiKey: publishableKey,
}
);
```
when downgrading from plan 999.99 to 19.99, using subscription.update API

Related Request ID(s)
I don't know what to write in this

What have you already attempted?
I don't know what to write in this

#

@cloud cedar pressed the 👍 Best Practices button in #help to ask a question:

Question
We want to start accepting affirm payment methods, but I am not finding any documentation that indicates we have to do anything different. Is it just a matter of toggling it on in the dashboard? or do we have to handle certain stripe events differently?

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

What are you working on?
Looking into seeing if we can start accepting affirm payments

#

@wary crane pressed the 🔌 API button in #help to ask a question:

Question
How to add a payment method to a customer in connected accounts through the setup intent?

Related Request ID(s)
setup intent

What have you already attempted?
I tried to add a payment method for the customer in connected accounts by creating a setup intent. But unfortunately, I get a resource missing error.

#

@foggy vault pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payouts/list

Question
Hi, does api/payouts/list list the all the payouts of the platform?. What if I wanted get list of payout of a connected account

What have you already attempted?
I hit the api got the result back. But I think it's of payout that happens to any connected account in platform. I think to get only one connected account payout I have to pass that account as header in request.

What are you working on?
Get list of payout of a connected account

#

@stone grove pressed the 🔌 API button in #help to ask a question:

Question
request_three_d_secure, if we pass "any" for this param, what does it mean

Related Request ID(s)
3d request

What have you already attempted?
3d request

#

@left haven pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
How can i fix my account if in the dashboard it says that i need to contact stripe to enable my payments and payouts but they never respond?

What have you already attempted?
Contacting stripe multiple ways (email, social media)

What are you working on?
Fixing my account

#

@strong forge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
SEPA should appear on Stripe page when registering payment method before free trial ends.

What actually happened?
SEPA method doesn't appear, only credit card is available as a payment method.

Reproduction Steps
Create a subscription with free 30-day trial. Add credit card and SEPA as payment methods in the settings.

Question
When provided a link in the email notification before the end of trial to add a payment method, the corresponding Stripe page doesn't display the SEPA method, only the credit card.

What are you working on?
Subscription using SEPA with free 30-day trial

#

@strange minnow pressed the 🔌 API button in #help to ask a question:

Question
if 0 amount invoice is paid through ACH. What would be the invoice status? will it be paid right away OR it stays open and then after some days it will be paid because it takes a few days for ACH Payments.

Related Request ID(s)
not able to test this in test environment.

What have you already attempted?
have gone through the docs for ACH payment -- where it states the payment takes some time for the invoice to be paid. I want to know what happens if there is no amount to be paid -- that is 0.

#

@analog tulip pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm trying to capture the payout status of connect standard accounts, if user applied for a standard account, once Stripe approves it, I want to capture the payout status. so where can I find the standard account ID along with the approval status?

Related Event ID(s)
req_fOyVCfPvGXPk2s

What have you already attempted?
I used the testing mode and forwarded the webhooks to local host, got the object of the account.updated

#

@dusk oracle pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/account-balances

Question
For all succeeded payments in my account, funds are in the pending balance for some days, so not available to payout. If the transaction is succeeded what is the meaning of this delay ? Is there a way to remove it ?

What have you already attempted?
I want to transfer the money of succeeded transactions directly in my connected account issuing available balance. With this delay, they can not use the money directly

What are you working on?
Stripe issuing

#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
Not getting charge id in

await this.stripe.subscriptions.retrieve(
subscriptionID,
{
expand: ['latest_invoice.payment_intent'],
},
{
apiKey: publishableKey,
}
);

when downgrading from plan 999.99 to 19.99, using subscription.update API

Related Request ID(s)
Don't know what to write in this section

What have you already attempted?
Don't know what to write in this section

#

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

Error Message
The provided key 'rk_test_*********************************************************************************************lACtRQ' does not have the required permissions for this endpoint on account 'acct_xxx'. Having the 'rak_accounts_kyc_basic_read' permission would allow this request to continue.

Question
I'm try to sync models using djstripe with a restricted key but no luck, it always return above error message and nothing can be synced.

What have you already attempted?
It works fine with secret key, but we could not use it in side djstripe.

Reproduction Steps
Call sync command in djstripe: python3 manage.py djstripe_sync_models, or calling directly Stripe API using Curl.

What are you working on?
integrating Stripe as a payment gateway for our product.

#

@steady remnant pressed the 🔌 API button in #help to ask a question:

Question
How to collect shipping address when using Express Checkout Element.
This method of payment bypasses the checkout so there is no where for the customer to enter their shipping details. I can see in older stripe products their were ways of collection the shipping address through the digital wallet.

Related Request ID(s)
N/A

What have you already attempted?
I have read through the docs and cannot find anything related to collecting address during express checkout.

What are you working on?
I am integrating the Stripe Express Checkout Element into my website

#

@foggy wing pressed the 🔌 API button in #help to ask a question:

Question
In api retrieve coupons, is there filter by name?

Related Request ID(s)
n/a

What have you already attempted?
I get successfully all coupons and filtered in my script (php). Everything works fine, I need to know if there is btter way to do.

What are you working on?
I want to integrate coupons in stripe, not sure what is the best way to deal with it (by name or by id)

atomic shuttleBOT
#

@icy peak pressed the 🔌 API button in #help to ask a question:

Question
After upgraded API version from 2020-08-27 to 2023-08-16,
After a paiement for exemple 100$, we init multi transferts for multi account, but sometime we hit an error "You have insufficient funds in your Stripe account. ..." we log available balance showing a 0 available balance (just after initial success paiement of 100$) . First question, why we have a 0 available balance and sometimes it's ok ? Have you add a check balance beetween this api's version, or there is a param to delay transfert or whatever ?

Related Request ID(s)
req_mYjmhXBlnOCjeM

What have you already attempted?
log available balance

What are you working on?
Ecommerce multi domain wine seller market place

#

@strange marlin pressed the 🔌 API button in #help to ask a question:

Question
We have users in India that fail to attach their Debit card because of missing mandate_options or usage of off_session. Can I pass these options when creating a Setup intent using a checkout session?

Related Request ID(s)
evt_1OolKyHeYHiV5ctXRiQdmPUT

What have you already attempted?
I didn't find an option in the API documentation.
I also didn't find a test card to use that reproduces the same kind of failure when creating the setup intent through a checkout session.

What are you working on?
Attaching CCs for customers in India for on session payments.

#

@rich inlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
one subscription creation and then payment with deferred payment stripe

What actually happened?
creation of many subscriptions at the same time

Reproduction Steps
i dont know what happend

Question
what happened, did the user pay for many subscriptions in the same time and how did stripe accept that?

atomic shuttleBOT
#

@lost pendant pressed the 🪝 Webhooks button in #help to ask a question:

Question
When I partially refund a charge, I don't get refunds in my charge.refunded object. I need metadata set in refund object.

Related Event ID(s)
"id": "evt_3P1MFZLBDaRl2VFf1NYPPAzN"

What have you already attempted?
I tried retrieving all refunds with charge id but that didn't work.

What are you working on?
I am working on partially refunds, I have a live project, but I am testing it on my test account.

#

@daring badger pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello, I need support with updating the next cycle dates when the subscription failed to pay the first and second times. I don't want to take extra money for the delay, I just want the billing cycle dates to be updated accordingly( so the starting date is the date that the payment is successful)

Related Event ID(s)
jjjjj

What have you already attempted?
I attempted to update the billing_cycle_anchor: now and proration_behavior: none but Im not sure if this is the right way to do it

#

@echo coral pressed the 🔌 API button in #help to ask a question:

Question
Received the following error when calling the API https://api.stripe.com/v1/oauth/token to get access and refresh token
invalid_grant - Passed in testmode API key but authorization code only supports returning live keys

Related Request ID(s)
req_LsOqUm6LDc8rPq

What have you already attempted?
It's working few days ago, see the success logs
req_0mrnGZCUGGbObw

#

@stark fulcrum pressed the 🧑‍💻 Code button in #help to ask a question:

Code
events = stripe.Event.list(limit=10)
flattened_events = dict(deep_flatten_json(events))
df_events = pandas.DataFrame([flattened_events])
df_events.columns = [col.replace("data_", "").replace("0_", "").replace("object_", "") for col in df_events.columns]
df_events

Question
I have used a payment link button from my app (React-js) to direct users for subscription setup (card/becs). I want to build a python query that will list ALL events as a df, which I can then sort or filter.
I will then look to add a customer ID to my app db table with the intention of fetching all customer events to display a history of payments, edits and invoices etc.

What have you already attempted?
Read many of the docs but all seem specific to a type and there does not seem to be guides to "beautifying" the json into a human-readable output for a dataframe or app table display.

What are you working on?
Sports club mgmt and statistics app, coded in React js... My coding experience is limited.

atomic shuttleBOT
#

@green kernel pressed the 🔌 API button in #help to ask a question:

Question
Is there a way I can update the `description` column in stripe dashboard where `all transactions` are listed under `payments`

Related Request ID(s)
req_2yIOHyVUm0UmoY, req_4zeSsCCNq1vu3i

What have you already attempted?
Tried adding `description` to `stripe.invoices.create`

#

@trail hornet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const stripe = require('stripe')(process.env.STRIPE_PRIVATE_KEY);
app.post('/create-checkout-session', async (req, res) => {
const cartProducts = req.body.items;
try {
const lineItems = await Promise.all(cartProducts.map(async (product) => { const stripePrice = await stripe.prices.create({
unit_amount: product.price * 100,
currency: 'usd',
product_data: {
name: product.title,
},
});

Question
Working with react for the frontend and nodejs for the backend ..Working with redux toolkit and rtkQuery to fetch data from the fakestore api and wanted to populate the products catalogue dynamically instead of manually ..for now the code works but I find duplicate products whenever i try and buy the same product i did a min ago. Is what am doing possible ? Did the question makes sense let me know and I will try to explain more since English is my second language

What have you already attempted?
const searchQuery =`active:'true' AND product:'${product.id}'`
const existingPrice = await stripe.prices.search({
query: searchQuery,
});
let stripePrice;
if (existingPrice.data.length > 0) {
stripePrice = existingPrice.data[0];
} else {
stripePrice = await stripe.prices.create({
unit_amount: product.price * 100,
currency: 'usd',
product_data: {
name: ....

What are you working on?
Am currectly building a shopping cart to help me understand state management with redux and challenged myself to implement a payment proceess

#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
1). I'm hitting stripe.subscription.update API and downgrade from $999.99/year to $19.99/month
2). I catch the event In customer.subscription.updated
3). Now The Subscription plan got changed from 999.99/year to 19.99/month, and the first month got paid automatically from $999.99 and the remaining amount credited in customers stripe account or something like that.
4). I Don't know which API or How to refund that credited balance to customer...

Related Request ID(s)
I don't know what to write in this section

What have you already attempted?
I don't know what to write in this section

atomic shuttleBOT
#

@oblique bane pressed the 🔌 API button in #help to ask a question:

Question
Hi,
Is it possible to transfer money from our Stripe account balance to a bank account ?

Related Request ID(s)
acct_1LEtQED7nd4GhIwJ

What have you already attempted?
Nothing

What are you working on?
I'm just trying to see if it's possible for the moment

#

@void holly pressed the ❌ An Error button in #help to ask a question:

Error Message
transaction failed. please try again.
This Connect account cannot currently make live charges. The
requirements disabled_re ason'
property on the account will provide information about why th...

Question
I don’t know why this is not allowing me to do this transaction with my customer

What have you already attempted?
I tried different cards and different wifi

Reproduction Steps
I thought about trying to make a account

What are you working on?
just trying to sell my products to my customers

#

@weary aspen pressed the 🧑‍💻 Code button in #help to ask a question:

Code
This is about the `@stripe/stripe-js` NPM package.

Question
When using the `@stripe/stripe-js` package, must I still add the Stripe.js script in my page's `<head>`?

Also, is using the `@stripe/stripe-js` package PCI compliant? I'm only using it to be able to take advantage of the TS type definitions.

What have you already attempted?

#

@brazen elbow pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have several different products, and I get a webhook on each payment.
For some products, an invoice does not arrive in the webhook .
I marked in the settings that there will be a post payment invoice, but the field still arrives empty.
We checked the differences in the settings between the products that do not arrive properly and those that do, and noticed that this was a one-time payment and the previous products were all subscriptions.

Is there a connection between the things?
How can the problem be solved?

An example of the ID of a product that arrives intact: prod_PiYjZh3mvKEp19
Exampl

Related Event ID(s)
prod_PiYjZh3mvKEp19

What have you already attempted?
as above

What are you working on?
an automation through make

atomic shuttleBOT
#

@steady remnant pressed the 🔌 API button in #help to ask a question:

Question
When using the Express Checkout Element, I need to require that the customer chooses a shipping address.

But to require the shipping address I must specify the shipping rates. I cannon calculate the shipping rates until I have the address.

How to I avoid this death loop?

Related Request ID(s)
N/A

What have you already attempted?
I have already made google pay require the users shipping address by specifying some dummy shipping rates.

What are you working on?
I am integrating the Stripe Express Checkout Element into my ecommerce website.

#

@slate moss pressed the 🪝 Webhooks button in #help to ask a question:

Question
Just Want know what type of event i need to listening for subscription pricing deduction.
I also need to listen event for payment failures due to card and bank for US accounts

Related Event ID(s)
none

What have you already attempted?
Nothing

What are you working on?
Webhook for Subscription

atomic shuttleBOT
#

@gentle flint pressed the 🔌 API button in #help to ask a question:

Question
I'm getting the following error while doing test payment through payment element with payment method iDeal. The PaymentMethod provided (ideal) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card, sepa_debit, link. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "ideal".

Related Request ID(s)
couldn't find request id

What have you already attempted?
I've turned on iDeal in the following page: https://dashboard.stripe.com/settings/billing/invoice?tab=general

What are you working on?
I'm doing payment element integration

#

@spare ermine pressed the 🔌 API button in #help to ask a question:

Question
I remember that was not possible create a subscription without a customer and a default payment method if collection_method specified is charge_automatically. Some days ago, for an error, we created a subscription without a credit card inserted, i attach the id of subscription as an example. Can you confirm that this is the expected behaviour or it is a bug? In the past doing this kind of API call returned "This customer has no attached payment source."

Related Request ID(s)
sub_1P1SxNF83rF8iubklAX2ALQv

What have you already attempted?
it is a confirm of expected behaviour

What are you working on?
a system to migrate our current subscribed customers from our legacy system to stripe

atomic shuttleBOT
#

@vocal wagon pressed the 🧑‍💻 Code button in #help to ask a question:

Code
proration_date = int(time.time())

            stripe\_price = stripe.Price.create\(
                unit\_amount=new\_amount,  \# Convert to cents
                currency=subscription\_currency, 
                recurring={'interval'\: bundle.billing\_interval},
                product=product\_id,
            \)

            items = \[{
                'id'\: subscription\['items'\]\['data'\]\[0\].id,
                'price'\: stripe\_price.

Question
I want my customer to be able to preview his subscription change so he knows the proration amount he will be charged. But sometimes a negative amount is generated from the invoice although the new subscription price is higher. Is that maybe due to consecutive invoice.upcoming() calls?

What have you already attempted?
The code

What are you working on?
Consecutive Preview Subscription Proration Amount error

#

@finite hawk pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there a way to programmatically capture the webhook signing secret from `stripe listen`?

Related Event ID(s)
payment_intent.succeeded

What have you already attempted?
I've tried capture the output in a variable using ruby, and copying the output to a file but the only thing i'm getting is "Checking for new versions..."

What are you working on?
Listen to webhooks locally

#

@solar hollow pressed the 🔌 API button in #help to ask a question:

Question
I'm attempting to do the following two things via the API at the same time:

  1. Update a subscription's payment plan
  2. update the application_fee_percent on a subscription

when I attempt this, both are updated, but the invoice that is subsequently created by Stripe does not use the newly updated application_fee_percent that was added on the subscription.

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

What have you already attempted?

  1. Subscription update API call: https://dashboard.stripe.com/test/logs/req_jaPmCMTi8RKrRo
  2. invoice's application_fee_amount is null: https://dashboard.stripe.com/test/invoices/in_0P1Tun250JCmBXjUOrzU1RVI (see also https://dashboard.stripe.com/test/events/evt_2P1Tun250JCmBXjU0Fkio5uy )

What are you working on?
subscription price upgrades with application_fee_percent

atomic shuttleBOT
#

@desert hazel pressed the 👍 Best Practices button in #help to ask a question:

Question
When an connect account has issuing disbled due to inactivity, we are contacting support to have issuing re-enabled on the same account. We then need to reissue cards to all of the existing cardholders (very disruptive, btw. Can we reuse the existing Cardholder objects, as well, to issue the new cards? Are there any issues with that we should be aware of?

Doc/Guide Links
https://support.stripe.com/questions/issuing-managing-inactive-connect-accounts

https://docs.stripe.com/issuing/how-issuing-works#issuing-architecture

What are you working on?
Handing disabled issuing on connect accounts

#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
When I'm downgrading my plan from 999.99/year to 19.99/month, The first month's amount which is 19.99 has been cut down from 999.99 and credit 980.00 to customer's credit balance. I don't want it to happen, I want that from starting amount cuts from default payment method and credit 999.99 to customer's credit

Related Request ID(s)
I don't know what to write?

What have you already attempted?
I don't know what to write?

#

@steady remnant pressed the 🔌 API button in #help to ask a question:

Question
Express Checkout Element event shippingaddresschange returns an address, but it only returns the first 3 digits of the post code. (The postal code in question is a 7 digit UK postal code)

I need the full postcode to calculate the shipping cost.

Related Request ID(s)
N/A

What have you already attempted?
Using the shippingaddresschange event

What are you working on?
I am integrating Stripe Express Checkout Element into my ecommerce store.

atomic shuttleBOT
#

@rigid skiff pressed the 🔌 API button in #help to ask a question:

Question
Hello my api return The POST method is not supported for route api/stripe/publickey. Supported methods: GET, HEAD. error

Related Request ID(s)
we_1P1UcR1HRYii7ATbAPnlV89m

What have you already attempted?
Hello my api return The POST method is not supported for route api/stripe/publickey. Supported methods: GET, HEAD. error

atomic shuttleBOT
#

@hearty raven pressed the 👍 Best Practices button in #help to ask a question:

Question
Stripe and Swish not showing up as payment methods in my embedded checkout session despite being activated in dashboard

Doc/Guide Links
https://docs.stripe.com/payments/klarna

What are you working on?
Property management system

#

@nimble moon pressed the 🔌 API button in #help to ask a question:

Question
I am migrating to a newer version of Stripe but I can't find the subscriptions.del() method with the latest version, what is the equivalent, is it now the same as cancel?

Related Request ID(s)
N/A

What have you already attempted?
Looking at docs

What are you working on?
Migration

#

@austere monolith pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Havent coded anything yet.

Question
Is it possible to use Stripe Elements, but before showing the page and generating fields, I want to know which Payment Methods are available in the backend?

What have you already attempted?
Nothing. Just database stuff. Looked into documentation

What are you working on?
Custom Checkout Page using Stripe Elements

#

@twin hamlet pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there any way to get a notification if a webhook times out?

Related Event ID(s)
no related ids

What have you already attempted?
nothing yet

#

@peak jasper pressed the 🔌 API button in #help to ask a question:

Question
I have enable sofort payment from stripe on testing it works fine but on live its not working when I create checkout session

Related Request ID(s)
req_kxQF5f2xEiPowb

What have you already attempted?
It's working fine on testing

#

@terse shale pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Is there any way that a subscription will still send a webhook update after it has the state "canceled"

What have you already attempted?
I have checked the docs and found this but im not sure if this completely answers my question "The subscription has been canceled. During cancellation, automatic collection for all unpaid invoices is disabled (auto_advance=false). This is a terminal state that can’t be updated."

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

atomic shuttleBOT
#

@sweet peak pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it possible to receive subscription price without proration, *along with* an invoice including proration.

When the customer updates a subscription I would like to show them both what they're about to pay now, and what their expecting to pay in a month without proration.
I'm calling `invoices.retrieveUpcoming` with `subscription_proration_behavior: "always_invoice"` and only get the proration value.
Is there a best practice to receive both? I guess I can call it again with only new items but I guess that's a bit hacky, was thinking maybe there's a built in option because I saw the billing portal shows both (can't use that unfortunately because of multiple items).

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

What are you working on?
dev platform for prompt engineering

#

@summer oxide pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hi devs, Recently we were looking into the "Link" for Payments and we found out that "Link" is already enabled in checkouts but is not enabled on Payment_methods, If this is same then why two different scenarios here

What actually happened?
User's are already paying through link in our website but since it is disabled in the payment methods then how is it working?

Reproduction Steps
We tried disabling the Link in Checkout and the "Link" option was not shown anymore.

Question
Whats the difference between "Link" in Payment_methods https://dashboard.stripe.com/test/settings/payment_methods?config_id=pmc_1MU7etKBKFciBNc7KtDJRyhz
and in checkout https://dashboard.stripe.com/settings/link

#

@hollow roost pressed the 👍 Best Practices button in #help to ask a question:

Question
How do I automatically roll API keys?

The basic documentation for rolling an API key describes getting it manually from the console. However, I want to be able to roll the key programmatically.

Doc/Guide Links
https://docs.stripe.com/keys

What are you working on?
My API key is stored in AWS Secrets Manager, and I want to set up automatic rotation of that secret.

atomic shuttleBOT
#

@scarlet pilot pressed the 🪝 Webhooks button in #help to ask a question:

Question
How do I know if a Stripe Connect account is minimally safe for me (as a developer) to use? I mean, which webhook event should I be listening to in order to know that I can transfer funds into it?

Related Event ID(s)
1

What have you already attempted?
It's apparently something related to `currently_due`, but this is still not enough. I would like to have something more sure so I can notify the user she now has a teacher status, and can start monetizing herself on the platform.

I've tried doing a test with creating a Stripe Connect myself on my own Stripe subaccount, but it says it's restricted and it doesn't tell me why? Or how to fix it? (See the screenshot)

What are you working on?
A Teacher-Student Creator Platform

#

@autumn cobalt pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/express-accounts?lang=dotnet&shell=true&api=true&resource=account_links&action=create

Question
I need further explanation of the Account Link Refresh URL redirect cases. I am trying to understand the two cases that are mentioned "Your platform can no longer access the account" and "The account has been rejected". How are these two cases triggered, and are there any webhooks or any ways to know that these two cases have occured before accessing the refresh url?

What have you already attempted?
Haven't attempted yet as I need more information.

What are you working on?
Integrating Connect Express onboarding using stripe hosted flow from within mobile app web view

#

@frozen ember pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I use Custom Connected Accounts, and to enable payouts I use Financial Connections to create a payment method (via Setup Intent) linked to a user's bank account. If I create a payment method without FC, payouts become enabled. I would expect that if I create a payment method using FC, payouts would also be enabled.

What actually happened?
If I create a payment method via Setup Intent using a verified Financial Connections account, payouts on Custom Connected Accounts remain disabled.

Reproduction Steps
Create Financial Connections account , then create Setup Intent with the FC account ID

Question
Why aren't payments enabled on my Custom Connected Accounts if I link an external bank account using Financial Connections to create Payment Methods?

atomic shuttleBOT
#

@stray harbor pressed the 🔌 API button in #help to ask a question:

Question
I am trying to upgrade shopify version from 2020-10 to 2023-07

Related Request ID(s)
shopify version ugrade

What have you already attempted?
I have tried to generate graphql json file for 2023-07, but not getting checkout create modals in that schema

What are you working on?
stuck with generating schema file

#

@daring badger pressed the 🔌 API button in #help to ask a question:

Question
I want the next subscription cycle to start when the previous cycle is payed and I don't want to get money for the period of the delay because I sell medical products and if there was a delay with the customer payment, I want to delay the next one.

Related Request ID(s)
change the billing cycle date based on the previous invoice payment date

What have you already attempted?
I tried setting the billing_cycle_anchor to 'none'

#

@royal shard pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const balanceTransactions = await stripe.balanceTransactions.list(
{
payout: 'payoutid',
type: 'transfer',
expand: ['data.source.source_transfer.source_transaction'],
},
{
stripeAccount: 'acc',
}
);

const charges = balanceTransactions.data.map(
(txn) => txn.source.source_transfer.source_transaction
);

Question
do we get transferId's for this account and payout id?
(we need to get all transferId's that are included in this payout to this particular connected account and not destination charges)

What have you already attempted?
Read stripe's docmentation

What are you working on?
stripe integration to connected accounts

#

@meager crag pressed the 🧑‍💻 Code button in #help to ask a question:

Code
https://github.com/stripe/stripe-java/tree/master/src/main/java/com/stripe/service

Question
How can I log the input and output of each method for a service class? Stripe Java

What have you already attempted?
I tried using Spring AOP but since the classes are marked as final, it can't do anything to it. I tried migrating to AspectJ but that is proving very difficult. I could write a wrapper class, but that is very tedious and and scalable.

What are you working on?
Adding logging to stripe calls

atomic shuttleBOT
#

@limber sonnet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
{
price: price,
email: currentUser.email,
success_url: window.location.origin,
cancel_url: window.location.origin,
allow_promotion_codes: true,
payment_method_collection: "if_required",
discounts: [
{
promotion_code: "FREETRIAL",
},
],
}

Question
I am trying to apply a promotion code to my checkout session with the above code.

What have you already attempted?
I have tried following these docs:
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-discounts
However, I'm running into a wall getting the discount to take. I've tried making the key promotion_code and coupon with both the FREETRIAL id, and it's promo_ id (promo_1P1WEdA231bzpnwR2H3ymxbv)

What are you working on?
Building a checkout page for a SaaS page

#

@autumn cobalt pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/express-accounts?lang=cli&shell=true&api=true&resource=account_links&action=create#redirect-link

Question
In regards to the Account Link Refresh URL, how do I know which connected account is accessing the "Refresh URL" when stripe redirects the user to it? Are there any query parameter strings or cookies that are set by stripe which can be referenced in the "Refresh URL" server response?

What have you already attempted?
Just trying to get more information

What are you working on?
Implementing Custome express account onboarding from within mobile app web view

#

@plush veldt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
SVG for klarna, after pay and affirm

Question
Are there SVG's available for the logos of vendors? I'm looking for klarna, after pay and affirm

What have you already attempted?
browser search

What are you working on?
StitchFix integration with Stripe

#

@warm sinew pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options

Question
I would like to set the payment method not based on the order but based on the previously used payment method, i am using the PaymentElement with react

What have you already attempted?
I read the guide but i have not found an option to select the payment method

What are you working on?
Checkout page for ecommerce

atomic shuttleBOT
#

@gaunt seal pressed the ❌ An Error button in #help to ask a question:

Error Message
TypeError: Cannot read properties of undefined (reading 'forEach')

elements-inner-autocomplete-suggestions-566098e89ccfbd241d3a74afe7e09bc4.js:1

Question
Is this an error in production?

What have you already attempted?
This is a Stripe error

Reproduction Steps
Using Stripe Address Element, hand type out the following address without selecting an autocomplete option or clicking enter address manually...
881 North Nut Swamp Road
Red Bank, NJ 07701

#

@brittle moth pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I used a test card 4000002760003184 that always requires 3D Secure Auth. In my app, the "3D Secure Test 2" page appeared. I pressed "Complete", expecting this to simulate a successful auth.

What actually happened?
The payment in Stripe dashboard is in "Incomplete" state and help text says "The customer must complete an additional authentication step."

Reproduction Steps
See information provided above.

Question
I am trying to simulate an issue we're having with our code where such transactions are being seen as successful.

If I complete "Done" on this test page, shouldn't that mean the customer was authenticated and the charge was completed?

What are you working on?
Fixing issue on existing app

#

@modern trench pressed the 🔌 API button in #help to ask a question:

Question
I have an issue with API integration between stripe and Xolo. the EUR transactions are missing

Related Request ID(s)
none

What have you already attempted?
I contacted Stripe support and they say To contact you

What are you working on?
my accounting company Xolo needs to access all my transactions.

atomic shuttleBOT
#

@royal shard pressed the 🪝 Webhooks button in #help to ask a question:

Question
payout.updated event does it include payout .paid, .canceled, .failed? or do we need to created separate webhooks for each separatly

Related Event ID(s)
payout.updated

What have you already attempted?
read documentation

What are you working on?
Stripe integration for connected accounts

atomic shuttleBOT
#

@wicked fog pressed the 🔌 API button in #help to ask a question:

Question
When embedding a pricing table, do I have to use customer-email to pass a locale to the pricing table? I basically want to show canadian prices in canada, and US prices in the US. But I don't have customers email, this is a public facing pricing table.

Related Request ID(s)
cs_live_b1jRQtlyK4lNaTs4Q2enB9qp636hTLeWYD01nf36ZCfio5tJi9NuzHcTaL

What have you already attempted?
Looking through this guide: https://docs.stripe.com/payments/checkout/pricing-table#price-localization

#

@bleak jacinth pressed the 🪝 Webhooks button in #help to ask a question:

Question
i'm having trouble making a call in postman to the webhook stripe endpoint. I tried my best to look for the correct Stripe-Signature header and the correct payload that I could use in postman to make a successful call but unfortunately no luck with that. Any help is appreciated

Related Event ID(s)
Webhook

What have you already attempted?
I looked in the stripe account, searched in chatGbt, used stripe cli but nothing is working

What are you working on?
project to call that endpoint from postman

atomic shuttleBOT
#

@molten edge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect the amazon pay window to close upon payment intent confirmation.

What actually happened?
The amazon pay window continues display a spinner and does not automatically close.

Reproduction Steps
I do not know if there is a way to reproduce this issue outside of my environment.

Question
Following the instructions at https://docs.stripe.com/billing/subscriptions/amazon-pay?api-integration=subscription I am able to purchase and confirm a subscription with Amazon Pay, however, the pop window for capturing payment detail gets stuck at processing and does not automatically close. Can some assist with this issue?

#

@stable oar pressed the ❌ An Error button in #help to ask a question:

Error Message
Uncaught IntegrationError: cardExpiry Element didn't mount normally.

Question
stripe js elements, calls to mount fail today intermittently. The integration we have has been working for years.

What have you already attempted?
https://docs.stripe.com/js/element/mount
submitted a request to Stripe support

Reproduction Steps
happens when entering a new card info on the form that uses stripe js elements

#

@elder heart pressed the 👍 Best Practices button in #help to ask a question:

Question
My ultimate goal here is fairly basic: SaaS Create Account (maybe Create Customer in Stripe)--> SaaS Add Card to Account (maybe Add Card to Customer in Stripe) --> SaaS Select Product to Subscribe To --> SaaS Show Price inc. Tax Calculations --> SaaS Allow Customer to Pay via Card on File in Stripe --> SaaS Access Services

Doc/Guide Links
Feeling like everything at the moment....

What are you working on?
My ultimate goal here is fairly basic: SaaS Create Account (maybe Create Customer in Stripe)--> SaaS Add Card to Account (maybe Add Card to Customer in Stripe) --> SaaS Select Product to Subscribe To --> SaaS Show Price inc. Tax C

#

@hallow sundial pressed the 🔌 API button in #help to ask a question:

Question
I'm attempting to setup a terminal integration following the instructions here:

https://docs.stripe.com/terminal/quickstart

The part I keep getting stuck on is creating the payment intent. I first create an invoice like this:

let terminalInvoice = await stripe.invoices.create({
customer: stripeCustomer.id,
automatic_tax: {enabled: true},
}
}, {stripeAccount: process.env.connected_account});

await stripe.invoiceItems.create({
description: item.description,
customer: stripeCustomer.id,
unit_amount: item.amount,
quantity: item.quantity,

Related Request ID(s)
req_IBqGbRGdznzZBy

What have you already attempted?
When I create the invoice I finalize the invoice and get the payment intent like this:

terminalInvoice = await stripe.invoices.finalizeInvoice(terminalInvoice.id, {stripeAccount: process.env.connected_account})
console.log(terminalInvoice, 'invoice now');

const reader = await stripe.terminal.readers.processPaymentIntent\(reader\_id, {payment\_intent\: terminalInvoice.payment\_intent}, {stripeAccount\: process.env.connected\_account}\)

return res.json\({paymentIntent\: terminalInvoice.payment\_intent}\);

However I get this error:
PaymentIntent must accept an in-person payment method.

I nee

atomic shuttleBOT
#

@brisk goblet pressed the 🔌 API button in #help to ask a question:

Question
Parameterizing the «Pre-authorized debit agreement» :
I'm trying to follow the example from stripe: [Save bank account info for future payments](https://docs.stripe.com/payments/acss-debit/set-up-payment?platform=web#charge-later)
And when I come to the point where I need to link my bank account for future payments,the stripe.js script shows a pop-up titled « Pre-authorized debit agreement ». Is it the so-called mandate and if so, is it possible to parameterize it with the following information?
* The price of the deposit
* the price of each monthly payment followed by
* the amount of penalty

Related Request ID(s)
none

What have you already attempted?
...

What are you working on?
...

atomic shuttleBOT
#

@hardy pivot pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payment-links/customize?dashboard-or-api=api

Question
Good morning, I was reviewing the stripe documentation to create a checkout session, I want to fill in the shipping address data (similar to customer_email) through the creation but I can't find the object to do it, any help is welcome.

What have you already attempted?
I tried passing the data through the shipping_address_collection object without results.

What are you working on?
I am creating a virtual ceramics store in which I fill in user data, shipping address and billing data to make the purchase through Stripe.