#dev-help

1 messages · Page 45 of 1

radiant quartz
#

Hi Team, I am hoping to create an automatic payment method for a payment link, it says that i need to remove some code, but i dont have a 'coding platform' how do i do this?

arctic bloom
#

Hi, question about server-driven approach combined with webhook. I am in EU and testing the server-driven sample example code, and I want to test if the webhook also work with terminal reader BBPOS WisePOS E simulator. In the current code sample, client makes the payment intent, simulate the card reader payment confirm, and manually capture the payment and manually pull the payment result. I've tried to implement a /webhook endpoint on my server but received nothing. My question is : how to make the server-driven works with webhook, is that even possible?

prisma hill
#

Hi team, why I haven’t received my money but the account said my money should be arrived?

hidden mantle
#

Hi folks 👋 ! I have a quick question related to building Trial subscriptions without payment details added initially.

According to this guide https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements, a Setup Intent is created automatically when a new subscription is created, and the client secret returned in the response. Yet I don't understand what to do with this client secret, because no payment methods are attached just yet. As far as I understand, setup intents and client secrets are used to validate the credit cards that the customers attach

What I do is to create a new Setup Intent whenever our customer adds new Payment Details. Then, we get the client secret and the customer validates it in the frontend.

So the question is:
Should I ignore the first Setup Intent and client secret that gets created automatically? And always use the Setup Intent I create manually later on, updating the subscription pending_setup_intent property manually?

Thanks in advance!

vocal wagon
leaden echo
#

Hi i am doing purchases through stripe for my application...will stripe have any id that we can use as purchase order ids?

meager axle
#

Hello Team,
I'm doing stripe ACH setup and I need help in instant verification.

pulsar chasm
#

Hey everyone!

I have a question regarding Stripe, and I'd like to tap into your knowledge and expertise. Currently, I'm using Stripe Connect accounts of type Express, but I need some additional functionalities that are only available for Custom accounts.

Specifically, I want to be able to manually create bank accounts (external accounts) within my application, which is not possible with Express accounts. Additionally, I would like to have the ability to manually payout.

Has anyone here ever converted a Stripe Connect account from Express to Custom? If so, could you provide any advice on how to proceed? Or perhaps someone has an idea about the feasibility of this conversion and any potential complications?

I'm open to any suggestions and guidance. Thanks in advance for your help!

viral spoke
#

Hey, I would like to integrate the ExpressCheckoutElement into my checkout flow. I implemented it and all the functions are working fine and I got it, how that works.. but I have 2 questions:

  1. How can I get the name and the e-mail address in my frontend, to send it to the backend?
  2. How can I get the whole address? It says you need to use event.shippingAddress but thats undefined (https://stripe.com/docs/elements/express-checkout-element/accept-a-payment#handle-click-event). I found a way thought with JSON.parse(event.data).message.payload.data.address but I also won't get the whole address and this way only works for google pay and not for apple pay
torn stratus
#

Hello community, we are considering integrating with Stripe subscriptions, but in our transaction model we create the paymentIntent is there any way to modify the invoice generated by Stripe and attach the payment intent we generate instead of using the default one?

daring patrol
#

Hi, is it possible to generate invoice without displaying the support phone ?

rare haven
#

Hi Devs, How can I see the location of the customer created in Stripe from Dashboard? I remember I have seen it before but not now.

inland hedge
#

hello, what's the expire time of the connect url onboarding?

fluid needle
#

hi devs, i need 3d secure integration for indian cards

#

iused web api

halcyon bloom
#

Hi Stripe, I believe the payout has reached the wrong bank, can you please help.

crimson knot
#

Hey devs,
I had i query regarding to payments like our organisation is located in India and customers are from US, UK , Canada while calculating the payment intent , how should i impose the tax should be on organisation location or customers purchase location?

#

tax on payments should be added Indian tax or Respective customers purchased location based tax?

naive wagon
#

Hello, everyone. I want to ask, a customer asked me to get a payment link offline. Can I generate a link to the customer in the background of stripe?

#

I just joined stripe. I don't know if this operation will work.

real minnow
#

Hey devs, Im a nigerian living in malaysia , and i dont have an nric number, instead i just usually use my passport here, do you have a way around the nric require so that i can enter my passport please

#

thank you

broken spruce
#

Hi there, when doing pauses, it works on the subscription level, right?

ancient sage
#

Hi Stripe ... i want to know how i can add credits in the customer account in stripe dashboard ?

blissful bone
#

Hello, we recieved two events at the same time about customer.subscription.updated - we use this webhooks to add time to our subscribcription in our system - what should we listen to, because now we use checkout.session.completed, customer.subscription.updated, customer.subscription.created - and we recieved 2 events for the same customer.subscription.updated -> "evt_1NHjT0F7zH4zp4Qwl3Razv7b","evt_1NHjT0F7zH4zp4QwuP9w4m4B"

ruby sequoia
#

hi. Is setupIntents an object for recurring payments only?

dark hearth
#

how do i find out what product the user either purchased or created a subscription from when using payment links within the checkout.session.completed response?

uncut beacon
#

Hello, I made payment with 3D Secure 1 (test card 4000 0000 0000 3063) but the server responded with the status requires_payment_method, but I expect requires_action or requires_confirmation. Payment with 3D Secure 2 works fine
Could someone help, where is payment going wrong?

granite swallow
#

Hi this is arvind. need some info on stripe ACH

ember wing
#

Hello, do you think it's possible to develop this on Stripe (linked to a System.Io sales tunnel)?

  1. Development of an automatic refund API: We want to implement an API that will automatically refund all our customers as soon as they initiate a dispute. The goal is to prevent disputes by taking prompt and effective action.

  2. Subscription cancellation in case of failed payments: We need an API that detects failed payments and automatically cancels associated subscriptions. This will ensure that only customers with successful payments continue to benefit from our services.

3.Blocking banks in the Radar for Fraud Teams blocking list: We would like to add a rule in the Radar for Fraud Teams blocking list that blocks certain specific banks. This is due to the observation that the majority of individuals initiating disputes use banks with the same name. By blocking these banks, we can reduce the risk of recurring disputes"

kindred plover
#

The proper usage of subscription_data.billing_cycle_anchor

We have a subscription model with multiple products. one with flat rate, one is usage based product. Charge monthly
When user subscription the plan. How can I set to charge both the product at the end of the billing period? I guess sth with subscription_data.billing_cycle_anchor
If I would like both shown at a same invoice. What value should I set?

chrome bear
#

We have a custom integration of Stripe subscription plans. When a subscription is created doesn't stripe automatically send an email with its details, I'm guessing not as we are not seeing emails being sent when we are in testing mode?

#

How can I turn it on, or is that a custom integration as well trough nodemailer for example (we are using Node.js)

vocal wagon
#

Hello. How Can I set expires_at in checkout session create? I want to link be valid for 30 minutes. I know that i need to set up expires_at parameter in payload but I need to take somehow time of stripe server. How Can I do this?

ancient sage
#

Hi stripe ... Is there any way i which i can upgrade a subscription a way that previous subscription gets deleted and new subscription is added

charred wasp
#

Hi team,

Is there away to reactivate cancelled/released subscriptions? Or do we have to create a new subscription instead?

If a customer has already cancelled the subscription and we want to create a new one, will there be any issues with using the default payment method for the new subscription (when creating it through the API).

round mural
#

Hello, I have problem. I create checkout session in Stripe, complete payments in browser and I try to test webhook locally by trigger event. I run stripe listen and run

stripe trigger checkout.session.completed

in console. On my server I get object (event.data.object), but id of checkout session is bad. This ID is different than id which I get as response when I create checkout session.

What is going on? Please help.

verbal tangle
#

Good afternoon!
Could you please tell me
I already asked a question about how to make it possible to transfer to accounts which are not registered in the country of the main platform.
I was told that for cross-border-payouts I need to use USA for the account of the platform itself.
Now I am trying to transfer from platform account (USA) to connected user account (Spain) and I get this error:
Funds can't be sent to accounts located in ES when the account is under the full service agreement. To learn more, see https://stripe.com/docs/connect/service-agreement-types.
Do I understand correctly, that when creating connected account I need to specify also this - "tos_acceptance[service_agreement]"=recipient?

uneven haven
#

how to convert stripe amount to its currency and how to convert back

#

100 rs how to send to stripe

dreamy sparrow
#

Hello there!
I would like to create a SetupIntent to charge (subscription) my customers in the future (i need to setup a waiting list).
I would like to not use the Stripe Session object to take the users in the Stripe Portal, instead i would like to collect the card details (cvc, number, exp month, and exp year) in a dedicated page in my site/app and then create the SetupIntent server-side (i don't want to save the card information in my db, because we are not PCI compliance).
Is it possible? If yes, how? In the stripe documentation i can't find it.
Thank you in advice.

obtuse crown
#

hey trying to transfer funds to connected accounts. however it says you have insufficent funds in yout stripe account. i checked the balance and I do have available balance, do i need issuing or connected reserved balances

brisk quarry
#

Guys, keep in mind that we received a scam attack through the e-mail.

The sender of the e-mail is with the stripe domain, but within the body of the e-mail there is redirect to paypal.
I hided the recipient of the e-mail:

dark hearth
#

When i create a payment link via the api and pass the email address along, is it possible to make the email address read only and not allow the user to change it in the payment form itself?

blissful bone
#

what is the event that is triggered everytime we get a new payment? doesnt matter if its from subscription or normal payment intent - I would like to catch all the events when we get new money, because subscription.creation/update gets triggered at random times and its not an indicate that money was charged - maybe charge.succeded?

vocal wagon
#

Hi, I currently have insufficient balance in my stripe account due to a dispute, it says its due tommorow, however I added funds to my Stripe Account & the estimation is 1-4 business days, does Stripe still take money out of my bank account or does it pause?

weary folio
#

Hi! In a customer object we have invoice_settings.default_payment_method and default_source. What is the difference between these?

What happens if I use a payment method created by PaymentMethods API on default_source and what if I use a payment method created before the new API on invoice_settings?

orchid sequoia
#

Hi
Can we get more that 100 coupons in coupon all api

normal venture
#

If I do a checkout session from type subscription, can I have the checkout session id in the returning invoice object as a reference ?

desert valve
#

Hello Stripe Developers!
I hope you are doing well.
Sir, I have a humble request for you!
Sir, I am a web developer. And I want to sell website themes, plugins etc.
So I need a best,real, and trusted company to join them to get payment gateway's.
After my research, Stripe is the best.
But you aren't allowed to create an account in Pakistan. Sir I really need it.
So I requested you to Please help me!
Please help me to create a Stripe Account from Pakistan.

Sir Please don't ignore this mail. Thanks!
I am waiting for your reply...!

quick timber
#

Hi i m working for a tennis association and i want to use stripe for payement in 3 or 4 installments. IS it possible ? Thanks

vocal wagon
#

Hello, I know how to do the Stripe checkout UI integration in a mobile app (with the checkout button to click and it opens the bottom Stripe payment sheet), but how can we do a more custom Stripe integration like this one please and still be PCI compliant (not manipulating ourselves user credit card information) ?

pastel stone
#

Is there any way to disable an event/webhook? We pushed broken code locally and it keeps firing events over and over, like they are queued up or something

vocal wagon
#

Hi there! Is there a way to make a refund to a customer but for multiple payments in one refund in case of subscription for example ? thanks

lost cairn
#

Hello, I need one help.
I need to connect one account to another er er account using PHP code, but still showing some errors.

vapid pawn
#

I everyone. I’m setting up an integration between my app and my users’ stripe accounts. Is there anyway to GET which permissions are enabled for a restricted key via the Stripe API? During the onboarding process, I want to make sure the user enabled all the right permissions before proceeding.

dense bay
#

Hi there,
Thanks for helping I did make a complete change to our flow based on suggestions from supporting team.
But, I finished with this error:
The provided capture_method (manual) does not match the expected capture_method (automatic). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.
Any help?

faint rover
#

Hello everyone! I have created a coupon that has duration of months 12 for a monthly subscription. When I use that coupon on a subscription does it automatically renew it for 12 months? If it does not renew subscription, should I just create new subscription product for 12 months and use coupon on it for 12 month period discount.

narrow agate
#

Hi, wondering if there is an option to skip the zero dollar invoice generation? If we have to pay our accountant 1$ per invoice, having thousands of zero-dollar invoices is not desired .. (freemium SAAS)

blissful bone
#

hi, why does stripe create separate customer - even though email address is the same? I have situation where I have 5 customers created for one email (3 with one name and 2 with different name)

hard portal
#

Hi,
I need some clarification in retrieve invoice API after the invoice is paid.

fleet orbit
#

Hi guys,

I'm building a SaaS with a 3 tiered subscription model, that are currently set up as 3 separate products (bronze, silver, gold).

Here is my checkout endpoint:

export default async function handler(req, res) {
  if (req.method === 'POST') {
    const { priceId, customerStripeId } = req.query;

    console.log(priceId, customerStripeId);

    try {
      const session = await stripe.checkout.sessions.create({
        customer: customerStripeId,
        line_items: [
          {
            price: priceId,
            quantity: 1,
          },
        ],
        mode: 'subscription',
        success_url: `${req.headers.origin}/?success=true`,
        cancel_url: `${req.headers.origin}/?canceled=true`,
      });
      res.redirect(303, session.url);
    } catch (err) {
      res.status(err.statusCode || 500).json(err.message);
    }
  } else {
    res.setHeader('Allow', 'POST');
    res.status(405).end('Method Not Allowed');
  }
}

As it currently stands, users can subscribe to the same subscription multiple times, as well as other subscription tiers simultaneously.

Desired functionality:
Users can only have 1 active subscription, depending on their active subscription, the active subscription option will be greyed out in the front-end.

How can I achieve this? For context, I'm building with next.js

vocal wagon
#

@undone hinge finally it was fast to test and I confirm that it is possible to access the card data of the user when using Stripe Card Element.
let textField = STPPaymentCardTextField()
in viewDidLoad =>
textField.frame = CGRect(x: 10, y: 100, width: 250, height: 50)
view.addSubview(textField)
print("textField = (textField.cardNumber)")

and the card number appears in the logs. which doesn't seem PCI Compliant if we use this Stripe component then

dark hearth
#

what is the webhook event for when a user cancels a plan and then renews it from a customer portal ?

chrome bear
#

We have a custom Stripe implementation, using a Card Element. Scenario - we have a product that has two prices, one in GBP another in EUR, later we're adding USD and other currencies. How can we fetch and display on the frontend, in the checkout section the price based on where the customer is located?
The customers signup to a subscription...

Can Stripe handle this with the use of : automatic_payment_methods: {
enabled: true,
},
or other methods?

raw cove
#

where to get customer id on setupIntent

vocal wagon
#

Hi,

I am trying to link a payment intent with a payment method of type "us_bank_account", after updating the payment intent it requires confirmation.
After attempting to do so, an error is thrown stating:

When confirming a PaymentIntent with a us_bank_account PaymentMethod and setup_future_usage, mandate_data is required.

Not sure how to collect it and add it to the payment intent.

Thanks!

fading terrace
#

Hello, I have a problem when creating a setupIntent with this lib in go: github.com/stripe/stripe-go/v74/setupintent

The problem is that when I create it, it is created fine, but I am putting a card that requires 3d auth, and it always returns the type use_stripe_sdk field and the UseStripeSDK field is empty.

in the lib itself appears the following attached capture:

lapis thorn
#

Is there a way to get the payment link that is on an invoice for a subscription through the API?

queen apex
#

Hello! so i have an issue that i am stuck on

i am using stripe with wpforms (wordpress), which means that i have to rely on stripe for the invoices (this is for a french company) tax info does not show in the receipts even when i added and configured them. how do i make the vat show ? i can't use it otherwise since it's not up to the european standards. would really appreciate some help. thank you in advance

foggy widget
#

Hello Folks, What is the best option available with stripe or stripe based products to implement gift card on our web app? I know that currently stripe doesnt have support for gift card so what could be the solution here, Its a big blocker for us as stripe isnt supporting the gc?

cedar arch
#

How can I include a checkbox that allows the buyer to cover the Stripe fees? (for donations to nonprofit)

turbid viper
#

We've had reports of the checkout breaking due to an expired promo ID being passed when creating the checkout session. Is there a way for this to fail gracefully? As we track promo IDs in our own database (as we let our CMS users create the promo outside of Stripe) and we currently don't check to see if it has explicitly expired

dense bay
#

Hi there,

#

Is it possible to remove Google Pay popup window after clicking pay so an error can be displayed after confirmPayment?

tight quiver
#

Question - We have a few subscriptions in an app whereby we take $3 per subscription. This means that when a consumer subscribes, we get $3 and our client (app owner) gets the remaining.

We're seeing that the "application fee" is $3.00 but the stripe fees are being taken after the application fee. How would we go about ensuring that fee is indeed $3? Instead of the fee's coming out of our take?

ex:

  • Payment = $10
  • Transfer = $10
  • 3.00 (+ 2.9% assuming this is our fees)
  • Net = $3.00 ---> moved to my company connected account
  • $7 - 2.9% fees moved to clients connected account
teal turtle
#

Hello,

Last week I wrote about issues regarding the display of the GPay button inside Stripe checkout.
I was told that it was because the Auto-Tax setting was turned on and that in that case we need to also ask the billing address to see GPay.

We turned off the Auto-Tax, but we still don't see the GPay button, even after waiting for about 30 minutes and clearing all cache on our side. Is there anything we are missing?
Thank you.

round mural
#

My subject has been removed 😦

glad needle
#

Hey! I have started playing around with Stripe, setting things up to look how I want them to look. However, I cannot for the life of me get the "card" and "us bank account" cards to appear at the top of the payment element. It's frustrating. I'm using my TEST key, and I'm getting the card nicely printed to screen, and the colors change when I want them to, however I cannot get the cards to be added. Help!

Context: I have not activated my account, because I want to see if Stripe can get me the exact payment card look that I want, then my company is going to sign a contract to activate our account and get things rolling.

obtuse crown
#

if we transfer funds to a connected account. what event should i listen to, to know that a transfer has been received by connected account

wide rapids
#

Hello, We have a use case where payment information is stored in a database and the user goes through a recurring scheduled payment.
Is there a way to process payment for 3DS card authorization from server side:
Without loading or redirecting to the stripe web client
Without using stripe client libraries

vale raven
#

hi guys i'm struggling with testing e-mandates in sandbox mode. I've configured mandate_options on my paymentIntent/setupIntent, configured webhook to include mandate.updated. I've tested all test card 3D Secure 2 but they all come through immediately without any delay. I can get mandate id on charge after successful payment which is fine but i'm not getting mandate.updated event. I'm trying to figure out if there is a way for me to detect payment that involves e-mandate, so i can inform user via email that he has to wait & take action.

glad needle
#

General question: If I allow for a payment method that only accepts currency outside of USA, (e.g., sepa_debit accepts only EUR payments), then when the monies get into my US account, does it automatically convert to USD? I ask because this has financial/tax implications.

patent cloud
#

Is there any way to ensure that confirmPayment will never perform a redirect? We're US-only and will probably have fairly limited payment methods, so I'm hoping we can ensure none of them will require any redirection. Alternatively, is there any way to make confirmPayment create a pop-up instead of performing a redirect?

white warren
#

i have created a payment method of type "SEPA_DEBIT" and set it as offline. I have asigned to one customer and I want to retry a failed payment with this new payment method.

glad needle
#

Does stripe offer a currency lookup? I ask this because if I'm going to use PaymentElement + PaymentIntent, and I'm going to use it for global purchases, then I want to check the currency exchange rate for the day when I do it so that the amount we receive in America (USD) is correct. I'm trying to circumvent using the redirect URL because it is not good for our business model, but I'm finding the use of the payment element in our website to be complicated for global purchases.

inner comet
#

When a payment is made through a "one off" payment link, the customer is set up as an "Guest". Meaning you cannot add them to a subscription. How can i set up a payment link to a 1 off product, that then allows me to make either more 1 off payments, or add them to a subscription?

cinder quarry
#

Hi Team,

I hope this message finds you well. I am currently developing a service that involves dynamically calculating the tax for a specific product before a customer makes a purchase. My aim is to present the customers with the total cost, including tax, based on their location (zipcode and state).

The information I have at the time of this operation includes the Stripe Product ID, the customer's zipcode, payment period and the state they're located in. Given these details, I'm seeking guidance on the best method to accurately retrieve the product's tax on the fly.

To provide a bit more context, my application needs to calculate the tax for a given product based on the customer's property address to present the total price before the actual purchase is made. This is important for transparency and to avoid any unexpected charges for the customers.

From my understanding, Stripe provides tax rates that can be applied to invoices or subscriptions, but in this case, I need to calculate the tax for a one-off product before creating an invoice or subscription.

Could you please provide guidance on how I could achieve this using the Stripe API? Specifically, I'm interested in any features or API endpoints that allow for calculating taxes given a Stripe Product ID, zipcode, and state.

round mural
#

hello, I have problem with webhook, I get error

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
icy warren
#

Hi, while confirming a ACH Payment intent, status is updated as processing. Is there any method we can make as require action, instead of processing.

zealous shadow
#

If a user is on a yearly subscription, If I set a coupon to be good for 12 months and apply it at subscription creation time does that mean when the user goes to renew their subscription for another year that the coupon wouldn't apply?

wispy tendon
#

Hello,

I am attempting to have customers buy a subscription with stripe.
We want to let the customer use iDEAL to setup the payments, and then setup future usage with sepa_debit.

What I am seeing is:

  • The setupIntent completes without an issue
  • We can capture generated_sepa_debit with a webhook
  • The subscription is created
  • The initial invoice's payment_intent is created
  • The initial automated invoice payment fails
  • The payment_intent's status changes to requires_confirmation

After this; we could use the client_secret from the payment_intent to confirm the payment;
however I was expecting this to be an automatic process, and not having the customer's browser involved again.

My questions here are:

  • Is there any way to ensure that the payment intent automatically confirms offline? ex. with additional setup steps while I am sure that the customer is still online?
  • Would this also happen if I create a Subscription schedule with a start date in the future; Because in that case; there would be no way to ensure that the customer is online to confirm the payment intent.
  • If there is no way to ensure that these payments can be confirmed offline; what would be the benefit of creating a setupintent in advance; If it still needs the customer to be online for the payment to be confirmed.
vivid burrow
pure storm
#

Quick question: We collect ACH from customers using us_bank_account, using setup intents / payment intent. Since it takes so long for it to clear, we'd like to see if we can check that the balance is high enough before waiting the full 4 days to ensure the customer would be good for it. Is it possible to check customer's bank balances via the same flow?

tender ravine
#

Few questions: Can I setup and single payment to do a monthly fee and a one time fee together or would they have to be two separate payments, and if yes how? Can invoices be sent automatically, and if yes how? Can I include sales tax in the payments, and if yes how?

vocal wagon
#

I implemented a CardForm in our react native app, which works with useConfirmPayment()'s confirmPayment method. however, the design team is really hell bent on using a custom form design. I've implemented a custom form now but i'm not sure how to pass credit card details into the confirmPayment method. (I'm making sure these details don't enter the redux store or any logs to avoid mishandling this. the details shouldn't leave the client so i think it's ok).

dark hearth
#

I cant seem to find it, but do donation payments done via a payment link send out emails to the end user at all?

rapid tide
#

Does a Stripe Account ID apply to both Live and Test? Or does Test have a different ID? Thanks

timid ember
#

Hi there, we have many complaints of a failed payment due to invalid zip code check resulting in a Pending Payment on their online credit card statement. Which will disappears after a couple of days, but it confuses the end-user, who thinks they've paid for something they didn't get. Is there someway to immediately remove that Pending Payment charge when the payment fails?

faint rover
#

Hi! Can I create a plan with 2 years?

rapid tide
#

When setting up a BillingPortal how do I do so for connect accounts?
The following fails with unknown parameter on_behalf_of

    puts "----> setup_customer_portal"
    Stripe::BillingPortal::Configuration.create({
      business_profile: {
        headline: 'This is the business_profile headline',
        return_url: "#{account.domain}/store",
      },
      features: {
        invoice_history: { enabled: true },
      },
      on_behalf_of: account.stripe_id
    })
  end```
https://stripe.com/docs/api/customer_portal/configurations/create does not seem to have on_behalf_of, so how to brand... for connect account
coarse wren
#

Hello. Is there any way to add more products to line_items array (im using javascript) so that I can use multiple checkout buttons on the page where customers shop for my various items?

vestal lynx
#

hello

#

I recently connected stripe payment gateway with my woocomerce store but when I'm to make payment "Error processing checkout. Please try again." This msg is being shown, how can I solve this?

dense saddle
#

Good morning. I have two questions about receipt_email when creating a PaymentIntent:

  1. I am submitting a properly-formatted email address in test mode, yet no receipt email is sent. Are emails not sent in test mode?
  2. Is it possible to submit multiple email addresses in one call?
clever pendant
median lark
#

Hi - we have several customers paying with ACH out of the same bank account (they are an agency and so have a few "end customers" with us) - they are having trouble verifying microdeposits since they have ~5-8 payments all trying to verify at the same time

indigo monolith
balmy yacht
#

Hi everyone, I have pending invoice items (via a different currency), but when I try to create an invoice, I get the error, "Nothing to invoice for customer". Is there something different about creating invoice items in a different currency? This error does not happen if I create in usd

sturdy swift
#

Hi there, how do i get the breakdown of processing fee, express fee, radar fee, etc in each invoice?
For example, let's total paid by customer is $10. Fees is $1.04. Amount received after is $8.96.
For fee breakdown, it should be something like, stripe processing fee (2.9% +$0.3), stripe express fee (0.5%, $0.05), stripe radar fee ($0.07).
I wonder if this is provided in price object or invoice object...

slim anchor
#

I have a question about the payment element on the HTML side. I want to know how to get each the ID's of some of the elements. I can show you what I mean in our chat.

worthy plinth
#

Hi everyone!!! I got a question about payments and payment methods implementation. Building an app to buy stuff and make recurrent payments.
Looking at the API, after creating a payment method, I have 2 ways to link it to the customer, either calling payment_method_attach method or creating a setup_intent.
I lean towards the second one since it will provide a property next action to check whether I need to authenticate user's credit card or not ( especially in Europe ) .
I am not sure about my choice and that's why I am posting it here to see if someone can shed some light on.
Thanks in advance!!!

cloud zephyr
high coyote
#

hello, when a payment is received via ACH pull from a customer which source type should it get reflected in the payments balance, would it be bank_account or card ?

steep mirage
#

Hello we are seeing a bit confusing logic on customer.subscription.updated webhook, while attempting to determine when a subscription period ends, and new period begins

pallid zenith
#

Hello, how can I retrive payment intent from client secret?

vocal wagon
eager vault
#

Is the only way to determine the "default" payment method for a custom, through a "Source" object?

light crow
#

Hi! I'm trying to pause a stripe subscription using this update subscription endpoint (POST) (https://stripe.com/docs/api/subscriptions/update) by including the 'pause_collection' property as part of the request where I have "behavior" set as "keep_as_draft" and the "resumes_at" property set to a future unix date. I have my stripe dashboard in test mode and am testing it out on a test customer with a test subscription. When I make the post request, the response is 200, but when I fetch the updated subscription, the sub.current_period_end property is not being updated. Do you know why?

remote lichen
#

Hello, I am following the documentation to implement a POST endpoint to update a user's subscription with a new price ID (when they switch monthly SaaS plans). When the user calls that endpoint, I see they get a 200 on the frontend and my webhook gets "customer.subscription.created" called, but not "customer.subscription.updated" (nor invoice.paid). Their payment also says "Incomplete" on the dashboard. This is all in a test environment right now. Is there something I am missing with how I should be upgrading a user's plan? I can share code as needed!

crude abyss
#

just to confirm do sub_scheduals no longer update into sub but instead create subs?

marble burrow
#

when request promotion code from stripe shell as a response dashbord_currency_option field there..but when i request from backend that feild is missing..can someone say why?

serene hare
#

hello,

is there a way to configure the dashboard analytics such that subscriptions currently "in trial" are counted as active? specifically im looking at active subscribers

dim hearth
#

@crude marsh Self-promotion is not allowed in this channel (see our community rules)

fading totem
#

,Hello,
I am looking for a flow in Stripe Connect.

During checkout, following are Stripe interactions happening.

  1. A new payment method and customer is created on the platform account (Both are not attached).
  2. When creating paymentIntent to the connected account - we would need to clone the payment method to the connected account first and use the cloned payment method id for the paymentIntent API. This works. The payment gets created as a Guest User.

But when I try to clone the customer(without any payment method connected), it throws an error says 'The customer must have an active payment source attached.' But here I want to create a customer without any payment method. Is it possible?

sour stirrup
#

How to invalidate a stripe session Id ?.

I use session ID to validate and add credits to my user . if i use same session Id again , and make call to API , credits are credited to user again . How to prevent this

brazen snow
#

I need to cancel a refund I made a few minutes ago. How do I do this?

covert hemlock
#

Hi i need help

#

I’m trying to reset my password

merry zenith
#

hi, if the customer.subscription.deleted event goes off, would it still show in the customers billing portal?

bleak ocean
#

I'm setting up a test account for connects, the Stripe dashboard says that the account is restricted. Do I have to submit something to remove this restriction? This is only for testing, so it would not run any actual payments.

light crow
jovial anchor
#

Hi, I’m having a few issues catching the errors from creating the payment intent on our PHP server. It used to be that we could catch any card exceptions with:

catch (\Stripe\Exception\CardException $e) {
// Card was declined
}

But recently it has just been giving us 500 error when we try any declined test card (4000000000000341). Any ideas on what is happening?

peak quest
#

Hi, I really like the idea of letting customers update their subscription quantity in the customer billing portal, but I would need to prevent them from decrementing it and only allow incrementing it. It seems like this is not possible, and neither is setting the minimum dynamically per session based on their current quantity as a workaround for preventing decrementing. The reason is that each instance of the subscription may be assigned to a user in a team account and we wouldn't know which subscription/license to remove from which user when handling the associated webhook.

grizzled fjord
#

Stripe subscription is max 1 year?

dark fog
#

Hi, is there a way to use stripe connect with existing stripe accounts and skip the onboarding screen and show a login instead?

thin zealot
#

Hi,
I have some questions and help.
I want to know the way how to use escrow on Stripe?
I 'd be happy to get help

golden folio
#

Hi there. I am trying to integrate stripe with gravity forms on my wordpress site. I went through all the prompts and steps to add my secret key and log into my associated account. But upon trying to checkout on my site. I keep getting this error. I'm not sure I understand what I'm doing wrong. To preface, there is no custom code for adding a unique order ID. I am doing all this through gravity forms:

livid scarab
#

Hello,

I'm relatively new to integrating stripe into our Android product. I've made some progress, but now experiencing issues. I followed along the docs, setting up a payment method for future usage:

https://stripe.com/docs/api/setup_intents

I was able to display the add credit/bank account payment sheet with the following:

        contract = PaymentSheetContract(),
        onResult = {
            when (it) {
                is PaymentSheetResult.Failed,
                is PaymentSheetResult.Canceled -> {
                    viewModel.send(FertilityCategoryAction.StripePaymentSetupCancelled)
                }

                is PaymentSheetResult.Completed -> {
                    Log.i("STRIPE SUCCESS", "STRIP SUCCESS")
                }
            }
        }
    )```

```stripeLauncher.launch(
    PaymentSheetContract.Args.createSetupIntentArgs(
      clientSecret = setupIntentSecret,
      config = PaymentSheet.Configuration(
        merchantDisplayName = Merchant,
        customer = PaymentSheet.CustomerConfiguration(
          id = customerId,
          ephemeralKeySecret = ephemeralSecret
      ),
      allowsDelayedPaymentMethods = true,
)
)```

This worked well, until I added a test payment card (4242 4242 4242 4242)

Here are the issues I'm having:
vagrant steppeBOT
#

SirBuitrago

ripe storm
#

Hello, I am using custom connect onboarding with the flag described here (https://stripe.com/docs/connect/connect-onboarding#how-to-use-connect-onboarding-for-custom-accounts) which allows us to collect payout information. We have noticed that, if a payout fails on an attached bank account, we are no longer able to edit this payout information (it is just absent in the onboarding). Wondering if anyone knows if this is expected behavior, or something potentially breaking. If not, can reach out to support, but thought I might give this a shot.

Let Stripe collect identity verification information for your Custom connected accounts.

ornate gull
#

Does anyone know how to make a 1 month off coupon? I've got monthly subscriptions and yearly subscriptions and I want to make 1 coupon code that gives 1 month for free to both of them. I tried making a coupon with duration of 1 month and percent off of 100%, but that will give yearly plans 100% off. It seems shocking to me that stripe doesnt have the basic functionality to make a 1 month off coupon, but ive been searching for hours and cant fix this.

mint spoke
#

Hey guys, I have my subscription products set up with a base price as well as an additional metered price for if they go over their usage included with the base price. It doesn't appear that the switch plans functionality is working for this case, does anyone know how to fix this or a way to make this work? Thanks

rapid tide
#

I am trying to create account links in development and getting this error. You tried to create a test mode account link for an account that was created in live mode.

    Stripe::AccountLink.create({
      type: 'account_onboarding',
      account: account.stripe_id,
      refresh_url: "#{store_url}/accounts",
      return_url: "#{store_url}/accounts",
      # collect: 'eventually_due',
    }).url
  end```
charred ore
#

I am handling 'customer.updated' webhook in the case of a payment method update, capturing the invoice_settings.default_payment_method. Is there a way to see details about the payment method like "VISA ending in 4242' or 'PNC Bank,,,"? Thanks

weary skiff
#

Hi, I'm using stripe/react-stripe-js to create a custom form. I'm running into an issue where if a user does not fill out one of the fields, it cause an error. How do I add validation to the elements?

Here is my code:

  // Add card
      {clientSecret && (
        <Elements options={options} stripe={stripePromise}>
          <CheckoutForm
            stripe_customer_id={stripe_customer_id}
          />
        </Elements>
      )}
  // CheckoutForm
  const paymentElementOptions = {
    layout: "tabs",
  };
<PaymentElement id="payment-element" options={paymentElementOptions} />
rancid compass
#

Is the only way to change connect account payout schedule through the api? Also, what should I call?

dapper ravine
#

i have a custom connect account that entered incorrect information and they wanted to start over (acct_1NIHyW2fJXvg85n8). I used the API to delete the custom connect account and hope that user is able to enter onboarding flow from scratch. However, they are running into this error. Do you have any recommendations on how they can start the whole process from scratch (is it email / phone number matching in stripe connect custom backend that ties the accounts together?)

frank basin
#

Hi! Can Stripe recurring payment checkout be configured to show certain products to users based on their location or other variable?

For example I would like to show the PRO and PLUS plans for USA users and for Spain users the Pro Spain and Plus Spain plans which have different prices and features.

vernal field
#

Hey! Are there any "Subscription Items" related webhook events available?

wicked steppe
#

I'm trying to add a test user custom connect account like this: const account = await stripe.accounts.create({ country: "US", type: "custom", email: email, capabilities: { transfers: { requested: true }, // tax_reporting_us_1099_k: { requested: true }, }, business_type: "individual", business_profile: { product_description: "veterinary service" }, individual: { email: email, phone: "(500) 555-0006", first_name: firstNameForStripe, last_name: lastNameForStripe, dob: { day: 1, month: 1, year: 1901 }, ssn_last_4: "0000", }, external_account: { type: "bank_account", country: "US", currency: "USD", routing_number: "110000000", account_number: "000123456789" } }); I am getting the error:
"StripeInvalidRequestError: The external_account hash must include an 'object' key indicating what type of external_account to create." What am I doing wrong?

#

Can I pass in the test external account like this?

carmine flower
#

Hey Stripe team, this is a video I took awhile back playing with the paymentsheet-example project for Android. I'm having a hard time getting the sheet to show agian with existing payments. This is the code beneath the covers:

                paymentSheet.presentWithPaymentIntent(
                    paymentIntentClientSecret = clientSecret,
                    configuration = makeConfiguration()
                )

Now when I add a payment, the checkout button is greyed out. What am I doing wrong?

weary skiff
#

Hey, I have a weird issue with setupIntent. Locally, the payment method is being added to my db, but not in production. Is there any reason why this might be? It looks like it might be redirecting before it has a chance to add it. Here's my code:

  const handleSubmit = async (e: any) => {
    e.preventDefault()

    stripe
      .confirmSetup({
        elements,
        redirect: redirect ? "always" : "if_required",
        confirmParams: {
          return_url: generateReturnUrl(),
        },
      })
      .then(async function (result) {
        if (result.error) {
          if (
            result.error?.type === "card_error" ||
            result.error?.type === "validation_error"
          ) {
            setMessage(result.error.message);
          }
        } else {
          const { data, error } = await supabase
            .from("users")
            .update({
              payment_method: result?.setupIntent?.payment_method,
            })
            .eq("stripe_customer_id", stripe_customer_id);
        }
      });
  };```
merry zenith
#

hi i have 2 stripe subscriptions and i have 3 different payment options for each(week, month, 3month) and i see that in the customer portal you can enable customer can switch plan. but i want it so the customer can have both subs and pay for them differently individually. would that be possible?

tender pawn
#

Hello Stripers. I've ended up with a few duplicate and also triplicate payments from some customers. One customer thought she clicked "the button" twice, but not sure of the others. I am suspicious of a payment intent that was created and then another created later (days later? hours later?) not sure and then these all get automatically lumped into their next final payment.

brisk steeple
#

hi. I was wondering what the best way to get the outstanding invoiced amount is for a customer in stripe billing. I can think of retrieving all their invoices with "unpaid" status and summing up the amounts, but was wondering if there is a way that does not require retrieving all the invoices.

split peak
#

Hi is there a way to contact Cj Avilla?

ivory sail
narrow thistle
#

Hi, when using LinkAuthenticationElement, can I get the email address that the user enters? I see that there's an onChange event, but it doesn't appear to be firing

fallen tangle
#

Can you also use the Stripe Payment Element for subscriptions? In the past I have only used the legacy card element

eternal moon
#

Hi Stripe team! I'm working on Apple/Google Pay integration with React Native app and use this guide https://stripe.com/docs/apple-pay?platform=react-native#create-payment-method - Create a Payment Method approach. It requires me to add each card to a Customer. It seems that every other payment that is initiated returns a new card id and token. And I know there is a limit of 100 payment methods per customer. What is a recommended solution to this? Am I supposed to remove "used" cards afterwards? Or maybe cards will have a stable id in prod env, so I'll be able to update existing linked payment methods?

pastel stone
#

I'm getting quite confused with adding tax to a payment intent. My flow is

  1. capture payment method -> MOTO
  2. Charge immediately with collected payment method for payment intent

I think I need to do this but I cannot figure out how to charge immediately

  1. Create invoice (attach default tax rate)
  2. Pay immediately with captured payment method (MOTO)

Can you clarify please if I am thinking right?

vocal wagon
#

Hey there!

I am trying to implement Stripe Billing (Subscriptions) into my web app but I think I am a bit over my head with the logical implementation of it and just need some advice.

The endgoal is to a single monthly subscription at a time for each user registered on our site (no trial or complex configs).

The flow of events is as follows:

  1. user registers and a stripe customer is created with the email

  2. user clicks on purchase and is taken to a checkout session link where they complete the payment

  3. i am currently listening to checkout.session.completed for subscription creation and updating my db. Also listening to customer.subscription.updated for updating the status, start and end dates into my db.

  4. if i want to just give the user access to the site when they actually have an active subscription do you think it’s better to use the start and end periods returned by the subscription object or the status parameter for that? I feel like start and end dates are more reliable cause of cases such as user cancelling their sub where status doesn’t get updated after billing period i think?

  5. is there any need to use invoice.paid or invoice.payment_failed for my purpose in that case?
    Just need some advice for a sound system yk.
    Thanks!!!

ocean kayak
#

Hello I am creating a lawn service app. I am using a subscription model where the customer can sign up for weekly, biweekly, and monthly cuts. Can you point me to different subscription models? Right now we have to manually keep track of when and if the lawn was cut but would like a better implementation if one exist.

granite fog
#

Please help me

#

I need help with stripe

#

Who knows about stripe

half zealot
#

hi, i'm setting up a payout. my stripe account is based in Hong Kong.

await stripe.payouts.create({
amount: 180, // im paying $1.8 USD
currency: 'usd',
metadata:{
checkoutid: id
}
}, {
stripeAccount: creator_stripe_id,
});

I get the error Error: Amount must be no less than $20.00

how can i change this min amount?

hardy current
#

Hello team some one speak Spanish

obtuse crown
#

can i add a coupon which can be used for all products that are subscription based and offer 1 month free subscription

stoic adder
#

Hello. Our website made with Wix is connected to Stripe payment, but it's been rejected. How can we fix it? Thanks in advance.

steel cipher
#

Hello, I have a problem when integrate apple pay with stripe. It's error from Certificate Sigining Request wrong format. Apple say "CSR algorithm/size incorrect. Expected: RSA(2048)"

queen apex
#

Hello, i am trying to add tax rate via code to the wpforns stripe addon. i did it in the file process.php

/**
* Process a single payment.
*
* @since 2.0.0
*/

public function process_payment_single() {

    $amount_decimals = $this->get_decimals_amount();

    // Define the basic payment details.
    $args = [
        'amount'   => $this->amount * $amount_decimals,
        'currency' => strtolower( wpforms_get_currency() ),
        'tax_rates'  => 'txr_1NIM51BSDNB8Vrx2Gezu4512',
        'metadata' => [
            'form_name' => sanitize_text_field( $this->form_data['settings']['form_title'] ),
            'form_id'   => $this->form_id,
        ],
    ];

is this the right place to add it ? can't test the payment until working hours

hollow nebula
#

Hi, is it possible to allow customers to subscribe to products using Stripe checkout page but not require them to enter their payment method (i.e.: credit card)? We are providing the users a trial period so users are not required to put the payment information at first

ruby sequoia
#

HI, Is there a way to get paymentMethod's ID from return_url of confirmPayment?

candid dome
#

Hi, we are evaluating Stripe for a couple of payment usecases in our platform. I have looked at all of Stripe documentation and have not found the support for one of my usecases, but maybe i overlooked something. Would love the community feedback on it

Our platform enables businesses to incentivize their customers to post user-generated content (UGC ) in exchange of rewards

  1. We want to add a feature in our product where businesses can add funds in their "wallet" in our app
  2. Businesses can issue their customers virtual debit cards as rewards. The cards would be funded from the money businesses add to their "wallet"

I think Stripe issuing can help with #2 usecase. Does Stripe has a product that can help with usecase #1?

ancient lichen
#

Hi, I want to implement Tap to Pay in android. As per documentation, I have implemented below mentioned code.

// after selecting a reader to connect to
LocalMobileConnectionConfiguration config = new LocalMobileConnectionConfiguration("{{LOCATION_ID}}");
Terminal.getInstance().connectLocalMobileReader(firstReader, config, new ReaderCallback() {
@Override
public void onSuccess(Reader r) {
System.out.println("Connected to mobile device");
}

@Override
public void onFailure(@Nonnull TerminalException e) {
e.printStackTrace();
}
});

But at last point, There is not animation and no charged amount .
Any one can help??

fickle minnow
#

I am building a marketplace where I will receive two types of transactions: collecting donations and selling merchandise. My impression is I need to create two stripe connect accounts (one to only receive donations and second to only do merchandise buy/sell transactions). Is my assumption correct? I looked at all mcc codes but didnt see any code for donations

lost cairn
#

Hello
I need one help. I have try to one account to another account connect using php api:
But still get some error : You cannot create Standard connected accounts with capabilities via API.
Thanks

real loom
#

hi devs, in the account dashboard. If I used my account to switch to live mode and get the secret key under a developer account called userA. If someone uses a developer account called userb to access the account dashboard will he able to show the secret again in Live ?

grave spindle
#

Hello, I need to help for code link stripe promptpay (Thailand) for connecting clickfunnel.

brisk nymph
#

Hey there, I am using embedded pricing table which will redirect user to checkout page, on checkout page can I prefilled the email address?

real moth
#

can somebody help me with this

lament loom
#

Hi there,

I have an integrated Google Pay and Apple Pay Google Pay button is working fine but the ApplePay button is not showing,

blissful imp
#

hi I am getting issue with payments Stripe\Exception\CardException {#1500 ▼
#message: "Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https:// ▶"
#code: 0
#file: "C:\xampp\htdocs\paytart\vendor\stripe\stripe-php\lib\Exception\ApiErrorException.php"
#line: 38
#error: Stripe\ErrorObject {#1501 ▶}
#httpBody: """
{
"error": {
"message": "Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are usi ▶
"request_log_url": "https://dashboard.stripe.com/test/logs/req_V90xDW40Ddx7h3?t=1686634918",
"type": "invalid_request_error"
}
}
"""
#httpHeaders: Stripe\Util\CaseInsensitiveArray {#1496 ▶}
#httpStatus: 402
#jsonBody: array:1 [▶]
#requestId: "req_V90xDW40Ddx7h3"
#stripeCode: null
#declineCode: null
#stripeParam: null
trace: {▶}
}

azure spindle
#

Good day good support people.
I'm trying to create a subscription for a customer (via the stripe api), but we don't want to charge them (no invoicing or anything).
This is for some historical contracts we have with customers, so we need them in stripe, but we aren't charging them, and we need to set the start date in the past.

I've used proration_behavior = "none" and set backdate_start_date to our start date, and plan on setting a cancel at value for the end of the subscription ...
however, stripe is saying I need a collection method if I don't have a default payment ... this customer isn't going to pay at all for the subscription in stripe. What else do I need to do to create the subscription successfully?

echo coral
#

Integrated apple pay using payment request button, but the apple pay popup closing automatically

winged crown
#

hi team,.. i need to change stripe api version how to change the version in stripe account

nova sandal
#

is it possible to get a refund on something you purchased

smoky bramble
#

hi

#

Error: Password not accepted from server stripe

#

can anyone help with this error

sharp cedar
#

Hello, I'd like some help with integrating stripe with flutter web

steady geode
#

Is there somewhere that I can get the definition of these dispute status?
warning_needs_response, warning_under_review, warning_closed, needs_response, under_review, charge_refunded, won, or lost.

smoky bramble
#

my store in opencart

#

??

keen pelican
#

Hi Team need some urgent help on webhooks

due to some server issue webhooks stopped for a week, now we want to resend all those webhooks so that we can sync subscription data with our website.

We have more than 3k requests that failed. we have to manually open the failed one then resend it again. Is there any automation process to resend all of one ?

distant charm
#

Hello Can anyone tell me for stipe connect account feature , For creating an account link what i will pass in parameter called "refresh_url" and "return_url"

vocal wagon
#

Hi, small request about the configuration of my clients (in live mode and not test)

I tried to make 3 transactions, all at 0.00€ and it turns out that it creates a customer account with each transaction.

Is it possible to group everything in a single & same client?

Let's say I want to make 3 payments, I want everything to be linked to the same account.
What I find odd is that my management space does not link to the email.

Same for my "billing" customer area, I only have the last transaction visible and not the others

tender lake
#

Our account is enabled with WeChat Pay, and then we need to enable WeChat Pay H5 payment function, how to configure it?

gloomy kite
#

Hi

#

i set the recurring interval one month and IntervalCount= 1 for scubscription , this every month doing bill and when will it stop?

willow latch
dark totem
#

Good morning Stripe devs ☀️ Not sure if this is a request for help or a bug report, but we've had some complaints from customer (even one with video evidence) where Payment Element offers the Apple Pay as a payment method, but when attemptint to pay with it, the actual confirm dialog is hidden as soon as it's shown, and the element below remains in "loading" -state. The thing is, we haven't configured Apple Pay (I checked, it is enabled, but not configured).

crude harness
#

Hi, I am trying to add promotion_code on schedule subscription but it is only allowing to add coupon and not promotion, please little help here

rapid siren
#

Hello! I have the next question.
How can i use Stripe CLI to simulate a Checkout process of a Subscription and pass the customer id and email of who completed this process, because i need to see what information i can see in the webhook data.

normal venture
#

How can I simulate a failed subscription payment with the test-clock ?

sleek onyx
#

hi is there anyone on right now to help me with something

#

probably feel silly asking lol

lost cairn
#

Hello
I need one help for split payement!

tight spear
#

Hello!

I getting issue in stripe subscription auto renew. When i purchase one day subscription plan and next day stripe try to auto renew that plan but that is fail every time.

We have user stripe payment sheet flow. and manage payment through webhook. Please the attached image.

flint hedge
#

Hi guys, For stripe invoices. Currently stripe automatically creates an invoice. Then there is a setting where you can append something before the generated invoice number. ex. VL-IN-001. My question is whenever stripe creates an invoice with an amount of 0.00 we would like to generate a different invoice number for those invoices (ex. ZR-IN-001) Then for the one with values we would like to apply the EX-IN-001.. value. Is this possible?

low grotto
#

Hi, I have a problem because I need to create a page similar to Humble Bundle regarding payments. There is an option to choose amounts, as well as the possibility to enter your own amount. After that, it redirects you to the Stripe portal to complete the payment.

Can someone help me with achieving such an effect?

It's quite simple to change the amount in Stripe, but there's no information anywhere on how to make a request to change the amount with a different button.

I'm attaching photos from Humble Bundle so that no one has to search for them.

So the flow is: you pick your price from button -> Then you can go to stripe website and complete order.
But price is already there.

Thank you in advance for any help

slender bramble
#

Hi guys, I just wanted to ask how can use UPI with STRIPE...we our working on a start-up and need a way to accept payements, no other merchants onboarding

frail rock
#

HI Team you are doing a great job (#dev-help)
I am stuck in an issue from last two weeks can anybody help me get running my small business
I have an app (ecommerce ) and Seller can post their products on the APP and buyer can buy , I am deducting 5% from both , I am willing to pay a little amount as well but please get me out of this deadlock.

warped coral
#

Hello, I have a quick question. Is there a way to simulate subscription expiration so I can test out my webhook?

wicked sail
#

var stripe = Stripe('{{ $stripe_publish_key }}');
var clientSecret = '{{ $payment_intent->client_secret }}';
var appearance = {
/* ... */
};

var loader = 'auto';

var elements = stripe.elements({
    clientSecret,
    appearance,
    loader
});

var linkAuthenticationElement = elements.create("linkAuthentication");

var paymentElement = elements.create('payment', {
    defaultValues: {
        billingDetails: {
            email: '{{ auth()->user()->email }}',
            phone: '{{ auth()->user()->phone }}',
        },
    },
});

linkAuthenticationElement.mount("#link-authentication-element");
paymentElement.mount("#payment-element");

var form = document.getElementById('payment-form');

form.addEventListener('submit', async (event) => {
    event.preventDefault();

    var {
        error
    } = await stripe.confirmPayment({
        elements,
        confirmParams: {
            return_url: "{{ url('account/business/project/make_project_upgrade_payment') }}",
        }
    });

    if (error) {
        console.log(error.message);
    } else {

    }
});

why this code not making payment.

tall escarp
#

I'm a bit puzzled here. My charge currency is myr which is not supposed to be a zero-decimal currencies, but why would stripe return an error if I charge less than 200? I'm aware that the minimum charge is RM 2, so I should be able to supply, for example 180 to amount as below.

const paymentIntent = await stripe.paymentIntents.create({
amount: 180,
currency: "myr",
customer: "123@user.com",
});

Stripe will return paymentIntent successfully above, but when I tried to present payment sheet with the received paymentIntent data from above, it will return an error. Only if I set amount to 200 or more, the payment sheet will be displayed successfully. But according to https://stripe.com/docs/currencies, myr is not a zero decimal currency.

slender nebula
#

Hello,

In our application, we are using Stripe's Subscription and Coupon features. Since around June 6th, we have noticed a change in the behavior of these objects. Has there been any system update or modification?

What we do:

  • We issue one-time Coupons that apply to specific Products (applicable to both one-time and recurring monthly Prices).
  • Coupons are granted to the Customer before creating the Subscription.
  • To control the proration of Subscriptions according to our desired specifications (which cannot be achieved using the proration behavior function provided by Stripe) and to set the initial billing date, we specify a future date as the initial billing date and manually generate an Invoice with a one-time price triggered by the customer.subscription.created event.
  • We apply the Coupon associated with the Customer to the manually generated Invoice.

Behavior before June 6th:

Coupons were applied and removed from the Customer when manually generated Invoices were issued.

Behavior after June 6th:

Coupons are still applied to manually generated Invoices, but they are not removed from the Customer, and they are also applied to the initial billing date of the Subscription.

lime sierra
#

Hey Stripe team, if want to test payouts in test mode, what would be the best way of doing it? For example, how to add a fake bank? I tried using something like "110000000" for the routing number, but it says:

Test bank accounts are not supported at this time. Please use a valid bank account instead.

fast zodiac
#

How to enable upi pagments ?

zenith quarry
#

Hi Team

im trying to get the refund list in a charge object that i got from an event but im getting NPE. This is the id of the event evt_3NIRzSBtY8EQL3wK1F8bfeWj

novel mango
#

Hello,

I have an issue with 3D Secure flow on WebView for Android 6.0. Payment return URL is set to app link scheme. Stripe WebView (Secure Checkout) after successful challenge redirects to return URL and WebView present ERR_UNKNOW_URL_SCHEME.

We replicated this issue on dev stage when we use multi select test card for 3DS2 flow: 4000000000003253

On Android 13 all works fine.

brisk nymph
#

Hey, how to add trial period for lifetime subscription? I don't see any option for that.

brisk condor
#

hello
i want to test invoice.payment_failed event in stripe.
how can I test it
in test mode

surreal adder
#

hello. can a tax_rate object be used with a payment intent/ setup intent?

zenith quarry
#

Hi

What's the difference between charge and payment intent??

remote plover
#

Hi Team. I'm implementing Tap To Pay on iOS using stripe-terminal-react-native package. I have a handleTapToPay function (https://prnt.sc/QhUIM-8bzRMS). It fails on line 128 (collectPaymentMethod) with a strange exception ("Modifications to the layout engine must not be performed from a bacjground thread after it has been accessed from the main thread") (https://prnt.sc/NxPhosjO0WCt). This is console output: https://prnt.sc/vLY3x5HT3AuI . I am using Xcode iPhone 13 simmulator. Any ideas what may be the cause of this issue? Thank you!

blazing wharf
#

Hi there,

We're about to expand our marketplace platform into new countries. Currently we're in Denmark.

When creating an Express account for a user that has signed up with an address in this new country, it complains about the postal code not being a danish one. Do we need to enable something within the Stripe Dashboard to support other countries than Denmark?

Here is a request ID that shows the issue: req_xQl14fvwWlYp72

wicked sail
#

$stripe->paymentIntents->create(
[
'amount' => 1000,
'currency' => 'usd',
'automatic_payment_methods' => ['enabled' => true],
],
['stripe_account' => '{{CONNECTED_ACCOUNT_ID}}']
);
can we use this code for custom connected account?

fallen tangle
#

I am trying to do subscriptions. I want to use the LinkAuthenticationElement and the PaymentElement. In order to display these components I need to have a subscriptionId and a clientSecret. To get those, I need a customerId, and to get that I need the users email at least, but then the LinkAuthElement takes an email. Have i gotten this wrong?

modest obsidian
#

Hi, i'm using a Checkout Session to create the possibility for one user to pay. In the request i send the "line_items" with the products. Thats works great. But now we have the problem, that sometimes user already did pay a fraction of an order (via an other payment method) and we only need to charge the open amount. Example: User buys 2 T-Shirt for each 10€, (Sum: 20€) then he pays (via an other payment method) 5€. Then we need to charge him 15€. For me it seems not possible with the "line_items". Is there anywhere a field where i can change the total amount?

distant charm
#

Hello,
I am working on stripe connect account feature. And i have created a url using api in node for user_onboard but in the last steps it is showing as missing information and i am still able to accept "Agree & Submit" and user is onboarded successfully but then when i tryied to send money to that user's stripe connect account , it is giving me an error. SO can you tell me what is wronge here ?

torpid marsh
#

Hello, I am trying to find a best solution to users providing invalid VAT numbers using Stripe Checkout and Customer Portal. Is there any way to prevent people to checkout with invalid VAT number? Any advice on this topic?

winged crown
#

how to cancel stripe subscription from api

tight spear
#

Hello!

I getting "invoice.payment_failed" while i try to purchase subscription. I want to why is getting and how i'll handle this?

unkempt mauve
#

Greetings and salutations,

I am having a real problem getting Apple-Pay to work. I have read the various Apple-Pay documentation listed on Stripe website and tried to follow the instructions. Steps we have taken:

  1. We are using Stripe Elements (web / React)
  2. We have created the ".well-known" site folders which also contain the special "apple-developer-merchantid-domain-association" file.
    3 Added the domain(s) in the appropriate screen (.../payments/apple_pay)
  3. We are testing / viewing the page on an Apple device with an active wallet / card attached.

... but we cannot get the Apple Pay icon to show on screen.

One important point, we are using Connected Accounts, and we have added the domain(s) to the main (pass-through) account.

Should I be adding the domain(s) to the Connected Account instead?

brisk nymph
#

Hey there, I don't see an option to include free trail for lifetime subscription. I have checked with pricing table and payment link, no option found.

verbal tangle
#

Good afternoon!

There is a problem with the processing of 3dsecure on the frontend.
When trying to resubscribe (on the backend this logic is that a new subscription starts from a certain date) the backend returns clientSecret and when calling confirmCardPayment nothing happens (no error and 3dsecure window does not open).
If I buy a subscription instead of resubscribe (basic subscription creation, starts from the current day), the 3dsecure window opens.

lusty apex
#

Good afternoon, I wanted to ask if this is possible within stripe, or if i need to do something with a third party, I do not know any code, and any help is really appreciated!

opal leaf
#

ive just set up webhooks, tested locally and deployed to production. all fine. there is an payment that the eshop did not catch as successful (reason why i've set up webhooks in general) and im trying to resend the event via CLI. I'm trying this stripe events resend evt_*** --live but every time it tries to login. stripe config --list shows keys fine. edit: stripe version 1.14.7

lost cairn
#

Hello,
how can i get client id using secret key on php

zinc oxide
#

How i can add default payment method in this?
const confirmPayment = await stripe.confirmSetup({
//Elements instance that was used to create the Payment Element
elements,
confirmParams: {
return_url: 'https://www.google.com/',
},
});

pliant meadow
#

Hey, I've got a question about dynamic discounts with subscriptions

dapper quartz
#

hello mahendra here

#

thanks for quick reply

undone hinge
dapper quartz
#

I have implemented stripe payment gateway for my client website. this website based on australia country is it possible 3d secure stripe for this country.

inland hedge
#

could I prolong the expire time of the connect url onboarding?

dapper quartz
#

sure

cyan rune
#

There is a notification from Stripe to add the information of the missing owners where they couldn't verify the new information provided by the owner who has 100% ownership.
Right now the gateway is not working because of this.
I just wanted to know how to verify the owner verification with the current owner and don't want to add the missing owners.

dim adder
#

Hello, how to add additional fields to a payment page preconfigured with Payment Sheet.

pastel stone
#

Is it possible to pay an invoice using a MOTO payment intent?

near shadow
#

Hello, What's the best approach to fund a customer's card on stripe from my balance?

dusk swift
#

hi guys! Are we able to manage text button caption and disable button on this component from our side?

twin hamlet
#

We are running an exress account setup with destination charges. Previously when our platform account was with negative balance the refunds issued were created in pending state. now we are getting this: "Insufficient funds in your Stripe balance to refund this amount".

simple bronze
#

Hi, We've enabled payments with 3D secure but we're unable to verify it on prod as all the payments are going through, without any OTP, can anyone explain how that works and which cards required 3D secure?

brisk nymph
#

Hey there, how to add trial period for one time purchase plan? We are using payment links for redirecting to checkout form.

hexed shell
#

Hi, I have a created and implemented stipe integration with our app. but whenever i do it will show status as Incomplete.
I really needed this to be work. #dev-help

brittle fractal
#

Hello

I have one query related to stripe checkout session create .Is thier any possibility to extend expiry time to more then 24 hours

vocal wagon
#

tell.
how to add several email addresses to a customer,
or is it impossible? then why is it not documented?

#

Hello, i work for enelX Way (e-mobility), i need an help. We have already developed a destination charge, but now we need to switch to direct charges

torn stratus
#

Hello community! I'm trying to integrate with Stripe Subscriptions and I was wondering, do we need to create a new product for every subscription even though it is the same type, for example, Product: "Monthly surprise box"? DO I have to create a new product everytime a customer signs up for this product subscription? I hope my question makes sense, many thanks!

vocal wagon
#

from online documentation, we saw that we need to set header param Stipe-Account

#

but we have an error

#

{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such PaymentMethod: 'pm_1NB3KLKEozv3OdijU5oxcIrL'; OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account.",
"param": "payment_method",
"request_log_url": "https://dashboard.stripe.com/acct_1NI9w4BCNKK99dJA/test/logs/req_MSvq7Vk1tbAg6k?t=1686650441",
"type": "invalid_request_error"
}
}

Learn more about error codes and how to resolve them.

vagrant steppeBOT
#

Kosta

vocal wagon
#

we want that connexted account is in charge for stripe fee

#

and now we are paying fees

vagrant steppeBOT
#

Clelio Quattrocchi

#

Karen27

tight quiver
#

Question - I need to figure out how my application can receive a notification/flag or confirmation on the back-end DB side that:

  • A recurring subscription was processed successfully (so that I can give proper access to content on my app)
  • A subscription plan was successfully changed (so we don't charge double)
  • A canceled subscription was successfully canceled (so we don't charge again)

We know that the API we're pulling in displays this information and allows a user to achieve all these actions successfully in Stripe side, but how do we get a confirmation/flag on the database side to allow us to confirm success of each of the 3 actions?

Thanks!

rapid siren
#

I have the following question:
I have 2 plans currently on my platform, Free Plan and Pro Plan.
The Free Plan has no monthly cost, but I would still like to assign the user a free subscription within Stripe.
The Pro Plan, costs 29,9€ per month and this includes the sending of 1.500 emails for free, after this limit each additional email we must charge 0,001€, and this extra will be charged at the end of the month based on the amount of emails that have sent more.
The user can start with the Free Plan and upgrade to the Pro Plan at any time and vice versa. I plan to do this with the Customer Portal.
I am a little confused on how to go about this implementation. How should I create the Pro Plan subscription, do I use 2 pricing items or how would it work?

manic tundra
#

What is the best way to get the credit card fingerprint (With or without saving the card to stripe account)?

frozen fox
#

hi i need to add cancel and modify subscription with stripe. i had created an application which is using react fe to select the prices and send the price value to the checkout api in asp.net core. the asp.net core is creating a session like this

var options = new SessionCreateOptions
{
PaymentMethodTypes = new List<string> { "card" },
SuccessUrl = $"{_baseUrl}/success.html?session_id={{CHECKOUT_SESSION_ID}}",
CancelUrl = $"{_baseUrl}/canceled.html",
Mode = "subscription",
LineItems = new List<SessionLineItemOptions>
{
new()
{
Price = paymentRequest.PriceId,
Quantity = 1
}
}
};

    var service = new SessionService(_client);
        var session = await service.CreateAsync(options);

and calling the create method.

#

after this how will i add stripe modify and cancel to the subscription?

night wave
#

Is there any way i can get country codes and country names from stripe apis ?

verbal tangle
#

When I create a subscription using the trial_ends field, the field stripeSubscription.latest_invoice.payment_intent returns undefined

When I create a subscription, I send data like this:
const stripeSubscriptionPayload = { transfer_data: { destination: creator.get('stripeAccountId') }, application_fee_percent: finalApplicationFeePercent, items: [{ plan: subscriptionPlanId }], expand: [ 'latest_invoice.payment_intent' ], trial_end: Math.ceil(DateTime.fromJSDate(startsAt).toMillis() / 1000), metadata: { ...metadata, platformFee: subscriptionPrice * platformFees.subscription } };

surreal vigil
#

Hi,
I have an issue related to indian accounts
we do a tokenization via stripe.createToken in javascript, than we pass that token to php Customer::create as a source.
If the stripe account and card is from India, I get "PaymentMethods of type card cannot be attached to Customers directly without 3DS due to Indian payment regulations. Please instead provide the PaymentMethod and Customer alongside a SetupIntent or PaymentIntent with the setup_future_usage parameter. See https://support.stripe.com/questions/guide-for-saving-cards-in-india for more details." error.
Going to the guide-for-saving-cards-in-india, it states only the paymentIntent modifications needed, but until there I need a customer id 🙂
I see no parameters to pass to stripe.createToken, other than the card related stuff. What can I do with this?
Thanks

cursive python
#

Please Help - Stripe Account Closed

By mistakenly I have closed my stripe account. It was purely a mistake. Any possibility to restore it? It is very important to our business.

brittle fractal
#

Hello,

Can we create payment link without creating products

something like this

const paymentLink = await stripe.paymentLinks.create({
line_items: [
{
price: '10',
quantity: 1,
},
],

        after_completion: {
          type: 'redirect',
          redirect: {
            url: `${process.env.FRONT_END_URL}/payment/success`,
          },
        },
      });
late yoke
#

Question. For easier configuration, I want to start using automatic payment methods. I have two use cases 1) any payment method is acceptable, 2) only immediate-confirmation payment methods must be accepted (e.g., card or link is ok, sepa is not).
For use case (1) I can use automatic payment methods as documented.
For use case (2) is there some less than documented parameter to use automatic payment methods but only immediate ones?

vagrant steppeBOT
#

ionu

#

aditya-saxena

#

Hitesh

meager axle
lyric estuary
#

Hi Stripe,
Wanted to know if I can programatically close the Payment Sheet in Android. Couldn't find anything like that in the docs.

UseCase:

  • I am initiating the payment in test mode and using the Insufficient Balance card to intentionally fail the payment
  • But at this point I haven't received any error message in the Payment Sheet Result and when I manually close the sheet, then only I get the results

My Expectations:

  • If my order is failed, cancelled due to any error, I want to display that error message and then close the sheet.
  • I do not want the user to reattempt the payment
arctic matrix
#

Hello,

exotic geyser
pure root
#

For this request, cancel_at_period_end a subscription at period end we get a error. For other customers it does work.

POST /v1/subscriptions/sub_IRWw6ioXgXlROL
{
"cancel_at_period_end": "true"
}

We get this response
{
"error": {
"message": "The subscription is managed by the subscription schedule sub_sched_1M0PttBr2BtkxwJvsBR9gLuG, and updating any cancelation behavior directly is not allowed. Please update the schedule instead.",
"request_log_url": "https://dashboard.stripe.com/logs/req_omV37RlSayRrfo?t=1686579868",
"type": "invalid_request_error"
}
}

#

There is not a scheduled change for this subscription

eternal storm
#

Hello. I've been working with Stripe for years, but only ever with one product. I now have two products, but our finance department wants to be able to determine (within the bank account statement)

For example: one payment reconcilliation for "Product 1", and then a separate transaction for "Product 2".

Is that possible?

sick bloom
#

How to enable UPI as Payment option?

tidal wraith
spare ermine
#

hello, i have created a coupon with the value of 69€ and i have a product una_tantum with the value of 69€ so the discount would be the 100% of the product value. When i try to use it in a checkoutsession it give me this errore: promotion_code_amount_too_small. why does it happen?

sick bloom
rapid siren
#

I have a question.
I have a Free Plan and a Pro Plan, the latter has as a feature that has 2 prices, one is fixed monthly and the other is variable depending on the use that the user gives and is reported to Stripe to be charged at the end of the month.
In a recent thread talking to someone here, he told me that what I should do is to create the Client's Protal with the Free Plan and the Pro Plan (without the price per use), and that this last price should be added to the subscription from the API when it detects that the user selected this plan.
So far so good, I'm doing it and everything works fine.
The problem comes now when I add the charge per use price, after doing this, in the Customer Portal I can only cancel the Pro Plan, it does not let me switch between the 2 plans.
Any suggestions?

spare ermine
arctic matrix
#

Hello, my primary challenge is that Stripe's "Direct Charges" model doesn't send webhooks related to connected account activity to the platform account.

Nevertheless, to implement a workaround within the constraints of Zapier, could I advise my connected accounts to set the "Catch Hook" URL as an endpoint in their Stripe webhook settings. Or is there a better way of doing this 100% through zapier that I'm not thinking of?

hybrid hemlock
#

Has anyone heard why the PayPal integration is not supported in the US yet and if/when it will be available?

scenic hound
#

Hello, Does Stripe have any best practices around keeping the Customer object clean? For example, in order to avoid creating duplicate customers in checkout sessions, you’ll have to create a customer before the checkout session api call and reference that customer id in the checkout session. But then this will clutter the customer object if the customer abandoned the checkout before completing payment. What should our recommendation to the customers in this scenario? Go back and delete any customer record without any payment intent record?

loud totem
#

They did massive card tests with my account, can you help me?

tidal wraith
small cosmos
#

Hi, I have an issue regarding the Magento2 Stripe module. Do you have a person in this discord which I can contact or an email address?

dreamy oriole
drifting bison
#

I live in Georgia and I am wondering if I can use your payment system for my website?

vocal wagon
#

Hi, am using stripe elements on my web form and am able to generate token client side, how to pass this on server side ?

dreamy oriole
#

Is there a way to cancel an invoice in a way that shows that it wasn't paid but also disallows the customer from paying it?

peak quest
#

Hi, I'm letting customers cancel auto-renewal in the stripe customer billing portal. When a customer cancels it sends a webhook with details but that happens before it prompts them to a give a reason for the cancellation. And once they select a reason and optionally enter additional feedback it doesn't seem to send another webhook with those details. Am I missing something? I'm trying to capture that reason and log it in my system.

fringe mountain
#

I have been stuck on a problem for a week about and it's about the payment method confirmation if someone could help here is my code import StripeCheckout from "react-stripe-checkout"
// import confirmPayment from 'stripe-element';
import {useNavigate} from "react-router-dom"
import { useState,useEffect } from "react";
import axios from "axios";
import { userRequest } from "../../requestMethod";
const key="pk_test_51MOn0RSCoZWqhGLghNbZGJNElj6EoHYkt03rWcPYTUpa1EUlMas5Rd2RY8Ta70ubtXaFVmchCdlqOPaXhkpYAQcO00i4y02duY";
export const Pay = () => {
const orderConfirm=useNavigate()
const [stripeToken,setStripeToken]=useState(null);
const onToken=(token)=>{
setStripeToken(token.id)

}
useEffect(() => {
const makeRequest = async () => {
try {
const res = await userRequest.post("checkout/payment", {
tokenId: stripeToken.id,
amount: 3000,
});
orderConfirm.push("/",{data:res.data})
} catch (err) {
console.log(err);
}
};

if (stripeToken) {
  makeRequest();
}

}, [stripeToken,orderConfirm]);
return (
<>
<div className="container-fluid">
<StripeCheckout
name="shop"
image="text"
billingAddress
shippingAddress
description="Your total is $2000"
amount={20000}
token={onToken}
stripeKey={key}

    >
      <button className="btn btn-success">Pay</button>
    </StripeCheckout>
  </div>
</>

);
}

#

Hii

languid tulip
lyric kindle
#

Hello, To create a custom connected account via API call, I would like to know a list of required fields. This account is for US based and bussiness type is "Company". Thank you!

raven ore
#

Hello, I'm testing the API with an inquiry dispute, but rather than close or refund, I want the inquiry to escalate to a full dispute, how can I do that?

twin hamlet
#

We are running an express account setup with destination charges. refunds from dashboard are created as pending due to our negative balance, yet from api we are not allowed to create the refund. we get an insufficient funds error. is there a reason for this, is there a way we can get same behavior from API refunds?

vocal wagon
#

hello, i need more informations about "account.updated" webhook

hollow raven
#

Hi, could you please confirm if Stripe have had any exposure to the CVE-2023-34362 zero day vulnerability recently identified within the MOVE-it software provided by Progress Software?

lyric kindle
#

What is the difference between "Recipient Service Agreement" and "Full Service Agreement".

raw cove
#

Why is my card invalid for test when I am using 1234 1234 1234 1234

fathom sky
limber robin
#

Hi guys, a try to create card token but this giving error :
Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing.

lyric estuary
#

Hi Stripe
I am trying Stripe payment using Payment Intent in Android

Actions Performed:

  • Create a payment intent
  • Intentionally fail the payment with Insufficient Funds Test Card - 4000 0000 0000 9995
  • Attempt again the Payment with correct card - 4000 0000 0000 3238 / 4242 4242 4242 4242 and payment is succeeded
  • But the payment sheet result is failed first and the code block for it gets executed. and then get to completed state where it's code is executed but some functions doesn't gets called
keen ferry
#

I'm having an issue with SetupIntent that I'm not sure what to do. I have followed the process at https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements and can confirm

  • customer account is created
  • SetupIntent is created and client secret is passed through to the browser
  • payment detail form is displayed and payment details are submitted to Stripe
  • the browser is returned to return_url with query parameters
  • I can query the SetupIntent and "succeeded" is the status and there is a payment_method on the returned setupintent with a pm_... value
    However:
  • querying the payment_methods for the customer returns an empty data[] element
  • the Stripe UI shows no payment methods on the customer entry
late elbow
#

Is there away to verify a payout is being returned. It was sent to a closed account and the bank couldnt get it moved. They said its being returned but it still shows as processed in stripe.

elder ginkgo
#

Hi everyone, please for help
I have an issue with Stripe Financial Connections.
I was able load the first transactions successfully. My issue now is the best way to keep getting updates when there are new transactions to donwload.
I know that its possible with account refresh. But I tried that and but on fresh sucessfull, when I try to fetch data using the transaction_refresh id, I keep getting empty result even am sure that there are new transaction records into my bank account.
Can you please help?

azure lagoon
#

We're noticing a race condition when updating our database after successful payment (we're creating new records even though we should be updating a record) when the customer is redirected back to the site, we update the database, when the checkout.session.completed webhook is received, we update the database. What's the correct thing to do here from a timing perspective?

pastel stone
#

How do I immediately generate/pay an invoice (I've just collected the payment method)

frozen fox
#

hi how can i restrict the multiple subscriptions plans for same user?

tribal blade
#

Is it possible for stripe ACH integration with the following use case:

  1. create a customer
  2. generate a tokenised bank account details from frontend
  3. make an initial payment with paymentIntent
  4. subscription a customer to a plan

I need help with the scenario above

pine flame
#

Can someone please direct me to where account supports hours are?

graceful crater
#

Hey all, I was wondering where within Stripe there is documentation of an individual updating payment information?

Specifically, I am looking to figure out how I could set up notifications for our team so that when a client has an expired card and the client then enters a new one that is active, we get notified that a new card has been created.

silk obsidian
#

hello everyone, we have 2 customer accounts who are under one Stripe ID. Any ideas on how to separate both accounts?

silk topaz
#

Hi everyone, anyone who has experience with subscriptions and iDEAL? I want to do the following:

  1. Create a payment using iDEAL that is charged right away.
  2. Setup a subscription that the user is billed using the ideal method automatically at the next billing period.
wheat saffron
#

how do i adjust the quantity? i want customers to be able to purchase more than one at a time

sullen ether
#

Hello, I wanted to ask a question related to Stripe being used for Mee6 Subscriptions and the mechanism for recurrent payments. A user just reported to us that they used a Revolut credit card that only allows one-time payments. They subscribed on the 8th of May, and on the 8th of June, they apparently got the Mee6 subscription renewed from Stripe's system, except they did not pay. Can you please tell me if this is something intended, or what can be done to fix this situation, since users abusing this can get subscription advantages for as long as they want without paying? Thanks

surreal temple
charred wasp
#

When enabling the Manage failed payments/ Send emails to customers to update failed card payment methods will customers with historically failed payments be sent an email?

vocal wagon
#

Hey. I'm looking for some reference to how long payments are on hold. So people made card transactions and the first payments were "available on" now + 7 days (this was caused by 7 days rolling pay cycle I suppose). However, payments that were made on 12.06 will be available on 14.06. Where can I find some refrence how this works exactly?

cyan escarp
#

Hello! Does Stripe support network tokenization? If it does, where can we find the api docs to implement it?

storm juniper
#

Hi, I have a customer who has received ACH verification amounts. Is there a way in Stripe where I can get a link which can be shared with the customer so that he can verify the micro payments

frozen fox
#

i never created a key before to use the webhook

radiant wigeon
#

Hi, we want to integrate Google Pay and Apple Pay via Stripe. We are currently using Card Element, based on the documentation I read we will need to migrate to Payment Element. Does Payment Element support features like customer profile management, authorize/capture the credit card payments. Have the ability to save cards, display a list of cards, add/edit/delete existing cards at the customer level.

winged minnow
#

hello- i have a client whos gotten charged four times in a row for one charge, how do we fix this? I can refund her payments but I don't want to be charged anything for the error of the system? help!

crystal imp
#

Hello! For apple pay and google pay with the payment element, is there a possibility that we would need to handle 3DS card confirmation for a 3DS card used in a wallet? Or is that handled through apple/google interface?

weary skiff
#

Hey, when I'm calling stripe.confirmSetup, I'm getting the following error:
IntegrationError: Invalid value for stripe.confirmSetup(): elements should have a mounted Payment Element or Express Checkout Element.
It's wierd because I was not getting this error until just recently and I don't believe I changed anything.

Here is my code:

  const handleSubmit = async (e: any) => {
    e.preventDefault();

    if (!stripe || !elements) {
      return;
    }

    setIsLoading(true);

    stripe
      .confirmSetup({
        elements,
        redirect: "if_required",
        confirmParams: {
          return_url: "https://localhost:8080/dashboard",
        },
      })
      .then(async function (result) {
        if (result.error) {
          if (
            result.error?.type === "card_error" ||
            result.error?.type === "validation_error"
          ) {
            setMessage(result.error.message);
          }
        }
      });
    setIsLoading(false);
  };```
radiant yarrow
#

Can the React PaymentElement render a link payment method? Or do I need to use the CardElement?

normal venture
#

What is the best solution if I have a SaaS Produkt paid yearly and the customer wants to buy an add on product monthly. Do I have to make an other subscription or can I complain both on one subscription?

ember nebula
#

I'm using Laravel Spark with Stripe for subscriptions, one of my customers wants to upgrade their plan but this gives an error: The invoice '**' does not belong to customer ''. I have checked the invoice in Stripe and the invoice belongs to another customer and is not paid yet. Anyone knows about this? I'm trying my luck here, I cant seem to figure it out.

visual onyx
#

Hello, I am new to this channel. I am new to stripe. I am looking for asnwers on integrating payments into my App. My app is built using Angular. There is no SDK for Angular, so my question is "Can stripe checkout be built directly into my app with all the features and wallets or the pre-built stripe checkout page or am I best off using the prebuilt redirect page?" If it is possible to drop the components into my Angular App - help understanding this would be amazing

sturdy swift
#

Im seeing this error You cannot combine currencies on a single customer. This customer has had a subscription, coupon, or invoice item with currency sgd
If a customer is subscribed to a currency, is he permanently locked to that particular currency? Is there a workaround for it? Because the nature of our platform is different connect account holders set up their business in different currencies depending on their region, it is critical for us to allow customers to subscribe to different multiple currencies

craggy scaffold
#

Need help

glacial horizon
#

Hello, I am new here but have a question about Stripe's webhooks. We have initially set up the early_fraud_warning to refund users if detected before a dispute it submitted but the all of our disputes so far we got the early fraud warning after the dispute was submitted. Is this expected and we just assumed it would work differently?

cloud sail
#

Hello
I would really appriciate if you could help me.

I have a frontend where I use Stripe Elements so a customer can add their payment information.

I have a backend written in Go where I create a subscription.

My workflow:

Customer goes to my custom checkout page. The frontend asks the backend to create a subscription.
I create a subscription with trial days. This works.
From the SetupIntent I get a secret. This secret is passed to the frontend so I can use Stripe Elements so a customer can enter their payment information.
This works also.

My big problem is:
When I create a subscription with trial days I don't "have to" add payment information. Therefore as soon as I create the subscription in my backend with trial days the subscription starts. This is not ideal for me.
I would like to create a subscription with trial days with a SetupIntent and pass the ClientSecret to the frontend to display Stripe Elements and the customer adds their Payment method. After that he clicks on "Start trial" and only then the subscription actually starts. And because he added payment information after the trial ends he is charged automatically.

I know it is possible that the customer don't have to add payment information with a trial at all and Stripe will send some days before the trial ends an E-Mail so the customer can add their payment information. But I don't want this. I want to collect the payment information when the customers wants to create a subscription.

Please take a look at my code in the backend and tell me what I have to change.

https://github.com/scalecloud/scalecloud.de-api/blob/main/stripe/checkout-manager-integration.go

Line 34-100

Thank you very much for your time.

GitHub

The api for ScaleCloud.de. Contribute to scalecloud/scalecloud.de-api development by creating an account on GitHub.

sharp aurora
#

Hi - I am working to migrate from ACH credit to bank transfers. With sources, when I created a payment intent, it seemed to tie the VBAN to the customer. The test payment I just ran does not appear to have done that with the bank transfers payment method. It appears the VBAN it on the payment intent level

surreal temple
torn halo
#

Hi, regarding Stripe and support for 3DS, I have 2 (related) questions

  1. when Stripe returns a next_action/PENDING response due to 3DS, is there any timeout related guidance around how long we should wait to get some response based on the customer's action?
  2. In the event we have customers going through 3DS and if they fall out of the flow for whatever the reason without triggering an approval or decline, is there some action we should take on those PaymentIntents that are in the status 3D Secure attempt incomplete ?
coarse wren
#

Can anyone offer assistance with product variance?

fleet orbit
#

Hi there,

I'm trying to load a customer portal using the Stripe API in my next.js application. I'm getting the following error: Access to fetch at 'https://billing.stripe.com/p/session/test_KEYREMOVED' (redirected from 'http://localhost:3000/api/customer-portal') from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

NavBar.tsx (function where I'm calling the api route):

  async function loadCustomerPortal() {
    console.log('hi');
    fetch('/api/customer-portal', {
      method: 'POST',
      headers: {
        Accept: 'application/json',
        'Content-Type': 'application/json',
        'Access-Control-Allow-Origin': '*',
        'Access-Control-Allow-Methods': 'POST',
      },
      body: JSON.stringify({
        customerStripeId: userMetaData!.stripeCustomerId,
      }),
    });
  }

api/customer-portal:

import Stripe from 'stripe';

const stripe = new Stripe(
  'sk_test_KEYREMOVED',
  {
    apiVersion: '2022-11-15',
  }
);

export default async function handler(req, res) {
  if (req.method === 'POST') {
    try {
      const session = await stripe.billingPortal.sessions.create({
        customer: 'cus_IDREMOVED',
        return_url: 'http://localhost:3000',
      });

      res.setHeader('Access-Control-Allow-Origin', '*');
      res.redirect(session.url);
    } catch (err) {
      console.error(err);
      res.status(err.statusCode || 500).json(err.message);
    }
  } else {
    res.status(405).end('Method Not Allowed');
  }
}

Any ideas what could be causing this?

naive locust
#

Hey, i would need some help regarding idempotency
I would like stripe to provide an idempotency key in the checkout.session.completed and invoice.paid webhook events but currently it's always null
i see that in my request (POST checkout sessions) the idempotency key is there

So basically i want to have an idempotency key here in request -> idempotency_key
{
  "id": "evt_1NIZE8AfdCBW4Y8r99IKIVNM",
  "object": "event",
  "api_version": "2022-11-15",
  "created": 1686670428,
  "data": {
    "object": {
        .....
    }
  },
  "livemode": false,
  "pending_webhooks": 1,
  "request": {
    "id": null,
    "idempotency_key": null
  },
  "type": "invoice.paid"
}
ocean kayak
#

Hello yesterday i had asked about the different subscription models we could offer customers. The response I received was a little too general. Is there a page that just speaks to the different subscription models you offer?

winged ridge
#

Hi, I'm starting to plan the actual details of an upcoming migration from Braintree to Stripe and I'm not clear on how to deal with customers who use Apple Pay. It seems like the token for that payment method will not be exported from Braintree, but will be needed by Stripe. What is the process for dealing with this in a migration?

summer lantern
#

Hey, is there any specific reason that Stripe doesn't have successful payment notifications (email) by default?

drifting siren
#

when a customer starts a subscription by paying for the subscription's payment intent with a us_bank_account, is it possible, to save that bank account to the customer for future use?

final hornet
#

Hello, I am using the firebase library "Run Payments with Stripe". The issue I am facing is with subscription. The subscription status is not changing in the firebase database whenever a user fails to pay/pays. I have to manually change the status between "trialing", "past_due" and "active". Please let me know what I can do here. Thanks

slim peak
#

Just a small general question, is there a test mode available for Stripe Identity?

queen mulch
#

Hello.
1 - My company wants to create a plan where the customer should pay in advance to start using it. This is a licensed subscription price, am I right?
2 - The price includes a given amount of usage minutes. When the included minutes have been completely used, the customer should pay for any additional usage at the end of the billing cycle. This is a metered subscription price, am I right?
3 - Is it possible to achieve the behavior described in items 1 and 2 if the customer subscribes to a single subscription? If yes, which price type covers that use case?

forest helm
#

My company has a web based game and we want to start using Stripe to purchase items in the game. I followed the https://stripe.com/docs/payments/quickstart and have a basic payment flow working using the Payment Element, but what is the best practice for when to give the user their item and are there any recommendations for any stripe info I should save in my DB? I was considering a flow like this:

  1. User completes Payment Element and it submits successfully. They are redirected with the payment_intent id as a query string
  2. On the server, grab the payment intent id and confirm it is successful. Query my DB to see if that payment intent has already been processed.
  3. If the payment intent has not been used then update my system to give the user what they purchased and then add that payment intent to my own payment intent DB to ensure it isn't reused
  4. redirect the user again to a clean url that doesn't have the stripe info in it and show them a notification that their payment was successful

Does this approach make sense or is there a recommended way of doing things? It seems like the Stripe documentation recommends waiting for the webhook saying the payment was successful, but I was worried that may take some time and I want the user to be able to start using what they purchased immediately. I imagine the webhook could be a secondary check where my app could confirm if it had already given the user what they purchased.

Learn how to embed a custom Stripe payment form in your website or application. Build a checkout form with Elements to complete a payment using various payment methods.

wind wraith
#

Working on updating our use of the official GO client for Stripe from v72 to v74. It appears the documentation and upgrade guides might have an issue. https://stripe.com/docs/api/discounts/subscription_delete shows using discount.DelSubscription() to remove a discount from a subscription, but that code appears to be missing from the current release of code at https://github.com/stripe/stripe-go and neither the v73 nor v74 migration guides mention the deprecation. So the question is: How do we remove a discount from a subscription using the official GO client?

wicked hearth
#

Hi Everyone while trying payment with Colomian peso the amounts exceeds milion i get error because of the large numbers
any ideas on this

vocal wagon
#

Hey. We are trying to figure out what's the problem with manual payout done via API. We are getting this message Request req_5vA4t9htQSUDQB: You have insufficient funds in your Stripe account for this transfer. Your card balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance). Before we make a manual payout we do transfer funds to user account (USD). Is it possible that, because user has bank account in a different currency, it tries looks for a balance in that currency instead of making coverstion from USD to that currency?

young citrus
#

hi! i need some help figuring out what card readers are compatible for our application. We use stripe connect as our service for our clients

late canopy
#

Hi, I was asked to contact support for adding (again) a bank account that the customer failed to verify

dreamy oriole
#

Can I query for customers by a metadata field?

shy rover
#

Hi, I am writing an Android application to be run on a Stripe terminal and trying to connect to the terminal's reader, but I am getting a Terminal Exception and can't figure out the cause or how to resolve it.

    com.stripe.stripeterminal.external.models.TerminalException: RPC application error AUTHENTICATION_FAILURE with message Failed to read reader info
        at com.stripe.stripeterminal.handoffclient.HandoffAidlRpcListener.onComplete(HandoffAidlRpcListener.kt:42)
        at com.stripe.core.aidlrpc.AidlRpcListener$Stub.onTransact(AidlRpcListener.java:71)
        at android.os.Binder.execTransact(Binder.java:731)```
A few months ago I was able to complete the entire flow of connecting to the reader, creating and collecting payment, but it's no longer working.
brisk zodiac
#

Hi,

In my app users pay for ad-hoc services (online consultations). I use paymentIntent to achieve that and it works just great.

I'd like to explore few features, and would like to hear some suggestions from your side before I dive into implementation:

  • I'd like to implement discount codes that I could send in emails or hand over to some individuals. From what I see, this is not possible with paymentIntent. Do you have any suggestion for me how to accomplish this?
  • I see that stripe has possibility to issue Invoices. I actually look for feature like this, but I'd like to issue and send it to the customer after the successful payment. Is that possible? That's something that's legally required in Poland where I run the business.
  • In the future, I'd like to also offer monthly subscriptions. It's not my direct goal today, but maybe that's important detail that impacts your suggestion.

Would you have any recommendations for me?

fossil marten
#

Is there a way to rollup multiple subscription invoices into one invoice?

pure storm
#

Trying to get access to Financial Connections to retrieve bank balances via API. It keeps prompting me to upgrade. In test mode the FCA seem to have a null balance still. Here's the screenshot i continue to see in the dashboard, even after applying (is there anything else I need to do?):

vocal wagon
#

I need to circle back to my previous question. We have the platform based in US. Once a US based user creates a connected account and we transfer him/her money we can trigger manual payout via API. However, when user is outside US we can't create manual payout as funds are "available soon". Why? What is the difference?

pastel stone
#

Hi, how can I retrieve the payment intent from an invoice I've just paid?

grave smelt
#

Hi! Is it somehow possible to set a Subscription's proration_behavior to always_invoice via Checkout Session creation (in subscription mode)? I've attempted passing it as an option through subscription_data and I receive the error message Invalid subscription_data[proration_behavior]: must be one of create_prorations or none- is this really not possible to do or am I just not making the request correctly? I notice that the docs say this option is not supported for subscription creation, though if I make a request directly using the API and setting this option, it works, I'm just unable to do it via checkout session it seems.

weary skiff
#

hello, I'm using stripe.js/react to create a custom checkout form. To my knowledge, I don't see an easy way to update the payment methods. Right now, I just have a credit card form and something callled "iDeal". I want to remove "iDeal" and add google and apple pay. How do I do this? Both are enabled in my dashboard. Here's my code:

//checkoutForm

  const elements = useElements();

    <form className="w-96" id="payment-form" onSubmit={handleSubmit}>
      <PaymentElement id="payment-element" options={paymentElementOptions} />
    </form>

// addCard

  {clientSecret && (
        <Elements key={clientSecret} options={options} stripe={stripePromise}>
          <CheckoutForm />
        </Elements>
      )}```
queen mulch
#

hello
1 - why does Stripe allow to create a licensed price which "Pricing model" is "Volume pricing"? I'm asking that because Stripe API doesn't allow sending usage records for subscriptions whose price is licensed.
2 - I want to create a metered price whose "Pricing model" is "Volume pricing". However, I need to charge the flat fee in advance. How can I achieve that?

vocal wagon
#

Input box for cards isnt showing on my new website but its showing on old website

peak quest
#

I'm using stripe/stripe-php v10.13.0. When creating a checkout session I'm passing some line_items but I want to include a description. I'm getting this error: You cannot use line_items.amount, line_items.currency, line_items.name, line_items.description, or line_items.imagesin this API version. Please useline_items.priceorline_items.price_data. Please see https://stripe.com/docs/payments/checkout/migrating-prices for more information. at /var/www/html/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php:38)

When I go to that migration guide it looks like line_items.description is supported with or without using the Prices API. I'm also passing a price ID (e.g. price_1NIEycKHYg8nQsNVrBi3ZkCS) for price and it's not clear if I can do that using price_data instead.

#

Shoutout to everyone in here answering questions, even if it's your job. This has been a great resource lately. Nice work.

tulip cipher
#

Hi, I'm developing in Golang. What is the correct order of operations when creating an invoice? It fails when I attempt to draft an invoice before creating the invoice items? https://stripe.com/docs/api/invoices/create . It succeeds when I create the invoice items before drafting the invoice.

upper fossil
#

Hi,

We are using the react-stripe-js package with our react app in a webview. We are trying to provide an ACH option to our customers. In the web the setup all works great, however, our app in the webview has a problem. The UI in the webview app all loads up fine, and the user is able to initiate the process to log in to their bank account. However, this opens the bank site in a new safari browser (which is expected), and when the user finishes their logging in, and selecting their bank, they aren't redirected back to the app. I saw that we may have to request webview support explicitly. Is this true? https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=mobile&ui=webview "Accepting ACH Direct Debit payments in an app’s webview requires special care to handle OAuth redirects. You can request access to use additional parameters in the ACH Direct Debit API that enable use within webviews." If so, I submitted the request, if someone from Stripe could please take a look

stuck umbra
#

Question regarding subscriptions
I use subscriptions to manage license counts.

When a user adds licenses to their subscription mid billing cycle I immediately charge them for the pro-rated increase. That works great.

When a user removes licenses mid cycle I want to let them finish out the cycle with their current, higher, license count and then begin charging the new lower rate at the beginning of the next cycle. How do I accomplish this? (I think it's through Schedules - but want to make sure before I start down that path).

open hull
#

Hi we are one of your cline who need help to approve our platform profile

peak quest
#

@crimson needle related to my previous question about description, can you confirm that there is no way to change the location of the custom_text.submit.message? Seems like it always appears above the submit button and above the checkbox for terms and privacy.

iron tree
#

Hey, there!
When I try to list all the subscriptions, for example, the JSON returned comes with the "has_more" key equal to true, suggesting that more data is unshown.

How could I see this unshown data?

keen ferry
radiant yarrow
#

Is there a good way to verify that my Link account is working for test purposes? I am trying to setup Link in our checkout and believe that its done correctly in the app but its not rendering still. Im thinking its because of the link account data that I am trying to use.

Is there a test link account email, name, and phone, that I could use? Am I supposed to make the link account in some test environment?

fluid ingot
#

Who incurs the cross border transfer fee when transferring through stripe connect from a US account to a Canadian

fallen tangle
#

I am customising the paymentelement with the appearence api - I need a way to either customise this text or remove it "By providing your card information, you allow test to charge your card for future payments in accordance with their terms."

dense rune
#

Hello, is it possible to raise the price of a subscription after a certain amount of cycles?

undone dew
#

Hi team, we are trying to integrate with a 3rd party 3DS vendor. They told me we have to enable “3DS Import” first to be able to pass 3DS result In the paymentintent object as "payment_method_options": {
"card": {
"three_d_secure": {
"cryptogram":"kAMTKCFOIM134yphDhh4o4QBiURR",
"electronic_commerce_indicator":"05"
}
}. IWas wondering does anyone knows who can help with this request. Have talked to support team, but looks like they have no idea what it is

rapid tide
#

Hi - when onboarding connect accounts from my app, what do I check for and how do I reinitiate onboarding if the account is missing information?
For example, missing Identity document or SSN...
thanks

arctic matrix
#

Hey how do I create payment links on behalf of my connected accounts? I'm getting this message "This application does not have the required permissions for this endpoint on account 'acct_1NIGojIKI5xOOxxx'."

coarse turret
#

Hey, im trying to listen to the webhooks and im using the cli. im trying to capture when a checkout completes and the products that were sold so i can flag add credits to the clients account. but i cant figure out how to trigger line items with the cli.

grave smelt
#

Hello- I'm working on implementing a subscription item quantity update (proration) that charges the customer automatically. I have it working with proration_behavior=always_invoice and collection_method=charge_automatically, the only undesirable thing is that if the payment fails, the update still occurs. Is there an option I'm missing to get this behavior? Or do I have to go the route of generating the invoice and making a quantity update on a successful payment webhook?

sick forge
#

Hello. I want to move away from using the legacy CardElement, and instead switch to the PaymentMethod element. Here is my code for creating a payment method:

  const createPaymentMethod = async () => {
    const payload = await stripe!.createPaymentMethod({
      type: "card",
      card: elements!.getElement(CardElement)!,
    });
  
    return { error: payload.error, paymentMethodId: payload.paymentMethod?.id };
  };

How can I alter this to work with the PaymentElement instead?

high coyote
#

hi @dim hearth i am seeing different results than what we discussed in this thread #1117869190985044120 message . The ach pull is showing under pending balance in cards - "pending": [
{
"amount": 182799,
"currency": "usd",
"source_types": {
"bank_account": 0,
"card": 182799
}
}
]

slate turret
#

Hi,

I am having issues when setting up a subscription to charge automatically.

Here is the code to create the subscription:

let subscription = await stripe.subscriptions.create({
  customer: user.org.stripeId,
  items: [
    {
      metadata: {
        product: 'name',
      },
      price: *price_id*,
      quantity: 1,
    }
  ],
  cancel_at_period_end: true,
  metadata: {
    product: 'name',
  },
  payment_behavior: 'default_incomplete',
  // automatic_tax: {
  //   enabled: true,
  // },
  collection_method: 'charge_automatically',
  default_payment_method: paymentMethods.data[0].id,
})

After the subscription is created, I go to the subscription page and it shows a status of 'incomplete'. Then I go to the invoice for that subscription, where it has created a payment page and under payments, it says 'incomplete' with the message "The customer hasn’t attempted to pay this invoice yet."

What am I doing wrong? And, if it helps, I am running this in test mode.

ocean kayak
#

Hello is there a way to only have refunds pay out with an admin approval?

zenith quarry
#

Hi Team,

I want to know what is the difference of Refund and Credit Note?

charred meteor
#

Why does Stripe create a blank payment method for a customer when they are sent an invoice? It’s making problems for me because I check whether customers have an active payment method in their customer portal and now I get a false positive

vernal spindle
#

Hello, is there a way to pre-fill custom fields used in a CheckOut session? Similar to how I can pre-fill a customer e-mail.

This doesn't look supported per the docs, but checking to see if there is an undocumented way to do this.

Use case driving this is we have multiple paths for a user to launch a checkout session. In some cases, but not all, we have the information already and would like to pre-fill it for convenience.

naive wagon
#

Why do I have a customer who has a lot of bank card payments today?

#

The platform sent me a risk warning.

vocal wagon
#

How can I set up in stripe rules that it declines the card that does not support 3D

west sun
#

I need help

bold trail
#

When stripe arrives in Honduras, do I need it now?

delicate vector
#

Radar is not decling payment with highest score like 81. We have rules setup to decline payments with score over 60. How do we resolve this and how can we test to make sure the rule is working?

lost cairn
#

Hello ,
I need one help for onboard create link using stripe API.

bleak ocean
#

I'm setting up Link for payments, but I'm unable to see any details on the actual card that is in the payment method. We would like to have the details of the card, for our fraud prevention system as well as making the UX look as expected (showing last 4 digits, and card brand). How can I get the details on the card that is attached to the Link payment method?

shadow seal
#

Hello,
I am trying to integrate Stripe in my iOS app and I had a query regarding how can I save user's card for future payment? Currently, I have a working code for one time payment. I wanted to know how do I save the card and how can I charge them monthly if they opt for it?

willow grove
#

Hi there, for mobile app integration, both iOS and Android. Is there a way to test 3DS on Apple Pay/Google Pay?

turbid raft
civic tulip
#

what are minimum set of webhook I should set up to manage subscription, if I want all subscription page, dashboard, management and invoicing be handled by stripe.

obtuse oriole
#

hey can i get a help with stripe integration here

obtuse oriole
ancient lichen
#

I have integrated Tap to Pay in android and IOS but facing issue on android side, as there are no Card picture and amount to Pay on last screen in android as in IOS. please see screenshots and help me.

meager axle
#

Hello Team
While setup ACH (To charge direct from Bank account) with instant verification, I have follow each step as mention in Doc.

Query - After per all steps, I'm getting status as succecss for that setup intent id which geenrally starts with seti_.
So, my simple question is, As I'm getting success status, Should I consider that, It performs Instant verification automatecally in stripe? Or I'm missing something.

civic tulip
thin zealot
#

Hello
I want to use stripe one time api on React-native.
Can you help me? 🙂

steep summit
#

hi there, using the API is it possible to get a single, all time total turnover figure withut having to iterate over all charges?

granite basin
#

Hi Team
in prod for one subscription we manually added metadata info .. somehow with webhook event metadata object is coming empty

sturdy swift
#

Hi team, when the invoices are listed using search api, how is it ordered by? Does the most recent one listed first? or the oldest one? The documentation does not have an explanation about it. Also, can we control chronological order of the invoice list?
reference: https://stripe.com/docs/search#query-fields-for-invoices

Look up objects in your Stripe data.

brisk nymph
#

I am using cashier package of laravel for stripe integration, In front end using payment links to collect payment from customer.
On user signup, I am creating stripe customer and storing stripe customer id in database. When payment will be completed, database will be updated by the webhook. the But when user is doing payment with link, the customer id on stripe and customer id stored in db is not different, stripe creating two different customer for same email.

light sparrow
#

Hi guys, which webhook events shall I use for async payment methods both for successful and failed payments?

We're using Stripe Connect.

median abyss
#

Hi team,
My application was enabled with localisation support. Can I download stripe invoice in any other language, please clarify

wet fog
#

Hey team, just checking some behaviours and assumptions that I can't (at least with a quick breeze) find any doco for

  • I've got a payment intent for a product that needs to be shipped out
  • I'm pretty sure my app isn't permitting null addresses
  • But the payment intent shipping address is null

Is there a behaviour wherein a shipping address isn't revealed until a payment intent is fully handled?

Because I do think I have a correlation between payment intents for this product that appear to be missing shipping addresses and payment intents that have had failed webhooks (problems on the side of my system).

thin zealot
#

const fetchPaymentIntentClientSecret = async () => {
const response = await fetch(${API_URL}/create-payment-intent, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
currency: 'usd',
}),
});
const {clientSecret} = await response.json();

return clientSecret;

};
Is there default API_URL ?

shadow seal
#

Hi,
I wanted to clarify a few things, when creating a paymentIntent if we set setup_future_usage to off_session alongside customer_id then will this attach the paymentMethod to that customer?
Also when we set setup_future_usage do we need to also set automatic_payment_methods[enabled]=true?

civic tulip
#

I am bit confused how to pass custom field
$session = \Stripe\Checkout\Session::create([
'payment_method_types' => ['card'],
'client_reference_id' => $userInfo->id,
'line_items' => [
[
'price_data' => [
'currency' => $currency,
'unit_amount' => $price,
'product_data' => [
'name' => 'Subscription',
],
],
'quantity' => 1,
],
],
'mode' => 'subscription',
'billing_address_collection' => 'required',

    'custom_fields' => [ 'dropdown' =>
            [
                'label' => 'Investment Focus',
                'key' => 'investment_focus',
                'type' => 'dropdown',
                'options' => [['label'=>'XX', 'value'=>'YYY']],
                'optional' => true,
            ],
    ],

    'success_url' => $successUrl,
    'cancel_url' => $cancelUrl,
]);

as dropdown
I get error unknown parameter custom_fields

bright sandal
#

Can anyone help in cashier package of stripe in laravel ?

#

I want to override cashier's inbuilt migration and model

quick temple
#

Hi all!

I have a question regarding payments and invoices.

We had originally set up a payment system using the payment intents API. We quickly realised that we had to charge VAT and as suggested in various online forums we just added 20% to the charge. This was not enough however as we need to show the customer the price vs VAT breakdown in the receipt as well as have it recognised by Stripe.
We then found that applying a tax rate to an invoice did both of these things perfectly. However the issue now is that we would like to like to generate the invoice and charge the customer immediately, but I can only find solutions for using the default payment method already attached to a customer id.

Is it possible to generate an invoice and then immediately collect customer payment information and process the payment? (For once off payments) Or is there a way to include a proper VAT breakdown using the payment intents api? (We do not need to use Stripe tax as we are a UK only company and for now only need to use single tax rate.)

I've been getting a little lost in all of the documentation so any and all help is appreciated. Thanks in advance!

vocal wagon
#

Hello can I somehow detect situation when user Was redirected to stripe payment page and clicked back button in browser? 🤔

viral bane
#

Hey! I'm trying to get notes on invoices out of the API, but it seems there is no way?

civic tulip
#

hi, is there any way when creating payment link disable save card info pay with link option?

weary abyss
#

Please help, if I set the billingDetails fields to never, I can't proceed in my payment.

civic tulip
eternal rune
#

is-it possible to add a promo code when creating a Checkout Session? so that a user doesn't have to add it manually ?

nocturne hull
#

Hey, I'm having a custom payment flow where storing payment method is separated from making the actual payment. The payment method is stored for later usage (on stripe side), but some customers prefer not to store the CC info, but enter it every time.
Is there any way to do this? Here's the screenshot for better context

sweet token
#

I'm new to stripe, I'm trying to integrate it into my app, but I've tried signing up, however it asks for my country, but it's not listed in the dropdown, how do developers from unlisted countries use stripe? or we just don't?

dire nimbus
#

Hello, the M2 card reader will automatically shut down after being inactive for 10 hours. How to cancel the automatic shutdown

left sage
#

Is there a way to retrieve line items from a PaymentIntent object?

slow pivot
#

Hi,
I want to create an ApplePay certificate. I follow the procedure and have received the stripe.certSigningRequest file. When I go to the Apple Developer site and upload this file, I receive the following error message when I click on Continue : CSR algorithm/size incorrect. Expected: RSA(2048)
Could you help me?

rain mirage
#

Hi I am launching a Photo Booth company, I wanted to know if stripe can provide me api protocols so I can see if my software can be used with stripe credit card, Apple Pay payment system

fleet orbit
#

Good morning Stripe team!

I'm trying to figure out what the best hooks are to use for my subscription use case, the subscription flow is detailed below. For each level of subscription, the user is generated a set amount of tokens each month.

Bronze: 1k tokens
Silver: 3k tokens
Gold: 8k tokens

  • Upon initial subscription has been setup and paid, they will be granted those tokens.
  • If a user upgrades their subscription, I want them to be charged immediately and be granted the additional tokens.
  • Upon each successful payment/subscription cycle, the customer will be granted the relevant amount of tokens.
  • If a user cancels their subscription, they will not be granted anymore tokens.

What are the best hooks to use for this?

thin zealot
#

Hi, team
I want to use stripe escrow.
Can you help me?
I'm new to stripe

winter matrix
#

Hi guys, we got some issues with payment events, can anyone help us?

thin zealot
#

Hi, team
I want to make a functionality that send money from A to B on Stripe.
Can you help me?

azure spindle
#

Hey guys ... I'm struggling to get a webhook event being passed to my local machine via stripe login ... I've had it working before ...
It's account:acct_1MTIaSIxuz6qUJpj

lethal laurel
#

👋 Hi folks. In test mode, is it possible to trigger or test a mandate being cancelled — for example, for a SEPA debit or PayPal payment method?

I'd like to test subscription renewal behaviour with test clocks, but I can't find a way to bring the payment method into the mandate cancelled state. There's no API to update a mandate on the Stripe side, and no way to edit the method from the dashboard, it seems.

dark tree
#

Morning,

I am currently working on moving customers from another provider to stripe, as part of this I need to create subscriptions for customers that start in the future, subscriptions will have a base cost plus metered usage.

The base cost for the current billing period will have already been paid on our previous provider however metered usage will be charged in the next bill.

How do I create a subscription that will work with this?

If I set trial_end to the customers renewal date then they are not charged anything so the metered usage is free.

If I set billing_cycle_anchor to the renewal date then the metered usage is charged as expected however the customer is also charged the prorated base plan between now and the renewal date.

Is there a way I can get this to work? Thanks

gaunt mason
#

I have created a test account and connect with my 3rd party. I successfully made a payment via my 3rd party but it failed on Stripe dashboard

strange widget
#

Hi team,

Apologies if this is the wrong place to ask but worth a shot. We recently went live but before going live we had a few testers ensure all the buy now / subscribe buttons were hooked up to the correct products in live. We can see now that has had a significant impact on our conversion performance charts as we have a bunch of payment form views without purchases. Is there a way to reset this data / delete payment form views from a specific day?

vocal wagon
#

Hi team!
I would like to know if it is necessary to have an Apple Pay account before activating it on Stripe ?

#

Hi there!
I would like to know whether it is possible to create a usage-based subscription product, with both a monthly and yearly version, but which are both billed monthly (with the yearly version having a minimum duration of 1 year).
This would be especially useful for the "additional" billing of usage above the monthly included amount

granite basin
#

Hi Team,
do we have any way to add tax rate in subscription ..manually (subscription has already created)

blissful imp
#

HI I need help with the payment capture,

celest moon
#

Hi, anybody knows how to contact with Stripe sales? They already cancelled the 2nd appointment..

weary abyss
#

Can we achieve this design in Stripe Elements?

charred wasp
#

When enabling the "Send emails to customers to update failed card payment methods" setting, how can I see if the customers were sent the email?
I've tried this feature in our test account with a test clock, but I haven't received an email.

vocal wagon
#

Hey! I have another question. In the Typographic example, monthly fee and usage-based additional billing is apparently realized using two products, one for the base fee and one for the additional usage. If I understand it right, this could also be done using just one product with gradual pricing. Is there a reason why the example uses 2 products, and which is the preferred method?

loud forum
#

Hi there,
while doing the payment for invoice it should allow the customer to pay through only the payments attached with his account.

How can i do this ?

Currently, every time the customer pays new payment is getting added , instead i just want to show him available payment methods to do the payment.

tropic berry
#

When I make a request to checkout using api-key=sk_, it returns the paymentIntent attribute. However, when I use the API key generated from the backend (api-key=sk_test*****************), it no longer returns the paymentIntent attribute.

rich thunder
#

Hi, Team
Can i add multiple bank account on stripe connect account?

wraith violet
#

Hey 👋! I was having a question about implementing subscription in stripe node js having options to upgrade the subscription.

-- Issue --
When I create the subscription it works fine and shows the payment sheet on react native.

But when I update the subscription of a same plan to a different price it shows the payment intent is already succeeded.

Do let me know what should be done in case of updating the subscriptions

wicked sail
#

Hii Team I am confused in this docs
https://stripe.com/docs/connect/destination-charges

$stripe->paymentIntents->create([
'amount' => 1000,
'currency' => 'usd',
'automatic_payment_methods' => ['enabled' => true],
'transfer_data' => ['destination' => '{{CONNECTED_ACCOUNT_ID}}'],
]);
how customer pay from their bank or card ?
for more information I am using connect custom account.

With Connect, you can create charges on your platform account, take fees, and then transfer remaining funds to your connected accounts.

olive obsidian
#

Hi. I'm trying to use customer portal deep links to allows a user to upgrade their subscription to another plan. What flow type should I use?

sand pond
#

Is there any way to check the list of emails sent to customer for example, subscription reminders and failed payment emails?

This is usefull for dispute claims, becasue I can't see anywhere any list of emails what was sent to customer by stripe, is there any workaround or feature I am missing?

winged verge
#

how can I add google pay on stripe?

slow geyser
#

When one of my customers tries to refund this error message is shown: [14-06-2023 02:39:29][AP-Web][WARN] Details: This account is not currently able to refund charges. Please contact us via https://support.stripe.com/contact/ for further information.; request-id: req_2RWEqU2WGADJTH

ancient lichen
dire nimbus
#

hi How to obtain battery information every ten minutes for the Android dependency package of m2 card reader

granite basin
#

Hi Team
trying to update the tax rate in subscription .
await stripe.subscriptions.update(subscriptionId,
{
items: [
{
tax_rates: [taxRateRef]
}
]
}
);
it is not allowing me to update

ionic sundial
#

Hey I'm seeing an unusual behaviour that seems not to match what the API docs says.

I'm on API version: 2019-12-03 - I'm looking at the correct version of the API docs and have checked the changelog and there aren't any relevant changes to my issue since.

Steps to replicate:

  1. Create a Subscription
  2. Create a Subscription Schedule using subscription_schedule = Stripe::SubscriptionSchedule.create(from_subscription: stripe_subscription_id)
  3. I'd expect subscription_schedule to have one phase which contains items but the items are missing in the response.

The value of subscription_schedule.phases[0] is missing the items key:

{
  "add_invoice_items": [

  ],
  "application_fee_percent": null,
  "automatic_tax": {"enabled":false},
  "billing_cycle_anchor": null,
  "billing_thresholds": null,
  "collection_method": null,
  "coupon": null,
  "currency": "gbp",
  "default_payment_method": null,
  "default_tax_rates": [

  ],
  "description": null,
  "end_date": 1718356736,
  "invoice_settings": null,
  "metadata": {},
  "on_behalf_of": null,
  "plans": [
    {"billing_thresholds":null,"metadata":{},"plan":"price_<REDACTED>","price":"price_<REDACTED>","quantity":1,"tax_rates":[]}
  ],
  "prorate": true,
  "proration_behavior": "create_prorations",
  "start_date": 1686734336,
  "tax_percent": null,
  "transfer_data": null,
  "trial_end": null
}
vagrant steppeBOT
#

zhangweijun

sour olive
#

Hi Team Stripe ...I wanted to know ...For a Particular Subscription Pricing of a Product..I need to put specific description for it..Plz guide me regarding this ⁠#dev-help Also for ur reference i'm on No-code Approach..So plz direct me the solution thorough the dashboard

steel inlet
#

Hello! We want to allow our users to refund the invoices collected via API. We have seen that Stripe has the /refunds endpoint through which we can refund an Invoice payment by passing its chargeId/paymentIntentId as a parameter. Our question is, in what state will the invoice be? Don't we have to mark it as "returned" or some similar final status? Thanks in advance!

empty quail
dreamy sparrow
#

Hello!
I would like to create a SetupIntent, I have read the documentation on (https://stripe.com/docs/payments/save-and-reuse) but in this scenario the user needs to log in to the Stripe Session portal. I would like to create a form in a page in my site/app with the card details (cvc, name, number, expiration month, expiration year) and create the SetupIntent, with the card details, server-side. Is this possible?
Thank you in advance.

Learn how to save payment details and charge your customers later.

sour olive
#

Hi , I want to Retrive my Customers Data( Recurring Plan related info) from Stripe database , storing it into my org's postgresql database..plz provide solution in the Code approach

broken scarab
#

is there any way to remove the google pay and link button of the payment checkout form provided by stripe?

granite swallow
#

Hi Team this is arvind. Need some info on Stripe ACH microdeposit verification

hoary kraken
#

Hello,

I would like to know if it is feasible to retrieve a product's sales history from the Stripe dashboard or through an API. Currently, I can observe that products are associated with payments, allowing me to determine which product was included in a specific transaction. However, I am interested in knowing if it is possible to access the sales history of a particular product. This information would enable me to identify my best-selling product and gather similar insights.

Thank you.

tardy tulip
#

Hey

foggy vault
#

Hi, I am using @stripe/react-stripe-js libray card element for credit card input. But I want that when user enters his credit card number it do not show it's credit card number plainly on screen as it is not secure. Is there any way to hide or make it in asterisk or something like that

sour olive
#

Hi How Can i check the flow of subscription before the End Date..From dashboard

waxen spindle
#

@sour olive please use the already created thread for you

sour olive
#

oh ...apologies @waxen spindle sure

queen mulch
#

Hello
Is it possible to add credits to a metered subscription?

lament loom
#

Hi there,
The Apple Pay button is not working in the iframe

devout basalt
#

Hey! I'm trying to test pending payments and I am using SEPA debit for that. I enter IBAN AT321904300235473204 and according to docs https://stripe.com/docs/testing?payment-method=sepa-direct-debit#non-card-payments this IBAN results in "The PaymentIntent status transitions from processing to succeeded after three minutes." In fact it transitions after +- 13 seconds and it's not enough time to test my flow. Why it is happening so fast?

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods.

stone abyss
#

Create payment Intent with customer ID is not working. Asking for payment method.

noble charm
#

how can i check my shopify store is connected with stripe its tooo hard kindly help me

vocal wagon
#

Hi, I want to handle invoice.upcoming event in my code. I was playing with handling it in the morning and everything was fine but for the last couple of hours, the event is not firing in Stripe, even when I use test clock to forward the time. I made some changes to the settings, could it affected the event? https://dashboard.stripe.com/test/events?type=invoice.upcoming you can see that it hasn't fired in a while

dreamy sparrow
#

Hi there! Can i set up future card payments (https://stripe.com/docs/payments/save-and-reuse-cards-only?client=html) whitout using Stripe.js? I need more customization. So, i would like to create a SetupIntent server-side, collect the card details client-side (a form in a page in my site/app), and then set up to a future payment server-side (obviously I need the user to execute the 3DS). Is it possibile?

Use manual server-side confirmation or present payment methods separately.

grand ibex
#

I need some help CARD element pov.

tardy spade
#

hi team i'm getting one error while creating schedules in stripe
the below data im passing while creating schedule
{"startDate":1560600000,"phases":[{"items":[{"price":"price_1NIq9YId3XBXXz6Y4mUgBNTY","quantity":1,"metadata":{"phaseId":0,"agreementFinanceScheduleId":13216,"resourceId":39891,"payorId":719520,"currentUserId":2,"agreementPerson":487472}}],"iterations":1,"metadata":{"phaseId":0,"agreementFinanceScheduleId":13216,"resourceId":39891,"payorId":719520,"currentUserId":2,"agreementPerson":487472}}]}",
"timestamp": "2023-06-14T09:48:22.660Z"
}
is giving
can not create a subscription schedule with phases* that already ended. You can back-date a subscription schedule by setting start _date" to be in the past,
but phases must end in the future.

cobalt niche
#

Hi Team,
We are using the connected account [custom accounts], as of our domain we are extending the functionality to add more bank account in that connect. Seems its possible by Stripe dashboard and for the code level

Type 1
Account account = Account.retrieve("acct_xxxxxx");
account.getExternalAccounts().create();

Type 2
another way as per the documentation by using bank token?

which one is the right way ?

#

@waxen spindle Could you please assist me with adding external account in connect ?

sullen ether
#

Hi, the thread from #dev-help message was closed, so I can't reply to it.
Sadly we have a Stripe express account which doesn't allow us to investigate subscriptions fully like a Stripe standard account (and it is not feasible to change since the only way apparently is to delete the account to recreate a new one and we cannot afford remaking our whole system). I asked Mee6 to help me figure out the subscription ID, what I can already give is
Discord ID of the Server (guild): 772813650246762536
Discord ID of the user mentioned in question: 722531129231671327

bright holly
#

Hey,
I am looking for help regarding applying a tax rate to a shipping rate within checkout. I have added a tax behavior and tax code to my shipping_rate_data but shipping costs are not included in the vat displayed.
We also have varying tax rates based on products in Germany (7% and 19%) and ideally I would like to assign the appropriate tax rate accordingly.
Thanks in advance for any support!

wicked sail
#

var stripe = Stripe('{{ $stripe_publish_key }}', {
stripeAccount: '{{ auth()->user()->stripe_connect_account_id }}',
});
$(document).ready(function(){
$("#add-bank").click(function(){
$('#empty_modal').modal('hide');
var clientSecret = '';
var setupIntent = {};
$.ajax({
url: '{{url('account/renter/bank/add_stripe_bank')}}',
type: 'post',
headers: {
'X-CSRF-TOKEN': csrf_token,
},
dataType: 'json',

                success: function(response){
                    var setupIntent = response.setupIntent;
                    var bankSetup = stripe.collectBankAccountForSetup({
                        clientSecret : setupIntent.client_secret,
                        params: {
                            payment_method_type: 'us_bank_account',
                            payment_method_data: {
                                billing_details: {name: '{{ auth()->user()->first_name.' '.auth()->user()->last_name }}', email: '{{ auth()->user()->email }}'},
                            },
                        },
                        expand: ['payment_method'],
                    })

why I got erro this error
POST https://api.stripe.com/v1/setup_intents/seti_1NIrulR7SbLLaYoVkjqQdebU/link_account_sessions 404
No such setupintent: 'seti_1NIrulR7SbLLaYoVkjqQdebU'
PaymentMethod collection failed for some reason.

bright holly
#

Hey,
I am looking for help regarding applying a tax rate to a shipping rate within checkout. I have added a tax behavior and tax code to my shipping_rate_data but shipping costs are not included in the vat displayed.
We also have varying tax rates based on products in Germany (7% and 19%) and ideally I would like to assign the appropriate tax rate accordingly.
Thanks in advance for any support!

Reposting since my last thread was closed? I would deem this a developer question, nothing support can directly help with.

crystal quail
#

Hello Guys,
We are a new marketplace and we recently completed our stripe integration for completing payments. On our Klarna checkout page, our company name still shows as "Example GmbH" and I have tried to change it several times with no success. Does anyone know how this is done?
Thank you

cunning elk
#

Hi, I wanna set an expiration period of 30 mins for some of the checkout sessions instead of the 24h default but I'm a little confused in regards of the time format required for the expired_at attribute. How would the line look like?

waxen obsidian
#

Hi team, Stripe's Invoicing API is now used by scammers to send out scamming emails!!! Hope someone can do something and stop those criminals!!! Here is a few screenshots of a scamming email:

wicked maple
#

Hi team, does the Card Account Updater apply to Guest Customers as well as registered Customers? I am being charged a fee for each card update so I want to clarify when an update is registered. Thanks

weary abyss
#

when using address element, do I need to create first payment intent? or can I use address element first before creating payment intent?

tardy spade
#

for one customer what is the max number of limit for subscription schedules?

vocal wagon
#

I have subscriptions with stripe. However, one of my customers wants to pay via bank transfer. What is the best option to handle this customer?

#

Hallo zusammen, gibt es hier auch einen deutschen Support?

wispy imp
#

Hi there, i hope you are all doing well. I'm very sorry to bother you with such a case, but i encountered something strange. I'm using stripe through woocommerce, and today, while doing my accounting, I noticed on Stripe that i had a duplicate payment for one and the same order. It's a small amount, but I'm very curious because it's never happened before, so I'm wondering: how can this be?
I can see two payment intentions and two payments, but they belong to the same order, so maybe my customer paid twice. Could someone please help me with this? Thank you very much.

EDIT: i must be on the wrong channel, please ignore this message if so, and sorry about that

hoary kraken
#

Hello,
I am using Stripe Checkout for payments, and using "checkout.sessions.create" API for that. I want to link the payment with a Connect account, is there any way to do that? I just want to link the payment with Connect account and DO NOT want to transfer the amount immediately into connect account. I want to do that later periodically.

true nexus
#

Hello!
I want to get the amount of money in transit to bank for connected account
Just want to check is it correct way?

for await (const payout of this.stripe.payouts.list({
      stripeAccount: stripeAccountId,
    })) {
      if (payout.status === 'in_transit') {
        payouts.push(payout);
      }
    }
tight quiver
#

Hi - Question regarding Customer Portal

Here's the scenario:

  • We want users to be able to cancel and/or change their subscription.
  • We will put a button in our mobile app that when tapped, users will be taken to the customer portal to manage their subscription.

Questions:

  • What is the user logging in to the Customer portal with?
  • Is this the same credentials they use for our app?
  • If so, how do we pass Stripe this information?
  • Do we need to pass their credentials when the user taps on the button?

Thanks!

solar thunder
#

Question: Having problems receiving payments within the EU and UK:

olive obsidian
#

Hi. It looks like we cannot specify an ID when creating a Price. Is that intentional ? What's the best practice regarding object IDs? Is it okay to define them manually on other objects (products, ...)?

vocal wagon
#

Hello everyone, I have a problem, can someone help me?

shrewd onyx
#

Hey, How can I adjust the usage of an tiered subscription item? The usages is too high (due to a mistake from our API), how can I reduce it?

cobalt jacinth
#

Hello there, I'm investigating a problem with the PAD payment method in Canada that seems to not be working since the 8th of June. I found another thread mentioning the same problems we have with our customers. Do you have any information on it ?

dreamy oriole
#

Hello! If I want to void an invoice when it's past due, would I just implement a webhook or is there a way to configure that to happen automatically somehow? Also, is there an event for when an invoice is past due?

kind sun
#

Hi - Question Regarding simulating test mode transfer and payout for India (Standard Account).
Platform Account ID - acct_1NI6WUSE13Uh92D5
Issues facing -
Transfers

Payouts:

  • Used a valid bank account based on documentation (https://stripe.com/docs/connect/testing#payouts) to create token successfully, but stripe.Payout.create gives error:
    Request req_cN2ND19yt7jz4Y: No such external account: 'btok_1NIthDSE13Uh92D5euyA9Ham'
vocal wagon
#

Help! I need help setting up payment and invoice with ANGAGE - event registration site.

limpid scaffold
#

Hello there

Inside Invoice Item object (invoice.lines.data[]) - seeing such property tax_amounts
It's really useful for me atm, but doesn't see it in the API documentation

Is it safe to use it? Or that's some internal things

vocal wagon
#

Sorry, I'm in charge of the project but I'm not a developer.

blazing salmon
#

I have changed my phone number in my Stripe Account, so I want to change my phone number to a new one, how can I do it?

tall drum
#

Hi Folks, when I create a new Price via the API (which will be used on subscriptions), a webhook is fired called plan.created which is seemingly for a Plan I did not explicitly create. I understand (from here : https://stripe.com/docs/api/plans) that Prices have superseded Plans ... is Stripe just creating this plan automatically for the sake of backwards compatibility ? Can I ignore it ?

rapid siren
#

Hello, I have the following question, in the checkout I ask for the billing information. I can make these data are shipping and not billing and another thing, once the user completes these fields, how do I get them?

vocal wagon
#

hello!

quick question regarding the billing portal, i'm testing out 3DS/requires_action for recurring payments and I came upon this error is that normal? I am passing return_url to the create billing portal session endpt.

Thanks!

native nebula
#

Tap to pay Android, warning library "com.google.android.gms:play-services-safetynet:18.0.1"(I cannot reply messages by permissions in this chat)

sullen ether
#

Hello, here is my question again with the missing info.
I wanted to ask a question related to Stripe being used for Mee6 Subscriptions and the mechanism for recurrent payments.
A user just reported to us that they used a Revolut credit card that only allows one-time payments. They subscribed on the 8th of May, and on the 8th of June, they apparently got the Mee6 subscription renewed from Stripe's system, except they did not pay. Our issue is that users can abuse this system to keep benefitting to the Mee6 subscription (and our system built on top of it) while not having paid since it offers them a grace period that apparently can last for days, even weeks? Can you please tell me if this is something intended, or what can be done to fix this situation? Sub ID from the user who reported it: sub_1N5MCZRDs9vNxzao0qrAxkf3
Thanks

wintry creek
#

Hi Team

Is there a way to avoid saving the payment method when an invoice is paid?

sour olive
#

Hi I’m on low-code approach of integration..About Customer Portal I’m having issue about that To avoid User distraction..I want to let user login in my website & by use of that login only He should be able to open the customer portal directly. So I want to remove that email login phase of customer portal. Guide me for it plz #dev-help

worthy summit
#

Hello, I'm using stripe library for PHP, and I have some strange problem with accessing to response object - I'm calling $this->stripeClient->identity->verificationReports->retrieve($verificationReportId); and I'm getting needed object but How I can access to its props ? I tried $value->files and $value['files'] but I'm getting null 😦

thorn tapir
#

Good morning Stripe devs 👋

Due to some special requirements, I had to disabled your automatic email invoice feature and I need to re-implement. I'm curious about reminder emails-- the ones you send on the due date, 7 days after, and 15 days after.

Is this, send invoice function,(https://stripe.com/docs/api/invoices/send) the same function you send for a reminder email? Or is there something different?

echo field
#

When a subscription is renewed and the customers card is attemped and it fails, I get the webhook that it fails, but strip will try to run it again at a later time....is there something in the webhooks or an API call I Can get to find out which attempt this is? Or if its the last attempt before we consider the subscription cancelled?

icy warren
#

Hi, how can we debit the charge from connected account. please help me on this.

forest helm
#

I am setting up Stripe for users to make small purchases in a web based game. I would like to save payment details to enable one-click purchasing after a user makes their first purchase. What is the difference between setting up a "Link" account for the user vs creating a Stripe Customer for the user and using the "setup_future_usage": "on_session" in the payment intent?

sinful igloo
#

When creating subscriptions I'm finding that once a subscription is created, but still in the incomplete status you can't update the price. Is the appropriate flow that when a user is selecting their subscription level, if they change their mind and want a diff price/subscription we just create a new one for that user and let the other hang in the incomplete status until it expires?

shell cedar
#

anyone can help?

orchid ridge
#

hello, is there a way to reduce the quantity of a subscription with the api? I found a way on the stripe dashboard, but I want to handle this on my own app. For this application, a customer pays for the service on a yearly basis for each line in his base (1 subscription = 1 line), but if he decides to remove some lines to reduce the amount of the subscription, I would like to be able to update the subscription plan

south trellis
#

can you explain this event evt_1N78VKBPM36OC3gX5rfCtb72

oak lodge
#

Hi Stripe Developers

I'd like to make a payment after receiving a Stripe payment, but I need that secondary payment to have a receipt and list items of the secondary payment. Can Stripe Payments assist here please?

Thank you.

native nebula
#

Tap to pay Android, warning library "com.google.android.gms:play-services-safetynet:18.0.1"

forest latch
#

Hello, we have implemented the google pay integration on react native. it is working fine in development but in production we are getting this error: OR_BIBED_07 ?

wraith violet
#

Do updating a price for a same product in a subscription returns a new payment intent which can be used to charge the user instantly?

crystal glacier
#

Does stripe have validation for external payments on the connected account side?

vocal wagon
odd siren
#

Hi there, looking for a little help.
We are offering two types of subscriptions:

  • Recurring (subscriptions)
  • Lifetime (one off payment)

Subscriptions are working well:

  1. Find customer based on email, 2. find subscription via id customer

My approach for finding the one-off payment is:

  1. Find customer based on email, 2. find charge via id of customer

But for the one-off payment, unless I complete it in the Stripe dashboard, I cannot find it in the charges because one of the following:

  • Any customer for the one-off payment, is showing up as guest, so can't find them in customers (thus no customer id). I could only test that it works via the stripe dashboard and adding a payment in the customer itself.

I tried using a search based on the billing_details.email data -- which should be the customer, which works, but only if I know we have one type of single-payment (not guaranteed in the future) because:

  • Metadata added to one-off payment (product) is not showing up in what is returned in charges.list (so can't link it to a subscription id (we store the product info in metadata)
  • Metadata added to one-off payment (payment link) is not showing up in what is returned in charges.list (so can't link it to a subscription id (we store the product info in metadata)

Any help would be greatly appreciated.

shadow seal
#

Hi,
I had a small query. In the below code I am saving the payment Intent in my Firestore database. So when I execute this payment the Stripe Logs have the 'status code' as '200' and 'status' as 'succeeded' but the Firestore document has the status as requires_payment_method. So does Stripe automatically sets the payment_method and executes the request correctly?

const paymentRef = customerRef.collection('payments').doc();
const payment = await stripe.paymentIntents.create({
amount: processedAmount,
currency: 'usd',
customer: customerId,
});

await paymentRef.set(payment);
res.status(200).send({clientSecret: payment.client_secret});

sinful igloo
#

In the docs for usage of Elements w/ react it says to put an Elements provider at the root of the react app, but then in the example it shows it simply wrapping a checkout form.

Where should the Elements provider go?

It also looks like the Elements provider is taking in the client_secret, but this would make having the provider at the root completely unreasonable because I would have to do some sort of context/redux style of getting the client_secret for a given operation to that top level elements provider.

Is there some way to have the Elements provider at the root (this way I only load stripe 1 time) and then utilize it further down the tree w/ the client_secret there?

gloomy acorn
#

Hi Team! Hoping you can help clear something up for us. Is it possible for a US-based Connect platform to send a Transfer to a non-US-based Connected Account (with the appropriate recipient agreement) with a guaranteed amount landing in the Connected Account's destination account (i.e. the payout)? In other words, can the received amount (after fees and forex) be determined while creating the Transfer?

hardy loom
#

Hello Team. I just registered on Stripe and I would like to know how to set up recurring payment on the WooCommerce platform, please.

naive wagon
#

Why was my stripe banned? I didn't do anything against the rules.

spiral otter
#

Hello there, I am working with a separate charges / transfers , after a payment succeeds, does Stripe assess a transfer fee on the associated payment transfer? Or is the Stripe fee only assessed on the successful payment?

solid grotto
#

Hello, starting from yesterday, payments in production stopped working. The checkout session opens, but after entering payment details and submitting the form, we have a generic error displayed : "Une erreur de traitement est survenue".

After checking the network inspector, I can see that the error message is the following :

"Your account cannot currently make live charges. If you are the site owner, please activate your account at https://dashboard.stripe.com/account/onboarding"

But when going on the dashboard, I have no error message and everything seems normal.

Here are more details about error response :

code: "testmode_charges_only" doc_url: "https://stripe.com/docs/error-codes/testmode-charges-only"
request_log_url: "https://dashboard.stripe.com/logs/req_IiX0VMoai0o06?t=1686752306" shield_action: "too_many_charges_for_current_state" shield failure: true tvpe:
"invalid _request_error"

near owl
#

Hello Stripe team! I'm working on an integration of Stripe Checkout but i'm not able to correctly calculate tax costs activating stripe tax

stiff lava
#

Hello, Stripe team! I attempted to process a payment intent using the 'verifone-p400' reader. I used the following code:

            payment_intent: payment_intent.id
        },
        {
            stripeAccount: stripe_account_id
        });```

However, I received an error message stating: "Reader is not capable of processing this action." 

I would appreciate guidance on how to proceed from here.
hazy jewel
#

Hi Stripe Team, I am hoping to use Stripe Connect for Reconciliation and was hoping someone would be able to point me in the right direction.

Use-Case: I am building a vertical SaaS platform, which allows organizations (my Platform's users) to send payouts and receive payments from their respective vendors and customers. The Platform intends to be the full system of record for my customers, a big part of which is reconciliation of bank transactions with Platform generated ledger entries from corresponding workflows.

Currently, the Platform allows our users to make manual ledger entries (with the respective amount). We'd like some way to use Stripe Connect to pull bank transactions and reconcile these ledger entries.

I did find these docs around Stripe Reconciliation (https://stripe.com/docs/reconciliation). But I was not able to find any dev resouces on how to do this. If someone could point me in the right direction with this, that'd be much appreciated 🙂 Thanks in advance

ocean kayak
#

Hello I have 2 questions. 1) I am looking for a subscription model where users purchase uses of a good or service. Ex. Every week the customer is charged and earns one credit they can spend. 2) When i subscription is renewed is the meta data used to create it also sent to the server with the event?

cold slate
#

Hello,

#

I would like to know if it is possible via API to specify additional recipients or add cc addresses to billing emails?

forest helm
#

Hi Stripe Team, I am trying to set up a customers ability to use 1-click purchasing if they already have a card on file. I have a customer created with a credit card saved to that customer. When I create a payment intent for the customer I pass in the existing payment method id and customer id

const paymentIntent = await stripe.paymentIntents.create({
    amount: product.price,
    currency: "usd",
    automatic_payment_methods: {
      enabled: true,
    },
    customer: customer.customerId,
    payment_method: paymentMethod.id,
    setup_future_usage: "on_session",
    description: "200-coins",
  });

What I was hoping to see on the frontend was the payment modal would show that a customer already has a saved card and they can just use that, but instead the credit card form is empty. How do I allow a user to reuse a card they already have on file?

cyan kestrel
icy warren
#

Hi, How to make refund request for connected account. please help me on this. using .net

tribal blade
#

Hii Stripe team,

I have created a custom form where I want to be able to collect bank account details of US customers, create a an make an initial charge from their account and subscribe them to a plan for the length of their contract with me.

What is the best step by step processes I should follow?

thorn edge
#

Hi, I'm working on a Stripe App and I'm trying to build a feature that will let users know if a request to migrate data from Stripe to a third party on a webhook event succeeded or not. It's clear enough from the API docs how I can fetch event details. But it's not clear if it's possible to fetch webhook attempts. I'd like to be able to show users whether the webhook call associated with an event succeeded or not. Is this possible via the API?

crimson plank
#

Hello, how i can check if there is a limit on the card?

dense rune
#

Hello! I have a phase set up on a subscription but it's not super clear to me what's going to happen when that phase kicks in (meaning, what happens to the invoice that's generated when that phase happens) - can I share the sub id and get some clarification?

idle furnace
#

Hi, I have a question, I currently have an implementation that uses the checkout session, however this functionality in some cases is adding a add-on (Red arrow) to add a product again, why is this happening? Is the payment session or the product a setup?

bronze torrent
#

i have a customer trying to pay an outstanding balance via the Stripe billing portal, but they're getting this error:

stripe.confirmPayment(): the confirmParams.return_url argument is required unless passing redirect: 'if_required'

spring tree
#

hello 👋
is there any way to opt out of auto card updater on a per-card basis?

lapis thorn
#

Is there a way to add a return URL back to my site after a user pays an invoice through a hosted URL

terse siren
#

Hey team stripe! I have some questions

sour olive
#

Hi..How Can place customer facing price descriptions for different plans of One product...in no code approach #dev-help

worthy summit
#

Hello 🙂 Is it possible to get a person object what is assigned to account while I have only an AccountID ?

vocal wagon
#

Hi Team, question on subscription quantity. Our platform provides a Team entity where an admin of the Team can add/remove team members. Currently on each add/remove, the team member count is being synced with Stripe subscription quantity. But it ends up in double charges when the admin removes team members and then adds a new one. I wonder what is the standard way to avoid this double charge (how other saas companies do that). What I would expect is that during the current billing cycle invoices only created if the subscription quantity goes higher than the max quantity during the current billing cycle.

rapid siren
#

Hello! I have the following question, how can I configure that the subscriptions through the checkout only start to be charged from August 1st, that all this time will be free. Is it possible?

radiant wagon
#

Hi! Is it possible to modify the content-disposition header when fetching the invoice_pdf (https://stripe.com/docs/api/invoices/object#invoice_object-invoice_pdf) ? I'm looking to display the invoice pdf (via iframe) in our end instead of downloading the file right away, which seems to be happening due to content-disposition header being set to attachment on stripe's end

slim anchor
#

Question about payment captures - Can you capture a payment multiple times for example : you capture $50 of a $100 payment but you meant to capture $60 is it possible to do another capture on that payment intent ID

vestal orchid
#

HI. I need someone from dev-team to help me something related to events

vocal wagon
#

Bei sofortüberweisungen bekomme ich nach der Zahlung bei der Bank die Nachricht :"transaktion abgelehnt" Die Zahlung wurde aber vom Konto abbucht. Es erfolgt kein Rücksprung auf den shop. Warum?

charred bear
#

hello, stripe just blocked my account , i need help asap

dense rune
#

Hello, I received this error when setting up a scheduled phase. First time I've seen this: https://d.pr/i/tNMyxc

loud forum
#

Hi there,
while customer is doing the payment for invoice there payment details are getting saved inside customer payment methods , how to avoid this?

sinful igloo
#

When using the payment element is there some way to get the element to show all options without passing in the payment_method_types array with all the types?

charred bear
#

why is the assistance not working???

#

i need help, can a human reply please

sinful igloo
#

Is there some way with the stripe payment element to see when it has all the input needed to submit? Want to disable the button that triggers confirmation

chrome spruce
#

hello -- is it possible to pay for a subscription in advance of a subscription start date or renewal date? use-case: we are backdating an annual subscription that was paid for in a separate system to 1/1/23 - 1/1/24. the renewal date is 1/1/24. our team wants to charge for the subscription fee in advance. this means charging $2k today FOR 1/1/24. then when the customer's renewal comes about in stripe on 1/1/24, the fee would be $0 because they already paid.

vocal wagon
#

Hello. With Sofortüberweisung I get the message after the payment at the bank: "transaction rejected" but the payment was debited from the account. There is no return to the shop. Why?

timid ember
#

Is it possible to configure what type of Credit cards are accepted on a Terminal? Eg if a location doesn't want to accept AMEX

vast isle
#

Hey team! I have a question that you guys might be able to help me with.

I am trying to retrieve all cards (all payment methods) associated with a customer. For this I'm using:

stripe.paymentMethods.list({
        customer: customerId,
        type: 'card',
      })

This retrieves a lot of paymentMethods but not all of them, since when I try to associate a default_payment_method under invoice_settings for a customer I can have a payment method that is not present in the list of all my cards. I'm using this to retrieve my default_payment_method

await stripe.paymentMethods.retrieve(default_payment_method)

Please note that the type of my default_payment_method is 'card' (same as the query in list paymentMethods)
How can I fix this behavior?

EDIT:
Same behavior happens when I use stripe.customers.listPaymentMethods(customerId, { type: 'card' })

vocal wagon
#

Hello.

#

I wanna know about Stripe payment way.

#

If I know stipe key then can I success pay ?

frigid sand
#

Hi, I want to connect my grailed account with Stripe and I can't login into my bank account. Manually writing my Bank details is not possible because you request US information and I'm from Poland.

whole wyvern
#

Hello, we are based in UAE and work as a marketplace between freelancers and people . and for our freelancers to getting paid, we want to use Stripe Connect so we can send the payouts to freelancers in their local currency. (we are a freelancer market place). However, once we redirect our freelancers to stripe's standard connect page, stripe asks them to fill their information like their business name and etc. however our freelancers are individuals without any company ownership. I have two questions

  1. can we use the freelancers name in the business name ? (since they don't own any business). stripe allows them to use their names, instead of a company name ?
  2. can we redirect our freelancers to stripe connect page without forcing our users to fill these fields as in the picture "legal business name" "company registration number" ,, " registered address", and skip optional fields like doing business as, vat number and etc. ? we dont want the freelancers to see these informations, but skip to the next step.

I am a little bit confused here. Any help will be appreciated.

vestal cloak
#

Hi is there a way to get the checkout session from the payment-intended.succeeded event details when used in web hooks?

finite hawk
#

Hey there! I'm using subscription schedules to upgrade and downgrade subscriptions. I was wondering if there's a webhook for whenever a schedules transitions in between phases. If that's not the case I may need to use customer.subscription.updated but that webhook gets sent for many reasons other than the phase transitions, so it would not be ideal

sudden yoke
#

if we detach a payment method from the customer, how long will stripe keep the payment method (cc token) in the system and does it ever get deleted? any danger to have many floating around that are not in used in stripe?

broken tartan
#

Hi, we are a UK company and have a UK Payout Bank account added. We are trying to accept a Bank Transfer payment type when setting up a subscription where the currency is set to USD but we receive an error "The payment method type 'customer_balance' does not support the currency USD" how do we setup Bank Transfer payment method on a subscription for USD?

wise nymph
#

hello. when a subscription is paused on billing portal. its status is still active but pause_collection becomes not null.

const subscriptionStatus =
stripeCustomer.subscriptions.data[0].status &&
!stripeCustomer.subscriptions.data[0].pause_collection ?
stripeCustomer.subscriptions.data[0].status : 'paused';

sturdy swift
#

Hi team, thank you for your help always.
In a scenario where the product's subscription price is in USD and customer's default currency is in CAD, I will be able to present the price in CAD so the customer can subscribe to the product. When does Stripe decide the 2% currency conversion fee and can we add that to the purchase price for the customer?
Also, when does Stripe decide the 2% currency conversion fee and can we charge that to express connect account owners who created the product?

somber dawn
#

Greetings! - Urgent & Critical Support needed Please!

Under Settings -> External payout accounts and scheduling -> Bank Accounts

It’s requesting that I connect an AED Bank account, while we’ve got a SAR Account available

I searched extensively and couldn’t find a solution of how to switch it

Could someone direct me to the right place

Thank you!

sturdy swift
#

When i try to refund using stripe dashboard, it says
Refunds take 5-10 days to appear on a customer's statement. Stripe's fees for the original payment won't be returned, but there are no additional fees for the refund.
Is it possible to charge connect account owners for stripe fees so customers get full refund instead of getting refund of
original amount - stripe fees ?

tight delta
#

Hi, I'm looking into hooking up Terminal with BBPOS WisePOS E. I'm wondering why the docs say that it's recommended to use the server-side integration with this reader.

vocal wagon
#

Hey. We are making transfers to cross border account for payouts. When transfering from paltform account (which is in USD) to say a user from Poland there is a conversion made USD -> PLN. In the dashboard I see conversion rate but I don't see it in transaction object when retreiving it: tr_1NIz3QJ8S8EUFADrSEztAZC6 How to get this conversion rate and/or transaction amount in local currency?

barren lava
#

Hi there, we are looking to implement a subscription workflow where the authorization and capture of payment happen a few days apart. Happy path seems straightforward, but I can't find documentation on what to do if authorization fails. Will the PaymentIntent object be created, and if so, does Stripe initiate smart retries or would we have to re-attempt authorization via the API?

crystal trout
#

Hello. With Stripe's pricing tables, I am looking for a way to show different currencies based on, say, geography and collect the payments in the same currency. How can this be achieved? Any pointers would be greatly appreciated

brisk goblet
#

Hi, I'm trying to find an example of project using Stripe to provide ACSS Pre-Autorized Debit in Canada with recurrent payments. Suggestions anyone?

tribal agate
#

Hi, I have added paypal payment via paymentMethodOptions and it works on staging/dev environment, but not on prod. the API is latest on both - what am I missing?

sharp oriole
#

Hello guy @here I am creating a checkout page in nextjs13.4 using next-intl library as well , I have created my api route file api/payment/route.ts and have set up component for the click but I am getting a 405 error every time and I am not getting redirected to the prebuild checkout page, any thoughts on how I can fix this issue?

export default async function handler(req: NextApiRequest, res: NextApiResponse) {
console.log(req.method); // Logs the HTTP method of the request

if (req.method === 'POST') {
    const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
    let data= await req.body;
    let priceId = data.priceId
    const session = await stripe.checkout.sessions.create({
        line_items: [
            {
              price: priceId,
              quantity: 1,
            },
        ],
        mode: 'payment',
        success_url: `${process.env.HOST}/success`,
        cancel_url: `${process.env.HOST}/checkout`,
    })    
    return res.status(200).json({url: session.url});
} else {
    res.setHeader('Allow', ['POST'])
    res.status(405).end(`Method ${req.method} Not Allowed`)
}

}

const ProductCard = ({ price }: { price: Price }) => {
const {data:session }= useSession()
const handlePayment = async (e:any) => {
e.preventDefault();
const { data } = await axios.post(
process.env.api + "/payment",
{
priceId: price.id,
userEmail: session?.user?.email
},
{
headers: {
"Content-Type": "application/json",
},
}
)
window.location.href = data.url;
};
const dyefunc = (price: any) => {
if (price.nickname === "nutri") {
return <div>One day delivery</div>;
}
};
return (
<ButtonSub onClick={handlePayment}>Buy now</ButtonSub>
);
};

eternal moon
#

Hi, I wanted to confirm about Apple/Google Pay. I'm getting a payment method token from client SDK, attach it to Customer and then I have to detach it, since it cannot be re-used. I wonder if that's a way it is supposed to be used?
I would expect Apple / Google Pay card token to be a single-use payment method that I shouldn't attach to a Customer. Or, I guess, it's not an actual single-use method in case of recurring payments?

novel wigeon
#

I'm a bit confused on the behavior of unpaid subscriptions. The documentation (https://stripe.com/docs/billing/subscriptions/overview#unpaid-subscriptions) seems to say contradicting things.

At the top it says For unpaid subscriptions, the latest invoice remains open but payments aren’t attempted. The subscription continues to generate invoices each billing cycle and remains in draft state. . But it also says If you leave the unpaid subscription in place, the most recent unpaid invoice remains open, new invoices are generated, and payments on new invoices are attempted.

What I have observed is the first statement is correct - i.e. draft invoice generated each billing cycle but payment is not attempted. So wondering what that second statement is referring to?

timid horizon
#

How could I get the receipt of a given payment_intent.succeeded event that happened?

sick forge
#

Hello. Given a particular invoice, what would be the best approach to checking if it is the first Invoice within the subscription billing period? I'm thinking to just get a list of all a customer's invoices, filter out anything older than "current_period_start" property on the user's subscription, and order the invoices by the "created" timestamp, and then finally check if the given invoice is the first invoice within the result set. This sounds reasonable to me.

But is there a more efficient approach?

brisk elk
#

Hi everyone. I am having trouble with my LinkAuthenticationElement. I am using it to collect the user's email. I use it just as described in the quickstart guide for custom payment flow (https://stripe.com/docs/payments/quickstart#link-authentication-element). The issue is that the value for email never changes even though I handle the change with
<LinkAuthenticationElement id="link-authentication-element" onChange={(e) => setEmail(e.target.value)} />
I would appreciate any kind of help with this!

terse siren
#

quick question

civic tulip
#

Hello, if I am using \Stripe\Checkout\Session::create and client_reference_id, how would I get stripe customer back using client_reference_id?

thin ravine
#

Hi, based on the documentation, merchants can add a card to their blocked list by refunding a transaction and marking it as fraudulent. I'm wondering what response the Charges API would give if a card blocked in that way was attempted again?

hazy jewel
#

Hi all - quick question - I am building a vertical SaaS platform with integrated payouts. Through the platform, the user (our company's customer) can payout their respective service vendors. The Platform will also generate on behalf of our users to be sent out, and our users will receive payments from that invoice (Platform will charge a service fee from the invoice). Is there a way I can use the Standard Account to do this? I am trying to avoid having to use a "custom account" because that is too much of an engineering effort for us

timid horizon
#

Should I cache Stripe Payment Intent (and other information) in my database, or is it OK to call the API whenver the user request some information about the payments?

wild totem
#

Hi, is there an easy way to create a connected account in test mode that has payouts enabled?

potent sonnet
#

Hi all- I have a question for some reason the payout never hit my account and I’m not familiar with the account connected. How can I find support? Can I refund tot he customer?

rapid tide
#

How do I add an existing Stripe account to a Stripe Connect platform account?
Is it possible to use API?
How are permissions configured?
Thanks

minor knoll
#

Hello, am trying to set the anchor billing cycle for a subscription when i create it to the first of the month (i set the date to the first of the next month) it works ok if i don't add any trial days if i do am facing 2 issues:

billing_cycle_anchor cannot be later than next natural billing date (1689388820) for plan

or

Trial end (1688524448) cannot be after billing_cycle_anchor (1688126400).

Are there any guidelines on how i should proceed?

grim relic
#

hi. a customer made a payment on Monday morning, yet nothing has hit my stripe account at all? No notification. They paid via apple pay - Stripe and the funds have left their account. this is the error I am getting....No such payment_intent: 'pi_3NI1MSGL8KLTPYF31oObTeKJ' Please help. I can't even find my history of payments, nothing.

#

where do i find my account number?

golden cosmos
hollow nebula
#

Hello team, suppose I am retrieving an upcoming invoice for a subscription I am going to create. If it has a free trial, is there a field I can directly retrieve the amount the user will be paying after trial ends? (In Stripe checkout page, we can see it. I'm wondering is there a way we can get those values somehow without doing calculations on our end)

grim relic
#

sorry i can't find my account anywhere

upbeat cloud
#

so in ach payment we take 6 days to credit the amount .so how can i track this in my website ? if its succes or failed?

brazen spade
#

I’m new to stripe. How can i get to know which payment methods supported by stripe?

lapis tinsel
#

Hello Stripe Dev Team,

#

I have a quick question for now

rain ermine
#

Hello Folks, I have just finished my stripe integration for subscription based SaaS product I am building. I am able to accept payment include 3D secure except for few banks including ICICI bank (one of largest in India). The account is based in India. I have used this guide for subscription integration https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
Exact problem: For 3D confirmation, stripe is opening bank site in an Iframe but bank is not allowing its site to open in Iframe.
Steps to replicate (if having an ICICI bank card): Not sure it will be much of help but trying payment on this link https://buy.stripe.com/dR6dUC9oc8gK3bq001 with an ICICI bank card will show the error.
Possible solution: Way to open the 3D verification in new tab instead of iframe if it is blocked

Create and manage subscriptions to accept recurring payments.

Dramedy Infotainment Solution LLP

Unlimited video chat in HD quality

lapis tinsel
#

I am using Stripe API now

rain ermine
dry hatch
#

@rain ermine let's continue on thread

lost cairn
#

Hello I need one help for account link create code

sour idol
#

hi stripe team,
I need help
if recurring payment is success or failure then which event will be triggered in webhook

weary abyss
#

what are the other modes in using address element?

raw cove
#

How to add and remove payment methods

vocal wagon
#

Hi. We have pro and basic monthly subscription plan. For example, user bought pro plan which will expire on July 1 day. But on June 19 he decide to switch to basic plan. In this case I want to show in my app that he still can use pro plan features untill July 1, because he downgraded from pro to basic. So Is possible from stripe fields in my backend to see that user downgraded plan and pro plan is valid untill July 1?

granite basin
#

Hi Team
what is meant by Pending invoice items ..
for one invoice I can see two items

wary dune
#

Hi,
Is it possible to send money to a customer directly to his bank account via the card number ?

turbid heart
#

Hi, i'm confused about the timing of subscription auto-cancelled. if i didn't set cancel_at_period_end to true, does it mean the subscription never be cancelled ? And how shoul i do if i want to cancel the subscription when the payments failed twice ?

worthy spear
#

Hello, I was wondering if there's a way to programmatically set the redirect URI, instead of manually configuring it through the Stripe Dashboard's Connect settings. Is that possible?

faint gyro
#

Hello, am using payment element for accepting payments and once the payment is done it redirect to provided url with payment_intent_client_secret
am using this client secret to retrieve the payment intent but the response object does not provide metadata attched to payment intent is that expected behaviour or am I missing something here?

hidden sequoia
#

HELLO

#

my boss want to know the exactly date of stripe account money transfer to local account

cedar turret
#

I'm new to stripe payment and how do I Stripe Integration Enhancement with 3D secure and test ?

kind sun
#

Hi -

I want to send money from the platform to a connect account and then create a payout to the connected account so that the funds reflected on the bank account associated with the connect account- how do I do it (INDIA)?

If transfer's are not available in IND, how to do it?

stiff lily
#

Hey, is there any info of: How much do the customer portal sessions live and is that timeframe configurable?

cobalt niche
#

Hi Team,
I'm trying to verify the external account [bank account] in Connect.
but its throwing an error
Invalid null ID found for url path formatting. This can be because your string ID argument to the API method is null, or the ID field in your stripe object instance is null. Please contact support@stripe.com on the latter case.

#

Could you please support on this

#

?

vocal wagon
#

Hi,

Is it possible to list a fixed number of payment intents (or payouts) in ascending order after a given date? I can use limit to set the number of elements to list, but I see no parameter to control the sorting order along the created parameter, so I'm wondering whether that's possible. In my tests, the most recent payment intents (or payouts) always appear first in the list.

Based on my investigation, the only solution is to pass the payment intent or payout id coming before the given date to starting_after argument, then set a limit and reverse the returned list to get it in ascending date order. Is it reliable to use starting_after or ending_before without truly needing pagination?

Any other solutions to suggest?

rain ermine
rocky orbit
#

Hi Team,
I purchased one subscription for 10 USD on 1st May and that is recurring so on 1st June from the stripe side it's automatically charged me again so which webhook do I have to use to notify that information to my database?

rain ermine
#

I think 'invoice.paid','invoice.payment_succeeded', 'invoice.payment_failed' should be the hooks you should be looking for

unreal ocean
iron cloak
#

Hi Team, We have integrated Stripe 's Payment Element on our e-commerce website's checkout page but we want to match the UI of the payment element with our website's UI. How can we achieve that?

inner pulsar
#

Hello Stripe, is there any way for my Connect Custom Accounts to be able to use Marketplace Apps? Such as Snyder for QuickBooks integration?

potent summit
#

Hello Team,
We are one of the issuers in the UAE region and we need your assistance regarding stripe payments. Currently, a few of our customers are not able to perform transactions/place orders with our cards.

Below is the snippet with the error for your reference. Let us know if anyone can assist.

brave olive
#

Hello!
A question, in case a card payment was declined (paymentIntent confirm failed) because of a radar rule, is there any way for me to know the reason in Front End?
im getting only generic values in the declined PI

inner pulsar
#

Hi Stripe Devs, using API, can I save note_ records to Stripe? See photos.

proud kelp
#

Hi Team,

is there any API to fetch all payment option enabled from my dashboard ?

cedar turret
#

Test your integration to ensure it can handle 3D Secure In line with regulatory expectations in Malaysia aimed at tackling increasing fraud trends, we will start applying 3D Secure authentication (3DS) to certain payments on your Stripe account for procurehere.com.

 To avoid an increase in declined payments on your account, you’ll need to ensure that your integration can handle the requires_action state in order to prompt your customers to authenticate their payments. If you previously integrated with the basic card integration, you will need to update your integration to handle card authentication. 

Testing your integration
We recommend testing your integration with each of our regulatory test cards. If you are unsure how to test your integration, you can find further guidance in our testing documentation.

sour olive
#

Hi there....I want to have Eight Product in a Single Pricing table in which 4 are Monthly Pricing & 4 are Yearly..i need help on this..#dev-help

cedar turret
#

how to double-check in test mode with test cards to ensure that 3D authentication and require_action state

rapid siren
#

hello! How can i change the checkout color?

faint sundial
#

Currently i have created pricing table with 3 plans (Essential,standard,enterprise)

how to show free trail in screen 2 (i have attached image )

rapid siren
#

How can i desable Link Payment option

crimson viper
#

Hello i orderd something online but the company didnt deliver anything but i payed for it now people telling me the site were i bought something is not legit i mailed many times with them but never got a amswer back now i saw on my bank acount your company so i wanna know what to do now

vocal wagon
#

Hi - I have an issue with retrieving a Portal Config via the API. I have created the Config so that the customer can update their subscription, and I have included the array of products/prices. This works OK in the portal itself. The problem is that when I retrieve the same Config object, the product/price array is not included in the returned object. I need this to be able to check that the Config is correctly set up, and if the prod/price array is missing, I can't do the checking except by actually visiting the portal. Any ideas on what I should do?

civic tulip
#

when creating customer using \Stripe\Checkout\Session::create client_reference_id and pay link, will client_reference_id be converted to stripe client id?

frail juniper
#

hello can i help you
when creating a stripe account with a Business website field, I am currently leaving a website with a domain name of .demo.com to test on the develop environment so later when I upload to the official website I can change it back to Business website in stripe Are not

rapid siren
#

Hello, i have the following question. When my customer recibe a confirmation email of the payment? I need to configure this option? In this moment i using API Checkout Session for Subscriptions

weary abyss
#

when a customer subscribe for a product, how can we charge them a sales tax based on their address? Im using payment element / appearance api.

gusty grove
kind sun
#

Is it possible to create stripe account based out of USA but the business is registered in India so that we get access to Express? - if yes, what are downsides to it?

tribal blade
#

Hii Stripe team,

We have created a custom form where we want to be able to collect bank account details of US customers, make an initial charge separately from their accounts and subscribe them to a plan for the length of their contract with us.
After going through stripe document, we drafted the following flows;

FLOW ONE;
Create a PaymentIntent for the One-time fee
Complete it client-side with PaymentElement
After completing instant verification, create a Subscription that starts on the right date for the monthly price

FLOW TWO;
We will create setUpIntent with bank account details collected
Wait for two days micro-deposits to hit the client or lead
Setup the admin panel or create another form for clients to enter micro-deposits amounts
After successful verification, we now create a paymentIntent for one time chargers
Subscribe the customer to the plan chosen

Are these two flows right? And what is the best step by step processes we should be guided by?

hidden ridge
#

Hi there. We are using creating charges and tax rates. How can I map tax rate while creating a charge in java?

keen root
#

Hi, I'm having trouble verifying my connect account.
On the backend side, we create a new account
We generate verification_sessions and ephemeral_keys for iOS sdk to use in IdentityVerificationSheet. Verification passes. In verification_reports we have status = verified. Unfortunately, we still have unverified status in account/individual/verification.
Do we still need to somehow connect the response from verification_reports to our account/person?

wintry forum
#

how can I add coupons when visiting the payment page?

stable tangle
#

Hey folks 👋

Is there anyone here from Stripe who could help us escalate an incident internally? connect

brave rapids
#

Hi

#

how we need to do the verification check for Card in stripe API

civic apex
#

Hello, is it possible to use create subscription flow when dealing with PaymentRequestButtonElement?

rich inlet
#

hey stripeDev , can we update invoiceItems with update invoices ? if no how can we do that ?

queen ferry
#

Good Day dev team 👋 Sorry to bother you, I was wondering if it would be possible to - at the end of a successful stripe payment - redirect a customer to a page on my clients website? Thanks in advance

broken swift
#

Hello everyone, Need a help.
I have saved card/us_bank_account details through Stripe Payment Element (Javascript).

Steps to save card details in stripe customer account ->

  1. Create clientSecret Id using SetupIntent.
  2. Pass clientSecret Id to stripe payment element
  3. confirmSetup() gives payment method ID.
  4. Attach payment method ID with stripe customer ID

Now card details saved successfully in stripe.

My requirement :
Now I want to generate invoice for the customer with the saved payment method default.
So if the custom click on pay now button then the customer should redirect to https://invoice.stripe.com...... to pay amount using saved card/bank details only which is not happening.
Is there way to pay by saved payment method, this is something I am looking for.

summer kayak
#

Hello,

I want to test usage reporting + failed payments for these. For the latter I know I can use test clock + test credit card.
However, how to test the former? Can I somehow report usages on test stripe?

sick wadi
#

Hi! I have just created an account in Stripe is there any expiry time limit on the test account?

pliant meadow
#

Hey, I've got a question about the item's description in an invoice from a subscription

kind sun
#

Trying to get some balance in account using test cards - https://stripe.com/docs/testing#available-balance
getting this error -
Request req_IKHQlfSw12WivZ: No such PaymentMethod: 'pm_1NJDYPSE13Uh92D5J5NRE0k8'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs/connect/authentication
platform_account_id = acct_1NCw29LbsWAvIKo9

rapid skiff
#

how much time does stripe take to clear payment?

#

anyone alse who knows how much time it takes to clear payment?

undone hinge
broken swift
# broken swift Hello everyone, Need a help. I have saved card/us_bank_account details through S...

@waxen quail We have to send invoices to our customers that's why collection_method = sent_invoice we are using.
We don't want to get paid automatically.

Can you help me on below issue?
Whenever user redirects to hosted invoice page and fill all the details and once user pay the money then the stripe creates the newly added payment details as new payment method so it is showing in my saved card list.
Is there way to not to save card details from invoice page?

fleet iron
#

Hi Stripe!

Do payment intent events only get sent via webhook once a charge is captured?

knotty tree
#

hi

#

i am trying to connect stripe api with Laravel Spark. I tried everything, but when Subscription is created, the description of the successful transaction that appears on the Stripe Payments screen is always Subscription Creation. How can I change this?

#

Thhis decsription. in the payments page

chrome totem
#

Hey folks, know this is probably a really simple solution that i'm missing. Trying to find a way to remove this switch to save money by changing the subscription period. (as it doesn't apply for the subscription set up we use). Whats the best way to remove that, if possible. Don't have any upsells set, so i'm a bit stumped.

heavy hawk
#

hi

#

any one here

#

hi

wicked ivy
thick coral
#

Any devs free to assist?

wicked sail
#

Hii Team , how a add a ach bank for connect customer account?

stone abyss
#

Is it possible to pay 3-4 cycle for a subscription via API?

fleet iron
#

didnt get a chance to reply before archiving. Just wanted to say thank you @undone hinge the info was useful

undone hinge
#

Thanks @fleet iron! Happy to help.

vocal wagon
#

Hi,

I'm looking for a way to retrieve the first payment intent ever created, without knowing the id or date. I want to avoid going through the entire history just to find the first one. How can I do this?

civic apex
#

Hello, how do I create a paymentMethod when using PaymentRequestButtonElement?

brisk condor
#

Hello
test_helpers.TestClock API for only testing purpose
for subscription

faint sundial
#

in my test account i am not able to update plan

light sparrow
#

Hi guys, is there any chance checkout.session.async.payment_succeeded can reach my server before checkout.session.completed in real-time payments?

Or is it just happening right now because I'm performing local tests?

mental nebula
#

Hi I need help in creating subscriptions that after a certain amount of time change price, ie 99$ for 24 months than 79$ indefinitively, via API

frail rivet
icy warren
#

Hi, I need to pass radar fee in the refund request but i am not able to find the paramater. please help me on this.

rough zealot
#

Hi Team,
My customers are not getting email invoices when payment is made,
we are creating a checkout session with customerId and priceId, post the payment successfully. Customers are not getting emails
and
In Email Setting -> Successful Payment email is enabled

drifting delta
#

hi dev, have question regarding google pay on stripe

lyric kindle
#

My company is US based and I have invited a developer from Bangladesh to work on Stripe connected account development. Developer is not seeing "Bangladesh" from drop down menu to join as a team member. Is it because it is in Beta or something else.

weary abyss
#

can we connect stripe to smartsheet?

chrome bear
#

Hey guys, have this error in the browser console, and can't figure out what this is as it is not pointing to any React component or anything like this. Can you give me any clues as to what this may be?

stiff lily
#

Trying to create a session configuration with some product and prices following the documentation but it seems like there is some issue. Here is the request: req_EdCBFfUoorKKdw

keen gorge
#

Can somebody help me processing credit card payment from NodeJS. I do not want to use frontend. My requirement is to build a payment service which will receive the payment request from another Node service and custom applications.

hollow cipher
#

Hey all, I had a question about the self-serve PAN data copy process, concerning the mapping CSV. The docs mention source_id_old and source_id_new columns for copied payment methods. Is there a pair of columns per payment method on the copied customer's row, or can there be multiple rows in the CSV for a given customer, so each copied payment method gets its own row?

raw cove
#

How to add payment method

fervent mulch
#

Hey, I notice that when I call the cusomters.create api handle, even if i don't pass this information directly, stripe is somehow able to acquire the user's full address information and store it alongside their profile info. How is this accomplished?

tardy spade
#

how to check the response of webhook event using api?

sinful igloo
#

When confirming a payment in the payment element will it always redirect to the return url unless I specify otherwise?

Also what are the potential payment_intent statuses I might encounter when I'm redirected?

ivory horizon
#

i think i found a bug in stripes system

quartz quarry
#

hello

winter matrix
#

hey, script to remove all subscriptions in test mode?

faint sundial
#

can generate separate URL for cancel/update subscription in dashboard?

pine cliff
#

Hi i have some strange things this morning, when a session is completed the webhook checkout.session.completed is not triggered and in the log i have 15 times this log: v1/checkout/sessions/completed_webhook_delivered/ is that normal guys ?

weary abyss
#

We are using address and payment elements/appearance API..

We are now enabling the stripe tax to compute the sales tax based on the address..

Is there a way to get the sales tax rate via API? base on the inputted address in address element?

ivory sail
#

Hello, I'm using connect feature. I create payment intent charges on the Connect account with application fees ( to pay the In account ). the case of USD ( presentment currency ) and USD (settlement currency ) all is fine, in case of EUR ( presentment currency ) and USD (settlement currency ). I'm playing the customer 5.01/5.02/4.98/5.00 application fee.. which is inaccurate.

Similar issue in case of the charges ( probably due to international charges? )

is there a way to specify the application fee to be precisely 5.0 $ for all currencies when creating payment intents with application fees via the API?

pastel stone
#

Is there a concept of a "3ds recovery flow". In other words when someone fails 3ds is it possible to send a direct link to resume the checkout session with the same dialog etc..

hazy fox
#

I've integrated the SFCC Cartridge for a site, and we're getting customers and payment intents creating, but the payment intents are not attaching to customers. Is there any additional steps that need to be taken to get this to happen? This is using the Stripe Payment Element.

lost bay
#

how can i know my "stripe-signature" , i want to send it from header from postman to test.

naive hatch
#

I'm creating stripe payment links for customers to make a payment via a stripe connect account. After paying invoice, customer is not receiving email receipt, even though we are providing email address in the api call and we see the email address filled on the checkout page. Any ideas how to get the email receipt sent to the customer after payment is completed via payment link on stripe connected account?

dim adder
#

hello I use this function:Future<void> makePayment() async {
try {
paymentIntent = await createPaymentIntent('100', 'USD');

  //STEP 2: Initialize Payment Sheet
  await Stripe.instance
      .initPaymentSheet(
          paymentSheetParameters: SetupPaymentSheetParameters(
        paymentIntentClientSecret:
            paymentIntent!['client_secret'], //Gotten from payment intent
        style: ThemeMode.dark,
        merchantDisplayName: 'Mon shopper',
        // billingDetails: BillingDetails(name: "always")
      ))
      .then((value) {});

  //STEP 3: Display Payment sheet
  displayPaymentSheet();
} catch (err) {
  throw Exception(err);
}

} createPaymentIntent(String amount, String currency) async {
try {
//Request body
Map<String, dynamic> body = {
'amount': calculateAmount(amount),
'currency': currency,
};

  //Make post request to Stripe
  var response = await http.post(
    Uri.parse('https://api.stripe.com/v1/payment_intents'),
    headers: {
      'Authorization': 'Bearer ${dotenv.env['STRIPE_SECRET']}',
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    body: body,
  );
  return json.decode(response.body);
} catch (err) {
  throw Exception(err.toString());
}

}
to have the preconfigured interface of stripe which is a payment form, now my question is: with this payment form, can I know the name of the holder of the bank card used??

tardy spade
#

hi
if a webhook event got response failure for how many times the stripe will retry

north thorn
#

Hello, can anybody help me?

#

I can't pay an invoice, I've tried a few times. I don't know what else I could try

full fractal
#

Good morning Stripe friends! I was wondering if there was a good way to track when an invoice becomes overdue? From what I can see there is no event to listen for. Are there any known ways to do this?

fervent mulch
#

is it possible to use stripe's subscription and billing management system integrated with a different payment provider, such as paymentcloud?

rain ermine
#

Hi, the "reply email" in the mails sent by stripe is same as stripe account email. Is there a way to separate out two?

twilit harbor
#

morning! we are considering evolving our subscription structure which would simply increase the price across the board to all 5 of our current price tiers. one way we think this might be possible is to add the new prices to our current plan/product in Stripe, but we would value Stripe's perspective on the best way to associate/migrate our customers to the new prices and/or any general feedback on implementation.

sinful igloo
#

When creating a subscription and using one of the test bank accounts that fails the subscription starts as active (because the PI is processing), but after it fails the subscription gets deleted. Is there some way to force the subscription to just go to a past_due state as it would in subsequent subscription payment failures?

shut drum
indigo smelt
#

i'm developing a webapp which uses webhooks. i'm using the stripe cli and the regular webhooks.. dev/test and staging share the same test credentials.. when a test runs for example i get lots of webhook requests to my dev environment.. is there any parameter i can pass to identify the environment? or how to handle that situation?

crude abyss
#

Hello, this sub: sub_1NJIJYAq6ReFUKV8FcrJdh3a has enabled payment methods of just Acss but when i click on the pay now button on the invoice email i see we chat pay and credit card

viral spoke
#

Hey, can I somehow check if the customer that is in my paymentintent object has ever made any successful purchase?

dire adder
#

Hey team, we're thinking of starting to use Stripe's ACH legacy system to integrate with Plaid.
I see that ACH legacy is deprecated now. Do you guys know what's the timeline of the support for legacy ACH? Will it be removed in the future?
Thank you! 🙂

raw cove
#

I created a new payment method but it doesnt get included in the customer data

twin moss
#

How can I get the "fee" that Stripe charged me in total for a transaction?

deep hound
#

How to add discount to line-item for checkout, https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items-data-discounts - I see its here but not under the create https://stripe.com/docs/api/checkout/sessions/create?lang=python - I am assuming I can only add it as a general discount not a line by line one?

sudden yoke
#

hi, anyone has suggestion on doing a stress or load testing with stripe without hitting production? the rate limit is quite low in test mode (25) vs production (100)

wise jay
#

Hi, we're currently using stripe for all payments on our website. MAy i know if we can add "afterpay" on our website which is compatible with stripe?

tight dawn
lyric kindle
#

Hello, I have a US based company and invited a developer from Bangladesh to customize the connected Stripe account. Please confirm if this is possible? Developer was telling me that he cannot create a test Stripe connected account using Bangladesh as a country of origin. In theory developer should able to create a Stripe connectected account because he is based in Bangladesh.

carmine lintel
#

Hello - is it possible to check the tax registration status of a connected account through the API?

vocal wagon
#

Hi there, I notice something very strange, one of my client added a payment method that was automatically removed by Stripe API for no obvious reason. Could you help with that ?

thorn tapir
#

Hallo! Is there an api endpoint to regenerate a hosted invoice url (i.e for an invoice where the previous url has expired)?

vagrant briar
#

Hello, I had an implementation question.

Problem I am trying to solve:
I have 2 accounts that are connected via Connect, Account A and Account B. Account A wishes to charge a customer (via payment intent) 10 dollars in one transaction while sending 2 dollars over to Account B. If Account A and Account B are different applications, what can Account A pass to Account B so that account B can verify that their 2 dollars has been received?

My current implementation:
I am able to split the 10 dollar payment by adding an an amount and account to the transfer_data field.

This creates a 10 dollar payment intent in Account A and a 2 dollar payment in Account B. However, i have realized that in the api response, I don’t see the id of the payment to Account B and so i am not sure what Account A would pass to Account B. Also, since I cant access the payment intent in Account A from Account B, i cant use that to look up my payment.

Is this the best way to go about solving my problem? If so, what is the . Otherwise, is there an alternative way i can accomplish this?

modest swallow
#

Hi, I got stripe working great in test mode, I made the products in the api quick start as it had a field for lookup key, now I switched to live and the products have gone, when I try to make the products again I have no way of adding a lookup key is there a work around? cant I just move the products over from testing?

upbeat wagon
#

Hello, got a question:

Is there a way to create subscription, with send_invoice, with past_due = NOW (to send PD asap), while keeping subscription in past_due status?
Don't want to use "incomplete/expired" statuses, because they limit invoice fulfilment to 24h, and we need upto 7 days (as invoice notification configured in Billing's settings)

naive wagon
#

My stripes are banned by you. Why, why are my stripes banned?

raw cove
#

I am trying to setup the confirmation for setup intent what values should I give to the payment_method

modest swallow
#

the copy to live mode option on the product dash does not seem to move the lookup keys with it

scarlet coyote
#

Hello, I just made an onboarding for standard account. To allow payment I use a checkout session where I create a product on the fly. My question is how can I allow for user to use all available payment methods. Right now I get only credit card 💳 option.

carmine lintel
#

Hello - is there a way for me to use Stripe tax on collected fees from connected accounts? We are required to collect and submit sales tax on our application fee for our business use case

azure oyster
#

Hello, one of my users is experiencing a problem that appears to be connected to a script Stripe is loading on my website. I've attached screenshots from their browser console. They're using Google Chrome, and my site uses React and Next.js, with the npm packages @stripe/react-stripe-js@1.9.0 and @stripe/stripe-js@1.32.0 for Stripe. Does anyone know why this would be happening? This is the first report I've had of it, and I can't reproduce it myself.

clear hollow
#

Regarding the transaction fees, for my platform's multiple transactions—specifically, uploading money from a linked payment source to the group wallet and subsequently transferring funds from the group wallet to the vendor—could you please clarify whether the 2.9% + 30 cents fee applies to the first transaction, the second transaction, or both?

raw shore
twin moss
naive wagon
#

Liar stripe

willow urchin
#

Hi stripe, I need help regarding to free trial in subscription. Is there any specific events from stripe through which I know free trail of customer start??

broken snow
#

I am very new to stripe. I was able to set up a payment link for one product but can't seem to get the affirm button to show even though I turned on the opition. That is issue one? can anyone help

naive wagon
#

Robot reply

#

Can't solve practical problems

broken snow
#

we use caspio, wix, and stripe - we have one product that has product, add ons, and a monthly subscription. I have no clue where to start to get this done. Do I put the pridcing and order form in caspio and then just let stripe process it? If I do that can I still use affirm and the connect to transfer money to our vendor?

naive wagon
#

Blocking accounts at every turn. Customer service hasn't been solved yet.

vagrant steppeBOT
#

pearlsforsharing

daring lodge
#

@naive wagon we're here to help developers with integration questions and happy to do so, but cannot help with account issues like the ones you describe. Please work with our support team on this ( https://support.stripe.com/contact ) and don't repeat the same question/comments in the main channel here.

naive wagon
#

Customer payment always prompts that payment is unsuccessful.

daring lodge
compact rose
#

How is pausing subscriptions in Stripe supposed to work? We recently upgraded to the most recent Stripe API version (2022-11-15) and I noticed that a new "paused" status was added to subscriptions. But when I pause a subscription, either via the Dashboard or via

stripe.subscriptions.update(subscription.id, {
        pause_collection: {
          behavior: 'void',
        },
      })

the status of the subscription never changes to "paused".

broken snow
dull arch
#

How can i return the payment method ID with this code so i can save this payment method id to then refund a customer if it is necessary

twin moss
#

Okay @daring lodge the previous thread (#dev-help message) closed out, but I have a follow up question on this. With the charges API (and expanding things) am I able to get the "method" of purchase? Since fees are slightly different when using a terminal vs the payment forms. Am I able to get which was used for a charge on the API?

pearl trout
#

Hi, I am trying to figure out who pays the payout fees on a connect express account. Is it the seller or the platform? I'm talking about the $2 monthly and additional 0.25% + 25¢ per payout fee

hardy vault
#

Hi. hope you are doing well. I was integreting webhook and saw that invoice.upcoming hook doesn't have invoiceId under it? any reason for it?

pallid night
#

Hi everyone, I haven't integrated stripe before I was reading out the docs I don't understand customer and customer ephemeral key? All I want is to charge a customer a certain price and pay via card or apple pay. I want your suggestion on what I should do, save cards? I don't want to do that though

winter timber
#

hello, got a question
I start a account on the stripe, when tried to link the publishable key and secret key to our account link a payment, the secret key it has dots, also it’s not hidden.

lament agate
#

I'm thinking about using an embedded pricing table + Checkout (https://stripe.com/docs/payments/checkout/pricing-table) but want to control which payment methods people will be able to use--basically want to gate the ACH payment method behind a feature flag we set on users on our side. Is that possible?

carmine schooner
#

I have a new pc. Stripe says my Yubikey "does not look familiar". It works for other services. I logged in using another verification process but I cant find a way to remove the Yubikey or even reset it for Stripe

dark fog
#

What are the requirements for Apple Pay to display as an option in stripe elements on iphone 13 in safari?

dire adder
#

Hi, is there Stripe APi that allows us to pre-fill bank account number in the "Add bank info" screen for payout?

trail lily
#

Hi There , I need a help

placid jetty
#

Hello! I have a question that I'm not sure if this is the right forum for. We've been using stripe for our CC processing for a little while now and we've noticed that sometimes the stripe customer id that would look something like this cus_NEmAV6DuMYIQjf will change on a customer. Either it will just be a brand new one and the old customer id will go away, or that a new customer id will be created. Is that expected behavior, that the customer id is changable? Or is something else going on. This started in early april for us.

carmine stirrup
#

When using payment intents and stripe elements, is there any way to disable the micro-deposit flow?

rocky wolf
#

Hello, my name is Elihu, I am a developer from Mexico, I have some problems with the integration, specifically with a single bank, I don't know if someone has already gone through something similar?, who could help me clear up my doubts.

shy epoch
#

How do I pass metadata to a checkout::session request and retrieve it from the response with rails 7

#

I actually mean retrieve it in my webhooks_controller

sturdy swift
#

Our platform wants to charge 1% fee on top of stripe fee with destination charge.
For example, if a product is $100, the platform takes away $1, stripe takes away $3, and connect account will get $96.
Here, how do we determine the exact amount of stripe fees before a charge?
Because we should do either https://stripe.com/docs/connect/destination-charges#application-fee or https://stripe.com/docs/connect/destination-charges#transfer-amount. But this documentation does not show how we can know stripe fees before determining either ApplicationFeeAmountor TransferData.Amount

raw cove
#

how to get payment method id from setup intent

shadow seal
#

Hi,
I am adding and attaching a card to a customer id on my server and from my frontend I am passing the following details,
Card Number: 4242 4242 4242 4242
Expiration Month: 2
Expiration Year: 28
CVC: 768

I am adding same details twice and I can see the same card being attached to the same customer twice. I checked the logs and there is no error.
What am I doing wrong?

polar scroll
#

Hello, hope you're enjoying the day.

I've been trying to figure out how to apply a coupon to a checkout session in order to redeem it and give the customer a discount. How does this work?

fallen tangle
#

Hello! I am trying to use custom fonts on the PaymentElement however having no luck - any help would be appreciated!

tight delta
#

Hi, when creating a payment intent, is it possible to use both setup_future_usage=off_session and capture_method=manual? If it works, would we still be able to charge the payment method later even if we don't capture the initial payment intent?

novel wigeon
#

Hello. I'm trying to detect when a billing cycle renews from the customer.subscription.updated webhook. Would checking for presence of previous_attributes.current_period_end and previous_attributes.current_period_start an accurate way of detecting this?

naive wagon
#

Stripes always block accounts. Why?

#

There is also a customer who failed to pay. Why did you close my account?

viral mortar
#

Hi there may I know how to check for stripe balance for a connect account, the balance retrieve always seems to return the balance of the logged in account

naive wagon
#

Have you ever encountered a ban on striped accounts?

#

Let's discuss it quickly.

tight delta
#

Hi, could I get a more in-depth explanation of the terminal.reader.action_updated event? The docs just say "Sent when a payment updates with the payment method" and I'm not sure exactly what that means as far as what's happening with the reader.

shadow seal
#

Hi there,
I have a quick question. I am creating a payment Intent with setup_future_usage : "off_session", the problem that I am facing is that I am entering the following card details to STPPaymentCardTextField:

Card Number: 4242 4242 4242 4242
Expiration Month: 2
Expiration Year: 28
CVC: 123

Due to this same card is getting attached to the customer twice when though it was already attached to the customer. Is there a way around this where I can add paymentMethod to my customer and duplicate card are not added.

frozen nacelle
#

Hi,
I've added the parameter allow_promotion_codes in my checkout function call and tried adding it manually through the dashboard but am not seeing the promotion code field once I open the payment link

obtuse crown
#

if an invoice payment fails on, can i create a manual payment link

heady zodiac
#

Hey guys, I need help how come I am getting a lot of fraud transaction on my stripe account? is there a way I can prevent something like this? I am using gravity form by the way on my WordPress

weary abyss
#

im getting 0.0

naive wagon
#

Why can't you solve the problem? There is a fraud prompt in my account. Should I ask a technician to solve it?

golden cosmos
#

@naive wagon I'm sorry, we can't help here regarding fraud warnings. You'd want to reach out to https://support.stripe.com/contact.

Please don't post multiple times on the channel about the same question as that would be violating our server rules which you can read about here : ⁠📖rules⁠

Spam isn't permitted. This includes reposting the same content multiple times.

This is your second warning and I will have no choice but to ban you if you continue to do so.

azure spindle
#

Hi good support team
We are modelling a subscription scenario where our subscriptions last a year (billing cycle monthly, quarterly, whatever).
We want our customers to be able to renew after that year, ahead of time, and for the subscription to be terminated if they don't renew.
We have been looking at modelling this by:
have a subscription schedule:
initial phase is set to cancel at end of year
where a customer renews we add a new phase that starts at the end of the current contract period and continues for a year, and cancels then. on and on.

However, we need to charge them for the renewal as soon as they click on our renew button ...

What is the best way we can do this?
it looks like we can't charge them until the new phase actually stars

weary abyss
#

Hello Stripe Team, Do you have an API endpoint that calculates the Stripe Fee?

cunning harness
#

Hey stripe team, relatively new to stripe. hoping someone can help me out. ive defined three stripe plans (free, premium and premium plus). when a user subscribes to any plan, the name in the db is set to a string of default, is there any way to change this to the value of the plan name ive set in my spark.config

strong vector
#

Hello Stripe Team, Do you have a Radar for Fraud Teams default config rules code? I am a newbie and cannot write it by myself.

vagrant steppeBOT
#

V Buck Bandit

peak vortex
#

Hi, is Stripe designed in such a way that even if the merchant app is compromised, Stripe prevents hackers or viruses from accessing or using the available data on the merchant app side?

cobalt kraken
#

Hello Stripe Team, how do I add the following parameters in the online payment API? This way my users can see them in the payment interface:
Subtotal
tax
Total due today

#

like this

broken swift
#

Is there way to setup connect account from UI side using javascript?

weary abyss
heavy charm
obtuse oriole
#

can we invesitgate the reason why this payment failed charge id 85e1f784-b9c6-4f34-b5df-34fd4b964ede

civic tulip
#

will stripe session payment link ever redirect to success page if payment failed like "4000000000000341"

pseudo knot
#

Hello.

I have a main Stripe platform and I want to connect other stripe platforms. I don't want to collect their payments, I simply want to login with OAuth so I can see certain information they grant me. What's the easiest way to do this? Using the OAuth seems to require a standard account, which also seems to require payouts. Thanks!

inner pulsar
#

Hi All, I am trying to create standard accounts over API but I am recieving this error message: ""The business_type must be provided when sending either of individual or company parameters."" I was under the understanding that for STANDARD accounts, stripe handles this completely?

scarlet coyote
#

Hi, is it means that in the test mode its only possible to test payments with credit cards?

civic tulip
#

when subscription is created I want to listen this 4 events, to convert between paid to free and back to payed "customer.subscription.deleted
customer.subscription.paused

customer.subscription.created
customer.subscription.resumed" moment customer does not pay I want it converted to free, and when it paid again convert back to paid

#

am I missing any webhook event?

#

moment payment failed I want to convert to free

lyric viper
#

hello

azure spindle
#

Hi guys, I'm trying to to some testing, so I've written some code to create a test clock, create a customer, then a subscription, advance the clock, then tear it down ...
sometimes the create subscription is saying the meta data I'm searching the customer against doesn't exist ... is there some delay before I can create a subscription against a customer using a metadata field to query to find the customer?

granite basin
#

Hi Team,
could you please give me the background what could be the reason of this failure --we_1K6Xr3GXlQ7PG1uno0i8zaNU

brisk condor
#

Hello
i can add a test clock in already available customers.

little junco
#

hello i have a question realted to stripe webhook

At the time of webhook creating using webhhok create api, how can i set a custom (own) webhook signin secret so that i can use it everywhere for signature verification whenever a webhook event trigger. ??

please help me out...

whole swan
desert valve
#

Hello Stripe Developers! I am from Pakistan. I am not able to create stripe accont from Pakistan. So, if I can buy verified account from an Indian Person then it will be genuine way or not. is this working good or creates problems for me...?

sour olive
#

How can i customize customer portal from stripe #dev-help

normal venture
#

I have a customer with a special meta_data_field called seller. This seller field contains an ID. Is it possible to filter the customer in the Stripe UI on this meta_data_field ? to list out all customers which belongs to the given seller?

civic tulip
#

when using stripe cli, urls return 404 error, I tested them outside the stripe cli without payload it returns 400 error

vocal wagon
#

Hey there, I was wondering whether it is possible to create a yearly billed subscription, but where additional fees based on usage are billed monthly?
I was thinking maybe it could be possible by creating 2 subscriptions, but I read that 2 subscriptions can't be created in the same checkout (but maybe using this: https://stripe.com/docs/billing/subscriptions/multiple-products)?

balmy plover
#

Hey there , i am wondering whether it is possible to automate all my customer recurring monthly donation happen on particular day.

rare gyro
#

Hi Team, i m using invoice paid webhook event . the invoice paid event object has period. start and period.end date number. which i m treating as subscription start and end date. but when i convert that date number to new Date(), it always gives me jan 20,1970 as final date.whoch is obvioulsy not correct

left herald
#

Hi Team, Good day!
We use Stripe's customized payment flow for our payment gateway. When customers use the ACH payment method, we get a verification link via API. When a customer makes a payment, who generates the verification link? We must share the verification link generated by the API, or they will receive it from the Stripe end.

sinful lantern
#

Hi everyone, I have a question about stripe webhook, is it possible for the stripe to disable customers webhook endpoint if stripe receives an error from the backend?

vocal wagon
hoary wagon
#

Hello guys !
I am creating a mobile application with react native and expo, and I would like to add payments and payouts so I started to look into Stripe Express that seems to be the be solution for me.
I would like to integrate properly the Stripe Express Dashboard for my users in the application without having a redirection to a browser or things like that.
I tried to use WebView unfortunately this isn't possiblity due to the security level of the stripe.connect.com website.
Do you guys have any solution to give me ?

fickle wasp
hard zodiac
#

Hey, I want to enable 3D Secure payments in my stripe account, I am getting errors relating that.

terse shale
#

Hi,
I've been creating subscriptions in my application in test mode for a while now using this function `const subscription = await stripe.subscriptions.create({
customer: customerId,
items: [{
price: "price_1N5sN8EwHpTUe**********",
quantity: data.quantity,
}],
automatic_tax: {
enabled: true,
},
metadata: {
institutionId: institution.id,
userId: userId,
},
payment_behavior: 'default_incomplete',
payment_settings: {
save_default_payment_method: 'on_subscription',

            },
            expand: ['latest_invoice.payment_intent', "latest_invoice.total_tax_amounts.tax_rate"],
        });
        if (isStripeInvoice(subscription.latest_invoice) && isStripePaymentIntent(subscription.latest_invoice.payment_intent)) {
            res.send({
                latestInvoice: subscription.latest_invoice,
                subscriptionId: subscription.id,
                clientSecret: subscription?.latest_invoice?.payment_intent.client_secret,
            });
        }`

But now that I've changed to production keys, the subscription.latest_invoice.payment_intent is null, even though the rest of the subscription is still being created correctly. What could be the reason for this ?

Any help is greatly appreciated.

fickle wasp
#

" Transfers to recipient accounts take an extra 24 hours to become available in the connected account’s balance." Does this mean a payout from a platform account to a connected account can take that long to refelct in their account ?

fossil marlin
#

Hi,

Can you help me create an account for our SLP, she was located in Canada but she registered her account in US and now we are encountering trouble in putting her bank details?

daring patrol
#

Hi Stripe team, i'm doing subscriptions and i wonder if it's possible to change the price of the subscribed product. Can you tell if it's possible or not ? And if not how can I handle it when I want to change the price ?

weary abyss
#

please help calculating the stripe fee..

tribal blade
#

Hii stripe team,

To confirm, for hosted checkout for ACH, Stripe is not following Plaid route, right? You're verifying bank by themselves?

keen root
#

is it possible to pin verification_sessions to account/individual/verification?

civic tulip
#

how does SignatureVerification work? when stripe send the webhook, it basically sends the key as header for STRIPE-SIGNATURE , and \Stripe\Webhook::constructEvent just checks if pass key and header key are equal, does stripe add some kind of time hash into payload as well? I am trying to use curl to send the SIGNATURE and is working fine and they are equal when I print it them both, but the \Stripe\Webhook::constructEvent throws exception SignatureVerificationException

terse shale
#

HI,
I am making an application with NextJS. I have a stripe webhook setup in my in a NextJs API route. When an invoice status is updated, I send the event to my database. However, I want users to get a real time update on their current subscription status, without constantly having to poll my database. Is there anyway I can achieve this such that certain events are sent directly to my frontend?
Thanks for any help!

civic tulip
#

when creation stripe checkout session and setting up client_reference_id and listening to customer.subscription.created webhook, the client_reference_id is not passed back

vocal wagon
#

When using Stripe Connect, both buyer and seller will have the corresponding customer created in Stripe dashboard, right?

rare haven
#

I have a question regarding the "Add to allow list" option on the payments page in the dashboard. Does it mean that the if I allow that and when the user tries the payment next time, will it succeed?

harsh basalt
#

hi im new here sorry just to ask a question stright away . but im really stuck my app is finised but i cant see, to get the web hook secret to work it keeps saying no vaid signature . it works when i use the localhost . but when i put it in to production i get this error . i have tried both of my api keys is they another place to find the end point secret

fallow heron
#

hello, is it possible to access form input validation errors ? i would like to push them to google analytics datalayer with stripe js

harsh basalt
#

Error verifying webhook signature: webhook had no valid signature

hard zodiac
#

Hey I am using whmcs 8.7.2 stripe module and I am getting errors related to 3DS

lusty needle
#

Hello, My stripe account is hacked,

#

576 transactions in 5 min, all are 1USD description special donation

#

Stripe send me an email regarding closure of my Stripe account due to these transations

ripe juniper
#

Hello, I'm creating a stripe checkout from NodeJS, what's the expire time of the URL? Is it possibile to make it with no expire date?

hidden tendon
lucid bluff
manic light
#

Hey everyone,
I am working on a flow to create invoices via the Stripe API and send them to the customers.
From what I can gather via the API documentation, for an invoice, I need a product and for a product I need a price which get added as line item in the invoice.

In my case, the customers are working with different people and we need to send them an invoice for working with these people for a particular period. Now these people are not constant and in most cases are always new ones. Even if they are repeated, the prices are always different.
So, now to create an invoice, I need to create a product corresponding to each person and for each person a price every time a customer works with them (prices are always different).

The concern I have is, this will end up creating a lot of products and prices in the account. All these items will be used one time only, so it does not make sense to keep them in the account once the invoice is created.

So, is there another way to tackle this? For example,

  1. Can I create 1 product (e.g. People) and add one price per person? The blocker here it, the price object does not have a “name” property, so in the invoice, I don’t see it.
  2. If I create 1 product and 1 price per person, can I automatically archive them once the invoice is created? This was, the clutter on the dashboard will be a bit less at least.

Or if you some other suggestions, I am open to that as well.

Thank you.

hoary berry
#

Hi! Is there any way to change the recipients of billing emails via API? If not is it possible to set the recipient's email, name and address for an invoice on a per-invoice basis?

cobalt kraken
#

hi,When I create a session, I choose the Alipay method, and the currency unit of the product price is HKD, so in the end, free and net will show me USD or HKD?

brazen goblet
#

Hi there!

We have a subscription model on our system, with it, we can assign subscriptions to users with a trial, through the API, this does not require the user to enter their payment methods but gives them a subscription, which is intended.

However, once the subscription ends, it's put onto an annual paid subscription (no longer a trial), which I understand, then tried to take payment, but because the user does not have a payment method, the invoice.payment_failed webbook fires, multiple times (based on retries), which I also understand.

We have a trigger which pings Slack to let us know when a payment has failed and the above scenario is something we'd like to catch instead of just payment failed, so my question is, when we get the invoice.payment_failed, what exactly can I check to make sure the customer has absolutley no payment methods?

I know that the event itself has "default_payment_method" and "default_source", but these can be null based on the subscription billing according to the docs. All I need to know is, when this event triggers, does the customer have a valid way of paying?

TIA!

vocal wagon
#

Hey! We have a subscription with usage based billing. We want to charge for every 1000 units, i.e. when 1001 have been used we want to charge for 2000 etc. What would be the best way to implement that? (as the cost for one unit would be below 0.01$)

vagrant steppeBOT
#

Dan Judge

cursive field
#

Hi everyone, I watched a demo from Stripe Developers channel about Payment Sheet here https://www.youtube.com/watch?v=O6TWFuZw2uk&list=LL&index=1&t=581s , and I clone exactly the same project from github : https://github.com/charliecruzan-stripe/react-native-video-series , And it works, but the only problem is I don't see Google Pay option in Payment Sheet, How to show google pay option?

Stripe's React Native SDK provides a convenient API for allow developers to accept payments natively in their applications in a performant way.

In this video, Charles Cruzan and Cecil Phillip discuss some of the capabilities of the SDK and show us how to get started. They go over topics such as getting setup, invoking the paymentsheet, adding d...

▶ Play video
GitHub

Contribute to charliecruzan-stripe/react-native-video-series development by creating an account on GitHub.

vocal wagon
#

Hi guys! At one of our customers, we occasionally have duplicate orders for a single Klarna payment processed via the Strip module.
The customer is currently using Shopware version 5.7.8 with Stripe version 5.5.1.
When analyzing a duplicate order, we identified 5 calls to the plugin controller endpoint /StripePayment/completeRedirectFlow in the web server log.
Since this url is usually called 1-2 times for other orders, we think this is a possible cause of the problem. We can imagine that race conditions can arise when this url is called repeatedly. There is a query in the module as to whether an order has already been created for a transaction, but this query does not seem to be suitable, at least in our case:

On the one hand, the check is not atomic and timing problems can therefore arise, and on the other hand, and from our point of view this is the decisive problem in the exemplary case, both the paymentUniqueId and the transactionId are queried as to whether an order already exists . In our case, however, only the paymentUniqueId is the same. The transactionId differs between both resulting orders. Accordingly, the second time the function is called up, no existing order will be found and the second one will be created.

Can you help us to analyze and avoid the problem? Perhaps you are already aware of the problem.
In any case, thank you very much for your support. Please let us know if we can provide any further information.

frozen fox
tall drum
#

Hi Folks,

I can see links to Payment information in the Dashboard (for TEST mode) have the form:
https://dashboard.stripe.com/test/payments/pi_XXX
... but what will these be in live mode ? Do I have to use the word live somewhere or will it just work it out ? E.g. :
https://dashboard.stripe.com/live/payments/pi_XXX
... or ... will this suffice :
https://dashboard.stripe.com/payments/pi_XXX

Thanks

swift mist
#

Hello Ya All
I have read from documentation that after making a Tranfer to an account(configuration manual pay out), I should wait 7 days before applying the pay out.
How can I reduce this waiting time? I do not see where I can change this configuration

bright anvil
past blade
#

hi, how can I get card details (last4, fingerprint) from a confirmed setupIntent? I was getting it from charges from paymentIntent.latest_charge

raven silo
#

I need to setup payments on my website
What I need to use to do that?

queen mulch
vocal wagon
#

Hi, I'm trying to implement iDEAL as a payment method for our recurring payments, but I'm a bit lost in the flow that's supposed to happen. We have a checkout session 'setup' to first setup a payment method. Is this even possible with iDEAL or does this have to be SEPA Direct debit?

steel pewter
#

Hello, how can I add invoice metadata to an auto-created invoice through the subscription mode in create checkout session API call? Thanks!

weary coyote
#

I have slack product, which would bill customers based on the numbers of teams configured in our slack app, with subscription, with some trial period. Should i use payment link or checkout ui ?

past blade
#

hi, how can i avoid adding duplicate cards when in SetupIntent? i think it's automatically added in the customer's payment methods so i cant really confirm

grand ibex
#

hi there i need some herlp in setup intentt

raven silo
#

I need to setup payment on my website (on page) without redirects to another stripe page
Can I do this? I saw this on some sites

faint gyro
#

Hi, anyone seeing issue with stripe payment element not appearing on site? just checked all my three development instance it's not appearing, no changes has been done

hazy ruin
#

I wanted to report a bug in stripe

#

any admin kindly dm

lyric viper
#

Hello

hoary wagon
#

Hi !
maybe not the best place to ask but let me know
I want to have individuals to have payouts, why is a business_profile.url needed ?
They are individuals so they won't have any public website most of the time

fallow sierra
#

When a account based in India tries to onboard on our platform through stripe connect and accept a payment, they get the following error:

Stripe doesn't currently support application fees for platforms in GB with connected accounts in IN.

Does this mean we will not be able to onboard users from India via stripe to accept payments?

carmine lintel
#

Hello - is there a way to use the API to change the result of an automated tax calculation for an invoice? Currently, I'm collecting an application fee on invoices. I want the Total Gross Sales for my connected account to reflect the order total minus the application fee (and associated tax). Am I missing a best practice for how to achieve this?

lyric kindle
#

From "Person" object, verification.additional_document hash says that "A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.", How can utility bill can be uploaded for US based connected account holder as "Utility bill" is not supported for the up loadable document type for US?

vocal wagon
#

Hello Stripe team!

I have a quick question regarding a deleted customer source (type = ACH Credit Transfer) that still has available funds. Is there any way to access those funds in order to charge a customer?

(Happy to provide a source ID and the log that deleted the source)

honest skiff
#

Hey! I'm trying to add the TaxID we have on several jurisdictions to the invoice PDF. I found some documentation related to this, but seems to be either outdated or does not match my dashboard

You can update your indirect tax number in the Dashboard, in the Tax Details section under Business Settings.
But that link redirects me to the dashboard

In the Invoice template, you can:

Select a default tax ID to appear on every invoice and credit note PDF.
Define a list of tax IDs to appear on a specific invoice.
But there's nothing of the sort in the invoice template, as you can see in the attached image.

My question is: Is there any way I can do this? And if not, is this a permissions issue? What kind of permissions do I need in order to fix this? I have all permissions except modifying the account bank accounts...

finite hawk
#

Hello! I was wondering if there's a way to manually prevent a webhook from retrying from the dashboard. A client has two customers created by mistake and I just want the webhooks from one of them to go through.

vagrant steppeBOT
#

tomas at amenitiz

#

loterak

vocal wagon
#

Folks, quick question regarding creating tokens. Is it possible to create bank account tokens based purely on customer ID?

#

Hey! What is the difference between subscriptions and subscription items?

silver fjord
#

hey team , can anyone help me check why this payment intent pi_3NJdNHFeKZ5612QC0LloxTiq does not allow the other payment methods I have enabled in test mode for my account?

forest saddle
#

Hi, I have an issue with 3D secure required test-card 4000000000003063 , the invoice pay api request always returns me card_declined by issuer. I tried with 3DS2 Required test-card 4000000000003220 and the flow works fine

normal venture
#

If I have a subscription monthly with two subscription items, both monthly. What is to do if I have to change the subscription interval from month to year for both subscription items?

pastel stone
#

Why does my invoice say paid but in the payments tab it is not appearing? Or on my customers bank

lone topaz
#

hi... can we display the status connected account on our website to our user? we are using create account api. do we get any such response?

#

eg. restricted,enabled etc which we show on our dashbaord under connect tab

ember bear
#

@lone topaz please keep messages in the thread I opened for you

verbal tangle
#

Good afternoon!
I have a question about the connected account.
Now my site has implemented logic for users to connect stripe and create an express account.
I want to make it so that users would enter data on my site, and not go to the Stripe page for this.
I understand that in this case I will need to use custom account or I can still use express account?

shadow seal
#

Hi guys,
I am not able to understand very well how to attach a card to a customer using Setup Intent?
My current is as follows:
I have 2 backend urls:

  1. /create-setup-intent : creates a setup intent and returns the client_secret.
  2. /attach-payment-method: accepts both paymentMethodId and SetupIntent's client_secret and it does the following:
    a. Attaches the payment Method to customer
    b. tries to confirm the setup intent with the paymentMethod Id and the client_secret.

In my iOS app, I am using
STPPaymentCardTextField to input card details &
STPAPIClient.shared.createPaymentMethod(with: paymentMethodParams) to create a payment Method and sending the Payment Method Id to the /attach-payment-method endpoint.

And again and again I am getting an error No such setupintent.
Please tell whether I am allowed to send paymentMethod to my server and if yes then how to resolve the error?

slim anchor
#

How do you capture a payment using a payment intent ID with a custom amount if the status of the payment intent ID is "requires_capture"

quaint shore
#

What is the preferred way to install the iOS SDK?

light sparrow
#

Which webhook event is best to ensure the Stripe Checkout payment was successful?

broken magnet
#

Hi there! How does a Standard Connect account change their MCC? (I am the platform, but they're Standard, so I cannot programmatically change it on their behalf, nor do I see any documentation I can send them about how they can do it within their settings.)

tiny crystal
#

hello!
i need some help here! how this work?
what if i applied this coupon with multiple months to 1 day plan ?

how many renews will be with discount?

cobalt kraken
#

HI
Desktop Website to Website
Wallet holder checkout on desktop browser with Alipay.
Display QR code on Checkout screen.
Wallet holder scans QR code with Alipay app on their phone.
Redirects to Alipay checkout page on Alipay app.
Completes payment.

I want to know how to create the above Alipay payment method using the online payment API

sinful igloo
#

What status does a subscription go to on a renewal payment that fails?

shadow socket
#

hey there, i am trying to pass the client secret from my cloud functions javascript to my client side app, i do send other parameters they all gets passed well except the client secret and here is the code...
const generateResponse = function (intent) {
switch (intent.status) {
case 'requires_action':
return {
clientSecret: intent,
requiresAction: true,
status: intent.status,
};
case 'requires_payment_method':
return {
'error': 'your card was denied, please provide a new payment method',
};
case 'succeeded': console.log('Payment succeeded');
return { clientSecret: intent.clientSecret, status: intent.status, };
}
}

exports.StripePayEndpointMethodId = functions.https.onRequest(async (req, res) => {
const {paymentMethodId, price, currency, useStripeSdk,} = req.body;

const orderAmount = price * 100;

try {

    if (paymentMethodId) {
        const params = {
            amount: orderAmount,
            confirm: true,
            confirmation_method: 'manual',
            currency: currency,
            payment_method: paymentMethodId,
            use_stripe_sdk: useStripeSdk,
        }
        const intent = await stripe.paymentIntents.create(params); 
        console.log(`Intent ${intent}`);
        return res.send(generateResponse(intent)); 
    }
    return res.sendStatus(400);

} catch (e) {
    return res.send({error: e.message});
}

});

#

if anyone can help i will be very grateful

urban hound
#

What's the simplest way to pay out to multiple connected express accounts? I'm generating a checkout link and ideally, I would like to link each line item to a separate connected account. I'm assuming I'll have to use a transfer group for this, but how does that display in the user's dashboard?

vocal wagon
#

Hey! Querying events to catch missed events from webhooks, will events be consumed when calling https://stripe.com/docs/api/events/list, or do I have to check manually whether I handled each event already?

gleaming urchin
#

We have a few subscription products (metered and standard) and we would like to have them be invoiced all on the same date. Is this possible?

languid orchid
#

If coupon (that can be applied once) is applied to a trial subscription, will it be active? Or it will wait for "normal" (non-trial) subscription and get activated then?

vast tide
#

Hey, What'a up? I have a question about the integration api stripe with my app. Is possible a Customer use your balance to pay another Customer? If yeap, how do it?

fathom saffron
#

Hello, I have a question about multiple accounts, if I have my main account and every time I need to create a new sub-account I have to do it manually, is there any way I can automate this process and incorporate it through an App?
What I'm looking to, it's to automate this process through an app I have but I don't know if it's possible.

hearty nacelle
#

Hi. I set up webhook handling on my server yesterday. Everything was working as expected, endpoint was 200'ing to every request from the CLI stripe trigger ... stuff. Including the checkout.session.completed test.

Late last night, I was running a test to retrieve cart line items, and the /v1/payment_pages/:id/confirm endpoint began 400'ing.

In short, this was working and now it's not. I reverted all of my backend code from yesterday, no changes. I started over with a fresh express server (directly from the docs) and am still getting the same errors when I run the test.

I am working in Test Mode locally (if that matters) and have quadruple checked all of my keys. Everything works up until that specific call...

I am at a bit of a loss right now. The error in the backend just says "an error has occured confirming the Checkout Session".

Thanks for your time 🙏

tardy spade
#

while payment happening payments are getting failed
we are getting Invalid account.
in our payment status
what is mean

quasi pike
#

Hello. Could you help me with connection account? I have marketplace and use subscriptions. Could I send money to several connection accounts?

hushed vigil
#

Hello! Is there a way to delete multiple subscription items in a single request, or must we make a request for each item to be deleted?

errant nacelle
#

Hey guys what is the difference between an ID that starts with src and an ID that starts with pm

vast isle
#

Hey guys! I have a quick question. When a subscription gets cancelled, could there be any possible scenario in which the reason (under cancellation_details) is null? Or it should always contain one of: cancellation_requested ,payment_disputed, payment_failed?

vocal wagon
#

Hi, following scenario: We create a subscriptions and offer a 1 year free promo code for product A.
In this case the user does not have to enter payment details during checkout which is intended.
Now lets say the user wants to update the subscription to product B after the first month where the discount does not apply anymore.
In that case stripe complains about updating the subscription with product B because there is no existing payment method for the customer.
How to best deal with that so that the user can add a payment method to the subscription?
One thing we tried is to update the subscription with payment_behavior: 'default_incomplete'. In that case the update happens and the subscription
transitions to overdue. But how to let the user know that he/she should update the payment details for the subscription?

#

I need help finding the MID (Merchant ID)

#

Where would that be displayed on the account

civic tulip
#

hi, when creating \Stripe\BillingPortal\Session url, how long is it valid?

honest owl
#

Hi, I would like to know if electronic check is an option to integrate stripe for adding bank account

ancient shuttle
#

Hi everyone, I have a system that uses two payment flows with Stripe. One uses the legacy Charges API(with no immediate plans to upgrade) and the other uses the PaymentIntent API.

I'm setting up webhook event listeners to act on successful payments by listening to payment_intent.succeeded and charge.succeeded so I can handle both of our payment flows. However, it seems that PaymentIntents still use Charges behind the scenes. For our PaymentIntent payments, I'm seeing both a payment_intent.succeeded and a charge.succeeded event while for my flows that use the old charge API I only get the one charge.succeeded event.

I see two options to solve it.

  1. Stop using payment_intent.succeeded events and only rely on charge.succeeded
  2. Write some filtering on our end that filters out charge.succeeded events which are associated with PaymentIntents

Are there any best practices to handle this? Option 1 seems like the best option but with the Charges API being a legacy API I wasn't sure if PaymentIntents would eventually move away from using charges in the back end.

honest owl
#

i have seen another option called "Verify bank accounts" using "microdeposit". Is there a way i can skip microdeposit?

orchid thunder
#

I have a bunch of stripe customers saved that we use for recurring subscription payments that were saved before the Payment Method API came about, those are starting to fail for some card issues due to having to use the card_ token instead of a pm_ token to charge the card. Is there some way via the Stripe API that I could convert those old saved cus_ tokens (customers) to have a pm_ token so we can charge them with the PaymentMethod API which supports SCA?

scarlet coyote
#

hi, I have the status "in progress" since 7am. Is it OK should I wait?

sudden yoke
#

Hi, using payment intent to do a one-time payment with a cc prompt in the front end. After confirmPayment success, is there a way to get the last4 and expiry date of the cc charged without waiting for the webhook event on payment intent succeed?

low belfry
rotund sun
#

We can create Stripe::Customer.create(source: id, email: email, description: name) the customer and than later we can charge it with Stripe::Charge.create(). Than why we need setupIntent and PaymentIntent ?

lyric kindle
#

Hello Stripe, do you have any Postman collection so can test our json payload?

digital falcon
#

Hi! I need to implement a simple pagination for invoices with a limit of 20. I don't really understand how can I check if ther is more data before the first invoice in the data array and the same in the other direction (after the last). I've watche few videos and API doc but I still have no idea how to achieve that without fetch data many times.
PS: I'm using ReactJS with ReactQuery. I can provide my current code if needed. Thanks

remote pumice
#

Hi! For a payment type like "Sofort", what is the best way to get the SEPA Payment Method ID if it is recurring?

vocal wagon
#

Hi on shopify for recurring payments the option IDEAL is not avaliable . But i need it is that possible to get something like that ?

grizzled elm
#

In python what is the best way to mock the stripe api? I had struggled with this before. Ideally we don't use the test environment but just mock the objects and stub out the requests made

honest owl
sudden yoke
#

hi, is it a good practise to create a spayment method and use it against a one time payment (otp) to stripe customer then detaching the pymt method? this is without getting permission from customer that their cc will be temp saved for otp

final hornet
#

Hello, I have a questions regarding a recent subscription payment

gilded vine
#

Hi, is it possible to request a different BIN for Stripe Issuing cards?