#dev-help
1 messages · Page 86 of 1
@candid widget pressed the 📡 API button in #help to ask a question:
Question
call api:
$this->stripe->accounts->createLoginLink($acct_id, [])
to create https://connect.stripe.com/express/acct_1PTyBiIZ1JuRr5wx/1vwv6G3BDWik
Question:
https://connect.stripe.com/express/acct_1PTyBiIZ1JuRr5wx/1vwv6G3BDWik
Connected account can use this url permanently, right? Each time you log in, authenticate with OTP sms
Related Request ID(s)
https://connect.stripe.com/express/acct_1PTyBiIZ1JuRr5wx/1vwv6G3BDWik
What have you already attempted?
https://connect.stripe.com/express/acct_1PTyBiIZ1JuRr5wx/1vwv6G3BDWik
@steep mirage pressed the 📡 API button in #help to ask a question:
Question
I am using subscription based payments, but with (3) additional usage based items added to the subscription, I need to know how to invoice these all at once to the customer - and format the invoice properly (currently the invoice shows my product name 3 times, and looks incorrect) also, after incrementing the metered usage items, they don't get charged at time of invoicing
Related Request ID(s)
req_0D9SO6Wnb8kfXj
What have you already attempted?
I am attempting to create a checkout session with price line_items attached to each subscription
What are you working on?
A metered-usage based system saas
@distant yoke pressed the 📡 API button in #help to ask a question:
Question
How do I retrieve a list of tax transactions?
Related Request ID(s)
https://docs.stripe.com/api/tax/transactions/retrieve
What have you already attempted?
I tried looking int the documentation
What are you working on?
building Toque, an app that connects users to personal chefs
@blazing basalt pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based-legacy/migration-guide
Question
"Stripe is deprecating usage-records billing". Can you advise on the specific timeline for this deprecation?
What have you already attempted?
searching on google
What are you working on?
Planning projects/tasks
@sour idol pressed the 📡 API button in #help to ask a question:
Question
i want to transfer money from one connected ac to another connected ac
currently it is deducing from my ac
Related Request ID(s)
i want to transfer money from one connected ac to another connected ac currently it is deducing from my ac
What have you already attempted?
const transfer = await stripe.transfers.create({
amount: TransferInsuranceFee,
currency: 'usd',
destination: xyz,
transfer_group: 'abc',
});
What are you working on?
i want to transfer money from one connected ac to another connected ac currently it is deducing from my ac
@silver drum pressed the 👍 Best Practices button in #help to ask a question:
Question
What is the recommended way to implement stripe with multi tenant SAAS systems. I have a software where companies can buy it and they need to take payments from customer and transfer money to their service providers. what's the best way to implement stripe for this type of system?
Doc/Guide Links
https://docs.stripe.com/api/authentication
What are you working on?
Currently I am going with my account as platform and connected account for companies and their service providers. Currently to pay service provider company send money to main and main to service provider.
@median moat pressed the ❌ An Error button in #help to ask a question:
Error Message
Please Select another payment method
Question
This error occurs on calling setupintent for apple pay,is it because I am not passing any required values.
What have you already attempted?
This error occurs on calling setupintent for apple pay
Reproduction Steps
Render Stripe form on custom form,
for setupintent
@deep lark pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
iDeal payment option to be shown on payment page.
What actually happened?
I am not getting iDeal payment option to choose on the payment page. I am only getting card payment option.
Reproduction Steps
iDeal payments option is correctly being shown in test mode. But not on live mode.
I am calling setup intent and then presenting the user with payment sheet.
Question
Am I missing any setting or anything? Why it is working on test mode but not on live mode?
@tribal quiver pressed the 👍 Best Practices button in #help to ask a question:
Question
I found 3 way to create a subscription for customer:
- use session.New and set mode to Subscription
- use subscription.New
- use subscriptionschedule.New to create a delayed subscription
And i have tested that we can use session.New to create a subscription and enable AutomaticTax without a customer address, but to collect the customer's address while payment. But if use subscription.New, when enable AutomaticTax, the call fail and said that the customer have no existing address. I want to know that if i use subscription.New to create a subscription, is there any way to enable AutomaticTax but collect address when payment?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview
https://docs.stripe.com/billing/quickstart
What are you working on?
i am trying to build subscription features for our online service
@candid widget pressed the 📡 API button in #help to ask a question:
Question
how to transfer money from connected account to platform account via dashboard platform account ?
Related Request ID(s)
https://dashboard.stripe.com/test/dashboard
What have you already attempted?
https://dashboard.stripe.com/test/dashboard
@white warren pressed the 📡 API button in #help to ask a question:
Question
I have a question releted to the invoice creation flow in a subscription.
Related Request ID(s)
cus_Q82Ouv3FSpg4up
What have you already attempted?
Please, can you explain using this customer as example?
@slender mason pressed the 📡 API button in #help to ask a question:
Question
I am unable to retrieve a Stripe Price with its currency_options as per the API Doc.
My Price is configured with x3 currencies, so I would expect these to be accessible via the API
I am using the Ruby SDK
https://docs.stripe.com/api/prices/object#price_object-currency_options
Related Request ID(s)
price_1OnrpNLyyYrd44Ag23bsuWWc
What have you already attempted?
price = Stripe::Price.retrieve('price_1OnrpNLyyYrd44Ag23bsuWWc')
price.currency_options
(no method)
@latent marsh pressed the 📡 API button in #help to ask a question:
Question
I paid through the checkout method, how can I check the Transactions information?
Related Request ID(s)
clint92626
What have you already attempted?
https://docs.stripe.com/api/issuing/transactions
@leaden rapids pressed the 📡 API button in #help to ask a question:
Question
Is it possible to (next to accept card payments) also to use the hardware in the S700 to read some NFC information from a blanc NFC card from my own application?
Related Request ID(s)
Terminal
What have you already attempted?
Nothing, waiting for my device to come over.
What are you working on?
Platform for events to accept payments by debit card & NFC chip cards (first put money on the card through stripe).
@subtle zealot pressed the 📡 API button in #help to ask a question:
Question
A testing feature was available at a time to test all 3DS feature (with challenge, exemptions, etc...). Seems that this feature has been removed; do you know if you plan to re-enable this URL ?
Related Request ID(s)
NoRequestID
What have you already attempted?
Try to connect on the old URL
What are you working on?
Some projects arround 3DS
@calm wasp pressed the 🧑💻 Code button in #help to ask a question:
Code
Want to add description in stripe hosted subscription page but formatting not works
Question
Want to add description in stripe hosted subscription page but formatting not works
What have you already attempted?
No
What are you working on?
Stripe Subscriptiom
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
<div id="PayByStripeGooglePay"></div>
const expressCheckoutOptions = {
buttonType: {
googlePay: 'buy'
},
};
const elements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expressCheckoutElement=elements.create( 'expressCheckout',expressCheckoutOptions
);
Question
How can I integrate stripe google pay using express checkout element in php where I can update amount at any time?
What have you already attempted?
I have already added the above code and mount the the div to show the button but the button is not displayed on the browser. Google pay is enabled in my test stripe account and I have added the domain there. I am getting the error "unable to download payment manifest "https://www.google.com/pay". and "unable to download payment manifest "https://www.google.com/redirect"
What are you working on?
Using stripe connect account, I want to integrate stripe google pay where amount and currency will be dynamic
@past hatch pressed the 📡 API button in #help to ask a question:
Question
Hi everyone,
I have a question regarding the Stripe API. Is there a way to call the API endpoint `https://api.stripe.com/v1/accounts` using a token generated through the OAuth 2.0 method? When I attempt to do so, I encounter the following error:
Related Request ID(s)
https://dashboard.stripe.com/acct_1P9CSvP5pegZU6jF/logs/req_ssscUpCTnHIDkP?t=1719821978
What have you already attempted?
{
"error": {
"code": "more_permissions_required_for_application",
"message": "This application does not have the required permissions for this endpoint on account 'acct_1P9CSvP5pegZU6jF'. Having the 'read_write' scope would allow this request to continue.",
"request_log_url": "https://dashboard.stripe.com/acct_1P9CSvP5pegZU6jF/logs/req_ssscUpCTnHIDkP?t=1719821978",
"type": "invalid_request_error"
}
}
@void fern pressed the 📡 API button in #help to ask a question:
Question
I'm using stripe Node library SDK. And I would like to be able to know the exchangeRate through the api from MXN to USD before doing a transfer. How can I do that?
Related Request ID(s)
N/A
What have you already attempted?
const exchangeRates = await this.stripe.exchangeRates.retrieve('mxn')
const rate = exchangeRates.rates['usd'];
And the error is:
Unrecognized request URL (GET: /v1/exchange_rates/mxn). Please see https://stripe.com/docs or we can help at https://support.stripe.com/.'
@frigid wadi pressed the 🪝 Webhooks button in #help to ask a question:
Question
We have had a series of failing webhooks, and currently they will be retried in 15 hours.
Related Event ID(s)
evt_1PXZCpGySGmb5wxXw7U51GPX
What have you already attempted?
I resent the webhook manually and it succeeded, but it says that the failed ones will still be retried.
Is there a way to not make them retry after they succeeded by being triggered manually?
@ivory sail pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Payment Intent URL: https://dashboard.stripe.com/payments/pi_3PX1mkCewIvxqYAm1NW7zXOB
The request body to confirm a payment intent contains many params like: hcaptcha_token, referrer, email address under billing_details, etc...
What actually happened?
This is a payment intent card testing
Payment Intent URL: https://dashboard.stripe.com/payments/pi_3PXaVcCewIvxqYAm0a4iz3Ys
The request body is missing many of the params above, like hcaptcha_token, referrer, email address under billing_details and many other
Reproduction Steps
please check the question above
Question
We have been getting card testing attacks for a couple of days
we did some mitigation strategies and we also enabled the paid version for Radar (and added some block rules)
for some payment intents, I'm not sure why the confirmation attempts are missing important details like captcha token, referer, email, as if the attacker is tampering the request
@crimson grove pressed the 📡 API button in #help to ask a question:
Question
Hi, i created coupons with the API but the field does not appear in my checkout page; Is there a way to allow coupon and promotion code directly in the dashboard (for users who are not developper and do not know how to accept promotion code through the API) ?
Related Request ID(s)
no related request id
What have you already attempted?
tried to look in the dashboard parameters. Tried to check if we could update checkout session on behalf of other user to allow promotion code on the checkout session
What are you working on?
Create coupon on behalf of third party users
@past hatch pressed the 📡 API button in #help to ask a question:
Question
For now, the secret key only get from the UI. Is there any way to get that secret key for OAuth or any other way?
Related Request ID(s)
N/a
What have you already attempted?
N/a
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
const expressCheckoutOptions = {
buttonType: {
googlePay: 'buy'
},
buttonTheme: {
googlePay: 'black'
}
};
const elements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expressCheckoutElement = elements.create(
'expres
Question
how to integrate stripe google pay using express checkout element where I need to update stripe element with new amount when google pay button is clicked?
What have you already attempted?
I have populated the button but it is showing static amount and "pay test" is popup which I need to make dynamic
@median moat pressed the 📡 API button in #help to ask a question:
Question
When selected apple pay during setupintent,
below error message is shown
An error has occurred. Apple Pay cannot be displayed. Please select a different payment method and card. Try again.
Related Request ID(s)
req_um0Ap3HlJ1ahCz
What have you already attempted?
Setupintent with applepay
@tribal quiver pressed the 👍 Best Practices button in #help to ask a question:
Question
I have tested the customer.New api, i didn't find a mechanism to ensure that only create one strip customer for our user. what should i do to ensure that? set Params.IdempotencyKey? if we make another customer.New call after a month, is the IdempotencyKey still can ensure that?
Doc/Guide Links
https://docs.stripe.com/api/customers/create
What are you working on?
i am trying to build a subscription feature for our online service
@leaden rapids pressed the 📡 API button in #help to ask a question:
Question
I saw you can run web environments on the S700, how does this exacly work?
Related Request ID(s)
//
What have you already attempted?
//
What are you working on?
//
@sleek rose pressed the 📡 API button in #help to ask a question:
Question
Checkouts: Is there a way to disable one Payment method like PayPal for instance but allow every single one without specifying every method?
Related Request ID(s)
None
What have you already attempted?
https://docs.stripe.com/api/checkout/sessions/create
What are you working on?
Checkout
@gaunt marsh pressed the 📡 API button in #help to ask a question:
Question
Hello, Uygulamama stripe ile bağlantı sağlarken test modda 'Skip this form' yazısı çıkıyor. Bunu değiştirmenin bir yolu var mı?
Related Request ID(s)
*
What have you already attempted?
I haven't tried anything, I don't have a partner account.
What are you working on?
OAuth2 Connection
@west canopy pressed the 📡 API button in #help to ask a question:
Question
how can i add stripe to 3rd party? i couldn't with tidycal
Related Request ID(s)
req_5ddLo86A9x5tYQ
What have you already attempted?
it says i restricted API key
What are you working on?
office
@topaz garden pressed the 📡 API button in #help to ask a question:
Question
Tax Calculation API
With the tax calculation API line_items. tax_behavior defaults to exclusive
When setting up tax settings a choice can be chosen for inferred_by_currency
How can I ensure I am passing the correct exclusive vs inclusive for the currency I am dealing with?
Related Request ID(s)
NONE
What have you already attempted?
I tried passing inferred_by_currency but that didn't work either
What are you working on?
I have a platform with stripe connect allowing users to charge their customers through forms, I am enabling automatic tax in this powered by stripe but its proving tricky uses this endpoint
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
const expressCheckoutOptions = {
buttonType: {
googlePay: 'buy'
},
buttonTheme: {
googlePay: 'black'
}
};
const elements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expressCheckoutElement = elements.create(
'expres
Question
how to integrate stripe google pay using express checkout element where I need to update "pay test" string in google pay popup when google pay button is clicked?
What have you already attempted?
I have populated the button but it is showing static "pay test" in popup which I need to make dynamic
@drowsy crown pressed the 🧑💻 Code button in #help to ask a question:
Code
// Create a payment intent or perform payment directly
let paymentIntent;
if (providerDefaultPaymentMethodId) {
paymentIntent = await stripe.paymentIntents.create({
customer: customerId,
amount: price, // Replace with the actual amount in cents
currency: currency, // Replace with the desired currency
payment_method: paymentMethodId,
confirm: true,
transfer_data:
Question
there is more code but basically what i need to figure out is if i'm doing an income split correctly. I'm trying to create a payment system where 4.99% + 99 cents in our platform is withheld from the person getting the payment for their service.
What have you already attempted?
I attempted to delineate between the processes, and use an application fee amount parameter but i am not sure that it is working correctly.
What are you working on?
I'm creating a payment system for people to book exercise classes with
@white warren pressed the 📡 API button in #help to ask a question:
Question
If I have an incomplete subscription, how can I modify it's payment method or retry to pay it?
Related Request ID(s)
sub_1PXgI1Id0VogbbwXqQnXStn7
What have you already attempted?
I am developing using C# .NET. I am trying to get the last subscription attempt with some metada and customerId and then modify with the new provided payment method or retry the payment.
@jade steeple pressed the 👍 Best Practices button in #help to ask a question:
Question
Hi!
- customers can enter a boat-rental in our system
- customers can buy a Boost30 (= product with price) so their rental is prominent among all the rentals and this for 30 days. (later with Boost90 etc...)
- I have a PaymentLink to the stripe product, which works. BUT i need there to be a LINK to their rental listing, which is a small string (e.g. "BOAT5412") , i don't want them to TYPE the string as this will allow errors
- I can create programmatically Paymentlinks where each link has metadata (link to the rental). But there are 1000's
- This seems to be odd: why can i not pass an extra value to the paymentlink with the rental id and show this in custom fields or ...
Doc/Guide Links
https://docs.stripe.com/payment-links/api
What are you working on?
A rental website where paid customers can promote their rentals.
@dawn galleon pressed the 📡 API button in #help to ask a question:
Question
I update a subscription schedule and reduce one item's qty from 2 to 1. I don't see it reflected on the dashboard.
Related Request ID(s)
req_peaUZaDVT5n8wr
What have you already attempted?
.
What are you working on?
.
@restive glacier pressed the 📡 API button in #help to ask a question:
Question
I want to active or past_due subscription without any paid invoice, discounted and trial
Related Request ID(s)
cus_QOQPcANxEx7SPF
What have you already attempted?
I have tried to create subscription with payment_behavior allow_incomplete and then I have try to confirm invoice but it also didn't help, I have tried all things but I didn't make subscription active or past_due using any code, so please guilde me how can I do this ?
@eternal sky pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/bank-transfers/accept-a-payment?invoices=without
Question
International wire transfers (https://docs.stripe.com/payments/bank-transfers#international-payments) may incur fees on the way to Stripe, which can result in an amount received that’s less than what the customer originally sent. What happens to the payment intent that was created since its amount set is higher the the amount received? Does it stay on "partially paid" status?
What have you already attempted?
I tried to simulate a funding, but could not emulate a transfer with imposed fees.
What are you working on?
Bank transfers flow via Stripe
@echo pulsar pressed the 📡 API button in #help to ask a question:
Question
We are currently using Invoices. I'm looking at implementing the issuer parameter to show a connected account as the issuer, rather than it showing our main platform accounts branding.
Running a test in test mode i have created an invoice with it being issued by a connected account. However when looking at it i notice the bank account name on the PDF invoice is the connected accounts name whilst looking at the bank account within the pay online hosted page it is shown as out platform account name.
Does this matter, will banks correctly pick up either account name when verifying name
Related Request ID(s)
https://dashboard.stripe.com/test/invoices/in_1PXi21AXxcazmLcJXdW59cfE
What have you already attempted?
As mentioned i am trying this from test mode and wonder wether it differs.
I can see on thhis page that there is a warning about using on behalf of with bank transfers does this also exist for issuer?
@visual obsidian pressed the 📡 API button in #help to ask a question:
Question
How do coupons work ? Client is planning to create coupons to be used on subscriptions. For that to happen do they need to create a coupon & then promotion codes for the created coupon to be used by end users?
Related Request ID(s)
-
What have you already attempted?
-
What are you working on?
seo app with subscriptions
@obtuse rapids pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server
Question
Our app is used by merchants,not final consumers. Therefore, challenges can't be sent directly to the app, as it is in the merchants' hands. The BE team devised a method to have the merchant input the user's email or phone number to receive the challenge. However, I'm unable to implement this flow because the payment sheet only receives challenges in the current app, and I can't bypass this. How can we prevent the payment sheet from requesting the challenge in the current app, or how can we dismiss the payment sheet once the user enters their credit card information without show the challenge?
What have you already attempted?
I've tried to use the paymentsheet and somehow to avoid the SCA challange that is triggered automatically after the createIntentCallback, but I didn't find a way.
What are you working on?
SCA on Android. I'm using the PaymentSheet.
@sleek rose pressed the 📡 API button in #help to ask a question:
Question
Where can I find all the enums for payment_method_types?
Related Request ID(s)
None
What have you already attempted?
API sdk/docs
@twin thicket pressed the 📡 API button in #help to ask a question:
Question
I believe I've just encountered a bug. I'm querying Invoices using the Search APIs, and with the same params I'm sometimes getting a different result (in test mode only). The difference is in `customer`, which sometimes is the same for all invoices (`cus_QBVrV0QXWEa7Fr`), although they are not the proper customer for the invoice (checked in stripe dashboard). Is this a known bug?
Related Request ID(s)
req_dIjN16JPBsxifw
What have you already attempted?
I have attempted doing the same thing in non-test mode setting, and I haven't encountered this. Seems that it's a test mode only issue.
@shut steeple pressed the 📡 API button in #help to ask a question:
Question
There is a way to blacklist an identity via API ? we have found a way via dashboard, but we are not able to do the same thing via api
Related Request ID(s)
none
What have you already attempted?
looking to the identity api and try a way via dashboard
What are you working on?
Blacklist an identity via api to block a person to use my platform with different account
@nova cosmos pressed the 📡 API button in #help to ask a question:
Question
When I am making a payment on the website using a test card that will decline, I do see the Stripe CLI triggers payment_intent.payment_failed (200), but hits the payment_intent.succeeded (500). Should it not only hit the payment_failed event?
I can solve this by putting an if statement if the succeeded event to check the payment status to be succceeded, but it just doesn't look right.
Related Request ID(s)
N/A
What have you already attempted?
...
What are you working on?
A payment gateway
@frigid bane pressed the 🪝 Webhooks button in #help to ask a question:
Question
my webhook is not working i dont know why. it has zero successful or failed attempts. previously i was using destination charge on my platform now i am using direct charge and it stopped working
Related Event ID(s)
"id": "fee_1PXj4zA7I9fLI6DuitXyQglg"
What have you already attempted?
this is the fee id at my dashboard event
@worthy crane pressed the 📡 API button in #help to ask a question:
Question
We have a SaaS that creates connected accounts, processes payments and then payouts the amount to the connected account. We would like to know best practices to reuse the connected account to create a subscription using Stripe Billing.
Related Request ID(s)
None
What have you already attempted?
We are reading the API docs at https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements
What are you working on?
Event Management Software as a Service
@hollow wharf pressed the 📡 API button in #help to ask a question:
Question
i uploaded all connect account details and bank detail via api and i also provided bank statement file but account still not verified on stripe dashboard and i also checked with remediation link it also not showing any pending things i can also see there is no currently pending thing in web hook response of account update event response
Related Request ID(s)
acct_1PXjU62XbpFVGBwU
What have you already attempted?
i have done every thing related to file upload let me provide the code
const upload = await this.stripe.files.create({
file: {
data: file.buffer,
name: file.originalname,
},
purpose: 'account_requirement',
});
return await this.stripe.accounts.update\(body.stripeId,{
documents\: {
bank\_account\_ownership\_verification\: {
files\:\[upload.id\]
}
},tos\_acceptance\: {
date\: Math.floor\(Date.now\(\) / 1000\),
ip\: ip
}
}\);
What are you working on?
trying to figure out the issue
@tawdry sage pressed the 👍 Best Practices button in #help to ask a question:
Question
Hello Stripe team,
I'd like to know what's the best way to share a URL via email to a customer so they can pay for a service. The ability to pay should be limited to a certain amount of days, configurable.
All this on the context of connected accounts.
I think invoicing can work if I were to receive the `invoive.overdue` event on a webhook, and handle it by voiding the invoice. I'm not sure if this is feasible or I need to upgrage Stripe account to create an Automation (not my intention)
Thanks!
Doc/Guide Links
Looked at invoice guides and API docs
What are you working on?
A customer can purchase on a checkout flow a service, otherwise they are reminded to purchase it post-checkout, but it has to be restricted to X days before purchase is no longer possible
@foggy bolt pressed the 👍 Best Practices button in #help to ask a question:
Question
Hi. I am trying to update new amounts to a subscription schedule's phases. I understand that I need to create new "price" objects and pass then to the subscription schedule's update function. However I get an error saying that the update cannot work on phases that have already passed. I would like to know how to determine phases which have already passed and what should I pass in the "phases" input of the update function.
Doc/Guide Links
I have read the stripes subscription schedule update doc
What are you working on?
E-Commerce Platform
@wraith geode pressed the 📡 API button in #help to ask a question:
Question
Reports are pending indefinitely
Related Request ID(s)
NA
What have you already attempted?
Using the CLI or python library, I'm finding that when I create a report (balance.summary.1), and then list reports, the status stays as pending indefinitely
What are you working on?
financial reporting
@midnight barn pressed the ❌ An Error button in #help to ask a question:
Error Message
Unrecognized elements.create('expressCheckout', options) parameter: is_shipping_required is not a recognized parameter. This may cause issues with your integration in the future.
Question
HI, I am trying to make the expressCheckout buttons gather the customers shipping details. As shown in the demo here:
"Collect Shipping Address"
https://docs.stripe.com/elements/express-checkout-element#try-demo
I can't find documented anywhere how I should enable this in my code.
I assume I've got the wrong parameter or something. Any ideas?
Thanks in advance!
What have you already attempted?
I have tried adding "shipping_address_collection" and "is_shipping_required" to the stripe.elements() call. and also the options of elements.create('expressCheckout',options).
Each time I get the similar error in console
Reproduction Steps
Do the basic gude on the expressCheckout page, and try to enable shipping information collection.
What are you working on?
Adding express checkout to my cart page.
@shut steeple pressed the 📡 API button in #help to ask a question:
Question
A way to retrieve the bank information like unicredit, intesa, fineco, and others programmatically via API
Related Request ID(s)
none
What have you already attempted?
Try to have a look to the payment method object api but the only returned value is the network, but in the dashboard there is the bank
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
const expressCheckoutOptions = {
buttonType: {
googlePay: 'buy'
},
buttonTheme: {
googlePay: 'black'
}
};
const elements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expressCheckoutElement = elements.create(
'expres
Question
how to integrate stripe google pay using express checkout element where I need to manually redirect user to a specific url?
What have you already attempted?
Stripe google pay is working on our end. After payment is done, before redirecting to a success url , we need to call a intermediate post method with some specific data.If we use "redirect" if_required will it work that way? We don't want to redirect user directly to the success url.
@odd meteor pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
On invoice objects, I expect `amount_due` to be `0` (zero) when `paid` is `true`. This isn't the case it seems even though the invoice on the stripe dashboard indicates there's no amount due anymore.
What actually happened?
Got `1000` for `amount_due` instead of `0`. The invoice is paid.
Reproduction Steps
I just made the checkout for a new subscription which made the payment.
Question
Why is `amount_due` not `0` when `paid` is `true`? And why does the stripe dashboard indicates it's `0` if in fact the value is `1000`?
What are you working on?
Laravel Cashier Stripe
@fast spruce pressed the 🧑💻 Code button in #help to ask a question:
Code
shippingElement.on('ready', function(event) {
console.log("READY");
addEmailField();
});
Question
Trouble implementing an email field.
I want to add a field that asks for email in the shipping form, right under [Full name]. Is it possible to inject my field into the code?
Or is my best option to create custom fields myself and recreate [Full name] as well?
Also how can I make my created fields match stripe's appearence/style easily?
What have you already attempted?
My attempts feel very silly, I just tried searching for the element and adding code under it.
What are you working on?
General webstore
@vital rover pressed the 👍 Best Practices button in #help to ask a question:
Question
Is it require to create a payment intent to be able to show the dropin to collect the payment method?
Doc/Guide Links
https://docs.stripe.com/payments/quickstart
What are you working on?
we are including in our checkout the dropin for Stripe, to create the clientSecret is required the define the payment intent first, but we would like if it could be postpone until having the payment method
@empty spruce pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
We utilize the Link element on this page if you proceed to checkout - https://getflightpath.io/offer-03/. When Chrome is autofilling the email address it's not trying to login to my Stripe account vs simply autofilling that field. You can replicate this here as well - https://docs.stripe.com/payments/elements/link-authentication-element
What actually happened?
It's trying to get me to login to Stripe vs. autofilling my email
Reproduction Steps
Go here - https://docs.stripe.com/payments/elements/link-authentication-element
Click on email field and you'll see it tries to login with your stripe account
Question
Can we fix this so it just autofills the email address vs tries to login?
@balmy pagoda pressed the 📡 API button in #help to ask a question:
Question
i need to use oauth to request access to a user's account to, for example, pull his balance or create a customer portal session on behalf of his users, etc.
Related Request ID(s)
no ids here
What have you already attempted?
when i go to stripe connect, it only allows me to create new accounts (thru the onboarding, express, standard or custom), intead of connecting to existing ones. what's going on?
@rich valley pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay?platform=react-native
Question
hey there, sorry if this question is very primitive, but I need to make 100% sure.
I added stripe `Apple Pay` component to my react native app. What if a user attached a card with 3D secure to his apple pay. And then in my checkout flow - will stripe `Apple Pay` component require 3D secure or no?
What have you already attempted?
integrated it. just need to confirm one thing
What are you working on?
integrating platform pay into my checkout flow.
@dapper shoal pressed the 📡 API button in #help to ask a question:
Question
For the "Payments" embedded connected component, how can we enable filtering by the "from" field?
Related Request ID(s)
N/A
What have you already attempted?
I've looked at the docs for embedded components and the API reference and couldn't find anything relevant.
@timid wigeon pressed the 📡 API button in #help to ask a question:
Question
Anyone ever needed to attach multiple addresses to a PaymentIntent, or otherwise handle multiple shipping addresses on a single transaction? It seems that the only way to handle this properly (in order to have tax nexus thresholds calculating properly, etc) would be to create a PaymentIntent per-shipping address.
Related Request ID(s)
n/a
What have you already attempted?
I've read all applicable documentation. This is more of a discussion.
What are you working on?
ERP
@steady oriole pressed the 📡 API button in #help to ask a question:
Question
I am using , paymetElement , using api for create payment intent , how can I configure the payment element as there will be option so user can put promotion code . Please let me know
Related Request ID(s)
no
What have you already attempted?
No
What are you working on?
website development
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
const expressCheckoutOptions = {
buttonType: {
googlePay: 'buy'
},
buttonTheme: {
googlePay: 'black'
}
};
const elements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expressCheckoutElement = elements.create(
'expres
Question
How can I test stripe google pay integration with test card? What cards can be used in test mode?
What have you already attempted?
I am using stripe test visa card 4242..... but it's giving me payment failed error with following message
Payment failed. Try using different payment method
@vivid spoke pressed the 📡 API button in #help to ask a question:
Question
Hello! I built a platform on Sharetribe and would like to change the Stripe onboarding such that the accounts created are standard to avoid the payout fees. Is there a simple way to do this? We were told that the change would take 3-4 weeks and cost a significant amount of money. They said "It is the responsibility of the Sharetribe SDK to create Stripe Accounts and that is not something we can change. Which means to create connect accounts with controller.fees.payer == "Account", we will need to reimplement all the payment processing in Sharetribe." Is there an easier way to do this?
Related Request ID(s)
NA
What have you already attempted?
Spoken with Stripe Sales team, received feedback from developer
What are you working on?
Building a platform for peer to peer sales of preloved goods.
@gaunt seal pressed the ❌ An Error button in #help to ask a question:
Error Message
{
"error": {
"message": "",
"param": "deferred_intent.payment_method_types",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_k5GekDU6cthMIM?t=1719846733",
"type": "invalid_request_error"
}
}
Question
How can we add `acss_debit` to our payment flow without producing this error?
What have you already attempted?
I've searched for why this error is caused.
Reproduction Steps
Adding `acss_debit` to our single page payment flow produces this error. We are mounting the payment element before creating a paymentintent in order to maximize flexibility and to be able to apply coupon discounts, tax line items etc.
@oblique bay pressed the ❌ An Error button in #help to ask a question:
Error Message
v3/:1 Uncaught (in promise) IntegrationError: We could not retrieve data from the specified Element.
Please make sure the Element you are attempting to use is still mounted.
at Pe (v3/:1:85324)
at e._handleMessage (v3/:1:92204)
at e._handleMessage (v3/:1:103842)
at v3/:1:90316
Question
I have a woocomerce website, I have been using stripe on it about 3 years ago and sudenly it stoped working
What have you already attempted?
I tried 6 diferent stripe plugins, they all conect pretty well. But the checkout pay button is not working.
Reproduction Steps
my website has an step by step form, once it is completed it display woocomerce checkout page. There when I click pay, the error pops up.
What are you working on?
Im a programer, the website is for a doctor, its been working fine all these 3 years, but recently on jun 17 2024failed
@grim apex pressed the 📡 API button in #help to ask a question:
Question
When I try to refund a payment as the platform on a connected account using the payment intent ID, I receive the following error:
```
No such payment_intent: pi_abc123
```
The connected account is an Express account and the payment is created with a destination charge (`on_behalf_of`, `application_fee_amount` and `transfer_data.destination`).
As the platform, how can I refund a payment made through a connected account?
Related Request ID(s)
req_0c391usrQtrz2X
What have you already attempted?
I assume it does not work because the payment intent belongs to the connected account and not the platform. I need to programmatically refund payments as the platform but I am unsure how.
@short ivy pressed the 👍 Best Practices button in #help to ask a question:
Question
I need to store UK customer bank account and sort code safely, can I use stripe for that?
Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/bacs-debit
What are you working on?
At the moment we handle payemnts manually. A business requirement arose to collect account numbers and sort code of UK customers to make the payments easier. Can we use Stripe to store these datails?
@dark kiln pressed the 📡 API button in #help to ask a question:
Question
Stripe version is wrong on the events
Related Request ID(s)
a
What have you already attempted?
I'm using Stripe.net for the backend and react native stripe terminal sdk for client, the stripe.net package we are using by default has 2020-03-02 as the stripe api version but the events object has the version 2019-12-03 . which makes events no to be catched and processed by our webhook endpoin
@opaque dust pressed the 🧑💻 Code button in #help to ask a question:
Code
for p in prices.data:
if p.tiers_mode == "graduated":
display\_name = p.nickname + ' Meter'
event\_name = p.lookup\_key + '\_meter'
meter = stripe.billing.Meter.create\(
display\_name=display\_name,
event\_name=event\_name,
default\_aggregation={"formula"\: "sum"},
value\_settings={"event\_payload\_key"\: "reports"},
customer\_mapping={"type"\: "by\_id", "event\_payload\_key"\: "stripe\_customer\_id"},
\)
Question
I am trying to update my current graduated Prices to be metered. However this error with the following:
stripe._error.InvalidRequestError: Request req_MR0yEjWZnthAdy: Received unknown parameters: interval, usage_type, meter
What have you already attempted?
The above mentioned code
What are you working on?
Saas
@unborn coral pressed the ❌ An Error button in #help to ask a question:
Error Message
The auth session is in an invalid state for this action
Question
Some users of my app are trying to go through the Connect Onboarding flow by getting account onboarding link using /v1/account_links api endpoint. They get the link successfully but when WebView is opened with this link they see a blank page with error text: "The auth session is in an invalid state for this action"
What have you already attempted?
I've implemented getting links to open Connect onboarding process and opening WebView with this link.
Reproduction Steps
I'm building a mobile app using Node.js and react native.
@strange minnow pressed the 👍 Best Practices button in #help to ask a question:
Question
for automatic card update in Stripe - does stripe send any email to customer?
Doc/Guide Links
any document around emails that stripe sends?
What are you working on?
marketplace which has monthly subcription for listing
@jade lodge pressed the 📡 API button in #help to ask a question:
Question
How can i embed the pre authenticated customer portal inside my website with an iframe
Related Request ID(s)
customer portal
What have you already attempted?
i already have an endpoint that generates a pre authenticated portal and it works on another tab, but i want it inside an iframe at my website
@cinder whale pressed the 📡 API button in #help to ask a question:
Question
We utilize Stripe’s Reports API to generate the following reports for one of our customers: connected_account_payouts.itemized.1, connected_account_payout_reconciliation.itemized.3.
We consistently receive feedback from this customer that these reports appear to get “stuck” for hours. On May 25, support said that there was a bug that got fixed.
However, now that our customer is generating these reports again, they’re still getting stuck.
Related Request ID(s)
frr_1PXmWqFAed7s9c7s3uhaWHPp, frr_1PXmWpFAed7s9c7seqPCkzVu
What have you already attempted?
The reports, after several hours, finished. But, this is something that needs to work consistently for our customer.
What are you working on?
This particular project is a order management and invoice payment facilitation platform.
@median dome pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Removing a card shouldn't cause a 1.5-year old payment intent to retry charging the card that had been removed.
What actually happened?
We had a customer with a payment intent created 2023-01-10 that didn't complete. We removed their only card on file 2024-06-28 5:03 pm. At 5:32 pm, the 1.5-year old payment intent was attempted (against the same card that was removed 29 minutes prior) and failed because of 3DS.
Reproduction Steps
Not sure how it happened in the first place, but to reproduce I guess you would:
- Open a payment intent, have it not complete.
- Let it sit for a while (1.5 years for us)
- Remove a card from the customer
- Wait about 30 minutes for that payment intent to attempt to charge the card that you had removed
Question
Why did this happen? How can we keep it from happening in the future? Are you able to go back further in the payment intent's history than we can, since it doesn't have any other events since they're older than 1 year.
@cosmic kraken pressed the 📡 API button in #help to ask a question:
Question
How can we using your API listen to the PaymentIntent statuses changes in Stripe Account?
In case if we provide our Users to pay for the services with Stripe and then they go to account and Refund it manually. We use no Connector
Related Request ID(s)
No related Request
What have you already attempted?
Your Documentation
What are you working on?
providing our Users to pay for the services with Stripe
@mossy grove pressed the ❌ An Error button in #help to ask a question:
Error Message
CEL expression compilation error - found no matching overload for 'expand' applied to 'string.()'
Question
I'm using the Invoice Templates feature to customize the look of our invoices. I'd like to group items by the line item's associated date. My attempts to do this, using the documentation and in-product hints, keep resulting in errors when trying to `expand()` the `invoice_item`
What have you already attempted?
Filter clause: `line_item.invoice_item.expand().date`
Reproduction Steps
Create an invoice template with the filter clause CEL from above.
What are you working on?
Subscription invoices
@arctic yarrow pressed the 👍 Best Practices button in #help to ask a question:
Question
hello, I am trying to to work through this tutorial on youtube:
https://www.youtube.com/watch?v=w1oLdAPyuok&list=PLy1nL-pvL2M6HFApWUDSGA4Y7btyKx7cE&index=13
The source code I am using is on the youtube page:
https://github.com/tmarek-stripe/demo-react-stripe-js
I am continuing to find this error:
Cannot find module 'next/dist/compiled/next-server/pag
Require stack
what might you suggest to do to resolve this? I was thinking maybe it isn't compatible with react 18
as I am getting alot of errors for that, but I am unsure if that is the correct
conclusion. I appreciate you in advance!
Doc/Guide Links
https://github.com/vercel/next.js/discussions/47594
https://github.com/vercel/next.js/discussions/39432
https://github.com/vercel/next.js/discussions/39432
What are you working on?
Demo Stripe payment system to emulate
I am continuing to find this error:
Cannot find module 'next/dist/compiled/next-server/pag
Require stack
What's the full error output?
@nova bluff pressed the 📡 API button in #help to ask a question:
Question
Looking for some clarity on transfer groups, payouts to 2 connected accounts, and payment link creation (automatic payout and transfer_data)
Related Request ID(s)
N/A in test mode
What have you already attempted?
Setup test mode simulation with a couple connected express accounts, products for those accounts, subscriptions and payout via the API.
What are you working on?
Platform SaaS
@marble perch pressed the 👍 Best Practices button in #help to ask a question:
Question
We are facing an issue when removing CreditCards from payment methods. For some situation Stripe doesn't have any method available. In that case we want to hide PaymentElement and the whole component where it's displayed (it's an accordion now). How is it best to do that?
Doc/Guide Links
I've tried through this: https://docs.stripe.com/api/payment_methods/list but it requires creating additional backend endpoint. I'd prefer to have a frontend-only solution
What are you working on?
Integrating Stripe in our current project
@obtuse rapids pressed the 🧑💻 Code button in #help to ask a question:
Code
val params = PaymentMethodCreateParams.createCard(cardParams = cardParams)
Question
Is there a way to get the cards params from the PaymentSheet.FlowController? I'm using Android and I'm trying to call the createPaymentMethod API from Stripe, but I need the card parameters for that and it seems the PaymentSheet.FlowController doesn't provide this information.
What have you already attempted?
I've tried all the methods from the PaymentSheet.FlowController. I'm following this doc: https://docs.stripe.com/payments/accept-a-payment?platform=android#android-flowcontroller
What are you working on?
I'm implementing SCA for Android
@dusty wasp pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I have a subscription the trial ended today and that generated an invoice that failed because I have not added a card to pay the invoice that was generated, i then added a card to the account and updated the subscription to reset the billing cycle to now and i would assume that would make the full payment.
What actually happened?
But it just makes a decimal payment and the other invoice is still failed and says it would be retried next week.The status remains Retrying
Reproduction Steps
I did all this via the Node JS SDK
Question
I want when any update is made to the subscription, the full payment should be made instead of just a decimal. Also quite weird that only decimal was paid but the subscription became active
@gentle lotus pressed the 📡 API button in #help to ask a question:
Question
Is there a way to change a default api version?
We have an account that we use for local tests with the help of stripe-cli. The problem is that on our side we use stripe java lib with api version 2024-04-10, where the latest one is 2024-06-20, and default on our account is 2020-08-27. This cause a problem with stripe-cli as seems there is no param where we could say which api version should be used (there is only a param --latest, and if not set then the default api version set on account is used, according to doc: https://docs.stripe.com/cli/listen).
This way we are blocked.
Related Request ID(s)
N/A
What have you already attempted?
we tried to find a way to change a default api version on our account to 2024-04-10 but without success.
What are you working on?
to make be able to unblock local tests with the user of stripe-cli
@radiant birch pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Max verification attempts reset should reset the account so the user can try again.
What actually happened?
When we reset the "max verification attempts" error for our users in hosted onboarding, it doesn't actually get reset and the user gets stuck and can't update their connect account information to process payments.
Reproduction Steps
Trigger the "Max Verification Attempts" and then try to reset the account.
Question
How can we allow our users to get through the "Max Verification Attempts" error on hosted onboarding? Is there anything we can do from a code perspective to fix this?
What are you working on?
Hosted Onboarding
@tawdry valley pressed the 👍 Best Practices button in #help to ask a question:
Question
Is there a way to verify that there is a certain amount of funds available in a customer's account without actually capturing a charge? I've looked at SetupIntent and PaymentIntent object but am unsure whether either really fit what I'm trying to do.
Doc/Guide Links
https://docs.stripe.com/api/payment_intents/object https://docs.stripe.com/api/setup_intents
What are you working on?
A service where users put in payment info but then are charged later
@sacred gorge pressed the 🪝 Webhooks button in #help to ask a question:
Question
Is there a way to simulate ACH failure events like charge.disputed, charge.failed in test mode?
Related Event ID(s)
n/a
What have you already attempted?
https://docs.stripe.com/testing#cards
@west wedge pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hello!
Stripe dashboard is indicating that calls to our webhook are timing out every now and again. Fortunately, retries succeed, but still the initial timeout is unexpected.
Our webhook response time is usually pretty fast & reliable (median response is ~300ms). Nothing on our end indicates slowness. In fact, we don't see any indication that we're getting the request at all in these timeout cases.
Could you provide any further details on: request timing, what the timeout length is, any further issues/details you may see on your end for failed requests?
Thanks!
Related Event ID(s)
evt_3PXPqPK5el7ekugh0RvxPCtO evt_1PXffGK5el7ekughOmRQG2E1 evt_3PXXTTHzPEmgzCkm0oVOw5Y5
What have you already attempted?
Investigating our own logs & APM
What are you working on?
Utilizing stripe billing for our subscriptions business
@glad ferry pressed the 📡 API button in #help to ask a question:
Question
How do I cancel a Subscription Schedule on a connect account by calling the cancel endpoint using Ruby?
Related Request ID(s)
req_HtiqitKlTlmZ1A
What have you already attempted?
For a call to the Subscription Schedule Cancel endpoint, I cannot seem to find the syntax for cancelling a connect account's schedule.
The usual syntax that I have used is this:
Stripe::SubscriptionSchedule.cancel('sub_sched_xxxxxx', { stripe_account: 'acct_xxxxx', idempotency: 'xxxxxxx'})
It returns errors when using the usual key value pair and it cannot find the connect account schedule if I remove the key value pair entirely as it looks only on the platform account.
I have tried removing the hash and adding the key value pair directly without success.
What are you working on?
I am adding functionality that allows a client to end a subscription schedule early by paying off the full amount which triggers a cancel call to their subscription and schedule.
@gaunt sapphire pressed the 📡 API button in #help to ask a question:
Question
Hi, I'm new to stripe integration using php, I don't have the slightest idea what I'm doing. I was following the guide using compose and I couldn't get anything to work
https://docs.stripe.com/terminal/quickstart
This is the guide I'm trying to follow. I have some doubts, should the "vendor" folder be in the root next to "public"? I am using xampp as a php server in my physical store, any recommendations?
Related Request ID(s)
Can't connect to stripe
What have you already attempted?
I have tried several things, first the system did not start and gave an error, I solved this using php -S 127.0.0.1:4242 --docroot=htdocs/public while starting the code from the php console. After that I have followed several guides and nothing, I can't get it to do anything at all, the worst thing is that it doesn't show errors or anything to be able to solve them, it doesn't do anything
What are you working on?
I am trying to use WisePos e in my physical store using a php page
@visual pine pressed the ❌ An Error button in #help to ask a question:
Error Message
CheckoutContainer.js:252 Payment process error: IntegrationError: In order to call fetchUpdates, you must pass a valid PaymentIntent or SetupIntent client secret when creating the Elements group.
Question
How do I correctly pass the clientSecret to options (conditionally), whenever there's a clientSecret available? Because I get the error message when passing the clientSecret to options whenever there is a clientSecret
What have you already attempted?
I have logged the place where the clientSecret is created and it is created using form values. And I have also logged the clientSecret in the same file where the options are passed to Elements. There is a client secret available, but when passing it to options it gives me the error.
Reproduction Steps
Not sure what is meant why reproduction steps
What are you working on?
I am working on the checkout page of my small webshop
@silent cargo pressed the 🧑💻 Code button in #help to ask a question:
Code
mode: 'subscription',
billing_address_collection: 'required',
success_url: "https://www.foundment.com/onboarding",
cancel_url: "https://www.foundment.com/opret-konto",
customer_email: userEmail,
client_reference_id: userId,
subscription_data: {
trial_from_plan: false,
billing_cycle_anchor: 'now',
payment_behavior: 'default_incomplete',
},
Question
I'm using the Stripe Firestore extension to create subscriptions, and while in test mode, the first payment is charged immediately. However, in live mode, the first payment is deferred to the next invoice. I need to ensure that the subscription charges the customer immediately upon creation without deferring. Can you help me with what I'm doing wrong?
What have you already attempted?
I've updated the "stripe.checkout.sessions.create" to include billing_address_collection and subscription_data with billing_cycle_anchor: 'now' and payment_behavior: 'default_incomplete'. I've also verified that the Stripe dashboard settings match between test and live modes. Despite this, the first payment is still deferred to the next invoice in live mode.
What are you working on?
Web app for SaaS
@gaunt seal pressed the ❌ An Error button in #help to ask a question:
Error Message
The provided payment_method_types (["card", "cashapp", "link", "us_bank_account"]) does not match the expected payment_method_types (["card", "cashapp", "link", "us_bank_account", "klarna", "alipay", "afterpay_clearpay", "affirm", "wechat_pay"]). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements
Question
How can we use the additional payment methods without incurring this error.
What have you already attempted?
I've tried to search for this particular error message and come up empty.
Reproduction Steps
We're using defered paymentIntent creation with the payment element and we're having to explicitly specify the payment methods per an earlier conversation with Stripe support. The payment intent is created upon invoice finalization.
@nova bluff pressed the 🪝 Webhooks button in #help to ask a question:
Question
What is the correct python sdk function to use to construct a webhook event object from an event emitting to a stripe webhook?
Related Event ID(s)
N/A
What have you already attempted?
stripe.Event.construct_from()
@frigid bane pressed the 🪝 Webhooks button in #help to ask a question:
Question
i am using connect webhook for direct charges and testing it on stripe cli but it only triggers application fee created event
Related Event ID(s)
https://dashboard.stripe.com/test/connect/application_fees/fee_1PXrgNBeLTv8moMX7sNSWQdE
What have you already attempted?
is it because it is in test mode?
@sinful igloo pressed the 👍 Best Practices button in #help to ask a question:
Question
Given subscription products, what is the best way to manage the same subscription tier, but give it a monthly price and an annual price?
Would it make most sense to add 2 prices, one monthly and the other annual?
Is it possible to keep the same subscription object, but switch prices on that subscription to be on the same product, but to switch the price, if the user wanted to switch from monthly to annually or vice versa?
Doc/Guide Links
There aren't any to add for my q.
What are you working on?
SAAS
@knotty jungle pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When using an async payment method (e.g. ACH) with Stripe's hosted checkout form, I would expect the subscription's status to remain "incomplete" until the asynchronous confirmation event has triggered (i.e. `invoice.paid`/ `checkout.session.async_payment_succeeded` or `checkout.session.async_payment_failed`/`invoice.payment_failure`)
What actually happened?
The subscription's status gets changed to `active` immediately after the checkout session is incomplete, even though the payment has yet to be processed/settled. This deviates from the subscription lifecycle laid out in https://docs.stripe.com/billing/subscriptions/overview#subscription-lifecycle
Reproduction Steps
- Create a subscription
- Create a hosted checkout session using that subscription, enabling `us_bank_account` as a payment method
- Use the success test ACH method
- Look at the `customer.subscription.updated` event that gets fired. The subscription's status will be set to 'active' even though the payment intent is still processing
Question
Why is there a multi-day gap where users have an "active" subscription + entitlements even though the payment did not settle/finish processing?
This causes a ton of issues for us because we are primarily a data brokerage, meaning that even a couple days of access would be enough for users to download our datasets / proprietary info.
What are you working on?
A SaaS platform for market intelligence
@spiral wren pressed the 👍 Best Practices button in #help to ask a question:
Question
If a customer purchases an annual subscription and pauses it for 2 months, how can we adjust the subscription end date to account for the paused period without using trials or charging the customer? We've tried to Extend the Subscription Period by Creating an Invoice Item but this prorates the paused period and adds it to the next invoice. We just want to extend the subscription end date.
Doc/Guide Links
- https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#resetting-anchor
- https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
What are you working on?
We are offering a product that allows users to purchase 1 or more subscriptions that will be used in the future.
@ocean kayak pressed the 👍 Best Practices button in #help to ask a question:
Question
I am working on an Android app, I am developing it using Kotlin. Am I able to use your Java SDK?
Doc/Guide Links
https://docs.stripe.com/api/customers/create
What are you working on?
I want to create a customer
@hardy mural pressed the 📡 API button in #help to ask a question:
Question
I had the error with code errno 28
Could not connect to Stripe (https://api.stripe.com/v1/balance). Please check your internet connection and try again. If this problem persists, you should che ▶
\(Network error \[errno 28\]\: Failed to connect to api.stripe.com port 443 after 30000 ms\: Timeout was reached\)
Related Request ID(s)
Balence
What have you already attempted?
https://docs.stripe.com/api/balance/balance_retrieve
@vale matrix pressed the ❌ An Error button in #help to ask a question:
Error Message
You've exceeded your weekly ACH volume limit. To request an increased limit, please contact us via https://support.stripe.com/contact
Question
How can I exceed a limit when I don't normally use Stripe or have a Stripe acct? I was asked to make a payment through Stripe......clicked the verification email, entered the code and "boom".....volume limit exceeded. Please advise since I can't find a way to contact support without an acct.
What have you already attempted?
Searched the support docs which state contact support. I can't since I don't have an account.
⛔️ Stripe developers aren't currently available on Discord
We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.
We are temporarily closing for an hour. We'll be back shortly!
✅ Stripe developers are currently available on Discord!
@graceful comet pressed the 🧑💻 Code button in #help to ask a question:
Code
<div id="checkout-page">
<ExpressCheckoutElement onConfirm={onConfirm} onReady={onReady} />
{errorMessage && <div>{errorMessage}</div>}
</div>
Question
The Express Checkout Element is not showing Google Pay for some of my team members, it's working fine for me and some of us, but not all.
What have you already attempted?
I tried to use onReady to show availablePaymentMethods which turns out to be undefined for them. But they can see the Google Pay button on page https://docs.stripe.com/elements/express-checkout-element
What are you working on?
Trying to see whether there are some settings I'm missing or what?
@vital bough pressed the 📡 API button in #help to ask a question:
Question
Is there anyway to only give users manual verification option for ach payments on checkout?
Related Request ID(s)
none
What have you already attempted?
I tried setting verification method microdeposit and skip but got error messages both times. The problem is the fee of the instant verification. We built our application around a pricing model of .08% for ACH payments but now there is $1.50 connection fee for every bank account showing up on our account balance. That fee is listed as part of financial connections but it is, dare I say deceptively hidden from the ACH pricing info, and now it seems there is no option but to pay the fee. This is pretty devastating to learn this late in the development process.
What are you working on?
A neighborhood customer loyalty app.
@rocky bear pressed the 📡 API button in #help to ask a question:
Question
Considering a scenario where a product charges per seat on a recurring subscription, using prorations for adding seats mid-cycle is it possible to disable proration when the number of seats is reduced?
So far we have set it up so a proration event happens when adding seats, and disabled reducing seats/proration when removing seats to avoid double dipping when a seat is removed and re-add mid-cycle.
Related Request ID(s)
req_desVfI13pCV5gC
What have you already attempted?
We have tried to update the quantity of seats when the "invoice.created" webhook is fired so it reflects the actual number of users but when doing so we haven't been able to modify the quantity value in an invoice (because it's a subscription).
We're using the following code to update the quantity:
await stripe.invoices.updateLineItem(invoiceId, currentGuestLine.id, {
quantity: guestsCount || 0
});
And receiving the following error in the console
StripeInvalidRequestError: You may only update `tax_rates`, `tax_amounts`, or `discounts` for a subscription typed line item.
What are you working on?
Project management SaaS app with a per user recurring subscription.
@south lichen pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/billing/meter-event_summary/object
Question
Can we create multiple meter for single subscription ?
What have you already attempted?
I have created single meter for single subscription.
@granite sand pressed the 🧑💻 Code button in #help to ask a question:
Code
stripe.confirmCardPayment(IntentSecret, {});
Question
I am using the stripe js library to confirm the card payment. Once the confirmation is successful i could get the payment intent back. However this does not have the latest_charge in it. how to get the latest_charge
What have you already attempted?
I understood latest_charge is an expandable field. I dint find a way to add the expand from this js method confirmcardpayment. Is it not possible to expand from this method. In case is there another way to retrieve it with paymentintentid or secret.
@digital mason pressed the 🧑💻 Code button in #help to ask a question:
Code
Migration Step1: Register intent to collect payment on the server side
Create a PaymentIntent on server and make it accessible on client side.
we have already using SetupIntent as below
SetupIntent setupIntent = new SetupIntent();
var service = new SetupIntentService();
var options = new SetupIntentCreateOptions
{
Usage = "off_session",
Description = stripeChargeModel.PaymentDescription,
};
setupIntent = service.Create(options);
Does it need to be migrated?
Question
We need support towards the Migration from Sources API to PaymentIntent API
What have you already attempted?
When analysed about the migration steps mentioned in the link, We were not able to map those steps.
https://docs.stripe.com/payments/payment-intents/migration
We would require support for the migration to PaymentIntent API from Sources API
What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product
@prime vector pressed the 🪝 Webhooks button in #help to ask a question:
Question
Recurring will happen for the incomplete invoice
Related Event ID(s)
-
What have you already attempted?
I have muliple invoices under single subscription. Also I am giving hosted invoice url to get payment from our customers if one customer is failed to pay for sometime the invoice is set to incomplete means the payment not done by customer. But the incomplete invoice is taking for recurring. I need to avoid this how?
What are you working on?
I have subscription update with .setPaymentBehavior(SubscriptionUpdateParams.PaymentBehavior.DEFAULT_INCOMPLETE)
@little thorn pressed the 👍 Best Practices button in #help to ask a question:
Question
Hi, in our environment we want to transfer amounts between merchants (connected account). How we can reach this goal?
Doc/Guide Links
We didn't found any doc about it
What are you working on?
A produciton application integrated with Stripe
@hallow solar pressed the ❌ An Error button in #help to ask a question:
Error Message
Error while communicating with one of our backends. Sorry about that! We have been notified of the problem. If you have any questions, we can help at https://support.stripe.com/.
Question
Why does the instant payment sometimes work and sometimes not?
What have you already attempted?
When paying via Sofort, sometimes the error message appears, sometimes Stripe crashes and you can't click on anything and sometimes the payment works.
@slim wing pressed the 🧑💻 Code button in #help to ask a question:
Code
This question doesn't need code. But here is my stack if needed :
- Sveltekit
- Stripe
- Stripe-svelte (library)
Question
I would like to know if there is a hook on the Link Authentication element to conditionnaly hide or display other elements.
What have you already attempted?
I tried basic of svelte (on:change, ...) but I can't have the state of this element (is the user connected or not)
What are you working on?
a visa insurance platform
@drowsy crown pressed the 🧑💻 Code button in #help to ask a question:
Code
/ Create a payment intent or perform payment directly
let paymentIntent;
if (providerDefaultPaymentMethodId) {
paymentIntent = await stripe.paymentIntents.create({
customer: customerId,
amount: price, // Replace with the actual amount in cents
currency: currency, // Replace with the desired currency
payment_method: paymentMethodId,
confirm: true,
transfer_data:
Question
there is more code but basically what i need to figure out is if i'm doing an income split correctly. I'm trying to create a payment system where 4.99% + 99 cents in our platform is withheld from the person getting the payment for their service.
What have you already attempted?
I attempted to delineate between the processes, and use an application fee amount parameter but i am not sure that it is working correctly.
What are you working on?
I'm creating a payment system for people to book exercise classes with
@vocal wagon pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/tax/checkout/tax-ids
Question
How to enable tax id collection in checkout page.
What have you already attempted?
I used tax_id_collection in checkout page in order to enable the tax id collection. But It's only showing IN GST to enter
@red saffron pressed the 📡 API button in #help to ask a question:
Question
We have been waiting for over a month for Stripe's response to this error:
“Your platform needs approval for accounts to have requested the transfers capability without the card_payments capability. If you would like to request transfers without card_payments, please contact us via https://support.stripe.com/contact”
Related Request ID(s)
req_jGZXySGwcJl2sH
What have you already attempted?
I have tried talking to support 5 times already and nothing helps
@swift siren pressed the 👍 Best Practices button in #help to ask a question:
Question
We would like to only provide users with the option to purchase additional items or upgrade, and not allow them to reduce purchases or downgrade. How can we implement this?
Doc/Guide Links
https://docs.stripe.com/customer-management/integrate-customer-portal
What are you working on?
Establish a CustomerPortal for each individual, and dynamically update the minimum quantity and product options.
@lone shore pressed the ❌ An Error button in #help to ask a question:
Error Message
com.stripe.stripeterminal.external.models.TerminalException: Contactless transaction was canceled
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.collectPaymentMethodHandler(CotsAdapter.kt:227)
Question
I am trying to implement tap to pay in my app but unfortunately, I am getting an error on "collectPaymentMethod"
here is the video link : https://we.tl/t-txjVHHcThO
What have you already attempted?
i have read the doc and implement as it is. and i have use version 3.5.0
@white warren pressed the 🧑💻 Code button in #help to ask a question:
Code
if(subscription.Status == "incomplete") {
subscription = await _stripeService.UpdateSubscription(subscription.Id, paymentMethod.Id, center.StripeSecretKey);
if (subscription == null || subscription.Id == null) {
response.Error = new ErrorDTO(1003, "Customer/MakePayment/Stripe/UpdateSubscription");
return response;
}
switch (subscription.Status) {
case "active":
case "trialing":
response.SubscriptionId = subscription.Id;
response.PaymentIntentSub...
Question
I am trying to handle error on subscription payment from my storageroom rent web page. I would like to offer the posibility to retry the subscription payment if any error occurred before. I would like to update the existing subscription with a new payment method o try again to confirm or verify the payment method without creating a new subscription or invoice.
What have you already attempted?
case "incomplete":
response.Error = new ErrorDTO(1012, "Debe autorizar el pago de la subscripción. Espere un momento y será redireccionado.", "Customer/MakePayment/Stripe/PaymentSubscription");
response.ClientSecret = subscription.LatestInvoice?.PaymentIntent?.ClientSecret;
response.NextAction = subscription.LatestInvoice?.PaymentIntent?.Status;
response.PaymentIntentSubscriptionId = subscription.LatestInvoice?.PaymentIntentId;
response.SubscriptionId = ...
@brave beacon pressed the 📡 API button in #help to ask a question:
Question
If a subscription includes a free trial, will the 'trial_end' property in the subscription object become null after the trial ends, or will it keep its timestamp value?
Related Request ID(s)
https://docs.stripe.com/api/subscriptions/object#subscription_object-trial_end
What have you already attempted?
I have a checkout session creating a subscription with a free-trial
@ocean copper pressed the 📡 API button in #help to ask a question:
Question
Hi there, is it possible to add min/max_quantity field in customer portal configuration -> subscription_update. Why it can be configured on merchant web portal but not via API?
Related Request ID(s)
1
What have you already attempted?
NA
@visual pine pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I am using PaymentElement and I want all the payment methods to show the correct price including the calculated VAT.
What actually happened?
When selecting all the other payment methods like IDEAL and Paypal it redirects the user to another page and on that page it shows the correct price including VAT. But for some reason when selecting Google Pay it only shows the price with VAT. Only after payment the price will correct itself and will show up correctly in the Stripe Dashboard.
Reproduction Steps
I have tried to use elements.fetchUpdate and elements.update but with no success
Question
How to make sure that the price including VAT will show up correctly in the Google Pay screen? Please keep in mind that the Google Pay screen opens on the same page as the checkout page (so there's no redirect). With other payment methods like IDEAL or Paypal it redirects to another page, which triggers something to show the price incl. VAT correctly on another page
@vital rover pressed the 👍 Best Practices button in #help to ask a question:
Question
Is it possible to confirm a Setup intent from the client and avoid require_actions during the payment intent creation and confirmation in the server?
Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment
What are you working on?
A checkout process where we want to charge the money and update stock at the same time in the same process to keep consistency
@meager hinge pressed the 🪝 Webhooks button in #help to ask a question:
Question
I'm using the checkout.session.completed (subscription, one-time payment) and invoice.paid (subscription) webhook events to handle subscriptions and one-time payments. I'm also using Stripe Tax.
Q1. How do I know how much tax was charged for each tax item? It seems like I can only see the total tax amount. For example, if I have $10 in taxes, I want to know how much of it is VAT tax and how much is another tax type.
Q2. How do I use the Stripe Console -> Product catalog -> Tax Rates feature? How can I pass the tax identifier generated by Tax Rate when using Checkout Session API?
Related Event ID(s)
evt_1PY2udH7t32LLKQxPq6l2zL9
What have you already attempted?
Find document..
What are you working on?
Integration subscription & one-time payment using checkout session api
@fiery stirrup pressed the 📡 API button in #help to ask a question:
Question
Is there a way to set the billing details for a charge by means of the Payment Intent that generates it?
Related Request ID(s)
N/A
What have you already attempted?
Reviewed the API documentation. No luck
What are you working on?
Stripe API implementation.
@frigid bane pressed the 🪝 Webhooks button in #help to ask a question:
Question
my webhook connect api endpoint is not capturing checkout session completed even or maybe am i doing something wrong?
Related Event ID(s)
"id": "acct_1N0RuTGuORJUccAU" this is my platform stripe acc id
What have you already attempted?
i am working on direct charges and not able to get my webhook work. previously it was all working fine when i was dealing with destination charges
@smoky pasture pressed the 📡 API button in #help to ask a question:
Question
On the dashboard, some descriptions from subscription charges are described properly, while others are described poorly (invoice-84939F9)
Related Request ID(s)
pi_3PXm8iHlZBj3A1TO19Z3zBNM
What have you already attempted?
I already have code that supposedly changes the payment intent description, I just do not understand why in some cases works and some other does not.
@exotic grove pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/search
Question
Good Morning,
I am attempting to retrieve the fee Stripe charges for a payment.
I tried looking at the API docs for PaymentIntent search (https://docs.stripe.com/api/payment_intents/search) and the payment intent object, but its not clear to me where the fee is.
Is there an API that I can use to request the fees from a payment intent?
What have you already attempted?
I've read these docs
https://docs.stripe.com/api/payment_intents/search
https://docs.stripe.com/api/payment_intents/object
But its not obvious for me which fields are the stripe fees for a payment
What are you working on?
A tool to retrieve the stripe fees charged
@copper willow pressed the 🪝 Webhooks button in #help to ask a question:
Question
How can I access the price ID of the product bought in my webhook?
What have you already attempted?
Golang Code:
var session stripe.CheckoutSession
err := json.Unmarshal(event.Data.Raw, &session)
fmt.Println(session.LineItems)
@dark kiln pressed the 📡 API button in #help to ask a question:
Question
I get stripe event but the api_version field is not what I expect
Related Request ID(s)
req_nWA8WlTdnMyYk2
What have you already attempted?
I get stripe event but the api_version field is not what I expect
@night dock pressed the 📡 API button in #help to ask a question:
Question
Hello Stripe support,
i would like to create a payment with a link where i can have status if payment is cancelled, fulfilled or pending but i don't know how to do that
Related Request ID(s)
req_rZU14Bm8B6cTD0
What have you already attempted?
I tried payment link but I haven't seen any status. My Other solutions would be to create an invoice but i can't manage to get a payment link. same for payment intent maybe there is something i'm missing and i don't know what it is.in payment_intents i have "requires_payment_method" though i don't know how to specify that the customer have to choose it himself instead of me providing those informations
What are you working on?
my company have a desktop software that manage accounting for customers. One of them wanted to use Stripe so i need to implement stripe in our software
@astral talon pressed the 📡 API button in #help to ask a question:
Question
Why am I getting this error when calling the Subscription Schedules API with a phase with the parameter "start_date"? I'm using v78 of the go sdk with account in test mode.
{"code":"parameter_unknown","doc_url":"https://stripe.com/docs/error-codes/parameter-unknown\",\"status\":400,\"message\":\"Received unknown parameter: phases[0][start_date]","param":"phases[0][start_date]","request_id":"req_10qWHLj3CoDr4I","request_log_url":"https://dashboard.stripe.com/test/logs/req_10qWHLj3CoDr4I?t=1719917775\",\"type\":\"invalid_request_error\"}
Related Request ID(s)
req_10qWHLj3CoDr4I
What have you already attempted?
I'm trying to create a subscription with the following:
- start date in the past (back date)
- billing cycle anchor on that date
- an additional phase to add an item to the subscription in the second billing cycle
What are you working on?
Automating billing for usage based service
@clear zephyr pressed the 🪝 Webhooks button in #help to ask a question:
Question
I have a staging test platform + I'm testing locally while developing.
Is there a way to have 2 different webhooks that handles the same events (that part is possible) but depending on the test web site (staging or local) having one webhook or the other to handle the associated event(s) ?
Hopefully, I'm clear enough :)
Related Event ID(s)
NA
What have you already attempted?
I have created two webhooks with different url and the same events.
Unfortunately whatever the origin of the test payment, the first webhook in the list will handle any associated event.
@weary hemlock pressed the ❌ An Error button in #help to ask a question:
Error Message
Partitioned cookie or storage access was provided to “https://js.stripe.com/v3/elements-inner-express-checkout-82804f3d3dc35add34efdd1fdbe5ce09.html#wait=false&rtl=false&publicOptions[paymentMethods][googlePay]=always&publicOptions[paymentMethods][amazonPay]=auto&elementsInitSource=stripe.elements&componentName=expressCheckout&keyMode=test&apiKey=pk_test_V6LUgbV7jAyA3
Question
I get this message in firefox when using ECE.
What have you already attempted?
It works in chrome and safari
Reproduction Steps
install ECE and open firefox.
@fiery stirrup pressed the 📡 API button in #help to ask a question:
Question
Where can I find information about the over the wire encription Stripe uses when sending CC information from the Payment Element to Stripe's servers?
Related Request ID(s)
N/A
What have you already attempted?
Searched through the docs but I was not able to find any specific information
What are you working on?
Stripe API integration project.
@proper prairie pressed the 📡 API button in #help to ask a question:
Question
How can I set "Job title" and verify all owners, directors, executives at my Stripe Connected account with the Java SDK?
Related Request ID(s)
acct_1PWNwqQPCj0cAmgq
What have you already attempted?
I tried to read all docs, asked Chat GPT but did nothing found to set this fields?
What are you working on?
We just want to create connected accounts via the SDK (Java)
@regal palm pressed the 👍 Best Practices button in #help to ask a question:
Question
Greetings, I would like to know which is the best solution for my company to use for UPGRADING/DOWNGRADING a subscription by adding/subtracting an amount of money based on the remaining time of the subscription automatically.
Also, i would like to know if its best for me to use a different product for each price or have less products with different prices. For example, we currently have 2 products: a Standard subscription and a Full subscription. We offer these products in 1 month subs and in 6 month subs with different prices of course. We also differentiate the prices based on the type of the customer (Company or Public Agency).
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade
Is this the proper method to do the upgrade and downgrade subscription method?
Regarding the products or price dilemma, I have not understood exactly what the difference is between them. Is using less products and more price differentiations in them for having a more organized structure purposes only, or does it have a functional difference?
What are you working on?
We have built an intermediary platform for volunteering events that is based on a subscription model for all collaborating organizations (have one of the two subscriptions to use and unlock for features in the platform).
@obtuse quarry pressed the 📡 API button in #help to ask a question:
Question
I am using FileLink to download some image, when I open the link on mac or linux, it downloads it on the correct format and auto-opens it.
On windows, it doesnt give it a extension, so it's a "invalid" type.
How should I proceed?
Related Request ID(s)
none
What have you already attempted?
Don't know what to attempt
What are you working on?
Personal project
@meager spire pressed the ❌ An Error button in #help to ask a question:
Error Message
Stripe Support Broken
Question
Trying to reach support, requested a call and never received a callback. Chat window is now stuck and cannot request "live chat".
What have you already attempted?
Clearing cookies, cache, logging in/out, using VPN, multiple browsers.
Reproduction Steps
Contacting support via chat window.
What are you working on?
Trying to get help with my account.
@thick kraken pressed the ❌ An Error button in #help to ask a question:
Error Message
For recurring payment greater than mandate amount or INR 15000, payment was not approved by the card holder.
Question
Does stripe reattempts the transaction if e-mandate authorisation is not provided or missed?
What have you already attempted?
My customers complain that they didn't notification from stripe or their Bank for pre-debit deduction.
What are you working on?
I am building a saas platform where we charge the customer per usage base and we manually create invoice at month end.
@vagrant ibex pressed the 📡 API button in #help to ask a question:
Question
Disable receipt email for specific subscription
Related Request ID(s)
n/a
What have you already attempted?
rechecked documentation, only can be used in charges (deprecated)
@tepid verge pressed the 📡 API button in #help to ask a question:
Question
Hi Stripe team,
I'm trying to make an invoices->upcoming call with a promotion_code but from what i see in the [documentation](https://docs.stripe.com/billing/subscriptions/coupons?locale=fr-FR&dashboard-or-api=api#promo-code-subscriptions) i must pass the id.
But we get from our customer is the code of the promotion_code not the id.
So is there some other way to set the promotion_code with the code or am i missing some promotion_code fetch/validation step before applying it on invoice/subscrption ?
Related Request ID(s)
req_wuoNEZeDSdYcYu
What have you already attempted?
Using the following JSON but as mention with an id
[
"customer" => "cus_QOv9Jzqc3600Wi"
"subscription_default_tax_rates" => array:1 [
0 => "txr_1JjNDMD9WJsCYyaSbWygSBMy"
]
"subscription_items" => array:1 [
0 => array:2 [
"price" => "price_1K6sEXD9WJsCYyaSjyMrd6n7"
"quantity" => 1
]
]
"discounts" => array:1 [
0 => array:1 [
"promotion_code" => "promo_1PY7jUD9WJsCYyaSIoXQkPRJ"
]
]
]
works fine but how to do it using the code instead ?
What are you working on?
I'm working on adding promotion code fields in our custom API integration of subscription
@vocal wagon pressed the 🪝 Webhooks button in #help to ask a question:
Question
how do I add stripe to my own website?
Related Event ID(s)
xdxa
What have you already attempted?
How do I add stripe to my own website?
What are you working on?
Building and community and adding Stripe as a payout for the community
@loud wasp pressed the 👍 Best Practices button in #help to ask a question:
Question
How can I apply a Coupon to a specific Price? I have a Product with two associated Prices - $35/month and $350/year. I'd like to create a Coupon (with a customer-facing discount code) that will only apply to Customers subscribing to the annual price.
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/coupons
What are you working on?
I am working on btrbet.app, a suite of tools for sports betting content creators.
@weak basin pressed the 🪝 Webhooks button in #help to ask a question:
Question
I'm on a team with tp5199 — I've reviewed this question: #dev-help message
...but I have some follow-up questions.
A) we are not trying to OAuth "connected accounts" — we're trying to access invoices on behalf of totally independent Stripe customers. Are you saying that they would become "connected accounts" when they Oauth'd?
B) You say we don't need a Stripe app for our use case, "just regular OAuth"... can you point me to these docs? The only OAuth docs I see on setting up a client ID involve creating a Stripe app
Related Event ID(s)
na
What have you already attempted?
just reading docs
What are you working on?
a receipt data network
@visual obsidian pressed the 🧑💻 Code button in #help to ask a question:
Code
return this.stripe.subscriptions.update(subscription.id, {
cancel_at_period_end: false,
proration_behavior: "create_prorations",
items: [
{
id: subscription.items.data[0].id,
price: newPrice,
...(quantity && { quantity }),
},
],
...(coupon && { coupon }),
});
Question
why doesn't it apply a coupon when there's prorations ? the latest invoice id is in_1PY85tHa3E1TcO6K6vnMoE1A
What have you already attempted?
it's working for return this.stripe.subscriptions.update(subscription.id, {
cancel_at_period_end: false,
proration_behavior: "always_invoice",
items: [
{
id: subscription.items.data[0].id,
price: newPrice,
...(quantity && { quantity }),
},
],
...(coupon && { coupon }),
}); and return this.stripe.subscriptions.create({
customer,
items: [{ price, ...(quantity && { quantity }) }],
@shy vault pressed the 👍 Best Practices button in #help to ask a question:
Question
We have a platform/connect account setup and we want to allow our customers to initiate retries manually outside of the automated Stripe retry flow. Is there an max retries limit we should be aware of? ...and do we get an error from the "Pay An Invoice" endpoint when we hit the max retry limit?
Doc/Guide Links
https://docs.stripe.com/api/invoices/pay?lang=ruby
What are you working on?
We provide a platform to allow operators to manage their self storage businesses.
@tranquil panther pressed the 👍 Best Practices button in #help to ask a question:
Question
Are we allowed to pull and store externally an address of our customer? This address would be stored in our own database to be able to shower our user their business address without having to load / fetch it each time from Stripe
Doc/Guide Links
https://stripe.com/legal/app-developer-agreement
What are you working on?
business application
@nova egret pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/dynamic-mcc
Question
I'm trying to set dynamic MCC and I'm currently using Stripe.js to capture card using Card. The doc says I have to switch to using server side confirmation. How do I still capture card and do server side confirmation
What have you already attempted?
I haven't tried anything yet
What are you working on?
Payment UX using dynamic MCC
@sly ore pressed the 👍 Best Practices button in #help to ask a question:
Question
Is there any way to handle proration when using metered billing?
Doc/Guide Links
https://stripe.com/en-se/resources/more/what-is-metered-billing-heres-how-this-adaptable-billing-model-works#metered-billing-best-practices
What are you working on?
saas app
@sinful warren pressed the 📡 API button in #help to ask a question:
Question
I have developed an API that generates payment link and now I'd like to add subscription. The subscription requires customer id to put but have a WordPress project and there is customer id there as well. What type of customer id should I put in subscription API to connect subscription to the site user? Also I'd like to add trial period, do I have to create another API for trial or to modify one I already have?
Related Request ID(s)
API
What have you already attempted?
I have tried to put user id from WordPress but it doesn't work
@weak basin pressed the 🪝 Webhooks button in #help to ask a question:
Question
You closed my earlier thread too soon. I can't seem to connect with OAuth, because read_write is apparently no longer supported (
"Starting in June 2021, Platforms using OAuth with read_write scope won’t be able to connect to Standard accounts that are controlled by another platform") ...and read_only results in this error: {"error":{"message":"Please use the `read_write` scope, or contact support at https://support.stripe.com/contact/ in order to use read-only connections."}}
Related Event ID(s)
na
What have you already attempted?
previous threads with support
What are you working on?
receipt data network
@digital mason pressed the 📡 API button in #help to ask a question:
Question
How long we can extend the migration process towards Sources API to Payment Intent API
Related Request ID(s)
ticket number: 4450067
What have you already attempted?
Why this extend option is not shown in our account
What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product
@ruby swan pressed the 📡 API button in #help to ask a question:
Question
Please review my code for accepting the dispute and initiating the refund.
Given below is block of code which is present in the webhook
Related Request ID(s)
pm_1NFKnCBBlUfRTiTYRpZM7Ko5
What have you already attempted?
elif event_type == 'charge.dispute.created':
dispute = data_object
try:
# Automatically accept the dispute
stripe.Dispute.update(
dispute['id'],
evidence={
# Provide any necessary evidence or leave empty to accept dispute as is
},
submit=True,
)
print(f"Dispute {dispute['id']} accepted.")
except Exception as e:
What are you working on?
accepting the dispute and initiating the refund
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
const expressAppleCheckoutOptions = {
buttonType: {
applePay: 'buy'
},
buttonTheme: {
applePay: 'black'
}
};
const appleElements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expressAppleCheckoutElement = appleElements.create(
Question
How to implement stripe apple pay using php?
What have you already attempted?
I have added the apple pay script but I am getting an error regarding "domain is not registered or verified". We had a apple pay feature already so for that we have uploaded one file in our project earlier with ".well-known/apple-developer-merchantid-domain-association". Now, while adding the domain in our stripe account, we are getting another such file. Do we need to upload this one also?
@gaunt seal pressed the 👍 Best Practices button in #help to ask a question:
Question
I'm looking for a doc or a guide to use Stripe's address and payment elements to collect payment on subscriptions and one-off charged products. We're currently rendering the payment element prior to creating an intent. I haven't located a doc that ties in applying collected payments to products or subscriptions so I'm going back to basics. Our checkout flow includes selecting one of a couple of products, the ability to add a discount coupon, and the need to collect address information first, in order to be able to add a 3rd party tax line item to the invoice. I'm trying to choose an integration that maximizes the number of payment methods for our international customers.
Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred
What are you working on?
A check out system for subscriptions and one-off products.
@sand bay pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Notification banner component doesn't show up.
What actually happened?
```
{
"alternatives": [],
"current_deadline": null,
"currently_due": [
"individual.id_number"
],
....
}
```
Reproduction Steps
enter wrong id during onboarding
Question
Even though i have requirements that are currently due, notification doesn't show up. How do i debug this?
@restive dock pressed the 📡 API button in #help to ask a question:
Question
No such setupintent: 'seti_1PY9y62eZvKYlo2CoukybnIA'
Related Request ID(s)
api
What have you already attempted?
i have changed mi api keys nothing works
What are you working on?
app of payments
@autumn halo pressed the 📡 API button in #help to ask a question:
Question
I am allowing users to enter promo codes for one time cart items. Do I need a product ID or price ID for this? The promo codes would have to be for a certain percentage off. I would want my users to create their own promo codes also so they can distribute them to others. How would I do these things?
Related Request ID(s)
N/A
What have you already attempted?
Nothing right now, just getting information before I do it.
@weak basin pressed the 🪝 Webhooks button in #help to ask a question:
Question
Can I use the standard OAuth "connected accounts" flow in read_only mode to just access webhook events on the connected account without having anything to do with payments? going through the connected account platform setup feels wrong
Related Event ID(s)
N/A
What have you already attempted?
Reading the docs, two previous attempts to get clarity on this here in the Discord
What are you working on?
We just want people to be able to authorize us to receive invoice.paid events on a webhook; we DON'T want to be involved in the payment flow AT AL
@opaque dust pressed the 👍 Best Practices button in #help to ask a question:
Question
I have a Metered price (called Report) I want to add it as a line item during Checkout when someone pays for a subscription.
Use Case: When purchasing a Subscription you get the first Report for Free then whilst you are subscribed more Reports will just be added via Meter Events. The Report is a product that is a graduated tiered Price for subscribers. And when purchasing a Subscription it is via the Stripe.Checkout session so I normally would add line items with a price_id and a quantity. Prices with a Meter cant be added this way...
How can I add this Metered Price to a Checkout? Even if I have to use the Meter Event I would like to show it as a line item for the User
Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create
https://docs.stripe.com/api/billing/meter-event/create
What are you working on?
Saas for property reports
@fierce storm pressed the 📡 API button in #help to ask a question:
Question
If a customer's subscription payment fails, I send them the hosted invoice page to correct. Is it possible to set the new credit card that they enter as the default payment method for future subscription payments? In my tests with the customer below, this is not the default behavior.
I am wondering if I can do this by configuring the hosted invoice page.
Alternatively, should I just do it through webhooks, and if so there a way to determine if an invoice.paid webhook came from the hosted ui?
Related Request ID(s)
cus_QOeIMDKxoGKNOn
What have you already attempted?
Tested with the customer, searched on stripe.
What are you working on?
Subscription payment failed flow.
@vivid mural pressed the 🧑💻 Code button in #help to ask a question:
Code
Integrated stripe subscription using stripe checkout
Question
I want to update stripe subscription using stripe checkout
What have you already attempted?
NO
What are you working on?
Stripe Subscriptiom
@neat cobalt pressed the 🧑💻 Code button in #help to ask a question:
Code
```c#
Stripe.PaymentIntent pi = new Stripe.PaymentIntent();
pi.Amount = Convert.ToInt32(pq.Amount * 100);
pi.Currency = pq.CurrencyCode;
Stripe.Card card = new Stripe.Card();
card.AddressCountry = pq.billingInfo.CountryCode;
card.AddressZip = pq.billingInfo.PostCode;
card.Country = card.AddressCountry;
card.ExpMonth = pq.cardInfo.ExpireMonth;
card.ExpYear = pq.cardInfo.ExpireYear;
card.Name = pq.cardInfo.CardholderName;
```
Question
- Where do I put the credit card number?
- Where do I put our merchant order reference number?
What have you already attempted?
These are not documented
What are you working on?
Call center order entry application
@silver fjord pressed the ❌ An Error button in #help to ask a question:
Error Message
"Keys for idempotent requests can only be used with the same parameters they were first used with. Try using a key other than '1093035_5de03e2c-06da-4d33-aa16-744d6c54956f_1' if you meant to execute a different request."
Question
Why am i getting this error when I dont have any existing payment with the same idempotency key?
What have you already attempted?
Retried?
Reproduction Steps
Try creating payment intent
or check the request log :
https://dashboard.stripe.com/logs/req_YM6uGgAaX5EDZ0?t=1719943952
What are you working on?
Marketplace
@arctic zodiac pressed the 📡 API button in #help to ask a question:
Question
Can I disable apple pay/google pay in the Stripe Payment element? It is automatically added as an option since the setup intent accepts cards and we have google/apple pay enabled for other flows in our app but don't want it for this implementation.
Related Request ID(s)
n/a
What have you already attempted?
https://docs.stripe.com/payments/payment-element
We've implemented the stripe payment element and turned on cards and us_bank_accounts for the element.
What are you working on?
Adding payment methods via the stripe payment element
@terse siren pressed the 📡 API button in #help to ask a question:
Question
Currently i set up an app marketplace for businesses and photographers to post and take up jobs. the transactions work however i would like to take a 10% fee of the total transaction and send the rest to the seller. Right now the entire amount gets send over and my platform is left with a negative account balance
Related Request ID(s)
n/a
What have you already attempted?
Thank you so much for waiting. I was investigating and I found out that the reason why your account has a negative balance is because you're transferring the full amount of the payments received to the Connected accounts and thus, the Application fee taken by Stripe is still taken by your platform account and. -$20.29 is the collection of all the fees by Stripe. This is what support said
What are you working on?
a marketplace connecting photographers to local businesses
@opaque dust pressed the 👍 Best Practices button in #help to ask a question:
Question
I want to add a Price that uses a Metered Event (called Report) to a Checkout session for a new subscription without adding the Report as a SubscriptionItem. Otherwise this Report comes up every month with Subscription as a monthly payment.
How do I add it as a line_item without it being added as a SubscriptionItem?
(I depend on the line_items object for fulfilling Report requests)
Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create
What are you working on?
Saas to provide property reports
@prime pilot pressed the 🪝 Webhooks button in #help to ask a question:
Question
Trying to figure out how to test my webhook for subscription events where the checkout has ended but the payment status is delayed, need to test for successful and unsuccessful payments - not sure the events I should be testing for
Related Event ID(s)
evt_1PYCACDrNYX8a6uGe3dY6VO5
What have you already attempted?
I have thoroughly confused myself reading docs, old blog posts, github issues, etc. I would just like a little clarity on which events to listen for on my webhook and how to trigger them in relation to subscription payments that have a status of "incomplete" when the checkout is finished
What are you working on?
website with paid subscriptions built with sveltekit / node backend and the stripe sdk
@nova bluff pressed the 📡 API button in #help to ask a question:
Question
Follow up question on Standard vs Express for this flow: #1257399002228588626 message
Related Request ID(s)
N/A
What have you already attempted?
N/A
@autumn halo pressed the 📡 API button in #help to ask a question:
Question
What is the checkout one time payment equivalent of this?
subscription_data={
"transfer_data": {
"destination": 'acct_1Nv0FGQ9RKHgCVdK',
"amount_percent": 10
},
},
Related Request ID(s)
N/A
What have you already attempted?
Nothing, trying to figure out what the equivalent of this is in the API
@untold jetty pressed the 🪝 Webhooks button in #help to ask a question:
Question
is it possible in the stripe cli to trigger a custom event? so lets say stripe trigger payment_intent.succeeded but i can add my own info in there instead of a random one? wanna try to work with meta data and see how my backend handels it
Related Event ID(s)
-
What have you already attempted?
have tried searching but found nothing on how to make the stripe cli to do a webhook trigger locally with custom data
@grand steeple pressed the 📡 API button in #help to ask a question:
Question
I am attempting to use the issuing element (https://docs.stripe.com/issuing/elements#ephemeral-key-authentication) to display card details using ephemeral key authentication. I am getting a "resource_missing" error, "no such ephemeralkeynonce" when passing the nonce created in the client to my server.
Related Request ID(s)
https://dashboard.stripe.com/acct_1PW4lYBUzEFsx1pt/test/logs?method[0]=post&method[1]=delete&direction[0]=connect_in&direction[1]=self
What have you already attempted?
I have followed the documentation here (https://docs.stripe.com/js/issuing/create_ephemeral_key_nonce) and here (https://docs.stripe.com/issuing/elements) to generate a nonce on the client, and send it to my backend. However, consuming the nonce on the backend generates the "no such ephemeralkeynonce" error.
@cyan wedge pressed the 📡 API button in #help to ask a question:
Question
Hey there! I've been successfully charging payments for the past few months using a dynamic application fee calculation. However, I only really used this because the Stripe fee would come out of the application fee, instead of the application fee and the Stripe charge being separate.
Is there a possible way to set a platform fee and have Stripe take their fee ON TOP of the platform fee? I'm running into unique use-cases where some transactions result in negative revenue for the platform.
Would love some clarification :)
Related Request ID(s)
-
What have you already attempted?
Charging the maximum possible Stripe fees (fees for international currency conversion, manual credit card input etc) and then figuring out an amount to refund the user.
What are you working on?
-
@safe phoenix pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/webhooks?verify=check-signatures-library#verify-official-libraries
Question
FYI: webhook docs need updating
What have you already attempted?
As specified in the docs, I use `const sig = request.headers['stripe-signature'];` to obtain the webhook signature.
In reality, this doesn't work; instead, the header prop is capitalized as such:
`const sig = request.headers['Stripe-Signature'];`
Updating this will save devs like me a little bit of debugging time! :)
@brittle sapphire pressed the 📡 API button in #help to ask a question:
Question
When applying a one-off coupon in a checkout session, the subsequent price is incorrectly increased.
Related Request ID(s)
coupon id: FJ47Ds5C, price id: price_1OXoVlLWH9R7HhsvnGdPqtNT, checkout session id: cs_live_a10YNiRoYgqZVohIWFl1MREWX58h5vWGMVh04D9ySGLzcSdL0kKzfaaJYP
What have you already attempted?
other googles have not helped.
the price will dynamically change to 10.88 when the checkut page loads.
@autumn halo pressed the 📡 API button in #help to ask a question:
Question
Request req_wtJ064380XHNnB: This coupon cannot be redeemed because it does not apply to anything in this order.
Related Request ID(s)
req_wtJ064380XHNnB
What have you already attempted?
Nothing yet, not sure what to do.
@frail bluff pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/collect-card-payment
Question
Is it possible to configure the payment option of an invoice to support online(credit/debit card, bank account, etc...) and in-person (card reader/terminal) payments?
Is it possible to pay an invoice with a card reader/ terminal?
My company's product's ideal flow is to generate an invoice -> user selects how they want to pay the invoice -> user selects to pay via card reader -> user pays.
What have you already attempted?
I have done some tests and created a payment intent for the card reader. And I know a payment intent is generated when an invoice gets finalized. Is there no way to configure the payment option of an opened or drafted invoice to support online(credit/debit card, bank account, etc...) and in-person (card reader/terminal) payments?
Or do I pass the payment intent of the invoice to the card reader?
What are you working on?
Integrating stripe into company's product
@vital bough pressed the 🧑💻 Code button in #help to ask a question:
Code
customer: stripeCustomerId,
mode: 'payment',
success_url: `${SUCCESS_DOMAIN}?session_id={CHECKOUT_SESSION_ID}`,
cancel_url: CANCEL_DOMAIN,
payment_intent_data: {
metadata: {
userId: userId,
},
setup_future_usage: 'on_session', // This saves the payment method for future usage
setup_intent: setupIntent.id, // Link SetupIntent with PaymentIntent
},
});
Question
I am trying to save a customers payment method [ us_bank_account, card ] to their customer object and then when they initiate another checkout session the methods are available for them to use without re-entering and in case of the ACH not having to run another account instant verification check that comes with a $1.50 fee.
What have you already attempted?
I have tried running various versions of the code to save the payment method and then present it to the customer when they start a checkout session. On my dashboard the payment methods are properly stored under the customer, but when I start a checkout with the associated customer id no saved payment methods are presented to me for use.
What are you working on?
Building a neighborhood customer loyalty app.
@buoyant adder pressed the 📡 API button in #help to ask a question:
Question
Hi, I am trying to migrate subscriptions and related data like customers, paymentMethods etc to other account using Stripe API. I am facing issue in creation of payment method. Please check the code snippet. Its gives Invalid Token ID. Please help on this.
Related Request ID(s)
req_wwk1zg29YrTqB1
What have you already attempted?
$sourcePaymentMethod = \Stripe\PaymentMethod::all(['customer' => $sourceSubscriptionData->customer, 'type' => 'card'])->data[0];
$destinationPaymentMethod = \Stripe\PaymentMethod::create([
'type' => 'card',
'card' => [
'token' => $sourcePaymentMethod,
],
What are you working on?
The website is built in laravel
@royal oracle pressed the ❌ An Error button in #help to ask a question:
Error Message
Stripe::APIError (An unknown error occurred)
Question
The bank transfer test helper for simulating creation of funded transactions has started to fail. ( I have posted a support request also, but I don't know when that will get attention)
The test helper as described here:
https://docs.stripe.com/api/cash_balance_transactions/list
Has stopped working for us with this unknown error return.
What have you already attempted?
We had not changed our code which has been working for several months with this test helper.
Reproduction Steps
We are invoking it from ruby with this method. Each time we call it raises the Stripe::APIError
Stripe::Customer::TestHelpers.fund_cash_balance
The error description is:
#<Stripe::APIError: (Status 500) (Request req_NJ9LD38hqqFUQQ) An unknown error occurred>
@grand steeple pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/stripe-js/react#element-components
Question
Is there any way to display an issuing card number display (https://docs.stripe.com/stripe-js/react#element-components) using a react component or do I have to mount it manually (https://docs.stripe.com/js/element/mount). "Issuing card number display" does not appear as an available component with react-stripe-js
What have you already attempted?
I manually mounted my issuing card component, but I can not get it to display in my application.
@vital bough pressed the 🧑💻 Code button in #help to ask a question:
Code
// Create a Checkout Session using the Price ID
const session = await stripe.checkout.sessions.create({
payment_method_types: ['us_bank_account', 'card'],
line_items: [
{
price: priceId,
quantity: 1,
},
],
customer: stripeCustomerId,
mode: 'payment',
success_url: `${SUCCESS_DOMAIN}?session_id={CHECKOUT_SESSION_ID}`,
cancel_url: CANCEL_DOMAIN,
payment_intent_data: {
metadata: {
Question
I cannot get checkout session to present card information that is saved to a customer as a payment method
What have you already attempted?
I have successfully saved a customer's payment method (us_bank_account, card) and ran the above code to create a checkout session passing the customerId to the checkout session. I know bank account info cannot be presented but is it also true that cards saved to customer objects as payment methods are also not presented either?
What are you working on?
a neighborhood customer loyalty app
@fierce storm pressed the 📡 API button in #help to ask a question:
Question
We are trying to implement the following subscription with trial. Our subscriptions are 1 year long. We want to offer the users a 14 day free trial, where they don't have to enter payment method to start trial. If they upgrade to the subscription part way through their trial, we would like them to pay immediately, but would like them to still not lose the extra days from their trial.
For example, if a user gets a yearly subscription 3 days into their 14 day free trial, then they would pay immediately and have access for 1 year and 11 days (since 14-3=11).
Related Request ID(s)
NA
What have you already attempted?
Searching API
What are you working on?
Subscriptions with free trial
@reef wind pressed the 👍 Best Practices button in #help to ask a question:
Question
I'm a platform account. A connected account is trying to make a refund of the amount that was paid out a week ago. As a result error 'Insufficient funds' due to $0 on a stripe balance. Why ban account can't be charged while it is $0 on stripe balance?
Doc/Guide Links
I have no links but I've checked refund documentation
What are you working on?
Payment platform built using stripe api
@tiny comet pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/upload-install-app
Question
After installing an app how can and the cli to access it how can you clone or list the app to a new workspace?
What have you already attempted?
I have followed the following document to install the cli and look at the available commands
https://docs.stripe.com/stripe-apps/reference/cli#install-cli-plugin
What are you working on?
Updating permissions on an existing app
@hidden musk pressed the 📡 API button in #help to ask a question:
Question
whats the best way update the stripe customer of payment method
Related Request ID(s)
req_gTf0gETfKQddDa
What have you already attempted?
trying to update the stripe customer of an existing payment method to a new stripe customer created with same details as original customer
@wintry brook pressed the 📡 API button in #help to ask a question:
Question
How can i deactivate payment links in the dashboard if the link was created with the connect account api header property? Can this only be done using the API? Also how can i gain access to #dev-help channel?
Related Request ID(s)
req_6NPGsuZqK1eTFP
What have you already attempted?
Deactivating the payment link from the stripe dashboard while logged into the connect account.
@tribal quiver pressed the 👍 Best Practices button in #help to ask a question:
Question
If i use session.New API and set Mode to stripe.CheckoutSessionModeSubscription to create a subscription for the customer, then how can i know the subscription was created by which checkout session? i didn't find any field in the customer.subscription.created event object that can tell us the subscription was created by which checkout session.
Doc/Guide Links
here's the event link and id:
https://dashboard.stripe.com/test/events/evt_1PYIv606MwLWnujJ1vY3pwOT
What are you working on?
i am working on build subscription feature for our online service
@west saffron pressed the 📡 API button in #help to ask a question:
Question
Why does extending a phase by altering the end date, with the same other fields, cause the billing anchor to change in same cases, but not others?
Related Request ID(s)
req_jlCbusBjDCmIN9 where it causes it to change, req_CJwUJqP2X0WENM where it doesnt
What have you already attempted?
Our business logic is to migrate an account to a stripe subscription involves setting the start date to today, and then end date to the expiration. By default, we want the subscription to cancel but they can extend by 1 year, when there is 30 days left until that end date, which is also the billing cycle anchor originally. Upon extending the phase by an additional year, the billing anchor is altered to the start date of the phase, which doesn't change during the update request.
What are you working on?
A yearly subscription which auto cancels at the end, unless extended manually
@vital bough pressed the 🧑💻 Code button in #help to ask a question:
Code
const paymentIntent = await stripe.paymentIntents.create({
payment_method_types: ['card'],
amount: 1099,
currency: 'usd',
customer: '{{CUSTOMER_ID}}',
payment_method: '{{CARD_ID}}',
});
Question
I want to do the same thing here but I want to use a customer verified bank account to make an ach direct debit payment
What have you already attempted?
I have tried various versions of entering the payment method Id of the customer's bank account but can't get it to work. I have reviewed Stripe API docs extensively but cannot find an example for ach direct debit used a customer's verified bank account. I saved the customer's bank account in setup mode prior to trying to run the ach payment
What are you working on?
a neighborhood customer loyalty app
@vocal wagon pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/trials
Question
I can able to attach trial periods along with subscription using checkout session page. My question is how can customer upgrade to that plan what they have started in trial mode?
What have you already attempted?
Customer can upgrade to any other plan in billing portal but not the current plan.
For ex: If Trial started for : Basic plan. They can upgrade to Pro plan before the trial period. But can't able to upgrade the Basic plan before the trial period
@bold heron pressed the 👍 Best Practices button in #help to ask a question:
Question
Hi, I have setup webhooks which get triggered after successful payments, where I carry out the business logic of emailing the customer with a product email. But how do I handle this business logic failing? I want to cancel the payment/refund if the webhook logic failed. Or even more ideally, I do not want the payment to succeed until my logic carries out correctly.
Doc/Guide Links
https://docs.stripe.com/refunds
What are you working on?
Ecommerce site
@spare coyote pressed the 📚 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?type=custom-integration
Question
We received a notification email from Stripe, informing us of the compliance requirements for the EU region. As a service provider, we have some users who use Stripe as their payment account. That is, their Stripe account area is in the EEA and they receive Euros.
The problem is that when we jump to the Checkout Form corresponding to the Stripe payment account of these users to test payment, we use the Cartes Bancaires co-branded card, but the Cartes Bancaires option does not appear.
We want to know, is this caused by some option we are missing and not configured?
What have you already attempted?
we jump to the Checkout Form corresponding to the Stripe payment account of these users to test payment, we use the Cartes Bancaires co-branded card, but the Cartes Bancaires option does not appear.
What are you working on?
Checkout Form
@fathom elk pressed the 📡 API button in #help to ask a question:
Question
We have several connected accounts.
If we create a customer for one connected account, can we reuse the same customer payment info for another connected account?
Example:
Customer created on Connected Account 1 with card info saved.
Can the same customer make a payment to Connected Account 2 using the saved payment info from Connected Account 1?
Related Request ID(s)
n/a
What have you already attempted?
I have tried PaymentIntent API, but I am not sure
@frail valley pressed the 📡 API button in #help to ask a question:
Question
I am generating an invoice link with the option to send invoice for topup using payment intents but the mail is not reaching the customer.
Related Request ID(s)
req_exn2ZkzgCTPh03
What have you already attempted?
I am not able to find the solution
What are you working on?
Payments from customers on invoice
@neat dawn pressed the 📡 API button in #help to ask a question:
Question
How can I update the subscription's current period date and upcoming invoice period dates?
Also, how can I update from auto-pay to send invoices for each subscription?
Related Request ID(s)
sub_1PYNQ7B2BzF6ryroE2ODPj3s
What have you already attempted?
How can I update the subscription's current period date and upcoming invoice period dates?
Also, how can I update from auto-pay to send invoices for each subscription?
@foggy vault pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_links/payment_links/create
Question
I am using stripe payment link to ask my user to pay. I am my stripe payment link to be one time usable meaning if a user paid on a payment link if can't pay again using same payment link
What have you already attempted?
I tried looking into docs for attribute that I pass while creating payment link using api that could achieve this
@turbid glade pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When using Affirm to pay, after jumping to the Affirm address, click the close button in the upper left corner to jump back to the address we specified. There are no parameters, but in fact the return_url we passed to Stripe has parameters.
What actually happened?
The redirect address return_url should be with parameters
Reproduction Steps
- The phone is an iPhone XS Max
- Use the Safari browser
- After jumping to Affirm, click the close button in the upper left corner or the return button in the lower right corner
Question
For the same order, this error occasionally occurs on the mobile web page, but there is no problem on the computer. Order number: pi_3PYMtEEmZ3YgtBNv1eTyjkZ0
@drowsy latch pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/stripe-js/react#element-components
Question
To obtain the customer's region information before creating a clientSecret, you can use the AddressElement component from react-stripe-js. However, in order to use this component, you must first obtain the clientSecret. Is there any way to obtain the region information beforehand?
What have you already attempted?
1
@left comet pressed the 📡 API button in #help to ask a question:
Question
Hello! Essentially I have two price points for my plan yearly and monthly. I encountered an issue, when I try to send the credit card details from the frontend to the backend. I create a Customer Object then a PaymentMethod Object after which I will attach that PaymentMethod ID to the Customer Object. But in doing so I get this error:
""error": "Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing.
Related Request ID(s)
N/A
What have you already attempted?
I tried creating a Card token and then attaching it to the subscription payment, but it still returns the same error.
Basically is there a way to pre-tokenize a customers card details, with-out using Stripe's Hosted Checkout page or Stripe's Embedded form? I want to use a custom form if possible.
What are you working on?
Currently I'm setting up a subscription based Plan for my website.
@kindred quarry pressed the 👍 Best Practices button in #help to ask a question:
Question
Our company used to force 3DS for card payments. After integrating Google/Apple Pay as payment methods, all the "wallets" payments failed due to a radar rule we configure for all payments "Block if ! :is_3d_secure_authenticated:".
We are not sure about what we should do about payments with electronic wallets like Google/Apple Pay. Should we disable that feature for those payment methods ? Doesn't open the door to litigations ? Thank you in advance.
Doc/Guide Links
https://support.stripe.com/questions/security-of-apple-pay-transactions
https://support.stripe.com/questions/liability-shift-for-apple-pay-charges
and others about Google Pay
What are you working on?
Google/Apple Pay integration within Checkout payment session for Deskoin
@sonic forge pressed the 🧑💻 Code button in #help to ask a question:
Code
const { error } = await initPaymentSheet({
merchantDisplayName: user_data.name,
customerId: user_data.hash,
paymentIntentClientSecret: create_oi,
allowsDelayedPaymentMethods: true,
applePay:{
merchantCountryCode:'US',
merchantIdentifier: {STRIPE_ACC_ID},
},
googlePay: {
merchantId: {STRIPE_ACC_ID},
merchantCountryCode:'US',
currencyCode:'USD',
testEnv:true,
Question
apple pay and google pay not showing on device. apple pay showing on simulator but not showing on device
What have you already attempted?
i tried many of things as shown in document
What are you working on?
its a app for events booking
@fringe yarrow pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/link
Question
Hi, I enabled Link on my Payment Element form. Can Stripe Link save the user's Apple Pay payment method?
What have you already attempted?
I tried to make a payment with apple pay on my payment element form, but cannot see any option to save Apple pay to Link. Is there a way to save the user's Apple Pay payment method to Stripe Link?
What are you working on?
I'm planning to enable Stripe Link.
@broken wraith pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hello Stripe!
I have a question about webhooks.
In case my server is down, the webhook will not resend the charge event, right?
Is there any solution to help me handle this case so I don't miss the charge event?
Thanks.
Related Event ID(s)
Webhooks
What have you already attempted?
I'm trying to catch webhooks events when my server is down.
I saw this doc suggests using AWS services.
@shut steeple pressed the 📡 API button in #help to ask a question:
Question
I want to know if it is possible to block a specific card issuer in the radar rules (we have the full bin activated, so we see all the card info), for example i don't want to accept the 'wise' cards
Related Request ID(s)
none
What have you already attempted?
check in the radar rules, looking for a middle hooks between the intent and the charge
@nimble moon pressed the 🪝 Webhooks button in #help to ask a question:
Question
When listening to the customer.subscription.updated event, what is the best way to determine if the sub was just recently created?
Related Event ID(s)
evt_1PYQIrLmu5QiBx4BjJcupP3r
What have you already attempted?
We are creating incomplete subscriptions initially, then turning them active once a payment intent has been confirmed. I tried to have a condition to check that the previous attribute status is incomplete and the current subscription is active. This works for most cases except when using 100% off discount which turns the subscription status to active right away. I need to find a way that accounts for all scenarios
@sonic forge pressed the 🧑💻 Code button in #help to ask a question:
Code
const { error } = await initPaymentSheet({
merchantDisplayName: user_data.name,
customerId: user_data.hash,
paymentIntentClientSecret: create_oi,
allowsDelayedPaymentMethods: true,
applePay:{
merchantCountryCode:'US',
merchantIdentifier: {STRIPE_ACC_ID},
},
googlePay: {
merchantId: {STRIPE_ACC_ID},
merchantCountryCode:'US',
currencyCode:'USD',
testEnv:true,
Question
google pay is not showing in react native app
What have you already attempted?
already attempt as documentation did
@sage stag pressed the 🪝 Webhooks button in #help to ask a question:
Question
How can I get permissions to re-trigger a webhook on a Connected account, from the event page?
Or is there an easy way to filter the webhook events on the webhook overview page without having to scroll back through every event>
Related Event ID(s)
evt_1PXjErDG0M0vQ3YbBVyCylA5
What have you already attempted?
Can't find answer anywhere in docs. Atm only solution is to scroll back through all successful logs in order to find the correct one to re-send but this is very time consuming
@alpine depot pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=react-native&type=setup&lang=ruby#present-paymentsheet
Question
How can we hide the Payment Sheet upon error? I want to handle any server-side error on my own and hide the sheet.
What have you already attempted?
There is no method to hide it
What are you working on?
Collecting payment details from users to be used async later
@pure mica pressed the 📡 API button in #help to ask a question:
Question
We are trying to run a search query on subscription using the ruby library's built in auto_pagination feature.
Related Request ID(s)
req_jL2SMW8Uz5qYTD, req_4kJnoBeE9j82BK, req_k2Lv7EzCZervXU, req_vh5EDVGktZxayb, req_B4uUOscZMvDe75, req_oLvExpDHVXz1se, req_ysg0dCh1ZmWruw, req_xxlx903ZjsuAft
What have you already attempted?
We are doing the request as so:
subscriptions = ::Stripe::Subscription.search_auto_paging_each(query:"status: 'active'", limit:100 ).to_a
This returns very odd results. Depending on the time we hit the search, it may return 570, 480 even returned one time 127. It never returns the correct amount which is around 660. Is there any rate limit on the api? When checking with date limits, again the auto pagination yields wrong results in prod. In staging it returns the correct amount of subscriptions ids every single time.
What are you working on?
We were performing a subscription migration on Monday and were checking all the newly created subscriptions if they were successfully migrated but fell on this api issue..
@echo aspen pressed the 📡 API button in #help to ask a question:
Question
I am trying to fetch the charges using last 4 digits of the card, currency and amount. As the default limit is 10, so all the recurrent payments of a single user with a single email got returned.
I want to fetch all the distinct customers or emails that have same last 4 digits of the card, currency and amount.
How to fetch distinct customers with the following given details of payment --> last4,amount,currency
Related Request ID(s)
req_KUtECwxsmqlLve
What have you already attempted?
I have already used the limit to 100 but I a getting repeated emails since they made payments several times due to recurring payment.
Isn't there a way in which I can fetch different customers which has done payment with a particular last4, amount and currency ?
What are you working on?
I have some users who has their payment screenshot and only last4 , currency and amount is visible there and I want to fetch which customer is that from that much info
@vernal trail pressed the 📡 API button in #help to ask a question:
Question
We have offline created invoice in $ in our web application for users and we want to check if we can integrate PHP Stripe APIs and show button next to amount to pay and onclick we want to call Stripe APIs and do not want send user on Stripe page. Which APIs are suitable for this case?
Related Request ID(s)
Stripe APIs
What have you already attempted?
Not yet attempted
What are you working on?
PHP Stripe APIs
@karmic warren pressed the 🪝 Webhooks button in #help to ask a question:
Question
What webhooks should we use to know when a payment made using `us_bank_account` has cleared?
Related Event ID(s)
N/A
What have you already attempted?
When we expand the balance transaction on a charge that uses this payment method the balance transaction is null.
What are you working on?
Revenew - We are a stripe partner
@vocal wagon pressed the 🪝 Webhooks button in #help to ask a question:
Question
I am working on stripe entitlements where you can add features to any particular product. My use case is when an user choose any subscription on trial plan. There are some features they can only use in active plan of same product/subscription. How to achieve this?
Related Event ID(s)
NA
What have you already attempted?
https://docs.stripe.com/billing/entitlements
@gloomy kite pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://dashboard.stripe.com/settings/emails
Question
how to set to customer invoice receive email when i use 100% discount promocode
What have you already attempted?
we receive now without promocode with successful payment
@drowsy latch pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/customize-payment-methods
Question
I set the payment method in the background, but there is no corresponding payment control rendered in the front-end component
What have you already attempted?
1
@sand kiln pressed the 📡 API button in #help to ask a question:
Question
I have stripe already integrated to my software. Still using the test mode of stripe. I want to write some Unit-Tests/Integration tests on my Spring Boot Backend. My backend creates a clientSecret and provides that to the frontend. In my test case i got this secret. I need now to "mock" the frontend (like with stripe.js) to make a confirmPayment directly to retrieve the token which can I provide again to my backend.
Related Request ID(s)
req_2zmZFShjKeg7h6
What have you already attempted?
I think I'm going the wrong way. I was googling for stripe client side mock testing examples and tried something like that:
PaymentMethodCreateParams params = PaymentMethodCreateParams.builder()
.setCard(PaymentMethodCreateParams.Token.builder().setToken("tok_visa").build())
.setType(PaymentMethodCreateParams.Type.CARD)
.build();
PaymentMethod pm = PaymentMethod.create\(params\);
PaymentIntentCreateParams params1 = PaymentIntentCreateParams.builder\(\).setConfirmationToken\(payment.getToken\(\)\).setPaymentMethod\(pm.getId\(\)\).build\(\);
What are you working on?
Automated testing
@sterile knot pressed the 📡 API button in #help to ask a question:
Question
How can I get the fee amount using payment intent object?
Related Request ID(s)
Payment Intent object
What have you already attempted?
I did not attempt anything yet, I am just trying to find a way to get the fee amount.
@sonic forge pressed the 🧑💻 Code button in #help to ask a question:
Code
googlePay: {
merchantId: { STRIPE_ACC_ID },
merchantCountryCode: 'US',
currencyCode: 'USD',
testEnv: true,
}
Question
google pay is not supported in my android app
What have you already attempted?
i did all the things but nothing happend
@brave beacon pressed the 📡 API button in #help to ask a question:
Question
How can I remove the verifier value and code from the oauthContext? I want to clear these values when the user logs out, but it seems the only way to achieve this is by refreshing the entire page.
Related Request ID(s)
https://docs.stripe.com/stripe-apps/pkce-oauth-flow
What have you already attempted?
Tried using useRefreshDashboardData hook and also overriding the value right from the context
@shut depot pressed the 👍 Best Practices button in #help to ask a question:
Question
is there a way to block any transactions from countries where we are not registered for tax?
Doc/Guide Links
https://support.stripe.com/questions/business-tax-registration
What are you working on?
b2c saas product
@mighty musk pressed the 👍 Best Practices button in #help to ask a question:
Question
Am I (the platform) responsible for authenticating my Connected Accounts users? I.e. I can use my Stripe secret key to access all my connected accounts / customers details so is the responsiblity of authenticating my users (who will call my API endpoints) on me? Or is there some extra Stripe auth level I'm supposed to access?
This is for Stripe Connect.
Doc/Guide Links
https://docs.stripe.com/connect/authentication
What are you working on?
Booking system SaaS
@sinful warren pressed the 📡 API button in #help to ask a question:
Question
There a WordPress project and have a Stripe API integrated. I'd like to output email data that user puts into payment link session. How can do this?
Related Request ID(s)
API
What have you already attempted?
I have tried to get email but I can't
@humble slate pressed the 📡 API button in #help to ask a question:
Question
I'm trying to update the entitlements on a stripe customer after receiving the webhook event "entitlements.active_entitlement_summary.updated". However, I can't seem to find the right library call. The docs say to call:
Stripe::Entitlements::ActiveEntitlement.list({customer: '{{CUSTOMER_ID}}'})
But the ruby docs don't seem to list any options for Stripe::Entitlements.
I receive an error in Ruby - uninitialized constant Stripe::Entitlements (NameError)
Related Request ID(s)
NA
What have you already attempted?
https://docs.stripe.com/billing/entitlements#entitlements
https://www.rubydoc.info/search/github/stripe/stripe-ruby?q=Entitlements
@frail valley pressed the 📡 API button in #help to ask a question:
Question
i tried the send api for a invoice, why is it not sending the invoice
Related Request ID(s)
req_fG1bNeY5hUFunj
What have you already attempted?
I tried sending invoice through the ui, i was able to send for the same invoice that is not getting sent through the api.
What are you working on?
payment
@pseudo cargo pressed the 📡 API button in #help to ask a question:
Question
I'm building a checkout integration. Now I redirect users to stripeCheckout.
I would like to verify a user has bought a certain product. How can I find this information after I failed saving it on our end?
Related Request ID(s)
-
What have you already attempted?
I tried to retrieve the payment_intents and the charges of a user. But they dont seem to have the product the user has bought in the first place
@velvet moth pressed the ❌ An Error button in #help to ask a question:
Error Message
discord bot verification denied
Question
I am trying to verify my Discord bot using my Indian PAN card, but the verification process is being denied. I have submitted an original photo of my PAN card, which is issued by the Indian government. Several of my developer friends have successfully verified their bots using the same type of PAN card. Please help me understand why my verification is being denied and
What have you already attempted?
I have tried submitting my PAN card photo multiple times over the past week, ensuring it is an original photo and not a reproduction, copy, or screenshot. Despite this, my verification is still denied. I have also contacted Discord support, and they advised me to reach out to Stripe support for further assistance.
Reproduction Steps
Go to the verification page.
Upload an original photo of my PAN card.Submit the verification request.
Wait for the verification status, which results in a denial.
What are you working on?
I am trying to verify my Discord bot, which is currently in 80 servers, to ensure it can continue operating without any
@grand sandal pressed the ❌ An Error button in #help to ask a question:
Error Message
Incorrect verification code
Question
I'm trying to complete a test account's verification using a remediation link, but I'm getting the above error.
What have you already attempted?
Using 000-000 as the SMS code, as described in https://docs.stripe.com/connect/testing#creating-accounts.
@deft stone pressed the 🧑💻 Code button in #help to ask a question:
Code
I do not have code. Is just an question
Question
I want to open the PaymentSheet in android. Is there a way to filter out payment methods that are enabled from the dashboard
What have you already attempted?
Integrated paymentsheet
@main robin pressed the ❌ An Error button in #help to ask a question:
Error Message
resource_missing - items
No such plan: 'prod_QPIBzrHifXFIBy'
Question
I have created products on stripe and I am trying to link it to my Carrd website but when I click on the link it gives me this error in the developer dashboard
What have you already attempted?
I have tried not including the product ID and just included a link to the payment page but that still did not work
@gray canopy pressed the 📡 API button in #help to ask a question:
Question
We would like to implement Flow where can update the subscription(Product Recurring prices) using the API and also move the users from current price to new one
Related Request ID(s)
No
What have you already attempted?
I am not sure how to approach this flow
@obtuse quarry pressed the 📡 API button in #help to ask a question:
Question
How do I get the information of when a dispute was "resolved" or "lost" ( decided by the bank ) in the API?
Related Request ID(s)
none
What have you already attempted?
Looked over the API but I don't see anything
What are you working on?
Personal project
@crimson grove pressed the 📡 API button in #help to ask a question:
Question
access the promotion code ID or name through the retrieve a checkout session endpoint using expand
Related Request ID(s)
no ids
What have you already attempted?
played with the api without success
What are you working on?
get access to this data
@shrewd crater pressed the 📡 API button in #help to ask a question:
Question
Is there any way to link transfers from our customers to the instant payouts they do to retire the money?
Related Request ID(s)
N/A
What have you already attempted?
I tried looking at the field looking for any link among them,
@clever timber pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
We had a failed payment. After that, we changed the default card
We expected Stripe to charge the new default card.
The subscription was set to charge the default payment.
What actually happened?
We had a failed payment. After that, we changed the default card.
What happened is that Stripe kept charging the same card.
Reproduction Steps
* Payment failed because of insufficient funds on the card or other issues.
* Default card has been changed with a card that can be charged.
Question
I would like to understand what happened.
In the recent activity section of the customer dashboard I can confirm that the default card has been changed on June 19, however, even payments made on June 21 has failed because Stripe tried to charge the previous default card.
@silk python pressed the 📡 API button in #help to ask a question:
Question
I am getting using stripe php sdk
[Wed Jul 03 15:08:59.115137 2024] [proxy_fcgi:error] [pid 1721640:tid 140233358042880] [client 49.205.145.166:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught StellarPay\Integrations\Stripe\Exceptions\StripeAPIException: Unexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com.\n\n(Network error [errno 77]: error setting certificate verify locations:\n CAfile: \n CApath: /etc/ssl/certs) in /home/vuhizakika3527/web/peppy-alpaca-3be75d.instawp.xyz/public_html/wp-content/plugins/stellar-pay/src/Inte
Related Request ID(s)
unable to make api request
What have you already attempted?
I am sure what Stripe is recommanding here. Do i have to configure ca bundle???
@woeful siren pressed the 📡 API button in #help to ask a question:
Question
How can I ensure that a free trial subscription that I've created with the API _never_ assigns the default payment method?
Related Request ID(s)
req_YbpiX8GQMrE6od
What have you already attempted?
We are creating free trials without payment information following the docs: https://docs.stripe.com/billing/subscriptions/trials#create-free-trials-without-payment
One issue we've noticed is that if the `customer` passed in to `stripe.subscriptions.create` either has a) Link setup or b) purchased something else on our site, that default payment method will be added to their trial subscription.
What we want is for the created free trial subscriptions to *never* have payment assigned so that the user always has to consent to move from a trial to a paid up subscription.
@chilly spear pressed the 📡 API button in #help to ask a question:
Question
We received a webhook for a payout that only has one transaction - an ACH return. I'm trying to figure out how to walk from a payout Id to a py which is what we stored when the charge.failed event came in.
Related Request ID(s)
po_1PW84jQ70JYPU44CbJLXNl3z
What have you already attempted?
I'm going through what we've already built and trying to walk the data from the payout > balance transactions > refund > charge , but I can't find the way to walk through to get the py.
@undone creek pressed the 📡 API button in #help to ask a question:
Question
Getting Received unknown parameter: idempotency_key after upgrading Python SDK from V3 to V4
Related Request ID(s)
req_bi2rHIO3WRgDxZ
What have you already attempted?
This error did not happen when we were on SDK V3. I have searched all relevant documentations about V4 and did not see anything has changed with idempotency_key.
@vocal forge pressed the 👍 Best Practices button in #help to ask a question:
Question
It looks like the `disableLink` option is only available in the CardElement component but not the PaymentElement component. Is there a way of disabling Link in the PaymentElement as well? We're using Stripe Connect so we'd like to be able to disable this for all our connected accounts so just turning off the payment method for our platform account isn't a good solution.
Doc/Guide Links
https://docs.stripe.com/payments/link/payment-element-link
What are you working on?
Healthcare patient payments platform
@neat cobalt pressed the 🧑💻 Code button in #help to ask a question:
Code
More than 480 characters, will post in thread
Question
I obtained access to the MOTO documentation so I can supply the credit card number but I'm unclear where I fill out the other payment information such as cardholder name, billing address, etc.
What have you already attempted?
First attempt
What are you working on?
Call center order entry application
@rapid solstice pressed the 📡 API button in #help to ask a question:
Question
Does stripe stores a phone number for a stripe account to contact them or does it rely on Email Id as I only see emailId
Related Request ID(s)
Home->Payments->Connect->Risk management with Connect
What have you already attempted?
I checked the account object and it shows only Email id is directly accessible.
What are you working on?
I want to send a message to the owner of the stripe account if there is any change in their payout bank information
@worthy seal pressed the 🪝 Webhooks button in #help to ask a question:
Question
hi. we recently set up our apple pay - stripe integration incorrectly by uploading a different iOS cert than the one activated on apple's side. we've since resolved the issue, but we'd like to know if there's a way for us to receive errors like this by a webhook to our backend.
Related Event ID(s)
N/A
What have you already attempted?
on iOS devices, the logs we were getting looked like:
{"stripeErrorCode":"","declineCode":null,"localizedMessage":"There was an unexpected error -- try again in a few seconds","message":"We were unable to decrypt your request. Please make sure you've generated and uploaded your Apple Pay certificate at https://dashboard.stripe.com/settings/payments/apple_pay.","type":"invalid_request_error","code":"Failed"}
we're wondering if there's a webhook we can subscribe to to listen for these configuration errors?
What are you working on?
peerspace.com
@leaden leaf pressed the 📡 API button in #help to ask a question:
Question
I'm using Laravel (PHP) and I want to use the API to get all Payment Intents for a certain Payment Method ID.
Related Request ID(s)
N/A
What have you already attempted?
$intents = $stripe->paymentIntents->all([
'payment_method' => $method->payment_method_id,
'status' => 'succeeded',
]);
But I get an error: Received unknown parameters: payment_method, status
@soft swift pressed the 🪝 Webhooks button in #help to ask a question:
Question
I have a Stripe App in test mode that is listening to events via a webhook. In the end user account, only some webhook events are being delivered to the app (appearing as "connected platform" under webhook attempts).
Some events are just not being routed to the app (they're not failing, just not being routed to the app webhook).
e.g. subscription_schedule.created events are not being delivered, invoice.created events are being delivered
Related Event ID(s)
evt_1PYWgsA85OpoaB02v7hOjghZ delivered, evt_1PYWgsA85OpoaB02Hw4NpmTw delivery wasn't attempted
What have you already attempted?
I've tried updating my app's permissions. I request all of these:
event_read, charge_read, customer_read, quote_read, subscription_read, credit_note_read, invoice_read
What are you working on?
A stripe app that receives webhook events, parses them and forwards them to a 3p service
@shrewd crater pressed the 📡 API button in #help to ask a question:
Question
How can I get the BalanceTransaction of a payout?
Related Request ID(s)
N/A
What have you already attempted?
I tried stripe.BalanceTransaction.list(payout='po_1PYCMyBD9A55uQT0gkQ9fU29', expand=['data.source'])
But I got a:
InvalidRequestError: Request req_62A5k0992jzCeS: No such payout: 'po_1PYCMyBD9A55uQT0gkQ9fU29'
@autumn halo pressed the 👍 Best Practices button in #help to ask a question:
Question
I am wondering whether a user account on my website should have 1 stripe connect account or multiple connects accounts. One connect account would be for affiliate marketing and giving a commission if a new user makes a payment with the shared link. The other scenario where I am not sure if I can use the same connect account would be something like udemy where users create content and are paid a commission when new customers make purchases on that content.
Doc/Guide Links
The stripe connect docs.
What are you working on?
Explained above.
@grand steeple pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I am using the stripe issuing card embedded component (https://docs.stripe.com/connect/supported-embedded-components/issuing-card) and have created an ephemeral key exchange to display the card number (https://docs.stripe.com/issuing/connect/embedded-components#sensitive-data-display). The connected component should show the card details.
What actually happened?
The "show card number" button appears, but no card details display after clicking it.
Reproduction Steps
Reproducing requires creating an account session, and then fetching the ephemeral key for a card
Question
How can I debug this? Is this something anyone else has experienced with their connected components?
What are you working on?
A card issuing system
@north pagoda pressed the 📡 API button in #help to ask a question:
Question
From the documentation and from experience, I understand that for an invoice, once auto_advance is set to true, the invoice is finalized in an hour
This didn't happen for an invoice which was cancelled.
Related Request ID(s)
Is finalization timing different for an invoice different for a cancelled invoice?
What have you already attempted?
Read all the documents
@fiery stirrup pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/get-started/data-migrations/pan-copy-self-serve?copy-method=full#data-considerations
Question
What are ACH records stored as payment method objects? How do you differentiate them from US ACH records stored as Bank account objects
What have you already attempted?
Reviewed the docs
What are you working on?
A Migration from a Stripe Standard account to our Stripe Platform Account.
@proper bronze pressed the 🪝 Webhooks button in #help to ask a question:
Question
Is subscription cancellation behavior due to payment_failed configurable? Ideally I would like to put it on "indefinite pause" - for our use case, low-volume and high trust w.r.t customer payment, the users will always eventually pay (or we can manually cancel it in egregious scenarios). But we would like the subscription to not auto-cancel.
Related Event ID(s)
evt_1PX7RsGxr3Puzj1rqMgvcZwk
What have you already attempted?
Read docs on "create subscription" endpoint.
What are you working on?
Building a subscription workflow.
@proud nimbus pressed the ❌ An Error button in #help to ask a question:
Error Message
Unable to make payments
Question
Our end users are unable to make payments through Charge Token API. Payments are getting failed. Below are the token details:
Token ID: tok_1PYY4HCCWjEvegAWC9BUYZ4o
Email: evabrookadams@gmail.com
What have you already attempted?
We have checked internally in our application that whether this is related to DNS issue or not but it appears something else.
@midnight cosmos pressed the 👍 Best Practices button in #help to ask a question:
Question
Export to GCS seems to be documented, but it's not an option for me in the Data Pipeline UI
Doc/Guide Links
https://docs.stripe.com/stripe-data/access-data-in-warehouse/cloud-storage/google-cloud-storage
What are you working on?
Trying to export data at scale from Stripe
@fierce storm pressed the 📡 API button in #help to ask a question:
Question
I am trying to figure out how to upgrade a regular subscription to a subscription schedule. And upgrade a subscription schedule to a regular subscription. I would like to be able to calculate appropriate prorations when necessary.
Related Request ID(s)
NA
What have you already attempted?
I am currently do an upgrade from a regular subscription to another regular subscription like this:
data = {
'default\_payment\_method'\: paymentMethod,
"items\[0\]\[id\]"\: orderID,
"items\[0\]\[price\]"\: priceID,
"proration\_behavior"\: "always\_invoice",
'cancel\_at\_period\_end'\:False,
'expand\[0\]'\:'default\_payment\_method'
}
What are you working on?
Subscription schedules
@tawny zenith pressed the 📡 API button in #help to ask a question:
Question
How do we enable klarna for this example code:
const subscription = await stripe.subscriptions.create({
customer: customerId,
add_invoice_items: invoiceItems,
items: [{
price: priceId,
}],
default_tax_rates: taxRate ? [taxRate] : undefined,
payment_behavior: 'default_incomplete',
metadata: refCode ? {
refCode
} : undefined,
automatic_tax: {
enabled: false
},
payment_settings: {
save_default_payment_method: 'on_subscription'
},
expand: ['latest_invoice.payment_intent'],
}, {
Related Request ID(s)
N/A
What have you already attempted?
Looked into the documentation
@paper swan pressed the 📡 API button in #help to ask a question:
Question
Hello! I'm attempting to use an ExpressCheckoutElement to utilize apple pay and google pay on my site. To complete this process, I'm registering the domains where the element will appear.
I would like to register an authenticated domain on the Stripe payment method domains page in the dashboard settings. The URL looks like: https://username:password@domain.com/
However, when I click Save and Continue, it is stripping the URL to remove the authentication. The resulting domain looks like this:
I wanted to know what the solution would be to register this domain.
Related Request ID(s)
NA
What have you already attempted?
Currently trying:
- Using the API to register domains as shown here (not sure if this will work): https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=api
What are you working on?
Building apple pay/google pay functionality for my employer's site
@foggy bolt pressed the 👍 Best Practices button in #help to ask a question:
Question
Dear All,
I made a couple of subscription schedules where the last phase does not terminate but continues on forever. I have 4 phases each spanning a month. I want to write a script to find such schedules and make them terminate after the last month is over. I did some testing and found that I can simply update the subscription schedule and pass the "end_behaviour" with setting "cancel". I would just like your opinion. Perhaps I have missed something. Is there anything I have to modify in the phases ? Here is a sample schedule ID if you wish to have a look "sub_1PG0KEDVf1B7CjYuZ2dn5cr3".
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules#updating
What are you working on?
E-Commerce application
@blazing spoke pressed the 🪝 Webhooks button in #help to ask a question:
Question
What kind of encoding does stripe apply to the Stripe Event JSON that gets sent out through Webhooks? For example I noticed that there is an "&" in a string that will get encoded into "\u0026". The reason I ask is because we're using AWS API gateway and SQS to process the events and SQS doesn't handle like certain characters so I have to url encode the incoming request headers and the request response body.
Related Event ID(s)
evt_1PYZTqRpoKCDAahEreTiT0rh
What have you already attempted?
I can receive the event fine however, I'm uncertain what kind of encoding/decoding I need to do.
What are you working on?
Stripe Events processed through API Gateway, which forwards the stripe event body to SQS.
@magic pelican pressed the 📡 API button in #help to ask a question:
Question
Live key, but still in test mode?
Related Request ID(s)
req_zjw9Ni6gZzDcMT
What have you already attempted?
Reached out to owner, wanted to confirm it wasn't something on my end.
What are you working on?
Going into Production
@autumn halo pressed the 📡 API button in #help to ask a question:
Question
Stripe connect - I want to transfer_data to 2 possible stripe connect accounts. How do I do this?
Related Request ID(s)
N/A
What have you already attempted?
Nothing
@void flame pressed the 🧑💻 Code button in #help to ask a question:
Code
$subscription = \Stripe\Subscription::create([
'customer' => $customer->id,
'items' => [
['price' => 'price_1PXyF7Bl8ntMl2lqJjFuAu8X'],
],
'billing_cycle_anchor' => $nextMonday,
'proration_behavior' => 'none',
'collection_method' => 'send_invoice',
'days_until_due' => 5,
'payment_behavior' => 'default_incomplete',
]);
Question
I'm trying to setup a subscription that every Monday it puts a hold on the saved credit card until I capture it. When I forward time to Tuesday I see it created an invoice with a Status
Incomplete. I'm trying to figure out how to put the status as capture so I can capture via php. I was able to do it with PaymentIntent Create, and it puts a hold and I can capture it, but when I fw time its incomplete and i've tried everything to change from incomplete to manual capture
What have you already attempted?
I've capture invoices from Stripe subscriptions by fetching active subscriptions and their associated invoices. I checked invoices with statuses like open, draft, uncollectible, and incomplete, aiming to process them for capture. Despite retrieving subscriptions and iterating through their invoices, I'm facing issues where invoices aren't displaying or being processed correctly. I also attempted to handle payment intents requiring confirmation, setting capture_method 2 manual
What are you working on?
Money Back Guarantee subscription. We want to hold the card for 5 days if everything goes smoothly we capture if not we cancel and we dont pay processing fees
@tranquil fossil pressed the 🧑💻 Code button in #help to ask a question:
Code
I am trying to create a discount code on stripe
Question
I can't figure why my discount code isn't showing up at checkout
What have you already attempted?
I've tried to figure it out but cant
What are you working on?
trying to apply a discount code
@rapid oriole pressed the 📡 API button in #help to ask a question:
Question
For connected accounts, I would like to see amounts in both the settlement and presentment currencies. For example, if a user makes a transaction in USD but the connected account is in CAD, the Payment Intent API only provides the amount in USD. How can I also get the amount in CAD?
Related Request ID(s)
req_d4qzZRNxstm8Os
What have you already attempted?
I have read API documentation to find if there is a way to expand payment intente request like this
$paymentIntent = $stripe\-\>paymentIntents\-\>retrieve\($pi,\['expand' =\> \['latest\_charge'\]\], \['stripe\_account' =\> $stripe\_account\]\);
What are you working on?
I am working on a fundrasing application that is not live yet. Almost there
@hidden musk pressed the 📡 API button in #help to ask a question:
Question
How to prevent deletion of customers on subscription deletion or any event that causes customer to be deleted except a delete call on customer is issued?
Related Request ID(s)
webhook event id : "evt_1PW2W7EJx1LumFjqRFogKRfy"
What have you already attempted?
How to prevent deletion of customers on subscription deletion or any event that causes customer to be deleted except a delete call on customer is issued?
@solemn otter pressed the 📡 API button in #help to ask a question:
Question
Are there rate limitations on the Tax API in PROD?
Related Request ID(s)
n/a
What have you already attempted?
The Rate Limits page says that tax products are excluded from the general rate limits. But the Tax Products page doesn't mention rate limits explicitly.
What are you working on?
We are writing solutions for calculating tax using Stripe's Tax API. We hit the rate limitations in the sandbox and are wondering if there are any limitations in PROD.
@worn grail pressed the 📡 API button in #help to ask a question:
Question
How can I do transfer between connected accounts
Related Request ID(s)
none
What have you already attempted?
I did check api docs - can't find
@desert rain pressed the 📡 API button in #help to ask a question:
Question
I have noticed a bank account payment option is showing up on Checkout and Billing Portal sessions. When we generate the links we do not explicitly define payment method types when generating the session URL, defaulting to the settings set in the Stripe Web settings. We do not have bank accounts toggled on. The expectation is not to see a bank account option.
Related Request ID(s)
req_qhz7ZkH0HvuVeG
What have you already attempted?
I have looked at the request and it shows the following payment method types:
```
[
"card","link","cashapp",
],
```
Why does bank accounts show up?
What are you working on?
Nothing other than spotting bank accounts are showing up. Our Stripe integration isn't equipped to handle async payments yet, therefore we do not want bank accounts to show up.
@viscid crescent pressed the ❌ An Error button in #help to ask a question:
Error Message
stripe error not a valid url
Question
I am building a website using bubble.io and have created the proper workflow as I have done in the past to send a user to checkout. All of my keys are set up but I still get this error message.
What have you already attempted?
Checking forums and reaching out to support chat via website. No help at all.
What are you working on?
I am building a website and stripe is the payment processor.
⛔️ Stripe developers aren't currently available on Discord
We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.
Note that our team is away on July 4 and July 5 so Discord will stay closed until July 8 10am SGT / 02:00 UTC.
✅ Stripe developers are currently available on Discord!
@chilly imp pressed the 📡 API button in #help to ask a question:
Question
Looking for a workaround for handling subscriptions with different price intervals
Related Request ID(s)
NA
What have you already attempted?
Cannot use stripe checkout as a checkout session only supports 1 price interval across all prices.
Building a platform where our users can order web hosting. As part of the process they select a hosting plan (Monthly or annually) and also optionally register a domain name which can be from 1 year up to 10 years period.
If we can't do this with 1 subscription, is there a flow where we can capture and store a payment method, and then use that payment method off session to create multiple subscriptions?
What are you working on?
Building a platform where our users can order web hosting. As part of the process they select a hosting plan (Monthly or annually) and also optionally register a domain name
@drifting elbow pressed the 🧑💻 Code button in #help to ask a question:
Code
const {error, paymentIntent} = await createPaymentIntent({
amount: parseInt(inputValue),
currency: 'usd',
captureMethod: 'automatic',
}\);...
const { collectPayment, error } = await collectPaymentMethod({ paymentIntent: paymentIntent, }); ... const { collectPayment, error } = await confirmPaymentIntent(paymentIntent);...
Question
When collectPaymentMethod() returns collectPayment it is undefined. I tap my card on my phone (using Tap to Pay on iOS) and undefined is returned. When I then call confirmPaymentIntent, I get an error since there is no SDKUuid (due to the object being undefined). What is wrong?
What have you already attempted?
Tried changing configuration in the payment intent but still receive same error.
What are you working on?
Tap to Pay on iOS using React Native and Stripe.
@wicked ledge pressed the 🧑💻 Code button in #help to ask a question:
Code
<script src="https://js.stripe.com/v3/"><form id="payment-form">
<h2>Create/Fund Account (Generate 6-Digit Code)</h2>
Amount: <span id="amount">$0.00</span>
<div id="payment\-element"\>
<!\-\-Stripe.js injects the Payment Element\-\-\>
</div\>
<button id="submit"\>
<div class="spinner hidden" id="spinner"\></div\>
<span id="button\-text"\>Pay now</span\>
</button\>
<div id="payment\-message" class="hidden"\></div\>
</form\>
Question
How can I accept fname, lname, and email as input to the Stripe form?
What have you already attempted?
I have tried manually adding <input> on top of the form and then sending it through js, but it sends the data on page load, not when clicking "pay now".
What are you working on?
Form that charges card, then gives me their email so I can credit there account
@stable patrol pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
I want to display a screen where the user can save their card for future usage for react native app.
Question
I want to display a screen where the user can save their card for future usage for react native app.
I want to do it using setup intent without charging amount while saving
What have you already attempted?
to make normal payment i have used payment sheet.. I want similar way to just save payment method with making payment
What are you working on?
a page where user can add a new card and save it for future use
@simple zinc pressed the ❌ An Error button in #help to ask a question:
Error Message
We’re sorry, an unexpected error occurred when we tried to look up your charge. This could be due to multiple charges for the same amount on the same day or an invalid card number. To resolve this issue, please contact our support team.
Question
https://support.stripe.com/charge-lookup seems to be not working
What have you already attempted?
tried to contact support
@wicked ledge pressed the 🧑💻 Code button in #help to ask a question:
Code
elements = stripe.elements({ appearance, clientSecret });
const paymentElementOptions = {
defaultValues: {
billingDetails: {
name: 'Jenny Rosen',
email: 'test@test.com',
},
},
layout: "tabs",
};
const paymentElement = elements.create("payment", paymentElementOptions);
Question
Name and email still not showing
What have you already attempted?
What the docs says (from last question)
@upper bough pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hello there! I am using the subscription starter kit built by Vercel, Stripe, and Supabase. The thing is, I am getting a super high error rate.
Related Event ID(s)
evt_3Pa5WQIrBvty6f6020971pT0
What have you already attempted?
I don't know what to try. The webhook has already been disabled once... I hope it does not happen again but the error rate is over 90%.
What are you working on?
Don't really know how to go forward... I appreciate a lot any help!
@slate sedge pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hello! im build a marketplace and I need to take 10% of each product sold on my site. How should I go about doing such!? TBH I'm not even sure if a webhook is the correct language for what im trying to do!
Related Event ID(s)
Not sure
What have you already attempted?
Nothing yet.
What are you working on?
A ecommerce marketplace
@marble citrus pressed the 🧑💻 Code button in #help to ask a question:
Code
There isn't a specific code, the issue is also visible in the Stripe Docs example ( which should be the easiest to reproduce )
It happens on my code as well.
Question
When integrating Stripe in New Zealand, I have noticed that Stripe Payment Element crashes when LastPass tries to Autofill credit card in it.
I want to know how to resolve it, since it is quite important for LastPass to work over Stripe for a customer I'm working for.
What have you already attempted?
The issue is visible here: https://docs.stripe.com/payments/payment-element
If on dropdown "Australia" is selected, and then LastPass autofill is triggered.
Interestingly, it seems it works if the default "US" region is chosen.
What I figured out is that if I remove "Expiration Date" from the LastPass card, failure doesn't happen.
When it happens, the JavaScript error: "Minified React error #130" appears in the console. What is not really helpful.
What are you working on?
Stripe Payments Element integration for a large charity organisation.
@meager hinge pressed the 📡 API button in #help to ask a question:
Question
Q1. I want to get Stripe Tax information. Which method do you recommend? API vs Data Pipeline (https://docs.stripe.com/stripe-data/access-data-in-warehouse)
Q2. Is it possible to migrate Tax Report Data to Google BigQuery using the Data Pipeline feature?
Q3. When issuing Stripe Tax Report via API, there is no payment_intent_id by default. Only if I put certain options, the payment_intent_id will appear in the csv. I wonder if payment_intent_id will be provided when using Data Pipeline (I need a mapping key to know which payment is tax information).
Related Request ID(s)
.
What have you already attempted?
Search API
What are you working on?
Integrate Stripe Tax Feature with one-time & subscription payment using checkout session api
@safe rose pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When going to payment page and then selecting wechat pay payment method, clicking the generate QR code will result in QR code.
What actually happened?
For all customers that tried this, they get an error saying payment failed, but the QR code has not even been generated, and therefore no payment attempt has been made. It has been going like this for 2 months with no successful attempt for any customers.
Reproduction Steps
Go to payment page and choose the wechat pay payment method. Click on generate QR code.
Question
My colleague believes that this might be a bug from Stripe side since it happens to all of our customer choosing wechat pay payment method and it just happened suddenly starting from the previous 2 months. I wonder if you guys can check whether this is true? Like do other people experience the same problem as us when using wechat pay payment method?
What are you working on?
Maintaining an online shop
@deep lark pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
iDeal payment method should be available on payment page.
What actually happened?
iDeal payment method is not available on payment page. Only card payment method is available.
Reproduction Steps
This is what I am doing in my code when a user subscribes to our service
- create a customer account if not already created by calling stripe.customers.create. This creates a customer and triggers webhook
- in our code, we handle the webhook when event is "setup_intent.succeeded". We update the customer's 'invoice_settings:default_payment_method'
Question
what could be the issues here?
@tribal quiver pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/currencies
Question
is stripe provided some lib to convert amount? for example, when i receive an invoice.paid event, i need to show the amount charged to the customer, the event data is currency=usd and amount=10000, then i can use the lib to convert it to 100.
What have you already attempted?
i have searched the guide doc, and i didn't find anything about this.
What are you working on?
i am building the subscription feature for our online service
@simple zinc pressed the ❌ An Error button in #help to ask a question:
Error Message
We’re sorry, an unexpected error occurred when we tried to look up your charge. This could be due to multiple charges for the same amount on the same day or an invalid card number. To resolve this issue, please contact our support team.
Question
charge lookup tool not working
What have you already attempted?
contacted support
@fierce forge pressed the 📡 API button in #help to ask a question:
Question
-
Tax is calculated on billing address or Card Address? If calculated on billing address how Stripe verify the address for fake/real?
-
How will you manage the Auto-debit with fixed + variable amount? Lets understand with the scenario, User have purchased 10 quantity of any product and he uses 12 quantity, so for the overused thing we made invoice in the end of the month. So the auto-debit in the next month will be subscription of next month + overuse of last month.
Related Request ID(s)
NA
What have you already attempted?
Multiple workflows have been attempted via the developer option on the Stripe dashboard and corresponding APIs
What are you working on?
We are launching the SaaS version of our product and want to integrate the payment gateway. We want multiple products offering with different retention period(s).
@ember sky pressed the 📡 API button in #help to ask a question:
Question
Hello ,
What is trial_end while updating a Subscription ?
If my subscription is goint to end at 09th July ,2024 can is extends it to 9th August ,2024 ??by providing timestamp of that date in trial_end
Related Request ID(s)
Dashboard
What have you already attempted?
NO
What are you working on?
Subscription Module
@sinful warren pressed the 📡 API button in #help to ask a question:
Question
Hello, I have a Wordpress project and Stripe API integrated there. I'd like to change the UI of my checkout page and leave the payment page on my site, without redirecting to the default checkout payment link. How can I do this?
Related Request ID(s)
API
What have you already attempted?
I have created a default payment link and integrated it on my site
@crisp viper pressed the 🧑💻 Code button in #help to ask a question:
Code
I am looking to get help with some Node.js Vue.js and Firebase connections with Stripe.
Question
I am currently struggling to get the metered billing working with my app.
At the moment I want to have a user sign up, the subscription should take the initial amount of active users and charge the user, then charge each month based on how many users (which can be more or less) are in the DB.
What have you already attempted?
I have read through the docs and attempted a few different combinations, I have even spent some time asking chatGPT for assistance to solve the issue and tried the Firebase Stripe extension
What are you working on?
Currently building a scheduling based application.
@tribal quiver pressed the 👍 Best Practices button in #help to ask a question:
Question
when create a setup intent session to collect the user's payment method, why need the server side to specify the ui-mode and return url? can we specify this by front-end?
Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create
What are you working on?
i am building the subscription feature for our online service
@spring portal pressed the 📡 API button in #help to ask a question:
Question
How can the users fill the Express onboarding form, if the skipped the form while onboarding? A user creating an Express account and not filled the onboarding form, but stripe account id is created. without completing the onboarding, the user can be able to make transaction. so how and where the user can finish the onboarding?
Related Request ID(s)
-
What have you already attempted?
I tried to get the account management using the account session and filled the form there. but it's throwing "Could load contact us for support "
@indigo frigate pressed the 📡 API button in #help to ask a question:
Question
We are building a custom flow for Moto payments in our application, and would like to know what parameters we need to pass while creating the payment Intent, so the 3ds is not requested. We already have the required PCI ROS updated.
Related Request ID(s)
NA
What have you already attempted?
Have not attempted so far for MOTO.
What are you working on?
Ecommerce Mail ordering platform
@spark silo pressed the 👍 Best Practices button in #help to ask a question:
Question
Hello. I want to reach out to check what pricing model I should use.
I charge 49$ base fee which has 100 included "lead enrichments" and after that each 100 are 7$.
I found I can find tier based ones - should my tiers look like this?
First Unit 1
Last Unit 100
Per Unit 0$
Flat Fee 49$
First Unit 100
Last Unit ∞
Per Unit 7ct
Flat fee 0$
Is that right or rather other pricing models?
Doc/Guide Links
Only tested the different pricing models in the dashboard and read the docs!
What are you working on?
A WP plugin that enriches all new subscribers to it with LinkedIn data from Apollo.
@drowsy latch pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/checkout/custom-checkout/overview
Question
react-stripe.umd.js:657 Uncaught (in promise) TypeError: stripe.initCustomCheckout is not a function
What have you already attempted?
<CustomCheckoutProvider stripe={stripePromise} options={{ clientSecret }}>
<Checkout />
</CustomCheckoutProvider>
What are you working on?
1
@shut steeple pressed the 📡 API button in #help to ask a question:
Question
Hi, i'm using the checkout embdedded form, there is a way to require the 'confirm' step for the payment intent, also seems that the processing hooks not comes using this type of integration
Related Request ID(s)
none
What have you already attempted?
looking to the documentation and tests the hooks
@void ivy pressed the ❌ An Error button in #help to ask a question:
Error Message
3D Secure attempt failed
The customer failed 3D Secure authentication.
Question
An handful of customers have not been able to set up their monthly donation subscription because their transaction was cancelled due to the 3D Secure failing. Is this an ongoing issue and can it be fixed on our end, or is it to do with the customer's bank not recognising Stripe as a secure payment?
What have you already attempted?
Manually setting up the subscription for the customer.
@torn gate pressed the 📚 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
Hi Dev Team! I can't find any documentation of the potential error codes that can occur after I try to create a checkout. Is there some documentation about it that can be shared?
What have you already attempted?
Using google and looking through the docs.stripe.com site.
@hollow wharf pressed the 📡 API button in #help to ask a question:
Question
i am using stripe subscription schedule which internally uses invoice (invoices api is paid right?) it take some amount as stripe fees?
Related Request ID(s)
sub_sched_1PaDCVFNa7xiyAxiITjUKOFP
What have you already attempted?
we are creating invoices for our downpayment (which i thought cost us stripe fees)
What are you working on?
we are working on our project and worry about the budget so that's why we thought not to use invoice api directly.
@spark silo pressed the 👍 Best Practices button in #help to ask a question:
Question
Hey. I am looking to create a price that has a package pricing but have not found a change to set a "free" included amount. My 49$/mo tier already has 100 included.
I could manually just only call the metering API after the 100th call, and then make the main price 42$ but this looks like a bad practice so I'd ask.
Sorry for the question bombing.
Doc/Guide Links
Other thread with ID 1259778063827337299
What are you working on?
A lead gen plugin for WP
@sinful warren pressed the 📡 API button in #help to ask a question:
Question
Hello, if I buy a custom domain, will it be possible to change the CSS of checkout page and make my own checkout page with stripe fields and use redirect ui_mode?Will checkout page open on my site domain like https://mysite.com/checkout/?
Related Request ID(s)
API
What have you already attempted?
I have created my own checkout page
@prime socket pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://github.com/stripe-samples/checkout-single-subscription
Question
I tried to follow this tutorial but I get a 404 not found in localhost:4242 with java
What have you already attempted?
https://github.com/stripe-samples/checkout-single-subscription
@spring portal pressed the 🧑💻 Code button in #help to ask a question:
Code
Stripe.api_key = ENV['STRIPE_SECRET_KEY']
Stripe::AccountLink.create({
account: stripe_account_id,
refresh_url: 'https://example.com/reauth',
return_url: 'https://example.com/return',
type: 'account_onboarding',
})
Question
If a user creating an Express account, (not from stripe site. creating in our website, we are embedding the stripe) the user skips the onboarding form, but the stripe account ID is created. For the user who skips the form we can generate the stripe account link to finish the onboarding. Its working good. but my doubt is how can we embed the form inside our website instead of stripe site.
What have you already attempted?
I created the embedded form by referring this doc https://docs.stripe.com/connect/get-started-connect-embedded-components#account-sessions
and for account link creation referred this
https://docs.stripe.com/api/account_links/object?lang=ruby
What are you working on?
Onboarding Stripe Express account for our customers in our application. By embedding the stripe components in our application.
@lethal laurel pressed the 📡 API button in #help to ask a question:
Question
Is it possible to programmatically distinguish between a Subscription cancelled via the Stripe Dashboard (i.e. cancelled by us), or cancelled via the Stripe Customer Portal (cancelled by the customer)?
In both cases, we seem to get `cancellation_details.reason = cancellation_requested`.
Related Request ID(s)
req_gqmtvcdlfcPIrv
What have you already attempted?
In the `customer.subscription.updated` event we can see "Source: Dashboard"… if we view that event on the Dashboard. But we can't access that information programmatically, AFAIK.
I've not found any other indicators in the API or docs on how to find out *how* a subscription was cancelled.
@dark kiln pressed the 📡 API button in #help to ask a question:
Question
based on the docs at https://docs.stripe.com/issuing/elements?locale=en-GB#issuing-elements-and-native-applications I've used a webview to show stripe issuing cards along with ability to copy card details like pin, etc. copy functionaries don't work in webview, but when I open the page directly in a browser like chrome, it works
Related Request ID(s)
a
What have you already attempted?
based on the docs at https://docs.stripe.com/issuing/elements?locale=en-GB#issuing-elements-and-native-applications I've used a webview to show stripe issuing cards along with ability to copy card details like pin, etc. copy functionaries don't work in webview, but when I open the page directly in a browser like chrome, it works
@crisp viper pressed the 🧑💻 Code button in #help to ask a question:
Code
Back again, I have been working through the API page as recommended but I am still making no traction.
Question
I need to find out why I am unable to get the data to pass and make the subscription update.
What have you already attempted?
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide?dashboard-or-api=api&lang=node#test-send-usage
What are you working on?
Same app as before.
@topaz talon pressed the 📡 API button in #help to ask a question:
Question
Hi, I'm getting below error from accounting software integration api.
Error:
Invalid Stripe API version: 2023-10-16; embedded_connect_beta=v2;. You do not have permission to pass this beta header: embedded_connect_beta. If you have any questions, we can help at https://support.stripe.com/.
Related Request ID(s)
-
What have you already attempted?
// Set your secret key. Remember to switch to your live secret key in production.
// See your keys here: https://dashboard.stripe.com/apikeys
const stripe = require('stripe')(
'sk_test_•••p7dc',
{apiVersion: '2024-06-20; embedded_connect_beta=v2;'}
);
const accountSession = await stripe.accountSessions.create({
account: '{{CONNECTED_ACCOUNT_ID}}',
components: {
app_onboarding: {
enabled: 'true',
},
app_install: {
enabled: 'true',
},
app_settings: {
enabled: 'true',
},
},
});
@vocal wagon pressed the 🪝 Webhooks button in #help to ask a question:
Question
We have a problem where if a 3d secure required card with insufficient funds is used for the initial subscription purchase, we're not receiving any webhooks for the payment failure. What are the correct webhooks to be listening to in this case?
Related Event ID(s)
evt_1PaERsDUHs147Fvgg60mz6rn
What have you already attempted?
Described above
@viral raft pressed the 📡 API button in #help to ask a question:
Question
Hi, we are seeing some issues trying to capture a cardholder present payment intent that requires a chip and PIN entry. The android SDK confirms the payment as expected but the payment intent enters a status of "processing" which causes a race condition that can sometimes cause an invalid state error when we try to interact with it server-side. I can't see any documentation saying that confirming a payment intent should enter it into this processing state, it looks like it should go straight to requires_capture? is this a bug?
Related Request ID(s)
req_6bme1ZRabLkgX3
What have you already attempted?
Debugging
@frosty coyote pressed the 🪝 Webhooks button in #help to ask a question:
Question
Where has the select all events button gone for webhooks?
Related Event ID(s)
N/A
What have you already attempted?
Where has the select all events button gone for webhooks? I am trying to create a new webhook but the new UI doesn't seem to have the select all button any more?
What are you working on?
Sports app
@winged gulch pressed the 📡 API button in #help to ask a question:
Question
How can one avoid sending same info in customer create endpoint multiple times? This creates same user multiple times.
Related Request ID(s)
https://docs.stripe.com/api/customers/create
What have you already attempted?
I have read https://docs.stripe.com/api/customers/create and tried via Postman
@fallen python pressed the 👍 Best Practices button in #help to ask a question:
Question
Express checkout element iframe doesn't load with enough height to show all payment buttons (overflow is already set to "never")
Doc/Guide Links
https://stackoverflow.com/questions/78685871/stripe-express-checkout-buttons-clipped
https://docs.stripe.com/js/element/express_checkout_element
What are you working on?
Website payment portal
@prime socket pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://www.youtube.com/watch?v=7z8mncrjq24
Question
I'm following this guide but trying to do the same in Java
What have you already attempted?
I tried event.getDataObjectDeserializer().getObject()
@dark kiln pressed the 📡 API button in #help to ask a question:
Question
based on the docs at https://docs.stripe.com/issuing/elements?locale=en-GB#issuing-elements-and-native-applications I've used a webview to show stripe issuing cards along with ability to copy card details like pin, etc. copy functionaries don't work in webview, but when I open the page directly in a browser like chrome, it works
Related Request ID(s)
a
What have you already attempted?
based on the docs at https://docs.stripe.com/issuing/elements?locale=en-GB#issuing-elements-and-native-applications I've used a webview to show stripe issuing cards along with ability to copy card details like pin, etc. copy functionaries don't work in webview, but when I open the page directly in a browser like chrome, it works
@white kestrel pressed the 👍 Best Practices button in #help to ask a question:
Question
Hello, we are a platform in the UK that has connected accounts in various countries, for example in Europe (FR, DE, ES). These are setup as Express accounts.
From reading the docs it states that "Destination charges are only supported if both your platform and the connected account are in the same country."
However, we are using destination charges as part of the payment intents API, using the `transfer_data: destination` property. This seems to successful move the funds taken during checkout to a connected account not in the same country.
What I am unsure about is why does this work? The platform is in the UK and connected account is FR, so not the same country.
Doc/Guide Links
https://docs.stripe.com/connect/payouts-connected-accounts
https://docs.stripe.com/connect/destination-charges
What are you working on?
Content marketplace that uses Connected accounts for content creators in many countries.
@chilly imp pressed the 🧑💻 Code button in #help to ask a question:
Code
No code currently available
Question
Is there a way to show existing payment methods in the payment element? Want to have the ability to show existing payment methods to customers, or allow them to add a new one
What have you already attempted?
Looked through all documentation I can find
What are you working on?
Ordering system
@livid kernel pressed the 📚 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
What is best way to set and get custom data in Stripe subscription API call?
I am asking this question because we can send custom data in either meta_data or in custom_fields inputs fields
What have you already attempted?
I have attempted to create a subscription in Stripe using stripe.checkout.sessions.create, but I haven't tried passing custom data to Stripe create session for subscription API call yet
What are you working on?
We am working on implementing Stripe subscriptions, and we need to pass two custom fields to a subscription object.
@hollow egret pressed the 🧑💻 Code button in #help to ask a question:
Code
CustomerUpdateParams.Builder params =
CustomerUpdateParams.builder().setPhone(customerDTO.getPhone());
Question
I want to update my customer object's tax value which was created like this
```params.addTaxIdData(CustomerCreateParams.TaxIdData.builder() .setType(CustomerCreateParams.TaxIdData.Type.IN_GST).setValue(customerDTO.getTaxIdValue()).build());```
now i want to update tax data but i cant find tax field in customerUpdateParamsObject..how can i do that?
What have you already attempted?
have looked into all the fields of customerUpdateParams object but cant find a way to update
What are you working on?
building a mechanism to update customer data
@wide edge pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Apple & Link payments going through successfully
What actually happened?
Apple & Link payments are captured and then are being cancelled after a few minutes
Reproduction Steps
We are having trouble reproducing this which is why I am in this chat. The Apple Pay button is not appearing on our checkout
Question
Is there something we could be missing in our testing that is preventing the Apple Pay button from appearing?
Do we need to simulate on an apple device, etc?
@silk python pressed the 📡 API button in #help to ask a question:
Question
I want to check where register payment method domain will display in stripe.
Related Request ID(s)
req_U6aCxZiXV4kF7C
What have you already attempted?
I checked connected account dashboard on https://dashboard.stripe.com/settings/payment_method_domains but i did not find payment method domain.
@iron solar pressed the 👍 Best Practices button in #help to ask a question:
Question
We would like to build an automation so that when a SEPA payment is disputed, an additional invoice + processing fees + dispute fees is automatically created and sent to the customer.
How can we do this?
Doc/Guide Links
I have not looked at any doc/guide links.
What are you working on?
Payment dispute automation
@broken plover pressed the 🧑💻 Code button in #help to ask a question:
Code
$stripe = new \Stripe\StripeClient($secret_code);
$checkout_session = $stripe->checkout->sessions->create([
'ui_mode' => 'embedded',
'payment_method_types' => ['card'],
'line_items' => [[
'price_data' => [
'currency' => 'aud',
'unit_amount' => 9900,
'product_data' => [
'name' => 'Product 1',
],
],
'quantity' => 1,
]],
'mode' => 'payment',
'return_url' => $return_url]);
Question
Apple and Google pay somehow is not showing up.
Can I force apple & Google pay to show up?
What have you already attempted?
I tried using stripe element and Apple and Google pay works.
What are you working on?
custom wordpress payment system
@river radish pressed the 🪝 Webhooks button in #help to ask a question:
Question
403 redirect error returning from payment success or failure screen
Related Event ID(s)
req_p9nXtck6pZUPea
What have you already attempted?
using different webhooks
What are you working on?
trying to remove the error.
@calm forum pressed the 📡 API button in #help to ask a question:
Question
Hi, we are using Treasury to provide banking services to our customers. We now want to also integrate an invoice feature using what is provided by Stripe.
Is it possible to setup an invoice in stripe which paid funds land in the users treasury financial account instead of their stripe account?
Related Request ID(s)
n/a
What have you already attempted?
Looking through Stripe API documentation I can't seem to find a straightforward way
What are you working on?
Banking platform
@lime igloo pressed the 🪝 Webhooks button in #help to ask a question:
Question
I am using payment_intent.succeeded event, how can I know if the payment was done from the fresh subscription purchase or manual PaymentIntent::create() or subscription renewal
Related Event ID(s)
-
What have you already attempted?
I know that if the subscription purchase event triggered the webhook then the description will be `Subscription creation`
but what about subscription renewal and manual PaymentIntent::create()
using PHP SDK.
@void ivy pressed the ❌ An Error button in #help to ask a question:
Error Message
Failed 3DS
Question
I was having a conversation with a developer but they closed the thread and I can't pick back up the conversation
What have you already attempted?
To speak w/ a developer
@thick kraken pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/india-recurring-payments?integration=subscriptions#testing
Question
How to get the pre-debit notification? I didn't get any notification.
What have you already attempted?
I tried the test cards given the documentation for mandates and to get the pre-debit notification. But failed to get any notification and thus the payment failed.
Here is the payment intent https://dashboard.stripe.com/test/events/evt_3PaC8TSJWx115VVs0zUfIQvE
What are you working on?
I am building a saas platform where we charge the customer per usage base and we manually create invoice at month end.
@deep fulcrum pressed the ❌ An Error button in #help to ask a question:
Error Message
com.stripe.stripeterminal.external.models.TerminalException: RPC application error INVALID_REQUEST with message Invalid device_type: must be one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, simulated_wisepos_e, or mobile_phone_reader
Question
When I run the project stripe-samples
/
terminal-apps-on-devices on a S700 devkit I have a loading sreen that never terminates
What have you already attempted?
Reinstalled the app multiple times, change network settings, reboot the devices
Reproduction Steps
Just run the project with a devkit
@sonic forge pressed the 📡 API button in #help to ask a question:
Question
Apple Pay is not showing on device but it is showing on simulator and browser also..please give me instant support for this
Related Request ID(s)
Apple Pay is not showing
What have you already attempted?
I already attempt all the necessary steps on your documentation
What are you working on?
I have a website and reactnative app for events booking
@crude abyss pressed the 📡 API button in #help to ask a question:
Question
I was making an update to a subscription, its said it was successful (200) but the changes were not made
Related Request ID(s)
req_BZo08mwnXP2I8Q
What have you already attempted?
Looking at the logs trying to see what went wrong
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
what is the minimum amount for stripe live transaction? Is it separate for test and live environment?
Question
what is the minimum amount for stripe live transaction? Is it separate for test and live environment?
What have you already attempted?
I am facing error while doing stripe live payment with less than 1 as amount
@shy vault pressed the 👍 Best Practices button in #help to ask a question:
Question
I'm making use of the invoice#pay endpoint to allow users to retry a failed payment manually. It allows me to retry the payment 10 times then the PaymentIntent auto cancels, which is fine. However, I noticed (when testing locally) that another PaymentIntent gets auto geenrated for the invoice and allows the user to continue retrying. Do PaymentIntents get autogenerated after each sequence of ten failures? ...and does this just keep happening forever or is there any upper limit?
Doc/Guide Links
https://docs.stripe.com/api/invoices/pay
What are you working on?
Self storage business management software.
@hexed cedar pressed the 📡 API button in #help to ask a question:
Question
For how long is the Stripe Invoice Payment link valid?
Related Request ID(s)
Invoicing
What have you already attempted?
Read the documentation
What are you working on?
Integration layer over stripe to avoid our staff going to stripe directly.
@foggy oak pressed the 🪝 Webhooks button in #help to ask a question:
Question
I have a payment intent succeeded event webhook that we picked up twice - but I think it is too far back to see the logs - would like to see what can happen here
Related Event ID(s)
pi_3PNaYoLjYDcRA6KW06NZUPDW
What have you already attempted?
Investigated locally
What are you working on?
Subscriptions
@night dock pressed the 📡 API button in #help to ask a question:
Question
Hello Stripe Support,
2 things i would like to know :
- Can we extend the timer of expires_at in a checkout_session ?
- When I set up after_expiration.recovery value at { "enabled":true}, i get a second url when status is expired. What happens whenever the second url expired as well (i cannot wait 31 days to check his behavior)?
Related Request ID(s)
req_VGdUweZBZVQ9sV
What have you already attempted?
nothing to attempt since those are just questions
@odd meteor pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Credit notes aren't displayed on the customer portal
What actually happened?
Only invoices are shown, not credit notes. Even the old invoices are shown. This is confusing for a customer because they have no way to retrieve their credit notes.
Reproduction Steps
Open a new customer portal for a customer after creating a credit note for a customer's invoice. Notice there's no section for credit notes.
Question
How can I show credit notes on the customer portal?
@obtuse vale pressed the 📡 API button in #help to ask a question:
Question
Apple pay domain showing as verified in stripe dashboard, but console on payment page shows URL as unverified
Related Request ID(s)
Checked validated domains
What have you already attempted?
Multiple attempts to re-verify but error persistent
What are you working on?
Using connect to offer apple pay using payment elements
@oblique dome pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hi, in the data team at Zeffy, we extract the information about the verification of our clients in a table via API. The information is described in this link https://docs.stripe.com/identity/access-verification-results.
At this point we have only a verification_id in the sql table. We would like to know how to join this table to tables containing account information. So that for example we can know with what type of id the representative of an account verified his identity. We know that there should be a way to achieve this as you can see this type of information on the website.
Related Event ID(s)
na
What have you already attempted?
We tried to look for documentation related to verification but we found nothing related to joining tables.
What are you working on?
We want to automatise some checks about fraudulent account and therefor information about the id the representative of an account used to verify his identity is useful
@echo field pressed the 📡 API button in #help to ask a question:
Question
How can I attach a failing card number to a customer in test mode? I'm generating invoices for a customer using one of their PMs.
Related Request ID(s)
pm_card_visa_chargeDeclinedInsufficientFunds
What have you already attempted?
I tried running the code manually enteriing the decline PM ID, but it says The payment method must be attached to the customer.
What are you working on?
Invoicing customers each month
@slate sedge pressed the 📡 API button in #help to ask a question:
Question
I need to add a 10% fee to all products on my website that's connected to Stripe.
Related Request ID(s)
Not sure
What have you already attempted?
Nothing yet.
What are you working on?
ecommerce marketplace
@split hemlock pressed the 📡 API button in #help to ask a question:
Question
Using Stripe elements, i set up a Payment Intent, when that completes successfully, i create a customer and when that completes, i subscribe that customer to the correct product. Customer and subscription are performed listening to Stripe events via my webhook. Seems cards are charged 2x.
Related Request ID(s)
req_KiTKip34ESRIRq, req_QBzZMOhnQCM36L, req_Y0L1qABnrRpYnU, req_su4Y8HDiEkEJhV
What have you already attempted?
Using Stripe elements, i set up a Payment Intent, when that completes successfully, i create a customer and when that completes, i subscribe that customer to the correct product. Customer and subscription are performed listening to Stripe events via my webhook. Seems cards are charged 2x.
What are you working on?
membership system
@tranquil panther pressed the 📡 API button in #help to ask a question:
Question
How can I have a checkout session autofill a customer's billing address information (for first time checkout).
Related Request ID(s)
Dashboard > Developers > Logs request id req_x0F37tJFJuWxdh
What have you already attempted?
The customer I am using has a valid billing address
@odd meteor pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I can't enable BACS payment method to test
What actually happened?
The list of activated payment methods on stripe dashboard is missing BACS.
Reproduction Steps
Probably related to my specific account: `acct_104A5Z4MjUVeuXeN`.
Question
Is this because I'm from a non UK country? How can I test my integration with BACS if I'm not from the UK?
What are you working on?
Spark Stripe
@sinful igloo pressed the 👍 Best Practices button in #help to ask a question:
Question
What is the standard way of collecting the tax calculation postal code for a user in a subscriptions context? It seems that the only way is to collect the user postal code sometime before creating the subscription/getting the client secret/rendering the payment element w/ the client secret.
Is that right?
Doc/Guide Links
If necessary I will provide them... don't currently have them pulled up.
What are you working on?
SAAS
@thick kraken pressed the ❌ An Error button in #help to ask a question:
Error Message
Only active mandates can be used with invoices
Question
Even though the mandate being used while creating invoice is active, I am still getting this error.
What have you already attempted?
I tried creating invoice by adding another card to test a different scenario and the mandate was generated successfully. But still invoice creation fails.
Reproduction Steps
- Pick a customer where a card with active mandate is already added.
- Add another card and generate mandate for the same.
- Create a invoice by passing the new mandate id generated
- Finalise the invoice
What are you working on?
I am building a saas platform where we charge the customer per usage base and we manually create invoice at month end.
@polar hedge pressed the 👍 Best Practices button in #help to ask a question:
Question
Ultimately I am trying to transfer funds from my Connect Account Balance to a CA Financial Account. Currently I am struggling to add my FA as an external bank account to do this. According to the docs I need to supply account_number and routing_number, but this information is not available from the retrieve FA API . So how do I get this info in order to add as an external account to my CA?
Doc/Guide Links
https://docs.stripe.com/treasury/moving-money/payouts
What are you working on?
Treasury w/ Connect & paying out subcontractors
@neon venture pressed the 🧑💻 Code button in #help to ask a question:
Code
```Invoice::create(['customer' => 'cus_j2kn3jk2jk34']);```
Question
Is it possible to create a subscription as draft before creating invoice items? With the code above I only receive the error message *invoice_no_customer_line_items*. All of your docs show cases where I first create the invoice and then add items to it.
What have you already attempted?
Following your docs. Tried to make use of `auto_advance=false`, `collection_method=send_invoice` in combination with `days_until_due=14`
What are you working on?
I want to extend our current invoicing logic to make it more flexible.
@echo field pressed the 🧑💻 Code button in #help to ask a question:
Code
$pg = new \Stripe\StripeClient('sk_test_•••wjdg');
$event = $pg->stripe->billing->meterEvents->create([
'event_name' => $_REQUEST['event_name'],
'payload' => [
'stripe_customer_id' => $o->officeArr['stripeCustomerID'],
'value' => $_REQUEST['value'],
],
]);
Question
I'm gettiing Uncaught Error: Call to a member function create() on null on this call.
What have you already attempted?
I tested a simple retrieve customer and it works. It just seems anything to do with meters is throwing that error
What are you working on?
Trying to add metered usage
@foggy wasp pressed the 📡 API button in #help to ask a question:
Question
How to show application fee at checkout and add it to the total? Rather than deduct the application fee from how much I send to the transfer destination, I want to add it to the price the consumer pays.
Related Request ID(s)
req_jjrsndzd6cpLkX
What have you already attempted?
const session = await stripe.checkout.sessions.create({
mode: "payment",
line_items,
payment_intent_data: {
transfer_data: {
destination: body.acct_id,
},
application_fee_amount: fee,
},
automatic_tax: {
enabled: true,
},
What are you working on?
Platform to sell tickets on behalf of vendors
@inner barn pressed the 🧑💻 Code button in #help to ask a question:
Code
result = await stripe.confirmPayment(confirmPayload);
Question
When I want to confirm my payment with Apple Pay selected in my Stripe element, I receive such error:
```
{"error":
{"type":"invalid_request_error""mes-
sage": "Un problème est survenu.
Impossible d'afficher Apple Pay.
Veuillez choisir un autre moven de
paiement et réessayer."}}
```
Basically "A problem happened, try again".. But I want to know if there is a possibility to know more cause it won't help me understand what is wrong..
What have you already attempted?
I tried on several iPhones but not all will display the Wallet so its really hard. And
FYI Google pay works.
What are you working on?
Enabling Apple Pay/Google Pay in my Stripe Elements
@hexed ocean pressed the ❌ An Error button in #help to ask a question:
Error Message
acct was closed
Question
my account was closed and a customer sent money to that account.
What have you already attempted?
Contacted support several times
What are you working on?
legal assistance
@worthy crane pressed the 📡 API button in #help to ask a question:
Question
What IDs do we need to store in our database when using Stripe Billing; is it customer id, subscription id and price id, or can we get by with just the customer id, and then be able to fetch the subscription and price id from querying Stripe on the stored customer id?
Related Request ID(s)
none
What have you already attempted?
went over https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements
What are you working on?
https://docs.stripe.com/connect/subscriptions#connected-account-platform
@vital rover pressed the 📡 API button in #help to ask a question:
Question
All our payment request that are confirmed later in the process requires actions for 3d secure, how we can avoid it?
Related Request ID(s)
https://dashboard.stripe.com/payments/pi_3PaHcAIzcid8RrBH1EJNYPKT
What have you already attempted?
we would like to know if there is a way to reduce the chances of require_action after confirmation. Could it work the setup for future usage?
@random crest pressed the 📡 API button in #help to ask a question:
Question
I am trying to refund the cash balance funds to customer.
For that I used below endpoint
curl v1/refunds
-d amount=1099
-d currency=eur
-d customer={{CUSTOMER_ID}}
--data-urlencode instructions_email="ex@example.com"
-d origin=customer_balance
When I execute the endpoint I received "customer_cash_balance_transaction.created event with the object type "type": "return_initiated”.
Does that means my refund is success ? Or else should I receive anymore events to confirm success of refund ?
Related Request ID(s)
.
What have you already attempted?
I have refunded the payment created using dashboard directly to the customers bank account.
Then I received charge.refunded event with status succeeded.
I was expecting same thing to happen for customer balance refunds to customer as well.
But I only received "customer_cash_balance_transaction.created with the object type " "type": "return_initiated"
@fathom yew pressed the 📡 API button in #help to ask a question:
Question
The Stripe React Native SDK isn't compatible with our web app, it's causing build issues in my web app. Someone else asked the same question, not sure if there was a resolution to this.
Related Request ID(s)
N/A
What have you already attempted?
I tried using multiple SDKs but that doesn't work either and it's ugly. The React Native should work for all 3 environments.
@red saffron pressed the 📡 API button in #help to ask a question:
Question
The recipient ToS agreement is not supported for platforms in US creating accounts in US. See https://stripe.com/docs/connect/cross-border-payouts for more details.
Related Request ID(s)
req_O5e6kDTi39HJLm
What have you already attempted?
req_O5e6kDTi39HJLm
@dark kiln pressed the 📡 API button in #help to ask a question:
Question
I use stripe issuing elements, I need a way to know when the elements have been loaded completely
Related Request ID(s)
a
What have you already attempted?
I use stripe issuing elements, I need a way to know when the elements have been loaded completely
@austere nacelle pressed the 🧑💻 Code button in #help to ask a question:
Code
I'm trying to make a basic PaymentSheet/PaymentButton to work in an iOS application. Just following the SwiftUI integration guide.
Question
I'm getting the following error in the iOS logs when I'm trying to open the payment sheet: LOG ANALYTICS: mc_load_failed - [(key: "request_id", value: "req_xRFLLigp07zkF1"), (key: "pay_var", value: "legacy"), (key: "ocr_type", value: "none"), (key: "locale", value: "en_US"), (key: "is_decoupled", value: false), (key: "error_type", value: "invalid_request_error"), (key: "error_code", value: "resource_missing"), (key: "duration", value: 0.46521711349487305), (key: "apple_pay_en
What have you already attempted?
I verified the backend for payment intent creation. Everything seems fine, including the stripe API logs. I verified that all the parameters are transferred to the app correctly and they seem to be passed to the correct PaymentSheet parameters.
@near kestrel pressed the 📡 API button in #help to ask a question:
Question
I would like to force authorization at the beginning of my checkout workflow, run some business logic, then pay. I see this is possible using payment intents. However, our current workflow is run business logic first then create and pay an invoice at the end. Do we need to stop creating invoices and switch to using payment intents in order to achieve the pre-authorization workflow I described? Is there a way to achieve pre-authorization while still creating invoices? Or, should we simply move the invoice generation/payment before our business logic runs? I'm trying to find easy route.
Related Request ID(s)
req_FzMXanNisuFpMb
What have you already attempted?
I have read the payment intent docs and I see how we can accomplish what we need using this workflow. However, we already have a complete checkout workflow built using invoices.
What are you working on?
We run an enrollment application for summer camps and after school programs.
@foggy wasp pressed the 📡 API button in #help to ask a question:
Question
Tax information not showing on checkout. I set automatic tax to enabled and I set the tax behavior to exclusive for the line items. I'm not using an existing customer (I'm creating a new one). I'm not using products or prices, only line items.
Related Request ID(s)
req_jjrsndzd6cpLkX
What have you already attempted?
const session = await stripe.checkout.sessions.create({
mode: "payment",
line_items,
payment_intent_data: {
transfer_data: {
destination: body.acct_id,
},
application_fee_amount: fee,
},
automatic_tax: {
enabled: true,
},
What are you working on?
Platform for vendors to sell tickets
@inner barn pressed the 🧑💻 Code button in #help to ask a question:
Code
result = await stripe.confirmPayment(confirmPayload);
Question
When I want to confirm my payment with Apple Pay selected in my Stripe element, I receive such error:
```
{"error":
{"type":"invalid_request_error""mes-
sage": "Un problème est survenu.
Impossible d'afficher Apple Pay.
Veuillez choisir un autre moven de
paiement et réessayer."}}
```
Basically "A problem happened, try again".. But I want to know if there is a possibility to know more cause it won't help me understand what is wrong..
What have you already attempted?
I tried on several iPhones but not all will display the Wallet so its really hard. And
FYI Google pay works.
What are you working on?
Enabling Apple Pay/Google Pay in my Stripe Elements
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
const expressAppleCheckoutOptions = {
buttonType: {
applePay: 'buy'
},
buttonTheme: {
applePay: 'black'
}
};
const appleElements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expre
Question
I am implementing stripe apple pay integration. But in safari, when I am trying to check this I am getting link button in place of apple pay button. Though I haven't add any script regarding link. Can you please let me know why I am getting link button in place og apple pay?
What have you already attempted?
I have disabled link from the stripe account, then there is no button in that place. I am using live key here.
@sullen junco pressed the 👍 Best Practices button in #help to ask a question:
Question
We are planning to move from charges to payment intent and planning to update the flow. At checkout I am planning to create a payment intent without capture, While shipping I want to create multiple charges on it (Based on no of shipments), How can i attach charges to a payment intent.
Doc/Guide Links
https://docs.stripe.com/payments/payment-intents
https://docs.stripe.com/payments/payment-intents/migration
What are you working on?
On a ecommerce checkout (Single order having multiple shipments (multiple charges) Where at checkout need an auth and while shipment need to charge and capture multiple times on the same auth
@short rapids pressed the 📡 API button in #help to ask a question:
Question
Have scanned gov issued photo ID ready to submit for verification challenge question.
Related Request ID(s)
NA
What have you already attempted?
Stripe proper "could not" help me with ID verification. Insisted "stripe is a payment processor". So that stripe dev avenue was a dead end.
What are you working on?
Standing up an app on hold while we get this thing resolved.
@soft basin pressed the 📡 API button in #help to ask a question:
Question
I have a connected account, and allowing users to issue cards, we issued Virtual and Physical Cards to Connected account holders. Now we need to transfer fund from my connected account and fetch the details transactions of Card not connected account.
Related Request ID(s)
req_koTOiJod8RtnvU
What have you already attempted?
var service = new Stripe.Issuing.CardService();
var requestOptions = new RequestOptions
{
StripeAccount = connectedAccountId
};
var card = await service.GetAsync(cardId, null, requestOptions);
return card;
What are you working on?
Fetching the details of my card transactions
@warm reef pressed the 👍 Best Practices button in #help to ask a question:
Question
We are using stripe payment element in our website to add payment methods. as a custom connect w/destination charges platform, would we be able to display the connected account's information in the manual verification email?
Doc/Guide Links
https://kb.curacubby.com/manual-verification-payment-method-setup-instructions
What are you working on?
Custom Connect Platform
@vocal wagon pressed the 📡 API button in #help to ask a question:
Question
Hi we are working on the card intigration and unable to ad money from a/c to card
Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/overview
What have you already attempted?
Hi we are working on the card intigration and unable to ad money from a/c to card
What are you working on?
Hi we are working on the card intigration and unable to ad money from a/c to card
@gloomy kite pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
For zero payment(eg: 100 % promocode) and payment_Behavior='incomplete' not working for subscription why?
i want subscription incomplete
What actually happened?
Subscription status has active, if I added payment_Behavior='default_incomplete' ,
Reproduction Steps
Subscription status has active, if I added payment_Behavior='default_incomplete' ,
Question
For zero payment(eg: 100 % promocode) and payment_Behavior='incomplete' not working for subscription why?
@vale quail pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/issuing/connect/funding#retrieve-an-issuing-balance
Question
I am working on the Stripe Connect + Issuing. I am confused by the process to link a bank account, and verify the account to then top up the issuing balance. I am utilizing Stripe's embedded onboarding in my application. In this process they can link an account for payouts and also link additional external accounts. Do I need to still build my own form to enter bank account information and submit the microdeposits?
What have you already attempted?
https://docs.stripe.com/issuing/connect/funding#retrieve-an-issuing-balance
The embedded onboarding form includes the bank account pop up to verify or enter manual bank account details.
What are you working on?
Connect + Issuing.
@next lintel pressed the 📡 API button in #help to ask a question:
Question
I use Acuity Scheduling for my products (Fitness Classes) and use Stripe for payment, I need to show the taxes, but cannot do it
Related Request ID(s)
1
What have you already attempted?
Zapier, Creating Invoices
@lofty matrix pressed the 📡 API button in #help to ask a question:
Question
Preparing to move to Stripe, how to test sigma if it only runs in production?
Related Request ID(s)
None
What have you already attempted?
Read documentation, ran some queries.
What are you working on?
Stripe integration for migration from other payment processor.
@short rapids pressed the 📡 API button in #help to ask a question:
Question
Need successful resolution to accept scanned gov issued photo ID.
Related Request ID(s)
NA
What have you already attempted?
I have a scanned photo ID ready to submit.
What are you working on?
Standing a discord app on its feet, blocked by ID verification process.
@ancient bison pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/create
Question
how to bill a customer monthly starting from now and exactly for 4 months?
What have you already attempted?
does subscription have iterations property like https://docs.stripe.com/api/subscription_schedules/create#create_subscription_schedule-phases-iterations ?
What are you working on?
I tried to be exactly 4 months. but it seems it has extra 7s. https://dashboard.stripe.com/test/subscriptions/sub_1PaLzl4M9E4kTTfWUCwSi3ZG for last invoice
@wind schooner pressed the 🧑💻 Code button in #help to ask a question:
Code
I have this payment method types being passed to stripe payment element -> ['card', 'klarna']
I get the error ->
message
:
"The currency provided (cad) is invalid. Payments with klarna support the following currencies: usd."
Question
This is the my api call ->
What have you already attempted?
Now first is why the api call fails ! it should just ignore klarna if that payment method is not valid for this invoice !
What are you working on?
Trying to load stripe payment element to take money for my invoice
@tired crater pressed the 📡 API button in #help to ask a question:
Question
What's the difference between the invoice.paid and invoice.payment_succeeded webhook events?
Related Request ID(s)
N/A
What have you already attempted?
N/A
What are you working on?
Responding to webhook events for our platform
@lucid flower pressed the 📡 API button in #help to ask a question:
Question
We're integrating Apple Pay with ProcessOut payment orchestration system. Apple Pay is configured successfully, ProcessOut successfully, yet Stripe gets error on the request POST /v1/tokens Status 400 ERR.
What could be wrong with the request? Apple Pay on the customer side looks like fully working, yet we don't get the charge.
Related Request ID(s)
req_reY55sTaAL0xGx
What have you already attempted?
- Thoroughly checked ProcessOut and Apple settings
- Routing works fine
@echo field pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/billing/meter/update
Question
Can you explain more what Pre-aggregated daily means? I need to send metered event data right?
What have you already attempted?
I know how to send usage when it happens like you do with RAW
@fierce storm pressed the 📡 API button in #help to ask a question:
Question
I using the "decline after attaching" test card (4000..0341) to test my subscription flow. When a user upgrades the subscription I do this:
data = {
'default_payment_method': paymentMethod,
"items[0][id]": orderID,
"items[0][price]": priceID,
"proration_behavior": "always_invoice",
'cancel_at_period_end':False,
"trial_end": "now",
"billing_cycle_anchor": "now"
}
url=f'/v1/subscriptions/{subscriptionID}'
Everything seems to go through without a problem on that request. Then I get a payment failed webhook. Is there a way to verify the payment method immediately?
Related Request ID(s)
NA
What have you already attempted?
used the request above
What are you working on?
Subscription upgrades.
@compact rose pressed the 📡 API button in #help to ask a question:
Question
Is it possible to show a promo code input next to a Stripe Payment Element?
Related Request ID(s)
N/A
What have you already attempted?
I'm using the Stripe Payment Element and I want to include a place where users can include a promo code. The issue is that as far as I can tell, when a user submits a promo code, I need to regenerate the payment client secret, which results in the Stripe Payment Element re-rendering. Is there a way to allow users to submit promo codes next to a payment element without having to re-render the element?
@reef gazelle pressed the 📡 API button in #help to ask a question:
Question
I'm creating a subscription with this parameter: https://docs.stripe.com/api/subscriptions/update#update_subscription-trial_settings-end_behavior-missing_payment_method - the enum value I'm using is `cancel`
I'd like to update the subscription via API, removing this field so that when the trial ends it is no longer canceled (in case the customer paid outside of stirpe or for other reasons)
Related Request ID(s)
req_sOCl3GoNpC8FK9,req_ZRJfKzPMbKgoxc
What have you already attempted?
I've tried variations of stripe subscriptions update with -d 'trial_settings'= or -d 'trial_settings[end_behavior]'= etc etc
@magic pelican pressed the 📡 API button in #help to ask a question:
Question
Default Checkout Session expiration and after_expiration.recovery.enabled behavior
Related Request ID(s)
n/a
What have you already attempted?
Researched API docs, Googled..
What are you working on?
Checkout Sessions for Logistics
@echo field pressed the 📡 API button in #help to ask a question:
Question
I'm switching every one over to subscriptions in stripe instead of handling myself. I know how to set billing_cycle_anchor_config for the 10th of each month and set back date. but I dont want to charge the customer until this upcoming due date. In test mode, its trying to charge the customer when I create the subscription.
Related Request ID(s)
req_58klx4AUVxcp4y
What have you already attempted?
Set billing_cycle_anchor_config for the 10th of each month which is in the future
@stray owl pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hello I am attempting to setup up the last piece of my payment flow, failed payments. I had another question, but while writing it out I rubber ducked myself into a solution.
So last question is I currently have subscriptions/webhook setup and am listening for "payment_intent.payment_failed" event to be triggered.
All is working well, but I would like some reassurance that only listening for this is sufficient for my use case? Other events such as "charge.failed" are also being triggered, but listening to that additionally may be superfluous? Is my code good or is this fragile in any way?
Related Event ID(s)
NA
What have you already attempted?
```
switch (event.type) {
case "payment_intent.payment_failed":
await handleInvoicePaymentFailed(event.data.object);
break;
default:
console.log(`Unhandled event type ${event.type}`);
}
```
What are you working on?
React Native frontend / Supabase backend
@chilly spear pressed the 🪝 Webhooks button in #help to ask a question:
Question
I'm getting the webhook that a payout was created and then getting the balance transactions from that payout. As a part of test, we are initiating an ACH transaction that returns. The initial ACH transaction is showing a settlement amount lower than the gross because it's factoring in an application fee that we didn't charge. Is this something we should expect to see in production?
Related Event ID(s)
po_1PYeAFD17L8AWJ55fPGkkazK pi_3PYXmJDFt6iTMCHH0xkufx0Z
What have you already attempted?
I've tried figuring out why there is an application fee on this transaction. It appears that one is being assigned automatically.
@slate sedge pressed the 👍 Best Practices button in #help to ask a question:
Question
How can I create or test connected account payouts. Im building a marketplace that will need payout in order to pay sellers and Im just wondering how to go about doing such.
Doc/Guide Links
Nothing yet so far im going to check
What are you working on?
ecommerce marketplace
@short rapids pressed the 📡 API button in #help to ask a question:
Question
Have submitted captured photo ID images. Should be satisfied as far as I am concerned, I'm not sure what is still pending there.
Related Request ID(s)
1257775163257258065
What have you already attempted?
See forthcoming screen shot. Supposedly accepted.
What are you working on?
Discord application stripe-discord photo ID challenge.
@royal oracle pressed the 📡 API button in #help to ask a question:
Question
When using payment intents, is there a way via the API to determine the balance source type for the charge as it relates to payout balances? The valid values for what I am calling balance source type are: 'card', and 'bank_account'.
Our legacy code that uses the sources API, obtains this value from the Stripe Charge -> source -> object field.
When using payment intents, can this same balance source type be retrieved from the related charge? Since the source is nil, for payment intent charges
we don't see this value.
Related Request ID(s)
--
What have you already attempted?
reading docs, exploring the api.
What are you working on?
Upgrading to payment intents, specificially the payouts related piece.
@humble nymph pressed the 📡 API button in #help to ask a question:
Question
We have a marketplace and we have integrated stripe connect. We are currently choosing the charge type. Is it possible, to delay the payment when using destination charges? Or is it possible only with "Seperate Charges and Transfers"?
Related Request ID(s)
req_FBRfxHyb2KmnaT
What have you already attempted?
We read multiple pages but got multiple answers
What are you working on?
We are working on a influencer marketplace platform
@lavish trench pressed the 📡 API button in #help to ask a question:
Question
have issue with verification of my website becuase I am a single consultant, created the website to meet the needs of Stipe and in process of review. I have created API tokens for an application however the application is stating that keys are invalid. Tested keys of a friend and verify that application was not at fault, however my previous keys before rolling did work. Any thoughts?
Related Request ID(s)
na
What have you already attempted?
tested with other keys, created multiple keys
What are you working on?
getting an application to communicate with Stipe for Billing (InvoiceNinja)
@vale quail pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/issuing/connect/funding?lang=node#collecting-your-users’-information
Question
Can you please help me understand more about collecting the mandate? It says to create a form to collect the bank account information but it does not explain if there are other fields required for this mandate. Is the mandate just the IP address/user agent/date of when the user created the account and submitted the details (routing,account number, name) on our form?
What have you already attempted?
Reading about creating bank accounts via this endpoint
https://docs.stripe.com/api/tokens/create_bank_account
Then creating a source to connect the bank account tot he connected account and kick off the microdeposit process.
https://docs.stripe.com/api/sources/create
What are you working on?
Connect + Issuing.
@normal osprey pressed the 📡 API button in #help to ask a question:
Question
We are not getting the products back suddenly. We haven't changed anything from our end but we have suddenly stopped receiving the products in prod and dev. Can yu please help?
Related Request ID(s)
prod_Lc20Z2S3YWn3TX
What have you already attempted?
Looking at the docs and any releases from our side.
@autumn lark pressed the ❌ An Error button in #help to ask a question:
Error Message
We could not verify your identity
Please try submitting your information again.
Question
I am extremely certain I have a bug in my account id as I am not able to submit any of my verification document even after trying it for countless times.
What have you already attempted?
I have tried contacting support multiple times but they are just not replying and there are only 4 days left before the automatic account deletion due to no verification.
@chilly spear pressed the 🪝 Webhooks button in #help to ask a question:
Question
I want to ask a follow up on https://discord.com/channels/841573134531821608/1259967934999040093
The original transaction has a total of $930 with a lower settlement amount ($921.69) because of the application fee.
The transaction is returned and now the returned transaction has a net settlement amount of -$930. Shouldn't the returned transaction have a net settlement amount of -$921.69?
Related Event ID(s)
po_1PYeAFD17L8AWJ55fPGkkazK
What have you already attempted?
Looking through the report to figure out how to reconcile this.
@ebon ingot pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hey, I am currently trying to get the `stripe.checkout.sessions.listLineItems` to work in my env. (inside vercel) I am currently testing everything with test-keys and also inside vercel (in the env variables) the test-key is entered correctly and should only be used on preview deployments (which that is). Creating the checkout session and receivinmg of the webhook event works fine only the `listLineItems` command does not give me any response (no answer / no error - nothing...)
Related Event ID(s)
evt_1PaPpqKBPpELGMIU1URbmPGT
What have you already attempted?
I have tried to hardcode the secret key into the Stripe constructor and moved all over the place (where the var is created... I know weird but I am a bit frustrated now ^^)
The weirdest thing of all of that is that it works perfectly fine in dev mode (locally)...
What are you working on?
I am working on a marketplace - currently working on the creating order when a checkout session succeeded webhook event was received...
@brittle sapphire pressed the 📡 API button in #help to ask a question:
Question
Follow up on https://discord.com/channels/841573134531821608/1257801493302743190
Related Request ID(s)
https://discord.com/channels/841573134531821608/1257801493302743190
What have you already attempted?
Chatted with support already and identified a bug in the tax display for checkout session. Wanted to followup and see if this issue is being pursed, so we can re-enable automatic tax collectionl
@obtuse cosmos pressed the ❌ An Error button in #help to ask a question:
Error Message
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-1bd1ss83rhoRESXnUSD+xUzVPZzKrKQPYKkWOj5TJIc='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navi
Question
We are using Crossmint as a payment provider, and they use Stripe as their credit card payment handler. When we try to pay with a credit card, Stripe should display a 3DS authentication to complete the transaction. However, the 3DS is being blocked. Do you know why this is happening?
What have you already attempted?
We have disabled all CSP on our website, but this has not worked. We have cleared all site memory to ensure that the CSP is removed, but this did not work. We have also tried changing our inline onclick handlers to event listeners, but this has not worked either.
Reproduction Steps
The user enters their credit card information into thr Crossmint UI to handle transactions. The error appears in the console and the 3DS is not displayed. Stripe network calls fail because 3DS is not completed and transaction fails.
What are you working on?
https://www.weebox.io/
@wicked ledge pressed the 🧑💻 Code button in #help to ask a question:
Code
Top of js file after initalize(): checkStatus();
...
async function checkStatus() {
// const email = document.getElementById('email').value;
// const name = document.getElementById('name').value;
//
const clientSecret = new URLSearchParams(window.location.search).get(
"payment_intent_client_secret"
);
console.log(clientSecret)
if (!clientSecret) {
return;
}
const { paymentIntent } = await stripe.retrievePaymentIntent(clientSecret);
console.log
Question
URLSearchParams(window.location.search).get(
"payment_intent_client_secret"
);
is null in checkStatus()
What have you already attempted?
I printed everything out in the console
@restive wraith pressed the 🪝 Webhooks button in #help to ask a question:
Question
What is the difference between amount_paid and total in invoice.payment_succeeded?
I want to get the actual amount paid by the user.
Related Event ID(s)
invoice.payment_succeeded
What have you already attempted?
only have question
@crisp viper pressed the 🧑💻 Code button in #help to ask a question:
Code
Got my connector working now.
Question
I am looking to charge a customer when they first sign up, I have currently tried putting to products together (metered and flatrate) in order to achieve this. But I wanted to find out if there was any way to do this with just the metered product?
What have you already attempted?
I have tried putting to products together or adding quantity to the line_items for the metered(which just errors)
What are you working on?
Same app as before.
@regal jay pressed the 🪝 Webhooks button in #help to ask a question:
Question
stripe cli's signing secret not working
Related Event ID(s)
na
What have you already attempted?
hard coded the secret
@sinful igloo pressed the 👍 Best Practices button in #help to ask a question:
Question
When creating a subscription with a trial period what is the best practice for attaching a payment method to the subscription to be charged at trial end?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/trials
What are you working on?
SAAS
@granite sand pressed the 🧑💻 Code button in #help to ask a question:
Code
Card = new PaymentIntentPaymentMethodOptionsCardOptions { Moto = true }
Question
We have two portals: one for customers and one for customer service. Both portals handle card setup and payments. According to few GEO regulations (UK), we plan to use MOTO (Mail Order/Telephone Order) for payments when the customer is not in the session, meaning the customer service portal will use MOTO. Do you foresee any issues with payments being blocked because we are using MOTO in the customer service portal? For your information, MOTO is enabled for our accounts.
What have you already attempted?
MOTO on Customer service portal and Onsession on Customer portals
@austere nacelle pressed the 🧑💻 Code button in #help to ask a question:
Code
if let paymentSheet = paymentSheet {
PaymentSheet.PaymentButton(
paymentSheet: paymentSheet,
onCompletion: onPaymentCompletion
) {
Text("Buy")
}
}
}
.onAppear() {
preparePaymentSheet(
Question
I made payments work with the PaymentSheet.PaymentButton with the example from Stripe. However, the PaymentIntent is created as soon as the View is presented, and I need to collect some additional data from the user before creating the PaymentIntent.
Is it possible to achieve this with PaymentButton? Should I take another approach? Any pointers?
What have you already attempted?
I tried to put the PaymentIntent and PaymentSheet creation into the button press handling method.
However, paymentSheet.present doesn't work very well for me. What controller should I use there? Or should I take another path?
@fallen python pressed the 👍 Best Practices button in #help to ask a question:
Question
Hey - express checkout buttons are appearing smaller on mobile than I'd expect. But a private iframe means I can't add <meta name="viewport" content="width=device-width, initial-scale=1.0"> to its head?
I wonder what best practice is here
Doc/Guide Links
https://docs.stripe.com/js/element/express_checkout_element
What are you working on?
Website payment portal
@autumn wasp pressed the 📡 API button in #help to ask a question:
Question
I have an error during update phone number into Stripe Connect, How can fix it?
Related Request ID(s)
req_2cmcWNX83l63Al
What have you already attempted?
Update phone number, address and external account into Stripe Connect
@snow cargo pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
GET /v1/customers/search to be reliable in returning the search results
What actually happened?
i am getting the expected result in this req : req_4cqe2fwLavgosH
however the search returns empty array in the next request made 1 second later : req_1bJFQ1vCjKj7xu
Reproduction Steps
create a customer with test clock and then call the search api by name in quick succession
Question
please advise. here are the responses
What are you working on?
i am using this get api to check if a customer is actually created on stripe's side before next action
@kindred wing pressed the 🧑💻 Code button in #help to ask a question:
Code
I don't have any code just a question regarding Android implementation of Payment Sheet
Question
I am working on Android implementation of payment sheet but since there is no one and no docs to help me know the api on our server, I am checking the website that has the api call. I saw the setup_intents/%s/confirm on the website and the payload had payment_method_data[payment_user_agent]: stripe.js/fe2e2c5c10; stripe-js-v3/fe2e2c5c10; payment-element. Is confirmation done internally in payment elements or in my case payment sheet?
What have you already attempted?
Read the docs and could not find anything about payment_method_data[payment_user_agent] and checked "https://docs.stripe.com/payments/accept-a-payment-deferred" which says the sheet confirm the intent but then checked the Android example and the api was also confirming so I got confused!
@slate sedge pressed the 👍 Best Practices button in #help to ask a question:
Question
Hey I just started using connect and I need some help! Its very confusing!
Doc/Guide Links
I do no have any docs or guides
What are you working on?
ecommerce marketplace
@finite solstice pressed the 👍 Best Practices button in #help to ask a question:
Question
Howdy! We're working on an application flow for a subscription that only charges customers after they have confirmed that our service works for them. We'd like to use checkout sessions (and the Stripe payment page) to do the heavy lifting for initial credit card collection / verification and fund verification (using mode: payment) and then when we confirm our service works for the customer, capture the funds. To confirm my understanding:
- Is there any way for a Stripe hosted Checkout to do a "subscription" with a non-immediate payment?
- If not, is using the mode:payment and pivoting to a subscription on the backend later a reasonable middle ground vs fully custom?
Doc/Guide Links
Basic Subscriptions - https://docs.stripe.com/billing/subscriptions/overview
Checkout Page Quickstart
- https://docs.stripe.com/checkout/quickstart
Checkout Page Options - https://docs.stripe.com/payments/checkout/customization
What are you working on?
V2 of an existing application with a full payment system overhaul
@molten karma pressed the 📡 API button in #help to ask a question:
Question
I'm updating stripe terminal reader splashscreen using configuration update API. But, its not reflecting on the reader, mean the splashscreen image what I set its not showing on the reader.
Related Request ID(s)
req_Nd5I7iaAOKxUsZ
What have you already attempted?
doc: https://docs.stripe.com/terminal/fleet/splash-screen?dashboard-or-api=api#configuration-object
after update I waited for long time, restart the reader many times but nothing worked. Its remain the default splashscreen
What are you working on?
Just want to update my custom splashscreen on the reader for my branding
@fallen python pressed the 👍 Best Practices button in #help to ask a question:
Question
Express checkout buttons appear much smaller on mobile. Can't inject <meta name="viewport" content="width=device-width, initial-scale=1.0"> into private iframe header
Doc/Guide Links
https://docs.stripe.com/js/appendix/viewport_meta_requirements
What are you working on?
Website payment portal
@wispy sundial pressed the 📡 API button in #help to ask a question:
Question
i want to update billing cycle of already subscribed subscription using java api
Related Request ID(s)
not for particular ids
What have you already attempted?
already tried but not working
@lime igloo pressed the 🪝 Webhooks button in #help to ask a question:
Question
I am using payment_intent.succeeded event now I want to know the difference between different types of payment
- PaymentIntent::create() -> one time payment
- Subscription::create() -> fresh purchased subscription (recurring payment)
- Subscription payment for the next renewal event (next month/quarter)
- Manual invoice created from stripe dashboard (customer page) -> https://dashboard.stripe.com/test/customers/cus_QRPax5h1U5MAhe
Related Event ID(s)
-
What have you already attempted?
I am using invoice property and then fetching invoice data if an invoice is available.
And from that invoice data I'm using `billing_reason` .
Is that the correct way to differentiate those 4 payments?
@hexed cedar pressed the 📡 API button in #help to ask a question:
Question
Why am I getting 2 different Hosted Invoice Urls between different calls for the same Invoice
Related Request ID(s)
Invoicing
What have you already attempted?
Read the documentation
What are you working on?
I'm building an integration where i'm ensuring that the Hosted Invoice Urls correlate to those returned from the Stripe Invoice API
@molten karma pressed the 📡 API button in #help to ask a question:
Question
I've a file id which I've uploaded into stripe. Now, I want to show that on my client side. How can I do that?
Related Request ID(s)
req_f6e8eT2k508PTL
What have you already attempted?
I tried file retrieve API, but that's also not helpful for me
@broken plover pressed the 🧑💻 Code button in #help to ask a question:
Code
$stripe = new \Stripe\StripeClient($secret_code);
$checkout_session = $stripe->checkout->sessions->create([
'ui_mode' => 'embedded',
'line_items' => [[
'price_data' => [
'currency' => 'aud',
'unit_amount' => 9900,
'product_data' => [
'name' => 'Product 1',
],
],
'quantity' => 1,
]],
'payment_method_types' => ['card'],
'mode' => 'payment',
'return_url' => $return_url);
Question
Apple Pay doesn't show up in Checkout session
What have you already attempted?
Tried various experiment. This is a follow up of
https://discordapp.com/channels/841573134531821608/1259847386478678147
What are you working on?
stripe checkout for ecommerce
@limpid void pressed the 👍 Best Practices button in #help to ask a question:
Question
My company is building SaaS, where our pricing model is based on User Count. It is an IAM app, so based on user onboarded, we charge money. We want to move to Usage based model so that user have no restriction over onboarding.
First plan was that on EOD, I will check the total user count for tenant and add the usage (Ex. 2 new user added = 2 metered event added). But It is also possible to delete user, but I don't know how to handle that in the usage based billing (Ex user removed = -4 metered event). So Please help me on how to handle this kind of subscription model.
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage
What are you working on?
IAM SaaS
@digital mason pressed the 🧑💻 Code button in #help to ask a question:
Code
var optionscharge = new ChargeCreateOptions
{
Amount = stripeChargeAmount,
Currency = currencyType,
Customer = stripeCustomerId,
Source = stripePaymentMethodId,
};
var services = new ChargeService();
charge = services.Create(optionscharge);
Question
When migrating the above "ChargeCreateOptions" to the below "PaymentIntentCreateOptions", an error is thrown as "Stripe.PaymentIntentCreateOptions.PaymentMethodTypes.get returned null"
This is for the SEPA direct debit payment flow.
What have you already attempted?
var paymentIntentOptions = new PaymentIntentCreateOptions
{
PaymentMethod = stripePaymentMethodId,
PaymentMethodTypes = { "sepa_debit" },
Amount = stripeChargeAmount,
Currency = CurrencyType,
Description = PaymentDescription,
SetupFutureUsage = "off_session",
Customer = stripeCustomerId,
};
Kindly assist me to resovle this.
What are you working on?
This is for the SEPA direct debit payment flow for the migration sources and charges APIs to PaymentIntent API
@waxen iris pressed the 👍 Best Practices button in #help to ask a question:
Question
Hi, I am implementing the Android SDK on my App.
I need to collect the payment information before creating an intent (following the documentation).
However, I cannot implement the last step.
My back-end do not send a clientSecret in the "Create payment intent" response, so I cannot return in the callback a CreateIntentResult.Success(response.clientSecret).
What are the impacts of not returning a CreateIntentResult.Success(response.clientSecret) in the callback and dismiss the Stripe bottom sheet manually if my backend tells me that the payment is succesfull.
Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?type=payment
What are you working on?
An app where students can benefit from a lot of discounts
@small grotto pressed the 👍 Best Practices button in #help to ask a question:
Question
In passwordless flow we have preauthsessionid
can we use it and get few details like name and user_name
validate if this is valid user name if yes then use otp and create user in supertoken
Doc/Guide Links
https://supertokens.com/docs/passwordless/migration/account-creation/user-creation#consume-the-passwordless-code-to-create-the-passwordless-user
What are you working on?
Build Auth system with supertoken on existing build auth system
@silent willow pressed the 📡 API button in #help to ask a question:
Question
Hello, I am trying to implement Link payment method, I want to use the off_session payment_intent, but when setting everything up and trying the off_session payment_intent. I am getting this error -> "When confirming a PaymentIntent with a `link` PaymentMethod and `setup_future_usage`, `mandate_data` is required.".
I tried to look into the documentation, but there is no example of the "payment_intent.mandate_data". Do I retrieve it when setting the off_session intent ? Thank you so much for your help.
Related Request ID(s)
req_lQZxlsfDiJYGN2
What have you already attempted?
I have tried to retrieve it from the checkout session after setting up the off_session intent, but I do not know what is the "mandate_data" in the object. I also do not see it in the Stripe
@vocal apex pressed the 📡 API button in #help to ask a question:
Question
Hey ! I'd like to do something that I thought was simple but now I'm not as sure 😅
I want my client to be able to configure a product on their Stripe dashboard, so they can:
- Have full control of the price
- Create coupons for marketing purpose
I'm using the Stripe TS lib, currently creating a simple payment intent with the product price.
I found a few threads on SO about it, but what I'm struggling with is the following:
- It doesn't look like I can create an invoice item for a product without specifying the unit_amount
- I don't know how I can use coupons with a product & elements
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_XRZrzaQFiLXOLb?t=1720514732
What have you already attempted?
- Create a payment intent with a hardcoded amount
- Create an invoice item from the product ID following this thread: https://stackoverflow.com/a/76596770
- Add unit_amount_decimal to the invoice item creation call, by retrieving the product. However, product.default_price is either a string (ID) or an object, which makes TS cry
- Couldn't find anything on make Stripe Elements manage coupons by itself
What are you working on?
I'm working on a medical app that only sells one product. My client wants to have full control on this single product price and create coupons for specific customers. Thx!
@deep fulcrum pressed the ❌ An Error button in #help to ask a question:
Error Message
com.stripe.stripeterminal.external.models.TerminalException: RPC application error INVALID_REQUEST with message Invalid device_type: must be one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, simulated_wisepos_e, or mobile_phone_reader
Question
I cloned the example project you provided : https://github.com/stripe-samples/terminal-apps-on-devices
I have successfully fetched a token from my backend, but on terminal side when Terminal.getInstance().discoverReaders is called I have the above error message.
I am using the S700 terminal from the devkit I just received.
What have you already attempted?
Reinstall, reboot terminal, nothing changes
Reproduction Steps
Just clone the project fetch a token and run the project
What are you working on?
I am building an app for restaurants
@magic lance pressed the 📡 API button in #help to ask a question:
Question
Can I create test account for non-existing company to add brand settings? We're in project phase where stakeholders want Stripe checkout for demo but project won't go live yet. I want to create "fake" account and customize styling for now until they open legit account. This is for demo
Related Request ID(s)
x
What have you already attempted?
Can I create test account for non-existing company to add brand settings? We're in project phase where stakeholders want Stripe checkout for demo but project won't go live yet. I want to create "fake" account and customize styling for now until they open legit account. This is for demo
@sonic forge pressed the 📡 API button in #help to ask a question:
Question
apple pay not showing , it shwoing on simulator but not in device
Related Request ID(s)
not working apple pay
What have you already attempted?
const { error } = await initPaymentSheet({
merchantDisplayName: user_data.name,
customerId: user_data.hash,
paymentIntentClientSecret: create_oi,
allowsDelayedPaymentMethods: true,
applePay: {
merchantCountryCode: 'US',
merchantIdentifier: { STRIPE_ACC_ID },
},
googlePay: {
merchantCountryCode: 'US',
currencyCode: 'USD',
testEnv: true,
},
defaultBillingDetails: {
name: user_data.name,
},
returnURL: 'https://test.fuml.us/',
});
What are you working on?
its a app for events booking
@tepid beacon pressed the 📡 API button in #help to ask a question:
Question
I am trying to fetch the list of pending invoices which open from more than 7 days, So I am passing the created date as lessthan = datetime, but It is not fetching those invoices.
Related Request ID(s)
.
What have you already attempted?
I have gone through the invoices docs to fetch list of invoices, there they have mentioned that created date option should be a integer, but as I am trying to integrate I can only send datetime. But while sending request from API it is not converting the datetime into unix milliseconds but only converting to unixtimestamp, which in return returning the wrong data .
@rigid temple pressed the 📡 API button in #help to ask a question:
Question
Is there a way to use CardScan with CardFormField? Is there a way to enable this feature for CardFormField?
Related Request ID(s)
.
What have you already attempted?
Have searched about it and looks like CardScan is integrated into PaymentSheet but couldn't find a way to use it with CardFormField.
@gloomy kite pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/coupons?dashboard-or-api=api&lang=dotnet#promo-code-subscriptions
Question
stripe doesn't required the credit card in order for promocode to works? need documentation.
What have you already attempted?
var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = customer.Id,
Items = subscriptionItems,
PaymentSettings = customer.InvoiceSettings.DefaultPaymentMethodId == null ? new SubscriptionPaymentSettingsOptions { SaveDefaultPaymentMethod = "on\_subscription" } \: null,
PaymentBehavior = paymentBehavior,
PromotionCode = promocodeId
};
@gusty river pressed the 📚 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
Question
I have a SaaS software with 3 main plans. Each plan has a different price and there are common features that are optional add-ons. For example I have a Base Plan and I would like to add feature 1, feature 2 and feature 3 as optional add-ons. The customer can select 1 feature or all. Each feature has a price and I need the total price to include the Base Plan Price + All selected features as a subscription.
What have you already attempted?
I have tried with the pricing tables and Stripe Checkout but i cannot figure out how to add upgrades to a subscription through the hosted solutions.
Can you please help me with that?
What are you working on?
SaaS platform that allows customers to subscribe and upgrade features within the application
@foggy bolt pressed the 👍 Best Practices button in #help to ask a question:
Question
In my application I want to add a feature where the customers card payment method can be updated by the customer himself. The payment method is going to be a card 100% of the time. How would you go about implementing this feature?
Thanks.
Doc/Guide Links
https://docs.stripe.com/api/payment_methods/update
What are you working on?
E-commerce platform
@random crest pressed the 📡 API button in #help to ask a question:
Question
I have created a payment using /v1/payment_intents API.
And I have executed the v1/test_helpers/customers/customerId/fund_cash_balance API to pay the payment.
Then I received following events
customer_cash_balance_transaction.created - funded
customer_cash_balance_transaction.created - applied_to_payment
payment_intent.succeeded - succeeded
charge.succeeded - succeeded
I would like to identify the payment intents that were charged using a given funded customer_cash_balance_transaction.
Related Request ID(s)
.
What have you already attempted?
Lets say If customer do one transfer, and it was sufficient to close two payment intents,
so I need to identify those two payment intents and close relevant events from our side as well.
In summery I want to get link between customer_cash_balance_transaction (funded) and payment_intents that were charged.
https://dashboard.stripe.com/test/customers/cus_QR9LOtGZBEtNFo
@visual obsidian pressed the 🧑💻 Code button in #help to ask a question:
Code
this.stripe.subscriptions.update(teamsubscriptionid, {
cancel_at_period_end: false,
proration_behavior: "create_prorations",
items: [
{
id: subscription.items.data[0].id,
price: newPriceId,
quantity:1,
},
],
});
Question
client decided to update the prices for the subscriptions to we'll change the price ids for them however for the existing subscribers when we call this, 1- is it legal? 2- will it work as intended (will it switch them to the new pricing after the current period end)?
What have you already attempted?
-
What are you working on?
seo app with subscriptions
@native cloud pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/connect/design-an-integration
Question
During the STANDARD account onboarding there is LIMITED list of countries. Is it because of the testing environment or is Stripe Connect limited to only some countries?
What have you already attempted?
Creating connected account via OAuth.
What are you working on?
Software B2B platform
@south grail pressed the 📡 API button in #help to ask a question:
Question
Best way to gracefully handle false negatives for ReaderService.ProcessPaymentIntent
Related Request ID(s)
req_TwQW7T5DwEL3k9, req_2ezhGai1sXgrb5
What have you already attempted?
Making a call to the api but am getting a terminal_reader_timeout error. That is fine if the payment intent was never sent to the reader. However the issue is that sometimes I'm getting this response but the reader is showing up with the payment which can then be completed. Basically I get this response and am still completely unsure if it has actually been sent to the reader for processing
What are you working on?
Building out server driven reader integration
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
const expressAppleCheckoutOptions = {
buttonType: {
applePay: 'buy'
},
buttonTheme: {
applePay: 'black'
}
};
const appleElements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expr
Question
I am implementing stripe apple pay using express checkout element.In safari, instead of apple pay I am seeing link button.
What have you already attempted?
The domain is verified already .Apple pay and link both are enabled in stripe account but I am seeing link button in place of apple pay button. If link is turned off then there is no button. But there is no script added regarding link.
@stable patrol pressed the 📡 API button in #help to ask a question:
Question
is there any api where i can change the default payment method of the customer
Related Request ID(s)
.
What have you already attempted?
need info
@magic shadow pressed the 🧑💻 Code button in #help to ask a question:
Code
const stripePromise = loadStripe("...");
const BillingCheckout = ({
lineItems,
merchantReference,
termsOfServiceAcceptanceMessage,
onComplete,
}: Props) => {
return (
<EmbeddedCheckoutProvider stripe={stripePromise} options={options}>
<EmbeddedCheckout />
</EmbeddedCheckoutProvider>
)
Question
Hello. I see that in order to use Stripe components (i.e Checkout) we need to call `loadStripe` outside of level component and pass the secret api key. Our goal is to export a reusable component, within our company, where consumers pass this secret depending on the product we are on. But since `loadStripe` is not loaded within react context (like a hook) I am not sure if it's possible. Could you assist?
What have you already attempted?
Place `loadStripe` within a `useEffect` and go against stripe's recommendation:
// Make sure to call `loadStripe` outside of a component’s render to avoid
// recreating the `Stripe` object on every render.
@narrow ice pressed the 👍 Best Practices button in #help to ask a question:
Question
Is Twint together with Stripe working on a Stripe Terminal?
Doc/Guide Links
https://docs.stripe.com/payments/twint
What are you working on?
Offline Store PoS
@tawny hull pressed the 🪝 Webhooks button in #help to ask a question:
Question
When I listen to the webhook locally it works fine but on the deployment on railway.app it raises the error:
No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? https://github.com/stripe/stripe-node#webhook-signing
Related Event ID(s)
evt_3PacbDFF8cxg0Vug1XoAOTx9, evt_3PacWlFF8cxg0Vug0jNruwBI, evt_3PacThFF8cxg0Vug0U6Cvo5K
What have you already attempted?
I have tried using parsed and non parsed json object but in both the cases it works locally and not when deployed on railway.app.
What are you working on?
building an app, integrating stripe in the testing phase
@buoyant adder pressed the 📡 API button in #help to ask a question:
Question
Trying to Copy Customers from one account to another. I get message from source account to accept the request of customer copying in destination account. When I open destination account I get the notification to accept the incoming customers. When I do that it says it will take up-to 72 hours depending on the number of customers. Can we make the process quick I have 200 customers that needs to be copied
Related Request ID(s)
req_CsLauTW1DOB8Mi
What have you already attempted?
I am trying to do this in sandbox with minimum customers and still can't see it in action.
@thin ridge pressed the 📡 API button in #help to ask a question:
Question
Is this possible to use "Extended authorizations" with the Checkout session API ?
I know that we can specify that a capture will be done manually, so it generated a 7 days authorization but can I extend this authorization to 30 days with extended authorizations ?
Related Request ID(s)
req_ZOXQVTA6Juql2p
What have you already attempted?
I tried to specify payment_intent params while creating my checkout session but the params where not recognized by the api
What are you working on?
A payment link that will generate a payment authorization that can last longer than 7 days
@ivory garden pressed the 🧑💻 Code button in #help to ask a question:
Code
const expressAppleCheckoutOptions = {
buttonType: {
applePay: 'buy'
},
buttonTheme: {
applePay: 'black'
}
};
const appleElements = stripe.elements({
mode: 'payment',
amount: 1099,
currency: 'gbp',
});
const expr
Question
I am implementing stripe apple pay using express checkout element.In safari, instead of apple pay I am seeing link button.
What have you already attempted?
The domain is verified already . I have also registered domain for our connected account.Apple pay and link both are enabled in stripe account but I am seeing link button in place of apple pay button. If link is turned off then there is no button. But there is no script added regarding link.
@wild nexus pressed the 📡 API button in #help to ask a question:
Question
We’ve tried to test the method bank transfer, but in our simulation the option didn’t appear.
Related Request ID(s)
NA
What have you already attempted?
We seleceted oxxo and bank transfer, but only oxxo is being displayed
@undone tangle pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/overview#voiding-invoice
Question
What events occur when a customer successfully pays for a subscription (not the first payment)? What events occur when the subscription is not paid (not the first payment)? And how can I handle unpaid subscriptions if my integration model is via web checkout (I would like to avoid handling the change of payment method from the application)?
What have you already attempted?
I have consulted the documentation according to the link:
https://docs.stripe.com/billing/subscriptions/overview#voiding-invoice
What are you working on?
Suscriptions
@dark kiln pressed the 📡 API button in #help to ask a question:
Question
I need to trigger issuingCardCopyButton elements programatically
Related Request ID(s)
a
What have you already attempted?
can't find how to trigger this button myslef
@prime socket pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/subscription_schedules/cancel
Question
How do I remove the phase of a subscription schedule ?
What have you already attempted?
I tried to set the phase on the subscription schedule
@rich flame pressed the 📡 API button in #help to ask a question:
Question
How can i implement discounts into my checkout? without the coupons
Related Request ID(s)
i dont have any request id, idk how to add those discounts
What have you already attempted?
just create checkouts and add some coupons but i dont want to add coupons to get discounts.
What are you working on?
subscriptions. We have 3 modules (users have to pay) but if they buy a new module I want the user to have a discount to encourage them to buy more.
@livid kernel pressed the 🪝 Webhooks button in #help to ask a question:
Question
When user successfully complete a payment for their purchased subscription we will get notified via webhook. When testing we found that we receive two webhook events in this case those are:
- customer.subscription.created
- customer.subscription.updated.
And customer.subscription.updated is triggered when user actually make a purchase and complete their subscription.
We want to know that, if we only listen for customer.subscription.updated and if user made a purchase we can activate their subscription in our system or is there a better way that Stripe recommend to do this?
Related Event ID(s)
evt_1Pabo7CYufzy4qbXmHILanrQ
What have you already attempted?
We have tested that when user complete their purchase Stripe sends us customer.subscription.updated.
What are you working on?
We want to activate user's subscription in our system after verifying that they have completed payment for their subscription
@chilly egret pressed the 👍 Best Practices button in #help to ask a question:
Question
We're working on cleaning up our customer management and we came across the text in the guide about deleting customers that says "deleted customers can still be accessed through the API". Our question is, is that access indefinite or is there some time after deleting that they are no longer accessible?
Doc/Guide Links
https://docs.stripe.com/api/customers/delete
What are you working on?
Customer management
@drowsy latch pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/stripe-js/react#element-components
Question
To display the amount (post-tax amount) in the embedded payment component
What have you already attempted?
1
@past hatch pressed the 📡 API button in #help to ask a question:
Question
Using which API are we able to find the sales information of a Stripe account?
Related Request ID(s)
API
What have you already attempted?
N/a
@oblique dome pressed the 🪝 Webhooks button in #help to ask a question:
Question
Updates regarding a previous question.
We would like to join the account id of a customer account to its verification, see https://docs.stripe.com/identity/access-verification-results.
It's possible to find the information using the account parameter for events and connected accounts. However we are using Hevo to import the data and it does not support this feauture.
Do you know if there is an other way to achieve this ?
Related Event ID(s)
https://discord.com/channels/841573134531821608/1259870103005167646
What have you already attempted?
See past question
@jade lodge pressed the 📡 API button in #help to ask a question:
Question
I need help setting up the beginning of a subscription with the api
Related Request ID(s)
subscription creation
What have you already attempted?
I tried creating normally but there's no field such as start_date in the subscription creation object
@frigid timber pressed the 📡 API button in #help to ask a question:
Question
Hello, I am trying to add a new payment method to my django/python webshop. However I succeeded adding iDEAL and bancontact. But for card payments im running into some trouble.
The confirmCardPayment function is giving me all kinds of errors
1) checkout/:565 A payment method of type card was expected to be present, but this PaymentIntent does not have a payment method and none was provided. Try again providing either the payment_method or payment_method_data parameters.
2) shared-34a966d8db3a8…cc571cdb176616.js:1
POST https://api.stripe.com/v1/payment_intents/pi_3PaZ4TLwwzCic62n0Fp2qPA8
Related Request ID(s)
dashboard/developers/api
What have you already attempted?
I followed this documentation : https://docs.stripe.com/js/payment_intents/confirm_card_payment.
And tried the 3 different ways to complete a card payment.
All three are giving these weird errors.
Contacted stripe support and they cant seem to find the reason why im not able to complete a card payment for example visa or mastercard.
ERROR : checkout/:565 A payment method of type card was expected to be present, but this PaymentIntent does not have a payment method and none was provided. Try again providing either the payment_method or payment_method_data parameters.
What are you working on?
Webshop django/wagtail
@naive bane pressed the 👍 Best Practices button in #help to ask a question:
Question
We have stripe integrated in our platform and we allow our uses to connect their stripe accounts through stripe connect. Today our flow for onboarding users with Stripe always involves creating a new Stripe account, even if the user already has an existing Stripe account using stripe.accounts.create() and calling stripe.accountLinks.create with type: "account_onboarding"
Right now we need to add a login flow for users that already have stripe accounts and want to integrate them instead of creating a new one. Considering that we need to save data such as the account id, what would the best practice for this be?
Would that be using oauth and creating a callback endpoint?
Doc/Guide Links
https://docs.stripe.com/connect/oauth-reference
What are you working on?
Adding an extra flow to allow stripe connect users to connect their accounts to our platform through oauth
@undone tangle pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/overview#voiding-invoice
Question
When you made a subscription by checkout session and the first payment was made successfully, if the second payment is successful, does the "checkout.session.completed" event arrive?
What have you already attempted?
I have read documentation and performed tests with subscriptions/test clocks
What are you working on?
Suscriptions
@prime socket pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/subscription_schedules/cancel
Question
I tried to use subscription schedule to handle a minimum commitment period but it seems to doesn't work
What have you already attempted?
I made several support already telling me it's the correct way to handle it but I doubt it now
@tough harbor pressed the 📡 API button in #help to ask a question:
Question
I see in your OpenAPI document that there are query parameters with `type: deepObject` and a schema that's an array. I'm not sure how to interpret this; the OpenAPI 3.0.3 spec suggests that that combination is invalid
Related Request ID(s)
?
What have you already attempted?
I see the docs say to do `expand[]=foo` but I'm not sure if that's some custom extension
@red jungle pressed the 📡 API button in #help to ask a question:
Question
Can you provide an example of how to link products and prices to payment intents in Node?
Related Request ID(s)
pi_3PX1feDutjB5DW911QshD02m, in_1PYZnyDutjB5DW914tngV6gC
What have you already attempted?
We are using the payment intents API. Is it possible to link a product and price to the payment intent? Looking at the docs, it seems like "no". However, being able to track which specific products and which prices were used in a txn outside of the metadata feels valuable. We have tried the route of creating invoice items, a draft invoice, finalizing the invoice and then passing the payment intent, however, the invoice never seems to get the items attached and we can't find documentation about how to do this using the Node SDK.
What are you working on?
We are building a "packs" purchasing model, which is a digital product we sell. We capture webhooks from stripe to take follow up actions to deliver pack contents to our users.
@next fractal pressed the 🧑💻 Code button in #help to ask a question:
Code
transactions = stripe.BalanceTransaction.list(limit=100).auto_paging_iter()
return sum\(\[tx.amount for tx in transactions if tx.type == "charge"\]\)
Question
How do I pull lifetime revenue from the Stripe API?
What have you already attempted?
I thought that I would be able to compute lifetime revenue by summing all the balance transactions with the type of charge but the value returned by this is slightly lower than the amount in our test dashboard. In the test dashboard we have a gross amount of $1,213,898.83 and fees of -$35,266.99 which did not line up with the returned amount of $1,194,208.83
@versed radish pressed the 🪝 Webhooks button in #help to ask a question:
Question
How can we differenciate a recurring customer and a subscription change (upgrade/downgrade)
If listening to the same event customer.subscription.updated
??
Do we have 2 separate event ? or a way to know which is which ?
Related Event ID(s)
evt_1PagUaLM4GHVXwuA6C1qa5oF
What have you already attempted?
listening into the customer.subscription.updated
and try to parse the payload
What are you working on?
SaaS
@sullen junco pressed the 📡 API button in #help to ask a question:
Question
On doing multi capture on Payment Intent, Can each capture have separate charge (charge_id) (https://docs.stripe.com/payments/multicapture#connect), If not what is best way to identify each capture (Is there any id specific to each capture and can each capture have separate transfer and metadata without overwriting)
Related Request ID(s)
https://dashboard.stripe.com/test/payments/pi_3PaNLVKZdo2LWv7y04CGNvh0
What have you already attempted?
I tried multi captures (But i am seeing single charge (charge_id), I am looking for unique identifier for each capture and see if i can store metadata in that
What are you working on?
I am working creating a payment intent at checkout and at shipping (creating different captures, based on how many shipments for that order)
@drifting dagger pressed the 📡 API button in #help to ask a question:
Question
Is it possible to move a payment method (credit card) between stripe customers?
Related Request ID(s)
no particular request id
What have you already attempted?
Searching for answer in SO, Stripe docs
What are you working on?
Billing system for an event company
@slate sedge pressed the 👍 Best Practices button in #help to ask a question:
Question
How to add a fee of sorts to Stripe connect. I need to take 10% of every product sold on my store. I am running a marketplace where sellers post there products for lets say $10, (I want to take 10% of that because they are selling on my store) So i end up with $1 and the other 90% ($9) goes to the connected account.
Doc/Guide Links
I do not have any Docs or guides.
What are you working on?
ecommerce marketplace
@leaden leaf pressed the 📡 API button in #help to ask a question:
Question
If I have a PaymentMethod object, can I use the 'customer' field to determine if the PaymentMethod is attached to a Customer?
Related Request ID(s)
N/A
What have you already attempted?
I've got code that iterates over all my PaymentMethods but I'm not sure how to identify whether they are detached or not
@vivid burrow pressed the 🪝 Webhooks button in #help to ask a question:
Question
What is the equivalent of customer.source.expiring event triggering for payment methods?
Related Event ID(s)
na
What have you already attempted?
Looked at docs and I don't see
customer.source.expiring
data.object is a source (e.g., card)
Occurs whenever a card or source will expire at the end of the month. This event only works with legacy integrations using Card or Source objects. If you use the PaymentMethod API, this event won’t occur.
What are you working on?
figuring out when payment methods saved to customer are expiring
@next fractal pressed the 🧑💻 Code button in #help to ask a question:
Code
transactions = stripe.BalanceTransaction.list(limit=100).auto_paging_iter()
return sum\(\[tx.amount for tx in transactions if tx.type == "charge"\]\)
Question
How do I pull lifetime revenue from the Stripe API?
What have you already attempted?
I didn't get a chance to respond/add more context before the thread was closed. The issue is on our test account we don't have any refunds or chargebacks or any other types, we just have some transfers. I will add a screenshot to the thread.
@rapid siren pressed the 📡 API button in #help to ask a question:
Question
Hi, I need to know if it is possible to generate a promotional code that allows people who enter it, to have our subscription until September 1st for free, but only on September 1st the first charge will be made.
Related Request ID(s)
N/A
What have you already attempted?
I would like to create it from the dashboard
@frosty sequoia pressed the 👍 Best Practices button in #help to ask a question:
Question
I am using Next 14 for an app that I am building. I want to implement the given functionality for this app:
- User can add/edit/delete cards to his account
- User can select a card to eighter
- Pay a fixed fee
- Pay a monthly subscription
- Both
One important constraint is that I am not allowed to use any of the Stripe Checkout pages and redirection functionality, instead all this logic will be incorporated in modals in the web app. I've already integrated that a customer is created on Stripe each time a user signs up. I am allowed to use Stripe Elements to visualize for example the user's saved cards, the payment form etc.
Doc/Guide Links
https://docs.stripe.com/stripe-js/react
What are you working on?
Web Application using Next 14
@paper kayak pressed the 🧑💻 Code button in #help to ask a question:
Code
const res = await stripe.products.list({ active: true }).catch(err => console.error(err));
const price = await stripe.prices.list({ active: true }).catch(err => console.error(err));
Question
active products don't match active prices. There are more active prices than products. How can I resolve this through code or the dashboard?
What have you already attempted?
Attempted to resolve on the dashbaord.
@void hemlock pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/automations
Question
Hello!
In the "Send team email" section, it says the email can be sent to a team member or to an internal email address. When looking at the configurations in the dashboard, I can't find a way to select or enter an email address. I only see the option to select a specific team member. How can I configure the automation to send it to a specific or internal email address?
What have you already attempted?
I tried adding the send email option to the invoice is overdue automation. It only is allowing me to select a team member.
What are you working on?
Sending emails to a specific email for overdue invoices
@undone island pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
On Express Checkout elements, the event listener for the `ready` event should fire only when an element is ready to be displayed
What actually happened?
The event listener is firing the event when an element is not ready. The stripe element is just an empty box
Reproduction Steps
GIVEN an express checkout element, on Google Chrome on incognito mode
WHEN a "ready" event listener is attached and the component is mounted
THEN the "ready" event is fired, but the element displays nothing
Question
What are the conditions surrounding the trigger for the `ready` event? According to stripe's docs, it says that this event is only fired if the browser is deemed compatible
What are you working on?
A checkout flow with Stripe in React 18, NextJS 14. Not using Stripe's react wrapper and instead using stripejs directly
@vivid creek pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hello, I currently have multiple custom connected accounts that will be restricted soon because of stripe's update.
I have updated my app to handle the new restrictions and I have an endpoint that listens to the webhook "account.updated"
I was wondering if i will receive the requests from the webhook when the accounts will eventually be restricted?
Related Event ID(s)
None
What have you already attempted?
Stripe docs on the new update for custom connect account
@frigid timber pressed the 📡 API button in #help to ask a question:
Question
Earlier i asked about an issue im facing regarding confirming payments for payment_method : card.
Havent been able to do it with confirmPayment instead of confirmCardPayment.
Stripe error :
payment_intent_unexpected_state
You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method or ConfirmationToken.
Related Request ID(s)
Dashboard/developers/api
What have you already attempted?
followed this guide : https://docs.stripe.com/js/payment_intents/confirm_payment
What are you working on?
django/wagtail webshop
@plain torrent pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://github.com/stripe/stripe-react-native/issues/1686
Question
I am using react native w/ expo. When I install the stripe I keep getting getContant of null error. This is the document I followed: https://docs.expo.dev/versions/latest/sdk/stripe/
What have you already attempted?
I update the expected PodFile version and be sure that it is 13.0. I tried generating a new develpment built, clean and remove pod.lock and pods/ directory re-install and be sure that my IOS and xCode versions are correct.
What are you working on?
React native mobile app w/expo. Implementing Stripe payment intent
@shy yew pressed the 📡 API button in #help to ask a question:
Question
Trying to use automatic tax calculation through stripe.checkout api (embedded checkout).
Have correctly defined a price with exclusive tax behaviour, added a tax registration on dashboard, and sending {automatic_tax: true} to stripe.checkout.create
Related Request ID(s)
https://docs.stripe.com/payments/checkout/taxes?tax-calculation=stripe-tax&ui=embedded-form#check-the-response
What have you already attempted?
- tried both "automatic", "inclusive" and "exclusive" tax behavior
- tried multiple countries using vpn
What are you working on?
stripe integration for online digital product
@plucky badge pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/js/issuing/create_ephemeral_key_nonce#stripe_create_ephemeral_key_nonce-options-issuingCard
Question
Based on the Stripe documentation, it seems like the PaymentElement is capable of showing a customer's saved payment methods. However, when looking at generating an ephemeral key, an issuing card ID is required. Can you not show a customer's regular saved credit cards using the Payment Element?
https://docs.stripe.com/js/elements_object/create#stripe_elements-options-customerOptions
What have you already attempted?
I haven't attempted anything yet as I need clarification from the documentation.
What are you working on?
A platform integration, SPA.
@unkempt cape pressed the 📡 API button in #help to ask a question:
Question
How can I simulate a failed payment with subscription test clocks?
Related Request ID(s)
none
What have you already attempted?
I tried deleting the last payment method of user and then advancing the clock, but it didn't produce invoice payment failed event. I also tried changing customer default source from the API to a test card with insufficient funds, but it doesn't accept the test card (because it has insufficient funds :)
What are you working on?
Store integration
@steel crystal pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
cashapp pay payment button to work.
What actually happened?
it declines all cashapp payment. I tried, it goes to an error page when trying to checkout using that function
Reproduction Steps
I activated cashapp pay as a payment type. I did it the auto way, I did not code this. I just activated the option to pay with cashapp pay
Question
how do I get cashapp pay to accept payments?
@gaunt seal pressed the 👍 Best Practices button in #help to ask a question:
Question
I'm looking for a doc or a guide to using the payment element to pay for a one-off Stripe product in a way that uses automatic payment methods set in Stripe's dashboard. The documentation I've seen doesn't really connect accepting a payment with the payment element and attaching that payment to an invoice. I used payment deferred model but it limits the payment methods so I'm looking to use the full range of payment methods available.
Doc/Guide Links
https://docs.stripe.com/payments/payment-element/design-an-integration
What are you working on?
A checkout flow for a SASS product
@pulsar flame pressed the 📡 API button in #help to ask a question:
Question
Is it possible to generate invoices (bank transfer) in SEK for subscription payments?
Related Request ID(s)
None
What have you already attempted?
I'm confused the /se/ locale Stripe page for invoices, seems to give a hint that this is possible. But other documentation says only EUR is supported.
We are ok not using a virtual bank account as well...
@vale quail pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/issuing/connect/funding?lang=node#creating-the-token-and-source
Question
I am following the steps in the guide and have created a bank account token and a source. I then store the bank account id and the source id in my database. When I go to list all the bank accounts for my connected account that I created through a token and source I call this endpoint for the details stripeInst.accounts.retrieveExternalAccount in order to determine the verification status of the accounts and which account still needs to be verified. However I receive an error that states "The bank account <bankaccountid> is not attached to this Stripe account". How do I do this correctly?
What have you already attempted?
See above
What are you working on?
Connect + Issuing
@tired crater pressed the 🪝 Webhooks button in #help to ask a question:
Question
Trying to understand why a webhook did not fire for this subscription renewal: sub_1N9XeAEUqHBlqQXGDcDKGzqr
Related Event ID(s)
evt_1PTSrwEUqHBlqQXGg04ubEEA
What have you already attempted?
looked through logs, we have subscriptions for the customer.subscription.updated endpoint
What are you working on?
billing system for our IAAS platform
@empty forge pressed the 📡 API button in #help to ask a question:
Question
When using banktransfer payment method, I can succesfully create the order (i can see it in the dashboard) and stripe creates the payment order with instructions. However those instrucions need to be sent to customer email, how to achive that?
Related Request ID(s)
none
What have you already attempted?
The payment request is on stripe dashboard, I guess stripe should be the one emailing the bank transfer instructions, but cant find where
What are you working on?
mexico spei payment
@open cape pressed the 🧑💻 Code button in #help to ask a question:
Code
reader = await stripe.terminal.readers.retrieve('tmr_Fjdygxxxxxx');
console.log("READER1: "+JSON.stringify(reader));
Question
I have everything working with a simulated reader, and now I want to test with my WisePos and physical test cards.
What have you already attempted?
I have registered the reader in the dashboard in test mode- however when the reader is registered it shows the same reader Id as the simulator.
What are you working on?
Trying to test a registered WisePos e in test mode. How do I accomplish this?
@marble citrus pressed the ❌ An Error button in #help to ask a question:
Error Message
"Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again."
Question
I'm trying to integrate Apple Pay with Stripe Payments Element.
But I cannot get past this error.
What have you already attempted?
I went through the code and docs, and tried to see if Apple Pay works on other websites that support it.
Tried to implement token merchant flow.
Reproduction Steps
As soon as Apple Pay is selected and the submit button is pressed, it fails.
@slate sedge pressed the 🧑💻 Code button in #help to ask a question:
Code
Ill past it in the chat below. to big
Question
Im using the payments guide and I have these errors in my code that I cant seem to get rid of.
What have you already attempted?
Just the recommended file resolvers
What are you working on?
ecommerce marketplace
@vague orbit pressed the 📡 API button in #help to ask a question:
Question
How can I make a price with an URL like this one:
https://dashboard.stripe.com/test/prices/caannualrecurring
I tried making one through the API like this:
stripe.Price.create(
nickname="my_nickname",
product = "prod_...",
...
)
But it ended creating a link like so:
https://dashboard.stripe.com/test/prices/price_...
Related Request ID(s)
req_q5qNSiNbrOvlyG
What have you already attempted?
I though nickname was responsible for that, but it didn't seem to work. What field could be responsible for that, then?
@upbeat tide pressed the 📡 API button in #help to ask a question:
Question
When I click reveal key, Gmail had sent me verification link, I clicked on it but asked me if I was on same browser or device. which I am. I keep having this problem
Related Request ID(s)
200 OK POST /v1/account
What have you already attempted?
Using different device, same device, same browser
What are you working on?
Selling product digital goods
@trail quarry pressed the ❌ An Error button in #help to ask a question:
Error Message
Access to fetch at 'https://r.stripe.com/b' from origin 'https://js.stripe.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
shared-d99b2daa3b5e6e2c4a0aca9a469161a5.js:1
Question
We just started seeing a bunch of these errors in the console. It seems to be related to js.stripe.com getting an error when posting to r.stripe.com (telemetry endpoint?). We want to be sure Stripe devs are aware of this.
What have you already attempted?
This is not an error we can address.
Reproduction Steps
Open the developer console of a web app using a stripe elements integration.
What are you working on?
Web application with a stripe elements integration.
@silent stratus pressed the 📡 API button in #help to ask a question:
Question
I am a custom connect platform. My users provide their EIN during stripe hosted onboarding. I am trying to figure out how to retrieve this EIN.
Related Request ID(s)
NA
What have you already attempted?
const taxIds = await stripe.taxIds.list({
limit: 3,
});
This throws an error
@vale quail pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/issuing/connect/funding?lang=node&issuing-funding-type=us-pull-funding#creating-the-token-and-source
Question
Sorry I am having trouble with this part of the Connect + Issuing integration still. I have created the bank account token and created the source, stored the source id on my database, and now when I go to retrieve the source with stripe.sources.retrieve(sourceId) I get no such source. What am I doing wrong? I am using the Stripe pull funding with Microdeposit. Do I need to create a customer? or creating the source and token with the connected account id suffices?
What have you already attempted?
See above.
What are you working on?
Connect + Issuing
@weary crescent pressed the 📡 API button in #help to ask a question:
Question
When a customer's subscription renewal invoice fails to be paid due to declined payment method, I want to set their new default payment method to the one that succeeds when they pay the invoice from their UI. We're calling confirmPayment at this step. I tried to capture the payment intent and payment method on the newly paid invoice in our async event consumers and attach this to the Customer and then set it as their default, but I got an error saying "This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again."
Related Request ID(s)
pm_1PYE7vDjdxJUaev1HWqXYLsx
What have you already attempted?
I asked this question here prev and was told to look at https://docs.stripe.com/api/customers/create#create_customer-invoice_settings-default_payment_method but wouldn't this just throw the same error since the PM has already been used? It also was never attached to the customer upon successful payment.
We're also currently only setting payment methods on the Customer not Subscription.
Can try this: https://docs.stripe.com/api/subscriptions/update#update_subscription-payment_settings-save_default_payment_method but would have to move it to the customer and then set as default if even possible
What are you working on?
subscription renewals failure and recovery case
@light shell pressed the 👍 Best Practices button in #help to ask a question:
Question
Can we setup multi-party connect account payments using 'direct' charges?
Doc/Guide Links
https://docs.stripe.com/connect/enable-payment-acceptance-guide
What are you working on?
Building multi-party payments - where a single transactions remits cash to 3 or more sub-accounts (under our Stripe platform account)
@regal jay pressed the 🪝 Webhooks button in #help to ask a question:
Question
webhook malfunction:
-
stripe.webhooks.constructEvent will always fail, I have to comment it out.
-
in case 'payment_intent.succeeded':
I try to grab latest_charge.balance_transaction
case 'payment_intent.succeeded':
{
try {
const srcToken = event.data.object.id;
const paymentIntent = await stripe.paymentIntents.retrieve(
srcToken,
{
expand: ['latest_charge.balance_transaction'],
}
);// Calculate net and fee const balanceTrans = paymentIntent.latest\_charge.balance\_transaction; const fee = balanceTrans.fee; ...
Related Event ID(s)
na
What have you already attempted?
Chatted with river yesterday about the issue
What are you working on?
payment
@iron holly pressed the 👍 Best Practices button in #help to ask a question:
Question
I am using metered usage for my stripe products. A cron runs everyday and reports usage to stripe meters. Event ingestion is raw and aggregation method is sum.
I also have a setting that auto-charges customers when their reported usage exceeds value of $30.
Now, a customer exceeded the threshold and was charged $30.
I am wondering if Stripe handles the previous reported meter events? Tomorrow, my cron will report the latest usage value. I don't want to charge him again for the usage he has been charged for already.
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based
What are you working on?
Working on AI product.
@drowsy latch pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements#build
Question
How to use `payment elements` to get amount information?
What have you already attempted?
none
@slate sedge pressed the ❌ An Error button in #help to ask a question:
Error Message
invalid_request_error - payment_intent_data[transfer_data][destination]
The 'payment_intent_data[transfer_data][destination]' param cannot be set to your own account.
Question
I was just wondering how to test a fee via connected accounts when It says I cant use my own account.
What have you already attempted?
I tried making a connected account with a separate email but that did not seem to work.
What are you working on?
ecommerce marketplace
@sullen night pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Show Google Pay button in TEST Environment in Payment sheet in Android Stripe SDK
What actually happened?
I am using PaymentSheet in Android Stripe SDK, but Google Pay button is not showing in TEST environment, only showing in PRODUCTION env. How can I show GPay Button in TEST Environment?
Reproduction Steps
Followed this guideline https://docs.stripe.com/payments/accept-a-payment?platform=android#android-google-pay
Code is
val googlePayConfiguration = PaymentSheet.GooglePayConfiguration(
environment = PaymentSheet.GooglePayConfiguration.Environment.Test,
countryCode = "US",
currencyCode = "USD"
)
val configuration = PaymentSheet.Configuration(...)
Question
How to show GPay in TEST Env, I have to get approval from Google Pay for Production env, but thats not possible If I am not able to display GPay in TEST Env.
@tired roost pressed the 📡 API button in #help to ask a question:
Question
Using the API, how can I get the balance of all our seller's connected accounts at given datetime ?
For example: I want the balance of each account at last day of each month for the previous year.
Related Request ID(s)
https://dashboard.stripe.com/connect/accounts/overview
What have you already attempted?
I have already tries to use the endpoint "v1/balance" but I only get the current balance.
What are you working on?
Marketplace Stocklear - Pennylane X Stripe connector
@gloomy kite pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/overview#using-setupintents
Question
stripe doesn't require the credit card in order for promocode to works? please provide documentation.
What have you already attempted?
var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = customer.Id,
Items = subscriptionItems,
PaymentSettings = customer.InvoiceSettings.DefaultPaymentMethodId == null ? new SubscriptionPaymentSettingsOptions { SaveDefaultPaymentMethod = "on_subscription" } : null,
PaymentBehavior = "default_incomplete",
PromotionCode = "promo_1PVZPrBUmBAZBIgtP0mGH04Z"
};
@cunning crystal pressed the 📡 API button in #help to ask a question:
Question
how can i figure out my stripe customers who are making iDEAL payments?
Related Request ID(s)
NA
What have you already attempted?
NA
What are you working on?
NA
@thick venture pressed the 📡 API button in #help to ask a question:
Question
We would like to add application fee to our connected account's checkout transactions. There are more ways to do that.
- Adding transfer_data['destination']
- Adding stripe_account
What is the different between them? For whom do we need to issue the invoice to receive the collected application fees?
Related Request ID(s)
-
What have you already attempted?
Tried to chat and email with the support.
What are you working on?
Adding application fee to checkout.
@tribal quiver pressed the 👍 Best Practices button in #help to ask a question:
Question
when i use subscription.New to create a subscription, the api return a client secret then we can use the embedded page at front-end to let the customer pay for it. But the embedded page didn't show the amount need to be paid, what should i do to let the embedded page show the amount?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview
What are you working on?
i am building the subscription feature for our online service
@echo coral pressed the 📡 API button in #help to ask a question:
Question
I'm integrating Stripe checkout using checkout session API.
In stripe hosted page there is a row named total due. How can I remove that? Is it added by Stripe itself
Related Request ID(s)
req_Ti4B8LIGbdGg45
What have you already attempted?
Tried ti pay using Stripe checkout
@pseudo cargo pressed the 📡 API button in #help to ask a question:
Question
I'm trying to create a checkout sessions for a connected account.
Related Request ID(s)
-
What have you already attempted?
I do:
- create a new price
- Create a checkout sessions
When I create the session without the connected_account, the sessions is created. If I add the account the customer and the price cannot be found.
What are you working on?
A webshop kind of functionality where users can sell their products and I keep a small platform fee
@thorny blaze pressed the 📡 API button in #help to ask a question:
Question
Hi
We have just enabled PayPal on our Invoicing setup and linked our PayPal account to stripe. We have generated a couple of invoices through the API and paypal isn't getting added as a payment option.
I can see its enabled as a default option for the invoices and we let stripe automatically decide which payment options should be enabled.
The invoice items were all GBP and the customer is located in the united kingdom and the invoice amount was above the minimum required.
If i go to the dashboard i can add paypal to a manually generated invoice for the same customer.
Related Request ID(s)
req_xokeq4FiY7yPbO
What have you already attempted?
Manually creating an invoice in the dashboard works and PayPal is offered as a payment option.
@pseudo python pressed the ❌ An Error button in #help to ask a question:
Error Message
Cannot use a source_transaction that has a null balance_transaction (you might want to check ch_3PaxSIH5tvrIOuhg11VULdti to see if it failed.
Question
Why are we getting this error ? We should not because the charge is successful and we create the transfer in payment_intent.succeeded webhook, so the payment is successful (no concurrency issue).
What have you already attempted?
The transfer works after a retry, so it seems that it's just a concurrency issue where stripe hasn't created the balance transaction yet. But why, it didn't happen before ?
@minor finch pressed the 🧑💻 Code button in #help to ask a question:
Code
Pay a customer throw the Stripe API
Question
How can I pay a person throw stripe. I received the customer money when they pay, and I have them, later when the buyer in my app request an amount of money of his wallet, how can i do that pay
What have you already attempted?
-
@soft ledge pressed the ❌ An Error button in #help to ask a question:
Error Message
Refused to apply inline style because it violates the following Content Security Policy directive: “style-src ‘self’“. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-1bd1ss83rhoRESXnUSD+xUzVPZzKrKQPYKkWOj5TJIc=’), or a nonce (‘nonce-...’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navi
Question
CSP is set to allow "unsafe-inline" on our page.
The error happened using a German VISA Card using the Elements Checkout. No 3DS Window showed.
Using an AMEX card, 3DS Window showed
What have you already attempted?
Set up CSP as both meta trag and HTTP header
Reproduction Steps
Error Location (Chrome): js.stripe.com/v3/three-ds-2-fingerprint-587e628d241b39cb5f89bbd29492bd67.html#intentId=seti_1PaxjuCtMhNtiuzXkZl038Jk&locale=de&hosted=false&referrer=https%3A%2F%2Fhellohair.com%2Fdashboard%2F&controllerId=__privateStripeController7371:1
What are you working on?
Webshop
@sonic forge pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
apple pay is not showing yet please give me right suggetions
What actually happened?
apple pay is not showing yet please give me right suggetions
Reproduction Steps
everything i did as you said
Question
apple pay is not showing yet please give me right suggetions
@sullen night pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Google Pay button not showing in Stripe Test with Google Pay Test environment. But showing Stripe Test with Google Pay Production environment. Also how to take approval from Google Pay if its not working in Test.
I have tried in Pakistan and UAE.
What actually happened?
Google Pay button not showing in Stripe Test with Google Pay Test environment. But showing Stripe Test with Google Pay Production environment. Also how to take approval from Google Pay if its not working in Test.
I have tried in Pakistan and UAE.
Reproduction Steps
Followed this tutorial
https://docs.stripe.com/payments/accept-a-payment?platform=android&ui=payment-sheet#android-google-pay
Question
Following Questions:
- Why Google Pay button not showing in PaymentSheet.GooglePayConfiguration.Environment.Test and showing only in PaymentSheet.GooglePayConfiguration.Environment.Production ?
- How to take production access approval from Google Pay if I cant run and capture the screenshots for Google pay approval ?
- I have tried it in Pak and UAE.
@tough gazelle pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When using the expressCheckoutElement to pay with PayPal, the 'shippingratechange' event should get fired, as soon as a shipping method gets selected by the user. Then we use 'event.shippingRate', 'event.resolve' and and 'elements.update' to update the displayed amount and shipping rate.
What actually happened?
Selecting a shipping rate in PayPal does not trigger the 'shippingratechange' event. Instead it fires the 'shippingaddresschange' event. The 'shippingratechange' event gets fired, after changing the shipping rate a few times. Also works, if address is entered first and then a shipping rate/method is selected. But not if the shipping rate is selected at the beginning.
Reproduction Steps
- Init an express checkout
- Attach event listeners
- Open express checkout with PayPal (be sure to open the devtools)
- Change the shipping rate
https://commerce-5-shop-dev.craft-unit.com/products/schlangenöl (test mode enabled)
You will see some logs in the console for debugging purposes. Refer to the loaded 'main.js' Script, for the setup.
Question
Why does the 'shippingratechange' event not get triggered? It works using link but using with PayPal.
What are you working on?
A plugin Craft Commerce 5 to easily implement a Stripe Express Checkout.
@static compass pressed the 🪝 Webhooks button in #help to ask a question:
Question
i want to trigger a webhook from a few days ago, it takes very long to find it by scrolling in the webhook dashboard, is there a way to specifically trigger an event again? or an easier way to get to it from the dashboard?
Related Event ID(s)
evt_1PZkrqFmJI9FOonz7gva0nTO
What have you already attempted?
scrolling
@ivory tusk pressed the 📡 API button in #help to ask a question:
Question
Is it possible to manually charge from the dashboard using the payment method that was collected in a checkout session in setup mode? How do I do this?
Related Request ID(s)
Checkout in setup mode- ?
What have you already attempted?
I created a setupInent successfully
@stark whale pressed the 📡 API button in #help to ask a question:
Question
Which APIs should we use to onboard customer and make sure user has added a valid card as payment method?
What have you already attempted?
Checkout, but chekout is for paying a price that already known.
What are you working on?
We don't want users to be able to use our servces without submiting a valid payment method. And we want to issue invoice later monthly.
@dark kiln pressed the 📡 API button in #help to ask a question:
Question
What's the api to enable issuing feature for an account
Related Request ID(s)
a
What have you already attempted?
can't find the api for enabling issuing for a connect account
@queen mulch pressed the 🪝 Webhooks button in #help to ask a question:
Question
A customer was deleted at 12:13:54 PM, and my server received a Stripe webhook event, which type is customer.updated, at 12:13:56 PM.
My doubt is: will Stripe send a customer.updated webhook event as a consequence of the customer deletion?
Related Event ID(s)
evt_1PazPFKgkatyw8j5PJOfAOiA
What have you already attempted?
It seems to me that there is nothing I can do.
What are you working on?
I'm working on an integration between my app and Stripe to handle subscriptions.
@hexed gull pressed the ❌ An Error button in #help to ask a question:
Error Message
com.stripe.stripeterminal.external.models.TerminalException: Unexpected operation in progress. Expected: class com.stripe.stripeterminal.internal.common.adapter.BbposAdapter$DiscoverReadersOperation, found: com.stripe.stripeterminal.internal.common.adapter.BbposAdapter$DisconnectReaderOperation@536b75b
Question
I have a Stripe M2 reader and I'm trying to connect it with SDK version 3.X.X via bluetooth, I'm getting errors while connecting and don't know what to do. Works with SDK version below 3.X.X. Do I need to update firmware of the reader and how should I do it? Why can't SDK do it by itself?
What have you already attempted?
Tried connecting with different SDK versions, tried example project.
Reproduction Steps
Search devices with bluetooth -> discover reader -> attempt to connect
What are you working on?
An app for selling tickets for different events
@wild fulcrum pressed the 📡 API button in #help to ask a question:
Question
Hello,
I don't understand how the tax calculation works. On my customers, it's always on "Requires location inputs" and tax are not calculated to the good rate.
My clients are all French, but in France we have several tax rate depends where you live. So the address / postal code are importants.
Related Request ID(s)
https://dashboard.stripe.com/test/invoices/in_1Pazi7FozK3SDFaCMmzR0p30
What have you already attempted?
When my customer is created or updated from my app I provide a very complete address. So it should be able to calculate the tax. I simulate a manual invoice, just to check the taxes, and the message is still "Automatic tax calculation : Requires location inputs"
@wide edge pressed the 👍 Best Practices button in #help to ask a question:
Question
How do we update the 2FA phone number for account links?
We have connected merchants that have onboarded through account links and we can't see a way to update this 2FA phone number through the hosted onboarding page, or through the relevant API docs. Is this possible?
Doc/Guide Links
https://docs.stripe.com/api/account_links
https://docs.stripe.com/connect/custom/hosted-onboarding
What are you working on?
We are maintaining our hosted onboarding using account links API.
@knotty stream pressed the 👍 Best Practices button in #help to ask a question:
Question
How can I update a subscription after I have hopped on to the checkout page, the subscription has been created along with its corresponding invoice and before the payment intent has been confirmed? Is there any way I can stop the invoice from being generated after the subscription has been created so I can change it later?
Doc/Guide Links
Lots and lots of them
What are you working on?
My website
@foggy wasp pressed the 📡 API button in #help to ask a question:
Question
How to make tax show up on checkout? I'm using line items and creating a new customer each time, not using the customer or products or prices from the stripe api. On checkout it says set address to show tax prices, when I set the address it shows tax as $0.00.
Related Request ID(s)
req_n8Qq2HuSXZyjdD
What have you already attempted?
Set tax behavior as exclusive in API req and dashboard settings, set product tax code.
@regal palm pressed the 📡 API button in #help to ask a question:
Question
Greetings, we are trying to implement the checkout with price_id and session_id using the embedded form and use Elements. We see that we have to use the clientSecret, but when we create the secret from stripe it says that the format is not correct. Is there any way to do this checkout using React?
Related Request ID(s)
Checkout IDs Using React
What have you already attempted?
Greetings, we are trying to implement the checkout with price_id and session_id using the embedded form and use Elements. We see that we have to use the clientSecret, but when we create the secret from stripe it says that the format is not correct. Is there any way to do this checkout using React?
@echo field pressed the 📡 API button in #help to ask a question:
Question
Is there a way to modify subscriptions TIME for it to run? I set the billing threshold anchor for the 10th but it appears all of them are going to run at 7pm EST and we'd like them to run earlier in the day
Related Request ID(s)
None
What have you already attempted?
tried setting billing_Cycle_anchor on the update subscription. Doesn't like the string {:day_of_month=>"10", :hour=>"12", :second=>"0", :minute=>"0"}
What are you working on?
trying to change subscriptions (they are all due today) to run at noon instead of 7:17om EST
@sullen junco pressed the 📡 API button in #help to ask a question:
Question
Payment Intent API (Can a payment intent with multi capture can have different transfer to different accounts), Like In the mentioned group we can see all transfers are going to same account (
acct_1DMJBAKcVemeGHNB) but can we do transfers to different accounts (Like each multi capture can have different destination account?)
Related Request ID(s)
https://dashboard.stripe.com/test/search?query=group_pi_3Pb0RpKZdo2LWv7y0SC76qzJ
What have you already attempted?
I was able to attach only one transfer account to a charge
What are you working on?
On a ecommerce checkout (Single order having multiple shipments (multiple charges) Where at checkout need an auth and while shipments can be done by different vendor which we are planning to capture
@undone tangle pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/object
Question
How can I send metadata so that it reaches the "invoice.payment_succeeded" event from the creation of the checkout session?
What have you already attempted?
I'm trying to leave metadata in the "payment_intent.created" event, I'm sending it when the subscription checkout session is created. However, I get an error because it asks me to send the "enabled" field and if I add it, it also gives me an error because it should only be handled if the mode is "payment".
What are you working on?
Suscriptions
@cosmic charm pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create
Question
I want to learn about the information regarding Stripe redirecting to the page specified in fallbackUrl. How can I test this in dev mode?
What have you already attempted?
I couldn't find any useful information on this topic
@light shell pressed the 👍 Best Practices button in #help to ask a question:
Question
Is it possible to link 3 separate connect accounts to a single invoice payment?
Doc/Guide Links
#1260402216347369514 message
What are you working on?
We want to allow users to pay one time + remit cash to 3 separate connect accounts using 'direct' charges (instead of transfers)
@teal scroll pressed the 🪝 Webhooks button in #help to ask a question:
Question
got a message not logging where it comes from
Related Event ID(s)
that is actually the question
What have you already attempted?
❌ Error getting raw body: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
6|appbot w | If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
6|appbot w |
6|appbot w | Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing
What are you working on?
payment integration website
@hushed lily pressed the 📡 API button in #help to ask a question:
Question
Coupon 100% problem using api is not working
Related Request ID(s)
not-showing-the-id
What have you already attempted?
Create api using this: https://api.stripe.com/v2/checkout/sessions?success_url=[success_url]&mode=[mode]&customer=[customer_id]&cancel_url=[cancel_url]&line_items[[0]][[price_data]][[unit_amount]]=[amount]&line_items[[0]][[price_data]][[currency]]=[$currency]&line_items[[0]][[quantity]]=[quantities]&line_items[[0]][[price_data]][[product_data]][[name]]=[product_name]&invoice_creation[[enabled]]=[invoice_create]&allow_promotion_codes=[coupon]
error: This promotion code cannot be applied because it reduces the total to zero. Upgrade your API version to 2023-08-16 to accept no-cost orders.
What are you working on?
An app in bubble.io
@slate sedge pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
could you guys reopen the last thread I had with Orakaro I was not able to finish what we were talking about!
What actually happened?
The thread was shut down because of idol time
Reproduction Steps
I do not have nothing
Question
Questions already above I do not have anything else.
What are you working on?
ecommerce marketplace
@strange minnow pressed the 📡 API button in #help to ask a question:
Question
is there any way to test auto card update on preprod environments?
Related Request ID(s)
stripe automatic card update
What have you already attempted?
docs
@vocal aurora pressed the 🧑💻 Code button in #help to ask a question:
Code
```TS
// In a page:
<card-payment-interface
v-if="!selectedCreditCard"
:company-profile="EStripePublicKeyEnv.CENTER"
:amount="Math.round(TTPriceFinal * 100)"
@submit-function-loaded="onSubmitFunctionLoaded"
/>
// card-payment-interface.vue
<template>
<section class="payment-container">
<div ref="paymentElementDOM" class="payment-element"></div>
</section>
</template>
```
Question
This code works very well using Stripe and a credit card. Stripe wants to get the amount in cents.
The problem comes when we use an android smartphone and we try to pay with Google Pay, the amount we sent in cents is read in euro.
So if the payment is for 14€90, we send 1490 and google pay shows 1490€.
How can I fix it ? I can't find anything in the documentation.
What have you already attempted?
I search on the Stripe doc, but the only thing I've found is for applications (we are on a web application)
https://docs.stripe.com/google-pay
What are you working on?
We are fixing a web application
@echo field pressed the 👍 Best Practices button in #help to ask a question:
Question
Just to have a cleaner look, customers have some metered events in their subscription. However, if there was no spend on those metered events, is there a way to not have them show on the invoices?
Doc/Guide Links
https://docs.stripe.com/api/invoices/create
https://docs.stripe.com/api/subscription_items/create#create_subscription_item-billing_thresholds
What are you working on?
Making invoices/receipts uncluttered
@open cape pressed the 🧑💻 Code button in #help to ask a question:
Code
processResult = await stripe.terminal.readers.processPaymentIntent(reader.id,{payment_intent: intent.id});
Question
I have been using my server based code in test mode with a simulated reader very successfully. I am now attempting to use my physical WisePose which is registered in the HQ location in test mode. The only change I have made is the reader ID of the WisePos. The await processPaymentIntent never return (hangs). The paymentIntent has an error that the sim reader never showed.
What have you already attempted?
{"id":"tmr_Fopv6whhPid2at","object":"terminal.reader","action":{"failure_code":null,"failure_message":null,"process_payment_intent":{"payment_intent":"pi_3Pb1u6EPuIFxKCqt18Xeo2i6"},"status":"in_progress","type":"process_payment_intent"},"device_sw_version":"2.24.2.0","device_type":"bbpos_wisepos_e","ip_address":"192.168.87.124","label":"Machine WisePose","last_seen_at":1720623208573,"livemode":false,"location":"tml_FiuXCQpknBASRm","metadata":{},"serial_number":"WSC51315102060
What are you working on?
Trying to get my node.js serverd based code to work with my WisePos in test mode.
@deft field pressed the 📡 API button in #help to ask a question:
Question
can you assist me with the classes/api to use on my business model?
Related Request ID(s)
we have implemented PaymentIntent and PaymentSheets to payments.
What have you already attempted?
our model needs to receive payments from a buyer, let’s say 100€ (free from Stripe commissions), extract our fee (90€) and use 80€ to send the money to the seller qnd 10€ to the transport. We can do the payments from the buyer but we would need to a) transfer money to the seller b) do payments/transfer for the transport
What are you working on?
eMarket B2B we pay the transport/shipping
@tidal crater pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/testing
Question
We are trying to test the 3ds credit card process in the test environment but currently we are not able to simulate one scenario. In the live environment, for one particular credit card, it is opening an in-app browser for the 3ds verification. But in the test environment and with the test cards, it seems to only trigger the native stripe forms. Is there any way to simulate this behavior?
Thank you in advance.
What have you already attempted?
Using all types of test credit cards in the docs (for web, react-native, etc)
What are you working on?
A react-native application
@supple eagle pressed the 🪝 Webhooks button in #help to ask a question:
Question
User has set up a recurring subscription and first time when they enter payment details we set it as default payment but now when we tried to charge custome we are received below exception
"This customer has no attached payment source or default payment method. Please consider adding a default payment method"
Related Event ID(s)
evt_1O5qPsDwT5gdvn7n2o9zv1Tl
What have you already attempted?
I cannot rreproduce this scenario in local enevironment
@gaunt seal pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expect all payment methods enabled in Invoice payment methods settings to be available for use.
What actually happened?
Only payment methods: "card", "cashapp", "link", "us_bank_account" are listed as available in the payment intent
Reproduction Steps
On the front end, I settle on a product/amount and use the address element to collect address information. Then on the back end, I:
create a customer
create an invoice and add invoice items
finalize the invoice
retrieve the paymentintent from the invoice
Question
Why are only 4 payment methods available and not the full range of payment methods?
Use pi_3Pb29BGxG8m2870U1tKYzzQe as an example.
What are you working on?
SASS cart
@astral moss pressed the 📡 API button in #help to ask a question:
Question
Why would Terminal Readers API not return the action.status when using the SDK. It returns for the server driven integration, but not when calling from the frontend.
https://api.stripe.com/v1/terminal/readers?location=tml_EwH2FwSsv1lsKp&limit=100&compatible_sdk_type=js&compatible_sdk_version=1.3.2
{
"id": "tmr_FooEQpSFV2mbn1",
"object": "terminal.reader",
"action": null,
"device_type": "bbpos_wisepos_e",
"ip_address": "---.---.-.---",
"label": "Alyssa Terminal",
"location": "tml_EwH2FwSsv1lsKp",
"metadata": {},
"status": "online"
}
Related Request ID(s)
tmr_FooEQpSFV2mbn1
What have you already attempted?
Checked difference between SDK and Server Driven responses. Server Driven returns the action status as expected.
What are you working on?
Building UI to handle a state where the terminal is already in use, so the user can cancel the cancel the in progress payment, or abort the new payment
@errant galleon pressed the 📡 API button in #help to ask a question:
Question
If Stripe detects a user currency for adaptive pricing anyway, why do your share this API? We need to show a pricing table with the correct currency before the checkout process. Or did I miss something?
Related Request ID(s)
none
What have you already attempted?
ChatGPT, Google search, dev docs
What are you working on?
I want to show my own pricing table with the prices in a customer currency before sending a user to stripe hosted checkout flow.
@wild fulcrum pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
In France, we have different Tax rates, depends on the region. For instance, in Paris, the VAT is 20%, but in Saint-Denis (La Réunion) is only 8.5%.
I expect that, depends on the billing address (fully completed), the "automatic tax rate" used by Stripe would be correct.
What actually happened?
My app communicate with Stripe via API and create customers and subscriptions. We configured the `automatic_tax` on those requests.
Then, on my customer page (Stripe Web), I can clearly see `Tax location status: Valid (France)`, so it worked.
However, the billing address is set with postal code "97490" and city "Saint-Denis", so it would be 8.5% and not 20%.
Reproduction Steps
Check this customer to see the wrong automatic rate :
https://dashboard.stripe.com/test/customers/cus_QRtUzDjpkiIZLo
And this subscription :
https://dashboard.stripe.com/test/subscriptions/sub_1Pb2ohFozK3SDFaCs340ikg4
You will see that the "Automatic tax calculation" is 20%, the status is "valid", but I expected to get 8.5% for this postal_code.
Question
Are the different French VAT rates taken into account by Stripe? Or am I doing something wrong?
@calm forum pressed the 📡 API button in #help to ask a question:
Question
We are providing banking services to our users using Treasury. Now I am adding an invoice feature using Stripe Invoices for our users.
In the stripe dashboard there are several previews (email, pdf, payment). Are these in any way embeddable in our webapp?
Related Request ID(s)
n/a
What have you already attempted?
Checked Docs but couldn't find anything
What are you working on?
Neobank using Treasury and Connected Accounts
@south grail pressed the 🪝 Webhooks button in #help to ask a question:
Question
Cant create a webhook endpoint using version 2024-04-10
Related Event ID(s)
evt_3Pb3HQLirOBWmvLO2TGTeCHJ
What have you already attempted?
Creating new endpoint
@gusty lotus pressed the 📡 API button in #help to ask a question:
Question
Is it possible to choose ACH as the only payment method using API for Payment links and Checkout.
Related Request ID(s)
N/A
What have you already attempted?
N/A
What are you working on?
Ecommerce
@digital mason pressed the 🪝 Webhooks button in #help to ask a question:
Question
resolve the error
Received event with API version 2022-08-01; orders_beta=v4, but Stripe.net 40.12.0 expects API version 2022-08-01. We recommend that you create a WebhookEndpoint with this API version. Otherwise, you can disable this exception by passing `throwOnApiVersionMismatch: false` to `Stripe.EventUtility.ParseEvent` or `Stripe.EventUtility.ConstructEvent`, but be wary that objects may be incorrectly deserialized.
Related Event ID(s)
evt_3PayTJEtzJLzN4Bf1eCZHQ6h
What have you already attempted?
when reading the data received in webhook, got the above error
What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product
@random crest pressed the 📡 API button in #help to ask a question:
Question
I would like to update payment intent amount.
I have used payment intent update API for that.
https://docs.stripe.com/api/payment_intents/update
But now my payment intent status is "requires_confirmation”.
So according to the documentation I should execute confirmation endpoint but It doesn't contain amount as a param.
Can you advise what should I do here ?
Related Request ID(s)
.
What have you already attempted?
Payment intent :
https://dashboard.stripe.com/test/payments/pi_3Paxf3CwXI9yfnGa0i8i6Vip
Documentation : https://docs.stripe.com/api/payment_intents/update
@jade lodge pressed the 📡 API button in #help to ask a question:
Question
How does the subscription schedule work with days_until_due
Related Request ID(s)
subscription schedule api
What have you already attempted?
tried looking into the docs
What are you working on?
scheduling subscriptions
@stone frigate pressed the 📡 API button in #help to ask a question:
Question
I am trying to set up a test subscription using the API. From the API docs, I learned that I could send in a test payment method such as `pm_card_visa`, but when I try to pass this in the `default_payment_method` field of the create-subscription request, I get the error
```
No such PaymentMethod: 'pm_card_visa'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account.
```
Related Request ID(s)
req_ONKU5UKt4wnQsx
What have you already attempted?
I've tried passing the default payment method to both the Customer and Subscription endpoints. I have also tried creating a test Payment Method directly using the PaymentMethod API, but got a separate error there around not passing credit card numbers through the API
@tawdry tusk pressed the 📡 API button in #help to ask a question:
Question
There is any way the users can use their phone as a terminal pos?
Related Request ID(s)
Looked on google
What have you already attempted?
Google it doesnt appear
@open cape pressed the 🧑💻 Code button in #help to ask a question:
Code
I had a previous thread discussing physical WisePos issues can responding to stripe.testHelpers.terminal.readers.presentPaymentMethod after success with processPaymentIntent
Question
I had to walk away for an hours so so, and this thread got closed. Do I need to start over with this question?
Here is the link to the last reply in the earlier thread:
What have you already attempted?
Tried changing the createIntent JSON package with no success. All details are in the previous thread.
@sweet hearth pressed the 📡 API button in #help to ask a question:
Question
I want to interrupt redirection durign payment when payment failure is simulated on paypal method.
Related Request ID(s)
123
What have you already attempted?
I tried to wrap this:
const stripeReturn = await stripe.confirmPayment({
elements,
redirect: 'if_required',
confirmParams: {
return_url: `${config.publicUrl}/checkout/order-submitted?id=${cart?.ID}`,
},
});
in try/catch, also try to handle paypal separatly but receive 400 on
stripe
.confirmPayPalPayment(clientSecret {
// Return URL where the customer should be redirected after
// the authorization.
return_url: `${config.publicUrl}/checkout/order-submitted?id=${cart?.ID}`,
})
What are you working on?
online shop
@shy yew pressed the 📡 API button in #help to ask a question:
Question
How can I access the receipt number on payment_intent.succeeded webhook?
If not possible, is there any way that I can find the receipt # via the API? Or fetch a transaction by it's receipt #?
Related Request ID(s)
pi_3Pb4iNCpeZjMxtJk1Ak2NU46
What have you already attempted?
- Tried finding receipt # on payment intent and charge object
- tried looking for documentation on retrieving receipts, or transactions from receipts
What are you working on?
Stripe integration
@fiery stirrup pressed the 📡 API button in #help to ask a question:
Question
Is there any way to retrieve a Payout Trace Id by means of the API?
Related Request ID(s)
N/A
What have you already attempted?
Reviewed documentation.
What are you working on?
Stripe API integration
@vale quail pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/issuing/connect/funding?lang=node&issuing-funding-type=us-pull-funding
Question
I am following this guide and usiing Pull Funding + Microdeposit (not plaid) and have successfully created a bank account token, source and verified the source. I am looking at the docs but cannot seem to find how I can delete the source from their connected account. I see in the docs here https://docs.stripe.com/api/sources/detach the option to detach source but I do not have a customer id just the connected account id. How do I remove the source from the connected account?
What have you already attempted?
see above
What are you working on?
Connect Issuing
@spark night pressed the ❌ An Error button in #help to ask a question:
Error Message
Failed to POST: Post "http://mpatel3.omeda.local:8080/stripe/webhook": dial tcp [fe80::a62d:3930:bac4:c73b%Wi-Fi]:8080: connectex: No connection could be made because the target machine actively refused it.
Question
I am getting mentioned error message when trying to test webhook on my local.
What have you already attempted?
None.
@nova bluff pressed the 📡 API button in #help to ask a question:
Question
I am unable to activate stripe connect on my account due to a 3rd party integration being unable to be removed from my account. Is there any way to migrate subscriptions / customers from 1 stripe account to another without having them cancel this subscription and sign up for a new subscription? Or am I going to have to manage stripe instances 1 for the old account and 1 for the new account?
Related Request ID(s)
N/A
What have you already attempted?
Spoken at length to both stripe support and the 3rd party platform (Typeform) about removing their integration from the account. Neither party knows how to do so.
@tame edge pressed the ❌ An Error button in #help to ask a question:
Error Message
I am trying to apply for career opportunity at stripe and when try to submit application, on submit button it open my computer files. if you hover on submit then only it will submit, but if you click on corner, it will open my files of computers
Question
I came across this detail, so letting you know. so you can fix that. Thank you
What have you already attempted?
N/A
@idle solar pressed the 📡 API button in #help to ask a question:
Question
I'm creating invoices with TaxRate objects via the api. Is there a way to hide the percentage on the invoice?
Related Request ID(s)
in_0PaHZE3MFIk84T3nLZkuOgQ6
What have you already attempted?
I've looked through the invoice api docs but don't see a way
@jolly pendant pressed the 🪝 Webhooks button in #help to ask a question:
Question
Is it possible to listen to product.updated when we add a feature to a product.
Is it possible to assign the feature to a customer for existing subscription of a product?
Related Event ID(s)
product.updated
What have you already attempted?
I tried listening to the webhook :D
What are you working on?
license management system
@slate sedge pressed the 🧑💻 Code button in #help to ask a question:
Code
Im going to post the code as a SS below.
Question
I created a standard connect account (see below) I want to know how I can have people click a link on my application and it sends them to there acount_link API. Because right know I am only aware I can do it one at a time.
What have you already attempted?
Just putting in a single user into the account_id.
What are you working on?
ecommerce marketplace
@shy yew pressed the 📡 API button in #help to ask a question:
Question
charge.receipt_number is always null on webhook requests (live mode)
Related Request ID(s)
evt_3Pb7eUCpeZjMxtJk0x0F8Old
What have you already attempted?
I'm looking to save the receipt number when the user completes a payment. I'm currently registered to every webhook event, and after completing a purchase on live mode, I see that charge.receipt_number is always null
What are you working on?
Stripe integration
@undone island pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When creating an express checkout element with the `setup_future_usage` parameter set to "on_session", then Link payment should show up and available
What actually happened?
Link payment is not displayed when `setup_future_usage` is set on the elements instance that created the ExpressCheckout element
Reproduction Steps
GIVEN a stripe elements instance created with `mode="payment"`, `currency`, `amount` and `setup_future_usage="on_session"`
WHEN mounting the express checkout element
THEN you don't see the Link payment option.
Remove `setup_future_usage` and it will show up again
Question
Why does Link disappear when setup_future_usage is set to any truthy? The example on the doc does not include this param: https://docs.stripe.com/payments/link/express-checkout-element-link
However it seems I do have to pass it as it has to match the payment intent object I created
https://docs.stripe.com/js/elements_object/create_without_intent#stripe_elements_no_i
What are you working on?
Checkout flow in NextJS 14, React 18
@tawny zenith pressed the 📡 API button in #help to ask a question:
Question
We only have a web app and wanted to know if there's a way to use the Stripe Reader M2 with it. Basically, we would customers to tap their card then we use that info to pay for items from their cart.
Related Request ID(s)
N/A
What have you already attempted?
attempted to look at documentations
@uncut tartan pressed the 🧑💻 Code button in #help to ask a question:
Code
async capturePaymentIntent(paymentIntentId: string) {
if (!paymentIntentId) throw new APIError(ErrorMessages.APPLICATION_ERROR, 400);
const paymentIntent = await this.stripeObj.paymentIntents.capture(paymentIntentId, { expand: ["transfer"] });
return paymentIntent;
}
//WebHook
// Handle the event
switch \(event.type\) {
case "payout.paid"\:
const payoutPaid = event.data.object;
}
Question
when i receive payout.paid even in webhook, i want to mark my DB record with status as paid for each paymentIntent that i created. I do not have connectAccount id nor chargeId nor paymentIntent id in webhook object. How do i know which payout is completed ?
What have you already attempted?
My use case is about capturing payment from customer and paying out to the provider.
Here are the steps i followed.
- created a payment intent with destination charges and capture method manual.
- Updated the destination charges before capturing
- Initiated Capture using paymentIntentId and received back paymentIntentObj
4.Saved paymentIntetId , chargeId and providers connectectedAccountId in DB. - After 2 days , my web hook receives payout.paid event. now i need to map
What are you working on?
I already tried stripe.balanceTransactions.list which also requires connectId which i cannot looks up as there are so many providers and each has connectId.
@bleak zodiac pressed the 📡 API button in #help to ask a question:
Question
What is the correct flow to create a customer subscription using M2 Terminal in person payment.
Related Request ID(s)
req_tmiYcf1iW5BNsl
What have you already attempted?
- I create a customer (Success)
- I store a card using set up intent (Success ? - I can see the card on file on stripe dashboard)
- when attempting to attach the payment method to the client before using it on a subscription I got error message: PaymentMethods of type 'card_present' cannot be saved to customers.
This is the flow I am trying to follow:
- Create Customer (OK)
- Store Card to client using setup intent (OK)
- Update Customer Default Payment Method (FAIL)
- Create the Subscription also using same Payment Method (FAIL - because there is no Default Payment Method)
What are you working on?
Point of Sales for a Gym.
@dense saddle pressed the 👍 Best Practices button in #help to ask a question:
Question
I would like my subscriptions to not activate until the first payment is successful. It looks like this is possible if I set the payment_behavior parameter to default_incomplete - correct? And once the first payment is successful, the subscription status changes to active? Is there a webhook that tells me when the subscription status changes to active? I only see events for Subscription Schedule. Thanks!
Doc/Guide Links
https://docs.stripe.com/api/subscriptions/create
What are you working on?
marlketpplace
@fleet wren pressed the 👍 Best Practices button in #help to ask a question:
Question
What is the best way to do multi year contracts with our enterprise customers?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/sales-led-billing
What are you working on?
Enterprise billing
@stray swift pressed the 👍 Best Practices button in #help to ask a question:
Question
Using Stripe Elements on our own website. We want to start showing subscription prices to customers in their local currency. Much like https://support.substack.com/hc/en-us/articles/16523703337108-Can-readers-pay-for-subscriptions-using-their-local-currency-on-Substack. My understanding is that the presentment_currency triggers Stripe's currency conversion process on the order. I'm not sure how I can display the correct conversion rate to the user before they order? Is there an API to fetch Stripe currency rates? Or is there an API your recommend?
Doc/Guide Links
https://docs.stripe.com/currencies/conversions
What are you working on?
Subscription biz
@woeful sage pressed the ❌ An Error button in #help to ask a question:
Error Message
Something went wrong
You might be having a network connection problem, the link might be expired, or the payment provider cannot be reached at the moment.
Question
Can you help me fix this? im trying to buy a subscription but its giving me this everytime i go on the site to buy
What have you already attempted?
ive tried changing browsers and using phone data
@open cape pressed the 🧑💻 Code button in #help to ask a question:
Code
INTENT: {"id":"pi_3Pb9ELEPuIFxKCqt1Puac7Jx","object":"payment_intent","amount":2200,"amount_capturable":0,"amount_details":{"tip":{}},"amount_received":0,"application":null,"application_fee_amount":null,"automatic_payment_methods":null,"canceled_at":null,"cancellation_reason":null,"capture_method":"manual","client_secret":"pi_3Pb9ELEPuIFxKCqt1Puac7Jx_secret_•••aI6F","confirmation_method":"automatic","created":1720651401,"currency":"usd","customer":null,"desc
Question
processResult: {"id":"tmr_Fopv6whhPid2at","object":"terminal.reader","action":{"failure_code":null,"failure_message":null,"process_payment_intent":{"payment_intent":"pi_3Pb9ELEPuIFxKCqt1Puac7Jx"},"status":"in_progress","type":"process_payment_intent"},"device_sw_version":"2.24.2.0","device_type":"bbpos_wisepos_e","ip_address":"192.168.87.124","label":"Machine WisePose","last_seen_at":1720651373356,"livemode":false,"location":"tml_FiuXCQpknBASRm","metadata":{},"serial_number":
What have you already attempted?
Error: StripeInvalidRequestError: This PaymentIntent could not be captured because it has a status of requires_payment_method. Only a PaymentIntent with one of the following statuses may be captured: requires_capture.
at StripeError.generate (/home/mangell/vend/server/node_modules/stripe/cjs/Error.js:10:20)
at res.toJSON.then.Error_js_1.StripeAPIError.message (/home/mangell/vend/server/node_modules/stripe/cjs/RequestSender.js:105:54)
at process.processTicksAndReje
@empty forge pressed the 📡 API button in #help to ask a question:
Question
Stripe should be sending emails with banking payment instructions, how ever is not happening. how to?
Related Request ID(s)
none
What have you already attempted?
I have checked around dashboard to see an option of email sending of the instructions.
Here an image of how payment instructions look alike and that information should be sent to customer email aswell
https://snipboard.io/TBYnzi.jpg
Here is how the order looks in stripe,
https://snipboard.io/GwLdbk.jpg
What are you working on?
stripe bank transfer spei mexico
@tiny glacier pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
show images normally
What actually happened?
images doesn’t show
Reproduction Steps
Go zo site’s checkout page with http and https
Question
Hello all, after we migrated react web app(eshop) to https stripe no longer shows product images at checkout page. inages are reachable, when linked in http it shows up, but after we change to https, it doesn’t display at all. Please help
What are you working on?
eshop in react.js with node.je backend and stripe integration
@slate sedge pressed the 🧑💻 Code button in #help to ask a question:
Code
Hey I just wanted to share some code and you guys tell me if it looks right!
Question
Its a REQ code so here: req_gsdsEWgzgCy7eX
What have you already attempted?
everything under the moon.
What are you working on?
ecommerce marketplace
@granite sand pressed the 🧑💻 Code button in #help to ask a question:
Code
options.PaymentMethodOptions = new SetupIntentPaymentMethodOptionsOptions
{
Card = new SetupIntentPaymentMethodOptionsCardOptions
{
Moto = true,
}
};
options.Confirm = true;
Question
For card setup in the admin portal we are using MOTO . Are there any stripe test cards available to test this exemption .
What have you already attempted?
I explored few cards here, but nothing is specific to test MOTO
https://docs.stripe.com/testing#regulatory-cards
@quaint jacinth pressed the 📡 API button in #help to ask a question:
Question
How can I use the "share payment update link" for subscriptions via the Javascript API wrapper?
Related Request ID(s)
N/A
What have you already attempted?
I can generate a Customer Portal link via the Javascript wrapper but not just a Payment Update For Subscription link.
What are you working on?
Subscription management dashboard page.
@empty flax pressed the 🧑💻 Code button in #help to ask a question:
Code
await Stripe.instance.dangerouslyUpdateCardDetails(cardDetail);
final paymentMethod = await Stripe.instance.createPaymentMethod(
params: PaymentMethodParams.card(
paymentMethodData: PaymentMethodData(
billingDetails: BillingDetails(
name: '${event.firstName} ${event.lastName}',
email: event.email,
address: stripeAddress.Address(
city: null,
country: null,
Question
[Flutter Stripe] How can I handle case 3D Card with subscription trial?
What have you already attempted?
I have completed the implementation of Regular Tags using Stripe. I created a payment method and sent it to Back End so they could use it to attach to the subscription. But I have a special case: Subscription fee failed with 3D Secure Card, how to handle that case?
What are you working on?
Flutter develop for a project
@nova vale pressed the 📡 API button in #help to ask a question:
Question
We use Stripe Payment Intents for the payment flow of Connected Accounts.
We have two initiatives:
- Support for Connected Account's Coupons
- Support for Connected Account Tax Registration.
My question is strategic: Is Payment Intent still a recommend approach here, or should I consider another option (e.g. orders) which may facilitate coupons and tax more easily?
Related Request ID(s)
N/A
What have you already attempted?
https://docs.stripe.com/tax/tax-for-platforms#check-set-up
https://docs.stripe.com/tax/tax-for-platforms
What are you working on?
Payment flow for connected accounts which supports coupons and tax registrations
@stark basalt pressed the 🧑💻 Code button in #help to ask a question:
Code
async createSubscriptionSchedule(dto: {
customer: string;
phases: Array<Stripe.SubscriptionScheduleCreateParams.Phase>;
startDate: number | 'now';
metadata?: { [key: string]: string | number | null };
}) {
return await this.stripe.subscriptionSchedules.create({
customer: dto.customer,
start_date: dto.startDate,
phases: dto.phases,
end_behavior: 'release',
metadata: dto.metadata,
default_settings: {},
});
}
Question
How can I auto-charge a subscription schedule with the 3D card as a Backend Developer?
What have you already attempted?
I try to use the subscription schedule to auto-charge when my customer adds a card, But It does not work with the 3D Card.
What are you working on?
Backend NodeJS
@slate sedge pressed the ❌ An Error button in #help to ask a question:
Error Message
Hey could I talk with koopajah We had a thread from earlier and I would like to keep talking about it.
Question
Hey could I talk with koopajah We had a thread from earlier and I would like to keep talking about it.
What have you already attempted?
Hey could I talk with koopajah We had a thread from earlier and I would like to keep talking about it.
Reproduction Steps
Hey could I talk with koopajah We had a thread from earlier and I would like to keep talking about it.
What are you working on?
ecommerce marketplace
@thick kraken pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/reports/report-types/balance
Question
I don't understand the difference between reports `balance_change_from_activity.itemized.1`, 2,3,4,&5.
All theses reports look the same with the same set of columns all default columns being different
What have you already attempted?
I tried reading and finding the docs which can differentiate between these reports but couldn't find one
What are you working on?
I am working a Saas platform and trying to automate the report fetching for reconciliation
@narrow knoll pressed the 📡 API button in #help to ask a question:
Question
I'm looking forward for an API allow create stripe link to update customer information (payment method)
Related Request ID(s)
no request id
What have you already attempted?
i find in stripe api document but did not see anything like i want
What are you working on?
Build custom Payment page for our business website, using payment element
@severe delta pressed the 📡 API button in #help to ask a question:
Question
Is there a way to generate some sort of temporary bucket or holding pod where a balance/credit sits and can be dispersed at a later time to a connected account.
Related Request ID(s)
n/a
What have you already attempted?
Created a local database to manage these "buckets" per say, but there is not a way of keeping it as synced due to having to take into account the entire balance, iterating over the local table on each bucket and performing cross checks ect.
What are you working on?
Creating a temporary bucket/product that can be used to hold payouts
@floral mist pressed the 📡 API button in #help to ask a question:
Question
I want to use automatic_payment_methods but I also want to disable a specific payment method in certain PaymentIntent creation scenarios - how can I dothat?
Related Request ID(s)
none
What have you already attempted?
Nothing yet as I want to know if it's possible. I know my alternative is to supply payment method types manually but I rather keep using the automatic option if possible.
@median moat pressed the ❌ An Error button in #help to ask a question:
Error Message
An error has occurred. Apple Pay cannot be displayed. Please select a different payment method and card. Try again.
Question
This error is raised by stripe when apple pay is selected and card is added in setupintent,
what could be the reasons for this message to be shown?
What have you already attempted?
Setupintent with applepay
Reproduction Steps
Create custom form,
mount elemet to html
call stripe.confirmSetup()
@potent topaz pressed the 📡 API button in #help to ask a question:
Question
I want to know how many digits of floating point number the rate field in the exchange rate object is, and how should I store it in the database?
Related Request ID(s)
nil
What have you already attempted?
nil
@opal wadi pressed the 📡 API button in #help to ask a question:
Question
Can I turn off iDEAL payments on stripe account?
Related Request ID(s)
NA
What have you already attempted?
na
@frigid timber pressed the 📡 API button in #help to ask a question:
Question
I integrated some new payment methods.
However on live modus im getting a weird error that im not getting on test modus.
Also my billing details are being posted empty on live and this isnt correct.
Related Request ID(s)
Dashboard/Developers/Api
What have you already attempted?
parameter_invalid_empty - billing_details[address][country]
You passed an empty string for 'billing_details[address][country]'. We assume empty values are an attempt to unset a parameter; however 'billing_details[address][country]' cannot be unset. You should remove 'billing_details[address][country]' from your request or supply a non-empty value.
What are you working on?
Live modus gives back 400. While test modus gives back 200.
@teal prawn pressed the 📡 API button in #help to ask a question:
Question
Need the account balance details of a connected account. Need Total balance, Future Payouts, In transit to bank and Lifetime total volume details.
Related Request ID(s)
acct_1P25ziFm0zWhQbwp
What have you already attempted?
let balance = await stripe.balance.retrieve({
stripeAccount: 'acct_1P25ziFm0zWhQbwp',
});
Few other links which was shared by support. But it was not successful.
@exotic grove pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/payouts/list?lang=dotnet
Question
Do I have any way of querying all payouts based on their currency? Or do I need to fetch all of them, and then filter it?
What have you already attempted?
So far I've only read the documents
What are you working on?
Fetching all payouts that were done for data validation
@molten phoenix pressed the 🧑💻 Code button in #help to ask a question:
Code
val googlePayButtonConfig = PaymentSheet.GooglePayConfiguration(
environment = PaymentSheet.GooglePayConfiguration.Environment.valueOf(BuildConfig.GOOGLE_PAY_ENV),
countryCode = "GB",
currencyCode = "GBP",
)
val configuration = PaymentSheet.Configuration(
merchantDisplayName = "LTA Org. Ltd.",
googlePay = googlePayButtonConfig,
defaultBillingDetails = billingDetails
)
Question
I have a problem with Gpay. it was working before and now it suddenly stopped without touching that codebase. below is a link to an open bug we opened. if someone could take a look at it and we could continue from there :(
What have you already attempted?
https://github.com/stripe/stripe-android/issues/8695
What are you working on?
A booking app that requires payment at the end which needs Credit card and Gpay
@frosty sequoia pressed the 🧑💻 Code button in #help to ask a question:
Code
return (
<form id="payment-form" onSubmit={handleSubmit}>
<PaymentElement id="payment-element" options={{ layout: "tabs" }} />
<button disabled={isLoading || !stripe || !elements} id="submit">
<span id="button-text">
{isLoading ? <div className="spinner" id="spinner"></div> : "Pay now"}
</span>
</button>
{/* Show any error or success messages */}
{message && <div id="payment-message">{message}</div>}
</form>
);
Question
Given the Payment Element imported from @stripe/react-stripe-js, and given that I have access to the data of the customer's payment methods and which one is default (I would've shared the code but it is above the character limit), how can I prefill the 'PaymentElement' with the card details of the customer's default payment method?
What have you already attempted?
useEffect(() => {
if (stripe && elements) {
const defaultPaymentMethod = paymentMethods.filter(
(payment_method) => payment_method.id === defaultPaymentMethodId
)[0];
const cardElement = elements.getElement("card");
if (cardElement) {
cardElement.update({
value: {
card: {
// Display last 4 digits, brand, etc.
last4: defaultPaymentMethod.card.last4,
brand: defaultP ....
What are you working on?
Next 14 Web Application
@terse remnant pressed the 🧑💻 Code button in #help to ask a question:
Code
// SubscriptionCancel 取消订阅
func (c *Client) SubscriptionCancel(subId string) (*stripe.Subscription, error) {
logx.Infof("cancel subscription id: %s", subId)
c.SetSecretKey\(\)
s, err \:= subscription.Cancel\(subId, &stripe.SubscriptionCancelParams{}\)
if err != nil {
logx.Error\(err\)
return nil, err
}
return s, nil
}
Question
i use golang v79.2.0
my subscription i get from stripe is:
subscription: &{APIRe
i try to cancel a suscription but always get
response
{"code":"resource_missing","doc_url":"https://stripe.com/docs/error-codes/resource-missing","status":404,"message":"No such subscription:
'sub_1PawkNLUcBgWL3sjd4V4TR5E'","param":"id","
request_id":"req_myhZNv5FkKD9a6","request_log_url":"https://dashboard.stripe.com/test/logs/req_myhZNv5FkKD9a6?t=1720682182","type":"invalid_request_error"}
What have you already attempted?
i want to delete subscription
@night dock pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/object
Question
Hello Stripe support,
How can i get a payment link that last more than 24hours ? (1 month would be the best)
What have you already attempted?
I use checkout/sessions to create a payment link. Everything's work fine but it only last 24h.
I think invoice could be a solution but i don't want stripe to create an invoice ( we already create an invoice ourself)
What are you working on?
a desktop accounting software. I want to include Stripe for a client
@wheat vale pressed the 📡 API button in #help to ask a question:
Question
Hi, im trying to integrate stripe to my business. What Id like to do would be for my users to enter their credit card information once using stripe, then I would be able to make several payments depending on their actions, imagine like a store where they buy several times.
My understanding is that I should create a session in setup mode, then retrieve the account once it is created by using webhooks, and then act as the connected account when there is a payment to be done.
But I cannot figure how to get the connected account out of the webhook, im also unsure if im on the right track.
Related Request ID(s)
None
What have you already attempted?
Im reading the docs but there is a lot for new comers so I managed to create the session and to listen using the webhook but then im a bit lost
What are you working on?
a telegram bot powered by AI, the idea would be to trigger payment in the background for paying the CPU usage of server ressources
@torn tundra pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
when user's subscription ends, the last hour's metered usage should be included in invoice.
What actually happened?
last hour's usage is not included in invoice
e.g) if subscription ends at 12:30, metered usage between 12:00 ~ 12:30 is not being included in invoice.
even post usage before subscription end.
Reproduction Steps
create meter object with hourly aggregation.
create a user and subscription.
advance test clock just before or after subscription end.
post usage meter event with timestamp which is same hour subscription's end.
Question
I want to charge user who subscribe and use my api service so i am trying new Meter API for recording usage.
I submitted meter events and it worked fine since I can see the graph is being updated well on Dashboard's "Product catelog > Meters".
And I can see that QTY is being updating in "Upcoming Invoice" too.
What are you working on?
a saas service provides api backend
@frosty sequoia pressed the 👍 Best Practices button in #help to ask a question:
Question
Whats the best way to implement subscription based payment using Stripe React Elements? Currently I have setup functionality for the customer to add, delete and specify which cards as default payment methods and also a checkout component, all using React Elements.
Doc/Guide Links
https://docs.stripe.com/payments/quickstart?client=react&lang=node
What are you working on?
Next 14 Web App
@jagged sluice pressed the 📡 API button in #help to ask a question:
Question
Hello, I'm trying to prefill info in embedeed onboarding, but it's not appear in embeded component.
On back-end side I'm prefilling with:
const stripe_account = await this.stripeService.stripe.accounts.create({
business_profile: {
mcc: '7623',
},
type: 'standard',
});
and than creating account session
On front-end i'm using ConnectAccountOnboarding
And on step about industry it's not auto selected
Related Request ID(s)
no
What have you already attempted?
Didn't found anything
What are you working on?
Event planing app
@warm osprey pressed the 📡 API button in #help to ask a question:
Question
How to set PaymentIntent expiry? Like it it's already 1 day, they can't try to pay for it?
Related Request ID(s)
none
What have you already attempted?
none
What are you working on?
app
@teal prawn pressed the 📡 API button in #help to ask a question:
Question
Need the account balance details of a connected account. Need Total balance, Future Payouts, In transit to bank and Lifetime total volume details.
Related Request ID(s)
acct_1P25ziFm0zWhQbwp
What have you already attempted?
let balance = await stripe.balance.retrieve({
stripeAccount: 'acct_1P25ziFm0zWhQbwp',
});
@torn tundra pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
when user's subscription ends, the last hour's metered usage should be included in invoice.
What actually happened?
last hour's usage is not included in invoice
e.g) if subscription ends at 12:30, metered usage between 12:00 ~ 12:30 is not being included in invoice.
even post usage before subscription end.
Reproduction Steps
create meter object with hourly aggregation.
create a user and subscription.
advance test clock just before or after subscription end.
post usage meter event with timestamp which is same hour subscription's end.
Question
I'm opening another thread because previous one has been closed.
Thank you for replying.
So If the aggregation is hourly and the invoice is final invoice (since it is end of subscription), there is no way to charge last hour's usage?
@merry carbon pressed the 👍 Best Practices button in #help to ask a question:
Question
How I can test Stripe Reader M2 integration without physical device.
Doc/Guide Links
I don't found any link for this.
What are you working on?
I am developing app for M2 reader but I don't know How to test that.
@wraith orbit pressed the 📡 API button in #help to ask a question:
Question
Does stripe allow auto debit from customers , based on some custom criteria fulfillment, NOT based on some interval(like monthly, yearly).
Related Request ID(s)
None
What have you already attempted?
https://docs.stripe.com/api/invoices
Here it's written that :
```If your invoice is configured to be billed through automatic charges, Stripe automatically finalizes your invoice and attempts payment.```
Is it possible, if I at first take the consent from the customer , and then when he fulfills some criteria we want to auto debit from the card/bank account.
What are you working on?
A credit based app, that provides some service based on credit.
@jagged sluice pressed the 📡 API button in #help to ask a question:
Question
Hello, I want to prefill some info on embeded onboarding for our clients.
Now on the back-end side I creating account in this way
const stripe_account = await this.stripeService.stripe.accounts.create({
type: 'standard',
});
Than creating session in this way:
const accountSession = await this.stripeService.stripe.accountSessions.create({
account: stripe_id,
components: accountSessionComponentsParams,
});
On Front-End side I using React and <ConnectAccountOnboarding /> component
How I can prefill for example industry type or like first/last name?
Related Request ID(s)
no
What have you already attempted?
Nothing found
What are you working on?
Event planing app
@neon anchor pressed the 🧑💻 Code button in #help to ask a question:
Code
Tap to Pay on iPhone requires the latest version of the Terminal React Native SDK, and introduces a localMobile discovery option and a connectLocalMobileReader method.
You must first set up the Terminal React Native SDK. After you’re familiar with the React Native SDK, you can start supporting Tap to Pay on iPhone within your application.
Entitlements and build file
To use Tap to Pay on iPhone to accept payments, your application must request and configure the Tap to Pay on i
Question
Why we get conflict between react native community and stripe SDK after connecting the stripe tap to pay for react native? what are the 2 versions that are compatible so we will not have conflicts please???
What have you already attempted?
We have reinstalled all the libraries again including the kotlin version A to Z, we have tried to change the versions of the stripe SDK including the latest stable one and no success! :(
What are you working on?
We are working on our react native mobipe crm application for iOS and Android OS.
@crude sky pressed the 📡 API button in #help to ask a question:
Question
i study alot but i dont find reason behind developing stripe apps
Related Request ID(s)
na
What have you already attempted?
https://docs.stripe.com/stripe-apps/how-stripe-apps-work
What are you working on?
i want to create stripe app for my customers
@gloomy kite pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based
Question
Can you confirm if we need to provide any type of notification or if this is automatic without notifying the customer.
What have you already attempted?
i attempt this example https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide#subscribe-customer-to-usage-based-price
@digital mason pressed the 🪝 Webhooks button in #help to ask a question:
Question
with webhooks , we are already listening to charge.succeed and charge.failed
do we need to migrate it to paymentIntent regarding the stripe integration changes for sources api deprecation
Related Event ID(s)
evt_3PayTJEtzJLzN4Bf1eCZHQ6h
What have you already attempted?
Tried to listen to paymentintent.succeeded, the json properties are different
What are you working on?
Migration from Sources API to PaymentIntent API for our 6Storage product
@obtuse quarry pressed the 📡 API button in #help to ask a question:
Question
I'm creating a dispute through the dashboard, and retrieving it's charge with stripe.charges.retrieve(<ID>).
But charge seems to not exist?
Related Request ID(s)
none
What have you already attempted?
Looking for the charge, but not finding it
What are you working on?
Personal project
@weary hemlock pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Create a payment intent with one amount, update the second amount, mount the payment element, ApplePay and Google wallet show the second amount in payment intent.
What actually happened?
Both show the first amount. It looks like updating the amount is async?
Reproduction Steps
Create a payment intent with one amount, update the second amount, mount the payment element, ApplePay and Google wallet show the second amount in payment intent.
Question
How do we show the correct amount in ApplePay and Google wallet?
@loud temple pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/update-payment-method
Question
Is it possible to retrieve payment method update url using the API? I want to let customers to update their payment method by redirecting them to Stripe. I would like to make this action automatic, instead of copying this url manually for each user individually.
What have you already attempted?
I am using Laravel Cashier library, but it does not have any function that would retrieve this url.
@void terrace pressed the 🧑💻 Code button in #help to ask a question:
Code
stripe.Transfer.create(
destination=account,
description="Company Refund",
currency="usd",
amount=amount_in_cents,
source_type="bank_account",
idempotency_key=idempotency_key,
)
Question
We are using legacy api version.
whenever we create a Transfer, to move cash from our stripe account to a connect account customer we receive webhooks. One of them is the transfer.failed this could happen before the transfer.paid event or after that one. I need a little more details about the transfer.failed event please
What have you already attempted?
# creating the connect account this way to avoid retries on failed transfers.
stripe.Account.create(
type="custom",
country="US",
requested_capabilities=["transfers"],
business_type="individual",
settings={"payouts": {"schedule": {"interval": "manual"}}},
)
What are you working on?
I am trying to understand when and if there are retries for Transfer that sent the webhook with`transfer.failed`.
@dreamy burrow pressed the 👍 Best Practices button in #help to ask a question:
Question
Apple pay/Google pay recurring charges, do we need to prompt our users to update their payment information when the card is about to expire just like we do for "normal" card details that are manually entered?
We are using Express Checkout with MPAN for AP. The linked guide mentions that it will work across devices etc, but I'm not seeing anything related to if Apple also handles updating the card when it is about to expire. I assume people will have to re-add their replacement card, but I just want to make sure so that we are not annoying our users for no reason.
Doc/Guide Links
https://docs.stripe.com/apple-pay/merchant-tokens
What are you working on?
News application
@eternal sky pressed the 👍 Best Practices button in #help to ask a question:
Question
Goal: Before an ACH debit payment, I want to verify that the customer's balance is sufficient. Question: What is the suggested approach to do that?
One approach is to initiate a setup session before checkout.
Before creating a payment intent, we want to check the customer's balance to verify they have sufficient funds. My understanding is that we have to initiate a balance refresh and then a balance retrieval? How long does that take? Can this be done in a synchronous way?
Doc/Guide Links
https://docs.stripe.com/financial-connections/balances
What are you working on?
A platform where customers book an apartment to stay. We lock the property until we receive the funds.
@broken crown pressed the 🪝 Webhooks button in #help to ask a question:
Question
I want to ingest webhooks into a kafka stream in a partitioned way by doing the following:
- Webhook event arrives and I validate the signature with Signature.verifyHeader(payload, signature, endpointSecret, tolerance)
- I want to string match the customer id with this regex: "customer"\s*:\s*"(cus_[^"]+)" to fetch the customerId without having to parse 100 lines long jsons
- I want to put the payload on a kafka topic with the customer id as the partition key.
I only plan on tracking customer transactions, like sessions and subscriptions with webhooks. Is this a good approach?
Related Event ID(s)
evt_1PQAzdP8ZmTfPdBzhcJs2DI2;evt_1PY6hgP8ZmTfPdBz7tFzh2BS
What have you already attempted?
I tried Google, Chatgpt, StackOverflow etc. Looking for general advice here I know it can work I'm just not sure if I'm overlooking something obvious or not.
What are you working on?
This is for a project where customers can subscribe to certain services and I need to update the system state based on Stripe's state. (probably usual use case)
@neon anchor pressed the 🧑💻 Code button in #help to ask a question:
Code
I have explained the issue but my ticket was closed without a solution!
Question
I have explained the issue but my ticket was closed without a solution!
What have you already attempted?
I have explained the issue but my ticket was closed without a solution!
What are you working on?
I have explained the issue but my ticket was closed without a solution!
@late sigil pressed the 📡 API button in #help to ask a question:
Question
Require Actction Payment Intend....
Related Request ID(s)
pi_3PbG9qDoQy71V0w11uTVVqwP
What have you already attempted?
POST https://api.stripe.com/v1/payment_intents
amount=7700¤cy=EUR&payment_method_types[]=card&payment_method=pm_1Pb2OHDoQy71V0w1q3FRZB8T&confirm=true&customer=cus_QRwGi8L4gPV9TA&metadata[StripePaymentID]=RI247B80634000068009
@storm jungle pressed the 🧑💻 Code button in #help to ask a question:
Code
I create a checkout session with
const session = await stripe.checkout.sessions.create({
line_items: [
// ...
],
mode: 'subscription',
subscription_data: {
billing_cycle_anchor: Math.floor(DateTime.now().plus({ month: 1 }).toUTC().toMillis() / 1000),
proration_behavior: 'none'
}
});
Question
How can I create a subscription that start after the next natural billing date. e.g I want to create a monthly subscription on August 17 but It's July 10, so I can't set the billing_cycle_anchor to this date since it's 1 month after the first date.
What have you already attempted?
I tried to set the billing_cycle_anchor to a further date but it doesn't work, and I tried to use SubscriptionSchedules, but I can't create a subscription to associate with the schedule without a default payment method, which I don't have for the client.
What are you working on?
Recurring payment for insurance that can start months after the initial payment
@marsh granite pressed the 📡 API button in #help to ask a question:
Question
Is there a way to get all payment intents in a succeeded status filtering them by a date range when they were paid?
Related Request ID(s)
Payment Intents Search API
What have you already attempted?
I tried by created but I want to filter when they were paid - because there could be a gap of several months in the case of a bank transfer
What are you working on?
I do want to search which payment intents have been paid in Stripe but they are not in my system in order to sync some data
@teal prawn pressed the 🪝 Webhooks button in #help to ask a question:
Question
webhook event for connect account created
Related Event ID(s)
webhook event for connect account created
What have you already attempted?
webhook event for connect account created
@wanton drum pressed the 📡 API button in #help to ask a question:
Question
i'm so confused, used to be able to speak to stripe developers in here now every channel says i do not have permission to send messages. can't get anyone at stripe support to explain what happened or provide a resolution, how do i get help?
Related Request ID(s)
asdf
What have you already attempted?
asdf
What are you working on?
asdf
@weary hemlock pressed the 🧑💻 Code button in #help to ask a question:
Code
We are trying to integrate Address Element, but we don't know how to prevent shipping to certain countries.
Question
Is there a way to limit the countries programatically in the address element? Like, we ship certain items only to US.
What have you already attempted?
Stripe docs, but didn't find anything
@sinful warren pressed the 📡 API button in #help to ask a question:
Question
I create my own checkout page in Wordpress project. I would like to create a subscription but the subscription requires a client secret, I can get it only from payment intent. Is it possible to create a subscription on my custom page somehow?
Related Request ID(s)
API
What have you already attempted?
I have created a subscription and looked for solutions in doc
@stark whale pressed the 👍 Best Practices button in #help to ask a question:
Question
I want to know that is it okey to two payment models in one service, because my service is a maketplace (which express model seems fine for us) but we also have platfrom services that is from platfrom provided to users, so simple checkout for customers work fine, but wouldn't be there any limitation to use both models together?
Doc/Guide Links
Connected account (express) and checkout.
What are you working on?
A marketplace and ai service
@storm jungle pressed the 🧑💻 Code button in #help to ask a question:
Code
const session = await stripe.checkout.sessions.create({
line_items: [
{
quantity: 1,
price: schedule.phases[0].items[0].price
}
],
mode: 'subscription'
});
Question
How can I associate a payment method (SEPA debit) to a subscription created from a Subscription Schedule ? I didn't find a way to add a payment method from an embedded form and the customer I associate to the subscription doesn't have a default payment method.
What have you already attempted?
I tried to create a checkout session from the price generated by the Subscription Schedule but I got the error that the price is inactive, event if I set the first phase to be now
I also tried to create a checkout session for a free product to make a payment with the correct payment method, hoping that it will set the default payment method, but I'm not sure that it works/that it's the best way to do it
@violet sun pressed the ❌ An Error button in #help to ask a question:
Error Message
StripeException(error: LocalizedErrorMessage(code: FailureCode.Failed, localizedMessage: The source you supplied is invalid., message: The source you supplied is invalid., stripeErrorCode: null, declineCode: null, type: invalid_request_error))
Question
How to solve this The Source you supplied is invalid issue
What have you already attempted?
It was functional three days before but now it's not
@void terrace pressed the 🧑💻 Code button in #help to ask a question:
Code
stripe.Transfer.create\(
destination=account,
description="Company Refund",
currency="usd",
amount=amount\_in\_cents,
source\_type="bank\_account",
idempotency\_key=idempotency\_key,
\)
Question
We are using legacy api version.
whenever we create a Transfer, to move cash from our stripe account to a connect account customer we receive webhooks. One of them is the transfer.failed this could happen before the transfer.paid event or after that one. I need a little more details about the transfer.failed event please
What have you already attempted?
# creating the connect account this way
stripe.Account.create\(
type="custom",
country="US",
requested\_capabilities=\["transfers"\],
business\_type="individual",
\)
What are you working on?
Validate `transfer.failed` webhook event happening only one time.
@unkempt pagoda pressed the 📡 API button in #help to ask a question:
Question
I am getting crash when initializing the Stripe terminal for 3.7.0
Related Request ID(s)
n/a
What have you already attempted?
Setting the version to latest
@crystal mauve pressed the 👍 Best Practices button in #help to ask a question:
Question
Let's assume I have multiple standard connected account. I want to know if it's possible to split a payment among one or more of them and also wanted to know how to do this. It's possible to do this while creating the payment or Is something that I have to do after I collected the payment? how?
Doc/Guide Links
I've seen this https://docs.stripe.com/connect/direct-charges but it seems I can only redirect the entire amount on a connected account
What are you working on?
Basically I own different companies, that produces goods. The goods are sold by a front company but I want to split the money beween the producers
@shadow hinge pressed the 📡 API button in #help to ask a question:
Question
For checkout, I have a requirement to make the payment form and order summary be on the same page.
That said in the current I, I have access to only 2 API endpoints from the backend. One to check for user card and return a URL if the user has no saved card on their stripe account and the other to trigger the payment.
The URL from the first endpoint is what I use to redirect users to a stripe checkout session where they have to add/save payment info and redirected back to my app Ui after.
How do I make the form I'm redirecting to, be embedded on the checkout page w/o updating the Backend
Related Request ID(s)
n/a
What have you already attempted?
- Using stripe elements / own form and using payment methods endpoint so save card (The company is not legally allowed to handle payment info directly)
What are you working on?
I am working on the UI for a simple e-commerce app.
@odd junco pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When charging an application fee to connected accounts on my platform which provides a payment experience using Stripe Payments, I expected Stripe to charge me 2% + 0.25 cents per captured transaction for every connected account.
What actually happened?
I'm being charged twice for each captured amount:
Example 1: Collected fee = 3.79 euros (I charge 2.9% of the transaction), but stripe charges me 2.21 euros and then 2.28 euros.
Reproduction Steps
Create a product on my platform, create a payment intent for that product using the 4242 4242... credit card, capture the payment a few days after (I perform authorization and capture separately in my flow).
Question
Could someone explains to me what are the 2 charges I observe above? When looking at all the activity on my balance, those stripe fees just have the following description: "Card ({the date of the transaction})".
What are you working on?
I'm working on a platform which makes accepting payments easier for people who create an account on it.
@sullen junco pressed the 📡 API button in #help to ask a question:
Question
https://docs.stripe.com/api/payment_intents/increment_authorization I am trying an increment authorization on a payment intent https://dashboard.stripe.com/test/payments/pi_3Pb6DTKZdo2LWv7y0xKKg5fA but it is giving error "This PaymentIntent's amount could not be updated because it has a status of requires_capture. " But as per docs "PaymentIntent’s status must be requires_capture"
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_Yx5Dfgpk0vZBa0?t=1720705667
What have you already attempted?
I tried a increment authorization as here https://dashboard.stripe.com/test/logs/req_Yx5Dfgpk0vZBa0?t=1720705667
What are you working on?
I am working on chekout and shipment flow
@tranquil panther pressed the 📡 API button in #help to ask a question:
Question
How can I pull account information regarding the status of the connected account during a trial checkout session? Success, account closed, failure, etc.
Related Request ID(s)
checkout session id cs_test_a1HzBeY7rt8EiHRM2KPft7UI2B86ghqi6BrLKfy4ujLF06g3Kq0GFE4YMY, payment method id pm_1PbOUwLSnwxNkMW91kJHYL5S
What have you already attempted?
I've looked in the subscription, invoice, and session itself for details on the payment method info. Even expanding the payment method there is no indication of what I see on the customer page in stripe dashboard (here it shows available funds $0.00). This was from me selecting "account closed" during the test checkout
@neon anchor pressed the 🧑💻 Code button in #help to ask a question:
Code
I have explained the issue but my ticket was closed without a solution! Please help and do not close the ticket again. I am sending the same url to our mobile developer to join and write the issue and the ticket is already closed.... please help and do not close this ticket.
Question
I have explained the issue but my ticket was closed without a solution! Please help and do not close the ticket again. I am sending the same url to our mobile developer to join and write the issue and the ticket is already closed.... please help and do not close this ticket.
What have you already attempted?
I have explained the issue but my ticket was closed without a solution! Please help and do not close the ticket again. I am sending the same url to our mobile developer to join and write the issue and the ticket is already closed.... please help and do not close this ticket.
What are you working on?
I have explained the issue but my ticket was closed without a solution! Please help and do not close the ticket again. I am sending the same url to our mobile d
@sudden inlet pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/testing#:~:text=Don't use real card,and the card numbers below
Question
I would like to confirm whether it is possible to use real card details in Stripe's test mode. I noticed in the documentation that it states, "Don’t use real card details. The Stripe Services Agreement prohibits testing in live mode using real payment method details." However, I am not clear if this means real card details simply won't work in test mode or if using them could potentially violate the agreement.
My team is concerned about the security implications if someone gained access to our test mode account and attempted to use stolen real card details.
What have you already attempted?
I didn't want to attempt using a real card in our test mode if that could potentially violate the agreement.
We experienced this(bad actors hitting our payment flow with dozens of real stolen cards) in production before implementing reCAPTCHA and want to understand the potential risks if real cards were used in our non-production environment where QA might skip reCAPTCHA.
What are you working on?
Possibly skipping reCAPTCHA check in non prod envs for some QA automation tests.
@azure junco pressed the 🧑💻 Code button in #help to ask a question:
Code
StripeElements component shows message under form: By providing your card information, you allow COMPANY to charge your card for future payments in accordance with their terms.
Question
can I customize this message? or at least customize the company name?
What have you already attempted?
tried looking at the docs but cant find anything
What are you working on?
building billing for our products
@ornate lava pressed the 📡 API button in #help to ask a question:
Question
Offline payments are not available with Apple Pay - Cartes Bancaires. Most of my customers are french and have cobranded cards (Visa/CB or MC/CB). By default, the selected brand is CB, leading to a payment error ("Off-session transactions on Apple Pay are not currently supported by the network Cartes Bancaires."). Our success rate is only 50% with Apple Pay for our express checkout
How can I remove CB from authorized networs for Apple Pay payments on my checkout page?
Related Request ID(s)
req_WQEOKhIrPWE4Gh, req_tva0jJ7LDusYWX, req_oVFNtPlKjvJ0X6
What have you already attempted?
I have not found a way to configure allowed networks (see here: https://docs.stripe.com/js/elements_object/create_express_checkout_element)
What are you working on?
Express checkout on a subscription based e-commerce
@oak raptor pressed the 🪝 Webhooks button in #help to ask a question:
Question
My code is throwing an error at
```js
stripeEvent = stripe.webhooks.constructEvent(body, stripeSignature, STRIPE_SIGNING_SECRET);
```
But only when called from a Cloudflare worker. Works locally using Vite.
Related Event ID(s)
evt_1PbFoeGhJ3guPDE2JCX4MKtz
What have you already attempted?
Making sure the webhook key and api keys were correct for the enviorments.
What are you working on?
SaaS
@dense saddle pressed the 📡 API button in #help to ask a question:
Question
I created a subscription with payment_behavior set to allow_incomplete, and did not include the collection_method parameter so the first invoice was charged automatically. The payment failed and the subscription was immediately automatically cancelled. I expected the sub to not be cancelled since I included the payment_behavior set to allow_incomplete.
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_lPByaJcgM4any1
What have you already attempted?
Read the spec, tried submitting the sub both with and without the payment_behavior parameter
@unkempt pelican pressed the 📡 API button in #help to ask a question:
Question
In version 2022-08-01 [1], the default behavior of pending_invoice_item_behavior [2] was changed to be exclude. If you aren't explicitly setting a value for the pending_invoice_item_behavior when creating your Invoices, then the default behavior will be used. That default behavior will be different for your accounts due to one of them using an API version from before the change I mentioned, while the other two are using API versions from after that change.
Related Request ID(s)
req_AkHr9nWkhIGy3F
What have you already attempted?
I can't make the code work even if i am forcing api version.
@rich valley pressed the ❌ An Error button in #help to ask a question:
Error Message
Another PaymentRequest UI is already showing in a different tab or window.
Question
Hey there, I've started to see this error. What's the reason behind this?
What have you already attempted?
we are migrating from payment request button to Payment Element. so in my app I have Payment Element and Payment Request. But I don't use them on the same page. could it be a reson?
@unkempt pagoda pressed the 📡 API button in #help to ask a question:
Question
initTerminal is crashing in version 3.7.0
Related Request ID(s)
n/a
What have you already attempted?
initTerminal is crashing in version 3.7.0
@shadow hinge pressed the 🧑💻 Code button in #help to ask a question:
Code
const response = await fetch(
`${API_BASE_URL}/stripe/add_card/${id}`,
{
credentials: "include",
method: "GET",
}
);
response returns client secret and I save that in state.
//some code
{clientSecret && \(
<EmbeddedCheckoutProvider
stripe={stripePromise}
options={{clientSecret}}
\>
<EmbeddedCheckout /\>
</EmbeddedCheckoutProvider\>
\)}
Question
This solution still renders nothing but an empty div. With the context of the reference below. What am I missing here? This code mimics the one from the docs
-> https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=embedded-form#save-payment-method-details
What have you already attempted?
ref: #dev-help message
@dense saddle pressed the 📡 API button in #help to ask a question:
Question
The dashboard setting relating to "Manage failed payments for subscriptions" seem to only be available in live mode. Is there no way to test this?
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_tDyM8ieCcZAtzB
What have you already attempted?
Tried to test a subscription not being cancelled on failed payment, but it still auto-canceled with or without payment_behavior set to allow_incomplete.
@azure lagoon pressed the 👍 Best Practices button in #help to ask a question:
Question
When accepting payment in a different presentment currency via the Payment Intents API, through Stripe Connect, without passing `on_behalf_of` and attaching an application_fee (a small percentage of the total amount) - once payment has processed - at what point can we determine the settlement currency amount (total and subtotal) and from which API resource should we retrieve it?
Doc/Guide Links
https://docs.stripe.com/connect/currencies
https://docs.stripe.com/connect/destination-charges
https://docs.stripe.com/currencies/conversions
What are you working on?
We're adding alternate currency options (AUD, GBP, EUR, CAD) to our Gift Card purchasing service and we want to understand how much we gain/lose on the dollar when we convert to another currency to determine our risk.
@patent garden pressed the 📡 API button in #help to ask a question:
Question
I can not get the Invoices API to automatically send an email
Related Request ID(s)
req_YvJnK57W3DeUpf
What have you already attempted?
I've set "Email finalized invoices to customers", I've tested in production, I've set auto_advance to true on the invoice and I've set the collection method to send_invoice. But still no invoices are being emailed after finalization. I'm sure I'm missing something simple, but can not find any more help in the documentation.
What are you working on?
Floral E-Commerce platform
@oak raptor pressed the 🪝 Webhooks button in #help to ask a question:
Question
Having issues with webhook `constructEvent`
Related Event ID(s)
evt_1PbFoeGhJ3guPDE2JCX4MKtz
What have you already attempted?
I have tried going through the documentation at https://docs.stripe.com/webhooks/signature, and it does not seem to help. Can you check that hte body looks correct?
@tiny comet pressed the 📡 API button in #help to ask a question:
Question
I want to make an asynchronous API call on click of a button and open a new tab. But when I try to do that I get the following error message.
Refused to frame 'https://www.google.com/' because it violates the following Content Security Policy directive: "frame-src 'self' blob:
Related Request ID(s)
NONE
What have you already attempted?
const configureJurisdictions = async () => {
// perform api logic
window.location.href = 'https://www.google.com';
}
window.location.href = 'https://www.google.com';
What are you working on?
Stripe Marketplace App
@hollow magnet pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Affirm doesn't accept a Canadian address
What actually happened?
I run an affirm payment through Stripe, and we know from before that only US and Canada customers are eligible for Affirm.
US customers have been successful, but on submitting a Canadian customer we get:
Affirm payment does not support shipping country as CA, it only supports US.
and a reference
https://stripe.com/docs/error-codes/payment-intent-invalid-parameter
Reproduction Steps
try staging form at https://mmden-staging-3946eb6e18df.herokuapp.com/orderframe/aaa-thing-1?deal=12364869600 with a Canadian address
result trace: https://dashboard.stripe.com/test/payments/pi_3PbSBCLYbD2uWeLi0KakyAm2
Question
Why is Canada not supported? Is there a setting in Stripe?
What are you working on?
order form allowing Affirm as method
@robust thistle pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Expected to see the ability to create Radar rules for our property 13th Floor Houston
What actually happened?
I no longer have the ability to make rules. Its not that the button to make rules is greyed out. It is that the button no longer exist.
Reproduction Steps
Our account owner can not see this either.
Question
How can we get access back to make radar rules and why did they disappear in the first place?
What are you working on?
Trying to build radar rules for our upcoming season.
@stark whale pressed the 👍 Best Practices button in #help to ask a question:
Question
I want to save user card to charge they later, I want to use stripe hosted to store user card (payment method). Is checkout session with setup mode (payment_intent_data.setup_future_usage = off_session) right choice? And then how can I create invoice the use that payment method to be paid off session (if possible)
Doc/Guide Links
Checkout Session (Setup), Setup Indent, Payment Method s
What are you working on?
SaaS
@dense saddle pressed the 🪝 Webhooks button in #help to ask a question:
Question
There doesnt seem to be an event fired when a subscription status is changed to past_due becauase an invoice payment failed. Do I have to listen for invoice.payment_failed and then get the status of the subscription from there?
Related Event ID(s)
https://dashboard.stripe.com/test/events/evt_1PbTLlGx3oNn81Ln4jpu8JZY
What have you already attempted?
Checked the Stripe Dashboard event log for the subscription
@vast gyro pressed the 🪝 Webhooks button in #help to ask a question:
Question
I cannot find the network_transaction_id on a charge object. Is this a business setting that needs to be enabled or a technical setting?
Related Event ID(s)
ch_3P0dz1AjwM2dEoFc00dkkYlw
What have you already attempted?
Nothing yet
What are you working on?
I am trying to setup an integration with a third-party dispute handler.
@unkempt pelican pressed the 📡 API button in #help to ask a question:
Question
Webhook 404 bad response, i tried to resent events but same error.
Related Request ID(s)
pi_3PbUj1B4bznwKBcE07GRXCrZ
What have you already attempted?
Not working
@fierce storm pressed the 🪝 Webhooks button in #help to ask a question:
Question
I am trying to upgrade a subscription during a trial. I am still getting the customer.subscription.trial_will_end webhook. Trying to identify in the webhook payload whether this was send when the trial is actually going to end, or whether it was on an upgrade.
Related Event ID(s)
req_NongVADZd9h4Cr , evt_1PbU5cHtzQiUYLb0W1QHtc8t
What have you already attempted?
I have tried to add metadata to the subscription on upgrade (request above), but it doesn't seem to appear on the webhook subscription object (event above). Do I have to do two requests, where I update the metadata on the subscription before updating, or is there a better way?
What are you working on?
Subscriptions with trials
@shrewd escarp pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
We turned off stripe invoices being sent to customers because we created our own invoices and would no longer like to use stripe's. However customers are still getting stripe invices
What actually happened?
Customers got stripe invoices
Reproduction Steps
Book a trip through Kyte.com, after booking observe that you got an email from stripe with an invoice
Question
how can we fully shut these off?
What are you working on?
Invoices
@normal kernel pressed the ❌ An Error button in #help to ask a question:
Error Message
You can not modify the start date of the current phase. (Stripe::InvalidRequestError)
Question
I've got some schedules that have gotten out of whack, as in, they do not have the correct start or end date. This is going to impact proration calculations as subscription pricing changes in the future. How can I update the current schedule to have the start date be a specific unix timestamp?
What have you already attempted?
I've tried creating the subscription schedule from the subscription itself, then updating the phase to have the specific start and end date that I want, then trying to update said subscription schedule with the changes. Then obviously I get the error above. Is there another way to do this?
What are you working on?
Billing for an app where users pay for annual premiums on insurance policies
@slate sedge pressed the 🧑💻 Code button in #help to ask a question:
Code
Hey Im just trying to restaart a code conv with Koopajah from yesterday!
Question
Hey Im just trying to restaart a code conv with Koopajah from yesterday!
What have you already attempted?
Hey Im just trying to restaart a code conv with Koopajah from yesterday!
What are you working on?
ecommercer marketplace
@frosty jewel pressed the 🧑💻 Code button in #help to ask a question:
Code
const elements = stripe.elements({ clientSecret, appearance });
const paymentElement = elements.create('payment', options);
paymentElement.mount('#payment-element');
function confirm() {
stripe.confirmSetup({
elements,
confirmParams: {
// Return URL where the customer should be redirected after the PaymentIntent is confirmed.
return_url: 'https://example.com',
},
})
.then(function(result) {
}
});
}
Question
Hi, I want create a custom checkout with payment element for payments with installments enabled but the payement element don't show the option for select the installments like the hosted checkout
What have you already attempted?
I made an invoice with the option checked in the Stripe dashboard, but when I mount the payment element with the client secret of the PI, the payment element don't show the option, I use the card 4000004840000008
What are you working on?
I am building a custom checkout
@bold jewel pressed the 👍 Best Practices button in #help to ask a question:
Question
Why does stripe wait an hour by default before attempting to charge an invoice? What possible problems might we encounter if our system triggered the charge immediately after an invoice was finalized?
Doc/Guide Links
https://docs.stripe.com/invoicing/integration/automatic-advancement-collection
https://docs.stripe.com/invoicing/integration/workflow-transitions
What are you working on?
Improving billing flow
@vale quail pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/payouts/create#create_payout-amount
Question
Is this amount value still meant to be in cents? Is this accurate?
What have you already attempted?
I have tried creating a payout without modifying the amount to cents and it works - but when it is moved to cents I have insufficient funds. So it has me question is the payout meant to be cents, or is this value here: https://docs.stripe.com/api/balance/balance_object#balance_object-available-amount - returned in cents and not dollars?
What are you working on?
Connect Issuing
@solar aspen pressed the ❌ An Error button in #help to ask a question:
Error Message
24011344189000011503960 is the arn
Question
i never charged back with this company they are saying I need to speak with you guys to get this situation taken care of please help.
What have you already attempted?
yes I have tried to speak with merchant but they are telling me to reach out to you giys to get this cleard
@raw rapids pressed the 📡 API button in #help to ask a question:
Question
I just came back to my application after a couple months and noticed this error when trying to connect accounts via stripe connect: "You cannot perform this request as you do not have Platform Controls for the Stripe Dashboard on the account."
Related Request ID(s)
Couldn't find?
What have you already attempted?
Not sure what I can do? Looked through the docs to learn about "platform controls", but got some stale info which hasn't changed when I originally built things.
What are you working on?
Stripe Terminal - Tap to pay Android
@nova vale pressed the 🧑💻 Code button in #help to ask a question:
Code
$checkout_session = $stripe->checkout->sessions->create([
'ui_mode' => 'embedded',
'line_items' => [
[
'price' => $stripePrice->id,
'quantity' => 1,
],
],
//'customer' => $customer,
'mode' => 'payment',
'return_url' => 'https://site.com/validatePayment.php?session_id={CHECKOUT_SESSION_ID}',
'automatic_tax' => [
'enabled' => true,
],
['stripe_account' => $connectedAccountId]
]);
Question
-
How can I use Stripe Checkout with a Connected Account? The above code gives me an error related to 'stripe_account' not being a supported parameter.
-
How can I get the payment intent associated with a checkout session? Is it possible for me to create a payment intent first, then attach that to the new checkout session?
What have you already attempted?
https://docs.stripe.com/api/checkout/sessions/retrieve
https://docs.stripe.com/checkout/embedded/quickstart
What are you working on?
Moving from Payment Intents with Connected Accounts to Checkout Session
@agile ridge pressed the 📡 API button in #help to ask a question:
Question
Hi, we are trying to understand the different behaviours with Stripe Terminal `contactless_emv` and `contact_emv` payments when it comes to confirmation times .
Related Request ID(s)
req_Q7tfsDjs6yrJQD
What have you already attempted?
We currently use a server driven payment intent workflow for our terminal payments. We want to provide feedback for our customer as soon as possible so we expect the payment intent confirm call to return a success or failure state rather than a processing state. It seems to work this way for `contactless_emv` payments but not `contact_emv` payments. Is there a way to make `contact_emv` payments confirm immediately too? They seem to take around 2mins to transition into the success state which does not seem like an acceptable user experience for in person payments.
@paper kayak pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/trials
Question
I am setting up subscriptions with a trial. This page says that when the trial ends and the subscription isn't paused an invoice is created. Does this created invoice come with a new payment_intent object? In terms of listening to events on a webhook, should I listen for payment_intent.payment_failed or invoice.payment_failed? What is the difference between the two? Do i need to listen to both?
What have you already attempted?
I am currently in test mode and listening to both payment_intent and invoice events. I am not sure how to separate these two events
What are you working on?
building a note-taking platform.
@stable hawk pressed the 🪝 Webhooks button in #help to ask a question:
Question
Hi, I already config the webhook to get the data, but I want to check what event in stripe webhook that noti for my system that the amount payment intent had capture is available in our stripe account. As I know Payment Intent will available in 5-7 days, I want the event to notification that.
Related Event ID(s)
Stripe Event Data
What have you already attempted?
I had check the event Balance.Available but is noti to total amount, I can not use that to trace back to find the payment intent had available. I already read the docs that if the payment intent had status success (will have the event paymentintent.success) it mean the funds is in our account, I want to confirm is that true or not because maybe the event webhook is send before is available
@undone goblet pressed the 📡 API button in #help to ask a question:
Question
Hello, we have a problem when we are trying to migrate from `Payment Request Button` to the new `Express Payment Element`: our logic need us to do some more stuff if customers completed a checkout with 3DS credit card, But
Express checkout: When buyer using Link with 3D secure, in the payment Intent -> payment_method does not include the information about 3DS usage: `pi_3PbOEWCMztaulBaW0PpzgZfI`.
But the button Link provided by the old Payment Request Button, the payment_method of payment_intent does include the information about 3DS usage: `pi_3PbO2VCMztaulBaW04FkHYVz`.
Related Request ID(s)
pi_3PbO2VCMztaulBaW04FkHYVz
What have you already attempted?
I tried to get payment_intent and payment_method after the payment intent got confirm, and there is no information that help us to know if that checkout is completed by a 3DS card.
What are you working on?
we are trying to migrate from `Payment Request Button` to the new `Express Payment Element`
@opal wadi pressed the 📡 API button in #help to ask a question:
Question
Hi,
If I turn off the iDEAL payment method from the manage settings of stripe hosted link from this page:
https://dashboard.stripe.com/settings/billing/invoice.
Then it will not accept through iDEAL payments?
and it will charge user but will stop doing bank authentication. right? please confirm
Related Request ID(s)
na
What have you already attempted?
na
@meager hinge pressed the 📡 API button in #help to ask a question:
Question
I downloaded the tax information to a csv via Report Run API. In the csv, the payment_intent_id is blank for refund cases, how do I know which payment is the refund?
Since the amount of data can be in the millions, I need to be able to know this only within the csv file, without looking up in the Stripe Dashboard.
Related Request ID(s)
.
What have you already attempted?
I've tested it myself through the API, downloaded the csv and analyzed it. I asked this in the stripe help center and got an unprofessional wrong answer. I knew I needed to communicate with the developers and came back here.
What are you working on?
I want to continuously download just the tax information and feed it into a data pipeline. To do this, I need to know which row in each csv maps to which payment.
@teal prawn pressed the 🪝 Webhooks button in #help to ask a question:
Question
For connected account in the response of event account.update which param provide the details whether account status is Complete, Restricted or Rejected
Related Event ID(s)
account.update
What have you already attempted?
I have the account.update response but I need to know which param provide the details whether account status is Complete, Restricted or Rejected
@gleaming void pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/connect/migrate-to-controller-properties
Question
When using `controller.requirement_collection: application` option, who is responsible for collecting updated information when requirements are due or change? Me or connected account?
What have you already attempted?
There has been quite a long thread where we try to solve this mystery, see:
https://discord.com/channels/841573134531821608/1260190316934467736
@tawny spoke pressed the 👍 Best Practices button in #help to ask a question:
Question
We want to implement an auto pay wallet, that will trigger a payment whenever the credits in the wallet go below a set amount. The credits management part is being on our database, we want a webhook or something that will automatically make a payment for the user. When the credits go below 5$, I will call the stripe webhook, stripe will make a payment and we will recieve the webhook, this is the flow we are looking for.
Doc/Guide Links
https://stripe.com/in/resources/more/automated-payment-systems-explained
What are you working on?
A auto-pay based credit system for our application
@warped salmon pressed the 📡 API button in #help to ask a question:
Question
We are allowing our users to integrate Stripe into their forms and receive payments. However, they are receiving lots of transactions in multiple currencies and amounts so, we have some validations about those transactions i.e. minimum amount checks.
In this document; https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts you indicated the limits.
Question: Is there a way to check those minimum amount limits dynamically in an API request? As I mentioned before, we have lots of transactions and cannot define rules for each currency.
Related Request ID(s)
req_Q89CEH4BbKMsvp
What have you already attempted?
statically min amount check for some currencies
What are you working on?
Receiving payments via forms
@undone stag pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/ach-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api
Question
Hello, We have a direct integration with Stripe and are looking to integrate ACH. The documentation mainly talks about using JavaScript. However, I have managed to find a flow where I can manually perform ACH through the API only. As you can do things more than one way with Stripe... I'd like to run through my flow and get it confirmed whether this is the right approach.
What have you already attempted?
At this moment of time, I send the following parameters to this endpoint: https://api.stripe.com/v1/payment_intents
amount:1254
currency:usd
payment_method_types[]:us_bank_account
payment_method_data[us_bank_account][account_number]:000123456789
payment_method_data[us_bank_account][routing_number]:110000000
payment_method_data[type]:us_bank_account
payment_method_data[billing_details][name]:Bob
payment_method_data[us_bank_account][account_holder_type]:individual
Then I verify the microdeposit to the following endpoint: /v1/payment_intents/pi_3PbJKJBCctj4OkSz0rHQUz1M/verify_microdeposits
What are you working on?
Testing ACH payments with a direct integration.
@jaunty mauve pressed the 🧑💻 Code button in #help to ask a question:
Code
Subscription expiration/cancellation webhook callback
Question
Can I use Webhook to receive notifications of user subscription expiration/cancellation?
Can I use this to replace related timed tasks on the server?
What have you already attempted?
.
@silent basalt pressed the 📡 API button in #help to ask a question:
Question
i will need to add stripe products to do checkout and stuff. But i suppose I should also make products in my sql database. when creating a product should I create the product in the sql database first and then create the stripe product? or first create the stripe product? i will need to reference the stripe product in my product in sql database later for reference i suppose
Related Request ID(s)
?
What have you already attempted?
?
@frosty coyote pressed the 🪝 Webhooks button in #help to ask a question:
Question
Is there a change in webhooks that now they stop after getting a failure? For example, say we have 5 webhook endpoints setup, if the 3rd one failed, it seems to stop and not send to the fourth and fifth. Instead they seem to remain in pending.
Related Event ID(s)
evt_1PbfTAS59s6nMZ0ehSVnDerR
What have you already attempted?
Read through webhook documentation and just looking at the dashboard it doesn't make sense.
What are you working on?
Sports app
@maiden goblet pressed the 📡 API button in #help to ask a question:
Question
How to customize our custome id when create a checkout session?
Related Request ID(s)
-
What have you already attempted?
-
What are you working on?
SAAS subscription
@tawny spoke pressed the 👍 Best Practices button in #help to ask a question:
Question
We want to implement an auto pay wallet, that will trigger a payment whenever the credits in the wallet go below a set amount. The credits management part is being on our database, we want a webhook or something that will automatically make a payment for the user. When the credits go below 5$, I will call the stripe webhook, stripe will make a payment and we will recieve the webhook, this is the flow we are looking for. The document tells us how to save a payment method, but how do I use the saved payment method. How do I trigger it automatically. I do not have to go to stripe page again
Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse
What are you working on?
A auto-pay based credit system for our application
@exotic grove pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/object
Question
I am attempting to retrieve the all the fees and network costs associated with a payment intent
If there are any costs like this for payouts (both on our and connected accounts), I would appreciate docs for it as well.
What have you already attempted?
I've used
PaymentIntentGetOptions options = new PaymentIntentGetOptions();
options.AddExpand("latest_charge.balance_transaction");
And looked at docs, but can't seem to find where to get the rest of the details
What are you working on?
I am trying to get the full cost of a payment, including any network and stripe fees so I can get the real amount that we will have in Balance
@twin hull pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api
Question
Hey, How can i be able to get the connected account status (restricted,restricted soon, complete )?
Also when i verify a single identity doc from stripe test daata , the individual.verification.status is verified, even thought i haven't provided the address docs
What have you already attempted?
const account = await stripe.accounts.retrieve('acct_1Nv0FGQ9RKHgCVdK');
to retrieve the data
@obtuse quarry pressed the 📡 API button in #help to ask a question:
Question
When a dispute gets created, my platform get's a 15$ charge fee, I need to charge that back to the client. How do I do that with a payment intent? do I need transfer_data? Since I also have application fee's
Related Request ID(s)
none
What have you already attempted?
Creating a payment intent but not sure if it's the right way
What are you working on?
Personal project
@vocal wagon pressed the 🪝 Webhooks button in #help to ask a question:
Question
I want make a function, when someone using my stripe donation payment link where i setup some custom field i want it send this custom field data to my discord server in to channel like a message ex "Jack Elis send a donation with this custom message Test Message text" using discord webhook link
Related Event ID(s)
payment_intent.succeeded
What have you already attempted?
there is no info about custom field in payment link
What are you working on?
Nottification message when someone make a donation
@main peak pressed the 👍 Best Practices button in #help to ask a question:
Question
Is there a document available detailing Stripe's Business Continuity Plan?
Doc/Guide Links
refer link related to Stripe's Business Continuity Plan
What are you working on?
Onboarding connected account
@blazing ocean pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/revenue-recovery/customer-emails
Question
Is there any way I can ask the customer for his email? I haven't found anything relevant to that in the AddressElement section. I'm using AddressElement + PaymentElement for collecting info.
What have you already attempted?
Looked on guides, stripe docs, etc.
What are you working on?
Clothing brand website, build with MERN.
@lofty steeple pressed the 📡 API button in #help to ask a question:
Question
Which is the ideal way to pull off a customer balance that they can chose to apply when they want?
Related Request ID(s)
-
What have you already attempted?
I've considered creating a coupon for every checkout session and nuke it afterwards, but that's a lot of requests and a lot of places where things can go wrong, which is bad considering we're dealing with money.
What are you working on?
A marketplace for digital goods with Stripe Connect.
@tawdry tangle pressed the 👍 Best Practices button in #help to ask a question:
Question
We're developing a marketplace app and chose Stripe Express accounts for our sellers, aimed at balancing ease and maintaining our branding, as recommended by Stripe. However, we've encountered issues with seller fees occasionally pushing accounts into negative balances. Our temporary solution restricts these accounts from using the platform until resolved. Unlike Standard accounts, Express accounts lack a "Add funds" option, complicating the process for users to rectify their balances. We're seeking insights or alternative approaches to manage these negative balances and questioning whether Express was the right choice.
Doc/Guide Links
- https://docs.stripe.com/get-started/account/add-funds
- https://docs.stripe.com/connect/account-balances
- https://docs.stripe.com/connect/account-debits
What are you working on?
I'm buli
@teal crane pressed the 👍 Best Practices button in #help to ask a question:
Question
Do locations get generated automatically when a new reader is ordered or do I have to manually create a location? We are using stripe hosted onboarding and an address gets taken on that form. It would be counter intuitive to take address twice to create the location. So my question is does location get generated automatically from delivery address or what is the best practice here?
Doc/Guide Links
https://docs.stripe.com/terminal/fleet/locations-and-zones
What are you working on?
Building a in person payments platform for UK businesses.
@swift oasis pressed the 🧑💻 Code button in #help to ask a question:
Code
the code will be shared in the message because too long
Question
We have an issue with google pay.
when you try to make a payment via google pay, the amount of the payment is "translated" into euros and not cents, unlike other payment methods.
This means that for a payment of €14.90, €1490 will be displayed.
This bug seems to only affect the display generated by Stripe (we use Stripe Payment Element to generate the payment interface) since when we check the payment on the Stripe dashboard, it is the correct value .
What have you already attempted?
We tried to replace the amount in several places in the code without success. The problem seems to occur only in the case of google pay
What are you working on?
Setting up google pay on a vueJS website
@gleaming void pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/connect/testing
Question
Can I somehow login into connected account when using test mode only?
What have you already attempted?
I'm trying to test what I'm what information I'm capable to get from connected account. I was testing the webhook is being called when connected account is making minor change (e.g. changing company's name). But I'd like to know If I'm capable of get e.g. his tax registrations. I'd like use this connected account.
@sullen junco pressed the 👍 Best Practices button in #help to ask a question:
Question
When we have multi capture on a payment intent, Will all those captures on charge appear in same payout
EG: I did a one capture today and did one more on same payment intent 4 days after (By which a payout was already generated for first capture) . In the looks like it got updated instead of adding in a new payout
Doc/Guide Links
https://dashboard.stripe.com/test/payouts/po_1PbBYNKZdo2LWv7yJvEpy3xo
What are you working on?
I am working creating a payment intent at checkout and at shipping (creating different captures, based on how many shipments for that order)
@young lance pressed the 📡 API button in #help to ask a question:
Question
In billingDetails I always set the country. In my dashboard I see the correct address. However.. the origin is always displayed as United States. What does origin stands for in this case?
Related Request ID(s)
Dashboard > Developer
What have you already attempted?
const paymentMethodResult = await stripe.createPaymentMethod({
type: 'card',
card: cardElement,
billing_details: billingDetails,
});
const { error } = await stripe.confirmCardPayment(clientSecret, {
payment_method: paymentMethodResult.paymentMethod?.id,
});
What are you working on?
Checkout for SaaS, I'm using the payment element from Stripe and mount the stripe element into a div on my Nuxt3 application
@prisma pecan pressed the 📡 API button in #help to ask a question:
Question
I'm using the prefilled email query parametters with a stripe paiement link. How can I block the field to be sure that the user is using the provided email ?
Related Request ID(s)
Paiement link > Prefilled link
What have you already attempted?
I search for settings who can allow that
@empty walrus pressed the ❌ An Error button in #help to ask a question:
Error Message
“Something went wrong. please try again or contact the merchant”
Question
I’m working on a next.js site and am using the Stripe Check Embedded Form (https://docs.stripe.com/checkout/embedded/quickstart?client=next) When I try to click on the button in my app that directs me to this form, I’m briefly shown a skeleton with no data filled in and then the error message I typed above shows up after a few seconds
What have you already attempted?
I’ve tried to add “use client” to the top of the component file and I also checked logs to see that the publishable key was not be hit while the secret one was. not sure if that means anything g
Reproduction Steps
Here’s the repo: https://github.com/ceeoreo/Beyonce-Ticket-Website/tree/stripe-int
What are you working on?
I’m building an e-commerce site with next.js
@rustic dirge pressed the 📡 API button in #help to ask a question:
Question
Hey there, I wanted to know if anyone knew how to handle end of trial behaviour to not become active if a payment method has been added. I've got this case in which a customer has a main subscription and can try out some trial of a separate subscription. The problem I'am facing is it when the trial is over it becomes active due to the presence of payment info.
Related Request ID(s)
N/A
What have you already attempted?
Looked into the documentation to try to change the end_trial behaviour.
What are you working on?
Billing for SaaS
@wanton oyster pressed the 📡 API button in #help to ask a question:
Question
Hi! I'm trying to find a transcation linked to a product ID. I have this code so far...
```ts
const customer = cus.data[0];
// Check if the customer bought the verification in the last hour \(prod\_QSfnz1p5dySQfa\)
const transactions = await stripe.charges.list\({
customer\: customer.id,
limit\: 1,
created\: {
gte\: Math.floor\(Date.now\(\) / 1000\) \- 3600
}
}\);
if \(!transactions.data.length\) {
return json\(
{ message\: 'No verification transaction found' },
{ status\: 400, statusText\: 'Bad Request' }
\);
}\`\`\`
But I dont know where to go from here. Thoughts?
Related Request ID(s)
N/A
What have you already attempted?
N/A
@sturdy valley pressed the 🧑💻 Code button in #help to ask a question:
Code
```
stripeClient
.invoices()
.upcoming(
InvoiceUpcomingParams
.builder()
.setCustomer(customerId)
.build()
)
```
Question
If I make this call shortly after the subscription is created, I get a `InvalidRequestException` with error.code = "invoice_upcoming_none".
What have you already attempted?
Nothing else to try.
What are you working on?
We show the current metered usage to the user on our UI and we get the current usage from the upcoming invoice, since it takes care of free trial usage
@quasi crown pressed the 📚 Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/twint#:~:text=Connected accounts that use the Stripe Dashboard can enable TWINT,capability is set to active .
Question
Does Twint support offline payments? Essentially, we save credit card information to facilitate offline payments later on. Is this same functionality available with Twint?
What have you already attempted?
No documents mentioned about this
@merry heart pressed the 📡 API button in #help to ask a question:
Question
Is it possible to make transfers from my stripe account to other people's accounts in Brazil, via pix or bank transfer?
Related Request ID(s)
Is it possible to make transfers from my stripe account to other people's accounts in Brazil, via pix or bank transfer?
What have you already attempted?
I've read a lot of your docs https://docs.stripe.com/api/webhook_endpoints and I didn't find anything related, and I can easily see this in other checkouts
What are you working on?
I need to implement this functionality in a system in which I already receive subscriptions with you, I needed to move the money received into the account to send it to other accounts
@gentle lotus pressed the 📡 API button in #help to ask a question:
Question
What happens when voiding invoice which is not in final state? And what happens if it is in final state? Final state means the customer was already charged? If so after voiding what happens with the money? Does the customer get a credit?
Related Request ID(s)
N/A
What have you already attempted?
I looked into https://docs.stripe.com/api/invoices/void but it doesn't explain much
What are you working on?
I want to send void invoice before subscription cancellation to be sure the customer won't be charged and don't have an access to the subscription at the same time.
@deft lake pressed the 📡 API button in #help to ask a question:
Question
is it possible to delete or detach a payment method that's in `pending verification`? I only see a "verify" option on the bank account
Related Request ID(s)
n/a
What have you already attempted?
n/a
@sand kiln pressed the 📡 API button in #help to ask a question:
Question
I implemented stripe in a really old software of mine some years ago. But I never used it. I am modernize my software now. I used before the "Customer" when a user want to save their payment methods. But now, I dont find the object "Customer" anymore in your documentation. Is this still state-of-the-art or deprecated? What is now the flow when I want to integrate, that a user could save his payment methods?
Related Request ID(s)
no id
What have you already attempted?
Looking on api doc
@terse tartan pressed the 📡 API button in #help to ask a question:
Question
I created a scheduled subscription using api and it started yesterday, but today I can see the scheduled subscription was past due and payment was incomplete.
Is there any way for making this successful payment.
Related Request ID(s)
API, Dashboard, Scheduled Subscription
What have you already attempted?
I already checked the document and created a scheduled subscription with the guide.
So the scenario is that we already have active subscription and when it is ended, it will start new subscription automatically.
What are you working on?
Working on Subscriptions
@tawny zenith pressed the 📡 API button in #help to ask a question:
Question
Few questions:
- What is the best way to do a subscription with Affirm/Klarna? Do we create a one-time payment then manually set them up in stripe?
- Is there a way to provide 1% discount on Bank Transfer? Also, is stripe's fee the same for Bank Transfer?
Related Request ID(s)
NA
What have you already attempted?
NA
@jagged plume pressed the 🧑💻 Code button in #help to ask a question:
Code
<form data-testid="checkout-form" onSubmit={handleSubmit}>
<PaymentElement />
<button disabled={!stripe} type="submit" data-testid="payment-submit-btn">
Submit
</button>
{paymentError && (
<div className="payment-error" data-testid="payment-error">
{paymentError}
</div>
)}
</form>
Backend:
const subscription = await stripe.subscriptions.create({
customer: stripeCustomerId,
items: [
{
price: priceId,
Question
I have settings to collect automatic tax calculation for subscription. But I get the following error:
rawType: 'invalid_request_error',
code: 'customer_tax_location_invalid',
I believe I don't have customer address setup properly. Due to privacy policy we are not supposed to store in our database but in stripe we can only during checkout not during customer creation.
What have you already attempted?
I added tax code to product, automatic tax setting enabled on dashboard settings.
What are you working on?
Automatic Tax implementation on subscription.
@fierce storm pressed the 🪝 Webhooks button in #help to ask a question:
Question
Is there a way to get the test clock time when a webhook was sent? For example, if I advance clock to Jun 2025, and a webhook is sent in January 2025, can I determine the test clock time when that January 2025 webhook is sent?
Related Event ID(s)
evt_1PbaqgHtzQiUYLb0tlxhigGf
What have you already attempted?
I believe the created date in the webhook is the actual date and not the test clock date. If I check the test clock time when I receive the webhook, I believe it is the time at the end of the test clock advance, not the time that the webhook was sent according to the test clock. I know I can just step the test clock to the exact time when the webhook needs to be sent, but was wondering if I was missing some other way to see this.
What are you working on?
Testing subscriptions
@dark kiln pressed the 📡 API button in #help to ask a question:
Question
Hi, we are using stripe-terminal-react-native to enable tap to pay on devices, the point is when we are running the app on some devices it gets stuck in inittstripe function with unresolved promise.
Related Request ID(s)
a
What have you already attempted?
We pulled the example app and changed the api keys for our needs, the app works on our mobile devices but it doesn't work for example on Urovo i9100
@ember perch pressed the 📡 API button in #help to ask a question:
Question
Can i make payout to non-business (simple user) accounts? Can i at least somehow transfer money from my stripe account to them?
Related Request ID(s)
-
What have you already attempted?
-
What are you working on?
Customer is paying for advertisement to my stripe account and then im transfering money to simple users, that should type only their personal and bank information
@jade lodge pressed the 📡 API button in #help to ask a question:
Question
Incoherent billing date on subscription schedule
Related Request ID(s)
dashboard > users > subscription
What have you already attempted?
tried reading the docs
What are you working on?
Making a scheduled subscription
@tulip fox pressed the 📡 API button in #help to ask a question:
Question
We would like to understand why the entire transaction amount is being transfered to the connected account and fees are not deducted.
Related Request ID(s)
pi_3PbdRCKv7b3gp5h40urzY1J1
What have you already attempted?
Tried adding Transfer_Amount in Transfer_Data. Tried removing Transfer_Data.
What are you working on?
Payment solution for taxis
@glad dust pressed the 📡 API button in #help to ask a question:
Question
If I create a paymentIntent with capture_method as ``automatic_async`` will the ``latest_charge.balance_transaction`` be available immediately once the payment_intent.succeeded webhook is sent.
Related Request ID(s)
n/a
What have you already attempted?
n/a
@vagrant ibex pressed the 📡 API button in #help to ask a question:
Question
prorate subscription when changing the number of positions in it.
Related Request ID(s)
n/a
What have you already attempted?
can't understand
@balmy yacht pressed the 📡 API button in #help to ask a question:
Question
Is there a way to add a real credit terminal to a test only stripe connect account?
Related Request ID(s)
https://dashboard.stripe.com/acct_1JwDnBJQIXbrDAWa/setup/terminal/activate
What have you already attempted?
When I "View Dashboard" as the test account and click terminal, it takes me to a get started popup modal. When I click get started, then there is a console error dashboard.vendors~confirm_support~dashboard~login~myinfo_popup~register~sharded_onboarding~sharded_onboarding_complete.be13893c46bd19d6e4a9.min.js:227
Uncaught \(in promise\) TypeError\: Failed to fetch
at dashboard.vendors\~confirm\_support\~dashboard\~login\~myinfo\_popup\~register\~sharded\_onboarding\~sharded\_onboarding\_complete.be13893c46bd19d6e4a9.min.js\:227\:53402
What are you working on?
trying to test a stripe connect terminal
@ornate rivet pressed the 📡 API button in #help to ask a question:
Question
What are the proper steps for saving a credit card on file for a customer and then charging that card as needed (mostly once a month) based on usage in my application. This isnt a subscription type as the monthly fee will vary. Im using PHP SDK
Related Request ID(s)
None
What have you already attempted?
I have already saved the customer using the $customer = $stripe->customers->create([....
method
@violet totem pressed the 📡 API button in #help to ask a question:
Question
I upgraded from 2019-05-16 to 2024-06-20 and am using Stripe Node SDK. the way I am creating charges hasn't changed (nor does it say it has in changelog) but when I query for it and expand 'balance_transaction', 'transfer', 'source' after the charge is complete none of those values exist. which means I cannot get the destination payment Id. The one change I did need to make was the second point here https://docs.stripe.com/upgrades#2022-11-15 is this a different charge than it was before now? (we only had one charge in the array before)
Related Request ID(s)
req_LUVNDcwf9SiEV0
What have you already attempted?
Read the changelog to see if something has changed, couldn't find anything related to this.
Double checked I am sending in the right expansions.
Logged the output to check if the IDs (unexpanded exist) for balance transaction, source, transfer, exist in the response, they don.t
What are you working on?
trellis.org, fundraising platform for charities (we are processing millions a year in production)
@weak basin pressed the 📡 API button in #help to ask a question:
Question
Hey there, I recently submitted an app for review in Stripe. One of the things it got rejected for was that the app connected in "external test mode" and should connect in "live mode." Now, I'm fairly confident I got the app working in "external test mode" with the full oauth flow, but now that I've configured the client IDs and authorize URLs for standard prod and test, the app appears completely broken. Small wonder, because in the app settings, it says "These OAuth links will not be active until the app is published." Catch-22 ?
Related Request ID(s)
N/A
What have you already attempted?
I submitted again anyway, I guess on faith that the links will work for Stripe staff? This support doc seems to support the theory, saying (see screenshot below) "OAuth install links don’t work until the app is published. However, our app review team can install and test your app through this link."
r/stripe - "OAuth install links don’t work until the app is published. However, our app review team can install and test your app through this link."
This certainly feels like a Catch-22! Am I missing something?? I just submitted what feels like a broken app for review!
What are you working on?
An OAuth Stripe App for review
@reef spindle pressed the 📡 API button in #help to ask a question:
Question
I set my price to be 10usd per 100. But when I send a meter event with the value 1 then 10usd is billed. I expected 0.1usd to be billed instead.
Related Request ID(s)
req_r9ha0NNG2dl0ZJ
What have you already attempted?
I tried passing 0.01 as the value, but I got an error saying the value must be an integer.
What are you working on?
A usage based form creator app
@hidden musk pressed the 📡 API button in #help to ask a question:
Question
whats the best way to delete the test account data ?
Related Request ID(s)
test data
What have you already attempted?
Manual deletion of data
@vocal wagon pressed the 🪝 Webhooks button in #help to ask a question:
Question
i am having a terrible error for3 days and i need help can someone please help me ??
it is anout stripe connect in next js
havning a horrible issue with stripe connect my wrok flow is when the user visits his seller dashboard a create account into stripe connect function is called and save the stripe id into database
then when chekout i make a session with all the products as line items and in web hook i get each seller of the products calculate its total and
await stripe.transfers.create({
amount: transferAmount,
currency: "usd",
destination: tr
Related Event ID(s)
webhooks
What have you already attempted?
the webhook
const Order = require("../../../lib/database/models/OrderModel.ts");
const Stripe = require("stripe");
const dotenv = require("dotenv");
dotenv.config();
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, {
apiVersion: "2024-06-20",
});
const addTestFunds = async (amount) => {
try {
const charge = await stripe.charges.create({
amount,
currency: "usd",
source: "tok_bypassPending",
description: "Adding test funds to account",
});
console.log("Test funds added:", charge);
await new Promise((resolve) => setTimeout(resolve, 5000));
@vocal magnet pressed the 📡 API button in #help to ask a question:
Question
Hi there! I need help regarding moving funds from a Custom Stripe Connect Account balance to Treasury Account (financial account). As per my app’s requirements, I need to transfer the funds instantly if possible but I couldn’t find how that’s possible so any help is appreciated.
Related Request ID(s)
N/A
What have you already attempted?
I have connected the Financial Account to the Stripe Connect as an external account and whenever I try to perform a payout the funds are not instantly available.
What are you working on?
An app that simplifies vendor payouts.
@jagged plume pressed the 📡 API button in #help to ask a question:
Question
After updating the customer with proper address, subscription update to automatic_tax enabled true still throwing customer_tax_location_invalid error
Related Request ID(s)
https://dashboard.stripe.com/test/subscriptions/sub_1PboF6KIBj7DgPMX9rRg1Op2
What have you already attempted?
Updated the customer address by API call
@slate sedge pressed the 🧑💻 Code button in #help to ask a question:
Code
<button
className="bg-blue-500 text-white py-2 px-4 rounded"
onClick={async () => {
setAccountLinkCreatePending(true);
setError(false);
fetch("/api/account_link", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
account: connectedAccountId,
Question
When I run this piece of code I got from this doc (https://docs.stripe.com/connect/onboarding/quickstart#init-stripe) It says "creating a new account Link...". Now this is great! it means its working but when I go to my network it says ("pending") why is this? do I have to manually accept every user onBoarding? I read the full doc and surround docs and could not find an solution.
What have you already attempted?
Just reading docs. Here is my account_link.ts:
import { stripe } from "@/lib/stripe";
import { NextApiRequest, NextApiResponse } from "next";
export default async function handler(
req: NextApiRequest,
res: NextApiResponse
) {
if (req.method === "POST") {
try {
const { account } = req.body;
const accountLink = await stripe.accountLinks.create\({
account\: account,
refresh\_url\: \`${req.headers.origin}/refresh/${account}\`,
return\_ur
What are you working on?
ecommerce marketplace
@fathom elk pressed the 📡 API button in #help to ask a question:
Question
Payment Intent question. I noticed an additional objects in the response body of the following request id :
req_eIs4YnLyFPjX1W
The additional objects like “next_action” with three_d_secure ….
question: What is the reason for this additional objects about security?
Related Request ID(s)
req_eIs4YnLyFPjX1W
What have you already attempted?
Exploring more docs on Stripe side
@light shell pressed the 📡 API button in #help to ask a question:
Question
stripe.subscriptionSchedules.create is not working
How do we get it to work with subscription phases + a billing_cycle_anchor_config with day_of_month: 1
Related Request ID(s)
Error: Received unknown parameter: phases[0][billing_cycle_anchor_config]. Did you mean billing_cycle_anchor?
What have you already attempted?
Attempted to make a subscription with phases that pro rates 1 of the 3 products apart of our invoice for the first month, and bills again on the first of the month every month thereafter
@hexed mist pressed the 🪝 Webhooks button in #help to ask a question:
Question
I need some clarification on webhooks, responses, and how to manage multiple environments.
There's only one test mode for stripe, and i have two environments i want to setup, staging and dev. There's a few ways to solve this I think, but i need to understand something specific - If i determine whether a stripe_signature sent to my webhook is valid for our dev or staging environment, and if it's not the matching env, send a 2xx response, will Stripe still send that same event to the other webhooks until those webhooks also return a 2xx response?
Related Event ID(s)
N/A
What have you already attempted?
N/A
@nova egret pressed the 📡 API button in #help to ask a question:
Question
When I'm calling `stripe.createPaymentMethod` using StripeJS passing in the CardElement, I get a PaymentMethod back but `card.fingerprint` is not populated. How do I make sure the card was changed?
For reference I'm trying to use card fingerprint as part of my idempotency key for payment intent
Related Request ID(s)
nothing
What have you already attempted?
nothing
What are you working on?
integration using card element
@devout pasture pressed the 📡 API button in #help to ask a question:
Question
Hey Stripe Support Team,
I hope you're doing well!
I need some help adding a feature to my platform with user-generated content (UGC). I want to give users the option to temporarily disable their items on the platform, which would "pause" their subscription plan on Stripe and stop any charges until they reactivate their items.
The main features I need are:
Pause a user's subscription when they disable their items on the platform.
Stop charging them while the plan is paused.
Allow users to reactivate their items and resume charging on the same billing date as before.
Thanks a lot for your h
Related Request ID(s)
.
What have you already attempted?
.
What are you working on?
.
@ember perch pressed the 🧑💻 Code button in #help to ask a question:
Code
public IActionResult CreateTransfer()
{
StripeConfiguration.ApiKey = "sk_test_•••gSIp";
var options = new TransferCreateOptions
{
Amount = 40000,
Currency = "usd",
Destination = "acct_1PbnMHRpu4BS29jm",
TransferGroup = "ORDER_95",
};
var service = new TransferService();
service.Create(options);
return
Question
I cant make a transfer from my stripe acc to connected account (.Net)
What have you already attempted?
I have already tried to add funds directly with test card, but still cant make transfer
What are you working on?
Customer paying for advertisement and im paying to blogger
@quaint jacinth pressed the 🧑💻 Code button in #help to ask a question:
Code
```
const customer = await prisma.user.findUnique({
where: {
id: user.id
}
});
const customerSession = await stripe.customerSessions.create\({
customer\: customer.stripe\_customer\_id,
components\: {
pricing\_table\: {
enabled\: true,
},
},
}\);
```
Question
Property 'customerSessions' does not exist on type 'Stripe'.
What have you already attempted?
I'm trying to follow the documentation
https://docs.stripe.com/api/customer_sessions/create
What are you working on?
Allowing users to enter their payment methods via stripe elements iframe.
@undone island pressed the 🤨 Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Express Checkout Element should fire a "ready" event when Link has been determined to be ready
What actually happened?
Express checkout element fires a "ready" event despite Link not being ready
Reproduction Steps
GIVEN an express checkout element created with an elements instance that has `setup_future_usage: "on_session"`
WHEN mounting the express checkout element on a browser where only Link should display (ie. Chrome incognito or firefox)
THEN you should see an empty express checkout element, but the "ready" event fires
Question
This seems like a bug. Is there an assumption that the express checkout element will always have a button displayed due to Link being available most times? How should I fully rely on the "ready" event to be a true testament that the component is ready?
What are you working on?
Checkout pages with multiple Stripe elements, express checkout elements, card elements, and affirm messaging
@shadow verge pressed the 📡 API button in #help to ask a question:
Question
We are submitting our Stripe App for review, and we want to use Install Links so we easily direct our users to install the Stripe app. Our app got rejected because we are using an External Test link. How do we obtain an Install Link for our app?
Related Request ID(s)
N/A
What have you already attempted?
The documentation (link below) says "Click the Settings tab. The install link is shown here, and you can copy it."
However, our Settings tab does not show an Install Link/
https://docs.stripe.com/stripe-apps/install-links#use-install-link
What are you working on?
A Stripe App that allows merchants to correlate revenue with customer website behaviour.
@slate sedge pressed the ❌ An Error button in #help to ask a question:
Error Message
account_link status (pending) type fetch
Question
I've had this error for the past few hours in my own console when trying to pass a account_link Endpoint for newly created account onboard users. In my own console logs it seems to be getting stuck here in my index.tsx file:
const response = await fetch("/api/account_link", {
I think it is getting stuck in my account_link Endpoint.
What have you already attempted?
Everything from this doc: https://docs.stripe.com/connect/onboarding/quickstart?connect-onboarding-surface=hosted
Reproduction Steps
Im going to list my account_link file below!
What are you working on?
ecommerce marketplace
@wanton oyster pressed the 🧑💻 Code button in #help to ask a question:
Code
See screenshot that is attached.
Question
I am trying to make a checkout session, but typescript is upset that I am trying to attach a customer to it. Help!
What have you already attempted?
N/A
⛔️ Stripe developers aren't currently available on Discord
We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.
✅ Stripe developers are currently available on Discord!
@worldly acorn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Can we not show or limit to the particular card brands in the payment element card number input ?
Related Request ID(s)
NO ID
What have you already attempted?
In the card number input, I want to show only visa and mastercard, now it is showing 4 card brands.
@slate spruce pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I wish to record my messages usage before a subscription is paid for. What event can i check for so i can call meter events with the message records data being fetched from my db and attached to the subscription.
Related Event ID(s)
none
What have you already attempted?
I have attempted meter events recording via cron jobs but some numbers are left with the way.
What are you working on?
I have a MERN messaging app and i wish for the message credits to be usage based.
@sand kernel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I can't publish my Stripe app to test mode. When I type `stripe apps upload`, cli prompts to open new browser window to accept the terms & conditions.
After a couple of minutes, it asks me to upload stripe app with Y/N question.
Enter `Y` and Stripe returns `Missing required param: merchant_id.`.
I don't really know what is the `merchant_id`.
Related Request ID(s)
req_QisCScf2svyeKu?t=1721007021
What have you already attempted?
Read the document related to upload stripe app but I didn't find any issues or docs related to merchant_id property.
@azure ermine pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Affirm that the response code for payment failure is payment_intent_payment_attempt_failed
What is the reason for this type of failure?
Related Request ID(s)
https://docs.stripe.com/payments/affirm/accept-a-payment?payment-ui=direct-api#failed-payments
What have you already attempted?
What is the reason for this type of failure?
@maiden goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How do I get the successful payment event when the user pays successfully?
Related Request ID(s)
-
What have you already attempted?
-
@tawny spoke pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to implement a wallet for my application, there are two options auto-pay and manual-pay. Auto-pay means, whenever the credits go below a limit of 5 dollors, I want to reload the wallet with 10 dollors. I want to manage the cuttings of credits logic and also the switch between auto-pay and manual-pay in the stripe itself. How can I do this? When I say auto-pay, since the credits left is also on the stripe, stripe should automatically reload the credits
Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=stripe-hosted
What are you working on?
A auto-pay based credit system for our application
@wicked ledge pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
const { paymentIntent } = await stripe.retrievePaymentIntent(clientSecret);
console.log("Payment Intent:", paymentIntent);
switch (paymentIntent.status) {
case "succeeded":
Question
Everything works in test mode, but in live mode I suddenly get this error (even though the payment went through)
What have you already attempted?
Tried to understand error messages
@fierce forge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Need the details for integrating the Stipe Invoice model
Related Request ID(s)
1
What have you already attempted?
Need to do Recurring fixed payment monthly and addon charges in next month invoice along with the advance payment of next month
@opal wadi pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I have received this email from stripe:
'
Hello,
Investory Onlineplattform GmbH is currently accepting iDEAL payments in your Stripe payments integration using the Sources API. Starting on 15 August 2024, the Sources API will no longer support non-card payments.
To avoid disruption to your business, upgrade to the Payment Intents API, Stripe's latest payments API. For the best migration experience and access to Stripe's newest features, we recommend that you integrate Payment Element or Checkout. '
Is there any way to not update my implementation for now? eben if I turned off iDEAL payment
Related Request ID(s)
na
What have you already attempted?
ma
@ember sky pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Which Event is get called on recurring of Subscription
Related Event ID(s)
Subscription
What have you already attempted?
I just want to know which event is get called on recurring of subscription . as i have to store data in database
@sinful warren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I have integrated an API into my Wordpress project. I have a cancel subscription button in account on site and I'd like to provide an ability to renew the same subscription. Is it possible to renew the canceled subscription by button or not?
Related Request ID(s)
API
What have you already attempted?
I have tried to use update method
@ember perch pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
StripeConfiguration.ApiKey = "sk_test_•••gSIp";
var service = new ExternalAccountService();
service.Get("acct_1032D82eZvKYlo2C", "ba_1NAinX2eZvKYlo2CpFGcuuEG");
Question
So my question is how to get an id of the bank account from connected account to create a payout?
What have you already attempted?
I thought retrieving will help, but i need to know bank acc. id. So i dont really understand.
What are you working on?
customer -> platform -> seller
@cobalt mist pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/issuing
Question
Does Stripe allow outbound payment through a card using balance in Stripe account directly? For example, if I have $100 balance in my account.
And a card attached to Stripe balance.
Can I use that $100 to pay Bland using the card or ecard?
What have you already attempted?
Does Stripe allow outbound payment through a card using balance in Stripe account directly? For example, if I have $100 balance in my account.
And a card attached to Stripe balance.
Can I use that $100 to pay Bland using the card or ecard?
What are you working on?
building calling setup through bland ai, twilio
@gleaming void pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/accounts
Question
Am I capable of changing connected account address for testing purposes?
What have you already attempted?
I'm using test mode and I like to try to change address of connected account to see, if I'd saw changes on his side (e.g. address change).
@flint mural pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is it possible to pass in a net, tax % and gross (amount) value with a payment intent? The objective is to have Stripe correctly fill in the NET, TAX and GROSS values on Stripe invoices.
Related Request ID(s)
pi_3PcT6iI7MED0vxUQ1xjVaN50
What have you already attempted?
We have this working for Stripe scheduled payments as it has an accessible Stripe tax object we can load. By the time we process the payment Paytia has already calculated the NET, TAX and Gross amount values so we just want to pass them through.
What are you working on?
Customised virtual terminal front end for Stripe business users to start payment capture.
@rose gyro pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hey there! I have an eCommerce site, for that I'm going to use Stripe connect. I have created an Express connected account successfully. But for TOS I don't understand what I need to do?
Related Request ID(s)
Developer
What have you already attempted?
I have attempted to accept Terms of Services using
stripe accounts update '{{CONNECTED_ACCOUNT_ID}}'
-d "tos_acceptance[date]"=1609798905
-d "tos_acceptance[ip]"="8.8.8.8". But it is showing.
{
"error": {
"message": "You cannot accept the Terms of Service on behalf of accounts where `controller[requirement_collection]=stripe`, which includes Standard and Express accounts.",
"type": "invalid_request_error"
}
}
What are you working on?
I'm working on building transfers of checkout process for my website
@cedar crypt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is there a way to show VAT tax amount for each line item on an invoice? I see the VAT precentage for each line item on the invoice. Using the API. Showing the VAT amount is required by common practice of accounting in Poland.
Related Request ID(s)
req_PPJbO8x168TbFA
What have you already attempted?
- Generate checkout session together with invoice creation. 2. Generate invoice and invoice items
What are you working on?
Stripe Connect - standard accounts, accounts and customers based in Poland
@exotic grove pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/retrieve
Question
Do I have a way of querying a payment intent, and retrieve all the fees and costs, including network costs?
What have you already attempted?
Docs and fetching data using the C# Library
What are you working on?
Attepting to get all the fees/network costs for a payment intent so we can determine how much we actually have left of a payment
@tawdry siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am looking for a solution for receiving payments on a website to the users in Thailand using promptpay. is there a documentation for interfacing the promptpay with the stripe?
Related Request ID(s)
no information on this
What have you already attempted?
trying to get some documentation on this
What are you working on?
payment processing on website
@restive glacier pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to change the invoice total amount after 2nd retries is completed
Related Request ID(s)
req_Z9fPnAsZQWVPzl
What have you already attempted?
I want to implement a functionality where, after two retries of an invoice on a particular subscription, the invoice amount changes. If it's not possible to change the invoice amount directly, is there another way to achieve this using other APIs?
Ultimately, my goal is to have the same subscription amount for the first two retries, but apply a discounted amount for the remaining two retries to reduce the chance of payment failure.
@haughty granite pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
For the radar blocklist using email and IP address, which field in the payment intent is used to map and validate this during a payment?
Related Request ID(s)
https://dashboard.stripe.com/test/settings/radar/lists/
What have you already attempted?
Check the docs
@supple grove pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
when i add country to stripe create connect account when i am onboarding via accountLinks create it still asks for country and makes united states the default country
Related Request ID(s)
req_ln7ro2ZvktfsYk
What have you already attempted?
I tried searching for api that has each country's capabilities and tos agreement
What are you working on?
An app for tipping members
@shy flare pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
Invalid Link or timed out.
Question
Why can I not withdraw of even get onto my Stripe account. Every time I am on the Whatnot website and click to cash out it takes me to your website and then I review and confirm my details and it takes me back to the exact same page.
What have you already attempted?
Every time I try to sign into my Stripe account on the web using Microsoft Edge. I have enabled all pop-ups and have tried on Chrome also.
What are you working on?
trying to sell stuff
@fallen python pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I have registered a domain via https://dashboard.stripe.com/settings/payment_method_domains
But the log reports that I haven't, at least with respect to Apple Pay:
"
You have not registered or verified the domain, so the following payment methods are not enabled in the Express Checkout Element:
- apple_pay
"
Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/pmd-registration
What are you working on?
Website payment portal
@restive glacier pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to change the invoice total amount after 2nd retries is completed
Related Request ID(s)
req_Z9fPnAsZQWVPzl
What have you already attempted?
I want to implement a functionality where, after two retries of an invoice on a particular subscription, the invoice amount changes. If it's not possible to change the invoice amount directly, is there another way to achieve this using other APIs?
Ultimately, my goal is to have the same subscription amount for the first two retries, but apply a discounted amount for the remaining two retries to reduce the chance of payment failure.
@calm forum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We provide banking services using Treasury. Now I'm working on implementing an Invoice feature for our users using Stripe API
In the UI I want to include a preview of the PDF and payment page just like it is shown in the Stripe dashboard
Related Request ID(s)
n/a
What have you already attempted?
invoice.hosted_invoice_url and invoice.invoice_pdf is null as long as the invoice is status="draft"
What are you working on?
Banking App
@open rover pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Currently the pincode validation is done by stripe. Customer is from India and entering 5 digit pincode but still it throws error.
Related Request ID(s)
NA
What have you already attempted?
NA
@frank kayak pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<Box sx={{ position: 'relative' }}>
<stripe-pricing-table
pricing-table-id="XXX"
publishable-key="XXX"
/>
<Stack
direction={{ xs: 'column-reverse', md: 'row-reverse' }}
justifyContent="center"
alignItems="center"
paddingTop="64px"
...
Question
I would like to change the CTA label of my custom CTA product in the embeddable pricing table as well as change the order to have it show up as first, is there a way to do that?
What have you already attempted?
Using a div with position absolute over the CTA text to change it but it's unstable and sub optimal at best
What are you working on?
Online subscription sass
@fallen python pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Apple pay throwing below error, for Express Checkout Element using test key. Documentation suggests identifying Stripe account ID for Connect platforms - but I'm not sure that's what my integration is. I dont currently id a Stripe account in my server-side code and Link, nor Google Pay (at least with test key) doesn't throw errors
[Stripe.js] You have not registered or verified the domain, so the following payment methods are not enabled in the Express Checkout Element:
- apple_pay
Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect
What are you working on?
Website payment portal
@rose gyro pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How to do TOS agreement in Test Connected Account?
Related Request ID(s)
Developer
What have you already attempted?
stripe accounts update -d stripe-account=$ACCT -d "tos_acceptance[date]"=1721034549 -d "tos_acceptance[ip]"="8.8.8.8"
Showing this error
https://dashboard.stripe.com/acct_1PciHeQulsA00js4/test/logs/req_L4tJyFkPrJiBUY?t=1721035312
What are you working on?
I'm working on testing my connected test account. Need to activate Transfers, Payouts, Card payments, Bank Transfers. I have done everything TOS is only pending. I'm trying for 3 days
@celest lichen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
When creating a subscription, no metadata is visible:
$subscription = $stripe->subscriptions->create([
'customer' => $customer_stripedata->id,
'items' => [[
'price' => $price_id
]],
'metadata' => [
"booking" => $bookingIdentifier
],
'payment_behavior' => 'default_incomplete',
'payment_settings' => ['save_default_payment_method' => 'on_subscription'],
'expand' => ['latest_invoice.payment_intent'],
]);
payment_intent.created:
{"id": "pi_3PcmciAAqZ4YBznF1VP6jhTC","object": "payment_intent","customer":"cus_QMfMCAm63p9kIV","metadata": {},[...]}
Related Request ID(s)
evt_3PcmciAAqZ4YBznF1FApRvgR
What have you already attempted?
submit metadata in different ways.
What are you working on?
custom shop implementation
@lime folio pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I know that the SEPA Direct Debit mandate is a part of the Setup Intent/Payment intent, but for some reason when I use the CLI on the Dashboard to retrieve a payment method it returns the information for the payment method plus some property named satup_by with seti_...(the id of the Setup Intent). But when I retrieve the Payment Method on the server this property is missing. Is this due to a too old stripe-python version/ API version setting, and if that so, can you tell me in which version/API version this property is defined so I can use it?
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_wltmmUukIPwJSI
What have you already attempted?
In our system we are trying to migrate Sources to Payment Methods API. We use stripe-python library and the API version is set to "2019-05-16". We currently support card and SEPA Direct Debit payments. We followed your documentation on setting up Payment Methods for future usage (using Setup Intents). Now while we try to migrate our logic to work with Payment Methods, something came up. In the Sources API, the information about the SEPA Direct Debit mandate came along with the Source object, but now this information is missing in the Payment Method.
What are you working on?
Migrating from Sources to Payment Methods API.
@calm forum pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Are invoice payments by US bank account tracked in some way with webhooks? Will an ACH payment update an invoice status to "Paid" or trigger "invoice.paid" event?
Related Event ID(s)
n/a
What have you already attempted?
Looking through documentation it's not clear
@rocky wharf pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
// setup intent for stripe connect
const setupIntent = await stripe.setupIntents.create(
{
customer: customer_id,
payment_method_types: ["card"],
},
{
stripeAccount: stripe_connect_account_id,
}
);
Question
In my React app, I'm trying to render the Stripe payment element, but I'm encountering the following error: 'The client_secret provided does not match any associated SetupIntent on this account. Ensure the publishable key used belongs to the same account that created the SetupIntent.'
I understand the error: in my React app, I'm using my public key. However, for the Connect use case, how can I achieve this?
What have you already attempted?
I am not sure what to do in this case
@fossil stone pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to update a customer's email on stripe using the Node.js Stripe library. When I do that, I see two customers with the same customer name but different emails. Before updating the email, there was a single customer with that customer name.
Related Request ID(s)
req_uxSG0WO2RrHAkd
What have you already attempted?
https://gist.github.com/reeshabhranjan/fa1fa71085e9b90f7f1f2689b164e3fb
This is how I have been trying to update a customer's account.
What are you working on?
I want to give functionality to my customers to update their information. I update their Stripe information when they do that using the customer facing APIs.
@hidden moss pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is there a way to identify charges that have been attempted by the customer vs the automatic attempts by Stripe
Related Request ID(s)
NA
What have you already attempted?
Tried to explore the Stripe API documentation but couldn't find any reference
What are you working on?
I am building a data query to identify failed manual attempts vs automatic retries
@fallen python pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Yynoj suggested that apple pay was unverified on the live site. I do not see that, nor know how to correct it
Doc/Guide Links
https://docs.stripe.com/apple-pay?platform=web#verify-domain
What are you working on?
Website payment portal
@rocky wharf pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<Elements
stripe={stripe}
options={{
clientSecret,
}}
>
<PaymentElement
options={{
defaultValues: {
billingDetails: {
name: 'Jenny Rosen',
email: 'test@gmail.com',
},
},
}}
/>
<button className="btn-indigo">Save payment method</button>
</Elements>
Question
Is there any way that default values in element cannot be changed by user!
What have you already attempted?
Tried to find solution on docs!
@marble knot pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Why I get a 302 on Stripe CLI while adding a user to Stripe Connect using APIs?
I can connect without problems a user to stripe connect and transfer money to him, but the webhook responsible of updating data in my SQL db is not working...
I'm using Next.js with Typescript, next-auth only with Google for authentication and Stripe in test mode.
Related Event ID(s)
I don't have any event related
What have you already attempted?
I tried both on localhost and vercel caring about adding the URIs to Google Console API's 'Authorized redirect URIs'.
I don't invoke middleware on /api path
What are you working on?
An app in which I use Stripe Connect
@broken yew pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
I have an endpoint that call my Stripe Products, but it doesnt work on my Prod app and it works on my local one
What actually happened?
This is what im getting
Internal Server Error: Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.. StackTrace: at Stripe.StripeConfiguration.get_ApiKey()
and more errors
Reproduction Steps
var u = User.Claims;
var options = new PriceListOptions
{
Limit = 10,
Expand = new List<string> { "data.product" }
};
var service = new PriceService();
StripeList<Price> prices = service.List(options);
var activePrices = prices.Where(p => p.Active);
var productsInfo = activePrices.Select(p => new
{
Price = p.Id,
});
return Ok(productsInfo);
Question
I want to know what am i getting this error just on my prod app i was checking nugets and stuff and idk what else it can be
@silk python pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Does stripe send webhook event when webhook details changes on Stripe
Related Event ID(s)
NA
What have you already attempted?
I find that Stripe does not send a webhook event
@mossy vault pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/cits-and-mits
Question
Reading the above documentation, I understand that I would be able to make a MIT (Merchant Initiated Transaction) payment using a card stored by us without CVV and by sending the ID of the previous transaction. Is this correct?
Thank you in advance!
What have you already attempted?
From reading the documentation I assume it's possible, but. I would appreciate a sanity check here!
@sharp totem pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We are trying to forward Stripe webhook events to a Discord webhook. However, we are facing issues because Discord expects a different payload format than what Stripe sends. Stripe sends a detailed JSON payload, but Discord requires a 'content' field. How can we efficiently transform and forward these webhook events without having to build and maintain an intermediate server ourselves?
Related Event ID(s)
Multiple event types, including plan.updated, price.updated, product.created, etc.
What have you already attempted?
We have tried sending test requests to Discord using tools like Postman, which worked correctly when we formatted the payload with a 'content' field. However, the events from Stripe fail with a 400 Bad Request error because Discord cannot send an empty message. We have reviewed Stripe and Discord documentation and considered building a middleware service to reformat the payloads but would prefer a more straightforward solution if available.
What are you working on?
We are working on integrating Stripe for handling payments and billing, and we want to push updates and notifications about these events to a Discord channel for better monitoring and real-time update
@peak loom pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hey so we are using the PaymentIntents API to charge users monthly for a budget refill on their balance. We are trying to implement an offset to charge a user days before if they are paying with ACH. What are the best case, average case, and worse case for the number of days that it takes for ACH payments to be processed
Related Request ID(s)
N/A
What have you already attempted?
I've talked to stripe support and they said 4 days based on the docs, but I just want to make sure so I can also handle the absolute worse case.
What are you working on?
Charge days offset for ACH
@ivory sandal pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We use Stripe elements for our customer facing checkout journey, but also have an internal 'intranet' that allows customer staff to place orders using our own CRM. We need to take payments over the phone but are constantly hit with 3d secure which we don't want to have to ask the customer to do.
We've looked into MOTO, but can't find a way to use it with Stripe elements and we aren't in a position to become PCI complaint to roll our own payment card form.
Is there anything we can do to use elements internally and bypass 3d secure?
We don't want to give staff access to the Stripe account so want to use our own designed tool.
Doc/Guide Links
https://stripe.com/gb/resources/more/how-to-accept-payments-over-the-phone
What are you working on?
Internal sales tool
@gleaming void pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/accounts
Question
How can I get business_profile from response in test mode?
What have you already attempted?
I've created in Stripe other account, which I've connected with Platform one. Even when I have business_profile set in Stripe account, I'm not getting it in response at all.
@steel inlet pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
If I configure a webhook to receive all checkout.session.completed events in my application from Connect accounts connected to my application, I will also receive events of the same type if those Stripe accounts are connected in other third-party applications that generate events of the same type?
Related Event ID(s)
none
What have you already attempted?
none
@dusky jacinth pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/elements/address-element
Question
Is there a way to collect Billing name without having to collect all the billing fields (e.g. billing address)? We want to collect a billing name to help with fraud.
What have you already attempted?
We've tried to use the address component but there does not seem to be a way to control which fields. Collecting full billing address is not needed and adds too much friction
What are you working on?
A checkout page
@bleak zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How do I charge for a product ?
Related Request ID(s)
pi_3Pb5dgDn6CAQGXZn25aCM4Xn
What have you already attempted?
For products that have recurrent type I am creating a subscription, for payments in general I am creating a payment intent and adding the amount. Is there a way to charge for a product that is not recurring? or I just use the product to retrieve the value and then create a payment intent using the value ?
What are you working on?
Gym point of sales
@devout pasture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Good afternoon!
I have an app with subscriptions and single purchases. What does happen when I pause a subscritpion or make a refund from stripe dashboard? does it trigger a webhook?
Related Request ID(s)
.
What have you already attempted?
.
What are you working on?
.
@eternal sky pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is there a time range limit when checking the balance of a financial account? How often can I issue refreshes?
Related Request ID(s)
https://dashboard.stripe.com/test/events/evt_1PcqTjHay2F9AX5VVJGUmEQ5
What have you already attempted?
I have received the payment_method.attached webhook, however the "last_attempted_at" and
"next_refresh_available_at" values are the same, so I have no sense on what to expect.
What are you working on?
ACH payments with balance check
@broken yew pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
Im getting this problem
Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.. StackTrace: at Stripe.StripeConfiguration.get_ApiKey()
On the ConfigurationManager package
What actually happened?
I tried to put the ConfigurationManager 4.5 that it said its the version i need to solve this problem but it has conflits with the Stripe version that im using so i can use that ConfigurationManager version
Reproduction Steps
Im ejecuting and endpoint
Question
which Stripe version its compatible with ConfigurationManager 4.5 version
@empty night pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hello Stripe. Does the API send events when things change in https://dashboard.stripe.com/settings/connect/payouts/external_accounts or are there other ways to check when these settings have changed in the past?
Related Request ID(s)
id-not-applicable
What have you already attempted?
Looked into received events, but did not directly find any based on some query params
What are you working on?
Investigating a change in the settings that might have caused some issues in the past days.
@prisma coral pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm implementing a checkout process and want to understand the best practices on the stripe side of things. Right now I create a session in my application which has a payment intent that gets fulfilled when the customer checks out. I am now seeing that there is a stripe api object -- checkout session. Is this something that can only be used with a stripe hosted checkout or can I bring my own frontend for use with a checkout session. Any links to guides for this?
Doc/Guide Links
I haven't found any, would love to be linked to a guide on rolling my own custom checkout backend by a stripe checkout session.
What are you working on?
Online booking platform.
@sterile breach pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Can I directly charge a invoice after I've created the subscription schedule? Should I just trigger charge myself or is there a smarter way?
Related Request ID(s)
req_vadityMvX37ZPp
What have you already attempted?
-
@vernal token pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
how to upload pictures when fighting a dispute?
Doc/Guide Links
I’m unable to figure out how to add “proof” in the form of logs / screenshots. I see an option for attachment in the stripe export file of all transactions details.
What are you working on?
trying to upload screenshots or files to fight a dispute
@azure junco pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<PaymentElement /> props
Question
how do I know when the form is filled in?
I see theres an 'onReady' prop, but that looks like its for knowing when the form is mounted and ready to be filled
What have you already attempted?
nothing
What are you working on?
building billing for our products
@sonic arch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Using stripe.js for node, is it sufficient to change the `apiVersion` parameter in the StripeClient in order to upgrade my API?
I have read the docs here but I'm a bit confused whether it's enough or should I change something via the UI as well
https://docs.stripe.com/upgrades#what-changes-does-stripe-consider-to-be-backwards-compatible
Related Request ID(s)
.
What have you already attempted?
.
@terse whale pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/receipts#:~:text=After the payment completes%2C Stripe,paid webhook event.
Question
Hi Stripe team! We have a Stripe subscription integration set up for our customers. We have customers who either pay by credit card ("charge_automatically") or pay externally ("send_invoice"). We want to send a receipt when a payment is made for our "charge_automatically" customers, but not our "send_invoice" customers because these invoices are "paid out of band", so we have a separate invoice that we send to our customers. What would be the best way to prevent triggering emails for invoices where the collection method is set to "send_invoice"? Thank you!
What have you already attempted?
I have reviewed:
https://docs.stripe.com/receipts;
https://docs.stripe.com/invoicing/dashboard#invoice-receipts;
https://docs.stripe.com/invoicing/automatic-charging?dashboard-or-api=dashboard
@wary phoenix pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
PaymentElement react
Question
is it possible to change the placeholder text of the elements, such as cc, zip, etc
the way it currently is done by stripe is a bit inconsistent, as the card number and zip inputs have an "example" such as "12345" - but the expiration and cvc have "MM/YY" and "CVC" as their placeholders
What have you already attempted?
looked over the docs + types in the code
@compact storm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm making a POST /v1/treasury/inbound_transfers and I'm receiving this error:
Payment method pm_1O... must have an active mandate to be valid.
Related Request ID(s)
req_KS3irrSGkJdOlD
What have you already attempted?
I've read the docs. I'm not sure how to update the mandate.
What are you working on?
I'm maintaining a platform that lets connected accounts deposit money into their Treasury Financial account.
@pearl rivet pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am building a platform using Stripe Connect and the first partner is launching with a discount code that adjusts the price for monthly fees by 40% and annual fees by 25%.
However, I am really struggling with this concept with Stripe Connect as the functionality appears to be quite limited.
Doc/Guide Links
Seen all of the Stripe Connect docs regarding managing discounts and there's nothing in the Admin dashboard to handle this pricing scheme.
What are you working on?
A webapp that has many franchisees all writing content for paid subscriptions.
@sage karma pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
{
"billing_address_collection": "required",
"mode": "setup",
"success_url": "http://localhost:3000/",
"automatic_tax": {
"enabled": "true"
},
"currency": "USD",
"customer": "######"
}
ERROR
You cannot set automatic_tax[enabled]=true in setup mode.
Question
We’re a SaaS subscription-based app with a free trial. Sending users to Checkout caused huge churn, so we now create customer and subscriptions (subs) for the trial in the backend. We don't have an address, so the sub has auto-tax disabled. After trials end/pause, how do we create a checkout session (or similar API) and: pass the existing sub to it; require an address; update the existing sub to use auto-tax; and require the user to enter a payment method; from within Stripe?
What have you already attempted?
- Seeking parameters for Checkout Session in subscription mode to pass existing subscription ID rather than create a new sub
- Creating Checkout Session in setup mode: can require address and payment method, but doesn't apply auto tax to the current charge, just the next.
- Sending users to Billing Portal: can’t required address, so creating two separate billing portal instances, one to get the address, then back to our app, then back to Stripe for payment
(no room for docs)
What are you working on?
A SaaS subscription app that is live and in market. We now are responding to analytics and user feedback and trying to improve the onboarding experience
@iron jungle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am looking to build an intergration using Stripe Connect, but I would like to clarify how chargebacks and disputes work when a child account is responsible for the dispute/chargeback.
I just want to insure that my account that used to connect with will not be responsible for any fees, but I would assume the charge back and money involved would be pulled from my account aside from any fees that were applied to the transaction by my stripe account
Related Request ID(s)
Don't have any ID's
What have you already attempted?
I've looked through the docs but was unable to find anything to confirm what I can expect in terms of stripe connected accounts
What are you working on?
I am building a platform that other users would connect their stripe accounts to process their payments
@mint sapphire pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
Unable to reset password because this account does not use a password to sign in.
Question
i don’t have access to my account
What have you already attempted?
I’ve tried to reset my password and this won’t work
What are you working on?
I need to log into my account
@foggy bolt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi. I have a problem where I want to update an existing phase of a subscription schedule. I do not understand how can I update the phase when the phase itself does not have an ID.
Related Request ID(s)
req_nMwoErKAkH8aLG
What have you already attempted?
I have attempted to get the phases of the subscription schedule using the stripe.subscriptionSchedule.retrieve function. 3 phases are returned but none of them have an ID . What do I pass to the stripe.subscriptionSchedule.update function ?
What are you working on?
E-Commerce platform
@molten kettle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is there a way to prevent customers who have outstanding invoices from starting a new subscription?
I'm using Stripe Checkout.
Doc/Guide Links
Fraud documentation indicate how to block credit cards or emails.
What are you working on?
Pipedream
@bold jewel pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
paymentMethod.attach(ImmutableMap.of(
"customer", customer.getId()
));
Map<String, Object> params = Maps.newHashMap();
params.put("invoice_settings", ImmutableMap.of(
"default_payment_method", billingInfo.getPaymentMethodId()
));
customer.update(params);
Question
I'm having trouble attaching a test payment method (such as pm_card_mastercard_debit) to a customer. I get the following error using the java SDK:
com.stripe.exception.invalidrequestexception: the customer does not have a payment method with the id pm_1pctvebd8bgo2hjilxvtrohy. the payment method must be attached to the customer.; request-id: req_fcg0in6w8tkvd0
What have you already attempted?
I'm trying to get our existing api to update a customer's billing info with a new payment method to work with test payment method ids so we can fix our automated tests that broke when you guys stopped allowing automated tests to use the payment element to set up a payment method.
What are you working on?
making things testable again
@ripe ibex pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is it a good idea to have a form on my Webflow site that collects billing details and creates a subscription using the Stripe API with JavaScript?
Right now, I don't have a backend for my website; I'm just using Webflow with Stripe's hosted checkout. However, this setup is pretty limited when it comes to customization.
Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment/web/compare-integrations
What are you working on?
I want to personalize my checkout by switching from Hosted Checkout to something integrated into my own website.
@last token pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm currently using the CLI to resubmit some webhooks for testing. Regardless of whether or not I pass in the version on resend, it doesn't give me the one I'm looking for
Related Event ID(s)
evt_1PctagJZ7tosECMgEaQgTc8w
What have you already attempted?
I've tried setting "latest" which is too late of a version and tried my default with is too early of a version
What are you working on?
Internal logic with metadata.
@shrewd crater pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
Request req_X2JUMM88SLEGcp: This account requires further intervention to perform certain actions. Stripe will have recently reached out to resolve this, but if you require further assistance please contact us via https://support.stripe.com/contact
Question
I am getting when creating an Instant Payout? what can it be?
What have you already attempted?
I tried creating new testing external accounts and deleting old ones
What are you working on?
Instan Payouts
@remote marten pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<stripe-pricing-table
pricing-table-id=""
publishable-key=""
class="stripe-table"
client-reference-id="{uid}"
/>
Question
I'm trying to make it so the client ID in stripe is the same as the user uid in firebase
What have you already attempted?
I have used the client-reference-id="{}" componentit seems to be recieving the value correctly but I can't find said uid in the stripe dashboard
What are you working on?
It's an web app for a mapping service
@sinful igloo pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Trying to understand some of the intricacies of proration behavior on subscriptions when updating the subscription.
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/prorations
What are you working on?
SAAS
@honest iris pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I think I need to change my webhook endpoint. Can you help me with that?
Related Event ID(s)
n/a, not sure
What have you already attempted?
I have gone to "webhooks" and it is showing this url: https://tsh.befoundclients.com/mepr/notify/sam1qy-14d/whk.
tsh.befoundclients.com is the development website that I set up, but the website is now live.
Can I simply change tsh.befounclients.com to the live domain of texassocietyofhomeopathy.com?
Thank you for your help.
What are you working on?
e-commerce functionality
Tracking and viewing Activity stats requires the Data+ upgrade.
@jolly tinsel pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I do pre-paid plans, 12 months validity. I have a query to find users who haven't renewed for another year 3 months after their expiration date. I want to e-mail them with a discount code.
If I make one single discount code valid forever then it'll circulate everywhere so it needs to be unique to the day/week or the user.
Best way to do this? Not sure if I should use the API and make like 300k discount codes in Stripes database :-)
Doc/Guide Links
https://docs.stripe.com/api/coupons
What are you working on?
SaaS app
@hollow roost pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
this.disabled = true;
confirm_transaction_submission_notice.textContent = 'Paying ' + amount.value + '...';
confirm = await stripe.confirmPayment(confirm_params);
if (confirm.error) {
this.disabled = false;
confirm_transaction_submission_notice.textContent = '';
}
Question
In my JS+HTML client a "Pay Now" button calls confirmPayment() after the user has entered his card details into an elements instance. I want this to disable page controls and show a "Processing..." message, but only if the Stripe form is actually going to try and process the payment. If the form just ends up telling the user that the card number wasn't filled in or something like that, then this message flashes on and off, and looks goofy.
What have you already attempted?
I've checked the docs to see if there's a callback I can install to run only after the initial data entry checks have run and the Stripe form is about to try and process the payment, but I didn't see anything like that. If I could show my "Processing..." message only when Stripe is about to interact with the banking network, that might give me what I'm looking for.
@gaunt seal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm creating an integration where I take payment for an invoice. My flow is as follows: create a customer -> create an invoice and add items but do not finalize. I then create a payment intent using the customer ID and amount as arguments and take a payment using the payment element. I then finalize the invoice. Is there a way to apply that payment to the open invoice?
Related Request ID(s)
cus_QTt37Rk0gyIXaG
What have you already attempted?
https://docs.stripe.com/api/invoices/create
What are you working on?
Payment flow for invoiced items
@dusk zephyr pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay?platform=web
Question
I have followed this guide and my domains are verified and my test users do have Apple Pay wallets set up but they do not see the option to pay with Apple Pay. Is there an extra step not mentioned in the documentation?
What have you already attempted?
I have followed the guide and searched Google
@compact rose pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<Elements
stripe={stripeObject}
options={{
paymentMethodOrder: ['apple_pay', 'google_pay'],
clientSecret: paymentClientSecret?.secret ?? undefined,
loader: 'always',
}}>
{children}
</Elements>
Question
Does @stripe/react-stripe-js support the `paymentMethodOrder` field?
What have you already attempted?
Typescript is telling me that it's not a valid field & when I set it, nothing happens. I'm using the most recent versions:
"@stripe/react-stripe-js": "2.7.3",
"@stripe/stripe-js": "4.1.0",
@stark whale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I get this error:
The account referenced in the 'destination' parameter is missing the required capabilities: transfers or legacy_payments are required on the 'destination' account.
Related Request ID(s)
req_sKlaS3Cc9rEj4H
What have you already attempted?
I've already onboarded the account but I can pay an invoice to credit it and debit from a cutsomer. I changed capabilities.
What are you working on?
creating an invoice to be paid by customer and to connected express account.
@vale quail pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/issuing/purchases/authorizations?issuing-authorization-type=incremental_authorization#authorization-updates
Question
Can an authorization status go from expired to captured? I am trying to determine how to handle expired authorizations. In the guide it says there is an amount for any remaining possible late captures. What does this mean?
What have you already attempted?
See above
What are you working on?
Card Issuing + Connect
@bronze hedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Our connected accounts have set up accounts in various currencies. One account was set up with a bank account in France (FR) region. We manually transfer money once PaymentIntents succeed. When we did a manual transfer to that connected account, it failed due to : "Funds can't be sent to accounts located in FR when the account is under the full service agreement. To learn more, see ..." I would like to switch accounts to a different service agreement. How do I create a test stripe connected account in our dev environment and link a French bank account? The dashboard only allows USD banks
Related Request ID(s)
Transfer request: req_FNiRBsCv5H0WWV
What have you already attempted?
I have tried going into our stripe connect dashboard in our testing environment; however, I can't find documentation regarding how to create such an account with a EUR bank account associated with it to test against.
What are you working on?
Platform allowing audiences to purchase digital content from artists across the globe.
@meager hinge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I understand that Stripe Tax, which is a paid feature, means that Stripe manages the tax rates for you, rather than you having to set the tax rates by state yourself. Is it possible to query these tax rates via API?
Related Request ID(s)
.
What have you already attempted?
Search document
@molten forge pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am having trouble receiving the posts from the cli, i followed all the steps, the events are generated on the stripe account, i also see the events on the cmd but i dont receive anything on my local nodejs server - after i login i do "stripe listen --forward-to http://localhost:3009/api/stripe/webhook" and then for example: stripe trigger invoice.payment_succeeded, i already tryed removing any firewall and allow requests from anywhere on the nodejs server, i am use the endpoint is right -> api/stripe/webhook -> router.post('/webhook', bodyParser.raw({type: "application/json"}), async (r...
Related Event ID(s)
evt_1Pd10gDXjLAu2JjVdDJDQP3c, evt_3Pd10fDXjLAu2JjV0VLwfFEN
What have you already attempted?
i already tried many differente solutions i saw only, the only one i still didnt try was to use ngrok, i tryed the listen comman with many differente types of examples like:stripe listen --forward-to=http://localhost:3009/api/stripe/webhook --log-level debug
where i get: DEBUG websocket.Client.writePump: Sending ping message
[Tue, 16 Jul 2024 03:32:46 BST] DEBUG websocket.Client.readPump: Received pong message
[Tue, 16 Jul 2024 03:32:48 BST] DEBUG websocket.Client.writePump: Sending ping message
[Tue, 16 Jul 2024 03:32:48 BST] DEBUG websocket.Client.readPump: Received pong message
[Tue, 16 Jul
@sweet tulip pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices
Question
We are currently being charged for invoicing and we would like to turn it off from the dashboard or any other way you have available. Our customers receive both a receipt and an invoice and it provides them with a bad user experience and us with a huge bill.
What have you already attempted?
We attempted to look on the dashboard how to turn it off.
Unfortunately because we work with a third party , they say they cannot do it on their end on the backend. However, the invoice are being created on the backend --- they work with multiple clients :(
What are you working on?
We wonder if we can create a script separate from our backend to turn it off? or could you please do it on your end
@icy bison pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
`POST /v1/subscriptions/xxxx` causes one `customer.subscription.updated`
What actually happened?
it causes two `customer.subscription.updated`
Reproduction Steps
`req_g5PYgg4X7uLVex` causes
`evt_1PXXtvJrgt3ZD9jf91qVeDge`
`evt_1PXXtvJrgt3ZD9jfFdXJVdUe`
Question
Why does one update request cause two update events? Is this normal behavior? Or is it a temporary bug?
What are you working on?
capturing `customer.subscription.updated` and logging history of the subscription in our app.
@vale quail pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/issuing/purchases/transactions#handling-other-transactions
Question
I am trying to clarify the amount value on authorizations, transactions, and disputes.
Is the amount value always positive? and in the case of a transaction that is a 'refund' is the amount istill positive? or will it be negative?
What have you already attempted?
see above - reading all documentation for issuing.
What are you working on?
Connect Issuing.
@rose gyro pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Can you anyone tell how to see rk_live cli API key or use the config live_mode_api_key in export? Or anyother way to see it. I need to use for creating live connect custom account
Related Request ID(s)
Developer
What have you already attempted?
I mistakenly rolled API key, you know it is creating other session token. it is not use full.
What are you working on?
I am going to work on live cli stripe connect , to create an account
@molten phoenix pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
val googlePayButtonConfig = PaymentSheet.GooglePayConfiguration(
environment = PaymentSheet.GooglePayConfiguration.Environment.Test,
countryCode = "GB",
currencyCode = "GBP",
)
val configuration = PaymentSheet.Configuration(
merchantDisplayName = "",
googlePay = googlePayButtonConfig,
defaultBillingDetails = billingDetails
)
paymentSheet.presentWithIntentConfiguration(
intentConfiguration = intentConfi
Question
Gpay is not working for me even with the right config. Tried updating the library and a bunch of other things but alas. We have an already open bug on github with a supported payment ID to check.
https://github.com/stripe/stripe-android/issues/8695
What have you already attempted?
https://github.com/stripe/stripe-android/issues/8695
What are you working on?
A booking app that requires payment at the end which needs Credit card and Gpay
@loud brook pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to add a webhook for updating balance field for customers
Related Event ID(s)
evt_1Pd4T0DWklh8LgDYjFRLZsee
What have you already attempted?
both customer.updated and customer_cash_balance_transaction.created are not working for me
What are you working on?
webhooks for customers
@shut vault pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
const paymentElementOptions = {
hidePostalCode: true,
fields: {
billingDetails: 'never',
},
terms: {
card: 'never',
},
wallets: 'never',
};
<PaymentElement options={paymentElementOptions} />
Question
with the above setup on seeing apple pay card when payment element is rendered.
How to do i disable it by not doing that via the dashboard
What have you already attempted?
wallets: {
applePlay: 'never',
googlePay: 'never',
},
@cold zodiac pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
Its not about coding
Question
What should I write in the Company Website when I don't have any company at all ? Please give me some examples of what I can put there . Stripe is only available by invite for India !
What have you already attempted?
Tried some companies but didn't work !
What are you working on?
Request an invite to use Stripe in India
@eternal sky pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How long can the financial account balance refresh take? My understanding is that Stripe is calling the bank's API to get the account's balance. Is it reasonable to assume that it can take from a couple of seconds to a minute maximum, depending on the bank response?
Related Request ID(s)
https://dashboard.stripe.com/test/events/evt_1Pd5rjHay2F9AX5Vz3AqxIl7
What have you already attempted?
stripe.financialConnections.accounts.refresh but the response is instant in test mode. I have no indication how long this will take in production.
What are you working on?
ach payments with balance check beforehand
@acoustic jungle pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I need a code in VB.NET to receive webhook response in order to know the success payment and then to update my database
Related Event ID(s)
Id webhook: we_1PWCiNDxPcilreCpouINTeVq
What have you already attempted?
My deserialize routine for JSON doesnt work
What are you working on?
Web project with subscriptions
@hidden moss pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I had a question. Why is the status of the payment intent associated with the subscription in a `requires_confirmation` state. How do I instruct the subscription to attempt the payment
Related Request ID(s)
req_bWUY0qd36xz783
What have you already attempted?
NA
What are you working on?
A customer is unable to purchase our product
@rapid solstice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is there any api that returns the connected account's phone number? I tried account's api, but it returns the email id
Related Request ID(s)
req_JI36NeoGAgDlYq
What have you already attempted?
Tried get account api
What are you working on?
I need to send a message to the connected account's phone number whenever there is change in their payout information but I can only see that account's api returns the email id not the phone number
@mental nebula pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I need to create 1 time invoices via API with multiline items
Related Request ID(s)
none
What have you already attempted?
I successfully created in Zapier automation to create 1 time invoices with single line items
@restive crescent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi want to get data from reporting : v1/reporting/report_runs/frr_1xxxxxxxxx
i see how to create a report in the doc, and how to get it, but the result is the file reference. But I would like to receive the data itself, not a file. How can I achieve this ? thank you
Related Request ID(s)
req_Dlfts1X7hTmm1d
What have you already attempted?
Retrieve reporting with v1/reporting/report_runs/frr_1xxxxxxxxx, but it gives me file url, and i want the values of the document itself
What are you working on?
Display balance payment to our customer in our own dashboard
@gloomy kite pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/coupons?dashboard-or-api=api&lang=dotnet#restrictions
Question
can we apply promocode subscription items?
What have you already attempted?
subscriptionItems.Add(new SubscriptionItemOptions { Price = sslPayment.StripePriceId });
var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = customer.Id,
Items = subscriptionItems,
/* Automatically save the payment method to the subscription when the first payment is successful. */
PaymentSettings = customer.InvoiceSettings.DefaultPaymentMethodId == null ? new SubscriptionPaymentSettingsOptions { SaveDefaultPaymentMethod = "on_subscription" } : null,
PaymentBehavior = paymentBehavior,
@open bobcat pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
When doing manual transfers to connect accounts does the delay_days parameter relate to these transfers or if the payout schedule is set to daily is the money sent the next day?
Related Request ID(s)
N/A
What have you already attempted?
looked through the docs and the connect account profile in stripe currently set to "daily - 7 day rolling basis" but the docs seem to refer to payments rather than transfers
What are you working on?
Integrating stripe connect into platform
@glacial glade pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
var accountLink = await this.accountLinkService.CreateAsync(
new AccountLinkCreateOptions {
Account = stripeAccount.StripeAccountId.Id,
RefreshUrl = this.Url.Action("SignUpRefresh", "Accounts", null, this.Request.Scheme),
ReturnUrl = this.Url.Action("SignUpReturn", "Accounts", null, this.Request.Scheme),
Type = "account_onboarding"
Question
We have a customer with an existing Stripe account. We're trying to use Connect to connect them to our Stripe account. When they follow the link and log in it seems to be taking them through a "create new account" type flow as opposed to a "link existing account" flow. Can you help?
What have you already attempted?
I've followed the docs but they don't contain much guidance on connecting existing accounts.
@pure mirage pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi,
I need to be able to check, from our frontend code, the payment methods that will be available to the user when the PaymentElement is rendered. This is so we can avoid rendering the PaymentElement when there is no available payment method (we have other methods outside Stripe as well), but also, to have the ability to show, on our own, icons for some of the payment methods that the PaymentElement will show. Is there any API we can leverage to get this information before rendering the PaymentElement? Or any frontend component that would help?
Related Request ID(s)
I don't know what this is about, sorry.
What have you already attempted?
- I looked for an API that may suit these needs. I initially thought this would work: https://docs.stripe.com/api/payment_methods/customer_list, but it retrieves specific payment methods for a given customer, not the ones that would be available via PaymentElement.
- I explored the possibility of first rendering a PaymentElement, then getting this information from the PaymentElement itself. I found no way to do it.
What are you working on?
A custom checkout page including Stripe payment methods.
@brisk nymph pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How to differentiate `charge.failed` was triggered by stripe or manually tried to charge the user via the dashboard
Related Event ID(s)
evt_3PbNoEEhHWWFzWaM1vy4zZrT
What have you already attempted?
N/A
@acoustic jungle pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I need a code in VB.NET to receive webhook response in order to know the success payment and then to update my database
Related Event ID(s)
https://dashboard.stripe.com/events/evt_3PXQo1DxPcilreCp0Vq4NMSb
What have you already attempted?
I need VB.NET code example to read JSON received
@fair fable pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
When using a restricted key to update a `Person` in test mode, I get an error "The provided key 'rk_test_*********************************************************************************************V9SeCt' does not have the required permissions for this endpoint on account 'acct_....'. This is a restricted API key, but the required permissions are not available for use by restricted keys."
Does that mean that restricted keys cannot be used for this request?
Related Request ID(s)
req_xyvDj2iIhUi1vS
What have you already attempted?
Assigning all connect write permissions on the restricted key
What are you working on?
Issuing cards for 150k persons in France.
@gleaming void pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/connect/standard-accounts#create-account
Question
How can I get company information after Connected account linking?
What have you already attempted?
When we create account using API, we can setup company address. But after using Account link, we are not able to get company information at all.
@latent lantern pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hey, we are creating a reservation platform and in addition to single payments with payment intents we want to support splitting the price between other users.
The scenario is that a user X will make the reservation and select users Y & Z to share the payment. Happy day scenario is that the resevation price is 30€ and they each pay 10€ before the reservation starts. However if the user Y does not pay we want to execute the remaining 10€ from the original reserver X. We would also like to make sure that the user X has the total amount of the reservation on his bank account if possible. So what would be the best practise way to achieve this?
Doc/Guide Links
https://docs.stripe.com/payments/payment-intents
What are you working on?
Reservation platform
@white kestrel pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hello, if I make a transaction that takes 7 days for the funds clear, is there a way I can receive a webhook event when these funds become available in my account's balance? I want to use this to enable displaying of this information on my frontend.
Related Event ID(s)
evt_1PcrxtGQsGT4rfE8hKMwqLpq
What have you already attempted?
I can get balance manually be creating a query to the API, but I want to be notified via webhook when a certain transaction funds are cleared/settled.
What are you working on?
Content marketplace that uses Connected accounts for content creators in many countries.
@molten phoenix pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
val googlePayButtonConfig = PaymentSheet.GooglePayConfiguration(
environment = PaymentSheet.GooglePayConfiguration.Environment.valueOf(BuildConfig.GOOGLE_PAY_ENV),
countryCode = "GB",
currencyCode = "GBP",
)
val configuration = PaymentSheet.Configuration(
merchantDisplayName = "LTA",
googlePay = googlePayButtonConfig,
defaultBillingDetails = billingDetails
)
p
Question
Based on the last 2 threads I had with the support here. If the Gpay won't show on Test mode but it's visible in Production what could be the potential issue ?
What have you already attempted?
Went over so many things with the support here in 2 different Threads and github. Finally tried to see it in production and it's showing the Gpay button there...
What are you working on?
A booking app that requires payment at the end which needs Credit card and Gpay
@brisk nymph pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How to differentiate `charge.failed` was triggered by stripe or manually tried to charge the user via the dashboard for subscription
Related Event ID(s)
evt_3PbNoEEhHWWFzWaM1vy4zZrT
What have you already attempted?
N/A
@mellow sentinel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to understand if a Google Pay charge has been made with a DPAN or not.
I am retrieving the latest_charge on my payment intent and looking at the payment_method_details.card.wallet object.
Related Request ID(s)
req_8t0LjBRVM2JjS0
What have you already attempted?
I am finding that a dynamic_last4 is being set even on cards that are not added into Google Wallet on a mobile device. In these cases, the dynamic last 4 is the same as the last 4 of the FPAN. Is there some other field I am missing that can tell me what sort of card token is being used by the mobile wallet?
@rocky wharf pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
const payInvoice = async (
invoice_id,
payment_method_id,
stripe_connect_account_id
) => {
try {
console.log("Starting payInvoice with invoice ID:", invoice_id);
// Pay the invoice with the specified payment method
const invoice = await stripe.invoices.pay\(
invoice\_id,
{
payment\_method\: payment\_method\_id,
},
{
stripeAccount\: stripe\_connect\_account\_id,
}
\);
console.log\("Invoice paid successfully\:", inv
Question
When the invoice is paid! i updated my database! but it seems the invoice object that return by calling pay it returning invoice status open not paid and if i go to stripe hosted url it showing paid!
What have you already attempted?
i tried to fetch the invoice again after .pay! but still the same issues!
@obtuse quarry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to retrieve disputes by stripe.disputes.list but order them by created date, so get the from a specific date
Related Request ID(s)
none
What have you already attempted?
Don't have args.
What are you working on?
Personal project
@rocky stirrup pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
import { loadStripe } from '@stripe/stripe-js';
export default {
data() {
return {
stripe: null,
};
},
async mounted() {
try {
this.stripe = await loadStripe('pk_test_51Oo0SECOnyx24eM7tA6K5TqqeXNHcMKhEWvrKbUBJlHiGNUi2EWeWbkxJvShsPa4U0NmpwUBb8YmHeZFsByF0IqG009dc9LpaP');
console.log('Stripe loaded:', this.stripe); // Verify Stripe object
} catch (error) {
console.error('Error loading Stripe:', error);
}
},
methods: {
as
Question
I am using vueJs to Show balance information of stripe customer in frontend.. i have your_publishable_key and clientSecret.. but i coundn't get any details and got error.. how to implement it.. do you have any other code
What have you already attempted?
I have referred and this link
https://docs.stripe.com/connect/supported-embedded-components/balances
@cedar knot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Getting "You can not update a phase that has already ended. Trying to update phase 0." when trying to update second phase.
Related Request ID(s)
None
What have you already attempted?
I am trying the update the second phase' end_date but I am getting this error "You can not update a phase that has already ended. Trying to update phase 0.". I am passing the first phase as it is without any changes.
What are you working on?
Hotel Reservation
@tribal quiver pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
params := &stripe.SubscriptionListParams{
Customer: stripe.String("cus_QN1Yqaa8sgeU1n"),
Status: stripe.String("all"),
ListParams: stripe.ListParams{
Limit: stripe.Int64(5),
},
}
iter := subscription.List(params)
var lastSubId string = ""
for {
if !iter.Next() {
break
}
sub := iter.Current().(*stripe.Subscription)
lastSubId = sub.ID
}
params.StartingAfter = &lastSubId
iter = subscription.List(params)
Question
why the second list returns an empty list? the customer has more than 5 subscriptions.
What have you already attempted?
i write the code as the api reference. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.
@glacial igloo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am doing a Product search using Query API, names match exactly but the product is not found, double checked the active and name as well.
Related Request ID(s)
Couldnt find the ID, followed the guide
What have you already attempted?
```go
params_ := &stripe.ProductSearchParams{
SearchParams: stripe.SearchParams{
Query: fmt.Sprintf("name:'%s' AND active:'true'", pkg.Naam),
Limit: stripe.Int64(1),
},
}
products := globals.StripeClient.Products.Search(params_).
ProductSearchResult().
Data
```
What are you working on?
Go API client - Checkout session creation
@lucid zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to offer the customer one month plus one month free subscription.
I have setup a price that's recurring on monthly basis. I need to built a functionality where user purchases for one month, And user gets additional one month free.
Free trial will not work in this case, Since free trials are charged when the trial ends and the subscription starts.
Related Request ID(s)
One month plus one month free
What have you already attempted?
I am thinking i could create phases. For first phase business as usual, For second phase i could apply a 100% off discount for first month.
The problem with this approach is, I have numerous types of subscription with numerous price recurrencies. Creating coupons this way is not a scalable approach
What are you working on?
Subscription Service
@random crest pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I received cash_balance.funds_available webhook event with available amount 0.
What does that means ?
If the balance is 0, why am I receiving this event ?
Related Event ID(s)
.
What have you already attempted?
I have created a payment intent.
Paid it partially.
Changed the payment intent to match the partially paid amount and confirmed the payment intent.
Now the payment intent is success.
In the process of above scenarios I received 0 funds available event which is bit confusing.
Event : evt_1PdA0cCwXI9yfnGagxp6JwhK
@ember perch pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
public async Task<IActionResult> CreateUser()
{
// Create a new standard connected account.
var accountOptions = new AccountCreateOptions
{
Type = "standard",
};
var accountService = new AccountService();
var account = accountService.Create(accountOptions);
// Create a new account link to onboard the new account.
var options = new AccountLinkCreateOptions
{
Account = account.Id,
RefreshUrl = "http://localhos
Question
When im redirecting user to that link, user cant create account, but only login
What have you already attempted?
If i need to fill some data(email) for creating connected account account and then onboard it, i still need a password. So how can user create an account using stripe UI, and on the same time providing data that he wrote to my API
What are you working on?
Company -> platform -> customer
@glacial glade pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We have connected an existing Stripe account via OAuth to our Connect account in live mode. When we create test transactions against that account I can see those events in the developer logs (in test mode) but the webhooks are being sent via non-test mode. This seems very wrong!
Related Event ID(s)
evt_3PdAN6Bwx1emPnYl1uEs8wwQ
What have you already attempted?
This is a follow on to an earlier thread today regarding getting existing Standard accounts connected via OAuth
Example payment intent id: req_Lql5swGWht9HYL
Following webhook id: evt_3PdAN6Bwx1emPnYl1LpkqOtE
What are you working on?
This is a Stripe Connect application where we've connected in live mode over OAuth
@light shell pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
One of our connect accounts was recently rejected
Question
The rejected connect account told us we had to contact support to resolve
What have you already attempted?
We attempted to contacting support by clicking link, but were confused as to which support avenue is best practice for resolving
@lime bear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We are finding that users with Link wallets are being given Link as an option on payment elements. We do not want that at this time. I see you can `disableLink` when creating a card element, but there seems to be no such flag for payment elements. How do we prevent Link from being presented as an option in payment elements?
Related Request ID(s)
could not find a log entry
What have you already attempted?
if (creditCardsOnly) {
elementsGroupOptions.payment_method_types = [
'card'
];
paymentElementOptions.wallets = {
applePay\: 'never',
googlePay\: 'never'
}
}
stripeFormState.elements = stripeFormState.stripe.elements\(elementsGroupOptions\);
const paymentElement = stripeFormState.elements.create\('payment', paymentElementOptions\);
What are you working on?
merchant in AU
@silver gorge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
MasterCard and some banque won't allow PaymentIntent with saved card (3DS) how can I solve this?
Related Request ID(s)
req_U8Cj0PfB5QTOEy,req_l8p7QkCDiEt7l9,req_PbFc84gmigsuVg,req_cMHrrYwOhDbAXy,req_OABiSSyRSjiWLG
What have you already attempted?
We register the card with everything has written in Stripe. It works with most of the bank in France that use 3DS but for some reasons some bank won't allow 3DS even after being saved with 3DS.
What are you working on?
A fleet management system where you can rent electric bike and scooters
@broken plover pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
const elements = stripe.elements({
captureMethod: 'manual',
mode: 'payment',
amount: 100,
currency: 'usd',
appearance,
})
const expressCheckoutElement = elements.create(
'expressCheckout',
expressCheckoutOptions
)
expressCheckoutElement.mount('#ece');
expressCheckoutElement.on('click', function(event) {
//I need to update the amount here...
}
Question
How to update the checkout express element - amount dynamically
What have you already attempted?
var expressCheckoutElement = elements.getElement('expressCheckout');
console.log(expressCheckoutElement);
expressCheckoutElement.update({
amount: 256,
});
What are you working on?
payment system
@distant sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
React PaymentElement not displaying a customers cards they have added to their account. Am I using the wrong element?
Related Request ID(s)
N/A
What have you already attempted?
From what I understand from the docs, the react PaymentElement should display a customers already saved payment methods, similar to how it works on your react native implementation. I have seup_intent_future usage, allow_automatic_payment_methods etc. implemented, but still the user has to add a new card every time they get to our payment screen. Any help would be appreciated as feeling a little lost.
What are you working on?
Refactoring our web and native payment implementation to use the PaymentElement as reccommended by stripe
@gray nexus pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
return PaymentIntent::create([
'confirm' => true,
'confirmation_method' => 'manual',
'return_url' => url(self::SUCCESS_URL),
'currency' => strtolower(env('CURRENCY_CODE')),
'amount' => $this->paymentData->getTotal() * 100,
'payment_method' => 'sofort',
'payment_method_types' => ['sofort'],
'payment_method_options' => [
'sofort' => ['preferred_language' => 'DE']
Question
Hey There, I'm currently trying to implement PaymentIntents for the Payment Method Sofort with Laravel.
I constantly get the following error message:
No such PaymentMethod: 'sofort'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs/connect/authentication
What have you already attempted?
checking payment method configuration in stripe account, tried to alter parameters for payment intent
What are you working on?
I'm trying to implement PaymentIntents for the Payment Method Sofort
@teal schooner pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
For iOS keyboard to become visible upon tapping on any input field, such that customers can enter their card number, password etc
What actually happened?
For certain mobile / tablet iOS devices, it was not possible to type in specific fields: card number, csv number, expiry and password.
Reproduction Steps
With these specific iOS devices, attempt to enter info into the card number, csv, etc fields. however the innate iOS keyboard did not appear when tapped. additionally, a separate user had this same issue when trying to connect their stripe account (connect.stripe.com). they were unable to enter their password
Question
is this a current known bug with stripe, or to do with certain out-dated iOS versions?
What are you working on?
campsites.co.uk. We use stripe/react-stripe-js to handle booking payment information
@calm forum pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We are an online bank that provide banking services to our users using connected accounts and treasury.
I'm building an invoice feature using Stripe invoices currently.
What I want to achieve:
Someone who has an account with us can create invoices for their clients. They can send it out to their email and allow them to pay using any allowed payment method by Stripe. All of that I already have implemented and is working great.
The issue is now with the paid amount. My plan was to listen to payment_intent.succeeded or invoice.paid events to create a payout to the users financial account as soon the invoice is paid. Problem is funds are only available 2 days later afaik?
Doc/Guide Links
https://docs.stripe.com/api/payouts/create
What are you working on?
Online bank
@lilac robin pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
const initializePaymentSheet = async () => {
if (!clientSecret) return;
const { error } = await initPaymentSheet\({
paymentIntentClientSecret\: clientSecret,
returnURL\: "your\-app\-scheme\://payment\-sheet",
allowsDelayedPaymentMethods\: true,
}\);
Question
React-Native Stripe Subscription: How do I activate/complete the subscription that I created with my initialised payment sheet?
What have you already attempted?
I create a customer, I create a subscription with these fields: payment_behavior: "default_incomplete",
expand: ["latest_invoice.payment_intent"],
Then I initialise the payment sheet, and when I fill in the details and confirm the purchase, I have just made a one off purchase and not activated the subscription.
What are you working on?
I am building an app with the ability to purchase subscription to a physical dispenser
@tulip fox pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How to change the invoice being sent to the customer to the Connected Account's invoice instead of ours?
Related Request ID(s)
pi_3PdCAXKv7b3gp5h40jahFqx2
What have you already attempted?
using on_behalf_of
What are you working on?
Payment solution for taxis
@neat fjord pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
customer email show on the report
What actually happened?
when I run a payment report via dashboard only some of the customer email field are populated on the result report
Reproduction Steps
Export payment from the dashboard and select customer email as a filed
Question
why this happening? I have already checked if the users are gust or no, this happens totally randomly.
I collect the same user data during the checkout form and every customer have the email recorded on them (I have already checked the customer ID.)
What are you working on?
I am currently testing and not building anything
@novel geyser pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
I have used Stripe Issuing to issue some cards. They will be used for fuel purchases. I want to use the purchase_details object on a Transaction in order to track gas price, gallons purchased, etc.
What actually happened?
We've made a bunch of transactions at different gas stations and I don't see any L2/L3 data in the purchase_details object.
Reproduction Steps
NA - make a gas purchase in Illinois
Question
1) There isn't any setup/config that we have to do on our account in order to see this data, correct? I've looked through the docs and couldn't find anything..
2) Do you have any sense/data of why or how often this L2/L3 data comes through? Is it dependent on the merchant or POS-specific?
Any other details regarding this subject would be helpful.
Thanks
@glacial igloo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is it possible to embed a Stripe sort of Dashboard into the dashboard of my own platform. For example in my customer dashboard to have all CRUD for Products/Invoices etc. I dont want to use the Stripe API to indirectly do this, i just want an embed? Is that possible, cannot find anything in docs
Related Request ID(s)
none
What have you already attempted?
google
@hexed moss pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
I expected the Express Checkout and Payment elements to always detect Google Pay in the same circumstances.
What actually happened?
If I use the iPhone XR in the Chrome inspector device toolbar, the Express Checkout element does not detect Google Pay, but the Payment element does.
Reproduction Steps
Use the iPhone XR in the Chrome inspector device toolbar with Express Checkout and then with Payment.
Question
I render both components on the same page, allowing users to toggle between the two. We prefer the design of the Express Checkout element. I was going to disable Google Pay on Payment, but I found this situation where Google Pay is available in Express Checkout but not Payment. Are there "real" situations like that I should account for, or is it just in the inspector
What are you working on?
neighbor.com
@cursive kelp pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
I expected to see Brazil listed as an option in the country/region selection for payment when subscribing to the Pro plan.
What actually happened?
Brazil was not present in the list of countries/regions available for selection. Surprisingly, countries like Antarctica, Burkina Faso, Haiti, and various others were included, but Brazil was absent.
Reproduction Steps
- Navigate to the "Subscribe to Pro plan" page
- Click on the "Country or region" dropdown menu
- Scroll through the list of available countries
Question
Is there a specific reason why Brazil has been excluded from the payment country options? Given that less populous or economically smaller countries are included, it seems unusual for Brazil to be omitted. Could this be an oversight, or is there a particular rationale behind this decision?
What are you working on?
Investigating Brazil's absence from Stribe's payment country options.
@rocky wharf pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
It's more general question for testing
Question
When making a payment with a bank, it may take some time to process the transaction. There's a possibility that the payment could fail after 2-3 days. Is there a way I could test this scenario? I am using Stripe Payment Element for setup intent to save users' bank payment methods for future use. I want to test how my app handles a failed charge. Is there a way to mimic a bank account processing failure?
What have you already attempted?
I don't know where to start! did some digging on the docs
@flint tapir pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
Using test clock I am trying to advance to a date after April 28, 2025.
What actually happened?
Whenever I am advancing my test clock and I want it after April 28, 2025. The test clock would not go further than said date. I would see the clock status as advancing, but it would not go past this date. This has happened to 3 of our test clocks.
Reproduction Steps
Call Advance test clock API -> set time to be 1752703380 (July 2025) -> Call is successful but the clock is not advancing.
Question
Is there a reason test clock is not advancing past a certain time?
@thorn holly pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
I tried pasting the Index.html file in; This is my file path : /Users/amaankhan/Desktop/Project_Stripe
│
├── public
│ ├── checkout.html
│ ├── return.html
│ ├── style.css
│ ├── checkout.js
│ ├── return.js
│ ├── checkout.php
│ ├── status.php
│ ├── secrets.php
│ ├── index.html
│ ├── package.json
│ └── node_modules
│
├── vendor
│ └── autoload.php
│
├── .env
├── composer.json
├── composer.lock
├── node_modules
├── package.json
├── package-lock.json
|── read
Question
I have followed the steps stated here : https://docs.stripe.com/checkout/embedded/quickstart , And in browser's console i get this error :
27 Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
,but still couldn't fix the problem. Codes are all ready and I think there are just few adjustments need to be done regarding file path and adding the correct Index.html. file in public folder. Rest you guys know the best. Please help.
What have you already attempted?
I have been trying to create Stripe Embedded Form, But can't achieve the desired result. I have checked the codes and there are no such errors. There was 1 error that stated that my API keys are older so I rolled It and pasted the new one. But still can't open the Embedded Form on server.
What are you working on?
Stripe Embedded Form
@north pagoda pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
As I understand from the docs, when we set auto_advance=true for invoices, the invoices remain in draft state for an hour and then get finalized.
This didn't happen for us in case of invoices that were attached to a cancelled subscription.
Related Request ID(s)
NA
What have you already attempted?
Read the docs, tried the API
@novel geyser pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
Migrating our fuel card purchases from Wex to Stripe Issuing. Expected all transaction L2/L3 data that is available in Wex platform to also be available in Stripe Issuing Transactions (purchase_details.fuel)
What actually happened?
We have done a dozen fuel purchases from the same gas stations we use with our Wex card, however, we cannot see the fuel type, unit, quantity, etc. I am using the expand param correctly and can see a null object for purchase_details.fuel
Reproduction Steps
Make a fuel purchase with both a Wex and Stripe Issuing card and look at the data export for both.
Question
I have searched the docs, but I cannot find any information on different account types, or configs, or anything that we can change in order to signal we want to receive this information. Do some merchants only provide this data upon request? Maybe Wex is actively requesting this data and Stripe Issuing only receives if the merchant proactively sends it? idk
@brave flax pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
Renderings of Payment Element to have the exact same UX across my local machines and CI servers running automated e2e tests
What actually happened?
Some instances allow users to save payment method for future use (via Stripe Link) by ticking a checkbox, while some other instance don't have the checkbox and simply mention that the following fields are optional. Looks like Stripe is running some A/B testing in that area
Reproduction Steps
Render Payment Element on different machines / IP addresses and see the change in behavior.
Question
Is it possible to opt out of these changes in behavior (A/B tests?) at the account level, so we have some predictability in CI environments?
@vale quail pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/events/types#event_types-issuing_transaction.updated
Question
What scenario would trigger a issuing transaction updated event? One the transaction is created why would it get updated?
A refund would create a new transaction - not update the original transaction, is this right?
https://docs.stripe.com/issuing/purchases/transactions?issuing-capture-type=refunds#handling-other-transactions
What have you already attempted?
Reading Issuing + Connect docs
What are you working on?
Connect + Issuing
@thorn lotus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We have 2 different bank accounts that we control and use as part of the standard operations of our businesses. We're able to manually transfer funds between those accounts, but we're getting to the point where this is no longer scalable and would like to automate it. Part of that automation requires the use of an API to initiate the transfer of funds.
Which Stripe API is best to use in order to handle ACH/Wire funds flows between bank accounts that we operate and control?
Related Request ID(s)
N/A
What have you already attempted?
Stripe Connect
What are you working on?
Operations for internal funds flows
@tulip cipher pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Reference - https://docs.stripe.com/billing/subscriptions/usage-based-legacy/migration-guide
When will usage-records be deprecated in production?
This is critical for our business.
Related Request ID(s)
NA
What have you already attempted?
NA
@rocky wharf pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
I am just trying to undersatnd how to handle the following situation better before coding it! I don't have any code right now!
Question
If an invoice payment fails later, such as with an ACH debit, it might decline after 1 or 2 days. If it fails, will Stripe automatically attempt to charge the invoice again?
I have a few questions about attempt_count and status management:
- Statuses to Monitor: What specific statuses should be monitored? For instance, if an invoice fails, it should have something like "failed" or "attention"? When re-attempting the charge, what should the status be, and how can we consisten
What have you already attempted?
I read some docs on webhooks and invoice objects
@ember perch pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
public async Task<IActionResult> AccountUpdateUI()
{
// Create a new account link to onboard the new account.
var options = new AccountLinkCreateOptions
{
Account = "acct\_1PdApKRqxKn0Dz1z",
RefreshUrl = "http://localhost:4242/onboard-user/refresh",
ReturnUrl = "http://localhost:4242/success.html",
Type = "account\_update",
};
var service = new AccountLinkService\(\);
var accountLink = service.Create\(options\)
Question
I want to redirect user to stripe data edit page, but receive this error: req_JA4ZomdV88mADi
"You cannot create account_update type Account Links for this account. Valid types for this account are ["account_onboarding"]."
What have you already attempted?
I tried to redirect existed account but caught this error req_JA4ZomdV88mADi
What are you working on?
Customer -> platform -> seller
@thorn lotus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We have 2 different bank accounts that we control and use as part of the standard operations of our businesses. We're able to manually transfer funds between those accounts, but we're getting to the point where this is no longer scalable and would like to automate it. Part of that automation requires the use of an API to initiate the transfer of funds.
Which Stripe API is best to use in order to handle ACH/Wire funds flows between bank accounts that we operate and control?
Related Request ID(s)
1163605230546587668
What have you already attempted?
Stripe Connect
What are you working on?
Operations for internal funds flows
@candid slate pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Are there any test utilities or best practices to speed up the development cycle when integrating Payouts?
Related Request ID(s)
No ids
What have you already attempted?
We are developing a QA plan around our Payouts integration, but we were informed that all Payouts will resolve with T+7 availability in test mode. As we understand it, this means our dev cycle will take a week for each change, which isn't viable considering the edge cases and complexity we need to account for.
Are there any test tools that let us specify an available_on date or hasten the payouts process? Is it possible we are approaching this incorrectly?
@rich wind pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is there a way to get all Payment Methods that does not involve looping over all Customers and retrieving all of their Payment Methods?
Related Request ID(s)
N/A
What have you already attempted?
Listing all payment methods - This returns an empty array
The only way that I can successfully get all payment methods is to first list all customers, then for each customer get all of their payment methods by passing the customer id to the List PaymentMethods API
What are you working on?
Script to migrate from Sources into Payment Methods which retrieves all payment methods that were migrated from sources
@wild kernel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm trying to integrate Link with my Card Number Element in React.js. It is working on Windows / Chrome in dev, preview & production for both desktop & mobile views. However, for MacOS Safari / iOS Safari, it works in dev / preview, but it's not showing up in production. I have no idea why and I need help please! Thank you
Related Request ID(s)
N/A
What have you already attempted?
I've gone through the Stripe documentation for Link and for CardNumberElement. I'm utterly confused because it's just Production on MacOS/iOS
What are you working on?
eCommerce website
@jagged plume pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<Elements
stripe={STRIPE_PROMISE}
options={{
clientSecret: paymentIntentClientSecret,
}}>
<AddressElement
options={{
mode: 'billing',
}}
onChange={onChangeAddress}
/>
</Elements>
Question
How to hide name and street name ? I just want to use postal_code, zipcode and country.
What have you already attempted?
I read the document all over and couldn't find a way to do that in AddressElement
@hollow haven pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
head: <script src="https://js.stripe.com/v3/"></script>
body:
<form id="payment-form">
...
<div id="payment-element">
</div>
</form>
script tag:
const stripe = Stripe('pk_test_kCAgJ8Yd2HwPuHiAChlSIyJl');
const options = {
mode\: 'payment',
amount\: 1099,
currency\: 'usd',
};
const elements = stripe.elements\(options\);
const paymentElement = elements.create('payment');
paymentElement.mount('#payment-element')
Question
I have the above code with my own form fields and styling a such (nothing else that should matter too much at load), and I am trying to test apple pay locally, so I spun up an ngrok https tunnel and have added the .well-known stuff and verified the domain, but the Apple pay (and Google pay for that matter) button does not show up as I would expect. There are no errors or anything indicating there is a problem on this ngrok tunnel
What have you already attempted?
I've tried deploying this code and testing on a hosted domain. I read somewhere that in order for the button to show up, your Apple Pay must have a card, so I made sure to add a card on my macbook pro. I've dug through network tab and consoles for errors and can't find anything.
What are you working on?
We have an older implementation that used cards and charges that we had to upgrade to a paymentIntents flow and integrate the Stripe element
@tough kindle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We process payments via both Stripe Checkout and Payment Intents and use promo codes for discounts. For both methods, we validate the promo code before creating the checkout or intent. The issue arises with limited redemption discounts:
For Checkouts, it’s clear how to pass the promo code into the API. However, for Payment Intents, we cannot track and increment the usage of the promo code, either with the Payment Intent API or PromoCode API, to know when it has been fully redeemed.
Is there a way to track the usage of promo codes with Payment Intents, or are we following the wrong process?
Related Request ID(s)
req_5HPvvk30doZqEQ
What have you already attempted?
We currently check the promo code, get the related coupon code discount, and calculate the new price before submitting the payment intent, but limited redemption promo codes are not incremented.
What are you working on?
eCommerce store using React / Next JS, iOS and Android apps, via a Django/Python backend.
@prisma coral pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm getting the following error when confirming a payment intent: "The `setup_future_usage` value on the ConfirmationToken you provided was null. This is determined by the `setupFutureUsage` you provided when creating the `elements` object on your client.
My question is: How can I provide a setupFutureUsage to the elements object? I don't see that option. I'm using React.
Related Request ID(s)
na
What have you already attempted?
I've attempted looking through the documentation to understand how to pass this information, but no luck.
What are you working on?
An online booking platform
@normal osprey pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Payment vs collected fee confusion
Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1P20NYR1ajV4YiEt/profile?tab=overview
What have you already attempted?
Looked at the documentation and verified the ids sent are correct.
@inland apex pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/build-a-two-step-confirmation
Question
Would the following guide work to create an experience where a customer enters their credit card details on one page, and then the customer is able to review their credit card details a few pages later and have the ability to confirm the payment?
What have you already attempted?
I've only read the documentation so far.
What are you working on?
We want the customer to enter their credit card details on Page 1, and to let them review their details and let them confirm their payment on Page 5.
@glacial glade pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
var service = new Stripe.TestHelpers.Terminal.ReaderService();
var reader = await service.PresentPaymentMethodAsync(readerId, null, new RequestOptions { StripeAccount = stripeAccount.StripeAccountId.Id });
Question
I'm trying to simulate a terminal payment using the PresentPaymentMethodAsync method. It's returning the following error:
This simulated reader is not currently processing a transaction
What have you already attempted?
Tried creating a new test reader.
What are you working on?
This is a Stripe Connect application
@mental owl pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We were wondering if there's an element to load saved payment methods on Web? (the equivalent of the ios CustomerSheet)
Related Request ID(s)
n/a
What have you already attempted?
n/a
@stone depot pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Stripe hosted checkout (used for signing up for subscription) is very slow for my app. I've noticed its consistenly and signifigantly slower (by serveral seconds) than in most apps/websites. To be clear, the slow part is when the user clicks pay in the stripe hosted checkout page, so its not on my app side. However, perhaps there's something I can do in the Stripe dashboard or a config setting with the Stripe SDK I can include to make it faster? Happy to jump on a call or share code snippets if that helps. Thank you for your time. About to launch MVP of my app, and don't want to lose potential customers if they get frustrated while trying to set up payment.
Doc/Guide Links
https://docs.stripe.com/checkout/quickstart
What are you working on?
MERN stack app for language learning
@woven mulch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hey there; we're offering a discount of 100% (no cost transaction) for our customers, and we want to collect their credit card info at the same time for later use within our platform.
Got it working, except when I enter the coupon code and it zeroes out the transaction, it doesn't leave the form for the user to enter their credit card info... is this not possible?
Related Request ID(s)
cs_test_b1voPC8TzwmPN9aFImnuF8esFGYrlxFITnNIacdUrgjArtNRNLqD34EzzD
What have you already attempted?
Everything is working except that it doesn't require the payment information.
What are you working on?
We're offering an introductory discount of $10 on a $10 product. Our platform allows parents to book appointments with specialists for their children to see. We need the card for future sessions.
@lunar zodiac pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element
Question
Is it possible to show a disabled Apple Pay button when using the Express Checkout element? So, the Apple Pay button would still show but just be disabled and greyed out?
What have you already attempted?
Looking at docs for this answer
What are you working on?
Stripe integration with Express Checkout element
@wild kernel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm tryin to integrate Link with my Card Number Element in React.js. It is working on Windows / Chrome in dev , preview & production. However, for MacOS Safari / iOS Safari, it works in dev / preview, but it's not showing up in production. I was talking to a previous Stripe helper but the thread closed and I had extra questions.
Related Request ID(s)
#dev-help message
What have you already attempted?
I've gone thru the documentation for Link and CardNumberElement
What are you working on?
eCommerce Website in Next.js/React
@sinful igloo pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is it possible to set a subscription to update at the end of the current period? If a user is downgrading we would prefer to not deal with proration, but rather tell the user they can downgrade when the time on the higher plan has run out.
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/prorations
https://docs.stripe.com/api/invoices/upcoming
https://docs.stripe.com/api/subscriptions/update
What are you working on?
SAAS
@lean cradle pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
I am using Nextjs and I am using Stripejs together with Stripe in Node.js/Expressjs to create the PaymentIntent. I then pass stripePromise together with this intent to nextjs frontend. I get the loading animation for the PaymentElement but it never finishes loading. No errors appear. I get it to work in development but not in production.
What actually happened?
Not really sure, very unique issue which I have not faced before.
Reproduction Steps
Load the payment element on production website (HTTPS)
Question
What is the issue? I get no errors in the console, nor in the creation of the Payment Intent (i.e. backend) so I am not sure where to even start...
What are you working on?
Next.js, Node.js, Express.js
@sage karma pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
PARAMS
{
"billing_address_collection": "required",
"mode": "setup",
"success_url": "http://localhost:3000/",
"automatic_tax": {
"enabled": "true"
},
"currency": "USD",
"customer": "######"
}
ERROR
You cannot set automatic_tax[enabled]=true in setup mode.
Question
We’re a SaaS subscription-based app with a free trial. Sending users to Checkout caused huge churn, so we now create customer and subscriptions \(subs\) for the trial in the backend. We don't have an address, so the sub has auto-tax disabled. After a trial pauses, we have a Checkout Session in setup mode to add a required address and payment. But Stripe charges the card immediately, so we can't enable auto tax on that charge. How can PAUSED subs be updated with auto-tax?
What have you already attempted?
- Seeking parameters for Checkout Session in subscription mode to pass existing subscription ID rather than create a new sub
- Creating Checkout Session in setup mode: can require address and payment method, but if trial already paused, doesn't apply auto-tax to the current charge, just the next.
- Sending users to Billing Portal: can’t require address, so creating two separate billing portal instances, one to get the address, then back to our app, then back to Stripe to pay.
What are you working on?
A SaaS subscription app that is live and in market. We now are responding to analytics and user feedback and trying to improve the onboarding experience
@mental owl pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements#save-payment-methods
Question
CustomerSessionClientSecret is a param used in this guide, but is not defined in the Elements package on React
What have you already attempted?
reviewing the docs
@lavish jacinth pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am integrated with Stripe Checkout solution to collection payments. Does Stripe Checkout supports 3D Secure?
Related Request ID(s)
N/A
What have you already attempted?
This is the payment solution which we already integrated with (https://docs.stripe.com/payments/checkout).
Just want to know if this supports 3D secure. If yes, then how that can be enabled?
@bronze hedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How do I create a test stripe connected account in our dev environment and link a French bank account? The dashboard only allows USD banks. I have asked a similar question in the channel yesterday, however, I was directed to the page describing cross border payouts, but I need help setting up TESTING cross border payouts, specifically creating that European connect account.
Related Request ID(s)
N/A
What have you already attempted?
Creating new stripe connect accounts through the normal stripe connect dashboard we'e added to our website.
What are you working on?
Platform allowing audiences to purchase digital content from artists across the glove.
@exotic venture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Does Stripe have any kind of deprecation policy? In particular, I was wondering about the Charges API. It's currently deprecated. I am sure one day there will be an EOL date.
What I want to know is, *how much lead time will there between announcement of the EOL date and the actual EOL date?*
Related Request ID(s)
req_ixDzHTumrXaU6f
What have you already attempted?
https://docs.stripe.com/libraries/versioning explains backward compatibility and support policy nicely! But I'm looking for any statement which can be made about *lead time* on announced EOLs.
What are you working on?
At Via (ridewithvia.com) we have many multi-interface Stripe integrations and are building more! The new ones are on Payment Intents and will be on Connect soon! One legacy integration is on Charges.
@vale quail pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
I am working on developing stripe issuing with connect in test mode. I have been given access to the stripe issuing components beta and everything works locally with the Stripe ConnectIssuingCard component - but I deployed my website to our sandbox environment and now when I go to view a card - I expected to see the rendered card component.
What actually happened?
I got an error that says e.setDefaultCard is not a function.
Reproduction Steps
Use the ConnectIssuingCard component with the default card Id prop passed, and card swittching boolean set to false.
Question
I am curious why it works locally and not in my sandbox environment (which uses my test mode API keys etc). Is my domain possibly being blocked or am I doing something else wrong?
What are you working on?
Issuing + Connect
@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
can a Stripe Connect account pay funds to another Stripe Connect accounts?
Related Request ID(s)
none
What have you already attempted?
read stripe Connect documentation
What are you working on?
Implementing payment platform using Stripe API
@clear sandal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to make sure that my customer cannot rent more than one subscription
Related Request ID(s)
req_NxrQvB5PHVo6wY
What have you already attempted?
I have read this [documentation](https://docs.stripe.com/payments/checkout/limit-subscriptions) but i doesn't find any example to integrate this into code
What are you working on?
I am working on a discord bot and i want add a premium system for special features
@upper copper pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
def create_stripe_payment_method(stripecust, method="card"):
try:
stripe_payment_method = dict(
json.loads(
str(
stripe.PaymentMethod.create(
type="card",
)
)
)
)
return stripe_payment_method["id"]
except Exception as err:
print(f"\n58 stripe_api err={str(err)}")
Question
That code is failing with "Missing required param: card" so I am obviously failing to understand what is required.
I really want to manage all aspects from my code rather than manually set things up on the Stripe portal. I think I need a sense of direction.
What have you already attempted?
Reading the docs as follows ...
https://docs.stripe.com/billing/subscriptions/payment-methods-setting#payment-method-priority
...
https://docs.stripe.com/billing/subscriptions/payment-methods-setting
...
https://docs.stripe.com/api/subscriptions/create
...
and other linked docs. There is a lot to read and some different paths to understand and I'm new to this detail.
What are you working on?
I have had Stripe simple card payments working in the past and I'm mid-trying to convert it to subscriptions. I'm trying to create a default payment method. Thx
@daring lynx pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
关于customerportal的,我们期望的状态是:
用户升级时立刻生效,并依照时间比例折算支付当期金额。
用户降级或取消时不退款,当期权益正常进行,降级或取消需等到下个月才能生效。
现状是,我们在测试的时候,发现:
如果是设置为立即取消,那用户是可以随时降级且得到一定“退款金额”抵扣下期扣款。
如果将选项设置为开单周期结束时取消,用户升级时也需要等到当期结束才能生效。
请问这个要如何调整设置项以满足我们的需求?以及可否介绍下这块业内的最佳实践?
**Subject: Expectations and Current Issues with Customer Portal Settings**
**Expected State:**
- When users upgrade, the change should take effect immediately, and the current period's payment should be adjusted proportionally based on the time.
- When users downgrade or cancel, no refunds should be given. The current period's benefits should continue, and the downgrade or cancellation should only take effect in the next month.
**Current State:**
Doc/Guide Links
https://dashboard.stripe.com/test/settings/billing/portal
What are you working on?
SaaS
@dusk gulch pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How to handle mandate amount in stripe when subscription is upgraded
Related Event ID(s)
----
What have you already attempted?
-------------------
What are you working on?
How to handle mandate amount in stripe when subscription is upgraded
@worn ore pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
What is a good way to set up payment in installments in the future while using subscription schedules and the stripe checkout sessions?
Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions
https://docs.stripe.com/billing/subscriptions/subscription-schedules
What are you working on?
working on a solution for dealing with payments in installments in the future using stripe checkout sessions and subscription schedules
@wheat wedge pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am trying to access webhook endpoints but it returns me error :
Response body object should not be disturbed or locked . My webhooks have 100% failing rate
Related Event ID(s)
evt_3PdQqvSAXt5rOMnU0HTdOJ9z
What have you already attempted?
I am using endpoint to listen for two events
invoice.payment_succedeed
checkout.session.completed
What are you working on?
i am working on a project
@jagged shuttle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Every time someone pays with Swish, I get dual callbacks to my confirm payment, adding total paid sum to twice the correct amount. The amount drawn from customer is correct, but system gets two callbacks
Related Request ID(s)
req_83ilbGj39PI0Fp
What have you already attempted?
I have tried making this happen for card and Klarna, and it is not happening, so there is something fishy with swish
What are you working on?
eCommerce site
@pure mirage pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How can I disable credit cards when using the PaymentElement? In another thread, I was told I could
"create a PaymentMethodConfiguration pmc_xxx that doesn't contain card, and use that. https://docs.stripe.com/payments/payment-method-configurations?dashboard-or-api=api"
However, after creating the new payment method configuration, credit card is, again, enabled by default and I see no way to disable it.
Related Request ID(s)
I don't know what this is about, sorry.
What have you already attempted?
I tried creating a new payment method configuration following this: https://docs.stripe.com/payments/payment-method-configurations?dashboard-or-api=dashboard . Credit cards are enabled and I cannot disable them, apparently.
@tawny spoke pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I wanted to implement an auto payment wallet on the stripe. I can take the payment but I am not able to generate invoice for the payments made
Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse
What are you working on?
A auto-pay based credit system for our application
@sick dirge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
Before I had just the stripe element and it never auto opened link section by it self.
What actually happened?
When I enter card details the link drop down opens automatically.
Reproduction Steps
Created payment element, accordion layout, radios false.
Question
Is it possible to turn of the link auto menu from opening?
@velvet cape pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Variable price in subscription:
Can I create a subscription, where the customer would choose the "price per seat" and then the number of seats would be updated periodically (monthly)?
I.e. customer could choose $5, $15 or $X per seat and the app would update the actual number of seats.
Related Request ID(s)
-
What have you already attempted?
-
What are you working on?
SaaS app
@barren flower pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I have error when create subscription
https://dashboard.stripe.com/test/logs/req_i24o6nlDo1bp8Z?t=1721200169
Do you know where I'm wrong?
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_i24o6nlDo1bp8Z?t=1721200169
What have you already attempted?
I tried to create subscription through the API. it's work okie with card type but there are errors whith cash app
What are you working on?
I'm testing stripe in Magento 2
@short dagger pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
bank_account_unusable
Question
How to send the BIC/SWIFT code with stripe.js ?
What have you already attempted?
Generate a Stripe Element type "bic", and send the bic across confirmSepaDebitSetup() function
@pale hull pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
i have got stripe client_secret from the payment intent like this
client_secret:=stripeSubscription?.latest_invoice?.payment_intent?.client_secret,
and i am using it to add the customer card on the frontend to the subscription.
import { CardElement } from '@stripe/react-stripe-js';
on input handler <CardElement onChange={onChange} options={options} />
So the code is working fine. i am saving the card number successfully, creating subscription successfully and soon
Question
my question is how can i update the card number for that exact subscription and customer ?
i have got the subId, custId, and soon but i couldn't get client_secret to update the customer's card.
is there any way to update it?
What have you already attempted?
i have tried to get the client_secret by creating a pending payment but it's not working since i am also creating the subscription. NOTE THAT i am not sending the customer card number to the backend since i am using @stripe/react-stripe-js package.
What are you working on?
i am working on an ed-tech platform which needs a payment integration with stripe.
@meager hinge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How many digits of postal code can be provided in a Stripe Checkout Session? I'm curious about the maximum length.
Related Request ID(s)
.
What have you already attempted?
Search document
@tawny spoke pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am creating a payment session using stripe client, but it is not generating an invoice
Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create
What are you working on?
A manual-pay based credit system for our application
@cold dragon pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
In the production mode, We have added BECS Direct Debit (AU) and taken a subscription with that payment method but it failed with the following outcome as
"outcome": {
"network_status": "not_sent_to_network",
"reason": "high_risk_score",
"risk_level": "not_assessed",
"seller_message": "Stripe blocked this payment.",
"type": "blocked"
}
So is it due to something missing from our end while calling stripe api?
Related Event ID(s)
evt_3PVasVQvZV1U4plL0szHf3fk
What have you already attempted?
Based on the logged messages tried to figure out why is it causing this payment to blocked state. As with the test bank account we were having successful payments on test mode.
@restive crescent pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi, i want to create 2 reports : “balance.summary.1” & “balance_change_from_activity.summary.1”. I want to use webhooks to be aware when they are ready. But handle 2 different webhooks bothers me, as i would like to treat these 2 reports as if it was only one. Is there a way to get the same data but in one report ?
thank you
Related Event ID(s)
none
What have you already attempted?
nothing here
What are you working on?
Display accounting data in our customer dashboard
@mossy vault pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/cits-and-mits
Question
Reading the above documentation, I understand that I would be able to make a MIT (Merchant Initiated Transaction) payment using a card stored by us (on our backend), without CVV and by sending the ID of the previous transaction. Is this correct? We are PCI Compliant and our account has been enabled by the Support team to process RAW card data, so just to double check that then we will be able to process a MIT with the information shared above. Thank you in advance!
What have you already attempted?
From reading the documentation I assume it's possible, but. I would appreciate a sanity check here!
What are you working on?
A new integration, we are testing right now.
@hexed mountain pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi, we'd like to offer a yearly subscription with monthly billing but charge a fee if the user cancels before the end of the term. Do you have any advice on how this can be achieved?
Related Request ID(s)
-
What have you already attempted?
I simulated a $4.99 subscription paid normally until November 10th when canceled from the customer portal, upon cancelation running
```
Stripe::Subscription.update(sub_id, add_invoice_items: [{price_data: {currency: 'USD', product: product_id, unit_amount: 8 * 499}, quantity: 1}])
Stripe::Invoice.create(customer: cus_id, subscription: sub_id)
```
creates and charges the invoice $39.92 invoice immediately. Does this approach make sense or is there a better one? The downside of it is that I can't provide line item description.
@calm grotto pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi hi, can I know which Stripe webhook events to pay attention to for handling subscriptions?
There are so many, I’m getting a little lost!
Here are the ones I’m tracking:
- `invoice.paid`
- `customer.subscription.updated`
- `charge.refunded`
- `invoice.upcoming`
Did I miss anything important that I should notice?
Related Request ID(s)
NA
What have you already attempted?
As above.
What are you working on?
Building a frontend library
@hollow wharf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
if i create a paymentintent and i want a webhook which says me that this payment is due , i don't want to use stripe invoice and subscription as that charge me 0.5/0.7% additional
Related Request ID(s)
NA
What have you already attempted?
i tried but not getting any thing related to this on payment intent
What are you working on?
i researching thing on my end
@neon anchor pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
We have issues with Stripe to Pay react native latest version as is not working, tested and opened ticket like 10 times and here is the latest one and of course we will provide you screenshots with all the steps done already https://discord.com/channels/841573134531821608/1260982556447477932
Question
We have issues with Stripe to Pay react native latest version as is not working, tested and opened ticket like 10 times and here is the latest one and of course we will provide you screenshots with all the steps done already https://discord.com/channels/841573134531821608/1260982556447477932
What have you already attempted?
We have issues with Stripe to Pay react native latest version as is not working, tested and opened ticket like 10 times and here is the latest one and of course we will provide you screenshots with all the steps done already https://discord.com/channels/841573134531821608/1260982556447477932
What are you working on?
We have issues with Stripe to Pay react native latest version as is not working, tested and opened ticket like 10 times and here is the latest one and of course
@iron solar pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hello, we would like to have the following data point for customers:
How many days did the customer have a trial?
Generally, our customers often have 7 days free trial. However, we sometimes manually grant additional trial days in subscriptions.
How can we evaluate how many days trial a customer had in total?
Doc/Guide Links
https://docs.stripe.com/api/subscriptions/list
https://docs.stripe.com/api/subscriptions/object#subscription_object-trial_settings
What are you working on?
Working on this problem
@civic onyx pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi , from https://support.stripe.com/questions/stripe-availability-for-outlying-territories-of-supported-countries I can see that "Puerto Rico" is supported as part of the US business. May I ask for "Puerto Rico", can we just regard "Puerto Rico" as exactly the same as the other states in the US (e.g: California , New Jersey, etc ) when integrating with Stripe ?
Related Request ID(s)
N/A
What have you already attempted?
N/A
@short dagger pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
bank_account_unusable
The BIC for the provided IBAN cannot be found
Question
How to initiate a Stripe Element type "bic" or "swift" ?
What have you already attempted?
- We tried to send the bic/swift in confirmSepaDebitSetup() function.
- Generate a stripe element type "bic" and "swift
@ornate bough pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Can we have re-subscribe to subscription which is in cancelled state. I want to confirm another thing is in checkout session it directly takes auto renewal and subscribed to next moth. can we have any param to control it
Related Request ID(s)
req_lrrU0ggBx5aYOS?t=1710501275
What have you already attempted?
Can we have re-subscribe option to subscription which is cancelled status. If has which param to update the subscription. and I want to confirm another thing is in checkout session object it directly takes auto renewal and subscribed to next month. can we have any param to control it. if has what is the param
@granite lotus pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
Using paymentItent in BE and @stripe/react-stripe-js in FE ( PaymentElement)
Question
I need a support with this issue:
I am developing payment follow using Payment Intent method. Atm, I want to add a promotion code field which create from coupon tab in stripe dashboard. I read some docs and they told me that it not support atm. Can I still keep current follow and use PaymentInent and custom a little bit in UI ?
What have you already attempted?
tried something like redeem a coupon when confirm payment or custom payment flow a little bit
What are you working on?
Payment flow
@neon venture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to create an accountSession in order to use the connected embedded components. I am trying this in my dev environment, meaning that I want to access the API in test mode. Unfortunately I get the following error message:
You tried to create a test mode Account Session for an account that was created in live mode.
Related Request ID(s)
req_auIB6TTyYAdO4v
What have you already attempted?
I tried the call with different components, e.g. balances, payouts etc.)
What are you working on?
I want to integrate the connect elements in my dealer dashboard.
@astral talon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I would like to automate adjustment of meter events for a time period but I don't see an API to get meter events identifier, as required by the Meter Adjustment API. This is part
Related Request ID(s)
Not applicable
What have you already attempted?
I've looked at the docs to see if there's a way to get meter events objects but couldn't find one. I can see them in dashboard but that's not good for automating.
What are you working on?
I'm automating usage-based billing and implementing a mechanism to recalculate usage over a certain period to fix issues that might happen.
@neon anchor pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
`
We have issues with Stripe to Pay react native latest version as is not working, tested and opened ticket like 10 times and here is the latest one and of course we will provide you screenshots with all the steps done already, it brakes when we are adding stripe
We have a React native app, and we try to implement Tap/Pay function. But after we install Stripe SDK, as the Documentation say, the App becomes corupt, and stop functioning
Our React-native Version: "react-native":
Question
`
We have issues with Stripe to Pay react native latest version as is not working, tested and opened ticket like 10 times and here is the latest one and of course we will provide you screenshots with all the steps done already, it brakes when we are adding stripe
We have a React native app, and we try to implement Tap/Pay function. But after we install Stripe SDK, as the Documentation say, the App becomes corupt, and stop functioning
Our React-native Version: "react-native":
What have you already attempted?
`
We have issues with Stripe to Pay react native latest version as is not working, tested and opened ticket like 10 times and here is the latest one and of course we will provide you screenshots with all the steps done already, it brakes when we are adding stripe
We have a React native app, and we try to implement Tap/Pay function. But after we install Stripe SDK, as the Documentation say, the App becomes corupt, and stop functioning
Our React-native Version: "react-native":
What are you working on?
` We have issues with Stripe to Pay react native latest version as is not working, tested and opened ticket like 10 times and here is the latest one and of cour
@pure mirage pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<PaymentElement
onLoadError={(event) => {
console.error(
'Stripe load error: ' + JSON.stringify(event),
);
this.setState({
canUseStripe: false,
});
}}
/>
Question
I'm trying to handle load errors on PaymentElement. Followed this doc: https://docs.stripe.com/stripe-js/react#element-components . But I always get the "Unhandled payment Element loaderror..." error. This error is expected as right now I have no valid payment method type. But I need to properly handle it.
What have you already attempted?
I tried both onLoaderror and OnLoadError (the doc shows the first one). None of them works.
What are you working on?
A custom checkout page including Stripe payment methods.
@haughty mist pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hi Team,
I have Stripe Customer ID & Payment Method ID & want to get Setup Intent ID with reference of customer ID & payment method ID.
Can you please tell me how to I can do & if there any other way.
Related Request ID(s)
No request id, just a question
What have you already attempted?
Done something but not find out any solution.
What are you working on?
Trying to confirm this payment method is verified or not, in setup intent there is a field status if this will be succeeded then this payment method is verified else not verified but I have no setup I
@covert bear pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
def get_stripe_user_by_email(self, email):
try:
customers = stripe.Customer.list(email=email)
return customers.data[0] if customers.data else None
except Exception as e\:
\# To do \- stripe error log
return None
Question
return data of empty list although email exists in dahsboard
What have you already attempted?
I tried to retrieve user by his email but it returned array of empty data although i have the customer with this email exists
typo and case sensitive is considered
@ornate spruce pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
This is regarding the following bit of documentation [here](https://docs.stripe.com/stripe-apps/build-backend?public-private=public#receiving-events-webhooks), regarding a public Stripe App.
The documentation here indicates that Webhooks created as `Listen to events on Connected accounts` would receive events from accounts where the app is installed. Is my understanding correct? Am I correct to assume that events from Accounts that install my Stripe App will be sent out to the Webhooks I set up on the Account I create on the Stripe Account hosting the Stripe App?
If not, I'm guessing I'll have
Related Event ID(s)
-
What have you already attempted?
-
What are you working on?
Trying to build a Stripe app that will be able to receive certain webhook-events from accounts.
@crude sky pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
document.addEventListener('DOMContentLoaded', async () => {
// Load the publishable key from the server. The publishable key
// is set in your .env file. In practice, most users hard code the
// publishable key when initializing the Stripe object.
const {publishableKey} = await fetch('/config').then((r) => r.json());
if (!publishableKey) {
addMessage(
'No publishable key returned from the server. Please check `.env` and try again'
);
alert('Please
Question
in this code how i send billing details
What have you already attempted?
<script>
document.addEventListener('DOMContentLoaded', async () => {
// Initialize Stripe
var stripe = Stripe('your-publishable-key-here');
var elements = stripe.elements();
// Create a PaymentRequest object
var paymentRequest = stripe.paymentRequest\({
country\: 'US',
currency\: 'usd',
total\: {
label\: 'Total',
amount\: 2000, // Amount in cents
},
requestPayerName\: true,
request
@viral spoke pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I would like to know how the database schema of stripes role based access control looks like
Related Request ID(s)
x
What have you already attempted?
I tried to find the endpoint, that handles the auth stuff for specific persons, but could only found the persons endpoint (stripe persons list acct_1Ljm5MD4LgnRPd5t)
What are you working on?
RBAC
@lilac robin pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
React.useEffect(() => {
const initializePaymentSheet = async () => {
const {error} = await initPaymentSheet({
paymentIntentClientSecret: clientSecret,
returnURL: 'stripe-example://payment-sheet',
// Set `allowsDelayedPaymentMethods` to true if your business handles
// delayed notification payment methods like US bank accounts.
allowsDelayedPaymentMethods: true,
});
if (error) {
// Handle error
}
Question
Unable to use payment sheet to activate inactive subscription that was made just before.
here is my front/backend code on creating subscription and init payment sheet
What have you already attempted?
I have followed the guid on end to end creating a subscription in react native. I succesfully create the customer, subscription and then init a payment sheet. But on success of payment, it does not activate the subscription. It just creates a one off payment.
What am I missing that allows the init payment sheet to activate the subscription? A payment method associated to the customer?
What are you working on?
An app that allows a user to purchase a subscription to a physical product near them
@thorn holly pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I don't understand what's the issue in my codes. Everything looks fine, but I can't see the desired stripe embedded form on server : http://localhost:4242/checkout.html
Related Request ID(s)
This is what i see in my browser console : v3/:1 You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS. value @ v3/:1Understand this warning embedded-c
What have you already attempted?
I have downloaded all of my codes through stripe docs : https://docs.stripe.com/checkout/embedded/quickstart
What are you working on?
Stripe embedded checkout form for my shopify website with multiple products and currency conversion
@neon venture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I have a strange behavior regarding my platform account and a connected standard account. I connected the account to my platform in test mode. Everything works fine when it comes to creates subscriptions/customers/etc via the API. with the account parameter or with on_behalf_of.
But when it comes to creating an account_session via the API I get the error message: "You tried to create a test mode Account Session for an account that was created in live mode". But the account was connected in test mode.. What is going on here?
Related Request ID(s)
req_MgCYr8RWKKIOjm
What have you already attempted?
I've tried to remove the connection from the connected account and to re-connect the account. I've tried the API-Call with different API-Keys (both from test and live mode)
What are you working on?
Dashboard for my dealer/customer within my application.
@sudden rover pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We have recently been attacked with Card testing. The Stripe support claims that our client secret is being used to try multiple cards. I have followed the card-testing docs and cannot see what else to do.
Related Request ID(s)
req_SOmxa6iBVJ4u69
What have you already attempted?
Look through the docs to see how best to hide client secret and implement CAPTURE
What are you working on?
Its a NextJS app for a Chairty which receives donations from its users
@distant sun pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
const customerSession = await stripe.customerSessions.create({
customer: stripeCustomerId,
components: {
payment_element: {
enabled: true,
features: {
payment_method_redisplay: 'enabled',
payment_method_save: 'enabled',
payment_method_save_usage: 'on_session',
payment_method_remove: 'enabled',
},
},
},
});
Question
Trying to use the new feature on the PaymentElement to display a customers saved cards within the element, but getting an error in the above code that 'create' is undefined.
What have you already attempted?
Following the recommended integration steps as found int the docs: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#save-payment-methods
https://docs.stripe.com/payments/save-customer-payment-methods
What are you working on?
Using the new PaymentElement feature to display a customers saved payment methods
@prime moth pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Stripe CLI stopped working. Throwing POST request error. The CLI just suddenly stopped working.
Related Event ID(s)
None cause the post request is not connecting with stripe
What have you already attempted?
Updated to newest version of stripe cli
What are you working on?
ecommerce store
@hollow egret pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
payment to happen as usual
What actually happened?
started getting error
"As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports"
Reproduction Steps
https://checkout.stripe.com/c/pay/cs_test_a1e2kh8WC05yWsJG8TPaiJZkYe2BPABpNePsHreiO1KbtCBJd3HZJRtnFH#fidkdWxOYHwnPyd1blpxYH[…]bWppYWB3dic%2FcXdwYHgl
try paying in this url
Question
earlier we didnt use to get this message but recently we started seeing this error "As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports"
@brisk nymph pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
`invoice.updated` event https://docs.stripe.com/api/invoices/object#invoice_object-attempt_count , attempt_count value updates if the event is triggered manually - i.e. manually try to charge the user ?
Related Event ID(s)
evt_3PdWAJGVCe8mF8QW2IWcEQ7V
What have you already attempted?
N/A
@steady oriole pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to customize the stripe invoice. Is that possible?
Related Request ID(s)
no
What have you already attempted?
Nothing
What are you working on?
website development
@dusk gulch pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
Subscription payment intent status past-due than confirmation payment success payment example
Question
Subscription payment intent status past-due than confirmation payment success payment example
What have you already attempted?
confirmation payment
What are you working on?
Recurring subsction
@scenic quartz pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
Upload stripe app with a public distribution
What actually happened?
App is uploaded as private with no option to change it
Reproduction Steps
Upload a stripe app with the distribution_type property set. It's stripped during app upload.
Question
Stripe apps upload command stripping "distribution_type" from manifest. Docs say to run a "set" command that doesn't exist in CLI. My account is in good standing as it seems. Uploaded stripe apps can't be set as public either via manifest or in the UI. Is there a sure-fire way to make sure my app can be set to public? Am i missing something with how it works?
What are you working on?
Stripe apps
@forest hazel pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
backdated_start_date = datetime.now().timestamp() - timedelta(days=180).total_seconds()
start_date = datetime.now().timestamp() + timedelta(hours=24).total_seconds()
billing_cycle_anchor = start_date + timedelta(days=3).total_seconds()
price = "plan_Q1zUMl3X24Dl0T"
stripe.SubscriptionSchedule.create(
customer="cus_QUWpjUEcsdfiCa",
start_date=int(backdated_start_date),
end_behavior="release",
phases=[
{
"items": [{"price": price, "quantity":
Question
Hi, I'm trying out a few things in subscription schedule. The code above produces
stripe._error.InvalidRequestError: Request req_cOx0jR0T717o81: You can not create a subscription schedule with `phases` that already ended. You can back-date a subscription schedule by setting `start_date` to be in the past, but `phases` must end in the future.
but isn't what it is suggesting what i am already trying to do?
What have you already attempted?
nothing, except reading the error message
@loud lake pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hello, we are trying to implement automatic tax calculation for invoices. We have specified the customer IP address to allow automatic tax to determine location to calculate tax, but we are seeing an error: `customer_tax_location_invalid` (The customer's location isn't recognized. Set a valid customer address in order to automatically calculate tax.) - why is this failing for IP address?
Related Request ID(s)
req_cN7C450cJGjq1Y
What have you already attempted?
We have used the IP address - https://docs.stripe.com/api/customers/object#customer_object-tax-ip_address
What are you working on?
Marketplace
@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
using Stripe Treasury APII
can we transfer funds out of a Connect account into another Connect account?
Related Request ID(s)
none
What have you already attempted?
Treasury API
What are you working on?
integration with Stripe API
@bleak flicker pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to know if checkout.session.completed Event is fired only when customers performs an action on my paymanrt page or everytime their card is charged
Related Event ID(s)
evt_1PdYiJGCrUuSimJTASVVIjwE
What have you already attempted?
Attempted using test simulation. I am doubtful it works.
@nova egret pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm trying to confirm a PaymentIntent server side but seeing several issue:
- stripe-java PaymentIntentConfirmParams.PaymentMethodData.Type enum doesn't have `card`
- when I manually set it via `putExtraParam` I got an error saying `payment_method_data[card]` is required but there's no documentation on what it's supposed to be
Related Request ID(s)
req_bvZ5XQ8dJWIj2B
What have you already attempted?
use Stripe CLI to bypass type issue in stripe-java
What are you working on?
server side confirmation for dynamic MCC
@knotty yoke pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I have a Link integration using the PaymentElement. It works fine and I can complete payments. The problem is that I changed the api keys to test the integration with another Stripe account (same code, same settings, Link enabled as payment method) and Im getting this error: The PaymentMethod provided (link) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "link".
Related Request ID(s)
req_U4fTgL7GN0089z
What have you already attempted?
- Checked my payment method settings.
- Run the app locally and in production.
@iron solar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hello, we would like to have the following data point for customers:
How many days did the customer have a trial?
Generally, our customers often have 7 days free trial. However, we sometimes manually grant additional trial days in subscriptions.
How can we evaluate how many days trial a customer had in total?
Related Request ID(s)
None yet
What have you already attempted?
Tried adding it as a custom column in the customer list
@twilit bison pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hello!
In Flutterflow - trying to display the Stripe checkout page in a WebView widget.
I get an error: “This must be accessed over HTTPS”
any ideas please ?
Related Request ID(s)
.
What have you already attempted?
Couldn’t find anything in Flutterflow community or the docs
What are you working on?
Stripe payments in Flutterflow without the official integration because I am not using Firebase but Supbase in the backend.
@tranquil sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How can we show the order, tax, and total amount in a stripe payment page on checkout or invoice.
Related Request ID(s)
req_7SA3FqDbuGlFvB
What have you already attempted?
I have tried adding 'tax_id_collection={"enabled": True}' to to payload while creating a checkout session however it just shows 0$ in the Tax.
What are you working on?
I am working on an element to collect payment from the user using embedded checkout session.
@thorn holly pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<?php
require_once '../vendor/autoload.php';
require_once '../secrets.php';
$stripe = new \Stripe\StripeClient($stripeSecretKey);
header('Content-Type: application/json');
$YOUR_DOMAIN = 'https://localhost:4242';
$checkout_session = $stripe->checkout->sessions->create([
'ui_mode' => 'embedded',
'customer_email' => 'customer@example.com',
'submit_type' => 'donate',
'billing_address_collection' => 'required',
'shipping_address_collection' => [
'allowed_countri
Question
For Embedded a checkout form, Do I Still need to get an SSL Certification.
What have you already attempted?
My Website is already https://mywebsite.com (secure)
What are you working on?
So, The Stripe Embedded checkout Form will open as a form on my domain itself without leaving my website's domain. Do I need ssl certification for localhost.
@copper dove pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Hello, Is there anyway to change the language of the hosted page which is located at $invoice-> hosted_invoice_url ? in my example its displayed in german but the invoices are created with an other language. Also the customer has an other language then german as preferred_locales. Thank you for your help
Related Request ID(s)
cus_QJzMl4SQD3jzpF in_1PdKxsDwEgNPqTqphOuzSKcC
What have you already attempted?
I tried to add a locale like for billing_portal and checkout sessions. but this looks like it is not supported when fetching the invoice?
@south steppe pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We have developed a custom mobile application that is used by a vendor. The vendor will interface with customers and they will purchase products. The vendor will then enter the product details on the phone using our app and process the CC payment on our app. We are currently using the Square React Native SDK in order to process the payments.
We are considering replacing the Square SDK with yours. We want to provide two options for the user when paying. 1 - tap to pay on the mobile phone. 2 - enter card details manually (still via our application's custom checkout, but using your SDK).
Related Request ID(s)
n/a
What have you already attempted?
I need to confirm that this approach will work using Terminal SDK, and to confirm pricing for each charge method (Tap to pay, manual entry via custom app checkout)
What are you working on?
An ecommerce mobile app
@lost root pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
params := &stripe.PaymentIntentParams{
Amount: stripe.Int64(1),
Currency: stripe.String(string(currency)),
PaymentMethodTypes: stripe.StringSlice([]string{
"card",
}),
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
Enabled: stripe.Bool(false),
},
}
Question
Is there a way to remove other payment options, specifically bank payments, from the Stripe Elements PaymentElement Control
What have you already attempted?
Through the documentation, it states that dynamic payment methods to determine the payment method that are enabled via the dashboard is enabled by default, and those are used to render the methods shown through the PaymentElement control. It also states that you can manually list the methods youd like. However, I have disabled the automatic_payment_methods and added a single payment method type of 'card' as shown in the examples through the docs and it does not seem to work
What are you working on?
credit card only order form
@tribal stratus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Is there a way to manually trigger an automatic deposit? I need to retrieve the transactions that make up a balance transaction when a nightly payout is created, but the only way I can find to create a payout in testing mode after a test payment is created, without waiting until tomorrow, is an instant payout (which does not provide the transactions that went into the payout).
Related Request ID(s)
None
What have you already attempted?
Creating an instant payout.
What are you working on?
A nightly automation to record what payments were paid out.
@pearl charm pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
new_stripe_quote = stripe.Quote.create(
line_items=stripe_line_items,
automatic_tax={'enabled': True}, # the stripe user must have an address.
customer=stripe_customer.id,
metadata=quote_metadata,
expand=['total_details.breakdown']
)
Question
When creating a quote in test mode we run into an error that says "You can only have up to 100 line items on a quote." I'm not sure why there is a limit and does this happen in live mode
What have you already attempted?
Tried to create a stripe quote with more than 100 line items
@gray depot pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
What did you expect to happen?
I can enable Stripe Connect within my existing Stripe account, from which I publish a Stripe App.
What actually happened?
It seems that I cannot use traditional Connect and offer a Stripe App from the same account.
Reproduction Steps
From a Stripe account that publishes a Stripe App and has "Connect" customers, try to also enable Stripe Connect hosted onboarding.
Question
I have a service that's available exclusively as a Stripe App. I am now adding the ability to sign-up directly on my site and in that case would like to use Stripe Connect & hosted onboarding. My Stripe account already Connect customers via my Stripe App. Do I need a separate account to offer a traditional Connect flow as well, or can I do both from my main account?
@gray nexus pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
$paymentIntentData = [
'currency' => strtolower(env('CURRENCY_CODE')),
'payment_method_types' => ['sofort'],
'payment_method_options' => [
'sofort' => ['preferred_language' => 'de']
],
];
Question
I'm working on Impelementing Stripe Payment Element. Is it possible to load the paymentForm without knowing the order amount?
What have you already attempted?
I've tried to send the paymentIntent for showing the payment form without the amount
@plush quartz pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I understand the desktop and mobile device checkout flows. But how do we take face-to-face payments with CashApp? We have a react native app our cashiers use for in-person payments with the M2 terminal. But I am trying to figure out how via our app or in the future the S700 w/ 'apps on device' we can take in person CashApp payments? Seems to me the desktop checkout flow behavior with the CashApp QR would be ideal here?
Doc/Guide Links
https://docs.stripe.com/terminal/features/apps-on-devices/overview
What are you working on?
Trying to build a way for customers to pay in-person via CashApp either using React Native app or S700.
@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am following this guide: https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements
When doing ```confirmIntent({
stripeElements,
clientSecret, ...``` I get the following API error: payment_intent_unexpected_state, but I am submitting the elements object (stripeElements) and I assume it does not have to be in a form, since it is an iframe?
Related Request ID(s)
req_WB20yNbQuS9dQO
What have you already attempted?
const {error} = await confirmIntent({
stripeElements,
clientSecret,
confirmParams: {
return_url: 'https://app.venjue.com/settings.php#subscription',
payment_method_data: {
billing_details: {
address: {
country: 'Denmark'
}
}
}
},
redirect: 'if_required'
});
What are you working on?
Stripe Billing
@tranquil sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I want to see a structure of tax division of the total amount.
Related Request ID(s)
req_NyxDXXIZKLI01p
What have you already attempted?
I have tried 'tax_id_collection={"enabled": True},'
What are you working on?
I am working on an element to collect payment from the user using embedded checkout session.
@glacial igloo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
When I call ``initEmbeddedCheckout`` on the Stripe JS SDK I get an HTML error of what Stripe injects into my HTML page saying:
```
Each dictionary in the list "icons" should contain a non-empty UTF8 string field "sizes".
betaling/:1 Each dictionary in the list "icons" should contain a non-empty UTF8 string field "type".
betaling/:1 Each dictionary in the list "icons" should contain a non-empty UTF8 string field "sizes".
betaling/:1 Each dictionary in the list "icons" should contain a non-empty UTF8 string field "type".
```
Related Request ID(s)
does not apply
What have you already attempted?
google, ppl sayin its a bug coming from stripe's end
@hollow haven pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
const { error: confirmError } = await stripe.confirmPayment({
elements,
clientSecret,
confirmParams: {
return_url: 'https://seedcompanydev.wpengine.com/thank-you',
},
});
Question
We have a donation flow that allows people to either submit a 1-time payment or create a subscription. In the frontend, we are using the `elements.update` if the form changes from one-time to subscription or vice versa. The whole flow seems to work, except for when we use Google Pay, which was the entire point of us re-doing the current flow (we weren't using paymentIntents) in the first place. We et this error: "Failed to execute 'postMessage' on 'Window': Delegation is not
What have you already attempted?
I've re-written this implementation several times now and just need guidance on how I need to write this thing to:
- work with apple + google pay
- submit additional business logic to our API during payment
What are you working on?
We have an older implementation that used cards and charges that we had to upgrade to a paymentIntents flow and integrate the Stripe element
@hexed moss pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Express Checkout onReady returns availablePaymentMethods. Is there another way to detect digital wallet availability through Stripe? We would like to route users to different screens depending on if they have a digital wallet available or not. We would rather not render the Express Checkout element just for the detection if we don't actually need to collect payment information on that screen. Is there a standalone hook or API that would match the detection in Express Checkout?
Doc/Guide Links
https://docs.stripe.com/js/element/events/on_ready#element_on_ready-handler-availablePaymentMethods
What are you working on?
neighbor.com
@prisma coral pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm looking to finalize payments on the server so I can release resources if a payment fails confirmation. When a payment requires 3DS, I'm unsure how to finalize on the server as .handleNextAction seems to finalize the payment.
Related Request ID(s)
NA
What have you already attempted?
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment I've used this doc but it doesn't say how to finalize a payment on the server when 3ds is required.
What are you working on?
Online booking platform
@calm grotto pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
If a subscriber gets charged for their second payment, will an invoice be generated automatically? If yes, when the charge succeeds, will an invoice.paid event be triggered?
Related Request ID(s)
NA
What have you already attempted?
Read the docs
@balmy yacht pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
When create a new recurring price on a stripe connected account - can I add an application fee? For example, I'd like to receive $X on every charge.
Related Request ID(s)
n/a
What have you already attempted?
I'm looking at https://docs.stripe.com/api/prices/create
What are you working on?
I'm building a recurring monthly plan and I'd like to receive application fees every month
@calm forum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
How can I check if "payouts" capability is enabled for a connected account
Related Request ID(s)
n/a
What have you already attempted?
await stripe.accounts.listCapabilities(acct_id); doesn't list payouts as a capability
@idle copper pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Trying to implement webhook and not getting event from payment_intent.
Related Event ID(s)
n/a
What have you already attempted?
I'm integrating webhook to my app when when i try to get payment_intent related events. I'm unable to get that. Although I'm getting account.updated and capability events. I've included payment_intent while setting up webhook. Any solution?
What are you working on?
Rental App
@white horizon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
var options = new SetupIntentCreateOptions
{
Customer = cust.Id,
ConfirmationToken = saleData.confirmationToken,
PaymentMethodOptions = new SetupIntentPaymentMethodOptionsOptions
{
Card = new SetupIntentPaymentMethodOptionsCardOptions
{
SetupFutureUsage = "off_session"
}
},
Confirm = true,
OnBehalfOf = "acct_1234"
};
Question
Using .net I am trying to create a setupintent using a confirmation token for use off_session. Following the procedures linked below I was successful in doing this for a paymentintent however there is no SetupFutureUsage property on SetupIntentPaymentMethodOptionsCardOptions. Is there another way I am supposed to do this or is it a bug?
https://docs.stripe.com/payments/payment-element/migration-ct
https://docs.stripe.com/payments/accept-a-payment-deferred
What have you already attempted?
I have tried setting the setupfutureusage / usage to off_Session everywhere I can but I still get the following error "The provided setup_future_usage (off_session) does not match the setup_future_usage from the provided confirmation_token (null). Try confirming with a Setup Intent that is configured to use the same parameters as the ConfirmationToken."
What are you working on?
I am integrating stripe into a dynamic forms tool
@jagged plume pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am not able to collect tax for USA State when my origin business address address is registered on BC, Canada
Related Request ID(s)
req_ECnnP6zAMTC7e3
What have you already attempted?
Tried with different states, same thing.
@thorn holly pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<?php
require_once '../vendor/autoload.php';
require_once '../secrets.php';
$stripe = new \Stripe\StripeClient($stripeSecretKey);
header('Content-Type: application/json');
$YOUR_DOMAIN = 'https://localhost:4242';
$checkout_session = $stripe->checkout->sessions->create([
'ui_mode' => 'embedded',
'customer_email' => 'customer@example.com',
'submit_type' => 'donate',
'billing_address_collection' => 'required',
'shipping_address_collection' => [
'allowed_countri
Question
So, My query basically is, While my website is https: already and the stripe embedded form will open on the same domain i.e. https://hor.co.in/ (my website) do I need to have an SSL. Cuz, There's no redirection or exiting the domain the form will open on the same domain.
What have you already attempted?
Made the Stripe Embedded Form Successfully.
What are you working on?
To Add Payment Methods, Currency conversion and get rid of this message I see on the form -
@inland apex pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
I am getting this error type "resource_missing" and the error message "No such PaymentMethod"
Question
This customer "cus_N31EFP4IaMkS1x" had previously paid with the following payment method "card_1NXSQPKIWnXaN5iwXZy2hHra" last year.
When we attempted to charge this card again to renew their subscription we got the following error:
No such PaymentMethod: 'card_1NXSQPKIWnXaN5iwXZy2hHra'
Can someone please help me understand why I'm getting this error?
Here is the request log:
https://dashboard.stripe.com/logs/req_GHZszCdFpHSnIf?t=1721210617
What have you already attempted?
I've read this doc https://docs.stripe.com/error-codes#resource-missing but I still don't understand the root cause of this error.
@torpid tusk pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
We'd like to make a dashboard that uses the BigQuery data that can tracks different types of usage over time -- specifically we want to see the number and type of various meter events. However, I can't figure out if meter events exist anywhere in the output for the GCS data pipeline.
Doc/Guide Links
I've been searching the schema described here (https://dashboard.stripe.com/stripe-schema), but no success so far.
What are you working on?
We'd like to make a dashboard that tracks metered events over time using the output from the Data Pipeline
@ember jackal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I need to get all the charges related to an invoice via API, but it doesn't seem they have a direct relationship. How can I achieve this?
Related Request ID(s)
NA
What have you already attempted?
I have looked at the documentation, but couldn't find a path from the invoice to the charges
@honest lodge pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
const result = await stripe.confirmPayment(stripePaymentParams);
if (result.error) {
console.log('error', result.error);
track_order_placed_failed(
oemProfileProps,
cartCosts.totalCartCost,
checkoutCart,
'paymentFailed',
);
handleError(
result.error.payment_intent,
setErrorStringAndHideAfterDelay,
result,
);
Question
When confirming my payment intent when the payment method is apple_pay (which I've configured to work properly), it goes into the error block on the first attempt and produces error message "Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again." When I click the button to confirm the stripe payment attempt a second time, it works flawlessly. Why is this the case?
What have you already attempted?
I've looked through all documentation on apple pay, but it's a little sparse on the topic!
@tawdry tusk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
There is a option to handle apple pay outside the stripe card form?
Related Request ID(s)
...
What have you already attempted?
Search docs
@mighty pollen pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
<Elements>
<ElementsConsumer>
<PaymentElement /> /* all defaults */
<AddressElement
options={{
mode: "billing",
autocomplete: { mode: "automatic" },
allowedCountries: [...]
}}
/>
</ElementsConsumer>
</Elements>
Question
We are using the Payment + Address elements together along with address autocomplete to create setupIntents. When Japan is selected in the Country dropdown of the address element, and the address form has not expanded yet, if the user fills in all the card details and name, the ZIP field will not highlight in red when the confirmSetup call fails. However, if you expand the form, the ZIP, address line 1, all highlight red. Is this expected?
What have you already attempted?
As a workaround for this, we would like to show the full expanded form for some certain countries we care about. As I understand, to do this we need to supply some default values, namely "Country" and "State". Is there any consequence of using a dummy value for "state", and relying on the sdk to find no matching state and provide some default? I am concerned if there are some countries who's states are not rendered as a dropdown, but as a text input.
@tranquil panther pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
Why am I receiving "customer_tax_location_invalid" error for a customer that has a valid address?
Related Request ID(s)
req id req_iWe3kEcD25Xegb
What have you already attempted?
I have updated and changed this customer address with no success
@ember perch pressed the 🧑💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Code
public IActionResult verification()
{
StripeConfiguration.ApiKey = "sk_test_•••gSIp";
var options = new VerificationSessionCreateOptions
{
Type = "document",
};
var service = new VerificationSessionService\(\);
var verificationSession = service.Create\(options\);
// Return only the client secret to the frontend.
var clientSecret = ve
Question
I am using .Net mvc and i can not create apicontroller. Can you help me with routing client secret to js code?
What have you already attempted?
I attempted to do same as this example "https://docs.stripe.com/identity/verification-sessions", but im using a lil bit another framework (.Net mvc), so i have complications with creating session and endpoint
What are you working on?
Im working on id number verification
@silent stratus pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am building a stripe connect platform with stripe billing. I am using transfer data to get the funds to my customers. Should I use an application fee or a transferdata.amountpercent to take my cut of the funds?
Doc/Guide Links
https://docs.stripe.com/api/subscriptions
What are you working on?
payments platform
@dreamy mural pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I am trying to create a Stripe Checkout Session where the user pays a one time payment of 114 and then after three months a subscription starts of 57 per month.
I set up a function to create the session using an `anchorTimestamp` three months from the Checkout Session creation date.
But I just got an error saying `The `billing_cycle_anchor` cannot be later than next natural billing date.`
I must be going about this scenario all wrong.
How can I accomplish this... with subscription trials?
Related Request ID(s)
na
What have you already attempted?
Explained above with creating the function to create the Checkout Session.
What are you working on?
A private fitness streaming app