Feature request: no-code payment link for metered billing subscription.
Use case: I want an easy way to offer a "pay as you go" option where all I have to do is put a link on my pricing page and users click it and give me the pre-authorization at the specified rate. Then, every month I can tell Stripe how much they used and it gets auto-charged at the end of every billing cycle.
#dev-help
1 messages · Page 74 of 1
Just to be completely clear: there is NO way to do recurring payments with Apple Pay without switching to PaymentElement (sacrificing the customizability of using CardElement, PaymentRequestButton)? Have I understood this correcly?
hey theres a slight UX/UI confusing issue on the stripe hosted checkouts frontend
hi
Hi, yesterday around 7PM we detected an huge spike of issuing_transaction.created webhooks. The usual pattern is to receive those transactions during the night between 12AM and 5AM. Does something changed for the delivery of the transactions ?
i need to update my phone nummber on my account buy and they asked me add code i lost my phone number
hello, so i am trying to the the hooks i am using the local cli and i can't find the stripe_webhook_secret anywhere, can someone tell me where it is rofl ? 😄
hey @undone hinge can you confirm req_r3bWdEhhttzETz was made on Stripe HIP? I struggle with regular support, which argues that it's on my side
Guys I’m new to all of this. But I’m having trouble with stripe. I used it last week to cash out from whatnot app and when I used today I can’t find my payout and can’t sign in or anything.
Hi all,
I'm trying to extract detailed information about Payouts from my platform to connected Accounts. I've started to read https://stripe.com/docs/reports/report-types/connect but it's not clear on how I can check Payout details, and which Payments are included in each Payout. Can you share any links to the correct documentation?
Hello, what permission do i need to test "Add balance" in test mode?
Hello, can we use Payment Element for MOTO orders? we can see some mentions of a flag in some old forums but nothing in latest docs
I've been working to use gateway payments for an online website, Its Catagory is Gaming, Works under a Banking Service - - Stripe wont approve the business as Banking Investments, takes to Gaming I believe. Is there any way I could get signed approval from stripe to proceed as a Private Bank.
Hello,
I am using Stripe API with the PHP SDK, to setup recurring monthly payments.
Everything is working fine.
I would like to print in the user's dashboard the date of the last payment; in the subscription object I don't see this information. There is the cancel_at date, but this is a month after the last payment.
I could do it in PHP, subtracting a month from the cancel_at date, but in this case I have to pay attention if the recurring payment is on the 31st of the month or if the previous month is february.
Can I use a method of the api to extract this information?
Hello there. I'm trying to implement a system where we have a contract on our end with a specific start date that is generally in the future. I want to create a subscription for that, but that means that the subscription won't start today, but will start in the future. I see there is a start date on the subscription object, but I cannot set that one. There is an option to backfill the start date, but is there also an option to set the start date in the future? I know there's a free trial state, but what is the cleanest way to set up a contract start date in the future while already sending an invoice when creating the initial subscription? Please let me know.
Hello,
We have usage-based subscriptions with a monetary billing threshold and do not reset the billing cycle anchor. Curious if this means that once a user hits the monetary threshold, even if they pay the invoice, that their usage won't be reset until their natural billing cycle anchor?
e.g. User has a billing cycle anchor on the 1st of each month. They hit their $100 billing threshold on the 15th and pay the invoice automatically.
Would their threshold be reset, or will it show $100/$100 used for the cycle until it resets on the 1st?
Thank you!
Good morning. I'm getting an error while creating a subscription when testing Cash App Pay with a payment element.
You must provide a `return_url` when confirming a PaymentIntent with the payment method type cashapp.
I am not explicitly creating a paymentintent but rather displaying the payment element first, collecting payment information then creating the subscription.
Hi, I want to setup stripe connect to payout sellers on my platform, I want them to not be able to access at their stripe seller dashboard directly, is it possible to do that with express accounts or I need custom ones
Hi all, I'm hoping you can help offer some insight into why a payout from a connect account is being associated with three source transfers to the account that appear to be unrelated to the payout.
- Payout:
po_1OWs3uFPLlEQIsHH6cXyOHKh - Request made:
https://api.stripe.com/v1/balance_transactions?expand[]=data.source.source_transfer&payout=po_1OWs3uFPLlEQIsHH6cXyOHKh&type=payment - source_transfers returned:
tr_1OWoMeJxJIrs34m7zHixZvDi,tr_1OWd9oJxJIrs34m7Xfw4Sab1,tr_1OWZKbJxJIrs34m7IVizfETu - transfers expected to be returned:
tr_1OWV7cJxJIrs34m7zShu9RJN,tr_1OVeLMJxJIrs34m70MCba6TV
I have a Stripe Standard Account in test environment (id acct_1EDZh4ENIpxtCBuM) that has payouts disabled. how can i enable payouts?
Is there a way to automatically change the currency based on the user's location for checkout session?
any idea why the api docs page is failing? 👀 https://stripe.com/docs/api/subscriptions
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi Stripe, is there a way to control which payment methods are displayed in the paymentElement? I want to display a subset of payment methods that are enabled in the dashboard. I tried using paymentMethodTypes(https://stripe.com/docs/js/elements_object/create_without_intent#stripe_elements_no_intent-options-paymentMethodTypes) but it's not working. We are using the latest API version.
i have some questions about stripe
Hi, is it possible to create an invoice to a stripe connect customer without Stripe customer accout / ID?
Hi, Our platform is built on .NET Framework 4.5 and we saw in your developer documentation that Stripe compatible with 4.6 and above. We need to know if there is any way to get it to work on our older Framework or will it require us to update to 4.6. We are interested getting a possible game plan together in order to determine if this is a possibility for us.
Hi there, I think I may be missing something obvious, but the Submit button doesn't show up here when I mount a Payment Element onto the DOM?
Hello!
I'm using stripe connect with payments holds, along with separate chargers and transfers to make a platform where money from a given purchase is split amongst influencer, supplier, and platform
this is an application where suppliers can make new listings as they please
This being said, at what point is the link between a given listing purchase and the supplier and influencer made with Stripe?
I remember there is a way to create 'products' in stripe and associate with a connected account but I plan on programmatically creating everything regarding the potential transaction during the payment intent
I guess to put it simply, is the connection between connected accounts and transaction ever stored on stripes end, or does it only store related transfers via a transfer group, with the details being held together on my end/database with relations such as between connected account ids, transfer ids, customer ids, etc?
I hope that makes sense 😅
hey can you help
Having an issue with Standard connected account setup - user's enter a valid business Url, however Stripe says it cannot reach the Url
webhook url question
Hello, sorry to bother as i'm sure i'm missingthe obvious. I am new to stripe and cannot seem to find simple instructions and the necessary files to upload composer for use with PHP running under an Ubantu (22.04 AMD64) operating system. any help or pointing me to Stripe For Dummies would be appreciated.
I have created several products from the Stripe dashboard, where the first product is a flat rate and the other three are usage based. I want to combine these 4 products and make one subscription. I was trying to create a Payment Link but I only see the flat rate product and am not able to add the usage based products to it. What do I need to do inorder to make a subscription with all 4 of these products?
Is it possible to send an email for a user to update their payment method via the API? Specifically referencing this article https://stripe.com/docs/billing/subscriptions/share-update-payment-link
Currently we do this by hand but I want to automate it so a user can request this email themselves. I see how you can update a payment link if you have the credentials but not how to send or generate this payment update link.
do we have an api to un-reject a stripe connect custom?
Good afternoon, I setup the mpomotion code and it keeps telling me the code is invalid, I followed the doc here https://stripe.com/docs/payments/checkout/discounts
Hello, I was just wondering how often do my stripe dashboards get updated? I see that the last update was from 2 days ago, why is that?
I am using the stripe-apps cli to start a hello-wordl app. I got a missing "Access-Control-Request-Private-Network" header. I think this is a new CORS rule that is enabled in some Chrome versions. I can't find the code for the app plugin for the CLI in the public GitHub repository to add this header. Is the code public? Can I open a ticket for this?
I received email from stripe telling me support stripe doesn’t support my business. Is it true that stripe doesn’t support teaching people about stock market
I use discord to teach people
I want my service provider's customers to get an invoice without having to create an account for them.
hi, it seems i am getter more stupid by the second. Someone called "Snufkin_Stripe" replied to my previous enquiry and posted a question, but i can't even seem to find a way to respond to the post. a message says the thread has been closed, and if that is the case, cld someone tell me why?
Hello, is there a way to fetch a connected account's "Future refunds or disputes or negative balance" amount through API? The balance API only returns just the regular balances.
Hello, I can't use billing portal due to some specific functionality, so i will make an endpoint for upgrading and downgrading, and use stripe.Subscription.modify() to do so. Should i call that endpoint directly from my frontend, or should i use checkout with setup_mode to grab the latest payment details first? I'm unclear on best practice.
I listed my Facebook page as the business domain, due to a lack of an official website. My payments have been paused. It states Stripe couldn't verify the email on the domain. What can I do here?
Issue with API version and discount code
Hey, we're working on some onboarding updates with the new requirements coming for connected accounts. We previously were not using hosted onboarding for account KYC, but are moving to it. When we move our customers and new requirements become available how does the login verification work? If the person updating the information is different than who originally set it up. Will they still have access to update the info?
Working on with schedules and getting this error One or more prices has a tax_behavior that conflicts with the tax rates that apply to the corresponding line item. when trying to apply a tax rate to them. I am wondering what the issue is
Hey guys I have a question regarding activating buy now pay later in our stripe customers custom checkouts
We're attempting to submit an update of our Stripe Marketplace App for app review. Our app is over a year old and primarily used as a Stripe in-dashboard experience. Another of our teams is migrating a former Connect Extension to unify with the Marketplace App and share authentication to the Stripe platform.
To do this, we added OAuth support and support for install links in our stripe-app.json.
We're attempting to submit our app for review but it's insisting we have to provide a "Marketplace install URL"and it seems to suggest that "if users start from the Stripe App Marketplace, they are redirected to this URL to install your app."
I'm nervous, because we don't want the experience of users who install the app from the Marketplace to change. We're primarily an in-dashboard app. However, if people use install links to install the app, then of course we want them sent back to the app install process.
Can we fill out this information without affecting our Marketplace app? Did we somehow mess up the configuration of this? How should we proceed?
Hello may u call me my number is 680-254-2350 I need my doordash 1099 form
Can an animated GIF be displayed on a stripe terminal?
When i make a payment using ach, and i search for my bank to connect it to stripe. After processing payment, i get an email to verify micro deposit on my acc. But i dont see anything on my account.
Im a developer
Hi. We use Stripe Connect, and created a subscription/invoice on behalf of a customer. The customer reached out to use because the invoice was paid with ACH, even though our customer had disabled ACH as a valid payment option.
In the API request setting up the subscription, we did not pass in any parameter relating to payment methods, so we figured it'd take the default from the customer's account. Is this not true? And if not, how do we set up the request such that the only payment methods allowed are the ones specified in our customers' accounts
Hello, I'm testing Google Pay with the payment element and I'm getting the following error.
Unsafe attempt to initiate navigation for frame with origin 'https://local' from frame with URL 'https://js.stripe.com/v3/payment-request-inner-google-pay-8879e84f9a631ff1961570c9848a2dfa.html#authentication[apiKey]...'.
The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.
Is there any way to address this?
Hi Guys,
I have deployed my webhook on Firebase Cloud Functions but I am not able to resolve the request.body issue.
Here is the error that I'm getting :
Webhook Error: Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead.
This is my code :
// functions/index.js
const functions = require('firebase-functions');
const admin = require('firebase-admin');
const dotenv = require('dotenv');
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
const express = require('express');
const cors = require('cors')({origin: true});
dotenv.config();
admin.initializeApp();
const app = express();
// Middleware to parse JSON
app.use(cors);
app.use(express.static('public'));
app.use(express.urlencoded({extended: true}));
app.use('/webhook', express.raw({type: 'application/json'}));
app.use(express.json());
app.post('/webhook', async (request, response) => {
const sig = request.headers['stripe-signature'];
console.log('Hello World Sign');
console.log(request.body);
console.log(typeof request.body);
console.log('Hello World Sign');
// Verify the Stripe signature
let event;
try {
event = stripe.webhooks.constructEvent(
request.body,
sig,
process.env.STRIPE_SECRET_SIGNATURE,
);
} catch (err) {
console.error('Webhook Error I Just Found:', err.message);
response.status(400).send(Webhook Error: ${err.message});
return;
}
if (event.type === 'checkout.session.completed') {
const session = event.data.object;
// Extract relevant information
const customerEmail = session.customer_details.email;
// Fetch user by email
console.log(`User ${customerEmail} marked as paid.`);
response.status(200).end();
} else {
console.error(`User not found with email: ${customerEmail}`);
response.status(404).end();
}
} else {
response.status(200).end();
}
});
exports.app = functions.https.onRequest(app);
I'm using stripe payment link for payment and then webhook for handling the rest of the functionality
I'm using stripe payment link for payment and then webhook for handling the rest of the functionality
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hello as i am creating a subscription of customer and as i know stripe will automatically recurr money but some the cards need authentication to deduct the money how to handle that case
Hi, Im trying to make work ACH payment, and I have some questions about it .
1.- When I try to make add the account manually it takes you to another page where a microdeposit is set to your account. And we have to put the code to validate it. I want to know if is there a type of response after validating the microdeposit. Like a return url or something.
The structure is : Form + Adding account manually + stripe popup + external page to validate microdeposit + ? ().
2.- When seaching for the bank to add it automatically , what is the process ? I’ve tried out of test mode, I’ve got an email to an external website to validate micro deposit. Is that the structure ? But I didnt find anything on my account . If link my account to stripe to validate it automatically does he have to check it ? With a micro deposit ?
wusap bro
quick question.. if I create a promo code with a customer id is that customer id the only customer allowed to use that promo code? Would I have to not specify a customer id in the promo code to allow any customer to use the promo code?
Hi there, When creating a payment intent I want to set its source from the url, can you please share the doc? Is this the the one ? https://stripe.com/docs/payments/payment-intents#storing-information-in-metadata
Sara guapaaaaa !!
Why im not recieving any payouts
I get message payout settled but i dont get my money to my bank account
In dashboard its not showing anything
Its been 1 month… 😏
Damn
How can i check logs
On the dashboard
Developer settigns
Also install stripe cli
And you will get every step on the console
is it possible to add css styling to the <stripe-buy-button> component? the fixed width is really fraustrating since its not responsive to screen widths. I need to make is smaller but I see no way to do this
Hi everyone. We've successfully activated Apple Pay in our Stripe account, but we're facing an issue where the Apple Pay button is not visible in the normal tab in Safari. However, in a private tab, the Apple Pay button appears without any problem. Furthermore, when checking the console, we notice an error message stating "There isn't any card in the wallet."
Has anyone encountered a similar experience or has insights on how to resolve this issue? We'd appreciate any guidance or suggestions.
Hi @vocal wagon , thank you for answering the @celest trench 's question. I appreciate your input. However, I've noticed some inaccuracies in your responses. It's important for us to provide accurate information in this channel. Could I kindly ask you to pause from further replies on this specific topic? Thanks for your understanding!
i need help paying past due charges who would i ask about this to get my account back active ?
Yeah sure
i just wanted to help
sorry 😄
How can I get the connected account available balance using the API
Hi everyone, I have few questions that i've looked into already via docs but just wants to reconfirm:
- is it possible to have a custom cycle period for subscriptions other than daily, weekly, monthly and yearly?
- Is it possible to have a custom on boarding UX when I use Stripe Connect with Express accounts?
- Also if I wish to use Stripe Tax with Stripe Connect (with Express accounts, invoices and destination charges), which seem to be in beta right now, is there a expected general availability timeline, what are the prerequisites to use it?
Hello
hello can anyone replay me in above thred?
@timid fable Discord is busy now and will take time to respond. I've updated you in the thread
Hi,
When I add an invoiceItem in a different currency of the invoice does stripe automatically convert it into the primary currency of the invoice?
Hi, I am implementing multiple SaaS product subscription using api. I add products as subscription items for a single subscription. If I want to cancel one of the subscription item using api and subscription of this subscription item should remain until end of current subscription cycle, how can I implement it which api should I use?
why stirp is saying raw: {
message: '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',
detail: {
header: 't=1705401991,v1=c7def8ee81ddaf376accb5079d38b0239ae6adfbb964898c51d9c714e48035e7,v0=c75740c3d2e93d4228da3963508b0ab4e1a9b5aabe5bb2e928287232ac1a5c32',
payload: [Object]
}
},
even raw body is object and there is correct webhook key
i am creating the account using api and also providing the url which is available also, but in stripe dashboard it says "
This URL couldn’t be reached. Make sure it’s available and entered correctly or provide another."
Hi guys , In a recent transaction, a destination charge payment of $100 was processed, but due to an error, the application fee was inadvertently set to an amount greater than the actual transaction value (e.g., $350). I am seeking guidance on how the application fee is calculated in such scenarios.
Specifically, I would like to know:
In cases where the application fee exceeds the transaction amount, how is the application fee determined? Is it based on the original transaction amount or the erroneously specified application fee amount?
Is the entire payment considered as an application fee, or is there a mechanism to distinguish the portion meant for the application fee from the actual transaction amount?
In situations where the application fee exceeds the transaction amount, is the Connect account debited by the difference, and if so, to what extent? For instance, in the mentioned case, would the Connect account be debited by $250?
Hi, i was using stripe sdk version 20.88.0 in java project now i want to upgrade this stripe sdk version from 20.88.0 to 24.11.0, can you suggest me how we can fix this
We want to integrate skype in an application which is made using flutter. We want users to save their cards and further would be used for auto payment. The app will be running in United Kingdom.
Is it possible and how we can achieve it? Please give detailed information.
Note - The cards will be based on UK (United Kingdom) region and the auto-payment would be without OTP or any 2-Factor Verification.
Hello guys!
Hello
Hii devs, is there any way to setup webhooks for events of connected account, such as end customer creation under connected account and payments from end customers of connected account
i have and issues with stripe in magento that in stripe Payment succeeded but in magento admin that payment is pending to changes is reflected
I have a question regarding configuring the "Title" of the subscription in the customer portal!
@ancient sky Let's use the thread created for you: https://discord.com/channels/841573134531821608/1198895370349064302
Pending webhook response this is a status in stripe account
@vocal wagon Let's use the thread created for you: https://discord.com/channels/841573134531821608/1198894971240075354
subhrajeet99
Hello devs
Can I manage Deposit and Withdraw for multi currencies using stripe without stripe connect ?
this issues i face recently
Hello, I have a question. What happens if user attemps to pay, the payment goes through, but my webserver is offline, therefore it cannot receive the webhook request? Will my server never know what happened, unless I tell it manually?
Hello, I have problem with withdraw function via Stripe. Can anyone help?
If I have allow_promotion_codes set to true and the user inputs a promo code that includes a 100% discount on a recurring subscription, will the transaction (and subsequent invoices & charges) be subject to fees if there are no restrictions on the promo or coupon (i.e. no max duration on the coupon)?
hi. After user add card (https://stripe.com/docs/elements/customer-sheet?platform=ios) what next step to make pay ment using this ?
Hi, I want to create a PaymentIntent and transfer money to a connected account. I intend to use the 'on_behalf_of' parameter to transfer funds internationally.
In Python, when I run the following code:
stripe.PaymentIntent.create(
api_key="sk_test...",
amount=1000,
currency="eur",
on_behalf_of="acc_id",
confirm=True,
payment_method_types=["card"]
)
It gives an error and says I should enable the payment method. Could you help me understand how to handle this?
Hello everyone, I'm using Stripe in Zapier and want to create a payment link based on multiple selected options in a Webflow form. Is it possible to add multiple products under 'Price'?
Hey, is the 2-year subscription available for all Stripe accounts now? #1194769368312193095 message
Hello! Quick question; for subscription payments when using Stripe Billing, we're planning on having retries enabled for declined subscription payments. If a payment gets declined and retried, say, 2 times, would there be a payment intent for each payment attempt? So in total, if the 2nd retry fails, we would expect 3 payment intents to have been created?
Hi devs. We have a customer with a 20% off coupon (cus_EOWY0cDT3tBoEg). We notice that on their invoice in_1OV7CTHZLNwo79RqegpqhJrL this discount has not been applied to the subtotal – it's been applied to just one line item. Shouldn't the default behaviour be to apply it to the whole invoice?
Hello, I have connected accounts, and I would like to know the payments related to the payout. Is it possible? Sometimes, I have three payments linked to one payout.
Hello guys!
I'm trying to create a custom payment flow.
From what I understand from your library, an invoice is what creates an payment intention and I need to create an invoice to record this payment.
Should I create and invoice first and them use that payment intent as client_secret ?
This is my architecture diagram, I'm I miss something?
Thank you so much for your support.
Hi, is there anyway to change default currency on stripe account?
Hi All
We want to migrate our integration to PaymentElement. But we want to charge different amount for different payment methods. Like if you purchase using IDEAL, BANCONTACT we charge EUR 100, For CARD, charge EUR 102, and for PAYPAL charge 105 EUR. (The amount are rough calculation).
If there a possibilty to do this with automatic_payment_methods enabled?
in https://dashboard.stripe.com/settings/payment_methods not able to find paypal .
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hey, when creating a stripe app that listens checkout.session.complete events on behalf of the merchants, is there a way to differentiate which merchant the event belongs to from the event payload?
Hi all 🙂
We are working to integrate an s700 device with our POS, so that ordering and payment is done on the same device.
We started with the sample app https://github.com/stripe-samples/terminal-apps-on-devices
When payment is initiated from the app, by calling the sample backend app, creating a payment intent and sending it to the Stripe Reader app on the device, the payment works as intended, putting the Sample app in background and then back in foreground.
We want to achieve the same functionality, while doing the payment intent fully server-side, so have our backend send the payment intent straight to the device. While this way does start the Stripe reader app on the device, after completion the sample app does not come to foreground, probably due to no context send to the Stripe Reader app.
Question is, is there any way to have the Sample App listen to events and start whenever Stripe Reader app is done processing a payment, even if this payment intent did not come from the Sample App but directly from the server ?
Thanks a lot for your help 🙂
Hello,
- Can we manage multi currency using stripe
- Can users of our platform withdraw their balance directly. Is yes, how can we handle multiple country forms?
Hello, everyone.
I am a senior web developer called Riki from US.
If you need my help, please DM me.
Please see #📖rules no. 4
Hi all,
I'm having issues of properly tracking the Payments which are inside a Payout, sent from Stripe to a Connect Standard Account. We're looking through the API, but we see no information on where to find the correct information
I'm receiving an error in uploading my Stripe app "3:Invalid permissions for Stripe app: rak_datastore_read",
Relevant lines of code
{
"permission": "datastore_read",
"purpose": "Cancel flow feature support, including anti-gamification."
},
{
"permission": "datastore_write",
"purpose": "Cancel flow feature support, including anti-gamification."
},
Log URL:
https://dashboard.stripe.com/test/logs/req_9YVAfwFOAO0iKf?t=1705918436
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hello
my website has HTTPS and domain registered, but i can't see google pay button, please help me..
If I have a Customer with a Subscription paid via PayPal, and I missed the mandate.updated event when the user cancelled their recurring payment via their PayPal account (i.e. not via the Stripe portal), is there any way of determining that the Mandate was cancelled?
I've never really understood the Mandates API — a Mandate has a reference to a Payment Method, but I can't seem to look up Mandates based on a Payment Method, Customer, Subscription etc… or am I missing something?
Hello I’m new here
Hello everyone, I've a PHP code like this
$stripe->subscriptionItems->createUsageRecord(
$subscriptionItemId,
[
'quantity' => $usage,
'timestamp' => $currentTimestamp,
]
);
//the $stripe variabile passed is
$stripe = new \Stripe\StripeClient(
[
'api_key' => $stripeApiKey,
"stripe_version" => "2022-11-15",
]
);```
If I print out this into a try catch, I got this error
(Status 404) Unrecognized request URL (POST: /v1/subscription_items//usage_records). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.
Hi, I finalized an invoice with the parameter 'auto_advance' set to true. According to docs the invoice should be sent automatically to the customer. But it doesn't. What can be wrong here?
(I am running on test account)
hello everyone, is there a stripe phone number i can connect?
👋 Hello everyone,
I'm new here and seeking some assistance with Stripe, specifically regarding coupon management. I have three different subscriptions, and I've created a coupon meant to apply only to two of these subscriptions (let's say subscriptions X and Y, but not Z). However, I'm facing a challenge: I can't seem to retrieve either the price or the details of the subscriptions for which the coupon is applicable. This is problematic because I need to display the correct total in the cart, but the current information is inaccurate, except for the final payment via Stripe.
My Question: How can I retrieve information about the products to which a coupon can be applied?
What I've Tried: I've been using stripe.coupons.retrieve(couponID) to fetch my coupon. Here's the response I get:
{
"id": "jMT0WJUD",
"object": "coupon",
"amount_off": null,
"created": 1678037688,
"currency": null,
"duration": "repeating",
"duration_in_months": 3,
"livemode": false,
"max_redemptions": null,
"metadata": {},
"name": null,
"percent_off": 25.5,
"redeem_by": null,
"times_redeemed": 0,
"valid": true
}
In this response, I can't find any information related to price_Id or prod_id. Does anyone have any suggestions on how to tackle this issue?
does stripe required raw body buffer or object in webhook
Hi team, can you help me how to update an existing card mandate with new card details? Say, if the card of the customer has expired. In this case would I have to revoke the existing mandate and create a new one? Or is there a way to update the payment method attached to the mandate?
I need to build an OpenAI like usage-based pricing model and I was wondering if stripe had an easy way to do that without having to use any external tool like Lago. Basically, I want to charge $5 in advance as a weekly subscription and give the user $5 worth of credits and debit from the credits every time users make a request to the api. I saw this documentation but it seems like too oversimplified. It doesn't mention any way to keep tracking of the credits, charge in advance, and stuff like that... What do you guys think?
hello can someone help adivce if such is possible in stripe connect
I am building a multi vendor marketplace MVP and may require to provide discount codes what i mean is
if i have 5 vendors each selling and item of 100 usd
admin commission 20%
if buyer goes to purchase 5 items therefor 500 USD . Admin may want to provide a discount of 100 USD , therefore only charge total price of 400 while still sending full 100 USD for each vendor
Is this possible ?
Hi
I want to create a checkout session for my customer and they will pay it, this payment is subscription mode.
But every customer have invited by a affiliate user in my app.
I have connected their stripe account to my stripe platform.
and these affiliates are from different region and I want to pay them per user .
I handle it in the same region by Transfer.create
how can I do for all region?
Hello
hello
is there a way to charge the user only once at the end of the month for multiple subscription?
some more information:
- we're using pay-as-go pricing and decided to charge the customer at the end of the month for all the subscriptions collectively
Weird my help just disappeared
Hello, it is possible to add notes in Stripe for a customer. In this case the note will be visible in history and also last note is visible on top left of the customer information.
"add note" in screenshot shows in detail what I mean.
Well, I tried to do this via API, but I did not find any documentation about this. Any advice?
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hello, I don't understand how to copy and paste a subscription to a connected account
Hello!
I have a question about issuing and posting invoices. My accounting department has pointed out that VAT invoices are issued at the wrong rate.
Context: I am a company registered and paying taxes in Poland, I sell a product in Euro, when someone from Poland buys it, he pays 23% VAT, which is calculated based on the Euro exchange rate.
Unfortunately, this exchange rate is wrong - it should be the average exchange rate determined by the National Bank of Poland on the day before the transaction, which is not the case.
Can you tell how you calculate this exchange rate and whether it can be changed somewhere in the settings?
Hi there support team, we're having trouble with the test environment 'always-succeeds' IBAN. Recently (since Saturday) it has returned an error about being 'high-risk' Example: req_IwTHQT9RfkxrS9
I'm trying to create a payment through Elements for my Connected Account, but I keep getting the error: invalid_request_error - client_secret. Can you give me some pointers?
Hello
i have a problem i tried to create a domain with stripe for apple pay at the beginning i tried locally with ngrok it worked well i managed to activate the domain but when i put my react application (vite.js) on heroku i can't activate the domain it's been more than 2 days.
thanks you
Hello
Is there any stripe test card such as wallet.type=apple_pay?
I only see test cards that are not "wallet"
thanks
Hi! I want to start saving card info as this website does, once you click continue you can assign a tip. Note: I dont manage log in users, only anonymous ones
I know there are tutorials on the checkout but I want to do it here
Hello,
I'm updating a subscription (server-side), after checking the pending_update object to know if there is an error.
I try to handle the case a 3DS is required. If I check the PaymentIntent Status I have requires_payment_method as I'm off_session.
How am I supposed to manage this (server-side) to let the user do the auth ?
Thanks
Hi, we have a customer complain that on their bank statement descriptor they are seeing the name of a different merchant than the merchant which they made the purchase at. In the Stripe console we see the correct Statement descriptor, but their online bank statement shows a different one
If I create a promo code for 100% off will it work for any price id? I am worried if I create a promo code and if I change price id's later that it will not work for the new price id.
Is there any way i can send token in header along with Stripe webhook?
In my API server i am using token based sucurity for each API. now when i call a webhook then my system is rejecting it. is there any way i can pass any static token?
some1ataplace
Or lookup keys coming to the dashboard anytime soon?
Is there a new email I should be hitting for support? support@stripe.com now returns a message saying that the inbox isn't monitored
by default if we don't request 3ds, will stripe use 3ds for on session? for example, this 4000002760003184 test card always authenticate and we don't have a rule nor code to request 3ds explicitly?
Hello
Hi there! We're looking to do something similar to separate charges and transfers, but we'd like to be able to use a top up as the source transaction, is this possible? If so, what id do we set as the source_transaction in the transfer call?
Hey folks,
The subscription API handles leap years perfectly. But what about installments divided into a month, for example, "every 7th and every 8th." Should I create two subscriptions for the same person? Or can I do this with a single subscription? On the other hand, if I want to manage my country's holidays, can I pass this to Stripe so it knows the most appropriate time to charge my subscriptions?Or should I update these subscription dates?
Or actually, this problem maps better to creating my own solution based on business days and holidays using the Charge API than the Subscription API.
Thanks.
Stripe showing wrong banding information (stripe avatar instead of my company's logo)
Hey i gotta verify myself to get the money but i make picture how they ask but it give me constantly error
Hi, I have a problem with Google Pay. I am using React and payment element to create a form. I am able to see Google Pay button but when I click it - it shows me "Another step will appear to securely submit your payment information". Why I am seeing this and not my credit cards list?
Hi, I have a question, if i creating a Plan and setup a Monetize on MEE6 Bot Server to my Discord Server, Does i need to pay Tax? If i using Stripe or PayPal but i don't have a Good business. Can i setup Monetize without Business but only Private person?
Hello, I have a problem with my transactions.
Is there any webhook to know cancelled subscription's cancellation period is ended.
for example, user made monthly subscription on 20th Jan. and on 21th Jan he cancelled subscription
then we got stripe webhook for 'customer.subscription.deleted' but we dont' want to drop user's status here cuz we still need to give user right access until 20th Feb. because we got payment for 1 month (on 20th Jan) even if this subscription cancelled for now
Hi team! We're migrating from charges API to Payment+Setup Intents API and planning a potential rollback strategy. We wonder if there is any way to make a PaymentMethod created through SetupIntents usable by charges API
Hello - is it possible to have custom domain with endpoint for webahook where Stripe sends events about payments based on original request? We have multilocation product which handles payment separatly. While the webhook endpoint can be the same the domain differts - example: https:{{location}}.mydomain.com/stripe_webhook where location should depend on original request doing the Stripe Checkout or PaymentIntent?
As a (primary Nuxt.js 3 & TypeScript) developer, how do I use Stripe as a payment processor in the following 2 cases?
- if I want to establish a prepaid system (with credit)?
- if I have very flexible prices for hundreds of thousands of products that I don't even know yet? I would like to resell domains and am in a reseller program with a reseller API with a few percent discount for me as a reseller, I would like to add a few percent to my procurement price when booking and then charge these prices via Stripe. As a developer, what would be the correct Stripe area? I'm still a bit confused by all the Stripe solutions and endpoints and don't quite have my head around them yet.
Hi - Can a Stripe administrator contact me via private message? I will discuss an important issue.
Hi, im getting an error
StripeCheckoutForm.tsx:81 Uncaught (in promise) IntegrationError: Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element. It looks like you have other Elements on the page. Refer to https://stripe.com/docs/js/payment_intents/payment_method to confirm a Payment Intent by payment method.
const { error } = await stripe.confirmPayment({
//`Elements` instance that was used to create the Payment Element
elements,
confirmParams: {
return_url: 'http://localhost:5173/success',
},
})
Hi all. We're using the older version of Stripe Checkout. Browser console reports warnings about a new version. How big of a need is there to upgrade? Will the old version be deprecated at some point? If so, what is the timeframe?
Hello, I'm encountering a problem whereby, when I create a new express account (in Dev mode), there is no account created event, so there's no request sent to my webhook. However, I can see in the dashboard that the express account was indeed created. All of this works fine when I use Stripe CLI, but not when I use the online Test environment.
Hey everyone,
I hope you're doing well. I'm currently facing an issue with the Stripe API, specifically with a Checkout Session Completed event.
Here are the details of the event I received:
Event ID: evt_1Oam11AaMGlePnDclvOVvmIF
Event Type: checkout.session.completed
API Version: 2023-10-16
The issue is that I'm consistently getting a 500 error in response to my request. I've checked my Stripe Dashboard, verified the API version, and reviewed my integration code, but I'm unable to pinpoint the root cause. In addition, all "invoice.payment_succeeded" events in the same webhook go through, but "heckout.session.completed".
Key details from the event can be provided as necessary such as:
- Checkout Session ID:
- Customer Email:
- Payment Status:
- Subscription ID:
Could anyone help me troubleshoot this issue? If you've encountered a similar problem or have insights into why a Checkout Session Completed event might result in a 500 error, I'd greatly appreciate your assistance. In addition, this is my first time using Stripe. I am using the SDK with NEXTjs.
Thank you in advance!
Hi all. Just came across a weird error with Stripe payment intents. We are using Stripe connect, and for our connected accounts (which have the us_bank_account_ach_payments capabilities active), the payment intent create function returns as:
The payment method type "us_bank_account" is invalid.
When creating a payment intent, this is what we give to the function:
payment_method_types: [
'card',
'us_bank_account'
]
This was working up until recently, can't figure out what the problem is. If anyone could help, that would be super great!
Hi All, I'm using Stripe React Native SDK to integrate and got this issue when doing initPaymentSheet on iOS.
"customerEphemeralKeySecret format does not match expected client secret formatting"
It works perfectly fine for android!
It looks like this has been reported here on github and its still in Open status https://github.com/stripe/stripe-react-native/issues/1528
Is there something I can do to fix this at my end?
I'm making a call to GET events of a certain type created after a specific time. If the API responds with has_more = true, I'm not seeing a next_page parameter in the response as to where to get the next set of responses (like i see with other GET endpoints). Is there something different about pagination on the events endpoints?
I am trying to understand why a particular testing coupon code is not working in the stripe checkout session. https://dashboard.stripe.com/coupons/f1JRTLWz is the coupon and the promocode id is promo_0ObSEPwPNbMMXFhmg195aASf. My checkout session is payment mode and but when I enter the code it always says "This code is invalid"
address element people, I can't find how the country is set to "United States" by default. I know I can change default values, but curious if this is related to IP or customer location?
hello
Hello everyone! Anyone ever seen this error message before? There's zero available information on it that seems to match in Google
Is it possible on my stripe account in testmode to delete all data (payments,stripe connect accounts, ...).
Hey devs, this error occurs as soon as i use the live keys instead of the test keys,
is this in any way related to the second image, were the account is active but on waiting period at the time time(its been about 2 months)
Hi, is there anyway to modify the text on the left side of the Checkout Page?
Hey I would need an assistance with this alert message: "We've detected that you're using Subscriptions. In order to enable/disable payment methods for that integration, you'll need to visit the Billing settings page."
Hi, I would need help with accepting a bank transfer (https://stripe.com/docs/payments/bank-transfers/accept-a-payment?country=eu). I saw in the docs that they use paymentIntents and set automatic_payment_methods: {enabled: true}. I am using setupIntents and also set automatic_payment_methods: {enabled: true}, but it doesn't show the bank transfer option on my checkout form (even though I enabled the option in my dashboard). Is it possible to accept bank transfer with setupIntents, instead of paymentIntents?
Hey.
I am trying to customize the PaymentElement component. Is there a way to change PaymentAccordionButtonTagline for Accordion Payment Element?
not being funny yeah, i've been waiting fcking months for support to reply back its annoying me
Hello! What i should do to enable this Payment Method (P24) :
I have problem integratign stripe in my project. pleasse help me?
I can create checkout page, and after this, I can't get transaction info again? how to solve this?
Recently I found some error om production related to ChargeBlast.io
How can create setup intent for bacs direct debit in php
Why am I getting an error for this?
promotion_code = stripe.PromotionCode.create(
coupon=settings.STRIPE_YEARLY_COUPON_ID,
active=True,
max_redemptions=1,
metadata={
'yearly_price_id': settings.STRIPE_YEARLY_PRICE_ID,
'product_type': 'Yearly',
},
)
print(promotion_code.code)
promotion_code = stripe.PromotionCode.create(
File "/home/ubuntucinnamonremix/.local/share/virtualenvs/project_name-N48DVpuC/lib/python3.8/site-packages/stripe/api_resources/abstract/createable_api_resource.py", line 16, in create
return cls.static_request(
File "/home/ubuntucinnamonremix/.local/share/virtualenvs/project_name-N48DVpuC/lib/python3.8/site-packages/stripe/api_resources/abstract/api_resource.py", line 139, in static_request
response, api_key = requestor.request(method, url, params, headers)
File "/home/ubuntucinnamonremix/.local/share/virtualenvs/project_name-N48DVpuC/lib/python3.8/site-packages/stripe/api_requestor.py", line 122, in request
resp = self.interpret_response(rbody, rcode, rheaders)
File "/home/ubuntucinnamonremix/.local/share/virtualenvs/project_name-N48DVpuC/lib/python3.8/site-packages/stripe/api_requestor.py", line 399, in interpret_response
self.handle_error_response(rbody, rcode, resp.data, rheaders)
File "/home/ubuntucinnamonremix/.local/share/virtualenvs/project_name-N48DVpuC/lib/python3.8/site-packages/stripe/api_requestor.py", line 159, in handle_error_response
raise err
stripe.error.InvalidRequestError: Invalid request (check your POST parameters): For assistance, contact support at https://support.stripe.com/contact/.
Hi, when it comes to stripe connect. What should I do to send an invoice/reciept looking like an invoice to the client / seller after the successful payment? Also how would I send a monthly/weekly invoice for all of the application_fees to the connected stripe account from it's transaction? Is it supported by stripe?
Hello, when I try to add the payment option bancontact for WooCommerce, it gives this page:
Hi there, reaching out to see how to increase this limit
I never had an issue with receiving larger payment amounts prior to this request
We have a platform with Connect Standard Accounts. In our dashboard there's an area where they can create TaxRates. When are we supposed to include the TaxRate while creating a PaymentIntent? Or do we connect it to a Product/Price?
@pine panther see the thread I created for your question https://discord.com/channels/841573134531821608/841573134531821616/threads/1199079623447814164
Not sure why, you need to talk to our account support team anyways. You can go to this page https://support.stripe.com/?contact=true
Hello Developers,
i need some help with our stripe subscription management. Our current setup involves offering customers a free trial period without requiring a payment method upfront. We're using Stripe, which automatically pauses the subscription if a payment method isn't added by the end of the trial period. This functionality is working well.
Now, we're focusing on a new scenario:
When a customer on a paid plan experiences a payment failure, we don't deactivate their account immediately. Instead, we have a 28-day dunning process. After this period, if the payment issue isn't resolved, we manually disable their account.
Here are the requirements: If customers wish to reactivate their subscription after a payment failure, they must pay for the 28 days during which the charge failed.
Specific Use Case: If a customer adds a new payment method after a period of inactivity (say, 2 months), they wouldn't be charged for the time their account was disabled (i.e., after the 28-day dunning period). They would only be charged for the duration of the dunning cycle.
My Question:
what is the correct action to use on stripe when their dunning process ends? is it pause payment collection, cancel subscription or something else.
when reactivating what do i do to invoice the customers properly based on the above use cases.
A method i have tried is pause payment collection - this doesnt totally work because the docs (https://stripe.com/docs/billing/subscriptions/pause) say the primary use case is if we cannot provide services, but thats not whats happening. it doesnt fit our use case and also the status of the subscription stays active which is not right. the subscription is technically paused.
Any other suggestions on how this use can be handled?
That was rude. It wasn't clear that this wasn't support
@pine panther Apologies that came off as rude. I was just trying to be direct. Please talk to our support team, I cannot help you in this channel.
Hi, my app uses subscription statuses to lock people out when they are past due, but I have one customer who has no missing payments and their subscription is in a past-due state
Hi. I want to send Business Name and Tax ID when creating subscription.
I want the Business Name and Tax Id to appear on Invoice or Receipt.
- Can i update subscription with taxID or business name or i need to update customer?
- Also, i can only do it on webhooks right? If the subscription is paid i can update the business name and tax id from metadata i've sent when creating the subscription right?? And then when the subscription is canceled or removed, i need to remove business Name and tax Id?
Does anyone know what to do if a Stripe account is blocked? There is no technical support, no one answers. There is no number I can contact?
hallo
Hello I need to know why my Stripe Account is temporarily suspended because of a website issue
ich habe eine frage unswar möchte ich stipe als zahlungmethode für meine verkäufe anbieten aber ich möchte asls zahlungsmethode nur paypal und Klarna anbieten mit ratenzahlung !
Hi Stripe friends, we're seeing an increase in slow transactions through the stripe terminal SDK (both the latest version of v2 and in v3.) After looking through our own logs, I don't think the problem is in our system but I wanted to check and see if you're noticing anything before I dive deeper. Thank you.
Hi I broke my phone and cannot get into my stripe account to receive my 1099. I tried changing my password, but I don't have the back up code due to my phone being broken, and cannot change password. I need help getting into my account please.
I cannot access the form to I this, because it always routes me to sign in 😭
Hi, there is any way I know when a payment form is successfully filled? Iam trying to make an extra step on my payment (assign tip)
Hello
I created a subscription schedule which will modify the subscription plan at the end of the billing cycle. Now I want to cancel my subscription but when I go to the customer portal page I don't see the "cancel" subscription button. Am I doing something wrong?
azack87
Hi, I have created a custom field in the checkout form however in the invoice.paid event, the custom_field is always null. Does anyone know how I can fix this issue? Thanks.
joseamica
Hello, me as a merchant, i want to receive a paysafe card from my customers. i want to send that payment to Stripe API, by following the instructions of this page https://stripe.com/docs/payments/external-payment-methods?platform=web#available-external-payment-methods
i tried the example on the page, and i am getting this error Stripe.StripeException: The payment method type [paysafecard] is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use.'
i went to the link and there is nothing that i can use of.
Two questions
a) is there any complete exmale on how to utilize this paysafecard feature
b) if i need to activate paysafecard is there any instructions that i have to follow.
i need some help with this one
Hi there! When creating a subscrioption in the future: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#start-subscription-future
Is there a way to already have the Invoice ready before the subscription starts?
Good morning/evening guys,
I'd like to enable the ability to use the "Enabling access to raw card data APIs" feature for a particular test stripe account.
It is ONLY for generating system tests integrating with Stripe from the backend as we test some features using test clocks.
Do I talk with the discord support, or submit a request elsewhere?
Hey @willow latch , thank you for your reply yesterday
#1198862612717391944 message
Actually we are using Payment Element in our web application. We've noticed that the Apple Pay button is not showing in a regular tab in Safari, and there is an error in the console saying "There isn't any card in the wallet." However, the button is visible when testing in a private tab.
We've followed the documentation (provide any relevant links), and we're unsure why this behavior is occurring. Can someone help us understand why the Apple Pay button is not showing in a regular tab and what might be causing this discrepancy?
cannot create payment intent.
Hi
My Identity Verification Got Failed Again And Again
I Have Also Tried By Changing My Device
Is there a recommended way to do gift cards in stripe? Users can purchase a gift card for a dynamic amount, they go through the Stripe checkout session and I create a gift card record in the DB that can be redeemed later with use of a redemption code. But when a new user goes to redeem this gift card, there doesn't really seem to be a way to easily change the price of a list of existing line_items on a checkout session that is using Stripe prices for subscriptions.
Not sure if this is the right place, but I'll ask --- is there anyway to withhold a specific $ amount in a connected account so it doesn't get paidout.
In other words, transfer money that is holding in a connected account back into the primary stripe account?
When using the Checkout Pages I am listening for the checkout.session.completed webhook. But if the item that a user bought is out of stock during the time they were checking out, what status code should I send back to stripe?
Using this page for some initial documentation.
https://stripe.com/docs/payments/checkout/fulfill-orders
Hey I'm building a short term rental marketplace similar to airbnb, booking.com, etc. I have connect express accounts setup and following this similar example: https://stripe.com/docs/connect/collect-then-transfer-guide
A couple questions and how to go about scenarios with payouts and essentially holding funds. We are using stripe express connected accounts to do payouts to hosts.
I have a user that wants to stay at a short term rental property. The user wants to book a stay let's say 3 months in advance. They make the booking and payment. However I don't want to payout the host until the stay has actually happened. What is my best route of doing this?
Do I hold these funds in my stripe account and then transfer to the appropriate stripe connect account?
Can I initiate a payout during the payment intent with a manual payout of a particular date once the stay has been completed?
Hey, if I want to force an initial subscription of 3 months, I should look at the subscription schedule right? Can I configure it to be a per-month payment afterwards?
Hello, anyone have an idea about why is this asking for SSN if Last 4 were already accepted? Now the account is restricted
"Using payment method tests from backend code"
Apologies, I took too long to respond to a thread, this is the content:
In answer to the question, I'm trying to create a phase for a subscription, and there is the default_payment_method field and it doesn't accept the test ids (so far as I know).
I am testing connecting to Stripe checkout. The app I am working with allows me to create a web service connection. I am using basic authentication with my sk_test key. The information I need to verify is the base url (https://api.stripe.com) and the default headers (which I do not know what to send, if any). I am able to connect in Postman to prove some amount of competency 🙂
How can I handle payout to other banks us in Stripe in Node Js?
I have a React Native app that makes use of the paymentsheet mobile payment element (followed this documentation https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet). It works fine for cards, but I want to add cash app, Google Pay, and Apple Pay as options. Currently the only option is card payments. In my server code, when calling stripe.paymentIntents.create(), I have the automatic_payment_methods attribute enabled. On my dashboard I have Cash App Pay, Google Pay, and Apple Pay turned on. However, the resulting paymentsheet in my app does not have Cash App, Google Pay, or Apple Pay as options. I attached a screenshot of my app's paymentsheet. What could I be missing?
after creating an invoince how many times stripe tries the payment only one?
I created new session to make checkout, and in here, payment_indent is null, how can I have valid payment_indent?
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
I'm lost. I am new to Stripe and trying to find what solution we should use.
We would like to use Stripe's checkout page (not our own pages or elements).
It should be simple to just direct a customer to Stripe's page (with some identifying information either via GET or POST) and then have it redirected back. Could you direct me to the documentation for that? I seem to have missed it.
as in test mode stripe is not sending any mail to customer. How to test 3d authentication email then?
I want to test our Stripe integration with Cypress tests. We are using the hosted payment page approach. I can use our checkout normally in my browser with any kind of enabled payment method. But I can't test the checkout with Cypress. Cypress is a test automation framework.
When I run my tests, I get the following error in the console of the Crypess-controlled Chrome browser
VM1623:1 Uncaught IntegrationError: payment Element didn't mount normally.
at e._handleMessage (VM1623:1:80751)
at e._handleMessage (VM1623:1:93480)
at VM1623:1:79617
Uncaught IntegrationError: loaderUi Element didn't mount normally.
at e._handleMessage (VM1623:1:80751)
at e._handleMessage (VM1623:1:93480)
at VM1623:1:79617
My test looks like this
cy.origin('http://stripe.local', () => {
cy.log('Set up Origin')
cy.on('uncaught:exception', (err) => {
cy.log('ErrorLog: ' + err.message)
return false;
// if (err.message.includes('loaderUi')) {
// }
});
})
Storefront
.visitProductDetailPage()
.addProductToCart()
Storefront
.visitCartPage()
.startCheckout()
.login()
.fillInNewAddress()
.selectShipmentMethod()
.selectPaymentMethod('Stripe', 'Stripe')
.placeOrder()
In the placeOrder() method I submit the form to our servers and get back a redirect URL which is used for the hosted payment page to be rendered. I don't see such errors when I go through the checkout manually.
Can anyone help with this issue? Does someone have the same or a similar setup? Is this a Cypress bug or am I missing some configuration on Stripe?
I'm using Node for backend and Flutter for mobile. I create a PaymenIntent like this
{
amount,
currency: 'chf',
customer: customerId,
payment_method_options: {
card: {
request_three_d_secure: 'automatic',
request_extended_authorization: 'if_available',
},
},
automatic_payment_methods: {
enabled: true,
},
capture_method: 'manual',
}
The PaymentIntent was created successfully but I have this error when trying to confirm it
payment_intent_invalid_parameter
This account is not eligible for the requested card features.
Previously, confirm PaymentIntent worked without request_extended_authorization: 'if_available'. I'm trying to extend the hold period.
Hi,
I have created a weekly subscription $20, and paused it in between the billing cycle. although it says to deduct the unused amount in the upcoming billing but it displays whole amount in the next billing cycle. i have attached the image
Hello, I am new to coding and am trying to implement Stripe webhooks into my application. I am using smee.io and it is working. I cannot get my server to receive the webhook payload. Stripe dashboard says the payload is being sent and reports back a 200 but my server log is returning a 400 error code. This is my endpoint code:
router.post('/webhook', bodyParser.raw({ type: 'application/json' }), async (req, res) => {
const sig = req.headers['stripe-signature'];
let event;
try {
const buf = Buffer.from(req.body);
event = stripe.webhooks.constructEvent(buf, sig, endpointSecret);
} catch (err) {
return res.status(400).send(Webhook Error: ${err.message});
}
// Handle the event
if (event.type === 'payment_intent.succeeded') {
const paymentIntent = event.data.object;
const paymentMethodType = paymentIntent.payment_method_types[0];
const userId = paymentIntent.metadata.userId;
const total = paymentIntent.amount / 100; // Convert amount to dollars
console.log('Payment method type:', paymentMethodType);
let feePercentage;
let feeAmount;
if (paymentMethodType === 'us_bank_account') {
// ACH payment: .8% fee
feePercentage = 0.008;
feeAmount = total * feePercentage;
} else if (paymentMethodType === 'card') {
// Card payment: 2.9% + 30 cents fee
feePercentage = 0.029;
feeAmount = 0.3 + total * feePercentage;
}
// Assuming total is accessible here
const newBalance = total - feeAmount;
// Update the user's account balance
await updateUserBalance(userId, newBalance);
// Respond to the webhook event
res.json({ received: true });
}
});
async function updateUserBalance(userId, newBalance) {
try {
// Implement your logic to update user balance in the database
console.log(User ${userId}'s balance updated to ${newBalance.toFixed(2)});
} catch (error) {
throw new Error(Error updating user balance: ${error.message});
}
}
pass fees need help
Hello, I am using stripe.refunds.cancel to implement user cancel refund,it will throw a error, error message: StripeInvalidRequestError: Charges must be refunded using the /v1/charges/{CHARGE_ID}/refunds endpoint.
Hello team,
We have a manage plan feature in our system where the user can change his existing plan. There are 2 plans: Monthly and Yearly. We want that when users have some time left on the existing plan and they switch to another plan, the pending amount be adjusted in the total charge. For example, the user is on a monthly plan and has 10 days left on the plan which amounts to $9. We want this amount to be adjusted in the total for the new plan in this case: $319(yearly plan charge)-$9 = $310 be charged to the user. And resume with the complete amount from the next cycle.
We are trying to accomplish this all using checkout session tokens with embedded iframe. Can you please suggest the appropriate way to handle these subscription updates using the checkout sessions?
Thanks and Regards
For payment links, is the only way to specify a specific price per payment link through an API call? Or can other data be passed in when using payment links, such as individual price per call to the payment link?
Hi, we would like to show Gross Volume and Net volume as displayed in stripe website as widgets in our admin panels
for that we would like to retrive them from stripe via API
which APIs we should use to get reports?
Hey, I'm currently developing a connected stripe app and have been using stripe trigger checkout.session.complete to test locally on the CLI.
I have a custom product setup with some metadata. When trying to use the trigger flag as follows
stripe trigger checkout.session.completed --stripe-account acct_1ObLBEJVArmNjTxQ --override "checkout_session:line_items[0].price=price_1ObbysJVArmNjTxQg3DcXQhG"
the correct product is passed back, but the metadata is not
So tried to use the following trigger to add metadata
stripe trigger checkout.session.completed --stripe-account acct_1ObLBEJVArmNjTxQ --override "checkout_session:line_items[0].price=price_1ObbysJVArmNjTxQg3DcXQhG" --add "checkout_session:line_items[0].price.metadata['credits']=50"
Even then, the metadata still didn't show up
I have problem in webhook, after payment is sucessed, I can get event using webhook, and in here, I have to call specific order api, but i can't sure this payment_indent is from where checkout page?
how can I know it so that I can call correct api.
Hi there,
Do anyone know if Stripe support MobilePay from Denmark?
Live support is unavailable rn, but my Stripe account is currently blocked from payments and payouts...
Yes, but the support is not available right now, so that's the whole problem here..
@tame finch I've already created a thread for you, please keep the discussion there.
I'm from Namibia and would like to make use of Stripe on my Website. App's etc,. I see it's not available but there has to be any other way to make use of it, irght?
Hi I have a scenaio
where we maintain wallet for our customers
we need to automatically top up their wallet whenevr it goes below threshold
I have though of using subscriptions for this but subscriptions wil charge customer based on time interval
so how can I achieve this in stripe ?
Anyway to connect me with a sales agent to clal me, please?
@wintry sail I've already created a thread for you, please keep the discussion there
Hey how can I add apple pay as an option for my server client setup with checkout.session.create. I already have the web domain set up and I removed payement_meathods so it chooses it for me. I only have card and cash app working. To be clear I am using the checkout api with a stripe hosted page
Is there any way to apply for fast withdrawal in unsupported country?
How can I capture failed payment status
In docs it's mentioned requires_payment_method is the status for failed payment
But stripe javascript api doesn't have this kinda event when implementing webhooks
How can I handle this?
Is there any way or a doc related to connect my stripe account with spreedly ?
I have one requirement for ecommerce application like, I need to create multiple sellers and also mapped bank details of all sellers. So that whenever I need to do payment to any seller, I should not ask for bank details to any seller.
Questions:
- I have a form using which seller can register them self in my application. How can I create a seller in Stripe using API?
- How can I get Stripe form to get seller bank details and save in stripe for payout?
Can you please guide me for above requirement and questions?
Hi.. I would like to know how to send a money to receiver bank account and debit card instantly without verifying receiver using stripe API ?
Hi , anyone can teach me how to review the bank account number I have entered for my Connect ID
I'm stressful now and worry entered the wrong bank account number
@harsh moon I've already created a thread fo you, please keep the discussion there.
I have a problem, I try to create a subscription but when the payment is due it cannot be paid. I use the following code
var newOptions = new SubscriptionCreateOptions
{
Customer = stripeInfo.CustomerId,
Items = new List<SubscriptionItemOptions>
{
new SubscriptionItemOptions
{
Price = "price_1OXeqqIpfXMlhmETFeQ58KHB",
Quantity = 1,
},
},
TrialEnd = DateTimeOffset.FromUnixTimeSeconds(startdateSubScription).UtcDateTime,
};
var subScripSer2 = new SubscriptionService();
var subscription = subScripSer2.Create(newOptions);
I refer to this link
https://stripe.com/docs/api/subscriptions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Is there a way to directly transfer all the test environments to the production environment?
How do i get in contact about payments with stripe?
Hello team!
I have the next situation:
Customer has a payment method, but it is not default
Also customer has a subscription without attached payment method (Charge default payment method)
On the billing time, charge was failed because no default payment method (status Retrying)
My app doesn't support customer default payment method, but it supports payment method attached to subscription
Question here: if I will attach via API existing payment method to subscription, will be next Retry with success?
Thank you!
hello,
continuation from this thread https://discord.com/channels/841573134531821608/1198971556383178803
is this is safe approach, for creating a single invoice
const stripe = new Stripe('sk_test_...');
// Retrieve the customer object
const customer = await stripe.customers.retrieve('cus_...');
// Create an invoice item for each subscription item
for (const subscription of customer.subscriptions.data) {
await stripe.invoiceItems.create({
customer: customer.id,
amount: subscription.plan.amount,
currency: subscription.plan.currency,
description: subscription.plan.name,
});
}
// Create an invoice for the customer
const invoice = await stripe.invoices.create({
customer: customer.id,
});
// Pay the invoice
const paymentIntent = await stripe.paymentIntents.create({
amount: invoice.amount_due,
currency: invoice.currency,
customer: customer.id,
payment_method_types: ['card'],
});
await stripe.paymentIntents.confirm(paymentIntent.id);```
Hi Team
if we are paying through invoice url .. ACH option is missing .. How to include ACH option there ..Could you please help me with the settingd
hi
I have problem with my account it will closed I need to know why how I can speak with anyone
@teal socket I've already created a thread for you, please keep the discussion there
I have just added a local listener on my machine. The callback in my endpoint complains about a mismatching whsec
Where can I find the whsec of my local listener?
Hi there ! I'm simply trying to add a price to Stripe using the API, but I always get the error message "parameter_missing - currency". Of course, I have the "currency: 'eur'" in my JSon file. Did anyone already got this trouble ?
Hi, is stripe provide any pay later service
Hi, I wanted to use Stripe Link (autofill for faster transactions) but under my payment method settings it's not showing !? what can I do !?
Hello,
I have the following situation:
In a reservation app (like Airbnb), the user can make a reservation in advance. The function to take a payment intent t is limited to 7 days. However, in our case, the user can make their reservation 40 days before coming.
How can we best configure this payment flow?
Thank you for your response
Hey, in order to use the smethod stripe.products.create method on a stripe app, the product_write and product_read permissions are needed right? Are there any other permissions that may be needed to use the api method?
Is there any way through which we can test the production enviornment?
Hi All,
I am trying to integrate Stripe Payment API with Drupal 10 .
In my current Payment workflow I am planning to pass price and order id to the Stripe Api. All the other additional logic to get price and order id is being handled by Drupal.
I have tried to Use Stripe Drupal Module (https://www.drupal.org/project/stripe) and integrate payment with custom form. I tried to use the example form provided in the module to test payment but I am getting an error message stating "Description Field Is Required for Indian Users" . I have posted the issue in Drupal Stack Exchange But I haven't received any solutions from the community. You can have a look into my post here(https://drupal.stackexchange.com/posts/318143/) .
Can you please guide me on how to customize the form to include a description field during payments ?
I even tried to test the official sample php example from the official website. But I am getting Content Security Policy Violations for images. It has been previously reported in the Discord Chat(#dev-help message) as well.
I have included the sample repo to reproduce the issue through code from two different official sources. You can refer to master and stripe-youtube branches from the repo (https://github.com/bhanuzoom3/stripe-sample-code). You can find instructions to reproduce the issue in the README file in the repos.
Can you suggest a way on how to integrate stripe with a custom workflow through custom code or with no code solutions or at least suggest a way to overcome Content Security Policy Violations for images from the official PHP Example code.
Drupal.org
Provides Stripe integration with Drupal. All are welcome to help out. Drupal 8/9 Version 2.x is a complete refactor of 8.x-1.0. There's no upgrade between major versions.
HI I have created set up intent (with 3ds enabled card and usgae is off session)
Then used that setupintent id to craete new payment intent
in this case I am getting status as requires_action
With off session payments, how to avoid requires_action
Hi. We are storing (in stripe) the customer card details and\or BACS details, and then periodically creating charges against them. Is there any way we can regularly call Stripe to check if the payment method is still valid (eg not expired) so we can pro-actively prompt the customer to update the details, rather than waiting for a failed payment to happen?
Hi, I can run $paymentIntent = $stripe->paymentIntents->retrieve(
$_GET['payment_intent'],
); locally but cannot in production environment and returns server error.
Hi
HI i'm using react app with ExpressCheckoutElement, and i want to show/hide google pay and apply pay, is there a way to hide or show them after the initial load?
I need help on multiple currencies on checkout with subscription mode
Hello, is there a way to get the id of the invoice that will be created from a modification in my subscription with proparation_behavior = 'always_invoice' ?
Hey folks. It looks like getting a PaymentMethod object of type 'card' returns the brand field of the card as a "machine name", whereas getting a Card object returns the brand as the proper name for the brand. Is that right? https://stripe.com/docs/api/cards
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi, for a connect account:
Is it possible that a payout that was marked as "failed" transitions to a "paid" status ? Or Stripe will always create a new payout when the previous is marked as failed ?
Thanks!
Hi!
Would like to ask if there's an api (PHP) to get my default currency in stripe?
Refused to frame 'https://pm-redirects.stripe.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".
i am facing this error can anyone solve this please
Hi there, we are using Stripe Connect with connected Standard accounts.
On the frontend of the connected account we use Stripe.js and PaymentElement.
const stripe = Stripe(publishableKey, {stripeAccount: accountId});
const elements = stripe.elements({
clientSecret: clientSecret
});
const paymentElement = elements.create('payment');
paymentElement.mount('#payment-element');
I'm trying to find a way to check ApplePay and GooglePay in test mode. But if I create PI via API with specified payment methods $paymentIntent['payment_method_types'] = ['card', 'sepa_debit', 'apple_pay', 'google_pay'];
It fails with the error The payment method type "apple_pay" is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use.
But in the Connected account, it's activated. It is also activated in Platform account in Payment Methods -> Your connected accounts (https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts).
Do you know what I'm doing wrong?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
When creating a price, what's the recommended way to fetch for all of the supported currencies for the merchant to accept as payment?
I've currently found this stack overflow here that shows that the country_spec api could be used, but just wanted to double check to see if there an easier solution before diving into this one
Hi,
I have a technical question regarding the checkout page.
We need to share the country of the user to the ERP of our final client and we are not able to get it via Webhook nor via API.
Can you please let us know how to get this information?
Many thanks,
is invoices sent by the payment success page automatically to the client personnalizable? I would like to include legals mentions like TVA number, SIRET....? i think it's here ? : https://dashboard.stripe.com/settings/billing/invoice?tab=general
Hi, I'm currently looking at the Refunds API. We manage a 'balance' internally for customers and there may come a point where we want to refund this balance to the customer. We use PaymentIntents to take money from the customer. When refunding, this may be a partial refund, a full refund, or there may be the case where the customers' internal balance may be greater than that of the last PaymentIntent. Due to this last scenario, the Refunds API won't work as the refund amount would be greater than that of the Payment Intent. Is there an API method we can use for making a payment back to customers?
Hi is it possible to have many customer related to one, (for instance: customer A and customer B, can create invoice with their addresses but pay with customer C payment method)
Hello there, need help about abnormal time/delay to refunds customer from holded payment ( not captured ) and released, customer from Spain and Italy get there refunds after long long time, so they ask me what happen
Hello, I would like to generate with API an "update_payment_method_link", that can be generated from Stripe dashboard from Subscriptions section. See example in thread. How can I do it with API?
From : https://stripe.com/docs/connect/direct-charges
Caution
Direct charges are supported only for connected accounts with the card_payments capability.
But creating a standard account through api with capabilities gives "you cannot create standard connected accounts with capabilities via API"
But I plan to have quite a bit of connected accounts, so how can I automate this?
var stripeEvent = EventUtility.ConstructEvent(
json,
Request.Headers["Stripe-Signature"],
"seceret key");
The given variable(stripeEvent) is giving null values even after amount is deducted through the stipe account. I am passing the parameters on json, requestheaders and signing secret but values are not get always null
it is neither showing any error
Hello, anyone here know how to use stripe treasury api for African countries?
Hi there!
According to this page https://stripe.com/docs/refunds#refund-webhook-events, most use cases should consume the charge.refunded event in order to verify if a payment intent has been successfully refunded. It seems to me that the received payload contains a charge object, which exposes a refundedAmount property, and an expanded payment intent. For my specific use case, I also need to know if the refund has been processed as a charge or as a reversal, and in order to do so, I should consume the charge.refund.updated webhook, which (according to our tests performed in Test Mode) seems to arrive no more than a few seconds after the charge.refunded.
I was wondering if the charge.refund.updated is guranteed to be delivered every time that a refunded is processed, and, if so, what would be the reason for the charge.refunded event to be consumed in the first place. Consuming only the charge.refund.updated can be considered a reliable solution as well, or am I missing something here?
yarn add @stripe/stripe-react-native
I have installed this SDK. But I am unable to access stripe property in project. getting error while wrap provider in root file. Error you can see in screenshot.
Hii there,
I am trying to implement stripe payment in my app, currently my payment has a billing cycle for eg: If someone buys at the present moment, the subscription starts in a past date like the beginning of the current day 00:00:00 hrs, and ends similariy after 1 month at 23:59:59 hrs. But while integrating stripe the billing cycle start and end time are the current exact time, Is there any Possible way so that I can change the stripe billing cycle as per my current Payment design ?
Hello, for Stripe my paypal payments aren't working i get 400 bad request, in test mode there is no issue. I think it has something to do with Recurring Payments. In payment_methods wallets on stripe dashboard it says recurring payments are enabled at the bottom but on the left it says recurring payments requires approval? I've disabled and enabled multiple times and gone through the pending approval process. Why does still say "requires approval" for recurring payments on the left?
Hello, I've recently noticed a Stripe JS error exclusive to the dev environment. Specifically, when loading the webpage with the Stripe payment module, the following error appears: "JSON Parse error: Unexpected identifier 'gbx'." A screenshot from the browser developer console is attached. Any assistance in identifying the root cause would be appreciated.
Is it possible to use a webhook to differentiate a pending payment from a payment that has been authorized but not captured in a checkout session?
im having subscriptions, and when there is checkout screen, can i make it, so it wont require credit card in order to finish checkout, if the price is 0 (for example if client got code with 100% discount)?
Hi, we are a platform with Connect Standard Accounts. We have a solution where our Accounts are able to receive deposits/down payments on products. Is there a way to generate a payment link where we 1) set the product, but 2) also set the price?
Hi all,
I have an active subscription with a price that is inactive now. The docs says https://stripe.com/docs/products-prices/manage-prices#archive-price that any existing subscriptions that use the price remain active until they’re cancelled and any existing payment links that use the product are deactivated.
However when I add a new user to existing subscription with an inactive price, it fails with an error that price is inactive
I have created a checkout session, but in the response it seems like customer is null. I tried to expand this with "customer", but I still don't get the customer back
good morning. is there a way from a charge on a connect account in the form py_xxx to retrieve the platform charge in pi_yyy ?
Hello How Can I retrieve all future invoice items from subscription object in order to cancel subscription and future invoices?
Hi, is it possible to add 1 subscription item and cancel 1 subscription item in one invoice.upcoming(params) call? And also proration should be applied for addition of subscription item but not for cancellation of subscription item. (I am doing Saas subscription where multiple subscription items are added to one subscription)
Hi,
I am looking to implement a complex payment scenario for SaaS.
Scenarios:
purchase multiple subscriptions that should be billed in same invoice and on same say with one transaction.
- each SaaS subscription can have different start and end day but should adjust to billing start/end
- each SaaS subscription can have free trial (X months - 1,2,3 etc) and can be booked even after first subscription is running
so lets say)
ModuleX x 5 seats on 1.1.2024
ModuleY x 3 seats on 20.1.2024 with 1 month free trial
invoice will be generated on 1.2.2024 with cost for module X
And then on 20.2.2024 A new invoice with ModelY remaining cost untill end of next period (1.3) should be generated
What would be best way to implement this? - do note for now I have 3 modules but will likely have more.
I have a SaaS that is just released with a 14 days trial. But now when the trial is ended the user is just "active"
Have I setup something wrong or should the plan not be "terminated" or something like that if the user have not paid?
Hi, I'm looking at updating our integration to use payment-elements with Automatic payment methods instead of manually defining PaymentMethods with card details. Is there a way to continue specifying the billing_details within the PaymentMethodData?
previously we would be manually specifying this info when building the PaymentIntent using "payment_method_data[billing_details][email]"
however I'm unsure how to set this data after moving to AutomaticPaymentMethods and payment-elements
we're trying to use Tap to pay , we were able to get a development entitlement from apple,
we're not able to build the app for internal testers or internal distribution, even with buildConfiguration is set to Debug.
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hi I'm having trouble with the way stripe is displaying the price of my product.
Hi, I use stripe for managing subscriptions for clients. I was implementing a logic for allowing clients to reactivate a subscription in case it expired because of failed payments. So I use the simulator on a daily subscription sub_1ObfMVCLVhDzDB1fS8YarQPH, attaching the failed card 4000000000000341 . After adding a few days, some payments failed and the subscription's status was set to past_due .
So then I tried to re-activate the subscription. At the beginning I changed the payment method to a valid card, hoping it will automatically charge the failed payments, but it didn't. Then I manually paid the failed payments, but status is still past_due .
Which is the proper way to reactivate a subscription?
Hi all,
I have an active subscription with a price that is inactive now. The docs says https://stripe.com/docs/products-prices/manage-prices#archive-price that any existing subscriptions that use the price remain active until they’re cancelled and any existing payment links that use the product are deactivated.
However when I add a new user to existing subscription with an inactive price, it fails with an error that price is inactive
Hey my stripe account is blocked payouts paused any reason?
Hi, Can anybody assit with Gravity forms and stripe, error on payment - There was a problem with your submission: Unable to authorise card. No response from Stripe.js.
hii there!
I have a quick question if you could answer. Currently I have products whose prices change frequently also user has options to buy addons along with the main product. What is the best way to manage it at scale because if I think of this way i.e create a new product everytime with a new price will clutter my stripe dashboard, is there a better way to do this ?
Hello
I need help in authorizing the payment that we will capture later (after 2 days) of payment. Using Wordpress and Fluent forms.
Good afternoon Stripe development team,
I have two questions about storing the payment and billing information needed by the user to make subscription payments to my platform.
To give you some context:
- The user subscribes to the platform annually.
- The subscription is automatically renewed unless the user cancels the subscription or deletes the account from the platform.
- We integrate Stripe's Billing functionality.
Questions
- Within the screen to manage the plan, the "Payment Methods" section contains details of the payment methods used by the user. Who has visibility of this type of data (us, Stripe) and who, where, and how will they store it?
- Also on the Manage Plan screen, the "Billing Information" section contains the details needed to issue the payment invoice to the user. Who has visibility of this type of data (us, Stripe) and who, where and how will store it?
Hello. I'm seeing a lot of Data for your report type payout_reconciliation.by_id.itemized.4 is not available yet. Reports are only available for payouts created before xxx when I attempt to generate a report for payouts. Oddly this only happens for an account in Finland, so maybe it's timezon related. I react to payout.paid when I receive this error. Is there a different webhook I should use?
Good afternoon Devs!
I'm implementing the Connect Embed JS into my page. Site is using laravel/livewire and I'm running into some issues. When I import the JS package into the app.js and then review the complied version I get this error:
Expected document.head not to be null. Connect.js requires a <head> element.");return document.head.appendChild(s),s};let Lt=null;const cu=()=>(Lt!==null||(Lt=new Promise((s,e)=>{if(typeof window>"u"){e("ConnectJS won't load when rendering code in the server - it can only be loaded on a browser. This error is expected when loading ConnectJS in SSR environments, like NextJS. It will have no impact in the UI, however if you wish to avoid it, you can switch to the `pure` version of the connect.js loader: https://github.com/stripe/connect-js#importing-loadconnect-without-side-effects.");
Even if I do this is has the same effect, (3 examples):
import * as StripeConnect from "@stripe/connect-js";
import { loadConnectAndInitialize } from "@stripe/connect-js";
import { loadConnectAndInitialize } from "@stripe/connect-js/pure";
Hey there,
Is there a way to specify and set the API ID when setting up the Pricing of a Product?
It appears we have set custom API IDs in the past, but currently the API ID is being set to a random string like price_012aBcD123EfG456HiJ789.
If we can set it manually, how is that done --- not finding this in the docs?
Hello,
Is it possible to have 3 different companies on one stripe account and receive money from one wordpress+woocommerce+wpml eshop? For example If user purchases product from English version of eshop the money shoud go to Company Number 1, if user purchases from Lithuanian version of shop then money goes to company number 2.
Hello, I have two questions regarding payment intents.
- can a payment intent object have more than one successful charge associated with it ?
- is it possible to set a different transfer destination for each of the payment charges?
Hello, I am having issue with stripe webhook event handling and signature verification. I am receiving the payload but the signature verification keeps failing. I have triple checked that my webhook secret is same as in stripe dashboard.
Hi! I have a question around Boleto payments in Brazil. I understand there's a flat fee for each payment that is 3.45 BRL.
I have products that goes as low as 10 BRL so if an customer wants to pay to that product using Boleto, I'll have around ~35% from the revenue being cut off, which is harsh for my margins.
Is there a way to "forward" that cost to the customer by somehow adding an extra fee to the invoice without compromising the ones that pay via credit card?
Hey - I've just upgraded our stripe libraries to the latest version, which we refer to in code (ie apiVersion: 'X'). This is also used when consuming webhook events. We haven't as yet updated the dashboard version, is there an issue if we do not do this? Or does this only apply if the api version isn't specified in code?
Hi ! We have just noticed that the pdf invoices generated by Stripe don't have the VAT line under subtotal. I don't understand why it won't appear.
According to this page, fields 12 to 14 should always be there ? https://stripe.com/docs/invoicing/global-config-guide
It appears that we have properly setup Stripe Taxes.
Do you have any pointers on what to look for that may explain this ?
Hi I cannot access my old phone to get authentication to log into stripe. Is there anyway around this?
Hi, I want to create a subscription I have the customer setup already and billing information/payment method set. I also have a plan created on stripe what I want now is while charging the customer for that plan I want to override the currency set on the plan, it’s set as USD I want to be able to charge different currencies based on my customer country on my system
Hello, I have a question about application fees with an external tax tool (Avalara). We're using destination charges want to use application_fee_amount instead of transfer_data.amount but you can't add application_fee_amount to an invoice after an external line item has been added, and you can't add it to a payment intent that's been created automatically by an invoice, so is there any way to to use application_fee_amount in this scenario?
Hello, when using the Stripe-CLI how is the api-version set?
when running the listen command I can see the api vetsion is set to an older 2020-08-27 version and would like to update this :
stripe listen --forward-to localhost:8080/damo/realtime/stripe
Ready! You are using Stripe API Version [2020-08-27].
Hello, question about API Rate limits. If we are using Stripe hosted services such as Checkout, Payment Link or Invoicing, do API calls generated from those services count towards our account rate limits?
Hello! Am looking to accept Revolut payments, our account is approved. We're using Stripe.js, and use methods like stripe.confirmAlipayPayment in our code but there doesn't appear to be a `stripe.confirmRevolutPayment' method
Hi, i succesfully save the card once the user paid, but I want that the user can reuse it after. How I can do that
Australian connected account payouts but also charges: We are taking on some Australian merchants (custom connected accounts), and we would like to be able to pay out to them (which is standard with a external bank account, but we also need to be able to charge them for certain fees, preferably directly to their bank accounts and not to their connected account. Is this possible?
Hello! is it possible to add a custom payment form to handle payments using stripe for subscriptions instead of using Elements after creating subscription intent(https://stripe.com/docs/api/subscriptions/create)?
I was thinking of using this card token to update the customer's default payment method after creating the subscription intent in hopes that the automatic charge will be done on that provided card:
https://stripe.com/docs/api/tokens/create_card
Please let me know if there is any better method for this or if the way i've mentioned will even work?
@meager hawk following my thread with @waxen spindle is it possible to extend at 30days for payment intent and if yes what are the conditions ?
following this thread :
Aurélien_Unocod — Aujourd’hui à 10:13
Hello,
I have the following situation:
In a reservation app (like Airbnb), the user can make a reservation in advance. The function to take a payment intent t is limited to 7 days. However, in our case, the user can make their reservation 40 days before coming.
How can we best configure this payment flow?
Thank you for your response
Dingbot
a ajouté
tarzan
au fil.
— Aujourd’hui à 10:14
tarzan — Aujourd’hui à 10:14
👋 happy to help
unfortunately the 7 day limit is not extendable
the only way is to generate a PI each 7 days and auth that until you get to the 40 days
but this means that the customer will see each 7 days a new auth request on their bank account
Aurélien_Unocod — Aujourd’hui à 10:50
thanks @tarzan for your answer
There is a function to extend it to 30 days. Is it possible to implement it?
tarzan — Aujourd’hui à 10:52
There is a function to extend it to 30 days
where is this statement coming from though?
Dingbot
a ajouté
karllekko
au fil.
— Aujourd’hui à 10:53
Hi there, we are seeing an issue with Canadian Connect accounts, they are adding Visa Debit Card as Payout Account and they are never getting paid, the funds are kept on hold, anyone knows a bit more on this topic?
We are also seeing people adding CAD TD bank accounts and they are being marked as USD (incorrect currency).
Hi there,
User has paused their subscription for a month. They try to update the quantity of the subscription and it fails on Stripe saying "You cannot create a new invoice for a paused subscription. Unpause the subscription before attempting to create a new invoice."
We want to allow changes to be made on subscription when paused. How do we do it?
ReqId: req_GWLgh7j9WzgWjr
I am running npm run build, its a Laravel 10 project using Vite
Hi! I have another question around Boleto payment. The docs says
Boleto payments cannot be refunded. You will need to create a separate process to credit customers who require a refund.
Which I totally get it. But how can I create this "separate process to credit customers" via API and/or dashboard?
Hi I have a problem with the stripe cli and webhook signature verification
Stripe.StripeException: 'The expected signature was not found in the Stripe-Signature header. Make sure you're using the correct webhook secret (whsec_) and confirm the incoming request came from Stripe.
I am using the webhookSecret from the cli which is printed after stripe listen --forward-to
My c# code
Hi! I'm hoping that someone is able to help me look into why some payment intents failed to reach the readers (network issues or other...). It is for one of our connected accounts. Thank you!
account: acct_1O5YWyFhoVW816AK
Payment ids
pi_3Obn4MFhoVW816AK0g0aZwqp
pi_3ObmZZFhoVW816AK0Q8Miy4f - eventually did go through but the reader was busy (likely from an older attempt?)
pi_3ObmavFhoVW816AK0TxLZPay - started out as reader was busy
pi_3Obmc2FhoVW816AK1iPQrDdw - started as busy and then timeouts
pi_3Obn4MFhoVW816AK0g0aZwqp - time outs and then busy
If I’m using checkout.session.create and I use Apple Pay during checkout will it give me the same values as if they inputed it manually? I am referring to customer details, and shipping details. Or will it be under a different variable like wallet_details. I’m asking because I do not know how to test this
Stripe doesn't support SRI for Stripe.JS, so how are we becoming compliant for PCI DSS 4.0 specifically provision 6.4.3 where it says we need to use script integrity? I bounced this off support and the answer was "We have no current plans to support SRI". The provision is best practice until 3/31/2025 at which point is mandatory for 4.0 compliance. What are people doing?
Hello, I'm using a payment element initialized for subscriptions. I'm testing US Bank Accounts. After the first successful payment, I get an attached payment method with an inactive mandate so it looks like it can not be used for recurring charges. Is there a parameter I need to pass in order to get multi-use mandates?
Hello, I am trying to confirm a payment intent in the FE which was created after an invoice.finalize. The invoice.create was done with these params:
customer: customer_id,
currency: "usd",
auto_advance: false,
pending_invoice_items_behavior: :exclude,
metadata: {order_id: order.id}
}
When I try to confirm the payment in the FE I get the following error:
"Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed with a Payment Intent configured with payment_method_types."
What I do wrong here?
HI!
I have developed a POS in Flutter and I am using https://pub.dev/packages/mek_stripe_terminal SDK to process payments on my stripe terminal (BBPOS WISEPOS_E). it works fine for some time and then stops working as soon as the number of POS transactions increase and I am not sure why this is happening as I don't see any error logs on the stripe portal as well.
I am using the following steps to process a payment on the terminal:
1-Initialize stripe
2-Fetch connection token
3-Discover readers
4-Connect to reader
5-Create payment intent
6-Collect payment
Hello, I tried multiple times to get an old subscription and create a new one, but I have errors everywhere. What the data exactly I have to inform to the copied subscription?
Is there a method to terminate the subscription at the end of the month using the Session API?
Feedback in the stripe webhook workflow
We have a recurrent subscription based model where we issue 50 credits per seat. For every upcoming cycle, we replenish new credits and mark the old credits as expired.
Here's the events I am listening to right now
invoice.paid
- Replenish new credits
- Mark old credits as expired
invoice.payment_failed - Mark old credits as expired
In the current schema I have isExpired: boolean, billingCycleEnd: DateTime
I decided to not use billingCycleEnd for deciding whether the credits are expired or not and choosed to have a isExpired boolean for it as I want to make sure that there isn't any gap peroid between 2 cycle where the credits have expired and the invoice for the next cycle hasn't been done yet.
Is there any flaws in the current approach ? Are there any more events I am supposed to be listening to ?
@crimson needle Sorry but one more question on this if you can possibly add this to the other thread. Do the rate limits apply across all APIs or do they each have their own rate limit. For example, could I be hitting the Customer API with 100RPS and the PaymentIntent API with 100RPS without reaching default API limits? The documentation states "For most APIs..." so it seems like it's the latter.
I have gotten to the point where I can create API calls to create a checkout session and pass that payment link to a customer. My question is for the next step: I need to know that they made a payment (other than getting an email confirmation). Is it reasonable for me to make an API call to check if they paid? Or will I need to consider setting up a webhook which will tell my app a payment was made?
Hi, I have a problem with creating a subscription. Can someone help me?
Hey, need help updating a subscription recurrence. Anyone can help me?
Hello, i have a question about the Stripe API. im looking to build a system, where an admin can create a one off payment link for a customer (from my dashboard). This means that it doesnt need to be linked to a product. Is it possible to make payment link without product? i saw something about paymentintent but that doesnt seem to generate a payment Link. Any help?
Hi guys, I really need your help. I was trying to use webhooks to update our contacts in go high level.. but with webhooks, why is the customer's email always in a diff field? sometimes it is in "email" "customer.email" or "Charge Billing Details Email"
THat's why the webhook does not know which fields to forward to our CRM.. it is not seeing the right email??? Does this make sense?
hi, customers make the order through the site but can not pay. payments arrived until a few weeks ago and now nothing arrives
Hi
Do customer portal configurations expire? Can I maintain a list of configurations IDs in my code and use them forever?
Hello. I have a question about react native stripe SDK. Is there a way to add language other than English to Payment Sheet? The application is built in Expo. It seems that the Payment Sheet is rendered in the phone language on Android, but remains in English on iOS.
Hello, can I please get support on max_occurrences parameter migration
Just one API confirmation, the Stripe processing fees are never added to Webhook event payloads, only the application_fee_amount?
Does that mean if we want to pull this data we have to use the API call home to find it somewhere?
Hi, is there a way to configure alert for stripe webhook failures?
I noticed that when i update a subscription and reset the billing cycle to now and pay with ach the status of the subscriptions transitions to past_due. is there a reason for this and is there a way i can stop this from happening. the way I keep the status of the subscription active is by checking for the active flag on the subscription in stripe
My account is at -0.22 but I've had two client payments from squarespace and they havent shown in Stripe and so I also moved money into the account but that's not showing up either?
Hi! Is it possible for a Connect account to not have a bank account when signing up?
Hey is there an easy way to add invoices to checkout orders using the checkout session api, or would this better be handled by custom server-side email services?
wtf dude, just created the acc 2 days ago and now this happened, how should I send proofs that I'm legal?
hello! is there a way to talk to support easy and fast?
Is anyone available to assist me? I have entered in all my information including ssn ein etc im trying to send my clients payment links but its still verifying.
I also have my phone and bank account connected so im super confused on what exactly the hold up is
Have had this message for almost 2 years and still no idea how to fix it. Email support and get no help. Have about $13,000 in my issuing account 😐
Never got an email asking for information
😭😭😭 stuck here for roughly 2 years now
Hi, hope you're all having a lovely day. I'm a rather new dev, apologies for the inexperience and if this has been asked before and have been scouring the docs, particularly here:
https://support.stripe.com/questions/troubleshooting-webhook-delivery-issues
https://stripe.com/docs/webhooks#register-webhook
https://stripe.com/docs/keys#obtain-api-keys
https://stripe.com/docs/webhooks
So I am listening for the following:
payment_intent.canceled
payment_intent.payment_failed
payment_intent.succeeded
Originally when I tested locally everything was working fine (Tested with CLI, by triggering an event and simulating checkout locally), I'd get the webhook and was listening with a event stream / SSE endpoint?
I remembered to switch to the test webhook, along with changing the keys.
I host on Render and don't see any requests to my route, even though every other route works with the https:// I have currently set up.
Steps I've taken:
- Make sure all keys reflect, and environment variables are properly established. Originally I had an issue where the whsec key was returning an invalid signature because I misread that the CLI gives its own.
-
Remade the webhook as at first I was doing the live webhook with the live key. However I'm only trying to test a payment going through. I have 0 plans to ever go LIVE at the moment, this is just practice for me.
-
Checked logs on my server to see if a request was ever made (it was not)
I'm not sure what else to try and I apologize for troubling you all with this, any guidance would be much appreciated.
Thank you!
Hi everyone, how much it takes to see microdeposits on the ach account ? . Im trying to make work ACH, adding it manually. The thing is i get in the response a 'next_action', which gives me a link to a page, where i have to put the code there SMXXXX. I redirect the user to that link. But the microdeposit is not in the account. How im supposed to make it work ? . User can be waiting or have the tab opened with the link the whole time until he gets the microdeposit.
Does he get an email when the microdeposit is done ? With the link to the page ? How its supposed to work ?
Hello. I have a problem changing my phone number and password. When I type my new password it doesn't let me to process it. When I tried to change my number a notification pops up
Hello i need help about upwork apis graphql
is there a way to set up custom domains in a way so that test mode is different to live mode?
my dev environment does not have access to the custom domain so its hard to test the payment flows / billing portal flow when it keeps going to the wrong link
I had some issues go through because my stripe Python library accidentally updated to a new version in the middle of a transaction. I'm hoping someone can help me make sure everything is properly resolved
Hey. Could I ask a quick question about the Checkout session api process?
Can anyone help me how to add bankdetails in stripe I tried stripe.accounts.create method but showing below error
{
"status": false,
"message": "Platforms in IN cannot create accounts where the platform is loss-liable, due to risk control measures. Please refer to our guide (https://support.stripe.com/questions/stripe-india-support-for-marketplaces) for more details."
}
For a product, is it possible to get its price which was in-force at a specific time in the past?
I noticed that when i update a subscription and reset the billing cycle to now and pay with ach the status of the subscriptions transitions to past_due. is there a reason for this and is there a way i can stop this from happening. the way I keep the status of the subscription active is by checking for the active flag on the subscription in stripe
Hi,
When I provide a user with the link to create a Stripe Connect account, is it possible for them to complete the process without having to provide a bank account?
Hello! I'm experimenting with the Stripe onboarding component atm. Just wondering about level of customization. Is it possible to:
- Customize the help text on some of the fields?
- Change the number of fields which are displayed per page for the onboarding flow?
Hi! I just launched Stripe integration using the checkout flow in my Rails app. Everything was working great in test mode but there's a hiccup in live mode with our first purchase.
After the checkout is successful and the user returns to my site, I'm fulfilling the purchase using the checkout session ID, and I am trying to update the invoice with metadata. I'm getting a 500 api_error "An unknown error occurred" on the POST /v1/invoices/:invoice_id request.
I've tried the same request with the same request POST parameters in test mode and it works fine (obviously a different invoice though, so could be some difference somewhere).
I'm using API version is 2023-10-16
Any ideas?
Hi— when the Stripe AddressElement is in shipping mode, is it possible to change the text of the checkbox toggle? Right now it says, “Billing is same as shipping information”. We are looking to change the text to “Billing is same as mailing information”.
Hello, can we re-open chat for migrating max_occurrences?
I noticed that when i update a subscription and reset the billing cycle to now and pay with ach the status of the subscriptions transitions to past_due. is there a reason for this and is there a way i can stop this from happening. the way I keep the status of the subscription active is by checking for the active flag on the subscription in stripe
How the life of a Stripe object is managed in the Stripe Repository: what triggers the deletion of a Stripe object (like a Product or a Price)?
hello support. can you tell me if theres a limit to the number of payment links that can be generated for a user?
Hi there,
In the Stripe Dashboard when I go into Developers section, I can see based on filters the failed requests of a specific type. How do I get the total count of failed requests?
Hi, I'm trying to use payment intents to transfer money from one connected account to another using standard accounts while accepting a platform fee. Is there a way to do this? It looks like after a payment intent is successful, the money is moved from the user associated with the payment intent's payment method to their own account. pi id ex: pi_3Obqhi4eXQcqhMwl1VJlT8IR
Hello! Is it possible to create a one-time (non-subscription) Stripe invoice via the API with a future due date, and have Stripe automatically charge the customer's payment method on the future due date of that invoice?
Hi, I am trying to setup futuere payment using emebed form https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=embedded-checkout and when trying to integrated in my application form i am getting this error "Property 'initEmbeddedCheckout' does not exist on type 'Stripe'" Code : const checkout = await stripe.initEmbeddedCheckout({
clientSecret,
});
Hi, I am trying to contact support for this but don't see and email or phone number to resolve this issue.
Hi I am working with payment link... And I am adding a subscription item with recurring payment... and I have processed the given link.. Will it create a customer and subscription as result?
I have a question about price_id and customer portals. If I change my price to a different price id do I need to update the portal link as well, or can the same customer portal handle multiple prices?
help with max_occurrences
Hi is stripe available in Egypt ?
Hello! i am using <EmbeddedCheckout /> . The EmbeddedCheckout component displays the subscription details on the left side and the payment method on the right side. Is there a way to hide the left side and only display the right side?
Hi.. is stripe available for Individuals in India?
Hi!
Lets say I receive a lot of requests on my webhook to confirm a payment, and I do an action that takes a long time, like a database access or long-running computation, what would be the best way to handle that? I should not await the response so there is no timeout right ?
Hi... kindly help. Is stripe available in India? I want to setup Individual account to receive payments in India. I don't have business pan and company identitification number
Is anyone seeing 30+ minute delays in Custom Account verification in the test environment? It's hanging on id number verification
Hello. It looks like there is an invoice overdue event now listed in the API docs:
https://stripe.com/docs/api/events/types#event_types-invoice.overdue
It seems to be tied to automations, as the docs say: "Occurs X number of days after an invoice becomes due—where X is determined by Automations".
Is there a way to get this webhook event without using Automations? I just want to get a webhook when an invoice becomes late to trigger other actions outside of Stripe billing.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hello, I'm getting this error when using the PaymentMethod API to create and attach a us_bank_account type payment method to an existing customer.
stripe.error.InvalidRequestError: Request req_LX66o2BnGqVPv8: PaymentMethods of type us_bank_account must be verified before they can be attached to a customer.
Is there a way to get around the verification process when adding a bank account of type 'us_bank_account'?
Hey team! My team and I are working with a partner company right now and we both currently use stripe to process payments. Our partner company doesn't want to need to build a UI from scratch and would be intersted in using something like Stripe Element instead. My question was if there was a way for Stripe Element to collect the payment information and we could have it sent over to our system via token so that our company is the one executing the payment intent?
Hi, I was wondering if sub id (prefix sub) and sub schedules (prefix sub_sched) can be used interchangeably?
Having a really hard time with webhook signature. My webhook dashboard is returning 200 code saying the webhook is succesful but my server log is logging the raw payload but also saying that: Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
Hi there ! Noob here. I am trying to make the checkout of my web frontend work, it works in localhost, but the live version tells me :
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.
I've searched for the same error on the discord, and found out many people get this problem, but i wasn't able to understand what i am missing out ! Please help me 🥲
We currently have an account webhook, and would like to add a connect account webhook, but had a couple questions: Is it possible to specify which connect account events the webhook receives? Is there any possibility of interference, ie if we turn the connect account webhook on will certain events stop being sent to our primary webhook?
Hello! We are looking for a solution that will reliably allow a user to prebill their subscription and then set their subscription to non-renewing after the prebilled term (i.e. they won't be charged automatically at the end of the prebilled term), regardless of their subscription schedule status. We've found some solutions to achieve this, but they require many steps and are flimsy. Is there a recommended path to achieve this?
How to update the Payment Link URL according to whether or not a cross-sell item is added to the main Product? For example, if a user refreshes the page, the cross-sold item gets removed from the transaction.
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
I am using the below code which was mentioned in the documentation.
return jsonify(subscriptionId=subscription.id, clientSecret=subscription.latest_invoice.payment_intent.client_secret)
The 'subscription.latest_invoice' object doesn't seem to have 'payment_intent' when i create the subscription. I follwed the documentation step by step. Any idea why?
Hi, can we know when a country might be added in Stripe? Is there a roadmap with a list of countries that will soon receive support? Apologies if this is the wrong channel 🙂
Hi team 👋 I have a query about API versioning in the iOS SDK vs web SDKs. Hoping you can help out.
Hi all, When using Connect, I'm wondering if its possible to set or 'forward' the description/metadata of each Payment from its initiating transfer. This would make it a little easier for our connected users to reconcile their payments. i.e. it would be nice to be able to set the description here:
Hi, is it possible to make a price edit for a recurring subscription? for example in a case that a user dindt use my service at all and they can request a price drop for this month using api? As i want to provide a service that has a single price per month, but can vary in certain changes, and i need to be able to edit that via api. If i cant i would need to write my own subscription system that generates links each month instead of stripe handling this.
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hello, I can't locate a payment that was made into my account. Does Stripe take money back after I close my account
Hey sorry, Long story short, I paid someone using stripe for an account for a game. They completely scammed me and blocked me, so I'm just trying to get a refund from it if I can. I'm just not sure what to do because I have never used this service.
After a while I messaged them on a seperate account, and they said they refunded me, but I'm not sure if I believe that. They told me to wait a few days for the money, but I'm just worried they're telling me to wait so I can't get the money back.
Hi. I have a setup mode checkout session that sets up a subscription at the return URL. However, I need to pass an arbitrary string ("Basic", "Assisted", or "Payment Plan") so the return URL can setup the right subscription fee and duration. Is the metadata parameter the best way to do that?
Hi, I am connecting 25-30 clubs to our Stripe account for $0 payments (requirement of our CRM). I have now set up 10 with stripe but when I go to add my last few upon login it says "Too many attempts. Please try again later." How do I fix?
I am having issue with the webhook in the production environment
Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
Using MERN Stack
Hi, Im having issue with creating subscriptions using React, nodejs and express
I have downloaded the project and update the dependencies from https://stripe.com/docs/billing/quickstart
After I install the dependencies and run the app. It show me this error:
Proxy error: Could not proxy request /create-checkout-session from localhost:3000 to http://localhost:4242 (ECONNRESET).
Can anyone help with issue?
we are using flutter stripe in our app. In android the postal code section is not there but in ios app it's asking for postal code. is there any method to hide it?
Hi, How can I get the net amount which stripe received after fees deduction?
hi, I'm working with Stripe Terminal (version 3.2.1) on the Android 14. I'm having an issue when making a payment by using Stripe Reader M2. I'm following the flow in the tutorial: https://stripe.com/docs/terminal/payments/collect-payment.
In the Confirm Payment, I got an error: com.stripe.stripeterminal.external.models.TerminalException: You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.
We don't store SECRET_KEY in the mobile app. In previous version (2.5.1), we could process payment, then send it back to our server to capture and our server will call to update payment (https://api.stripe.com/v1/payment_intents/pi_xxxxx).
Could you please help?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
hi I have stripe subscription model in EUR currncies i want to add multiple currency support that means if user come from INDIA then price should show in inr, it user comes from america then price should show in USD.
cam you please help me how to do this???
Hi team, how to connect with other web, I need to connect stripe with airtable and sleekflow for reporting and invoices, is that possible?
hello
i have connect account issue status pending while verify the connect account
in australia
Hi, I want to cancel a subscription item at the end of current billing cycle and proration amount should not be given to customer since product will be cancelled at the end of billing cycle. How can I implement this for SaaS subsctiption?
Hi guys 🙂 I would like to limit what cards customers can use to pay based on their funding type (credit or debit). Is that possible? Currently I use checkout sessions and terminals with server driven integration. Is it possible to set some kind of a flag to a payment intent or something, limiting the type of card customers can use for that particular payment? Like if they use credit, then the payment is fine. If it's debit, they get a "payment rejected" error?
hi
in this
https://stripe.com/docs/api/checkout/sessions/object
i want to send data to session
customer_details email object
how should I send the data?
Right now I am sending data like this
"customer_details" => array:3 [▼
"address" => array:6 [▼
"city" => "bdfbf"
"country" => "126"
"line1" => "Address1"
"line2" => "Address2"
"postal_code" => "45656"
"state" => "State"
]
"email" => "gokulmhegde@gmail.com"
"name" => "Gokul"
]
I am getting this error
Received unknown parameter: customer_details. Did you mean customer_email?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hello Stripe support,
I am writing to inquire about how to get Stripe account statuses through the API.
I would like to be able to get the account status, such as complete, pending, restricted, restricted soon or rejected(and other), so that I can use this information in my application.
Is there a way to get the account status through the API? If so, could you please provide me with the documentation or instructions on how to do so?
Thank you for your time and attention to this matter.
Hi there, this morning when running my app locally I am getting this error:
body={
"error": {
"code": "api_key_expired",
"doc_url": "https://stripe.com/docs/error-codes/api-key-expired",
"message": "Expired API Key provided: rk_test_******************************************************************************************k4Bl",
"type": "invalid_request_error"
}
So I'm assuming that there was some recycling of keys. But this is the thing I'm confused about, none of my keys start with rk_test.
Please help with migrating max_occurrences, still have issues.
I am unable to apply a subscription schedule to an existing subscription
And got an infinite loop
Hey, maybe someone can help me with UpcomingInvoice API. Is it possible to get upcoming invoice disregarding any schedule? I have subscription where upgrades are applied immediately and downgrades applied starting next billing month, I use schedules to apply downgrades in the next invoice. Let me make an example. Let's say user have a subscription with a signle item and qty=10. User changes qty from 10 to 5. My app will create schedule with a phase which will change qty to 5 in the end of the month. If before the end of the month user changes qty to 7 I would release existing schedule and create new one with qty=7. This works just fine. On the last step of the change process I want to show user's new monthly payment. I use UpcomingInvoice with proration_beheviour=none to get new monthly total. If there is no schedule I see new monthly total, but if there is a schedule I see upcoming invoice for this schedule, in my example when user changes to qty=7 they will see monthly total for qty=5.
I need help on stripe connect with onboarding
I need help on stripe connect with onboarding. My problem is I am doing onboarding with account link create and then the onboarding process not asking any identity verification document so then the accounts are geting restricted. That is the problem. So i really need help please.
Hello I have got this ch_3OadHMRd1p7o0FMc1ykaTmIg as an id. How can I find transaction related to this id?
Hii there,
I have quick doubts to resolve about prorations
Hi Stripe team, if I am creating a subscription as part of the checkout process, where the subscription has a recurring price, is it possible to specify that the subscription's start date (and the charge) are delayed by x days? Effectively I want to start the subscription and charge the user as of Feb 1.
I forgot to setup authenticator app during profile setup
How can I setup again
Whenever I make any change in profile it's asks otp
Hello! I am implementing an Express Checkout with Stripe. When a user changes his or her shipping address to UK for example, the payment amount should be updated, recalculated, including or excluding taxes, and displayed. Currently, I use the 'shippingaddresschanged' event (https://stripe.com/docs/js/elements_object/express_checkout_element_shippingaddresschange_event) for this. A request gets sent to my backend, where I give back the recalculated order with line items. I then take the line items and use them in resolve. When I click on order details I can see the line items, but the total amount above does not get updated. Do you have any idea how to resolve this? Thanks in advance!
Hi! is Request 3DS if 3D Secure is recommended for card means that card will be 3ds verified on set-up or every transaction afterwards would also be 3ds verified?
Hi, we take orders via multiple ways, including mail order. We're using Stripe Elements on an internal system to input card details to allow them to process the order and also so the customer can use that card in the future. Does Stripe Elements offer a way to create the SetupIntent "offline" in the same way as payments? We have MOTO enabled for our account. Thanks
Currently we are using single bank account for all the product purchases from our website. But is it possible to route payments to different accounts based on product selected?
Can we link mutiple bank accounts in a single stripe account ? and redirect the payments to different bank accounts using Checkout
i need a help
hi, i'm just trying to understand how https://stripe.com/docs/api/accounts/create#create_account-country works if I create an account and don't provide country, it defaults to the country of my stripe platform account. If the user is based in some other country, can they change the country during the verification process ?
Hello, I have just created an e-commerce store in Poland, and I have activated the corresponding payment methods in this country on Stripe (Blik, PayU). However, on Shopify Stripe, only shows me payment by credit card and not my other payment methods activated on Stripe. Do you have any idea how I can change this?
Hi, how to cancel a SaaS subscription item at the end of current billing cycle using Subscirption Schedule api?
Hi, I have the proration on 'always_invoice', when i update the quantity i get a strange invoice (image). How can i fix it so only the quantity i added is showing.
I used stripe.js to test Apple Pay on my website, but it failed. The error message was:
{
"error": {
"message": "Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_w8cflAL1OkC5Ep?t=1706087576",
"type": "invalid_request_error"
}
}
I've confirmed that my account is in test mode
My website domain name has also passed Apple Pay’s domain name verification.
Hi. How i can add multi cards here? i can see any option to change setupIntentClientSecret
https://stripe.com/docs/elements/customer-sheet?platform=ios
@dry hatch mine threat has been locked
I want to pass 0 amout to stripe api but getting the error (like minimum amount should be 1 not less than 1)
Hello, I have a subscription service which works like this:
- checkout session -> with user's payment method set up for future use
- after such payment, I am creating a subscription with trial for x days, then charge for x amount will be made (from his payment method)
While this works, sometimes user's card expires or user wants to change it. I can generate a link for the user to change his card (from the stripe dashboard), however I would like to be able to give him such link via the API request (therefore no action from me is needed). Last time I checked this was something not finished from your side. May I ask whats the current status of this matter?
Thanks!
Hello, I need a subscription for my company which should be in this format -
Three Years Package
Limited Time / Introductory Pricing $1080
$30 / month
42% discount
Upfront payment
Annual Package
$40 / month
Charged Monthly, annual commitment
17% RE-Sure discount
Monthly (no commitment)
$48 / month
Investor Package: $1540.00 (Unique Hidden CODE)
Limited Time / Introductory Pricing
Upfront payment
Discount to $15 / month
Three years of RE-Sure
~ 70% discount
Hello, is it possible to set the currency on a stripe Customer object? I am using Kotlin. I can see here https://support.stripe.com/questions/setting-a-customers-default-currency that it's possible to do so on the dashboard but I am yet failing to find an option to do so via the API, as there doesn't seem to be something like a setCurrency method.
I tried to do this via the .putExtraParam method, which also didn't yield the result I was hoping for 😄
Thanks a lot in advance!
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Hey eveyone! I was wandering if there is a way to connect stripe with my Discord server to figure out which of my community members have purchased a product in the past?
Hi,
i can't see paypal payment method in my stripe account dashboard, please help me
Hello guys, can you please help me with a question. how do I enable MOTO transaction for my connected accounts? I want them to be able to create paymentIntents with the MOTO option enabled. Thanks a lot
Hello
Hi Team, I'm having a subscription with metered billing [usage-based billing]. For this subscription, due to the default behaviour of stripe, the invoice will be generated at the end of the billing cycle. For this upcoming invoice, how do I issue a credit note? According to the below doc, I can issue credit notes for open or paid invoices. But for usage based billing, the upcoming invoice neither falls in open or paid categories.
https://stripe.com/docs/invoicing/dashboard/credit-notes
hello
is there a way i can use payment method id after google/Apple Pay and repay with the same payment method in the future
I am using the Stripe C# webhook to receive events. I am working with monthly subscriptions, and I would like to detect whenever a user has extended their monthly payment (or at least not canceled it). What event should I listen to?
Hi I have an app where there are lot of dynamic subscriptions, so I am using subscription schedules and subscriptions.
I have updated the subscriptions with cancel_at_period_end: true and for subscription schedules I have updated with end_behavior: "cancel"
However the subscriptions does not get cancelled. In dashboard that shows as cancels soon after days the scheduled time has passed.
Please note this happens in the test mode in unverified account (other things work fine). I am listening of for the web hooks of these events, since these cancellation web hooks are not triggered, (shows in the pending web hooks of the stripe dashboard) I cannot trigger the events in my app.
Does someone know why this is happening?
Previously this has worked as per the schedule all the time, right now this happens time to time (sometimes this works, some time don't). When testing with the simulation (new feature where you can advance time), this works fine all the time.
Hello Developers,
I am facing issue while recurring payment which event should I call to save information on my database ?? when the payment is auto charged from next month.
Hi! I need help setting up mi local host endpoint, seems that stripe dashboard is not able to send information to my webhook.
Hi folks!
When I search request logs on the Dashboard for a certain invoice, I see two POST /v1/invoices/:id/pay requests — one failed (HTTP 402), and then a later one that succeeded (HTTP 200): https://dashboard.stripe.com/logs?object=in_1ObmtkCxlkTqLKpvRjPrYTt4
However, when I first looked up the logs for the associated customer ID (which is included in both of the above invoice responses), I only see the successful payment request among the results, and not the failure: https://dashboard.stripe.com/logs?object=cus_OsBMjVI8e7D1bG
Why would that be? 🤔
hi
in checkout session on a subscription modal
I want to calculate tax to only UK
how do i achieve that?
I tried using fetchUpdates(), but it did not work. First I could not call it because there is no client_secret loaded yet in this step. Second I tried calling expressCheckoutElement.update({clientSecret: CLIENT_SECRET}) after the intent gets created, but then I get a warning in the browser console saying that 'clientSecret is not a known parameter'. I am new to stripe and this is my first time implementing a checkout. Here is my current implementation: https://gist.github.com/Liamm3/74d5ea1d226f9c5efaaba82ad60dfd17. Maybe I am missing something. Thanks in advance
Hey all, what's the estimated turnaround time for getting a stripe app reviewed?
I have a user bank account in Stripe Connect but API call to the account direct restricted why? please provide solutions.
Hi All, Does anyone have any suggestions on how to integrate stripe with PHP App, where amount and order id are sent to stripe API and payment is handled by stripe hosted page ?
hi, theres a payment flow I do not really understand. Would need to have feedbacks on
Hi, I have two questions regarding invoices - how does invoices work with connected accounts? Because users can check in subscription management screen their subscription, but also normal payment invoices, how does it work with connected accounts? Because there is info data of our company, but can we set it so it will have connected account info on invoice instead or both companies?
Second question is that about accountancy from invoices first of all regarding normal invoices (not related to connected account) how does companies ussualy handle putting invoices from stripe into their banking / accountancy system? Can it be somehow automated, or at least can i somehow download all invoices from certain month? Because downloading each invoice one by one seems very slow
Hi ! I have a problem with my localendpoint seems that is not triggering well the data.
is there any way to handle in code by which i can route the payment to different bank account depending upon the product type that is being purchased.
Example: Product A payment should go to X bank account.. product B payment should go to Y bank account. Both the products are sold in the same website/platform
how can we handle this case in Stripe.
Currently we are using Checkout. is there any way to mention the bank account ID in which the payment should go to in request body or somewhere.
Hi, I'm trying to enable treasury for a connect account but the treasury account is restricted with the reason: "disabled_reason": "requirements.fields_needed"
How do I see what these requirements are?
Hi, we recently made a PaymentIntent request to Stripe for a customer whose payment method had been detached. As expected, the payment request failed. However the response we received back from your API was a 400 Bad Request with error_type "invalid_request_error" and the message "The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment...".
For other types, we are inspecting the error code and decline code to handle the failure, but for this error we'd have to inspect the message every time, which seems conrary to the way you've set up your error codes and decline codes.
I realise that we could set up a webhook to alert us to detached payment methods, but is there a better way to handle it when calling your API with the PaymentIntent?
stripe.paymentIntents.create({
amount: req.payload.amount,
currency: req.payload.currencyCode,
customer: customerData.customerId,
// setup_future_usage: 'off_session',
metadata: {
paymentAction: req.payload.paymentAction,
orderId: req.payload.orderId,
userId: req.auth.credentials._id,
userType: req.auth.credentials.sub,
quoteId: req.payload.quoteId,
rfqId: req.payload.rfqId,
mileStoneId: req.payload.mileStoneId
},
automatic_payment_methods: { enabled: true },
payment_method_options: {
card: {
setup_future_usage: 'on_session'
}
}
})
this is am using right now for create intent but while using the saved card getting error setup_future_usage did i done something wrong
Hi, i need help, i got this error : Unrecognized request URL (GET: /v1/customers/). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.
I have implemented stripe subcription plan, and currently it is working fine. Just want to add one more functionality, i want to prevent user base on count(10) to in thier current plan. if they use max number of count in this case they can not access our service if they have subcription plan
Hii I have a quick question to ask
lets suppose I have a customer has an existing subscription ongoing monthly, now when customer upgrades to a new plan is there a way to create a checkout-session with a prorated amount (which will be charged once during the checkout payment) and for upcoming billing dates, the actual amount of the product is collected automatically.
eg: prorated final amount is $50 lets say during upgrade
but in the next billing cycle for the upgraded subscription stripe should collect $200 (the actual price for the the upgraded product for monthly).
Using the C# SDK, I would like to compare the BillingReason property in my invoice.
Is there a static class which contains all string values (hardcoded) which I can choose from?
We are a platform with Standard Account customers. We onboard customers through the stripe.AccountLink.create API. From our dashboard, how do we link them back to your dashboard in order to deal with potential disputes, etc?
On continuation to above I tried the custom checkout flow , But I am getting below error. Any suggestion on how to fix it .
Questions on refund. Refund ID type mismatches with the transaction ID I have
Hi, I have a follow-up question on a previous thread of mine (https://discord.com/channels/841573134531821608/1197931093794496652). I'm transitioning to checkout sessions as opposed to payment links. When I receive a payout.created event using webhooks, how can I associate it with the checkout session data that led to that payout in a table I have in my db? This table is storing the checkout.session.id associated with paying for an appointment and that appointment's ID from my application. Thanks in advance
Discord
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
is there a golang microservice backend/server for stripe gateway integration available ? I am looking at reference design for implementing golang microservice ..
👋 (Stripe connect) Trying to show Payments only in the Connected account, and not in the Platform account. Details in thread.
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
I am using test clocks for test data. I want to get the current datetime for the subscription with respective to it's current date at the test clock.
I am using .net sdk
Hi 🙂
I have a question about the payment element and automatic payment methods,
If I use a payment element to collect customer details, and the customer chooses google pay, I create a setup_intent with automatic_payment_methods enabled, what value should I pass for the payment method ?
Hey
How do we obtain the paymentMethod.billing_details? Can we update it using customer portal?
Hi seniors,
While submitting my stripe account application I auto-filled address field and submitted a wrong address details . Stripe suspended my account temporarily, however afterwards I am unable to attach stripe or any other payment gateway on my website. Please help me.
Thanks
Is there a way to acquire a token like the one found here https://stripe.com/docs/payments/accept-a-payment-charges#web-create-token using Stripe Elements?
I'm trying to pass metadata into the stripe.checkout.sessions.create API but it's coming up as empty.
Is there a way to add metadata to a subscription, or is it only for the payment mode?
Hi!
I'm using Stripe invoices with a client (X). It's really useful because the client (X) is setup through a Connect account, and generating the invoices is very easy since all of their transactions are through Stripe.
However, I have another client (Y) that I would like to work with that does not want to provide banking information.
I know Stripe Invoices allow external "payments" to be added as line items in an invoice so that's not the issue. The issue is creating a Connect account without banking information (I don't think Stripe allows this?).
Therefore, the only solution I can think of is:
Creating a brand new Connect Standard Stripe account (under the main account) that will have my banking information. I can then create Stripe Invoices for that client (Y) and only add "external" payments as line items in the invoice. This way I can generate invoices.
Could I get confirmation if it's true that a Connect account cannot be created without banking information, and if the solution I came up with is plausible?
Thanks!!
Hi, I have afterpay enabled on website and it is working fine for US customers. But for Canadian customer it does not list the provinces. How can I fix it?
My account got closed randomly, i do not know the reason. can someone help me to re-open it
Hi, I'm using Stripe Financial Connections for authenticating bank accounts. Quick question: does the SDK have an easy way of rendering the logo of the financial institution associated with the payment method?
Hi guys, so I need to make a stripe account but I don't have a SSN or ITIN, tho my LLC is registered in Delaware, United States, the address is of my own native country and not of US, can I still get a stripe account for my E-Com business?
Hello. I asked yesterday about a problem with a report run that would always fail because the data wasn't ready at the time of the payout.paid event. The proposed solution was to either try later or move the payout weekday to attempt to circumvent the issue. I've devised a system for rescheduling the attempt, but the problem is that the request error does not have a field I can read that indicates when I'm supposed to retry. Currently I would have to parse the error message to extract the timestamp, which isn't ideal. There also isn't a webhook that I can use to be informed when the data is ready. I believe this error should not be an invalid_request_error - as there is nothing wrong with my request - but a specific error code with a timestamp field I can use to run the report at a later time. See req_mzzfhxfsXprS1e.
Hello
You have already withdrawn more than 300 euros from my bank account. While I have reserved 96 euros from something. You can pull out 2x because I didn't cancel but not that much. I would like to get money back. I don't think it's normal anymore.
hi i seems to have direct debit enabled on my account, how can i disable that?
hola buenas soy diseñador web y cada vez que hago una vez creo una cuenta de stripe pero dentro de mi cuenta pasa algo? o todo esta relacionado a mi nombre ya que stripe deja crear cuentas dentro de una misma cuenta
Good morning. We received an email stating that for our custom onboarding integration to continue working as it does, we would have to provide a new parameter to the request for an onboarding link. It is stating that we have to provide a new "CollectionOptions" property, and even shows an example. This same new property is present in the .Net SDK documentation. However, I cannot find this property or the "AccountLinkCollectionOptions" or "AccountLinkCollectionOptionsOptions" in the actual SDK code anywhere, even in the "Beta" branch. Adding this property in breaks code compilation even after upgrading to the latest .Net SDK.
Is this supported or not?
Hello, I have a question regarding Stripe payouts. In our application, we utilize Stripe connected accounts to transfer funds to customers. Suppose I've initiated a total transfer of $100 through 10 transactions, each valued at $10, spread throughout today at various times. Since the customer has opted for daily payouts, the payout amount won't be precisely $100. The payouts will encompass transactions from both yesterday and today, with some of today's transactions being included in tomorrow's payouts. Could someone clarify the process of how transactions are incorporated into the payouts?
anupbista
Hi, I've activated bancontact in my Stripe dashboard but it still doesn't appear in my stripe checkout. What should I do?
Hi Folks, I'm reading the documentation here: https://stripe.com/docs/disputes/how-disputes-work#after-the-decision and it mentions:
Some card networks support an arbitration phase for lost disputes that carries a substantial fee of around 500 USD, but Stripe doesn’t support this dispute phase.
If a seller wants to go through arbitration, what would be the process? Would they have to contact their bank?
Hi,
I have a client that needs a payment platform for his rental business. The client rents out equipment for a certain duration (15 mins increments). Each equipment has a different rental price and the price changes based on the time of day and day of the week.
Would this be possible with Stripe? If so, what would be the best way to do this with Stripe?
From reading your documentation, only way I see it would be to create products for the each equipment and set a custom price via the API based on what the user selects on the frontend.
Any help is much appreciated. Thanks!
Hii there !
I am trying to charge the customer for prorated amount at the time of upgrade and then charge the full upgraded price on the next recurring cycle is there any possible way to do it ?
Hello, I'm trying to set up a user-redeemable promotion code for one of my checkout sessions but it seems like no matter what coupon I generate from the dashboard, the promo code seems to be invalid on the test platform. I have created multiple types of coupons without any success on validating them.
Hi!
We suddenly started getting errors today about Subscription Schedule updates without making any changes on our end. Does anyone know what's going on? Is this a known issue? Is anyone else experiencing this?
I would like to add some legal informations on the automatic sent receipt after a paiement link, but on this page, we can't add anything.
hello
I have a question about connect account, and after reading the docs, I am not able to understand the difference between going through these different scenarios. Would you be able to tell me the difference between these?
Let'a assume acct_A is the platform account and acct_B a "custom" connect account.
stripe.PaymentIntent.create( stripe_account="acct_B", amount=2000, currency="eur" )
vs
stripe.PaymentIntent.create( stripe_account="acct_A", amount=2000, currency="eur", on_behalf_of="acct_B" )
vs
stripe.PaymentIntent.create( stripe_account="acct_A", amount=2000, currency="eur", transfer_data={"destination": "acct_B"}, )
Hi I need help with stripe integration and data management , I want to pass many while creating payment intent, I have muiltiple cart item
Hello! I need help with stripe integration. Our customers cant add their credit cards
Hi guys, i dont understand the process when paying manually with ach.
1.- I entered ach account details manually. ( Once you do that you get next_action status, returning a link )
2.- I've got an email confirming direct debit authorization.
3.- 1-2 days later i see the microdeposits on my acc, along with a code SMXXXX.
4.- I dont get any email with the url i usually get on the next_action. To put the code.
Isn't that handled by stripe itself ? To send an email to the address provided on the form with the link ?.
How its supposed to know when the microdeposit is in the acc ? Even if i want to automate it myslef.
Am i missing something ?
When a subscription is scheduled to cancel on a day, does it also charge that day?
I'm soi sorry to post this, I'm desperately to get my account unlocked, I get the folllwoing message: As a result of some unusual activity, we've temporarily disabled your ability to log in as a security precaution. (Don't worry—your account is still accepting payments as usual!) Please contact us at https://support.stripe.com/contact/email and we'll restore your access. - When I submit the contact form, an automated email comes asking me to login, I called the number seversal times and it says they can't help me, I was about to start posting on social media, I haven't been able to login for a whole week.
I'm using C# to create an account using the "express" type and then using AccountLinkService to create a link. When I get the created Url back and I visit that url the UI is in English, is there a way to force it to appear in the native country language?
Hello,
I'm trying to update the price of an item on a metered subscription. What can I do to update the subscription and charge the customer immediately.
This is my current subscription update setup:
const subscription_update = await stripe.subscriptions.update(current_subscription_id, {
proration_behavior: 'always_invoice',
billing_cycle_anchor: 'now',
default_payment_method: payment_id,
items: [{
id: current_subscription.items.data[0].id,
price: new_price_id
}],
});
Hey there - I'm trying to test out the Avalara Avatax app/plugin for Stripe - I just want to make sure that configuring these plugins is on a per-environment (ie, test mode vs production) basis?
Hey folks, I'm needing to pull a customer's payment method for paying an invoice. Here's what I've found.
When a customer signs up for a subscription, their payment method is tied to that subscription object.
If the customer goes into the billing portal and sets a default payment method, that appears in their invoice settings.
If a customer uses Link to set their default payment method, it appears on their customer object.
So the way I'm pulling the payment method is checking for the invoice settings first, then the customer object, and then defaulting to their method used for the subscription.
Is this the most efficient way of getting at the default payment method or is there a different/preferred way of getting at it.
Hi, When a user is on an yearly subscription does it still create invoice.created events every month? If so then why am I not receiving those events in test mode?
Hey guys, it possible to create a subscription plan that starts billing on a friday?
“Your business doesn't meet our Terms of Service and therefore legally cannot use Stripe services. If you think this may be a mistake, please contact us.
Impact
Payments will pause if unverified
Payouts will pause if unverified“
How do i fix
Hi, I am thinking of using the Payment Element from stripe's api to collect and verify payment details. Is there a $1 validation fee per account?
Hey, I'm trying to do CRUD with products on my front-end, and It seems I can't remove product on my backend via await stripe.products.del(productId) because it has price attached to it, and I saw there's no delete endpoint for prices in API - how should I handle it?
Seems like there is a bug in Stripe. I created a subscription to last until the 24th of Jan 2025 (one cycle). I also tried to add 366 days of trial to it, but it won't let me. Only 365 days can be added or it complains that the trial is longer than the subscription, but that is not true because of this year's leap. So no matter how I twist and turn it, the customer will be charged for the last day next year.
Hello, i don't know if it is the best place to post this but:
I'm building an app where we have multiple Stripe Accounts, one for each country. I'm not sure of my choice to handle every connected account rather than using the on_behalf of.
I decided to have a customer per account and i'll duplicate the payment_method cf(https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods) if the payment method doesn't exists in the country/connected account mentioned. I previously had a on_behalf of choice in my previous implementation and the tracability didn't suit well for us but it was easier as we didn't handled every connected user/payment_method.
Am i making a mistake handling every connected account and user with my system rather than using the on_behalf parameter ?
As it is a hotel like reservation platform, with a lot of cash flow, I don't know if my choice is the best
Thank you very much
Hello, I'm trying to connect Stripe to my website in html/css/js and I did the test to check the Stripe integration like this:
const stripe = require('stripe')('sk_test_my_key');
const elements = stripe.elements();
const cardElement = elements.create('card');
cardElement.mount('#card-element');
const form = document.getElementById('payment-form');
form.addEventListener('submit', async (event) => {
event.preventDefault();
const { token, error } = await stripe.createToken(cardElement);
if (error) {
console.error(error.message);
} else {
console.log('Token:', token.id);
}
});
But when I clicked in the submit button nothing happened, and in the browser console I only see this message:
Third-party cookie will be blocked. Learn more in the Issues tab
hey, how can I configure PayPal on my Stripe Connect account? can't see it in the options of payment methods (EU account)
Hi, looking for assistance please. Issue: I am setting up Stripe Express Checkout Elements (https://stripe.com/docs/elements/express-checkout-element) in our checkout to support Apple Pay, Google Pay, Link etc
We are subscribing to the event named "shippingaddresschange", so that we can be notified if the address changes. We validate the address and either reject (if the address is deemed not to be deliverable) or resolve if the address is a deliverable address.
Part of the spec allows us to resolve whilst passing an object containing updated fields. In our case, we set lineItems and shippingRates since these are based on the shipping country.
Depending on the shipping address country, tax may be added or removed, meaning the total price of the line items can change, which is why we update lineItems during the "resolve" function.
THE PROBLEM: Stripe freaks out when the sum of all lineItems' amounts exceeds the overall "amount" which is set at load time... If the delivery country adds additional tax to the items, then after resolving and updating line items the "amount" is too low, and Stripe logs an error to the console (citing that line items have exceeded the total amount to pay), and the popup window just shows a spinner.
We assumed we should just update the total to pay before we resolve, but within the open wallet (Link for example) the updated value is not coming through when the price of the line items has changed... Say for example we start off with tax applied to the line items as part of their amounts, and the customer then sets their delivery to a non-tax-paying country, we update line items with the amount set with no tax (via resolve) and then call the update function to pass in a new "amount" to pay... however, the popped-open wallet just shows the pay button with the old, higher-priced value. Making an change which does not affect line-item amounts, such as adjusting the postcode, DOES allow the pay button to update correctly and show its total.
Using Stripe's API to handle subscriptions: when a customer currently on a "Basic' level subscription plan wants to upgrade to a 'Premium' one, we invoice them right away by initiating a new billing cycle and prorating any differences. However, sometimes during these upgrades, the invoice payment fails, which changes the user's subscription status to 'Past Due' on 'Premium'. In this case, I would like to revert the user's subscription plan to the original 'Basic' one, just as it was before the upgrade request, including the same billing cycle as before. How can I achieve this "reversion' through Stripe API's?
Hello!
We have a product subscription that we want the user to be able to decrease/increase the quantity of the product from their customer portal. We are not sure where we can find these options. How can we do this?
Is there a best practice method for reconciling internal systems with customer_id during checkout_session with the action taken during that session such as payment intent success or cancellation?
I'm finding that checkout_session id is not a reliable value and payment_intent_id is not available until after the session is done. Additionally the customer id is not available in payment.intent.created events.
Hello, am I allowed to ask for information here about payouts being paused? I was asked to submit a form for business information for my new platform I added , but the link in the email doesn't take me to a form, just my payout page. If not here, where can I obtain the quickest help/solution please? Thank you.
We want to increase the price of a subscription across the board. How do we upgrade all at once?
Hello, I have set up my shopify store and I choose Stripe as one of payment methods, as I tried a test order i received 50 cents gross income and only about half of it net income. Why is the tax over 50 procent? On shopify it says you have only 2 procent tax.
Hi
I am not able to see my daily earning of my quora space account
I need your support in my quora space earning
Hey so I sell online courses on my site and I'm approaching another company to see if I can sell their courses on my site for an affiliate commision. Problem is, they have mulitple contributors to their courses. When they sell a course, % go out automatically to their contributors and we don't know how to account for that if I sell the course.
essentially, we need a way for me to sell the product (keep my %) then for the $$ to go into their system and be automatically sent out to their contributors. I thought, perhaps we could just add all the contributors individually to my stripe connect but they want to be able to track it and see everything for theri records. Any ideas?
ChatGPT said:
Stripe Webhooks: Stripe provides a feature called Webhooks. Webhooks are used to notify your server about events that happen in your Stripe account, such as successful payments. You can set up a webhook to listen for events related to successful charges and include the item ID in the metadata of each Stripe charge.
Custom Backend Logic: When your server receives a webhook notification, you can have custom logic to process the data. This logic would read the item ID from the webhook data, determine the appropriate contributors for that item, and calculate the amount each contributor should receive based on predefined royalty rates or agreements.
Stripe Connect API: To distribute payments to contributors, you can use Stripe Connect. With Stripe Connect, you can programmatically create transfers to send portions of the received payment to the contributors’ Stripe accounts. These transfers would be triggered based on the logic you've set up in response to the incoming payment notifications.
I don't know if that's what I need or not...
Hello, we are trying to workout the minimum amount that our users can set for pricing using Stripe, we are following this link https://stripe.com/docs/currencies?presentment-currency=AT#minimum-and-maximum-charge-amounts
It seems the list doesn't have all the countries currencies, how do we go about handling a currency that's not in the list and add the minimum charge amount?
Hello again, I followed the tutorial #1199793412371656724 message and adapted the logic for my website but I am receiving the message below:
v3/:1 You can test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS.
I haven't published the site yet, I'm testing it with localhost and my keys are also for testing. Is there any way to set up a local test for live Stripe.j integration without the need for https?
Need some help understanding the fee structure for an express connect account.
Stripe hosted connected account onboarding and external bank account configuration. Is there a way today to do one session of connected account onboarding that will also prompt the user to provide their banking information for an external bank account to be attached to the newly created connected account?
Need help integrating Klarna. I turned on the Klarna feature and created a service but it doesn't show up on the checkout link
Hi, For upcoming invoices via API, stripe duplicates the amount for the new price as total amount due. Is there a way to resolve this issue?
Mystery. Why would I get an empty list for v1/customers/cus_abc/sources but a valid Visa for v1/customers/cus_abc/payment_methods? I thought the Source and Payment Methed APIs were compatible with each other. Thanks.
when we delete a customer from stripe? does the record of previous invoices also delete?
I'm getting this error from stripe while transfer payments. Can anyone help?
StripeInvalidRequestError: Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments
is it possible to use setup intents and collect payment from alternate wallets like cashapp and affirm? I'm guessing no since there's no amount associated. we have subscriptions that need subsequent charges and also occasional $0 orders so it seems like I need to use setup intents, right? thanks!
Howdy!
I'm trying to mock a webhook sent from Stripe for unit testing on a project. I've read about generating a header using the sentry-node sdk but I can’t get my API to accept the payload / header I’ve sent. My API can receive a webhook from Stripe without any issues but If I send my mock webhook I get the following error:
{
statusCode: 500,
code: 'Unhandled',
message: 'No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? \n' +
'\n' +
'Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing\n',
details: []
}
I've checked my secrets / creds and they seem fine.
Is this something I can can get help on? If so I can share my code 🙂 Thanks!
I have a subscription with multiple usage-based products in it. I have it so that there is always a payment method attached to the subscription and is set to charge automatically. When a user cancles the subscription, does the payment take effect instantly? Or does it wait till the next invoice day? If the payment is not instantanious, Is there a way to make it instant so that i can delete all the payment methods attached to the customer?
Hello, I'm working on testing a local Django application before I move it a into a live enviroment. I'm having a problem with stripe session for payment method. When I press pay button, the redirection goes to an page a error page rather than a stripe check page; JSONDecodeError at /create-checkout/. When i print the session info from my view to console it is returning with a full response with a valid session id and irl. is this a common issue?
confirmation for Connect standard account setup successfully. which webhook event I should listen?
Hey folks!
My platform uses auth then capture, however, because our payments need to be captured often well into the future, we auth on the server via a background job 7 days before the transaction needs to be capture. However, we need to implement 3D Secure and I'm curious on the best way to actually handle that flow since the user isn't immediately there.
Is it okay to attempt to auth in the background, see if 3D secure is needed for a transaciton and, if it is, send a notification to a user w/ a link to start the 3D secure flow?
Hillo
Hi! In which field can I find the amount marked in blue? It is the amount converted to the account currency.
Hello,
I am a novice developer, and while I acknowledge that this may not be the ideal platform for resolving these inquiries, I am keen on acquiring insights into the workings of Stripe as a payment processing platform. Currently, I am engaged in a development project where I have been tasked with gathering information on the payment methods available for implementation.
My primary query revolves around the commission structure employed by Stripe, both during payment transactions and in the context of refund requests, specifically within the United States. I would greatly appreciate any guidance or information you could provide on this matter.
I apologize for any potential language challenges in my message, as English is not my strong suit.
Thank you in advance for your attention and assistance.
Stripe Connect Buttons: do you have official Stripe button images to embed on our website to direct users to you connect onboarding flow? I see some 3rd party versions on the web, but I suspect you have brand approved buttons?
hello there, is there a way to get to know the total amount of transfers of a connected account so we can do a pagination feature?
idk
if you create a promo code with the stripe api for a random dollar amount that someone enters the dollar amount into a form, and they use it on a product that is cheaper than the promo code amount, what happens? Can that same promo code be re-used again for the remainder dollar amount?
Hi support team, I need some help regarding stripe Webhook, I have it set up on the dashboard to listen to localhost:4242/webhook, however when I run the stripe cli to listen to this using stripe listen --forward-to localhost:4242/webhook, I get a message saying that "dial tcp [::1]:4242: connectex: No connection could be made because the target machine actively refused it ", I looked into restarting my machines, I looked up the port and found nothing on that port, I checked my firewall and saw nothing that could be preventing it, I am confused on how to trouble shoot this further, I am on windows
it looks like I can't reply in this thread 😅
Hi, haven't followed changes in Stripe for a while. Did Stripe remove metadata from export?
If my memory is correct, I think I could export metadata stored in Checkout Session.
I am trying to get google pay to work in subsciptions but am having issues.
apple pay works (second screen shot)
but google pay does not show up when it should (pixel 6, chrome, with google wallet installed) third image
i have set the domain (fourth image)
note all ids have been changed
my code for the checkout session using node, H3, and stripe
export default defineEventHandler(async (event) => {
const body = await readBody(event);
const priceID = body.lookup_key;
if (!priceID)
throw createError({
statusCode: 400,
statusMessage: "Unknown lookup_key",
});
// event.context.stripe is "stripe": "^14.13.0 with live key
const session = await event.context.stripe.checkout.sessions.create({
payment_method_configuration: "pmc_1LR9S2BhraTrw", // Payment method Config ID from image one
billing_address_collection: "auto",
line_items: [
{
price: priceID,
quantity: 1,
}
],
mode: "subscription",
success_url: `${host}/success.html`,
cancel_url: `${host}/cancel.html`
});
await sendRedirect(event, session.url, 302);
});
I have a question about Stripe Checkout! 1) Does Stripe Checkout require you to add the product in Stripe , and get the assigned price id from Stripe.... or 2) can I allow user to enter any dollar amount from the front end and set thePrice in the java server! I want the user to enter donation !
The documentation in this link says set price Id (https://stripe.com/docs/checkout/embedded/quickstart?lang=java) // Provide the exact Price ID (for example, pr_1234) of the product you want to sell
.setPrice("{{PRICE_ID}}")
Im using laravel cashier and I want to get the payment fail reason in the webhook how can I get it?
I have a question. I have problems logging in, whenever I enter the 6digit authentication code provided by my phone, it would always say incorrect.. Pls help! #dev-help
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
hello can you help me?
can you please tell me when stripe auto detect monthly subscription amount then stripe which event is calling i want when stripe auto detect amount then i wanna store detail into my database for know which user manthly payment is recieved
How can I close the window when I successfully create it
https://stripe.com/docs/api/checkout/sessions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I've been testing 3DS handling for most of the day and now, for some reason, all of my payment intents are being flagged as "requires_action", even when my code is reverted. Do y'all have any idea why that would be happening?
Hello Team
Do Stripe has any mechanism to notify to their client if stripe has downtime?
Hi I need some help with setup the stripe connect
Hello, I'm trying to set up a bank account on Stripe but this is what it's saying
I have encountered an issue where I am using multiple payment methods to create a cashier in live mode, but the checkout URL still only supports bank card payments
Hello,
I want to create session without line_items. How can I use total_amount when creating session?
I'm using Django
hello, i have a concept of "credits" that live outside of stripe and I was wondering how I could best use them on an invoice. I've done some experiments, and it is possible to create a line item that is a negative amount to achieve the result. The problem with this implementation is that I'm not sure how i can "lock" those credits to ensure they are not applied on another invoice.
This is the general flow in my app:
- User creates a cart with some items in it
- User adds some "credits" to apply to the cart
- User hits an endpoint where we create an invoice and send them the paymentIntent (invoice 1)
- The user decides to add more items to the cart
- The user hits the endpoint that creates an invoice and sends them the paymentIntent (invoice 2)
- The user pays for invoice 1
- The user pays for invoice 2 (we would have applied credits that were redeemed when the user paid for invoice 1)
is there a way to cancel the first invoice when the second invoice gets created? or is there a way that I can ensure that once the first invoice gets paid that the credits can't be used in the second invoice?
Any guidance would be greatly appreciated
Why is it telling me to contact support to be able to accept payments
Hi I need some help with Customized Domain Names.
https://stripe.com/docs/payments/checkout/custom-domains?verify-with=terminal#troubleshooting-caa-records
I've done all the preparations.
DNS can also be detected successfully.
https://dashboard.stripe.com/settings/custom-domains
The status is shown as being adding.(We will make sure your DNS records are stable. This will take at least 3 hours and we'll send you an email when it's done.).
I've been waiting for a week.,What should I do?
Hi, I am creating a Stripe Connect account but the account is directly restricted in Stripe Connect.
Code:- const account = await stripe.accounts.create({}) this using
Hello, I would like to ask you something. I want to access stripe in our apple Clips, and we want to use the pre-authorization method. Is this pre-authorization permanently valid, or will it be automatically canceled if there is no debit and settlement for how many days?
Hi, wondering how I can change the heading on the receipt to show Tax Invoice, include our ABN (taxid number) and show the tax component in the total area. In Australia we have to issue a tax invoice upon payment. I want to use it with a subscription so the buyer gets an automatic tax invoice (ie: receipt) after every payment . I've looked at the support area and can't find how to customise the receipt. I know Stripe is used extensively in Australia, so someone must have worked out how to do this?
Cheers
Good morning.
Seems that the endpoints are not aiming to the right webhook.
hi there i need your help
i need to know how to add a specific header to Account Link 's return url to get back to my dashboard. I can't see anything about this in the doc.
hi!
when i did payment is successful through Klana or Alipay, is there a way to capture it later?
Hello everyone, i set up tax rates by country a long time ago.. Everything working well, but since 01.01.2024 one of these tax rates has changed, so i created a new one with the percentage. My issue is the historical subscriptions are still linked to the old one, do you know how can i link my historical subs to the new tax rate? Thanks a lot!
hello everyone, how can I list all the transactions of all the connected account, this includes both failed and successful payments
Hi. Is it safe and secure to be calling the Stripe API to perform a payment in my Angular frontend? Or should I do that in the backend?
Hello! Yesterday I wrote about an issue I got with the express checkout. I tried creating a ticket on the stripe support site, but the live chat crashed and got lost. So I am trying my luck here again. 😄
Quick recap: We have a shop where on each product site is an express checkout loaded. When the user clicks on one of these 'express checkout' button and enter their shipping address, the displayed amount should be updated in the express checkout. For example: First the displayed amount might be 66€. If the user enters an address which lies in the EU nothing should happen. If the user however enters an address which lies in the UK the displayed amount should be updated (minus -19% taxes in our case). I use the 'shippingaddresschage' event to make a request to our backend and recalculate the order.
Clicking on order details shows that the line items got updated, but the displayed amount did not change.
Here are some useful links
Site: https://mgm-cosmetics-test.craft-unit.com/advanced-cream/
How it currently looks (amount should be updated after entering UK address): https://www.youtube.com/watch?v=lw1o2s_eJRU
How it should look (Craft Commerce plugin using paymentElements; displayed amount gets updated): https://www.youtube.com/watch?v=MD3bwdQiT9E
My frontend implementation: https://gist.github.com/Liamm3/74d5ea1d226f9c5efaaba82ad60dfd17
The old thread contains further details and screenshots.
We are stuck on this issue. Any help is greatly appreciated. Let me know if you need more details or I should ask again in another place. 🙂
MGM Cosmetics
Revitalisierende Gesichtscreme | Anti Age | Antioxidant | 24h intensive Feuchtigkeit | sorgt für ein feines und frisches Hautbild
This is an implementation of the stripe experss checkout for Craft Commerce. After entering an address, the amount should be updated if the address is not in the eu.
This is the checkout using a plugin called 'webpayments' by ethercreative. If the entered address is not in the EU, the displayed amount gets updated.
Hey folks
Anyone knows how to use automatic_payment_methods when creating a subscription? By default my subscriptions are created with payment_method_types and only have options for credit cards. It doesn't take into account all the payment methods activated in my dashboard
Hi, my scenario:
I created a platform on which customers and service provider meet. The service provider sells services (e.g. workshops) to customers. My platform gets a cut on the transaction volume (e.g. 10€).
Payment is done with pay by invoice (e.g. bank transfer).
Example:
Transaction volume: 119 € (100€ net and 19€ tax)
- customer pays.
- Platform gets 10 € (minus the stripe fee)
- service provider gets 109 €
What happens if I refund the payment?
Platfrom gets -10€
Service provider gets -109€
?
How can I automatically create the credit notes?
Hello! I am trying to charge a connected account using transfers but I am getting the following error: Cannot create account debit on this account; please contact us via https://support.stripe.com/contact with details for assistance. what needs to be done to be able to charge a connected account?
Thank you
Does either of these payment methods support future off charging?
- Apple Pay
- Google Pay
- Cash App
I know card supports it but I don't know about those mentioned above.
Hello
For my php project, I have a return page after making payment. I can redirect to the return page in local mode normally but Server error in deployed mode.
Hi!
When creating a PaymentIntent object with Alipay , if confirm is set to true, the status is requires_confirmation. How does the customer proceed with the payment?
still facing this issues
Hi
I would like to update the payout schedule policy from one of my connected account. From the dashboard I cannot see any UI button to do it.
Is it restricted to be done via API or I should be able to update those settings also using the UI dashboard?
Thanks
hi, how to get last four digit of card payment from payment_intent
Good morning everybody. (EU)
I have a more complicated question. We are in a Situation where we are selling a so called "multi purpose" voucher. For us thats a base fee (e.g. 20 euro) that includes a certain volume of something that can be used.
This volume can be used in different countries so it would need to be taxed in different countries too.
Our plan is to apply 0 Tax on the time of payment. And apply tax afterwards. Here is the crux, how can we tax something after it already has been paid in stripe?
Can someone point me in the right direction? 🙏
Hi, I have a question for you. When the pre-authorized order is deducted successfully, the pre-authorized order will be automatically cancelled and cannot be deducted again. Is this the case?
Hi,
If I give a user a free trial on his first subscription how can I know the date for his first payment or will he be billed first before given the free trial
Hello
I am using this API - https://stripe.com/docs/api/account_links/create to create a connect onboarding link. Can you please confirm for how much time link generated from this API will be valid? What is the default expiry duration and can I increase the default duration?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi! If a user uses Stripe Link in checkout, does the address gets auto-filled and then gets disabled, so as not to let modification happen again in checkout?
I would like to test my payment refused during the renew of a subscription but the card that should fail with 3DS error doesn't fail and the payment is proceded
For my php project, I have a return page after making payment. I can redirect to the return page in local mode normally but Server error in deployed mode.
How do you force users to add details like name and phone number?
https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-defaultValues-billingDetails
Hi, is there a way to receive the metadata I put to the subscription in the metadata of the invoice?
Hello! I'm integrating with Stripe to allow users to first setup payment methods and then, at a later point in time, setup subscriptions if they want. I'm currently experimenting with the Android SDK for this after having experimented with the Web-side of things.
I'm looking at this doc for Android: https://stripe.com/docs/payments/accept-a-payment?platform=android&ui=payment-sheet#android-collect-payment-details.
As I mentioned, I want to display a payment element so that the user can setup a payment method (without paying anything) for later use. To do that, I noticed that my API has to return an ephemeral key that needs to be created server-side. However, when I did the exact same thing for Web (i.e. used Stripe.js in the front-end to setup a payment element and then calls stripe.confirmSetup), I did not need that ephemeral key. Why is that? I want to create a single server-side endpoint that will accommodate all platforms (Web, iOS and Android). Will I have to create an ephemeral key in that endpoint?
Hello
Hi, I would like some help in creating a subcription with sepa debit.
Hi how can we change the webhook api version?
Hi, we got an email today saying our stripe key got exposed, tells us to roll it etc, I don't know where its been exposed from, we use laravel, where should i be looking for the key exposer? our .env seems secure.
Hey
What are the particular events I have to listen too for when a recurring subscription is paid and when it fails
Hi team, I'm wondering why webhooks did not send for a subscription created through the dashboard, when they normally send when the subscription is created via API. I'll include an example of each
- API subscription created with webhooks sent: https://dashboard.stripe.com/acct_1MWobYLVMiFmGBXg/events/evt_1OcP9OLVMiFmGBXgHMr7zWwE
- Dashboard subscription created without webhooks sent: https://dashboard.stripe.com/acct_1MWobYLVMiFmGBXg/events/evt_1OQzQ3LVMiFmGBXghu1PbkYo
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hi! Can the thread: vineet-link-address be reopened?
Hello,
I've created 2 buttons on my site. The payment was carried out correctly and I am redirected to my site.
When I come back to my site, how do I know which button the user clicked on? thank you
Hi, when using the same creditcard (eg visa) with Apple Pay, we get a different fingerprint for the payment method compared to using the same card without Apple Pay. Is there a way to identify this as being the same card?
Hi there, is there a way to retrieve all sepa mandates related to a payment method ? It seems that sepa mandate can only be retrieved by id, and the id found in a charge object, am i right ?
Hi, I'm setting up a Connect platform and currently trying to pay an invoice created from a connected account. I receive an error message saying that my Ephemeral Key does not have the sufficient permissions for the connected account (stripeErrorCode: more_permissions_required). In my backend I created the ephem using stripe_account={{CONNECTED_ACCOUNT_ID}}. Would be very glad if anyone could give me a hint on what may be wrong or where I can adjust these permissions!
hi, is there a webhook that gets called once a subscription (the billing agreement) is canceled with paypal? the stripe subscription object doesn't get canceled when the paypal billing agreement is canceled
Stripe has made my payment and closed my account so now I want to open the account again
I get my session_id in my success page but I still don't on which button the user clicked, I'm lost 🙂
Hi. These events apply to the same subscription. First I got "updated" then "created" which caused my API to handle the entire operation incorrectly. Shouldn't this be sent "sequentially"?
Hi, Can I use PaymentElemnt without declaring "amount" in options because I just only want to use createPaymentMethod function
Hi, I'm using react with web elements, and i want to know if there is a way to hide the payment method tabs in the PaymentElement component, and instead choose a payment method programmatically?
Hi, I am using Stripe KYC. Is there a way to set it where it makes verification fail if customer is not over a certain age?
Hi, where can I get structures of webhook responses in stripe
Hi, is it possible to retrieve production data via stripe cli?
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hello, I am creating a Payment intent to charge a connected account card. But I always have the 3D Secure error on completing the PI. Is there a way to bypass this giving that I am trying to charge connected accounts to my platform? Thank you
Hi, I was wondering if it would be possible to simulate an authorization that has been expired. Basically, in our e2e tests we would like to create a payment intent, not capture it, simulate we're well over it's expiry (2 months?) and try to capture it then. I tried test clocks, but to no avail.
Dear discord moderator there are alot of tools like mojito/mohio used to card stripe payment
Hi, i have transfered funds from my balance to connected accounts' balance
Now i want to ask, how we do payout for the connect accounts ?
Helllo, I'm developing a flutter app with stripe connected accounts. I created a user profile in stripe connect but when I onboard a user using custom onboarding process. I given all the required data to the API endpoint. But the api throw error like "Requests made on behalf of a connected account must use card tokens from Stripe.js, but card details were directly provided."
I totally understand your concerns about sensitive information of card details. But I didn't find an alternative way in flutter like how I can get the card details against connected accounts onboarding. There is package in flutter for stripe which helps us to do direct payment. But I want to integrate connected accounts for delay payments or with some intervals like escrow.
Hey Stripe team, if we have a subscription that is subscribed to a product, but the product has a fixed discount, how to find out the net price that the user will pay? (This is for showing on our website.)
Hello,
If I have been overcharging several customers, what are the best ways to refund them?
Hi, we have a subscription website that uses the Stripe billing portal to allow customers to manage their subscriptions.
To generate the configuration for that billing portal link in Node.js, we call the stripe.billingPortal.configurations.create method, and we pass it a subscription_update object that looks like this:
enabled: true,
default_allowed_updates: ["price"],
products: productsArray,
}```
Stripe's docs say that subscription proration behavior defaults to `create_prorations`, but it looks like our app has been defaulting to `none`, and customers have not been receiving prorations when upgrading from a monthly to annual plan.
To fix this, we manually set `subscription_update.proration_behavior` to `always_invoice` when creating the billing portal configuration, but we're confused about why we had to do this, and why the billing portal defaulted to disabling prorations.
Thank you for your help, and let me know if I can get you any more info!
Hi ! how can I listen to connected account onboarding status changes
Hello! I'm integrating with Stripe for a subscriptions use case. My users:
- Setup payment methods, at any point in time
- Setup subscriptions using those payment methods at a later point.
When they do setup subscriptions, the way I've set it up is that I create a subscription server-side, I give the client (Web, Android & iOS) the client secret of the payment intent of the invoice created, they call confirmCardPayment. When that completes, they call my API again, where I verify the payment intent is successful. If it is, I grant them access to my service. This means I don't, at that point, check whether the Stripe subscription is created. Should I also do that, or the fact that the first payment intent is active guarantees me that?
does anyone know how to actually get support from stripe? Their customer service has plummetted. Have submitted formal complaints. Nothing ever gets done. Constant gaslighting and criminal behaviour. Have tried to contact CEO too.
Hey there! I'm trying to partially capture a payment intent that was created with level3 data on it and am getting an error:
"message": "Invalid level3: pricing must be consistent. Sum(unit_cost * quantity + tax_amount - discount_amount) + shipping_amount != total charged. In this case, 121264 != 60632."
"type": "invalid_request_error"
Is there some way that I can still partially capture this payment?
Hi There--I contacted support and Natalie Rosenberg from the support team directed me here. I'm trying to get more information about P2PE implementation. Although your documentation mentions this can be paid for, my security team wants to verify that paying for this feature would ensure that the system is "fully PCI validated Point to Point Encrypted and also follows a Payment Instruction Manual (PIM)." If that's not possible, they also mentioned that they are willing to authorize a device from a vendor which is its own payment provider and bank and which provides security and assurance for its devices and methods. If someone could provide more info about either or both as well as providing me with documentation, that would be great. Thanks!
hi, when create payment method, does the on/off session (that is in charging vi pi) applies as well?
Kind of curious what the difference between client_reference_id vs metadata values are when working with Checkout Sessions? Couldn't i just set a metadata value of client_ref_id:somevalue.
Morning all! I have a question regarding Tap to Pay on iPhone and custom connect accounts using the StripeTerminal iOS SDK.
The docs mention that on_behalf_of transfer_data[destination] and application_fee_amount can be passed to create the payment intent client side using the terminal SDK.
The verbiage is slightly confusing because it implies that these 3 fields MUST be provided (or at least the on_behalf_of) where as my main usecase/workflow is as follows:
- Connect to local mobile terminal/reader.
- Create a payment intent using the terminal SDK while only supplying the
transfer_data[destination]field to the payment intent. - Finally after i collect the payment method, i tell my server to capture the payment intent created client side. Only then will i actually calculate and pass the
application_fee_amountserverside.
Can someone explain why the emphasis for on_behalf_of is there or why it would be required if the transfer_data field is already set? I'm using Destination charges BTW so my platform account will be responsible for chargebacks etc. I did see in the docs for varying countries setting on_behlf_of can be useful and is required (see attached screenshot) but if i'm considering connect accounts only for a single country what would be the extra reasons to use on_behalf_of if i'm still properly transfering the funds to the connect account.
Hi, we're having an issue with Stripe Express Checkout Elements - posted yesterday and had an open thread, but had to go into a meeting and the thread got closed, so trying again today...
Issue: shippingaddresschange event
We're subscribing to this event, in order to validate the address selected by the customer. Depending on the delivery country, the line item costs (some countries pay tax, whilst others do not) can change and the shipping rates will differ...
shippingaddresschange event expects us to resolve or reject the address. When resolving an address, we can pass in options including lineItems and shippingRates for the address, which we're doing. However, the UI is not updating in some instances. In particular, when the tax gets removed from the line items and the sum amount of the line items is therefore cheaper, we want to call elements.update() to set the new, cheaper value. However, since we have not yet called resolve() and passed in the new lineItems data, Stripe freaks out and fails (not very gracefully) with a console error complaining that we tried to set an amount that is less than the total amount of the line items...
We have tried calling resolve() first, so the line items update, and THEN calling elements.update()... however, this does not work. I think once we've resolved, we cannot call elements.update()...
The only way I seem to be able to make this work, is to call elements.update() and set a value that's different to what it was previously (and make it more expensive)... then call resolve() with the new cheaper line items, and then call elements.update() once again with the correct new value. However, we think this "hacky" approach of setting an incorrect, high amount, just to be able to reduce the amount to the correct number is a bit questionable.
How are we supposed to set new, cheaper lineItems when resolving a shippingaddresschange event, whilst also setting a new, cheaper total amount to pay?
I'm running into an error when updating a customer subscription with prorations
https://dashboard.stripe.com/acct_1KjyqQAbjeEfSZq0/logs/req_oDDCylHVaG0PdA
The error states You must provide a return_url when confirming a PaymentIntent with the payment method type cashapp.
However, I don't see a way to provide a return_url through the subscriptions.update API function I am using stripe.subscriptions.update(subscription.id, updates, ACCOUNT);
Is there an Android/iOS alternative to stripe.confirmCardPayment? https://stripe.com/docs/js/payment_intents/confirm_card_payment
Is there a way to collect Bank info for Stripe connected account just like other on-boarding info
Hello,
We have a case where we want to display different payment methods using Payment Elements and only attach it to the customer (post transaction) if possible for a given method.
Is there a way to do it?
Currently, we have to choose between setup_future_usage and displaying some payment methods.
Hello, I'm in the process of developing the backend using Nestjs and the frontend for IOS. I'm unsure about the most suitable API scenario for my use case. I need to implement functionality to save cards, retrieve all cards on the frontend during payment, and automatically deduct the remaining payment through recurring payments or subscriptions when making an advance payment. Stripe offers multiple APIs for these tasks, so I'm seeking guidance on the recommended flow for this scenario.
need some help
I need help adding a coupon code box to my product.
Hi, Is there a prefereed Affiliate marketing/conversion/payout tool that are popular with folks using Stripe CheckOut Sessions? I'm seeing a few like Tolt.io but there are little to no reviews on it. Stripe Connect accounts seem like a better choise maybe.
My stripe CLI is stuck in older version. How to upgrade? If I upgrade the version then only the CLI is upgraded. I want to upgrade 2020-08-27 to latest
Stripe: how to send invoice to user from python cron job.
we need to send invoice to user at the end of each month.
and its dead line should be like 5 days. ( until due)
is there anyway to trigger if it's not paid within that 5 days. (maybe like webhook)?
because we need to block user's permission until it paid.
If I get a payment done by creating a payment intent using react native SDK and in that process the customer saved their payment method. Then if the same customer comes to web, where I use checkout session to collect the payment, would they see their saved payment methods? I tried this but not able to actually see the saved payment methods.
Here is the request I sent to create payment intent:
{
"payment_method_types": [
"us_bank_account"
],
"amount": 100,
"currency": "USD",
"customer": "cus_P9N49qxXXXXX",
"setup_future_usage": "off_session",
"on_behalf_of": "acct_1OQbCnKAaXXXXX",
"transfer_data": {
"destination": "acct_1OQXXXXXXX"
},
"application_fee_amount": 0
}
and to create checkout sessions
{
"payment_method_types": [
"us_bank_account"
],
"success_url": "https://www.example.com/pay/return/Stripe?gateway=Stripe&stripeTransactionId=6725&status=success",
"cancel_url": "https://www.example.com/pay/return/Stripe/cancel?gateway=Stripe&stripeTransactionId=6725&status=cancel",
"mode": "payment",
"line_items": [
{
"amount": 100,
"currency": "USD",
"name": "Payment for Invoice #11052",
"quantity": 1
}
],
"customer": "cus_P9N49qxXXXXX",
"payment_intent_data": {
"on_behalf_of": "acct_1OQbCnKAaXXXXX",
"transfer_data": {
"destination": "acct_1OQXXXXXXX"
},
"application_fee_amount": 0,
"setup_future_usage": "off_session"
}
}
Hello guys on the platform that I am working on currently we are trying to retrieve the full addresses of connected accounts, is this possible and how do I achieve this?
Hi, may i know why i got this issue ?
I want to receive payment by eur, but why is it converted to usd ?
Hi,
I want to offer an annual subscription with a bonus free month the first year.
I thought I could do this with a yearly subscription and pause_collection, but I ran into an issue with the billing cycle.
For example, say they purchase in January 2024. I want them to pay for one year on purchase, but then get an extra free month, moving their billing date to February 2025 instead of January 2025.
I tried pause_collection = "void", setting resume at to February 2025. This successfully voids the January 2025 invoice, but the billing cycle stays the same and the next invoice is January 2026, instead of February 2025 when pause_collection resumes.
Is there another way to do this, or a way to schedule the next invoice to be issued at the same date/time as the pause collection resumes?
hi! if we wanted to offer our subscriber's their first 3 months free in a subscription and then they prepay up front for the remaining 9 months in the year, is this possible?
fyrite
Hola buenas tardes, configure paso a paso stripe woocommerce como hice siempre, mi cliente está intentando pagar, el es de España y no le deja, alguien sabe el error? Ya verifiqué cada paso que hice y está todo en verde, ayuda🥲
Hello, good afternoon, I configured stripe woocommerce step by step as I always did, my client is trying to pay, he is from Spain and it won't let him, does anyone know the error? I already checked every step I did and it's all green, help
Hi, I am trying to figure out how to charge a collection fee towards a connected account only after the customers fully pay a deposit and an invoice. And also transfer that amount minus collected fees to the connected account afterward. Thank you.
I am getting this error "A bank account with that routing number and account number already exists for this customer."
if invoice is invalidated. ( past due), it will be closed or not
Hello all! That may be a bit of a product question, but please help me if you know the asnwer 🙏
We are looking into using PaymentElement, I was curious how it works if a customer has existing payment method and we create a payment intent with a payment method attached to it and then use client secret to mount PaymentElement. Are there any screenshots or articles of how that works?
Hi, I am getting Stripe rate limit error something like this:
This object cannot be accessed right now because another API request or Stripe process is currently accessing it. If you see this error intermittently, retry the request.
Error type: Stripe::RateLimitError
Error message: This object cannot be accessed right now because another API request or Stripe process is currently accessing it. If you see this error intermittently, retry the request. If you see this error frequently and are making multiple concurrent requests to a single object, make your requests serially or at a lower rate.
Any solution or feedback ?
Is there a way to find the tax_transaction_id or line item ids of items related to a payment intent, charge, or session? We are going to be using Stripe Checkout and Stripe Tax and the reports available reference a line_item_id but I can't seem to easily connect the line_item_id to anything else.
Hello,
I got an issue on signature validation (No signatures found matching the expected signature for payload.) but i can not understand it, someone could dive me some help ?
Hi!! I want to be able to collect the credit card information on my platform and send it to stripe. I know I need to use stripe.js for this, but couldn't find a good tutorial/documentation on how to do that.
Hi team, is there a way to get email notifications when webhook deliver fails?
hi! I have a question about terminal retries (using "Smart Retries). After a terminal action fails (for processing a payment intent), is there any indication either within the webhook event or on the payment intent itself, that stripe will be automatically re-trying?
Alternatively is there a set list of failure_codes that will always be retried? I have not been able to find anything online
Any phone help in spanish ?
Why does it take more than a week for money to go into my account after a purchase has been made?
thanks.Okay.
Is there a way I can get an exact application fee amount rather than using a percentage with only 2dp?
46/4992 = 0.00921474358
4992 * 0.01 = 50 !== 46 // need this to be $0.46
const hivepassPlatformFee = 46;
previewInvoice.prorationAmount = 4992;
const calculatedFeePercent = +(hivepassPlatformFee / previewInvoice.prorationAmount).toFixed(2);
console.log(Hivepass Application Fee - Calc %: ${calculatedFeePercent}, Fee Needed: ${hivepassPlatformFee}, Payment Amount: ${previewInvoice.prorationAmount / 100})
const subscriptionUpdated = await stripe.subscriptions.update(
subId,
{
items: [
{
id: subItemId,
price: newPriceId,
},
],
proration_behavior: 'always_invoice', // Invoice the pro-rated amount immediately
application_fee_percent: calculatedFeePercent
}, {
stripeAccount: `${connectedStripeAccountId}`,
}
);
can't get ahold of CS
looking to receive help on finding an account , i can't remember the email but i got an acct number from my 1099k
says i made bout 115grand
but i can't locate the account
Hello, I'm in need of some help with understanding how one of our Bulgarian customers Connect Express accounts is being updated with an invalid statement_descriptor (all non-latin chars). I think this is happening during setup of the account.
I can provide logs/object ids if needed, but basically we send our user through Stripe oauth and connect express setup, and during oauth completion, we POST a metadata update to the account object, and then we see the invalid statement_descriptor coming back in the response. I'm trying to figure out how that got set in there, because it causes errors downstream in other validation code, and I don't see a way in the Stripe setup where it would allow that. Thanks!
On stripe terminal, sometimes a customer tips a larger amount than normal percent amount. we do an auth, and then enter the tip on our software, after the customer enters it on the paper receipt. It comes back with error saying that the card could not be processed. Then we tried removing the tip and then it allowed us to finish the order. the order was for $2.17, we processed the card and then I added a $1 tip and vines gave an error. Is there a way to allow a larger tip amount and not restrict that?
Is there any way to get the claim details for disputes that are available in the dashboard throught the API? I cannot find anyhting
Hey I want to create a subscription system using fast api, but i am clueless how I would track the status of the subscription (creating stripe user / getting sub id)
my checkout endpoint
@router.get("/create-checkout-session")
def create_checkout_session(request: Request, user: user_dependency):
domain_url = "http://localhost:3000/"
print(user)
try:
checkout_session = stripe.checkout.Session.create(
# you should get the user id here and pass it along as 'client_reference_id'
#
# this will allow you to associate the Stripe session with
# the user saved in your database
#
# example: client_reference_id=user.id,
success_url=domain_url + "payments/success?session_id={CHECKOUT_SESSION_ID}",
cancel_url=domain_url + "payments/cancel",
payment_method_types=["card", "paypal"],
mode="subscription",
line_items=[
{
"price": "price_1Obq5xGpk89JeyEsqb8Twsx3",
"quantity": 1,
}
]
)
return checkout_session.url
except Exception as e:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST)
Hi, I have a bunch of connect accounts and I want to utilize stripes API to give them a URL/Link they can open that has all their bank info, tax info, payment info etc based on their accountID. How can I do this?
Hi, i want to ask does this fee came from 2.9% or only processing fee for each exchange ?
Thanks
Hi - I was wondering where I can find info on the ACH Direct Debit micro-deposits process. Is there an email sent out after a user completes the Enter bank details manually process within the Payment Elements?
Hi friends! I'm looking for some advice for Stripe reporting specifically. This is probably an integration and a general reporting question, possibly.
tl;dr I want an analytics spreadsheet that I do not manually need to update but displays specific information.
I will put more information in a thread so it's not a super long message here. Thanks in advance! Let me know if there's somewhere else that's better to ask.
Hello, i'm trying to set proration_behavior and billing_cycle_anchor on a deep link for subscription update confirmation flow (uses billing portal session). Apparently i can provide a session configuration object which allows me to set proration_behavior, but i can't figure out how to set billing_cycle_anchor. Am i missing something?
if our call center is saving a card (setup intent) with the customer over the phone, and 3ds go through and requires 2fa. does the call center ask customer for the 2fa or abondon the saving of that card? the usage: off_session in create setup intent is the default if we don't indicate, correct?
Hi! When I create a new subscription intent (before the intent is confirmed) the invoice is in "open" state. IIRC, this didn't happen before and all invoices were initially created in draft state for "incomplete" subscriptions. Has there been a behavior change on the POST /v1/subscriptions API?
Hi, once a payment is confirmed and it returns to success with payment_intent id as a query parameter, how i give the user the choice to send the receipt to their email (typing their email-> send)
Hi! We are you trying to build a minimum charge check based on list here https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts but the list doesn't include every country so I assume the countries' currencies that are not on the list will be converted to USD? How do we do the validation for a country's currency that's not on the list? for example if they entered 100 in their currency, do we have to use some kind of currency conversion api to convert their currency to USD to do the validation, or is there any other way we can do the minimum charge validation without using any currency conversion api? Thanks.
Hello All, we have a huge terminal project with a client, and they have a concern about accepting AMEX. I know that the payment element has a beta feature for whitelisting/blacklisting brands. Does any similar beta feature flag exist for terminal/payment intents? 🙏
hello there, is ther a way to fetch the payout item with the related transactions?
Hey! Is it possible to use Norwegian Vipps as a payment method with Stripe? For instance through Klarna? I know Klarna supports it, but can this be used with Klarna in Stripe?
I cant change my stripe phone number ive tried everything
Hey @daring lodge , you said you could share my feedback about being able to reset billing cycle anchor for upgrades via portal, could you submit that? Thanks!
Hi, which API I can use to get total spend information for a customer?
I'm pretty sure the answer is "no" - and tbh I don't want to do this but being asked by stakeholders - is it possible to turn off the need for microdeposits when adding a bank account in stripe (specifically using stripe checkout atm).
Why the Stripe Card Element Only for Android/iOS doesn't have the Country selector, like the web payment element? Is there a setting to activate that option?
Hello! Is there a recommended way to determine when a subscription trial has ended with webhooks? Would like to know this both when the subscription has been cancelled, and therefore ends at the end of the trial; as well as when the subscription continues to a paid interval. Thanks!
i have create a connected account for my customer but how do they add external account details to receive payment from there customers , is there a way through api or if we can send link or any stripe hosted page which we can use to gather that information
I am building account onboarding with the Stripe Connect Custom Embedded Onboarding components.
Is there a way for this Add Information button not to take my customer off my app?
How long should it take for a ACH microdeposit verification email to get sent? Been waiting for the testing email for ~15 minutes
Where can I get a monthly payments received report from?
Hi, please could I re-open my thread from earlier as I have a video URL to demonstrate the issue I was having...
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hello! Quick question: Suppose a user starts a subscription with a trial. Then they cancel the subscription during the trial. Then the trial ends, sending a customer.subscription.deleted event.
Do you know if data>object>trial_end and data>object>cancel_at will always be the exact same or is there a chance they might be off by a second or 2?
Hello, basic question. Can a card capture fail after already being authorized?
So let's say, I create a payment intent with capture_method manual, then customer submits his card and I receive payment_intent.amount_capturable_updated event, then I wait a few minutes and I capture it.
Is there any way the capture() can fail assuming I don't do multicaptures and I haven't exceeded the authorization window?
Hello I have been trying to veryfy my Stripe account but it doesnt seem to accept it. It s giving me error sayng cannot verify. Also I cant log in to dash board . How can I solve this issue
Hi, I have encountered an issue in rendering PaymentElement from stripe-react-js, it renders the iframe but displays nothing. I even hard coded the publishable key and client_secret.
Hello, we are using stripe expressCheckout and I would like to limit the width of the buttons. However, I only see buttonHeight, buttonTheme, and buttonType.
Is there a way to do this?
Thank you!
Hi team, we got this error and I was wondering if we used the wrong method for setup intent in SDK?
Used Atlas to file 83b election .. My filing is being prepared now.. but it has the wrong share purchase date and the wrong residential address. How can I update this before it is sent out?
Thank you!
Hi team, another question. For applePay how to set up allowsDelayedPaymentMethods? PaymentSheet.Configuration has an option for applePay but didn't work.
Hi Folks,
I'm trying to get all invoice items with that query "{{baseUrl}}/v1/invoiceitems" but stripe does not send me all invoice items in the system.
But when I send that query "{{baseUrl}}/v1/invoiceitems/:invoiceitem" I'm able to see it. It was working before. What happened?
I'm using the API version 2022-11-15.
Hi guys, is there any documents to guide how to add payment method for customer in connect account? I try via API but it's return error "Requests made on behalf of a connected account must use card tokens from Stripe.js, but card details were directly provided."; continue I try with Stripe Element (I download full app via link :https://stripe.com/docs/payments/quickstart), Its successfull with normal payment, but i change some parameter to payment for customer in connect account, and it's return an error " No such customer: 'cus_PRFL2hEtk6fUNo'"; however, i check customer in connected account, the customer "cus_PRFL2hEtk6fUNo" already exist. What i can do? Please support to me.
Hi stripe moderators
I mentioned this issue yesterday also
Some stripe hackers are carding sellix invoices powdered by stripe
There is some glitch
Hello! I'm looking to use Stripe subscriptions for my product. I had the following question. After the user's pay for the first time, I create a subscription using subscription.create. I verify the first payment has gone through and grant them access to my service. Afterwards, I let Stripe create subsequent payments for that subscription. My question is the following; could it be possible that subsequent payments require authorization from the user, as in, for example, going through a 3DS flow? This would create an issue in my flow as I would like subsequent payments to be created off session.
pavlos_91429
Good morning in the morning, when I receive a webhook event "invoice.paid" I expecting that I can access the product meta data (product is abo) but for some reason the meta data is missing. I have set it in the stripe dashboard...
Hi Folks,
How can I get all invoice items which does not have an invoice(invoice is null)? In other words how can I add filter to "{{baseUrl}}/v1/invoiceitems" this query?
What is the response once we make a payment with google pay and was succesful ?
Hi there, i have been logged out of my Stripe account and have not been able to regain access for days. My business is suffering with this happening, please provide me support asap
Hi team continuing on this one #1200345367951196190 message
Hi there
Hi, my client want to integrate stripe on our page. We will have
-subscriptions where all money go to my client (website owner)
-payments, where page user can buy services from sellers on our website (seller gets 80% of that money, out website takes 20%) so I guess we will use connected express accounts for this purpose.
Out client uses saldeo to manage his invoices for bookkeeping and taxes purpose
How will it look like when it comes to invoices? website service buyer should get his invoice for lets say 100 euro,
website seller should get his invoice for 80 euro so he can manage his taxes
our website should also get invoice for 20 euro
beside that there are also subscriptions which fully go into web owner.
Can you describe me how will it look like and whether its possible to somehow integrate stripe dashboard, that it will automatically send all invoices to saldeo system?
Enquiry of connect account money crawlback. Lets say, the money is payout to connect account bank account. Is there any API to take back the money sent to a bank account/card?
Hello! I'm looking to add payment methods using Stripe but without charging the user yet. I'm using a payment sheet in Android. My server creates a setup intent and gives me a client secret that I use to confirm the setup intent.
However, when the card does not have a balance (I'm using a test card from Stripe), I get this message (see attachment). This is quite strange because I'm not planning to charge the user. So it would be quite a bad user experience for the user to see this message. How can I ignore the fact that the user does not have a balance? I only care about the balance when I actually want to charge the user, later.
I have an account in stripe "cus_PR17aZfXrW5lQm" and I am going to pay via the portal. Then I have to enter my address details again. But it's like in stripe. How can I turn that off?
hi i created a stripe account to test it and i make a payment for 210 euros but they blocked my account even if the account is mine and the card that i used is mine
Hi, I have a question.
We use the invoice.payment_succeeded event to generate invoices in our accounting software, but for this month one of the events had a line item missing, how is this possible?
Where can I see all the parameters of [payment_method_types]
Hi I need help with setup Apple pay on payment sheet on react native app. I have done all the part and the payment sheet is coming up but how can I configure the apple pay I do not know. So now in payment menthod setting the apple pay is active but I have lots of questions. Please help
[Python] Hey, if I have a SubscriptionSchedule, and cancel the subscription with stripe.Subscription.cancel("sub_...", cancel_at_period_end=True) will it end after the end of the current phase it is in?
e.g. if they're in the first phase (3 months) and this is called it'll end after those 3 months, but if they do it after the three months it'll cancel at the end of the month (second phase)?
Why didn't I have the option to enable PayPal payment
hello i have a question
I'm currently using developer, test mode
My development language is php
I downloaded the paid sdk through github
Configured payment_intent.succeeded webhook postback
Use \Stripe\Checkout\Session::create to create a payment order. I added metadata data to the order and the payment was successful through the test account.
But now my webhook return data does not receive my metadata data
can someone open my last topic
Hello, I tried to create a connected account test and I have to specify a phone number in USA. What value can I input for test purpose?
Hello, when fetching a webhook endpoint (or a list of webhook endpoints) is there a way to determine whether the endpoint is of type "Account" or type "Connect" ?
Hello, I can't reach the support, how we can contact them ?
Hello ! I got a question about clone payment methods. (https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods)
Let's say that on account A, i clone payment method A to my B account. If i don't store the id duplicated in my database, is there a possiblity to find the cloned payment method on account B account just with payment method A informations or id ? Thanks !
We are using Elements via React on the front-end (CheckoutForm) and the PHP composer API wrapper on the back end. We want to make the name on card a required field. I couldn't find where to do this on the stripe.com account admin. Is it handled there? Or can it be specified at the React/PHP level?
Sorry team, could we continue this thread? It was tested on real device #1200368460258086932 message
Hi, please where do I check for a connect account balance on the dashboard?
hi - curious what the correct way to set up a payment structure of $97 then 12 x $27 monthly. I see this code:
$stripe->subscriptionSchedules->create([
'customer' => 'cus_NcI8FsMbh0OeFs',
'start_date' => 1680716828,
'end_behavior' => 'release',
'phases' => [
[
'items' => [
[
'price' => 'price_1Mr3YcLkdIwHu7ixYCFhXHNb',
'quantity' => 1,
],
],
'iterations' => 12,
],
],
]);
However there is no indication of how frequently the iteration is repeated. Would the price id (price_1Mr3YcLkdIwHu7ixYCFhXHNb in the example) be a product that is a recurring monthly subscription at the price of $27? I have already gotten an initial price point of $97 with storing offset payments for future payments setup. So I am stipulating that I would do a 97 initial, then set start date 30 days into the future (in milliseconds from the epoch), with 12 iterations, on a product with as a $27 monthly subscription.
Hello! I have a couple of questions regarding statuses of payment intents:
- I'm only planning on using cards + wallets (Apple Pay/Google Pay). From what I understand, the
processingstatus is irrelevant for me as payment intents with those payment methods are never going to go in that status? - From what I understand, there is no
failedpayment intent status. Given that, how can I differentiate between payments that are yet to be confirmed (and are in the initialrequires_payment_methodstatus) from those that were declined for example due to insufficient funds and are also inreuqires_payment_method? - Can I payment intent ever go from
succeededto any other status or issucceededa terminal state?
Hi all, we recently updated the DNS of our server and also want to update the webhook urls, I did update it in the Stripe dashboard but its not working and webhooks are failing, any help on how to achieve this would be really great, thanks in advance.
Can you please confirm that Payment Domains created via UI and API are sitting in different buckets so that the same domain can have different IDs. And when I create them via API, I don't see them in UI (https://dashboard.stripe.com/settings/payment_method_domains) and vice versa - I cannot update a domain via API if it's created in UI.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hello! Is there some way to show something like a loading animation while the express checkout element get loaded? It would be nice to see something while the buttons load for our customers.
I tried to place some text in HTML Element where stripe loads the buttons and also listening on expressCheckoutElement.on('loading') but with not success.
Thanks in advance!
Hello!
is there any way to pass setup_future_usage=off_session when creating a subscription ( https://stripe.com/docs/api/subscriptions/create ), like we do when creating a payment intent?
thanks!
Hello!
Some people are selling their stripe account and it's illegal
I found few of those people selling it
Will you guys take action on them?
#dev-help is currently closed
Can't wait? Contact Stripe support anytime! https://support.stripe.com/contact/email
This channel is open twice a day on weekdays during the hours below. We're closed on weekends and holidays.
UTC/GMT
5:00 AM – 1:00 PM
3:30 PM – 11:30 PM
Eastern Standard Time
12:00 AM – 8:00 AM
10:30 AM – 6:30 PM
Pacific Standard Time
7:30 AM – 3:30 PM
9:00 PM – 5:00 AM
Japan Standard Time
12:30 AM – 8:30 AM
2:00 PM – 10:00 PM
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hi, since a few hours, the test card 4242424242424242 seems to require 3DS/SCA to be set up. Can you confirm this?
Hello, I am trying to update a payment intent with the attribute
capture_method: "manual"
But I get the error that capture_method: "manual" cannot be used when modifying a PaymentIntent that was created by an invoice. this is really frustrating as you do not state it anywhere in your API. Is there a workaround?
I need help in tackling the already attached bank accounts.
Hello everyone, i just applied a new tax rate to my product.. do you know if my subscriptions will use the new tax rate? or they will continue using the archive one?
Thanks
Hello, how can i activate the PIX payment method for Brazil?
Hello, I'm having trouble connecting to my bank account. I can get to most of my accounts, but not my buisness account which is what I need to be attached too.
Hey,
- I'm wondering what best practice is with Apple Pay (express checkout element), if we're using a recurring payment but where the initial months are discounted? As far as I can see one has to put an amount which is then displayed to the user. Is there some mode that is simply "save an apple pay payment method for future usage" rather than "recurringPaymentRequest"?
- Related question, we have the ability to save a card using Apple Pay, but if the user wants to add another recurring payment, should I still collect details again as a separate payment method? I have never seen a service that saves Apple Pay cards for future, on-session usage like that, personally I would expect to do the full verification (face id etc) again.
why my coustomers recived a payment reminder email from stripe when they have cancel their subscription
Hey,
I have trouble in getting positive "Stripe Balance" in test mode, I want to test discount/refund functionality, I have stripe connect flow where I pay out to a connected account, in order to offer discount to the customer, i need some stripe balance to match the discounted amount, however, the response I get from the curl request shows available balance 0 and shows me entire amount as pending balance.
curl https://api.stripe.com/v1/balance \ -u sk_test_0000
{
"object": "balance",
"available": [
{
"amount": 0,
"currency": "cad",
"source_types": {
"card": 0
}
}
],
"connect_reserved": [
{
"amount": 0,
"currency": "cad"
}
],
"livemode": false,
"pending": [
{
"amount": 6735,
"currency": "cad",
"source_types": {
"card": 6735
}
}
]
}
Hi Everyone,
We're struggling with subscriptions flow.
Context:
- User must have only one subscription active at any given time
- User must be able to switch from one subscription to another
Our approach so far and the issue:
Whenever a user asks to open a payment sheet, we either create a new subscription or update the existing one.
The problem is that since we're updating or creating the subscription in order to get the payment intent,
if the user dismisses the payment dialog, the subscription would be updated/created and in an incomplete state.
What's the right way for updating the subscription only when the user has completed the payment?
Not sure if updating the existing subscription is the right way to go. Maybe we should create a new one and then
delete the old one.
Thanks in advance for the help
Hi devs, i have subscription plan in my application with checkout session along with 30 days testing, but i figured out that after a client canceled the plan and renew it again, he will have another 30 days testing, i'll share the code with you to check what i did wrong plz:
const session = await stripe.checkout.sessions.create({
mode: 'subscription',
line_items: [
{
price: premiumPriceId,
quantity: 1,
},
],
subscription_data: {
trial_settings: {
end_behavior: {
missing_payment_method: 'cancel',
},
},
trial_period_days: 30,
},
customer: customer !== '' ? customer.id : user.seller.stripeCustomerId,
//payment_method_collection: 'if_required',
success_url: ${process.env.BASE_URL}/seller/plano,
cancel_url: ${process.env.BASE_URL}/payment/seller/cancel,
});
basically i want one time 30 days free, no matter user cancel or renew the plan.
Let's chat in the thread I created above
hello im building and integration with stripe using laravel how can I simulate a transaction that needs confirmation by the bank, how the best way to notify errors througt webhooks or sync using the api?
Hello dev team, im working with implementing diferent prices depending on my users locale, i have 2 prices setup, 1 in usd and one in CAD, after finishing my implementation i made a purchase yesterday with a usd price, now when i attempt to use the canadian price im getting an error
hi guys ,
we have problem on activate instant payout on connect accounts and rete an error "This application does not have the required permissions for the parameter 'external_account' on account 'acct_XXXXXX."
Hello, on the Payments page on Stripe we did some real "test" payments one that is a subscription and one that is just a regular payment. When we put in the subscription one to test the description says "Subscription creation" and then with the regular payment it gives me the payment intent as the ID. Is there a way that I can change that Description?
Please I have a problem with my stripe account. They want to deactivate my stripe account because they identified payments on my stripe that wasn't an authorized customer. I was the one who was trying to test my stripe account by placing an order and my stripe account got deactivated due to that.
Please I need help to fix it
Hello! When creating invoices via the Stripe dashboard, we have the option to specify a supply date for line items in the invoice. This is great! However, I'm unable to determine where that data is stored / accessible via Stripe Sigma reports. Does anyone know?
Hi team, I have haven't the hardest time getting a payout account removed from the Strip account. It's through the Autel portal which is for EV chargers but the page i'm on says Strip in the web address. Please help
Hello, I need help related stripe connect accounts. Can we transfer funds from one connect account to the other connect account ? Right now, If connect account A transfer funds to connect account B then they deduct the payment from my stripe account.
One of our 1099's email is dead and he's trying to get his paperwork. Is there a way to change that for his express account?
Hi! I am having some problems with the latest stripe-python version. Can you help me?
@mighty hill is it possible to keep talking about this one? The thread has been locked
hi guys ,
we have problem on activate instant payout on connect accounts and rete an error "This application does not have the required permissions for the parameter 'external_account' on account 'acct_XXXXXX."
We do not want to control connected accounts; we want to add the ability for instant payout to their dashboard for them to use
Hi. I need help resume a subscription that was canceled months ago. The payment for the invoice was made today and I would like to resume the subscription. I've tried these api calls:
retrieve_subscription = stripe.Subscription.retrieve(subscription_id)
This one works and returns the subscription
resume_subscription = stripe.Subscription.resume(subscription_id)
This one fails and says "No such subscription".
Hello, I have a question regarding the information the API passes back to the Stripe dashboard. Can someone help me out
I need help my account payment and payout pause..
I need help any person help my account re activate
I have enough customers per transection £2059 per day
Any person help or stripe rent I'll gift you per transection 20%
Hello! I wonder whether this is the appropirate venue to ask for help with setting up an invoice on Stripe for what is a relatively steady transaction of cottage rental. I have no idea how to do that on Stripe - I have no accounting or related experience.
Hi, we are passing billing details in the stripe.confirmPayment, but there is only a full name field, so for Klarna payment method, if customer signing up for Klarna in-flow it puts both names in the first name field. How can I avoid that?
I have another question, when updating an exitsing intent server-side, is it possible to remove a payment method?
Stripe::InvalidRequestError (You can’t create a portal session in test mode until you save your customer portal settings in test mode at https://dashboard.stripe.com/test/settings/billing/portal.):
Getting this error when i tried to make a session url for Connect accounts customers so they can update their payment methods.
session = Stripe::BillingPortal::Session.create({
customer: subscription["customer"], # Replace with the customer's Stripe Customer ID
return_url: params[:href]
})
I enabled it on my stripe account, but I'm guessing my connect customers has to go manually do this as well?
Hello, How can i transfer funds from my stripe account to connect account ? Or can I also schedule it with some delay so the funds automatically transfer to the connect account on the specified time ?
I am building a Stripe Connect custom integration with embedded components.
If I use embedded onboarding, what are my options to ensure connected accounts receive notifications for risk and compliance and take action in my application?
The documentation suggests using Embedded Dashboards but it looks like it's in Beta for now.
@rose otter @copper reef We can successfully create a Tap to pay test transaction with PIN(UK) when using .03 microdeposit amounts but .02 generates an error: "This transaction requires chip and PIN. In testmode, using a physical test card with designated amount ending values produce specific decline responses. See https://...".
Is this the normal behavior? The doc does not say it should return an error
Hi, how can i find all icons from this list
https://stripe.com/docs/testing?testing-method=card-numbers#cards
Hi, we have been using stripe for years, and want to add to our metadata that is attached to charges. When we made the app there were 20 fields iirc, now we have 50. I know in the past we used less than the max, and every time we changed the metadata, then the csv downloads of Payments would alter radically. The last time we tried this on the dev environment, it broke our csv downloads for weeks and support was unable to determine why, eventually we wiped our dev data.
Question is: what is the expected behaviour of the reports/columns when editing/adding charge metadata columns?
Hi, I have scheduled subscription which starts in the future, I want to receive an event on my webhook when it starts? Is it customer.subscription.updated or subscription_schedule.updated?
Hello. I am creating refund like this
const bookingIds = ['b09gpsO8IlBy2EcbhN8v', 'hmc6u0kcBAbvBf6nT37T'];
const metadata: { [key: string]: string } = {
bookingIds: JSON.stringify(bookingIds),
};
const refund = await stripe.refunds.create(
{
payment_intent: 'pi_xxxx',
metadata: metadata,
},
{
stripeAccount: someKey,
},
);
What event I need to listen in webhook for refund success where I can read my metadata. Right now I am listening on event charge.refunded and metadata is empty.
I have waited for almost 2 weeks for a payout and it says by the 29th why put by and then a date if I won't get it till that date or after
We currently have two stripe accounts, one for our US stores and Canada.
I see that you can copy customer data from one account to another: https://stripe.com/docs/payments/account/data-migrations/pan-copy-self-serve?copy-method=full
We don't want customers to have to re-enter their payment data if they go to our Canada store first, and then to our US store. We have two solutions: 1. Mirror all stripe account actions for both Canada and US (e.g. when they add a payment method, add it to both US and Canada). 2. Dynamically migrate customer data. I don't know if this is supported. Which approach do you recommend?
Hi team! Quick question—is there a way for me to collect coupon codes via Apple and Google Pay using the Stripe PaymentRequest API?
For custom onboarding using the api based approach, what PII data concerns do I need to be concerned about when users upload verification documents etc, does that sit on my server or straight to Stripe?
issue with update stripe npm to latest version
Hi, I am a little confused about subscription items. are subscription items automatically created when a subscription is created? And are they linked with a price_id or can one subscription item have multiple price_ids? Why do I need subscription item ids when making a usage record instead of just the price_id of the product that has been used?
Hi, is there anyway to disable 3D secure when using Stripe elements / creating the payment intent in PHP?
We currently only take payments of under £10 but find 3d secure causing a hurdle when taking over the phone payments.
I have an app where you can subscribe to a plan (I have three different plans with one being free).
I'm using the checkout and billing portal from Stripe. I'm also sending the customer id, subscription id and chosen plan to the corresponding user in the database.
I'm using webhooks to listen to some changes but I'd like to know which webhooks I should listen to ?
Hey there, I'm implementing subscriptions (w/ trials and all), using checkout session. Could someone help me with two questions please:
- Are Stripe API endpoints consistent? (as in strong consistency)
- With Stripe webhooks, is there a recommended way to tell whether an event was after another event?
Hi there! We use Stripe connect for our product and pay to our users. I'm wondering if there's an api for us to pull data on:
- how much historically in total we have paid to a user
- how much in total user's stripe connect account balance is
- how much is in transfer from stripe -> user's bank/card
- how much historically in total has been paid out to a user's bank/card
Thank you in advance for you help!
What’s the best was to mark a draft invoice as un collectible?
Given a coupon that can only be applied to a specific subscription product, Is there any functional difference between a coupon applied to the customer vs directly on the subscription? I would assume no, but I would like to be idiomatic if possible.
Hi, I'm getting an error:
stripe._error.InvalidRequestError: Request: Received unknown parameters: unit_amount, currency
When I try:
stripe.Price.modify(
currency=prices.currency,
unit_amount=prices.amount,
id="some valid price id",
)
How would I modify the currency of a price / unit amount when I know it's ID?
Does stripe php api have a transaction limit?
is it possible to control the error on the payment sheet when a user loses internet connectivity?
So with one api call could I transfer a large sum of money and how large
is there a button or way to get stripe to automatically assess fees and add it as surcharge on invoice
Hey I cant seem to read the client_reference_id in my webhook event. Its shown when I print the full object but not when i try to access it. => KeyError: 'client_reference_id'
@router.post("/webhook")
async def stripe_webhook(db: db_dependency, event: dict, request: Request, stripe_signature=Header(None)):
webhook_secret = os.getenv("WEBHOOK_SECRET")
raw_body = await request.body()
try:
event = stripe.Webhook.construct_event(
raw_body, stripe_signature, webhook_secret
)
except ValueError as e:
# Invalid payload
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="Invalid payload.")
except stripe.error.SignatureVerificationError as e:
# Invalid signature
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail="Invalid signature.")
# Handle the checkout.session.completed event
session = event["data"]["object"] # id is in the full object
print(session.client_reference_id) # i get the error here
I have a POS system and we are using M2 Reader
We currently only service USA but we now have a client in Canada who's interested in our POS
we are using standard account for connect, will we be able to have them take payments easily?
Hi, we use some automation to check our 3DS process and we were using the url given in a paymentIntent.confirm response to check an iframe (next_action.use_stripe_sdk.stripe_js). However, we noticed that recently the api response we are getting is different even though we are using the same test cards. Specifically, the use_stripe_sdk object is different: before it was "type": "three_d_secure_redirect" and had the stripe_js field and now, it is "type": "stripe_3ds2_fingerprint", and no longer has the stripe_js field. Is this caused by the deprecating of 3DS1 and now the test cards are using 3DS2 and therefore, the use_stripe_sdk object is different?
yes so i made a payment for some itam and they said security analysis for the cardholder, this process takes around 3-7 days to be completed, from strip will i get my product i paid for
Hi, I am new to stripe. I was integrating stripe.js to my Next.js project.
I created a POC with 2 products, and I saw whenever i did a payment it created a customer as "guest".
I wanted to understand at what point do we create a customer ?
Is it when the customer hits the "Buy" button and we create the customer and then navigate them to the checkout page appending the customer ID we just created ?
Hello! I'm looking to allow inactive and active subscribers to update their payment information (card and address).
I'm using the Payment Element and Address Element. My question is, what is the correct way to set up the payment intent?
app.post("/create-payment-intent", async (req, res) => {
const paymentIntent = await stripe.paymentIntents.create({
currency: "usd",
amount: req.body.subscription.amount,
automatic_payment_methods: { enabled: true },
});
// Send publishable key and PaymentIntent details to client
res.send({
clientSecret: paymentIntent.client_secret,
});
});
Above is the payment intent creation for my subscription itself. Would everything essentially be the same? The amount would represent whatever their currently plans subscription plan amount is.
Thank you very much for your time!
This channel is closed on weekends and holidays, but we'll be back! If you need help before we return please contact Stripe support: https://support.stripe.com/contact/email?topic=api_integration
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hi team, we had a strange issue where the Google Pay was not working in prod mode. Our app has been approved by the Google Pay team, and has also been listed on the Play Store. But when I used the play store version I couldn't call out the payment sheet.
Everything was working in the test mode. Confirm we have swtiched to live key and production mode for google pay. Card payment was working in prod
Hello, what Visa interchange program applies to Stripe Issuing virtual cards in the United States? https://usa.visa.com/dam/VCOM/download/merchants/visa-usa-interchange-reimbursement-fees.pdf
please help me! my website keeps getting denied and i have no clue why. I was doing orders already and they revoked my account and i tried 2 more accounts but they were banned. Help!
Hey guys, hoping I can get a little help with this... I am trying to programatically schedule a change in the product/price of all my customers subscriptions. It looks like using subscription schedules is the appropriate way to go. However I am confused on the end_date/iterations behavior. I would like this change to be permanent. I do not want to only have this change persist for a set # of iterations or until a set date. How can I programmatically create these subscription schedules with an end date of "forever" basically? (if it matters, I am doing this in PHP with the Stripe PHP SDK)
Hi,
Can I autocomplete someones shipping address if he has already made a payment and I've his customerID?
(stripe's checkout, payment)
Hi, I'm looking to integrate Stripe into my Adalo app (mobile no-code app creator). Part of the app requires the functionality that users can easily send money to other users. I don't want any users to have to setup an entire stripe account with business information and SSN's etc. I just want it to be like Uber; Insert credit card information at some point and send money. How would I do that? Is that just a Stripe expresss account?
do I ping @willow latch
We have a payment flow set up using Stripe Elements where we manually create PaymentIntents for initial charges via iDEAL, followed by transitioning to SEPA Direct Debit for recurring subscription payments. We also incorporate a trial period to align with our billing cycle. However, we're encountering an issue: after customers are redirected to a "Thank You" page and the funds are deducted through iDEAL, these payments still appear as incomplete in our Stripe dashboard. Example payment IDs:
pi_3OdgRSBGasr0RNIF0d20J5sY
pi_3Ode01BGasr0RNIF0BVANRHE
pi_3OdRkqBGasr0RNIF1GEcePYI
pi_3OdT4OBGasr0RNIF1qfxZdIF
We need assistance in understanding and resolving this issue.
I need some help understanding how the heck fees were calculated for a certain transaction. Only noticed after the fact and lost like 60-70$
I typically deal with us clients dealing only with USD. I calculate 3% of total + .30 cents and add to my end price
Recently I didn’t this for a UK client and the total was much more
How can I see the breakdown of the fee for a given transaction? All is see is the fee total
hey stripe devs can we make stripe supported in bermuda pleaseee
I've enabled many payment methods but I don't see them in my stripe checkout
hello i have a question
I created a monthly subscription product using test mode
My webhook listens for all subscription events
When I use PHP's sdk to create a payment link
I have subscription_data.metadata in my parameters
But when I tested that the payment was successful, I only received the payment_intent.succeeded event postback, and did not receive any other subscription event postbacks.
Moreover, there is no metadata data in the payment_intent event return.
Hi there, What is the best way to listen both 'Events on your account' and 'Events on connected accounts' with same Endpoint url?
hi, i have a question
i can't add a bank account via API right? I used createExternalAccount with ['external_account' => 'tok_visa_debit'], its create a test bank account; for example if i create bank account for production, createExternalAccount can't create bank account and return error Requests made on behalf of a connected account must use card tokens from Stripe.js, but card details were directly provided. what can i do?
I need help with my account
Hello. Is there any way to lookup payments via customer IP address?
Hello all,
Had a few questions regarding setupIntent API and payment methods.
- How long is the intent secret valid for (which is returned by stripe after making a SetupIntent API call)
- Is there any way to search on the metadata attached to a payment method on stripe dashboard. Ik I can do it for any metadata attached to customer object, but any way to achieve the same for a payment method?
Hi there, I am trying to test the webhook local listener. I am trying to add the query parameter to the url. I am getting no matches found error on my terminal when I trying to add the query parameter.
Hi, Our customers receives a "Forbidden" page once the stripe transaction has been successfully processed. Is the problem at the stripe end or with my Web-site builder/hosting service?
Here is the page
@peak arrow I've creatd a thread for you, let's keep the discussion there.
Hi, I would like to set a maximum amount to be paid using a paymentlink which is created by API, that is a link is created for paying 1000 and it can be customized on payment, so while using the link cutomers can now pay more than 1000 as multiple payments with the same link say 500 three times, but need to restrict it to maximum 1000 regradless of the number of payments
Hi, can i add EXTERNAL ACCOUNTS for connect account with stripe element?
HI, I'm building a react app with web element. I'm using the ExpressCheckoutElement and the PaymentElement components, currently they are being used under the same Elements provider so they are using the same options prop, is there a way that i can use different options for the ECE component under the same provider?
hi
can we accept USD payment for Indian billing address ??
international card + internation billing address is working fine
Hi we have genrated a new card using Barclaycard last 4 digits are 0801 and expiry date is 07/25, while doing the payment we are getting this error { id: 'stripe_error' , description: 'Your card has expired.' } in prod environment previously using this method it was working in prod environment.
The width of the buttons in ExpressCheckout is determined by the width of the outer container. However, it would be better if the buttons did not expand to 100% when the container is 100% wide. I don't know how many buttons will be displayed, and if only one is loaded, it doesn't look very good.
Is there a way to determine how many buttons (Apple Pay, G Pay, PayPal) will be loaded? Alternatively, is there a way to give the buttons a max-width?
Hi team, following up on this thread #dev-help message
The google pay did work on another older Huawei phone. But I wasn't sure why it didn't work on my Xiaomi phone given I could use google pay on other apps on my phone?
i have used stripe for e-giftcards onmy website but customers are coming in with printed off paper with no way of seeing who is who as theres one id given when its bought online and i cant find that code on my dashboard when i log in. can someone help me? i need to work out who has come in and used their giftcard and who hasnt
Hello,
On Stripe we have a customer who has money on his "Invoice Credit Balance".
Apparently this money was put there by an "Automatic charge to reconcile unspent funds from customer".
How can we reuse it to pay an invoice (we don't use Stripe's invoice system) via a charge or a payment intent?
Thanks
Hello, I need some guidance! I want to create a platform were oragnizers can create events and sell tickets to that event for customers. Is Stripe the right platform to use in this case, or should I use something else?
Hello, i would like to know if there is a way to add a custom input for the paymentElement composant to send the tax ID of a customer or another method handled by stripe to send that informations through the confirmPayment call after retrieving the payment informations with the payment element. Im creating a subscription incomplete and use the payment intent to setup the payment element and confirm it within my flow. But within my flow, i would like to add the information of tax from the customer and would like to confirm if i have to handle that separetly myself or if there is a way within stripe methods to do so
Hey team 👋
Just reaching out for an issue in the docs about checkout sessions. In terms of service the link to Dashboard settings just redirects to dashboards main page. Can I get the link where to find the acutal setting
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-consent_collection-terms_of_service
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi! I was wondering if anyone is available to help me close my account? Every other way hasn't worked
Hi ! I need to change account confing on CLI
Hi we are using account links to do connect onboarding, currently it is localised exclusively to the UK but we want it to be localised correctly for other countries. Is there a way we can do this?
hi, how can we only show a specific wallet and hide the other in our payment element. thanks.
Hey, why on subscription invoices there is no info about what procentage of payment is tax? I have set up taxes and it shows them in dashboard but in invoices there is no info about it.
Hi,
are Express Checkout One-click buttons (https://stripe.com/docs/elements/express-checkout-element) automatically integrated with the Stripe Elements (https://stripe.com/docs/payments/payment-element) and listing "apple_pay" / "google_pay" as allowed payment method ? Or does the Express Checkout element need to be instantiated on its own ?
Hi,
Does stripe send invoice.payment_failed events for test purposes. Like I’m using stripe test card and the subscription has been paid for two days(intervals of 1day) with no issue, now I receive an invoice.payment_failed event
Hello, I have 2 stripe disputes, regarding my shopify business, I have chosen to refund them on shopify to end the dispute, but when I try to refund on shopify, the refund doesngt go through, as shopify's system sees that the buyer has already been charged back. So how can i counter the case?
Hello
Hi, I have created 2 phases in a single schedule. First phase is in progress and second is not started yet. How can I cancel second phase in java? Cancel/delete means I no longer required to execute this phase
While subscribing to a plan (in USD) we got an error "non-inr transactions in india should have shipping/billing address outside india. more info here: https://stripe.com/docs/india-exports".
Relating to this, is it possible for our support agents to see, in case of disputes, that the customer has indeed clicked the checkbox before buying the subscription, somewhere in Stripe dashboard?
You've created too many document verification attempts for this account. Please contact us at https://support.stripe.com/.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Hello, I need some sopport with "Upgrading to dynamic payment methods" for connected accounts. I am only seeing the card method in the PaymentElement.
hello , i have a problem which wasn't solved by stripe support at the moment , it's been 2 weeks allready and we still have some problems with some card issuer , i need some technical support
Hi, from what I understand for the creation of virtual cards stripe will provide the numbers from shared bin. I would like to know what is the pricing model for that
Morning, can i just double check, test card 4000 0000 0000 3220 says 3DS2 Required . if the card was added with a setup checkout and then later used, Would it trigger the 3DS2 verfication? Or does the act of storing the card with a setup checkout mean that future use would be ok?
I would like to update my documents in Stripe
Is there anyone who speaks Arabic? I sent an email with my recent documents, but the problem still exists
Hello! We can only help with developer/integrations questions in English here. For help in other languages please contact support: https://support.stripe.com/contact
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I have a problem with a card issuer , Stripe declined the transactions with this cards on our website , I've discussed with the card issuer and they told us that this problem is frequent with Stripe , so they told us this : "Unfortunately, we always encounter this situation with Stripe, because it does not set the correct BIN for our products and has to exclude our payments from 3DS because we do not receive SMS on the phone number (the second authentication factor). " they also sent me some additional informations..
Bonjour, j'ai connecté mon compte systeme io avec Stripe, mes paiemnts en attentes sur systeme io n'apparaissent pas sur mon dashboard stripe ... comment faire ?
Hey i have a problem with verifying my stripe? it tells me this " Reply directly from your inbox
In order to restore your account’s ability to receive payouts, please check your email for next steps or reach out to our support team. " , ive contacted support , called asked for an email, they said they would email me and they havent so im worried i will get my account banned for not verifying or something.
Hello, I received below error when creating a custom Connect account and using business_profile.mcc: 5531.
Error: Not a valid merchant category: 5531
However, this merchant category code is present in the list provided by Stripe:
https://stripe.com/docs/connect/setting-mcc
Hi Stripe. We'd like to know the reason why we've received a livemode:false payout notification on production for our merchant in Brazil. The event id is evt_1OceFnGdSHYEg1WkX407q7h3
Hi, I have 2 phases in subscription schedule. I want to add one item in second phase. How can I update that in java?
Hello! I need some help with a Apple Pay integartion for connected accounts.
Does the checkout.complete trigger always return AFTER a succesful callback of invoice.paid?
My setup is as follows:
- User creates checkout session.
- I execute logic on invoice.paid (because I need to trigger the logic for new subscriptions, and recurring payments).
- I want to execute additional logic after the invoice has been paid which relies on the logic which executes on invoice.paid (via the callback).
So my question is: Is the checkout.complete trigger only triggered after I returned a succesful response from my callback for the invoice.paid?
can i get my last thread reopen?
I’m getting this error on my webhook
"stack": "Error: Stripe: Argument "subscription_exposed_id" must be a string, but got: undefined (on API request to GET /v1/subscriptions/{subscription_exposed_id})\n at /app/node_modules/stripe/cjs/StripeResource.js💯23\n at Array.reduce (<anonymous>)\n
I’m trying to retrieve a subscription
const subscription = await stripe.subscriptions.retrieve(object.subscription as string);
Hi guys, I have a payment link in which I let the user buy one of our products. The payment link is configured not to create a post-payment invoice. I wanted in the events webhook handler to access what product he bought. The events which I get in this case are: payment_intent.created, payment_intent.succeeded, checkout.session.completed and charge.succeeded. None of them include a connection to the line item from the payment link. I see that on the payment intent page, the line item appears in the Checkout summary section, how can I get to it in the weebhook handler from the API?
Hi, we received an event twice on our webhook (https://dashboard.stripe.com/acct_1OFDxeQUcdbiygB1/events/evt_1OcesmQUcdbiygB1zqcOph4G). Is unicity by event ID not a guarantee ?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hi, is it possible to pause payouts of a connected custom account using Stripe API only ?
Morning! I I activated PayPal payment two months ago and it is still "reviewing my account." How much time do you guys need?
Good Morining , How to get device location info (ip , countey , city ) from payment intent API , charge Api or pyment method api ?
how can i add dynammic changing shipping rates in stripe checkout, because shipping rates changes based on user location thats obvous, right, if its not possible whats the other way plz help i've been digging into this since days
Hi, we are just setting up our account. Everything is pretty much set but on our dashboard, I see that it requires us to accept a license agreement and it should be done through an API call. I tried calling the UPDATE method using the stripe dashboard provided on: https://stripe.com/docs/connect/updating-accounts?shell=true&api=true&resource=accounts&action=update#tos-acceptance. There's only one path argument call {{ACCOUNT_ID}} and i supplied the account_id but i get an error that "Only live keys can access this method." I also tried passing my sk_ live key but i get an error: The provided key does not have access to sk__****" error
Hey 👋Is there a way to "connect" Stripe accounts from different countries without creating a new one and migrating everything? I trying to identify if there are easier solutions for when you have accounts in multiple countries but the customer base is the same.
Hello, this question concern stripe connect.
In this app, the customer can book a physical location for a set period of time. The booking can be done months in advance. We would like to get the fund from the customer immediately, then only send the funds to the landlord a week before the booking starts in order to handle refunds. I can setup delays for transferts, but this isn't ideal.
The only solution i found was to direct the customer's payment to my platform, then transfert the fund at a later date, but this breaks the marketplace flow and it doesn't let me use the application_fee.
Hello! We are using the stripe express checkout element. Is there a way to restrict the allowed shipping countries? Thanks in advance!
Hello! I'm using Payment Elements on Stripe.JS to allow our users to add payment methods for future use, without paying (see screenshot). I'd like to also force the user to add the name on card, how would I do that? I would also like to do some validation that the payment on card is the same as the name of the Stripe customer. Is that possible? Thanks!
Hello, I'm using Express Checkout Element and i need to activate paypal - google pay - apple pay as alternative wallet payment methods, all good with apple and google pay but paypal doesn't show, the session merchant_id and client_id are null, I have to mention that I'm in test mode and nothing triggers to connect the sandbox account
how to enable automatic currency conversion?
Hello!
I'm using the elements apearance api for custom forms
How can I remove this list of countries (in this example with Brazil) and add a field for my customer to enter an email address?
Good morning everyone please can you help figure out whats wrong with my website .... it scrolls well on android mobile but shows white before loading on ios . i have tested it on my friends iphone too it is thesame 😢