Hi, I'm currently testing transfers involving currency conversion. I'm transferring USD to an account that only supports RSD, and I'd like to find out the amount of RSD that the destination account received. The transfer object that I get back only contains the USD that I sent; the Stripe dashboard shows how much the user received (and so does the receipt for the transfer), but I can't find a way to retrieve this using the API. The Balance Transaction for the transfer also contains only the negative USD balance for the sender, not the destination.
#dev-help
1 messages · Page 61 of 1
Hey team! I would need a help on Stripe Checkout. Suppose I have implemented a checkout, the user clicks on whatever they want to buy, and lands at the page where they are prompted to fill up the payment details(for the sake of example, let's say CARD details) . What if the user idles in the page by not filling up the payment details? Is there any expiration time ?
hi, I have a question regarding the subscription and invoice creation
Hello, is there a way to associate an email to a test Connect account? When I try to edit via dashboard there's no input field for it. Thanks
stripe work to ukraine?
Hello, how do I go about styling the payment element to match up with something like the mui design? I've tried changing the appearance options but that didn't seem to work for me.
Hi, I want to charge stripe fees to my users, I should calculate it in my code or stripe have some method? If yes, how can I get the fees depending on country?
hi i have some query related to subscription and payment plans
Hii, I have a doubt in stripe payment testing
hello, can you have multiple payment intents for a user?
say for example a stripe customer creates a payment intent in our web app but doesn't hit submit, can that same user create a payment intent in our mobile app?
my use case is i have a concept of "credits" that i am taking into account when calculating the payment that i need to charge a customer with, and i don't want to incorporate the credit on both payment intents.
please reopen this thread i have some querfy
Hi, in a json returned by stripe.PaymentIntent, in the case of "Subscription creation" how can I get all the recurring information such as intervals and interval_count? Do I have to use the "invoice" information and make a second request to get it? if negative how can I do that? thx in advance
is it possible to get stripe account's balance and past payouts
Hey, I'm still having trouble with integrating Apple Pay in my RN Expo application. Encountering this error
Stripe Apple Pay Error {"code": "Failed", "declineCode": null, "localizedMessage": "The data couldn’t be read because it isn’t in the correct format.", "message": "The data couldn’t be read because it isn’t in the correct format.", "stripeErrorCode": null, "type": null}
Missing webhook: Need help understanding why this event didn't get delivered to our configured webhook - https://dashboard.stripe.com/events/evt_3No7UcHFnb1nD54K1BQSCbQb. The event happened on Sep 14 and the webhook was configured in on Jul 16.
Hi All, I'm using the stripe create payment method api. But been unable to attach payment methods. So I can actually make the payment methods but when attaching getting "your card was declined" error.
The card shouldn't really be declined though since all the information is entered correctly, and I have tried many different cards to no avail. And this happens sporadically, sometimes the cards all work and other times they all don't.
Anyone have any clue as to what's going on?
Sorry earlier I didn't expect the quick reply.
Sorry again. Super busy atm so not checking discord promptly.
Earlier the person helping couldn't find the request.
Giving a different one which also have failed.
Request ID :
req_bAfreL3kN2frK9
Hello....I am implenting logic previously discussed with someone on here. I want to apply a credit note to a subscription invoice, but I cannot apply the credit note when the invoice is in draft, why is this? I can't apply it based on the invoice.finalized event because it will be attempted payment by then as it's a subscription?
Hello I have a very strange problem:
I'm in the browser and I query the server to get a clientSecret, and it comes back as something like:
pi_3Nxr4fJt5f7keGMV1sNXH3Mq_secret_LEVi3oej5zW7QFiRsNIDJ9GtJ
But then when i confirm the payment with the following code
stripe.confirmCardPayment(clientSecret, { payment_method: { type: 'card', card: cardElement, }})
I get this error: No such payment_intent: 'pi_3Nxr4fJt5f7keGMV1sNXH3Mq'
It can't be a cache problem as the client secret I get from the server is always different. Any idea what this might be?
Hey, this may be far-fetched, but I got a question:
I want to be able to fetch the gross amount of $ I’ve earned in x time, like a day for example. I looked everywhere, but the search results mention dead APIs and APIs that just don’t work at all. Something like the picture attached would be highly ideal 🙏
Is there a way to do this? I don't mind if I have to make multiple requests, as long as it's possible. Many thanks :)
EDIT: if people are wondering, my code is simlar to this (using node.js library works):
// grab all payouts & crunch them up (thank you to the Stripe employee for helping me out with this)
const payouts = await stripe.balanceTransactions.list({
created: { gt: startRangeTimestamp, lt: endRangeTimestamp },
currency: `${currency}`,
type: "charge",
limit: 100,
});```
Hi Guys,
I am using woocommerce Stripe plugin, and I have a problem. A lot of customers have problem when they want to pay with card:
SCA ověření Stripe selhalo. Důvod: The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again. Stav objednávky se změnil z Čeká na platbu na Selhalo.
And
Stripe SCA authentication failed. Reason: Your card was declined. This transaction requires authentication. Stanje naročila spremenjeno iz Plačilo v teku v Neuspešno.
Hi team recently i integrate apple pay and google pay in my application and we have different environment of our application like dev , qa, preprod etc.
The google pay is visible in all the environment but apple pay is visible in only one environment. Could you please let us know what could be the possible reason for this?
hello, I'm using stripe custom payment element. How do I add name, email, etc.. fields? I have tried using it like this :
const paymentElement = elements.create('payment', {
defaultValues: {
billingDetails: {
name: 'testuser',
email: 'test@gmail.com',
},
},
fields: {
billingDetails: {
name: 'auto',
email: 'auto',
},
},
});
Good morning team. I'm trying to automate charge refunds with the python api and I'm having an issue with identifying when a charge has not been successful and thus cannot be refunded. Is there a search method or a field in the charge object I can be looking at in order to see that it was not successful and cannot be refunded?
payout api
Hi! Good morning! I am a buyer using sellingapp and the amount has been taken from my account since yesterday but still not showing to the seller’s account and the seller is just waiting for it so he could ship the product already .. is there anything we can do in order for the seller to get it already
Hello,
Is it possible to trigger an event with the Stripe CLI like invoice.payment_succeeded for a given customer without launching the customer creation fixture?
I tried this but it didn't work : stripe trigger invoice.payment_succeeded --add customer:id={id} --skip customer
This, hopefully, is something I quickly overlooked, but I am trying to find documentation on the webhook payloads. If anyone can point me in the right direction
When generating a Checkout session, is there a way to makje it so the card is pre-populated, or at least making it so the user can just click "charge" instead of having to re-type their card again?
Hi all, I have iDeal and Card subscriptions working with stripe elements on a one pager, where we are unmounting/mounting the iDeal element or card element depending on a custom select payment method input. Now I am trying to integrate Apple Pay & Google Wallet in this subscription payment form also, and looking for a way to mount those in a similar fashion, but I can only see the payment request button and as the stripe docs are quite considerable maybe I am missing something. Perhaps someone can help me in identifying how to correctly implement this?
Hi, I have jsut started getting an error with connecting to the terminal readers. This issue was not happening this morning and has started happening suddenly.
the error I am getting is
(index):1 onFetchConnectionToken failure. Please make sure your function creates a new connection token via your backend.
This is happening when its attempting to connect to the reader. I am able to discover the readers attached to the stripe account however.
Hi all , Long story short - I accdiently had a client pay me via an old bank deposit address from one of my previous stripe invoices. What is the best way to get in contact with someone regarding tracing these funds?
Hey! I am trying to capture result of payment session with webhooks payment.session.succeeded and charge.succeeded, what is the proper way to identify entity of the payment if I set client_reference_id in request to create checkout session?
hi, is there any solution to update the price object of stripe product (plan)?
Hey. We are creating a refund charge via Stripe dashboard for customers. When we refund first time for the payment, let's say only $200 from $500 initial charge, we are getting event "charge.refunded" in the webhook with amount_refunded=20000. But when we refund one more time the same payment for $100, we get the same event but with the amount_refunded=30000. How do we get the amount for only specific refund? I tried listening to refund.created event, but it never fired
Hi,
Can I charge a customer that already has his card details added on stripe using checkout.sessions.created
is there a way to make a custom description for payments that show up in the reports?
i.e. so i can track which payments are made through a shop as opposed to website one-offs
Hello i have ask about server-driven integration, i buy two terminals to local store, now i make a little javascript to generate payment on my terminal but i receive error from api "message: 'The server-driven integration is currently only available in certain countries. For more information, see https://stripe.com/docs/terminal/choosing-reader-and-integration#availability.',"
Hello! I'm looking to get the exchange rate for a transfer from my account to a Connect account based in another country. It seems like balance_transactions would have this information; however, all the balance transactions that I can pull have a null value for the exchange rate property. Am I using the right resource to get this information?
Hi, I have a question... Is there an endpoint that can indicate which currencies are without decimal?
Or is the only way to take them from the documentation?
Thanks for the help!
Hello! I have a question regarding setting up future payments with checkout sessions. I've gone through this doc: https://stripe.com/docs/payments/save-and-reuse. Was curious if using checkout in setup mode will always require forwarding to a stripe hosted page for inputting payment details? Ideally I'd like to have card elements for payment details directly on our site, and have a one click button for users to save cc details. I do see that's possible manually using setupIntent in the "custom payment flow", just wondering if there's an easy way to do it with checkout session as well. Thanks!
Hi. We're trying to figure out a way to route webhooks to the correct "preview" environments. Preview environments are essentially servers that get spun up dynamically from feature branches. We could have dozens of these at any given time, and currently they all share the same Stripe account. The issue is that ALL webhooks get routed to the same "dev" endpoint (dev is a long-living environment unlike preview environments which are short-lived), so events that should be delivered to one of the preview servers end up getting lost.
In a nutshell, what we want is, if subscription was created from preview environment A, then the webhooks to get routed to preview environment A. And since preview environments are created dynamically, I don't think we can really create different Stripe accounts for each one.
i have a
Unexpeted error ocurred! is strange because last day function prefectly! any body can help me?
Hi team , we are using confirmPayment function to make a payment through apple pay , google pay and card but in apple pay we are getting an error. Can you please help me to fix this error asap
I have a quick question about how/when we are allowed to use off_session payment intents.
We have a payment flow using the hosted Stripe checkout page (using stripe.checkout.sessions.create(...)), and as part of that flow, we collect a payment method for future off_session usage (to be used through an autopay system we have in our application). Now, we want to allow users to pay manually using that saved payment method, through a page in our application.
Is it OK for us to create a payment intent with off_session=true for the customer with their saved payment method when they click a 1-click pay button, even though they will technically be present? Or do we need to set off_session=false if they are present? We are basically allowing the customer to request that their payment method be charged early, rather than when we run our billing process.
Hi devs! I set settings.payouts.debit_negative_balances to true for a connected account with an external SEPA account. When I retrieve the account through the API it shows that the value is set to true. In the connected account view however it does not show that it debits negative balances as it does in the US accounts with external ACH accounts. Is debiting negative balances active or not?
I'm getting a TypeError: Cannot read property 'calculations' of undefined on my production server, but on my staging backend it works properly.
I'm calling stripe.tax.calculations.create
I've also checked to see if stripe is initialized itself by hardcoding values and trying another endpoint (stripe.paymentIntents.retrieve)
hi is there a really easy way to have the setupintent become the default payment on a subscription instead of just attaching as a secondary that is not used? When adding a payment method to an existing subscription
Hello, Can you create a subscription but not charge the user with the current invoice (which will set as paid) but bill them on the next cycle of the renewal?
Hey Team! We're experiencing this minor issue in the dashboard.
We added a manual bank account to our account since it's not in the search system. After returning to pay an invoice we have to re-add the manual bank account.
How do we make it use that one by default and skip this?
Thanks for the help!
when using stripe checkout session, is there a way to show adding text/custom text per lineitem?
When I create a payment link with the API, is it possible to fetch the buy button id for this payment link with the api so I can display the buy buttons completely without the stripe dashboard and manual work.
Hello, could you help me? I need to know if there is a list of events for coupons that I can enable in a webhook, I am reading this doc https://stripe.com/docs/api/webhook_endpoints/object#webhook_endpoint_object-enabled_events.
Hi can you help me? We have the platform in place operational for almost few years. Is there a way when we create a customer and attach a payment method to the user, we can verify the card owner's Email and stripe customer we created?
I'm building with the PaymentElement and I'm customizing the primary color of the element. The primary color however also changes the color of the Link text which I don't want. I'm not seeing any documentation for changing the color for the Link text and the element has no public classes. How can I change this color?
Hello can we go back to this thread? 😄
Hey all, I'm a dev on a stripe account admin-ed by my team, and I think we've done everything to get started using Stripe Connect but when I access the API it's saying
You can only create new accounts if you've signed up for Connect, which you can learn how to do at https://stripe.com/docs/connect
Edit: oh funny it's not letting me create a thread?
Anyway:
- Click on Get Started. I'm fairly sure we did this because Get Started isn't shown in the dashboard.
- Activate your Account. Our team admin did this.
- Fill out your platform profile. As far as I can tell this is done.
Hello. Can I access product and plan metadata when using Stripe Sigma?
If I have a subscription with a discount with scheduled phases, and I don't set the "discount" on a future schedule phase, will 1) the current discount remain, or 2) the discount be removed?
Hello, I please need help regarding having very little info from the transfer object inside the balance transaction API call. How can we get more metadata, specifically a name and billing details from the platform, so that we can add this to a tax invoice for accounting purposes?
for Hello, For my automated tests, I want to trigger the Stripe CLI events (example- 'stripe trigger checkout.session.completed').
Can we trigger these events using any Stripe API also?
Please let me know if there is any other way to do it without installing the Stripe CLI.
Hello folks, i'm trying to understand how can i possibly support this scenario with Stripe Connect. Considering that we are the platform and we have several connected accounts (Standard), we would want to let customers be able to purchase from more than one connected account without the need to reinsert the payment method all the time. I can explain more in detail in the thread.
Hi, Stripe have some method for retrieve continent from country code? From card retrieveSource
I need a help
Hey there! Is there a sigma table that can be queried to find information about checkout sessions?
I am attempting to process webhook data, system built on laravel, webhook url added to verifycsrftoken ignore the webhook url, however I continue to get 419 errors. And wondering if 1) I am doing something wrong in my routing in the system or 2) I can add a csrf to the api payload
Event list size: How do I get more events than 10 when I query like so: event_list = Stripe::Event.list(type: 'charge.succeeded')
Dissappearing 'Elements' in production using ''@stripe/react-stripe-js'. The following 3 elements are core to teh checkout process. With the latest push to production, all 3 elements dissappear completely in production for some reason. <LinkAuthenticationElement /> <AddressElement /> & <PaymentElement />.
Any idea what might cause this behavior? I assume its a .env / production config i'm missing or an API call.
Hello, everyone!
Does any one know if there's a way to make the PaymentMethod Sheet change the default_source value in the customer object?
It's not changing in the customer object , but changing in the PaymentMethod sheet UI though
Thanks!
Hi, it succeeds up to the creation of the customer, but the paymentIntent is not created. Can you advise?
This isn't precisely a dev issue, but a prelude to it; has anyone come across this?
Hi, I am trying to stop duplicate transactions from the Android SDK, I read in the the documentation that we can use idempotent key to achieve that, however, I am unable to figure to set that in the request via Android SDK. Can you help figure out a way to stop duplicate transactions?
Hello, we are finalizing our integration and I have a question I was hoping to get some help with
I am trying to trigger a test webhook with a subscription mode instead of a payment:
stripe trigger checkout.session.completed --add price:id=price_1KfLDrAmkPjkxT8NRKrBJ06g
getting: "message": "Received unknown parameter: id",
Whats the correct parameter to change the product into a subscription product/price
Hi, i have a problem with adding a new setupIntent.
I want add another setupIntentMethod for my Customer.
If i want to control the parameter of new setupIntent, how can i do?
For Example:
I have two same credit card
Hey. I have a question please correct me if I am wrong.
If I sold a product for $30 and a customer opens a dispute and I counter the dispute and I lost, then I also have to pay for the Dispute fee which is $20 and Stripe fee $1.70? So If I counter a dispute and lost then I have to pay $50 back, but if I don't counter and accept the dispute then just $30?
Hello. I attempting to add a metadata parameter to my checkout session object. I am having trouble with the formatting. The structure of my data looks like so:
{
'0': { id: '12345679', quantity: 1 },
'1': { id: '12345678', quantity: 2 }
}
I am getting this error:
Invalid value type: {:quantity=>"1", :id=>"12345679"} must be a string.
I am including metadata in my session like so:
const session = await stripe.checkout.sessions.create({
mode: 'payment',
payment_method_types: ['card'],
billing_address_collection: 'auto',
shipping_address_collection: {
allowed_countries: ['US', 'CA']
},
success_url: `${req.headers.origin}/success.html`,
cancel_url: req.headers.origin,
line_items,
metadata
})
Previously I had an array of objects but I transformed into key/value pairs using Object.assign. I tried applying JSON.stringify to the whole thing but then it just says "Invalid object". I need to maintain something similar to this structure so I can use the data in my endpoint. How would I transform this so I don't get any error messages?
Yes, I have tried to query several of the metadata related tables but nothing is returned.
Hello Stripe!
We are following these instructions - https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=subscription&client=react#enable-payment-methods - in order to avoid creating a subscription until as close to the payment event as possible - we create a Payment Intent to render the payment form on our Subscription page, and when the user clicks to Pay, we create our subscription, get the client secret back, and use the client secret to process the payment.
The issue we have with this approach is that the Payment Intent we use to render the Stripe Elements payment form shows up in the Stripe console as an Incomplete Payment. We never intended to complete this payment, we just used the payment intent to render the form before we created the subscription.
Is there a way to render the Stripe Elements payment form before the Subscription is created that avoids this Incomplete Payment showing up in Stripe?
I see there's a amount.tip on a PI. Is that informational only? is it something possible to set via paymentSheet?
Hello. Is is possible to move a payment method from one customer to another? For example, I have a customer associated with two Stripe customer IDs. Customer ID A is associated with a subscription while the customer ID B is associated with a payment method. Can I move the payment method from customer B to customer A?
Hi friends, I have a question about where to look to solve this problem ...
I am using the payment sheet in my React Native app and when I click on the Google Pay button, I am getting this message.
To be able to proceed with the test payment on Google Pay, do I need to add any configuration on the server or client side?
On the client side, I have the following call to the Google Pay button:
const { error } = await initPaymentSheet({
merchantDisplayName: "Blist, Inc.",
googlePay: {
merchantCountryCode: 'US',
currencyCode: 'usd',
},
...
Thank you in advance for your help.
I am currently using Stripe Checkout to allow customers to make payments. There is a difference between how repeat payments using Credit Card vs ACH is treated in Checkout, and I wanted to understand if this is a hard limitation, or something we have misconfigured.
When a customer who has previously paid with a credit card enters the checkout flow, their most recently used credit card will be pre-selected as the payment option, and the user can just click "pay." However, when a customer has previously paid via ACH and enters the checkout flow, the payment method is not pre-selected, and they must reconnect the bank account as a new payment method to pay. Is this the intended behavior, or are we configuring something incorrectly?
This behavior is resulting in our customers attaching multiple copies of the same bank account as new payment methods each time they pay.
Hello! Now that we've migrated to using Stripe::PaymentIntent.create instead Stripe::Charge.create our end users, via connect, are getting paid successfully however the payment is missing data (:description, receipt_email). That data does captured in the paymentIntent creation though.
I did find this article https://support.stripe.com/questions/how-can-you-carry-over-the-description-or-metadata-to-the-payment-on-the-connected-account-for-a-destination-charge however i can't seem to find the transfer associated with the charge
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.
How do we make apple pay show up on connect acccounts? For web shop. One client on our platform, their site shows it, anohter does not.
Hi, i'm working on a new project using stripe. I need some help with upgrade and downgrade scenarios. When a user upgrade i want the subscription to change right away and prorate the changes
User buys Basic and pays 10$. Then they decide to upgrade right away to Pro. This would mean an immediate proration and the user would need to pay an additional 10$.
Downgrade scenario:
User buys Pro and pays 20$. They they decide to downgrade to Basic right away. I want to wait until the current_period_end to start his new subscription.
My strategy is :
If current price < new price -> Upgrade. The default parameters are working great.
If current price > new price -> Downgrade. The default parameters are NOT working great in my case.
So i need to create a SubscriptionSchedule based on the current subscription:
$schedule = SubscriptionSchedule::create(['from_subscription' => $stripeSubscription->id]);
and update the schedule with the new item with proration_behavior=none on all the items.
But it's not working.
I've try to update the subscription just before the creation of the schedule :
Subscription::update($stripeSubscription->id, ['proration_behavior' => 'create_prorations']);
but the toggle stays "on" on the UI for the proration .
I don't understand what i'm doing wrong.
Thank you
Can I chat with someone regarding stripe platform?
Facing issues with implementing Apple Pay on React Native Expo. Previous thread for reference - https://discord.com/channels/841573134531821608/1159474302631034970
followed the steps, built the application and deployed on TestFlight, but this is the error I receive when trying to process a payment
Failed: There was an unexpected error - please try again in a few seconds
Hi - I’m new to Stripe and looking to configure the customer portal.
I offer a few subscription products which are separate from each other.
- Membership plan
- Add ons
When a customer is updating their plan in the customer portal, I want them to only be able to switch to a product of that kind. Meaning, if they are editing a membership plan, they can only switch it to a different membership plan. If they are editing an add on, they can only switch it to another add on.
Right now, it looks like I can only create one list of products. Meaning, both membership plans and add ons are in the same list. This would let someone change their membership plan to an add on, which I do not want them to do.
I’ve added a few screenshots to illustrate this.
Hey, where can I create a stripe Admin Token?
👋 If there documentation on how to refund and re-issue an invoice for a subscription. For example, the customer wants a new invoice with a different tax rate even though they have already paid for the invoice previously
Hello! I have stripe connected to an event booking plugin on Wordpress. And I have Affirm connected to my Stripe account. But I can’t get Affirm to show up on the payment page. Can you help?
Hi - hope everyone is doing well, we are a stripe custom connect merchant.
We have an app and have added direct debit BACS like the example picture provided. It asks for billing address and also full name which we have already collected from merchant before in our kyc and also stripes kyc. however merchant must fill it out again. It’s not very intuitive or friendly. I have also attached another image from another app who is also using stripe connect and they have a BACS direct debit page built into the app which only asks for account number and sort code which is exactly what we want.
Any ideas how we can do this ?
hi dear haw are you please i need your support im gitting this message
Trade license / Freelancer permit
The type of document uploaded is not accepted. Please upload a valid trade license or freelancer permit issued in the UAE
The documents we applied for is the only documents we have, my company in UAE is an off-shore company and it is linked to my company in Saudi "same owner same name" which I am paying tax with.
I am attaching all trading Licenses in Saudi and Dubai, most of my business is related to online purchase where I need your support to approve my online payment gateway to make easy for my clients.
Please respond in the thread I created for you
thanks
I'm hosting the stripe setuppayment elements form in a razor .cshtml c# page with Blazor. It doesn't redirect on success to the redirect url I give it in the js. I check on stripe.com test mode and it goes through
hi
Hey guys, I was wondering if anyone could help me. We have built a website builder for restaurants with online ordering, and we use stripe connect to take the payments and pay out to the restaurants account. However we did the mistake of using Stripe Express accounts, which means the restaurants customer see our statement description on their statements which confuses them and gets us a disputes. Is there a way to add a custom statement descriptor for our clients using Stripe Connect Express Accounts so this doesn't happen or is that available only on Standard and Custom accounts? Thank you
Hey guys, I am building out a platform for a client in Canada. The platform serves as a way for hairstylists (or vendors) to connect with potential customers to setup appointments. We use Stripe (more specifically, express accounts) to faciliate the payments between parties. We want to implement the idea of 'gift cards', where a client can receive a code that allows them to be discounted for the booking but the vendor will still receive full amount. This could be easily done through the use of 'Top ups' and Balance Transfers but since we are in Canada, the top up feature is unavailable to us. Is there any other way that we can programatically add funds to stripe balance in order to achieve our desired feature
Hi. I'm updating a Subscription via the API and charging the customers stored payment method immediately. This results in an invoice.payment_succeeded event in the webhooks which I will use to do the backend changes for the subscription. I need to have some metadata present in the invoice.payment_succeeded event object which I can use to identify which product it belongs to but I can't figure out where to enter this metadata for the invoice when updating the subscription?
My reply was blocked for some reason so I’ll try again.
#help
Hello! I have stripe connected to an event booking plugin on Wordpress. And I have Affirm connected to my Stripe account. But I can’t get Affirm to show up on the payment page. The booking/payment plugin is called WPAmelia. Can you help?
Do we not need the name on the card to collect a credit card for future payment with Payment Element?
hi good morning, what are the alternatives for displaying reciepts url to the iframe? i got an error that it cannot be displayed in the iframe,https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xTVVPcmpEM2JEOXZtVmxvKMPs7qgG[…]6LBYYAdGhTSE1gEc3aS_mJcxIrq1DVZJjxBw9JJEKwQdCvo-X3NK-lFcsCugb
This channel is closed, but we'll be back at 8:00 AM UTC. We look forward to helping you when we return, but if you need assistance sooner please contact Stripe support: https://support.stripe.com/contact/email
We're back! The channel is now open and we're ready to help you with your technical and integration questions!
Hi
How to view saved cards?
hi i have a question about connect express
I Need Help- How can i enable this
Can you provide a guide for integrating Angular v12 on the front-end and netcoreapp2.2 web api on the backend
@rotund marlin please ask your question in the thread I opened for you
hi, how to use 3ds with react web elements like CardElement ?
Hii i have a doubt in Webhook events
why is stripe blocking my customers payments. They've spoken to the banks and cleared it with them, but my stripe account is blocking the payments
?
We have customers on our account that have subscriptions, we also have connected accounts who in turn have subscriptions. If we upgrade ur account to scale to enable a stripe hosted link for subscription reminders wll this also work for the subscriptions on the connected accounts? Or will the connected accounts need to be upgraded to scale too to enable this?
Hi
looking for help in france
hi
i keep on getting spam
and stripe authorize fraudulent paiement
like you initiate fake paiment
@lunar pawn please ask your question in the thread I opened for you.
can you cancell the fraudulent paiement
@lunar pawn Let's chat here: https://discord.com/channels/841573134531821608/1159775276104949780
and not try to withdraw my personal bank account
hello team,
i have a probleme with billing.
All my process, code, sending invoice, etc.. is working . Process classic :
-
https://stripe.com/docs/invoicing/integration?method=elements&element=payment
-
finalizeInvoice and extend payment_intent to retrieve id
3 send to client who manage payment with payment_intent_id
4 customer paid and invoice is sended
If you want a payment_intent, the doc explain that u need finalizeInvoice. So : an invoice is created in dashboard with status open AND an invoice number is incremented.
So, each time that user leave process after step 2 ( finalize invoice but don't paid ).. dashboard have a line invoice to status open who will never be able to get paid.
for the accounting department, it's a big problem.
So, how i can do a payment process without finalize invoice before true payment ( side client ) ??
Hello team,
i have cancelled my withdrawals for no reason i dont want to use it more, but stripe cancel my account with my money inside, and i dont have any response via email, can i get some help please
Hello, i have problem with request to server-domain integration, i make request to make payment on my terminal, this is my test request body const paymentIntent = await stripe.paymentIntents.create({ amount: 100, currency: 'eur', automatic_payment_methods: { enabled: true }, capture_method: 'automatic', }); and when i try pay via my physical card (mastercard) my payment be declined (in Spain) why?
Please stop posting this, @lunar pawn, you won't get help with your issue here.
Please reach out to support: https://support.stripe.com/?contact=true
No, we can't help with this @lunar pawn
This is your last warning, please stop posting @lunar pawn and reach out to support: https://support.stripe.com/?contact=true
hi,I don’t have an SSN, can I use an EIN?
Hi, I am trying to integrate Pix payment method and found out its invite only, Can someone pls help me get access?
Hello, we are new to stripe. Currently we are facing difficulties with implementing taxes. (We dont have StripeTax and are using the default TaxRates). We have Products with one default price (inclusvie Tax). We also have a taxrate (marked as inclusive) for this price. When we create a new checkout session, we add the tax to the corresponding lineItem postion. First question is this the normal way? Our main problem comes in some special cases. The taxrate is normally fix and not dependet on the buyers location, with the exception of one combination where we need to treat it as reverse charge. Is there a way to mark a lineItem postion as reverse charge and subract a tax from an tax-inclusive price.
Hi guys, we are trying to integrate google pay to our account. With google pay, it asks for contact info everytime which is annoying eventhough we pass the details in the payment elements already. Is there a way to disable this please ?
Hi, I'm NodeJs dev trying to integrate Payment Request button in a website. Button shows Apple/Google Pay button according to user's location but issue is I'm from a country where Apple/Google Pay isn't supported. So for the testing, I have to be on call with the client and ask him to provide me logs for errors (if any). This is poor dev experience. Stripe should enable these options in "Test Mode", so that devlopers can integrate Stripe regardless of Apple/Google Pay support in their country.
Thanks
hello,
In react application,
I have utilised the stripeElement. and can show validation message only to cardnumber, if card number is properly provided then it shows expiry date . Can we show all the error message at once?
I am a beta tester of embedded checkout feature. Is there a way to set the popup scrollable? on iframe it is automatically set to scrolling="no"
Hello
We have vendors on our marketplace, with Stripe Express account linked to our main account
One of our client cannot change his IBAN to receive his money (his previous iban was revolut - lituania), and it seems he cannot add a French iban
I digged but find nothing to do on our side
Can you help?
Umm, can someone pls help? I don't know how the thread got closed / anything
hello, Im having problems with existing coupon codes. I had 1 product (one time payment) and one price. All the coupons worked perfectly. I had to add another price and nos all the coupons seem to be broken, even the new ones. Any hint of what might be happening? Thanks!
Hello, while testing I purchase a subscription with a card attached to a test customer with a test clock on, after subscription is created I attach another payment method that initially is accepted but declines when payment is needed, after that I update the subscription default payment method with the card that should decline on payment however after advancing the clock by around 50 days it’s still active even though there’s an unpaid invoice
Hello, what is the best way to save stripe transaction id in my database, save a payment intent id, or charge id?
Hello everyone.
I'm writing an app for restaurants and using the stripe api.
I need to implement the following task:
1)Accept payment and give the opportunity to save the card
- Pay with a saved card.
This is important to me: In the 1st and 2nd cases, transmit information about taxes (tax rate) and the name of the goods.
What methods should I use?
What parameters do I need?
What is the best way to build such a flow?
Can you help with this?
Hey Guys - How do I associate charges with connected account payouts (via the API), im trying to build a dashboard for our users to see how much they are getting payed out and what charges relate to it
Can I make stripe not sending invoice created events if the total of the invoice is 0? It is a trial invoice
I have trying to do test transaction uk with Checkout\Session method but it show me 500 error when i try from india it working
i have implemented payment element
but not getting option for google pay in card payment event if i have actual card added in to my google acount
Hello, how to create many products or items in invoice api
Hi team
i used Stripe connect in my e-commerce store
when my store vendors try to connect stripe but is showing some error
Hi,
I want to use checkout.session.created to make a payment. I’m trying to pass the customer id so it will bill and no need to take user to another page, it’s a recurring billing I want to achieve
Hello Guys
How can I fetch paymentintent transactions with parameter "on_behalf_of" not null
Hey, having a few issues, we're attempting to setup express checkout, it works okay in chrome but on firefox we get 'blocked because we are blocking all third-party storage access requests and content blocking is enabled.' with the JS
Please can you reopen this thread.
Hi, Im having an issue on setting up subscriptions in my test stripe account.
hello seniors
I am trying to integrate stripe recurring payment using React Native but I am facing some difficulties.
Hi team
Hi there i have a weird behavior, I create a payment_intent for GPay & apple Pay, when I see the price in GPay, the amount is fone, but when I arrive to the 3D secure recap screen, the amount is not the same
Hi everybody.
How can I transfer multiple items at once when creating an invoice Item?
To avoid making a lot of requests.
And the same question about creating products.
How to create an array of products in stripe at once?
Hi Team is there any way to know all events that will be triggered with a checkout flow for subscription like the list without seeing the event logs?
Hey there! Can you please tell me the best way to do that following using Stripe API/webhooks:
- Customer is on an active annual subscription in Stripe with an end date of August 1, 2024.
- Customer requests to be downgraded to a lower tier membership at the end of their current billing period.
Hello, I am trying to activate my Stripe account and continue to see an invalid integer error. I have tried this multiple times. How can I move past this?
I am having the exact same issue at the 'Business Representative' section of the Verify Your Business process
Hello, the card used for payment is not registered as the default payment method
payment_settings: { save_default_payment_method: 'on_subscription' },
I believe I can register with this code, is there any other process I need to do?
Hello Team, Regarding this #dev-help message
It is making the issue only if the mode is subscription. it works fine if we pass the mode as payment.
Here is the stripe option(Not working):
{
"mode": "subscription",
"amount": 19700,
"currency": "usd",
"setupFutureUsage": "off_session",
"captureMethod": "automatic"
}
Stripe option (Working):
{
"mode": "payment",
"amount": 19700,
"currency": "usd",
"setupFutureUsage": "off_session",
"captureMethod": "automatic"
}
Hey, just wanted to know if there are any guidelines for how we use Metadata?
As I found a way to store a lot more "structured" data within the [50 keys]=[500 characters] constrain.
My solution encodes JSON data into a Base64 string and then chunks it down into fitting key=value pairs.
I just need to know if this might get me in trouble later on, as it's kinda an exploit (I guess).
Example:
function chunkSubstr(str: string, size = 490) {
const numChunks = Math.ceil(str.length / size)
const chunks = new Array(numChunks)
for (let i = 0, o = 0; i < numChunks; ++i, o += size) {
chunks[i] = str.substring(o, o + size)
}
return chunks
}
// ...
const paymentIntent = await stripe.paymentIntents.create({
amount,
currency,
metadata: {
...flatten({
encodedData: chunkSubstr(btoa(JSON.stringify(minifiedItems))),
}),
/* results in:
'encodedData.0': 'YzMT..',
'encodedData.1': 'JjIj..'
...
*/
},
})
Can I upgrade to scale plan just for my testing environment, or I will have to pay for it? I have no production env set on that account yet
Using a billing session for the user to manage his subscription, I allow him to modify his sub (i.e upgrade), but what if we don't want to allow immediate downgrading of a sub tier? Is that possible to disable or do I have to implement the whole Upgrade logic manually
Team, Anyone there for help regarding Apple pay?
Hi team i am stripe confirm payment facing duplicate client secret key error
Anyone know how to pre-fill the email address and post code on the payment element?
Hi. I am setting up a subscription using CreateSubscriptionRequest and I am setting the meta data on this subscription. The Subscription is created and I can see the meta data on the subscription. But I can not see the meta data on the initial payment that is created. How can I add this to the payment please?
Also curious how to pass the order ID, haven't seen that in the documentation
Do I also need to add the meta data onto the Price object?
hello, still facing issues with Stripe Apple Pay. The error I'm seeing right now in production is the same as as the error I received developing locally (in the Simulator)
The data couldn't be read because it isn't in the correct format
Hello, does someone know why the registration process of a new company does not work currently?
It says an invalid number was chosen, but this is not true. Phone number, birthday, etc., all is correct. How can I proceed? I have tried it several times but cannot complete the registration. Thanks!
pitcherojbh
Hi, I'm wondering what is the best way to apply a discount to or free months of subscription to customers that are already subscribed?
Possible flow: Current subscriber claims a coupon for 3 months free of subscription using our UI -> Retrieve the subscription given the customer_id -> Update the subscription with the coupon
Code example
coupon: code,
});```
Am I on the right track here?
Also, would I need to do something additionally to make sure that the next three months are free for that subscriber or does Stripe handle that?
Hello
My website shows invalid integer when I try to login can anyone help me with this ?
My website cannot function without a proper gateway
Hello folks. I'm updating subscriptions, have noticed unexpected behavior and wanted to check with you wether it's normal or a bug.
**Situation: ** I'm updating subscriptions as we'll have a price increase shortly. I'm pushing the new price object to my subs (proration: none). On the monthly subs, all works fine; it registers the new price but doesn't issue any immediate invoice. Instead, when I try the same thing on annual subs, it issues an immediate invoice for the full (new) amount - which isn't what I want. Is this expected? Thank you very much!
Hi,
My application was built using the checkout.session.create to create a subscription which took the user to a page to pay, but now we want to stop taking the user to a page and just perform the payment with the card we take from the user. How can I achieve this
Note the application was built using the checkout sessions and I don’t think checkout would work if I try passing the customer Id only
Can Stripe also act as a MOR (Merchant of Record) provider and handle taxes to different consumers and businesses across the world?
Regarding Stripe Connect, can the platform account use payment methods saved in the platform account to create a direct charge on behalf of a standard stripe account?
Hello, guys. Why listing setup intents (stripe.setupIntents.list) of a given customer and payment_method (of type us_bank_account) is responding with the setup intents of another us_bank_account attached to that customer? The payment method Im looking setup intents for doesnt have any previous setup intent, so I thought I would get an empty list as response... but its not the case... whats going on here?
Question on prices.
I have a subscription price point that needs to start it's seats at 20, and then anything after that is x dollars per increased quantity. Is this possible to do?
Hello Guys, I would like to get info regards to subscriptions in Stripe. I want to implement feature where user can able to pause subscription for certain time period and once they resume the subscription back, the charges are automatically deducted from user account. Any idea how can we handle this?
Our company uses two stripe accounts. One for GB one for Ireland.
We purchased a card reader with our GB account but we are wanting to use it within the Ireland side of things to take in person payments in Euros as that is where the terminal shall be located.
I have registered the terminal with a location on our Ireland Acc but it is not finding the readers (This was working correctly when connecting to the GB account) Would I need to have the reader transferred to the Ireland account in its self/
Hi, How do we reuse a Person when creating a new connected account with a business type Individual.
The go sdk only allows to pass in *stripe.PersonParams which creates a new person every time
We have created an app where there are multiple users. We have implemented stripe for deposite payments. We have virtual wallet created for each users. When 1 user deposit funds from his/her card to another user, amount gets credited in other user wallet. Now we want a feature, where amount from wallet can be withdraw directly to customer bank account.
I am aware about the stripe connect feature where we can ask for customers to create their account first with stripe and link their bank details in order to withdraw funds.
I just wanted to know, is that connect account feature available for India as well ?
@grand zealot Please keep questions in the thread I already have open for you
Hello, currently I'm using paymentelement to render payment, allowing users to enter their credit card details. Is it possible to give them the option to use an existing or new credit card?
Hello everyone, i have a Ecommerce webflow that it's connected to Stripe (Netherlands) .how can i use Ideal on webflow ?
hi I need help. I'm on c# Blazor .NET 6. My payment form with elements submits fine to stripe.com but it refreshes the page on success rather than using the redirect_url parameter
Hey all, I see in the payment intent succeeded webhook there is a payment_method value, can this be translated into the card type? Visa/Mastercard/Goolge Pay etc
Hello 👋
I've got a question regarding connected accounts making charges. Specifically regarding the customer attribute, or what gets displayed in the UI as the customer
Had a few questions today and a few different people jumped in, i've never had such great help before, really appreciate it, up and running now, thanks again everyone, have a good weekend
Hi there, I am on API Version 2020-03-02 and noticed that when re-retrieving events, that the event.created timestamp gets set to when the event is retrieved. Wanted to confirm if this is expected behavior or a bug!
Hello, how do I get the paymentMethod.id created by confirmPayment?
Hello
I want change on stripe checkout page.
How can i remove the line "Subscribe to Rental ID #10574 : Silver Membership and 4 more"
Hey I'm diagnosing an issue with our integration. We are attemping to use "on_behalf_of" to facilitate a connected account as the business of record. However we've also been sending transfer_data with the destination. Is this going to cause conflicts and make it so the "on_behalf_of" parameter is ignored?
Hi,
From reading previous threads, I've gathered that it's not possible to fully delete a canceled subscription from a Stripe account. Is it possible to exclude the cancellation of a subscription from the churn metrics?
We generated duplicate subscriptions, and though we have cancelled one of the subscriptions, it's now affecting all the statistics
Hi,
Stripe docs best practice around payment intent integration is to create one payment intent and reuse if the customer does multiple submits to track down failed payments. How about subscriptions ? What are the best practice when the checkout is supposed to create a subscription ? I looked in the doc "How subscriptions work" but they mainly mention payment failure for subsequent payments that are automatically triggered by Stripe, and not the first payment on the checkout flow.
Thanks
Hey guys, my question is not related to development, it'd be awesome if you guys can help me... so...I have two questions about connected accounts.
1st - When a payment is made by using a connected account. From which balance will the stripe processing fee debited? Main or Connected account?
2nd - When payouts are made/sent on connected account, Stripe has a processing fee of 0.25% + $0.25... From which balance will the stripe processing fee debited? Main or Connected account?
Hi everyone,
I'm adding this payment element to my React Native app: https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet#react-native-collect-payment-details
We used to use a Stripe element that used the CardField, and we were able to collect card data using onCardChange. Is it possible to do something similar using initPaymentSheet and presentPaymentSheet?
Thanks!
Hey Guys, is there any way how to invoke Stripes checkout page ? I'm seeing that it's being deprecated. But I want to use Stripe checkout screen I don't want to do custom checkout screen.
Node JS/Angular
Anyone ?
Hi all,
I am having an issue updating the icon of a Standard Stripe Connect Account through the API (related docs: https://stripe.com/docs/api/accounts/update#update_account-settings). When attempting to update an icon, I receive a 500 error - "An unknown error occurred".
One failed request (API version 2023-08-16):
Request ID: req_07spDdiGFRGvY3
Account ID: acct_1NqMhhCK7R8Ltl5S
This request used to work on a previous version (2022-11-15):
Request ID: req_x74ZfDdNP68Nse
Account ID: acct_1NqLd0FqJZr5LEB1
Could someone help me learn more and resolve this issue?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
How to add a description to a product when charging through Stripe Checkout? When I list all recent charges, the charges generated by Checkout have no description
Hello, how to change the webhook signing secret key ?
i had to leave my conversation early but I've got some time now if anyone could help me understand somethings. Primarily why the destination payment isn't bringing the payment_details along with it
Hello, after confirm the payment/intent, FE bring user to specific return_url page. In that page, can client(Front-end) obtain the payment method(to know if it is using card/apple pay/google pay) that user just use?
I understand Plaid works with stripe. But does plaid work with Connect Accounts?
My users uses oauth to add their stripe account as a connect account on our platform.
And i want to add Plaid payment capabilties for them.
Hi there. Can somebody please explain me if EventType PaymentIntentPartiallyFunded can be classified as successful PaymentIntentSucceeded but less received amount as expected?
We use the Stripe email and address elements and some users have reported that the address autofill from Chrome (latest 117) doesn't always work 100%... some fields won't fill in. I haven't been able to reproduce it, but it is a concern to the stakeholder that reported it. Is this a known issue?
Might not be the right spot, but why does for my product when a user enters incorrect billing information stripe still grants them access to my product and just says they have an invoice for the dollar amount...I would like it to just fail and then they can retry with correct billing information
Hey I've been using Stripe elements on a custom checkout page for a couple of years and just noticed that today that the card field isn't loading correctly and if it does it breaks when livewire rerenders the page. this is using the stripe-php package in a laravel project and it's worked flawlessly for the 2 years until now. No libraries have been updated and no code changes to affect this functionality.. I'm struggling to see what the error might be but the page is timing out on loading (i believe due to stripe) the server health check all comes back good and I cant see anything in the console showing js errors
How can I get the product from a webhook event with the mode as payment
Hey all! Wanted to ask a question about something I can do with Stripe:
I run Integral (https://integralapi.co), and our customers want roles / tiers to be correlated with either usage based billing (so monthly invoices) or a subscription through their Stripe account. Is there a way our users could authenticate us to configure things on their account for every role, or configuration we create on Stripe and automatically make charges or send invoices? Like an IAM role for specific configurations on AWS, but for Stripe!
OK - admitted non-developer here. I was running my app testing pre-launch with no issues in test mode. My OCD talked me into clearing out test data before a few final tests of the workflow. BIG MISTAKE! After I cleared the test data my app no longer connected to the hosted page to complete payment (in test mode or live mode)
What would have changed? I assume it's on the Stripe side as I made no changes to the App side. Just looking for a direction to go. My dev is off until Monday and I wanted to test over the weekend.
if I set "receipt_email" in paymentIntents.create, when will the receipt sent? when payment is successful?
Hi everyone,
I asked about this earlier and I realized that I really need to do this:
In my old payment element, I used the CardField to capture the entered data to generate the payment gateways. I am updating my payment element in my React Native app to the one we have in this link: https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet#react-native-collect-payment-details
Is it possible to access the user-entered data in this new element, just like I did in the CardField:
<CardField
postalCodeEnabled={false}
placeholder={{
number: '4242 4242 4242 4242',
}}
cardStyle={{
backgroundColor: colors.white,
textColor: colors.black,
}}
style={{
width: '100%',
height: 50,
marginVertical: 10,
}}
onCardChange={(cardDetails) => {
_onChangeStripeData(cardDetails);
}}
onFocus={(focusedField) => {
console.log('focusField', focusedField);
}}
onBlur={() => {
Keyboard.dismiss();
}}
/>
If it's possible, I can take advantage of all the server-side I already have. Thanks.
Is there a way to see what receipt email was sent to the customer?
We are thinking of integrating crypto payouts on our platform using Stripe. We are a Canadian business, would this still work?
We currently have an integration between Avalara and Salesforce for tax calculations. From Salesforce, we generate Stripe Checkout Sessions using a Bubble.io app based on the information from the Salesforce Opportunity, including the tax information. We originally did this because we didn't want to pay for Stripe Tax, since we're already paying for Avalara.
Today, we wan tto be able to make tax calculations on the fly, instead of having to previously enter the customer's address in Salesforce before generating the checkout session, which has room for human mistake. Avalara uses this service which seems to use rooftop validation instead of zip code (more specific): https://www.avalara.com/us/en/products/integrations/stripe-invoicing.html
Is that a better option than Stripe Tax?
I must be an idiot but the payment methods page changed and whenever I click a method I am just redirected to the docs. Where do I activate a payment method now? I am here: https://dashboard.stripe.com/settings/payments
Hey, is it possible to delete a price via the API? We are using the PHP SDK, but looking at the API docs I cannot see a delete method. I can see rthat we can delete procuts, but only if no prices are associated with it. So i assume the logic would be to first remove the prices, then the product. However I cannot see a way to remove the prices. Can anyone confirm if this is possible?
I'm facing an issue where, upon creating a PaymentIntent, important attributes like description and payment method are available. However, when the charge is initiated on the destination account, these attributes seem to be missing.
I've progressed in my code to a stage where I can retrieve the destination charge through the transfer. I can successfully update the charge's description using the available methods. However, I'm unable to update the billing_details, which now makes sense after i read more on updating charges.
I suspect that I need a way to associate the payment method details with the destination charge for it to function as expected.
Hello here, a customer of ours is claiming that the payment won'g go through because the card is in euros and the prices are showing in dollars, I'd like to ask if stripe doesn't automatically handle this or if there's some configurations we need to do to allow that?
How do i retrieve my customers' stripe account header when trying to create subscriptions or build payment invoices here? Is there some kind of react library / js plugin i would need to use on the frontend to get this done?
https://stripe.com/docs/connect/authentication#stripe-account-header
hi, we're finding that if a user configures their browser to prefer Spanish, they are seeing a "tarjeta" option in a Payment Element instead of "credit card", and Spanish-language field labels. Is there any way to override the autodetected language? I get that this is normally best practice, but in our use case we want to specify the language/locale if possible. We're using @stripe/react-stripe-js.
Is there a way to determine if a credit card will be declined before confirming the PaymentIntent? My process follows these steps:
1.- The client fills out the credit card information.
2.- The backend uses that pm_xxx to create a PaymentIntent.
3.-All the business logic is executed.
4.- The transaction is confirmed using the PaymentIntent.
However, the issue I'm facing is that when users enter their credit card information, they receive a generic error stating the credit card was declined. I'm not sure why this is happening, as I couldn't find any relevant error in the logs section of my Stripe account
Could you provide me with a test payment method examples that triggers a generic error when the code executes createPaymentMethod on the frontend?
Hi guys, I'm building an app on react native with expo, and I'm integrating Stripe to receive payments for users and also integrating Stripe Terminal for receiving fisical payments, there will be users who will have access as singular costumers and they will be able to pay through their credit card in the app, and also there will be users that have the management of the business that will use the same app to take orders and receive payments witha M2 reader, but I'm getting several errors in the moment I try to run the app whit the two packages installed at the same time, It could be a dependency error but I want to know if you have a workaround for this or a different package I can work with or maybe I'm missing something important
Hi Folks, I am trying to use starter examples, however I got the next error at the beginning ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (C:\Users\dmoralesramirez\Documents\vs\starter\venv\Lib\site-packages\werkzeug\urls.py), I appreciate if someone has some idea
Why do my threads keep getting closed so quickly
received e mail about web hook for michaeldanerart.com. can you help dix
Hello I purchased a program using stripe but I received a receipt for it.
Hello! I'm having a small issue with the Stripe PaymentElement in React, from the @stripe/react-stripe-js library. This component is wrapped by an Elements component, on which I provide a paymentMethodTypes props value of ["card"]. That is to say, I only want card payments to be made. In development, this works as expected. Only the card form is displayed, however in production, the PaymentElement also shows a "Google Pay" option, which I'd like to remove. Not sure how 🫤
I am trying to add a Google Pay button in test mode to my React Native app.
However, when I click the button, I receive the message in the photo...
I am making the call according to the documentation and I am receiving the clientSecret correctly. What could be causing this problem, my friends?
Hello, I want to get the PaymentMethod ID after confirmPayment is confirmed.
I have tried various ways, such as retrievePaymentIntent, but have not been successful.
How do I get a PaymentMethod ID?
Please respond in the thread I created for you. 🙂
is this the thread you created? Forgive me, this is my first time using this
Hi Team how can i know the product/plan from checkoutsession webhook event?
i do not see any such field here https://pkg.go.dev/github.com/stripe/stripe-go/v75@v75.2.0#CheckoutSession
problem with connecting with standard account
i have this in my rails code
Stripe::Account.create({
type: 'standard',
email: current_user.email,
business_type: 'individual'
})
but i get this error You cannot create Standard connected accounts with capabilities via API.
Hi, can I get information about the payment method type that customer is using to pay(ex: card, apple pay, google pay) via the stripe.retrievePaymentIntent call? If so, it will be under what property of the intent object? Thank you!
anyway to get support here?
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, I was wondering if there is any way to create failed test payments (Want to test error handling for failed express checking purchases) for express checkout such as apple and google express payments when using the testAPI key.
Hi, looking for guidance on allowed payment methods on the invoice. We explicitly set the allowed payment method types (ie. only card) on an invoice during creation. However, we see in our testing that other payment methods (namely, check) are still allowed to pay the invoice. Do we need to set the payment_method_options or payment_method_type on the PaymentIntent accompanying the invoice too?
Hi Team, I am trying to understand how we can call stripe web hooks from the client side after the payment is successful. I would like to save the transaction details in the database and do some post-payment event handling. Below is the stripe snippet from the official documentation in which there is a url mapping of "/webhook" with a POST request. My query is how is this API triggered? How can the client make a call to this "/webhook" URL param after the payment or the intention is to monitor the events only through the Stripe dashboard?
post("/webhook", (request, response) -> {
String payload = request.body();
String sigHeader = request.headers("Stripe-Signature");
Event event = null;
try {
event = Webhook.constructEvent(
payload, sigHeader, endpointSecret
);
} catch (SignatureVerificationException e) {
response.status(400);
return "";
}
// Deserialize the nested object inside the event
EventDataObjectDeserializer dataObjectDeserializer = event.getDataObjectDeserializer();
StripeObject stripeObject = null;
if (dataObjectDeserializer.getObject().isPresent()) {
stripeObject = dataObjectDeserializer.getObject().get();
} else {
// Deserialization failed, probably due to an API version mismatch.
}
// Handle the event
switch (event.getType()) {
case "payment_intent.succeeded": {
// Then define and call a function to handle the event payment_intent.succeeded
break;
}
// ... handle other event types
default:
System.out.println("Unhandled event type: " + event.getType());
}
response.status(200);
return "";
Hi I’m looking to change my phone number.
Hi, we've a subscription senerio in stripe usage based billing where let's suppose user can use 25 units in current subscription in plan A and if he update subscription to plan be availble units should be plan A remaining units + units of Plan B. Does stripe handle this or we've to implement on application level
HI. why can't i receive Two-step authentication code suddenly when loginng?
Hi
I need help to get the complete breakdown information on session.
I am using stripe java
List<String> expandList = new ArrayList<>();
expandList.add("total_details.breakdown");
Map<String, Object> params = new HashMap<>();
params.put("expand", expandList);
try {
Session session = Session.retrieve(session_id, params, null);
System.out.println(session.getTotalDetails().getBreakdown());
} catch (com.stripe.exception.StripeException e) {
e.printStackTrace();
}
This code returns:
<com.stripe.model.checkout.Session$TotalDetails$Breakdown@2024542466 id=> JSON: {
"discounts": [
{
"amount": 5000,
"discount": {
"amount": null,
"discount": null
}
}
],
"taxes": []
}
The discount is null for some reason
When I use the same call with curl I got the correct result
Hi, what’s the best contact for stripe support, my account was shut down and I want to appeal
Now that stripe is no longer in use and there is still $45 in the account, how do I withdraw it?
Is the correct event when a subscription expires: customer.subscription.deleted?
What is the right approach to handle post-payment events like updating the database or sending order emails? Is it through webhooks or by adding custom logic after the confirmCardPayment promise returns success?
Hey guys, Any advice on testing card holds etc., need to test our logic for when a hold expires.
Hey guys, I am currently integrating Stripe Connect Feature for my company, would like your opinion on a couple of things that I am facing issues with, if anyone has experience with integrating the same:
Some context, the stripe accounts that are eligible for connecting are accounts from countries excluding India (we are based out of India and introducing this feature for international clients). They can connect their Stripe account with our account and recieve payouts directly to their account
- If another Stripe account is connected to our account, they are not getting option to disconnect from their Stripe Dashboard, where can they find the same?
- If another account is connected to our Stripe account they can see all our transactions not just the ones concerning them? Is there a way to restrict them to only see those transactions which are specfic for them?
Any help would be appreciated guys!
I have one doubt in webhook events
Go ahead
mayank_sharma.
#dev-help
I run an online marketplace where users can buy things from various sellers. Let's say a user buys items worth $1500 in total. Initially, we used a system called "Stripe Transactions" to split this money among three different sellers, with each getting $500.
Now, our client wants a change. They want us to hold onto the money for 10 days before paying the sellers. Instead of creating a custom system to do this(like cron job), we want to Stripe to handle that so that the payments to sellers happen automatically after 10 days without us having to set up a separate system for that.
In simple terms, we get $1500 from the user, split it among three sellers ($500 each), but now the sellers will get their money after 10 days automatically, and we won't need to do anything manually. Stripe will take care of it.
Hi Team,
I am trying to integrate local currency integration, Is it possible through payment element with Price_Id from clientside?
I am trying to integrate RCP, we already integrated stripe checkout in our application
Hello! I'm using Stripe Checkout. I'm suffering a problem that the payment url created from Checkout Session can not show Alipay.
Here is a test url from checkout session in test mode: https://checkout.stripe.com/c/pay/cs_test_a1ELdQcU5ftGGY1PVxooFTYetw42n0l2JyCgyG8aoVdnRDOd4WEu3JRIa5#fidkdWxOYHwnPyd1blpxYHZxWjA0S19TaEFJM2dzVGpJbEFkUVdiV2RpNX1oVHFhaz1kcjdOM2RrbURmYFBLQDVcckhIZHN3bzNhMkN9XG90QzVpbU9oaFBnc3JdZ11HcWdBY3xNSm9HVH9QNTVkVzVBYlJhSycpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl
The parameter to create the session is as follows:
stripe checkout sessions create --mode=payment --client_reference_id=10 -d "line_items[0][quantity]"=1 -d "line_items[0][price]"=price_1NypT1L6bvQoLiDaViTywUe9 --success-url="https://xxx" --payment_method_configuration pmc_1NpNC8L6bvQoLiDa9lYGiVWU
Cannot see Alipay when opening the url.
Is there any API available on the Stripe management platform to obtain the monthly bill for a particular product of mine?
Hello All, I wanted to use stripe connect for my users located in India region by creating their accounts. Can anyone let me know how can this be done ?
Hello
Hi team, got one qns regarding the Search PaymentIntents API https://stripe.com/docs/api/payment_intents/search
When trying to make a payment I'm getting this payment_intent_unexpected_state Also, card details have not been entered
Hello guys, I'm using Stripe Checkouts in one of my product. I'm using this API - https://stripe.com/docs/api/checkout/sessions/create to create a checkout session, also I'm using this parameter "payment_intent_data.transfer_data.amount" as I need to do the connect transfer of 77% of the subtotal amount of transaction into my partner's account. This is working perfectly fine if customer doesn't use any stripe promo code at the time of checkout, but if customer applies any promo code which gives him more than 33% discount ... so the subtotal amount value becomes less than the connect transfer amount and payment fails with following error.
payment_intent_invalid_parameter
When creating or updating a PaymentIntent, you cannot provide a transfer_data[amount] that exceeds the PaymentIntent's amount. Try changing both transfer_data[amount] and amount.
So, is it possible if I can define the connect transfer amount in percentage rather than defining a fixed amount OR any other solution to this problem?
Hello, we're getting a strange issue when creating test charges using SCA test cards (4000 0000 0000 3063) as payment method. The SCA verification modal to complete the challenge does not come up and instead we get a "card declined error" saying the following:
The bank returned the decline code generic_decline, and did not provide any other information. We recommend that your customer contact their card issuer, Stripe Test (multi-country), for more information, or use another payment method.
can someone please help?
Hello Stripe Team,
How can we set the start_date in creating subscription schedule to be, the date once the active subscription expires?
Hello admin this card was working for twitter blue payment before and now it has been declining please help
When create checkout session, how can I pass the currency option info? For example, the price is an USD price with a HKD currency option, I want to create a checkout session so that the user can use HKD to buy the product
Hi all
We have developed a website with ReactJS
In this project, we have used the following libraries for payment
@stripe/stripe-js@^2.1.7
@stripe/react-stripe-js@^2.3.1
The implementation is based on the link below
Google payment works fine
Apple Pay only works in private browser mode 😕 👀
After checking, we have noticed that in Safari, the return values are **null ** in the paymentRequest.canMakePayment() method.
Is there anyone to reach who could help? after mistakes of bots Stripe wants to refund $42,000 that has been processed back to our customers, we are a legitimate US business
after catergorized us as "high risk" but we have 0.42% dispute rate.
Hi everyone.
I got one question regarding refund https://stripe.com/docs/refunds.
The specific question is whether Stripe provides any indication when a refund is complete, or if the only option is for the customer to manually check their bank account using the ARN reference number.
Hi everyone,i have a question.In a certain stripe account,we need to fetch all payments done to it by our customers.We are currenly using PaymentIntents but one problem we are facing is not being able to fetch completely all the payments.So basically some are missing yet displayed in that account.Any help of this will be aprreciated.Thanks.
Hi everyone.
I got one question :
I used the API to generate the checkout payment page. I want to display Google Pay, Apple Pay and Link Pay. My payment_method_types parameter is set to None. When I open the checkout payment page, only Link Pay is displayed. I would like to ask how to do this. Show google pay and apple pay
Hi everybody, can you tell me how Stripe carries out split payments? Meaning, when customer pays the amount should be splitted in three sections and paid to three different accounts.
Hello,
I'm currently in the process of integrating Stripe into my website project. However, I've encountered an issue while attempting to add signature verification using the construct event. Specifically, I keep receiving the error message, "No signatures found matching the expected signature for the payload." I have double-checked that I'm using the correct signing key, especially since I'm testing this locally. Additionally, I've set the content type to application/json in my Express route. I would greatly appreciate any guidance or solutions to resolve this issue. Thank you.
Hello team! We are retrienving all the data about plan from subscriptions using the method by public api stripe.Subscription.list() . The problem is, every subscription can have multiple products (like plan_id, plan_nickname, plan_product, plan_usage_type and quantity) but the response of the api call is only one row by subscription and with no data in each of there fields (plan_id, plan_nickname, plan_product, plan_usage_type and quantity). There is any method or solution to get all the plans that can affect one subscription? Do we have to get the data in a different way? Thanks channel! 
Alipay doesn't show as expected.
Hey! We're using the ruby stripe gem and as the save method is deprecated since a while back I was wondering if there's an function that tells if an resource has been modified locally but not persisted in Stripe? Can't seem to find it by looking at it's methods
Hey all, is there a way I can create a non-recurring subscription or a time-bound one-time payment? My use case is simply that the user pays one-time 10$ for using the app for 1 month. No recurring subscription but the access has to cut off after 1 month. How can I implement this?
Hi Team, i am trying to use rails pay gem with stripe connect
A user can create a blog and also have a connect account on the blog, they can also create product/prices but i am not sure why i keep getting this error
so a customer that subscribe to many blogs with stripe connect acount and i did this
current_user.set_payment_processor :stripe, stripe_account: Blog.find_by(name: request.subdomain).stripe_account_id
# current_user.merchant.find_by(processor_id: 'ss')
checkout_session = current_user.payment_processor.checkout(
# customer: customer.id,
mode: 'subscription',
locale: I18n.locale,
# customer: current_user.payment_processor.customer.processor_id,
line_items: [{
price: 'price_111111111111111',
quantity: 1
}],
subscription_data: {
'application_fee_percent' => 10,
metadata: {
pay_name:"base", # Optional. Overrides the Pay::Subscription name attribute
blog_id: blog.id
},
},
success_url: post_show_url(subdomain: blog.name, id: latest_post.id),
cancel_url: post_show_url(subdomain: blog.name, id: latest_post.id),
)
but i get this because the customer already have a subscription with another connect account.
No such customer: 'cus_OmILh6SEMTffZE'
Extracted source (around line #39):
37
38
39
40
41
42
current_user.set_payment_processor :stripe, stripe_account: Blog.find_by(name: request.subdomain).stripe_account_id
# current_user.merchant.find_by(processor_id: 'ss')
checkout_session = current_user.payment_processor.checkout(
# customer: customer.id,
mode: 'subscription',
locale: I18n.locale,
how do i use that same customer to subscribe to another connect account.
Hello, randomly I receive one email from Stripe saying I'm no longer available to access Stripe for payments. I haven't got any payment yet to violate any rules, neither did I do it myself. Please help
Hey there,
Can a subscription's status be manually be updated to incomplete_expired?
I'm having trouble with a stripe v3 implementation that has been working flawlessly for a long time. Is there a way to version limit the stripe js include? at present I'm just using : <script src="https://js.stripe.com/v3/"></script>
Hi and best regards!
I'm trying to implement something like in this guide https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#create-customer
But after creation of subscription via StripeClient with params (I'll post them in thread) I'm receiving empty (null so cannot be expanded) $subscription->latest_invoice->payment_intent, so I cannot receive client_secret to proceed with stripe.confirmCardPayment
Please advise what can cause this?
Good morning,
I'm having trouble with the API calls, especially with the token.
Any API call I make I get the response that the API key is invalid.
My integration with other api keys from my other clients works, with this client I have this problem, but the API key is correct.
After opening a support ticket they continue to say that it is my problem even though I had shown all the correct procedures.
I don't know what to do anymore, help me
Hey!
Due to a bug in a script, we have reported excessive usages to our customers.
For those who have already paid their invoices, I assume the only thing to do is to refund, right?
But, for the ones that have no invoices paid yet, is there a way to cancel the reported amount?
Hey Team, Need clarification regarding domain verification
@misty hornet can you reopen the thread?
How to ON this payment method?
I am just wondering if there's a way to pass the metadata of a payment link onto the payment_intent.succeeded event
I added the username of the user on my system to the metadata but it was not received when the payment link was paid.
@waxen quail Can you please reopen my thread.
Hey,
Are you sending some automated email to the customer when payment refund is clicked? We are refunding quite a few and I need to know if we should email them ourselves
Hello, is it possible to have 2 recurring prices in a subscription, but only provide free trial for one of them? So the other price will be billed accordingly. (The second price is a metered, graduated price where the first X items are free)? If not, what options do I have? Thanks
Hi folks, we recently pushed out all new prices for our products and rolled existing customer over to these via API. Now when they access the customer portal they no longer have the "Update plan" button they previously had. Is there a setting at the price / product level required to enable self-updates?
is there a way to charge customer on session where customer has to only enter CVC on saved cards ?
Hi
Is it possible to create proration for metered usage subscriptions ?
When using a 3DS test card (4000000000003063) we're receiving a StripeCardError with code card declined with a decline_code generic_decline error
Has anyone experienced this before / any ideas what the problem could be?
Hey,
I have a user who paid twice in my app, Because of a bug, his second payment is attached to a new customer ID.
Is there any way to change the customer id or attach his subscription to his main customerId?
Quick question
https://stripe.com/docs/payments/payment-element
For: Stripe Payment Element Accept payment methods from around the globe with a secure, embeddable UI component.
Can we add link pay with link in this modal or is it only for checkout session? I don't see it in the documentation?
I want to use stripe's Google pay and Apple pay as my payment method, but the card still exists after I configure it.
paymentMethodTypes: ['google_pay','apple_pay']
Is Paypal no longer an Wallet Option?
Hello
I want assistance with customizing the customer portal's appearance.
Hey! I have a hard time raising quantities to a subscription. Could use some help. I thought something like this would do it but rather than raising the current quantity (1) to 2 I end up with 3.
items=[{
'': subscription['items']['data'][0].id,
'price': 'price_xxxxxxxxxxxxx',
'quantity': 2
}]
return_data = stripe.Invoice.upcoming(
customer=customer_id,
coupon=promo_id,
subscription=subscription_id,
subscription_items=items
)
Hi! What is the diff between config domains / certificates ?
I want to use applepay on my test env of my website
#dev-help
I want to call this api
const updatedAccount = await stripe.accounts.update(
'service_provider_stripe_account_id',
{
settings: {
payouts: {
schedule: {
interval: 'weekly',
weekly_anchor: 'monday'
}
}
}
}
);
as soon as a connect account is created on my Stripe account is there any webhook to do that?
Hey Guys, I'm having an issue with Apple pay, I'm using the payment element and I've verified the domain with the merchant ID in well-known but the Apple pay option isn't showing when I test in Safari
Hello, i need help transferring my current users subscription to a new stripe dashboard, i already copied all my clients data with the related function, but how should i set the new subscriptions? There is a way to link them to a new webhook?
Hello,
I would like to understand how I perform an upgrade process via API.
The case is this:
- A customer subscribes to Plan A at a cost of $5 per month.
- The customer requests to upgrade to Plan B, which costs $50 per month.
- An API request is made from my system to the Stripe system to upgrade the client to plan B.
- The customer's charge was not made (his credit card expired two days ago, for example, or for any other reason).
What happens now?
I do not want the client to leave Plan A until payment is made in full.
Has the customer been upgraded in terms of Stripe to Plan B even though he has not yet been paid?
What happens if the customer fails to pay at all? In which program (A or B) will he be?
Is it possible to replace subscription currency? i.e. by replacing all subscription items?
At checkout when I use a credit card as a payment method, It pops up this message: There was an issue processing your payment. Try again or use a different method.
Hello Devs, I am facing issue with redirectToCheckOut function i am getting error: The function does not exsist.
I am using these two stripe libraries:
"@stripe/react-stripe-js": "^1.16.1",
"@stripe/stripe-js": "^1.46.0",
are you setting it on shopify
if shopify hope you are not using free period
About rounding of the tax amount. I have an amount of 1141 cents ("subtotal_excluding_tax" filed on invoice object) and tax rate of 25%. It should give tax amount of 285,2 cents. With your rounding rules it should be rounded down to 285. Yet Invoice object lists field "tax": 286. How come?
Hi! We have two custom fields set up by default in all of our customers, using customer.invoiceSettings.customFields field.
Sometimes, the accounting team needs to add a third field manually using the Update Subscription dashboard. When doing this, it automatically deletes the previous invoice settings the customer had.
Is there a way to protect the original invoiceSettings fields on the customer object, even though someone might use the dashboard to add more?
- Can we create a future subscription by taking payment today?
- Or else can we create subscription with dynamic free trial period?
Hi. Do you know why the request stripe.customers.update take a long time to execute ?
Sorry I'm back again - is there a way to pre-fill custom inputs on a payment link with a URL query? aka like ?custom_input_key=value
can we delete customers payment method using api ?
or will detaching delete the payment method
Hi!
We have already set up a Stripe account and fully integrated the payments solution, coupons, invoices etc. Everything works well.
We got some new info that we need to add another company to our profile to accept insurance payments. Technically it is the same back end, but we need to filter payments between the current company and the insurance company - same people own the insurance company as well as the main company.
Now how should we solve this - should we create a new Stripe Connect account in our current Stripe account or a completely new Stripe account?
It is not possible to make a cart with stripe right? Or checkout but when items are in cart not just click checkout
Hi there. Just had a question over our Stripe payment connection. It is connected to our kiosk , but not sure why it's says now there is no payment connected. Thank you.
Hello stripe, I didn't find in the doc how in reactjs to translate the <PaymentElement/>? Can you please enlighten me? Thank you!
Like eccomerce, for example client send 3 different items to cart
And there is checkout
We are trying to get a API codes for a Kia program.
Who is the developer or admin?
I'm having difficulty running the Stripe sample code with React & Node.js. I am just getting 404 returns from the post request. Can someone open a thread please.
Hi Team if a subscription is created using checkout session then at time of auto renewal which events will be triggered
(i am expecting invoice.paid)
Hello,
which key in https://stripe.com/docs/api/accounts api to support Company Registered Number
Hi guys! 🤚, I have this problem with the webhook, I use nestjs version 8, "No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? \nLearn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing"
Hello facing an issue while creating a subscription with trial_period_days
https://stripe.com/docs/billing/subscriptions/trials
we are unable to generate a client_secret when creating a subscription with a trial_period
I´m currently having some issues with my live version of stripe. Used a different account in testing environemnt, which was up to date. The live account was still from 2020, so the webhooks didn´t work as planned.
I now updated the account to the newest version but it still wont work...
Hello, totally new in this 🙂 ! I try to build a check out session from NetSuite to stripe, but I have currently an error when creating the session : {"error":{"message":"Invalid array","param":"line_items","request_log_url":"https://dashboard.stripe.com/logs/req_uTKuoTDbpI5an2?t=1696859237","type":"invalid_request_error"}} the line item I pass to the api is : [{"price":"price_1NzJnkKyMBSMZ5jqxwSrpF6p","quantity":1},{"price":"price_1NzJnlKyMBSMZ5jqCg3JtHw6","quantity":2}] - and this is the code I use in NetSutie to call the API : var response = https.post({
url: 'https://api.stripe.com/v1/checkout/sessions',
headers: {
'Authorization': 'Bearer XXXX',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: 'payment_method_types[]=card' +
'&mode=payment' +
'&line_items=' + JSON.stringify(lineItems) +
'&success_url=' + successUrl +
'&cancel_url=' + cancelUrl
});thanks for your help !
request POST BODY : {
"mode": "payment",
"line_items": "[{"price":"price_1NzJnkKyMBSMZ5jqxwSrpF6p","quantity":1},{"price":"price_1NzJnlKyMBSMZ5jqCg3JtHw6","quantity":2}]",
"cancel_url": "https://example.com/cancel",
"success_url": "https://example.com/success",
"payment_method_types": [
"card"
]
}
@keen musk Please reach out to our account support https://support.stripe.com/contact/email
Thank you
Hi I am trying to reward a connect account with a commission when a subscription product is bought using stripe checkout. How do I do this?
hi again
a Hi! How we can remove the $1 charge every time our client pays? We are using CRM called Kartra but we can't see how we can remove that. Is that something that we can do in Stripe? Can you help us update our integration by not using “Auth and Capture” instead? The support responded via email and said, 'Upon checking, I can see that you are using a method “Auth and Capture” with Payment Intents and set this up via the API. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-capture_method To remove this, I suggest that you update your integration by not using “Auth and Capture”. You can work with your developer to do this via APi."
Hi, according to your documentation here https://stripe.com/docs/api/errors, successful response codes will fall in the 2xx range, but the summary table on the right only shows 200 - OK. Do we need to check for all response codes in the 2xx range, or will checking for 200 be enough?
I want to sell a weekly subscription product but want to discount the first 2 weeks. Ex. $35/week, but first 2 weeks are offered at $9. Any ideas on how to setup?
// Creating Payment
const paymentIntent = await stripe.paymentIntents.create({
amount: value.totalPayment * 100,
currency: "usd",
transfer_group: randomGeneratedString,
payment_method_types: ["card"],
payment_method: value?.paymentMethodId,
});
const paymentSplit = value?.paymentSplit;
if (paymentSplit && paymentSplit.length > 0) {
for (const payment of paymentSplit) {
const user = await User.findById(payment.userId);
if (user && user.question_writer && user.question_writer.stripe_id) {
await stripe.transfers.create({
amount: payment.amount * 100,
currency: "usd",
destination: user.question_writer.stripe_id,
transfer_group: randomGeneratedString,
});
} else {
console.error(
`Stripe ID not found for user with ID: ${payment.userId}`
);
}
}
}
this is my code in node.js it is basically creating a payment intent and then creating transfer as it was mentioned in documentation . in dashboard I am seeing the entry with status incomplete and when i hover it is saying "The customer has not completed the payment."
Which permissions do I need to set in order for my API key to be able to read refunds?
Hi, how do I connect my BBPOS Wisepad 3 to my stripe account on my iphone?
Hello, i tried to change api keys on my stripe because i made a new dashboard, so i changed keys and webhook key but im not able to go to checkout anymore
Hello, I'm trying to display 2 AddressElements but am unable to do so as:
IntegrationError
Can only create one Element of type address. See https://stripe.com/docs/elements/address-element?platform=web#use-address-element-with-other-elements for more information.```
I'm using react and wish to display multiple `AddressElements` as I'm using one for shipping, and one for billing address.
Should I just define a new `<Elements>` provider or do you guys suggest something else?
Hello,
I'm trying to get information about a promotion code to know in wish product it is attached_to.
It appears to be impossible to have this information without creating data in my app to know the connexion between product/price and promotion code...
Any solution(s) ?
Thanks by advance 🙂
Hello, I manage subscriptions via checkout session creation. My price includes a fixed part and a variable part (calculated according to usage).
Invoicing takes place on the 1st of the following month.
When a user takes out a subscription during the month (like today on October 9), the upcoming invoice doesn't include any prorata and the invoice for November 1 contains the full flat fee without prorata.
However, I have added a billing_cycle_anchor and proration_behavior: "create_prorations" in my session checkout.
Am I missing something?
Hi stripe confirmPayment api am facing 400 bad request error
I have a local listener on webhooks, and I'm listening to the payment_intent.succeeded handler through local listener /dev tools. We receive the event - payment_intent.succeeded but it does not include the charges object. We have a test environment where webhooks are set up, and we do receive the charges object...is there a reason why on the local listener we wouldn't receive the charges object?
Hello, Does stripe have webhooks for subscription recurring payments?
Hi folks. Is it possible to use Apple Pay merchant tokens (MPAN) for recurring payments directly from Stripe Checkout? Or would it only be possible when implementing checkout on our own site using the Express Checkout Element?
https://stripe.com/docs/apple-pay/merchant-tokens
Hey, is there a way to skin the payment element and bring Apple/Google Pay out of the window into a separate button?
Hey @copper reef - coming back on the weekly billing question. I want to discount the first 2 weeks - for option 2 you suggested, how can I set it 2 weeks as the unit is months
Hello
A customer is facing an issue on our nextjs website. Upon completing bank check the redirect doesn't contain the stripe parameters like payment intent etc.
Haii, would like to ask. Why the payment method for wallet not appeared on checkout page
Hi I’m trying to allow my customers an option to pay full amount via Stripe OR payment plan via affirm. my Stripe account is already linked to Affirm. do I need to create an Affirm merchant account to get their api keys or do I only need my stripe account?
I just setup webhooks in my application to handle payment charges from a checkout session. The issue here is I can’t find any way to determine what the line items are. Is there a good way to do this or will I just have to store item data in the metadata?
I tried searching this up yesterday but it kept recommending I use the Invoice field to get the list of charges, however the invoice field is null in my webhooks
🙇♂️ Thanks for the response to this message, though I was too slow to respond:
#dev-help message
Are there any plans to support Apple Pay merchant tokens (MPAN) directly on Stripe Checkout (rather than only via Express Checkout Elements or mobile elements)?
Hello
I have a production server with an SSL-certified domain where I'm currently running Stripe in live mode. Now, I want to set up a staging domain without SSL and configure Stripe to operate in test mode on the staging domain. However, I'm encountering an error related to security of webhooks, specifically a TLS error. Is it possible to achieve this, and if so, how can I do it?
Hi
I want to display a payment element using js library, but I have been getting error that I need to pass secret key before I create a payment element however I am passing the secret key while creating the elements variable, please help.
Yes, pls. I tried a lot of credit cards in production mode, but I always got "your card has been declined". Could you help me please?
Please use the thread I created for you
hello i want to company structure supported values for UK companies when accont is created using https://stripe.com/docs/api/accounts/create
I'm trying to handle post-payment events for a payment that is completed, basically for scenarios after the stripe.confirmpayment() function has been called from the front-end. I want to run actions such as checking the status of the payment, sending an order confirmation email to your customer, logging the sale in a database. What request payload do we get?
I was looking at adding the payment method message to a product and was wondering if the countrycode setting is required to be provided or will stripe infer the shoppers country code automatically
Hi, Our Stripe account is based out of UK and we use USD for collecting payments, currently to make a payout we are trying to add funds to our account via API, but its giving the following Error.
Top-up creation is not supported for country GB and currency USD
hi im using the stripe billing portal, is there any way to make it when a subscription is stopped the time is cancelled immediately and not wait till end of billing period?
Sorry for opening another ticket so soon, I'm trying to follow up on my previous one. #1160970559832723537 message
I was trying to use a payment intent webhook event. The issue is that there's no checkout session ID associated, so I'm not sure how best to fetch the session. Checkout Sessions don't seem to have a Query param like other types, so do I have to list out all checkout sessions and loop through them on my end?
Hey, I've been trying to enable paypal as a payment method but wasn't able to do so as I have tested some things with connect in the past, I don't have any connected accounts anymore and would like to switch back to a direct business if possible or find a way to let my customer pay with paypal. Would that be possible?
hello,
how to set if company have no executives when creating custom connect account using api
Hey, is there an option to force the collection of a tax ID during the Stripe onboarding process? Also, is Stripe's custom account supported in Poland? I've seen it elsewhere, but I have information in my dashboard that custom accounts are not supported in my country
Hi I am not recieveing my payouts. I have revised and double checked my banking info, but still will not payout.
goobor
Hey, I am seeing some weird data in test mode on a connect account. I have a payout that says it's paid, but an estimated arrival of tomorrow (Oct 10). Also, looking at the balance API, it has a pending amount that is negative which seems odd. Is this some test mode weirdness or is there some real situation that can cause this?
trudenn
When we are integrating stripe payment and adding one time payment, we create a subscription ID for user to make a payment and a session is created, does stripe store user's past payment history like cards for faster payments next time on that subscription id? If not how can I have this feature?
Hello, I am trying to implement stripe into my iOS application via SwiftUI. I am using nodeJS for the backend. My endpoints are good and am getting 200 codes in the stripe dashboard. However, when I make a test payment, I get the 200 code on my dashboard, however, my apple pay gets rejected and says payment failed. I do not know if this is due to my test mode, or if there is another issue at hand
I was able to make that payment element work, but I am only getting option for card payment, how can I add more options to that?
Hey, I have this pop up, I don't understand the reasong for it being there.
I am not able to add new products or receive any payments through it
Hi,
I'm adding limited_liability_partnership as a business structure for uk company connect account but i will get this error
"'limited_liability_partnership' is not a valid structure in the country GB and under the business type 'company'.",
I am using the Stripe React Native SDK (v0.33.0). initPaymentSheet succeeds, but then presentPaymentSheet fails to open the payment sheet with the error message StripePaymentSheet.PaymentSheetError error 3.. I can't find any documentation on what this error code means. More details in thread.
Hi Team, how can we test checkout session using test clock
like how to use customer added for test clock in checkout session?
Hello I am trying to upgrade my stripe api version however it is saying the breaking change is this:
PaymentIntents and SetupIntents now have automatic_payment_methods enabled by default, which allows you to configure payment method settings from the Dashboard—no code required.
[Breaking change]
return_url is required on PaymentIntent or SetupIntent confirmation. Follow our upgrade guide to update your integration.
Can someone navigate me the right way. I don't think we use PaymentIntent at all for our service
Hello, how can I confirm that a subscription payment also triggered a receipt email to be sent to the customer. I see the invoice draft finalized event, but do not see an indication of the email being sent
Hello devs how are you.
I have a general question about Stripe API.
So I have a bookings website with Owners and customers. I accept the payement by Stripe api.
Is there any way to transfer the money from my stripe account to the owner Depit card by stripe api ??
hello can i chat with some developer?
Hello, i am using stripe connect, and i want to implement on_behalf of so that a country outside of the us can use their local currency, i cant find any doc on it, the platform account is in US
I cant delete a product or price keeps saying this price or product has been used before.
Hi folks. If I need to sell products on behalf of the customers, the relation product <-> customer must be implemented on my side or there's the chance to provide some sort of the account_id when I create a product ?
Hi! We've integrated Stripe as our payment gateway on our platform. While exploring the payout options, we noticed that Mexico is not listed as an available country for payouts.
Could you please provide more information on why Mexico might not be available as a payout destination through Stripe? Are there any plans or considerations to include Mexico in the list of supported countries in the near future?
Good afternoon, what are the steps to test webhook locally on localhost?
I did add a local listener and forwarded the flow to local host, but keep getting 500 error
Hi,
I'm using the endpoint 'https://api.stripe.com/v1/charges' and I wanted to know what the limit is for constantly making requests?
HI team in https://stripe.com/docs/api/customers/retrieve?lang=go
why are there no addexpand options
how can i get customer address?
can i chat with someone please?
Hi, I have a use case where we want to have a pricey annual subscription that is billed monthly. Example: a full annual subscription is $12k, but because this is a large amount, we want to allow the customer to pay in $1k monthly installments. However, if they cancel the subscription mid-term, they're still on the hook for the full $12k, it just won't renew for the next year.
I believe the best way to achieve this is through Subscription Schedules, where they are charged $1k per month over 12 iterations. However, I'm hoping someone can confirm that this is the best approach and shed some light on the following:
- Is there a way to automatically renew the subscription into the same installment plan for the next year? The
end_behaviorsounds likereleasecontinues the subscription but ends the schedule, andcancelends the subscription. - Is there a way that a customer can self-service their own subscription to get on an installment plan through one of the no-code solutions, or is it something that needs to be done manually (or through API)?
Hi,
i have been trying to use rails pay gem.
i have a platform where writers create blog and they have connect account for that blog. users can then subscribe to the plans the writer of the blog has just like substsack.
firstly i did this
def show
blog = Blog.find_by(name: request.subdomain)
latest_post = Post.where(user_id: blog.user_id).order(created_at: :desc).first
plan = Plan.find_by(slug: params[:slug], blog_id: blog.id)
@user = current_user
@user.set_payment_processor :stripe, stripe_account: blog.stripe_account_id
checkout_session = @user.payment_processor.checkout(
mode: 'subscription',
customer: customer.id,
locale: I18n.locale,
line_items: [{
price: plan.stripe_price_id,
quantity: 1
}],
subscription_data: {
'application_fee_percent' => 10,
metadata: {
pay_name: plan.stripe_name,
blog_id: blog.id
},
},
success_url: post_show_url(subdomain: blog.name, id: latest_post.id),
cancel_url: post_show_url(subdomain: blog.name, id: latest_post.id),
)
which creates subscribtion for the logged in user ofcourse but that same user can't subscribe to another blog because they keep seeing this error No such customer: 'cus_OmxQHyltZH7bhZ' i think because the customer is not on the stripe_account.
been trying to figure this out will appreciate anybody's help please.
the first time a user checkout the data is saved and i see this
{"currency": "usd", "stripe_account": "acct_1222222q", "invoice_credit_balance": {"usd": 0}}
but the second time that same user tries to checkout on another connect account blog i get this error No such customer: 'cus_OmxQHyltZH7bhZ'
Hi,
If I am using payment-element to collect country and zip code, how do I dynamically change the address on the customer?
I'm trying to learn which UI elements are used for entering promo codes and emails (like in Payment Links)
Hi there. I am working on an integration with the financial connections product. I was wondering, can a user connect their say Bank of America credit card? Will I be able to subscribe to transactions to this type of account?
Hi. How can I find the ARN for my transactions ?
hello there! quick question; right now when i create a paymentIntent obj its behaving as a destination transfer (? not sure if that's the right name). Is this because i'm including on_behalf_of: and transfer_data: ? I have a test PI that i can share if that helps 🙂
Hi there, I created a website to sell stuff and I decided to try to purchase something from my website to test if it would work. But when I clicked purchase is said "Your order can’t be completed because of an issue with the merchant payment setup. Please contact us about this issue." I have Stripe set up and tried disconnecting and reconnecting but it still didn't work. What should I do?
how can I get the payment method info from a payment element
Dear Devs. the question I have is not the technical tho. but tired of trying and having hope of someone's help my account got activated but then it got paused and I was to provide MOA as a document but after trying several times I am not able to upload the page contaion
contain same information again and again*
hi stripe! i'm trying to use tap to pay on android, but i'm getting an attestation failure
I need help my stripe will not let me log in & i don't have acces to that phone anymore
I am trying to test connected accounts in test mode. Are these the most up to date docs for that?
https://stripe.com/docs/connect/testing
Hello! I am trying to create a payment method for the us_bank_account type but I get an error since I didn't provide the full name in the billing_details field. I know the billing_details is an optional object but that it is required by particular types. Is there a list somewhere where I can see what fields are required for us_bank_account type to create a payment method? TIA
I am struggling to create a payment intent for use with Stripe terminal that will process a payment and tokenize the card at the same time. I can create the pi and process a payment only, and I can create a setup intent and tokenize the card only, but I can't seem to do both in the same transaction (like I can when using elements on the web). Using 'off_session=true' errors as it clashes with the 'payment_method_types[]=card_present' and trying 'payment_method_options[card[setup_future_usage]]=off_session' processes the payment but does not set up a payment method for future use (possibly beause the 'card' option doesn't apply to a 'card_present' method type.
I want to cancel incomplete payment intents I made by mistake while setting up my stripe account. Do I use the CLI? and
can i get help with an error that i'm getting when creating a PaymentIntent for a connected account please?
Not a question just a thank you. I am the only backend developer where I work. It's been a wild ride but this type of support from a third party we're using is incredible. Thank you all so much
Hi, i have only one question, so, i have a client that needs to rent cars in his web, can he offer this services with stripe? like purchase a car rent
Hello Stripe Team,
How to expand things here in getting all invoices?
like expanding the customer, subscription and others fields to get the stripe fee and billing address.
Hello, I connected stripe express to get money from the csfloat website. However, in the process, I did not connect Bank of America, but connected the Mastercard debit card I received from Bank of America to stripe express. The current status is "Platform:Csfloat, Date:Oct 9, Status:Pending, Category:Payout, Description:Payout from Csfloat to Mastercard ••****". I have currently changed the payout details to Bank of America, but the payout is still set to Mastercard. Can I cancel this and receive it again through Bank of America?
Hi. I have a subscription which can have multiple quantities of an item. When a user unsubscribes from one of the items I use the API to reduce the quantity by 1. When the quantity reaches 0 the subscription is still active with a quantity of 0. I need to allow the user to change their mind and reactive the item in the subscription (prior to the next renewal date) if they desire, so I don't want to cancel the subscription in case that happens. Do I leave the subscription 'active' with 0 quantity or can it be paused/unpaused?
tonight at just before 9pm stripe started blocking all of my customers incoming charge attempts. I can see from the email address that these are legit customers. Any idea how I resolve this?
one of the users for example has been blocked 3 times (attempts to pay for the same order). This customer has purchased items from us hundreds of times in the past
Hi Stripe Team! I would like to ask about Checkout Session. When using Checkout Session as payment, Invoice can also be generated. However, I need to show date for each product. When creating invoice and adding line items using invoiceItems.create, this is possible using period option. Is there something equivalent to that when creating invoice from Checkout Session. Thank you!
How long does it take for Stripe to try and debit a connected account's external account when the account balance is negative?
Is there a way to charge a connected account's external account directly instead of charging the account itself and waiting for Stripe to debit a negative balance?
Hi, Stripe donation payment link, is there a way to set the amount from URL or javascript?
Hi there, supposing our SaaS has two user account types, A and B.
Account type A is charged based on tiered subscription (good, better, best) / flat rate
Account type B is charged per seat.
Is there anyway to separate this, so account type A only sees tiered subscription options and account type B only sees pricing per seat? Right now when we go to the Stripe portal it's all mixed.
Im having issues with affirm payment getting failed with the error message below "failure_code": "payment_intent_payment_attempt_expired",
"failure_message": "The Affirm redirect URL of this PaymentIntent has expired. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.",
"fraud_details": {
const paymentElementOptions = {
layout: "tabs"
}
return (
<form id="payment-form" onSubmit={handleSubmit}>
<PaymentElement id="payment-element" options={paymentElementOptions} />
<button disabled={isLoading || !stripe || !elements} id="submit">
<span id="button-text">
{isLoading ? <div className="spinner" id="spinner"></div> : "Pay now"}
</span>
</button>
{/* Show any error or success messages */}
{message && <div id="payment-message">{message}</div>}
</form>
);
Can you tell me what parameters paymentElementOptions can accept?
How to hide country information
Hi. I'm trying to run the basic out-of-the-box test for my Stripe UI Ext and am getting this error: ```blaketopvm% yarn test
yarn run v1.22.19
$ jest
/home/bmizerany/src/genie/stripeapp/jest.config.js:3
import UIExtensionsConfig from "@stripe/ui-extension-tools/jest.config.ui-extension";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at Object.compileFunction (node:vm:360:18)
at wrapSafe (node:internal/modules/cjs/loader:1049:15)
at Module._compile (node:internal/modules/cjs/loader:1084:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
at Module.load (node:internal/modules/cjs/loader:998:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1022:19)
at require (node:internal/modules/cjs/helpers:102:18)
at requireOrImportModule (/home/bmizerany/src/genie/stripeapp/node_modules/jest-util/build/requireOrImportModule.js:53:28)
at readConfigFileAndSetRootDir (/home/bmizerany/src/genie/stripeapp/node_modules/jest-config/build/readConfigFileAndSetRootDir.js:132:66)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```
Any pointers to get back on track would be much appreciated.
lmfao its crazy how you meet requirments then told your a high risk 2 months later with no complaints , chargebacks or disputes make it make sense please
Hello Stripe Team,
Do we have a sample bank to use on payouts?
Can I use payment api to add preset amount to a payment link created using stripe UI?
sarita_21302
we can transfer to connect account from platform account without needing any capabilities,right ?
Hello,
We're currently utilizing Stripe in conjunction with Apple Pay to handle deferred payments, where we only charge users once their order is ready.
For our transactions, there's a range of potential charges. While we've been setting the upper bound of this range as the amount for PKPaymentSummaryItem and it has been working correctly, we're considering switching to using an estimated amount (which falls within this range). If we do this, would we still be able to charge more than the estimated amount in the future, up to the upper bound of our range? Does Stripe support this functionality?
Thank you for your assistance.
Hello, I ceated this stripe checkout URL in Python, It's working well but when customer makes payments
Then Stipe sends emails to my account, Now the issue is that the email stripe is not providing payment info like customer, product etc, Where this change I need to do So Stripe send me details in the email?
line_items = [{
'price_data': {
'currency': str(r.bms_website_id.default_currency.name).lower(),
'unit_amount': int(r.lead_display_price * 100),
'product_data': {
'name': str(r.name) +", Customer Email: "+ str(r.email) ,
},
},
'quantity': 1,
}]
countries = []
countries.append(r.bms_website_id.country_id.code)
checkout_session = stripe.checkout.Session.create(
metadata = {
'Lead Number': r.name,
'Customer Email': r.email,
'Customer Name': r.name
},
# customer_email = r.email,
line_items=line_items,
mode='payment',
success_url=f'{domain}/payment_with_stripe/success?token={generate_order_token(r.id)}',
cancel_url=f'{domain}/payment_with_stripe/cancel?token={generate_order_token(r.id)}',
phone_number_collection={
'enabled': True
},
shipping_address_collection={"allowed_countries": countries} ,
shipping_options=[
{
"shipping_rate_data": {
"type": "fixed_amount",
"fixed_amount": {"amount": 0, "currency": str(r.bms_website_id.default_currency.name).lower()},
"display_name": "Shipping fee",
"delivery_estimate": {
"minimum": {"unit": "business_day", "value": 10},
"maximum": {"unit": "business_day", "value": 15},
},
},
},
],
)
decoded_url = urllib.parse.unquote(urllib.parse.unquote(checkout_session.url))
r.stripe_payment_url = decoded_url
If I specify cancel_at for Subscription and then leave cancel_at blank again, the billing_cycle goes wrong
req1(set cancel_at): req_i9jtTpBeyY814W
req2(set cancel_at = ""): req_fu6jXqVY7NOXWn
What should I do?
Where can we get the payment gateway charges? seems it isn't there in the paymentIntent object
During auto renewal if payment was failed which event will trigger in webhooks event
Hi Stripe team, just to understand better for bank transfers, why isn't USD listed on this section (Determine compatibility), but in the next section (Accept a payment) and docs, it allows for USD?
https://stripe.com/docs/payments/bank-transfers/accept-a-payment?platform=checkout#compatibility
Need Help creating a subscription with a discounted trial_period.
hello, I have been trying to update the 'UserPayment' object in the database to indicate that a payment has been successfully processed, but it doesn't work, even though the payment is successful
Hello, I'm trying to use Connect embedded components. When I use stripe.accountSessions.create for express account, it says: You are trying to create an Account Session for an account that is not supported. Does this mean it only supports standard accounts?
Getting failed payment when using affirm
pi_3NzYRoK3gsZjx9QD1ts3b7MW
do customer need to enter 2 OTP code or 1
@delicate vector please continue in the thread
can you help
Hey, is there an API to know account status? I want to see status similar as shown in Stripe's dashboard.
Hi, does automatic tax collection through Stripe tax requires tax registration in stripe OR registration is required only after it is over threshold?
Hi, there is a user from GB who is asked to verify phone number in Stripe Checkout. I wanted to know if there is an documentation to understand why the user is asked to verify the phone-number. Is it 2FA?
And if the user wants to change the phone-number attached for 2FA, is there anything we can do?
hi i have a payment failed invoice can u help me to check?
in portal it says
The cardholder began 3D Secure authentication but has not completed it.```
what does that mean
Hello, Stripe team!
When we changed the webhook setting to 'enable', our server returned 502. I'd like to know the IP address of webhook server to add our server.
Hi, using a MERN stack.
Is it difficult to implement Stripe Checkout?
Do you have a sample of code (js)? How to deal with the billing?
hello i had issue in stripe payment so process is that my project is in laravel so when user enters card details then i returns stripe token and on that base first im creating custom then plan using product id and when plan is created im creating subscription for that play so that amount will be deducted to user on monthly basis can you suggest solution /
Hi , I am new on stripe. I need to use this app because my customers use union pay card, so when you do the link of paymente how much time takes to arrive the money to your bank account? And if you have a euro account and dolars account , how you do to do arrive the money to euro account or dólars account?
Hi. I am using the API to do subscriptions and my products are digital tokens. Each token is a quantity in the subscription and it renews monthly. If a customer starts their subscription on the 5th, then adds another token to it on the 10th, I adjust the subscription anchor date to the 10th and use prorata for the first subscription so they both renew on the 10th. A customer has the option to cancel a subscription on a token, in which case the system reduces the subscription quantity by 1 and shows the user a status saying it expires on the 10th (and is usable until then). All that is working fine. I would like a customer to be able to reactivate their subscription before the expiry date in which case I will update the quantity by 1 again and there is no extra charge (they already paid to the 10th). My problem is - if a customer has some items which are going to expire and then adds another item to the subscription, the system will reset the anchor date to the new date (let's say 15th) and prorate any active tokens (as previously). My problem is this - what if a customer then decides to re-enable autorenew on one of the removed (but still active) items? The renew date on the item is the 10th, but the subscription renew date is now the 15th and they haven't been charged prorata for the additional time so they can be added to the subscription again (quantity + 1). Is there a way I can update their token and charge them prorata for the 10th - 15th?
hi guys, we are planning to integrate Stripe Connect into our booking platform and are curious on the refunding process for Standard Accounts.
We = booking platform
Standard Acc owners = merchants on our platform
End Users = clients
Say clients made a reservation with a merchant via our platform and has already paid via credit card, the money goes straight to merchant's stripe acc, and merchant decides to transfer this sum of money from their stripe acc into their bank acc, so stripe balance = $0
now, client wants to cancel the reservation and ask for a refund and since the merchant's stripe balance is currently at $0, is this refund process doable still?
can we, as the platform initiate this refund process on behalf ot the client?
also what fees and how much will be charged for refund?
Hi, I am retrieving an upcoming invoice with customer details and priceId as lineItem. and I am getting this error
"message": "The price specified is set to type=recurring but this field only accepts prices with type=one_time."
anyway I can retrieve invoice with recurring price?
hello.
I was wondering which of the Attributes returned as Stripe API Error are non-null fields.
Are the 3 fields message, type, and code Not Null?
Reference
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 am finding a bit difficulty in understanding the flow of webhook events after a Stripe.Checkout. Stack is FastAPI and ReactJS.
I have implemented a checkout endpoint in the backend. It then produces a session id and does the payment related stuffs. I also want to store the payment details like transac id, amount, etc . So I read about webhooks can be used for this.
I then implemented a webhook endpoint as mentioned here - https://stripe.com/docs/webhooks
but now i am confused how specific operations like saving transaction details to Database occur?
Hello, I created an account on Stripe in February 2022. I recently connected this account to my e-commerce website, but the payment process is not working. An error occurs when I enter card details and proceed to checkout. I've tested it with both debit and credit cards from various banks. My product payment setting is dynamic, meaning it displays dollars in the USA and rupees in India, automatically changing according to the country. When I talked to one of my friends, they tried it through their Skype account, and it worked perfectly. However, the problem occurs when I use my Stripe account. Please suggest what I can do to resolve this issue.
hello there - i have an app which uses multiple stripe accounts. they all use api version 2022-11-15 - now i have added a new account and that one uses 2023-8-16. i'm unable to downgrade it in the ui. can someone help me as i am not able to upgrade the others currently. i have set my app api version to use 2022-11-15 however it's not the default account version of the new account. how can i downgrade the new account?
I have one doubt in test clock
I just added Stripe to the application and did the API integration, but why does it give this error on all bank cards.
I am getting null for invoice when chargimg customer through payment intent
can anyon help me get my payout. Its been 120 days but my 13K payout doesnt show anymore. Stripe didnt refun the clients and didnt send me the payout.
I was illegally charged money on the website www.zumiv.com
How to temporarily hold stolen money for investigation?
Hi
I am getting nelow error while applaying coupon from api :
Custom exception 'Stripe\Exception\ApiConnectionException' with message 'Unexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com.
I paid for the service at the domain name https://www.zumiv.com/ but it seems like it's all a trap to trick users into registering.
When a user uses a payment card, all the money on the card will be lost.
You can view detailed information as follows:
When I pay $1 trial, the full amount will be deducted from my card
I created a ticket and the live chat was both deleted and not supported.
https://imgur.com/nxjDZP1
https://imgur.com/U7ZJaHJ
https://imgur.com/rYQBNCZ
https://imgur.com/zFNLzob
https://prnt.sc/ymVpbzTfV8Kr
https://prnt.sc/ReA9dGz_bfxS
https://prnt.sc/jLvADH6XIcRm
Which is the compatible stripe.net nuget package for a .net web api project that has a target framework of netcoreapp2.2
Hi
I am getting nelow error while applaying coupon from api :
Custom exception 'Stripe\Exception\ApiConnectionException' with message 'Unexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com.
the api we used is : /v1/promotion_codes/promo_1NzJUoJJ0qgleX86v6nxbHJR around 12:39:20PM IST. We did not get any logs in https://dashboard.stripe.com/logs
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
I am getting payment_intent_unexpected state issue in stripe confirm payment
@misty hornet could you reopen my latest thread
Does stripe charge per API call?
Hi,
I have a couple of questions regarding the payment element am using.
First of all, for some countries I am getting postal code field (USA , UK), is there any specific reason why this is appearing on these countries but not for others?
Secondly, I can see that the postal code for US has validation if I enter a wrong postal code, but for UK if I enter the value 1 to the field it will accept ?
Can you help clarify these two questions please?
Hello
Further to the question I asked here:
What happens in PENDING status - is the customer currently associated with plan A or B?
What happens if the customer does not complete the payment during the time defined as PENDING - does he return to being a plan A subscriber as he was before the upgrade attempt?
Thank you
Question on Stripe Checkout -
Lets say I have entered my card details and clicked on pay button. Unfortunately the stripe server got down . Now what will be the customer shown ?
Hi there, I've got an email saying that account is being closed with immediate effect due to inactivity for over 6 months.
Is there a way to expand the subscription API to get the attached payment method?
@all how to give merchantIdentifier, stripeAccountId, publishableKey in the react js
if anyone knows the answer please post here, many thanks.
Hello,
I am getting error response in Stripe CLI when the payment event is triggered. The Webhook endpoint is correct but i'm not sure why its not triggered?
[ERROR] Failed to POST: Post "http://localhost:7233/api/webhook": read tcp 127.0.0.1:58303->127.0.0.1:7233: wsarecv: An existing connection was forcibly closed by the remote host.
Is the RentWell custom connect stripe website open source?
const paymentElementOptions = {
layout: "tabs"
}
return (
<form id="payment-form" onSubmit={handleSubmit}>
<PaymentElement id="payment-element" options={paymentElementOptions} />
<button disabled={isLoading || !stripe || !elements} id="submit">
<span id="button-text">
{isLoading ? <div className="spinner" id="spinner"></div> : "Pay now"}
</span>
</button>
{/* Show any error or success messages */}
{message && <div id="payment-message">{message}</div>}
</form>
);
I configured Apple pay in the background
Why not show Apple pay
Apple pay only shows up if your domain is verified and some other rules, such as it's on https
In the API, how can I find a specific product based on a credit_note_line_item?
Is there any API endpoint to get connected account's information e.g. name, address etc.
Hello! We have a case where we create a customer (without a currency) and then create a subscription (send invoice). The customers currency is updated in your systems but we've only gotten a customer.created webhook and not an customer.update event. Why is that?
Hello. We are trying to integrate Stripe credit card payments into our Insurance platform. But we get an error "A return_url must be specified because this Payment Intent is configured to automatically accept the payment methods enabled in the Dashboard, some of which may require a full page redirect to succeed. If you do not want to accept redirect-based payment". The error message suggests, that the customer on his Stripe dashboard has turned on payment methods, that require redirect_url to be specified. We asked the customer to turn off any payment methods except credit card. And he did that. But we are still getting the same error. Any ideas, why we are getting this error message? I already checked, and there are only credit card payment methods selected.
Hey quick question regarding Transfer.create_reversal(), if the account balance is 0 at the time of requesting the create reversal on the transfer, will the reversal still succeed or will it fail? Would we have to create a Refund instead if the account balance was 0 to take their account into negatives?
Hello, i have one question.
When a refund is initiated at first, a successfull response is received.
But there can be a possibility that the refund will fail(asynchronously).
How long this failure webhook can take, like can it take up to 10 days, which is the maximum nr of days the refund will be received to the customer.
Hi! Maybe not purely a developer question but does Stripe pricing (e.g. "0.5% on recurring payments") if I mark the invoices as paid_out_of_bands (i.e. I wouldn't use Stripe to actually process the payments, only for the customer, product and invoice management)?
Hey guys~~ I try use checkout session to test payment the other day. I find must use a stripe product to bind it.If i want to use payment elements and paymentIntent,whether i need not use product to bind it?
Hey there, we've implemented payment elements and it works great, the flow is the customer enters their billing and shipping details and gets the payment gateway at the end of the flow, the client has noticed on another site there is a buy with apple pay button that bypasses requiring the billing/shipping details, is this something I can add with stripe?
hello the webhook for subscription renewal which event should listen to?
Hello,
how can we add custom parameters to the webhook request body? For instance i want to add plan_id to the request body
We are facing an issue where our live card gets blocked & we are not able to do realtime testing of our product
Can I use dashboard api? such as , to retrieve https://dashboard.stripe.com/v1/
Hey! I would like to get some help with product selection? Is there a specific channel for this?
Hello, I offer a SaaS tool with a monthly subscription. However, it happens quite regularly that a customer takes out several licenses. Is it possible to manage unsubscriptions independently for each license? If so, how do I go about it?
HI I am trying to update paymentMethod but getting error -
code snippet-
paymentMethod= PaymentMethod.retrieve(previousPmId,ro);
paymentMethod= paymentMethod.update(parameters, ro);
Error- com.asperato.payment.provider.SStripeSCARequest - Payment error
com.stripe.exception.InvalidRequestException: Received unknown parameter: type; code: parameter_unknown; request-id: req_TILSxWeAalzRbt
is there any validations when card details on payment method are duplicate ?
is it possible to add custom attributes to stripe.checkout.Session.create ?
Hi there, I'm using stripe.js elements with payment element, and after my first purchase, after my account is created, on next one the dropdown from my account header is overflowing wrong. I can't seem to change it, seems like a sripe css bug, any help please?
Guys when I create a subscription, i want to send order_id from my system and get it on each billing cycle. do i send it at metadata object?
Quick Question
can you do this using destination charges in ruby on rails
@checkout_session = current_user.payment_processor.checkout(
mode: 'subscription',
locale: I18n.locale,
line_items: [{
price: 'price_1232333,
quantity: 4
}],
subscription_data: {
metadata: {
pay_name: "base" # Optional. Overrides the Pay::Subscription name attribute
},
},
success_url: root_url,
cancel_url: root_url,
}
)
Stripe::PaymentIntent.create(
customer: checkout_session.customer,
payment_method: payment_method_id,
application_fee_amount: application_fee_amount,
transfer_data: {
destination: connected_account_id,
}
)
My question is that will the clone method above allow for destination charges to be possible and also connect account can see customers?
Hi, can we get user's account routing number while using Stripe Financial Connection?
Hi,
I have a working Stripe Subscriptions (Billing) integration. I'm trying to make it work with Stripe Tax, but I'm getting an Stripe API error error_message="The customer's location isn't recognized. Set a valid customer address in order to automatically calculate tax."
I realized this is happening because I'm only submitting a customer address when performing a stripe.confirmCardPayment() step. To clarify, here's what I'm doing:
- Create a customer with just en email (this happens immediately when customer's account is created).
- Create Subscription object from the backend with
automatic_tax: {enabled: true}, pass JS data to the frontend. - Call:
stripe.confirmCardPayment(clientSecret, { payment_method: { card stripeElement, billing_details: {...} // Details include name and address with country. } })
What are my options here? My goal is to enable Stripe Tax for subscriptions. Hopefully I don't need to make massive changes to the steps I'm doing because it's all also tied to the frontend.
payment_link = stripe.PaymentLink.create(
line_items=[{
'price_data': {
'currency': 'usd',
'product_data': {
'name': 'Bob',
'description': 'Yes',
},
'custom_unit_amount': {
'enabled': True,
'preset': 100,
'minimum': 100,
'maximum': 10000,
},
'unit_amount_decimal': '100', # This represents $1.00. Adjust as needed.
},
'quantity': 1,
}],
phone_number_collection = {
'enabled': True,
},
custom_fields=[{
'key': 'discordidfindusingdiscordidindiscord',
'type': 'text',
'label': {
'type': 'custom',
'custom': 'Discord ID | Find using /discord_id in discord'
}
}],
payment_method_types=['cashapp'],
)``` I am getting this error "Received unknown parameters: price_data"
Hello team. I see from the https://stripe.com/en-fr/tax#pricing page that the product allows Tax ID validation. How do I collect the VAT from our users ?
I do have a question relating to Stripe Connect Standard. Currently we use a Netherlands-based Stripe account for Stripe Connect, with this account it is possible to use Stripe Connect with EU-based countries. However, we were informed that we might need a US-based Stripe account to support countries outside the EU, like for example India. My question is, which countries can we support with Stripe Connect Standard using our NL-based Stripe account, and which countries can we support with Stripe Connect Standard using a US-based Stripe account.
@hollow prairie could you please reopen my latest thread
Hello,
We are currently using the Stripe Connector for Shopware 6. Is there a way to have diffrent stripe accounts for diffrent sales channels? If not is it planned to add this functionality?
Is there a simple way to create an update payment link for a customer to update their card details. We would want to create the link for the customer using the api. Ideally we want a button in our app that would open an update card details page for the customer to put in new card details. Similar to the customer portal but just the update card page.
Hi, I think I might have found a race condition issue with the test clocks. I am adjusting time and the invoice.created event is fired, which our backend picks up and then makes some adjustments to the invoice. However, it's saying "No such invoice: 'in_1Nzd2WKQ9gYNb1Cc0Gaep85f'" inside the invoice.created event, for that specific invoice....very strange...
Hi there! I have received mail from stripe regarding account closure, but we are still using it in test mode and we need the account
Hello, consider the following scenario:
- There's a product with a monthly price
- A customer is subscribed to this product with a 1 month free trial
- An invoice with $0.00 is created with the Trial period for Product (✅ )
- I end the trial by updating the subscription to trial_end='now'
Now a new invoice is created immediately with the monthly price
Why is the second invoice created? The next payment should be after 1 month, since the product has a monthly price and the customer had 1 month of free trial. Is it possible to not generate this second invoice, and the customer only has to pay after 1 month? Proration is set to none in the subscription update which ends the trial.
Hello, I am creating a checkout object with the following payload, but I don't see the custom field in the invoice that is generated. Does it work in test mode and am I doing something wrong? Any help would be appreciated.
{
"client": "web",
"mode": "payment",
"success_url": "http://localhost:5000/success?transaction_id=7258db00-2e20-1d31-b4ac-c338bddd4e91",
"cancel_url": "http://localhost:5000/cancel?transaction_id=7258db00-2e20-1d31-b4ac-c338bddd4e91",
"line_items": [
{
"price": "price_1Nz3gmDusMLDomPA3Cd9bi99",
"quantity": 1
}
],
"phone_number_collection": {
"enabled": true
},
"invoice_creation": {
"enabled": true,
"invoice_data": {
"custom_fields": [
{
"name": "prod-1",
"value": "BG - 1.14"
}
]
}
},
"customer_email": "xxxx@gmail.com",
"client_reference_id": "7258db00-2e20-1d31-b4ac-c338bddd4e91"
}
Hi, I am getting a bit twisted around with subscription phases and intervals. What I am looking to do is create a subscription that bills for 3 months upfront, then moves to monthly billing?
can we display stripe payment-element on popup?
Dear all. We've set up google pay in our store. Today confirmation from google received that it's active now. When I try now to pay it says "The partner has not finalized the google pay api registration. Any idea? Do we need to do anything after confirmation of google?
Are the any number to call to the team of stripe ?
how to re open this thread?
Is there any limit to transfer money?
creating a checkout session, how can I add some custom text to the stripe checkout page?
custom fields are editable
I just want to display a description there
why: because we do attach some important things to the metadata which are not reflected in the price, and it's important client has visibility on that in the checkout page
(we do have a credit based system, so we do some math to figure out the price), need to add "X credits included every month" to the checkout page
how can I do that?
afonsolfm
Hi, I've got one issue maybe someone will be able to help me with that, the point is about the code of my StripeWebhook Controller, inside of which if event type was checkout.session_completed then I'd have to set a payment method used in this checkout session as default one for particular customer.
The problem is, what inside event's JSON body I've got just two things: PaymentMethodId (starts with pm_) and PaymentIntent.Id (starts with pi_)
But the problem is, what in both scenarios when I'm trying to add it inside of CustomerOptions.DefaultSource parameter, and then Update this customer I'm receiving a weird error which says either of both:
No such source: 'pi_3Nze9fQn6iaCjmZ71XWaMTwa'
Or
No such source: 'pm_1Nzdu9Qn6iaCjmZ7cSE6ZA69'
Worth to mention, what I have an empty string inside PaymentIntent.SourceId
var paymentIntent = paymentIntentService.Get(checkoutSession.PaymentIntentId, requestOptions: new RequestOptions() { StripeAccount = stripeEvent.Account });
var customerService = new CustomerService();
var customerOptions = new CustomerUpdateOptions
{
DefaultSource = paymentIntent.Id,
};
Customer customer = customerService.Update(checkoutSession.CustomerId, customerOptions, requestOptions: new RequestOptions() { StripeAccount = stripeEvent.Account });
Does anyone have some thoughts on that?
manuel7014
Hey - me again! Is there a way to set up a pay out schedule based on amounts?
Hi. How can I set an Application Fee on an invoice that is used by a subscription?
I have doubt in Webhooks event
I have made the price as 2000. But when i queried the session id, its giving me 200000. Why is that?
Hi,
When I create a stripe customer with a test payment method, I cant retireve the payment method back when I retireve it, though it works with real payment methods.
const response = await this.stripeGateway.customers.create({
email: user.email,
name: paymentObj.payeeName,
payment_method: 'pm_card_visa',
metadata: {
// referral: 'referral_id' this should be uncommented when implementing rewardful in the UI
},
invoice_settings: {
default_payment_method: 'pm_card_visa'
}
})
console.log('before error')
const paymentMethod = await this.stripeGateway.customers.retrievePaymentMethod(
response.id, // Stripe customer ID
'pm_card_visa' // Payment method ID
)
console.log('after error')
Hi there, we're building a platform using "Separate Charges and Transfers" and "Custom" connected accounts. We now want to add support for bank transfers. The docs state, that we should create the payment intent with customer_balance payment methods (see https://stripe.com/docs/payments/bank-transfers/accept-a-payment?platform=api&invoices=without#web-create-and-confirm-payment-intent). However, we'd like to use automatic payment methods (see https://stripe.com/docs/connect/dynamic-payment-methods). And also, we want to keep showing our customers the Stripe Elements UI, where they can select Bank Transfer as a payment method. Is this possible, and if, how? We can't find anything in the docs. Thanks 🙂
Hello,
how to get these fees detail Amex, Pre-Paid Credit Cards etc from every payment intent
hi ! I can't connect in my account. I broken my phone and in same time I lost my google authenticator
We currently set-up PaymentIntent for the 3D security authentication. In our purchase process you first add a credit card and after adding you have to place the order. After adding the card the User gets the 3D verification pop-up and the user authenticates it. Afterwards when placing the booking Stripe goes from "Payment Started" and then "3D Secure attempt incompletev-The cardholder began 3D Secure authentication but has not completed it." However the authentication was already done when adding the card. Not sure if this is happening because we are on Test mode and using the test cards but it seems Stripe is requesting the authentication done twice once when adding the card and once when placing the booking.
Hey, I was looking to create a system (not sure what its called) where you text "puppy" to 3455 and make a $5 donation with stripe - a non-profit client is asking who has a stripe account. any help in the right direction would be greatly appreciated what is that framework called?
for anyone else interested - that type of marketing is called short codes - there is a $650 setup, and it costs $1000 per month. There is an 8-12 week incubation period... doesn't seem to be worth it... unless you have a 500,000-1,000,000 following.
sorry for my ignorance, I thought it was something easy to implement with stripe
Does Stripe no longer provide chat support once you long in? I am trying to collect a payment that was sent to me by ACH and having trouble receiving it
there is nothing on those audio clips, you may not be doing something correctly
With addition to my previous problem setting default payment method in StripeWebhook controller I'm now having an issue where I can see in Stripe Dashboard, what my code worked well and saved the payment method as default for particular customer. But the problem is, what if I'll try to use it 30 minutes later (Create a subscription) then I'll receive an error:
Stripe.StripeException (LW0SDLWK0008MX:75)
You passed an empty string for 'default_payment_method'. We assume empty values are an attempt to unset a parameter; however 'default_payment_method' cannot be unset. You should remove 'default_payment_method' from your request or supply a non-empty value.
Hi Team regarding #dev-help message
the link shared is to update address while creating checkout session
my case
- checkout session is created (customer does not exists previously)
- checkout session asks for address and process the payment
- i can see address details are there
issue how can i access that address when i receive checkoutsession.completed webhook
I am working on Subscriptions and have iDeal, Card, Apple Pay, Google Wallet all working. Now I am building a form for customers to update their payment method, it seems straight forward for iDeal/Card using: https://stripe.com/docs/js/payment_methods/create_payment_method
How does this work for Apple Pay & Google Wallet? I am using Express checkout element on the initial payment form
Hi, If customer with address ABC has a subscription the tax will be calculated based on the address ABC. the same customer wants to have another subscription with address XYZ. how can I handle this case, since the customer was created with address ABC?
Hello all,
I have created a subscription and
i am receiving pending_setup_intent as null
req_Ybb56nSD8ADYXR
Thanks
How exactly can I test payouts?
Payouts should get created when funds are available so I believe using these card numbers, 4000000000000077 and 4000003720000278, should allow you to test payouts quickly by having an available_balance on the account. I've edited the payout schedule to manual so that I can pay out the funds instantly from the dashboard. But for some reason when payouts get created, there are no associated charges or transactions in Stripe.
Hi, we have integrated our website with Apple Pay using stripeV3 JS. we want to reject/not process the transactions which are made by using the amex card with applepay. can you please help us knowing if this is possible to do it in stripe?
Hi, I plan to build an integrated stripe terminal-based simple donation app. And I don't want to use the Stripe Terminal SDKs. My question is, is it possible to build custom integration without SDKs and what is the role of connection token API in that case if I'm not using SDKs?
Hi
How long we need to wait for paymant to be clear
My last 3 transactions from 26th still dont show on
Hi, How can I create an account for payouts without using stripe.accountLinks.create?
const account = await stripe.accounts.create({
country: 'US',
type: 'express',
capabilities: {
card_payments: {
requested: true,
},
transfers: {
requested: true,
},
},
business_type: 'individual',
});
This will be used in a mobile app so I won't have return_url and refresh_url.
Is it possible to fill in all the necessary data at once without redirecting to the browser?
Hi all! I'm using simple pricing tables + webhook. I added metadata to my products, but I'm not receiving it in the webhook calls, it's only an empty object. I tried both payment_intent.succeeded and checkout.session.completed. Any ideas?
is it possible to list all mandates for a us_bank_account payment method? only thing I'm seeing is fetching a mandate by ID: https://stripe.com/docs/api/mandates/retrieve
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 it possible as a platform to control the payout schedule and stop manual payouts?
i am unable to see apple pay on real ios device but on ios simulator its working fine. I am using flutter platform and flutter_stripe package. I have completed all steps but still apple pay does not shows on real device
Hi there
I have some questions regarding issuing, treasury and react native stripe package
Hi I'm having problems when I'm trying to add the debit card details through my own form, anyone knows how to proceed? I asked for support but they didn¡t helped me. I wanted to create a link for users to introduce the card information through stripe hosted-onboarding, but i can't see where to create it
https://stripe.com/docs/connect/custom/hosted-onboarding
Hi team while creating checkout session in subscription mode
i added params.AddExpand("subscription")
but in created object for checkout session subscription is still coming null
and idea what could be issue
Pre S as asked earlier too: Im not using checkout I just need to initate a transfer of X amount from dynamic A (a user on our platform) to fixed B. Do I need to store the old details like cards after first time payment somewhere on files if yes where any flow is there?
When we are integrating stripe payment and adding one time payment, we create a subscription ID for user to make a payment and a session is created, does stripe store user's past payment history like cards for faster payments next time on that subscription id? If not how can I have this feature?
My app relies on the metadata I provide during the checkout session (php) in all following webhook requests (subscriptions updates and cancellations). For example, when a customer.subscription.cancelled is sent, I rely on my metadata.account_id to find my business account_id in my database (maybe this is bad practice?). Since at least the 27th of Sept, 97% of webhooks have been failing because Stripe is no longer supplying the account_id in metadata. Have there been any changes to how metadata works on Stripe's end? Also, I only got the email telling me about the failed webhooks yesterday at least 2 weeks after it started happening. Can I set Stripe to contact me immediately when a webhook fails? My database is all out of sync now...
Hey can we reopen this so I can ask a follow up question?
How do I test automatic payouts quickly without waiting 2 days minimum for Stripe to create the payouts for me?
Is there a way to correlate a checkout_session with payment object?
How can I transfer funds from stripe.accounts to the main account?
For example, a request was executed
stripe.transfers.create({
amount: 30000,
currency: 'usd',
destination: 'acct_000',
});
But now the user pays for something using his balance.
How can I deduct the required amount from the stripe.accounts balance?
Hey, we're considering using the Klarna payment method, is the 4.99% + 35p fee taken from the amount the merchant will receive?
If I create an invoice for a customer and set the days_until_due value to 0, it sets the due_date value to 23:59:59 UTC for whatever day that is.
How do I get the days_until_due mechanism to take into account different timezones? Is it always UTC, or can I set it to 23:59:59 EST if for example the stripe connect account that is creating the invoice is EST?
Hey team, I have a quick question about the email addresses listed on the payments page of stripe, In the payments page/tab, I see customer at the top that lists a email, and then there is another email listed in payment method called owner email. What is the difference between them ?
hopefully quick question about a card error I'm seeing in production... In some cases when I try to create a payment method via api call, the call returns with (402) Payment Required
I'm unable to reproduce this so far in the test account. Using any of the stripe test cards
Can someone reopen this please, the suggested solution does not work for me.
Hi, my team currently has Stripe V2 loaded in our web app via <script> tag, <script async defer src="https://js.stripe.com/v2/"></script>
but we need a feature that is only available in V3 API. Can we use the Stripe NPM package to get the latest version without needing to remove the V2 code? https://www.npmjs.com/package/@stripe/stripe-js
What's the best way to embed a way to add coupons in Stripe Elements? Can easily do it with Links, but seems like there's no clean way to implement it with custom Elements.
Hi, I have a working Stripe Subscriptions (billing) integration.
I'm working on adding Stripe Tax support now.
For context: I'm working on a SaaS app which only has recurring card payments.
I have a question about validating Customer's region/location for Stripe Tax purposes.
Good morning! We've temporarily paused billing on some subscriptions and are preparing to unpause them. I want to confirm that for those whose subscriptions have gone past their subscription end date I only need to unset the pause collection. Does this also reset the billing anchor or do I need to do that too?
Good afternoon, we as ANQR are their reseller of Restolabs in the german speaking countries. We sell a digital payment solution for the hospitality industry.
We have a problem, which is most likely due to the stripe configuration. Currently only credit card and Apple Pay are displayed in the Stripe hosted checkout. However, we do also need Paypal, Google pay, Klarna and so on.
We just switched all these payment methods on in the backend of the stripe connect account, but they don't show up in the stripe hosted Checkout of Restolabs (our system).
What is the Problem and how can it be solved ASAP? We are under some pressure as our customers need these payment options. Connect platform account: info@stacmag.com. Retail account: info@anqr.eu
Kind regards
Our app uses \Stripe\BillingPortal\Session::create() to get a billing link to which we direct the user so the customer can see invoices, add/change payment methods. We use invoicing for customer payments, and want to limit the payment method types a customer can select during that portal session. Can we limit payment method types available somehow in the API call? Or how else could we limit them? We want to allow card or us_bank_account only. (In testing, a user selected Link, which the docs say doesn't support invoicing.) Thanks!
Our customers have RuPay card and stripe doesnt support it. Any updates on this?
I need to speak to support team about the money which I is paid but I did not received it
I need to transfer money to two connect accounts with a 90/10 split. I need to account for the stripe fees and also to allow multiple connect transfers (each with a 90/10 split) for a single payment. For example, If I receive $200 in my platform account, stripe keeps $6.10 in fees. I need to make two 90/10 transfers to connect accounts two times... like this: $90/$6.95. If I add all these transfers plus the stripe fees I should get $6.10+$90+6.95+$90+$6.95 = $200. How can I do this programmatically where I can keep track of the fees (which are deducted from the 10% spread across all transactions). This especially is hard when the multiple transfers results in fractional pennies.
I've got a question regarding PaymentIntents being created but no event showing up for said PaymentIntent
Hello, I don't speak English so sorry for my English, I'm selling spices online for few amounts (for example: I sold an item 1,81€ and Stripe took 0,23€ commission), which solutions should I suscribe to don't be taxed by Stripe that much. Thank you in advance for your answer. I would precise that it's connecteed with Shopify.
I need help with verifying my account this is urgent
Hello there.
When I debit Express connected account and transfer money to another connected account
https://stripe.com/docs/connect/account-debits
https://stripe.com/docs/api/transfers/create
Does stripe collect some fees for such money transfers?
Hello Team, we are using stripe connect, the parent account we are using is in the hongkong region, we have a japan seller want to apply through our intergration, the account type will using express, we wanna ask if we use separate charge and transfer, and we charge the payment in HK dollar, can we transfer to this japanese seller through the transfer api?
Hi, we are trying to generate receipt for Refunds done through the Stripe terminal, But unlike the Charge Object, which has a payment_method_details object containing the emv information necessary for the printing of such a receipt. The Refund object doesn't seem to have such information
Hello! We would like to add a custom field to our product description. How can we do that? We want this to be separate from the description itself (only want in-house people to see it, not the customers)
Hello Stripe dev, I have a proiblem with my wix pay, apparently my account is connected to stripe though I cannot process any payments, what can I do?
good afternoon stripe devs, is there a way to put different events into folders so when payments come in from a large number of people it filters into that folder? Happy to add more context. I have hundreds of families that need to pay for their kids to attend an event. I need to have all payments go into one folder under the title of the event so i can easily see who's paid and what our overall total is for just that single event. At the same time I have a second event that payments will be coming in for with another large group of parents. How do i set up filters for each of these events so the money filters into a folder for the events so i know how many kids and how much we've made on the event?
Hi there Team, I hope all of you are doing well.
I have a question which may be a little bit silly, or maybe I am missing something important here.
When testing 3DS with subscriptions, we used the test 3D secured payment card and set off-session to true in both PaymentIntent and Subscription, however when subscription was created, payment is still marked as Incomplete. Why?
Is this because of the test mode even if we used the test card you provide?
Basically, we would like to have payment executed automatically in specific moment of time, without confirmation from the user (with
both payment methods we are going to support: cards and SEPA Direct Debit ).
Would this be achievable?
Thank you in advance for your support and guidance!
Hello folks, is the connected webhook also called when customers are created in the platform account?
Hi ! The billing portal configuration don't work when i use proration_behavior => none in features => subscription_update
Hi - I believe someone has hacked our business account and we are locked out can someone contact us to help?
Hi, we are using Stripe JS SDK's Payment Element and stripe.confirmPayment to process payments on our app. Is there a way to fetch the last 4 digits of the card from the payment element directly before processing the payment? Or do we have to fetch that from the paymentIntent after the stripe.confirmPayment call?
Currently getting an issue that looks like this when I try to use the "retrieve upcoming invoice" API with a coupon attached that has a duration of "x months".
And i swear I'm passing in an recurring stripe subscription. Can someone help troubleshoot? Thanks!
hi, i want to get Amex, Pre-Paid Credit Cards etc fees from every payment intent object
I'm trying to create a payment method of type "boleto" and it's giving the error message "The provided Brazilian tax id does not appear to be valid. Please provide a valid CPF or CNPJ.". The Tax ID with type br_cpf is being created and attached to the Customer but I cannot create the Boleto payment method
I've already tried real values and value 000.000.000-00
I using python with package stripe 5.5.0v
Hi channel! Is there any way to restrict card type (e.g. block Amex) for one Connect account but not another? So far we have only figured out how to enable/disable card types for our entire account, which would affect all of our Connect customers.
hello, I need to order my products based on your prices, I want them from cheapest to most expensive
const formatPrice = (unitAmount) => {
return new Intl.NumberFormat("pt-br", {
style: "currency",
currency: "BRL",
}).format(unitAmount / 100);
};
export const getServerSideProps = async () => {
try {
const response = await stripe.products.list({
expand: ["data.default_price"],
limit: 100,
});
const donationPlans = response.data
.filter((donationPlan) => donationPlan.default_price)
.map((donationPlan) => ({
id: donationPlan.id,
name: donationPlan.name,
price: formatPrice(donationPlan.default_price.unit_amount),
priceId: donationPlan.default_price.id,
}));
// this not working
donationPlans.sort((a, b) => parseFloat(a.price) - parseFloat(b.price));
return {
props: {
donationPlans,
},
};
} catch (error) {
console.error("Error fetching donation plans: ", error);
return {
props: {
donationPlans: [],
},
};
}
};
Hi Channel!
Probably really simple question but I'm struggling with products / billing periods. I need to set up products which bill a flat fee annually and a graduated usage-based fee on a monthly basis. Is there a way to do this using a single product or do they have to be separate subscriptions?
tb0742
Hey everyone! We are having a sporatic issue with the battery life of our interac machine. On Friday, it was plugged in while not being used, but dropping battery level. Apparently its not the first time this has happened and it’s a relativley new machine. Thoughts?
Hi everyone! I am setting up a nextJS page to accept payment using Stripe Elements via react-stripe-js. I am able to create a paymentintent successfully, but the status is status: 'requires_payment_method', and I am not sure how to access the data from the CardCvcElement, CardExpiryElement, and CardNumberElement. How can I do this?
Hi!
It's my first time using Stripe and I'm confused with webhooks.
Currently I'm creating a basic session like this:
const session = await stripe.checkout.sessions.create({
line_items: [
{
price: priceId,
quantity: 1,
},
],
customer: customerId,
customer_update: {
address: 'auto',
},
mode: 'subscription',
success_url: `${process.env.NEXT_PUBLIC_SITE_URL}/login`,
cancel_url: `${process.env.NEXT_PUBLIC_SITE_URL}/register/plan?status=cancel`,
automatic_tax: { enabled: true },
});
I need to check that the payment is valid before doing a Prisma update.
To check the validity of the payment I saw that I need to use create a call to a /webhook path in the back and check for the checkout.session.completed event.
The problem is that the examples always show this part in another file but I need to use it right after the creation of the session in the same file.
Is it possible to use the webhook in the same file ? Is there any other method to check the validity of the session ?
Hi,
I'm working on integrating Stripe Tax with existing Subscriptions (Billing) flows.
The only two fields I'm collecting for tax purposes are: ZIP and Country. I'm trying to ensure the user doesn't select a Country willy-nilly (or the one with low or 0% sales tax amount).
Is the following a good idea:
- Ensure Customer billing address Country always equals Card origin country.
- Enforce this with the following Radar rule:
Block if :card_country: != :billing_address_country:
I have a user trying to upgrade plans but they are getting an error that their subscription is managed by the subscription schedule and updating any cancelation behavior is not allowed. When I go to this user's active subscription, I don't see any sort of scheduled subscription, it's just a regular subscription. When I also go to the "Scheduled" filter view in Stripe (https://dashboard.stripe.com/subscription_schedules) I have zero results. Do you know what could be happening here?
Hello, I would like to know the best place where a stripe customer object should be made. Should the customer object be created right before a transaction or should it be created during the user sign-up process? I want to make sure that customer objects that are made, if they are made during the initial user creation are not being flagged due to no transaction taking place, since its not a guarantee that a user that signs up will perform a transaction.
Hi, we are receiving an error: "Reader is currently processing a transaction from a different integration mode." req_F3sVAiduHN9Znv
What does that mean?
are there any methods we can use to reset, refresh, or rerender the payment element so it goes back to the state it was in when it was first rendered on the page where it defaults to 'card' as the payment method type?
Can I create checkout sessions on behalf of connect accounts?
Hello ,is it possible to get payments done by a user to a stripe account through the stripe api even if that user is not listed as a customer?
when creating a webhook is it bad practice to create 2 webhooks one for account and one for connect with the same endpoint url?
Hello, I have this issue with a plugin I'm working on in PHP 7.4.33. The certificate is indeed in the folders, and it works perfectly when I add the following line 'CURLOPT_SSL_VERIFYPEER => false'. I'm only using it in development. Could you please assist me in deciding what course of action to take regarding this issue? Thank you.
ERROR:
Unexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com. (Network error [errno 77]: error setting certificate verify locations: CAfile: CApath: none)
Is there a way to use account link with stripe connect standard accounts to connect your platform to an existing stripe account? I am getting this error You requested an account link for an account that is not connected to your platform or does not exist when trying to use an existing account id. The docs kind of seem to say you need to use oauth instead but it seems like oauth is deprecated in some scenarios and not recommended?
Is there a way to authorize a preauthorized debit (acss_debit) transaction but NOT capture that transaction until a later date (ie. 12+ months later) using Stripe?
For context, we're building this for use in Canada, and it's being integrated to a Bubble.io web app.
I would greatly appreciate any help and advice you can share!
Hi! I'm trying to clear a TextField when a button is pressed and am following the guidelines around "uncontrolled" components. Nothing seems to work. I did try setting value={name} but that behaves precisely as the docs say, however I am confused as to how the examples get away with disobeying the rules?
My little app that does not work:
const [name, setName] = React.useState("World");
return <>
<StripeUI.TextField name="name" label="Name" defaultValue={name} />
<StripeUI.Button onPress={() => setName("")}>Reset</StripeUI.Button>
</>
};
export default App;```
What the docs say about uncontrolled input: https://stripe.com/docs/stripe-apps/how-ui-extensions-work#use-uncontrolled-components-for-interactions
What the example is doing that defies the docs: https://github.com/stripe/stripe-apps/blob/main/examples/send-mail/src/components/SendEmailForm.tsx#L42
Any help clearing a basic text box would greatly appreciated.
Hi, is there any way to set metadata on a payment_method.updated event that originates from the Stripe customer portal?
We have a marketplace and are listening to webhooks from connected accounts. We need to handle the incoming payment_method.updated webhooks on the correct marketplace subsite, and using the stripe account ID is not unique enough, since we there can be multiple websites that can use the same stripe account ID. We are hoping to set the originating site for the customer portal session as metadata on the payment method, so we know where to handle the event.
Hi there, We have a platform account where our customers have Stripe account through Stripe Connect. Recently a hacker logged into one of our shop's accounts, added their debit card as an external account for the instant payouts then initiated an instant payout to themself, stealing money.
We'd like to get the money back from the account they initiated the instant payout to. How can we do that?
Okay opened a case with support. Is there a way to charge a card that was added as an external account to a connect account though?
I tried crafting a payout intent charge to the card but got an error that a card has to be attached as a payment method to a customer
hi there
i mess clicked in my kick revenue account i put another country in place of mine , so different currency , and payment can`t be established , anyone has idea in how i can edit the country on kick revenue tab ?
in the Invoice API, I have the ability to "make an upcoming invoice" with these params. The param in question is susbcription_trial_end.
It says that it can be a number, but what format is that number in?
I need assistance updating my credit card information but it will not let me
hey, I have question about stripe elements and subscriptions.
so I use PaymentElement, not the CardElement and I create subscription when user submits the form. As I read from docs, subscriptions create payment intents and invoices for me.
and my question is: should I create the subscription on load and just confirm the intent on submit or i can leave as it is, sub creates on submit?
Is the Rentwell Stripe Demo (Connect example) on github?
Hello. This request (req_KVVFFjelUkdTcw) gave an error saying there was no card present but in the payment intent response there is clearly a pm attached to the payment that is a card. Is this a bug or or some other mis implementation by our integration?
A customer's free trial ended, and their payment is failing. Why is this happening? I am slightly worried
What's the difference between the discounts.coupon and the discounts.discount on Invoice Items?
Hi! After chrome update 116 to 117 I have an issue with autofilling payment details.
If the user chooses to use a stored card in chrome they'll need to enter the CVC. When they confirms the CVC the webpage refreshes and input values are lost. It actually seems like it does a post a submit of (the first?) form on the page after the user confirms the CVC in the built in chrome dialogue. This did not happen in earlier chrome versions. It does not happen if the user does not autofill. Anyone else experienced this? (Also happens in chrome 118)
Hey sorry, I dropped offline for a bit there. I don’t have an invoice item id specifically. Just reviewing the api docs to see how I need to set things up and I couldn’t really make sense of the difference between the two using the description given.
Is there a way to use stripe trigger {EVENT} and pass in a price id or product id so the CLI does not keep creating fake products and messing up the dashbaord with ambiguous products?
Hi there, I have a question I auto charge from US based customers for their weekly rents for automobile company I have vast customer base they are paying on auto charge method on weekly basis and I want to shift my customers base to new stripe account as I created a new website to keep the payments seprate because I run retail business too, So the question is how can I shift my customers to weekly auto charge payment on my account for first time
Hi there! I wanted to ask
Is the transactions Id unique for every transaction - regardless of user or institution?
I am new to stripe which is integrated in Searchie the platform I am using for my digital courses. Enrollment isn't open yet so I don't have customers. Searchie doesn't have the availability to offer the option of either a 1)single payment or 2) installments. Does Stripe offer this feature if Searchie doesn't? I need help!
I want to use connect, but when I try to create express account I only see US as an option, is it US only?
Hello, I have a problem with the payment SOFORT with Stripe: I have this error in the checkout: The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.
How do I use the payment element to update the default payment method on an existing subscription? Do I just create a new payment intent and use that client secret for the frontend, or is there a way to get a new payment intent linked to the existing sub? etc
Is there a format for the transaction id value like a regex I can use to validate the id is a valid value? https://stripe.com/docs/api/financial_connections/transactions/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When creating fixtures to test webhooks... how do we know the order to create the events? Does it matter? I have not found anything in the docs... yet
What do I do if I don’t have an SSN and I am an international student, am I available to get my payment info into stripe anyway?
i keep receive error of SSL peer reports incorrect Message Authentication Code.) Unexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com.
Hey guys,
I am building an encommerce site with stripe using nextjs + ts. I got it all working with the stripe webhook cli however I have just deployed and setup the hosted endpoint and I am running into an error: Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing
I have attached my code for the endpoint. Thanks
payment element
My google pay was there when I was debugging it yesterday, but it disappeared today.
What's the difference between the discounts.coupon and the discounts.discount on Invoice Items? I don’t have a specific invoice item in question. Just trying to setup an api call and don’t really understand the difference from the api doc text.
Hi, I have a webhook receiver on customer.subscription.deleted event, so I can sync with my CRM.
I am using subscription like Buy Now Pay Later, so giving my customers options to pay in multiple installments.
So even if subscription is expired it shouldn't remove those customers' access from my service.
We don't let customers to cancel the subscription, so only way to cancel the subscription is when we manually cancel the subscription up on refund request. I can see it fires customer.subscription.deleted
However, when the subscription reaches the expiry date, it also fires customer.subscription.deleted.
I need to distinguish these to in my receiver, so when it's naturally expiried I can bypass tasks in my receiver.
I found schedule parameter is empty when its expired thinking because there is no next invoice.
So is it safe use schedule and check it when I received data through webhook, and if it's null I can consider it as naturally expiried subscription? Or is there a better way?
Hi, I'm currently establishing a connection between a clients Woocommerce page and their Stripe account utilising the Stripe checkout component to handle payments. In Woocommerce the customer can select multiple payment options which may result in 1 invoice in Stripe, 1 Subscription in Stripe or a combination of both were the customer pays for a portion upfront as an Invoice with the remaining funds being paid out as a Subscription.
For our last example we're having troubles setting up the Subscription via API with our exact specifications, currently we can establish a working Subscription with the correct amount, frequency and the seperate upfront payment connected but we can't establish a custom Start Date + End Date. When reviewing the Stripe documentation we also couldn't find anything that allowed us to declare the Start + End Date when setting up the Subscription, based on what I have found it seems this flexibility is only available to the Schedule Subscription API.
e.g.
First payment: $200 taken on 1st of July
Monthly payment: $50 starts on 2nd of July
I just want to validate if we solve it via Payment Intent API + Subscription schedule?
Create payment intent where amount = $200
Create subscription schedule
start date = today + 1 month
amount = $50
Or can we use the Subscription API alone to achieve this?
hey everyone, i want to active the SEPA method, in Stripe it is active but I would like to know why I have the preview of stripe with this payment method, and not in my real interface
here is the Stripe preview
and here my real interface in Live mode
What is the best way to test the financial_connections.account.refreshed_transactions webhook event? the cli doesn't seem to have this as an event option?
some os my stripe api calls are returning stripe.error.APIConnectionError
with this message
(Network error: SSLError: HTTPSConnectionPool(host='api.stripe.com', port=443): Max retries exceeded with url: /v1/balance_transactions/XXXXXXXXX
what is this max retries? Am i getting blocked bi the rate limit? would that be a different error?
I am
gilson6429
hey i need help, im wondering if someone can forward me to the right direction
im after a service that's like picking an option out of 3 and once they do they book in a time
i know that stripe checkout work but will it pick the date and time
I put subscription end date eg sub_1NzST6Jr3N20QNXk69TGnwit
Hi there, I've got an error when a customer tried to pay the invoice using expired pi_secret_*. I started to investigate this case and noticed that the attempt (https://dashboard.stripe.com/acct_1Fh267Iy9a2FPdNs/logs/req_ZDpMdyg0supnvH) to pay the invoice happen one second BEFORE making the payment_intent cancelled. payment_intent.failed event: https://dashboard.stripe.com/acct_1Fh267Iy9a2FPdNs/events/evt_3Nzo57Iy9a2FPdNs218NOFqe
Does it mean that attempt to pay the PI caused it's cancellation and further error to be reported to the customer (This PaymentIntent's payment_method could not be updated because it has a status of canceled)
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.
I'm having an endpoint implemented im FastAPI server named /payment-webhook to receive the events from Stripe about the events. I am running it with an ngrok and provided the ngrok link to the dashboard. But i'm always getting 404 . Please help
POST /payment-webhook HTTP/1.1" 404 Not Found
Hello, Do you know how to debug what is going wrong in update-subscription API call? API is just returning "false" in my case when am trying to update the quantity. I am using node implementation.
Hello How can i create Two Customer portal , Currently we have 1 Customer portal that one we use for per unit subscriptions , i want to another Customer portal for stripe per seat subscriptions
Hello,
We're currently using Stripe Connect for our UK-based platform. While we handle GBP and AUD transactions smoothly, we're encountering issues when dealing with other foreign currencies, like NZD when trasnferring funds to our connected account. We've come across this situation,
Both platform and test connected account based in UK with GBP as default currency.
Error: "message": "The currency of source_transaction's balance transaction (gbp) must be the same as the transfer currency (nzd)", "param": "source_transaction"
Note: We are using destination charges with "on_behalf_of" parameter is null.
We'd appreciate your help in understanding why AUD transactions work fine, while others, like NZD, encounter problems.
hey i have request id can you tell me if this subscription is monthly or not like every month req_iuVEgDwqBYgbWs
Where can I find Stripe processing fees value so that I can set that value as my PaymentGatewayCharges variable
Hi, Stripe team, I am new to Stripe. I have question regarding how to handle payment postprocessing flow. For our case, we have some extra logic to run after user make a Stripe payment (e.g. increase quota, give credit, etc), if we want to have our UI wait for all these postprocessing step to finish before showing user "success" page. What are the recommened options to implement those logic? Thanks!
Hello, Im currently using payment element on my site. Mostly they use PayNow , a real-time payment method in Singapore, which will show QR code for customer to scan and pay. My question is when I call "stripe.confirmPayment" in Javascript, the return paymentIntent with paymentIntent.status of succeeses. Can I take this return result as sign of payment completed then proceed to deliver goods? but in document page also suggest using webhook to confirm payment status, which also check the status of paymentIntent. Are they the same thing?or have to use webhook ?Thank you.
hello I don’t quite understand when point 6 was called. In fact, clicking on Google Pay has already jumped away.
https://stripe.com/docs/elements/express-checkout-element/accept-a-payment
Hi, if I want to remove the payment receipt number can I do so? I don't want it to show 'Receipt #0000-0000' to make ti so that the customer does not know which customer number they are
May I ask a question, what are the UnionPay banks supported by stripe?
Encounter a situation where the payment interface of the Industrial and Commercial Bank of China is unresponsive. I don't know why.
,Hello!
In the "no code payment links" I have the following issue.
From user flow perspective my customers go and see the button "buy a diamonds" when they are in
"some_url.com"/company/123-456-789 (some uuid number)
I have the following issue
After clicking the button I am redirected to Stipe, you can confirm everything and all looks good, but the redirect always wants to be to static page. Yes, the "some_url.com"/company/123-456-789 (some uuid number) is a static page, but every time you want to be redirected to the "company_id". How can I send the company_id and then my redirection to know which company you've come from?
I have real a url, just don't want to show it, if need I can share it
hi..Is it possible to test Google Pay with an real card in a sandbox environment?
or Do you have any testing information?
Hi. I have created a paymentIntent for an existing customer who has a saved payment method for a subscription. It is processing the payment but not including the tax. I have Stripe Tax enabled on my account. I can't see a parameter for automatic_tax in the api documentation for a paymentIntent. How can I get it to add the tax onto the amount (if required)?
Hello when creating a custom connected account do we need to create a person representing the relationship to the account ? and do we need to help you guys verify the person and account separately or by handling custom connected account verification that would be enough ?
Hi, is it possible to change the invoice title "Invoice" to "Tax invoice"?
I'm in malaysia, the connect doc says my country platform cannot collect application fee from foreign account, is this only on express account or all? is there alternative for me to collect application fee for let's say US connected account?
Hi all, I was checking on creating multi-year subscription but sadly saw that Stripe doesn’t support that out of the box due to their agreements with their banking partners. Is there any workaround to make multi year subscription using Stripe?
Stripe isn't support in Myanmar. How can use it for my business?
Hi Stripe moderators.
2 Questions about payment element payment methods that require a redirection.
- We have set the
return_urlinconfirmParamspassed toconfirmPayment()and it seems to work fine for the success/authorize case. However we want to add another URL to redirect to if the payment fails. How do we do that? - When we get redirected back to the merchant site after a success/authorize event, it looks like the payment intent id and the intent secret are appended automatically by stripe to the
return_urlas query params in the URL. How can we avoid that?
On creating a checkout session object, i'm setting 2 values inside metadata like
metadata={
"planId": request.plan_id,
"userId": "coming shortly"
}
but when i try to retreive the line items , i get empty meta data .
line_items = stripe.checkout.Session.list_line_items(session['id'])
why is like that? I have made sure that values are present are while setting up the metadata
Can I set metadata for invoice that will be created because of subscription update?
Hi I have a question about using payment intents with Bacs payment method and payment intents in general: Should I confirm the payment intent when I create it or is it not needed?
hi what is "applied balance"?
Currently i have Customer portal with per unit subscriptions for restaurants type account , but i want another Customer portal for per seat subscriptions for hotel type account , how can i setup , current problem is per seat and per unit is combined , problem reference like no.3 image
Hey team, I am trying to create a Stripe Connect account through code but I am getting this error " You can only create new accounts if you've signed up for Connect, which you can learn how to do at https://stripe.com/docs/connect ", please help me on this.
Hello
tymm
Morning! How can i remove address country/zip from a payment element? I'm using:
const paymentElementOptions = { layout: "tabs", billingDetails: { address: {'country':'never'} } };
Hello everyone, in the backend, I am generating a PaymentIntent using the Java SDK so that it can be paid with Stripe Elements in the frontend. Unfortunately, after a successful payment, I only receive a payment receipt but not an invoice. Is it possible to generate an invoice along with a PaymentIntent?
How do i get invoice from creating a paymentIntent
its null if I create a payment intent
hi. Does Google Pay also require domain verification?
Hey everyone,
I'm observing a regression of the stripe webhook events.
Historically the checkout.session.completed was sent before the invoice.paid. It seems that it's not the case anymore.
Can you please let me know if that's a known issue. Or it's expected.
Many thanks
Hello, I'm looking for some feedback when designing my subscription system.
In essence, we have two different tiers of subscriptions and then you should be able to add "add-ons" as well.
Subscription tiers:
- Free
- Team
Add-ons:
- Extra seats
- Extra locations
From documentation I can think of two different routes (please correct me if there are more/less):
- Different subscription objects for each
- Multiple plans in a single subscription
Pros and cons per route:
Different subscription objects for each
-- Messy and error prone customer portal (manage subscriptions) because you can swap from Team tier to Extra seats subscription, and vice versa. I tried removing the add-ons as swappable options, but then you can't edit the quantity of them, from what I can tell, and you can still swap from that to a tier subscription (despite already having one).
++ Enables separate billing, which we do want to be able to support
Multiple plans in a single subscription
-- No separate billing, especially bad if you want a yearly subscription for the tier, but monthly for the add-on
++ (I have not tested this route so far, but I assume that the customer portal supports it)
My conclusion:
- Custom customer portal UI (and backend logic) OR no separate billing
Have I assessed the routes correctly? Have you done it another way? Please share your thoughts with me 🙂 Thanks!
Hello, I'm looking for future payments
But having an issue when trying to confirm payment Intent.
As I don't have PaymentMethodID
Hi, I'm trying to customise an API portal so that customers can change their subscription.
It works very well except for the proration_behavior parameter.
What I'm trying to do :
the customer has an active subscription that will be renewed on 10 December 2023. I want the new offer to start on 10 December 2023 when he changes offer in the portal.
I've added the proration_behavior parameter to the subscription_update feature in the portal configuration but that doesn't change anything.
Hi! I have started using Rewardful, and have been asked the following: "Add this function directly above your existing Stripe Checkout code". It's for the Client-Side of Stripe (not server-side). Any ideas on where to add this in the Dashboard? It's just a short snippet.
Hello
Hey, there is a way to import customers in bulk? I need to create 15k customers into my platform account and I'm not sure if I can do it simply spamming the API
I have one doubt in webhooks event
I created a stripe configuration to show a single plan and price to a user.
This is the configuration id bpc_1NzeOiJIX39BcHBWqiBvFP6B
When using this configuration, the customer portal doesn't show any plans.
I tried to retrieve the attached plans to this configuration but the configuration object is not showing the product id and plan id.
Can someone help me please?
Thanks in advance
Hi. A simple one. From the Stripe Dashboard, in test mode, how can I start a Dispute process to test the webhook events?
hi! When paying with Google Pay, is there an response item that lets me know that the payment was paid with Google Pay?
Hi I'm having some problems with the implementation of stripe in my App, I have sellers and clients, the sellers have to create an account (CUSTOM), and I want that the clients pay to this accounts through a Stripe Hosted Checkout, but I can't see in the docs a checkout to pay through debit card directly to the account of the seller, I don't know if is possible to automatic create payment link with the id of the seller acount to receive the money.
The only I have seen is that clients must to create an account like sellers, and add balance and after transfer to the seller account, I don't want the clients to create an account.
I want a link like this but I want to pay to an account acct_ ....
https://buy.stripe.com/test_eVa3do41l4Ye6KkcMN?prefilled_email=jenny%40example.com&prefilled_promo_code=20off&locale=de
Good Morning, I wrote this message yesterday as well. We as ANQR are their reseller of Restolabs in the german speaking countries. We sell a digital payment solutions for the hospitality industry.
We have a problem, which is most likely due to the stripe configuration. Currently only credit card and Apple Pay are displayed in the Stripe hosted checkout. However, we do also need Paypal, Google pay, Klarna and so on.
We just switched all these payment methods on in the backend of the stripe connect account, but they don't show up in the stripe hosted Checkout of Restolabs (our system).
What is the Problem and how can it be solved ASAP? We are under some pressure as our customers need these payment options. Connect platform account: info@stacmag.com. Retail account: info@anqr.eu
Kind regards
Hi I have a simple question, regarding the balance transaction object, is it possible to have more than 1 item in the fee details. Read the doc and it says fee details.type : type of the fee, one of: application_fee, stripe_fee, tax. Does this actually mean the array content would at most contain 1 of the 3 types given?
I would like my customer to start a recurring payment with Sepa Direct Debit on october 22nd . Is it fine to create a checkout session today (/checkout/sessions/) so he can enter his IBAN, with subscription_data[billing_cycle_anchor] = Oct 22nd and subscription_data[proration_behavior] = none ?
Hello devs i am not able to redirect to checkout page can anyone help me with it
This may not be the right place to ask, but I can't seem to find any place to enable chargeback protection when not using Stripe Checkout. I can write whatevers necessary manually in my checkout, but can't find any docs related to it
Hello
hello.
When I created a Stripe Customer, I put the id field in randomly as shown below, and the actual Customer's id was created with the value I set.
However, when I look at the official documentation, there is no way to add an id, is it possible to use this feature?
API Document
curl https://api.stripe.com/v1/customers \
-u sk_test_asfd: \
--data-urlencode id="901018"
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
During my testing, I found out that payments from "blocked cards" does not go through payment intents, but why does it pass through the card setup intent process?
hey...
i checked all these points still getting link is not showing
Link isn’t visible in the Card Element if:
The parent container that the Card Element is mounted in is too short in height or narrow in width to display the Link button.
The Card Element is displayed on a browser that doesn’t support pop-ups, including in-app browsers. View information about supported browsers.
The Cross-Origin-Opener-Policy is set to same-origin. The Link pop-up must communicate with the page that opened it, so Link in the Card Element isn’t compatible with configurations that block this communication.
and it is showing in the single line Card Element but not in split Elements
I need help!! Someone’s hacked my stripe account and changed the email address and details associated with it so I now cannot login and I’m scared they are taking all my payments for work
Hi
I need to allow users to upgrade or downgrade their subscription with stripe API. is there a way do this without cancelling the current subscription and creating a new one?
and what are the webhook events we need to handle?
Good morning guys, i have a question. I have an annual subscription and after i want to add an extra annual product to subscription. How can i charge current year and not on subscription renew?
How does tax collection takes place when using stripe in us , wil tax be collected automatically from user based on state he is in or do we need to manually add it and if we have to add it how do we go with it ?
Hi there,
I have 2 questions
-
Our clients are telling us that they are not recieving a invoice when their subscription renews, are we able to check if this is turned on for them?
-
How do I generate a invoice in USD not GBP? Don't see a option to switch when I do it
Hi Stripe team, I'm trying to debug this error (I'm testing locally on my machine with testmode secret key), do you know what could be causing this error? could it be a config issue?
Input: (in screenshot)
Error:
param: 'currency'
rawType: 'invalid_request_error'
statusCode: 400
type: 'StripeInvalidRequestError'
message: 'The currency provided (usd) is invalid. Payments with customer_balance support the following currencies: .'
docs I followed:
https://stripe.com/docs/payments/bank-transfers/accept-a-payment?platform=api&country=US#web-create-and-confirm-payment-intent
Hi team, When making a payment using Ideal, page is refreshed in Firefox browser alone. We are rendering Ideal payment elements inside a form.
Can you kindly aasist
I am facing this error
Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.
hi, i'm attempting to create invoices using destination charges with stripe connect so the connected (express) account would be the invoice issuer. the documentation says to use the create invoice api, however we're using quote create/finalize/accept and don't do it manually in our backend. how can i achieve the same result with using quotes? do I just update the invoice after we receive the invoice created webhook or is there some other way?
Good afternoon, I can't enter to my stripe account, I change my mobile but i forgot to change it before in stripe, and I don't use my old mobile, so I can't enter to my account
Is it possible to use the stripe customer_id in the embedded pricing table? I ask because if users buy from the price table a new customer_id is generated, even if they already have one.
My expectation is that using the customer_id there will be no duplication of data.
Good morning guys, I have a question. How do I activate the webhook in production. I managed to go through the entire process in test mode. But for production, is it just a matter of adding the server-side endpoint? But how do I run it on the server? Do I need to give the stripe listen command with the api link?
I'm trying to confirm payment intent but getting an error "No Such payment method"
So i'm removing country/postcode fields from my payment element so I can just show card fields only, however this is now erroring out with If you opt out of collecting data via the payment Element using the fields option, the data must be passed in when calling stripe.confirmSetup
The last time I integrated with stripe (albeit a while back) I was able to get away with just card/expiry/CVC - is this a recent change or should I look to use another approach than the out of the box paymentElement implementation?
Small question, what API's i need to use to send amounts from platform account to connected accounts.
Hello, I have an unexpected behavior when updating a subscription with schedule. Here's how it works:
Hey everyone,
Is it possible to RESEND a given webhook event from an API call ?
Looking at the doc it's possible via CLI, via the stripe interface, but can't find anything using API calls.
hi! if i use Apple Pay, is there anything that needs to be done differently from other payment methods?
Suggestions for a route within the functionality of Stripe for our specific use case.
We are building a subscription builder for pet food. People can configure their box and get it delivered once or every X weeks. We want to use Stripe upsells as well and the hosted checkout with delivery address.
What is the best way to handle this? Should we create a one time / subscription checkout or use the setup route and charge the customer from our application?
hi, i'm not able to add additional required information to a connected express account in test mode. when clicking start it will just redirect back to the dashboard and i wasn't able to do it via an api either
Hello. Im implementing 3DS in my app. Im creating and confirming a SetupIntent for the test card 4000 0025 0000 3155, which says This card requires authentication for off-session payments unless you set it up for future payments. After you set it up, off-session payments no longer require authentication. Im not providing the usage parameter for the SetupIntent, so it is using the default one, which is off_session. The docs say off-session usage covers on-session usage as well, so Im expecting any on-session one-time payment made with that card to not require 3DS, but after the setup, the payment intent Im creating from code doesnt succeed right away, instead it is returning with requires_action and requiring 3DS anyway. Nevertheles, using that card for a subscription works perfectly and invoice charges succeed without requiring authentication. Im I missing something when creating the SetupIntent / PaymentIntent? Or is it just that THAT specific test card will always require 3DS for payment intents created by our server?
anyone know if there is still a magento 1.9 plugin/module available?
cool !! Thanks
hmmm I guess I am blind, can't find the download
oh have it
Hi dears,
Does anyone know how to detect whether a GooglePay is available on the device or not without presenting the payment intent?
I really struggling to detect a GooglePay is available on Android devices.
Hello, i am facing issue with connecting to NFC in iphone using stripe. but couldn't connect it. i am facing the issue with the follwing error, any quick response. most appreciated. sorry for confusing with my previous query, the log showing "connecting to bluetooth reader failed" was my debug print. Thanks in advance.
Can I attach a customer after the paymentIntent has a status of "succeeded". What I want actually is after stripe.ConfirmPayment() has been called in the frontend, it gives me a return url which has parameters like paymentIntent and clientSecret using which I want to attach it to a customer and save card for future use
I want to start with a very basic/simple shop so I only want stripe to handle the payment. What events should I select for the webhook, only everything under transfer?
when creating a checkout session, is there a way to set meta data for each lineitem?
I just want o accept payments, I have a magento store
Hi @copper reef,
I was afk. would you please open my threads please?
how can i enable paypal in stripe payment gateway, it not showing on the stripe dashboard?
@vocal wagon I created a thread for you, please use the thread and help us keep the main channel clean
Hi everyone!! I need some help, please. I understand that the status of a subscription changes from "incomplete" to "incomplete_expired" after 23 hours if it was not possible to make the subscription active. However, I don't understand what makes it change from "incomplete_expired" to "past_due" or "unpaid". Would it be a deadline? Example: after 3 days or would it be by number of payment attempts or what?
Hello, I was created subscription for 1 year for the customer. And interval is month for 12 months. My concern is while creating a subscription first month payment deducted. Instead of that I want to deduct payment after every month completion.
Thanks in Advanced.
Hi, whats best app to use for POS payment for stripe?
Hi there, I need some help with creating a payment_intent through checkout and extending the expiration date. Is this the place?
why mandate: null after creating a setup intent even when mandate_data is provided?
Hi, I need some help on understanding the subscriptions api in a better way. I have some questions that I need answers for.
[RESOLVED]: one must set the shipping param while creating the PaymentIntent in order for BNPL (Buy Now Pay Later) options to display on mobile.
[Original Message]:
Hello lovely people! I'm struggling to start accepting Affirm / Afterpay (buy now, pay later) for mobile (React Native), on web it's working fine, on mobile the options simply don't show even though the PaymentIntent function is shared between the 2 platforms (same function), and the PaymentIntent object for the incomplete payment does show those methods as available. I'm using API version 2023-08-16 so automatic_payment_methods.enabled = true should not normally be needed. I described the details here: https://github.com/stripe/stripe-react-native/issues/1531
Hello developers,
I'm working on an application in which service providers will register and provide their bank information. Similarly, customers will also register, access services, and make payments through the system. When a job is completed, we want to transfer the amounts to the service providers.
So, the main point is that I need to collect payments from the customers and send payments to the service providers. How can I achieve this using Stripe?
Hello guys,
I want to validate if the Stripe credentials like public key, private key, and endpoint secret that the customer gave me are correct using API calls.
Do you have any suggestions or a reference to search?
Hi there! I need some help again. The "incomplete" status of a subscription appears only at the first invoice that requires an action or whenever a subscription is renewed? I asked that, because I didn`t really understand the difference between "past_due" and "incomplete" status. Could you explain this?
Hi I am working on integration with stripe subscriptions, for example a subscription renew every 30 days , if I created a subscription on
Oct 10, 5:36 PM and the current period becomes Oct 10, 5:36 PM to Nov 09, 5:57 PM,
is there a way to change the time regardless of the date to be 11:59 PM ?
hello, I have checkout flow set up with my e-commerce website but it doesn't automatically update the tax after typing the shipping address in the checkout flow. this is the session code: const session = await stripe.checkout.sessions.create({
payment_method_types: ["card"],
automatic_tax: {
enabled: true,
},
billing_address_collection: "auto",
shipping_address_collection: {
allowed_countries: ["US", "CA"],
},
line_items: lineItems,
mode: "payment",
success_url:,
cancel_url: ,
});
Hi, can tax rates in subscription be updated?
hey yall, very noob question but
i have products, and I have coupon codes, but stripe elements does not display coupon input, is there any way to make elements capture coupons?
What is the best way to fetch the subscription associated with a PaymentIntent? Is it by looking up the Invoice? Do PaymentIntents associated with Subscriptions always generate an Invoice?
Hello, i have a problem on my stripe, i can't go to checkout anymore because im getting api errors
Hello, when using Stripe JS, is there anyway to add a card holder name element by itself or can you only add the full billing address? If the latter is true, can you only add a name to the card by updating the card after it was created, since the name can only be passed within the token when the card is created and without a name element, it won't be added? https://stripe.com/docs/api/cards/update
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, we have a use case we're trying to handle.
Context:
- We are a subscription based service. Each subscription uses multiple products
- We use a third party platform to calculate tax. They do this asynchronously after invoices come in to Stripe
- Our current signup flow is:
- User goes through out checkout and sees estimated tax
- We create a draft invoice (without charging)
- Our third party (within 1 minute) adds the tax as an invoice item
- We charge the person
Why is this a problem?
- If someone's card is a valid payment method but cannot handle our charge, they will be further in our checkout flow before they have a charge failure
What solutions did we consider?
- We would prefer to use the Stripe payment intent hold feature, but this doesn't fit neatly with the Subscription model since we need this to count as our first payment and have the invoice tied to our subscription for analytics/etc
- We are considering blocking the user at our checkout until we finalize the invoice and charge them, and immediately asking for a new payment method if it fails. This seems pretty hacky and would require us polling our backend or using websockets waiting for the invoice to finalize
Help I need:
- Are there solutions to place a hold on a payment method for a subscription plan?
- Are there other solutions or workarounds that people use for this use case?
Hello! is there a setting so that what my customer paid is automatically paid on the dropshipping page and my profit is sent to me?
Hello. I am using Stripe with payment links from my website, no API skill. Is there a way for Stripe not to autmatically calculate Tax based on location as all of our customers are in the UK
Hi All,
Hello, I'm trying to update a connected accounts paymentIntent description. The commands i'm running to retrieve said paymentIntent keep coming back as No such payment intent
I am having an issue when integration my Klarna as local payment method but it keep on saying usd as currency not supported while it shows usd on klarna
I have activated both Afterpay and Klarna on my stripe account
Hello, I would like to get solution for settng up payout of funds to normal bank account for my app users in India.
I have a wordpress website and i am unable to integrate klarna as payment method for my .com site and i am keep on getting error message that usd is not supported
hello i have a webhook event for a customer that i delete from everywhere but the event is still resent it and still failling how can i stop the specific event for this specific customer ?
What should i do to correct this?
@gusty salmon please keep new messages in the existing thread that we created
Am new to stripe and have received a few reports from customers of the bank placing more than one pre-auth on a card. Can someone help me sort out what is happening
Hi guys, I'm using the payment sheet in my React Native app using react native cli. In my test environment I can't save the test card and I need to enter it every time I test... is there any change needed on the client or server side so that I can actually save it?
Hello! When a payment element is rendered, and the options that we pass to it change (using the deferred intent flow), we are noticing that the payment method type that is previously selected remains the same. Even if we destroy and remount the payment element, the newly mounted payment element has the same payment method type as the previously mounted payment element, so it appears as if there is some kind of internal state of the payment element that is being persisted perhaps through the elements instance... I am wondering if that is the case. If there is a re-render or re-mounting, is there some way to get an entirely new payment element that does not have any state from the previous payment element?
Hi, I'm building a web app with Javascript SDK. Currently transforming Javascript SDK to vue component. I'm taking help from quick start example(https://stripe.com/docs/terminal/quickstart). Now I'm facing some issues.
Hello! I am working on setting up payment collection via the Stripe API and a payment element and am getting the following error:
The provided setup_future_usage (null) does not match the expected setup_future_usage (off_session). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.
My approach pretty much follows the Stripe Custom payment flow docs (https://stripe.com/docs/payments/quickstart) except instead of creating a Payment Intent directly, I'm creating and invoice, adding an invoice item to it, and finalizing the invoice. Then I pull the Payment Intent off of the invoice. I don't see a way to set the setup_future_usage option when creating the invoice so is there another approach I should be taking? I'm creating an invoice and invoice item because it's the only way I could figure out how to charge someone based on a Stripe Price + Product as opposed to just passing the amount to the paymentIntent creation.
Hello Stripe. I think theres something wrong with the stripe js library. I have a next JS app, and a customer doesnt get redirected to the thank-you page i set as redirect url
hello Stripe! We are implementing stripe with salesforce b2b, can you point to a guide on how to set it up with salesforce b2b LWR checkout components natively? We are hitting a compliance issue as credit card information is sent via salesforce API now and are wondering if we made a mistake during the setup
Hello,
I just continue the discussion about my problem because de the discussion has been closed .
But all the API call doesn't give the prod_ID ... coupon, promo ... impossible to get even if the coupon object seem to show the applies_to , its only working on the create but not the get...
Any other solution i'm missing... currently i'm using the metada in the creation but i can't add metadata directly in the stripe interface...
Thanks by advance 🙂
Ps : thank you bismarck for you first answers.
Hello,
i'm trying to get the sales data from the Stripe Dashboard via the API. The data which i need are: Gross volume, Net volume from sales, Recurring Revenue per Customer and spend per customer.
I tried to do it with stripe.Balance and stripe.Payout, but the result is not the same.
Can you tell me, how to get them via API? Thank you! 🙂
Why do the TS types for Stripe SDK say the parameter off_session when creating a payment intent can either be a boolean, 'one_off' or 'recurring' but the API docs say nothing about the last two? What do they mean?
hey stripe dev im creating a customer with the api and setting every thing the return oof the api is a customer object with the name in it but when i see on stripe its undefined undefined , HELP
Hi, I have the same question as here
#dev-help message
From the api:
The parameter `settings[payouts][schedule][delay_days]` may only be used on Custom or Express accounts.
Everything is the same as in that question - I can try to edit the schedule in the UI, but have no delay_days. Wondering if anyone here found out how that person's issue was resolved. Thanks
acc id: acct_1NuGKYCakgr2bnc7
req: req_IMjUbD24AocXBJ
hey guys, I need this resolved immediately, and not within 1-2 business days. Thanks
Hi, im testing a suscription api using the code that Stripe provides, but when the checkout is completed it gives me a lot of "No signatures found matching the expected signature for payload." Is that normal?
I’d actually prefer to be helped here and now before I get my lawyers involved thanks
@copper reef Thanks for the lead, though it was not the defaultShippingDetails on the PaymentSheet, but the shipping param on the paymentIntent.create, and that resolved the issue, thank you so much!
Hi, I have one question, if I don't set success_url when I create a checkout session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-success_url, then what page it will show after payment is complete?
Hi there,
I hope you're all doing well. I'm currently working on integrating Stripe into my Django application to manage user subscriptions. I've set up a view that redirects users to the Stripe payment page, and I'm handling the checkout.session.completed event successfully.
However, I've run into a challenge when it comes to handling other event types like customer.subscription.updated and invoice.payment_failed. Specifically, when a new user makes a payment, I'm encountering an error since they aren't saved in the database yet. Everything works fine when an existing user updates their subscription.
I'd greatly appreciate your insights and guidance on how to handle this scenario effectively. How can I ensure that new users are appropriately processed and added to the database?
Thank you in advance for your assistance. Any suggestions or best practices would be highly valuable to me.
Best regards, Lauri
Hello Stripe Support
Is this possible that a payment source is automatically created by Stripe?
Attached is a screenshot of the webhook event customer.source.created
https://share.zight.com/mXuv1o0r
Is there a way in the API to close or cancel a connect account? On my platform, I have each user get a customer id and an account id. I give each user the ability to delete their account and all their database items from my site. If they have a connect account and it is still open after deleting their account (which cannot be recoverable), shouldn't that connect account be closed or cancelled and what happens to all their payouts and taxes?
Hi team! If integrating with apple pay, is there a way to have access to their billing address or is that not available with apple pay payments?
Hi,
I need to access the plan value that returns from the webhook, I'm using '$plan = $event->data->object->lines->data->plan;'
I believe it's not working because data is an array, how do I access it and get the plan switch to get the values inside?
Hello, is there a way to resend a payment intent for testing purposes on live?
Hello! How do I add Klarna to my shopify store with stripe? I can only see Card although Klarna i activated in settings ?
my thread got closed while I was at lunch? Can I get it reopened?
Sorry to ask the dumb question but how do I correct this Apple Pay error: "Either you do not have a card saved to your Wallet or the current domain (staging.example.com) or stripeAccount parameter (acct_1O04mYAG6BxABBVs) is not registered for Apple Pay." Some notes: This is in test mode, is in the context of Connect, is using an "anonymous" account, and in test mode if I go to Settings > Payment Method Domains staging.example.com is listed. It looks to me like Apple Pay is defaulted on and if I go to production it shows Apple Pay as an option.
Is there a way to share out specific Sigma custom reports (that we build) to connected account users so they can run them themself?
Hi there! I need some help! It is possible to create a Custom URL for Affiliates?
Each affiliate (person) will receive a personalized URL that can be shared on their digital media and other promotion channels. This will allow them to sell the products or services through their own marketing strategies.
Hi i there ! Need some help ! I need a legal registered buissnes ? for stripe or is ok if i dont have a buissnes just for using stripe.
Hi, trying to make the CLI work... getting a The provided key 'rk_live_*********************************************************************************************X3j9Hh' does not have the required permissions for this endpoint on account
Hey. I have a problem with my account balance. My card balance is a negative amount. This is because the billing for the connected accounts is going to the card balance, but we are only doing ach transactions. What is the best way to zero out this balance ?
What's the recommended way to migrate subscriptions from another provider where the user has already paid for the current term? e.g. sub already started on Oct 2, I want the subscription to be active in Stripe but to only charge the user for the next monthly term on Nov 2. I looked at using subscription schedules with a start_date but this seems to immediately create an invoice for Oct 2 - Nov 11
Hi, I'm posting this here because it took me a long time to figure it out. Hope it helps someone else.
Keywords: subscription, schedule, phases, phases[0]
Even if the Schedule contains several phases, always update by sending the current phase to index 0 and then the subsequent phases.
Example: the Schedule object has already 4 phases. Phases A and B have already passed, C is the current phase and D is a future phase. To update the object, send an array of phases with index 0 for the current phase (C) and index 1 to update the futur phase (D).
If you try to update a phase that has already passed, you will get an error.
Hello helpful folks! Anyone knows why in Elements (web) or in PaymentSheet (mobile) the Buy Now Pay Later payment method Afterpay does, while Affirm does NOT present the user with a shipping details form?
Discord is currently having issues, so we've closed the channel temporarally until normal service is restored. See https://discordstatus.com/ for details.
Channel is reopened for now as things seem to have stabilized, thanks for your patience and sorry for the confusion!
Hello! I'm wondering if the functionality to share long-lived payment links for a subscription is supported via the API. I would like to email these to customers of free trials when they are going to expire. https://stripe.com/docs/billing/subscriptions/share-update-payment-link
Hello! Is the fact that visitors to my site are able to retrieve the price id a problem?
Hello!
Could I please ask with some help debugging this transaction? When we search for it on the search bar it shows as successful but when you click on it we get an error.
Hi there,
Been getting "Your card is declined" Error from trying to attach payment methods to customers.
Relevent payment methods involved:
pm_1NzrBbKmFH2KDX0V6fSlttln
Request:
req_Tq3sOHISX7giSx
I'm following this guide here, and essentially using:
import stripe
stripe.api_key = "stripe key"
stripe.PaymentMethod.create(
type="card",
card={
"number": "4242424242424242",
"exp_month": 12,
"exp_year": 2034,
"cvc": "314",
},
)
Then
import stripe
stripe.api_key = "stripe key"
stripe.PaymentMethod.attach(
"pm_1O07Dg2eZvKYlo2Cedms3zdj", #Example payment method id
customer="cus_9s6XKzkNRiz8i3", #Example customer id
)
The issue is that this happens very sporadically, and we are sure that the customer's card should have enough fund and is available.
Is there any suggestions to why this could have happened?
Would you be able to check for me for more information around that particular payment method with ID: pm_1NzrBbKmFH2KDX0V6fSlttln
And the request req_Tq3sOHISX7giSx (Why it failed?)
Thanks so much!
what stripe charges for each ACH paymemt ?
Hi,
I am trying to debug why Apple Pay is not showing up using Stripe Elements. I have it enabled on Payment Methods and added my domain correctly. Other wallets like Cash App and Google pay show up. Tried the troubleshoot page, but its not listed as a reason why it's not displayed. What am I missing?
@crimson needle I’m afraid thst’s not the case, both appear to require address info… If I submit Affirm with the state missing, I get an error stating it’s missing, even though it never asks for it, Afterpay does.
Hi!
I am using stripe connect to onboard contractors so we can issue payouts/transactions.
We have a subset of contractors in the Philippines that are trying to use our connect.stripe to onboard, but the address is locked to united states, and it requires the last 4 of their SSN, which is a US thing.
Regular support says that it should be possible for them to use stripe connect, but that's not the experience our contractors are having. Can someone help me figure out a solution for them?
Need help with an error code 400 invalid request error.
👋 ❓ Looking for clarification on the topic of Subscription statuses transitioning to paused. Are the any transitions to the status that are automatic? If so, how?
Hello, can we use UPI in stripe ?
Hello, we are implementing Buy Now Pay Later for all of our connected accounts. When testing out Affirm and Afterpay, we are being redirected to a Stripe Test payment page when we specify the on_behalf_of parameter. However, with Klarna it works as expected. If we do not specify the on_behalf_of parameter, we are able to access the Affirm and Afterpay sandboxes. Is this expected behaviour with connected accounts?
Any freelance developers on here who can help us with some advances stripe checkout features
Hello, I had a transfer to my account scheduled for today but it didn't arrive as the previous ones, it blend in wihth tomorrow's transfer
Altough inside the transfer information there are the payments scheduled for today as "available" for today's date
Webhook signature verification failed. 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.
Signature verification is impossible without access to the original signed material.
Hi there!
We are implementing stripe integration for our platform. We are trying to implement it in this way:
From the front end client will be creating a connected account and User will be redirected to the stripe form for complete registration. From back end side we will save data. And here my question: there is account.update webhook, but it is not send event on create account. Am I write. Thet in our case we should create a connected account from front end client and save this data from stripe's response ?
I noticed that when creating a checkout session, you can pass {CHECKOUT_SESSION_ID} in the success_url and it will be populated with the session id. Are there any other such strings?
Reposting this again, now that I can sit down and have a full conversation about what I'd like to do:
I run Integral (https://integralapi.co/), and our customers want roles / tiers to be correlated with either usage based billing (so monthly invoices) or a subscription through their Stripe account. Basically, in our customers' account we'll create a subscription for a given customer of theirs, or send an invoice to that customer if they are usage based billing.
My customer isn't comfortable with copy pasting an API key into our platform, so I think Stripe connect is probably the best option here. Is this the best plan of action? Can Stripe Connect do what I'm looking for here?
applying coupons on subscription.
hi, I have my subscription and user can redeem the coupon. when coupon is submitted, I am updating the subscription with this coupon: https://cdn.ismcserver.online/chrome_zN7IXNTcHq.mp4 . as I can see in the dashboard only upcoming invoices are applied for the discount, but not the first one. how can I make it so first invoice also is appilied for this discount? https://cdn.ismcserver.online/chrome_oQUmDcODta.png
just wondering can i use prepaid visa on stripe?
I am try to implement Google pay on stripe elements but its not working . i have already Apple pay,ACH,Card and Cash app.
i already verify domain for Google pay .
can any one help on this if any thing else we need to done. i follow step by step stripe
https://stripe.com/docs/stripe-js/elements/payment-request-button?client=react#react-create-payment-request-instance
I have my element that uses the payment sheet working correctly in the test environment. However, I haven't found how to manipulate the metadata that appears in the Stripe payment management platform. I saw that it has at least 4 metadata keys, and I would like to know where I should send this data, on the client side or on the server after making the purchase? Thank you.
@daring lodge I cannot reply to our thread... should I create a new one as a reply to you?
Hi, im trying to integrate a webhook to my project, it works fine in a indepent project where the webhook its stored in the server.js, but since im using a controller system with express routes in my project, it doesnt work, it gives me this error, i already tried moving the express json declaration to the end but it doesnt work :c
Hi, I am trying to send automatic email receipts. I use Stripe Elements in my Next.js project. I have followed the instructions to the quickstart for Stripe Elements and included the receipt_email param in the create payment intent. When I check the logs of my webhook, I can see that in the event, payment_intent.created the receipt_email I provided is there in the request, but in the payment_intent.succeeded and in charge.succeeded, the receipt_email param is null in the request. I believe the receipt emails are not being sent since this param is left as null. I want to know where else I need to include the email because I assumed that including it in the create payment intent request should have been sufficient. I also include it in the stripe.confirmPayment call just as the quickstart instructions say to.
Hi, when user finish make a payment , will Stripe send webhook event first before redirect to success page?
Does PaymentIntent inherit metadata set on the Session object I created during Checkout?
Hey Devs hope you're doing great!
I want to implement subscriptions in my React Native app (iOS). We're just selling a digital product, AKA access to our app for a fee.
Is it possible to use Stripe for this? Or will the app store deny my app?
A friend told me that app stores do not let you do this, that's why I'm asking.
Thanks in advance!
Hi there, sorry earlier I missed the message from @crimson needle ,
Koopajah said : you should follow this canonical guide instead: https://stripe.com/docs/payments/save-and-reuse
The SetupIntent is what you use to collect card details for a future payment. Also you really should never be creating a PaymentMethod server-side with raw card details like this, it breaks PCI compliance
In which case, may I ask why does the PaymentMethod creation API exist in the first place? What is it meant to be used for?
So to follow the docs you linked me : Is the idea that we should have a separate web page from which the person would put in their payment details?
I have stripe customers setup with saved payment methods and their address information from their initial payment saved into their customer record in stripe. I am creating a paymentIntent for a one of payment but need to calculate tax on the payment if applicable for the customer (as mentioned, their address is part of their customer record). I have looked at https://stripe.com/docs/tax/custom#integration-examples but it's not clear to me how to acheive automatic tax calculation in this way as I'm doing the paymentIntent via the API. I have Stripe Tax enabled on my account. Is there a way to automatically calculate tax using the customer's saved address details?
Hello folks, i'm trying to understand if it's possible from a connected account to clone a payment method into the platform account. Can anybody help me?
@crimson needle Thank you! Sorry I am so slow at responding. I'm thinking of an electron app where people can sign up for subscribing to things, like a meal deal at a restaurant or something. So people will come in and put their own card details in via a locally hosted interface.
In this case I am trying to use the PaymentMethod API to create the payment method after the customer enters the card details, and then charging the customer invoices afterwards.
Does this make any sense?
I have stripe customers setup with saved payment methods and their address information from their initial payment saved into their customer record in stripe. I also have Stripe Tax enabled on my account. I am creating a paymentIntent for a one off payment but need to calculate tax on the payment (if applicable) for the customer (as mentioned, their address is part of their customer record). I have looked at https://stripe.com/docs/tax/custom#integration-examples but it is not what I need. I can create a tax calculation using the API, but that doesn't help me as it only allows me to include tax in the total amount for the paymentIntent, but doesn't keep any record of it in Stripe for my tax obligations. Is there a way to take a one off payment using the API and collect tax if applicable?
About this: https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods currently only cards and us_bank_account are supported. Is there any roadmap for when another payment method will be added?
Is there a way to list the payments made to a connected account. I AM able to retrieve a specific charge on said connected account if I pass the payment id in with the Stripe::Charge.retrieve("py_123", { stripe_account: "acct_123" }) but i would like to just list the payments made to the connected account
hi! I'm developing this, is the response a string or a file?
We're currently setting up Connect Onboarding (Custom) and are running into an issue. The Connect Onboarding process is not requesting bank details of the connect user.
This is the snippet of code.
We thought that the transfers capability would capture the bank account of the connect user?
country: user.country,
email: user.email,
capabilities: {
transfers: { requested: true },
card_payments: { requested: true },
},```
Hi I'm currently testing create checkout session when passing metadata. But I'm getting an error
{
"error": {
"message": "Invalid object",
"param": "line_items[0][price_data][product_data][metadata]",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_I15Qz3icvqaBgB?t=1697078829",
"type": "invalid_request_error"
}
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Here's my payload
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer sk_test_51MvcojAgh0zbdxN7sNqpjL3a9u45OiWZ0mylycLSVj09IvJb7E6tf7YvI6YWD4mXwd3jiTtn5YDVjVs6Cqhju9SQ00CZA5wMe9' \
--data-urlencode 'success_url=https://localhost:7217/success' \
--data-urlencode 'cancel_url=https://localhost:7217/create-checkout-session/cancel' \
--data-urlencode 'line_items%5B0%5D%5Bprice_data%5D%5Bcurrency%5D=USD' \
--data-urlencode 'line_items%5B0%5D%5Bprice_data%5D%5Bproduct_data%5D%5Bname%5D=Reservation Fee' \
--data-urlencode 'line_items%5B0%5D%5Bprice_data%5D%5Bproduct_data%5D%5Bmetadata%5D={"brand":"JLR Poland"}' \
--data-urlencode 'line_items%5B0%5D%5Bprice_data%5D%5Bunit_amount%5D=100' \
--data-urlencode 'line_items%5B0%5D%5Bquantity%5D=1' \
--data-urlencode 'mode=payment'```
Hi, how do I create a discount for a product? Do I need to create a new price on the product and figure out that it is a discounted price (by metadata or so)?
Hello
Hello,
Using below code I was create a subscription. My first invoice generate after first month end. When I go to stripe dashboard and open that subscription then it is showing subscription will be expired tomorrow if first payment not initiate.
DateTime currentTime = DateTime.UtcNow.AddMonths(1);
long unixTime = ((DateTimeOffset)currentTime).ToUnixTimeSeconds();
var options = new SubscriptionCreateOptions
{
Customer = paymentModel.AuthCustomer.Customer.StripeCustomerId,
Items = new List<SubscriptionItemOptions>
{
new SubscriptionItemOptions
{
Price = price.Id,
},
},
BillingCycleAnchor = DateTimeOffset.FromUnixTimeSeconds(unixTime).UtcDateTime,
};
var service = new SubscriptionService();
var subscription = service.Create(options);
Is it best practice to publicize an account ID to the user who's account ID it is for Stripe connect?
Hi, the amount I pass during the creation of my PaymentIntent is 14.99, but in the stripe dashboard it is showing Net as $ 14.26 and Fee as $ 0.74 making it effectively a payment of $ 15.00 Which is not right as 14.99 is not 15.00
Hi stripe team, from https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements - is there a way to download code to get this layout
Hi Stripe team, couple of questions regarding payment intent with bank transfer:
- For a customer, is it possible to transfer a payment intent's amount to another payment intent?
- I notice there is an API to cancel payment intent, but is it possible to do it from the dashboard (for both incomplete and partial)? I don't see option to (could be my permission under business?)
- To clarify for bank transfer, if payment intent is partially funded and cancelled, will it get refunded to user's cash balance?
Any chance you guys would know how to make this toggle-able. Not sure why I can't toggle this even though im the admin of this org:
shreyjain
How to display by default View more
hey folks, since stripe has different charges for an US Debit/credit card and an International one. Is there a way we can enforce that a customer can only use an US debit/credit card or an international one only? the use case is to dynamically pass on charges to our customers
A webhook is listening is for session.checkout.success. A checkout was successful and the callback returned the results. Why still the webhook gets hit from Stripe ? Its like polling
Stripe payment infrastructure reflects the extra fee from my customers and this does not appear in the total fee. How can I turn this off?
Do I need to contact Stripe to create my own External payment methods so others can add them to their Stripe element?
https://stripe.com/docs/payments/external-payment-methods#external-payment-methods-disclaimer
Add external payment methods to the Payment Element.
Can i use tax api with Payment Intent ?
I am creating a checkout session with the API and I'm having an issue passing the metadata to the webhook. This is my code: ```module.exports.createResubscribeCheckoutSession = async (
stripeCustomerID,
returnURLBase,
tokenID,
tokenName,
preTaxAmountToPay
) => {
const session = await stripe.checkout.sessions.create({
line_items: [
{
price_data: {
currency: 'aud',
product_data: {
name: Reactivate token: ${tokenName} (${tokenID})
},
unit_amount: preTaxAmountToPay,
tax_behavior: 'exclusive'
},
quantity: 1
}
],
payment_method_types: ['card'],
mode: 'payment',
ui_mode: 'embedded',
customer: stripeCustomerID,
automatic_tax: {
enabled: true
},
billing_address_collection: 'required',
customer_update: {
address: 'auto',
name: 'auto'
},
payment_intent_data: {
metadata: {
updateReason: 'reactivate',
[tokenID]: 'add'
}
},
return_url: ${returnURLBase}/tms/checkoutCompleted?session_id={CHECKOUT_SESSION_ID}
});
return session.client_secret;
};
I am supposed to recieve daily payouts from stripe express. Why is my next payout not scheduled until October 16th?
Hi. I have a platform account with many connected standard accounts. All connected accounts use stripe billing. Recently for subscriptions invoices we’ve seen Stripe automatically cancel a payment intent after a number of unsuccessful manual retries of the payment.
Have stripe introduced a hard limit on the number of retries it will permit per payment intent before it cancels it? In nearly three years this didn’t seem to be an issue until the last month.
hello
Non-INR transactions in India should have shipping/billing address outside India. More info here: https://stripe.com/docs/india-exports
I am getting error while trying payment with currency USD then getting error NON-INR issue, how can resolve in india?
hey devs, can we apply stripe processing fee on main merchant account not it's connected account when payment with payment intent method in this code.
$charge = $stripeClient->paymentIntents->create([
'amount' => $amount,
'currency' => $data['currency'],
'payment_method_types' => ['card'],
'confirm' => true,
'customer' => $customer->id,
'application_fee_amount' => $application_fee,
'metadata' => $this->getMetadata($row, $data),
"description" => $row->email,
],
['stripe_account' => $this->event_connect_acc]
);
Hey everyone,
I'm having an issue with the billing portal. It doesn't currently show one-time payments in the invoice history, only recurring payments. Is there any way to get around that? Any help would be appreciated. Thanks!
Hey Devs, I want to integrate Stripe into my website,but my website is built on Wix and in India there's no API on Wix for Stripe So for Putting the Checkout of Stripe how should I embbed a code on a button in wix.
Hello
if i use billing is 0.5% charge inclusive of transaction or it is an addon ?
My payout to my bank account is not made but it says it has
Hi, I need help with subscriptions using stripe.checkout.sessions.create({}) , I want to do it without redirecting the user to a stripe hosted page and rather have the user make the payment on my own website? How can I achieve that. Please help
Hi, I need help in migrate from Braintree to Stripe. Is that possible?
Hi, about browser support for express checkout. Is the documentation updated? It looks like our express checkout apple pay is working in firefox. https://stripe.com/docs/elements/express-checkout-element#supported-browsers
hi, how should i handle customers using a card that always requires 3DS to pay for subscription?
Hey, i've had a 500 error https://dashboard.stripe.com/logs/req_aKD2xQNztuBTlX , can i have more infos about this ? the only thing i have is : api_error
An unknown error occurred
we are getting the error failed to read reader info what can this cause the issue
When we are using the terminal.connectReader method and when we are trying to connect the reader giving the error Failed to read reader info.
JS SDK Version of Terminal: v1
Device Name: BBPOS WisePOS E
It is there a way to CSS the payment button of linkpay in stripe? It is too big
When I use the code https://stripe.com/docs/payments/quickstart, it also shows an email field, can I not have an email address field?
I'm trying to do a connected account direct charge on session.checkout,
{ stripeAccount: connectedId });
--------------
const session = await stripe.checkout.sessions.retrieve(sessionId);```
for last line, sessions.retrieve, i get error "No such checkout.session: cs_test_..."
any idea?
Does Stripe offer an API for this currency conversion tool, our application has a requirement that allows visitors to change regions and make payments, and we would like to use the API to get the current rates.
https://dashboard.stripe.com/currency_conversion
Hi! I would like to question something about Stripe tools, I'm impressed with the documentation you have and the well-readable it is, Can I ask for the tool you use for that?
is there any fee for accounting support on stripe ?
Hello! Sorry for writing off topic, but no one is answering my email. My document for verification of my place of residence is constantly being rejected, I provided an extract from my Ukrainian bank where there is an address, an extract from the ZEN bank, a registration extract that comes with the ID card, and they all reject me without explaining the reason or feedback! Who can I talk to and solve this?
Hello, I am using standard connect account, where main account can see all the data-records of the connect account. Is there any way the main account is isolated from these data-records?
Proof of address document
The document is not accepted as proof of identity. Please upload an acceptable ID document (e.g., ID card or passport). What does it mean? Should I upload my passport or not?
Hello, do i have a reference of the subscription creation subscription_id , on each recurring payment?
Good morning i am using this api: $stripe->subscriptions->update(
$idsub,
['add_invoice_items'=>['price' => 'price_1O0KXJFK2RqcP62sf2ErmQPz','quantity' => 1]],
['pending_invoice_item_interval'=> ['interval' => 'day','interval_count' => 1,]]
);
but i have this error: Got unexpected keys in options array: pending_invoice_item_interval
Hello good people. I need help/guidance on a specific request I have from a WP/Woocommerce client that uses Stripe gateway. He wants to be able to process payments normally in all countries except Cyprus, but when the customer order country is Cyprus, to be able to process the payment to an another stripe account. Could this be achieved? And if yes what would be the best way? Thanks in advance
I'm using Stripe Connect to allow users to manage their payout methods. This is in a React Native app. Users generate an AccountLink, do their stuff in the Stripe Dashboard, then they should navigate back to the app treating return_url as a deep link. I have a custom scheme defined for this, e.g. myapp, but Stripe is throwing an error Not a valid URL for it. I can jump through some hoops to use a standard HTTP(S) return_url, but ideally a custom app scheme would be best. Any thoughts or is there some other configuration I need to do to get Stripe to treat the custom scheme as valid?
const accountLink = await stripe.accountLinks.create({
account: stripeAccountId,
refresh_url: 'myapp://open',
return_url: 'myapp://open',
type: 'account_onboarding',
});
Hi, I got this security error with Stripe integration in iframe: SecurityError Third-party iframes are not allowed to request payments unless explicitly allowed via Feature-Policy (payment). On MacosX and IOS only
Hi guys,
I'm wondering what constitutes a "customer" in regards to hosted checkout.
When creating a customer via Stripe's API I fill in the fields for "address" with data from my database as well as the "name", "email" etc. Stripe returns the customer ID which I use for future purchases.
Now, when starting a checkout session, I provide that customer ID. The form asks for credit card info, including the cardholder name. If that card has a differing "Cardholder name", the customer's "name" field gets changed to the cardholder name upon purchase. Is that the intended behaviour?
Moreover, for a customer with a German billing address, when setting the card's country to United States and adding an Atlanta zip code, while still changing the customer's name, Stripe does not change their billing country on the invoice or the customer object in the dashboard. I also still see added VAT in checkout/on the invoice.
This is a bit confusing to me. If the American credit card is the "customer" for Stripe, why is there still VAT? If it isn't, why is it changing the actual customer's name that I created for that customer ID?
Is there a way around this conundrum?
Thanks!
Can any one tell me that when I am clicking on configure ios certificates it sends me to payment methods page what should I do to setup apple pay is there anything I need to do please help me
Good afternoon, I get this error when connecting Stripe, the gPay button just won't load
Hi, I need help with subscriptions using stripe.checkout.sessions.create({}) , I want to do it without redirecting the user to a stripe hosted page and rather have the user make the payment on my own website? How can I achieve that without using any beta features. Please help
Hello, I am using connected accont in stripe for Indian Users. I would like to know details that individual needed to fill for creating an accont with stripe. Can i get steps for the same?
i tried to pay on webshop in testmode but it's not working
Anybody know how I can display SWIFT/BIC codes on the invoice? Had a couple of customers ask. As far as I know these codes should be generic to Stripe?
Hi everyone. Is there a way to fully customize the checkout page of a subscription? I want to add contents (image, text) to the left section of the checkout page (in addition to product description, title, price, ...)
We have a subscription that starts on 1st of september, but we want to offer customers the option to move the date forward to 14 oct or 14th of september. How can we do this via the API ?
I am wondring what is the difference between current_period_start_time and creation_date, and can I control the current_period_start_time for subscription?
Hello folks, it's possible to create a setup intent and a payment intent in the same operation?
Hi, I'm testing a webhook using "stripe trigger checkout.session.completed". It works, but the account id in the request is not sent. How can get the request to have an account id inside it (even if fake)?
in my webshop, bound-magyarorszag.com , i tried to make a test pay but failed several times and i don't know why
Hello everyone 🙂 I would appreciate if someone could help me please.
I have created automation tests using Selenium +Java for my application that includes stripe checkout.
Tests are very flaky and pass rarely. Usually after stripe checkout page opens nothing happens (when in debbug mode not possible to access driver neither the elements) and after couple of minutes test will fail with connection refused message.
I tried with timeouts and similar, and from time to time test will pass (so I don't think it is related to that).
Do you have any idea what could cause the issue? Is this approach of automated testing good at all.
Thank you.
Hi! I want to mark an Invoice as "paid_out_of_bands" and update the metadata in one atomic HTTP call. Currently based on my understanding, using the JS SDK, I am required to call both invoices.pay(invoiceId, { paid_out_of_bands: true } ) and invoices.update(invoiceId, { metadata: newMetadata }) separately.
Hello Team,
I want to understand, is this possible to take One-time and Recurring payment in one Invoice with one Invoice Payment Link ?
We are doing Salesforce to Stripe Integration. If this possible what will be the Invoice Apex Acton for recurring, Can you please send me small documents for flow of Salesforce for the Recurring Payment.
Hello, my Customer can't pay anymore with "Sofort Überweisung", what can i do? i use Wordpress Woocommerce
Hi Team
is there any way of knowing that the invoice.paid webhook we received is the first one for that subscription or not
we need to handle them both separately for our usecase
Hi guys,
Hoping this is a quick fix or maybe outdated best practice, Stripe's documentation is borderline non-existant on this as far as I can see. I'm trying to setup trial periods for products on my pricing table but it seems that this feature is now marked as 'legacy' and is no longer supported? Apparently the new way to do this is to pass a 'trial' parameter when using the $stripe->checkout->sessions->create function, but i'm not using this at all, Stripe is handling this on their end on my current code using the below. Any suggestions on how to retain the current code and keep free trials? Or do i need to amend the code and adapt to a new way of using Stripe? Any help is appreciated.
Code:
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table pricing-table-id="{{config('stripe.pricing_table')}}"
publishable-key="{{config('stripe.publishable')}}" prefilled_email="{{$user->email}}"
client-reference-id="{{$user->id}}">
</stripe-pricing-table>
API version: 2020-08-27
Good morning lovely Stripers 🙂 I was running into an issue that I've now fixed myself, but I'd like to provide feedback on a missing API detail. On https://stripe.com/docs/api/products/list, there is no mention of the active flag, but I needed to filter by active only, and adding ?active=true seems to work fine. On a side note, when I look at the developer log for req_x4l9HgUoLdXBU5, I can see the request parameter, but there's no sign of the response in the log - is this intentional, or am I doing something wrong?
hello