#dev-help

1 messages · Page 56 of 1

tame sand
#

Hey there, can someone help me with stripe set-up? I'm starting my e-commerce firstly without company registry, to then reinvest and register. Stripe says that I can do it, but they require business ID now

untold bramble
#

Hey, uploading files on Stripe's Connect platform is not working.

Reference - https://stripe.com/docs/connect/identity-verification-api#uploading-a-file

I'm getting an invalid response

{
  "error": {
    "message": "Invalid request (check that your POST content type is application/x-www-form-urlencoded). If you have any questions, we can help at https://support.stripe.com/.",
    "type": "invalid_request_error"
  }
}
wintry hare
#

can we use Goog;e pay in android applicaton web view?

keen goblet
#

Hello Stripe Team,

I am currently implementing a subscription system via stripe pricing tables.
I defined products and created my pricing table which i succesfully embeded to my front end. In the Front end I am also passing a client_reference_id to the stripe-pricing-table component (which is a userId that is coming from a jwt token of our active user.

I have created a webhook handler listening to the following events :
"invoice.paid":
"customer.subscription.created":
"customer.subscription.updated":
"invoice.payment_failed":
"customer.subscription.deleted":
"customer.subscription.trial_will_end":

I noticed none of these are actually sending me client_reference_id back. and client_reference_id is only available in the checkout session.

So in order to make a relation between my authenticated user and stripe customer, should i also listen checkout.session.completed and record the customer_id (cus_123) accordingly or shall i just not bother with client_reference_id and just link the user via customer object (cus_123) during the invoice.paid call ?

(The only disadvantage I can think of i would be i will be making a relation with the stripe customer via the email adress of that user in while writing the cus_id at first. )

Any advices?

fathom comet
#

Hi, I'm trying to implement the checkout session and I'm trying to find is it possible to Initialize Checkout Session without a redirect. Because our checkout process is a bit strange. User first pick a product, then we ask him in the checkout does he wish to change the product that we ask for more question. And i need to initialize the Checkout Session when the user chose the correct product and the quantity. But I wish that he stays on the same page, without any redirect. But to initialize the Checkout Session.

azure folio
#

stripe.Subscription.delete(
"sub_1NjpMk2eZvKYlo2CL3NRBxXB",
)
This method cancels the subscription with no chance to recover it
I want to be able to recover it, like pausing it or smth

wintry hare
#

i am not able to verify apple pay required domains by stripe dashboard even i have pasted file at .well-known location , what should i do

austere abyss
#

Hi team how to create link for create bank account?

random zealot
#

Hi everyone.

#

Anyone using yith stripe plugin for wordpress? Is it possible to save the stripe keys in aws kms instead of inputting it in wordpress?

hearty garnet
#

Hi I would like to confirm if payment still needs to be confirmed after the invoice is finalized. Because I found that the invoice is paid before I execute confirm payment step. invoice id: in_1Nk3dfKrMcyDrN0V1yzmmADg

brisk goblet
#

Bug with Setup Intent tutorial?
Hi, I was trying the code found in the following tutorial: https://stripe.com/docs/payments/acss-debit/set-up-payment?platform=web#charge-later. I got an Exception (java.io.EOFException: SSL peer shut down incorrectly) when trying to instantiate a setup intent:
SetupIntent setupIntent = SetupIntent.create(params);
See line 33 of the java code in the "Create a SetupIntent" section.
Is there someone who can execute it without any problem?
I use jdk 11 on Windows 7 Professional.
Thanks in advance

marsh geode
#

Hi, I have an issue with stripe instant payout daily limit for my connected accounts. It is saying that across all connected accounts the payout limit is $600 and i am trying to get every possible way to get it increased but unable to do so. Can anyone help me here on this issue please.

#

In one of the article, it has specified that i can click on a link to increase the limit but it is redirecting me to the stripe dashboard

graceful lintel
#

how do I distinguish in my api whether the event forwarded to a webhook was a test event?

#

does sgtripe explicitly send the info somewhere? we are testing our integrations and aside from manually knowing that the event is a test one, we can't really see it

neat sinew
#

Hey guys, I can't seem to get the refund.created and refund.updated webhooks to trigger - fyi all other events are triggering and I can see them in the stripe dashboard and on my app, any help here? ive tried processing a refund from the connect account url:
https://dashboard.stripe.com/acct_.../test/connect/accounts/acct_.../payments/pi_...

and also tried processing a refund from the API endpoint:
https://stripe.com/docs/api/refunds/create

both created the refund in the dashboard, and also created a charge.refunded webhook, but no refund.created webhook

Thanks!

odd mantle
#

Hi! I need to take some action on both new subscriptions and renewals using webhook events (ex. refilling user credits). I looked into payment_intent and invoice events but not sure which one to use. Both seem to have events like succeeded and payment failed.

austere abyss
#

HI team, how can i update bank details?

wintry hare
#

is these any way that we can use Googlepay and apple pay in mobile application web view if we are not going to use SDK

sonic hemlock
#

Hello Team,
Quick question for Apple pay via stripe, can we use it for recurring payments via Stripe?

dark pebble
#

How can I integrate BACS Direct Debit in a React JS application?

So far we integrated Credit Cards and SEPA by respectively using CardNumberElement, CardExpiryElement, CardCvcElement and IbanElement. There is no BACS related Element exported so @stripe/react-stripe-js so, how can we proceed?

brave rapids
#

Hello ,why i got this msg :We've detected that you are using payment_method_types to configure payment methods. To manage payment methods from this page, replace payment_method_types with automatic_payment_methods.
If you prefer to use payment_method_types, refer to the manual settings page.

vocal wagon
#

Hi, Apple pay payment is not working on our eshop. Could you look into it?

peak sand
ocean kayak
#

Hello we are considering using 'Connected Accounts' to pay and manage our contractors. We are currently using checkout to process payments. Can we continue to use Checkout or should we use another method to process our payments if we use connected accounts?

lyric python
#

Hi there, we are a C2C Marketplace that is in development phase. We tried to connect stripe connect in our test enviroment, however our account got blocked. After our sales call with Stripe we were advised to reach out to support. Could you please help us since our go live is now in danger due to this unfortunate situation.

west niche
#

Hello folks 👋
As a banking fintech we're trying to model our pricing, here are the specs :

  • premium plan : $20/month, billed at end of month for the past month
  • credit cards : $4/month/card, billed at end of month for the past month, usage based

My billing is currently not working as the premium plan is billed upfront for the next period (default behaviour for non usage based products it seems), and my usage based card are billed for the past usage period.

For instance for a monthly subscription started at 01/01, this means that the generated invoice will look like this with an invoice date of 01/31:

01/31 : 
cards from 01/01 to 01/31 : $x           (<-- usage billed for the past period)
premium plan from 02/01 to 02/28 : $y    (<-- billed upfront for the next period)

While I would like :

01/31 : 
cards from 01/01 to 01/31 : $x            (<-- usage billed for the past period)
premium plan from  01/01 to 01/31 : $y    (<-- billed  for the past period)

Would anyone know how to model this simple "pay everything at the end of the period for the past period" pricing? 🙏

Thank you so much!

untold bramble
paper valley
#

Hello there can someone help me, I have a stripe acc set up for my other business. I was hoping to use the same acc and add the extra site/business to it.

Is this possible?

paper valley
vocal wagon
#

Hi, I'm creating a payment intent where its currency is in euro, but with the on_behalf_of parameter filled with a UK connected account, so the payment is received in pounds. But when I retrieve the charge associated to the payment intent after the payment, the amount is still in euro. How can I get the amount received in gbp or the conversion rate applied?

fresh turtle
#

Hi Team,
Need some help on email part.
I have integrated stripe in two ways into our codebase.
One is a subscription based and the other one is one-time.
I want to send emails for both of the options when the payment succeeds according to the choosen type.
How can this be checked in test mode?

I have my customer email settings enabled for the successful payments and refunds.

hollow wave
#

Hello, all.
I've created a new stripe test account to do some work on my dev environment.
I've managed to create a new checkout session, and return a checkout_session['url'].
When returning a checkout_session object, the payment_intent field is always null.
I would like to know what is needed to populate this payment_intent field when working on a test account, please.

"mode": "payment",
"payment_intent": null,  # Why null?
"payment_link": null,
"payment_method_collection": "always",
"payment_method_options": {
  },

Thank you!

fiery stirrup
#

Hi all... We are planning to use Stripe's recommended Payment Element but we are facing an issue.

As of right now, our "Payment Terminal" is presenting customers with different payment method options and when they select ACH US Debits, we are using the following flow: https://stripe.com/docs/payments/ach-debit/accept-a-payment. In that case, we keep all the javascript logic running within an iFrame and any redirects also happen within an iFrame so that they don't interfere with the rest of the logic they may be a part of. This works really well because our customers have been able to use our Terminal within long running processes (Ex. Custom Flows built by them but reusing our Payment Terminal) without any redirects that could cause them to lose in memory data.

Now, we are planning to move away from that previously mentioned flow and start using the recommended Payment Element flows (https://stripe.com/docs/payments/payment-element). But we are facing issues because Payment Element's ACH payments are generating full page redirects (even when working from within an iFrame) that will cause unexpected issues for long running processes. In these scenarios, information may be stored in memory and they are not prepared for a full page refresh / redirect since our previous implementation did not require those. As you can imagine, moving to the new Terminal using Stripe's Payment Element will require them some heavy code changes on their side to support full page redirects and may prevent them from adopting the newer Terminal.

Did the Payment element stop supporting iFrame scoped redirects or are we missing something silly here? If not supported right now, are there plans for Stripe Payment Element to regain support for iFrame scoped redirects instead of full page redirects? Thank you in advance for any help!!!

iron escarp
#

Hi !
My customers, paid from Stripe Elements on my website. I'm listening the charge.succeeded event from Webhook on my back server.

Do you know if its possible with the Stripe API to create a paid invoice with 20% VAT line ? I'm in France and my business clients need that line for accounting.

mossy pawn
#

Hello Stripe Developers channel,

I am currently working with my team on integrating a Stripe Connect -- Stripe Elements implementation on desktop using the Stripe.NET packages. With our first implementation, we interfaced directly with the Stripe Connect APIs and used our own UI, and have allowed users to create MOTO (Mail-order telephone-order) transactions which didn't enforce the CVC / CSC fields when they were executing MOTO transactions on behalf of their clients.

We are now transitioning from using our own UI with the Stripe API to using the Stripe Elements UI which we now have a groundwork implementation built out for. We are able to collect payments and things are working great!! It is quite a nicely designed system I have to say.

I wanted to ask about the possibility of executing MOTO transactions (https://support.stripe.com/questions/mail-order-telephone-order-(moto)-transactions-when-to-categorize-transactions-as-moto) using Stripe Elements (https://stripe.com/docs/payments/payment-element).

Is this possible with the current state of Stripe Elements? I have tried reading around but was unable to find a definitive answer. It doesn't seem it is really possible to hide or stop validation of the CSC field from my reading thus far...

Would appreciate any and all insight, thank you!!

granite field
#

what's up stripe family?! i'm looking for a tool that would allow split pay between collaborators, so that one single payor's payment can be split between more than one recipient (example: two musicians collab on a song and agree on 60/40 split, all payments tied to that song get split and distributed automatically.

anyone know if this already exists?

true yarrow
#

I need help to figure out why my subscriptions on sticky io are not ringing through

ocean jacinth
#

GM all, I'm using stripe PaymentElement to accept payment. We want apple and google pay to show up on the field. However they are not showing in typical situation. On incognito, it shows up, but when we click on it, the apple pay modal pops up then immediately errors out with this error Failed to load resource: the server responded with a status of 400 () https://api.stripe.com/v1/apple_pay/sessions for apple and for google Unable to download payment manifest "https://pay.google.com/gp/p/payment_method_manifest.json".

severe bough
#

Hello, I am using Stripe test mode.

I want to prevent customers from saving same card again. How can I do that?

def save_cards(request):
stripe.api_key = settings.SECRET_KEY
try:
# For getting id of current logged in user
current_user_id = request.user.id
user = CustomUser.objects.get(id = current_user_id)

Save Card - Setup Mode
checkout_session = stripe.checkout.Session.create(
mode='setup',
payment_method_types=['card'],
success_url=request.build_absolute_uri('/success/'),
cancel_url=request.build_absolute_uri('/cancelled/'),
customer = user.customer_id,
)
return JsonResponse({'sessionId': checkout_session['id']})

except Exception as e:
    return JsonResponse({'error': str(e)})

I want to know the method for preventing duplicate card during checkout setup mode.

hollow wave
# hollow wave Hello, all. I've created a new stripe test account to do some work on my dev en...

Continuation of this thread (if that's okay). From my colleague:

We use the payment intend ids as a reference to be able to tie payment successes or failures back to specific payment requests

If we didn't have it, right now as the code stands, we'd be unable to mark any invoices or lesson orders as paid

also, we're using version version: '2020-08-27'

We'd also like to know if there is a depreciation date for our current version, please 🙏

verbal tangle
#

Hi there!
Can you give me a hint, please?

We use logic with Express Connected Account for users to connect their bank account to our platform and withdraw money.
Is there any possibility for a user to update his bank account data that he has already added?

brave saffron
#

Hi there!
I have an issue with money transfer to connected account. Can someone help me ?

primal sphinx
#

Hi, i did setup the customer portal redirect and a user can now update payment methods, billing information etc. but the products he can subscribe too are not listed? When i manually add a subscription to a user he can cancel and switch in the portal but what about the first subscription?

livid scarab
#

Hi there,

I am currently implementing the "Set up future payments" on Android (using jetpack compose). This works well with credit cards but I am having some troubles adding bank account.

The flow launches a webview that leads to a success state, but then hangs when user clicks on "done" CTA (see attached video). Wondering if you can provide some assistance to determine what the issue is

ebon coral
#

Hello, I need a telephone contact with the Stripe sales department in Brazil urgently, but on the website I am not finding any channels, could someone pass me a telephone number?

crisp epoch
kindred valve
#

Is there a way to get Link to save ACH Debit payment methods?

vocal wagon
#

Hi
I have a french client how ask me some feature about his subscriptions but I don't if this is possible with Stripe Billing or not.

Actually, he proposed to his customers some products in subscriptions every 1, 2, 4 and 6 months. The customers can cancel their subscription but only after 4 months of subscriptions.
Do you think is it something possible via the Stripe Portal Client ?

Thanks everyone !

EDIT : FYI we use Prestashop and the Stripe Pro Subscriptions plugin

autumn creek
#

when using checkout session, can a subscription line_item have a quantity? On the app I am working on a customer can purchase the same monthly subscription for 2 kids and they are charged the same monthly twice

fiery stirrup
#

Hi. We are planning to use the Payment Element within an iFrame. Is there any suggested way in which we could resize the iFrame based on the Payment Element size? Does the Payment Element generate any events we could listen to when resizing?

lean notch
#

Hello Stripe, I am Ayman. I sell digital products. This is my work. I am very professional in it. I sell digital products such as ai products, books, netflix cards, apple store cards, itunes, subscriptions to Shahid VIP and other digital products. I believe that this is a legal and permissible thing. In Stripe, I also buy subscriptions at a low price and resell them at a slightly higher price. I buy these products at a lower price through vouchers and discount codes, and I sell those subscriptions at a low price, and this makes a smiling buyer. I think there are many people who use Stripe to receive their own payments They work in selling digital products. They use Stripe to receive their payments. If this is unacceptable, please explain to me more. I am a beginner in Stripe and I do not know all the laws.

random lintel
#

hello, How can I read the event of a connected account example: "evt_1NjuR4IqiGb9liXwT9vqiAcy"

zinc adder
#

how to check, when a balance is going to be available for a Custom account using the api

terse crypt
#

Can i get money and send money in stripe without adding or linking a bank account?

Like, my friend send the money and i just keep it in my email balance without extracting it to a bank account.

pallid pulsar
#

Hi all, I'm a freelancer and i just created a stripe account
I want to know if it's okay because i don't have websites or business bank account
Also i created it a little bad because it's my first time, it's okay if i change the settings?

frank moth
#

Hi Team,
Is there a beta available (or upcoming) to allow the customer/billing portal to be displayed within an iframe?

I noticed this exists for the checkout portal but didn't see anything on the customer/billing portal side

peak sand
tranquil crane
#

Hey all,
I am trying to submit stripe report usage. The logic is as follows : our billing period is the default monthly. At the end of the month we want to submit the report for the previous billing period. Is this allowed to pass in the timestamp in the previous billing period? Example : I want to submit the report usage for 1-31 August. I want my data to be submitted on September 1st. Can I call the stripe report usage endpoint on September 1st with the timestamp of August 31st?

tardy cedar
#

Hey All,
I am trying to configure action to send payment receipt after successfully subscription to customer in test mode. I have enabled settings from Customer emails section. [Payments => (check) Successful Payments]. but after making those changes stripe still not sending the receipt, is there anything addtional which needs to be configure to send payment receipt?

keen goblet
#

Hi in the test mode charge id is coming as null while listening to invoice.paid

Is it because i am paying with a stipe test card and actually there is no charge?

What else would be a good reference to record in our DB, apart from customer_id and invoice_id

hot dune
#

Hi there, How can I get a list of the available stripe API versions via PHP? I'm working on a wordpress plugin and for compatibility I would like to poll the stripe API to get a list of versions and then display them in a select box. I have found a reference to \Stripe\ApiVersion::all(); but it doesn't seem to work / exist. Is there another method I can use? I literally just need a list of versions e.g. "2023-08-16", "2022-1-11" etc

last yew
#

Hello Stripe, are changes from a card network trigger the webhook event customer.source.updated ? And what are some examples of that happening ? Like updated expiration date ?

sonic path
#

Hi there, We are creating quotes in our rails application. One can add as many one-time products and only one subscription to the quote. We have a requirement to not show the subscription on checkout page, and We are creating the subscription in the success_url given while checkout session creation.
For some users subscriptions got created, for some we are getting below error.
{
"error": {
"code": "reauthentication_required",
"message": "Please log in again to complete this action.",
"message_code": "reauthentication_required",
"request_log_url": "https://dashboard.stripe.com/logs/req_exfyiDI69W12PX?t=1693154217",
"type": "invalid_request_error"
}
}

I have researched it seems, it is asking for some authorization, but subscription creation does not have any front end, we are creating it from backend. Any help would be highly appreciated.

turbid mesa
#

i need some help, i confirmed a payment intent before create it as requires capture setted as manual but after confirmation the status was "requires_action" instead of "requires_capture". Could you guys help me?

mental shoal
#

Hi, is it possible to schedule a video call meeting to solve some architectural issue ? We have a physical rental service connected to an app so we need to show you the system architecture and logic live. We have some problems with our current logic and we need support form an stripe solution architect. Our service is https://www.amperry.me

terse swan
#

Hello everyone

molten granite
#

Hey guys what’s the best practice for dealing with 3d secure cards on automated cc payments? Or do most people just disallow those?

tawny flame
#

why wont it send me a access code to my phone when i go to recover my password?

fiery stirrup
#

Hi all... I am trying to simulate a required reader update on iOS using the Stripe Terminal SDK. I am using the following code to set the Terminal.shared.simulatorConfiguration.availableReaderUpdate but when connecting, the reader update simulation does not happen. Am I missing something silly?

tawny flame
#

i sent them my photos from my licese and it says it will take them 12 hours to respond? is this normal?

mint inlet
#

Hi team. My service sells product X. Customers can launch a product and use it via an API. There is a cost per hour and a cost per API request. Q1: Is it possible to model it with Stripe? Q2: If a customer launches/terminates a product 5 times a day, would that be 5 subscriptions started/canceled?

empty eagle
#

look this two photo ,in desktop device i am getting to see country element but in mobile device country element are not hide

frozen wing
#

I need to request a 1099 with my social visible

real shell
#

I implemented stripe payout, how can I limit transfer though?
Like: cannot be done $100 at one time
cannot be done 2 times on a day

tulip cipher
#

Hi Team, we need help checking a production customer. The subscription has 3 failed invoices for the past months. Dashboard says there is no payment method. But there is a valid credit card attached as Default.

south surge
#

Hello, is there a way to get the payment page url for an invoice using the stripe API so that I can send a custom email to my customers that includes the link to their invoice? Thank you!

prisma harbor
#

hey guys can us Indians Dropship using stripe India?

bleak glade
#

Hello, can someone help me with this problem? I am creating an invoice with a direct charge to an account connected (US) via API, first I created the customer without default payment methods and then I created the invoice, but for some reason even though the invoice template has removed the payment with "ACH Credit Transfer", this continues to be automatically added both to the invoice and to the customer

jagged mortar
#

Hi, we're working on handling disputed charges via webhooks. For the charge.dispute.closed webhook, does the dispute object always have a status of 'won' or 'lost' or can it have other statuses?

mossy pawn
#

Hello,

tldr -- Is it possible for Stripe Elements to not enforce the CVC field in the case of MOTO transactions? Perhaps the only support for MOTO is via entering a CVC with elements? It does work for us with non-elements if we don't supply a CVC.

...

I have a question, we are currently working on a Stripe Elements integration. I was curious about the UI requiring the CVC field to be populated in the case of MOTO (Mail-order Telephone-order)? This validation is causing the Stripe Element submission to not proceed any further with creating a payment method or otherwise, which is required to then take the payment in our API using the tokenized payment method.

Stripe support was thinking I would not be able use Stripe Elements in the case of MOTO, and would need to use our own UI for this. I have a feeling there has to be a way to execute these MOTO payments from Stripe Elements UI... I see previous forum posts about MOTO by @shadow cobalt trying to get MOTO to work with Elements UI by first creating/tokenizing the payment method, then using the token later in the API to actually create and execute the payment intent.

I do create the payment method in our javascript to set up a "deferred payment" method that is then finished in the API, however when the end user submits the form, I end up getting validation errors before the code to create the payment method can run telling the user to fill in the CVC , which is the case of MOTO is not required.
https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment#additional-options

And when I attempt to submit the elements after I createPaymentMethod, I get an error about how I have to submit first... Just for reference I am also attaching how we initialize the elements as well

odd locust
#

Hello, I need need some help integrating Stripe into my angular web app. I have 2 options at checkout, one for an yearly subscription and one for a weekly subscription with a 3 day free trial, both of them need to use the web Google Pay or Apple pay integration without checkout or elements. The yearly subscription works fine and gets activated for each customer, but for the weekly one after creating the subscription i only get a pending_setup_intent back instead of a paymentIntent. So i can't start the Google Pay or Apple Pay billing in the front-end. How should i go about implementing something like this.

vocal wagon
#

alguien habla español

buoyant galleon
#

Hello - having trouble migrating my users/subscriptions from a WordPress Memberpress site to a new BuddyBoss Woocommerce site. I have exported members and formatted the spreadsheet accordingly, and I can get my members transferred over, but once they're transferred and a member cancels or changes their membership, it is not communicating with Stripe. I need an expert to help me!

digital stone
#

Hey, where can I set trial periods for subscriptions? I am looking at products and their prices in the Dashboard.

true tapir
#

If a customer's active Stripe Subscription is cancelled via the API, will the customer be notified of this via an email?

tall crown
#

I'm trying to figure out how to use the metadata keys in report connected_account_balance_change_from_activity.itemized.3

I'm trying to use it as follows:

  report_type: 'connected_account_balance_change_from_activity.itemized.3',
  parameters: {
    interval_start: 1692514800,
    interval_end: 1693119600,
    connected_account: 'acct_1LpQhTRfYCk8Ir9W',
    columns: ['balance_transaction_id', 'created', 'available_on', 'gross', 'description', 'reporting_category',  'invoice_id', 'shipping_address_line1', 'customer_address_line1', 'customer_shipping_address_line1', 'payment_metadata[codyTest]', 'refund_metadata[codyTestRefund]'],
  },
})
zealous prism
#

Hey, could you please provide dashboard link to delete customer portal configurations.

lone rock
#

Hi guys, I’m using stripe connect for my saas customers and I would like to charge my customers a flat 2.00 fee on every order that passes through over $10. There will also be a .99 fee to the customer as a service fee. Any idea how I set this up?

tired crater
#

with stripe's address element is it possible to only collect country and zip code instead of requiring a full address?

chrome solar
#

Apologies if this is already documented somewhere, I tried to find it but wasn't able to. Is there a way via the API to check how many times a payment_intent was retried and failed?

lime kindle
#

I am working with a client and I setup Stripe Checkout hosted by stripe and I send requests to it via the api from my site to facilitate a payment. They want to customize the checkout page to ask for the address fields. How would I do that? They had a second request to ask for the Donor Name which can be different then the name on credit card, and a optional Corporate name if applicable. I noticed custom fields should not include personal information. What are my options here. Do I have to build with stripe JS and web elements and create an entire new app ie my own hosted checkout out. Or can I continute to use these stripe checkouts host by stripe with these additional information fields?

echo field
#

Going off @chrome solar question, do the webhooks for when a payment fails (specifically for a subscription) in clude how many times it has retried and faile?

warm relic
#

hello guys, is there any way to check if the invoice payment is the first one, when a client makes the payment?

looking at the Invoice object, I couldn't find something like

mint adder
#

Hello, I am setting up a custom onboarding and are wondering if you can sing up with only card details instead of bank account details?

peak sand
grand grail
#

hey, is there some way to pass in an idemopotency key to the usage endpoint? we have a bug where we are double billing usage based records because there's no way to kill the second request

vagrant steppeBOT
#

.stevenp

mint inlet
#

@surreal temple

Q2. Are these separate products? E.g. could a customer launch product A and then launch product B before they cancel product A?

Yes, they can. They can launch many instances of product A and many instances of product B. These products have different prices per hour and per API request.

lime kindle
tribal basalt
#

hello,
is there a way to get the product id from a api hook?
goal: once the user completes a purchase, i would like to catch a stripe api call into our system so that I can credit the users account.

I have a flask app.
The hook that I have works perfect.
I am having an issue extracting the product id.

this is my code::

import stripe, os
from flask import Blueprint, request, jsonify

from services.apis.stripe import StripeConfiguration

stripe_config = StripeConfiguration()

endpoint_secret = os.environ.get('STRIPE_ENDPOINT_SECRET')

def payment_web_hook_controller():
print(f'payment_web_hook_controller()')
event = None
payload = request.data
sig_header = request.headers['STRIPE_SIGNATURE']

try:
    event = stripe.Webhook.construct_event(
        payload, sig_header, endpoint_secret
    )
except ValueError as e:
    # Invalid payload
    print(f"Invalid payload: {e}")
    return jsonify(success=False, message=str(e)), 400
except stripe.error.SignatureVerificationError as e:
    # Invalid signature
    print(f"Invalid signature: {e}")
    return jsonify(success=False, message=str(e)), 400

# Handle the event
if event['type'] == 'checkout.session.completed':
    session = event['data']['object']
    print(event)
    for item in session.get('display_items', []):
        if 'custom' in item:
            product_id = item['custom'].get('product').  # this does not work
            print(f"Purchased product ID: {product_id}")
    return jsonify(success=True)
else:
    print('Unhandled event type {}'.format(event['type']))
    return jsonify(success=False, message='Unhandled event type'), 400
robust plover
#

Looking for help re: resending a specific event to a connected account from a platform account. I understand there might be scope issues, but wanted to consult y'all first.

dusk sequoia
#

Hello! Hey guys we are about to complete the development of Stripe Connect with payments made to our platform in MXN (accepting credit card, and SPEI local wire transfer) and dispersing the money from the connect account to our landlords using SPEI (Mexico's wire transfer system), every tenant has it's own CLABE (wire transfer account identifier) that we use to match the payments and all is good. However, now we are going to be transactioning rents in Tijuana and we need to receive the money in USD and transfer that to USD. Is that possible? Is that possible? I don't know how bank transfers work in US

young willow
#

This is not a dev question but how do you create a subscription with a one-time initial payment in the dashboard?

hollow ore
#

Hi! I have a problem with Link bank feature that is implemented on our app. Recently I started receiving "The recipient ToS agreement is not supported for platforms in US creating accounts in US." error message, but cannot find the reason.

round rain
#

Hello, I'm new to Stripe and I'm having problem with payments and transactions data.

  1. what is the difference between a payment vs a transaction?

  2. if you check my snapshots, it seems I can fetch part of the payment data from what I can see in the dashboard using BalanceTransation endpoint, but they only starts from succeeded and pending ones, not the failed ones? Is there a way I can fetch the failed payments as well?

  3. also, it seems both succeeded and pending payments are marked as pending as status. Is it because the data is not live or there's another field to further distinguish the status?

Thanks!

zealous prism
#

Hi,
Could you please assist me in finding a webhook endpoint for deleting a connected account? I came across account.application.deauthorized, but I'm not able to retrieve metadata with this. Could you please provide some guidance on this issue?
Thank you.

patent patrol
#

So I charge a monthly subscription + usage over the course of a month. I want to offer monthly and yearly as an option for the base subscription, and then still charge every month based on usage. What is the best way to do this for the yearly option? I'm leaning towards having the subscription product have a monthly and yearly price. And then for the usage over the course of the month just using invoice items (different product/price) which get added to the next upcoming invoice. This makes sense for monthly, but since the next invoice for a yearly subscription is potentially in a year would I instead need to just create an unfinalized invoice that I finalize every month after adding invoice items to it over the course of the month? Or is there an easier approach?

visual sonnet
#

are all events (within the past 30 days) retrievable from /events? I am not seeing any of the events that we are receiving from our connect webhook (events/:id) and /events?type=account.updated returns an empty list?

raw rapids
#

When I'm creating a stripe terminal token and I intend to create charges for a connected account, do I create it for the connected account, or my own account? What's the significance of either?

main tulip
#

Hello, has anyone successfully been added to the UPI group (beta) for receiving payment from India? Having UPI integration is quintessential for India now and it's hurting to not have it. Would be great if you can guide me through the process.

robust plover
#

Hello, if I have a connected standard account which was previously created and then linked to my platform account. Would this newly connected standard account dispatch webhooks to the platform account when, say, the standard account is updated?

boreal ore
mint adder
#

Hey! I am trying to set up a custom onboarding flow, and everything seems to be working except when connecting the extarnal account to the new account a get this message "You must provide a card that has the 'currency' field set when adding a card to a Stripe account."

ionic raven
#

Here's a question. I am setting up a Webhook for each connected account, but recently hit my max of 16. What do i do?

bleak glade
#

I'm creating an invoice with specific payment method types, but on the payment page, the "Pay with link" button is always showing, even though I already turned off that payment method everywhere, how can I remove it?

south trellis
#

when using the preview upcomnig api im getting the same period_end and period_start values. is there a reason for this

true stag
#

Greetings all, I hope you're well. Client has a setup where Stripe connect is used on many different sites but same platform. Just found out Stripe has a limit of 15 webhook endpoints. Any way to lift that limit?

dense grotto
#

Hi I've noticed a rounding error when refunding multiple times in test mode. I'm not sure if this is happening in production. The Net amount should be -10.48 but is instead 10.49. If you notice the Stripe processing fees don't add up to the original 6.17 amount

patent turtle
#

Just wanted to see if you have any suggestions. I want to do split payments and directly pay our vendors via our app once a sale was completed. I am now implementing Connect onboarding. Do merchants actually go through this?

worldly moat
#

Hey there! I was wondering if there's a way to disable the automatic 3DS verification for the Mobile Payment Sheet when it is launched using: PaymentSheet.presentWithSetupIntent()

slender jolt
#

hi there

#

i am creating a payment intent with methods=card, but my payment form on ui shows gpay and card as option

dim hearth
#

@slender jolt please respond in the thread I created!

random lintel
#

hello, what webhook event do i have to listen for payment.created from a connected account

#

webhook/connect

tall crown
#

I'm working on a platform that is using connect express & destination charges.

Is there somewhere I can learn more about the lifecycle timing of an invoice and when the associated charge for the connected account is created?

Context: I'm looking to set metadata for every charge in a connected account, and I'm not sure what the best webhook to listen for is here...

south trellis
#

every time I create a refund I want to add metadata fof the user that called the api. what webhook would I listen to and what object would I store this metadata on in stripe

gritty fable
#

Hi there, if a customer is on a free trial subscription, is it possible for them to input payment information and switch to the paid version before the end of the free trial from within the customer portal?

odd swan
#

It appears Stripe supports platforms that not only conduct transactions but can also themselves receive tips/contributions from users (like Wikipedia does when it solicits financial support) -- is that right? If so, which is the feature that makes this possible: Separate Charges, On-Receipt Tipping, or other? (I think it's the former but want to confirm) Thanks

silver delta
#

Hi.

Using the API, I'm able to find the quantity purchased for subscriptions (from invoice line data).

However, since we don't create an invoice for ONE-TIME payments, I can't find the quantity.

How can I use the API to find the quantity of a product purchased (one-time transaction) if I have the payment ID / charge ID?

rough flame
#

Does the Stripe Dashboard log confirmSetup results anywhere? I'm not logging error responses from it, and a customer is getting a card decline, and I'm hoping that the dashboard includes some logs where I can find more details.

obtuse prism
#

Hello i ahve proplem can any oen join share screen please to oslve it for me php native

sand geyser
#

Hey I'm trying to resend an event using the stripe CLI, and I'm getting the following error:

stripe events resend evt_1Ni4q2QK5SiV6AmMRZ5GFitW --webhook-endpoint=we_************************* --api-key=sk_live_*******************

{
  "error": {
    "code": "resource_missing",
    "doc_url": "https://stripe.com/docs/error-codes/resource-missing",
    "message": "No such notification: 'evt_1Ni4q2QK5SiV6AmMRZ5GFitW'",
    "param": "id",
    "request_log_url": "https://dashboard.stripe.com/logs/req_Q6MyXgQdGcGYCF?t=1693266014",
    "type": "invalid_request_error"
  }
}

The event was sent 7 days ago so it should not be expired.

dark acorn
#

Hi I am getting weird errors when using the Stripe Universal Connector for Salesforce. I am passing an invoice item across, which is a manual entry but it is giving me a message saying:

Inputs:
accountRecordId = {!Get_Stripe_Account.Id} (a0R5g0000085eJbEAI)
amount = {!forInvoiceLineItemAmount} (38,000.00)
customer = {!varStripeCustomerId} (cus_OW5bOEAbAkWr4X)
description = {!Create_Stripe_Invoice_Line_Items.Product2.Name} (Initial Verification)
invoice = {!Create_Invoice.id} (in_1Nj3PzBejmHGo8p4kRQymS5j)
r_currency = AUD
taxBehavior = unspecified

Error Occurred: Action name not found: null

Also, when I look at a log when the invoice item is created, it looks like it is trying to read the Stripe Catalogue, which is also weird

meager finch
#

Hi all, i have issue with stripe addon and prestashop 1.7.8.2, here is the reply from Stripe support, so i contacted prestashop who redirected me to stripe:
We're able to see that this is an integration issue. We can see this in this request: req_8zzB7552RYnZuh that the payment intent was created with automatic payment methods enabled. But in the confirmation request, the payment_method_types parameter was provided. It's not possible to have both automatic payment methods enabled and the payment_method_types parameter set on the same payment intent. I'm afraid that you'll need to reach out to Pretashop to sort this out for you.

https://dashboard.stripe.com/logs/req_8zzB7552RYnZuh

so since then nobody could give my a solution, anyone could help?

rugged merlin
#

Within the stripe ecosystem, we are using payment intents along with stripe terminal. It looks like Stripe terminal has auxiliary fees associated with it. When we get a payout from Stripe to our bank account, it looks like those auxiliary fees are deducted from our Stripe balance. This messes with our accounting, as we would like to have a zero-balanced accounting of all of the stripe payments we've received (less stripe payment fees).

My question is - is it possible to configure stripe to charge a separate account than stripe balance for these auxiliary fees?

weak bridge
#

question: I'm trying to use Connected accounts for a small b2b platform I'm building. I see that I can create an invoice on_behalf_of a connected account, but can I create individual invoice items that way as well? I'd like the business customer to be able to approve individual line items and then send invoices later, with stripe using whatever outstanding invoice items exist on that customer account. that way i don't have to track what active invoice numbers to associate with the customer during a given period. is that possible?

patent turtle
#

There's an onboarding web interface for connected accounts, but is there one for editing the account? Can connected account owners log in and manage their account?

weak bridge
# patent turtle There's an onboarding web interface for connected accounts, but is there one for...

I'm learning connected accounts as well. There does seem to be a full dashboard available to the connected account owner. If you go to your own dashboard and click Connect, and then click a connected account it'll show you your view of their account. If you then click the three dots on the top right of the screen and then click "View Dashboard as [ConnectedAccountName] it'll show you their view.

patent turtle
#

Maybe createLoginLink. Checking...

clear parcel
#

We've encountered an interesting error scenario with Apple Pay and Stripe Radar Rules that Stripe makes impossible to solve well with current tools & features.

  1. A customer sets up Apple Pay wallet with their credit card and billing address with ZIP code e.g. 11111
  2. The customer changes address, notifies their bank, but does not update Apple Pay/Wallet
  3. Their card works fine for many merchants, which don't check the zip code provided by Apple Pay
  4. The customer then tries to buy something on a website that uses a Stripe account with a Radar Rule configured to fail if the ZIP code does not match

They get a notification of the transaction on their Apple device for the pre-auth. They then get an error on the e-commerce website saying the transaction failed due to zip code being incorrect. Two major problems with this UX;

  1. The customer has to go to Apple Pay/Wallet to supply the correct ZIP code. This is disruptive and is not obvious
  2. They are confused about whether or not the transaction went through, since Apple told them they were charged.

Ideally one of the following would occur instead;

  1. the radar rule can be skipped when paying by Apple Pay, and the transaction succeeds
  2. the transaction fails before Apple Pay notifies them of the charge
  3. the customer can supply the correct ZIP code via the e-commerce website, and the website integration can pass this on to Stripe.js

However none of these solutions are possible with Stripe's Apple Pay integration.

We use PaymentRequestButton element, but I think the same problem exists with Payment Element.

dusk harness
#

Hi, I am testing refunds with the Promptpay Payment method, but in "Test Mode," I don't know what input to provide in the fields. Trying to use a fake ID Card, Account Number, or Mobile Number is not working.

vagrant steppeBOT
#

Bevan

opaque trout
#

Hi All! I am currently setting up Express Checkout with stripe. I am able to see apple pay on safari and google pay on chrome. But just wanted to confirm that I should be able to see google pay and apple pay when using safari? As this is currently not working for me.

steel jacinth
#

hi, I am going through this doc https://stripe.com/docs/stripe-apps/oauth

Can I get an example on what are the services of OAuth provider mentioned here? I am struggling to understand this
they can interact with the services of the OAuth provider directly from your Stripe App in the Dashboard

Implement PKCE OAuth workflows in your Stripe app in the Stripe Dashboard.

vocal wagon
#

My stripe ID: acct_1LuhGPDlqoLrd46L

Do you know why on the web when I go to check-out I can choose different types of payment like "Boleto" (type of Brazilian bank payment), "Google pay" and regular credit card, while on the app I can only choose CC ?

This is for my connected accounts, it seems like on the web version of my marketplace, there is more payiment options then on the payment options on my native (Android and iOS) mobile apps

Is that how it's meant to be or are my iOS and Android developers missing something that my web developer is not ?

deft frost
#

Retrieve a Person api
stripe.accounts.retrievePerson

what are the possible status values ?

hearty garnet
#

Hi, after finalize an invoice I want to confirm it but I cant' get the payment intent id from the invoice detail even though I add a expand param payment_intent in the request. I use java sdk v22.31.0.

misty hornet
#

@clear parcel I've re-opened the thread

weak bridge
#

@misty hornet Sorry I couldn't respond more promptly and now the thread is locked, but regarding the question about connected account invoices:
When a user wants to approve a service event for billing, I create an invoice item on my backend like so:

const invoiceItem = await stripe.invoiceItems.create({
      customer: entry.stripeID,
      amount: entry.price * 100,
      currency: "usd",
      description: entry.description,
});

Later, when the connected account owner wants to create the invoices on each customer using their accumulated pending invoice items, this gets called:

  customers.forEach(async (customer) => {
    await stripe.invoices.create({
      customer: customer.stripeID,
      due_date: dueDate,
      pending_invoice_items_behavior: "include",
      on_behalf_of: [CONNECTED_STRIPE_ACCOUNT_ID],
      collection_method: 'send_invoice',
    })
  })  

When I open the checkout link as if I'm a customer, I see the branding of the connected account, so that seems to be mostly working.
However, when I look at the dashboard as the connected account, I see no customers, no invoices, no nothing. The customers and invoices are all listed under my main account. Is that expected behavior or do I have something configured wrong?
Example invoice ID: in_1NkGL4HadtZeRUpQLtG4hcMY
(this is all in TEST mode)

olive heron
#

I would like to store the company name of my users in the customer profile. I'm using Stripe UI elements (AddressElement and PaymentElement).

  1. Can I add the company name to the address element? If so, how?
  2. I saw some Stripe forms where there is a checkbox "Buy as a company", and then I was able to type in my company name AND ABN (Australian Business Number, based on the country I put in).

Is this behavior also possible with the Address Element?

devout mauve
#

hi team, I came across an issue yesterday if I fetch a list of prices for a product and if one of the product has a price like $15.678 it shows the unit_amount as null

young cipher
#

Building a marketplace with buyers and sellers using a standard account and had a quick question - when controlling payouts on standard accounts confused on what happens after a payment? Where is money held until the payout if the buyer does not have a stripe account (do they need to create one?) What happens if you want to cancel that payout because someone cancels an order - can you issue money back to original payment option? Confirming that the user does not refund on stripe fees in that case?

earnest oracle
#

Hey everyone! I'm just testing out the stripe endpoints right now, and I'm trying to change a stripe item quantity. The request (in my logs) shows 200 OK, but the quantity doesn't actually update?

I'm doing it on postman, with proper secrets (it goes through after all), anbd giving it this body:

frosty yoke
#

Hello, need help please about a webhook that does not reach the host ( but I can reach the host without problem )

sonic canopy
#

I need help with account tokens

stray jolt
#

Hey everyone, I want to integrate Apple Pay and google pay for payments in our App. Can somebody tell me the process? from documentation I found it a bit confusing

earnest oracle
#

Apologies for a long (and possibly crappily described) one:

When I call your subscription or subscription_item endpoint to update a subscription item,
if I set my payment_behavior to 'error_if_incomplete', and proration behavior 'always_invoice', will this error out the stripe subscription update call IF the card that is currently attached to the customer is expired/declined?

Via your docs, it seems that we are recommended to use a webhook listening, but via my own testing, it **DOES **error out if I, lets say, increase the quantity of my subscription item, with those parameters (error_if_incomplete and always_invoice), and I have your stripe testing "can attach to customer, but will error out when trying to charge" card.

I'm not sure what exactly is happening here, can anyone give me some advice?

Additionally, will this pro-rate correctly via the current date if I set it to 'always_invoice? By correctly, I mean thatL Let's say I have 7 days left in my subscription, and I go ahead and increase my quantity of the item from 6 to 10, will it charge me for the extra 4 items for a pro-rated price for the remaining 7 days in the billing cycle right now, then charge me for the full 10 total items in 7 days?

Thank you so much for your time ❤️

patent turtle
#

@misty hornet so it seems that account_update for type is only available for custom accounts?

#

Seems strange to limit updating the connected account. I am a little confused. If indeed it's limited to Custom accounts, then how?

outer rampart
#

Hi, I have a site with stripe and needed some help with double charging issues

vocal wagon
#

Funds can't be sent to accounts located in CA when the account is under the full service agreement. please guide what is this and how to overcome

earnest oracle
#

Can someone confirm if this option, when selected, is the exact same as passing in the "always_invoice" string for "proration_behavior" on the stripe API endpoint /v1/subscriptions/:id or /v1/subscription_items/:id ?

slate vine
#

If I want to renew some limit in my system every month, when the subscription is charged, what webhook should I listed to best, invoice.paid?

upper compass
#

Hello, if the api version is upgraded in the background, can the old version of api still be used normally?

quartz aspen
#

When the user is under free trial how can allow users end free trial before the end date and allow them to start sub after paying?

night coral
#

I'm looking to implement a payment intent that acts like a hold and capture method. The idea is to temporarily reserve a payment, and after delivering the service successfully, I want to capture the payment from the client's account. Currently, I'm using manual capturing, but I've heard there's a limitation of 7 days for this method. Can anyone recommend any resources or alternatives for this?

cedar current
#

Hello everyone. I have a question about .update method call and subsequent webhooks. I am using Node.js and I want to update a subscription to set pause_collection.behavior="void".

this._stripe.subscriptions.update(subscription.id, {
          pause_collection: {
            behavior: "void",
          },
}); 

Is there any way to turn-off sending webhook for this specific case? In my DB, I need to update the subscription.state to "PAUSED", but the webhook handler will update the state to "ACTIVE" (because I am retrieving the state field from an incoming payload and update it in the webhook handler), since the above code doesn't change the subscription's state. That's why I need to turn off sending a webhook for this specific case, when I manually call the .update method. Is there any way to solve this?

urban notch
#

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."

How do I do this? totally confused

gaunt musk
#

Hello, I have a question regarding injected stripe iframe. It uses obsolete iframe attributes allowtransparency, frameborder, etc. It is not permitted by my company ADA compliance rules. Is it any workaround to avoid using obsolete attributes?

low lily
#

// generate charge
$charge = $stripe->charges()->create([
'source' => 'tok_1NkKxKSFMlx3nyq9vYQIeHw6',
'currency' => 'INR',
'amount' => $stripeTotal
]);

#

I used this for payment charge is thier any new method it not works for me

#

Please help me guys

lone ravine
#

May I how we filter the billing by payment method?
we already know the charges 2/3% but we dont know the % for which payment method

south dove
#

On Magento 2 Strip installation using extension, we're told that we customize the look and feel of the Payment Element by creating a JavaScript mixin in your theme to override the getStripePaymentElementOptions function under view/frontend/web/js/view/payment/method-renderer/stripe_payments.js. But when we check the JS script, we can't see a layout area to change

late turtle
#

I am using Checkout to my card deposits. Is there a way to know what card type my customer has used ?. like credit or debit card?

verbal tangle
#

Hi there!

I'm using a floow like this:
All the money on my patform is stored in the main account of the Stripe platform. Each user has his own balance on the platform itself. When a user wants to withdraw funds we use Stripe Transfer from platform balance to user's Express Connected account balance.
In my case, this transfer may be successful, but the payout itself to the user's bank account, which is linked to the Connected Account, may not be successful (some data entered incorrectly or something similar).
1 - How do I know that the withdrawal (payout) has not been completed? When creating a transfer from the server I have only the id of this transfer, which was successful.
2 - How do I get the money back to the platform balance in case of unsuccessful payout on Connected Account?

weary abyss
#

Hi Stripe Team,
Please help us, we are encountering
Timed out connecting to remote host

In our local the stripe webhook is working perfectly. unfortunately when we deploy it to our dev environment,
we are now experiencing this
Timed out connecting to remote host

velvet temple
#

Hi,
I am Using Klarna to use the payment intent method in stripe on my website. Everything goes fine Klarna is shown in my stripe custom form and when I go with Klarna payment in test mode when payment is done it does not return the dashboard it passes URL with /success.payment_intent=pi_3dffNsdffsdkKffVqFpbAyYhOzg14WOFCB7&payment_intent_client_secret=sfdfssdfsfdfssdfdsfdffdfs

I want to redirect to the dashboard of my app, for cards it is working proper redirect to the dashboard

vocal wagon
#

Hello!

I would like to use new payment link for my product in stripe (not for one time). I have product in stripe and I have created a new payment link with new additional fields. When I copy this payment link manualy from product's payments link I get valid link with new settings but I don't get this new payment link automatically by using API (through session obj). My url field from API has old payment parameters. There is null in paymentLink field. How I can fix it?

hearty garnet
#

Hi, I would like to use the company name as the invoice title. How could I do? Put the company name in the customer's address line1?

onyx birch
#

I have a UK registered Stripe and shopify account, for some reasons I can only accept Klarna and afterpay in europe but not for US, CAD, AUS and NZ customers. Is that normal?

#

Ok i just found the answer for Klarna

#

but what about afterpay? is it the same limits as Klarna?

drifting delta
#

Hi, I would like to rollback a canceled payment by mistake.

crisp oasis
#

I want a functionality in my app that let's suppose I have purchased 6 quantities of subscription plans but I have only 4 clients to give the redemption code and only those 4 quantities are currently using means 4 times my coupon code has been redeemed by 4 different clients and 2 of 6 plans that I purchased has not been used yet then I should not be charged for those 2 plans.
What should I do? how to achieve that?
Can someone help me?

means I must be charged for only those quantities that has been used.

kindred plover
#

Question about the past_due and unpaid subscription status with collection_method=charge_automatically

inland crest
#

Hi, is there an option to see how much of each payment has been retained by Stripe? is there a possibility for monthly statements?

tired night
#

I'm trying to integrate stripe payment element using https://stripe.com/docs/payments/quickstart
in the api to create payment intent i'm using below code, I just want the option of card to be shown in payment element so im using payment_method_types: ["card"] but still for some reason I'm seeing GPay option for the US users. how can i remove gpay? I just want to show card.

      currency: "usd",
      amount: Number(cart.cartTotal * 100).toFixed(0),
      payment_method_types: ["card"],
    });```
wispy hill
#

Hi, did the "account.updated" webhook not working for you guys? i want to check if the details_submitted in connected account changes from false to true, I did all the onboarding phase and submitted all the required fields but does not trigger the webhook.

turbid hornet
#

Hi team,

I have a question about proration.

I have two subscriptions:

  1. $100/month
  2. $200/month

When upgrading from 1 -> 2, I want it to charge the price diff $100, regardless the time it lapsed in the month. Is this possible?

pliant meadow
#

Hey, I need help updating the billing cycle of a subscription

coarse oyster
#

hi, i want to know that is there any way that we can provide multple destination in transfer_data while creating payment intent for stripe connect?
const paymentIntent = await stripe.paymentIntents.create({ amount: 1000, currency: 'usd', automatic_payment_methods: { enabled: true, }, application_fee_amount: 123, transfer_data: { destination: '{{CONNECTED_ACCOUNT_ID}}', }, });

upper compass
#

I want to ask whether Apple Pay can only be displayed on mobile phones, but can it be displayed on PC?

wintry fable
#

hi,i want to know; how can support alipay and wechat with uni-app ?

verbal tangle
#

Hi there!

I want to test manual payout from connected account, but I faced with problem that "Send to" dropdown is empty and strange error.
This Express Connected Account has connected bank account

velvet berry
#

Hi, why am I receiving an invoice.payment_failed event via the webhook (used for subscriptions) while the payment didn't fail yet, but the customer is asked for his 3d secure confirmation? Edit: and somehow this is only happening in the LIVE environment, not in DEV/STAGING.

summer bane
#

Hello everyone! In the case of Apple Pay and Google Pay can we completely eliminate the use of mobile applications and solely handle it from the backend? Instead of returning the client secret, key, and paymentIntent ID can we handle it completely from the backend like we handle it for a normal card payment?

vocal wagon
#

Hi everyone, what does the KYC process look like for Connect onboarding ?

merry cypress
#

When doing an Identity session, is it possible to somehow extract a person's first and last name from one of the events?

devout trout
#

can we support interac card ?

vocal wagon
#

Hey 👋

I am aware of the "Test mode Subscription data retention" rules described here: https://support.stripe.com/questions/test-mode-subscription-data-retention
But I had multiple instances in test mode now, where a subscription was deleted, even though it was marked as exempt from this auto cancellation policy.
I can find a "customer.subscription.deleted" event with source: automatic for some of these subscriptions in the dashboard

Are there some other rules that I am not aware of, or is there another possible explanation for this behavior?

hearty garnet
#

Hi, I would like to collect tax type and tax id with stripe js component. Which docs can do that?

vocal wagon
#

Hi, i would like to offer my customers the option, that they can reactivate their terminated subscriptions. Is something like this possible with stripe?

devout trout
#

(req_Hgtkied7G4RWlI) [1], it looks like you have only specified the card_present attribute and not the interact_present attribute where and how to specified this attribute

hollow wave
# hollow wave Hello, all. I've created a new stripe test account to do some work on my dev en...

Good morning. Another question continuing from this thread.

If we switch from our 2020 API version to a newer version, is there a way to pass in a unique ID into the Stripe::Checkout::Session that we could then have returned to us so we have a reference to link to a particular invoice?

context.checkout_session = Stripe::Checkout::Session.create(
        {
          # unique_id: unique_id, #?
          customer: stripe_customer.stripe_customer_id,
          mode: mode,
          payment_method_types: payment_method_types,
          line_items: line_items,
          success_url: success_url,
          cancel_url: cancel_url,
          client_reference_id: client_reference_id,
          payment_intent_data: {
            setup_future_usage: 'off_session',
          },
        },
        stripe_customer.account.api_details
      )

i.e. We want to pass in a uuid for a payment request, create a session, then once a payment is complete, use that uuid to link up to that payment request again.

frail ferry
#

Hi, I am trying to change my bank account details in Stripe but first I have to insert my current account number.. I did but it's can't be acepted even tho it's the same number, please can you help me what to try next? Thank You"

verbal tangle
#

Hi there!

I am doing a webhook connect event payout.failed and in it should come an account field that should point to the connected account that this event refers to.
But there is no such field

forest saddle
#

Hi I have a question related to the webhook email sent after many failures. Is it possible to stop the process that stops the event notifications: "We will stop sending event notifications to this webhook endpoint by September 3, 2023 at 1:26:10 PM UTC.". I tried handling a successful event but I am not sure if this is enough. this is the webhook id : we_1NZgeEFkdr5S24UDXXO5G38X

cold kindle
#

Good morning everyone! I have a quick question
If I have two standard connect accounts using my platform and I use payment_intent api to ensure that the stripe processing fee is charged to my platform is there a way for me to separate the fees I incur into the different merchants so I know how much I had to pay per merchant and not in total?

olive heron
#

I'm creating a SaaS. I'm using the Stripe API + Payment and Address UI Element (not the Checkout element)
When a user signs up, I create a stripe customer and subscribe him. I added a 14 days free trial period. I collect the payment details and after the trial the customer gets automatically charged and an invoice will be sent to him.

Now, I'm wondering how I can add a company name to the invoice? Probably with custom fields? But not sure how to implement this in my existing workflow?

I would like to keep stripe automatically creating these invoices for me - I don't want to do it manually. But I want stripe to add the company name of the user

stable patrol
#

Hey all, i am using stripe payment element SDK version.. i would like to have the text in other locale, can someone tell me how it can be done?

blazing hedge
#

Hi

#

I am Having issue in Stripe-Signature headers passed to webhook URL.

#

it's giving me timestamp, v1 and v0

#

How to get sign-secret from that

frozen berry
#

Hey, we're running a Saas business for sellers and I was wondering if its possible to provide sellers with reports (as in revenue reports etc). To give some background, we take a 5% cut of their sales (everything goes through us) and we'd like to give them some sort of reporting interface and export

spiral rose
#

Hello

I am contacting you for a particular case, we have a zoho subscription and we have been told that it is a Stripe issue.

That is why I am contacting you about a payment that cannot be made.

What they told me was the following:

You have exceeded the maximum number of declines on this card in the last 24 hour period. Please contact us via > https://support.stripe.com/contact if you need further assistance.; code: card_decline_rate_limit_exceeded; request-id: req_5MsFleDG3NhZZl 0

I am looking forward to your response

vocal wagon
#

Hello to everyone.

I am currently struggling with the implementation for Klarna in Germany on Stripe invoices.
By reading through documentations, I could not figure out why it does not appear on my invoices as an option.

Has anyone experience with the implementation of Klarna in Germany on Invoices?

My primary question would be, if this is even possible, or not.

Thanks

velvet temple
#

When payment is done in klarna it redirect to /success.payment_intent=pi_3dffNsdffsdkKffVqFpbAyYhOzg14WOFCB7&payment_intent_client_secret=sfdfssdfsfdfssdfdsfdffdfs
but I want to redirect the page to /dashboard
And it is working properly while payment with a card
Is it okay to use payment_intent instead of using create-invoice
Payment is successfully done with 200 code but it is redirecting to /success.payment_intent=pi_3dffNsdffsdkKffVqFpbAyYhOzg14WOFCB7&payment_intent_client_secret=sfdfssdfsfdfssdfdsfdffdfs
so my website shows a 404 page not found an error

primal prawn
#

hi folks

#

what is the max delay to get document verification for connected account kyc

iron escarp
#

Hi,

Related thread : #dev-help message
I've got problem to send the invoice by email after paiement.

My new process is :

  1. User click on the cart button from the front website
  2. Invoice is created in my back server
  3. Add items in invoice
  4. Finalize invoice
  5. Send PaymentIntent to PaymentElement to the client
  6. User pay with the PaymentElement
  7. Listen invoice.paid webhook event
  8. Process the paiement on the back server
  9. (Need to send the PDF invoice to the customer)

I tried to use the POST send invoice API route but it returns

400 ERROR - invalid_request_error
You can only manually send an invoice if its collection method is 'send_invoice'.

Is there a other way to do that ?

velvet berry
true goblet
#

Hey!
I have a webshop but i am seing that a big portion of my costumers get a payment error. Even multiple times after each other. I am using shopify with stripe.
Everything is setup perfectly, even shopify assisted to ask here.

magic lance
#

I've creaated new product in dashboard and prevously I've created promo codes for product that I've archived. Can I somehow through dashboard manually set those coupons to be aplicable to the new products also?

fervent crown
#

Hello,
I've encountered an issue that I need help with. After a successful payment, the Sprite Cli terminal returns a status code of 200. However, after a certain period of time, I receive the following error message:

2023-08-29 12:42:01 <-- [200] POST http://localhost:3000/api/customer/handle-payment [evt_3NkPMlJrisEw3A4I0MD4Qn3A]
2023-08-29 12:42:18 [ERROR] Failed to POST: Post "http://localhost:3000/api/customer/handle-payment": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I'm working with next.tsx , and then I return res.status(200).end(); using the .end() method.

slate vine
#

Hello, why did my channel with the supports disappeared if I did not get everything resolved?

mint adder
#

Which questions are required in order to onboard accounts using card details

untold bramble
#

Hey, can you help me understand how can I accept TnC for a merchant account onboarded using Connect APIs?

For instance, let's say I have onboarded an account on Stripe Connect via this API - https://api.stripe.com/v1/accounts; where account_type is express

I can see the created account on my Stripe dashboard, but Terms and Conditions are in this state

stone tusk
#

HI, we are having issues getting a payment form (GravityForms) to complete transactions. On a recent payment attempt event (in Stripe logs), I can see the following message: "Entry for subscription id: was not found. Webhook cannot be processed." Don't see any results for this in docs, any pointers to try and fix this?

viral spindle
#

Hey , I am doing my payouts using paypal , is there any way to connect stripe wallet/account to paypal so that i can use the fund from stripe for my payouts . Can any one help me in this ?

velvet temple
#

Hi Facing a problem in Klarna on success payment
When payment is done in klarna it redirects to /success.payment_intent=pi_3dffNsdffsdkKffVqFpbAyYhOzg14WOFCB7&payment_intent_client_secret=sfdfssdfsfdfssdfdsfdffdfs
but I want to redirect the page to /dashboard
And it is working properly while payment with a card
Is it okay to use payment_intent instead of using create-invoice
Payment is successfully done with 200 code but it is redirecting to /success.payment_intent=pi_3dffNsdffsdkKffVqFpbAyYhOzg14WOFCB7&payment_intent_client_secret=sfdfssdfsfdfssdfdsfdffdfs
so my website shows a 404 page not found an error.

calm quarry
#

I am unbable use stripe on hıggingface, stripe says we are unable to verify your payment method, şahve tried various cards they all return the same error.

quaint edge
#

Hi, I am currently facing an issue regarding the resumption of a paused subscription when the default payment method of the customer is sepa_debit.
I receive a 400 response with the following body when I send a POST to /v1/subscriptions/sub_id/resume:

You cannot set payment_behavior to pending_if_incomplete when the default payment method is sepa_debit.

Do I need to set the payment_behavior explicitly when creating the subscription before it is being paused? Or is there a specific workaround to that problem known to you? I would really appreciate some input, thanks 🙂

static epoch
#

Hello,

I would need some help regarding the topic below.

We are letting users save cards in their account for later usage. In order to do this, we use createOrUpdateSetupIntent function for retrieving client_secret in the server-side which we need to render the <Elements /> in the client-side and then we use stripe.confirmSetup function to save the payment method for the user.

However, our client noticed that he can add the same card twice and wants this to be fixed.

What is the solution to avoid duplicate cards in this particular scenario?

Thank you for taking your time to read this!

tribal steeple
#

Hello

Is it required to finalize invoice in order to confirm payment intent ?

brittle aurora
#

The profits were transferred to my bank account as shown in the program, but the amount was not deposited. I contacted the bank and they told me that they needed the reference number for the transfer to serve me

idle light
#

Hi i am wondering what is the best way to store products and product variants in stripe.

We have products that can have varients such as, T-shirt Large, T-shirt Medium, T-shirt Small. Each of these veriants can also have different payment options, for example; Pay all at once, Split the cost over X months, and others.

Do I need to make an individual product for each of the T-Shirts and individual price options for each of the product variants? Or is there away to create a parent product, whith child products and then have the pricing options attached to the children products?

dark pebble
#

Hi all, I'm trying to override the default order of the payment methods displayed by PaymentElement. According to https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-paymentMethodOrder it is possible to do that by passing an array of strings to paymentMethodOrder. Strings should be the payment method types that I guess are the ones defined here https://stripe.com/docs/api/payment_methods/object#payment_method_object-type.

My case is:

paymentMethodOrder: ['bacs_debit', 'card']

Apparently, I'm doing something wrong, can someone help please?

marble crescent
#

Good morning, I need help signing into our stripe account. The individual who set up this account is no employed at Williamsburg Christian Academy. I have the username, password and access to the email on file. When it comes to the 2 step sign in I do have access to that.

dull merlin
#

Good Evening. I need help for creating web elements

  1. The email id does not have a placeholder for ACH debit. Is it possible to include a placeholder?
  2. Is there a Stripe Web Elements that we can utilise for ACH Credit?
prime nest
#

Hi, I have integrated the Stripe Payment Element using the two-step confirmation experience. Now I need to save customer's cards. How can do this? Thanks

old mason
#

Hi, I am using the stripe webhooks and i have 2 different events that have been sent, payment_intent.succeeded and charge.distbute.created, they both have the same idempotency key. Is this right?

Here are the eventIds:
evt_1NkRgDFsS8tscgBnsGnWrhe3
evt_3NkRgCFsS8tscgBn1XF9FHIV

fossil oracle
#

Hi devs, when I tried to add sepa_debit to setup intent, it is giving me below error - "The PaymentMethod provided (sepa_debit) is not allowed for this SetupIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively update the allowed payment_method_types for this SetupIntent to include "sepa_debit"." How do I solve the issue? I didn't know how to update allowed payment method types in my account

zinc glade
#

how are people able to say they didnt confirm a transaction even with 3DS and my account being closed cus of it

tribal basalt
#

Hello,
I have the following webhook for catching complete payments::
import stripe, os
from flask import Blueprint, request, jsonify

from services.apis.stripe import StripeConfiguration

stripe_config = StripeConfiguration()

endpoint_secret = os.environ.get('STRIPE_ENDPOINT_SECRET')

def payment_web_hook_controller():
print(f'payment_web_hook_controller()')
event = None
payload = request.data
sig_header = request.headers['STRIPE_SIGNATURE']

try:
    event = stripe.Webhook.construct_event(
        payload, sig_header, endpoint_secret
    )
except ValueError as e:
    # Invalid payload
    print(f"Invalid payload: {e}")
    return jsonify(success=False, message=str(e)), 400
except stripe.error.SignatureVerificationError as e:
    # Invalid signature
    print(f"Invalid signature: {e}")
    return jsonify(success=False, message=str(e)), 400

# Handle the event
if event['type'] == 'checkout.session.completed':
    session = event['data']['object']
    print(f'session:\n{session}')

    line_items = stripe.checkout.Session.list_line_items(session['id'])
    product_id = line_items["data"][0]["price"]["product"]

    # print(f'expanded_session:\n{expanded_session}')
    print(f'product_id:\n{product_id}')

    return jsonify(success=True)
else:
    print('Unhandled event type {}'.format(event['type']))
    return jsonify(success=False, message='Unhandled event type'), 400

i am trying to get the customer that complete the transaction but the customer object is null.
this is what i see in the console for when i print the session::

tribal basalt
# tribal basalt Hello, I have the following webhook for catching complete payments:: import stri...

payment_web_hook_controller()
session:
{
"after_expiration": null,
"allow_promotion_codes": null,
"amount_subtotal": 5000,
"amount_total": 5000,
"automatic_tax": {
"enabled": false,
"status": null
},
"billing_address_collection": null,
"cancel_url": "http://localhost:3000/cancel",
"client_reference_id": null,
"consent": null,
"consent_collection": null,
"created": 1693315355,
"currency": "usd",
"currency_conversion": null,
"custom_fields": [],
"custom_text": {
"shipping_address": null,
"submit": null
},
"customer": null,
"customer_creation": null,
"customer_details": {
"address": {
"city": null,
"country": "US",
"line1": null,
"line2": null,
"postal_code": "33418",
"state": null
},
"email": "jcasasmail@gmail.com",
"name": "juan casas",
"phone": null,
"tax_exempt": "none",
"tax_ids": []
},
"customer_email": null,
"expires_at": 1693401755,
"id": "cs_test_a16shrrnhRSYEquptYwAYAo5si0tZNgWgsU4DCzyznhaNLVy0oYc6IFUQH",
"invoice": null,
"invoice_creation": null,
"livemode": false,
"locale": null,
"metadata": {},
"mode": "payment",
"object": "checkout.session",
"payment_intent": "pi_3NkRsNDwE30yzzvS2rO6mt8w",
"payment_link": null,
"payment_method_collection": null,
"payment_method_options": {},
"payment_method_types": [
"card"
],
"payment_status": "paid",
"phone_number_collection": {
"enabled": false
},
"recovered_from": null,
"setup_intent": null,
"shipping_address_collection": null,
"shipping_cost": null,
"shipping_details": null,
"shipping_options": [],
"status": "complete",
"submit_type": null,
"subscription": null,
"success_url": "http://localhost:3000/success",
"total_details": {
"amount_discount": 0,
"amount_shipping": 0,
"amount_tax": 0
},
"url": null
}

tribal basalt
main crane
#

Hello. What happens to unpaid invoices? How long do they stay unpaid? Do they eventually cancel the subscription? is there a setting for this?

blazing flame
craggy vigil
#

👋 ❓ Team and I have implemented a custom Stripe subscription checkout integration. For card authorization we call stripe.confirmPayment or stripe.confirmSetup and as documented, the API returns error. However we noticed based on logging that both type and code properties are never set. Just wondering if we're missing something here

hollow wave
# hollow wave Good morning. Another question continuing from this thread. If we switch from o...

I've realised that we're already saving our "client_reference_id": "xxxxxxxxxxxx",, but then when capturing the webhook, this information is not returned as part of the event? Am I missing something? I've checked my Stripe test console, and the client_ref_id is definitely being stored, but it (and metadata) are not returned?

known_signatures.each do |known_signature|
        begin
          event = Stripe::Webhook.construct_event(payload, stripe_signature, known_signature)
        rescue Stripe::SignatureVerificationError
          # stuff
        else
          if ['payment_intent.succeeded', 'payment_intent.payment_failed'].include?(event['type'])
            # event does not contain metadata or client_reference_id
            webhook = Zebra::Webhook.create!(data: event)
            ZebraWebhookWorker.perform_async(webhook.id)
          end
        end
      end
sullen wing
#

subscription.latest_invoice.payment_intent vs subscription.pending_setup_intent which payment flow should I use?

Here's my current flow:

  1. A user creates an organization account
  2. A stripe customer object is created with the organization metadata
  3. The customer is subscribed to a Free (0$) plan and the subscription is in active state at that moment
  4. customer.subscription.created and customer.subscription.updated webhook events updates the organizations collection in our DB
  5. Now... should i allow our clients to upgrade subscription and then collect payment using latest_invoice or collect the payment first using pending_setup_intent and then upgrade the subscription?
wild plank
#

In equador country which stripe runing?

frigid epoch
#

Hello i have a money transfer problem

trim yacht
#

Hello, I have an instance where a Payment Intent was part of a Payout before the payment intent succeeded. Is that a normal thing that happens?

lucid lake
#

hi

#

For Subscription i want to use in checkout session

#

what the thind i need to pass and in customer detail what will i need to pass ?

versed radish
#

Hi,
I think I need help checkout with taxes enabled

automatic_tax: {enabled: True},

error
"error": "Automatic tax calculation in Checkout requires a valid address on the Customer. Add a valid address to the Customer or set either customer_update[address] to 'auto' or customer_update[shipping] to 'auto' to save the address entered in Checkout to the Customer."

vivid burrow
#

How can I tell which two calls are involved in a lock_timeout invalid_request_error? I have the request Id: req_gJdoFpdS43sKH2

lyric lake
#

Hi guys, We are creating system where user will have digital wallet. Users will add money through credit card to their wallet. Wallet will be maintained in db level like X user has 200USD, Y user has 100USD and Z user has 20USD. User can withdraw money though bank account number. Is this implementable through stripe? .

frozen berry
#

Hey, im changing from cardelements etc to paymentelements and before I used to have something like this (in React): const { error } = await stripe.confirmCardPayment(secret, { payment_method: { card: cardNumberElement, }, setup_future_usage: isSavingCard || isSubscription ? 'off_session' : null });
I basically have a checkbox for isSavingCard and if true, it will save payment method. Is this possible in paymentElements?

nimble moon
#

Hey! In the scenario where we're implementing localisation on our site, is it possible to pass a locale to the SCA modal that's triggered so the page from the bank is also in the desired language?

vocal wagon
#

Hey i Created a payment link but my question is how i can give a personal id with the paymentlink. So that i know when i get a webhook from stripe which customer payed?

twin moss
#

We have "Link" turned off for payments on our card element UI, but it's still showing up on the test account. Basically it's disabled on prod, but can't figure out how to flip the switch for the "Test" keys of Stripe

digital stone
#

Hi, I am looking on ways to test webhook file locally that should trigger invoice.paid as of trial period ended for a subscription. Can I trigger events in the stripe cli that are tied to a specific customer ?

median lark
#

For ACH debit payment flows - does the “Full Name” need to match the bank account they’re linking? We have a customer getting an error when inputting their bank info manually

visual pine
#

Hi, paypal and ideal are not showing in the PaymentElement even though I've added them in the array.

vocal wagon
#

Hello! We recently integrated Paypal on our web-app for Subscriptions. Some of the signups have gone through but many have been failing with an error and I cannot find more info on it.
this call is made on the FE https://api.stripe.com/v1/paypal/configuration/pi_3NkSP5Fa6nOwNUem0sUdwLvY?key=<key> and it responds with

    "error": {
        "message": "Invalid request",
        "request_log_url": "https://dashboard.stripe.com/logs/req_CDUFS3zKXQ3Wc6?t=1693317384",
        "type": "invalid_request_error"
    }
}

The logs in Stripe dashboard dont have any more info to debug, could you please help me understand this failure?

chrome wave
#

Hy please i made i mistake when i link my bank account to stripe and the payout are in transit now, is there any way to change my bank account and got my money

sturdy sundial
#

Hello, I'm having a problem with my subscription integration workflow. Here's what I'm doing:

  1. On the frontend, the user selects a plan and clicks a 'Get Started' button.
  2. A subscription is created with payment_behavior: 'default_incomplete', which means the status is incomplete. I also create the subscription in my database.
  3. I show the user the invoice from the latest_invoice property of the created subscription.
  4. The user selects a payment method.
  5. The user clicks the "Purchase" button.
  6. I use Stripe Elements to confirm the payment.
  7. My backend receivse the customer.subscription.updated webhook and updates the subscription's status in database to active.

It works well, but I have two problems:

  1. I display the invoice of the created subscription on my frontend page to show the user the detailed invoice before he confirms payment. I also want to allow the user to apply a promotion code. However, if I update the subscription with a promotion code, it does not update the invoice, and the doc says that we can't update an invoice with status open. How can I show the user the updated invoice? Do I have to create a new subscription with the promotion code?

  2. If the customer has enough credit balance, the subscription becomes active as soon as the subscription is created. In my workflow, it means the user pays at the step 2, before checking the invoice and confirming the payment. Is it just a problem with my frontend, or is there a way to create the subscription with status incomplete even if the user has enough credit balance to purchase the product?

I also had the feeling that I could create a draft invoice before creating the subscription. This could potentially solve both of the problems I'm having. However, I don't see how to create a draft invoice with a price or invoice_items in the doc: https://stripe.com/docs/api/invoices/create. Is it possible?

jovial arrow
#

Hello, I got the feedback from our client's saying they cannot use their girocard which is the popular debit card in EU. is that a restriction or do I have to change anything?

sharp fox
#

Hi! I'm trying to apply promotion codes to invoices for one-time payments only for tracking redemptions for these. I didn't find any way looking at the docs that I can apply promotion codes when creating invoices, only coupons.
The main problem I'm trying to solve is that I have one coupon linked to several promotion codes, so I'd like to know which one is being applied when creating the invoice. Is there any way I can do that?

merry cypress
#

Quick question.

Will the Order API be completely deprecated at some point? Or just support around it?

burnt ore
#

hello Team,
I would like to know about stripe connect feature.
We are business partners of multiple companies who use stripe. When They get payment we get 10% of it.
What we do is we do the audit every month calculate all the amounts and send invoice to the clients then they pay us in a week. Which is very frustrating method.
We find out you can have multiple payouts in stripe connects. is it possible to automatically send 10% of all incoming payments to a stripe connect account and send payout to a different bank from that stripe connect account

tawny pollen
#

quick question, is there any way to export stripe api request logs?

i'm finding the dashboard UI to be extremely difficult to use. we have thousands of requests that we'd like to analyze, but it's very difficult to do anything with what we can see in the UI.

vocal wagon
#

quick question, is it generally recommended to create customer objects (especially for a business operating in EU) I remember reading this in the docs but can't find this reference anymore

midnight lintel
#

I have a question about the customer portal!

strange river
#

Hello, I received a email saying "Upon checking your account, I was able to identify that you should be integrating Connect for your business type, so that each source of funds has its own Stripe account."

versed radish
#

Hello we have a production issue on our webhooks

split cargo
#

Hello 👋

We are going to use the Stripe::Checkout::Session to create a Stripe::PaymentMethod that we can use to let a connected account make an ACH payment to their external bank like this:

Stripe::Treasury::OutboundPayment.create(
  {
    financial_account: '{{FINANCIAL_ACCOUNT_ID}}',
    amount: 2000,
    currency: 'usd',
    statement_descriptor: 'payment_1',
    destination_payment_method: '{{PAYMENT_METHOD_ID}}'
  },
  {stripe_account: '{{CONNECTED_ACCOUNT_ID}}'},
)

The Stripe::Checkout::Session has a url property that we will use to direct the user to a Stripe hosted form.

Similarly, I know when we create an account onboarding link we include the Stripe account_id so the user is taken back to the step in the multi step form where they left off like this:

      onboarding_link = Stripe::AccountLink.create(
        type: "account_onboarding",
        account: session[:stripe_account_id],
        refresh_url: new_msi_stripe_account_link_url,
        return_url: return_url
      )

Is the form that the Stripe::Checkout::Session leads to a multi step form as well? If they abandon the form can we provide them a link so they can return to where they left off like we can for the account onboarding link? Or is it just a single step form so if they abandon they will just have to start over with a new Stripe::Checkout::Session ?

During the Stripe::Checkout::Session , a Stripe::SetupIntent is created.

I noticed there are a number of SetupIntent webhooks to help us keep our Stripe::SetupIntent records in sync with your system. What value is there in keeping track of the SetupIntent records? We are just trying to create a Stripe::PaymentMethod that we can use off_session when the user is not logged in to automate Stripe::Treasury::OutboundPayment (ACH payments) to their external bank account.

versed radish
#

Quick q, how can I change the name of a stripe payment in a bank?

Currently for some reason we have my phone number in the bank statement

hazy holly
#

Hi! We're looking at migrating from ACH Credit Transfers to the new Bank Transfers. Is it possible to set up/create a cash balance for a customer via the API? We'd like to be able to provision a customer with a bank account and show the customer's routing/account number before we invoice them so the customer can set us up in their accounts payable platform. Our AEs have read-only access to Stripe so they're not able to hit the button in the Stripe dashboard to add an account https://stripe.com/docs/api/cash_balance?lang=cli

With ACH Credit Transfers we would just create a ach_credit_transfer source if necessary, but I don't see a way to do the same with Bank Transfers.

vocal wagon
#

hello I set up payment intents with Elements before but now we are switching to a free trial so no charge intially. I'm on .NET. So can I make the setupintent generate an Element? I'm getting an error

patent patrol
#

As a follow up to #1145815075475697815 message, I thought of another potential option. If I stick with the invoice item route, wouldn't I just be able to create an invoice once a month via a cron job/etc for those users on the yearly subscription, and include all of the pending invoice items (the "usage" items") and bill that without affecting the actual subscription invoice?

Discord

Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.

hearty raven
#

when stripe retries webhook events, i need to make sure to return a 200 in the case of success, right? Also, it says exponential backoff.. but how fast do the first retries come in?

rich flame
#

hi stripe, in my payment links I am using 2 custom fields. How can I access to the values of these when a customer enters the data in these inputs?

fervent kayak
#

Hello

I want to use stripe in php and i am using https://github.com/stripe/stripe-php.

Now i want to receive an event on my webhook after paying payment link but when testing it, i get this exception : SignatureVerificationException.

And i am on test mode.

Here is anyone that can help me ?

frozen berry
#

Hey, can i customize the text that appears when I save a card (i want my connected accounts to be able to show their own names):
By providing your card information, you allow {NAME} to charge your card for future payments in accordance with their term

night heart
#

Hi,

I would like to implement an affiliation program on my platform. Here’s the flow I am trying to implement (UserA is the client and UserB is the affiliate with an Express Connected Account):

  • UserA takes a $15 monthly subscription.
  • Only on the first payment, $5 is transferred to UserB.

However, when I try to transfer the funds, I get this error: “Funds can't be sent to accounts located in US because it's restricted outside of your platform's region”

I saw that I can create a charge on the payment intent and take an application fee but is it possible with a subscription and to only give the money to UserB on the first payment? Or do I need to tackle the problem on another angle?

Thank you for your help!

earnest lintel
#

Hi there. By default we do not want to send customers receipts upon renewing their subscriptions. However, we have some customers who request it. Is there an endpoint that can allow us to send a receipt to a customer? Or what's the best webhook handler to listen to / endpoint to handle it manually?

frigid schooner
#

Hi Team, can i use test clock for a subscription that i already made in test mode
and now i ahve customer, subscripttion, and want to trigger the webhook that is supposed to trigger (auto renewal ) at the end of subscription

split cargo
random lintel
#

hello, What credit/debit cards can I use to test checkout and subscriptions?

rich flame
#

hello stripe, can i modify the "customer_tax_ids" from the invoices objects? i can't :/

midnight lintel
#

Hey guys - getting an error with one my calls, but not sure exactly what it means

patent turtle
#

connected accounts - so I create a new connected account. I send my user's email and they go through the onboarding (an accout is created for them). Once created, I can delete the connected account, however, next time I create an account for the same user (email), it asks them to log in, and also, their account information is again there, which means Stripe did not delete their info. How come? Is there a way to delete it?
I can understand if once they created an account, that data is their own, which means that their account with stripe will not be removed even if I delete the connected account. But can they delete it?

autumn halo
#

So I read that Stripe has Paypal for checkout built into it but it is only for EU right now? Is the USA paypal checkout planned? If so, when will it happen? Does the PayPal integration with checkout require you to store anything in the database specific to PayPal like a PayPal subscription id? Or will everything be tied to Stripe from PayPal? Curious to know how it works behind the scenes.

violet salmon
#
earnest lintel
#

Hello - When I call the customer object, I do not seem to get the various billing emails for the customer. Is there a way to do this?

radiant yarrow
#

I am needing to develop something in order to support ACH direct debit but I can't seem to turn it on for only our integration/developer environments without also enabling it for our production environments. how can I enable it for only dev?

junior basin
#

Hi i have some questions about third party access!

compact cradle
#

hello can someone help me to link the twitter in the stripe please?

tulip cipher
burnt iris
#

does the test clock feature triggers webhook? im trying to test the renewal process

charred silo
#

Hello, I am need of support for third-party integration for ACH gateways.

gritty fossil
#

Hi there. How would I be able to accurately calculate the shipping for all of a checkout session's items with a specific courier like Royal Mail/Parcelforce/UPS?

slate ice
#

Hello. I did a test buy on my Shopify store, and on my phone's Bank App I got a notification that I bought my product for 9.95$ from "MYSHOP +698......." and that number is my personal phone number. What's up with that? It 100% shouldn't happen.

pseudo dawn
#

Hrello guys

vocal wagon
#

Hi I have a question, if after connecting Stripe to the site if someone buys anything on my site it automatically gets money to my bank account? Is there anything else I need to do?

charred ore
#

Thanks!

brazen pier
#

Hello
I am implementing recurring in my website. My site users have already active subscription. Now they want to add new items in that subscription . But I want them to charge immediately for difference of remaining days till next invoice and include that item.

gleaming vine
#

It seems that automatically handling international tax support is only available when using the hosted Checkout page, is there a plan in the future to have this as an option for the Stripe embedded elements?

patent turtle
#

Is there a way to hide "Return to xxxxx" in the onboarding of Connect? It's irrelevant when I open the web page in WebView inside the app. It will lead to confusion

glass wren
#

Hello, I am building an invoicing solution, which would allow my users to send invoices to their customers. Is this something Stripe Invoicing can support?

eternal moon
#

Hi, could you confirm this please: for both Apple Pay and Google Pay transactions in the US there is no liability shift disregarding them havings cryptogram or not?

autumn creek
#

when using checkout sessions and when adding line_items, is it possible to set the price that need to be charged for each line_item?

manic loom
#

To clarify; I have this setting in Settings -> Subscriptions and emails -> Prevent failed payments. Will this send an email 7 days before the first iteration in a subscription schedule? If not, how would I set that up in Stripe?

opaque flame
#

I am integrating terminal payments via web application using php. I am wondering if there is a syncronous way to call this: $stripeClient->terminal->readers->processPaymentIntent(
$stripeReaderID,
[
'payment_intent' => $stripePaymentIntent,
]
);

#

WisePos - Terminal Reader - How to use setReaderDisplay? I am calling $stripeClient->terminal->readers->setReaderDisplay(
$stripeReaderID, ... the card charges successfully, but the display remains with my custom display line items... how do I get it to continue and show payment successful.

idle furnace
#

Good afternoon, I have a question. Is there a way to obtain the information of the users who made the purchase of a product through the checkout session?

vocal wagon
#

Hey there! 👋

I'm currently in the process of building a marketplace specialized in renting goods (tools, vehicles, accessories) based in Martinique, in the Caribbean basin. The goal is to shift the consumption habits of the local residents.

I've been trying to integrate the Stripe payment gateway on my platform using HivePress, but I've run into a bit of a snag. Even though I've followed all the setup steps and entered my API key correctly in the "Integration" section, I keep getting this message: "Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements."

I've double-checked on Stripe's end, and my account seems to be set up without any issues. I'm wondering if anyone here has faced a similar problem or if there's something I might be missing. Any help or guidance would be greatly appreciated!

Thanks in advance! 😊

rugged merlin
#

When creating payment intents, is it possible to configure the credit card transaction description? Right now it defaults to our org's name, but we would like to customize it based on the context of the purchase

vocal wagon
#

Hello again,

I wanted to provide a clearer picture of how our platform, Clik'N Loc, operates, especially in terms of the payment process:

  1. When a renter selects an item and wishes to rent it, they submit a reservation request.
  2. The item lister receives this request and has the option to either accept or decline it.
  3. If the item lister accepts the request, the renter is then directed to the payment page.
  4. On this page, the renter makes the payment directly to the item lister via Stripe integration on the Clik'N Loc platform.
  5. Clik'N Loc automatically collects a 5% commission from each transaction made.
  6. Once the payment is confirmed, the renter receives a notification confirming their reservation.

Given this process, I wanted to ensure that everything is feasible using Stripe. Could you please confirm if Stripe supports this kind of transaction flow and if there are any specific configurations or considerations we should be aware of?

Thank you !

timid lagoon
#

hi i have a question. This might be a wrong place but is there a way to charge customer depends on how many times the users used their service rather than asking for a fix rate every month? Or monly payment?

foggy widget
#

Hello Team, How can I get the subtotal amount based on week,month ,year per each sub from stripe? Is there any relevant api for this to achieve

coral night
#

I have a block rule set up on radar and used "on payment methods saved for future use".
Is there any event I can listen for (webhook) that will be generated whenever a setup intent is blocked by a radar rule?
Is there a way to test any of these flows considering that radar is only available in production mode (not in test mode)?

blazing flame
#

Hello, I’m @blazing flame How to Input Business Information Instead of Starting New Business On Atlas?

echo sable
fluid marten
#

Hi everyone -

We are a US-based biz with a US Stripe account. We have customers in Europe that want to pay euros via bank transfer. Is there any way to set up euro bank transfers for them? Or are we limited to SEPA direct debit?

alpine knoll
haughty abyss
#

Strip runs depop payments right??

upper compass
#

Hello, when I use Bank to pay, there is a blue border when I do not add a bank card, but when I choose a bank card, the border cannot be selected. Is there an API that can modify the color of his gray border? for blue

small quarry
#

Hi, i want to access to the active subscriptions and subscribers in a specific date via Stripe API, how can i achieve this? Thanks!

autumn creek
weak light
#

Hi, I have payment intent pi_3NkVQPLYM1LEppZi0RL2f1iU status require_action but i check log my system then buyer has returned return_url to create order. Why payment intent status still require_action?

austere pond
#

Hi there, we are getting error on webhook 'Stripe Error:Received event with API version 2023-08-16, but Stripe.net 41.27.0 expects API version 2022-11-15. ' We don't seem to be able to add a webhook with API version 2022-11-15, how can we work around it?

uneven fiber
#

Hi is there any Demo video for standard connect integration for stripe? Also is it possible to use microsoft startup credits for Strip atlas?

undone marsh
#

I am trying to make a payment to purchase ChatGPT Plus but the stripe portal opens and keeps running and the transaction does not go through.

tepid wave
#

Hey everyone, I am building an application website that accepts monthly subscription, how do i create a profile for my users granting them tokens that they can use to perform actions on my web app. Also create a wallet for the token such that whenever they use the tokens it deducts and when they renew the token they get more tokens .

velvet ivy
#

请问一下,stripe不支持人民币结算吗

patent patrol
velvet ivy
#

Excuse me, does stripe not support RMB/CNY settlement?

quiet beacon
#

I turned off Link pay in Stripe but my site still allows that option and I can still pay using Link, please advise

vagrant steppeBOT
#

webdatatrust

lapis forum
#

Hi, I had a question regarding changing subscription intervals via a subscription schedule/phases vs updating the subscription directly (will give more details in thread).

lapis forum
cold dragon
#

HI, I have to work on a concept as following:

  1. platform to create list of possible subscriptions.
  2. businesses [connected account] on the platform can be subscribed to any subscription plan.
  3. clients can take subscription as well as other one time payment products of their choice from different connected account [businesses]

Talking with the stripe support, I need to create client attached to particular connected account. But in the system, one client can purchase products from across the businesses, so which approach best suited for this use-case.
I have gone through the docs: https://stripe.com/docs/connect/cloning-customers-across-accounts

turbid hornet
#

customer.subscription.updated pushed a subscription with incorrect current_period_end, event id: evt_1NkfpUQfZ2lUq3jsfNHjTjN7

tired night
#

Hi, I want to implement a solution where the receptionist/company personnel will take the credit card of the customer > Enter the card number, expiry and secret code of the credit card and process the payment. What can be used for this?

sonic lion
#

Hi

quartz coral
#

Good morning. I want to migrate data from an old to a complete new Stripe account. The export and import of the customers worked out properly but now I have got some issues with the new orders. Stripe rejects them because the payment method is not known/down't fit. If I have a look at the customer data I see, that the payment ID is not the same as in the old Stripe account - is that the problem? I havent found any option to migrate this data as well

fathom fiber
#

Hello Stripe Devs, I am using Stripe Identity to verify driving licenses. I have 2 questions. 1)I need to know if it maintains the state of the verification session so that the users' do not need to redo the entire process again . Note: I am storing the verification session id and retrieving it for consecutive use for a user ? 2) Can we retrieve the Risk score via any stripe api ?

woeful venture
#

I am having trouble sending money to a connected account from a platform account, I am using Connect Express.

unique coyote
scarlet lynx
#

Hey, I am having trouble with the bank account update. I want to change the bank details that appear on stripe invoice for wire transfers. I have updated the new bank details on "External payout accounts and scheduling" section in settings, but its not reflecting on the invoice, Can anyone help me here?

valid token
#

Hi all, I have a real edge case here. I'm looking to use Stripe hardware in an unattended terminal environment on automated coffee machines. We have about 2,500 machines in our cohort and want to bring payment capture in house, rather than use a third party as we currently do.

There is an exisiting API for the automated coffee machines, I'm looking to set it up so that customer product selections trigger payment capture, then captured payment triggers production of the product.

vagrant steppeBOT
#

sabirshah_89004

#

sachinsb_64981

tired night
#

Hi, there was some issue with our webhook in the production and thus it was not working. But we can see a list of pending events, My question here is, How can i make sure that when my webhook is up and running it doesn't execute the pending events. I want to make a fresh start and make sure non of failed/pending events are executed.

muted heron
#

Hi Folks, Is it possible to handle mulitple subscriptions for a single user? @dry hatch

late hedge
#

I have a problem using Alipay or wechat Pay, who can help me, thank you

tardy cedar
#

@surreal temple Yes I am trying in test mode. does it only works on live mode>

old belfry
#

Hello, I used WisePad3 to connect to an Android device through USB, but WisePad3 reported an error while updating the system. Can you help me check what the issue is

echo coral
#

Hi,
I've integrated Stripe payment request button.
I have a concern whether the link button display on the browser with gpay enabled?

remote anvil
#

Hello team , I have problem 400 "A request to create a PaymentIntent failed".

I have successfully connected stripe with gymmaster.com and attempted to make a purchase, but it was unsuccessful. An error message appeared stating:

Error message
"message": "Stripe doesn't currently support application fees for platforms in NZ with connected accounts in TH."
"type": "invalid_request_error"

What caused this issue to occur, and how should I go about resolving it?

Thank you

sturdy sundial
#

Hello, I have a question about customers changing their plan. Let's say I have a product with two prices, a monthly price and a yearly price, and I want the user to be able to change prices.

In the scenario the user has subscribed to the monthly plan and wants to upgrade to the yearly plan, I want the user to pay immediately with a proration. In this case, I think I just need to update the subscription with the new price as explained in the doc (https://stripe.com/docs/billing/subscriptions/upgrade-downgrade) .

However, in the scenario where the user has subscribed to the yearly plan and wants to downgrade to the monthly plan, I want to wait until the end of the current billing cycle of the yearly plan before changing the plan to the monthly one. I can't do that simply updating the subscription, can I? Do I have to create a subscription schedule in this case?

smoky sand
#

Hi 👋,
I use Elements to allow my customers to enroll their cards for later payments I will manage via API.
I want to force 3D secure for every enrolment.

Question 1:
I understand that I need to add payment_method_options.card.request_three_d_secure to any if I want to force the 3DS, am-I right?

Question 2:
When using Elements, the 3DS seems to be always displayed in a modal (when card is eligible), it means I will never have to use the next_actions in the setup_intent webhook? Or are there cases where I should use it?

Question 3:
The modal works fine for me, but is it possible that Stripe redirects the user to another page for the 3DS? Because in this case, I must configure confirmParams.returnUrl on the front side if I understand correctly?

sonic hemlock
#

Hello Team, I have question regards to Payment_Method_ID which can usually be used to save card details of the customer as well as charge customer in far future. I would like to know once this Payment_Method_ID is consumed and customer is already charged, can we be able to use same Payment_Method_ID and charge customer again in future?
Thanks in advance!

rich inlet
#

Hello , i have a question regarding subscription

pseudo dawn
#

I want to add the paypal integration via stripe in my checkout page. I am using wordpress plugin for stripe payment gateway and no plugins have paypal integration of stripe in them. If anyone has done that please help me!

frozen berry
#

Hey, im using payment element. Following the stripe guide, I want to change the business name - for some payment methods I get a text in the checkout saying: By providing your card information, you allow {COMPANY} to charge your card for future payments in accordance with their terms.

So i added the below but no change to the company name. I still get the one from my stripe acccount.

const options = { business: "RocketRides" };

These are the docs: https://stripe.com/docs/payments/payment-element?locale=es-419#opciones

Acepta métodos de pago de todo el mundo con un componente de interfaz de usuario seguro e integrable.

oak coral
#

Hi there, I am looking to use the 'sofort' payment method when sending a subscription invoice to the customer using collection_method= 'send_invoice' with the goal of collecting their IBAN for future use. It appears that changing 'setup_future_usage' on the invoice's payment intent doesn't cause the IBAN to be attached to the customer as expected after successful payment in the test environment.

digital stone
#

Hello, seems like the invoice.paid webhook event is triggered when a subscription is created and even it has a triel period. what is the mental model here?

pseudo maple
#

Hello, I have received this morning "Your Stripe Viviarto account will soon reach a processing volume cap for the sepa_debit payment method" and now all my clients can't paid in Sepa anymore. We're trying to reach sales support but it takes time and we've been losing transactions since this morning. Do you have a link/contact to solve this problem?

light wigeon
#

Hi. I am using checkout sessions for stripe subscription payments. After creating a checkout session, we redirect the customer to a page to pay for it. It seems to have created two triggers for a checkoutsession.completed webhook for one payment. I cannot seem to reproduce the same issue again. It happens only sometimes. How can I know why this exactly happened?

vocal wagon
#

Hello - hope your having a nice day. Is there anywhere I can see a full example of a webhook unit test with a signed payload in golang? having some issues getting my stripe signature to be valid.

upper hatch
#

Hello - hope u r having a nice day. I am stuck with the problem of withdraw from my stripe account to any other account no (i.e card or bank) of customer by using api of stripe. It says to register an account then we can transfer. Can't we do it directly? Please help.

craggy shoal
#

Hello, is there a way to remove many SubscriptionItems in one API call please ? I only see a way to remove them one at a time.
Thank you

exotic haven
#

Hey everyone!, hope that you are doing great. I had a doubt with Stripe elements, I integrated it for credit card payments but post adding details it gives white modal pop-up with a loading state and proceeds without showing anything. I wanted to remove the div, is there any way to disable the pop-up?

placid locust
#

hi, we're receiving a strange error when trying to create a subscription for one of our customers. It says that the customer doesn't have an attached default payment method, but he does

faint hornet
#

Hello, thanks ahead for your assistance.

Is there a way to resend events that are older than 15 days to my webhook from the dashboard?

velvet berry
#

Hi, do I really need to listen to the event "customer.subscription.deleted" if I already listen to invoice.finalization_failed, invoice.payment_failed and invoice.payment_action_required during a subscription? To clarify: I want the subscriptions to be cancelled if a payment cannot be made for whatever reason, therefore I am currently listening to all those events. However, I dont think I need to listen to customer.subscription.deleted (because the customer only cancels their subscription on our website).

odd locust
#

Hello, does the stripe.prices.list() method also return the trial period of each price, if not how should I go about getting that in node?

regal prism
#

Hi there, I am integrating subscription with Stripe Elements. I have successfully test the integration with card as a payment method. But when I select Alipay , it gives me error: When confirming a PaymentIntent with a `alipay` PaymentMethod and `setup_future_usage`, `mandate_data` is required. (We have Alipay approved for our account)
I found the ref (here)[https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#:~:text=The payment methods currently supported by both the Payment Element and Subscriptions are credit cards%2C Link%2C SEPA Direct Debit%2C and BECS Direct Debit], saying only a few methods are accepted for both Subscription and Payment Element. Wondering if I should try a different path to integrate Alipay with Subscription and Payment Element. Any help or guidance would be really appreciated! 🙏

errant nacelle
#

Hey guys I simply want to create a payment method and attached it to customer. I am running into this error when trying to create a payment method: Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card

random meteor
#

When using payment links - is there a way to only allow transactions from approved geographical locations so that I can block sales to certain regions?

unkempt mauve
#

Hello, hopefully a quick question.

If I re-align the billing anchor date on a subscription to the 1st of the month by adding a small Trial period (as per https://stripe.com/docs/billing/subscriptions/billing-cycle#api-trials), will the customer see this on their invoice?

Basically, we stumbed over a UTC vs Local Time issue and some of the subscription payments are now going out at the end of the month instead of the 1st the following month. We need to reset the anchor date to the 1st but I would like to avoid alarming the customer with a Trial period on the invoice.

Would a small Trial period of a couple of days show on an invoice? If so how can we stop that showing?

lofty sparrow
bronze tapir
#

hey staff, Is it possible If I could get a possible referral for a position at Stripe? There is an open position which seems to suit me well and a referral could really help my journey to start a career

oak olive
#

I'm having a problem uploading my idea, it keeps thinking its expired. It's not. It's my only form of idea I 'm just trying to receive my first payout.

wet belfry
#

Hey, hope you all are doing good 😉
I got stuck on Google Pay integration in my iOS app. I looked over the document, and I can realize there has no direct method to do it. Now I'm trying to do with web view as like this Fiddle (https://jsfiddle.net/fw5t6caL/). But it is showing blank screen in my app.
Is this the correct way to achieve it or suggest me a better solution please?

tired drum
#

Hi Guys, I have a question. I want to send a reminder to one of my clients for not paying the invoice. I expected a button next to the 'overdue' label but there isn't any. It feels a bit overcomplicated. Can you help me find this option?

vocal wagon
#

Hello team, is there a way to skip PDF invoice generation and send it via email for monthly recurring payments for Stripe subscription products?

We want to charge users for monthly recurring subscription plan, however we don't want to send them monthly invoices via email.
We also don't want to disable invoices globally, so looking for a solution for individual subscription basis or product basis.

#

Hi, I'm having a problem in understanding the possibilities of React Native SDK. I have integrated it with Google Pay and Apple Pay, also with credit cards, but I don't know how to show other payment methods in the pre-build UI component. There are few more enabled in the admin panel (Giropay, Klarna) but I can't see them in the app.

dawn folio
#

Hello there, i've got a problem with my webhooks, everything was working fine and since few days, i've got this message : "Failed to connect to remote host"
I already verified that my url was fine, public and everything's seems to be good, i trully don't understand what is happenning.. Could someone help me please ?

keen storm
#

Hi Dev's,
I am from Pakistan.
I am having a question if we cancel a stripe subscription does stripe deletes it after some days or not ?

limber compass
#

Hey I am implementing my logic after the customer is returned to my return_url. I do not really know what to make of paymentIntent.status === 'processing'. I know what it means and where it comes from (e.g. SEPA) but I am not sure on how to handle this in my frontend correctly. My current code is in the thread. Thanks for any help 🙌 Its my first time implementing Stripe and I appreciate all pointers 🙂

velvet berry
#

Hi, how can I test failed subscription renewals in my test environment?

arctic moss
#

Hi dear developer, I am testing the subscription feature for payment, but got this error :
No valid payment method types for this Payment Intent. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) or specify payment_method_types"
code: "4600"
msg: "The payment has been declined for unspecificed reasons."

However , I didn't found any related setting in backend. Can somebody help me?

wispy rover
jade panther
#

Hey y'all quick question about API keys: if I delete a secret key will I still be able to view past log events for that key? If not is there a way to disable a key but still be able to view relate logs? I see that there's an option to roll the key however I'm unsure if that is enough for my case. Best:)

cobalt vigil
#

Is there a way to define the types instead of me having to use @ts-ignore?

    const stripeCustomer = await this.stripe.customers.retrieve(subscription.providerCustomerId, {
      expand: [
        'invoice_settings.default_payment_method'
      ]
    });

    // @ts-ignore
    if (!stripeCustomer.invoice_settings.default_payment_method) {
      // @ts-ignore
      if (stripeCustomer.sources.data.length > 0) {
        // @ts-ignore
        const firstPaymentMethodId = stripeCustomer.sources.data[0].id;
        await this.stripe.customers.update(subscription.providerCustomerId, {
          invoice_settings: {
            default_payment_method: firstPaymentMethodId,
          },
        });
      }
    }
odd locust
#

Hello, is there anyway to get the price formated as a string for each countries localised currency?

grave orchid
#

hello, I've been trying to set up apple pay on stripe payment links but all I get is pay with link option instead of an apple pay option.
Apple pay is set as on in payment setting as well so where is the problem?

frigid schooner
#

Hi Team
we were using stripe test clock to test webhooks that were supposed to be triggered after subscription period (1 year)
after advancing the clock, we can invoice created, its getting moved to invoice.paid

forest saddle
vocal wagon
#

Hi guys, thanks for your work,

please help us to clarify some doubts we have about prices and taxes computation for a subscription change, on dashboard transactions.
We've been working on the issue only in test mode. We've also already tried to search this thread for an answer but found none.
The test begins with a test clock, starting today, 2023/08/30 with one test customer, based in Italy, subjected to italian VAT (22%).
We've added a subscription, for the same customer, to a product with an yearly price of 100.00EUR and quantity 1. The subscription begins on 2023/09/01.
Starting exactly six months later, on the 1st of March 2024, we've created a new phase, with undefined end date.The only modification is the quantity, now incremented to 2.

The first invoice is crystal clear: 100.00EUR tax excluded + 22% = 122EUR

The second invoice shows

  • a full price charge for the whole period, and
  • a negative charge for the unused time, half the time, half the price of the first row, no problems with that

What we're struggling to understand, is why, given an yearly price of 100EUR, the first row of this second invoice, ie. the yearly total, shows 100.52 instead of the expected 100.00.
Are partial prices calculated by the hour? Has this anything to do with TimeZone/UTC offset?

Please have a look to the attached screenshot for reference.

Thanks a lot for your attention,
G

still vine
#

Hello there,
Quick question: i'm trying to update a Subscription Price through PHP but it always gives me an "Invalid object" error. I'm probably missing something, but I can't see what.
Also, is it possible for an existing subscription price interval to be modified through the API? I've read some posts saying that you could only do that through the dashboard.

dawn folio
sinful bridge
#

Hi Folks, Is it possible to invoke stripe api to get the payment status by providing multiple payment intent ids?

tacit patio
#

Good morning/afternoon/evening everyone. Wondering this: If I retrieve events (say a few thousand) filtered for a few event types, will I receive those events in order of their original creation? My hunch and anecdotal evidence says yes, but I dont see anything in the documentation to support this theory.

golden spade
#

Is the payment_method.card_automatically_updated event new? My account is set up to listen for payment_method.automatically_updated, so it failed when it got an unexpected event.

livid knot
dawn siren
#

We are switching from the** Card Element** (web) to the Payment Element. As part of our flow, we were listening for change events from the Card Element, so we could detect if the** postal code** was in one of our taxable regions so we could add tax.

How could we listen for changes to or capture the postal code information with the Payment Element while still maintaining minimal friction in the checkout process? The change listener for the Payment Element doesn't expose the address information like the Card Element did.

I suspect we could switch to a 2-step checkout flow, but I was really hoping to stay with a 1-step flow to minimize the friction. I suppose the alternative would be to disable the desired fields.billingDetails in the Payment Element and separately recreate those fields, but that introduces significant complexities with trying to fit things into the appropriate places within the UI (eg. postal code before Mandate) and recreating many details the Elements already handle very well (locale, styling, etc).

ripe drift
#

Hi, is there a limit on how many maximum number of prices can be created for a product in Stripe?

tacit plover
#

user added card but failed to create subscription. I want to check this issue with you guys

chilly sage
#

Hello, Stripe PHP SDK do not return an error on creating an intent

tired night
#

Hi team I need to continue a continue on my thread which is few hours old. The starting message of thread was “You said I can temporarily pause delivery of all events.

But I have specific requirement. Currently webhook is disabled and it has few pending events. I want to make sure that pending events are not executed when the webhook is enabled again. I just want to restart from the scratch when the webhook is enabled the next time, nothing which is pending from past should execute.”

sinful bridge
#

Hi, Is it possible to get webhook only for few events instead of receiving all events

reef gazelle
#

Are you guys able to answer questions about export compliance logic (specifically: wondering how credit card billing addresses are screened)?

umbral patio
#

Can I request a call back?

#

The website is only giving me email option. I need phone support

burnt needle
#

why doesn't the charges api return the currency converstion info like some other endpoints? it's really confusing my employees to see weird amounts in another currency

small quarry
#

How can i obtain the number of active subscriptions for a past date?

real shell
#

My task is: Update the payment method on existing subscriber, so that next subscription will take place in updated credit card.

I did:

  1. Create a setup intent
  2. Confirm the setup intent
  3. update existing subscription default_payment_method with confirmSetupIntent.payment_method

confusion:
In confirm setup intent there is ' payment_method: 'pm_card_visa', But, payment_method should change based on your card. How to do that?

Here:

        payment_method: 'pm_card_visa',
        return_url: 'http://localhost:8080/?#/user/profile',
      });```
cunning marten
#

Hello, we are transitioning from Tax Jar to Stripe Tax. Our product type is "General - Electronically Supplied Service". For NY state Tax Jar is indicating 8% tax (which our accounting says is correct) but Stripe Tax is indicating 0%. Can anyone help with that discrepancy?

lone iris
#

Hello Team, I am having some issue and I will need possible solution suggestions to achieve this: when auto-scaling is enabled, the customer receives one invoice per seat increase and it can happen up to 100 seat within an hour and i will generate 100 invoices. Instead, they should receive a consolidated invoice and the timing should align to their subscription.

sudden yoke
#

is there a test card# to simulate what an on session on pi or pm will trigger by stripe/bank?

prisma steeple
#

Hi, we allow people to setup recurring payments by cards and direct debit. Is it possible, from the Customer Portal, to limit people to only be able to rectify failed payments using cards?

west niche
#

Hi! I have some trouble having the right dates on my invoice, would anyone know of to achieve the following? 🙏

Subscription content :

  • a monthly usage metered product (billed at the end of the period)

Starting state :

  • Date : 1 AUG
  • Subscription duration : 1 AUG - Forever
  • Bill starting : 1 SEP

Will generate an invoice for the following dates :
1 AUG - 1 SEP

But I would like the following dates to appear for my customers on the next invoices :

  • 1 AUG - 31 AUG (full calendar month)
  • 1 SEP - 30 SEP
  • 1 OCT - 31 OCT

I tried to set the billing anchor (Bill starting at) to the end of the month as well but in this case I have the following dates (equally wrong) :

  • 1 AUG - 31 AUG
  • 31 AUG - 30 SEP
  • 30 SEP - 31 OCT

If anyone knows the answer 🙏

left root
#

Hi. We are using Stripe Connect Express. We have disabled Philippines in the onboarding, however somehow user from Philippines has created account in our stripe connect system. As I understood, they already had Stripe Express account and authorized it. Is there a way to prevent it?

young sigil
#

hello! im using the React payment element, is there a way to dynamically update the look of the element using the appearance api?

wispy rover
#

Hi, Is there an API to delete the customer. If the customer wants us to forget as per the GDPR we would need to remove information about the customer.

versed radish
#

Hi,
Is it possible to cancel a webhook retry ? we made some changes and we receive old webhook retry for customers that dfont exist anymore

azure spoke
#

Hi
Please look into my use case and guide me about a solution.

Usercase:
In my flow I need Apple Pay and Google pay to save a token and charge on appointment completion so I can get it charged through CRON job or manually by Homeowner.

I have tried to implement following elements and API but unable to get Stripe token to create customer on Stripe and retreive and charge customer on appointment completion.

  • Payment Request Element
  • Express Checkout Element
  • Apple Pay with stripe js V2 API

Please look into my case and tell me the solution.

vocal wagon
#

Hi! We need a document for our tax authorities to be signed. How can I submit this document to Stipe?

autumn halo
#

Can someone tell me how paypal integration works behind the scenes? I still get via the stripe API all the same data like subscription id, customer id, etc. But it is directly tied to PayPal? The payment type for the customer will be PayPal? Does cancelling PayPal work the same via the stripe API?

buoyant vale
#

Hi I am working on financial connections using payment element, when I am confirming payment intent, the status is coming as "status": "processing", should I consider it successful and wait for webhook for final sattelement?

wet girder
#

Hello Stripes, How can I export ACH data stored as pm_ objects out of Stripe? Since these data are not covered by PCI scope, I'm hoping I can receive the data directly (it's going to end up in another Stripe account but Stripe doesn't support migration of ACH data stored as pm_ objects. Is that possible?

lone iris
#

Hello Team, I am having some issue and I will need possible solution suggestions to achieve this: when adding more is enabled from our application, the customer receives one invoice per seat increase and it can happen up to 100 seat within an hour and i will generate 100 invoices. Instead, they should receive a consolidated invoice and the timing should align to their subscription.
public override List<SubscriptionItemOptions> UpgradeItemsOptions(Subscription subscription)
{
var item = SubscriptionItem(subscription, PlanIds.Single());
return new()
{
new SubscriptionItemOptions
{
Id = item?.Id,
Plan = PlanIds.Single(),
Quantity = _additionalSeats,
Deleted = (item?.Id != null && _additionalSeats == 0) ? true : (bool?)null,
}
};
}
var subResponse = await _stripeAdapter.SubscriptionUpdateAsync(sub.Id, subUpdateOptions);

frosty hearth
#

Hey Friends, I am working on python backend with two stripe accounts ( that means two api keys ) I see that when I import module I set the stripe.api_key at the global level. Now as we have two accounts we want to swith back and forth depending on the context. is that possible, is there a easy way to do that?

frank moth
#

Hi Team, this feels like a stupid question but I couldn't find a reference in the api docs.
Can products be added to a billing configuration via the API?
I see reference to specifying which products can be 'edited' by the user via the billing portal but nothing that says 'these product ids should display in this billing configuration'
Or is that the same thing?
https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-products-prices

midnight lintel
#

when creating a setup intent - what is the user_agent?

buoyant vale
#

Hi using financial connection when element is loaded with the banks and also with Email and Full name fields, is there a way I could pre-populate Email and Full name fields with the customer information I have on profile?

burnt needle
#

i'm trying to figure out how much to refund in my currency to get to the customers currency but i'm running into an issue where the amount differs after applying the exchange rate for the charge?

proven helm
#

Hello, I am currently developing a service using the stripe-terminal-react-native SDK, intending to use it on a kiosk. I'm using the reader M2 and have set up a service based on the example provided in the repo, using Expo (SDK 49). Everything runs smoothly on the Android simulator, and it also works perfectly on a Lenovo Tab M10 Gen2 (Android 10), connecting successfully to the reader. However, I encounter issues when running it on my physical device, rk3568/4g/android 11 (https://www.amazon.com/-/en_US/JZM156/dp/B0BWJWMR9G?th=1). During the 'useStripeTerminal initialize' stage, I get errors like "Failed to generate key pair" or "Could not Invoke StripeTerminal ReactNative.initialize. Location services must be enabled to use Terminal." These errors cause my app to crash. I have verified that location permissions are granted on this device.

Additionally, when I use the official Android version of the example code (not the react-native version), I am able to connect to the reader and process payments without issue. I am not sure if this has something to do with hardware compatibility. Do you have any suggestions for debugging this issue?

I also have an example repo available for you to review my setup, if needed. The keys and URLs in it are for testing purposes, but I am unsure if I should share them here.

sweet rover
#

Hi all. I am developing an app using Stripe as a payment provider. I'm now on with UAT but find that StripeJS often takes an age to download (literally minutes). It sometimes ends up loading and other times not. When it does fail, I get a ERR_CONNECTION_RESET. I can ping js.stripe.com and that comes back quickly but connected assets called from the main script seem to be holding things up - but not always - even the main script can take a while to come down. The account is a developer account. Any idea what I can do make this a bit more bearable? As an aside I have a local reverse-proxy and all works well so unsure if there maybe is something in my config (nginx) I can address? If it failed each and every time, I might be onto something but it is periodic and failing more than being successful. Any help appreciated!

wet girder
#

Hi @languid tulip: last question regarding my previous question about pm_object cloning...will those cloned pm_objects become invalid (no more shared PaymentIntent mandate authorization) once the connected accounts are unlinked?

mighty narwhal
#

Hello Stripe Team,

Looking for some help with Payment Setup?


We currently use charges API and React for our Payments.
We are looking to setup Apple Pay. Looks like there are 3 options that stripe provides Payment Request Button, Express Checkout Element and Payment Element.

  1. Can we use charges API with Express Checkout Element and Payment Elements? If yes, can you point us to the docs for it.
  2. Can we hide the card payments and enable only Apple Pay for Express Checkout Elements and Payment Elements? 

    The idea here is to use Card Elements for Card Payments and Payment Elements or Express Checkout Element for payments using Apple Pay. Can both of these co-exist side by side?
    This helps migrate slowly to Payment Intents.
  3. How is Payment Element different from Express Checkout Element?
  4. Can we specify our custom fields and validation with Address Element? 
Example: If we would like to capture building details - elevator vs walkup

    Is that something you plan to support in the future?
quiet beacon
#

I got a couple of message in the dashboard regarding this "We've detected that you are using payment_method_types to configure payment methods. To manage payment methods from this page, replace payment_method_types with automatic_payment_methods.
If you prefer to use payment_method_types, refer to the manual settings page." Can someone explain what this is?

patent turtle
#

Sorry, I got disconnected yesterday after posting it. Reposting. I think it’s a bit confusing. This is when I fire connect.accountLinks.create with an existing account. The email is not visible on the email field and it’s not editable. Also there’s no option to log out or reset things.

hearty dawn
#

We are using session = stripe.checkout.Session.create(
payment_method_types=['card'],
mode = 'setup',
customer = customer_id,
setup_intent_data={
'metadata': {
'subscription_id': subscription_id,
},
},
success_url = 'https://myapp_success',
cancel_url = 'https://myapp_cancel',
)
to capture our customers to update their payment method (credit card) using the front-end application. Once the payment method (credit card) is updated, does stripe send an event through webhook? If yes, what is the event type that we should be monitoring? The list of webhook event type is listed here in their documentation, but we don't see anything for payment updates. https://stripe.com/docs/billing/subscriptions/webhooks

young citrus
#

i am having issues getting my Wise POS E terminal connected to my staging app

hazy grove
#

Hi we are selling baby products and i have a shopify website. I want conmect stripe for payments. İa stripe need any documents for baby products?

vocal wagon
#

Hello, If on my platform I have Stripe connect enabled as “ Stripe express “ can users login to their old existing accounts?

fallen portal
#

Hello, I no longer have access to the account connected with stripe. I had a client make a payment and I am not sure how to go about recieving the payment

steady siren
#

Hello - I am building a creator platform (kaizen.place) that uses stripe connect and has both one time and subscription payments. I would like to ensure that email receipts go out on all payments.

I have read that subscription receipts are sent out based on a user setting but i have been unable to find out how i can automate this setting so that new connect accounts have it enabled.

My way around this has been to manually attach the receipt_email parameter to any payment that does not already have this set. My problem is that I'm now noticing that one account sends out 2 emails when a subscription is made. My gut tells me that the connected account has subscription emails enabled and by setting the email myself I am causing the system to send a duplicate.

Looking for a way around this so that I can ensure a receipt always goes out but avoid duplicates. Any help is greatly appreciated ❤️

this is my code for reference

if (!paymentIntent.receipt_email) {
  const user = await User.findById(customerUserId);
  if (user) {
    await stripe.paymentIntents.update(
      paymentIntent.id,
      {
        receipt_email: user.email,
      },
      {
        stripeAccount: stripeAccountId,
      },
    );
  }
}
sinful plover
#

Hello, is it possible to allow people to sign-in with existing Stripe accounts via Stripe Connect when an express account type is chosen?

timid lagoon
#

when you make create portal, do you just pass the unique session id for each user? I am using low-code subscription codes

tidal sage
#

I can’t upload a business document it says error uploading file

patent patrol
#

I'm using invoice items for tracking "usage" throughout the month for a subscription. The subscription itself has a base monthly cost, but the user can perform actions that I need to record additional charges for, and bill at the end of the month. I know there is a limit of 250 invoice items per invoice, so I was planning on just updating the quantities as needed. But I was curious how I should handle race conditions here. There is not an increment for this, just updating the quantity value (set). Is the best option here just to implement my own locking around updating the quantity? either via a database lock, or perhaps just putting these into a pub/sub or message queue so they're eventually processed one at a time per customer?

maiden fulcrum
#

Hello. When I'm creating a subscription with collection_method:'send_invoice' and days_until_due: 7 why is the subscription status set to "active" instead of "incompelte"?

kindred moss
#

Howdy Stripe Ive been looking in the docs but still figured Id ask here. Whats the protocol for adding promo codes to the paymentIntent when using a payment element. Right now I am facing an issue where promo codes are being applied on my side of things to make a product free so a %100 discount. but the paymentIntent won't allow it because it requires a minimum of $0.50. How can I allow for a %100 off promo code using the element?

jagged surge
#

Hello. I need help with an integration. Some one could help me? I've followed this tutorial https://github.com/stripe-samples/subscription-use-cases/tree/main/fixed-price-subscriptions
I´m trying to make a year subscription for my users.

At step
3. Follow the server instructions on how to run:
** To run the React client & the node server**
npm start

I got the next ERROR on my explorer:
Error: ENOENT: no such file or directory, stat 'C:\Users\user\Desktop\stripe_1.17.2_windows_x86_64\subscription-use-cases\client\src\register.html'

autumn halo
#

Is there any way to test google pay and apple pay? If I remember correctly there wasn't an easy way to do it. It required actually having a google account and apple account or something?

native bone
#

Hi there, could anyone explain when successful payment intents do not have the payment_method field set?

I created an invoice that has been paid (in_1NkU5VCwsLkfK67BcNdZRBKc), but am noticing that the associated payment_intent (pi_3NkU5ZCwsLkfK67B1HWyktPk) has a null payment_method. When I tested the integration in stripe test mode, paying the invoice with a credit card resulted in the payment_intent having a payment_method, so trying to figure out what is different.

I'd like to retrieve the payment method (or whichever Stripe object is relevant) used to pay the invoice so that I can store it for future use with the same Customer.

lethal flax
#

Subject: Issue with Client_Reference_ID Not Saving During Checkout Process

Hello,

I'm experiencing an issue where the client_reference_id is not being saved when a client completes the checkout process. I am using the following Stripe payment link for subscriptions: https://buy.stripe.com/test_9AQcQM6LZ8NEeQg144?prefilled_email=rchtala%40gmail.com&client_reference_id=34567. Even though the client_reference_id is included in the URL, it doesn't appear anywhere in the subscription details after the payment is successful.

For reconciling subscriptions, I am using the following C# code snippet with the Stripe API:

var service = new SubscriptionService();
StripeList<Subscription> subscriptions = service.List(options);
In the returned subscription objects, the client_reference_id parameter is also missing.

Do you have any suggestions for resolving this issue?

Thank you.

lyric linden
#

Hello! I am working with PaymentIntents and I was wondering if it would be good practice/safe to store the client secret in localstorage? The user has the choice to update their order before checking out so I want to have the PaymentIntent readily available to update before confirming.

cold ibex
#

Hi, if I have a Payment Intent that's confirmed, but not yet captured (status = 'requires_capture'), if I update the payment method attached to it, what's going to happen with the existing auth?

stoic isle
#

Hey everyone!

I apologize if this is the wrong place to ask, but I was wondering if there were any Stripe engineers who would be willing to discuss the internship program at Stripe? I'm a computer science student at the University of Maryland, and would really love to learn more.

woeful jungle
#

I will offer different subscription plans for my customers, which they then should be able to manage/cancel themselves. But I don't want them to the hassle of signing up for an account, what's the best way to handle this?

  1. Make them purchase the product trough the stripe checkout
  2. At my own back-end, send an email to them with their account details

Is this the best way you think?

Also should I keep a duplicate setup of the users subscriptions in my back-end or rely on what I get from stripe directly to the user? I must keep track of which orders that have been placed etc as I sell a physical product that need to be sent out to customers.

daring lodge
#

👋 hey everyone -- as you can probably see it's really busy right now. Please be patient and we'll get to you as soon as we can manage.

vocal wagon
royal shard
#

Hi, is it possible to change the input card placeholder language??

midnight lintel
#

I'm having trouble updating an invoice item quantity on a draft invoice - which API should I use?

craggy vigil
#

👋 ❓ Noticed an interesting result when leveraging invoices.retrieveUpcoming API. Under non-scheduled circumstances, if I were to call this endpoint to preview an example of adding an additional product to a given subscription - I would 2 particular invoice line items 1) a line for the added product and 2) a proration line for adding that product in my subscription.

For a subscription that as a scheduled update (e.g. switching subscription billing intervals of annual <> monthly), I've noticed we only get back a proration line for adding that product to the subscription and not the a line item for the product itself

This is causing issues in our integration but looking for clarity if I'm not understanding something correctly - thanks! 🙏

hazy basin
#

How can I make a coupon that also deducts from the shipping costs?

bitter ermine
#

I have this payment intent for my wiseE-pro terminal. This is the code from my backend, it only accpets payments from credit cards and not debit cards. What should I add to allow for debit transactions as well?

 paymentIntentData = {
          amount: req.body.amount,
          currency: 'cad',
          customer: ephemeralRes.customer_id,
          payment_method_types: ['card_present'],
        };
short dirge
#

Is it possible to create customer portal deep links for graduated pricing? I'm trying to set up a subscription_update_confirm flow type to update a customer to a graduated price product using the API described here https://stripe.com/docs/customer-management/portal-deep-links and I get this error when I follow the generated link.

Standard pricing deep links work as expected (the customer is directed to the final step of the checkout).

Is deep linking not supported for graduated pricing or is there additional configuration that I need to make on the graduated price product?

The item `si_123abc` cannot be updated to price `example-price-123` because the configuration `bpc_123abc` does not include the price in its `features[subscription_update][products]`.
patent patrol
#

I want to charge a "setup fee" on a monthly subscription which has both a fixed price product and metered price product, but I don't want to bill for the first monthly payment of the actual subscription for 30 days, as I want to collect metered usage over the first 30 days of the subscriptions life. Is this possible to do all within a single subscription?

Initial thoughts were to add a pending invoice item to the customer, then create the subscription with a free trial, but I think that would cancel out any metered usage I add for the first month.

timid lagoon
#

for the subscription, creating the checkout portal, is it usual to use the checkoutSession?

maiden thorn
#

Is it possible to obtain a "dump" of stored bank payment methods?

stray oxide
proper token
#

Hi, I am trying to integrate klarna on site messaging on my website, but I need a klarna account, and it keeps sending me to my stripe account. Is it even possible to integrate a klarna on site messaging via stripe or am I doing something wrong?

next solstice
#

Hi, I just wanted to ask if its possible to use debit cards with the Android Tap To Pay solution? Or does it really only accept credit cards?

tame swift
#

Hi, I am using stripe_official module for PrestaShop and am having some problems. In test mode, every payment submission, starts with a blank popup that disappears after 1 second. Anyone seen this before? Will this also happen in Production?

blissful pewter
#

Hello Stripe Team, I'm reaching out to seek guidance on implementing a flow for our subscribers to update their payment method via our custom portal.

quiet beacon
#

Can someone help explain this message in the Stripe dashboard under the Payment method page "We've detected that you are using payment_method_types to configure payment methods. To manage payment methods from this page, replace payment_method_types with automatic_payment_methods.
If you prefer to use payment_method_types, refer to the manual settings page."

indigo monolith
#

Hi! I was wondering where your paper check beta documentation can be found, and specifically is paper_checks a property on the Stripe.Invoice object?

carmine rover
#

I have a question
Can I be business representative on someone else LLC ? Or llc it’s has to be on my name ??

hasty star
#

Hi I was processing an order via Unisport and i was using Zip as a payment and at the end it asked me to verify a code that was texted to me but i no longer have that phone number. I am not able to verify the code from Striple, could someone assist me please?

brazen pier
#

Hello
Is there any limitation to create product on stripe using API ?

native bone
#

Hi, is it possible to create a new Payment method from an existing Card?

shut depot
#

Hi how can I change my default bank account?

nova bluff
#

Hello, is it possible to change the ordering of elements on the stripe checkout page?

hollow bane
#

Hello. how do we identify which product was refunded from the refunds list?

invoice -> charge -> refunds

somber sable
#

Hi. We recently added trials to our subscription service. We had been listening for the customer.subscription.updated and customer.subscription.deleted webhooks in order to update our own database with whether customers were subscribed. I would have thought that we'd get customer.subscription.updated webhooks when a customer starts a trial but it looks like we aren't getting these. Any ideas?

opaque trout
#

Hi I am using express checkout for apple and google pay payments. The express checkout is run in the same page where the user is able to modify the total cost. I have been able to update the payment intents amount but am unable to update the amount. I have tried unmounting the element and remounting it by creating a new element but it doesnt seem to update. Is there any way to update the element amount?

lyric linden
#

Hello! I am implementing payment intent, with setup_future_usage set to "off_session" after including automatic_payment_methods to true, I get an error response saying that invalid_request_error - payment_method_types with the description No valid payment method types for this Payment Intent. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) or specify payment_method_types I have gone through the process of activating payment methods so was just wondering if I was missing anything

hazy holly
#

Is it possible to have a subscription start on a future date, but pre-generate the initial invoice? For instance, today is 8/30/23 and a customer would like to start their annual subscription on 10/1/23, and we'd like to start them with a trial until then. I know we can do this with trials (and subscription schedules), but in that case the invoice for the full year wouldn't go out until 10/1/23. Is it possible to have that go out early, so they can pay it ahead of time?

Delay payments on active subscriptions using trial periods.

vocal wagon
#

Hi I'm on .NET. I have a subscription with a free trial created and I want to do a setupintent after the subscription is created. Where in Stripe do I get the clientSecret to pass in a clientSecret for the payment Element

tall crown
patent turtle
#

I implemented Connect. Merchants using the app can now create a connect Standard account. I record the acc_.... account number for each merchant.
Next, when a client purchases from the merchant via our app, I wish to collect our cut and send the rest directly to the merchant's bank account. Could you please help me with pseudocode (just the method names. I will check out the docs) to achieve that?

timid lagoon
#

for the subscription, create-portal, do you have to store the session id to provide unique payment page to users?

pure hinge
#

how can I integrate google pay to React application?

sweet moss
#

Hi - We would like to understand what our options are on handling Payment Disputes received through Stripe.
Is there an alternative where we can instead choose to process the refund relating to the dispute instead of accepting the chargeback?

gentle sail
#

Hey Stripe Devs! I have a question regarding using Stripe Subscriptions for an iOS and Android app (built using Expo).

Context: Currently, we have a React website which allows users to purchase a monthly subscription to channels on the website (think Twitch subs for example). Our backend/database is implemented so that when a user purchases a Stripe Subscription, we save that info in our database (our backend processes Stripe hooks for this).

We are now building an iOS/Android app (using Expo) which is an extension of our current website (since we want to support our phone users too and using an app is a much better experience than a phone browser).

Question: Since we are selling a virtual product (i.e. a monthly subscription), we must use App store and Play store in-app purchases to handle the transaction. I imagine we aren't the only ones that have hit this problem and I want to know what is the recommended architecture/high level solution to implement subscriptions in our app but still keep our Stripe/database/backend setup maintainable and in sync?

unique lintel
#

Hi, I wanted to ask some question and some advice.

We are using Stripe integration in Next js using PaymentElement for custom payment flow using credit card. It's going pretty well so far. Now, we want to let users use promotion code when paying using credit cards. However, PaymentIntent that works with PaymentElement does not support applying coupons and promotion code. From what I know, there are some alternatives:

  1. Use Stripe Checkout. However my client does not seem to like it, but maybe I could discuss further with him (as last option)
  2. Calculate the final amount before creating the PaymentIntent. We also did calculate the tax with this method (is this even the correct way?), but then I don't know how to mark the coupon as used.

Is there any other alternative solution other than mentioned? Thanks in advance!

vagrant steppeBOT
#

kucinglaut

autumn halo
#

How do you test a cashapp payment? Do I need to buy a pre-paid credit card to test?

ocean kayak
#

Hello I am trying to create connected accounts. I want to send an email to contractors who sign up to complete the onboard process. Right now when I sign users up there is no email and they are labeled restricted. I dont know why

acoustic remnant
#

👍

vagrant steppeBOT
#

jerome3375

final wing
#

Hi , We want to test our Stripe App . using an external link we have installed an app on one of the account. but in test mode getting the validation message. (This app is only available in live mode. Switch to live mode) Just wanted to confirm for testing why our app is not enable on test mode.

dull merlin
tidal echo
#

Hi guys, i want to open a stripe account but I need to know if putting my SSN on my stripe account will effect my tax returns

#

Will me using stripe to send and receive payments go on my tax returns

steel jacinth
#

hi I'm implementing oauth for my stripe app using supabase as a third party oauth provider, however I get {"message":"Cannot GET /v1/oauth/token?code=xxx&grant_type=authorization_code&code_verifier=xxx&client_id=xxx&redirect_uri=https://dashboard.stripe.com/test/apps-oauth/corgilabs.ai"} any idea on what I'm missing?

outer jetty
#

Hi! I am using the payment request button product with Apple Pay and with the shipping address being a parameter get through Apple Pay. How do I extract the shipping address when the payment is completed? It shows in the dashboard inside payment method but not in the payment intent json.

frosty condor
#

hey!
someone can help me please,
"We were unable to verify your business from the website you provided. Contact your administrator." got this message and obviously i cant get my payouts

bitter dirge
#

Good evening, I'm having a serious problem with a purchase I made, and I really wanted to contact support

vocal wagon
#

How am I supposed to verify my stripe account with an id if I am under the age of getting an id? Even though the stripe age requirement is 13.

silent turret
#

Hi ! While using the stripe.createPaymentMethod function in the Front-End (https://stripe.com/docs/js/payment_methods/create_payment_method), I have noticed that the returned data does not include the 'fingerprint' field. However, upon reviewing the 'Response body' within the Stripe dashboard logs for the same request, I can confirm that the 'fingerprint' is present there.

My goal is to retrieve the 'fingerprint' value from the response of the stripe.createPaymentMethod function on the Front-End.

Could you kindly provide clarification on whether it is possible to obtain the 'fingerprint' field from the returned 'PaymentMethod object' (https://stripe.com/docs/api/payment_methods/object) following the request?

summer cargo
untold vigil
#

The invoice object after creation doesn't send payment_intent id. Did this change from any specific version?

#

I finalized the invoice too then after that I freshly retrieved the invoice but it doesn't return payment intent id

shadow escarp
#

Hi is have an issue when i using connect account onboarding then open stripe connect onboarding but i want to fill only required field when i click on business type individual then they are not when i check the stripe docs required field there showing only some field like 12 to 15 field only but when i test then they showing extera field why ? https://tinyurl.com/2b8estr5 they showing industry field also and when i check Australia field then showing some field looking that https://stripe.com/docs/connect/required-verification-information#AU-full-individual--card_payments|transfers
but when i used Australia AU onboarding given the extera field ?why

Learn what required verification information you need to collect for each country when using Connect.

undone slate
#

Hello i’m not sure which information i need to add. My business is through instagram.

fathom arrow
#

Getting error - Failed to connect remote host

turbid hornet
#

Hi team,

I'm trying to figure out how to process upgrading to a higher priced subscription.

I have a subscription A $100/month, B $200/month.

When upgrading, I want to charge the customer $200 and credit back him the $100. So the total charged amount is $100.

With setting proration_behaviour to none, it doesn't generate a new invoice hence no charge. With set to always_invoice it calculates the proration, however I don't want to prorate.

vital cosmos
#

Hi Team

Can i do payout in test-mode for connect account
I want to check every transfer payout status whether it is completed , cancelled or pending

And, Where can i update the bank account of connect account

night coral
#

Hi team,
I want to create a hold and capture functionality using stripe. I need to hold the specific amount for some days may be one month and capture it after approval. So what will be the best option for this?

strange river
#

Hello, what is Stripe Connect? And why is it required? My engineer said he had no idea what to do with it.

fathom siren
#

Hi team, I created the Paynow payment using payment Intent, It takes time to load QRcode any other solution to solve this Issue, I need to show The Qrcode to POS Customer display Screen..Android..

vapid solstice
#

hello, is there a way to update Price (not yet used in any transactions) amount with API - more precisely unitAmount of an existing currency of the Price.

If I try to override unitAmount of an existing currency I got an error "An item with the same key has already been added. Key: EUR"
I have to implement similar edit panel in my system for the price, but I cannot find a way to update its amount

hollow prairie
vocal wagon
#

Hey, I just copied a product from test environment to live environment and I have a tons of garbage prices to delete now. Can I do it in mass mode?

sage jasper
#

Hi there, I would like to know whether Stripe can pay out to any bank in Japan or just specific ones. Thanks

compact mist
#

Hello, I'm working on the marketplace app.
We are using Expo for frontend and Java Spring on the backend side.
We decided to use Stripe Connect with Express accounts.
Is there any tutorial how to use Connect to onboard users with react native?
All the examples that I found show how to onboard users on the web.

terse swan
#

Hello

#

Who got old stripe with a lot of payout history here ?

junior oxide
#

有中文客服吗

#

Could you help me with the E-commerce collection fee ?

light ocean
#

Hi, is it possible to update the amount of a price?

civic onyx
#

Hi I have a simple question to ask: is it true that when I include "confirm: true" as part of the params when creating setupIntent/paymentIntent , then Stripe would return the "requires_action" status synchronously/immediately if 3DS authentication is required during the setupIntent/paymentIntent creation procedure ?

surreal kernel
#

Hi!When will PayPal be available for US accounts?
Currently, we are mainly developing services for EU member countries, but there are many requests from end users.

night coral
#

While I need to integrate the stripe in to my nodejs react application I found there are multiple options, payment intent , payment link and checkout, Which should I use in my application

tacit plover
#

I need help for stripe subscription check. ( about field current_period_end)
my purpose is to check if user still in paid period for canceled subscription

vocal wagon
#

Hi, I'm working on a custom checkout process on woocommerce platform and after checkout I want to show upsells, which means that on checkout the customer doesn't make a payment yet but only after he finishes the whole process. I need to implement klarna payments and I wonder if it's possible to do it with klarna, considering that if I try to attach a payment method to the customer on checkout I get the error 'The provided method cannot be attached'. Also if possible, what would be the best way to do it? Payment intents? Thanks

last kite
#

I need help, I was making a payment on and I continued receiving a notice that card declined. I repeated many times times and they later sent me a notification that I have exceeded maximum declines of 24 hours. I contacted my card provider and they told me that they have a limit on amount of transaction on a non 3D site. So they increased my transaction limit, now I want to make the transaction but stripe is saying that I exceeded maximum declines in 24 hours. I need make the payment urgently before deadline, help me

#

Yes, am a user buying something

velvet temple
#

Hi
can we make a transaction of 0? I am using the payment Intent method.

toxic lark
#

Good day, when I have transferred funds to a connect account is there a way to know the payout status to a users external bank account?

velvet temple
#

Hi
With using payment_intent is the invoice shared automatically to a customer? as the same as the create. invoice method?
is there any disadvantage of using payment_intent instead of using create invoice method?

sly adder
#

Hi all!

I have a question related to Connect

As a Connect platform, is it possible to use Connect webhooks to trigger actions on a Connect account (e.g. update the payout schedule)?

Online I only find info about webhooks I can listen to (https://stripe.com/docs/connect/webhooks), not ones that enable me to trigger actions

lyric lake
#

I can't seem to find any key in stripe payout function where I would mention that initiate payout for this ConnectedAccountId to their external account?. No key I seem to find where I would tell that initiate payout for this connected account!. Does payout function support only platform account or we can initiate payout from connected stripe account to their external account?
https://stripe.com/docs/api/payouts/create?lang=node

naive relic
#

Hi
I got error "Invalid argument(s): 'Unknown' is not one of the supported values: Manual, Automatic"
from flutter-stripe. after I call confirmPayment, did I do something wrong?

velvet temple
#

Hi
can we send an invoice directly to the customer using payment_intent? as the same as the invoice? IF yes how or any documentation with using payment_intent

waxen quail
#

@velvet temple use the thread I already opened for you

buoyant vale
#

Hi can we get balance/statment of the customers bank if we connect them with stripe financial connections?

buoyant seal
#

What API if any can I use to get the individual charges / payment intents that are attached to a payout for a Stripe Connect account?

vocal wagon
#

Hello, I use checkout session for payment in my site. It's possible to capture half of payment (or cancel) ? For example the customer pays 100, can i capture that 50 then the rest later ?

violet salmon
#

Hey i have 2 questions related to proration:

  1. Can proration only be done based on the time a customer was subscribed to the price or can i prorate charges based on a custom parameter.
  2. When i update the subscription midway through the billing cycle is it possible to prorarte some subscription items and not prorate the others.
digital stone
#

Hi, I have a question regarding comparison between Stripe and Paddle. A question that has come to the table as the endeavour is to target international markets with a Saas product and now the business part is getting worried if Stripe can manage the taxation complexities, or in other words if the company will have knowhow on it enough inside. Let me quote this: 'Paddle's MoR model is often seen as advantageous for businesses that don't have the resources or expertise to manage complex international tax compliance and legal issues. ' Is there any documentation or info I could have regarding this and beeing able to compare this matter ?

topaz talon
craggy spear
#

hello, can someone help me regarding the express connect with python django for like multivendors
i want to connect the bank account with stripe while creating the user

winged crater
#

Hi ! How can I create a payment link making only Credit Card payment method available ? As of today, Card and Sepa Direct Debit are available, but I don't want my customer use Sepa Payment method in my payment link (But I use Sepa direct debit for subscription purpose)

lament loom
#

the Hi I am integrating OXXO payment in the Connected account, How can we get status payment is "success"

brazen pier
#

hello
I am working on recurring integration with Checkout method. I have below schenario

I have main membership and add-ons like social media posting, show on newslatter feed etc. Right we have 2000+ existing customer, who has main membership and add-ons purchased on different dates.

For Example User "A" has purchased main membership on July 2022 and add-on was purchased on Aug 2022.

Now they are going to renew the listing with recurring. then How can i start subscription of both things with different dates in one subscription .

edgy ermine
#

com.stripe.exception.CardException: Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis;. request-id: req_zObke6M0YY4D3m

Stripe Login | Sign in to the Stripe Dashboard
https://dashboard.stripe.com

Enabling access to raw card data APIs : Stripe: Help & Support
https://support.stripe.com

#

getting this error.

#

any one tell me how can i fix this.

pliant wharf
#

Hi! Recently I've integrated stripe 3D secure to my Node.js application to add an extra protection. Once the inital payment intent is created, I'm showing the authentication popup to the user and ask him to do the authentication part. Once user authenticates his card, I'm charging the amount.

When I have to charge an additional amount from the same user, I'm creating another payment intent with the same payment method id used for the initial payment. My goal is to charge the additional amount from the user without asking him to authenticate his card again. There, I've enabled off-session payments in my initial payment intent.

However, stripe still asks me to authenticate the card when I'm trying to capture that additional amount. How can I fix that?

loud thicket
#

Good morning guys, is there a way to manage signatures with stripe elements? I need the customer not to leave my application to manage their subscriptions.

chilly sage
#

Hello,

Stripe PHP SDK does not return a well formatted API based error but HTML together with error message ... This makes harder to decide what to show client

vocal wagon
#

Hey Guys, so am writing service that uses a webhook on a payment.dispute.created event (the dispute is created by a connected account and is triggered on our account). To get this Im using ConstructEvent() to init the payload provided by the webhook and returns stripe.Event with a nested object for the specific event data. In the stripe.Event object there is a field for the stripe account id which is null, I'm assuming this iS because the event created is on our stripe account, not the connected account. What is the best way to get the account id for the connected account which the dispute is created for?

brazen pier
#

Hello
I am working on recurring implementation.
Can we start subscription from specific date using checkout method ?

reef spear
#

Hello
I am not able to on this toggle button.
What should I do?

Thanks in advance.

vagrant surge
#

Hi, I want to know how can I add another item to subscription , would subscription.update remove the previews one, or add it, or is there a way to have a price with different tiers ?

topaz talon
#

Hello,

can i update payment link price and application fee when i use distination charge and on_behalf_of

vocal wagon
#

Hello i use checkout session for my payment in my site. I try to capture only half on payment, for example customer pays 100 and i want to capture 50 and later i want to capture the rest. I use amount_to_capture for capture the half ( he writes in the dashboard "partial refund"), and when i try to capture the rest in my node app I have an error "This PaymentIntent could not be captured because it has already been captured". So how capture half and rest later ? thanks

turbid swift
#

Hello, does anyone else have this error? I am building an application using crypto api

formal copper
#

Hi! I have a couple of questions: I enabled Klarna for my "Connect" account, and even in the dashboard the profile seems to have Klarna enabled. But when I generate a payment link, in this link I don't have the option to pay with Klarna. Tried with 100€, should be enough. This problem is fairly recent, used to work until a couple of weeks ago. Also, when generating the payment link via api, the custom domain seems to be ignored even if it's configured correctly. It always sends me to buy.stripe.com

craggy vigil
#

👋 Our team has a custom subscription checkout integration with Stripe. Looking for guidance, suggestions on how to best integrate with concepts of a "checkout session" and understanding aspects like when a customer's checkout is completed or that they had dropped off (customer left our checkout flow). Our custom integration includes creating either payment and setup intents and calling confirmPayment | confirmSetup for 3DS card authorization.

twin hamlet
#

Hello, can I get the refund ARN number using stripe's API? I don't see anything in the docs. Thanks in advance

vocal wagon
#

Hello! I'm currently looking into the possibility of creating a payout for each payment as opposed to the automatic payout grouping multiple payments together. As far as I can tell the docs seem to indicate that this is possible, just by creating a payout for the same amount as the payment.

What I cannot find is if this is a good idea to begin with? Is this considered bad practice? Thanks!

rapid imp
#

Morning all! I have a main stripe account and a Test only stripe account (not to be confused with a strictly testmode account) The Test only stripe account is used for a specific test/dev environment. I'm renewing my ApplePay certs and wondered if it matters that i have only a single "Application" setup. Do i need multiple certificates/Applications or is one sufficient? (may have explained this poorly)

vocal wagon
#

(I saw your answer too late o found id of the request) Hello i use checkout session for my payment in my site. I try to capture only half on payment, for example customer pays 100 and i want to capture 50 and later i want to capture the rest. I use amount_to_capture for capture the half ( he writes in the dashboard "partial refund"), and when i try to capture the rest in my node app I have an error "This PaymentIntent could not be captured because it has already been captured". So how capture half and rest later ? thanks

vital cosmos
#

i want to get the list of a connect account transfers payout status Can you help me with it

night coral
#

While I am trying to integrate the stripe in react getting errror

In order to create a payment element, you must pass a clientSecret or mode when creating the Elements group.

vocal wagon
#

Bonjour

#

vous comprenez français ou je dois écrit en anglais,?

#

i must write in english or french is ok for you ?

languid tulip
pure storm
#

When a customer verifies a bank account with micro deposits using the SMXXXX code, do we receive a setup_intent.succeeded webhook?

lament marsh
#

Hi, we're currently working on the per seat subscription.
Is it possible to disable proration when subtracting the number of seat in the subscription?
Basically we don't want refunds for unused time.

untold vigil
#

Is there any API to check minimum amount for a particular currency?

wild fable
#

How do I enable Apple Pay on payment links? I've verified my domain. What's next?

wide edge
#

Hi, with the Account Links API are we able to choose specific fields to be currently_due/eventually_due? Or are these parameters just for the type of account link? I was wondering if we could make verification docs currently_due for example

odd locust
#

Hello, I just migrated my angular web app from a dev to a live enviroment and now the canMakePayment() method is no longer returning googlePay: true, do i need to setup anything else in order to use the googlePay payment method popup on live?

arctic glen
#

Hi friends at Stripe,

I'm using Stripe PaymentElement in a NextJs TypeScript app with Apple Pay enabled in Test mode, and we're testing it in MacOs Safari and iPhone Safari.

Quite often, it works perfectly.

Very occasionally, we're seeing an error (but often enough that we don't want to deploy this to production yet):

"Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again."

It's rare enough that we've been unable to figure out how to reproduce it and diagnose the root cause.

One of our engineers said that one time he saw in the console log: IntegrationError: show() must be called from a user gesture handler (such as a click handler, after the user clicks a button).

I haven't been able to isolate the issue. It seems like there might be a race condition.

  1. Would that IntegrationError: show() must be called... error always result in "Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again." ? It would be helpful if you can confirm that these are the same error and that we're not experiencing multiple errors.

  2. I found https://github.com/stripe/stripe-js/issues/289#issuecomment-1044801603, and it seems related. But on the other hand, I guess I'm surprised that our code is working so often. I'd think that if Payment Request API was detecting the flow as not being triggered by a user action, it would never work.

Do you have tips for how I could change my code (or Safari settings) to make the root cause more obvious?

I.e. I need to learn how to reproduce this problem reliably in the browser. Otherwise, I'd not be able to prove that new code (yet to be figured out) actually did fix the issue.

Thanks.

GitHub

Summary I'm unable to process a payment using Apple Pay on the new Stripe Payment Element form. Entering a card manually and Google pay work fine but Apple pay on Safari gives me the following ...

vital cosmos
#

how can i get all the payouts of a connect account

peak sand
misty orchid
#

Hi, I am having issue with a Webhook on a magento 2.4.6 and stripe 3.4.4.
I am getting the notifications get redirected with a 302 I have read this article https://support.stripe.com/questions/webhooks-what-to-do-when-the-http-status-code-starts-with-a-three-(3xx)
I used bin/magento stripe:webhooks:configure to set it up and I have cron jobs running.
Can it be an issue that my index.php is in /pub/index.php ?

reef kestrel
#

Hi Stripe devs, i've been working on stripe connect integration on my platform and have just started using the sdk to interact with connect accounts. However, upon creating an account link i am getting this error: This application does not have the required permissions for this endpoint on account. Any idea how to give the required permissions? The account im trying to access is of type Express

crude harness
#

Hi,
Can we apply multiple coupons on single subscription?

gentle harbor
#

Hello, I have a webhook created with the latest API version that listens for the imvoice.payment_failed event. It worked well in Test mode but after importing it into Live it fires with every transaction, including successful payments.

vocal wagon
#

Hello i use next js for my app and when i try to redirect user after create checkout session i got an error has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin'....
I know it's a mistake related to nextjs but i'am stuck
I try to add res.setHeader("Access-Control-Allow-Origin", "*"); before redirect but it doesn't work

fiery stirrup
#

Hi all... when using the Stripe Terminal SDK, is there a way to verify if the terminal is already scanning for readers? I would like to avoid issues like this one: Discover Readers failed: Error Domain=com.stripe-terminal Code=1000 "Could not execute discoverReaders because the SDK is busy with another command: discoverReaders." UserInfo={NSLocalizedDescription=Could not execute discoverReaders because the SDK is busy with another command: discoverReaders., com.stripe-terminal:Message=Could not execute discoverReaders because the SDK is busy with another command: discoverReaders.}

pure hinge
#

how can I apply promo code when create subscription?

echo prism
#

hello

fiery stirrup
#

Hi all... When using the Terminal SDK for Android, is there a way to test Low Battery connection failure?

#

Hi all... when using the Stripe Terminal SDK, is there a way to cancel reader discovery if the returned cancelable is no longer available?

distant vapor
#

Hi, I need some help and I don't know if this is the right place. But I'm emailed support and heard nothing back, I need help with my Stripe Express account. I need to switch over the information to a new bank account and it says i need to verify my identity, but yet I don't see a space for this.

woeful jungle
#

I have a subacription service that first has a subscription part, which has for example 6 different subscription options, but also a "product-add-on" where the user can choose to include a separate one time addition of 1-3 products, that should only arrive once along with the delivery of the products they have subscribed for.

Is it possible to do this in some way with the customer management portal or do I have to build something custom for this? How would you advice I proceed?

sonic hemlock
zealous prism
#

Hey, Is there any stripe API to list webhooks logs?

pure hinge
#

how can I get applicable products from promotion code details?

zealous pond
#

I want to integrate apple pay with my laravel project

#

how can i integrate? If someone have any sought of link please provide me

celest stone
#

Hello Team,
I'm in the middle of Stripe Connect integration but things got complicated and I'm stuck. Since we want to use d cross-border transfers/payments with a "destination" account set I followed tutorial for "recipient" ToS
https://stripe.com/docs/connect/service-agreement-types#choosing-type-with-express

Unfortunately, I keep getting this error during account creation:
Your platform needs approval for accounts to have requested the transferscapability without thecard_payments capability. If you would like to request transfers without card_payments, please contact us via https://support.stripe.com/contact.
I also tried to find option described here: https://stripe.com/docs/connect/service-agreement-types#choosing-type-with-express but had no luck in finding "Transfers option with the Restricted Capability Access icon"
Could you plz guide me on how to create connected Express accounts in other countries than US that can accept "destination" payments?

arctic glen
#

I'm using PaymentElement with Apple Pay enabled.

https://stripe.com/docs/apple-pay?platform=ios says:

Stripe users can accept Apple Pay in iOS applications in iOS 9 and above, and on the web in Safari starting with iOS 10 or macOS Sierra.

  1. Does that mean Apple Pay will never appear on iOS Chrome (and other browsers on iOS) even though those browsers use Safari under the hood?

  2. If a Safari user on MacOS or iOS has both Apple Wallet and Google Wallet set up properly, will they see both Apple Pay and Google Pay options available in PaymentElement? We've never seen both offered.

Thanks.

spring pendant
#

Hello, I am having a strange issue with the following flow: when a user creates a subscription after a successful payment intent, and then changes the payment method, the next payment intent that succeeds appears to have a null payment method when I expand it using the stripe API (although i can see the associated payment method in the stripe dashboard). Im using standard stripe connect

small quarry
#

Hi, how do you calculate MRR in stripe billing dashboard? what do you do with anual or any other time than months subscriptions.

limber raven
#

hy

#

I have a problem in my stripe account i make i mistake when i added my bank account and now the payout was paid to anouthe bank account

agile hound
#

Hello! Currently setting up stripe subscriptions in my dashboard and I need to provision / suspend / delete a service for the user. I currently am using the webhooks for customer.subscription.created (creating an entry in the db here), customer.subscription.updated (checking if subscription is active and has not been provisioned then provision),

Though im wondering what would be the best way to run an action when the subscription renews successfully?

willow notch
#

Hey ! I am working on an app for a client. That client manages subscriptions and one time payments for this services. One of the requirements for the app is to display payments made to him, as well as the customer's email and wether the payment is from a suscription or not. I have tried a veriety of things but can't really come up with a way of doing this:(

dawn siren
#

Is it possible to use iDEAL from a Payment Element directly when setting up a Subscription. This is not using Stripe Checkout. Rather using the API directly.

The rough flow is:

  1. Setup Payment Element client side (Stripe Elements in subscription mode)
  2. On submit, call server side /subscription API that uses stripe.subscriptions.create() to create the subscription (payment_behavior: 'default_incomplete') and return the setup / payment intent
  3. Confirm the intent client side (stripe.confirmSetup or stripe.confirmPayment based on the returned intent type) with the elements and clientSecret in the payload

This works for cards, wallets, and SEPA, but not iDEAL (error messages in thread 👇).

steep linden
#

Hello, I am new to the community, in fact discord.
We are trying to integrate our transport flutter app (kind of rideshare) with Stripe. Before integrating actual Dart package, we preparing via web module. Our backend is node.js based. Main use case: paymentIntent (an when needed customer creation + card setup for future use for off-session payments).

Perhaps due to my poor understanding on API doc, what I realize that I can call the paymentIntent with or without payment_method (with payment_method, when someone is charged with saved PM). However, when I call without payment_method, the require_action (status) is "require payment method". Which is OK.

Question is: When I am calling creating the paymentIntent with Payment Method, the API is responding with "require_confirmation" but the webhook is sending "require_payment_method". Can anyone guide/highlight if I am doing anything wrong? My calls in summary are (please ignore the syntax):

Without Payment Method:
stripe.paymentIntents.create({
amount: 1000,
currency: 'usd',
customer: 'cus_xxxxxxxxxx',
});

With Payment Method:
stripe.paymentIntents.create({
amount: 1000,
currency: 'usd',
customer: 'cus_xxxxxxxxxx',
payment_method: 'PM_xxxxxxxx'
});

vocal wagon
#

Hi there,

Just a quick billing check...
updating a subscription - there's no way of enforcing only a quantity of 1 of a particular price in a subscription is there?
This has to be enforced by the user in their business logic isn't or is there another way to do so ?

dark badge
#

Hey everyone, Thabi here from Botswana. First time on Discord, can someone help me out here? I keep getting a DNS error specifically (1 record has not been confirmed,)

I've copied, refreshed, deleted the domain re-added the domain, redone everything in slow-mo, tried and tried again the (bounce CNAME line item just doesn't want to stop Bouncing)

#

Custom Email Config

#

and waited 72 hours

young bridge
#

Hi, We are moving the subscription system (ultimately still staying using Stripe), I need to get our members payment details in tokens to give to the new system - how do I go about that?

dark badge
dim hearth
#

@dark badge please respond in the thread I created, not in the main channel

coral night
#

Is it possible to disable zip code validation for a particular customer (temporarily or permanently) while keeping it enabled for others?

topaz talon
#

Hello,
I want to upload the logo and icon for custom connect account which apis should i used?

arctic zodiac
#

Hi. I am having an issue with applying a promo code on a new subscription that is prorated (proration behavior is always_invoice). Before I apply my promo code (20% off) I am getting a total of $0.93 w/ tax. After applying the code it is $0.74. That seems OK at first glance but on the invoice object there is no amount off on the discount -> coupon. total_discount_amounts is also an array with 1 item that has amount: 0.

vocal wagon
#

Hello, I am looking to backfill some data in our system that will require a request to stripe's api
I will be calling the Stripe::Mandate#retrieve endpoint and was wondering if there is any sort of rate limitation
we have around 400 000 (400k) objects that need to be updated with the mandate data.
would that be okay? if not, what's the max of requests?

gentle sail
#

Hey Stripe Devs! I have a question regarding using Stripe Subscriptions for an iOS and Android app (built using Expo).

Context: Currently, we have a React website which allows users to purchase a monthly subscription to channels on the website (think Twitch subs for example). Our backend/database is implemented so that when a user purchases a Stripe Subscription, we save that info in our database (our backend processes Stripe hooks for this).

We are now building an iOS/Android app (using Expo) which is an extension of our current website (since we want to support our phone users too and using an app is a much better experience than a phone browser).

Question: Since we are selling a virtual product (i.e. a monthly subscription), we must use App store and Play store in-app purchases to handle the transaction. But when a subscription is purchased, that money needs to go to the channel they subscribed to (aka one of our Stripe Merchants). What is the recommended way to handle this as in-app purchases and Stripe don't have visibility of each other?

pure hinge
narrow thistle
#

Hi, what would be a reasonable maximum duration for a Link payment intent to be in requires_confirmation state? If I was going to monitor and set an alert, what's a good time threshold to indicate that something might be up?

frosty hearth
#

Hey Friends !!! I am using payment element for capture of payments. We have users that can use apple pay or google pay, is there any way we can tell by the intent retrive api , that the user used Apple Pay ? or Google Pay ?

subtle pollen
#

Hi, I need help since the Stripe payment integration does not show up on my site when doing check out.

void cargo
#

import { headers } from "next/headers"
import { db } from "@/lib/db"
import { stripe } from "@/lib/stripe"
import {NextRequest} from "next/server.js";

export async function POST(req: NextRequest) {
    const body = await req.text();
    const signingSecret = process.env.STRIPE_WEBHOOK;
    const signature = headers().get("stripe-signature")

    console.log(body);
    console.log(signingSecret);
    console.log(signature);

    let event;

    try {
        event = stripe.webhooks.constructEvent(
            body,
            signature,
            signingSecret
        )
    } catch (error) {
        return new Response(null, { status: 400 })
    }

    const database = db();
    const session = event.data.object

    switch(event.type) {
        case 'payment_intent.succeeded':
            const intent = event.data.object;
            console.log(intent);
            const amount = parseFloat((intent.amount / 100).toString());
            const charge = intent.charges.data[intent.charges.data.length - 1];
            return new Response(JSON.stringify(intent), { status: 200 })
        default:
            return new Response(null, { status: 400 })
    }
}```
pale swan
#

hello, when i create an invoice that is for a "service" (not a "tangible good") like our resturant's caterings, the tax is not being added even though in the settings I've set the service as "exclusive" (tax to be added after total amount). Can you please provide assistance?

dire adder
#

Hello, is it possible to create a valid Stripe Payment Method with type of us_bank_account but by just providing manually via API the US Bank Account Details as detailed here: https://stripe.com/docs/api/payment_methods/create#create_payment_method-us_bank_account , and then use that payment method for creation of Payment Intent, and then completing the payment?
Will this trigger verification process (for example, microdeposit verification)?

wind fjord
#

hello! I am using the payments product and am sending credit card payment requests via stripe.confirmCartPayment method in frontend javascript. My issue is that Stripe is sending my customers a receipt for every payment request, which I don't want. I am populating the receipt_email option of the confirmCardPayment method which I suspect is triggering the receipt. I need to be able to associate my customer's email with their payment in case I need to troubleshoot anything, so I want the payment metadata to contain their email address, but no receipt sent. Is there a way to achieve this?

unique kraken
#

Hello, I’m using Oxxo payments. Worked fine on test mode. Now in live mode it’s been more than 24 hours since 2 payments were made and they don’t show up as paid.
Also my dashboard says those payment need extra customer data but Oxxo payments don’t require any data from customers. Anyone know what might be the problem?

outer bison
#

Hi! we're setting up our plaid integration and have been successfully able to attach a bank account to a customer. (We know the plaid integration isn't recommended, but we need to support it for our business). However, when we try to initiate payments via payment intent api for this customer, we get the following message:

This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter

I'm familiar with mandates and understand the need here, but i only see mandate_data in the SetupIntent API, which we aren't using as part of the Plaid flow. could i get some help in how to satisfy the mandate requirement in the Plaid integration?

brazen pier
#

Hello
We have more than two items in recurring under one subscription . Is there a way that we can assign end date to subscription item in recurring ?

low temple
#

Hello I am working with the File Uploads API and I see the size limits and expiry times. I am wondering if there is any limit to how many files can be stored?

unique rose
#

Hello - we have a custom connect setup with manual payouts, and if we initiate a payout before ~5pm PST the payout is deposited in the connected account's bank account within 90 minutes or so - however, if the payout is any time after that - say 8pm, 9pm - even up until 7am the next morning (PST) - the deposit doesn't make it in to the bank account until the following evening (usually between 7pm -> 9:30pm PST or so). Once payments clear Stripe and become available for payout (via the available balance) and a manual payout is issued, what would cause a delay in the payout actually being deposited to the connected account's bank account?

nimble canyon
#

Hi Stripe, I'm having difficulty using the Checkout API. The test-mode request ID I'm referring to is req_yPHBZl5HV61Bpl. The product that's being added to the checkout is prod_OYLmwUHJEBLhI2, which has a default price of $34.49, but the error message I'm receiving is The Checkout Session's total amount due must add up to at least $0.50 nzd. Thanks in advance.

autumn spindle
#

I am using Nextjs, Typescript, Stripe Webhooks, and Supabase and am trying to upsert a Stripe Products into my Supabase Products table that basically mirrors it.

  1. When mapping fields in my payload for upsert, how do you handle prepping a stripe field of hash type for mapping to supabase json field types?

  2. How do I map a hash stripe field like products.metadata to a json supabase field? (if no value in Stripe it looks like default is {})

  3. How do I map a hash stripe field like products.package_dimensions to a json supabase field? (if no value in Stripe it looks like default is null)

keen yew
#

Is there any good way to know if a webhook was fired because of an API event vs a manual change in the dashboard? We need to be able to decipher data created through our system vs what a connect account would create manually for another use.

raven cape
#

Another question about subscriptions and invoices: Is it possible to customize the invoices that are generated by subscriptions? For example add a comment for an item with some explanatory text like "Rate for >4 month commitment" ???

ruby tendon
#

Is there a way to distinguish via the setupIntent or paymentIntent object between a manually linked bank account, and one using the automatic verification?

topaz talon
#

hello,
can i use same bussines_logo file id for all my custom connect accounts branding

blazing flame
#

Is It Anyway I Could Put My EIN Number Instead of re-registering?

plucky seal
#

Is there a way to put customer's VIT numbers on invoices?

tiny zephyr
#

ATTN: @hollow prairie or anyone else familiar with Next.js 13 Stripe integration. Please help! I am still trying to add stripe elements to my project. When I use the exact code (.js) from https://stripe.com/docs/payments/quickstart?client=next, it does not work. It only shows the text for Name, MM / YY, CVC, and a generic submit button, but no UI, fields, styles, etc. I converted the .js/.jsx to .ts/.tsx, same results. I tried a few others from stripe, git hub, Vercel, same results. Then, I tried the donate-with-elements at https://github.com/vercel/next.js/tree/canary/examples/with-stripe-typescript. I finally got it to work perfect, used the test cards, everything functioned correctly, processed the payment, redirected to confirmation results, etc. After that, I copied those files into my Next.js 13 Typescript project, added dependencies, enabled the 'server action', etc, but now it does not work. When I try to run locally and deploy to Vercel, I can not get passed this error:

Failed to compile.

./app/actions/stripe.ts
ReactServerComponentsError:

You're importing a component that needs next/headers. That only works in a Server Component but one of its parents is marked with "use client", so it's a Client Component.

,-[/app/actions/stripe.ts:3:1]
3 | import type { Stripe } from 'stripe'
4 |
5 | import { redirect } from 'next/navigation'
6 | import { headers } from 'next/headers'
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 |
8 | import { CURRENCY } from '@/config'
9 | import { formatAmountForStripe } from '@/utils/stripe-helpers'
`----

One of these is marked as a client entry with "use client":
./app/actions/stripe.ts
./app/components/ElementsForm.tsx

Build failed because of webpack errors

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.

#

I understand the error message, but I thought that this was okay when using 'server actions'? Not to mention that the same exact files work great when I run locally and deploy the stripe-donate-with-elements app.

I tried the paypal component and was able to have it fully functioning in my project within a few minutes.

I like the stripe component better, so I am still hoping and trying one last time to make this work.

Please, tell me what am I missing?

Thank you to all !!!

marsh sage
#

hello

frail canyon
#

How can I enable other businesses with Stripe accounts to easily connect their stripe account and receive payments through payment links that i can create it?

rocky thunder
#

So we just built a big reporting feature on top of our stripe event data we've been getting from webhooks and then realized we haven't always been storing it and the stripe event api doesn't let you fetch back more than 30 days. Are there any other ways to get the event data farther back?

jagged mortar
#

In test mode, is there a way to cause a charge.dispute.closed webhook where the status of the dispute is 'won'? I know how to make a 'lost' dispute but I haven't a way to make a 'won' dispute yet.

pure storm
#

Hi, there's behavior i want to perform only when a manually added bank account is verified via microdeposit, via webhook. I'm monitoring the event setup_intent.succeeded to accomplish this. However, it doesn't seem the posted data differentiates between the two. I do notice if I retrieve the payment_method, there will be no financial connections account. Is that a reliable indicator?

crimson cosmos
#

Hi, I'm working on creating a payout system using Connect and I'm having trouble setting up a test balance. I'm wondering if it's because I'm not an admin? Can you give some guidance?

maiden sorrel
#

Hey folks, is it possible to migrate a Stripe Connect Express Account to a Standard account?

topaz totem
#

Hey guys!

I made a contract with a client that will work like that: He will pay with 50% discount in the first year, 25% discount in the second year and the full price in the following years. This product is a subscription. How can I do that with the same subscription product?

dim pelican
#

Hi, does using metadata work in test mode? In python I'm using
stripe.checkout.Session.create
with the subscription mode and passing in metadata, if I look in the logs on Stripe, I can see it's receiving the metadata, but when I get the webhook charge.succeeded there is no metadata or if i look into the created subscription theres also nothing. Any help would be greatly appreciated

steep linden
#

Hello there. I am completely lost in the stripe docs. I admit that the docs are very helpful and captures all scenario. Perhaps I am unable to connect the dots. Appreciate if anyone could help.

My question is about understanding the flow in case of off-session cases, where system (app or web) determines what to be charged from card (we allow only card).
It creates a paymentIntent via backend (node), which is working fine and node returning the PI and required action
but after that I am lost:
Then they App/Web should list the payment methods (if there are saved cards) or user can tap pay from a new card, which can in tern be saved as a payment method for future use (off-session)
Question is -> How to show my customer required 3DS/3DS2 authentication if payment method is supplied OR In case customer decides to use a new card, how to present card info (let's say based on web elements) and proceed to next action

Just to mention: I am loading the payment methods based on data saved in DB (based on response saved from SetupIntents created from backend). Or, the right way to do it is by listing from Stripe directly via elements?

rich flame
#

hi stripe, I am having problems related to the creation of payment links. The tax is being included when really this should not happen, this has never happened since they were implemented in my project. Is it as of today that we are having this problem, have there been changes in stripe or something related to that?

patent turtle
spark silo
#

Greetings!
I am currently working on monetizing my API.
To do so, I'd like to have multiple plans that have a base price and pay-per-request.
The plans always include x requests and then x$/extra-request.

What is the quickest way to do this, in NextJS?

Thanks in advance.

winter stag
#

Hi, I need help in setting up my stripe account. I am a photographer trying to recieve payemmts through a platform called studio ninja. I have connected the stripe account using the keys to studio ninja and my invoices now have a pay by card button. The problem is when a client goes to try and pay using their card it says payment failed. HELP ME!!!!!

modern bane
#

When passing the data from our server to you I get the error "Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis." but what is strange is that one stripe account works and the other it does not. I am logged into both stripe accounts and trying to figure out the difference

wise ravine
#

Hello, Stripe! just want to double check, why are your services aren't working in Ukraine? Is there anything we can do to help you get started here? Maybe you have plans to add UA to the list of supported countries in the future? Thank you!

covert basalt
#

Hi Developer Community!

I am a founding member of a technology startup that uses Stripe as our primary payment processing platform. Our business works with different partners around the country to process paid reservations, bookings, and registrations for certain services.

We take a small portion of this revenue as compensation for our work, and remit the rest to our partner. Right now, this is a pretty manual process, as payments come through our Stripe account, are routed to the partner’s bank account, and then we retroactively invoice the City for the portion of charges that belong to us.

We have heard about Stripe Connect being an easier solution so that these payments (and our percentage) can be automatically remitted to either party. That said, after poking around the Stripe Connect documentation and talking to a representative, we are still pretty unclear about how exactly to use the Connect API to implement our desired end state.

Here is our desired end state:

  • Partners we work with have a Stripe account, of which we are administrators..
  • Our company also has a Stripe account.
  • We create a connection between these two accounts, and process all transactions on our platform using the partner’s Stripe account via their publishable API keys and relevant secret keys.
  • Upon each successful transaction we process for the partner, we would automatically like to remit a certain percentage to our Stripe account.

Is it at all an option to schedule a quick 30 minute meeting with a Connect Developer resource from Stripe to help us navigate the proper implementation pathway? I’m hopeful that in just a quick call we would have everything we need to move forward.

Thank you so much.

thin tinsel
#

Hello. How do I make a product that combines package pricing and graduated pricing. We want to offer a base price for our SaaS and customers can select number of seats that would multiply the base price but also we have a graduated offering for usage pricing which kicks in for customers using over a particular threshold for the month.

cloud marsh
#

hi, is there a way for me to go from a PaymentIntent object to the CheckoutSession object that created it? I looked at one of my Payment Intents (pi_3NShrZIAEtyOW8rA08y1kdnv) and couldn't see any fields that would help me figure out if the PI was made via Checkout

small quarry
#

I am generating some metrics via api, What is the logic behind the loss of mrr when a customer cancels their anual subscription? because i am aware that an anual subscription adds ( (x amount value) / 12 ) to mrr, but what happens when you lose an anual subscription? you subtract the whole anual value to the mrr? or anything else should happen? Thnak you

nova bluff
#

Hello, is it possible to create a stripe customer without an address in stripe? I have some relevant request ids to provide -- the logs show that the "address" field is required

lyric linden
#

Hello! I'm currently using confirmPayment, and passing in the suggested confirm params that have a return url. I am running into some design confusion. I would like to be able to create an "order" object and save it to my DB after the payment is confirmed. However, confirmPayment uses a return url, so it leaves before I'm able to save the order to my DB. How should I go at altering the confirmPayment or return_url?

charred gorge
#

Hello dears, I registered my Stripe account some days ago, but I have not used it yet due to some domestic affairs. I just make a test payment from my own debit card. But a week ago, I suddenly received an email that, my stripe account has been suspended due to high risk payment. I really shocked, because, I didn't make any transaction. However, Kindly help me to unsuspend my account. So that I can properly start my business.

zinc glade
zinc glade
unique kraken
#

Does anyone know why the payment object that gets copied to Firebase by the stripe extension doesn’t include the metadata sent to the checkout api?
Also test mode includes receiptUrls while live mode doesn’t 👀

cerulean pineBOT
cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

fallow crane
#

How can I retrieve information about an order/payment from a receipt number.
For context, what I want to do is allow customers to leave product reviews without needing an account, to do this I want the customer to enter their email used for the order and their order number and they will then be able to review any products purchased in that order.

dapper nexus
#

Hello
I am using the PaymentElement from @stripe/react-stripe-js for my checkout page, but I want to overwrite the input validation error message. is it possible?

late turtle
#

I am looking for card.funding property from checkout.session.complete webhook. But the payload what we recieve don't have this data.

ocean coral
#

Hi,
I am working on commercetools and stripe integration. The plugin which Stripe has provided is not working as expected.
https://github.com/stripe-samples/commercetools-stripe-example-site
Can someone help me.
#dev-help #commercetools

GitHub

commercetools-stripe-example-site provides an example e-commerce site integrating between the Stripe and commercetools. Topics Resources - GitHub - stripe-samples/commercetools-stripe-example-site...

violet salmon
#

Hey, I am getting the following error while trying to create a credit note:
"The sum of credit amount, refund amount and out of band amount ($0.00) must equal the credit note amount ($1,219.80).
my request was:
await stripe.creditNotes.create({
'in_1NlRwWLCCp8UUzu2zIz5y15M'
lines: [
{
type: 'invoice_line_item',
invoice_line_item: 'il_1NlRwWLCCp8UUzu26zCzG5rB',
quantity: 100000
},
],
});

languid patio
#

Hey Guys Hope you doing fine. I need help adding tax to my invoice in one time charge. Please suggest.

odd mantle
#

Hi I'm listening for invoice.payment_failed webhook but I can't seem to find anything in the event data that tells me why it failed or something that I can use to take further action in code.

For instance I had a payment fail because of 3d secure on a test subscription plan upgrade. But both the api response and the webhook event data don't seem to have any reason mentioned, unless I missed something.

thin basalt
#

Hi...my bank account details are correct but it keep saying it's wrong....so i can't collect the fund...

safe hinge
#

Hi
While calling tax API we found that if we pass Any valid country code and wrong pincode still stripe tax api returns tax amount calculated. Is this behaviour correct?

hearty garnet
#

Hi, some of our clients are in Morocco and they can't register stripe express account. Is there any solution?

rancid plover
#

how do i fix this?

rapid solstice
#

Hi, I am facing an issue while connecting a terminal. I get failed to register a terminal in the JackRabbitService api with error - {"app_error_code":"AUTHENTICATION_FAILURE","content":"","error":"Failed to read reader info","request_id":"1693557718808","rpc_error_code":"RPC_OK"}
I tried checking the stripe documentation but did not find anything related to it. My reader shows strong connectivity with the wifi and my diagnostics passed. Please suggest

frail canyon
wide edge
#

Hi, we are using the Account Links API. When we are trying to authenticate a user it appears to not be working in our prodution. Is there anything we might be missing in our Stripe dashboard setup?

wide edge
craggy spear
#

Hii, i want a information regarding the tax while a sale the product for my e-commerce website

vapid oar
#

how to hide pay online button once payment is done

tropic lava
#

Hey, I just wanted to ask about customer-portal translations. I could not find docs on this.

uneven stratus
#

Hi! I wanted to know if there's any material difference between a Payment Intent ID and Charge Transaction ID in Stripe for a given payment.

Context:

I have a python script that, at the moment, batch processes refunds using the "Payment Intent ID" only, and wanted to see if I can use both that and "Charge Transaction ID".

So if I had the following two separate transactions for example, could this work? or will refunds only work on a pi_ reference?

pi_xxxxxxxxxxxxxxxxxxxxxxxx 30.00
ch_xxxxxxxxxxxxxxxxxxxxxxxx 50.00

near ocean
#

Hi,
In Stripe when creating an invoice through the API, is there a way to send the invoice to the customer without requesting payment (Im in the case where I've already performed charges through the API and just want to send the related invoice for those charges without requesting for payment again)

graceful cobalt
#

I am creating a platform with Stripe Connect. Does stripe provide an easy way to allow users to sell their products in their local currency, and show the buyers the prices in their own local currency? I know Stripe can do this with payments but I am talking about displaying the correct price

pure hinge
#

can you plz give me documentation to integrate one time payment?

austere abyss
vocal wagon
#

Hey there, good afternoon from India, Is there anyone who can help me?

vapid solstice
#

Hi, is there a code example (preferably with .NET SDK) where a webhook is structured in a way to handle all kind of payment methods (from credit card, over BACS, to paypal...). In the docs I see all of them separately handled, but nowhere with one solution fits all ?

rancid plover
celest glacier
#

Hey, i'm looking to provide apple pay integration for our connected accounts. We are on standard connect with direct charges. I want to provide only apple pay (for supported regions / currencies / browsers) in a separate section on our checkout page. How can i achieve this ?

worthy moss
#

hey
I am looking to enable zip code verification on stripe payment.
How can i achieve this with stripe Admin, thanks

merry mauve
#

hi

#

I have an error in the stripe settings on woocommerce

#

Can you help me?

manic marsh
#

Can you send me, the doc to create a custom frontend for checkout, which allows me to charge a product

umbral thorn
#

hi i need some help. i have some consufsion regarding stripe tax.

grand wasp
#

Hi there! I have migrated an existing integration to payment elements but seeing periodic duplicated payments which result in having to refund one of the transactions. Can't replicate this issue locally and it seems to be completely random.
Previously used the card element but there was a need to switch over so we can have access to Google/apple pay and link. I believe the issue is somehow caused by having to confirm manually using stripe.handleCardAction.
Was wondering if anyone had this issue before and if there is a workaround known? So far, logs have shown an attempt to reconfirm an already confirmed payment intent if a 3ds check is initiated which might be the cause but it can't be replicated all the time. In some instances, a new payment intent is generated and confirmed straight after the first one went through.

leaden echo
#

Hi...can i delete an connected account or external account created in stripe

fresh flame
#

hello

#

does anyone know why the stripe signature might fail

#

tried everything with no success

#

using codeigniter 3

craggy spear
#

Hello, can you help me, please check the screenshot i got this error while generating the payouts https://i.imgur.com/wPxADN9.png ?

craggy shoal
#

Hi ! Is there a way to update a SubscriptionItem quantity by calling the Subscription.update() method please ? I tried, but i have this error message :

"Cannot add multiple subscription items with the same plan"

Thanks

pastel harbor
#

Hey! I am trying to setup metered billing and seek help in validation of what I designed.
Idea is to have pack with included volume of 3 products for constant price and ability to overdraft these limits for each product separately. For example, $100 per month = 10xProduct 1, 20xProduct2 and 30xProduct3. And if user exceeds this pack, it will be $1 per P1, $2 per P2 and $3 per P3.

I've setup 3 products, each of them have graduated prices with up-to limits. I also put $100 payment into P1 for the first 10 items, other products have 0 price for the first tier of graduated prices.

For P1, Storage, I setup maximum usage value during period. I plan to create subscription with all 3 products.

What I want to setup, is that in the beginning of every month, user is charged for $100 + all the overusage. Could anyone please help me validate if my setup will work with this requirement?

neat pollen
#

payment-intent-unexpected-state

What are the reasons to get this error on stripe

mellow hound
#

hello everyone, we need to have the first instalment of a higher value and the rest recurring for 35 months at the same price. For example instalment 1 €100, and from instalment 2 to 36 €10, is this possible to set up? we have been trying for days but we can't get it 😦

vagrant surge
#

Hi, is there a way to increase the quantity of a certain items in subscription that have a lot of items?

terse nymph
#

Hi! I'm trying to integrate cards and apms in a iframe. So, I need to do a manual forwarding to the checkout pages (https://stripe.com/docs/payments/ideal/accept-a-payment?platform=web&ui=element#web-handle-redirect). But when I follow the example, I'm getting an error message You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method..
Do you have any idea, which step is missing?

Learn how to accept iDEAL, a common payment method in the Netherlands.

slim cove
#

Hi ı m Halil, in turkey. I have a problem for payment security. How can ı fix this problem?

vocal wagon
#

Why this event evt_1NlVNUGoLmBCnzj7DqFfbCj3 for invoice in_1NlVNRGoLmBCnzj7CfklbYhh does not have invoice line for remaining item?
The invoice line il_1NlVNVGoLmBCnzj7wOoPHtPC have both remaining and unused representation in stripe dashboard, but remaining line does not exist on invoice.created event sent to server

weak pine
#

Hi, how can I fix this issue programmatically:
stripe.error.InvalidRequestError: Request req_NgaQbdiAEU0z1E: Cannot create payouts: this account has requirements that need to be collected.. Please provide those fields to re-enable payouts.

Happy to provide more info ... thanks for the help!

fringe kelp
#

Hi, please help me get into my account. I have lost all my credentials and the only documents I have are my Passport and my PAN card. If you guys could help me to get back into my account. That would be great!

rapid solstice
vocal wagon
#

Howdi, we want to switch from Mollie to Stripe. We have created an automated finance flow including shop, payment, accounting, provision payment and so on in a draw.io file. We identified interface points where Stripe would make sense. I need to go through this processes with someone from Stripe, to check what makes sense, what doesn't. What would be the best way for this? I asked for meeting with strip selling department, but they have only time from next wednesday on. It's urgent because we have to go live with new setting next weeks.

pastel harbor
#

Hey, I am trying to create product with metered graduated pricing with API with request like this:

{
"id": "prod_OXuvAXypL8FOfI",
"name": "Product",
"active": true,
"unit_label": "words",
"default_price_data": {
"currency": "eur",
"recurring": {
"aggregate_usage": "sum",
"interval": "month",
"interval_count": 1,
"usage_type": "metered",
"tiers_mode": "graduated"
},
"currency_options": {
"eur": {
"tiers": [{
"up_to": 1000000,
"flat_amount": 0
}, {
"up_to": "inf",
"unit_amount_decimal": "0.01"
}]
}
}
}
}

But API returns error: Received unknown parameters: aggregate_usage, usage_type, tiers_mode.
How can I create product with price by API?

vocal wagon
#

An issue has been causing serious issues for over a week now. I have been passed from host to plugin devs, and back and forward. The issue seems to be with the GravityForms Stripe plugin, or the connection to Stripe.
The error mentions Content Security Policy - there is no CSP setup on the site or host. See: https://cspvalidator.org/#url=https://bdng.org.uk/test-stripe-form/

ionic radish
#

I have a custom checkout flow where the user builds their cart through my site then it links to stripe checkout. However I have an issue, the website design product I have offers it being hosted for the customer, this needs to charge monthly as a subscription. Can I add a subscription as a line item as well as the one time purchase website product, or do I need to do two separate checkouts?

reef spear
#

Hello
I have a subscription plans on my website and I am using JS checkout for the paymants.
On the next period the users will charge from same card. But I would like to give an option to user that they can change the card details for the next billing cycle. How it would be possible?

Thanks

deep sluice
#

Hi! Is there any current problem regarding autopayment for Canada located users?

royal shard
#

Hi guys I am having some issues processing payments on production. I am using Laravel and when I do a charge on local env everything works fine so my API calls 2 methods which are the payment_methods and after the payment_intents but when I do it in production with it calls the payment_method with a 200 but never tries to do the payment_intents so no transaction is reflected in my dashboard. I am thinking this could be due to some bank accounts now have the manual verification before a transaction and I need to setup this somehow but I don´t really know how

timid lagoon
#

hello can someone help me with storing customer id ?

eternal orchid
#

hello @here

#

i don't have access to my phone how i can login to stripe without 2fa?

night coral
#

I am creating a saas application using nodejs. So Once a client is requesting for a service, I will create payment intent using auth and capture and capture the amount after 5 days. How can I give the amount to my service provider in this flow. Looking forward your prompt response

sly adder
#

Hey, working with Stripe Connect (Custom integration), I was wondering if there's something that exists to override a Connect account's payout schedule delay_days when a specific condition is reached, e.g. "Payment over $10,000 received on the account" => "Update payout schedule delay_days to 3 days instead of "minimum".

sturdy cobalt
#

Hi I am facing an issue i am trying to update an ongoing subscription

#

Is there is a way just to update discount coupon

valid elk
#

Hello, hope you are well. I am building a marketplace where I am trying to transfer to multiple connected accounts after one checkout session. Similar to the following https://stripe.com/docs/connect/separate-charges-and-transfers#collecting-fees but with a dynamic number of connected accounts.

When testing I am getting insufficient balance errors, this seems to be due to the payments being in a pending state for a while before being available. Is there anyway to transfer immediately after checkout when fulfilling? If not, is there a suggested approach with this model?

Any help or pointers here would be much appreciated, thanks in advance!

Learn how to use Connect to create charges on your platform account on behalf of connected accounts, perform transfers separately, and retain funds in the process.

icy bough
#

Hello I just made an account but after the verification I got this message (Your business does not meet our Terms of Service
Your business doesn't meet our Terms of Service and therefore legally cannot use Stripe services. If you think this may be a mistake, please contact us.) But I dont know why?

zealous pelican
#

Hello, I'm trying to figure out if I could use usage-based (https://stripe.com/docs/billing/subscriptions/usage-based) billing to manage subscriptions in a lazy way and yearly.

We sell a software and we'll have "classic users" they can buy a license individually which is fine, and then we're trying to build a system so that licenses can be managed in bulk by a company admin. I'd like to avoid buying in bulk because it means only 1 subscription with a quantity set to X. Meaning that if they don't want to end up buying a seat every week, they'll pay for example 100 licenses even though some people will start using those after 6 months, and will lose the first 6 months.

So to get the best of both worlds and have admins not paying for new seats every now and then, I'd like to have admins being able to set (on our side) a cap for the company, and while it's below that cap, we could bill automatically when a new person with an email from that company joins.

Is it possible to achieve this with usage-based billing so that new users from that company will have a licenses counted only from the first time they use it and for the year?

Learn how to charge customers based on how much they use your product or service.

gleaming patio
#

Hi,
We currently use Stripe bank transfers and I was wondering the best way to get the bank account details. Currently the way we do it is once a payment intent has been created we use the display_bank_transfer_instructions to get the details like acc number and sort code and save them but wondered if there was a way to just get the details before a payment intent?
Thanks

vagrant steppeBOT
#

dannnnnnnnnnnnnnnnnnnnnn

surreal rain
#

how to get floating progress from update firmware function for M2 reader ios platform

woven scaffold
#

hi there, we have a rather complicated setup if someone can help us understand how we may approach what we call "backwards billing":

Products:

  • a monthly flat fee -> $20
  • a metered usage item -> $1/unit

Goal: set up subscription with products any time in the month (e.g. September), report usage for September, but only bill them for current usage (and flat fee) at the end September

Two Scenarios:

  1. New users
  • we want the billing cycle to always start at the beginning of the current month. i.e whether today is September 1st or September 25th, always have billing cycle start at the beginning of the current month
  • During September, any metered usage will be recorded
  • They do not get an invoice until the end of the billing cycle (i.e Sept 30th) for their September usage: flat fee plus metered usage
  1. Migrating existing users
  • we want to enrol our users into the same scenario as above
  • report usage so that it reflects September usage
  • They get an invoice at the end of the billing cycle (i.e Sept 30th) for their September usage

Given both scenarios, what's the setup we'd have to do from the subscription perspective to make this possible?
From what we understand, billing_cycle_anchor could be set to Sept 1, but it would invoice the customer immediately, which is not what we want
And if we use backdate_start_date = Sept 1 AND billing_cycle_anchor = Sept 30 then is that what we're looking for?

worldly portal
#

Hi

pure hinge
#

is success url mandatory when create checkout session?

deep idol
#

@everyone why dose stripe take 1 hour delay to charge the subscription form the customer?

gritty fossil
#

When retrieving a checkout session - how do I see what delivery option a person picked?

red pine
#

getting this while trying to save payment method -

Traceback (most recent call last):
1: from (irb):8
PaymentGateway::CreditCardRejection (Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.)

dusk crest
#

Hi!

I work for a SaaS company and we use an inhouse subscription system and we use the Stripe's API to charge our customers. Do you know if there's a way to mark a transaction as recurrent using the API? I mean, like a second token for the user card or something like that

grim sapphire
#

Hi, this might be a seemingly simple question, but I just want to make sure.

I want to implement a system where the user chooses their plan, then proceeds to another page where they select the number of messages they want, and finally, they go to checkout.

So, I suppose that I'll need to create two products: one that is recurring (for the subscription) and one that is one-time (for the messages).

Does this appear to be correct, or is there a better way to approach it?

Thanks.

dawn folio
sly adder
#

Hey, working with Stripe Connect (Custom integration), I was wondering if there's something that exists to update the payout schedule when a payment is created so it overrides the payout schedule of the account? *(already asked a similar question earlier today but this is a slightly different ask) *

north lagoon
#

hi, i have a question. For us, many subscription renewal has failed and then cancelled due to an error " Automatic collection for this invoice was turned off". This is mostly for Alipay. Would like to understand, what does this error means and what kind of setting is required to avoid it? Please note, some of the users of Alipay have successfully renewed their subscription but some of them couldnt due to the above error. We ahve also enabled recurring payments for Alipay.

sleek plank
#

Hello, i'm having trouble setting a param in stripe cli command "trigger", i'd like to set the checkout session id to a certain session that i wanna make completed, how do i do it?
stripe trigger checkout.session.completed ....?

vocal wagon
#

Hi,

I'm using Stripe connect and I'm letting connected accounts decide when they want to trigger a payout. I want to track which payments end up as being part of these manual payouts. How I can find the last payment for which the fund have become available for a payout?

tiny light
#

Hello, we have an unfortunate situation where a bug unfortunately deleted a large number of customers (and their credit cards) through the API. we are aware the API documentation says deleted customers cannot be restored, but we were wondering if there was maybe a grace period or some sort of process we can go through with Stripe support to restore this data if caught quickly enough?

spark silo
#

Hello. I am working on a paid API, using a payment table I made.
After I create the session and user checks out the webhook is validated. But where do I trigger a new "metered billing" and how do I store the customer info? What do I need to store?

rain shore
#

Hello! I am migrating users with their payment methods (cards) to Stripe, so we created a migration process, but I'm receiving a lot of errors when attaching the payment methods to customers because of soft declines (do_not_honor, generic error, etc). This is confusing to our users because they added their payment methods and now their payment methods are not being accepted by Stripe. Can I attach the payment methods without triggering a validation only for those users? like creating "trusted payment methods" or "already validated payment methods"

rich flame
#

hello stripe, is there any possibility to add taxes to payment links? like a similar way when i create a Checkout Session with the "tax_rate" key

short blade
#

Hi! I am trying to integrate the CVC recollect but I want to do it in a different flow than the payment, for example when I log in on a new device, I can revalidate the cards by recollect again the CVC, is there any way to do this?

weak bridge
#

Is there a way to handle a customer mailing in a check for an invoice, and reporting that payment to stripe to mark the invoice as paid?

vapid tide
#

How would i go about handling a subscription using the webhook endpoint and assigning items

uneven wolf
#

Hi I've been trying to successfully start the partner program on Medium through Stripe and I have set up my bank account details, my tax ID and w9 info but I'm still confused. On your page where it tells me to Choose how to start collecting payments
Get started fast with a no-code option or explore customizable UIs that integrate with our APIs.
Which one do I choose for Medium?

compact blade
#

Hello, question about how to migrate users from one subscription to another. We have about 10 paying customers and would ike to change the offering. Is there an easy way to forcefully change the subscription without having to interact with the user?

fierce vessel
#

Hello, is there anyway to retrieve information on upcoming invoices via the API (e.g. total amounts, taxes, discounts)?

haughty adder
#

hi there, just a question about adding a product. I am following a training to add a product and I am not seeing the field "Product tax code"

manic marsh
#

Is there any docs regarding creating a custom checkout on your own site using stripe and web elements?

meager adder
#

Hi, I was integrating stripe. But have a doubt. In production, when I do payments confirm with stripe and lets say stripe returns with a 5xx . Then later if I receive a webhook , how do I process it since I don't know the payment id already ? Now I am sure stripe would not return server error but would still like to handle for this case 🙂

valid yarrow
#

Hi there, as we were making changes to this Customers (cus_DdCFLlYmW1BYfC) Stripe Subscription through the Dashboard, we noticed that they had a schedule that made changes to the accepted payment methods for the customer. We have never seen this type of scheduled change before and can't find any evidence of it being added in the logs. We use the SuiteSync integration but we also weren't able to find any evidence of changes to the accepted payment methods in our Netsuite instance. Any ideas what might have caused this change?

hollow garden
#

hey Stripe Team, I have some issue here with connect my WisePad 3 to a Android device through stripe terminal react native SDK,

I am able to discovery the readers with 'bluetoothScan' , the problem is when I connectBluetoothReader, I will get status of 'connecting' and after 10-20 seconds , I will received error: "READER_ERROR.BLUETOOTH_DISCONNECTED", "message": "Bluetooth unexpectedly disconnected during operation."

I also have a M2 machine, with the same code I have will works find on M2, but not WisePad3, is there anything I should change specifically for wisePad?

pure hinge
#

how can I get client secret after create checkout session?

spark silo
#

Hello. I constantly get this following error:

 Webhook signature verification failed. No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? https://github.com/stripe/stripe-node#webhook-signing```

With my NextJS route:

```tsx
import { NextApiRequest } from "next";

const endpointSecret =
    "<removed>";
const stripe = require("stripe")(
    "<removed>"
);

export async function POST(req: Request, res: Response) {
    const payload = await req.json();

    const sig = req.headers.get("stripe-signature")

    let event;

    try {
        event = stripe.webhooks.constructEvent(payload, sig, endpointSecret);
        console.log("🚀 ~ file: route.ts:11 ~ POST ~ event:", event);
    } catch (err: any) {
        console.log(`⚠️  Webhook signature verification failed. ${err.message}`);
        return new Response(err.message, { status: 400 });
    }

    // Handle the event
    switch (event.type) {
        case "payment_intent.succeeded":
            const paymentIntentSucceeded = event.data.object;
            console.log(
                "🚀 ~ file: route.ts:20 ~ POST ~ paymentIntentSucceeded:",
                paymentIntentSucceeded
            );
            // Then define and call a function to handle the event payment_intent.succeeded
            break;
        // ... handle other event types
        default:
            console.log(`Unhandled event type ${event.type}`);
    }

    return new Response("ok", { status: 200 });
}

How does this come?

scenic hound
#

Hello, Is there a way to apply the same coupon to multiple invoices? As in, if I give $250 off to a customer, and the first invoice is only $200, it only uses up 200 of the coupon and the 50 dollar will be applied to the next invoice. Do you have any recs in how to manage that?

mossy dagger
#

hello your help please. I only want to accept card payments from banks only in the US, if it is from another country, I can deny the payment. Could you help me with this case please, thank you.

oblique dust
#

Hello, when there is a draft invoice, (and before it renews), a customer may cancel their subscription. So this leaves the invoice in draft state permanently. What is the best way to transition this invoice to "open" state, so we know it is no longer draft. Eg. finalize invoice? Or set auto_advance=False? Or etc??

pure hinge
crimson cosmos
#

Hi, I've been implementing the Stripe Connect API and using it to transfer money to users accounts. It seems like the best option is to do a "transfer", which I have working, but I'm looking for the user to have to ability to opt for an instant payout. I can't seem to find that option though. Can you point me in the right direction?

ivory prawn
#

Hi, what this Tax are archived? And in the Chechout or payment are enabled in the json?

#

This is the json

#

And this is the tax

pure hinge
wraith ibex
#

Hello, will you guys be adding a shipping address option? If there is one how to I add it..

vagrant steppeBOT
#

TaniaObando

earnest lintel
#

Hi there. We have our customer portal configuration setup to only cancel subscriptions at the end of the period. Is there a webhook event we could listen to to know when a customer does set the subscription to cancel? I don't want to use customer.subscription.deleted because thats too late

manic marsh
#

How can I create a checkout that allows me to be able to charge for a membership or product?
And possibly link it to an affiliate as well?

spark silo
#

Hey. Is the http://localhost:3005/success?session_id=<id> something the user should see? Or should I somehow remove the session id?

shy peak
#

Hey @everyone, I'm using Stripe's Payment Request Button in my React app. I expect it to render Link when Apple or Google Pay aren't available, but I find that doesn't happen on Firefox.

manic loom
#

Can I show upcoming subscriptions on the customer portal?

raven niche
#

Hello, to the whole stripe team I have a kick streaming transfer from June 30 another from July 31 another from August 31 I receive when it has been 3 months in progress on my bank account

urban marsh
#

Hi, my stripe account embebed to shopify is declining all my payments due to high risk, but the payments are not high risk. Would like to know if someone helps me solve that, stripe decline the cards because it identify all the payments as high risk

lyric idol
#

Hi, Y'all. My backend is implemented in Go, and I need to write a function that takes a promotion code string parameter and returns a stripe Coupon object. It seems like the way to do this is first list all promotion codes, then search the returned list for the matching coupon. Is that the right way?

Also, was hoping to use filters to streamline the code a bit, but I can't for the life of my find any documentation about how to use filters. Is there any such documentation, or it just the code and the package documentation on pkg.go.dev?

vocal wagon
#

Hi guys, anybody knows why I cannot create payouts?

opaque plaza
#

Hi all, I'm got stripe checkout integration (using ruby, Stripe::Checkout::Session.create) that takes users to a stripe's checkout page in subscription mode. These users have already created saved payment methods (credit cards and bank accounts) but they aren't visible when checking out. How can I get them to be visible to the user (so that the user doesn't have to re-enter their CC info)? Thanks!

sudden yoke
#

hi, if we make a backend api call to pay by payment method (e.g. a 3ds card), it comes back with status=requires_action. Where can we find the URL of the issuing bank to redirect to in the front end for the 2FA?

vital quarry
#

hi. i have a small issue with Stripe Connect + Elements regarding Gpay/apple pay

split cargo
#

Hello 👋

This page: https://stripe.com/docs/treasury/examples/moving-money

Shows two examples of creating a SetupIntent server side. The first example shows a routing and account number on the server, but the second example does not. I assume most people would not want the account number on the server right? Shouldn't most people then follow the second example?

lyric linden
#

in building a marketplace, would it be safe/good practice to store a stripe customer ID onto an order object in my DB?

pseudo yew
#

Does Stripe Radar prevent fraudulent cards from being utilized when a user signs up for a trial or does it only activate if a user is making an actual payment?

lavish tapir
#

Hello 👋 I have a question about including backdate_start_date when creating subscriptions with metered billing during the billing cycle. I did some tests on our sandbox account for creating a monthly subscription with a billing cycle anchor set for the 11th of the month and metered billing. I noticed in the upcoming invoice, the time duration listed for the metered price always says "Sept 1st - Sept 11th" regardless of whether I provide a value of backdate_start_date.

However, if I create that same subscription but with a trial period that ends on Sept. 11th, in the upcoming invoice the time duration listed for the metered price does change: if I don't provide a value for backdate_start_date, it says "Sept 1st - Oct. 11th", but if I do it says "Aug 11th - Oct 11th". Why would the backdate_start_date be respected in the case where the new subscription is trialing but not if the new subscription is active?

cerulean parcel
#

I'm in step 3/4 in integrating my stripe account, how do I proceed

craggy plover
#

Hi, i have a question about connecting stripe api in python to confirm payment, how do i do that, i'm a beginner

agile spear
#

Hi 👋 - is it possible to use destination charges with a standard connected account? or only with express and custom connected accounts?

violet mantle
#

Hey in test mode Paypal option also comes up as in live mode only card.

#
 const paymentIntent = await stripe.paymentIntents.create({
    amount: calculateOrderAmount(items),
    currency: "eur",
    // In the latest version of the API, specifying the `automatic_payment_methods` parameter is optional because Stripe enables its functionality by default.
    automatic_payment_methods: {
      enabled: true,
    },
  });

how can i also have this with const paymentIntent = await stripe.subscriptions.create({

opaque plaza
#

Previously I was using Stripe::Checkout::Session and passing the following params to create 2 line items (which were subscription line items). Now I'm using Stripe::Subscription and wondering how I convert the second item. How can I convert the following item: product_data: { name: "A short description", description: "A long description, },. Seems like there's a product key but I'd like it to be one off. Is that possible?

verbal moon
#

How Stripe keep track of units used on Graduated pricing

cerulean pineBOT
cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

terse jetty
#

first

vocal wagon
#

Yes yes

scenic prism
#

Hey guys, just been trying to find some info regarding subscriptions and how and when the next cycle gets billed. I found here on this page (https://stripe.com/docs/billing/subscriptions/webhooks) that the invoice.paid webhook is called when a recurring payment is made on a monthly or annual cycle. But am not quite sure in what monthly cycles this is made. So for Annual I am expecting it to be on the day after 365 days. But at what time? is it precicely 365 days on the second? Or can it vary?

And more importantly on the monthly cycle. Is it a fixed 30 or 31 day cycle? Or is it always on the same day of the month that the subscription started? And what if its 29th or 30th or 31st (a day that is not available on all other months) ?

arctic grail
#

Hi, does any one know if Paypal Adaptive payments is still working or is it now PayPal Market Place? as we are using Dokan and are looking at using Stripe "Single Seller Mode" and Paypal as Multiple User Transactions 🙂 reason why this way is because Stripe Refunds only seems to work on Direct Charges on Single Seller Mode.

compact kelp
meager hinge
#

Hello.

I have a question about the Stripe Webhook Retry policy.

Question 1. It says on your website that you support exponential back off retries in production environments. Is it possible to know roughly when the retries occur from 1 retry to 5 retries?
For example, the first retry is 1 second after the failure, the second retry is 2 seconds after the first retry, the third retry is 4 seconds after the second retry, and so on.

Question 2. Your website says that the test environment will retry 3 times over the course of several hours. Can I get an approximate time from the first retry to the third retry?
For example, the first retry is 1 hour after the failure, the second retry is 2 hours after the failure of the first retry, the third retry is 4 hours after the failure of the second retry, etc.

olive heron
#

Hey there, I have more like a general question: I already use Stripe + Address UI Element in my application. Would it be insane to use the Address UI Element for another purpose that has nothing to do with Stripe? After the user has logged in, he can create his store location. I'll then send this data to my database, instead of Stripe. Since Stripe works wonderful with autocompletion (Google Maps) already I was thinking about using it for this purpose as well. Is this recommended?

autumn halo
#

Hi I am wondering how to build an affiliate / referral link that my customer could send to a new potential customer on the web. I would like the new potential customer to make an account first then buy the subscription. Then the existing customer who generated that affiliate/referral link could get rewarded.

cobalt kraken
#

Hello, when I refund an order on the stripe dashboard, can I receive refund notifications through webhook?

vagrant steppeBOT
#

renlaer057

vocal wagon
#

Hello! I'm using a checkout session to get a payment URL. I am using a custom optional field during the checkout process. How can I add this to an invoice ? Now I only see optional and non-custom fields inside the invoice.

ocean kayak
#

Hello I am writing code for when a subscription is successfully paid. I am double checking that the webhook I should be listening for is 'subscription_schedule.completed'?

olive heron
#

Hey @golden cosmos I asked previously if I should use the UI Address Element for other purposes. I need a client_secret to render the Address element... So should I just create a payment/setup intent to retrieve the client_secret or are there other ways as well? Since I only want to use the Address element and use the data for stuff that has nothing to do with Stripe

green anvil
#

Hey guys, Create a payment intent for a subscription product?

vocal wagon
#

Hello, I need help regarding stripe fees.

wind parrot
#

Hello

#

I need Help my account paused because of Business cant identify

echo coral
#

Hi,
Can I make product images, shop logo in Stripe hosted page while making payment with Stripe checkout ?

craggy spear
#

Hii, Can you help me how can i access the connected account with the stripe connect i want to login with that connected account

ripe drift
#

Hi, what is the best way to handle currency change for a customer in Stripe?

carmine stag
#

Hello, I am launching a donation subscription on Stripe. There will be a delay on the migration of our cards due on the 18th but I want the billing cycle anchor to start on the 18th . If I start on 18th of Aug with prorations turned off and anchor for the 15th of every month , would there be any implications for this?

serene drum
#

Hi, I see that the API supports creating a product with an array of features. When calling the GET API in Golang, I can't access this field, but when getting the product with the Stripe CLI it is available. Is it just that the Golang-SDK does not support it yet?

lament marsh
#

Hi, our clients get invoiced every time their subscription is updated.
Is it possible to update the description in the invoice and to just show the amount that was charged?
We wanted to simplify the invoice to not add confusion on our clients.

drifting delta
#

Hi, I have a question regarding applying a coupon to an existing subscription

uneven fiber
#

Hi, Is there a reliable package used for Stripe integration in flutter?

green anvil
#

How to establish payment intent for a subscription?

dry hatch
#

@green anvil let's continue on your thread

crystal jetty
#

hii,

i want to make a card just like address element in stripe.js but in that card i don't want to show line one ,line 2, state and city but there will be country and according to country there will be postal code

alpine canopy
#

Hi there, I am having a problem receiving a Stripe receipt email for apple private relay email like "example@privaterelay.appleid.com."
Is there any reference for this case?

alpine knoll
#

Hi folks, using the Express Checkout Element, is there any way to programmatically cancel out of a payment? For example, a customer selects a shipping address within Google Pay / Apple Pay that reduces their amount payable to $0 (e.g. lower rate of tax, eligible for free shipping, etc). Attempting to update the order amount to $0 understandably results in IntegrationError: Invalid value for elements.update(): amount must be greater than 0. In this scenario, we would like to close the Google Pay / Apple Pay modal so that the customer can continue their free checkout onsite.

night coral
#

Hi there,
Which are the payment methods I can use for the auth and capture using destination charge.
And one more question, When the 7 day time starts for the auth and capture, when the intent is created or charge is created?

wild plank
#

Hello ,actually i implement stripe and then enter bank details so some issue are facing

cobalt kraken
#

Hi, when the order is actively canceled, the payment_intent.canceled event is sent, and I cannot find the order according to the "id": "pi_3NmsjQILBklWVE7i0ZC3om71". Because this ID is not returned to me when I create the checkout session, what do I do?

hexed prairie
#

Hello, For example, I have a subscription that is due for payment on the 5th. I first pause payment collection by setting pause_collection. Then, due to the time point, the invoice for the payment on the 5th is generated in draft status. Then not long after, I unpause the subscription and set The billing_cycle_anchor is now and the payment is collected immediately. Then not long after, I found that the invoice for the previous draft was also paid, which resulted in repeated payments. Can someone help me explain what this is and what should I do better? Thank you.

crystal jetty
spring folio
#

Hello, anyone know how to test subscription with failed payment. I tried to use advanced time for that, and did update payment method exp. card current month (only option I can do) no matter how many time I do advance time, it is charging the card in future months. I can't update payment method with test (declining cards from this list: https://stripe.com/docs/testing)

dry hatch
#

@crystal jetty let's continue in thread

crystal jetty
#

@dry hatch ok i"m waiting u there for response

amber maple
#

Hello. I have a node app that is integrated with the stripe app and provides per seat subscription method.

If a user buys 'n' seat for a year initially and he adds a few more seats after a month or so, is there a way to charge him immediately, so that we don't have to wait till the next billing invoice ?

vocal wagon
#

Hi there, is there a webhook called something like "payment method set to default" e.g when someone from the dashboard forces default payment method ? First I thought it would be in the payment_method.updated payload but I couldn't find it on the doc https://stripe.com/docs/payments/payment-methods. Any clue ? (I know the card is expired in my screen but my very point is the "set to default" event)

austere abyss
#

Hello devs, Since Morning i faced this type of issue, Did you know why this happning..?

{"code":"0","message":"Funds can't be sent to accounts located in GB when the account is under the full service agreement. To learn more, see https://stripe.com/docs/connect/service-agreement-types."}

hearty palm
#

Hey, I have the following issue:

In Customer C1, there's a subscription S1 (attached with invoice I1) with quantity 5.

Now if I want to increase the quantity from "5 -> 10" in the current subscription cycle. Following is happening

  • Update the subscription S1
  • It generates a new invoice I2 (with prorated price)
  • If the payment to invoice I2 succeeds, everything's fine.
  • But if the payment fails, how do we revert the updates in the subscription S1 (i.e. quantity "10 -> 5")

Please let me know if there is any other way to update the subscription, where the update happens only after "payment_success"

ruby sequoia
#

hi!

#

The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first.; request-id: req_I2lt0VZoLSVcBd

What error is this?

vocal wagon
#

Hi, we are trying to use paypal with stripe connect. My coworker had contact with the stripe support and was told that paypal is not available for direct charges.
But I am pretty sure we are using separate charges and transfers, maybe I understand something wrong.
Can you let me know if the following code that shows the workflow how we use stripe.net is not separate charges and transfers?
I can't figure out what's the issue.

-- Create payment session for the user
var options = new SessionCreateOptions
{
    Mode = "payment",
    LineItems = lineItems,
    PaymentIntentData = new ()
    {
        TransferGroup = transferGroupId,
        Metadata = metaData
    },
    SuccessUrl = _options.PaymentSuccessUrl.Replace("{orderId}", order.Id),
    CancelUrl = _options.PaymentCancelUrl,
    ShippingOptions = shippingOptions.Any() ? shippingOptions : null
};
var session = await _sessionService.CreateAsync(options);

-- A few weeks later initiate the payout to the connected account
var transferCreateOption = new TransferCreateOptions
{
    Destination = shop.Client!.StripeAccountId!,
    Amount = Convert.ToInt64(transferAmount * 100m),
    Currency = "eur",
    TransferGroup = order.StripePayment!.TransferGroupId
};
await _transferService.CreateAsync(transferCreateOption);
halcyon glade
#

Hi guys,
I have a question about sending an email with a receipt after the customer has purchased a product.
I would like to test the checkout process by sending an email in test mode, I have activated the send email option but I get emails.
Do I need to do something somewhere?

little void
#

Hello,
I have a question regarding Stripe Connect,
We are using destination charges with application fees in order to move money into connected accounts of Express type.

Now we are going to implement account removal for such accounts.

As per Stripe API documentation -
https://stripe.com/docs/api/accounts/delete
Express accounts created using live-mode keys can only be deleted once all balances are zero

How can we achieve this zero balances?
Are there any recommendations how to achieve this?
Should we update account capabilities to block any incoming transfers and wait until future scheduled payouts
that will move all money to banking account?

What stripe will return if balance is not zero on delete request? How to reproduce this behaviour in the test mode?

Can refunds be executed if connected account has been removed?

reef spear
#

Hello
I would like to enable access to raw card data APIs
What i should do?
Thanks

sturdy cobalt
#

Hi I want to update a subscription with the coupon null like:
or need to remove coupon from a subscription

sullen nova
#

Hello, the customer failed to pay, how do I get the reason for the payment failure in the response?

crisp oasis
#

Hey, I have a problem I have to implement a functionality that let suppose one user has taken a subscription plan of my application with a quantity of 5 plans and he has 2 clients with whom he shared redeem code of his plans and their clients redeemed that code and they also subscribed the application
so here only 3 of plans or quantity has been used and 2 of 5 remained unused so I want that the user should not be charged for this 2 unused quantity of subscription plan.
How to achieve that? and if achieved how to test that?
Will adding these keys could solve my problem?

 const price = await stripe.prices.create({
      unit_amount: unit_amount,
      currency: currency,
      recurring: {
        interval: interval,
        interval_count: interval_count,
        **usage_type: metered**
      },
      product: productId,
      **tiers_mode: 'volume',
      billing_scheme: 'tiered',**
      unit_amount_decimal: unit_amount_decimal,
      product_data: {
        name: product_data?.name
      }
    });

I have added usage_type = metered and tiers_mode: 'volume',
billing_scheme: 'tiered',

azure shore
#

Hello, i want to perform a payout to a customer, but when trying to perform it says that it can't find the bank account token. even do it says in the stripe dashboard that the account is completed. the error message: No such external account: bankaccounttoken.

austere abyss
#

Hello team, im faced error while payout user, like Funds can't be sent to accounts located in GB when the account is under the full service agreement.

spring sedge
#

Hi, Can I make changes in the information schema for custom queries on Sigma reports?

terse lodge
#

Hi - I am using Connect and I want to let people pay us in both EUR and GBP. I currently only have an EUR bank account tied to my Stripe account, and whenever I pay in GBP in the test environment the charged amount is converted to EUR, and then the transfer amount, while defined in GBP is also converted to EUR. The only way to have GBP all the way is for both us and the connected accounts to set up GBP bank accounts, right?

vocal wagon
#

Hi, could you restart a verification process for a customer of us? Where can I send you the User ID?

unborn geyser
#

Hello team, I have a question;
I was checking this demo link (https://typographic.io/#/pricing ) but I am not sure if it's woking fine. If I choose Starter plan and I use 10.001, price is 10.01 (seems ok ) but if I choose Growth plan and I use also 10.001 the price is 20.01, but in Growth plan the usage is 50.000 so price should not increase whenever the use is more than 10.000 right?

#

thanks in advance

next solstice
#

Hi, I just have a quick question about the stripe terminals sdk... we are using the wisepos 3 and I'm unsure about how long I need to set the timeout to last the USBDiscoveryListener? We only have one usb connected reader (which can be connected or not, if not then TTPA or Bluetooth is tried) - but yeah, I'm not sure how long the timeout should be, since when I set it to 0 the usb discovery doesnt end at all? or am I doing something wrong? thank you! ❤️

ornate fog
#

Hi guys, I have a question. We have implemented Stripe Subscriptions, however Im seeing 2 records on the stripe dashboard for each subscription , first record has the payment intent as description , and second one has "Subscription creation" is this the default behavior? Or customers are being double charged? Check img

high hill
#

Hi, I have a question about stripe API. I am using apigee to get the call the stripe balance transaction api. But since the api can have lot of data , I am using pagination. But again there will be lot of calls to stripe. suppose 30,000 records will have 300 calls to stripe. Is my understanding correct and is there any efficient way to achieve this?

vocal wagon
#

Hello to make a payment several times what are the possibilities ? I see Klarna but i don't know . And what is the solution for unpaid too ? Thank's

steel oriole
#

Hello, we are currently working on implementing several new webhooks and would like to (test) send some radar events. I've searched through the documentation, but cannot find any way to trigger specific events for a (test) payment. Not even with the stripe CLI tool; that seems to allow us to trigger specific events, but no radar ones.

Is there any way I can trigger a radar event, such as radar.early_fraud_warning_created, manually for test payments so we can fully test the webhook integrations?

vapid solstice
#

Hello, can someone explain me why subscription status becomes "active" (with subscription.updated event) after it was "incomplete" while still waiting for payment to finalise (bacs debit)

event id(where sub is created in excpected status: incomplete): evt_1NmuxGJbFADqUCtGvqQGi8OM
event id (where sub is updated and became "active" - idk why?): evt_1NmuxGJbFADqUCtG0kPcKVzY
subs id: sub_1Nme4OJbFADqUCtGOCaFdJBg

Another question is why sub didn't become cancelled, after payment failed (after 3 minutes needed for processing bacs in test mode) ?

pulsar hull
#

Hello everyone,

I have a question regarding the payment intent API I'm currently using with the destination type set to "charges," where I'm collecting fees in the main (platform) account. Now, I'm interested in collecting fees in other accounts. Specifically, I've already collecting 3% as application (platform) fee and I want to collect 1% for feesAccount1 and the remaining 2% (making it $97) to be transferred to the user who should receive the funds. I'm thinking of implementing this using a group payment intent transfer.

My question is, is this a good approach, or does Stripe provide functionality for having separate bills related to the platform account? Because in the described flow, I would need to create two connected accounts to hold my platform account fees.

Thank you for your insights.

wet hazel
#

Hello @bleak breach, @dry hatch, @meager hawk and other members.

austere abyss
#

Hello team, in account settings UK not showing

azure shore
#

Hello, i want to create a customer stripe account with the stripe.account.create function, with out redirecting the user to the stripe accountLink so that i can use my own url and css. but i am running in to a issue because i get the error: Missing required param: external_account[account_number]. i think it is because i did not provide the individual verification document.

vocal wagon
#

Hey folks, we have just updated our SSL Cert as the old one had expired, we have successfully installed it on AWS however we are having an issue with Stripe webhooks failing. Can you offer any suggestions on how we can overcome this issue?

stray jolt
#

Hi team,
While testing recurring payments with 3D secure cards, i'm not getting email on customer email for confirming payment.

candid quarry
#

Stripe types not lining up

crystal jetty
#

hey there
i want to develop a telephony widget on stripe app using webrtc and i have my ow servers on which user can call directly call through that and take payement is this possible o stripe app ?

dreamy tangle
#

i need help to this! to process the payment through stripe keeps saying this! i used the key of another stripe account on this website! it worked! when i decided to change to the previous key it didn't work

high hill
#

Hi , can we get a file as a response from the balance_transaction api which contains all records (paginated one also)

ornate fog
vocal wagon
#

Hi,

I have a weird issue with Stripe CLI. I'm making calls to retrieve balance transaction list or payout list. For example : stripe balance_transactions list --stripe-account 'acct_123 . When doing this from this page (https://stripe.com/docs?shell=true), I get the expected results. But if I execute the same exact line from the dashboard (https://dashboard.stripe.com/test/dashboard), it seems the --stripe-account argument is ignored and I get a different list as result. The resulting list seems to be the one from the main Stripe account, rather than the one for the connected account I'm interested in.

Am I doing something wrong? What's going on?

unborn geyser
#

Hello.
We want to implement a pay per use system in Stripe, point is that we want that additional uses that goes above the flat fee will be charged with predefine packages that clients will need to buy in advance.
Using the example of the image, if the user purchases the starter plan and reaches the 10000 requests limit, he can buy a package of 1000 more uses and will be charged instantly.
Is this possible with this billing model or would we have to manage each new package as a different product and keep track of the usage outside of stripe?
thanks

distant eagle
#

Hello, I am looking for BNPL in singapore using stripe. I am unable to find any option and just wanted to asked if there is any option available.

Grab would be the best but stripe says to ask customer support about BNPL using Grab in Singapore

prisma steeple
#

I can see an event (evt_0Ndt2GEHSdXPilfDch8e0ICn) was raised at 11/08/2023, 11:57:39, however as far as I can tell we didnt receive the event until 11/08/2023 12:28:22.225. Is this a possible scenario e.g. a delay in sending out an event

patent torrent
#

hello , while ı try to integrate stripe in my spring boot app , ı got an error called "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 ..." and ı use test card from website but ı couldn't solve this problem.

public StripeTokenDto createCardToken(StripeTokenDto model) {
try {
Map<String, Object> card = new HashMap<>();
card.put("number", model.getCardNumber());
card.put("exp_month", Integer.parseInt(model.getExpMonth()));
card.put("exp_year", Integer.parseInt(model.getExpYear()));
card.put("cvc", model.getCvc());

        Map<String, Object> params = new HashMap<>();
        params.put("card", card);
        Token token = Token.create(params);

        if (token != null && token.getId() != null) {
            model.setSuccess(true);
            model.setToken(token.getId());
        }
        return model;
    } catch (StripeException e) {
        log.error("StripeService (createCardToken)", e);
        throw new RuntimeException(e.getMessage());
    }
}

@Data
public class StripeTokenDto {

private String cardNumber;
private String expMonth;
private String expYear;
private String cvc;
private String token;
private String username;
private boolean success;

}

and this is the dto ı use while posting
{
"cardNumber" : "4242424242424242",
"expMonth" : "12",
"expYear" : "34",
"cvc" : "123",
"username" : "Zhang San"
}

#

ı know here is not stackoverflow but ı couldn't solve it

finite mural
#

Hi, @all Can anyone help me with blocking a user in the backend (node.js) who is making some illegitimate transactions on the project website using the Stripe payment method.The person is using different credentials every time.

vocal wagon
#

Can I make 0 cents invoices in stripe?

late turtle
#

Hi

#

I have a query about test cards

austere abyss
#

Hello team hope you all doing well, i'm faced error - Routing number must have 9 digits

while creating US based create bank account for connect

odd mantle
#

Hi! Is there a way to keep users on their existing plan on stripe if their plan upgrade/downgrade payment fails? Right now if I move them from, lets say, Basic plan to Pro plan using stripe.Subscription.modify() (https://stripe.com/docs/api/subscriptions/update) and their existing card gets rejected, they are moved to Pro plan on Stripe. But on our site, we only want to get them on upgraded plan if their payment was successful. For this we are listening only for invoice.paid event to update their account, but this causes the user to be on different plans on stripe and on our site.

night coral
#

Which are the payment methods I can use for auth and capture method

vocal wagon
#

I have a problem with Apple Pay appearing on the site. It is not working. Can this problem be solved?

#

Hi!

surreal otter
#

I am getting a lot of RateLimitError
Request req_CX9TohZpxC4XhD: This object cannot be accessed right now because another API request or Stripe process is currently accessing it. If you see this error intermittently, retry the request. If you see this error frequently and are making multiple concurrent requests to a single object, make your requests serially or at a lower rate.

any suggestions as to how i can either avoid or reduce this

vocal wagon
#

Do you have documentation of apple pay in SwiftUI?

graceful cobalt
#

Is it possible to apply an application fee when creating transfers to connected accounts? My scenario is one where a user can buy from multiple sellers in one go, and I want to charge the application fee to the sellers. From what I see the only thing I can do is take the application fee in the payment intent, but then I have to calculate manually how much USD each seller gets

stray jolt
#

Hello,
I have a questions, suppose there is a user with a subscription. And he fails to pay on the next two invoice. after second invoice if he updates the payment method will he/she get charged for two months?

light ocean
#

Hi guys,

Is it possible that I can cancel and refund a subscription directly into the customers card rather than adjusting that amount in future invoices?

true jungle
#

Hi I'm wondering whats the best design to make sure you process webhooks in the right order. Right now I'm aiming at calling the stripe api when receiving either updates or creation webhooks to make sure I always process and locally saves the most updated object (if the update webhook comes before the create webhook). Is that an okay way to do it?

autumn sedge
#

Hello guys, I have a problem with stripe cli, when I try to forward requests to my localhost i see them on my stripe dashboard but can't see the requests on my server terminal. I'm sure that I wrote everything correctly to handle the requests. Anyone had the same problem? SOLVED

dusk bone
#

Hi guys, I am looking to use metered billing method for my software and wondering what is the best way to charge amount at the beginning of the month and for the subsequent months the amount will be charged based on the available users during that particular time.

So for example, if a customer has 10 users and the cost is USD 1 for each user, it should charge USD 10 at the beginning. and later that month if they increase users to 20 but at the end of the billing month they change it to 12 again so next month it should charge 12 USD (Basically based on the number available in the system during the billing day)

north lagoon
#

hi Stripe team, We are updating subscription quantity using subscription update API. While updating the quantity we are charging user on the his/her default payment method. If the payment is not successful, the subscription is moved into past_due state. Payment status remains as "Incomplete". Howeven, in this case user is not reciving any email as notiification that the payment is not successful. IF we want to notify suer in this case, what is the best way to do it ? [settings or listening on a webhook] ?

polar blade
#

Why it is showing this error and how to resolve this errors. Please help

vapid solstice
#

hi. how to expand invoice when getting it as event object, so to include Subscription object as well, currently subscription is null on the screenshot

dire night
#

Hello Stripe team !
We've already integrated with Stripe for credit cards and we are storing credit cards outside of checkout flow by using SetupIntent and our backend storing the payment method token so that we can charge customer later on when its necessary. We are looking to integrate ApplePay as well, but would like to keep the same flow, and I've found some hints that it can be done with PaymentIntent similarly, but can we use SetupIntent instead of PaymentIntent to achieve the same behavior with ApplePay and do you have it described somewhere ?
Thanks in advance

high hill
#

My thread is closed. So, posting one question again. Is it possible to get the response of balance-transaction api in form of file ?

hidden tendon
#

Hello Stripe team, is there a way to customize existing roles or to create new roles? We'd like to restrict products and prices creation and edition permissions so a subset of people.

austere abyss
#

Hello Stripe team,
error like - Received unknown parameters: ssn_last_4, verification
while creating bank account
ssn_last_4: accparam.SSN.slice(accparam.SSN.length - 4) // what i pass

stark cave
#

Hello Stripe Team,
Is there any dev docs for indian business to get foreign payment

north lagoon
#

hi Stripe team, i would like to understand what is the best way to implement and handle 3D secure cards [Europe and Indian regions] for recurring and for off season payments. What we see that both recurring as well as off season payment fails and subscription are moved to past_due status when a payment fails in this case. If there a way to auto approve payments which requires 3D secure ? what is an alternative for this.

vagrant steppeBOT
#

rohidas

royal iron
#

Hi Stripe Team, Hopefully you guys are doing well. Wondering if you could help on this. I am using stripe with forms and on a test account the payment gets accepted without any issues but while adding the client's account API i am receiving this error.

Thank you and looking forward to a quick solutions.

simple bridge
#

Hi Guys

#

Our service start immediately after the user adds his payment method, and the user pays after he starts to accrue costs.
he will be charged automatically either when his balance reaches a predetermined amount or at the end of the month, whichever comes first.
What do you think will be the best stripe product/solution to fit our needs ?

crystal trout
#

Hello, one of the customers we are trying to onboard for an Express account, is facing an issue with email: Someone has already signed up for this account with a different email. Not sure what it actually means. Can someone help with this? Thanks

sage dove
#

Good afternoon, I have a question regarding Stripe coupons. I have customers for whom I wish to offer a 3 month % off discount, when they switch product. However the price they will switch from is more expensive than the price they will switch to. So they will be usually prorated an amount greater than the price of a subscription. This will result in the following state: The user has the 3 month coupon and enough credit that the invoice for the next month is £0. My question is will one of the 3 months of the coupon be used on the Invoice that is £0, so by the time they are paying they will only get 2 months with the discount or will they get the full 3 months

fresh axle
#

Hello , someone can help me to install the stripe api into my project , i have tried but it feel so difficult on nodejs , someone pls help , i need so much help rn

#

someone help me , i can pay some money

dense moat
#

Hi all,
i'm currently implement a 3dsecure payment by api and i have one question
we have a nextaction for challenge, i create a page and call stripe.handleNextAction and 3ds modal successfully opened
but i'd like to open it to full screen, is there any way? (I didn't find anything in the doc)

vocal venture
#

Hello,

I'm seeking assistance to resolve an error I'm encountering while attempting to work with the v1 API using Flutter. Unfortunately, there seems to be limited documentation available online regarding this particular error in dart.

Here's the issue I'm facing:

I've been trying to make a test request using Postman initially. Within the x-www-form-urlencoded section, I've included the following parameters:

customer: cus_OYLtiGVZQtpGCN
items[]: {price: 1344-CAD-3999-MONTH-1}
However, upon making the request, I received the following error response:

{
"error": {
"message": "Invalid object",
"param": "items[0]",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_PqTVtBG3ghEsGa?t=1693919275",
"type": "invalid_request_error"
}
}

zealous prism
#

Hey, If the customer cancle the subscription from customer portal then which webhooks events will be trigger. could you assist me here.
And after click on the cancle plan then next amount should not be debit from the users is this correct?

kindred pecan
#

i didnt get the payment, it said it was depoosited to my bank but it wasnt, on the email it said at the end of day, but for my other payouts it was in my bank in the morning

odd mantle
# odd mantle Hi! Is there a way to keep users on their existing plan on stripe if their plan ...

Hi! This is in continuation to my previous thread. I have done as suggested over there and it's working, but have a small doubt. When I downgrade the subscription to the original plan in failure webhook event, it generates a 0 value invoice which is fine. But what will happen if the failure webhook goes into a retry because the site was down or for some other reason? Will the invoice still be for 0 or will it charge the user? I have used proration_behavior='create_prorations'

golden sigil
#

Hello, I'm encountering a problem where certain customer signatures are being duplicated in Stripe. To elaborate, when a customer registers through our application to buy a subscription, it generates both a checkout session and a custom ID. However, in Stripe, we're seeing two registrations with the same email address. What's particularly concerning is that sometimes, the signature in one of these two records has a different custom ID compared to what was initially generated and stored in our database. Essentially, we lost the connection between Stripe and our application. Can anyone assist me with this issue?

civic jackal
#

hi

#

need help please

gritty galleon
#

Hello, I'm trying to enable payment with multiple payments methods for a single transaction. When I search the thread, I noticed that it wasn't possible as of 9/6/2022 but has there been any updates to support this capability? For example, if there's a transaction purchase for $1000, the customer would like to pay $600 with credit card 1 and $400 with credit card 2 (or maybe even Klarna). Thanks!

late summit
#

Dear Stripe Support Team,

I hope this message finds you well. I am writing to seek assistance with an issue I've encountered while integrating the Stripe Terminal SDK into our application.
Error Message Details:

Error Domain=com.stripe-terminal Code=2900
"Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid."
UserInfo={
com.stripe-terminal:ReaderMessage=Error usually caused by an entitlement issue, an invalid application bundle, a configuration issue, or a token issue.,
NSLocalizedDescription=Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid.,
com.stripe-terminal:Message=Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid.
}

Description of the Problem:

I am encountering the above error message when attempting to use the discoverReaders method in our iOS application, which is integrated with the Stripe Terminal SDK. This issue is preventing us from effectively using Stripe Terminal for our payment processing.
Steps Taken So Far:

  1. We have reviewed our entitlements and configurations to ensure they are correctly set up.
  2. We have verified that the application bundle is valid.
  3. We have confirmed that our Stripe API tokens are correct and properly configured.

Despite these efforts, we are still encountering the error, and we are unsure about the root cause and how to resolve it.
Request for Assistance:

We kindly request your assistance in diagnosing and resolving this issue. If there are specific steps we should take or additional information you require to assist us, please let us know.

Our goal is to ensure that our integration with Stripe Terminal is seamless and error-free, and we appreciate your support in achieving this.

civic jackal
#

Blocked by a default Radar rule due to a high risk of fraud. Adjust your blocking threshold in Radar risk settings.
Radar for Fraud Teams uses machine learning powered by hundreds of signals from across the Stripe network (like IP address, user agent, and more) to identify and block suspected fraudulent payments. Fraudulent payments that are not blocked or refunded may result in dispute fees or other associated costs. Learn more about adjusting your Radar risk settings.

#

what i can do

dusk bone
#

Hi, could you please help me find out why it is charging me USD 48 when it should charge USD 45? It seems to adding the difference amount into the invoice which is incorrect. How can I stop this from happening.

rustic matrix
#

hello, I'm trying to add our domain for customer emails. I understand I need to add various records to our DNS. These key/values have things like "_domainKey" and "customer-email-domain" in them. Are those placeholders that I'm supposed to replace with other values?

sonic hemlock
#

Hello Team,

I have question related to ExpressCheckoutElement for apple pay.
So right now for normal card payments i am using card elements, and to apple future payment for them i am following below sequence to achieve PM_ID and Cus_ID:
Create payment method >> create customer(attach PM_ID) >> create setup intent (attach PM_ID and Cus_ID) >> confirm setup intent (attach PM_ID and setup intent create response ID) >> submitting the form. I would like to know if similar sequence can be achieved for ExpressCheckoutElement and how can that be done? since we always see Apple pay payment UI.

Thanks!

naive pelican
#

Hi hello, I woould like to ask some help regarding the retrieving the Transfers

pastel harbor
#

an Hey! I am struggle to find a way to report metered usage. For my subscription I use 3 different products with separate metering. How can I report usage for exact product in the subscription?

vocal wagon
honest ember
#

Hi, I'd like to ask the restriction on cross border transfer. If our business is based in Canada, is it possible to transfer to a connected account in the US?

bleak pivot
#

Hi any staff online?

#

None there

quiet vector
#

Hey guys, I need a help with a logic

after one month when user's the subscription plan ends, how can we get to know that the subscription plan has ended in stripe, which webhook gets triggered to track this event?

vocal wagon
#

Hi guys,

I'd like to test manual payouts with connected accounts. Is there a way to make a payment in test mode and get the money available right away for a payout? For now, it seems I have to wait several days even in test mode, before I can make a payout following a payment.

olive cipher
#

Guys

#

I got banned from the zebras server

shell raptor
#

Hi our account is in USD , is there any option for saudi and uae customers to use ACH transfer instead of card

vocal wagon
#

I would like to change subscription by adding new SubscriptionItem. Can i get from stripe something like standard component "Confirm your updates". If not how can i get this info?

red tide
#

Hello, I have a website using stripe as the payment gateway but since August my emails regarding a payment always say 'Incomplete Booking' previously it always stated the booking information - any help would be appreciated

wind ether
#

I have a transfer failing because of Insufficient funds in Stripe account. I am using the source_transaction to avoid this very problem and did that 2 years ago and this has worked fine. What has changed. Request Id is req_G49ICTVFVvn7YG

vocal stump
#

Minor bug here. When searching for payments, it seems to assume the currency is your account's default, but it will find those in any currency:

#

85kr != EUR

coarse bay
#

Hey everybody, im trying to use the stripe ExpressCheckout element in my codebase but i cant get it to render any buttons inside the element. The element itself exists but no buttons will show. i am also using ngrok for https

woven scaffold
#

hi Stripe team, we're trying to use the test clock to simulate what a customer would experience month over month.
we're getting issues trying to set a usage record (https://stripe.com/docs/api/usage_records/create) once the clock has advanced.

any guidance on what we should be doing?

we tried both leaving the timestamp to default to now
and tried specifying a timestamp to the current billing cycle (e.g. after Jan 6 2024, where the test clock is current pointing at)

here's the error we're getting

Cannot create the usage record with this timestamp because timestamps must be after the subscription's last invoice period (or current period start time)

we also tried using the timestamp here

Cannot create the usage record with timestamp 1704725700 because timestamps must not be in the future. Expected a timestamp less than or equal to 1704552900

but it gives us the same error as above

copper lion
#

Hey, guys!

I'm trying to add Cash App support to our existing Stripe flow.

On the client side, I create a payment method using createPaymentMethod.

The ID of the payment method is sent to the server, along with other details. The server creates a payment intent for the payment method and sends the client_secret back to the client.

Now, with the client_secret and payment method ID, I call confirmCashappPayment on the client side.

This flow works great when used with a test key. But, when testing with actual Cash App, there are a few issues:

  1. Cash App doesn't ask for confirmation on scanning the QR code or redirecting for mobile, just goes directly to paying.
  2. Cash App doesn't show the amount of the payment configured for the payment intent.
  3. After success, the confirmCashappPayment method doesn't return any result, so the client side doesn't know if the payment has been successful or not.

We're using stripe-js version 1.54.2.

The main issue is actually that I'm not in the US, none of the dev team is. So, we don't know how we can test with the actual Cash App app without waiting strange hours for some external US team members.

Are the issues I've listed common, and is there a fix? Do you guys know of a way to test with the Cash App app outside the US?

Thanks so much for your help!

vocal wagon
#

Hi guys!
Something seems to go wrong when i try to apply a coupon to a checkout session when the currencies don't match. I need some help.
To simulate this situation i'm using Stripe CLI, but i'm also getting the same error message in the production enviroment.
As a i understand from the Stripe doc, we can apply a coupon with multiple currencies, but i can't get it to work.

What are i doing wrong? I give you the objects that we handle to do the tests, any help would be appreciate!!!

{
  "id": "XXXXXXXX",
  "object": "price",
  "active": true,
  "billing_scheme": "per_unit",
  "created": 1693927004,
  "currency": "eur",
  "currency_options": {
    "eur": {
      "custom_unit_amount": null,
      "tax_behavior": "unspecified",
      "unit_amount": 5000,
      "unit_amount_decimal": "5000"
    },
    "usd": {
      "custom_unit_amount": null,
      "tax_behavior": "unspecified",
      "unit_amount": 5366,
      "unit_amount_decimal": "5366"
    }
  },
  "custom_unit_amount": null,
  "livemode": false,
  "lookup_key": null,
  "metadata": {},
  "nickname": "Price",
  "product": "XXXXXXX",
  "recurring": {
    "aggregate_usage": null,
    "interval": "month",
    "interval_count": 1,
    "trial_period_days": null,
    "usage_type": "licensed"
  },
  "tax_behavior": "unspecified",
  "tiers_mode": null,
  "transform_quantity": null,
  "type": "recurring",
  "unit_amount": 5000,
  "unit_amount_decimal": "5000"
}```
```--- Coupon
{
  "id": "XXXXXXX",
  "object": "coupon",
  "amount_off": 5000,
  "created": 1693842045,
  "currency": "usd",
  "currency_options": {
    "eur": {
      "amount_off": 5000
    },
    "usd": {
      "amount_off": 5000
    }
  },
  "duration": "once",
  "duration_in_months": null,
  "livemode": false,
  "max_redemptions": null,
  "metadata": {},
  "name": null,
  "percent_off": null,
  "redeem_by": null,
  "times_redeemed": 0,
  "valid": true
}%