#dev-help

1 messages · Page 83 of 1

atomic shuttleBOT
#

@analog tulip pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When the charge is 4690

What actually happened?
the charge becomes 4690.0000000001

Reproduction Steps
Request ID req_M170uHkALDwgK5, you can see we sent a number as integer, but it returns as float which causes error

Question
How to fix this issue, we are using dollar amount x 100 to get the amount in cents

#

@hard shadow pressed the 📡 API button in #help to ask a question:

Question
how to test automatic payout in test mode

Related Request ID(s)
how to test automatic payout in test mode

What have you already attempted?
checked doc

#

@viral brook pressed the 📡 API button in #help to ask a question:

Question
Perform a transfer without source_transaction being from Brazil

Related Request ID(s)
req_LC3wyENz3nN2qt

What have you already attempted?
On my platform, when the seller makes a sale, he receives a fictitious balance in the database, where he can withdraw whenever he wants, in this act of withdrawal I am trying to make the transfer to the seller but because I am from Brazil, the platform does not allow me , forces me to pass a source_transaction as a parameter

What are you working on?
A health plan platform

#

@shut spruce pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Identity Links are expiring prematurely. If a customer clicks on the link but stalls and then clicks a couple of minutes later, even though they didn't start the verification, the link expires. I'd expect the link to not expire until the actual expiration date set or once he has completed or rejected the consent.

What actually happened?
Links expire prematurely as soon as there is interaction, but not immediate completion, and the link is clicked on again.

Reproduction Steps
Request a verification. Click on the link. Click on start, but don't continue. Close the tab, and click again on the link.

Question
In my opinion, it should not be expiring the link if no input was given. The verification status remains as "requires_input", but when clicked, it says the link expired.

Example: https://dashboard.stripe.com/identity/verification-sessions/vs_0PEET8UWVBauxilx0hUxQCYb

What are you working on?
ID verification for payments

#

@west onyx pressed the 📡 API button in #help to ask a question:

Question
Hi guys, I'm facing numerous headaches in enabling apple pay for my connected accounts. As per the documentation (https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-wallets) wallets should show up when the PaymentIntent has "card" as payment method, but they don't. The documentation says that they show up if "the customer is using a supported platform and have an active card in their account". I'm testing in production through Safari with more than one card in my apple wallet. I'm really confused at the moment.

Related Request ID(s)
N/A

What have you already attempted?
- My domain name is enabled
- I'm using the PaymentElement component of react-stripe-js
- I'm only using the layout option (as per documentation wallets do not need an option set, they should show up by default if criteria are met)

What are you working on?
Ticketing platform with connected accounts. Event organisers connect their Stripe accounts to enable payments for selling their tickets on their event pages.

atomic shuttleBOT
#

@candid slate pressed the 📡 API button in #help to ask a question:

Question
Is it possible to 'disable' (and possibly 're-enable') virtual account numbers created through a Bank Transfer Payment Intent?

Related Request ID(s)
pi_3OyzgCLvyoWw5O6y1ivoA0kY is an example of a PI with virtual account numbers generated

What have you already attempted?
Had trouble finding docs defining specifics surrounding the virtual accounts generated for Payment Intents

What are you working on?
For a subset of customers, we want to enable the ability to pay by US Bank Wire Transfer through the Virtual Account spun up on PIs. This means we need to be able to disable it at some point, too.

#

@thick solar pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payouts/retrieve

Question
Hello! I have a question about how to correctly retrieve stripe payouts history of a connected account.

What have you already attempted?
At the moment i have tried following the documentation, where first i list all external bank accounts given a stripe account. Followed by try to list payouts given a bank account, but this approach is failing in two ways. The first one is that it only shows the last bank account and not the previous bank account (so i would lose the history of all the previous external accounts) and even with this method it always returns the error No such external account: 'ba_...'

atomic shuttleBOT
#

@prime moth pressed the 📡 API button in #help to ask a question:

Question
What do I do after I create a stripe taxrate? I want to integrate this into my stripe hosted checkoutpage

Related Request ID(s)
txr_1PEFgvE9bJZH5kiQmI0on4aH

What have you already attempted?
passing it into session as tax_rate, default_tax_rate

What are you working on?
ecommerce store

atomic shuttleBOT
#

@hollow bronze pressed the 📡 API button in #help to ask a question:

Question
I am making a payment alliance with a very large bank in Mexico and they are asking me for the affiliation number through which my transactions go through on Stripe. They tell me that normally this number is 6 or 8 digits.

Basically what they need is a Stripe account number where they can transfer customer payments.
That is, the client pays the bank, and the bank pays us, so they need to know which account they should deposit to, without having to create a payment link.

Related Request ID(s)
affiliation number

What have you already attempted?
I tried with the customer number but it is incorrect, they need the 6 or 8 digit affiliation number, only numbers

#

@tender forge pressed the 📡 API button in #help to ask a question:

Question
Is it possible to force an email and disable the email field from the payment form page? I need the user to use the same email that he uses on my platform for the payment email field.

Related Request ID(s)
none

What have you already attempted?
I see there is an option for creating my own checkout page, but I can't find anything for the Stripe Payment Links.

What are you working on?
A commission SaaS platform

#

@tawdry latch pressed the 📡 API button in #help to ask a question:

Question
i turned on afterpay in my sandbox env. but i don't see the option in the payment element ui. it shows up in the preview on the dashboard, but not on my site

Related Request ID(s)
n/a

What have you already attempted?
i turned on after pay

What are you working on?
afterpay integration

#

@viscid haven pressed the 🪝 Webhooks button in #help to ask a question:

Question
What event should I listen for when a subscription was successfully created, repaid for another month and canceled?

Related Event ID(s)
I do not know

What have you already attempted?
Looking at the events documentation

#

@uncut vale pressed the 📡 API button in #help to ask a question:

Question
We are creating a payment_method using stripe.js. We pass the ID of this PM to our backend where we create a customer and then create a payment intent. We are getting a authentication_required error now when creating the customer with the payment_method

Related Request ID(s)
req_g3ZGv3cPzSs78f

What have you already attempted?
Asking the customer to retry

atomic shuttleBOT
#

@glossy rock pressed the 📡 API button in #help to ask a question:

Question
Unable to update a subscription's metadata only when the subscription is not an acceptable status.

I understand you can't update other properties of the subscription due to workflows/processes in Stripe. However, metadata only updates could be permitted since metadata is not used by Stripe.

Related Request ID(s)
req_J5B92gShvlXw40, req_T8h43IXBfve9jl

What have you already attempted?
API call to add metadata only to subscriptions. Requests were rejected with 400 Bad Request stating a canceled subscription can't be updated or couldn't be updated when in a specific status (e.g., incomplete_expired).

What are you working on?
Backfilling existing subscriptions with metadata values we need to have set on them.

atomic shuttleBOT
#

@weak linden pressed the 🧑‍💻 Code button in #help to ask a question:

Code
// Start Stripe Confirm Card Payment
stripe.confirmCardPayment(clientSecret, {
payment_method: {
card: this.card,
billing_details: {
name: cc_name.trim(),
address: {
city: cc_address_city,
country: cc_address_country,
line1: cc_address_line1,
postal_code: cc_address_zip,
state: cc_address_state

Question
I need to lock my application to use a specific Stripe API version based on Payment Method. For Credit Card payments the payment intent is being confirmed via stripe.confirmCardPayment, which appears to be using the default Stripe API version set in the dashboard. Is there anyway to force the stripe.confirmCardPayment to use a different Stripe API version than the one set in the dashboard?

What have you already attempted?
Changing the API version in the php script, but the stripe.confirmCardPayment is being specifically called within the js.

atomic shuttleBOT
#

@foggy swallow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const confirmPaymentPayload = await stripeSDK.value.confirmPayment({
elements: stripeSDKElements.value,
clientSecret,
redirect: 'if_required',
confirmParams: {
return_url: `${window.location.href}${appendOP}sourceId=${sourceParams?.sourceId}&altId=${props.altId}`,
},
})

Question
We are using stripe payment element as a part of our npm package on multiple funnels on our website. The issue let's say we have a form which is used to accept payments. Now if I have any bank redirect payment, and the form is embedded inside an iframe, Stripe redirects the parent window and it breaks our flow. We only want it to redirect inside th e iframe and contain the payment flow within iframe without doing anything to parent window

What have you already attempted?
Searched Stackoverflow, Stripe docs, ChatGPT and multiple forums. Not able to find an answer.
We don't have control over the parent page which embed these forms.

What are you working on?
Payment QFunnels as Saas

atomic shuttleBOT
#

@outer sail pressed the 👍 Best Practices button in #help to ask a question:

Question
is there a way to setup test bank accounts to simulate payouts?

i dont see an option to add an external bank account while in test mode, but if i leave test mode I cant put in the test bank accounts as i get an error saying 'Test bank accounts are not supported at this time. Please use a valid bank account instead.`

Doc/Guide Links
https://docs.stripe.com/connect/testing

What are you working on?
an insurance marketplace

#

@ripe storm pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#using-an-iframe

Question
Just trying to understand this part about iFrames and apple pay. From this doc, I gather I need to register the domain for both the base page (the page serving the iFrame) and the page within the iFrame (since, in my case, they will be on different domains).

Is this the correct understanding? I only ask because it doesn't explicitly mention registering the base page, but seems to imply it.

What have you already attempted?
I have tried to test it out myself, but even if I get what I need from testing, I would still like to confirm because I need the same to be true for production regions.

#

@viral brook pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/products-prices/manage-prices?dashboard-or-api=api

Question
On my platform, the customer can add up to 4 people to their plan, I would like if the customer wanted to add more than the limit, the value would be added to their subscription by 5 reais per person, but I didn't find a solution for that

What have you already attempted?
I don't find

What are you working on?
Health insurance

atomic shuttleBOT
#

@empty garden pressed the ❌ An Error button in #help to ask a question:

Error Message
the page does not load

Question
My stripchat account appears as MichAlfaro and I would like to know why I can't enter the page, it appears as if it were bugged but I would like to know if I was banned or something similar, I would be very grateful if you could help me with that problem

What have you already attempted?
I already tried to enter from the app and from the page and neither of them is working for me, I also turned off my cell phone to see if it was an error on my iPhone and it doesn't work either

Reproduction Steps
I start on the page or the application and neither of them wants to load me

What are you working on?
I am trying to solve the problem and I don't know what to do, I hope you contact me and you can help me please

#

@lavish stirrup pressed the 🧑‍💻 Code button in #help to ask a question:

Code
if price.unit_amount == 1 and price.currency == "gbp" and price.recurring.interval == "month" and price.billing_scheme == "per_unit":
# Update the price to a £7 per month flat rate fixed price with no proration
stripe.Price.modify(
price.id,
unit_amount_decimal= "700", # £7 in pence
billing_scheme= "fixed_price",
proration_behavior= "none", # Ensure no proration

Question
Hey – am trying to make changes to around 2000 subscriptions, all of which are on metered billing schemes. I want to switch them to fixed, but not change the price. Got this code which fetches the right information but am getting errors that say:

Received unknown parameters: billing_scheme, proration_behavior, unit_amount_decimal

can you help?

What have you already attempted?
have read notes on https://docs.stripe.com/api/subscriptions/object but stuck given that I thought these params would work..!

What are you working on?
climate campaign group

atomic shuttleBOT
#

@ornate flint pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there a monthly event for annual subscriptions? Each month I need to renew my member credits, so for montly plans I'm currently using the event "invoice.payment_succeeded", but what about for annual plans?

Related Event ID(s)
What is this?

What have you already attempted?
I've read the docs and search in stackoverflow but didn't find anything.

#

@topaz talon pressed the 📡 API button in #help to ask a question:

Question
Hi,

I'm facing an error when I try to refund a payment received from a connected account to the platform account. I received this error: 'The recipient of this transfer does not have sufficient funds in their Stripe balance to reverse this amount.'"

Related Request ID(s)
req_MQf6snXFWSr4NQ

What have you already attempted?
-

#

@jovial flume pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const session = await stripe.checkout.sessions.create({
success_url: absoluteUrl(successPath ?? "/connections"),
cancel_url: billingUrl,
payment_method_types: ["card"],
mode: "subscription",
billing_address_collection: "auto",
customer_email: user.email,
line_items: [
{
price: priceId,
quantity: 1,
},
],
...

Question
We offer monthly and annual price id for same product, and showing toggle to select annual price id in checkout page using subscription upsells feature. However, we want to make the annual option as default. How can we achieve it?

What have you already attempted?
I tried to provide both price ids as lineitems, and also tried to make the annual price id as default price, but didn't work. Also I tried to create checkout session only with annual price id, but checkout page didn't show toggle to choose monthly price id.

What are you working on?
SaaS application

atomic shuttleBOT
#

@rapid fern pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/integration?method=elements#accept-invoice-payment

Question
I would like to know what is the event that allows me to change the status of the invoice from open invoice to paid invoice?

What have you already attempted?
I have completed the subscription integration in my marketplace, so now I need to integrate the one time payment mode. And I would like to keep the same subscription events when creating a one time payment with payment mode. I am using the stripe element and the client secret for the subscription and for the invoice payment intent in the same way.

What are you working on?
subscription marketplace - ecommerce

atomic shuttleBOT
#

@night spear pressed the 👍 Best Practices button in #help to ask a question:

Question
The end user can purchase a subscription from my site using a stripe hosted payment link, then repeat that for another subscription for a different product, and each time it creates a new customer in stripe. when the customer tries to use the customer portal, it only shows them the latest subscription they bought, not all of them.

Doc/Guide Links
https://support.stripe.com/questions/can-i-merge-multiple-customers-into-one
https://docs.stripe.com/no-code/customer-portal

What are you working on?
Trying to build a low code solution for clients to buy subscriptions and manage them from the stripe customer portal

#

@prime moth pressed the 📡 API button in #help to ask a question:

Question
sucess_url throwing errors suddenly for no reason

Related Request ID(s)
pi_3PEL5RE9bJZH5kiQ1fUqoG5N

What have you already attempted?
Tried rebuilding page, reverting to older version of the code,nothing.

The front end of my success page won't even change any more when i try to edit the success page. It won't even load now. My logs say TypeError: wB() is not a function
SB OrderSuccessScreen.jsx:22
React 7
S scheduler.production.min.js:13
T scheduler.production.min.js:14
react-dom.production.min.js:189:29
Uncaught TypeError: wB() is not a function
SB OrderSuccessScreen.jsx:22
React 7
S scheduler.production.min.js:13
T scheduler.production.min.js:14
These fucntions exist nowhere in my code

What are you working on?
ecommerec store

atomic shuttleBOT
#

@light crescent pressed the 🧑‍💻 Code button in #help to ask a question:

Code
```typescript
const clientSecret = (
(subscription?.latest_invoice as Stripe.Invoice)
?.payment_intent as Stripe.PaymentIntent
)?.client_secret;

console.log\('client secret\:', clientSecret\);

```

Question
How to implement Free Trial for Apple Pay subscription?

What have you already attempted?
I have a Apple Pay button using Payment Request Button and integrated Subscription payment and it works fine. Now, I am adding a Free Trial when creating a subscription. But it doesn't return client_secret, so `paymentmethod` fails. How to handle it properly? Actually, on webhook side, invoice paid successfully, and was able to get subscription data. But on ui side, with paymentmethod, payment confirmation fails.

What are you working on?
I am integrating Apple Pay using Payment Request Button

atomic shuttleBOT
#

@snow quartz pressed the ❌ An Error button in #help to ask a question:

Error Message
[Stripe terminal]: didReportUnexpectedReaderDisconnect { message: 'Reader has been disconnected unexpectedly',
code: 'UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR' }

Question
In the previous question, I has mentioned this error before. And I was suggested to upgrade to the latest RN Stripe Terminal SDK v0.0.1-beta.18. However, after upgrading to this version, this issue still happened to my RN Android app this morning

What have you already attempted?
Upgrade to the latest RN Stripe Terminal SDK v0.0.1-beta.18

Reproduction Steps
Put the app into the background for a period of time (more than 2 hours)

atomic shuttleBOT
#

@wise copper pressed the 📡 API button in #help to ask a question:

Question
So I am in test mode and I have 4 retired setups in 1 week, I am running the clock simulator to try it with a declined card to fail the payment and cancel the subscription automatically but if I do that and then run the billing portal API it says customer parameter missing but if I simply cancel it from the dashboard it is ok. and I see in the dashboard that customer is not deleted also there is no webhook events called customer deleted.

Related Request ID(s)
None

What have you already attempted?
I have tried this method in different browsers and multiple times but same result.

atomic shuttleBOT
#

@rich valley pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-element#combine-elements

Question
is it possible to display saved credit card details using Payment Element? I have a token in my DB saved using Payment Element

What have you already attempted?
already integrated Payment Element

What are you working on?
rebulding my checkout form

atomic shuttleBOT
#

@bronze shore pressed the 📡 API button in #help to ask a question:

Question
How to retrieve the details of the fee for a given payment intent?
My goal is to be able to get the fee breakdown (platform fee and stripe fee) for a payment right after receiving the checkout.session.confimed event

Related Request ID(s)
req_MDqE3Fsa9LdoX2

What have you already attempted?
I used stripe nodejs SDK to retrieve details of a payment intent, with the `expand: ['latest_charge.balance_transaction']` option to also get the balance transaction details, in order to retrieve the fee details.
The paymentIntent object returned to me has property "status": "succeeded", but the the property balance_transaction" is null

What are you working on?
E commercee

atomic shuttleBOT
#

@glass pivot pressed the ❌ An Error button in #help to ask a question:

Error Message
[2024-05-09 08:18:10] local.ERROR: 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.

Question
How do I collect the mandate acceptance for use of paypal?

What have you already attempted?
I have tried setting the mandate data on the setup intent but it says can only be done with confirm, which then tells me I need the payment method. but I dont have the payment method yet.

Reproduction Steps
$intent = $request->user()->createSetupIntent();

atomic shuttleBOT
#

@untold bramble pressed the 📡 API button in #help to ask a question:

Question
[TestMode] How can I test Stripe Connect payment charges in TestMode?

I'm trying to create charges on Stripe via Connect platform. I have a main account (A), a connected account (U) which is connected to a separate account (B). I'm trying to accept payments using the account A and sending the funds directly to account U. Upon calling the payment_intents API, it throws this error - Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing ...

Related Request ID(s)
req_CZJoESfFgH6cyO, req_vlLPE7tuCEAxwa, req_CZJoESfFgH6cyO

What have you already attempted?
So far, I have tried below things
- Create an onboarding link for a standard account
- Opened account link to connect this test user to a separate account
- Submitted the form for successfully onboarding the user
- Used main account's API key and connected account's ID to create a payment intent. I'm passing raw card details in this API
- I get an error response saying raw card data APIs are not enabled

Main account ID - acct_1MrF2YIVaesDjvMP
Connect account ID - acct_1PDftAIhl7EEkW0O

What are you working on?
I'm just trying to collect direct, destination and custom charges on Connect platform using payment_intents API.

#

@turbid glade pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay

Question
Regarding tap to pay payment, I want to push the payment information to stripe through the server. Is there any relevant documentation?

What have you already attempted?
nothing

#

@pearl wharf pressed the 👍 Best Practices button in #help to ask a question:

Question
Does metered billing incur charges for current billing period if customer cancels the plan through portal?

I’m using a graduated pricing. (First x numbers free, next block flat fee and $.000x after the block per invocation).

If a customer purchase the plan and immediately cancel it through the portal, the plan seems to remain active for current billing period. Since the plan is already marked as canceled by the customer, will it incur the metered billing during this period?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based

What are you working on?
API service which is being billed per invocation.

atomic shuttleBOT
#

@fallen nymph pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/cli/trigger

Question
I am trying to create a checkout.session.completed in subscription mode but i keep getting this error

Trigger failed: Request failed, status=400, body={
"error": {
"code": "checkout_amount_mismatch",
"message": "The computed invoice amount does not match the latest invoice on the subscription.",
"param": "expected_amount",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_o8gYu69DzKvnkm?t=1715238531",
"type": "invalid_request_error"
}
}

What have you already attempted?
stripe trigger checkout.session.completed --override checkout_session:mode=subscription --remove checkout_session:payment_intent_data --override "checkout_session:line_items[0].price=price_1PEQLOL53dUV0i9Ynnm7ZnjU"

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

#

@tidal perch pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi. I'm working on a project that uses Stripe Connect Standard, so payments can be made directly to another Company via my platform. Stripe support advised me to use this server to discuss my question with a Dev.

The amount that needs to be paid to the 3rd party will vary. My platform will determine how much needs to be paid each time.

I believe it's possible to tell Stripe Connect Standard how much to charge via the API - is that correct?

I've created a Test Account and onboarded them.

Do I need to configure anything on the Test Account (e.g. Products, Price Lists etc.), or can I just rely on the API call to say "charge £X"?

Doc/Guide Links
https://stripe.com/docs/connect/direct-charges#collecting-fees

What are you working on?
A new platform that allows payments to be made to third parties via Stripe Connect Standard.

#

@meager hinge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const NotificationComponent = () => {
if (!stripeConnectInstance) return null;
return (
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectNotificationBanner />
</ConnectComponentsProvider>
);
};

Question
When there are no notifications, nothing is displayed.
Can't you notify something like there are no notifications?

What have you already attempted?
Exploring ways to notify without Embed

#

@sly matrix pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, I have a questions about stripe decline codes, explained here https://docs.stripe.com/declines/codes.
So it says that these codes are a bit clearer that traditional decline codes.
On the web I work on, we have a lot of other payments that go trough Stripe, like iDEAL, Sofort, Klarna, Alipay, Google pay and Apple pay.
Are decline codes for those same as stripe decline codes, since they go trough Stripe? Or does each of them return their own codes?

Doc/Guide Links
https://docs.stripe.com/declines/codes

What are you working on?
Show the most exact decline message to the customer.

#

@vocal wagon pressed the 🪝 Webhooks button in #help to ask a question:

Question
tengo creado en stripe un enlace de pago recurrente para una membresía, como puedo insertar ese enlace en paíd membership pro?

Related Event ID(s)
pago membresía

What have you already attempted?
no encuentro información

What are you working on?
membresia paíd membership pro

#

@steel oyster pressed the 📡 API button in #help to ask a question:

Question
How to use customer's default BACS details on checkout page for future one-off payments?

Related Request ID(s)
-

What have you already attempted?
The customer already has a default payment method setup with BACS card details from subscription. I've managed to make this work on cards but not on BACS. I've put setup_future_usage = 'on_session' to Session Payment Method Options for Bacs Debit but still not working.

What are you working on?
Customer added their BACS details on setup for subscription. I want to use the same BACS details for any one-off order they do in the system.

atomic shuttleBOT
#

@pearl wharf pressed the 👍 Best Practices button in #help to ask a question:

Question
What’s the best approach to prevent cancel and resubscribe attack?

I’m working offering a graduated pricing with metered billing. (For the first x usage, it’s free, for next block it’s a flat fee and a fee of $.000x per remaining usage)

Upon testing I found that customers can stay on the free plan forever. They only need to cancel the plan just before it hits the first block and resubscribe. Then the metered billing will reset to 0 and so on.

What’s the best approach to prevent this?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based

What are you working on?
API services charges based on metered billing

atomic shuttleBOT
#

@real compass pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a customer setup in the system. I have a meter setup to track usage. I am sending usage against that customer, however there is no subscription against that customer for that product. 1. Is there a way to mandate a subscription against a product using that usage, so that we do not allow customers to use a product they are not subscribed too. 2. Usage is captured, if I now add a subscription to the customer, is there a way to bill for the past usage that has been metered?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models

What are you working on?
Custom software that tracks users usage and bills them

#

@drowsy raven pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I configured my stripe to accepts payments in ACH and Credit Card. I expect when I go add a new payment method on my stripe implementation to get ACH and Credit Card.

What actually happened?
When the setup intents are created and I try to add a payment method, I get CashApp and credit card. I noticed the setup intents at this point include cashapp but we never enabled this.
Example: evt_0PEXbV85cJoRoAtCKPuN2JH3

Reproduction Steps
- Create the object that is sent to stripe to create subscriptions and stand alone items
- Execute the Subscription::Create
- Webhook returns setup intent with payment methods that I did not configure

Question
Why am I getting cashapp where I did not configure this as a payment method? Is it possible to have ACH on trial accounts?

What are you working on?
Custom implementation of stripe

#

@regal apex pressed the 📡 API button in #help to ask a question:

Question
I want to show the message that is shown on void invoice in dashboard "Invoice was voided because the subscription attempt expired
Since the first payment for this subscription wasn't completed before , the subscription expired.
Learn more
May 8, 2024, 9:12 AM"

What have you already attempted?
Look subscription and Invoice API Completely

What are you working on?
Stripe Subscription retreival

#

@vocal wagon pressed the ❌ An Error button in #help to ask a question:

Error Message
Reply directly from your inbox
In order to restore your account’s ability to receive payouts, please check your email for next steps or reach out to our support team.

Question
Why i get this error can you guys help me please

What have you already attempted?
nothing

#

@rugged oxide pressed the 📡 API button in #help to ask a question:

Question
Hello,

We're working through some issues with our users not understanding why their balance has decreased due to escheatment, and i think it would be helpful to be able to automatically notify a user of that when it occurs. We found this line item available in our connected account view for one of the accounts in question.

However, it's not able to be clicked, and I don't see an easy way to find out if there is a stripe event associated with it. I'd like to be able to subscribe to a stripe event for account adjustments li

Related Request ID(s)
none

What have you already attempted?
searched and contacted support

#

@twin hazel pressed the 📡 API button in #help to ask a question:

Question
I have an application where I accept offers on products and charge the card at a later time if it's acceptable offer. I have "setup_future_usage" set to "off_session".

I was not able to confirm a payment intent because of 3D secure check. My question is what do I need to for 3D secure check for when i charge the user off session.

Related Request ID(s)
?

What have you already attempted?
I have attempted at setting off_session to true and confirm to true but that does not work with what I need by charging them at a later time

atomic shuttleBOT
#

@rapid siren pressed the 📡 API button in #help to ask a question:

Question
I need to understand how I can make it so that my users can pause their plan for a couple of months and not be charged until the date they indicate. But at the same time I need to know how we can reverse this and re-activate their plan in case they get cold feet and plan to activate it a month earlier than planned.

Related Request ID(s)
evt_1PEYNVIgOV9hDoPXuw3Rkxq8

What have you already attempted?
I'm reading a bit about the “pause_collection” field in subscriptions, but I don't know what happens when I pass a value '' and the collection date has already passed for several months so it was paused. Is it charged at that moment? I don't know what is the most correct way to implement this.

#

@left night pressed the 🧑‍💻 Code button in #help to ask a question:

Code
card = elements.create("card", {
style: {
base: {
color: "#32325D",
},
invalid: {
color: "#E25950"
}
},
hidePostalCode: true,
hideIcon: false,
});

Question
I'm trying to achieve co-badged card compliance (EU Regulations) for the company I work at, and according to the documentation I've found, it should only be just a one-line code changer. Unfortunately, the card element has the same behavior as before.

What have you already attempted?
Playing around with hideIcon values (false/undefined), also with showIcon set to true.

atomic shuttleBOT
#

@nova sphinx pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm a jr dev working with Stripe and payments for the first time and I've got some questions regarding modeling and data binding (simplest, Stripe-hosted checkout for subscriptions).

(1) Should I use my own model(s) to store this (plan name <--> subscription)?
(2) From a `Stripe::Subscription` (or better, from a `Pay::Subscription`), how can I get the `Stripe::Product` name efficiently?
(3) Also, can I create a trial subscription for a given plan and `Customer` which lasts indefinetly (or, say, 1 year)? I will need this in production, actually.

Thank you.

Related Event ID(s)
N/A

What have you already attempted?
I'm having trouble regarding (2) since, by attempting a `Stripe::Subscription` API query, I'm unable to read `.plan.product.name`, as attempting to expand `data.items.data.plan.product` results on a request error due the expansion being too deep (`"You cannot expand more than 4 levels of a property"`). I have researched about (1) but I'm still not sure how to do this in a practical/convenient/reliable way.

What are you working on?
Rails backend (multi-tenant SaaS) with Stripe and Pay gems

#

@covert slate pressed the 🧑‍💻 Code button in #help to ask a question:

Code
{
"id": "NnixB6zCLPZ76eGV",
"object": "line_item",
"amount": 0,
"amount_excluding_tax": null,
"currency": "USD",
"description": "Fast Data Transfer",
"discount_amounts": null,
"discountable": false,
"discounts": null,
"livemode": true,
"metadata": {},
"period": {
"start": 1715238000,
"end": 1716447600
},
"plan": {
"id": "oSkiyoWR59s9yaEk",
"object": "plan",
"active": true,
"aggregate_usage": "last_during_period",
"amount

Question
We are trying to make a billing model for a SaaS with usage billing. Here is the example of the data from Vercel. They have a quantity set to negative number and it looks like a like workaroud for us to implement a limited trial. Since the meters during trial on subscription do not being tracked, it looks like a good way to do it. But stripe do not allow me to set a negative quantity on subscription. Any advice?

What have you already attempted?
Lots of things

#

@sturdy bronze pressed the 📡 API button in #help to ask a question:

Question
I would really like to get a better understanding of the simple process of subscription -> billing using code. I want to set up a (semi) complicated billing scheme and I would like some help with pointers as to when I need to use the dashboard to create products or when I could just do it using code.

Related Request ID(s)
NA

What have you already attempted?
I've read the stripe docs and searched google. I've found conflicting advice (yes, you need to create a subscription object, no, you don't) and the Stripe docs tell me how to do it, but not which one I should/can do.

What are you working on?
I'm building a webapp saas for small businesses using stripe to manage payment info.

atomic shuttleBOT
#

@fallen nymph pressed the 📡 API button in #help to ask a question:

Question
where can i find the invoice payment date after retrieving an invoice?

Related Request ID(s)
n/a

What have you already attempted?
create a new date object if the paid flag is true

#

@kindred furnace pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello guys, if you guys have time please check why this does not trigger the webhook call for `invoice.paid` event? This case is weird while our backend totally working fine and the weird thing is I don't see any Webhook attempts in the dashboard. I investigating this issue in few hours but cannot find the reason. Thanks a lot

Related Event ID(s)
evt_1P1czbDo6XlecE9XZslpLQFT

What have you already attempted?
I read the docs related to webhooks but can't find anything

#

@light crescent pressed the 🧑‍💻 Code button in #help to ask a question:

Code
paymentRequest.on(
'paymentmethod',
async (ev: PaymentRequestPaymentMethodEvent) => {
...
const { paymentIntent, error: confirmError } =
await stripe.confirmCardPayment(
isSubscription
? (subscriptionPaymentIntent!.clientSecret as string)
: (oneTimePaymentIntent?.client_secret as string),
{ payment_method: ev.paymentMethod.id },
{ handleActions: false }
);
}

Question
How to handle Free Trial payment on Apple Pay

What have you already attempted?
I have an Apple Pay button with Payment Request Button. I already implemented the subscription. But when I am trying to add the Free Trial, it fails to confirm the payment since the client_secret is empty.

What are you working on?
I am integrating Apple Pay for subscription payment including Free trial

#

@grizzled tendon pressed the 📡 API button in #help to ask a question:

Question
How can I work in dev ambient with automatic payouts in stripe connect

Related Request ID(s)
Payouts

What have you already attempted?
I just try search informations to finish my api

#

@feral crane pressed the 📡 API button in #help to ask a question:

Question
is there a way to retrieve the payout trace if from an api call?

Related Request ID(s)
N/A

What have you already attempted?
looked at payout and balance object but I saw no trace of field

What are you working on?
I need to programmatically bring the Payout trace if to my ERP

atomic shuttleBOT
#

@worldly bobcat pressed the 👍 Best Practices button in #help to ask a question:

Question
I would like to confirm the flow and capability we can leverage in Stripe to get the manual entered ACH account verified.

- We render the Elements UI which gathers the account information, email and name from our customer
- Stripe will perform the microdeposit the customer needs to perform verification
- Stripe will email the customer once this is done to prompt them to verify
- This email will contain a link to a Stripe hosted web page where they can enter the verification information
- Once this is completed their ACH payment method will be verified
Is this flow correct? I have set this up in test mode but i dont get an email.

Doc/Guide Links
https://docs.stripe.com/payments/ach-debit#test-microdeposit-amounts-and-descriptor-codes

What are you working on?
A SaaS product for legal entity management www.discern.com

atomic shuttleBOT
#

@grizzled tendon pressed the 📡 API button in #help to ask a question:

Question
StripeInvalidRequestError: No such token: 'ba_1PEb842cQDbgihHKF96yOyQZ'

But create the bank account in my stripe connect account

Related Request ID(s)
Stripe connect bank account

What have you already attempted?
async setupBankAccount(
connectedAccountId: string,
data: NewBankMessage,
name: string,
) {
const account = await this.stripe.accounts.retrieve(connectedAccountId);
const routing_number = `${data.bank}-${data.agencyNumber}`;

try {
  const token = await this.stripe.tokens.create\(
    {
      bank\_account\: {
        country\: 'BR',
        currency\: 'brl',
        account\_number\: data.accountNumber,
        routing\_number,
        account\_holder\_name\: name,
        account\_holder\_type\:
          account.business\_type === 'company
#

@vocal wagon pressed the ❌ An Error button in #help to ask a question:

Error Message
"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"

Question
Don't know what's wrong. Everything works with test keys, but not with live ones.

What have you already attempted?
I've tried to verify a domain, I've also tried to add card as a payment method but for some reason it is not working.

Reproduction Steps
https://nemesis-co.com/
Just try "Pay" button at the footer

What are you working on?
WordPress website

#

@vocal wagon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Keeps asking me to contact support and its not letting me cahout

What actually happened?
Website keeps asking multiple verification ways

Reproduction Steps
It was working before it stop working

Question
Please how can i bypass the contact support message that keeps popping up and payout faster

#

@viscid path pressed the 📡 API button in #help to ask a question:

Question
my client that sells a $15,000 online course has asked me to embed a Stripe Payment Checkout into their existing website. I have done this but my client now wants to be able accept deposits and part payments over time and charge the client whenever they want without the client needing to be present. this needs to accept international payments with cards. other payment options would be good too but the cards are the most important.

Related Request ID(s)
none

What have you already attempted?
I have read all of the docs and have a good understanding of how to do this but there are so many different ways it is hard to understand the best way to do this.

What are you working on?
an embedded Stripe Checkout form that charges the customer and saves their payment details to be charged anytime up to a maximum of $15,000

#

@solid lantern pressed the 👍 Best Practices button in #help to ask a question:

Question
For subscriptions which are recurring with payment mode as charge automatically, if i have a invoice in open state after due date how do i collect the payment

Doc/Guide Links
looked at the subscriptions and invoices sections couldn't find anything

What are you working on?
Once All retries of a subscription payment fail , to continue using the product enforce payment

atomic shuttleBOT
#

@light crescent pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Please check the previous thread

Question
I added pending_setup_intent when creating subscription and was able to get the payment intent. but the payment confirmation doesn't work yet

What have you already attempted?
I added pending_setup_intent when creating subscription and was able to get the payment intent. but the payment confirmation doesn't work yet

What are you working on?
I am integrating apple pay with free trial subscription

atomic shuttleBOT
#

@dapper kernel pressed the 👍 Best Practices button in #help to ask a question:

Question
I've tried several times calling Stripe but am unable to speak to someone who understands my question....

We have 2 Wordpress tools, Paid Membership Pro and WooCommerce. Both of these tools need to be able to handle transactions that are assigned to two different parts of our business, CAGP Association, or CAGP Foundation.

Both tools will need to produce invoices for both 'brands', and both will need to report into QuickBooks in a way that allows our org to identify which money (transactions) belong to each different part of our business.

Q - Can stripe do this? What products will we need to purchase to make this happen?

Doc/Guide Links
I have spoken to two sales people, who know nothing about this.

What are you working on?
We are rebuilding our website in Wordpress using Paid Membership Pro and WooCommerce.

atomic shuttleBOT
#

@rigid thistle pressed the 📡 API button in #help to ask a question:

Question
Can we port a Customer account and a Connect account along with their associated bank accounts from one Platform account to another one via API?

Related Request ID(s)
none

What have you already attempted?
I went through documentation on API that can support creation of accounts, however, I did not get clear idea if an account can be ported from 1 platform to another

atomic shuttleBOT
#

@thorn edge pressed the ❌ An Error button in #help to ask a question:

Error Message
"9:Setting stripe api access type to 'STRIPE_API_ACCESS_TYPE_INVALID' not allowed for app distribution 'PUBLIC'"

Question
I'm trying to upload a Stripe app that's already published in the marketplace and has been in use for a while. While attempting to `stripe apps upload` a recent small change, I started receiving this error message for the first time. This error has not occurred in other apps I've recently uploaded.

What have you already attempted?
It appears that Stripe app manifests now have a way to specify how apps authenticate with Stripe APIs, and this error seems related. I attempted to set this manually to use `platform` authentication, but received another error that this authentication type could not be used with an already public app.

What are you working on?
Stripe app

atomic shuttleBOT
#

@grand moss pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/onboarding/quickstart?connect-onboarding-surface=embedded&connect-dashboard-type=none&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-char

Question
The embedded component onboarding quickstart for HTML + Python doesn't seem to actually embed the component. It instead opens a pop up. Is this expected behavior?

What have you already attempted?
I attempted to inspect the embedded component code, but it seems that the logic that adds the button that causes the pop up exists in the embedded component itself, not the outer shell example project.

What are you working on?
Porting our billing system to Stripe

#

@crisp falcon pressed the 📡 API button in #help to ask a question:

Question
If we have been using Stripe Payments for offline payments, are we able to use the same payment method for setting up a new recurring Subscription? Or would doing so need the customer to authorize the payment method again for new Subscription?

Related Request ID(s)
n/a

What have you already attempted?
Read the docs, but couldn't find information on how this would impact existing customers where we currently handle the recurring offline payments.

What are you working on?
Setting up Stripe Subscriptions to handle recurring payments.

#

@plucky lynx pressed the 🪝 Webhooks button in #help to ask a question:

Question
im trying to make a webhook, but the apiversion in my code is not an option on the stripe dashboard

Related Event ID(s)
none

What have you already attempted?
looking google

atomic shuttleBOT
atomic shuttleBOT
#

@empty magnet pressed the 📡 API button in #help to ask a question:

Question
if i connect store with API is it possible to forward payouts to any other bank account than the one i have on my Stripe

Related Request ID(s)
none

What have you already attempted?
trying to understand API

What are you working on?
store

#

@viscid path pressed the 📡 API button in #help to ask a question:

Question
what's the maximum amount of time I can store the customers payment card on file and recharge it if I am using PaymentIntents with an embedded Stripe Checkout

Related Request ID(s)
thanks

What have you already attempted?
lots

What are you working on?
hobby

atomic shuttleBOT
#

@fluid bear pressed the 📡 API button in #help to ask a question:

Question
Issues with invoice creation. It doesnt allow me to create gives email error

Related Request ID(s)
req_ZLCUqPEUJSliaI

What have you already attempted?
it says im missing an email

What are you working on?
KM

atomic shuttleBOT
#

@hot galleon pressed the 📡 API button in #help to ask a question:

Question
Are Payment Methods unique to the customer that added the payment method? I am trying to keep track of customers' PaymentMethod.id's in my own database so that I can know whether a customer has a payment method attached or not, without having to fetch with the Stripe API. I also want to delete the Payment Method from my database when it is removed from the customer, but the `payment_method.detached` event from the webhook does not contain a `payment_method.customer`, so I can't remove the specific row in my database. Without the customer, I want to remove the row with the payment_method.id

Related Request ID(s)
req_5MyVyEhP9TMtAg

What have you already attempted?
I have looked at the docs to find out this information but nothing mentions this, that I could find.

What are you working on?
I am building out the subscriptions for my company

atomic shuttleBOT
#

@amber torrent pressed the 👍 Best Practices button in #help to ask a question:

Question
Hey, we have a locked retry schedule for failed payments, and send out failed payment notice emails 1/2/3 etc based on the `attempt_count` on the `invoice.payment_failed` webhook.

However, we have noticed that when a card is “Reported Lost or stolen” - the `attempt_count` increment doesn’t get updated, so our customers keep getting the first notice warning, then on the third payment attempt, the subscription is cancelled.

What's the best way to approach this, as I am thinking I can use the charge.failed and the `outcome.reason` ?

How do I determine all permanent failures codes, where it won't keep incrementing the `attempt_count` .

Doc/Guide Links
https://docs.stripe.com/declines
https://docs.stripe.com/api/events/types?event_types-invoice.payment_succeeded=#event_types-charge.failed

What are you working on?
Online Insurance Product

atomic shuttleBOT
#

@proven wigeon pressed the 📡 API button in #help to ask a question:

Question
nao consigo verificar meus documentos

Related Request ID(s)
danilojlsouza92

What have you already attempted?
nao consigo verificar meus documentos

What are you working on?
nao consigo verificar meus documentos

atomic shuttleBOT
#

@jolly scarab pressed the 📡 API button in #help to ask a question:

Question
What is the difference between the "klarna" capability and "klarna_payments" capability on the Capabilities API? Why would they be in different states?

Related Request ID(s)
n/a

What have you already attempted?
asking for clarification of something not explained in docs.

What are you working on?
connect platform

#

@viscid path pressed the 📡 API button in #help to ask a question:

Question
how can I remove the Link checkbox section that says "Securely save my information for one-click checkout" from my Stripe Checkout session? I want to save the customers card details automatically when they pay without any checkboxes

Related Request ID(s)
none

What have you already attempted?
reads docs and tried to fix it myself

What are you working on?
embedded Stripe Checkout

atomic shuttleBOT
#

@light urchin pressed the 👍 Best Practices button in #help to ask a question:

Question
We are developing a WordPress plugin that utilizes a Laravel SaaS to provide the oAuth connection flow for Stripe Connect. The plugin has various UIs that could greatly benefit from Embedded Connect Components. Is it possible to securely provide the Account Session object to the WordPress plugin via the Laravel SaaS by using a custom API route that verifies various values such as publishable key, account ID, domain, and SSL so that we can natively use the components within the plugin?

Doc/Guide Links
Creating an Account Session: https://docs.stripe.com/api/account_sessions/create

Embedded Connect Components quick start: https://docs.stripe.com/connect/get-started-connect-embedded-components

What are you working on?
I am the founder of GiveWP, and we are working on a new payments solution that could greatly benefit from Embedded Connect Components.

atomic shuttleBOT
#

@silk python pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it fine to share platform publishable_key between websites?

Doc/Guide Links
I want to share platform publishable_key to the connected account websites Which helps me to render embedded components on the client website. FYI, I generate an account session client secret on the platform server on the API endpoint for connected stripe accounts. We require both to render stripe-embedded components.

What are you working on?
Laravel and WordPress integration

atomic shuttleBOT
#

@terse geode pressed the 👍 Best Practices button in #help to ask a question:

Question
As we dig deeper into the APIs, we're running into roadblocks when investigating how to split funds. The roadblocks are caused by us being a Canadian (region) platform and our new foodhall customers being based in the US.

Our connected accounts would be the foodhall itself (US), then individual merchants (US).

We would want to take a payment (ideally using the foodhall's statement descriptor) then collect our portion (delivery fees + driver tip, etc) and distribute the remainder of the funds to the foodhall and merchants.

Doc/Guide Links
https://docs.stripe.com/connect/account-capabilities#transfers-cross-border

"Alternatively, you can facilitate international payouts by using the card_payments capability to make charges directly on Standard connected accounts. Stripe strongly discourages using direct charges for Custom and Express accounts."

What are you working on?
Restaurant e-commerce platform for foodhalls

#

@fallen nymph pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am implementing refunds handling with webhooks and `refund.created`, `refund.updated` on docs page explains it like this

Occurs whenever a refund from a customer’s cash balance is updated/created.

my question is, is the use of customer's cash balance always allowed or not? and if it is allowed is there a way to not accept cash balance?

Related Event ID(s)
refund.created, refund.updated

What have you already attempted?
searching the web for information related to this matter but couldn't find any

#

@waxen saffron pressed the 📡 API button in #help to ask a question:

Question
Is it possible to create a subscription for a customer without them having a payment method?,
I want to basically create the subscription first and then collect the payment

Related Request ID(s)
req_YbqEU8heOHe9aC

What have you already attempted?
tried to make payment_behavior=allow_incomplete

#

@rigid thistle pressed the 📡 API button in #help to ask a question:

Question
how can I get the platformId via api when a new Customer is successfully created?

Related Request ID(s)
noId

What have you already attempted?
I went through the customer api

#

@echo coral pressed the 🧑‍💻 Code button in #help to ask a question:

Code
stripe_card = elements.create( 'card', { style: elementStyles, hidePostalCode: (eh_stripe_val.inline_postalcode ? true : false) } );

Question
One of our customer reported that the card element style issue, card number overlap with expiry

How to fix the issue

What have you already attempted?
One of our customer reported that the card element style issue, card number overlap with expiry

How to fix the issue

What are you working on?
Stripe plugin

atomic shuttleBOT
#

@autumn wasp pressed the 📡 API button in #help to ask a question:

Question
How can I create multiple currency when I create payment link/product

Related Request ID(s)
LogId: evt_1PEl7jRvDZ6woJX3UWPcDrXV

What have you already attempted?
I red document but I can't see them, any have support this?

What are you working on?
Making support multiple currency from Client's request

atomic shuttleBOT
#

@placid dome pressed the 📡 API button in #help to ask a question:

Question
Is there a way to hide the amount which is getting displayed on top of the stripe embed form? choose not to show or change the font size?

Related Request ID(s)
nil

What have you already attempted?
tried to explore the doc

atomic shuttleBOT
#

@opal cliff pressed the 📡 API button in #help to ask a question:

Question
Do we have an option to enable upi id payment in stripe?

Related Request ID(s)
NOID

What have you already attempted?
nothing

What are you working on?
integrating payment methods

atomic shuttleBOT
#

@toxic storm pressed the 📡 API button in #help to ask a question:

Question
Can I get my live data from stripe from my local environment ?

Related Request ID(s)
nono

What have you already attempted?
Changing all the keys to live

atomic shuttleBOT
#

@thorn holly pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<?php

require_once '../vendor/autoload.php';
require_once '../secrets.php';

$stripe = new \Stripe\StripeClient($stripeSecretKey);
header('Content-Type: application/json');

$YOUR_DOMAIN = 'http://localhost:4242';

$checkout_session = $stripe->checkout->sessions->create([
'ui_mode' => 'embedded',
'line_items' => [[
# Provide the exact Price ID (e.g. pr_1234) of the product you want to sell
'price' => '{{PRICE_ID}}',
'quantity' => 1,
]],
'mode' => 'payment

Question
I have been trying create a stripe embedded form, But I am really stuck on how to do It. Can someone please help me out.

What have you already attempted?
I have tried, Creating a checkout session in VS code and added the secret key But, Got stuck on the first step itself.

What are you working on?
I am trying to make a single stripe embedded form for my shopify website with multiple products and currency conversion based on the customer's location.

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

#

@uneven basalt pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription&client=html

Question
I am not able to accept payments and charge subscriptions. I paste the code

What have you already attempted?
I've done practically the same as the documentation but I got an error

What are you working on?
I would like to implement subscription creation and payment, handling when payment fails like card declined or 3Ds secure

#

@glossy acorn pressed the 📡 API button in #help to ask a question:

Question
Hey there,

I'm currently running a GitHub workflow action that includes a set of unit tests. One of these tests involves initializing a new Stripe instance and calling its API locally for testing purposes. However, I consistently encounter an error stating that the connection has been refused.

```
new Stripe('sk_test_xyz', {
host: '127.0.0.1',
protocol: 'http',
port: 12111,
maxNetworkRetries: 3,
timeout: 10 * 1000
});
```

Related Request ID(s)
None - local test mode

What have you already attempted?
I've been trying various approaches like adjusting the options, tweaking my code, and debugging the action with nektos/act. Interestingly, everything runs smoothly on my local machine (MacOS), but when executed within Docker (Ubuntu), I encounter the following error:

```
detail: Error: connect ECONNREFUSED 127.0.0.1:12111
| at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1606:16) {
| errno: -111,
| code: 'ECONNREFUSED',
| syscall: 'connect',
| address: '127.0.0.1',
| port: 12111
| }
```

What are you working on?
Stripe ApostropheCMS extension

#

@rugged ibex pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$stripe = Stripe::make(\Config::get('services.stripe.secret'));
try{
$token = $stripe->tokens()->create([
'card' =>[
'number' => $request->card,
'exp_month' => $request->month,
'exp_year' => $request->year,
'cvc' => $request->cvv,
],
]);

Question
Hi, I am implementing stripe for the single way transaction for subscription plans, but i am facing this error and I am not able to resolve this because I don't know the actual cause.
below here is error statement
"Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode"

What have you already attempted?
I implemented stripe payment intent, but in the project stripe is already setup in my project due to this error I need to change the flow.

What are you working on?
I am working on e-commerce project in which multi-vendor system is implemented to sale the products and payment method is stripe.

#

@brisk goblet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I've started from the guide ["Save details for future payments with pre-authorized debit in Canada"](https://stripe.com/docs/payments/acss-debit/set-up-payment?platform=web#charge-later).

Question
Hi, I'd like to know how to redirect to my own completion page a Pre-Authorized Debit once it successfully completes.

What have you already attempted?
The client of the sample use `stripe.confirmAcssDebitSetup`. I thought that I could use it to specify a `return_url:` of my own but this didn't work.

What are you working on?
A Stripe PAD demo

#

@cerulean pasture pressed the 📡 API button in #help to ask a question:

Question
Is there a way to use the webpos interface to collect an email or phone number to "log the customer in" for the sale in a custom connect environment in the javascript sdk

Related Request ID(s)
pi_3PEhi8Qdhfuk7oOz07HbJ2j8

What have you already attempted?
I have read through the api and still have questions

What are you working on?
Building a retail pos for game and comic stores

#

@slate hemlock pressed the 📡 API button in #help to ask a question:

Question
I'm trying to enable the customer phone number field at checkout.

I've looked at documentation that talks about creating the SessionCreateParams object, but currently I don't use this object.
.setPhoneNumberCollection(
SessionCreateParams.PhoneNumberCollection.builder().setEnabled(true).build()
)
What is the correct way to use the session object together with PaymentIntent ?

Related Request ID(s)
docs

What have you already attempted?
Client Side:
const paymentElementOptions = {
layout: "tabs"
};
const paymentElement = elements.create("payment", paymentElementOptions);
paymentElement.mount("#payment-element");

Server Side:
Stripe.apiKey = this.obterApiKey();

	PaymentIntentCreateParams params =
	  PaymentIntentCreateParams
	    .builder\(\)
	    .setDescription\(description\)
	    .setCaptureMethod\(CaptureMethod.MANUAL\)
	    .setAmount\(amount\)
	    .setCurrency\(moeda\)
	    .addPaymentMethodType\(paymentMethod\)
	    .putMetadata\("cart\_id", cart.getCodigo\(\)\)
	    .build\(\);

What are you working on?
ecommerce website

#

@plush wren pressed the 📡 API button in #help to ask a question:

Question
I might be getting wrong VAT on a low value checkout session

When I create a hosted checkout session with automatic_tax enabled, a single line_item of currency = GBP, unit_amount = 100, quantity = 2 the checkout page says I should be paying £0.33 GBP of VAT, but the total due is £2 (as if it's ignoring VAT)

Since I'm in the UK I expected the VAT to be 20% = £0.40

Related Request ID(s)
req_Vpr3O543H67smb

What have you already attempted?
Using the sandbox / test mode gives me expected 20% VAT

A more expensive line_item gives me the expected 20% VAT outside the test mode

What are you working on?
Testing checkout session integration with a low value purchase

atomic shuttleBOT
#

@viral spoke pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://nonerightnow.com/

Question
Hey, I would like to build a customer creation and charge plattform. Imagine the following: you are on a page, where you can search the customer and the name, address and payment method (sepa only) will be prefilled automatically. Then you can enter a charge amount and the customer with the payment method will be charged. If no customer was found, you can still enter the details (name, address and sepa paymentmethod) and charge the customer for the specific amount

What have you already attempted?
I saw the address element and payment element and would like to know if there are guides the implementation for this use case?

What are you working on?
a customer creation and charge plattform

#

@safe bane pressed the 📡 API button in #help to ask a question:

Question
Hi I want to ask how we can setup domain registration with in a dynamic way? Our staging setup right now is base on specific number for example www.123.staging.com and depending on ticket number it can e www.111.staging.com. My question will be how we can set this up in stripe domain registration in just one verification?

Related Request ID(s)
I cant fine similar question

What have you already attempted?
I tried to only register the www.staging.com but its not enough.

What are you working on?
Working on apple pay and google pay.

#

@clear swan pressed the 📡 API button in #help to ask a question:

Question
Hi, we have a checkout where we allow customers to choose to pay by card or bank transfer in the Stripe checkout.

It's all working fine technically but when the user chooses to pay by bank transfer the next step in the Stripe checkout is to show them the bank account, sort code and reference that they need to use to pay us. Our problem is that this checkout step is a dead end with no buttons to press or way to redirect back to our website so they customer is shown the payment details but then can't navigate away from that. Any way of adding a button to redirect back to us?

Related Request ID(s)
None

What have you already attempted?
Read the docs regarding bank transfers.

#

@candid peak pressed the 🧑‍💻 Code button in #help to ask a question:

Code
javascript:

return condition ? (
<Elements stripe={stripePromiseA} options={options}>
<CheckoutForm />
</Elements>
) : (
<Elements stripe={stripePromiseB} options={options}>
<CheckoutForm />
</Elements>
);

Question
When mounting this component, I am receiving the following error in console constantly:

Uncaught SyntaxError: "[object Object]" is not valid JSON
at JSON.parse (<anonymous>)
at receiveMessageFromChild (v3:1:108684)

from js.stripe.com/v3

What have you already attempted?
The code is minified and it is difficult to determine what the actual issue with my implementation is

What are you working on?
Building a checkout form using the payment element.

atomic shuttleBOT
#

@reef dune pressed the 🪝 Webhooks button in #help to ask a question:

Question
I've implemented Stripe Cash Balance flows with Payment intents to pay invoices. I'm trying to understand which will be the proper flow for refunds. Specifically, I'm noticing that once I request the refund of a payment intent -> charge that was paid with a Cash balance, we sent an email to the client to provide bank account info. My question is once the client provide the bank account information should I receive a charge.refund.updated event with the pending status?

Related Event ID(s)
111

What have you already attempted?
Perform a refund. Saw the charge.refund event with require action status. Once the client provide the bank account information it triggers the succeded event but not the pending

What are you working on?
Refunds

#

@regal spear pressed the 📡 API button in #help to ask a question:

Question
We have a test account for our service that we use for automated testing (browser orchestration). Since this is a re-used test account, we'd _like_ to be able to apply a test_clock to the associated customer so that we can assert subscription functionality over the passage of time. It _appears_ that there is no way to associate a test_clock with an existing customer though, only when creating a customer. Is this the case? Is there a way to apply a test clock to an existing customer? It seems like there should be since I believe you can "fast forward" in the dashboard for a given customer.

Related Request ID(s)
N/A

What have you already attempted?
I've tried just going ahead and adding a test clock via updating a customer with the NodeJS api wrapper, but it very specifically tells me that `test_clock` is not a valid update parameter (which the docs corroborate). What is interesting is that the AI assistant in the docs _does_ tell you to use the update method to apply a test_clock to an existing customer.

What are you working on?
A subscription based service that we simply would like to automate e2e flows, which requires us to have some kind of "fast-forward" of time.

#

@mortal flax pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi , If I have a customer account linked to a main account , is there way to add or link that customer account with my main stripe account?

Doc/Guide Links
I don't have any doc related

What are you working on?
Stripe subscriptions

#

@boreal orchid pressed the ❌ An Error button in #help to ask a question:

Error Message
type: 'StripeInvalidRequestError'
message: 'Invalid Stripe API version: 2023-10-16; embedded_connect_beta=v2;. You do not have permission to pass this beta header: embedded_connect_beta.'

Question
I am trying to connect my account dashboard functionality to a white-labeled web app. But I am receiving this error.

What have you already attempted?
I tried to remove the embedded_connect_beta header but it seems it is required if I want to use app_onboarding, app_installation and app_settings components.

Reproduction Steps
Basically, I am following these docs:

https://docs.stripe.com/stripe-apps/accounting-software-integrations?lang=node&client=react

Using my account ID of course.
And when I try to render my app, I receive the error above.

What are you working on?
embedding my dashboard functionality to my website.

#

@burnt lake pressed the 📡 API button in #help to ask a question:

Question
I'm trying to calculate the price of the upcoming invoice, but face a problem where the price of the upcoming invoice is not calculated correctly by the API.

Related Request ID(s)
sub_1PEcJaBxo62JExo25JPbQwn7

What have you already attempted?
I tried using the invoices->upcoming method.

#

@marble obsidian pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Changing the primaryText color in initpaymentsheet

What actually happened?
changes the text color but also the background color behind the payment sheet

Reproduction Steps
change the primaryText android react native
@stripe/stripe-react-native": "^0.37.2",

Question
is there somekind of workaround this bug?

#

@plain sail pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I am implementing payment links in stripe

Question
I think there is a limit to the character of the business name shown. I wanted to show it fully

What have you already attempted?
"https://buy.stripe.com/test_14k3eQ3qVdc0fny4gz"

this is the payment link created by the and it shows "SEAN THE S" " but the full name is "SEAN THE SURVEYOR"

#

@sullen trout pressed the 📡 API button in #help to ask a question:

Question
I need to integrate Stripe Connect. I need to finalize payment on the server because I have some essential business logic to carry out transactionally with payment confirmation. Our system has constraints so that we cannot provide return/redirect URLs. We are happy not to use payment methods requiring the redirection. We do not want to rely on Webhooks to finalize payment order because we've had experience where webhook did not hit our server, and hence we did not deliver order for successful payments. Please suggest a solution

Related Request ID(s)
req_5Udrj5FddZDEX7

What have you already attempted?
https://docs.stripe.com/payments/finalize-payments-on-the-server?locale=en-GB

What are you working on?
A real time food ordering system where quick order delivery is a core concern

#

@cold sparrow pressed the 👍 Best Practices button in #help to ask a question:

Question
Our team needs some clarification on how to manage extra authentication (3DS for example, after the Stripe Elements client facing challenge) an off_session flow for Payment Intents where the initial part of the flow uses setupIntents and the Stripe Elements form to confirm the Intent and store the payment method with a customer. Then on the server side create a paymentIntent for that customer/payment method and confirm it via webhook event handlers. I have a much more verbose and detailed explanation of our implementation but I am limited to 680 characters on this form.

Doc/Guide Links
https://docs.stripe.com/payments/3d-secure/authentication-flow

https://docs.stripe.com/payments/payment-element

https://docs.stripe.com/payments/setup-intents

https://docs.stripe.com/payments/payment-intents

What are you working on?
Our full purchase flow and subsequent recurring payments on a new application.

#

@idle solar pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I want to cancel stripe substriction, but i don´t have a stripe account and i only have repaiment from 10.05. 2024 17:05 Czech republic time

What actually happened?
I want to cancel stripe substriction, but i don´t have a stripe account and i only have repaiment from 10.05. 2024 17:05 Czech republic time

Reproduction Steps
I want to cancel stripe substriction, but i don´t have a stripe account and i only have repaiment from 10.05. 2024 17:05 Czech republic time

Question
Please help Please help Please help

#

@bitter plank pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=android#collect-payments-ttpoa

Question
I am working on Tap To Pay Android (TTPA), using Stripe Terminal Android SDK v3.5.0.
I have already tested successfully with a test mode account, but when I use a live account, at the screen collect payments, I still see the same UI as test mode account with the button "Tap To Simulate Payment". I expect to see the same UI as the document describes (with the total amount and the icon and text "Tap behind device").

Here are our live payment intent id(s): pi_3PC1eBDAsemmkf500MFFbxh7 pi_3PC2UfLGGkDliACK0trUq8Py.

The image describes for my case https://i.ibb.co/VwtT92X/Tap-To-Pay-Android.png

What have you already attempted?
Here is my Kotlin code:
https://ctxt.io/2/AACoVKRnFg

#

@vapid hound pressed the 📡 API button in #help to ask a question:

Question
My application utilizes the embedded session plugin to create a new user account. This plugin allows our users to optionally enter a promotion code and start a free trial. after the user has logged into our system, we create a stripe.billingPortal.sessions to direct the user through url to the customer portal. The customer does not have access to add a promotion code inside the customer portal subscription area without changing to a different product or subscription. How do I allow this?

Related Request ID(s)
NA

What have you already attempted?
I have enabled the default "allow promotion codes when updating subscription" on the portal dashboard

What are you working on?
a microservices based web application

#

@tawdry latch pressed the 📡 API button in #help to ask a question:

Question
after pay logo placement. i want the logo above the text like stripe's example but don't know how

Related Request ID(s)
n/a

What have you already attempted?
can't find any config to change it. https://docs.stripe.com/payments/payment-method-messaging

hows afterPay logo above text, but mine always renders below text

atomic shuttleBOT
#

@bleak arch pressed the 📡 API button in #help to ask a question:

Question
What service are you all using to validate email domains? SPF info, etc.?
Do you have an API call developers can use? Or can you share what service you all use to validate and make sure email domains are valid?

Related Request ID(s)
?

What have you already attempted?
We are using the Stripe Elements form and would like to know if you all have

What are you working on?
Forms with email address on them.

#

@ruby swan pressed the 📡 API button in #help to ask a question:

Question
I want to detect the card type as debit or credit card customer use to make the payment for subscription of zero dollar.

Related Request ID(s)
in_1PDuX7BBlUfRTiTY6z3XqZ5H

What have you already attempted?
We are trying to get into checkout.session.completed on webhook. We looking for payment intent but its returning null for us to be able to use stripe.PaymentIntent.retrieve to retriev payment details like debit or credit card used.
Please let us know all the ways we can find out whether card type is credit or debit after a user completes a $0/year checkout session

Tells if something else should be done to resolve the issue.

What are you working on?
We working on a backend which blocks socail media distractions

#

@ornate schooner pressed the 📡 API button in #help to ask a question:

Question
Hey there! I need to create my custom checkout form. I already have it for credit cards:
I'm creating a new payment method with sending the CVC, credit number and expiration date. With the returned payment method id I then pay the subscription.
Is that possible with us bank account? Can I create a payment method and then pay as I do with credit cards? Thanks!

Related Request ID(s)
req_RhWMddit6t4x9S

What have you already attempted?
I tried adding the payment method through stripe?.createPaymentMethod, this is returning 200 but I'm not seeing the payment method anywhere in stripe.

const { error, paymentMethod } = (await stripe?.createPaymentMethod({
type: 'us_bank_account',
us_bank_account: {
account_number: '000123456789',
routing_number: '110000000',
account_holder_type: 'individual',
},
billing_details: { name: cardHolder },
// card: cardNumberElement,
}))

#

@heady matrix pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I want to start from scratch

Question
I want to implement stripe payment gateway to my website I am a beginner and no idea where to start i research some codes from Google but no luck

What have you already attempted?
i added codes

What are you working on?
building

atomic shuttleBOT
#

@swift shuttle pressed the ❌ An Error button in #help to ask a question:

Error Message
Card details not complete

Question
I've setup all the required details for React native. I've Double check the Client ID's, but still i'm getting an error while doing payment intent

What have you already attempted?
Verify the client ID's
Verify the implemented code

Reproduction Steps
Everytime i'm getting this issue

What are you working on?
Doing debugging to get rid of this issue

#

@tropic wyvern pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I was expecting an section when setting up the account in which the option of selecting the country and company type is given.

What actually happened?
Such a screen isn't displayed, switching directly to the "Verify your personal information" section.

Reproduction Steps
I've followed the following link: https://docs.stripe.com/connect/express-accounts?lang=node#redirect-link.

Question
I want to give the user a chance to select an country and company type. However, i am not given this opportunity when I integrate the "Connect" technology

What are you working on?
Realization of an Express Account with Stripe Connect

#

@thorn holly pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/checkout/embedded/quickstart?client=html&lang=php#init-stripe

Question
I want to create an embedded Checkout, I know most of the things but don't know the process, Can someone please help me making stripe embedded checkout form for my shopify website

What have you already attempted?
I have downloaded the zip files and have aligned the code.

What are you working on?
Stripe embedded checkout form for my shopify website with multiple products and currency conversion

atomic shuttleBOT
#

@marble obsidian pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
if i change the primary text color on android in initpayment sheet it also changes the background color behind the sheet

What actually happened?
it changed the background color

Reproduction Steps
change the primary text color in android

Question
is there work around this that it doesnt change the background color

#

@boreal umbra pressed the ❌ An Error button in #help to ask a question:

Error Message
[Stripe terminal]: didFinishDiscoveringReaders {"error": {"code": "ALreadyConnectedToReader", "message": "Already connected to a reader. Disconnect from the reader, or power it off before trying again."}}
[Stripe terminal]: didChangePaymentStatus notReady
[Stripe terminal]: didChangeConnectionStatus notConnected
LOG: Reader successfully disconnected!

Question
We are using https://github.com/stripe/stripe-terminal-react-native.

Every time I try to use a reader that that I connected before the terminal logs this message. The problem is that I can only connect and reconnect 2 times, on the 3 time is stops and i have to close and open the app again in order to make it work:

What have you already attempted?
I have tried to use the reader that is already connected but I it don't let me do this.

Reproduction Steps
Connect to the reader 2 times without using it and then try to connect the 3 time.

What are you working on?
React native APP using EXPO.

#

@thin flare pressed the 🧑‍💻 Code button in #help to ask a question:

Code
We use legacy APIs such as tokens, sources, and charges. Example of how a payment method is set as the default. https://pastebin.com/NdjFMni1
If we have to use the new APIs, then please let us know as well!

Question
We want to know if Stripe supports adding a customer's Apple Pay or Google Pay as a default payment method that can be saved for future payments. We have this auto replenishment feature that is triggered when their balance is below a certain amount and charges their default payment method. Is it possible to charge the card that a customer provided via apple pay/google pay and enabled as their default payment method? Will that payment method be listed here? imgur.com/wVhet0F

What have you already attempted?
We've looked into various Stripe documentation pages. Haven't tried anything yet but had our eyes on this.
https://docs.stripe.com/api/payment_methods/object#payment_method_object-card-wallet

What are you working on?
Mobile App version of our web application that is being built using flutter and dart.

#

@tawdry latch pressed the 📡 API button in #help to ask a question:

Question
how to test apple pay in sandbox, registered domain

Related Request ID(s)
n/a

What have you already attempted?
do i just add our site domain and then it will work in the sandbox env when i run my app on my local box?

atomic shuttleBOT
#

@fathom comet pressed the 📡 API button in #help to ask a question:

Question
Hi I'm creating an app where user will need to subscribe as a user to use it. And I have allready created payments with credit card and paypal. Now I wish to include Bank Transfer also.

And I have created the api. It creates an invoice for Bank Transfer for the selected product I created in Stripe.

And When I try to subscribe the user I get the error:
"The payment method type 'customer balance' does not suppot the currency usd"

The test is for an persone who is from the Europe.

Related Request ID(s)
/

What have you already attempted?
I created it all and got this error, wish to see is there a way to make it work.

#

@hardy raven pressed the 📡 API button in #help to ask a question:

Question
I am using Stripe Connected accounts to allow bank account payouts for sellers on my platform. In order to do cross border transfers and am trying to create test accounts under the recipient agreement. I get an error every time I try to do this using the CLI when I request only transfers like it says in documentation.

Related Request ID(s)
1714318324

What have you already attempted?
Creating test accounts using the CLI and then trying to update the service agreement and capabilities. Creating test accounts with agreement and capabilities requested at creation.

What are you working on?
A platform for selling project links.

atomic shuttleBOT
#

@mellow ingot pressed the 📡 API button in #help to ask a question:

Question
I'm trying to authenticate and authorize a payment method with 3DS2 and retrieve the network_transaction_id and ds_transaction_id to provide to a third party payment processor for future payment

Related Request ID(s)
req_NYYRyCdmfSClCU

What have you already attempted?
Creating a SetupIntent and using the server_transaction_id and three_d_secure_source fields.

atomic shuttleBOT
#

@vocal wagon pressed the 📡 API button in #help to ask a question:

Question
how can i disable smart retries when creating an invoice using the api?

Related Request ID(s)
n/a

What have you already attempted?
looked at the invoice api docs, const invoice = await stripe.invoices.create({
customer: customerId,
collection_method: "charge_automatically",
description: description,
});

What are you working on?
custom stripe flow with stripe elements + api

atomic shuttleBOT
#

@supple solar pressed the 🧑‍💻 Code button in #help to ask a question:

Code
String name = client.getName();
String addressLine = client.getAllClientAddresses().get(0).getAddressLine();
String postalCode = client.getAllClientAddresses().get(0).getPincode();
String city = client.getAllClientAddresses().get(0).getCity();
CustomerCreateParams params =
CustomerCreateParams.builder()
.setName(name)
.setAddress(
CustomerCreateParam

Question
i m not able to set my customer details

What have you already attempted?
i had tried my own address

#

@hot galleon pressed the 📡 API button in #help to ask a question:

Question
I am building Stripe subscriptions. When users' payments fail for consecutive months, I want the subscription to be set to active right after they pay ONE missing invoice. I see in the dashboard that for every month that passes, a DRAFT invoice is being created. After I pay the initial failed payment month's invoice, I expect the subscription to be set back to active, but it is not, and it stays ad `Unpaid`. How can I get subscriptions back to ACTIVE once they pay their subscription?

Related Request ID(s)
req_DrJe2AQJlPaL8p

What have you already attempted?
I have tried playing with prorations (does nothing), voiding existing DRAFT invoicing in the `invoice.paid` webhook event

What are you working on?
Subscriptions for my company

atomic shuttleBOT
#

@tidal perch pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm building a website that will require a payment to use it. I'm trying to decide if I should use a Product to set the price that needs to be paid, or if I should just pass the amount into Stripe Checkout dynamically. Is there an advantaged, e.g. with Reporting, to use a Product vs passing in a value to use as the cost?

Doc/Guide Links
I've not been able to find any info on this

What are you working on?
A website that uses Stripe Checkout to take a payment before the user can access it

#

@ornate schooner pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const response = await stripe?.collectBankAccountForPayment({
clientSecret: clientSecret,
params: {
payment_method_type: 'us_bank_account',
payment_method_data: {
billing_details: billingDetails as any,
},
},
})

        if \(response?.error\) {
          setSelectedPaymentMethod\(undefined\)
        }

Question
I'm trying to collect user's bank account. The issue I'm facing is when they cancel and close the modal without saving the bank details. The API is returning a response.paymentIntent object but no error. Is this ok? Should return an error and the paymentIntent as undefined, right?

What have you already attempted?
The code above.

atomic shuttleBOT
#

@hot galleon pressed the 📡 API button in #help to ask a question:

Question
I was in a chat with Snufkin_stripe but that chat was locked. I was trying to stop creating invoices once subscriptions' payments fail once, then resume payment collection once they pay one invoice. I was recommended to udpate the `subscription.pause_collection.behavior` to `void`, but the invoices were still being created and kept as DRAFT, so that solution did not work. Is it normal for the `pause_collection.behavior` to not work? Sub ID: `sub_1PF1d0Jc8cbXO9rojuLUWknn`

Related Request ID(s)
req_xtmWSckiyJh65z

What have you already attempted?
I have tried multiple subscriptions, manually setting the pause_collection behvior, and programatically setting it.

What are you working on?
Subscription system for company

atomic shuttleBOT
#

@smoky saffron pressed the 👍 Best Practices button in #help to ask a question:

Question
Am I allowed to pass the transaction fee on to the payer end if I am the one receiving the payment? If not, how can I waive the transaction fee's to receive payments if I am providing a service?

Doc/Guide Links
https://support.stripe.com/questions/handling-stripe-fees

What are you working on?
I am a copywriter and email marketer who provides services to brands an busiensses to scale them drasticallg. However when I get paid, nearly 5% of everything I make is taken out due to "fee's" which is absurd.

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

@noble talon pressed the 🧑‍💻 Code button in #help to ask a question:

Code
} catch (error) {
res.status(500).send(`Server Error: ${error.message}`);
}
});

Question
I'm receiving the following error: Server Error: invalid json response body at https://connect.stripe.com/oauth/token reason: Unexpected token S in JSON at position 0

What have you already attempted?
In dev, it worked however in Prod it is breaking apart

What are you working on?
Oauth for non profit accoutns

atomic shuttleBOT
#

@tired vine pressed the 🧑‍💻 Code button in #help to ask a question:

Code
PaymentIntentCreateOptions options =
new()
{
Amount = amount,
Currency = "usd",
Customer = customerId,
PaymentMethod = paymentMethodId,
Confirm = true,
SetupFutureUsage = usage,
Metadata = metadata,
TransferData = new()
{
Destination = stripeAccountId,
Amount = transferAmount
}
};
return _paymentIntentService.CreateAsync(options);

Question
In this way, when the payment intent successes, a corresponding transfer object is created based on TransferData.

I'd like to know if there is any way to customize the metadata of the transfer object?

What have you already attempted?
I tried to pass values into the metadata of PaymentIntentCreateOptions. But it doesn't show in the transfer object.

#

@safe phoenix pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://stripe.com/connect/pricing

Question
Hi, recently Stripe has updated their connect pricing page (see [now](https://stripe.com/connect/pricing) vs [before](https://web.archive.org/web/20240202101059/https://stripe.com/connect/pricing)).

Previously, there was clear documentation that express and custom account types cost $2/month/payout user, and standard account types didn't incur this cost.

Now, it just says "Stripe handles pricing" vs. "You handle pricing"; I've called both support and sales to get clarity on this and they don't have answers.

What have you already attempted?
There's nothing in the documentation or the pricing page which explains where the price branching occurs; how can I elect to allow Stripe to handle pricing vs. my application? Do custom/express account types still incur this fee?

What are you working on?
Attempting to use Stripe connect to payout funds to users' debit cards; separate transfers and charges

atomic shuttleBOT
#

@brazen moth pressed the 📡 API button in #help to ask a question:

Question
I am trying to bill a customer for a subscription when the reach the Checkout session. I have implemented the API but there seems to be some proration behaviour that causes the customer to be charged the amount for this month + another month together in the next upcoming month.

If the price for the subscription is $1.00

I want the customer to be able to pay $1.00 today and then get charged every month thereafter

Related Request ID(s)
N/A

What have you already attempted?
I have read the Stripe Docs, checked my product configuration

#

@chrome saffron pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Test an invoice (smart retries enabled) that will fail at the first attempt - more like a hard declines test case.

What actually happened?
There's no card number for hard declines test case

Reproduction Steps

  1. Enabled smart retries
  2. Test invoice but should be fail
  3. Wait for the webhook

Question
How do we test hard declines in the sandbox? What card number should be used?

atomic shuttleBOT
#

@fallen ginkgo pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/recurring-payments#enable-customer-portal

Question
When setting up an intent for future use? Is it necessary to create a customer object first? If we create the customer with the same info separately, will the customer ID be different?

What have you already attempted?
As a SAAS platform, we're trying to support subscriptions for our merchants. Since most of them are guest checkout flow, want to confirm the workflow.

atomic shuttleBOT
#

@grand moss pressed the 📡 API button in #help to ask a question:

Question
I was attempting to update a test connected account's `support_address`. However, I received an error that this was not allowed.

Related Request ID(s)
req_s6WgugGYMgAh2V

What have you already attempted?
I've tried to scan the docs to understand if there's some issues with the controller properties of the account that leads to this not being possible, but I have found no definite answer.

What are you working on?
Porting our billing system to stripe.

atomic shuttleBOT
#

@halcyon plover pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am using stripe billing page to upgrade and downgrade . it is working fine in sandbox and I am able to see the Update plan button on the billing page

What actually happened?
So as soon as I have moved to Live env I am only getting cancel subscription button , I am unable to find

Reproduction Steps
It can be seen on

Credentials
https://tradingfeed.com
rsmicky9@gmail.com
Genesis@987

Login with above credentials, you will see Profile drop down , go to profile menu, and then you will find manage plan button, click on that you will see the stripe page

Question
Why the sandbox and Live environment have difference

What are you working on?
I have stripe products which I provide as subscription to customers

atomic shuttleBOT
#

@autumn wasp pressed the 📡 API button in #help to ask a question:

Question
How to do Checkout Session make faster expired

Related Request ID(s)
req_T4XjwYaDkMXEK8

What have you already attempted?
I created Checkout Session with will expired at 30 minutes but I want to make ti faster (make it will expired in 10 seconds)

What are you working on?
Test Checkout Session expired to handle webhook events session expired

atomic shuttleBOT
#

@fallen ginkgo pressed the 👍 Best Practices button in #help to ask a question:

Question
When we try to confirm an off session payment, the 3DS card which we set for future-use sucessfully always failed due to authentication required, may I ask why this happened?
sandbox sample:
initial payment ID: pi_3PFsq6Hv726MzAnz0utGFz6V
recurring charge ID: ch_3PFsqWHv726MzAnz1x3KpvBz

Doc/Guide Links
https://docs.stripe.com/recurring-payments#use-paymentintents

What are you working on?
We're developing subscription for our merchant to accept recurring payment.

#

@toxic storm pressed the 📡 API button in #help to ask a question:

Question
Problem with payments, modifications in invoiceis.

Related Request ID(s)
none

What have you already attempted?
none

atomic shuttleBOT
#

@boreal orchid pressed the ❌ An Error button in #help to ask a question:

Error Message
type: 'StripeInvalidRequestError',
message: 'Invalid Stripe API version: 2023-10-16; embedded_connect_beta=v2;. You do not have permission to pass this beta header: embedded_connect_beta."

Question
I thought I was able to fix this problem, but it came out again. I am trying to embed my stripe app in a general white labeled web app, but also following this docs: https://docs.stripe.com/stripe-apps/accounting-software-integrations I still receive this error.

What have you already attempted?
I have submitted my account email, asking for the beta features enabled at the bottom of the docs page.

Reproduction Steps
I have followed these steps:
https://docs.stripe.com/stripe-apps/accounting-software-integrations

What are you working on?
Embedding stripe app in a web page.

#

@vocal wagon pressed the ❌ An Error button in #help to ask a question:

Error Message
Missing entries in the report

Question
When exporting payment records via /payments after selecting all applicable filters, exported file ONLY contains Paid, Failed, Refunded. It ignores all other statuses such as "incomplete".
It used to work before (2023 October) correctly.

What have you already attempted?
Changing different date ranges, exporting only "Incomplete" filter - none of it works

#

@versed moat pressed the 📡 API button in #help to ask a question:

Question
I have a 3 subcription based services along with one time payment addons. During the Checkout the GST shows under the total, but on the invoice that is generated GST is showing individually under the plan and the add on selected. I only need the GST to show on the total on the invoice as well

Related Request ID(s)
not sure what this is

What have you already attempted?
Tech Support

What are you working on?
Service based website

#

@languid tinsel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$checkout_session = \Stripe\Checkout\Session::create([
'metadata' => [
'payment_type' => 'subscription',
'userID' => '578943',
],
'payment_method_types' => ['card'],
'line_items' => [[
'price_data' => [
'currency' => 'gbp',
'product_data' => [
'name' => 'Annual Subscription',
'description' => $description
],
'unit_amount' => $unit_amount,

Question
The above code is working correctly however I'm trying to get the product_data.description content to display in the description field of the payments table on the stripe dashboard instead of the payment_intent id.

What have you already attempted?
I tries adding the description outside of the product_data array but this just throw an error.

What are you working on?
I'm the developer for a chamber of commerce and they have requested a facility for members to pay their subscription with Stripe

#

@grand moss pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected the `max_network_retries` setting being greater than 1 to cause any `RateLimitError`s to be retried.

What actually happened?
They were not retried.

Reproduction Steps
* create a stripe client with max_network_retries > 0
* run stripe calls in an asyncio loop rapidly

Question
Does this setting not handle RateLimitError?

#

@late nova pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am having issue in verifying webhook events using the Java SDK API: `Webhook.constructEvent(reqBody, sigHeader, webhookSecret)`. Its throwing an error like this: `com.stripe.exception.SignatureVerificationException: No signatures found matching the expected signature for payload`. I am obtaining the request body using the Java Servlet API's `HttpRequestBody.getReader()` method. I am pretty sure I am using the correct webhook secret, and the `Stripe-Signature` header is also being passed correctly to the verification API.

Related Event ID(s)
evt_3PFsxtDyHYYxA5fx1o0KRuSk

What have you already attempted?
BufferedReader reader = request.getReader();
StringBuilder sb = new StringBuilder();
String line = reader.readLine();
while (line != null) {
sb.append(line);
line = reader.readLine();
}
String reqBody = sb.toString();

What are you working on?
I am integrating my Java based e-commerce application with Stripe. And I am using checkout session and webhook event handling for the integration.

atomic shuttleBOT
#

@fallen ginkgo pressed the 👍 Best Practices button in #help to ask a question:

Question
We're providing a SAAS platform the merchant could use to accept payment via our integration. My question is do we need to worry about the Visa and MasterCard guidelines about the decline code or it will be handled by Stripe? The code that should not retry or the maximum number of retries should not reach, otherwise, there will be a fine from the card network.

Doc/Guide Links
https://stripe.com/en-hk/resources/more/a-complete-list-of-decline-codes
https://support.cardpointe.com/compliance/visa-decline-rules#understanding-visa-decline-rules-and-responses

What are you working on?
Help our merchant avoid fine from card network.

#

@limber jackal pressed the ❌ An Error button in #help to ask a question:

Error Message
I try to create a setup intent with a request in java on the functions deployed by firebase functions in NOdeJS 2nd generation. It 's not working since I change and redeploy my function from NodeJS 1st generation to NodeJS 2nd generation I have a 500 error : internal server error

Question
Internal Server error when accessing the create setup intent cloud function , why?

What have you already attempted?
I try to check the credential on the stripe and it seems good although I had a credential begining with ca_... that I dont retrieve on stripe (now it starts with acct_... but I dont think is the source of the problem

Reproduction Steps
I try to emulate on my cellphone android through android IDE with adb library as usual but it doesnt work

What are you working on?
mobile application

atomic shuttleBOT
#

@main creek pressed the ❌ An Error button in #help to ask a question:

Error Message
payment_intent_invalid_parameter - payment_method_types
The payment method type "blik" is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use.

Question
I'm testing a Google Pay payment in PLN with automatic_payment_methods enabled. We are not requesting a blik payment, but somehow it is interpreted as such by Stripe.

What have you already attempted?
Stripe support, no response...

Reproduction Steps
https://staging-checkout.parents.app/checkout/pay/NDQ0/all-about-parenting

go here, use any information to checkout, and then you'll get the error after you press the Pay button inside the Google Pay popup window

atomic shuttleBOT
#

@bleak crypt pressed the 📡 API button in #help to ask a question:

Question
We have auth token api for the standerd connect
https://connect.stripe.com/oauth/token

It working fine in API version
2020-08-27

but in API version 2019-08-14 throwing error

Something is wrong with your CSRF token. Make sure cookies are enabled in your browser, and try reloading this page. If you continue to see this error message, please let us know at https://support.stripe.com/contact/email.

Related Request ID(s)
NA

What have you already attempted?
I have changed the api version and it is working

#

@past pendant pressed the 👍 Best Practices button in #help to ask a question:

Question
Our platform is using the connect custom product and I want to apply fees based on stripe computed fees.
Which way is the best workflow to update the application_fee_amount after the payment intent is created and processed from the stripe client integration (we are using the React Native integration)?

Doc/Guide Links
Not found anything on the internet.

What are you working on?
We are developing a platform using the connected custom product.

#

@topaz coral pressed the 🪝 Webhooks button in #help to ask a question:

Question
Does Stripe CLI have a Stripe Connect webhook?
I am looking for Stripe Connect webhook signing secret when using stripe CLI

Related Event ID(s)
evt_1PFsorExmMvzts3VEVVsliaH

What have you already attempted?
I am getting error when attempting to sign the webhook and I assume it may be connected with either using older version of stripe API, or I have misconfigured stripe-php library

atomic shuttleBOT
#

@fathom comet pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, I'm activating my account and wish to add tax calculation, my problem is that I don't know how to determine the category of my product, so I will need your help for it.

Doc/Guide Links
I didn't read any guide or doc because I don't know how to determine the product category.

What are you working on?
So the app is an online platform where users can subscribe and get gems (In app currency) with those gems, they can watch mastermind videos, ask questions to a pro, buy resources, later on they will be able to signup for webinars

atomic shuttleBOT
#

@rapid solstice pressed the 📡 API button in #help to ask a question:

Question
Do you have an api to pause/continue payouts which you provide to your customers?

Related Request ID(s)
Home->Payments->Connect->Risk management with Connect

What have you already attempted?
I tried to look around but couldn't find the endpoint

What are you working on?
Need to pause/continue the payout feature from weave end instead of going to stripe

#

@noble talon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/oauth-reference

Question
I'm interested in using Oauth to allow existing standard accts to connect to my platform. However I need to be able to pass value to Oauth and back again so I know which user on my platform has connected using OAuth so I can update the database.

What have you already attempted?
I tried using state and passing the user's ID however I don't believe state should be used that way as it says it is used for CSRF

What are you working on?
SaaS platform for non profit club mgmt

atomic shuttleBOT
#

@zealous pelican pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/object#invoice_object-default_payment_method

Question
Trying to find which payment method a user is going to use, I have found the following:
- invoice.default_payment_method
- subscription.default_payment_method
- invoice.default_source
- subscription.default_source
- customer.invoice_settings.default_payment_method
- customer.default_source

I'm not sure what's the order in which those are used and if there others?

What have you already attempted?
Reading the doc

atomic shuttleBOT
#

@toxic storm pressed the 📡 API button in #help to ask a question:

Question
Not retrieving data from Webhook

Related Request ID(s)
none

What have you already attempted?
trying different responses.

#

@tardy fractal pressed the 📡 API button in #help to ask a question:

Question

  1. Unlike promo codes, users can't redeem coupons on the Stripe checkout page. We understand this, as these codes are not customer-facing, but we want to confirm if this is correct or if we're missing anything.
  2. In a scenario where a customer has both a promo code and gift vouchers, how should we handle this? Stripe checkout only allows the use of one code at a time.
  3. Additionally, if we know the customer has some credit notes available, how can we apply these credit notes to the Stripe checkout session? We know that invoices automatically apply credit notes, but is there similar functiona

Related Request ID(s)
None

What have you already attempted?
Reading Docs

What are you working on?
Stripe Integration with website

#

@hushed summit pressed the 📡 API button in #help to ask a question:

Question
So im using checkouts to pay for a specific product. I have also implemented that i have a redirect to my payment-page, where the checkout session id is a parameter in the url. on this page i have an api call that checks my payment status. i am getting the session-object from stripe. that is also successful. but the thing is, even though i implemented that the checkout create an invoice automatically, the invoiceId of my session object is NULL.

Related Request ID(s)
-

What have you already attempted?
i give some code snippets to explain my workflow:
my endpoint that grabs the sessionid as parameter
CheckPaymentStatus/{sessionId} (works)

my method that is checking the payment:
CheckPaymentStatus(sessionId, stripeCustomerId, taxRateDbId.TaxRateDbId)

inside the method i get the session object:
var session = await sessionService.GetAsync(sessionId); (at this point its already paid and stuff (automatic creation of invoice)

now i try to get the invoice via the linked id:
var promotionCode = await CheckPromotionCode(session.InvoiceId) // session.InvoiceId is NULL but this actually cant be. the

What are you working on?
enterprise app

#

@short stream pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$checkout_obj = $stripe->checkout->sessions->create([
'mode' => 'setup',
'currency' => 'usd',
'customer' => Auth::user()->stripe_custid,
'success_url' => env('APP_ACCESS_URL').'/status/success?session_id={CHECKOUT_SESSION_ID}',
'cancel_url' => env('APP_ACCESS_URL').'/status/cancel',
]);

Question
payments/save-and-reuse I have saved users payment info via this now i want to charge user

What have you already attempted?
payments/save-and-reuse I have saved users payment info via this now i want to charge user

#

@vocal wagon pressed the 📡 API button in #help to ask a question:

Question
Is there anyway to have my invoice line items in the subscription invoice show more than the product name? For example, I have two metered subscription items created for two customers in the same subscription and I want to show the customer's name beside each of them. But right now, both the line items just show the product name

Related Request ID(s)
None

What have you already attempted?
I've tried adding custom fields and metadata but they're applied to the entire invoice not individual line items

What are you working on?
Reading docs to figure out something

atomic shuttleBOT
#

@sturdy garnet pressed the 📡 API button in #help to ask a question:

Question
We currently use stripe-hosted payments for a connect account with 'express' type.

We are now looking at adding a terminal so we can tap a card for payment.

I found this page, but I am also wondering if that is the simplest way that is available?

https://docs.stripe.com/terminal/features/connect

Related Request ID(s)
None

What have you already attempted?
N/A

What are you working on?
Integrating a terminal for Stripe

#

@dark kiln pressed the 📡 API button in #help to ask a question:

Question
I need to get balance for an issuing card holder

What have you already attempted?
I don't find any apis for that

#

@reef kestrel pressed the 📡 API button in #help to ask a question:

Question
Do transfers automatically get reversed if a subscription (with transfer data set) gets modified when using https://docs.stripe.com/api/subscriptions/update to change the price_id, transfer_data and on_behalf_of?

context:
A user has a subscription with on_behalf_of and transfer_data set so that a portion of the billed amount is transferred to a connected (stripe Connect) account. Want to make sure that is the price_id and transfer_data/on_behalf_of information is changed, that adjustments would be made to ensure the transfers are correctly reflected

Related Request ID(s)
-

What have you already attempted?
https://docs.stripe.com/api/subscriptions/update

What are you working on?
Modifying subscriptions with connected accounts

#

@hoary venture pressed the 🧑‍💻 Code button in #help to ask a question:

Code
func discoverReadersActions() throws {
let config = try LocalMobileDiscoveryConfigurationBuilder().build()
self.discoverCancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
if let error = error {
print("discoverReaders failed: \(error)")
} else {
print("discoverReaders succeeded")
}
}
}

Question
I have integrated tap to pay functionality in our iOS app using StripeTerminal SDK and complete ios entitlement process for tap to pay then run my code :

i got an error like :
discoverReaders failed: 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,

What have you already attempted?
https://docs.stripe.com/terminal/payments/connect-reader?reader-type=tap-to-pay

Following above document steps

What are you working on?
app developpment

#

@rich forge pressed the 📡 API button in #help to ask a question:

Question
How can I autofill the billing address in the CheckoutSession via setting the customer="<id here>"

Related Request ID(s)
nvt

What have you already attempted?
I've tried:

  1. Setting the customer id (with data for address prepared)
  2. using billing_address_collection & customer_update on CheckoutSession

What are you working on?
billing address for subscription service (SaaS)

#

@ornate schooner pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const response = await stripe?.collectBankAccountForPayment({
clientSecret: clientSecret,
params: {
payment_method_type: 'us_bank_account',
payment_method_data: {
billing_details: billingDetails as any,
},
},
})

Question
I'm trying to collect user's bank account. The issue I'm facing is when they cancel and close the modal without saving the bank details. The API is returning a response.paymentIntent object but no error. Is this ok? Should return an error and the paymentIntent as undefined, right?

This opens stripes modal and ask the user for their bank account information.

What have you already attempted?
Added code above and tried canceling the flow. The response.error was always undefined.

#

@brisk nymph pressed the 🪝 Webhooks button in #help to ask a question:

Question
I need to listen to event when user's subscription cycle starts

Related Event ID(s)
N/A

What have you already attempted?
I tried listening to 'invoice.updated' but that is not fired when discount is applied at a time of checkout

#

@reef dune pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm working with refunds. I wanted to understand when charge.refund and charge.refund.updated events are triggered

Related Event ID(s)
111

What have you already attempted?
Test those using sandbox

What are you working on?
Refunds

#

@sweet solar pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/capture

Question
I want to process a payment for our customer and charge him on his default payment method. I want to do this server side using the customer ID.

What have you already attempted?
Tried to create a payment method and capture it ( this results in an error), comb through documentation

#

@pastel moon pressed the 📡 API button in #help to ask a question:

Question
I have implemented Stripe Checkout a while ago. For some reason I thought it was a good idea to obfuscate the clientReferenceId a bit by appending and prepending some random data.

This was, in hindsight, a rather foolish endeavor. Is there a way where I can update this retroactively?

Related Request ID(s)
req_i2ZPkLWhZ1Y1R9

What have you already attempted?
I've searched the docs but to no avail.

What are you working on?
Dating App

#

@silk python pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/oauth-reference

Question
Is it possible to test read and write permission for test and live account together when onboard to a platform api

What have you already attempted?
I found out that we need to separately onboard stripe accounts in live and test mode. To take permissions.

atomic shuttleBOT
#

@eager scroll pressed the ❌ An Error button in #help to ask a question:

Error Message
API Error Code: 402 - Card Declined

card_declined
The card returned a decline code of transaction_not_allowed and did not provide any additional details.

The customer may need to contact their card issuer for more information.

Question
Around 10 of our customers have gotten the before-mentioned card declined error when attempting to purchase a subscription. Is there anything we can do on our side to allow the customer to purchase in another way / mitigate this issue?

Or would it be possible to get a more detailed reason as to why the error occurred?

What have you already attempted?
We have confirmed that the possible reasons listed in the docs are not creating the error on our end. Customers have tried multiple payment methods and received the same error.

atomic shuttleBOT
#

@urban pilot pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments

Question
Hello, I don't know if this is a good question. But I would like to integrate stripe for a website which offers bingo games for associations. The association publishes bingos and a visitor who wishes to participate makes payment. I don't know how to get payment from the player (visitor) to the association via my site. Thank you

What have you already attempted?
I tried paying with stripe connect but I couldn't do it. I don't know this is the right way to do it for my application.

What are you working on?
bingo game for helping association who need help.

#

@fluid bear pressed the 📡 API button in #help to ask a question:

Question
I am having an issue with lineitems and correctly calcualting proper tax when quantity > 1

Related Request ID(s)
req_oz8NCDYnqXDJIL

What have you already attempted?
I have it working but it only taxes 1 line item, even when you add a qty of > 1

What are you working on?
KM

#

@ornate schooner pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<Elements
stripe={stripePromise}
options={{
...stripeOptions,
clientSecret:
'pi_3PFzguJn1cC6kOJB1Q9fZzaJ_secret_•••MWGk',
}}
>

          <PaymentElement /\>
        </Elements\>

Question
Is there a way to only show the Bank Account option when rendering the PaymentElement component? I don't want to disable the option in the dashboard, just want to hide the Credit Card component on the UI

What have you already attempted?
Tried to hide it through css

#

@glass umbra pressed the 📡 API button in #help to ask a question:

Question
Hello, i need help with split in subscription

Related Request ID(s)
Split in subscription

What have you already attempted?
I create a transfer object to transfer to account but i dont know if really are working

#

@hexed vessel pressed the 📡 API button in #help to ask a question:

Question
i am trying to know how can i add discount on a product i have on my catalogue. because i am not seeing that option, and i prefer making a discount, instead of changing the value of the product, because it is good for the people that want to buy things that they know that are in promotion.

Related Request ID(s)
na

What have you already attempted?
watching every option on dashboard at stripe

What are you working on?
website

atomic shuttleBOT
#

@viral spoke pressed the 🪝 Webhooks button in #help to ask a question:

Question
I would like to receive webhook events from my connected accounts, but I don't receive them

Related Event ID(s)
*

What have you already attempted?
I tried to use the -c flag for the local setup to test everything, but still no connection

#

@lime sierra pressed the 📡 API button in #help to ask a question:

Question
Hello, we are trying to enable Apple Pay on a Next.js app deployed to Vercel. Since our app is primarily on our domain (app.com for example), but there are also dev and staging domains (staging.app.com), is it possible to add just app.com to the "Payment method domains"?

Related Request ID(s)
pmd_1PFzmwGC5p7FeC5LrkeSPhBj

What have you already attempted?
We've added app.com to the payment domains, but when opening staging.app.com, Apple Pay is not working in Safari (we get the Link fallback).

#

@cobalt anvil pressed the 🪝 Webhooks button in #help to ask a question:

Question
My site is hosted on a platform that does not allow server-side code access, so I cannot verify webhook signatures. Is retrieving the event provided by the webhook just as secure? If so, are there any downsides to that approach?

Related Event ID(s)
not applicable. general webhook question.

What have you already attempted?
Verifying webhook signature not possible on hosting platform.

What are you working on?
Checkout webhook notification

#

@ornate schooner pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<Elements
stripe={stripePromise}
options={{
paymentMethodTypes: ['us_bank_account'],
clientSecret: clientSecret,
}}
>
<PaymentElement />
</Elements>

Question
I'm trying to hide the Credit card option in the UI. I already have a custom component for rendering the Credit Card form. What I need to do is render the US Bank account option only using the PaymentElement component.

What have you already attempted?
Added paymentMethodTypes array but I get this error:
Uncaught IntegrationError: Invalid value for elements.update(): `paymentMethodTypes` is only applicable when a `mode` is set.

#

@lapis egret pressed the 📡 API button in #help to ask a question:

Question
What is the best way to auto cancel a subscription after 3 years? The customer will be paying annually.

I know we could set the cancel_at param. but I’m wondering if there are any more elegant solutions. Thanks.

Related Request ID(s)
na

What have you already attempted?
na

#

@lime bear pressed the 📡 API button in #help to ask a question:

Question
We need to understand how to identify Australia eftpos transactions, and in particular debit transactions. The documentation (https://docs.stripe.com/payments/eftpos-australia#identify-which-network-a-payment-was-processed-on) seems to be for a credit card processed through eftpos. What would we see for eftpos debit transactions. Is there a special payment type like there is for Canada for instance for Interac where the payment type is interac_present?

Related Request ID(s)
N/A

What have you already attempted?
Read docs.

What are you working on?
Australian merchant using eftpos.

#

@devout trout pressed the 🪝 Webhooks button in #help to ask a question:

Question
Issue with processing United Health Care and Zelis Insurance Cards on Adit Pay they are getting declined

Related Event ID(s)
Issue with processing United Health Care and Zelis Insurance Cards on Adit Pay they are getting declined

What have you already attempted?
Issue with processing United Health Care and Zelis Insurance Cards on Adit Pay they are getting declined

What are you working on?
Issue with processing United Health Care and Zelis Insurance Cards on Adit Pay they are getting declined

#

@cerulean panther pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I want to onboard customers with stripe connect

What actually happened?
When I onboard a test user stripe restricts the connected account

Reproduction Steps
Stored the stripe connect account id. Api responds with customer is missing for that customer id when creating a payment intent

Question
How do I onboard a customer on a testing account without the restrictions.

#

@green bluff pressed the 📡 API button in #help to ask a question:

Question
https://docs.stripe.com/api/payment_intents/update#update_payment_intent-setup_future_usage

What would be the harm of setting setup_future_usage=on_session

If 99% of the customers do NOT make additional purchases?

Related Request ID(s)
none

What have you already attempted?
Our system collects data for our customer's but we do no data management. Sometimes our customer's would like to charge credit using Stripe and we're having issues with error ' The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment'

So far I am only researching and haven't tried anything yet

What are you working on?
We collect form/submission data for our customers.. We are a SaaS that provides Online Forms

#

@lethal laurel pressed the 📡 API button in #help to ask a question:

Question
Where can I see the exchange rate used for a chargeback? I only `null` in the related balance transaction, unlike the balance transaction for the original payment.

For example, this $192 payment shows an USD–EUR exchange rate of 0.909412 giving €174.61 gross — txn_3OkbzDCxlkTqLKpv0P0HUwmu

However the chargeback BT shows -€179.49 gross, but a `null` value for the exchange rate — txn_1P4myWCxlkTqLKpv1cNbTMT4

It's expected that this amount differs from the original, but the exchange rate seems quite far away from the USD–EUR exchange rate on our other Stripe transactions at the same time.

Related Request ID(s)
See above

What have you already attempted?
I've read the dispute docs (which mention that the exchange rate may differ from the original transaction).

#

@earnest lintel pressed the 📡 API button in #help to ask a question:

Question
Is it possible to transition payment methods from Bill.com to Stripe?

Related Request ID(s)
xxxxxxxxxxxxxxxxxxxx

What have you already attempted?
Googled documentation -- couldnt find anything.

#

@urban pilot pressed the 📡 API button in #help to ask a question:

Question
How can I create a Standard stripe connect account for testing ?

Related Request ID(s)
.......

What have you already attempted?
I have create an Stripe acount but I can't use connect.

#

@fluid bear pressed the 📡 API button in #help to ask a question:

Question
Trying to get the amount of tax for 1 item in an invoice->invoiceitem

Related Request ID(s)
req_erBRaEs8LxAItT

What have you already attempted?
I have it providing the total tax for quanity x amount but it shows total, not individual item tax.

atomic shuttleBOT
#

@cobalt anvil pressed the 👍 Best Practices button in #help to ask a question:

Question
This post #1239495995889291305 message list ssome ids that are safe to share publicly. Event ids (evt_abc123) are not listed there. Should they be kept secret, or is it ok to share them (on this forum for instance)? The message I referenced says to ask if unsure.

Doc/Guide Links
Searched the forum and Stripe docs.

What are you working on?
Webhook integration

#

@next bloom pressed the 🪝 Webhooks button in #help to ask a question:

Question
Will the subscription related webhooks (renewal) fire at roughly the same time every time?

Related Event ID(s)
n/a

What have you already attempted?
All I can find is info saying order of webhooks isn't guaranteed. That's fine, just wondering if customer X had his subscription renewal webhooks come through last month at 10:30pm if that'll be roughly the same time again this month.

#

@tepid briar pressed the 📡 API button in #help to ask a question:

Question
Hello! We're doing a summer special for our product. It's a pre-paid 4 months of the normal subscription, but starts June 10. Since customers can pre-pay, I'm trying to figure out the best way to support this combination of one-time payments and subscriptions with the API. Basically, I need:
* A way to add a free trial period between payment and June 10, or between end of their subscription and Oct. 10, so they have access from payment to Oct. 10.
* A way to auto-pause their subscription on Oct. 10th so they don't get charged again yet can easily resume if desired. Right now I can only cancel.

Related Request ID(s)
N/A

What have you already attempted?
* Adding trial days to the beginning of the subscription
* Using the "invoice created" Webhook, and trying to check if it's the 2nd invoice (for auto-pausing)
* Using one-time payments instead of subscriptions, but we need them to be on a subscription starting Oct. 10

What are you working on?
It's a web application written in Next.js.

#

@golden valley pressed the 📡 API button in #help to ask a question:

Question
I am trying to enable subscriptions for INR product (price_1PD2IfSBZsodt4wdhQMPkPkH) for Indian users with Indian cards. I am using checkout sessions to create the link. On payment however, the flow fails with the message "An error occured while processing your payment. Try again later or a with a different payment method"

Related Request ID(s)
req_vnVaUMiSZuHueg

What have you already attempted?
Works for non India cards. Read the docs, says mandate setting up should be automatically handled, I tried making billing address required, still no avail.

What are you working on?
Just a SaaS service (https://iipmaps.com/stripe)

#

@atomic urchin pressed the 👍 Best Practices button in #help to ask a question:

Question
We're needing to merge customers/move subscriptions with a pivot in our application. What's the best way to accomplish this but not have a large churn rate in the analytics?

Doc/Guide Links
https://support.stripe.com/questions/recreate-subscriptions-and-plans-after-moving-customer-data-to-a-new-stripe-account
https://support.stripe.com/questions/copy-existing-account-data-to-a-new-stripe-account
https://docs.stripe.com/get-started/data-migrations/pan-copy-self-serve

What are you working on?
Fintech app for broker/dealer

atomic shuttleBOT
#

@hexed mist pressed the 🪝 Webhooks button in #help to ask a question:

Question
I currently use checkout sessions, and then my webhook does a number of things on invoice.paid, including adding some features to a user's account on my db. After the checkout finishes and redirects back to my page, i just have an arbitrary wait (5 seconds) to give the webhook time to update the DB. I want to make sure things are checked properly, but i don't know if i need to account for issues like failed payments, authetication steps, etc. If a checkout 'succeeds' to the point of redirecting back to the success page, can anything happen at that point that stops payment?

Related Event ID(s)
Not relevant

What have you already attempted?
As i said, i currently just have a delay, but that's not great.

#

@viral spoke pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I would like to render a payment element via a plattform account that confirm the paymentintent on the connected account

What actually happened?
The payment element won't load

Reproduction Steps
Follow the guide to setup a custom payment flow and add the stripeAccount option to the stripePromise

Question
How to make the paymentelement visible?

atomic shuttleBOT
#

@unkempt cape pressed the 📡 API button in #help to ask a question:

Question
I need to know if it's possible to use Stripe Web Elements to display a list of customer's payment methods. Can I use the publishable key to obtain a list of payment method objects and display it nicely using Stripe Elements? They could select a payment method and we could submit the pm id to our server to make a payment. Alternatively, is there a Stripe element to which I can provide the pm id and it will display it with the correct branding and info using the publishable key?

Related Request ID(s)
none

What have you already attempted?
Looking in the Stripe Elements documentation and stripe.js docs. I can't find an element which you can use to display existing payment methods for a customer using proper branding.

What are you working on?
An online store

#

@worldly tusk pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://github.com/stripe/stripe-terminal-react-native

Question
Good afternoon, what's up?

I recently made a tap to pay mock for react native apps with expo.

I noticed that you don't have a code example for this implementation.

I haven't uploaded it to my github yet, but I'm doing it and I'll document it.

Would you like to make it available on your git?

Sorry for posting this question here, I don't know if it was the right place.

What have you already attempted?
Nothing

#

@ornate schooner pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const { paymentIntent: paymentConfirm, error: errorPayment } = await stripe?.confirmUsBankAccountPayment(clientSecret)

Question
I'm collecting the user's bank details with collectBankAccountForPayment and confirming the payment with confirmUsBankAccountPayment. The issue I'm facing is that the returned status after confirming the payment is always "processing", after some seconds the status is updated to the desired one (success, failed, etc).
Is there a way to make `confirmUsBankAccountPayment` a synchronous call?

What have you already attempted?
const { paymentIntent: paymentConfirm, error: errorPayment } = await stripe?.confirmUsBankAccountPayment(clientSecret)

#

@modest cloak pressed the 📡 API button in #help to ask a question:

Question
How can I provide a `receipt_email` when creating a stripe checkout session when the mode is 'subscription'. With normal payments I'm able to pass it under `payment_intent_data`, but this is not available with subscription setups. I am using Stripe Connect express if that is relevant

Related Request ID(s)
N/A

What have you already attempted?
N/A - this doesn't seem to be documented

#

@spark egret pressed the 📡 API button in #help to ask a question:

Question
Hi Im trying to figure out how to configure payouts for my connected accounts. I would like to set individual merchants to Net vs Gross and would like some of my merchants to be on interchange plus pricing

Related Request ID(s)
n/a

What have you already attempted?
I read the docs on connect not sure where to configure this

#

@untold portal pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/create

Question
Do you have it in .NET Framework v4.0

What have you already attempted?
I'm working in .NET Framework v.40, but the code guides in newer .NET Framework

#

@warm lichen pressed the 📡 API button in #help to ask a question:

Question
Is the https://docs.stripe.com/api/charges/retrieve call the correct one to work with to get all the transactions made by customers over the period of 30 days? How long are these transactions kept available for us to download?

Related Request ID(s)
i don't have this info

What have you already attempted?
It's confusing in the docs.stripe.com site - in looking to charge a client, it says go to the payments documentation.. but I need to confirm that the 'list' of all charges is still available from the charges/retrieve calls

What are you working on?
Trying to identify which methods to call for a client, and get a rough idea of the time involved to implement them.

atomic shuttleBOT
#

@open cape pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const {loadStripeTerminal} = require ('@stripe/terminal-js')

const StripeTerminal = async function loadStripeTerminalCall() {
return ( await loadStripeTerminal());

}

var terminal = StripeTerminal.create({
onFetchConnectionToken: fetchConnectionToken,
onUnexpectedReaderDisconnect: unexpectedDisconnect,
});

Question
I am attempting to use the npm module for @stripe/terminal-js. I tried following the instructions here: https://www.npmjs.com/package/@stripe/terminal-js

However the
import {loadStripeTerminal} from '@stripe/terminal-js';

posted an error saying I can't import outside of a module- so you will see in the code that I used the require pattern and then used th.e async loadStripeTerminal call. The problem I am getting a runtime error I listed in the next field.

What have you already attempted?
THIS IS THE ERROR:

onFetchConnectionToken: fetchConnectionToken,
^

ReferenceError: fetchConnectionToken is not defined
at Object.<anonymous> (/Users/angell/src/demo/server.js:23:27)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)

What are you working on?
Node server to integrate to custom POS.

#

@lunar zodiac pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, I was wondering about this specific line stating that "All server-to-sever communication is encrypted using mutual transport layer security (mTLS)". Does this mean that all client-side communication to Stripe via the Express Checkout Element is encrypted via mTLS. Or does this not apply to client-side interaction?

Doc/Guide Links
https://docs.stripe.com/security#https-hsts-secure-connections

What are you working on?
Stripe Integration

#

@proven copper pressed the 📡 API button in #help to ask a question:

Question
Hi. I'm trying to create a non-trial daily Subscription charged every 7 days. Even trying with subscription schedules, I haven't been able to generate the scenario.

Related Request ID(s)
no

What have you already attempted?
When I create a daily subscription, the bill must be generated 1 day after the subscription is created.

When I create a weekly subscription to be billed after the first week, and cancel the subscription on the first week, I cannot charge the user because it seems the first week is free.

What are you working on?
Implementing a new product tier: from monthly (charged upfront) to daily (charged after 7 days)

#

@young ruin pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there a way to send an email for an invoice payment with only the receipt attached and not the invoice?

Doc/Guide Links
https://docs.stripe.com/receipts
Invoice API docs

What are you working on?
Collecting payment using React Stripe Payment Element

#

@hexed hound pressed the 📡 API button in #help to ask a question:

Question
I'm currently working on an tickets app in FlutterFlow where I need to set up Stripe API in order to be able to transfer the payment to the owner of the event and keep the fees to the owner of the app. I have no idea where to start...

Related Request ID(s)
API - FlutterFlow

What have you already attempted?
Been through the documentation but, as I have no experience whatsoever on coding and developing apps, I don't know what to do.

What are you working on?
EventGo - a ticket selling app for european countries.

atomic shuttleBOT
#

@crisp falcon pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best practice for increasing prices on existing customers who are currently using Stripe Billing recurring subscriptions?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?
Increasing pricing for subscription customers

#

@tropic wyvern pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Since I enter the required fields in the onboardings of Connect, i expect the completed fields to be present in the object, once I retrieve this from the Stripe API.

What actually happened?
After having completed the process, the fields are not all compiled. For example: email, name.

Reproduction Steps
Follow the following guide: https://docs.stripe.com/connect/onboarding/quickstart?client=html&connect-onboarding-surface=embedded&connect-dashboard-type=express&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-type=destination, taking care to set the following fields:
type: express
oboarding: embedded

Question
I followed the guideline in the 'Reproduction Steps' section in order to be able to proceed with the creation of an account. However, once the user enters all the fields, after the object is realised, consulting this, most of the fields turn out to be null. What is the reason for this?

What are you working on?
Realization of an connected account

#

@vocal wagon pressed the 📡 API button in #help to ask a question:

Question
I'm creating a subscription in INR for an indian customer who has saved card. But when they try to pay the invoice or when I try to deduct it, it fails.

Related Request ID(s)
None

What have you already attempted?
I've tried providing the invoice link but it still fails. I tried creating the subscription but automatic payment deduction fails as well

What are you working on?
Trying to read docs

#

@elder heart pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Stripe Pricing Tables re. Subscriptions (with existing Customer and Default Payment Method)

Question
Stripe Pricing Tables re. Subscriptions (with existing Customer and Default Payment Method)

What have you already attempted?
Stripe Pricing Tables re. Subscriptions (with existing Customer and Default Payment Method)

#

@torpid forge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Stripe React SDK to launch Elements without integration error for pre-initiated payment intent and client secret; and elements.update to not throw an error

What actually happened?
Stripe React SDK throws the errors below:
- "IntegrationError: Invalid value for elements.update(): `amount` is only applicable when a `mode` is set."
- IntegrationError: Invalid value for elements.update(): `setupFutureUsage` is only applicable when a `mode` is set.

Reproduction Steps
-Code for Elements provider
<Elements options={{ clientSecret: '{{CLIENT_SECRET}}'} stripe={CheckoutForm}>
{CheckoutForm}
</Elements>

- In our checkout form, we have the following logic for elements

if (isAutopaySelected) {
elements?.update({ setupFutureUsage: "off_session" });
}

elements?.update({ amount: 1000})

Question
For the repro steps above, I generate the client secret with parameters matching the the intent to update elements, for example: with `setupFutureUsage` and `amount`

Can we launch elements with pre-set client secret and call elements.update({}) with options such as amount and setupFutureUsage?

What are you working on?
Stripe Checkout with existing payment intent, and allowing users to update options of payment intent when they checkout

#

@fickle wagon pressed the 🧑‍💻 Code button in #help to ask a question:

Code
There is no relevant code as this is not a directly code related question, more a structure based question.

Question
I was wondering if there was a Java wrapper that is currently supported, that makes API calls easier.

What have you already attempted?
There is no relevant code as this is not a directly code related question, more a structure based question.

#

@rotund whale pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi there!
I can't find anything on the doc but it looks like `charge.refunded` is not delivered for a partial captured Payment Intent, while `charge.refund.updated` is. Is this expected? If so, can we assume that `charge.refund.updated` is always delivered for partially captured PI even if this behavior isn't documented?

Related Event ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
A cloud base POS solution

atomic shuttleBOT
#

@tawdry latch pressed the 📡 API button in #help to ask a question:

Question
don't see paypal as a wallet option in my settings/payment_method dashboard

Related Request ID(s)
n/a

What have you already attempted?
nothing

#

@rotund whale pressed the 🪝 Webhooks button in #help to ask a question:

Question
Following up on Refund and Charges

Related Event ID(s)
NA

What have you already attempted?
NA

atomic shuttleBOT
#

@jolly scarab pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/bank-transfers/accept-a-payment?payment-ui=elements#instruction-emails

Question
For bank transfers, I see there is a way to send the payment instruction via email. Is there a way to send emails for other bank transfer events?

i.e
- notify the merchant of a partial payment
- notify the merchant of a change in the customer balance (i.e too much money sent)
- send receipt to customer for partial or over funding?

What have you already attempted?
Looked thorugh docs

What are you working on?
Adding bank transfers to a website

atomic shuttleBOT
#

@ionic cypress pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am getting this error when trying to receive a webhook for account.updated:
Webhook signature verification failed. Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead.

Related Event ID(s)
evt_1PGAb6CkGMQUcJe3rl4ybJ40

What have you already attempted?
I have followed the webhook builder for nodejs found here:
https://docs.stripe.com/webhooks/quickstart

What are you working on?
Building a webhook to update the connect account statues in our database when a user makes a change.

#

@outer lance pressed the 📡 API button in #help to ask a question:

Question
can i show switch interval subscription button in checkout session api ? like monthly of yearly

Related Request ID(s)
N/A

What have you already attempted?
i already read the api docs but not found setting for show button switch interval subscription in checkout sesssion

What are you working on?
building

#

@icy bison pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
One `customer.subscription.updated` is generated when the billing cycle is reached.

What actually happened?
When the billing cycle switches, the `
customer.subscription.updated` has occurred twice.

Reproduction Steps
I don't know about reproduction.

Abnormal customer cus_NnRELXEV0zxp7U
Normal customer sub_1MgUfSJrgt3ZD9jfUiCejuTO

Question
(Brief description) We have Base Price and Advance Price.
An unusual user (cus_NnRELXEV0zxp7U) was scheduled to change to Advance in April and Base Price on 5/1. However, immediately after paying the Base Price on 5/1, `customer.subscription.updated` was occured and he was put back on the Advance Plan.

What are you working on?
I looked for users with the same behavior, but could not find any.

atomic shuttleBOT
#

@drowsy raven pressed the 📡 API button in #help to ask a question:

Question
Hello. I am trying to add ACH as a payment method. I actually succeeded in doing so and have tested the implementation and works. The payment method is only showing up after it is verified. When it is not verified, it doesn't show up, not even something like "in process of verification". My question is, is this behavior possible? Is it possible to query for payment methods that are still verifying, just to show on the UI that the user has added it at some point?

Related Request ID(s)
n/a

What have you already attempted?
I tried to see if I am somehow filtering them but this does not seem to be the case.

#

@hazy vessel pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/handling-api-verification#acceptable-verification-documents

Question
I'm using Connect with Standard accounts and Connect Onboarding, and want to send customers a link of how to verify their standard account who have signed up to my platform and I've created a connected account, but it hasn't been verified.

What have you already attempted?
Currently sending them email with the doc above as it provides the identity requirements, but looking for a guide that is more user/customer friendly/focused

atomic shuttleBOT
#

@low scarab pressed the 📡 API button in #help to ask a question:

Question
I am attempting to make a test Transfer with a Destination of a business account in the amount of $2, but I'm getting an Insufficient Funds error. I have added $1000 to the business account in question, but continue to receive the error. What am I doing wrong, and where should I be adding the funds? The account is in Test Mode

Related Request ID(s)
req_YJCgj6lxZSufyb

What have you already attempted?
After getting "insufficient_balance_transfer_test_mode" I added funds to the account using the test card listed on Dev Support page, but it still throws the error

What are you working on?
Attempting to make a test transfer to a business account

atomic shuttleBOT
#

@prime vector pressed the 📡 API button in #help to ask a question:

Question
I have a tier price (Graduated Method) in Stripe. Product ID: prod_OpSoF1wLP2iKyv and PriceID: price_1OwKtESHfPX4sMsW5SWxDaWR. Consider Main User as First User with Price as 799INR and each additional user as subuser as 699INR but while adding two additional/sub users under main user i am getting the same price for Main user and additional user 1 which i don't want. My requirement is to get the 799 INR

Related Request ID(s)
-

What have you already attempted?
https://docs.stripe.com/products-prices/pricing-models#tiered-pricing

I am trying to add all additional users under main user in different days with 699 INR as price.

What are you working on?
For Instance if am adding two users under main user, both users must use the 699 INR price. But in my case first additional user using 799 and second one is using 699 which i don't want

atomic shuttleBOT
#

@brisk nymph pressed the 🪝 Webhooks button in #help to ask a question:

Question
I need to listen to the event when the user's subscription cycle starts

Related Event ID(s)
N/A

What have you already attempted?
I tried to listen to invoice.updated event , but it is not triggered when discount is applied at a time of checkout

#

@left comet pressed the 📡 API button in #help to ask a question:

Question
How do I list all associated transactions (charge, refund, transfer, etc) of a specific Payout Object?

Related Request ID(s)
/v1/balance_transactions, /v1/payouts

What have you already attempted?
I'm new to the API and I've tried using the balance transactions API to list the transactions Associated to a payout as I've read per other stripe forums , on the stripe api official pages and API documentation. But it would only return the details regarding the Payout Object. I've tried expanding the source and it would only show the details of the Payout Object. I'm trying to get associated charges but so far I'm failing.

What are you working on?
I'm trying to make a page on my web Application that would show all associated transactions from a Payout Object. I'm going to use it as part of my reporting module so that I can show a breakdown

#

@drowsy raven pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Setup Intent not to be created the moment I create a subscription

What actually happened?
Setup Intent created when I create a subscription

Reproduction Steps
I basically called `subscription = Stripe::Subscription.create(payload)` and the first webhook returned is a setup intent

Question
We have a custom stripe implementation, and we have logic in place to create our setup intents. However, everytime we create the subscription, a setup intent is being created by default. Is this necessary?

#

@unkempt jetty pressed the 📡 API button in #help to ask a question:

Question
We have hire products for our clients. Is there a way to securely store the clients card details in case of loss or damage. We are trying to streamline the client experience without charging them an out of pocket deposit fee and then have to process refunds.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@brazen moth pressed the 🪝 Webhooks button in #help to ask a question:

Question
How do I distinguish between a failed payment on the Stripe Checkout Session and the failed payment on a recurring payment that happens every month ?

Both fires the `payment_intent.payment_failed` event.

I want to be able to distinguish where it happened.

Related Event ID(s)
evt_3PGDv7Gei7MrDZax0sJucljo

What have you already attempted?
I have read docs and looked around in Google

#

@urban pilot pressed the 📡 API button in #help to ask a question:

Question
Hello.
is it possible to make a direct fund transfer between buyer and seller without a stripe connect account but just a stripe account of the seller?...if it is possible how to integrate it?
note: the platform does not generate profit just helps sellers sell their product. thank you

Related Request ID(s)
stripe integration

What have you already attempted?
I have integrated Stripe Connect but actually I would like to do it simply. for example: the seller creates his Stripe account personally and then my platform asks him to provide the necessary information so that if a buyer wants to buy it, the money can be transferred directly to him.

#

@earnest pawn pressed the ❌ An Error button in #help to ask a question:

Error Message

  1. Error: Lightning Web Security: Cannot add 'securitypolicyviolation' event listener to Window object.

2.lwr_bootstrap_locker:21 Error during checkout redirect: {"code":"redirect_error","message":"Failed to redirect to '{URL}'}

Question
I am Try redirect the checkout payment using Lightning Web component. But It can't Redirect to stripe.

What have you already attempted?
Yes , i did in Visual page

atomic shuttleBOT
#

@next charm pressed the 📡 API button in #help to ask a question:

Question
I am building an app, in which I want to display the MRR of a product that the person chooses to display, is there an api that can send such data to my app which I can securely display on the users profile if the person chooses so?

Related Request ID(s)
None that I know of

What have you already attempted?
Nothing too much yet, trying to understand things from the docs but havent found the appropriate help yet.

What are you working on?
A mrr tracking app

#

@exotic shadow pressed the 📡 API button in #help to ask a question:

Question
Can we provide the validity of the the subscription while creating the price for recurring billing product using the create price API?

Related Request ID(s)
NA

What have you already attempted?
I have created price for recurring billing like month,week etc

What are you working on?
Trying to provide the validity for the subscription

#

@zealous pelican pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Changing the default card should not affect the card assigned to a given subscription

What actually happened?
Updating a default card also updates the cards assigned to a specific subscription

Reproduction Steps
For a given user in test mode:
- Add 2 payment methods (or more), let say 2 different mock cards to be able to tell which one is which
- Add 2 different subscriptions to some products
- Open the customer portal for the customer in question
- See that on both subscriptions, the payment method displayed is the default one

Question
Not enough space in the repro steps I'll continue here.
- Click on the edit button of the payment method
- It updates only this one as expected
- Switch the default card at the customer level from the same page, and see that both subscriptions are affected, even the one where we set the payment method on the subscription

atomic shuttleBOT
#

@brisk nymph pressed the 🪝 Webhooks button in #help to ask a question:

Question
I need to listen to the event when the user's subscription cycle starts

Related Event ID(s)
N/A

What have you already attempted?
I tried to listen to invoice.updated event , but it is not triggered when discount is applied at a time of checkout

#

@tawny briar pressed the 📡 API button in #help to ask a question:

Question
In Android, payment sheet shows valid "understandable" error message while in iOS it doesn't.

Related Request ID(s)
-

What have you already attempted?
We are using same PaymentSheet. Stripe's own SDK. I will attach a screenshot for you to better understand.

atomic shuttleBOT
#

@gilded tinsel pressed the 📡 API button in #help to ask a question:

Question
how can i add more payment methods onto the checkout page?

Related Request ID(s)
?

What have you already attempted?
i've configured the payment methods i want on my dashboard but when i create the session link they dont show up.

atomic shuttleBOT
#

@vague blaze pressed the 👍 Best Practices button in #help to ask a question:

Question
We have a customer with multiple subscriptions. For example, they manage websites and need a subscription on our platform for each website.

We have one price for all subscriptions and it's usage-based. We also need to:
A) Consolidate invoices with all their subscriptions
B) Report/bill usage per subscription (website they manage)

We modeled this as 1 Stripe customer with many Stripe subscriptions. This gives us A) but not B), because the Meter API only allow reporting against a customer ID, not subscription ID.

I was wondering if this is the right way to model this use case in Stripe?

We obviously don't want multiple customer records for each of their subscriptions.

Doc/Guide Links
https://docs.stripe.com/api/billing/meter-event/create

What are you working on?
A new SaaS product that requires multiple usage-based subscriptions for a single customer

#

@cobalt kernel pressed the 📡 API button in #help to ask a question:

Question
I need to implement a subscription with free trial. I want to charge customer after free trial ends. For that I use SetupIntent. Whole workflow works as expected and user is charged after free trial. My problem is that Apple Pay sheet shows USD instead of Euro.

Related Request ID(s)
req_MB9EMsURsaAgEs, req_sLIJx77ZAIxMzZ

What have you already attempted?
I tried searching Git issues and I found out that it is not supported https://github.com/stripe/stripe-react-native/issues/1333
This link is for React Native extension, but I am using Flutter extension: https://pub.dev/packages/flutter_stripe

What are you working on?
I am building subscription-based app for fitness

#

@stark jacinth pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I would be able to see Link as a payment method in my PaymentElement setup

What actually happened?
I was unable to view Link, only card and Google/Apple pay

Reproduction Steps
My account was setup with Link enabled for the PaymentElement in the Wallets section of the payment methods. I am using automatic payment methods.

I have added my domain and it has been verified as well.

Question
What am I doing wrong here? We are trying to ensure we can test our integration with Link as a payment method. I can see from my request that Link is being returned as a valid payment type and yet I don't have the option presented to me.

Here is an example of a request that is returning Link as a viable payment method: req_aJG17HRmKbFLRv however it does not appear.

What are you working on?
Integrating with the PaymentElement

#

@small heart pressed the 📡 API button in #help to ask a question:

Question
Subscription payment Intent is showing unsuccessful while paying by Card on File. , It seems related to 3r Secure. Please help me out to capture/confirm payment as Successful.

Related Request ID(s)
/v1/payment_intents

What have you already attempted?
I have attempted Successfully Customer, Card on file, Subscription Created.

What are you working on?
I am working on Subscription payment, and Card of File

#

@molten fulcrum pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Initiate 1 payment of UGX100000. After we use the same payment parameters, the amount of payment initiated should be the same on both IOS and Android phones.

What actually happened?
After initiating the payment, the payment amount shown on the IOS phone is 100000, but the amount shown on the Andorid phone is 1000.

Reproduction Steps
STEP-01: Backend call interface: /v1/payment_intents, pass in `currency=UGX`, `amount=100000`.
STEP-02: Send the returned `clientSecret` to the APP, and call the payment popup window by Stripe Element.

Question
The payment amount displayed on the Android phone is incorrect, it should be the same as the payment amount displayed on the IOS phone, both are UGX100000.

With the same payment parameters, why is the payment amount displayed in both mobile operating systems not the same?

How to solve this issue?

atomic shuttleBOT
#

@hot heron pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to add a setup fee for a subscription in my checkout, how would i go about this?

Something like:
Subscription Item 1:
Setup Fee: 10€
Yearly: 20€
Subscription Item 2:
Setup Fee: 0€
Yearly: 4€

I only found this docs entry for invoice items but i want to have it in a checkout session.

Doc/Guide Links
https://docs.stripe.com/billing/invoices/subscription#adding-upcoming-invoice-items

What are you working on?
Domain Registry

#

@ruby swan pressed the 📡 API button in #help to ask a question:

Question
I want to make the payment method used by the customer on the checkout session his default mode of payment, I can do it on stripe dashboard but I want to do it using the API.

Related Request ID(s)
req_m20xUEGKEKzDGO

What have you already attempted?
We currently doing it by going to dashboard and setting the mode of payment as default.
Then we using stripe.PaymentMethod.list to get the payment method to charging customer 50 cents.

What are you working on?
We are able to charge customer 50 cents using the api but that requires us to visit the stripe dashboard and set the last payment method default.

#

@steep cradle pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm currently integrating Stripe subscriptions into my product, which operates on a subscription-based model. However, I'm encountering difficulty understanding the webhook events triggered by Stripe with each occurrence.

My primary concern is ensuring both the correctness and security of the integration process. I'm seeking guidance from the community on establishing a reliable and secure workflow for integrating Stripe subscriptions seamlessly into my existing product.

Here's what I've grasped so far:

I initiate a subscription and communicate its URL to the frontend. Upon payment complet

Related Event ID(s)
none

What have you already attempted?
Yes

What are you working on?
Building secure subscriptions

#

@vital wind pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table pricing-table-id="prctbl_etc"
publishable-key="@Model.Key"
client-reference-id="@Model.Identifier"
customer-session-client-secret="@Model.CustomerSessionClientSecret"

Question
I have setup a pricing table and I can see that Paypal as a payment option is active in my dashboard. But when I view the webpage the only payment options seem to be for the user to enter their card details

What have you already attempted?
I have red the docs around activating payment options but can figure out when its not showing

What are you working on?
Subs for my website

#

@nimble geyser pressed the ❌ An Error button in #help to ask a question:

Error Message
Something went wrong
Try again or contact Amazon Pay.

When contacting Amazon Pay customer service, provide the following information:
Session ID: 140-8834831-7580854
Error Code: BadRequest
Error Message: You submitted an invalid value for at least one of the parameters of your API call. For details, check the message element in the API response

Question
We tried to pay with Amazon Pay in express checkout
First payment went fine but each other fails with above message.

What have you already attempted?
We tried payment on different browsers (Safari and Chrome) and on both only first payment succeeded.

Both on production Env

Reproduction Steps
Pay with express checkout Amazon Pay, twice on same browser

#

@tawny briar pressed the 📡 API button in #help to ask a question:

Question
Why is my card added to my account if my Apple Pay transaction fails.

Related Request ID(s)
-

What have you already attempted?
We have integrated Apple Pay exactly like it is shown in https://docs.stripe.com/apple-pay. But, even if the transaction is failed, card is added to account. Why?

#

@silk python pressed the 👍 Best Practices button in #help to ask a question:

Question
I am working on Integration with Connect embedded components but I found that iframe takes time to load data. There is an initial lag in view. Placeholders also display after some time.

Can you suggest a way to handle it? I want to display the embedded component after it loads.

Doc/Guide Links
https://docs.stripe.com/connect/connect-embedded-components/quickstart

What are you working on?
Integration with Connect embedded components

atomic shuttleBOT
#

@steady tiger pressed the 📡 API button in #help to ask a question:

Question
I am trying to reverse a transfer with transfer group

Related Request ID(s)
.

What have you already attempted?
This is what i made $stripe->transfers->retrieve($transfer['id'], [])

and I got
"amount" => 1950
"amount_reversed" => 0
"reversed" => false

#

@past pendant pressed the 👍 Best Practices button in #help to ask a question:

Question
I need to compute stripe processing fee for partial capture. Currenlty I'm performing a charge and capture in two different stages. I need to
Currently I'm reading stripe fees on the payment_intent.latest_charge.balance_transaction.fee but this value is not comprehensive of refunds fees due to partial capture of the payment intent.

Doc/Guide Links
Found anything on the web

What are you working on?
Connected custom with separate charges and transfers

atomic shuttleBOT
#

@lime igloo pressed the 📡 API button in #help to ask a question:

Question
I have a subscription-based system, in which clients can purchase multiple item based subscriptions e.g.
1 x Gold Plan
2 x Silver Plan
3 x Platinum Plan, etc.

How can I allow a customer to upgrade/downgrade their purchased subscription? e.g. on 1st May client purchased 2x of the Gold plan and on 15th of May, they decided to increase the quantity of the Gold plan to 3x quantity.

how can I charge client prorated amount of 1x gold plan from 15th of May to 31st of May?

Also what about the downgrade lets say then decrease the quantity from 2x to 1x. how can I do that?

Related Request ID(s)
-

What have you already attempted?
I have tried the upcoming invoice API to get the prorated amount. But how can I charge that invoice?

I have tried updating the subscription items but even through the payment is incomplete dashboard is showing me the updated quantity.

Can't find anything on the downgrade at the end of the cycle.

atomic shuttleBOT
#

@ruby swan pressed the 📡 API button in #help to ask a question:

Question
I want to make the payment method used by the customer on the checkout session his default mode of payment, I can do it on stripe dashboard but I want to do it using the API.

Related Request ID(s)
req_m20xUEGKEKzDGO

What have you already attempted?
We currently doing it by going to dashboard and setting the mode of payment as default.
Then we using stripe.PaymentMethod.list to get the payment method to charging customer 50 cents.

We are able to charge customer 50 cents using the api but that requires us to visit the stripe dashboard and set the last payment method default.

Reference :
#1239873206035283969 message

What are you working on?
Please provide me detailed description for implementation of reference. As I am not to find key "default_payment_method" on checkout.session.completed

#

@ripe jasper pressed the 🧑‍💻 Code button in #help to ask a question:

Code
try {
Session session = Session.retrieve(stripeSessionId);

// what to do here ?
   Transaction transaction = ?

} catch (StripeException exception) {
log("something went wrong ..");
}

Question
How to get Transaction unique identifier through Session id?

What have you already attempted?
I want to be able to retrieve transaction ID and amount paid with currency through session_id. I followed this guide : https://docs.stripe.com/payments/checkout/custom-success-page#success-url , but still unable to reach transaction through the session. please help.

What are you working on?
I'm doing integration in my spring boot rest api

#

@vague blaze pressed the 👍 Best Practices button in #help to ask a question:

Question
We have a use case where a customer can have multiple subscriptions for multiple products.

Is it possible to only issue one invoice at the end of the billing cycle, with all the data for all the subscriptions? (I couldn't find anything in the documentation)

And if so, is there a way to simulate/test that in the same way we do for individual subscriptions? (https://docs.stripe.com/billing/testing?locale=en-GB)

Doc/Guide Links
https://docs.stripe.com/billing/invoices/subscription

What are you working on?
SaaS product

#

@grand zealot pressed the 📡 API button in #help to ask a question:

Question
I have an ecommerce site on which I have integrated Stripe gateway. Since last 1 week, 50% of orders placed on my site got failed. When i checked the logs in stipe dashboard, they are showing invalid attempt or user not approved.

I dont know, how suddenly this kind of errors started occuring. Its been more than 4 years since i am using Stripe on this website but haven't faced this before.

Related Request ID(s)
Dashboard > Developer > Logs

What have you already attempted?
I have checked log files of orders matching with the order id.

What are you working on?
I have eCommerce site selling diet meals.

#

@surreal vigil pressed the 📡 API button in #help to ask a question:

Question
Hello,
I am doing an integration with stripe connect. In the response when getting the stripe_user_id, we receive an item stripe_publishable_key
I have 2 questions about it:
1: the stripe_publishable_key is marked as deprecated inside https://docs.stripe.com/connect/oauth-reference . Does this mean that in the future, this will not be received anymore?
2: does this stripe_publishable_key have an expiration date?

Thanks

Related Request ID(s)
acct_1FkAGzEah6jYoDai

What have you already attempted?
all works at this moment

#

@fallen nymph pressed the 📡 API button in #help to ask a question:

Question
How to get more amount details like tax and discount amounts from payment intent?

Related Request ID(s)
n/a

What have you already attempted?
https://docs.stripe.com/api/payment_intents

#

@reef blade pressed the 📡 API button in #help to ask a question:

Question
How to make sure that payment_intent.succeeded webhook event is executed once we use a 100% off coupon code?
I've been told to use payment_intent.succeeded event to separate out (and catch) one-off events vs subscription events. But now, if I am doing a one-off with 100% off coupon code, the event "payment_intent.succeeded" does not get triggered. How to fix?

Related Request ID(s)
-

What have you already attempted?
Read docs and used the stuff your support asked me to use

What are you working on?
Lola - which enables seamless integration with over 60 devices, offers male & female blood testing*, crafts tailored fitness plans, monitors your daily mood, an

atomic shuttleBOT
#

@topaz coral pressed the 📡 API button in #help to ask a question:

Question
How to get the newly created connect account tax ID? All I get is the information that the tax id has been provided

Related Request ID(s)
belblebllebbe

What have you already attempted?
Spent some time in the docs, but I could not find any info about that.

What are you working on?
Displaying in custom marketplace the user data from stripe connect

#

@golden nymph pressed the 📡 API button in #help to ask a question:

Question
I am trying to setup Connect to allow my customers to make use of the Stripe payment gateway in our scheduling tool. I have setup Connect integration and then created payment intent for their customers. Payments and everything work great. My problem is, that after successful payment there is only a receipt but not an invoice. Based on my accountants I have to provide invoices for Connect account's customers. Is there a way to do it with the use of Stripe? I haven't found a way how to create an invoice for payment intent. (Payment intent has tax calculations in it)

Related Request ID(s)
n/a

What have you already attempted?
I have read docs and discussed this issue with my accountants.

What are you working on?
Zaptime (zaptime.app) - Personalised scheduling of your meetings and calls.

#

@leaden leaf pressed the 🪝 Webhooks button in #help to ask a question:

Question
I do not see how to add events to a webhook in the new Workbench UI

Related Event ID(s)
N/A

What have you already attempted?
N/A

#

@proper ridge pressed the 📡 API button in #help to ask a question:

Question
Hi, I have a working Subscriptions integration. I want to upgrade API version to latest (2024-04-10), but I see there's a new default with PaymentIntents `capture_method=automatic_async`. I don't create PaymentIntents, I create new subscriptions. How can I create the old default when creating a subscription? Thanks

Related Request ID(s)
(no relevant request ID)

What have you already attempted?
I have checked the API docs for subscription creation, but I couldn't find the option for this.

atomic shuttleBOT
#

@ebon ingot pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there a 'best practice' to group products in a checkout together?

Doc/Guide Links
I found nothing like that in the create checkout session API...

What are you working on?
A marketplace cart system with th ability to select and buy options - these options should also be listed in the checkout - but now it looks very overwhelming for the customer IMO...

#

@ancient flint pressed the 🪝 Webhooks button in #help to ask a question:

Question
Um evento de invoice.payment_failed, continua mandando Webhook mesmo após o pagamento da assinatura ser bem sucedido. Meu cliente fez varias tentativas mal sucedidas, mas em seguida conseguiu pagar com sucesso, mas os eventos de payment_failed continuaram mandando Webhook, e não consigo desativá-los, e toda vez acaba bloqueando o acesso do usuário. Como faço para resolver isso?

Related Event ID(s)
evt_1PG3GiH7BZjyWoIR4QtHB0HC

What have you already attempted?
Não consegui fazer nada ainda.

What are you working on?
Tenho um SaaS onde os usuários fazem os pagamentos mensais e eu faço o controle de acesso para eles através dos webhooks Stripe

#

@sly orbit pressed the 📡 API button in #help to ask a question:

Question
What is the difference between using stripe.checkout.sessions.create with mode: setup, and using the SetupIntent API?

Related Request ID(s)
?

What have you already attempted?
Im trying to understand why I should use one over the other.

Currently I am using stripe.checkout.sessions.create with mode: setup. I switched from over from using the customer portal for subscription signups for using setup mode because I was under the impression that setup mode helps prevent fraud.

Is mode: setup better for preventing fraud than using mode: subscription?

mode: subscription looks better on the frontend and i would rather use that then mode: setup, but if mode: setup has better fraud prevention then I will stick with that.

atomic shuttleBOT
#

@devout basalt pressed the 📡 API button in #help to ask a question:

Question
When I receive `invoice.payment_succeeded` event for invoice created by subscription, there are both plan and price fields in event.data.object.lines.data[0], but if invoice is generated manually in Dashboard - only price is present and plan=null. Why there is such inconsistency?

Related Request ID(s)
evt_1PE9biISXJFIPENfOVKQ94VN, evt_1PErHxISXJFIPENfYFLzLZKH

What have you already attempted?
In both cases I use Price object in invoice

#

@proper bronze pressed the 📡 API button in #help to ask a question:

Question
I have created a subscription schedule using "iterations" but do not receive back an object representing that many iterations, is this expected or am I misunderstanding something?

Related Request ID(s)
req_ZQ6ruiiLEie3Fk

What have you already attempted?
I created the subscription schedule

What are you working on?
subscription billing mechanism

#

@urban pilot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
line_items: [
{
price_data: {
currency: 'eur',
product_data: {
name: ticketName,
},
unit_amount: ticketPrice * 100,
},
quantity: quantity,
},
],
mode: 'payment',
success_url: 'http://localhost:5173',
cancel_url: 'http://localhost:5173',
}

Question
how to add the recipient connect account id in the checkout session?
I watched one of your tutorials but I got error 500.
invalid parameter.
THANKS

What have you already attempted?
I have already implement checkout session but I have error 500

#

@maiden tapir pressed the 📡 API button in #help to ask a question:

Question
i want that a customer is only able to change between the plans of the product he bought, but not to plans of other products in the billing portal.

Related Request ID(s)
req_x4aOuhYJwsyQCq

What have you already attempted?
stripe.billing_portal.Configuration.modify(
"bpc_1PGLC5G9dYUaPTFyoKwkYOGU",
features ={
"subscription_update": {
"products": {
"product": "prod_Q6Xej3bzwTau7V"
}
}
}
)

#

@abstract dagger pressed the 📡 API button in #help to ask a question:

Question
coupon = Stripe::Coupon.update(coupon.stripe_coupon, {
applies_to: {
products: stripe_products
}
})

This code is giving me a `Stripe::InvalidRequestError (Received unknown parameter: applies_to):`

Related Request ID(s)
n/a

What have you already attempted?
Googled and chatgpt

What are you working on?
Updating products after it's created.

#

@lament anvil pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-element

Question
When we allow Bank Accounts as a payment method using the Stripe Payment Element, is it possible to disable "Enter bank details manually instead (takes 1-2 business days)" option specifically?

What have you already attempted?
N/A

What are you working on?
Web App for Church Giving

#

@reef dune pressed the 🪝 Webhooks button in #help to ask a question:

Question
Wanted to have an ACH account number that triggers a refund failed in Sandbox

Related Event ID(s)
11

What have you already attempted?
Tested using the ACH numbers provided in Stripe Documentation

What are you working on?
Refunds

atomic shuttleBOT
#

@wintry forum pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const handlePayment = async () => {
const stripe = await stripePromise;
console.log(stripe)
if (stripe) {
const { error } = await stripe.redirectToCheckout({
lineItems: [
{ price: 'price_id', quantity: 1 },
],
mode: 'payment',
successUrl: 'https://yourwebsite.com/success',
cancelUrl: 'https://yourwebsite.com/cancel',
});

    if \(error\) {

Question
Hm, what am I doing wrong? "The Checkout client-only integration is not enabled. Enable it in the Dashboard at https://dashboard.stripe.com/account/checkout/settings"

What have you already attempted?
tried to enable it.

What are you working on?
React/next.js app

#

@simple olive pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect having metadata about my product as I put metadata on the Stripe dashboard.

What actually happened?
The metadata property is an empty array.

Reproduction Steps
Make a curl request to the Stripe API to retrieve price information via a price id on the terminal.

Question
I have put some metadata and I do not understand why I do not get anything.

#

@urban pilot pressed the 📡 API button in #help to ask a question:

Question
Hey...How to use checkout sessionId in front end (reactJs). I have this result :Something went wrong
The page you were looking for could not be found. Please check the URL or contact the merchant.

Related Request ID(s)
xxxxxxx

What have you already attempted?
I don't undersand very well using strip.js in front end for checkout payment.

atomic shuttleBOT
#

@spiral otter pressed the 👍 Best Practices button in #help to ask a question:

Question
Does Stripe automatically disable / reject express accounts that do not comply with requirements such as responding to customer complaints / approving withdrawals?

In addition, if we want to force a customer who has had their express account rejected / deleted due to reasons above through onboarding again, is it best to reject or delete the express account?

Doc/Guide Links
https://docs.stripe.com/connect

What are you working on?
Stripe Express Accounts

#

@quartz stag pressed the ❌ An Error button in #help to ask a question:

Error Message
Paige not found

Question
I need a phone number to call and fix my account. I have three grand held by you and I can’t put information to verify

What have you already attempted?
i’ve tried every bank statement and voided check and now I am still unverified

#

@hard shadow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
credit card to test success authorize but fail during capture stripe

Question
credit card to test success authorize but fail during capture stripe

What have you already attempted?
explored doc

#

@earnest lintel pressed the 📡 API button in #help to ask a question:

Question
For a given subscription, can you have invoices that are automatically created set to auto_advance = false? We would like a subset to stay in draft.

Related Request ID(s)
xxxxxxxxxxxxxxx

What have you already attempted?
looked at documentation

#

@young ruin pressed the 🧑‍💻 Code button in #help to ask a question:

Code
stripe.confirmPayment({
elements,
confirmParams: {
capture_method: 'manual'
}
});

Question
This code does not compile in typescript. The type of `confirmParams` does not include all the parameters defined in the `confirm` api docs (https://docs.stripe.com/api/payment_intents/confirm), even though the stripe js docs say that `confirmParams` represents the "Parameters that will be passed on to the Stripe API".

What have you already attempted?
The code above.

atomic shuttleBOT
#

@stable pine pressed the 🪝 Webhooks button in #help to ask a question:

Question
paymentmethod attached webhook is it possible to get BIN details in response

Related Event ID(s)
na

What have you already attempted?
docs are not showing BIN in response

#

@urban pilot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Hello again.
checkout.session response:
{
....,
url:null
}

Question
Why url is null ...............?

What have you already attempted?
xxxxxxxxxxxxxxxxxx

#

@gilded tinsel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
no code yet i am not too sure how to set it up

Question
how can i track if the buyer has went through with the checkout? and if so i want to somehow save that transaction into an object

What have you already attempted?
i looked at the docs but couldnt understand it

#

@muted wing pressed the 📡 API button in #help to ask a question:

Question
This is a continuation of these two threads:
https://discord.com/channels/841573134531821608/1237117731204235274
https://discord.com/channels/841573134531821608/1237549235088658472

I have some questions about how account links and authentication work for Connect Standard accounts that share email addresses with existing Stripe accounts. The full text of my questions doesn't fit here so I will be posting them in the first message of the thread

Related Request ID(s)
N/A

What have you already attempted?
I've consulted all the public documentation I can find, reached out on here twice, and also gone back and forth with regular Stripe support over email (they've been completely unhelpful)

What are you working on?
Mental health billing platform

atomic shuttleBOT
#

@dapper folio pressed the ❌ An Error button in #help to ask a question:

Error Message
ActionController::InvalidAuthenticityToken: HTTP Origin header (http://localhost:3000) didn't match request.base_url (http://localhost:3001)

Question
I'm using a React front-end with a rails back-end. My React port is 3000 & my rails is on 3001. I'm not getting this error with any of my other POST requests to the backend api.

What have you already attempted?
I had already configured my cors.rb file to:
Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do
origins 'localhost:3000'
resource '*',
headers: :any,
methods: [:get, :post, :put, :patch, :delete, :options, :head]
end
end

Reproduction Steps
useEffect(() => {
// Create PaymentIntent as soon as the page loads
fetch("http://localhost:3001/api/checkout", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({ items: [{ id: "xl-tshirt" }] }),
})
.then((res) => res.json())
.then((data) => setClientSecret(data.clientSecret)

What are you working on?
E-commerce store

#

@wintry forum pressed the 👍 Best Practices button in #help to ask a question:

Question
Hey, after setting a specific checkout session, what would be the best approach to send a specific data to the server to ensure the payment was really completed and not the api got leaked and accessed without payment?

Doc/Guide Links
I have no idea if there are any.

What are you working on?
React webpage dashboard - Bundles and top ups

#

@errant slate pressed the 📡 API button in #help to ask a question:

Question
When using EFTPOS in AU, is it possible to find out which "Network" will be used prior to finalizing a payment made from a terminal. We want to have a different amount for the "application fee" based on if a transaction uses EFTPOS or not.

In a relatrd question - if an EFTPOS card is tokenized for later use, is there a way we can determine if it will be procesed on the EFTPOS network before using it to make an "off_session" card

Related Request ID(s)
#1239600288990498877 message

What have you already attempted?
Read the documentation. My company has ordered test cards that I will try as soon as I get them

What are you working on?
Working on a POS system that will be used in AU. We charge am "application fee" for each charge and our customer has requested a lower rate for EFTPOS transactions

#

@gilded tinsel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
no code yet just an example

Question
how can i create a middleman system to get money from the buyer and wait for the buyer to confirm item from seller, and then send the money to seller? I get that you can accomplish this with connected accounts but is there an intermediate inbetween the transaction? I don't want it to immediately send money to the seller

What have you already attempted?
i've looked at webhooks and i believe it may be the solution but i'd like some more feedback

#

@spiral otter pressed the 👍 Best Practices button in #help to ask a question:

Question
What happens to any funds (negative / positive) on express accounts that have been rejected ? Should we create a transfer from the customer account to the platform account?

Doc/Guide Links
https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts#pausing-payouts
https://docs.stripe.com/api/account/reject

What are you working on?
Rejecting / disconnecting express stripe accounts from platform

#

@prisma coral pressed the 👍 Best Practices button in #help to ask a question:

Question
We're using a moto payments system for our staff for anything that isn't placed online. The staff inputs these payments into the stripe elements form that we've integrated into their dashboard. Sometimes however, there are walkups and staff would like to know if it's possible to have a magnetic stripe card reader or a simple swipe solution that can connect to the stripe payment element ui form. Is this possible?

Doc/Guide Links
https://docs.stripe.com/terminal/designing-integration

What are you working on?
I'm working on an online booking platform that connects businesses to their customers and enables payments.

#

@simple perch pressed the 👍 Best Practices button in #help to ask a question:

Question
Connect: If my platform is doing separate charges and transfers, and I do not want connected accounts to be able to directly accept payments, is there a need or reason to give my Connect Express accounts any Capabilities beyond "transfers"?

Doc/Guide Links
Numerous Stripe / Connect / API docs

What are you working on?
API integration for B2B marketplace facilitating purchases between independent vendors.

#

@noble zenith pressed the 👍 Best Practices button in #help to ask a question:

Question
The Philippines is an eligible country in Teachable but the payout there is connected to Stripe Express where the Philippines is NOT an eligible country. Is it fine to continue this by purchasing a service to form me an ITIN legally by the IRS and purchasing a Virtual US Address? Is this approach acceptable? I don't get it why Philippines is eligible in Teachable if the payout option is Stripe Express where Philippines is not eligible. Please help, thanks

Doc/Guide Links
https://stripe.com/legal/ssa
https://support.teachable.com/hc/en-us/articles/360017429532-Teachable-Pay

What are you working on?
Thinking of selling Online Courses in teachable

#

@shy flame pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm investigating using Stripe Checkout for my simple payment use case. I'm wondering if it's strictly necessary to use webhooks with Stripe Checkout to determine if the payment was successful?

Doc/Guide Links
https://docs.stripe.com/checkout/quickstart

What are you working on?
Collecting a single payment for a service. The server will define the product and the cost dynamically.

#

@glass umbra pressed the 📡 API button in #help to ask a question:

Question
Subscription data inside checkout

Related Request ID(s)
How i can make a if inside

What have you already attempted?
How i can put conditions inside checkout?

#

@real prawn pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Consider this a user submitted bug report.
I set up a monthly reoccuring payment from a bank account as a 3rd party user. Instant verification was successful.

What actually happened?
Since that day, every day my bank reports a suspicious login from Oregon and locks the bank account. After a few days I removed that bank payment method as an option but the logins continue.

Reproduction Steps
I know this isn't the right place but I wanted to be sure that devs saw the problem. I'm having a heck of a time trying to get to someone that can actually do something as I am not directly a Stripe customer.

Question
The Stripe website is setup to support it's own customers. Is there a number or email address where I can get help with my particular 3rd party problem? I can't keep having my bank and brokerage account frozen daily and just hope it stops in the future.

What are you working on?
This is the Stripe integration with eunify.net

#

@wintry forum pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am trying to pass metadata to a checkout session and pass the user id.

What actually happened?
Metadata received on the server is empty.

Reproduction Steps
I will send the code,

Question
How would it be possible to correctly pass the metadata? I am pretty sure it is correct. I will provide more info

What are you working on?
React Dashboard and Top Ups

#

@ebon ingot pressed the ❌ An Error button in #help to ask a question:

Error Message
StripeInvalidRequestError: You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance

Question
I am currently trying to implement transfers after a checkout session but whenever the transfer is being created I get the above error. Although the current Stripe Balance on my test account should be plenty... Balance is roughly 14.400 € and the transfer size is 2300 €...

What have you already attempted?
I tried using different acct ids (in test-mode) but all did not work...

Reproduction Steps
Have a checkout session with lets say 5.000 € and a transfer (inside the checkout.session.complete webhook) with 4.500 € transferring the money to a connect account. This does not work for me. Request ID: req_dM4TUpKMgrgerq

atomic shuttleBOT
#

@slender urchin pressed the 📡 API button in #help to ask a question:

Question
I am unable call the create onramp session crypto api through curl to create a session token.It gives the API_UNRECOGNISED_ERROR

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_hMuyAEFsnoVfMA?t=1715714462

What have you already attempted?
What can I try the most basic request is not working

What are you working on?
I am making crypto to fiat payment gateway for my clients at blockchain company

#

@mighty wigeon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/features/connect#destination

Question
I'm working on migrating our Stripe account to use Stripe Connect. Our Platform account will connect with multiple Express Connected accounts (one per each of our partner stores), using destination charges. Some of our stores want the terminal reader to ask for tips and others do not. Is it possible to have separate terminal configurations per Connected account?

What have you already attempted?
I haven't ran any code yet. This is still in the design phase, first we're confirming that Stripe Connect will fit our use case.

atomic shuttleBOT
#

@grand moss pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected the created invoice to show the customer's billing address.

What actually happened?
The invoice doesn't show the customer's billing address.

Reproduction Steps
* Create a customer with an address
* Create a draft invoice for that customer
* Add some invoice items
* Finalize that invoice
* View the invoice PDF

Question
* invoice id `in_1PFuA8B7kbjcJ8QqxLY92lVC`

Did the behavior change? IIRC it used to render the billing address, and then would render a separate shipping address also if there was one set on the customer object.

#

@safe yarrow pressed the 📡 API button in #help to ask a question:

Question
https://docs.stripe.com/billing/subscriptions/prorations

When I preview an invoice for a price change on an existing subscription, the response doesn't always make sense. When I change from price A to B, I get the correct prorated amount in a single line item. When I change from B to A, I get 3 line items, including a duplicate of the new price without proration, on top of the prorated amount plus the credit to my account. The invoice total is not the amount that I am actually charged if I go through with this change to the subscription, it's almost double because of that duplicate. Why?

Related Request ID(s)
req_QYB3fs0JVR5JOt

What have you already attempted?
with proration_behavior=none, tax is applied & the amount is correct. using proration for this specific price change results in too many line items.

What are you working on?
Puck.news stripe integration

#

@livid barn pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have a problem in my Webhook, in my callback function, I have a function that extends the webhook to be able to capture the values of the rates and the net amount received, but the webhook of the "checkout.session.completed" does not work when I sent the webhook automatically, but if I enter the stripe dashboard and resend namually, it works as it should.

Related Event ID(s)
we_1PBRMhKH5mLmMyraJw7smoIA

What have you already attempted?
I have a problem in my Webhook, in my callback function, I have a function that extends the webhook to be able to capture the values of the rates and the net amount received, but the webhook of the "checkout.session.completed" does not work when I sent the webhook automatically, but if I enter the stripe dashboard and resend namually, it works as it should.

What are you working on?
The amount of the fee charged and the net amount.

#

@ember thorn pressed the 📡 API button in #help to ask a question:

Question
How can I filter the GET /v1/disputes API?

My account has far too many disputes for me to
reasonably load them all. Loading 10 pages of disputes takes about 60 seconds and only gets me ~1 month of disputes.

Related Request ID(s)
req_P85xApqbcefQKy

What have you already attempted?
N/A. I have tried paginating through the results and doing the filtering on my own but it takes way too long to load this data dynamically for my clients. If they want to view an updated list of their last 6 months or so of disputes, they would have to wait for 6+ minutes for the page to load. This would also be quite wasteful of your resources.

What are you working on?
We (Paytronix) are an integrator of Stripe. We accept payments from customer using Stripe on our clients (usually restaurants) behalf.

atomic shuttleBOT
#

@manic grove pressed the 📡 API button in #help to ask a question:

Question
Hello,

I am working on a POC for the implementation of Stripe subscriptions. I noticed in the subscription creation form via the graphical interface that it is possible to define a footer note on the invoices associated with a subscription.

I would like to be able to set this footer note on the invoices directly when creating the subscription via the API. We are using the PHP SDK of Stripe in its version 7.128.0.

Related Request ID(s)
req_gPPSLS4JogjhGv

What have you already attempted?
I analyzed the logs of the creation via the graphical interface (req_yJTDfG2b60rzHe) and noticed the parameter invoice_settings.footer in the payload. However, when I include it in my API call (req_gPPSLS4JogjhGv), I receive an error: 'Received unknown parameter: invoice_settings[footer]'.

Subscription::create([
// ...
'invoice_settings' => [
'footer' => 'my-footer',
],
]);

What are you working on?
Implementing Subscription

#

@elder heart pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Stripe Tax..... re. Registrations and Automated Filings and Finance Software in use.

Question
Stripe Tax..... re. Registrations and Automated Filings and Finance Software in use.

What have you already attempted?
Stripe Tax..... re. Registrations and Automated Filings and Finance Software in use.

#

@hoary kraken pressed the 🪝 Webhooks button in #help to ask a question:

Question
Stripe does the retries for failed webhook events, is it possible to stop the retries?

Related Event ID(s)
evt_1PGSS5Ghn9pulmckbfCg2IKX

What have you already attempted?
Tried to find the webhook Retry config on stripe dashboard, but didn't find it anywhere.

What are you working on?
A two sided market place for restaurants and customers.

atomic shuttleBOT
#

@prisma coral pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm trying to understand what is the best practice to begin accepting in-person payments. Our setup looks like this: we use stripe connect to enable businesses to accept payments online from their customers. Sometimes, their customers walk in instead, and want to pay by tapping their card right there. I'm curious what the pros/cons are to using the reader m2 vs the s700. Ideally I'd like to avoid creating an ios app, and potentially let the s700 handle the entire UI. Is that possible and is the server integration approach the most common with the s700?

Doc/Guide Links
https://docs.stripe.com/terminal/designing-integration?reader=m2&platform=react-native

What are you working on?
A booking software for small and medium sized businesses

#

@stoic ledge pressed the ❌ An Error button in #help to ask a question:

Error Message
The customer has not completed the payment.

Question
How to refund incomplete transaction?

What have you already attempted?
going into the transaction, but it says

LATEST ACTIVITY
PaymentIntent status:
requires_confirmation
ALL ACTIVITY
A new payment pi_3PF1IBCcSV7o7n670QXiAsJd for $20.00 USD was created
5/10/24, 9:47:51 PM
PaymentIntent status:
requires_confirmation
200 OK
A request to create a PaymentIntent completed

atomic shuttleBOT
#

@pure sun pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create

Question
we need a more advanced feature to allow donations in our web app.

my question is if we van use the Payment intent functions to do it. and if the stripe platform will process it as donations.

and my last question is of there is an oficial example for angular integrations with

https://docs.stripe.com/js

What have you already attempted?
the docs are not very clear to me

What are you working on?
we are working to integrate sttipe for cutom and advanced donations in our web app

#

@snow pasture pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I would expect cards I migrated into stripe from paypal to be setup with payment_intents, but they're set up with setup_intents

What actually happened?
I recently migrated my recurring billing for a subscription to stripe, and all the amex credit cards have declined with code do_not_honor - when I reached out to stripe about it they flagged that I was using the API incorrectly to create setup_intents, but any new cards that I store from new customers to stripe are set up with payment_intents.

Reproduction Steps
I assume I'm not supposed to publicly post ID's, but if anyone has imported cards from paypal I'm curious to see if this is consistent

Question
Do setup_intents impact decline rates at all relative to payment_intents? Stripe seemed to make it seem like that was why the cards were being declined by amex but that feels fishy. If anyone could point me in a direction to reduce my decline rate, it's currently 30+% on imported cards. Stripe support is unresponsive.

#

@compact agate pressed the 📡 API button in #help to ask a question:

Question
I just wanted to confirm limitations with the customer portal configurations:
1) there's no way to delete a configuration once it's been created - you can only mark it as inactive by setting `active: false`
2) there's no way to retrieve what products/prices a configuration's `subscription_update` has been configured with once you've created a configuration

Related Request ID(s)
n/a

What have you already attempted?
existing customer portal APIs

atomic shuttleBOT
#

@stiff plaza pressed the ❌ An Error button in #help to ask a question:

Error Message
{"code":"payment_intent_invalid_parameter","doc_url":"https://stripe.com/docs/error-codes/payment-intent-invalid-parameter","status":400,"message":"The payment method type "demo_pay" is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features

Question
The error recently started appearing. I can't find anything online about it. How can I fix this? I am using the stripe test feature and using the test payment method pm_card_visa

What have you already attempted?
I have googled, and re-read the test docs.

atomic shuttleBOT
#

@quartz stag pressed the ❌ An Error button in #help to ask a question:

Error Message
Account with email already exists

Question
I am trying to verify my email and phone number and it won’t accept it. I’ve tried three different emails and says every email already has an account when none of them do

What have you already attempted?
I’ve tried multiple different emails and phone numbers

atomic shuttleBOT
#

@light urchin pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The Stripe Payment Element renders in my local environment as it appears on the demo within Stripe Docs: https://docs.stripe.com/payments/payment-element

What actually happened?
Locally, all I see are credit card fields and no additional payment methods

Reproduction Steps
Run a local environment with the Stripe Payment Element configured.

Question
How come my Stripe Payment Element appears differently in my local development environment than when I'm on a live domain?

What are you working on?
A WordPress plugin for WooCommerce

#

@fierce steppe pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-methods/integration-options

Question
Stripe checkout.
In the past , the payment method "card" implied automatically apple pay and google pay. Now the documentation lists separate enum values apple_pay and google_pay , but I could not find any mention of this change in the changelog.
can you confirm this has changed, and when?

What have you already attempted?
specifying "card" as payment method type always used to enable apple pay and google pay. Been that for years, and was working fine. Now it seems to be not the case anymore.

atomic shuttleBOT
#

@safe phoenix pressed the 📡 API button in #help to ask a question:

Question
Is there any way to add an external account card for payouts using PaymentMethods rather than Card objects?

Related Request ID(s)
N/A

What have you already attempted?
API doc I'm referencing: https://docs.stripe.com/api/external_account_cards/create

Based on what I'm reading here and have tried out, it seems that the only way I can add an external account card is by collecting card details manually, creating a new card object, tokenizing it, and then finally creating the external account card using the token.

Is there any way to do this using PaymentMethods rather than card objects? I'd like to avoid having to request access to raw card data APIs and filling out a PCI DSS Self-assessment Questionnaire. Thanks!

What are you working on?
Paying out funds to users' debit cards; mobile platform running on react native

atomic shuttleBOT
#

@alpine otter pressed the 🪝 Webhooks button in #help to ask a question:

Question
So, I've successfully implemented subscriptions. I added the checkout, and I added a webhook that works and allows the user to access the features on my end. However, when the billing cycle starts again, there is an upcoming invoice event, then the invoice gets sent, and finally the invoice gets paid. However, when the invoice gets sent, it does not get payed immediately, which results in a duration of time where the user does not have an active subscription on my end.

Related Event ID(s)
evt_1PGVuqErmmehb3yOz2VL89da, evt_1PGVuqErmmehb3yOFnbO5Fto

What have you already attempted?
Searched throughout the docs, and I understand that this expected behaviour for invoices.

What are you working on?
Subscription service to sell courses. If a user has a premium subscription, they have access to all courses.

#

@river jungle pressed the 📡 API button in #help to ask a question:

Question
working on a portal that takes in user card info and creates a payment intent in stripe. when I enter the fake card (4242), and send the request to create a new payment intent, stripe returns the error: “Error charging card: The payment method type “demo_pay” is invalid.” I am using the stripe test api keys yet this issue persists.

Related Request ID(s)
req_kM3wilHP7cspyZ

What have you already attempted?
cleared cache on project, clear browser cache, restart computer, try different browsers, try different api keys

What are you working on?
portal to ultimately charge customer after they input card details via payment intent

#

@glass umbra pressed the 📡 API button in #help to ask a question:

Question
Request req_gax2CerWm2ENCS: The account referenced in the 'destination' parameter is missing the required capabilities: transfers or legacy_payments are required on the 'destination' account.

Related Request ID(s)
What parameter i need find in account to verify if account can receive payments

What have you already attempted?
How i can verify this?

atomic shuttleBOT
#

@elder aurora pressed the 📡 API button in #help to ask a question:

Question
I'm having a really tough time getting (what I am assuming is the quoting) correct for a search request. I can get my request to function correctly in workbench, but I just cannot get it to function correction in production despite having many other cURL based API calls functioning just fine. I keep getting "query" is an unexpected parameter...

Related Request ID(s)
req_j7vWuUAK7Vk5Sb

What have you already attempted?
I have tried many different formats of submitting the request. At this point, too numerous to count.

What are you working on?
A Point of Sale system that leverages a terminal integration.

#

@gilded tinsel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
code doesnt fit here

Question
how do i use webhooks in stripe and log the content afterwards?

What have you already attempted?
i've tried this but i dont get any response in console

atomic shuttleBOT
#

@static yarrow pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am having issues with a subscription webhook.

A user subscribed and sent two webhook events the subscription created and the invoice paid. The subscsription created worked (same API route) which shows that the keys are correct.

I am getting the following error message
```
raw: {
message: 'No active discount for subscription sub_id on customer cus_id',
```

I believe this is due to me passing an empty array for the discounts property.

I am wondering if there is a way to fix it in the webhook or if I have to modify the checkout session to prevent an empty array.

Related Event ID(s)
evt_1PGAOsGl4imgjXWLi8v59gG2

What have you already attempted?
I have tried logging all the information in the webhook; however, whenever the webhook is triggered it directly causes the error without logging any information on the server.

What are you working on?
A subscription webhook that will update information on my database when triggered.

atomic shuttleBOT
#

@obtuse crown pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/get-started/development-environment

Question
How do i create Different staging env using only 1 account.

What have you already attempted?
i couldnt find any setting or docs related to this

atomic shuttleBOT
#

@ripe vessel pressed the 🪝 Webhooks button in #help to ask a question:

Question
How does listening to the charge.refended event after partial refund relate to my business? I passed metadata when calling the refund API

Related Event ID(s)
charge.refunded

What have you already attempted?
I cannot obtain the association for processing business

#

@dense lark pressed the 🪝 Webhooks button in #help to ask a question:

Question
How is invoice.overdue triggered?

Related Event ID(s)
NA

What have you already attempted?
I have tested with test clocks past the invoice due date but the event is not triggered (already checked my webhook that the event was indeed added).

What are you working on?
Trying to void overdue invoices

atomic shuttleBOT
#

@median wolf pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm setting up Google Pay and Apple Pay with Stripe Element through the React Stripe.js library. I want these options to show up on our checkout page.

What actually happened?
Card payment and Google Pay both show up and work perfectly on our checkout page. However, the Apple Pay option refuses to show up.

Reproduction Steps
Enable Apple Pay payment method in the stripe dashboard
Register and verified my domain (uploaded the Apple verification file)
Mount the Elements component and set payment_method_type to 'card'.
Add a child form with a PaymentElement component inside it, setting the wallets.applePay option to 'auto'.

Question
The integration guide for Apple Pay has been followed but the option is still not showing. My site is on HTTPS and my domain shows as verified on the stripe dashboard.
Also, the Apple Pay option shows on stripe demos, so my card is setup correctly.

atomic shuttleBOT
#

@wintry mural pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Payment method settings cannot be changed automatically.

What actually happened?
Several payment methods that had been disabled were automatically enabled in the Stripe dashboard in the production environment. (Cash App Pay, Redirect to Bank, After Pay, SEPA)

Reproduction Steps
I don't know about the details.

Question
Is this due to some kind of Stripe update?

#

@analog wing pressed the 👍 Best Practices button in #help to ask a question:

Question
Does a Customer get billed for time their subscription was `past_due`?

I have a Customer whose subscription randomly jumped to `past_due` even though their invoice is `pending`. We're considering allowing Customers with a `past_due` subscription to have access to our product while their payments resolve. But I need to know whether they will be charged for this time. Thank you!

Doc/Guide Links
- https://docs.stripe.com/billing/subscriptions/overview#reactivate

What are you working on?
Reporting software

atomic shuttleBOT
#

@red linden pressed the 📡 API button in #help to ask a question:

Question
Update a payment Link api, I have setted Active attribute to false but still Payment URL working. How to fix this?

Related Request ID(s)
1

What have you already attempted?
None

atomic shuttleBOT
#

@rapid siren pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am working with Stripe Connect, and I have several accounts that do the onboarding process (Express) and do it correctly, but it happens that the state in which they remain is “Enabled” and eventually Stripe requests more information to not block payments and withdrawals, the problem I'm having is that I do not know how to find out about this, as I have to ask my customers to go to complete their data in Stripe, is there any event in which I must subscribe, how do I know when a connected account changes its status, in which variable I see it and with what event?

Related Event ID(s)
N/A

What have you already attempted?
I'm currently tracking and monitoring manually from the Stripe dashboard, but I want to automate it with my API to send them emails and alerts so they can take action from our dashboard and easily direct them back to Stripe onboarding.

#

@coral dove pressed the 📡 API button in #help to ask a question:

Question
parameter_unknown - transaction_details[fees]
Received unknown parameter: transaction_details[fees]

Was this useful?

Yes

No
{
"customer_ip_address": "49.47.68.124",
"transaction_details": {
"destination_network": "ethereum",
"destination_currency": "usdc",
"destination_exchange_amount": "13.37",
"fees": {
"transaction_fee_amount": "1.23",
"network_fee_amount": "1.23"
}
}
}

Related Request ID(s)
req_XPxXuRa1WlzEO0

What have you already attempted?
3

#

@latent imp pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$stripe = Cartalyst\Stripe\Laravel\Facades\Stripe::make(env('STRIPE_SECRET'));
$account_values = [
'external_account' => [
'object' => 'bank_account',
'country' => $bank_data['country_name'],
'currency' => $bank_data['currency'],
'account_holder_name' => $bank_data['account_holder_name'],
'account_holder_type' => $bank_data['account_holder_type'],

Question
In my code if i use country as US and currency USD the connect bank accont works, but i want to use the country UK and it's relevant currency, so I used GB as country code and GBP as currency but it showing error like i can use this type currency for US account

What have you already attempted?
I tried all the possible country and currency codes for UK

atomic shuttleBOT
#

@steel inlet pressed the 📡 API button in #help to ask a question:

Question
We're importing all Stripe Connect charges into our platform. After import, one specific charge appears in our platform with date 7 may, but in Stripe appears with date 8 may

Related Request ID(s)
ch_3PDx2VIBIi9y3Et30UJYc1Z0

What have you already attempted?
Nothing yet

What are you working on?
ERP Platform

atomic shuttleBOT
#

@zealous basin pressed the 👍 Best Practices button in #help to ask a question:

Question
We are using the stripe account where the end customers have done the payments with the Old stripe Payment Method( Stored as sources that are deprecated by stripe). We need to move our customers to Payment Methods. Do we have any migration process that we can use to move our customers to Payment Methods without inconvenience to end users as well as merchants?

Doc/Guide Links
https://docs.stripe.com/payments/payment-intents/migration

What are you working on?
we are a app based service where we connect farmer with small shops to end customers. We help payments from customers to merchant accounts.

#

@amber laurel pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/get-started-connect-embedded-components

Question
So, we are using Stripe embedded onboarding. We are a financial institution for non-profits and we're onboarding them through the component.

Next, we would like these non-profits to start accepting donations. How can we allow them to do so after their account onboarding has finished?

What have you already attempted?
Nothing as I could not find much related to this use case

atomic shuttleBOT
#

@brazen pier pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$currentDate = new \DateTime(); // Get the current date and time
$currentDate->modify('+7 days'); // Add 7 days
$dueDate = $currentDate->format('Y-m-d');
try {
$invoice = \Stripe\Invoice::create(['customer' => $cust_id, 'auto_advance' => false,
//'application_fee_amount' => $applicationFee,
'collection_method' => 'send_invoice', 'due_date' => strtotime($dueDate), ], ['stripe_account' => $acc_id]);
return

Question
How to get the Pay this Invoice. link using API.
I want to send that URL in our custom email template

What have you already attempted?
I have tried to sendInvoice but in test mode we are not receiving an email

What are you working on?
I am using retrieve Stripe Connect API

#

@latent imp pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I want to connect bank accounts from UK to my stripe account for payouts, but i don't know what county code i need to use and what currency is supported for connect

Question
I want to connect bank accounts from UK to my stripe account for payouts, but i don't know what county code i need to use and what currency is supported for connect

What have you already attempted?
I tried GB and GBP for UK as country code and currency code but it's showing error like the currency code can be used for US bank account

#

@weary coyote pressed the 👍 Best Practices button in #help to ask a question:

Question
What is proration minimum duration?

Hi I have setup a monthyl susbcrption which is per seat.
Now the customer adds a seat and removes the same day. will the customer be charged for the pro-rata?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/prorations

What are you working on?
i have a product which is per-seat

atomic shuttleBOT
#

@brisk hound pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a model where customers will save their cards before they purchase anything in the app (SPA).
Later on they will use those cards for purchasing.

What is the best approach?

Should I follow this tutorial: https://www.youtube.com/watch?v=95qSebQrm5E&ab_channel=StripeDevelopers?
Or should I follow this example: https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=embedded-form

Doc/Guide Links
https://www.youtube.com/watch?v=95qSebQrm5E&ab_channel=StripeDevelopers?
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=embedded-form

What are you working on?
Saving payment method for a customer which he can use within his subscription to purchase stuff in the app

#

@pliant summit pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, we are currently integrating stripe on our website for subscriptions. But we are running a mobile app for android and ios as well. Is there a way to use the stripe web checkout without getting into trouble with Google and Apple for bypassing their in-app payment system?

Doc/Guide Links
We found no specific links in regards to this topic.

What are you working on?
Integrating a subscription system for our users so that they are able to buy a PRO version of our service.

#

@tulip cliff pressed the 📡 API button in #help to ask a question:

Question
Is there any way to retrieve subscriptions by a string value that we store in our subscription metadata?

Related Request ID(s)
N/A

What have you already attempted?
Checked API Docs

What are you working on?
Internal Tool to look at all historic subscriptions for a specific item in our system

atomic shuttleBOT
#

@hot heron pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to create a subscription with invoice.
The subscription looks like this:
Subscription Item 1 - Yearly 10€
Subscription Item 2 - Yearly 5€
Setup Fee - One Time 10€

I tried to create the subscription but got this response:
The price specified is set to `type=one_time` but this field only accepts prices with `type=recurring`.

What is the correct way to set up a subscription with a one time setup fee when using invoice?

I am using Laravel Cashier / The Subscription API

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/create

What are you working on?
Domain registry

#

@cyan owl pressed the 📡 API button in #help to ask a question:

Question
I am trying to create a subscription schedules with a phase to remove an product on certain date. I get this error 'You must provide a value for 'phases'

Related Request ID(s)
https://dashboard.stripe.com/test/logs?method[0]=post&method[1]=delete&direction[0]=connect_in&direction[1]=self

What have you already attempted?
I have tried to use apex defined variables

What are you working on?
Integrading Salesforce with Stripe

#

@little harbor pressed the 📡 API button in #help to ask a question:

Question
Hello! I am running a multivendor marketplace on Wordpress using a combination of Woocommerce and YITH Stripe Plugin. The plugin is asking for the Live Client Mode ID and I can not find that in your documentation.

Related Request ID(s)
req_RkrbpMGPdgIvR9

What have you already attempted?
I found this documentation on a different site that shows a screenshot of the Live client mode ID but I don't have that on my end.

https://docs.cs-cart.com/latest/user_guide/addons/stripe_connect/credentials.html#:~:text=Select Settings in the upper,Stripe Connect payment method settings.

What are you working on?
multivendor marketplace

#

@pliant summit pressed the 👍 Best Practices button in #help to ask a question:

Question
When I use the React Native Stripe library to offer my users the option to buy digital goods, such as a subscription, does this go against the Apple and Google Developer Guidelines by bypassing their in-app payment systems? Or should there be no issues to get this approved?

Doc/Guide Links
I found nothing in this regard

What are you working on?
Building a subscription model for our users to offer a premium service

#

@opal cliff pressed the 📡 API button in #help to ask a question:

Question
subscription is not initiating...

Related Request ID(s)
NOID

What have you already attempted?
we configured subscription in the stripe... but the status it is showing is => " This customer has initiated payment, but the funds have not been confirmed yet. This can take up to 4 business days."

#

@leaden stirrup pressed the 📡 API button in #help to ask a question:

Question
How to call stripe api to receive plans i have in my Stripe account?

Related Request ID(s)
not receiving

What have you already attempted?
In my Sanity studio I try to fetch stripe plans to assign the tier to each post.

In my app this is how I'm calling api:
```
useEffect(() => {
const getListItems = () =>
fetch(url, {
headers: {
Authorization: `Bearer ${apiKey}`
}
})
.then((res) => res.json())
.then(formatResponse)
.then(setListItems)

getListItems\(\)
console.log\('listItems', listItems\)
console.log\('url', url\)

}, [url, formatResponse, apiKey])
```
and I'm getting in console log: `GET https://api.stripe.com/v1/plans 401 (Unauthorized)`

atomic shuttleBOT
#

@vocal wagon pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Exemple repo :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/assets/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
My repo: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel=

Question
I am following the exemple repo provided on stripe website to integrate the PaymentElement. I am confused with how to modify my react (vite) app html file. I was trying to test the following route when i realized i need to redirect to my index.html file, so i don't understand if i can/should have a dedicated html file just for payment? router.get("/", (req, res) => {
const path = resolve(process.env.STATIC_DIR + "/index.html");
res.sendFile(path);
});

What have you already attempted?
I am have tried to follow all the step by step guides provided on the stripe website but can't manage make it work on my app

What are you working on?
i am working on a small ecommerce website

#

@waxen saffron pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello, I was curious if it is possible to make a source into a payment method, without attaching it to a customer?

Doc/Guide Links
https://docs.stripe.com/api/payment_methods/create

What are you working on?
for my client

#

@rare patrol pressed the 🧑‍💻 Code button in #help to ask a question:

Code
this.stripe = Stripe(this.strpPubKey);
const options = {
clientSecret: this.secredGeneratedByServer,
appearance: { theme: 'flat' }
};
const elements = this.stripe.elements(options);
this.card = elements.create('payment');

this.card.mount\('\#card\-element'\);

Question
I need to enable apple pay to my ionic cordova app. I integrated stripe javascript library and I can complete payment using standard credit card. I can't see apple pay button.

What have you already attempted?
I already configured apple merchant and enabled it from xcode

atomic shuttleBOT
#

@scarlet cedar pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
blockchain infrastructure is possible

Question
in stripe is it possible to accept crypto and payment both it one time

What have you already attempted?
https://docs.stripe.com/crypto/overview
this is the doc i check

atomic shuttleBOT
#

@latent imp pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I want to connect bank accounts from UK to my stripe account for payouts, but i don't know what county code i need to use and what currency is supported for connect

Question
I want to connect bank accounts from UK to my stripe account for payouts, but i don't know what county code i need to use and what currency is supported for connect

What have you already attempted?
I tried GB and GBP for UK as country code and currency code but it's showing error like the currency code can be used for US bank account

#

@tawny nest pressed the 📡 API button in #help to ask a question:

Question
I am looking into Stripe Connect for a client of mine.
They do direct transfers, but the application_fee:null
However in a payout if I compare a charge - fees it equals less than the tranfer.
Charge: 750
Stripe Fee: 28
Transfer: 700
I have read about the Stripe revenue share if you do not set you own prices. Is it this in this case?
When we want to bookkeep it can we just assume that the client get the left over amount. Charge amount - Stripe Fee - Transfer = profit?

Related Request ID(s)
I dont have access to the dashboard

What have you already attempted?
I have already tried finding the profit as application fee. But it is null, now I am looking into balance transactions for a payout, and calculate it manually.

#

@lime bear pressed the 📡 API button in #help to ask a question:

Question
We have a problem calculating an application fee based on payment method parameters in the case of eftpos_au. We normally calculate an application fee based on card type, card-holder country, etc (much like the stripe processing fee, but with our own rates to the merchant), but with eftpos we find that the network (which is the only way to identify eftpos transactions) is only available to us at charge time. At that time it is too late to send Stripe an application fee. We need assistance to resolve this issue. We also want to update the application fee with terminal transactions.

Related Request ID(s)
N/A

What have you already attempted?
Read API docs and experimented.

What are you working on?
AU merchant integration.

#

@brisk nymph pressed the 🪝 Webhooks button in #help to ask a question:

Question
I need invoice details when the new subscription is created and when subscription cycle starts

Related Event ID(s)
N/A

What have you already attempted?
I tried to listen to 'invoice.updated' but it is not triggered when discount is applied at a time of checkout

#

@soft lark pressed the 📡 API button in #help to ask a question:

Question
Somehow I am forward to contact the stripe team when trying to do the flow of payment

Related Request ID(s)
req_sFLSwHJeTJCPab

What have you already attempted?
just connecting the flows and pieces to see if it would succeed. It is a bit of a complex flow.

What are you working on?
Internal App for our clinic

#

@silk python pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const StripePaymentMethod = ( props ) => {
const { billing, stripePromise } = props;
const { amount, currency } = billing;

const stripeElementOptions = {
    mode\: 'payment',
    amount,
    currency,
    paymentMethodCreation\: 'manual',
};

return \(
    <Elements stripe={ stripePromise } options={ stripeElementOptions }\>
        <PaymentElement /\>
    </Elements\>
\);

};

Question
Why Elements component request amount and currency because it will charge you amount set in payment intent.

What have you already attempted?
It is implementation question

#

@vocal wagon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We are using SetupIntents to allow the customer to change their default payment method, and when we go through the process of confirming 3d secure etc, the card is successfully stored as the default payment method for that customer. We then expected the next invoice to be paid successfully

What actually happened?
However when we advance time to the next billing date, the payment failed and we get an error in the dashboard saying that the 3d secure process was initiated but not completed

Reproduction Steps
We create a setup intent with the payment method id and the customer id, confirm it and redirect the customer to the 3d secure page if it is required

Question
Why is the 3d secure process not considered as completed?

#

@zealous basin pressed the 👍 Best Practices button in #help to ask a question:

Question
We are using the stripe account where the end customers have done the payments with the Old stripe Payment Method( Stored as sources that are deprecated by stripe). We need to move our customers to Payment Methods. Do we have any migration process that we can use to move our customers to Payment Methods?

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/transitioning#migrate-local-payment-methods

What are you working on?
I have tried retrieving the sepa details and iban using the source retrieve api but couldn't find the exact details which i could use to create a payment method to work with intents .

#

@swift lintel pressed the 📡 API button in #help to ask a question:

Question
Why I am not able to proceed with below link. Looks like postcode is blank.
https://checkout.stripe.com/c/pay/cs_test_b1sK7s5tKwEtkwSyaUzwh1183NufDB7W2W6xGM6cEmIQot7VfMAPqAUUVV#fid2cGd2ZndsdXFsamtQa2x0cGBrYHZ2QGtkZ2lgYSc%2FY2RpdmApJ2R1bE5gfCc%2FJ3VuWnFgdnFaMDRJY1FgXUFyUTBiYXNrMmtTdkNjfUBgVXZRXGhGUH9vQ1xMaFVnXVFHdXdHQH9EYGpxYDBARENkY3djYmRzfV9jc3R2SGc1SVdXRGRPcHdVQm9qXVRNXFA1NXx0NDJoPHd%2FJyknY3dqaFZgd3Ngdyc%2FcXdwYCknaWR8anBxUXx1YCc%2FJ2hwaXFsWmxxYGgnKSdga2RnaWBVaWRmYG1qaWFgd3YnP3F3cGB4JSUl

Related Request ID(s)
1

What have you already attempted?
I am creating a subscription here, first time I entered a wrong card details and now tring to add correct one but subscribe button is not enabled.

#

@opal cliff pressed the 📡 API button in #help to ask a question:

Question
can we do subscription for new cards?

Related Request ID(s)
NO ID

What have you already attempted?
an we do subscription for new cards?

#

@dark kiln pressed the 📡 API button in #help to ask a question:

Question
I need to calculate spending for an issuing card

Related Request ID(s)
a

What have you already attempted?
I'm trying to add all the transactions amount which are approved and subtract it from the spending limit

#

@autumn creek pressed the 📡 API button in #help to ask a question:

Question
How do I refund a customer who has paid using Stripe Checkout

Related Request ID(s)
NA

What have you already attempted?
Nothing so far

#

@north harbor pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Below I have added the function which we use for receiving customer response.
$stripe = new Stripe\StripeClient($stripe_secret_key);
$description = 'Minical-stripe-customer-id' . strtotime(date('Y-m-d H:i:s'));
$customer_response = $stripe->customers->create([
'description' => $description,
'card' => $token,
]);
$customer_response = json_decode(json_encode($customer_response, true), true);

Question
Hello Support Team,
We use stripe integration in our minical PMS software. Recently we're facing issue for an API request.
In an instance for making payment we receive token from Channex & then we send card request to stripe for customer_id generation in response.
But recently we get error for this API.
Can you please suggest how can we get over from this ?

What have you already attempted?
In an instance for making a payment, we receive the token from Stripe (by using CC data) & then we create a customer with that token to link the customer, but we're facing the issue of generating the customer_id in response.

What are you working on?
In an instance for making payment we receive token from Channex & then we send card request to stripe for customer_id generation in response.

#

@celest spire pressed the 📡 API button in #help to ask a question:

Question
Does a transfer reversal specifically check funds from a payment intent ? I'm facing insufficient found and the balance of the connected account is higher.

Related Request ID(s)
req_hnmAyL1MfGezUz

What have you already attempted?
I'm not sure I'm using the good process.
I have customer connected to my client account. The goal is
My client recieve paiement.
He reverse a part of this payment to a connected account.
Sometimes I need to refund the original customer.
So I made a transfer reversal (who works in general)
And when the fund are back my client refund the customer. Cause I think only the original account can refund the customer.

But today I saw insuffisant found on the transfer reversal. Does this occur because the connected account cashed out this specific transfer into bank account ?

atomic shuttleBOT
#

@past glade pressed the 👍 Best Practices button in #help to ask a question:

Question
Can we use stripe to sell subscriptions in a video content website? Once an user subscribe, it will get notifications of new videos by email and allows to write comments in the videos.

Doc/Guide Links
https://stripe.com/es/legal/restricted-businesses#empresas-restringidas

What are you working on?
A video content website

#

@tiny estuary pressed the 👍 Best Practices button in #help to ask a question:

Question
With a solution using Stripe Elements (Credit card), if i want to do territory pricing, what is the oficial way to do it with Stripe? I'm not talking of a Stripe Price with multiple currencies setup, but a single currency, for example EURO, with different prices depending of the country we detect the user is login in (for example Spain 10euro but Germany 15 euro).
Should I create multiple Stripe Prices and use the metadata field to add the country ISO list that i want to make it available for each price? Is something better?

Doc/Guide Links
https://docs.stripe.com/connect/currencies (but is not what im searching)

What are you working on?
Single currency price with territory pricing. I've not found a Stripe docs/guide for territory pricing.

#

@hoary marlin pressed the ❌ An Error button in #help to ask a question:

Error Message
You cannot provide the `usage=off_session` parameter when using a SetupIntent with a PaymentMethod of type paypal. Try again with a different payment method, or create a new SetupIntent with a different `usage` and try again.

Question
Why does this error occur and how can I prevent/fix it?

What have you already attempted?
Selecting a different payment method without luck, whenever PayPal is enabled it does not work

What are you working on?
Monthly/Yearly subscription for a discord bots premium version

#

@digital palm pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
AccountSession creation only seems to work with live keys and accounts connected in live env -- not able to get AccountSession to create for accounts connected with test keys.

What actually happened?
Long-running Connect integration, everything works fine across our platform. Adding support for embedded Stripe components (Payments, specifically)
- Created React component compatible with Stripe docs on this new feature.
- Making server-side request to create session is failing in non-livemode with: You tried to create a test mode Account Session for... live

Reproduction Steps
- Using test api key, connect a stripe account
- Using stripe_account_id from ca, create a session:
S::AccountSession.create({ account: stripe_account_id, components: { payments: { enabled: true } } })
> You tried to create a test mode Account Session for an account that was created in live mode.

Question
If I use live keys with an account connected in live mode, I can get the session to create, but not in test mode. Other test/live account requests work fine across environments, this one feels like it is behaving differently. Are you able to see why?

What are you working on?
Adding stripe embedded components to an otherwise working Connect integration.

#

@summer crane pressed the 📡 API button in #help to ask a question:

Question
If you enable the option for a customer subscription to be updateable within the customer portal, is there any way to delete the subscription and start a new one? Currently the subscription the customer has gets the updated price without a new subscription id. Through the API it is possible for this to happen however we want to allow the customers to use the update plan button in the portal. Thank you. The subscription basically revolves around 2 plans with 2 different prices. I want the yearly price to create a new subscription instead of updating the old price.

Related Request ID(s)
Dashboard > Settings > Billing > Customer Portal

What have you already attempted?
Nothing in specific since I can't find any information on the topic and it is not clear if it is a Dashboard limitation or an API one

#

@final parrot pressed the ❌ An Error button in #help to ask a question:

Error Message
element not mounted on DOM

Question
I’m using React to build a subscription integration of STRIPE. Despite following the docs on integration, I’m getting a MOUNT error on the web page. I’m following this guide https://docs.stripe.com/billing/subscriptions/build-subscriptions?locale=en-GB

What have you already attempted?
I’ve tried changing where i add the Stripe script src on the Head element but this has not worked. I’ve also tried using the useStripe() import as well.

Reproduction Steps
the error is found with price.js I return a render of price.html and add price.js onto the same component. the error happens when I render the page after registering and selecting a subscription. I am using the correct credentials.

What are you working on?
i am working on a subscription based web application

#

@astral talon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/billing-cycle#reset-the-billing-cycle-to-the-current-time

Question
The code for the go sdk looks outdated: in v78 of the go sdk you have:
// A future timestamp in UTC format to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.
BillingCycleAnchor *int64 `form:"billing_cycle_anchor"`
And I'm guessing `BillingCycleAnchorNow` needs to be used.

What have you already attempted?
Use BillingCycleAnchorNow instead, but I'm wondering if the rest of the code is correct.

What are you working on?
Resetting billing cycle based on usage.

atomic shuttleBOT
#

@undone moat pressed the 📡 API button in #help to ask a question:

Question
I'm using the embedded checkout form in my react web app. I'd like to hide the line items from being displayed on the form, as I intend to display them separately on the interface. Is it possible to do so?

Related Request ID(s)
n/a

What have you already attempted?
I tried just passing a total value as my line item but that will break my ability to use the receipt feature to show all items purchased.

What are you working on?
Ecommerce checkout

#

@true nexus pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello! We have an issue with project, businesses which join our platform sometimes do not have any websites. Earlier Stripe requires business_profile.url and now looks like it doesn't. Could I make the business profile URL an optional field and add statement_descriptor as required?

Doc/Guide Links
https://docs.stripe.com/connect/custom/onboarding#establish-requirements

What are you working on?
App which help users to make transactions.

atomic shuttleBOT
#

@hoary sparrow pressed the 📡 API button in #help to ask a question:

Question

  1. How do I retrieve the information *from a connected account* connected to the following object if I ONLY HAVE the object id?

  2. How do I retrieve the information *from a connected account* connected to the following object if I ONLY HAVE the object id?

  3. How do I retrieve the information *from a connected account* connected to the following object if I ONLY HAVE the object id?

Related Request ID(s)
None

What have you already attempted?
We have already looked at https://docs.stripe.com/api/transfers/retrieve

API Endpoint: BalanceTransaction.retrieve

The above will not work here because we are trying to do this from a connected account and not our account, same for the payout.

What are you working on?
I need information/api documentation on retrieving information from a connected account

#

@visual bramble pressed the 📡 API button in #help to ask a question:

Question
How do I adjust the total associated with an express checkout element as the address or selected shipping rate changes. I see the line items documented, but it's not clear how the total associated with the payment intent adjusts.

Related Request ID(s)
n/a

What have you already attempted?
I've reviewed all the documentation:
https://docs.stripe.com/js/elements_object/express_checkout_element_shippingaddresschange_event

What are you working on?
Express checkout element for Amazon Pay and Link.

atomic shuttleBOT
#

@finite cloak pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I have a customer subscription And would like to update the default payment method to the SEPA debit (which it initially was)...

What actually happened?
...but it looks to me that it is only allowed to update it to a credit card.

Reproduction Steps
It can be updated to a credit card through the stripe dashboard as well as through the payment update link (that I took from the dashboard) but to credit card only, no other payment methods allowed

Question
who can I update the default payment method of this subscription (sub_1PGjeNI7cAkJIA3BNcMWGUvB) to SEPA direct debit?

#

@remote plover pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
stripe-terminal-react-native: Tap to pay "Direct charge" working

What actually happened?
Tap to pay "Direct charge" collectPaymentMethod returns "A required parameter was invalid or missing."

Reproduction Steps

  1. Use connectLocalMobileReader from useStripeTerminal to connect to mobile reader, passing locationId param (will return error regardless if you pass onBehalfOf and locationId).
  2. Get client secret from API.
  3. Use client secret to get payment intent using retrievePaymentIntent.
  4. Pass payment intent to collectPaymentMethod
  5. Receive error

Question
Here is a github issue with more details: https://github.com/stripe/stripe-terminal-react-native/issues/695

#

@drowsy kindle pressed the 📡 API button in #help to ask a question:

Question
My client, acct_0xTgwPNbMMXFhmhahLZj, has the "No-cost orders option" enabled, I am forcing the latest api key for the request, but I am still getting the error: "The Checkout Session's total amount due must add up to at least $0.50 usd"

Related Request ID(s)
req_MfOfWsnVLymfCq

What have you already attempted?
I have tried making the request, editing the settings in stripe, and forcing the latest API version before making the request

What are you working on?
new onboarding form for hard to recycling item collection

#

@amber laurel pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/get-started-connect-embedded-components

Question
So, we are using Stripe embedded onboarding. We are a financial institution for non-profits and we're onboarding them through the component.

Next, we would like these non-profits to start accepting donations. How can we allow them to do so after their account onboarding has finished?

What have you already attempted?
Tried using PaymentLink as discussed in previous thread but it requires a pre-emptive price field

atomic shuttleBOT
#

@dark kiln pressed the 📡 API button in #help to ask a question:

Question
How to get balance for a connected account

Related Request ID(s)
a

What have you already attempted?
I get balance but it's 0

#

@queen mulch pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello
I have a Stripe account that has 2 webhook endpoints:
1 - webhook.development.domain.com
2 - webhook.stage.domain.com
Both endpoints accept the same event types.
This account is shared and used by 2 different environments: development and stage.
Since the account is shared, "development" env receives events that belong to "stage", and vice versa.
Is there a way to make "development" env receive only events that were produced by the "development" env? The same behavior should be achieved by the "stage" env.

Related Event ID(s)
evt_1PGinQKgkatyw8j5PgUOXVkV

What have you already attempted?
I created 2 different stripe accounts, one for each environment, but this increases the maintenance a lot.

What are you working on?
I'm integrating my application to receive money from customers through Stripe.

#

@regal apex pressed the 📡 API button in #help to ask a question:

Question
I use subscription retrieve API and set To and From date , and use status 'all', when i set date difference for 2 or 3 days its work fine when i add longer date range it not giving desired result.

Related Request ID(s)
N/A

What have you already attempted?
Read out support documents and try multiple time by changing date range.

What are you working on?
Subscription payment intent invoice getting void, or failed, customer subscriptions not getting successful

atomic shuttleBOT
#

@elder fable pressed the 📡 API button in #help to ask a question:

Question
is confirming to the same payment intent multiple times possible? (e.g. multiple payments for one payment intent)

Related Request ID(s)
n/a

What have you already attempted?
looked at stripe documentation:
https://docs.stripe.com/api/payment_intents/confirm

What are you working on?
I'm working on a payment intent. I wonder if there is any risk in user confirming one payment intent multiple times.

#

@velvet bane pressed the 📡 API button in #help to ask a question:

Question
Given a connected account, how can I retrieve or list all of the verification sessions associated with that connected account?

Right now we have webhooks with the related_person in the object which provides the account_id but if I need to pull from the API how can I locate it?

Related Request ID(s)
vs_1P3fYBCXdfp1jQhWvzDVfN97

What have you already attempted?
Looked at documentation

What are you working on?
Connect Marketplace integration

atomic shuttleBOT
#

@glass umbra pressed the 📡 API button in #help to ask a question:

Question
I have doubts with process to create and complete to account

Related Request ID(s)
account api

What have you already attempted?
i need verify the status details_submitted, when true, the process are completed?
And parameter transfers when active its working to receive transfers

#

@dire pond pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi, I'm working with payment intent process and webhooks. In this case we need retrieve the card data using with the payment intent related (last digits, exp month exp year) in the payload of event payment_intent.succeeded. Is it possible?

Related Event ID(s)
payment_intent.succeeded

What have you already attempted?
I tried get the card data in the body of payment_intent.succeeded but don't appear there

#

@heady moss pressed the 📡 API button in #help to ask a question:

Question
Metadata passed into PaymentIntent.create() is not showing in the payment_intent.succeeded object. I am using a test key. I looked in the stripe dashboard at the payment intent (POST log). It shows a basic response/request body, but when I click on the payment intent ID hyperlink, it says "Something went wrong"

Related Request ID(s)
pi_3PGkfzRCHTs6KlFb1ct2qh01"

What have you already attempted?
I've attempted to make calls to the PaymentIntent.create() function and I am printing logs that confirm that I am in fact passing metadata into this object.

What are you working on?
Payment ledger table that tracks payments and needs to store some metadata

atomic shuttleBOT
#

@fathom comet pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, so I'm developing an application that will have monthly and yearly subscription. And I wish to enable the option so that the user can chose a package his wish to subscribe.

There is 3 packages and they are divided in monthly and yearly subscription so basicly there is 6 possible subscriptions for the users.

Cheep Monthly, Yearly
Mid Monthly, Yearly
Expensive Monthly, Yearly

I wish to find out what are the best practice for making changes to the subscription.

For example a user is on a yearly subscription and he switch to a monthly one. Should I keep his subscription active until the end on the year than switch it, or should I switch it immediatly.

Doc/Guide Links
Didn't read any documentation on my problem.

What are you working on?
Hi, so I'm developing an application that will have monthly and yearly subscription.

#

@median geode pressed the 📡 API button in #help to ask a question:

Question
How exactly to handle refunds when using Checkout with `automatic_tax = enabled`. The docs state that I shall use credit notes to handle these. However the credit notes sections does not provide much details for this particular use-case.

Related Request ID(s)
req_cc4VWfPolTxknW

What have you already attempted?
I have already created a refund, and I am struggling to understand what the docs advise to do to handle tax when using checkout sessions with automatic tax

What are you working on?
Online marketplace

#

@jolly scarab pressed the 📡 API button in #help to ask a question:

Question
How do Rate Limits work on Connect Platforms? Is the platform limited to 100 req/sec overall? Or is it measured per account we interact with? i.e 100 req/sec/acct?

Related Request ID(s)
N/A

What have you already attempted?
trying to gauge how much as the platfom we can safely use the stripe api in application

What are you working on?
connect platform

#

@real pumice pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there a way to check if the Upcoming Renewal e-mail has bounced? Or failed to be sent?

Related Event ID(s)
https://dashboard.stripe.com/events/evt_1PEBUNEILwOJnJN4WZiZmU9u

What have you already attempted?
Tried to find any information about that in the developers tab, nothing too useful

What are you working on?
Trying to solve a customer complainement

#

@hallow sundial pressed the 📡 API button in #help to ask a question:

Question
I had customers add their payment method bank account via the old Stripe sources API and am looking to upgrade to the Payment Methods API, however when I try and charge a customer I get this error method:

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.

Related Request ID(s)
req_xDt5QJEUj1vkd0

What have you already attempted?
I was trying to find a way to add mandate_data to an existing payment method (added via sources api) but I could only find a way to do it using the Setup Intent API from scratch. Which would require my customers to re-add their bank account info.

#

@visual bramble pressed the 📡 API button in #help to ask a question:

Question
Where does the clientSecret come from when calling stripe.confirmPayment when the express checkout element was intiailized with:

        const options = {
            mode\: 'payment',
            paymentMethodTypes\: \["amazon\_pay"\],
            amount\: Math.round\(window.cart.total \* 100\),
            currency\: 'usd',
            // Customizable with appearance API.
            appearance\: {/\*...\*/}
        };
        that.elements = that.stripe.elements\(options\);

Related Request ID(s)
n/a

What have you already attempted?
read all the documentation I can find

What are you working on?
Amazon Pay and Link express checkout integration.

#

@torn drum pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
after stripe payment link checkout, the checkout.session object has client_reference_id as null

What actually happened?
client_reference_id was null

Reproduction Steps
Using payment link, customer checkouts out, passing client_reference_id in param. Seems to occur if user has already made a purchase in the past, but does not affect new customers.

Question
Hi, I am using payment links on my website. I pass the client_reference_id as a query parameter and customer successfully makes payment. I am receiving the checkout.session in webhook , but the client_reference_id is null in the checkout.session object. Therefore I cannot update the user in my DB.

What are you working on?
A saas product.

#

@final parrot pressed the ❌ An Error button in #help to ask a question:

Error Message
v3/:1 Uncaught IntegrationError: The selector you specified (#payment-element) applies to no DOM elements that are currently on the page. Make sure the element exists on the page before calling mount(). at t.<anonymous> (v3/:1:324916) at t.mount (v3/:1:100074) at Subscription (subscription.js:30:1) at renderWithHooks (react-dom.development.js:16305:1) at mountIndeter

Question
how do I solve this error message?

What have you already attempted?
I’ve tried rewriting the code but it hasn’t worked.

Reproduction Steps
I’ve added the price.html and price.js into one component on react. the code comes from the Stripe site https://docs.stripe.com/billing/subscriptions/build-subscriptions?locale=en-GB

What are you working on?
I’m building a subscription page where users can click subscribe to a web application service im running

atomic shuttleBOT
#

@simple perch pressed the 📡 API button in #help to ask a question:

Question
Best webhook events to monitor for payment success/fail when using mix of sync and async methods through Checkout? Getting a bit overwhelmed with all the possible options. I have all the 'order' info in my system, just need to account for Card and ACH payments.

Related Request ID(s)
None

What have you already attempted?
https://docs.stripe.com/payments/checkout/fulfill-orders#delayed-notification

What are you working on?
B2B marketplace using hosted Checkout for payment and Connect for sellers

#

@ruby walrus pressed the 📡 API button in #help to ask a question:

Question
Can you help me understand the relationship between mandates and setup intents. A "customer" adds a payment method to our stripe account via an api call from a web form, intended for future off-session charges. Do I create the mandate before that and include it in the setupintent? and regardless of when it's created, how do i access it when i want to use it on a paymentintent?

Related Request ID(s)
n/a

What have you already attempted?
currently I'm creating a mandate every time I create a paymentintent from an already set up payment method but that seems wrong

#

@red jackal pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/overview#subscription-lifecycle

Question
Does fail payment policy apply to first time payments when a subscription is created? On the documentation the diagram states that if a payment fails, the subscription will expire in 23 hours. However seems like fail payment retries can be set up. Will they apply to the first payment?

What have you already attempted?
Exhibiting this behavior when creating subscriptions with the API. No retries occur even though we have retries in place and it's an accepted decline code .

atomic shuttleBOT
#

@sharp sentinel pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Following the example app here https://docs.stripe.com/treasury/examples/sample-app I tried to create an account with treasury capabilities.

What actually happened?
I get an error saying that `'Error: The `treasury` capability cannot be requested for Express accounts.` even though `stripe_dashboard: { type: "none" }` is set.

Reproduction Steps
Try and create an account with treasury capabilities and `dashboard` set to "none"

Question
How do I properly create an account with requested treasury capabilities? Every enum for `stripe_dashboard` fails in a different way while `"none"` appears to be the correct value.

#

@nova bluff pressed the 📡 API button in #help to ask a question:

Question
Is it possible to retrieve and cancel a customer subscription via the API with only a customer ID?

Related Request ID(s)
N/A

What have you already attempted?
Looked through the docs, which seems to require the subscription ID leading me to believe I need to store the subscription ID and customer ID alongside my user object.

atomic shuttleBOT
#

@obtuse rapids pressed the ❌ An Error button in #help to ask a question:

Error Message
2 files found with path 'org/bouncycastle/x509/CertPathReviewerMessages_de.properties'.
Adding a packaging block may help, please refer to
https://developer.android.com/reference/tools/gradle-api/8.4/com/android/build/api/dsl/Packaging
for more information

Question
I can't build my app since I've added these two libraries. If I remove them, I can compile the app implementation "com.stripe:stripeterminal-localmobile:3.5.0"
implementation "com.stripe:stripeterminal-core:3.5.0"

What have you already attempted?
Tried to recompile and clearing the cash. Also removed the libraries.

Reproduction Steps
Just add these two libs in the Android project

What are you working on?
I'm trying to integrate the tap to pay feature in my app.

atomic shuttleBOT
#

@crisp falcon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/invoices/subscription#edit-an-invoice

Question
Since Stripe does not have the option to duplicate a paid invoice, is there a suggestion for how to rebill a customer for a particular subscription billing cycle?

What have you already attempted?
Read docs and looked at options on the dashboard for doing this.

What are you working on?
Looking for a way to re-bill for a particular subscription billing cycle.

#

@normal dust pressed the 📡 API button in #help to ask a question:

Question
I am trying to implement Stripe iDeal integration using payment intents flow.
iDeal will be used for one-time payment and same payment method should be used for recurring payments as SEPA. We had done this using sources API earlier. Now, I am unable to attach customer using payment method created via payment intent flow with the error message - PaymentMethods of type 'ideal' cannot be saved to customers.

Could you suggest a flow to achieve this usecase?

Related Request ID(s)
req_juu4EDoCXpnwEk

What have you already attempted?
Tried out by tweaking setup_future_usage parameter. Not sure, if that parameter is required.

#

@nova bluff pressed the 📡 API button in #help to ask a question:

Question
When I update a subscription to be cancelled after period end like so: stripe.Subscription.update(user_subscription_id, cancel_at_period_end=True) will stripe also send the customer a confirmation of this action?

Related Request ID(s)
N/A

What have you already attempted?
N/A

atomic shuttleBOT
#

@fathom comet pressed the 🪝 Webhooks button in #help to ask a question:

Question
Interested what invoice_billing_reason is set to a invoice when he pays for the scheduled subscription that is activated after the previous subscription has ended

Related Event ID(s)
/

What have you already attempted?
I didn't attempt anything because I can't create this test to see.

#

@trail thicket pressed the 🧑‍💻 Code button in #help to ask a question:

Code
For example:

https://github.com/stripe/stripe-node/blob/master/types/Apps/Secrets.d.ts

Question
Hey there, I 100% realize this is a bit of a non-stripe question.

You have possibly the best SDK I've ever used (Node & clientside JS), and while looking at the Node repo, I realized you are using something to generate the SDK from OpenAPI schemas.

I'm wondering if there is a public resource to how you are doing this, as it really is the best SDK I've come across.

What have you already attempted?
I've used a handful of Swagger codegen and other OpenAPI SDK generators with no luck. The output tends to be great for components, but the paths/operations end up being unusable.

What are you working on?
We use Stripe at LOGO.com to power all of our payments for our logo and brand building tools.

#

@fluid bear pressed the 📡 API button in #help to ask a question:

Question
How can I pay an invoice but select the amount to pay instead of full amount

Related Request ID(s)
req_bpswfGdpBzxHWH

What have you already attempted?
I have invoice->pay working - but it pays entire invoice.

What are you working on?
KM

#

@drifting portal pressed the ❌ An Error button in #help to ask a question:

Error Message
Warning: The stripe-connect-account-management component is not rendered as the Stripe account has not gone through onboarding.

Question
I have gotten the embedded (using Express onboarding) onboarding connected and working, but when I try and pass the user off with the onExit to then move on to seeing another Stripe component (like Account Management), I get the error

What have you already attempted?
Heh, this is hard to detail here, but I have read through several Stripe docs, looked through the example GH repos, even tried digging through the Stripe code files (AccountOnboardingContainer.tsx) exposed to the client where the error is originating from.

I also have, obviously, rearranged my code several ways to see how this might be fixed.

Reproduction Steps
Basically, once the user creates a Stripe Connect account, I am running a check to see if they have been onboarded via the `details_submitted` data point on the retrieve-account API.

If false, move them on to ConnectAccountOnboarding component. Once done there, and with the onExit, move them on to the ConnectAccountManagement component. This is where Stripe errors

What are you working on?
I am a part of building a Typscript / React (in Gatsby) / Tailwind / Tanstack Router/Query (v5) app that is pulling in S

#

@turbid hornet pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
How to retrieve raw card data from Stripe?

Question
I would like to retrieve raw card data and the pass to to external PSP. Is there any API to do that?

What have you already attempted?
N/A

#

@inland void pressed the 📡 API button in #help to ask a question:

Question
Is it possible to send custom headers to an API request so that it shows in the dashboard when looking at the request? This could be useful for developers to send context on the call (like internal method that called the API)

Related Request ID(s)
Non

What have you already attempted?
Feature question, looked through documentation

#

@grizzled tendon pressed the 📡 API button in #help to ask a question:

Question
Hello guys, I think I'm do something wrong to add the bank account in Brazil can help me please?

Related Request ID(s)
External Account

What have you already attempted?
I try setup account that

#

@gilded tinsel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
no code yet not sure how it works

Question
how can i send a payment to someone? I believe i need their connected account id but im not sure how to get that id.

What have you already attempted?
havent tried anything yet, dont know how to get starte

atomic shuttleBOT
#

@hidden ruin pressed the 🧑‍💻 Code button in #help to ask a question:

Code
no code yet, wondering where to start.

Question
The customer of my product will be other businesses that use Stripe for their customers. I will need my customer to authorize my service into their Stripe account so that my product can make requests to Stripe on their behalf, given the limited permissions it will have (such as, view dispute data)

I see Stripe Apps, but I'm not exactly sure if this is what I want. I don't really need a UI in stripe, and I'd prefer to write my integration in a .net codebase.

What have you already attempted?
I've found Stripe Apps which looks like mostly what I want, but I'm confused if I'd be forced to use a node/typescript project to achieve this, or if I can write an API in my .net codebase? I would essentially like my service to receive webhooks from my customer's stripe account and act accordingly.

What are you working on?
SaaS product in .net (using Stripe.net) that businesses can install into their Stripe/Discord

#

@steady widget pressed the 🧑‍💻 Code button in #help to ask a question:

Code
async sendInvoiceToUser(amt, user) {
const id = await getCustomerId();

  const invoiceItem = await stripe.invoiceItems.create\({
    customer\: id,
    amount\: Number\(amt\) \* 100,

currency: 'usd'
});

  const invoice = await stripe.invoices.create\({
    customer\: id,
 collection\_method\: 'send\_invoice',

due_date: Math.floor(Date.now() / 1000) + 72 * 60 * 60
}

Question
While the api request is successful and the invoices are being viewed on the dashboard, the price on the dashboard is always $0.00 USD and invoice is automatically paid. Why?

Goal: Invoice should state correct amount for the amt parameter and should not be paid immediately.

What have you already attempted?
I've even tried manually inputing the amount and I get the same issue.

What are you working on?
A billing service

#

@undone smelt pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/embedded-onboarding

Question
Good evening! I have been studying on how I could implement the onboarding. I have seen the stripe hosted one and the embedded component one. The latter would be better, but I realized when using the stripe hosted onboarding and the express type account, I got much less info requirement than custom type. My question is, will I get the same shortened requirements if I use embedded onboarding and express account type? I am trying to avoid company industry type, representative details(someone who owns at least 25% of the company) and the EIN of that representative.

What have you already attempted?
I have been checking the official documentation for that, but it seems like it does not have such information.

What are you working on?
Service provider marketplace

#

@supple grove pressed the 🧑‍💻 Code button in #help to ask a question:

Code
function createTransfer($fees,$aid,$source, $transfer_group,$tid,$fid)
{

    $stripe = new \Stripe\StripeClient\(env\('STRIPE\_SECRET\_KEY'\)\);


    $intent = $stripe\-\>transfers\-\>create\(\[
        'amount' =\> $fees,
        'currency' =\> 'usd',
        'destination' =\> $aid,
        'source\_transaction' =\> $source,
        'transfer\_group' =\> $transfer\_group,
        'metadata' =\> \[
            'tid' =\> $tid,
            'uid' =\> $f

Question
My webook keeps failing, my webhook listens to a payment_intended.succeded event and works based on that,this is the error i kep getting <!-- Transfers using this transaction as a source must not exceed the source amount of $1.39. (500 Internal Server Error) --> and there is money on the stripe account, also note i am making multiple transfer

What have you already attempted?
I tried to stop updating my database after it returns succeded after it returned this error <!-- Call to a member function update() on null (500 Internal Server, but subsequent errors have been this ransfers using this transaction as a source must not exceed the source amount of $1.39. (500 Internal Server Error) -->
<!DOCTYPE html>

What are you working on?
Website for tipping influencers

atomic shuttleBOT
#

@lunar sphinx pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Card to be accepted or a decline to show up in my portal

What actually happened?
Card was declined and no payment showed up in portal, but there was a link to a stripe log in the browser's javascript console and it showed the card was declined with "generic_decline"

Reproduction Steps
Trying to pay for any service with my specific card

Question
I'm bringing up the question of my card's declined with Chase/Stripe support, but I wanted to understand from a dev standpoint:

Why could there be a "declined" message with a "declined" log but no actual payment in Stripe (or my bank) for a payment attempted from Checkout from a specific card?

atomic shuttleBOT
#

@pulsar oasis pressed the 🧑‍💻 Code button in #help to ask a question:

Code
i have lost backup Code

Question
i have a question i have lost the athenicator app

What have you already attempted?
i want to reactivate my stripe

What are you working on?
i want to reactivate my stripe

#

@sullen patrol pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
redirect to confirmation page

What actually happened?
spinning loading animation even tho payment is taken

Reproduction Steps
checkout. happens randomly

Question
what is the reason that this is happening randomly where the payment has been successfully taken but the loading animation of payment processing is still occurring

What are you working on?
online food ordering platform

atomic shuttleBOT
#

@raw harbor pressed the 👍 Best Practices button in #help to ask a question:

Question
Hey! My apologies if this is the wrong area to ask (Im not sure where else to ask). When creating the account I put my SSN into the account for tax purposes. Is there anyway for a developer to access the SSN on file through any API or through any code? Moreover, I couldn't find any documentation regarding this but are you able to view the SSN on file inside the main dashboard?

Doc/Guide Links
I haven't found any links regarding this answer.

What are you working on?
Outsourcing building a website to a developer

atomic shuttleBOT
#

@devout plinth pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am listening to the balance.available event and trying to map the event to a specific payout or payment

Related Event ID(s)
balance.available

What have you already attempted?
https://docs.stripe.com/connect/collect-then-transfer-guide

atomic shuttleBOT
#

@gilded tinsel pressed the 📡 API button in #help to ask a question:

Question
how can i track when someone goes through the onboarding process

Related Request ID(s)
n/a

What have you already attempted?
i've made a webhook event but im not sure if its correct

atomic shuttleBOT
#

@karmic portal pressed the ❌ An Error button in #help to ask a question:

Error Message
Unhandled Rejection: ConnectJS won't load when rendering code in the server - it can only be loaded on a browser. This error is expected when loading ConnectJS in SSR environments, like NextJS. It will have no impact in the UI, however if you wish to avoid it, you can switch to the `pure` version of the connect.js loader: https://github.com/stripe/connect-js

Question
I am using Next.js App Router and I'm getting an error when trying to load embedded connect components. Local dev is fine, but in my deployments it is throwing a 500 error

What have you already attempted?
I've attempted to use the @stripe/connect-js/pure import as well as loading with side effects

What are you working on?
An platform for musicians to get paid live

atomic shuttleBOT
#

@haughty crystal pressed the 🪝 Webhooks button in #help to ask a question:

Question
User spam alot of scam card. There are any way to know this behavior and block this user in our system?

Related Event ID(s)
User spam alot of scam card

What have you already attempted?
manual check and block

atomic shuttleBOT
#

@crystal ember pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi, Can someone please help me with knowing which all webhooks are there if we enable ACH payments?

Related Event ID(s)
N/A

What have you already attempted?
N/A

atomic shuttleBOT
#

@junior charm pressed the ❌ An Error button in #help to ask a question:

Error Message
v3/:1 Uncaught IntegrationError: Invalid value for stripe.confirmCardPayment intent secret: value should be a client secret of the form ${id}_secret_${secret}. You specified: cs_test_xxxxxxxxx_secret_•••xxxx

Question
How can I get the correct client_secret from a session for a custom flow, pass to CardNumberElement with stripe.confirmCardPayment()?

What have you already attempted?
if I use the client_secret from "const subscription = await stripe.subscriptions.create()", it works. but I want to use the client_secret from sessions, what should I do?

Reproduction Steps
I get a client_secret from "const session = await stripe.checkout.sessions.create({mode:"subscription",ui_mode: "embedded",...})" and pass it to my card elements,"stripeSDK
.confirmCardPayment(clientSecret, {
payment_method: {
card: cardNumberElement,
},
})"

What are you working on?
Build a custom fow subscriptions integration on web with CardNumberElement, and I want to use sessions

atomic shuttleBOT
#

@scenic dove pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expect to see Link in the Payment Element

What actually happened?
Only Card and Google Pay show up

Reproduction Steps
Demo here: https://checkoutpage.checkoutpage.co/link-test

Question
I'm creating a payment intent without passing `automatic_payment_methods` and `payment_method_types`. This shows the available payment methods, but I've been unable to get it to show Link.

Note, this is a Stripe Connect platform. The payment intent is created with the `StripeAccount` header.

What are you working on?
Our product is a checkout page builder to sell digital products, event tickets and subscriptions.

#

@toxic storm pressed the 📡 API button in #help to ask a question:

Question
We want to attached our connected account ID to the invoices generated by stripe.

Related Request ID(s)
none

What have you already attempted?
onBehalfOf and StripeAccountId

#

@zealous flame pressed the 🪝 Webhooks button in #help to ask a question:

Question
Using our platform, users can connect their Stripe account and generate an access token. With this access token, they can manage their Stripe account through our platform. Users can create products, coupons, and checkout links using our platform on behalf of their account. However, when I try to create a webhook to their Stripe account using their access token, an error message appears: "You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead?"

Related Event ID(s)
dashboard->developer->webhook

What have you already attempted?
i attempted to oauth after completing oauth using acccess token i try to create webhook for users.

What are you working on?
we create a app where users can manage their stripe account through our platform.create products , coupon, and generate checkout link

#

@carmine gate pressed the 📡 API button in #help to ask a question:

Question
how to download the content of a file i created from createReport api.

Related Request ID(s)
req_xW1PD2NAg6irzT

What have you already attempted?
i used cli to view the contents using :
curl https://files.stripe.com/v1/files/file_1PGgTAK3sU3vHCO7D2vYWxZR/contents -u .....

What are you working on?
i am working on stripe analytics

#

@pliant elk pressed the 📡 API button in #help to ask a question:

Question
Searching for the information if there is a way to "lock" an account to prevent deletion.

Related Request ID(s)
no_id_at_the_moment

What have you already attempted?
I have looked into API documentation on both https://docs.stripe.com/api/accounts/delete and https://docs.stripe.com/api/accounts

What are you working on?
Preventing deletion of sensitive Stripe accounts.

#

@zealous basin pressed the 👍 Best Practices button in #help to ask a question:

Question
I am trying to retrieve the customers sepa details for which i have stored source id but i am unable to get the iban and customer details in this case.

Doc/Guide Links
https://docs.stripe.com/api/sources/retrieve

What are you working on?
We are working on migrating the sources to payment methods as sources have deprecated

#

@spring portal pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Stripe::PaymentIntent.retrieve({ id: 'ssSmbahdkhsa', expand: ['charges.data.balance_transaction'] }, stripe_account: 'dsadasdsadsd')

Question
Earlier I used ruby gem 'stripe', '8.7.0'. Then I got "charges" data from the response. Now I upgraded to gem 'stripe', '9.1.0'. But I'm not getting the "charges" data from the response. How can I get the "charges" from the response?

What have you already attempted?
In upgraded method response I got "latest_charge", I used that in another method to get charges.

Stripe::Charge.retrieve(response["latest_charge"])

Is there any option to get that charges in this method itself like by passing additional params like that?

Stripe::PaymentIntent.retrieve({ id: 'ssSmbahdkhsa', expand: ['charges.data.balance_transaction'] }, stripe_account: 'dsadasdsadsd')

What are you working on?
I'm using the Stripe payment for our Rails application. Now I need to implement the Express Account onboarding which required upgraded version gem

#

@open rover pressed the 📡 API button in #help to ask a question:

Question
How can i apply proration and the coupon code while upgrading subscription to new price?

Related Request ID(s)
NA

What have you already attempted?
Used update subscription api with coupon and payment_behaviour as pending_if_incomplete

#

@opal cliff pressed the 📡 API button in #help to ask a question:

Question
diff in stripe.createsubscription vs using stripe hosted page for subscription

Related Request ID(s)
no id

What have you already attempted?
diff in stripe.createsubscription vs using stripe hosted page for subscription

#

@crimson bluff pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Failed payment to redirect back with parameter redirect_status=failed

What actually happened?
Failed payment redirected back with incorrect parameter redirect_status=succeeded

Reproduction Steps
Create a payment flow using Stripe Payment Element. Activate payment method Swish. Choose Swish as payment method and proceed. Cancel the realtime payment either on screen (pressing X) or don't follow through with the payment on your phone. Stripe redirects back with parameter redirect_status=succeeded even though payment never took place.

Question
With all other payment methods such as Card, Link, Google Pay, Apple Pay and Klarna it only redirects back with parameter redirect_status=succeeded if the underlying payment intent has the status succeeded, shouldn't this be the case with Swish too?

What are you working on?
Online booking

#

@dense lark pressed the 📡 API button in #help to ask a question:

Question
Unable to create invoice item with price ID of type 'recurring'

Related Request ID(s)
req_SKMrPgxwEiM7l2

What have you already attempted?
Referred to documentation https://docs.stripe.com/api/invoiceitems/create#create_invoiceitem-price, no note of type stated in documentation for price parameter

What are you working on?
Creating invoice with item of type recurring

#

@hot heron pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to send invoices for subscriptions early to make sure the next cycle is payed before I prolong the subscription. I already asked this question before and got a response to reset the billing cycle anchor for example 3 weeks before the subscription renews.

However my customer does not like this solution so i would like to discuss other possibilities

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/billing-cycle

What are you working on?
Domain Registry

atomic shuttleBOT
#

@void flame pressed the 👍 Best Practices button in #help to ask a question:

Question
Do someone use custom_fields for store some customer information? I need to manage a custom field (for invoice, because Vat code in Italy is not enough) for all my customer, and i'd like to show it on customer billing portal (in the form where customer update address information).

Doc/Guide Links
https://docs.stripe.com/api/customer_portal/configurations/create

https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-custom_fields

What are you working on?
Billing module

#

@split ember pressed the 📡 API button in #help to ask a question:

Question
I am started Financial Connections through Stripe, I can add customers by API call and with TEST keys successfully created session for them to connect a Bank Account. But when I tried with LIVE key I got an error: "You must complete your platform profile to use Connect and create live connected accounts. Visit your dashboard at https://dashboard.stripe.com/connect/accounts/overview to answer the questionnaire."

Am I required also complete the "Connect" verify via my Stripe Dashboard to launch Financial Connections?

Related Request ID(s)
https://docs.stripe.com/financial-connections

What have you already attempted?
All as possible

atomic shuttleBOT
#

@normal pivot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Terminal.getInstance().discoverReaders(config = DiscoveryConfiguration.HandoffDiscoveryConfiguration(), ...)

Question
When I use this piece of code both in my own Android app that is designed for App on Devices for the S700 Card reader, I am constantly thrown the error:
com.stripe.stripeterminal.external.models.TerminalException: RPC application error INVALID_REQUEST with message Invalid device_type: must be one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400

What have you already attempted?
I have pulled the sample application provided by Stripe (https://github.com/stripe-samples/terminal-apps-on-devices) and attempted to run on my S700 dev kit. I also launched the example backend for the sample code, and I continue to get the same issue and I am unable to use the App on Devices feature for the S700.

What are you working on?
I am designed a custom integration for an internal PoS on the S700 for events that will take place at fairgrounds throughout the year for the Rotary Club.

#

@wispy dawn pressed the 📡 API button in #help to ask a question:

Question
I am working on a per-seat subscription model, where a user needs to be charged an amount for every user the subscription has (price per month/user). I am checking the Stripe references but I am not able to create, either through the API or the console, a product with a per-seat price using a SINGLE unit (it asks me for at least 2 units, and that's not my use case)

Related Request ID(s)
req_WRGMcCDjjqegdD

What have you already attempted?
Following the Stripe documentation. https://docs.stripe.com/products-prices/pricing-models#per-seat

What are you working on?
SaaS application per-seat pricing model

#

@wintry inlet pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-methods/integration-options

Question
I have a use case where i am using two different stripe accounts to accept payments. I wanted to ask is there any way i can capture payment method information once and send it out to both these accounts in stripe confirm payment intent call.

What have you already attempted?
Currently, we are able to accept payments to both accounts individually but we need a way to accept payments on both accounts at the same time while collecting payment once.

#

@urban pilot pressed the 📡 API button in #help to ask a question:

Question
Why I get this error but the payment is successfull in dashboard?

Related Request ID(s)
I have not get the req_ID today

What have you already attempted?
Erreur lors de la confirmation du paiement: StripeInvalidRequestError: No such checkout.session: cs_test_a1Arh2KeLjnCdweNRZmxDJ4bkAVPABxjH5e9FtGfKpN0tdvZTXckZyYaTw
at StripeError.generate (E:\WORKSPACES\Javascript\bingo\bingo_backend\node_modules\stripe\cjs\Error.js:10:20)
at res.toJSON.then.Error_js_1.StripeAPIError.message (E:\WORKSPACES\Javascript\bingo\bingo_backend\node_modules\stripe\cjs\RequestSender.js:105:54)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
type: 'StripeInvalidRequestError',
raw: {
code: 'resource_missing',
doc_ur

#

@boreal orchid pressed the ❌ An Error button in #help to ask a question:

Error Message
Request URL:
https://api.stripe.com/v1/apps/app_connection?include_only[]=id
Request Method:
POST
Status Code:
404 Not Found

Response:
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such : ",
"message_code": "missing_resource",
}

Question
I am trying to use the 'stripe-connect-app-install' component in my web app. The goal is to embed my stripe app in a white-labeled web app. But when I click on the install button and try to call that endpoint, I receive that error.

What have you already attempted?
I tried to check online, and debug the code. I am passing the appID so I don't understand what is the resource that I miss.

Reproduction Steps
Follow these steps https://docs.stripe.com/stripe-apps/accounting-software-integrations and test the whole stuff.

#

@timber knoll pressed the 📡 API button in #help to ask a question:

Question
Hello,
how i can test send mail like " 7 days before end subscription period" in prod ?

Related Request ID(s)
no request id

What have you already attempted?
I use simulation subscription in mode test but i don't think that mail are send in test mode

#

@pallid cloud pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected the first (incomplete) billing cycle to have a prorated flat-fee if the volume based tier has a flat-fee component.

What actually happened?
Even though the first billing cycle is from 16th of May to 1st of June, the customer is charged the full flat-fee of the tier reached.

Reproduction Steps
- Create a product
- Create a volume based, tiered price. Price per unit 0, units up until 4000, flat fee 40$.
- Create a subscription with this price, set the anchor to the first of June with prorations enabled

Question
How can I prevent customers from being charged the full flat-fee if for example their initial billing cycle is only a day or two. So say I sign up 25th of May, and the cycle ends 1st of June, I don't want them to pay the full 40$ flat-fee, but only a prorated amount based on the duration of the cycle. (25th of May to the 1st of June).

What are you working on?
A SaaS product that has a pay-per-use model

atomic shuttleBOT
#

@shy oar pressed the 📡 API button in #help to ask a question:

Question
We want to set the authorisation amount to $1 as in the [Stripe article](https://support.stripe.com/questions/unexpected-1-charge-on-customers-bank-statement?locale=en-GB). Currently it's set to $0, can this be configured through the Stripe dashboard and/or Stripe API?

Related Request ID(s)
req_94palSZAMX7Mdx

What have you already attempted?
Read the following docs:

* https://support.stripe.com/questions/unexpected-1-charge-on-customers-bank-statement?locale=en-GB
* https://docs.stripe.com/api/subscriptions

What are you working on?
On a membership site that offers free trials. We're getting a lot of signups with virtual cards that have no funds.

#

@finite viper pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Express checkout button to be loaded

What actually happened?
the buttons does not load and there is no error

Reproduction Steps
loading the checkout

Question
We have a web app that uses stripe web elements (ExpressCheckoutElement, PaymentElement). in some cases we load the web app through a webview. When using with a webview we are having trouble with the express checkout element as we don't see them and there is no load error. when not using a webview everything works as expected, we see the Link button and can press it

#

@warm fern pressed the 📡 API button in #help to ask a question:

Question
Has the structure of payment intent responses been changed recently?

I have a web site that I look after which previously worked just fine - but now the code isn't finding a payment_method value under the charges key on a payment intent.

It's a PHP based site and used to retrieve the payment method value via:

$payment_method = $payment_intent->charges->data[0]->payment_method;

Looking at a debug dump of a recent payment intent there no longer appears to be a charges key?
(However it looks like the payment_method is now a key at the top level of the payment intent).

Related Request ID(s)
The placeholder for this cuts off - not sure what you're asking for...

What have you already attempted?
Debugging only so far.

What are you working on?
Recurring payments (offline) for a website subscriptions.

#

@pseudo light pressed the 👍 Best Practices button in #help to ask a question:

Question
I would like to better understand customer balance better:
- Is the customer balance isolated to the customer's account only where it won't affect the whole account's balance? (meaning, it's just a "soft" amount, we don't necessarily have a legal grounds that we owe or the customer owes us the amount?)
- Is the customer balance only applicable to the next invoice of the customer on the account where the customer record exists?
- Is there any best practices / things to look out for when using customer balance?

Doc/Guide Links
https://docs.stripe.com/billing/customer/balance

What are you working on?
Currently migrating subscriptions of customers into stripe

#

@onyx briar pressed the 📡 API button in #help to ask a question:

Question
Hello,

My issue concerns subscriptions. I have the following scenario: I have an active subscription for the monthly period from May 1, 2024, to June 1, 2024. Today, I want to schedule the cancellation of the subscription for June 1, 2024. I use the parameter {"cancel_at": "1717200000"}, but then I change my mind and cancel the cancellation with {"cancel_at": ""}.

Now, my subscription period has changed and is from May 16, 2024, to June 16, 2024. Just two weeks ago, when I performed the same scenario, upon canceling a subscription, the period remained unchanged. What happened?

Related Request ID(s)
req_3MpDpfsCYv5Chx, req_hACsyPaiNVcMwA

What have you already attempted?
Before this didn't change the period, I don't understand this behavior change, I used this documentation. https://docs.stripe.com/billing/subscriptions/cancel?locale=fr-FR

What are you working on?
subscription

#

@muted isle pressed the 📡 API button in #help to ask a question:

Question
I want to integrate direct credit card payments into my application and am PCI DSS certified. Which API endpoints should I use for processing these payments securely?

Related Request ID(s)
req_gLvIJJJL5nFz0Q

What have you already attempted?
I have tried Payment intends

What are you working on?
Cards payment integration

#

@median geode pressed the 📡 API button in #help to ask a question:

Question
How can I handle refunds when using Checkout with `automatic_tax=enabled`? The docs state that I should use credit notes to handle these, however the credit notes section doesn't provide a lot of info for this use-case!

Related Request ID(s)
evt_1PGlrUAfoReX6Tchz907o03t / evt_3PGlrSAfoReX6Tch1G8Q92cW

What have you already attempted?
Creating a charge using a checkout session in payment mode (with the web page, not by setting up setup intents), then proceeding to refund the amount. I'm rather confused at the docs for handling tax transactions after the refund in completed

What are you working on?
Online marketplace

atomic shuttleBOT
#

@hearty raven pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected SessionService().GetAsync(sessionId) to not throw an error when passing in a sessionid

What actually happened?
I got "No such checkout.session: cs_test_b1bqronEIc5ebLmgPjkZepnUZIj7vMoUKc7JPgYpkuAuiFZ0Mn17bqSTrl"

When calling new SessionService().GetAsync(sessionId);

Yet it appears the session id does exist, as its present in the event data of the completed checkout session.

{
"object": {
"id": "cs_test_b1bqronEIc5ebLmgPjkZepnUZIj7vMoUKc7JPgYpkuAuiFZ0Mn17bqSTrl",

Reproduction Steps

  1. Backend creates embedded checkout session
  2. client mounts it
  3. user pays for the product successfully, all events are successful in my stripe dashboard, but after the payment has been processed and finished, the above error is thrown.

Question
My question is, why did this occur and how can I fix it?

#

@hearty garnet pressed the 📡 API button in #help to ask a question:

Question
I create an invoice which price is zero. I can find the invoice pdf url, but can't find the charge id and the receipt pdf url. Is there a receipt url for an price zero invoice?

Related Request ID(s)
in_1PH1BaE2ZZnUHRVWfjEHIujc

What have you already attempted?
I try to find the payment intent information but got nothing.

#

@latent imp pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.stripe.com/v1/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $array_data,
CURLOPT_HTTPHEADER => array(

Question
I'm using above code and it response is successful, the bank account it getting linked, but when I attempt to payout that bank it returns below error "Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments "

What have you already attempted?
The code is taken from stripe document itself but still its not working

#

@brave vector pressed the 🧑‍💻 Code button in #help to ask a question:

Code
var piService = new Stripe.PaymentIntentService();
Stripe.PaymentIntent paymentIntent = null;
try
{
var options = new Stripe.PaymentIntentGetOptions
{
Expand = new List<string> { "l

if (paymentIntent.Status == "requires_confirmation" || paymentIntent.Status == "requires_action" || paymentIntent.Status == "processing")

Question
While I try to handle all the possible payment Intent status, I encounter status "require action". Can you give me information about this status and how much time I have to wait until the action is made and the issue is resolved.

What have you already attempted?
I have a coroutine that check every half an hour about this payment intent and still has the same status as two hours ago

What are you working on?
In asp.net mvc web application, I am using stripe.net library with payment Intent.

atomic shuttleBOT
#

@iron fjord pressed the 📡 API button in #help to ask a question:

Question
products from dashboard not appear in API
in production environment

Related Request ID(s)
cant find

What have you already attempted?
implemented api call to get all or to search products by this guide https://docs.stripe.com/api/products/list

What are you working on?
get product by metadata and subscribe customer for it

#

@dark kiln pressed the 📡 API button in #help to ask a question:

Question
I have a questions about issuing , when I get balance with stripe.balance with a connected account as param, I get issuing_balance and it's 46.71 pounds, but one of cards defined in the same connected_account has some spending limit of 100 pounds daily. the question is issuing balance is 46.71 how can a card spend 100 daily, is it allowed ? are they even related ? thanks

Related Request ID(s)
A

What have you already attempted?
I have a questions about issuing , when I get balance with stripe.balance with a connected account as param, I get issuing_balance and it's 46.71 pounds, but one of cards defined in the same connected_account has some spending limit of 100 pounds daily. the question is issuing balance is 46.71 how can a card spend 100 daily, is it allowed ? are they even related ? thanks

#

@lime igloo pressed the 📡 API button in #help to ask a question:

Question
When I update the subscription with default_incomplete behavior, why the payment is automatically happening? Even though I am using incomplete.

Related Request ID(s)
-

What have you already attempted?
I am updating the subscription with payment_behavior as default_incomplete.

What are you working on?
I want to upgrade/downgrade subscription.

#

@echo coral pressed the 🧑‍💻 Code button in #help to ask a question:

Code
no code, its manual process

Question
Stripe app installation window doesnt show the app logo

What have you already attempted?
Uploaded logo from app edit listing page

What are you working on?
Integrating stripe app to authenticate with stripe account

#

@neat rivet pressed the ❌ An Error button in #help to ask a question:

Error Message
The search feature is temporarily unavailable in your region

Question
In stripe official doc it is mention that, this api feature is not available for india region. But how to solve this issue ?

What have you already attempted?
I did not try anything, just got this issue.

What are you working on?
Integrating stripe api with my application

#

@pulsar horizon pressed the 📡 API button in #help to ask a question:

Question
How do you create an invoice with automatic payment?

Related Request ID(s)
req_SlcNkJlBYWwrI6

What have you already attempted?
$stripe->invoiceItems->create([
'customer' => $stripeCustomerId,
'amount' => $amountDue * 100, // Convert AED to fils
'currency' => 'aed',
'description' => "Monthly service charge for {$currentMonth->format('F Y')}"
]);

    // Create and finalize an invoice automatically
    $invoice = $stripe\-\>invoices\-\>create\(\[
        'customer' =\> $stripeCustomerId,
        'auto\_advance' =\> true,
        'collection\_method' =\> 'charge\_automatically'
    \]\);
#

@finite viper pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Express checkout button to be loaded

What actually happened?
the buttons does not load and there is no error

Reproduction Steps
loading the checkout

Question
We have a web app that uses stripe web elements (ExpressCheckoutElement, PaymentElement). in some cases we load the web app through a webview. When using with a webview we are having trouble with the express checkout element as we don't see them and there is no load error. when not using a webview everything works as expected, we see the Link button and can press it

atomic shuttleBOT
#

@topaz coral pressed the 📡 API button in #help to ask a question:

Question
How to send request using the newest stripe api version? The dashboard says the request API version is 2020-08-27

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_Wrxne6dobsmuyx

What have you already attempted?
I have set the stripe_version parameter in PHP SDK
I have set the --latest flag for stripe CLI
I have updated the stripe-php to v14

What are you working on?
Upgrading the API in test environment

#

@wintry jetty pressed the 📡 API button in #help to ask a question:

Question
can we share card with multiple user, Like if a teammember dont have credit card can he purchase with his/her team lead card

Related Request ID(s)
payment

What have you already attempted?
i have fetched the card details from team lead, and tried setting the payment method of team member's invoice, but getting issue of missing card

What are you working on?
we have team approach, and wanted to implement a way so that if team member dont have credit card they can use their team lead card

#

@coarse creek pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a problem with Stripe connect that I just can't figure out.

When I send people (world-wide) to stripe connect registration. If they go back - it marks their country as the USA - it's unchangeable later.

Should I just create unlimited connected accounts to deal with this? it will spam the connected account in the dashboard.

Doc/Guide Links
https://docs.stripe.com/connect/express-accounts

What are you working on?
Fiver type of a marketplace. Seller add a bank account, buyer pay to the application, once seller is finished, application sends money to the seller.

#

@idle gale pressed the 👍 Best Practices button in #help to ask a question:

Question
How to support payment via different currencies ?

Doc/Guide Links
have searched for a while

What are you working on?
Payment

atomic shuttleBOT
#

@fading kestrel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<Elements options={options} stripe={stripePromise}>
<AddressElement
options={{ mode: "shipping" }}
/>
<AddressElement
options={{ mode: "billing" }}
/>
<PaymentElement options={paymentElementOptions} />
</Elements>

Question
Hey, when using the Stripe elements in a React app, I get an error message when trying to add a Address Element for the shipping address as well as the booking address. What would be the recommendet way to have an input for both on my checkout?

What have you already attempted?
I also tried having a toggle that switches the mode of the AddressElement. This threw an error as well.

What are you working on?
An Checkout.

#

@vagrant belfry pressed the 🪝 Webhooks button in #help to ask a question:

Question
My webhook signature verification is failing. I am using the raw body as parameter to ``constructEvent``. I believe that my secret is correct as well

Related Event ID(s)
evt_1PH4ClLQlTMgYd3jJacUiIQV

What have you already attempted?
.

#

@white warren pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const stripe = Stripe('pk_test_51O4naIDbw9778AEfyfF0FTbGF444loZlNPzVXD5tEN8ufVzYB2JvHP93O3gFiUgtK0C4tfrjR52m7cphHWG8voGS00BfRO3fL3');

const appearance = { /* appearance */ };
const options = { /* options */ };
const elements = stripe.elements({ clientSecret, appearance });
const paymentElement = elements.create('payment', options);
paymentElement.mount('#payment-element');

Question
Is necesary to have a clientSecret with the customerid to show the paymentElement?

What have you already attempted?
My boss is asking me to show a form to create a user or login on the same page and at the same time, to show the paymentElement. Until now I had them on different pages, so when I entered the paymentElement page, I already had a clientSecret. But as I have to do it in the same page, I don't know if it's possible.

#

@idle gale pressed the 👍 Best Practices button in #help to ask a question:

Question
Different currencies in payment

Doc/Guide Links
have checked some docs

What are you working on?
Payment

atomic shuttleBOT
#

@midnight nacelle pressed the 📡 API button in #help to ask a question:

Question
I'm trying to test if a transfer from a connected account to my account will incur any fees. I'm trying to test in my test mode from this document https://docs.stripe.com/connect/account-debits?lang=curl#transferring-from-a-connected-account, but when I issue a request I'm getting error stating "This is a restricted API key, but the required permissions are not available for use by restricted keys."

Related Request ID(s)
req_Ytv68PgIX34ems

What have you already attempted?
- I created an api key with all permissions
- confirmed I can list transfers
- Tried to issue a request in test mode similar to the one in the documentation, but not luck.

atomic shuttleBOT
#

@grizzled wren pressed the ❌ An Error button in #help to ask a question:

Error Message
SCPErrorCommandNotAllowed

The command was not permitted to execute by the operating system. This can happen for a number of reasons, but most commonly:

Your application does not have the necessary entitlements.
Your application bundle is invalid.

Question
We're using stripe-terminal-ios SDK version 3.5.0 and some of our users experience this error.

For a given users this is not 100% reproducible, sometimes it works, sometimes this error is returned by the SDK.

Can you clarify all the reasons why this error can happen?

Thanks in advance

What have you already attempted?
Just trying to accept a contactless payment.

#

@waxen iris pressed the 🧑‍💻 Code button in #help to ask a question:

Code
PaymentSheet(
activity = this,
createIntentCallback = { paymentMethod, _ ->
val paymentIntent = viewModel.createPaymentIntent(
paymentMethodId = paymentMethod.id.orEmpty(),
)
if (paymentIntent != null) {
CreateIntentResult.Success(paymentIntent.intentClientSecret.orEmpty())
} else {
CreateIntentResult.Failure(Exception())

Question
I am trying to use the PaymentSheet in my Android App, but for some reason the 3d secure is not displayed.

What have you already attempted?
i tried to manually call stripe.handleNextActionForPayment with my clientSecret but the 3d secure is not displayed

#

@tawdry peak pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When sending a preview invoice request where I remove subscription item and put "always_invoce" into proration behaviour I expect to see credits that would apply to customer plan.

e.g. Someone is upgrading from monthly subscription to yearly subscription in a middle of monthly billing period and I want to show that we will be deducted remaining time from there monthy

What actually happened?
I recieved an error that invoice with 0 items is not possible. Which is logical.

Reproduction Steps
no exact steps, this is more a semantical question

Question
How to preview an invoice when people are moving from monthly to yearly subscription in a prorated way.

#

@safe pike pressed the 📡 API button in #help to ask a question:

Question
I'm sorry, this has probably been asked many times already. But I'm not finding a clear answer.

I work for an ERP software company. We have customers that want to integrate with Stripe to process credit card payments. In many cases, the customer is not selling anything through a website. They are taking purchase orders through email, then manufacturing and shipping a product and invoicing the customer at that time.

What would be the best way to handle credit card payments without having an online store? I've read the API Payment Links information, but it requires products and prices.

Related Request ID(s)
I'm not sure

What have you already attempted?
I have read these:
https://docs.stripe.com/payment-links/api
https://docs.stripe.com/api/payment_intents
https://docs.stripe.com/payments/link/save-and-reuse

What are you working on?
Researching to build an integration that would send invoice details to Stripe for payment processing. The customer would need to give their credit card information to Stripe beforehand.

#

@last pelican pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
to land to a thank you page

What actually happened?
After clicking on "pay now" an error page comes up

Reproduction Steps
after clicking on "pay now" an error page comes up and the purchase is not completed

Question
Why is this happening? I don't know anymore what to say

atomic shuttleBOT
atomic shuttleBOT
#

@tepid briar pressed the 📡 API button in #help to ask a question:

Question
Hello, I need some help with understanding the new Entitlements API. Is there a way to setup product features through the dashboard? If not, where is the right place to set these up via the API in a Next.js application? It only needs to be created/updated once when the application is deployed, so maybe it's better to use the Stripe CLI to set these up.

Related Request ID(s)
N/A

What have you already attempted?
I've read the Entitlements guide and API docs: https://docs.stripe.com/billing/entitlements

What are you working on?
A Next.js web application that has multiple product features, where access to the features is currently determined by the price/product customers are subscribed to.

#

@distant oriole pressed the 📡 API button in #help to ask a question:

Question
We want to integrate stripe in our Saas.
The users can subscribe to 1 of available 3 plans.
He can also add some 'addons', like additional storage, which gets added to the same subscription as the plan in subscription items.

The logic we want to have is when a user upgrades his plan or when he buys more addons or their quantities, the change is done immediately with proration.
In the case of downgrade, we want the user to keep the features he already paid for until the next billing cycle.

All those updates needs to be done via pending_if_incomplete, so that the changes aren't applied until t

Related Request ID(s)
req_0nHBmArl2Ucaxf, req_aShpzH3yunGNS6, req_EwihyqVtcDYA06

What have you already attempted?
What we've tried is using pending if incomplete during downgrades, and when the invoice is paid, we update the subscription schedules based on the schedules.
In the case of the downgrade, we just update the subscription schedule.

The downgrade works without issue, but in the case of the upgrade, let's say we upgrade the storage to 10GB, then we downgrade to 5GB, which creates a schedule, next time we upgrade to 12GB for example, it cancels the next downgrade, which is good, make the user pay for the addition 2GB on top of the 10, but then immediately cancel that change

What are you working on?
Saas for advisories

atomic shuttleBOT
#

@elder fable pressed the 📡 API button in #help to ask a question:

Question
Is there any way to check "In transit to bank" on Stripe connect accounts dashboard through an api?

Related Request ID(s)
n/a

What have you already attempted?
I looked at balances api and stripe accounts api but could not find it

What are you working on?
trying to fetch "in transit to bank" data from stripe connect account dashboard

#

@patent lagoon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-transfer_data

Question
Twilio is trying to enable a feature for an ISV to transfer a payment to a merchant using the transfer_data parameter in PaymentIntents. However, we've encountered an error stating "invalid_request_error - destination. You cannot make a destination charge on a connected account" when attempting to make the charge.

Issue: It appears that the payment connectors we create on the Twilio console use scoped keys from Stripe, which differ from our platform account's secret key. This seems to be causing the issue as the payments aren't processed using the platform's API key.

What have you already attempted?
Question: Given this setup, what would be the best approach to enable ISVs to transfer funds to their merchants? Is there a recommended method to handle such transfers without using the transfer_data parameter, or perhaps a configuration on our side that we're missing?

#

@real lynx pressed the 📡 API button in #help to ask a question:

Question
I'm having an issue using a Payment Element on frontend and calling createConfirmationToken with that submitted element. It somehow depends on intitialization time, and sometimes it works, but usually (99.9%) I get an error saying 'Could not find a mounted element to create the Confirmation Token from, please ensure you have a Payment Element or Express Checkout Element mounted (or both).', but I can breakpoint and see that payment element in my elements collection that is being passed. So that error is incorrect. Driving me a little nuts :).

Related Request ID(s)
It doesn't get that far.

What have you already attempted?
Everything possible.

What are you working on?
Software to manage service industry.

#

@left perch pressed the ❌ An Error button in #help to ask a question:

Error Message
"Merchant list empty" when I login

Question
When I login to my Stripe Express account, it says "Merchant list empty". I have contacted Batch and they said this is something that needs to be fixed from Stripes end.

What have you already attempted?
Contacted Batch and Stripe support several times and I keep getting the same responses that do not fix the issue.

Reproduction Steps
Contact Batch and then contact Stripe again if Batch cannot fix the issue. I have contacted Stripe again and I have not received a response.

What are you working on?
Trying to see how much money is in my account.

#

@glass umbra pressed the 👍 Best Practices button in #help to ask a question:

Question
I need storage link from stripe.Account.create_login_link in database to dont stay create again this object in my database?

Doc/Guide Links
I need storage stripe.Account.create_login_link in database?

What are you working on?
account create

#

@wraith sequoia pressed the 📡 API button in #help to ask a question:

Question
Is it mandatory to have a setup intent to save a payment method for later use?

Context: Currently, our BE (in Drupal/PHP) creates a Payment Intent. This is sent to the FE, where we render an Elements provider with the PI's client secret. This setup works fine, and users can pay with new or stored cards. Now, we want to save cards for later use. Can we somehow use this PI to create a SETI? Or, is there a way to save a payment method used in a PI?

Related Request ID(s)
req_8JuqJS6W5pUvlH, req_fhXWjpjIfm2lqN

What have you already attempted?
Tried to call confirmSetup with PI's client secret but kept getting this error "your code called confirmsetup() but you passed a client_secret associated with a paymentintent. did you mean to call confirmpayment() instead" - I could call confirmPayment directly, but that wouldn't save the card, right?

What are you working on?
A next.js app

atomic shuttleBOT
#

@waxen iris pressed the 🧑‍💻 Code button in #help to ask a question:

Code
val paymentSheet = rememberPaymentSheet(
createIntentCallback = { paymentMethod, _ ->
val paymentIntent = createPaymentIntent(paymentMethod.id.orEmpty())
if (paymentIntent != null) {
CreateIntentResult.Success(paymentIntent.intentClientSecret.orEmpty())
} else {
CreateIntentResult.Failure(Exception())
}
},
paymentResultCallback = {
onPaymentResult(it.toPaymentSt

Question
Is there a way to get the payment intent id in the client app (android), when using the paymentSheet (compose). I need it in order to inform the backend that the payment has been successfull.

What have you already attempted?
I went accros the documentation but did not find any info about that

atomic shuttleBOT
#

@nova bluff pressed the 📡 API button in #help to ask a question:

Question
After cancelling a subscription by setting it to cancel at period end, how can I tell from the subscription object that it has been set to cancel at period end vs a subscription that is still active?

Related Request ID(s)
N/A

What have you already attempted?
Looking through docs

#

@undone smelt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
import {
ConnectAccountOnboarding,
ConnectComponentsProvider,
} from '@stripe/react-connect-js'

Question
What is the correct name for the react-connect-js library? I am getting this error on '@stripe/react-connect-js': Cannot find module '@stripe/react-connect-js' or its corresponding type declarations.

What have you already attempted?
I did exactly what the github page says. pnpm install @stripe/react-connect-js @stripe/connect-js . Yet I couldn't find a way to import the library correctly.

atomic shuttleBOT
#

@tawdry latch pressed the 📡 API button in #help to ask a question:

Question
paymentElement = elements.create('payment');

how to sed fields config to return address field

Related Request ID(s)
n/a

What have you already attempted?
fields: {
billingDetails: {
name: 'auto',
email: 'auto',
address: 'auto',
},
}

        fields\: {
            billingDetails\: {
                name\: 'auto',
                email\: 'auto',
                address\: {
                    country\: 'never',
                    postalCode\: 'auto',
                    state\: 'auto',
                    city\: 'auto',
                    line1\: 'auto'
                }
            },

What are you working on?
i'm setting up afterpay. the api requires me to submit billing address, but i can't get the stripe api iframe to return address fields. only name and email

#

@visual bramble pressed the 📡 API button in #help to ask a question:

Question
Why does creating the elements object with an option of setupFutureUsage: "off_session" cause Amazon Pay to not appear

Related Request ID(s)
n/a

What have you already attempted?
Reviewed documentation that seems to indicate Amazon Pay should be usage for future payments, but its talking about a customer scenario.

What are you working on?
Express checkout for subscriptions using Amazon Pay as one of the methods.

#

@sharp aurora pressed the 🪝 Webhooks button in #help to ask a question:

Question
refund.created is not firing when payment intent is refunded

Related Event ID(s)
req_vHnBKOcDCF0TDk

What have you already attempted?
I have used the Stripe CLI to trigger a charge.refunded event which should also cause a refund.created event.

What are you working on?
Bank reconciliation integration (internal)

atomic shuttleBOT
#

@pseudo python pressed the ❌ An Error button in #help to ask a question:

Error Message
When creating a source with a bank account, the source and the bank account must belong to the same merchant.

Question
I'm setting up this source for Funding issuing balances on the connected account, but at some point, in the documentation linked below, I'm asked to clone Customer and I'm not sure why ? Why can't I just create the source using the stripe token I got from Plaid ?

What have you already attempted?
Following this doc, with Plaid integration : https://docs.stripe.com/issuing/connect/funding?issuing-funding-type=us-pull-funding#verifying-sources-with-microdeposits

#

@sacred gorge pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there anyway to change the timing of the trial_will_end event? I would like to get the event a day before the trail ends or sooner rather than 3 days before.

Related Event ID(s)
n/a

What have you already attempted?
n/a

#

@silver fjord pressed the ❌ An Error button in #help to ask a question:

Error Message
`setup_future_usage` cannot be used with one or more of the values you specified in `payment_method_types`. Please remove `setup_future_usage` or remove these types from `payment_method_types`: ["affirm"]."

Question
`i did not use setup_future_usage to update this intent at any point but I get this error message

What have you already attempted?
I have tried updating the payment intent without setup future usage , and it doesnt work

Reproduction Steps
payment intent id -> pi_3PH5wKFeKZ5612QC1n4JDr1n

sample request id- > req_xLnAPyMNd2O9K2

What are you working on?
payment collection for shipment booking

#

@silk kite pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const { error } = await initPaymentSheet({
merchantDisplayName: '',
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
setupIntentClientSecret: setupIntent,
applePay: {
merchantCountryCode: 'US',
cartItems,
}
});

Question
In the react native stripe sdk, is there a way for me to remove the "Pay Later" option in the apple pay sheet?

What have you already attempted?
I have tried looking for a way to set the applePayLaterAvailability property in the initPaymentSheet method but can't find any similar fields.

atomic shuttleBOT
#

@viscid haven pressed the 🧑‍💻 Code button in #help to ask a question:

Code
if (stripeEvent.Type == Events.CheckoutSessionCompleted)
{
// Payment is successful and the subscription is created.
// You should provision the subscription and save the customer ID to your database.
var session = stripeEvent.Data.Object as Session;

        var user = dbContext.Users.FirstOrDefault\(u =\> u.Id == Guid.Parse\(session.Metadata\["OwnerUserId"\]\)\);

        var tenant = new Tenant\(\)

Question
How can I get the product id related to the subscription after receiving this event in my webhook endpoint?

What have you already attempted?
looking through the various properties on the subscription object

#

@real compass pressed the 📡 API button in #help to ask a question:

Question
I am trying to create an Invoice Item via stripe.InvoiceItem.create

This seems to not allow me to supply both unit amount and unit amount decimal. How should I be sending a decimal amount?

Related Request ID(s)
req_cgxvYwBew5aWSe

What have you already attempted?
Tried to call this API

#

@plain wing pressed the 📡 API button in #help to ask a question:

Question
I want to pass guild ID when person buys and i tried using client_reference_id but on cancel it doesnt pass this value only on checkout.session.complete

Related Request ID(s)
none

What have you already attempted?
As said before i attempeted using client_reference_id

#

@tawdry latch pressed the 📡 API button in #help to ask a question:

Question
i'm generating payment and address element, they both render but the address element is disabled

Related Request ID(s)
n/a

What have you already attempted?
this.stripeElements = this.stripe.elements(options);
const addressOptions = { mode: 'billing' };

    const addressElement = this.stripeElements.create\('address', addressOptions\);

    // Create and mount the Payment Element
    this.stripePaymentElement = this.stripeElements.create\('payment', {
        fields\: {
            billingDetails\: {
                name\: 'never',
                email\: 'auto',
                address\: {
                    country\: 'never',
                }
            },
        }
    }\);
#

@misty dew pressed the 📡 API button in #help to ask a question:

Question
How do we update the invoice checkout page to display processing fees based on the payment method selected?

Related Request ID(s)
NA

What have you already attempted?
We have not attempted anything yet.

What are you working on?
We are working on passing processing fees to payers

#

@wheat flower pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Apple Pay button to render

What actually happened?
Apple Pay button did not render

Reproduction Steps
We are trying to render Apple Pay button inside an iframe. Trying to open the web application in iOS 16 Safari with valid Apple pay details added in the browser.

Question
In our application, the iframe origin and top-domain are not same, but they are expected to be same for iOS < 17 as per the documentation. Is there a workaround for the same?

What are you working on?
Tekion Pay using Stripe

atomic shuttleBOT
#

@spiral otter pressed the 👍 Best Practices button in #help to ask a question:

Question
How can I pause payments (similar to what is done from the platform dashboard) for a connected express account via an API call?

I know I can simulate pausing payouts by setting the payout interval to manual, is there a similar option to pause all payment acceptance?

Doc/Guide Links
https://docs.stripe.com/api/capabilities/update

What are you working on?
Stripe Express Accounts

atomic shuttleBOT
#

@fringe heart pressed the 📡 API button in #help to ask a question:

Question
how can I create an invoice with an especifict payment method using the api?

Related Request ID(s)
idk

What have you already attempted?
I have no idea I understand stripe try to pay the invoice with the default payument method but my use case requests an especifit one

What are you working on?
A solution to pay services with different cards

atomic shuttleBOT
#

@candid slate pressed the 📡 API button in #help to ask a question:

Question
Are "Bank Transfer Funding Instructions" on a PaymentIntent the sole avenue to access a Customer's virtual account numbers? Or are there additional methods to access this info?

Related Request ID(s)
More of a general question

What have you already attempted?
As I understand it to now, the virtual bank accounts spun up when using customer_balance bank_transfer to fund a PaymentIntent can only be accessed through a PaymentIntent even though they live on connected to the customer.

Is there any way to retrieve these accounts outside of a payment intent?

atomic shuttleBOT
atomic shuttleBOT
#

@ebon oyster pressed the 📡 API button in #help to ask a question:

Question
i have a credit-based subscription system. the credits are issued on the "invoice.paid" webhook. however, there's an hour-long gap where the invoice is in a draft state. how can i auto-advance it?

Related Request ID(s)
none

What have you already attempted?
i read this https://docs.stripe.com/invoicing/integration/automatic-advancement-collection

#

@full crypt pressed the 🪝 Webhooks button in #help to ask a question:

Question
Why doesn't the event object annonuce which Stripe object it holds?
Take for example the charge.succeeded webhook event object include the Charge object
at `event["data"]["object"]` but nowhere in the Event object does it specify what object `event["data"]["object"]` is

Related Event ID(s)
NA

What have you already attempted?
NA

What are you working on?
I'm considering to build a django package that will sync the stripe data

atomic shuttleBOT
#

@oblique cairn pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm working with the embedded form. Expected everything to work smoothly every time.

What actually happened?
With Firefox/Fedora it sometimes ends up with "Something went wrong" message. Sometimes it will seemingly succeed but then error at return.js. It waits for a response but gets a server 500 page. On Chrome/Windows it usually performs better but sometimes the errors happen. The browser console shows msgs about cookies. I notice it mentions _stripe_mid and _stripe_sid.

Reproduction Steps
I go through the payment process from beginning to end.

Question
With so much going on under the embedded payment form, is it normal to occasionally get errors?

What are you working on?
Selling one item with non-renewing subscription. Using perl, Dancer2, Starman on Fedora. Works and about to release.

atomic shuttleBOT
#

@zinc smelt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
code1:
const paymentRequest = stripe.paymentRequest({
country: 'US',
currency: 'usd',
total: {
label: ItemClick_lesson.value.name,
amount: getAmoutByType()*100,
},
});
code2:
const paymentRequest = stripe.paymentRequest({
country: 'AE',
currency: 'aed',
total: {
label: ItemClick_lesson.value.name,
amount: getAmoutByType()*100,
}

Question
code1 can pay directly, code2 needs to "更新账单邮递地址"?
pic1:https://photos.app.goo.gl/YYmnZXD7FuKPijcv5
pic2:
https://photos.app.goo.gl/hxfQzSewPLgQGRkF8

What have you already attempted?
I have referred to these two documents:

https://stripe.com/docs/stripe-js/elements/payment-request-button

https://docs.stripe.com/elements/express-checkout-element

What are you working on?
Integrate apple pay so customers can buy lessons

atomic shuttleBOT
#

@teal dome pressed the 📡 API button in #help to ask a question:

Question
The python stripe library seems to support only 1 API key. We have multiple Stripe instances/ Stripe accounts. Need a way to allow multiple API keys in the backend.

Related Request ID(s)
None

What have you already attempted?
Not sure what to do here.

What are you working on?
I have two products connected to the same backend. For some reason, I had to connect different stripe account to each product.

atomic shuttleBOT
#

@opal cliff pressed the 📡 API button in #help to ask a question:

Question
how can user make 2 different payment at once using stripe?

Related Request ID(s)
NOID

What have you already attempted?
how can user make 2 different payment at once using stripe?

atomic shuttleBOT
#

@true jungle pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have implemented stripe connect with my solution and it works fine with subscriptions. But when my connected accounts customers are buying products that are not subscriptions. No invoice is generated. I only receive the carge.succeded, payment_intent.created, payment_intent.succeeded, checkout.session.completed and application_fee.created.

I need the invoice, so I can update my local db with the products the connected accounts customer have bought.

Related Event ID(s)
pi_3PHK4aHHlF65TJNq0j3xwnZv

What have you already attempted?
I have tried to look for the details in the webhooks I receive, but its not present there.

What are you working on?
I'm am building a SaaS solution where my customers (connected accounts) can create various products for their users (connect account customers). This can either be subscriptions or onetime purchases.

atomic shuttleBOT
#

@wheat flower pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Apple Pay button should render

What actually happened?
Apple Pay button did not render

Reproduction Steps
We are trying to use Stripe Elements in an iframe. Apple Pay button does not show even when the card is setup in the Safari browser

Question
What could be missing in the setup that is breaking the flow?

atomic shuttleBOT
#

@flint carbon pressed the 📡 API button in #help to ask a question:

Question
Hi, We are integrating with external authentication service provider and want to process payments through Stripe.

For 3RI MIT payments, We would be doing the 3RI authentication and get the authentication details from authentication service provider.

So, when sending an MIT payment to stripe, we are planning to attach the authentication details which we received in 3RI response. Should we also add any field telling that these are 3RI authentication details? Or Stripe would by default get this authentication details and forward it?

Thank you

Related Request ID(s)
NULL

What have you already attempted?
Not able to find any docs related to this

#

@brisk nymph pressed the 📡 API button in #help to ask a question:

Question
Please explain the reason of failure for given request id 'req_W3TeHd2nZZo21Z'

Related Request ID(s)
req_W3TeHd2nZZo21Z

What have you already attempted?
N/A

atomic shuttleBOT
#

@bronze shore pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/direct-charges

Question
Is it possible to set the application_fee_amount after a payment is processed?
When creating a new checkout session, I must set the application fees but I would like to do it after the payment is processed because the application fees can vary based on which payment method is used by the end customer.
Example: total amount is 100$, I want the connected account to receive 95$
if the user pay using credit card and the stripe fees are 2$, the platform fees will be 3$
but if the user pays using a cheaper payment method and the stripe fees are only 1$, the platform fee could be 4$

What have you already attempted?
I tried to find info online but cannot get the answer I am looking for

What are you working on?
A ecommerce website

#

@uncut jacinth pressed the 🪝 Webhooks button in #help to ask a question:

Question
It is normal to use this code to retrieve stripeObject from the payment.success Webhook in a sandbox environment. But in a live environment, payment callbacks are used to parse stripeObjects
When resolved, the object being resolved is empty.

Related Event ID(s)
pi_3PHL5wIC1xDAOwlv05D7P1mI

What have you already attempted?
https://docs.stripe.com/webhooks/quickstart?lang=java

What are you working on?
paymentIntent.success

#

@opal cliff pressed the 🧑‍💻 Code button in #help to ask a question:

Code
subscription = stripe.Subscription.create(
customer=customer.id,
items=[
{
'price': 'price_1Hh1ZeIabcdefghijk',
},
],
payment_behavior='default_incomplete',
)

Question
do i need to confirm the subscription using client secret in frontend?

What have you already attempted?
trying to create subscritpion

atomic shuttleBOT
#

@mortal pecan pressed the 👍 Best Practices button in #help to ask a question:

Question
We need to associate multiple users to a subscription, what would be the best practice on this?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/quantities

What are you working on?
It is a streaming SaaS application, Kind of windows remote desktop. So the product is a "windows" server available via RDP. There is a user subscribe to that product an will be the one who pay but it could have more user too.

#

@wild patrol pressed the 📡 API button in #help to ask a question:

Question
While confirming payment intent for live accounts customers get a verification challenge (3D secure I believe) but in test mode we do not get that. How can we replicate this behaviour of verification challenge in test mode as well?

Related Request ID(s)
Example payment intent: pi_3PDpl1HFzwE4pTge0jUdjfr4

What have you already attempted?
Finding ways to do it

#

@night oxide pressed the 🪝 Webhooks button in #help to ask a question:

Question
hey, I have a question regarding webhooks, does it always gets triggered when a customer pays with a 3d secure card?

Related Event ID(s)
https://dashboard.stripe.com/events/evt_1PFtVAEUdH8iAtR7V4NZnBol

What have you already attempted?
we normally receive the webhook events when stripe processes the recurring payments (Monthly/Yearly)

What are you working on?
we have integrated stripe on our webapp

#

@fathom gorge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$account = Account::create([
'type' => 'standard',
'email' => $merchant->contact_email,
'country' => 'FR',
'settings' => [
'payouts' => [
'schedule' => [
'interval' => 'manual',
],
],
],
]);

Question
CAN i split payment between driver and restaurant and plateform with stripe connect standard, i registred the connected accounts as standard account; i want to have payment of client go to restaurant,a commission to driver and a commission to platefrom, the platfrom is holder of main stripe account

What have you already attempted?
i attempted to do direct payment and do payment of fees to platfrom, how can i transfer commision to driver wich is a connected account also

What are you working on?
paltfrom like ubereats

atomic shuttleBOT
#

@brazen pier pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have created a webhook for stripe connected account. https://staging-new.shoresummerrentals.com/connected-account-webhook

But my domain is IP restricted . So I need to allow the IP address so that webhook can send request on server. Can you please tell what is the IP of webhook ?

Related Event ID(s)
evt_1PHMtw4Jd7h5C0J0s12vHiuu

What have you already attempted?
#Stripe Webhooks
Allow from 3.18.12.63
Allow from 3.130.192.231
Allow from 13.235.14.237
Allow from 13.235.122.149
Allow from 18.211.135.69
Allow from 35.154.171.200
Allow from 52.15.183.38
Allow from 54.88.130.119
Allow from 54.88.130.237
Allow from 54.187.174.169
Allow from 54.187.205.235
Allow from 54.187.216.72

#

@sullen patrol pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
we expected the price of the apple pay to update and charge the correct ammount

What actually happened?
it charges the previous amount/wrong amount than whats on the screen

Reproduction Steps
after checkout enter postcode details which will update with the delivery fees, however when going to pay its doing either the previous amount or the complete wrong amount

Question
how can we have it so that it updates to the price shown on the screen instantly so we can ensure the customer pays the correct amount

What are you working on?
a food ordering platform

#

@dry gust pressed the ❌ An Error button in #help to ask a question:

Error Message
BankID cancelled when using MobilePay after 3DS verification even though the payment goes through

Question
BankID cancelled when using MobilePay after 3DS verification even though the payment goes through

What have you already attempted?
Disabling and enabling MobilePay for the Connected account

Reproduction Steps

  1. Create a connected account
  2. Enable MobilePay as a wallet/payment provider
  3. Run through any payment on a Danish setup phone with MitID connected
  4. Watch as the paymentflow completes with message "you can close this window now", but when doing so it displays "BandID Cancelled" in the MobilePay app
#

@torn rapids pressed the 📡 API button in #help to ask a question:

Question
I want to know if its possible to have the merchant tax id be present on the receipts generated from the PaymentIntents that are emailed to customers.

Related Request ID(s)
Dashboard / API

What have you already attempted?
Researched online by reading Stripe docs and other forums. They seem to suggest that this isnt a functionality however, I need to double confirm with your support so I can relay this to project manager.

What are you working on?
Software Engineer

atomic shuttleBOT
#

@grizzled wren pressed the ❌ An Error button in #help to ask a question:

Error Message
SCPErrorCommandNotAllowed

The command was not permitted to execute by the operating system. This can happen for a number of reasons, but most commonly:

Your application does not have the necessary entitlements.
Your application bundle is invalid.

Question
We're using stripe-terminal-ios SDK version 3.5.0 and some of our users experience this error.

It's returned by Terminal.shared.discoverReaders and we're using Tap to Pay on iPhone (LocalMobileDiscoveryConfigurationBuilder).

Can you clarify all the reasons why this error can happen?

Thanks in advance

What have you already attempted?
For a given users this is not 100% reproducible, sometimes it works fine. This is why we've discarded the entitlement issues.

#

@rapid siren pressed the 📡 API button in #help to ask a question:

Question
When I started a month ago, I misconfigured the checkout option for my customers to subscribe to my platform and pay their subscription, I did not give the option to collect billing data from their companies and now invoices are being generated to their personal names.
How can I update this information for my customers? Their data has been provided to me through my platform, is there a way for me to update their information so that from now on their invoices are made out to their company names?

Related Request ID(s)
N/A

What have you already attempted?
I am trying to update your data one by one through the Dashboard, but there are too many.

atomic shuttleBOT
#

@fallen sky pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/payment-method-configurations

Question
This doc talks about connected accounts being able to have multiple configurations of payment methods. When I list all of the configurations of my connected test account, it has 2 configurations, although I've never actually created any configurations. I also don't see how I, or the connected account, could add different configurations. How do I know which configuration is currently active, and which one should I update with new preferences if a connected account wants to change them?

What have you already attempted?
Nothing, just looking for clarification.

What are you working on?
A platform for events where different event locations can sell tickets to their events.

#

@prime yoke pressed the 📡 API button in #help to ask a question:

Question
I'm currently working on a C# application where I need to retrieve all payments made between specific dates, including those made to connected accounts, using the Stripe API.

Related Request ID(s)
req_QVUjrYu6vqnVv0

What have you already attempted?
Utilized the PaymentIntentService by passing the secret key, but found it only returns payments directly made to the main account, excluding payments to connected accounts. but I need a way in one call to get everything done under that account

What are you working on?
payment reconciliation to insert the missing payments that happen cus of db failure on our side

#

@gusty hollow pressed the 📡 API button in #help to ask a question:

Question
How can I show "today's version of the API documentation" without having to switch my dashboard version?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

@vale grove pressed the 📡 API button in #help to ask a question:

Question
Hello! I have a question, is it possible to add timer for chekout page? (i.e you have 30 minutes to fill all), and if 30 minutes passed without any payment than close checkout session and cancel it?

What have you already attempted?
I'have found expires_at in docs, but I can't understood will it do what I want or not....

atomic shuttleBOT
#

@manic lagoon pressed the 📡 API button in #help to ask a question:

Question
Hello! I would like to ask the following: If I have a customer that has credit card data set up that I can charge without the customer being on page and the bank requires strong authentication, how can I reopen the request? For example I get the API Response that strong auth is needed -> email to the customer -> how do I open the strong auth request for that transaction?

Related Request ID(s)
none

What have you already attempted?
Off site authentication with test cards

What are you working on?
Web service

#

@white warren pressed the 🧑‍💻 Code button in #help to ask a question:

Code
this.stripe = await loadStripe(this.stripePublishableKey);
this.elementsOptions = {
mode: "payment",
amount: this.unit!.deposit,
currency: 'eur',
paymentMethodTypes: ["card", "sepa_debit"],
// Fully customizable with appearance API.
appearance: appearance,
};
// Set up Stripe.js and Elements to use in checkout form, passing the client secret
this.elements = this.stripe.elements(this.elementsOptions);

Question
How can I specify the pament methods allowed for the customer

What have you already attempted?
I am developing a Collect payment details before creating an Intent solution (https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&lang=dotnet#additional-options)

atomic shuttleBOT
#

@ember cloud pressed the 🪝 Webhooks button in #help to ask a question:

Question
When using Stripe Connect, sometimes accounts don't get properly onboarded and whenever a new onboarding link is generated and the process completed, no webhook event is sent to the backend

Related Event ID(s)
account onboarding

What have you already attempted?
step 1 - generate link with this.stripe.accountLinks.create

step 2 - create a new payout this.stripe.transfers.create

now, if for any reason one of the two step fails, no more webhook events are generated for that account

What are you working on?
NestJS - Typescript

#

@dark kiln pressed the 📡 API button in #help to ask a question:

Question
I'm using stripe issuing elements, but not copying pin to clipboard

Related Request ID(s)
a

What have you already attempted?
have tried using stripe issuing elemtns to copy pin

#

@steady tiger pressed the 📡 API button in #help to ask a question:

Question
How to partial refund the payment intent?

Related Request ID(s)
.

What have you already attempted?
.

atomic shuttleBOT
#

@west frost pressed the 📡 API button in #help to ask a question:

Question
Is it possible to create a per-price discount code? I only see option to limit to a specific product, but not to a specific price of that product

Related Request ID(s)
none

What have you already attempted?
Creating discount for fixed amount X, where X > monthly price makes the discount to only be valid for the yearly price

#

@bleak fractal pressed the 📡 API button in #help to ask a question:

Question
How to properly setup your stripe account for apple pay and google pay and credit card payments only?

Related Request ID(s)
-

What have you already attempted?
I've successfully setup the card payments via stripe dashboard > settings > payment methods and am properly using the 'automatic_payments' > 'enabled' => true flag (in PHP), now I'm trying to setup apple pay and Google pay. I don't really understand if the step listed here : https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect is required every time a stripe client is initiated, or only once?

What are you working on?
APi Integration

#

@hexed harness pressed the 📡 API button in #help to ask a question:

Question
We are currently migrating all our integration to a newer version of stripe, however, we still have some `src` type ids left. We plan to migrate them in the near future. Still, i got an error when trying to use the source id into the payment method field when creating a payment intent.
```Using a SEPA Debit Source in the `payment_method` field has been deprecated and is no longer a valid integration path. Please migrate your Source objects to PaymentMethods. ```
Since the API should be deprecated in october, i find this error weird, is that normal ? Thanks !

Related Request ID(s)
Error on payment intent creation

What have you already attempted?
Create a payment intent with the source id. In a previous thread, i asked someone if i can still use the src id with different functions and API's and they said it's still supported

What are you working on?
Stripe migration to new API versions.

#

@noble gulch pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const paymentIntent = await this.stripe.paymentIntents.create({
amount: totalAmount,
currency: 'sek',
customer: stripeCustomerId,
transfer_data: {
destination: company.stripeAccountId,
amount: party.priceSEK * 100,
},
automatic_payment_methods: { enabled: true },
metadata: {
partyId: party.partyId,
userId: user.userId,
insurance: body.hasInsurance.toString(),
},

Question
I want to add a application fee to my payment intent but i get an error saying that you cant have transfer data and application fee parameters in the same intent

What have you already attempted?
I've looked at the payment and charge docs, but saw that creating a charge was deprecated.

What are you working on?
An app were a host can create a event with tickets in which users can buy.

#

@tender gust pressed the 🪝 Webhooks button in #help to ask a question:

Question
I want to add Test Local Environment with specific webhook API version. When creating webhook I can set proper API version, but not for test local environment. In stripe dashboard overview tab I've set api version to the most recent but when I'm receiving events in my local environment I can see that events that I get in my service are with version 2020-08-27 which it not valid for me. Also I've noticed that my local environment webhook didn't register in stripe dashboard

Related Event ID(s)
I don't think it matters

What have you already attempted?
I am using stripe-cli v1.7.9 for my test but I've tried the most recent one as well.
I've changed API version in overview tab for webhook to the most recent one

What are you working on?
payment application which integrates with stripe

atomic shuttleBOT
#

@proper bronze pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am looking to "show all webhook events of type X (for some endpoint? we only have 1) that have not yet been successfully handled"

On the dashboard (using the beta workbench) I can see "failed deliveries" but it also shows events that failed and then eventually succeeded, and maybe because it is beta it doesn't have a filter for "by type"?

Related Event ID(s)
evt_1PHO68Gxr3Puzj1ruU8pngN8

What have you already attempted?
use the stripe dashboard (beta workbench)

What are you working on?
debugging webhooks

atomic shuttleBOT
#

@sullen patrol pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
when going to checkout it creats 1 payment intent

What actually happened?
when going to checkout its creating 3 diffrent payment intents for the same order instead of just the single payment intent

Reproduction Steps
going from cart to checkout

Question
how can i make it only make 1 payment intent

#

@noble gulch pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const paymentIntent = await this.stripe.paymentIntents.create({
amount: totalAmount,
currency: 'sek',
customer: stripeCustomerId,
transfer_data: {
destination: company.stripeAccountId,
amount: party.priceSEK * 100,
},
automatic_payment_methods: { enabled: true },
metadata: {
partyId: party.partyId,
userId: user.userId,
insurance: body.hasInsurance.toString(),
},

Question
I want to after this payment intent create a transfer but for that i need the charge_id but in the response from my payment intent i get latest_charge: null

What have you already attempted?
Read the docs for payment intent and transfers, also tried passing in latest_charge into the expand parameter

atomic shuttleBOT
#

@safe wolf pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Custom connected accounts are trying to refund their customers, I expect them to go through

What actually happened?
they do not go through. We get an error

Reproduction Steps
Try to process a refund for any amount on any of our connected accounts

Question
sample payment: pi_3PH4V0C7t6MTuEUX12Iizl0t

#

@south surge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
// Listen for the ready event
expressCheckoutElement.on('ready', function(event) {
console.log('Payment method is ready to be used.');

bubble_fn_js_to_bubble_ready(true);

});

Question
Hello, I am using the express checkout element and I trying to trigger a workflow in my app based on if there is an availible payment method availbile for the customer in the express checkout element.

What have you already attempted?
I attempted to use a listener event set to ready, but it still triggers even if the customer does not have an availible payment method in the express checkout element.

#

@frosty sparrow pressed the 👍 Best Practices button in #help to ask a question:

Question
We are taking 'off-session' payments using a Payment Method attached to the customer, however sometimes we get stuck on the 'requires_confirmation' stage of the payment intent where it's requiring 3DSecure. Because it's off-session the customer may not be present at that time; what is the best way of handling this scenario?

Doc/Guide Links
https://support.stripe.com/questions/what-is-the-difference-between-on-session-and-off-session-and-why-is-it-important?locale=en-GB

https://stripe.com/in/guides/strong-customer-authentication#exemptions-to-strong-customer-authentication

What are you working on?
Bookings and payment engine for both one-off and monthly recurring subscriptions

#

@boreal halo pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have set up a endpoint for webhooks and they all seem to be working besides invoice.payment_succeeded where I get a 403 forbidden and it says the request is blocked

Related Event ID(s)
evt_1PHRQkIyPS3WEOq0zk1MwGy0

What have you already attempted?
I have tried to use the new API version. Currently using the older version

What are you working on?
ecommerce website

atomic shuttleBOT
#

@dull comet pressed the 📡 API button in #help to ask a question:

Question
When creating payment methods for US Bank Accounts using the SetupIntent flow, the payment methods show up on the Customer page in the Dashboard even though they're not actually attached to the customer because they're not confirmed yet.

In our integration, we try to ensure each customer only has one payment method at a time and we delete older payment methods when they add a new one. However, I cannot find a way to remove these "phantom" payment methods that are just in "Pending verification". Is there a way to do this or are they just stuck there until they're verified?

Related Request ID(s)
Customer ID example in test account: cus_Q6x2przms1iRlc

What have you already attempted?
I've tried:
1.) Cancelling the SetupIntent for the pending bank accounts and this did not work; they remained visible in the Dashboard.
2.) Getting the SetupIntent for the pending bank accounts and detaching the Payment Method ID for the SetupIntent from the Customer, which resulted in an error because they're not actually attached (they just show on the Customer's dashboard screen and I can't figure out the relationship).

What are you working on?
Managing payment methods for customers.

#

@minor pagoda pressed the 📡 API button in #help to ask a question:

Question
We're adding support for subscriptions made via Stripe. In the documentation I see two ways to do this. One involves calling the sessions API and the other uses the subscriptions API. Is the difference between the two APIs simply one of convenience when creating a subscription, or are there features that the subscriptions API provides that the session API does not?

Related Request ID(s)
N.A

What have you already attempted?
I am looking at https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=embedded-form&client=react and https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements.

What are you working on?
Subscriptions for users

atomic shuttleBOT
#

@pure lagoon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/onboarding/quickstart?connect-onboarding-surface=api&connect-dashboard-type=none&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-ty

Question
Hi there, I'm in the process of setting up stripe connect, and I want to play around with different onboarding flows. Initially I went with embedded, but I want to examine using the API directly and building out a custom onboarding flow.

I don't see an option in my connect settings from the dashboard to switch from embedded to API. When i go to the integration I get a warning indicating "Your choices don't match what you chose when onboarding to Connect". Is this an issue?

Moreover, it does not appear to allow me to even customize the embedded onboarding ui. Everything is disabled

What have you already attempted?
changed settings from - https://dashboard.stripe.com/test/settings/connect

What are you working on?
Stripe Connect POC for work

#

@proper bronze pressed the 📡 API button in #help to ask a question:

Question
Is there something like "create subscription's"`payment_behavior` for "create subscriptionSchedule", where I would like to specify "error_if_incomplete" for creating the associated subscription implicitly created by invoking create subscriptionSchedule?

Related Request ID(s)
req_gX83Mtv4aEEwr2

What have you already attempted?
search for "payment_behavior" on subscription schedule docs

What are you working on?
building subscription schedule checkout flow, handling payment failure cases

atomic shuttleBOT
#

@small osprey pressed the 📡 API button in #help to ask a question:

Question
Our link payment redirection suddenly stopped working. Our remote developer solved the problem. We asked the developer what was the problem, why the user is not redirected to the payment powered by STRIPE? the answer was the following : There was change in the response from Stripe API in the key name payment_method_options. In this key they changed its data type from array to dictionary. So, I have to change its type to dictionary too and it fixed the issue.

Related Request ID(s)
No idea what is that

What have you already attempted?
Changed type to dictionary

What are you working on?
i want to know if STRIPE changed API key name payment_method_options without alerting users or prior notification which caused the app payment to stop for 3 weeks

#

@upper sluice pressed the 👍 Best Practices button in #help to ask a question:

Question
In Stripe Identity, a VerificationSession that has a status of "Canceled" cannot be retrieved anymore to give the user another attempt (please correct me if I am wrong).

Does that mean I shouldn't use my "user id" as the idempotency key? I want to allow my users to create a *new* verification session if they cancelled the previous one.

Doc/Guide Links
> Stripe’s idempotency works by saving the resulting status code and body of the first request made for any given idempotency key, regardless of whether it succeeds or fails. Subsequent requests with the same key return the same result, including 500 errors.

Using my "user id" as the idempotency key would result in the same cancelled verification session to be returned for 24 hours.

What are you working on?
Stripe Identity, want to use idempotent keys along with allowing users to start a new verification session after a cancelled one.

atomic shuttleBOT
#

@gilded grotto pressed the 📡 API button in #help to ask a question:

Question
I am connecting Stripe with HQ, i have an error about industry type, ut I cant find how to change it in stripe to a Car Rental industry tipe

Related Request ID(s)
n/a

What have you already attempted?
I read that I cant do it manually but I have to ask stripe to change it

#

@warped coral pressed the 📡 API button in #help to ask a question:

Question
I have created an invoice and the user has paid it.
How can I send the receipt to the email?

Related Request ID(s)
Invoice API

What have you already attempted?
I know that I'm able to send it in the dashboard, but don't see an option from the api.

atomic shuttleBOT
#

@orchid bronze pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/review-changelog#october-31-2022

Question
Hello :)

I'm wondering if I could have an example of how to handle:

- Create a clear path for users to unauthenticate the app from within the Stripe Dashboard UI.

Should it just be instructions on how to Uninstall the Stripe App through the Stripe's dashboard or is it about our App(on our side) removing the OAuth credentials for example?

Thank you!

What have you already attempted?
I haven't submitted the App for review yet as I'm trying to understand the requirements.

What are you working on?
We're in the process of moving from static API keys to launching the Stripe OAuth for our clients. We are currently wrapping up the Stripe App to send it for review..

#

@frank kayak pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const session = await stripe.checkout.sessions.create({
line_items: [
{
price_data: {
currency: 'eur',
product_data: {
name: title,
images: thumb ? [thumb] : []
},
unit_amount: priceRound * 100 + fee
},
quantity: 1,
adjustable_quantity: {
enabled: false
}
}
],

payment\_intent\_data\: {
  application\_fee\_amount\: fee,
  on\_behalf\_of\: c

Question
In the doc of Stripe Connect, it would seem that the stripe fees are not included in the platform fees set via api "application_fee_amount".
But I use manual payouts in order to make sure my sellers have completed their service before paying them out (that way I have an easy way to reimburse the buyer in case of problems)
How can I find out what the stripe fees are in order to Payout the correct amount?

What have you already attempted?
Getting the current available balance of the Stripe Connect account, but it's an extra api call, and would not be accurate at all when multiple sales are occurring in the same timeframe

What are you working on?
Online B2B paltform for the sale of digital services

#

@cedar knot pressed the 📡 API button in #help to ask a question:

Question
How to retry a failed payment?

Related Request ID(s)
None

What have you already attempted?
I checked the payment intent and charges doc but didn't find the API to retry a payment. Can I use confirm to retry a payment?

What are you working on?
Hotel Booking

#

@south surge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Test 1:
// Listen for the 'change' event to check if the form is complete
expressCheckoutElement.on('change', async(event) => {
console.log('Change event detected');
if (event.complete) {
console.log('Form is complete');
bubble_fn_js_to_bubble_ready(true);
}

}\);

Test2:
// Listen for the 'change' event to check if the element is empty
expressCheckoutElement.on('change', async (event) => {
co

Question
I am still having difficulty using the express checkout element. I want an event to trigger when the element has confirmed that a customer has a payment method availble to use in the element

What have you already attempted?
I opened a thread this morning and was told to use the change event with complete property, but this does not work.
https://docs.stripe.com/js/element/events/on_change?type=paymentElement#element_on_change-handler

#

@lilac peak pressed the 📡 API button in #help to ask a question:

Question
Can I change the Stripe charge attempt alert for my company name? If yes, should I do it through code or configuration on the panel?

Related Request ID(s)
...

What have you already attempted?
...

atomic shuttleBOT
#

@serene hawk pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am trying to verify this behavior in Test Mode https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#cancellations "The final invoice includes any metered usage after the subscription cancels at the end of the billing period." I have a metered subscription that I set to cancel_at_period_end through the api, and the final invoice is not charged.

What actually happened?
The invoice is immediately updated when the cancellation is triggered at period end and the "auto_advance" property is set to false in the event logs for the invoice.

Reproduction Steps
Start with a metered, monthly subscription that has an upcoming invoice with charged items in it.

await stripe.subscriptions.update(stripeSubId, {cancel_at_period_end: true});

Advance sim time past period end.

Invoice auto_advance set to false and never charged

Question
Is this a case where the unexpected behavior is caused by stripe sim time?

What are you working on?
I am working on a Store application that provides metered usage.

atomic shuttleBOT
#

@atomic raven pressed the 📡 API button in #help to ask a question:

Question
wondering if i could use the api to transfer to a non stop banking account?

Related Request ID(s)
non

What have you already attempted?
reading documentation

atomic shuttleBOT
#

@ebon ingot pressed the 📡 API button in #help to ask a question:

Question
As I have just found out the checkout.session.succeded webhook limits the number of line_items... But for my use-case I need all of the line_items product metadata...

So: Is it possible to get the line_items products extended with the `stripe.checkout.sessions.listLineItems()` command?

Related Request ID(s)
/

What have you already attempted?
I have added the `stripe.checkout.sessions.listLineItems()` command to my webhook endpoint - but it does not give me the extended `line_item.price.product.metadata` I need for further actions...

What are you working on?
Cart checkout checkout success endpoint...

atomic shuttleBOT
#

@graceful summit pressed the 📡 API button in #help to ask a question:

Question
We export all weekly transactions by going to the Stripe Payments section and clicking "All Transactions" and then Export CSV.

Is there a way to export or fetch these transactions via API?

This includes a list of all Charges, Refunds, Stripe fees (connect), Transfers, etc.

Related Request ID(s)
None

What have you already attempted?
Browsing the API docs

What are you working on?
Ecommerce store

#

@rancid aspen pressed the 📡 API button in #help to ask a question:

Question
im making a react native app where i allow users to sell on my app so i want to take fees off of their sales so was trying to use connect however it seems the users need to have a website url when doing the stripe connect onbaording for some reason even though my app is a mobile app is there any work around for this?

Related Request ID(s)
?

What have you already attempted?
i have looked at custom accounts but it seems it doesnt matter as they will most likely just be asked for a website url anyways

What are you working on?
react native marketplace/platform

#

@halcyon tapir pressed the 👍 Best Practices button in #help to ask a question:

Question
How to change billing cycle anchor on a subscription without charging the customer?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/update

What are you working on?
Rental application. I want to charge the customer when they reserve, but reset the billing cycle when they pick up.

atomic shuttleBOT
#

@opaque pike pressed the 📡 API button in #help to ask a question:

Question
I am attempting to programmatically update an Account's default_currency.

We use the golang Stripe binding to execute StripeClient().Accounts.Update(<acct_id>, {DefaultCurrency: targetCurrency}). In both test mode and production, we receive the same error:

{"code":"oauth_not_supported","status":403,"message":"This application does not have the required permissions for the parameter 'default_currency' on account ...

The application is using a standard, not a restricted API key. We are able to delete accounts, but update default_currency returns 403. Is there a permission we need to change?

Related Request ID(s)
req_pTxf6p2SGe3etb, req_2RXxz3oLYOqt78

What have you already attempted?
Using this API reference: https://docs.stripe.com/api/accounts/update#update_account-default_currency

Found this stack overflow: https://stackoverflow.com/questions/70564587/this-application-does-not-have-the-required-permissions-for-this-endpoint-on-acc

We have checked that we are not using a restricted API key. We have attempted in both test mode and in production.

What are you working on?
A web application that allows users to create groups with paid content

atomic shuttleBOT
#

@mighty wigeon pressed the 📡 API button in #help to ask a question:

Question
We see this error message in our dashboard when trying to refund a canadian Interac card. (We have had successful refund transactions for the last 5 months).

```The charge to be refunded and the PaymentMethod provided for the refund must both be `interac_present` type.```

Is this most likely because the customer presented the wrong card for a refund?

Related Request ID(s)
https://dashboard.stripe.com/logs/req_IIeT1g3oF8C7tW?t=1715975987

What have you already attempted?
The customer has left the store before our team had a chance to respond, so we weren't able to confirm the issue.

#

@vocal wagon pressed the 📡 API button in #help to ask a question:

Question
I've inherited a very old codebase that was using stripe's nodejs sdk version 8.15. I've updated it to use v15. After creating and updating a payment intent (which has a status of `succeeded`), the code expects the payment intent to have a charge, but it does not. How do I get the charge for a payment intent.

Related Request ID(s)
pi_3PHXFmB1mmvuUMtB08WGqzYV

What have you already attempted?
I've read the documentation which says that a payment intent could have one or more charges, but it does not explain the circumstances under which those charges exist or not or how to get the charges.

What are you working on?
Updating a very old code base to Stripe nodejs sdk v15

#

@zenith kernel pressed the 📡 API button in #help to ask a question:

Question
The default limit (and custom limits) for balance_transactions.list https://docs.stripe.com/api/balance_transactions/list appears to be 1 less than specified

Related Request ID(s)
req_bzmtVYETsZ8YKz req_CHLwuR8CgmxrZ7

What have you already attempted?
You can just pick a higher limit but this behavior is still incorrect

atomic shuttleBOT
#

@open cape pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const stripe = require("stripe")("sk_test_•••3hN1");

var terminal = StripeTerminal.create({
onFetchConnectionToken: fetchConnectionToken,
onUnexpectedReaderDisconnect: unexpectedDisconnect,
});

Question
I had a thread a few days back that I think got purged. I want to connect to a simulated reader using just require("stripe") in a node server.js file. The previous thread had a link to a doc that shows how to interact with terminals with stripe vs @stripe/terminal-js. I am getting this error with the above code:

var terminal = stripe.terminal.create({
^

TypeError: stripe.terminal.create is not a function

What have you already attempted?
Changed from terminal-js to just stripe.

What are you working on?
pure server based terminal payment

atomic shuttleBOT
#

@glossy delta pressed the 📡 API button in #help to ask a question:

Question
I am using the API to get a list of all the P400 terminals that we have under our main stripe account. I can get a list of the readers, however it's not clear how I would then figure out what Stripe Account ID is associated with a particular reader.

Related Request ID(s)
n/a

What have you already attempted?
I've taken a look at the stripe documentation (v74) and used ChatGPT to see how terminals are associated with Stripe Account IDs

What are you working on?
Need to get a list of all P400s that our users have so that we work on sending out new terminals before EOL of the P400s.

atomic shuttleBOT
#

@keen dagger pressed the 🪝 Webhooks button in #help to ask a question:

Question
i am running BECS direct debit system through stripe, is there any way to get alerted through text message about a failed payment?

Related Event ID(s)
I couldn’t find anything related to this

What have you already attempted?
I haven’t seen anything online related to this

atomic shuttleBOT
#

@rustic wigeon pressed the 📡 API button in #help to ask a question:

Question
Is there a way to fetch the Stripe Billing estimated invoice amount directly via the API?

I know I can calculate it using usage_records and subscription_items, but was wondering if there is a more direct way.

Related Request ID(s)
Example subscription ID: sub_1PEzeVFQKpzaQIrjJr4pACEM

What have you already attempted?
I've looked at the Stripe Schema documentation

What are you working on?
Usage-based invoicing using Stripe Billing

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We will reopen on Monday May 20 around 1pm UTC / 9am EST.

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

#

@flat sleet pressed the 📡 API button in #help to ask a question:

Question
Is there a way to not make the trial invoices for subscriptions count in the normal sequence of invoices? The goal is that the trial invoices won't perturb the normal sequence of invoices in the platform, as we wish to not count those invoices as the client wasn't charged, but at the same time we can't have jumps in the sequence.

Related Request ID(s)
None

What have you already attempted?
Looked online and found nothing, so far the only thing found is that I can set a specific customer's sequence, but nothing about changing the sequence on trial subscription invoices or nothing at all

What are you working on?
I'm working on a subscription workflow for a SaaS

#

@supple grove pressed the 📡 API button in #help to ask a question:

Question
I want to create an external card account using the API and i need to pass a token from a payment element using stripe js but i need to pass an intent to it which i do not need to

Related Request ID(s)
no related id

What have you already attempted?
I have tried passing the card details directly instead of using the token and it threw an error that

What are you working on?
a tipping influencer platform

#

@open cape pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const reader = await stripe.terminal.readers.retrieve('tmr_FDOt2wlRZEdpd7');

const paymentIntent = await stripe.paymentIntents.create(
{
amount: 1000,
currency: 'usd',
payment_method_types: ['card_present'],
capture_method: 'manual'
}

reader = await stripe.terminal.readers.processPaymentIntent(reader.id,intent.id);

Question
/Users/angell/src/demo/node_modules/stripe/cjs/RequestSender.js:96
err = new Error_js_1.StripeAuthenticationError(jsonResponse.error);
^

StripeAuthenticationError: Invalid API Key provided: pi_3PIHt***************F6z3
at res.toJSON.then.Error_js_1.StripeAPIError.message (/Users/angell/src/demo/node_modules/stripe/cjs/RequestSender.js:96:31)

What have you already attempted?
Logging this from the intent-

INTENT ID:pi_3PIHtvEPuIFxKCqt13WNF6z3
INTENT client_secret:pi_3PIHtvEPuIFxKCqt13WNF6z3_secret_•••xHdl

What are you working on?
Node.js Server based terminal integration. Trying to follow this doc: https://docs.stripe.com/terminal/payments/collect-card-payment

#

@glass umbra pressed the 📡 API button in #help to ask a question:

Question
Its possible use coupon and realize transfers directly to account?

Related Request ID(s)
Coupon

What have you already attempted?
Its possible use coupon and realize transfers directly to account?

#

@toxic storm pressed the 📡 API button in #help to ask a question:

Question
Under what account is a coupon created ?

Related Request ID(s)
none

What have you already attempted?
create a coupon

#

@lyric birch pressed the 📡 API button in #help to ask a question:

Question
I have created an invoice via API. Then, I'm trying to change via API the status of the invoice from Open to Uncollectible and I'm getting this error: "An error occurred while processing payment on this invoice, so it cannot be marked as uncollectible. Try again in a bit, reattempt payment, or void this invoice." I also tried to do the same in the Stripe Dashboard but got the same error. Any clue about the requirements for changing an open invoice to uncollectible?

Related Request ID(s)
Invoice Id: in_1PHXnAGgmEqbYNbCeVKTLosK

What have you already attempted?
I tried changing the status of the invoice in the Stripe Dashboard and got the same error

What are you working on?
Building a brand new functionality in an application that has been interacting with Stripe without any issue.

#

@bleak fractal pressed the 📡 API button in #help to ask a question:

Question
Can I prevent the display + editing of the currently stored payment methods in stripe payment sheets displayed to store a new payment method? The reason is because the editing + deletion of the concerned payment methods is tied to internal business logic (e.g. won't permit deletion of only payment method if there are booked services whose payment is pending, etc.)

Related Request ID(s)
-

What have you already attempted?
A lot, don't understand how to enforce that deletion is only possible through our own API (which then communicates the according update modifications to stripe)

What are you working on?
APi Integration

atomic shuttleBOT
#

@hearty skiff pressed the 📡 API button in #help to ask a question:

Question
Hello we have payment method not activated on our dashboard who are on the customer page how we can change it. on the payment method in the dashboard they are not activated.

Related Request ID(s)
Daswboard

What have you already attempted?
how we can do

What are you working on?
website

atomic shuttleBOT
#

@open cape pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const location = await stripe.terminal.locations.retrieve('tml_FiuXCQpknBASRm');

const reader = await stripe.terminal.readers.retrieve('tmr_FDOt2wlRZEdpd7');

Question
I had a thread open earlier, but the answer below came back and then it was locked.
`
But that key and that tmr_ ID belong to different accounts.
The Location ID belongs to a different account than the Reader ID as well.`

I only have 1 account and the retrieved location and reader I can confirm in my dashboard.

What have you already attempted?
The location and reader that I retrieve I see in my Strip Terminals dashboard. The serial number of the reader is what I see in my sim reader in the dashboard:
`LOCATION: "address":{"city":"Prairie Village","country":"US","line1":"4501 w 70th st","line2":"","postal_code":"66208","state":"KS"}

READER: "serial_number":"5cfa7398-ff9d-4dc4-b8ad-ab51b0325194"`

What are you working on?
Node.js server based terminal integration

#

@crimson cape pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/onboarding-plugin?app-api-access-type=rak#develop-app-rak

Question
How to add Permissions to connected accounts in RAK App?

What have you already attempted?
I'm creating a Stripe App following the instructions at the following link: https://docs.stripe.com/stripe-apps/onboarding-plugin?app-api-access-type=rak#develop-app-rak. I have added customer_write permission in stripe-app.json file but cannot call into api /v1/customers and returns the following error: 'The provided key 'rk_test_************** * ************************************************* *** ****************************hikpVs' does not have the necessary permissions for this endpoint on account 'acct_1P0z91FRNx9w0q28'. Having 'rak_customer_write' permission will allow this request to

atomic shuttleBOT
#

@wispy nymph pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello! I'm trying to use the `times_redeemed` attribute of the coupon object. However, when a customer redeems a coupon, it appears that the `coupon.updated` webhook doesn't fire. So, the `times_redeemed` attribute of my local copy of the coupon object becomes out of date.

Note: This is a platform with connected (express) accounts.

Related Event ID(s)
evt_1PI3ci4IztvOWEK2u86qm7N4

What have you already attempted?
I can think of a few workarounds, but they're all pretty ugly. I just want to confirm this behavior is expected (not a bug) before I resort to a workaround.

What are you working on?
scipress.io

#

@lyric silo pressed the 📡 API button in #help to ask a question:

Question
I have a platform that supports Connected accounts. I am using the Stripe API to create a customer billing portal for the customers of the Connected Accounts to view their billing history.

However, if the Connected account deauthorizes my Platform, I can no longer let customers view their Connected billing history in the Portal.

Is there a way to allow the customers of Connected accounts to continue to view their billing history or portal after the Connected account has deauthorized the platform account?

Related Request ID(s)
None

What have you already attempted?
I have tried using the customer id in conjunction with the Stripe Connected account ID but this does not work after a deauthorization.

#

@pure cave pressed the 📡 API button in #help to ask a question:

Question
How can I duplicate metadata added to a paymentIntent created via the API to the payment records created automatically on the connected account dashboard via the on_behalf_of relationship?

Related Request ID(s)
NA

What have you already attempted?
looking for answer in the stripe api documentation

What are you working on?
keep track of data from my app in the list of payments available on my custom accounts dashboards without having to query the related payment intents

#

@simple zinc pressed the 📡 API button in #help to ask a question:

Question
Is it possible to process decrypted google pay tokens?, and if so then how can I achive that?

Related Request ID(s)
N/A

What have you already attempted?
.

#

@hoary scroll pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm creating an internal tool for our admins to update the product on our customer's subscriptions at an specified date and time. In our internal system, how can we track what product their subscription is 'currently on'. Ie. it should be 'product A' in our system and then on the day the products swap, our system should have it as 'product B'.

Another question too - How can we show on the interface that the admins have scheduled an update to a subscription's product and what & when it will be updated?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?
Above

#

@amber laurel pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect

Question
We are a neobank that serves non-profits in the US. We want to onboard them to Stripe and help them collect donations, which would then be sent to their account with us.

With the embeddable component, the onboarding process is very lengthy and requires a lot of information (phone number verification and document verification are also required). What is the fastest way we can onboard an account either with embedded or API onboarding with as little input from the user as possible? They've already verified using phone, email, EIN etc with us so we a quick stripe account onboarding for them

What have you already attempted?
We started with Stipe Connect embeddable component & our goal was to onboard accounts fast. We tried the embedded component but it still requires a lot of input + verification from the user

#

@steep crystal pressed the 📡 API button in #help to ask a question:

Question
in the appearance API, is there an option to change an input labels color when the input has focus?

Related Request ID(s)
na

What have you already attempted?
different .Label rules, .Label does not seem to contain a focus class

What are you working on?
payment elements appearance api

#

@pure narwhal pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi everyone, I'm currently researching the best way to implement a feature for a customer's application.

What the customer wants is to allow users to have a "wallet" where the users can have multiple ACH accounts and allow them to select an account in the checkout. This seems very straightforward, but the issue is that the customer wants to customize the payout to transfer the paid value to two different accounts. I assume this is done using Stripe Connect, but I haven't been able to find if ACH has any restrictions regarding this.

Do you also happen to know if ACH has a maximum amount for the transfers?

Thanks!

Doc/Guide Links
https://stripe.com/resources/more/ach-payments-101
https://stripe.com/resources/more/payouts-explained
https://docs.stripe.com/api/payouts/create

What are you working on?
Checkout for a customer that wants to accept ACH payments

atomic shuttleBOT
#

@eternal ibex pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://sahusales.odoo.com

Question
i want to onboard the stripe payment gateway. Please guide me the onboarding process and requirements documentation.

What have you already attempted?
I was trying to onboard the merchant .

What are you working on?
I am currently working on my new website and want to onboard stripe.

#

@analog walrus pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi I am trying to use stripe trigger checkout.session.completed with the Stripe CLI, but the subscription attribute is always null and I need to have one to test the webhook in development. When I try to include a subscription attribute like so: stripe trigger checkout.session.completed --override checkout_session:subscription=sub_test_12345 or stripe trigger checkout.session.completed --add checkout_session:subscription=sub_test_12345, I then get a parameter_unknown error.
How can I add subscription in the checkout.session.completed event in the Stripe CLI?

Related Event ID(s)
evt_1PIYMsG0R8GBrAcN7shASYzT

What have you already attempted?
Using the --add and --override flags

#

@hoary scroll pressed the 👍 Best Practices button in #help to ask a question:

Question
all of our products on our site come in multiple variants. Ie. you can buy a ball in 5 different colors, where each color has it's own unique price. We want the exact name of color to be present on the invoice. Can this be done by creating 1 product and then multiple prices? Or must it all be unique products?

Doc/Guide Links
https://docs.stripe.com/products-prices/how-products-and-prices-work

What are you working on?
I want to show the exact variant the users are purchasing on the invoice

#

@warped coral pressed the 📡 API button in #help to ask a question:

Question
How can I add the billing address to the invoice I create?

Related Request ID(s)
Invoice Creation API

What have you already attempted?
I get the payment method & billing address through a SetupIntent using the react library. I added the AdressElement to capture it. When I create an invoice and pay it, the billing address does not show up in the receipt.

#

@thin flare pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I've provided screenshots of the code here https://imgur.com/a/ZcZqaHh

Question
I have a mobile Flutter app making a payment through Google Pay. I am trying to create a payment intent in my js backend that will send back a payment intent for the user to confirm with the client secret. But my payment intent is missing the payment_method, how do I attach Google Pay to the payment intent?

What have you already attempted?
View attached screenshots

What are you working on?
Flutter/Dart, Stripe, Firebase. TypeScript/JavaScript.

atomic shuttleBOT
#

@boreal halo pressed the 🪝 Webhooks button in #help to ask a question:

Question
How come all webhooks are going through besides invoice.payment_succeeded? I have checked log and see no errors. Randomly some invoice.payment_succeeded will go through but most of the time it says they are getting blocked.

Related Event ID(s)
evt_1PIZ7lIyPS3WEOq0146N3kjd , evt_1PIXomIyPS3WEOq05a6NnfdU

What have you already attempted?
Check the backend log to see if there are any errors. Additionally recreated webhook and adjusted firewall permissions.

atomic shuttleBOT
#

@mental owl pressed the 👍 Best Practices button in #help to ask a question:

Question
We're building an app where users can pay for tickets to approval-required events.

We want to implement logic where the user does all their authentication steps on_session, but we only actually charge them off_session, when they get approved.

I was wondering if the docs regarding deferred payments and FlowController worked with SetupIntents? (the docs only mention PaymentIntents)

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred

What are you working on?
joinpoppin.com + associated iOS app

#

@neat cobalt pressed the 📡 API button in #help to ask a question:

Question
Server-side code. While creating a PaymentIntent it's unclear where to put the credit card number and CVV.

Related Request ID(s)
Not sure what this is

What have you already attempted?
Read through all the support docs.

What are you working on?
Server-side code for payment processing

atomic shuttleBOT
#

@mild gazelle pressed the 📡 API button in #help to ask a question:

Question
I'm implementing Stripe Embedded checkout. We offer a default coupon to the Stripe checkout (usually like 30% off) but we want the user to be able to override that with a custom coupon we provide them (or to allow customer service to make a replacement order with a custom 100% discount coupon). I can't provide both allow_promotion_codes: true and discounts: discounts, so how do I make it so there's a default coupon our ui provides to the session but also allow a user to enter their own coupon once in the stripe embedded checkout control?

Related Request ID(s)
N/A

What have you already attempted?
In question.

What are you working on?
Stripe Embedded Checkout promo codes

atomic shuttleBOT
#

@harsh ibex pressed the 📡 API button in #help to ask a question:

Question
We created a marketplace, for each seller we are creating a Conect custom account via API, sending all the necessary information collected, in the development environment it works perfectly and initially we created some accounts in production to test, it also worked, but now all the created accounts remain with status "restricted",the problem seems to be that the MCC is under review, but nothing changed, from the beginning I am creating the accounts with MCC = 7299,for individual persons that are not acomany, I want to know what I can do to get the accounts approved in a reasonably quick time.

Related Request ID(s)
acct_1PG89jPugszacJTP

What have you already attempted?
I didn't try anything because initially it worked but now it doesn't work anymore.

What are you working on?
Now I'm looking in the documentation how to solve that problem

#

@nimble hatch pressed the ❌ An Error button in #help to ask a question:

Error Message
site-packages/stripe/_encode.py:28: DeprecationWarning: For internal stripe-python use only. The public interface will be removed in a future version.
elif hasattr(value, "stripe_id"):
/Users/benjaminlocher/hae/env/lib/python3.11/site-packages/stripe/_encode.py:28: DeprecationWarning: For internal stripe-python use only. The public interface will be removed in a fut

Question
When attempting to edit the phases on a SubscriptionSchedule, I receive the following deprecation message. I am not sure if I am using a deprecated method or if this is an issue internal to the Stripe Python SDK.

What have you already attempted?
Search issues for this warning and attempted to trace through the code

Reproduction Steps
phases.append(
{
"start_date": schedule["phases"][0]["end_date"],
"iterations": 1,
"items": [
{
"price": downgrade_price.stripe_price_id,
"quantity": 1,
}
],
}
)
schedule = stripe.SubscriptionSchedule.modify(schedule.id, phase

atomic shuttleBOT
#

@open cape pressed the 🧑‍💻 Code button in #help to ask a question:

Code
async function createIntent () {

const paymentIntent = await stripe.paymentIntents.create(
{
amount: 1000,
currency: 'usd',
payment_method_types: ['card_present'],
capture_method: 'manual'
}

)
return (paymentIntent);
}

reader = await stripe.terminal.readers.retrieve('tmr_FjdygQpwbvIHHQ');

intent = await createIntent\(\);

processResult = await stripe.terminal.readers.processPaymentIntent(reader.id,{payment_intent: intent.id});

Question
I am trying to following this guide: https://docs.stripe.com/terminal/payments/collect-card-payment

However, when I try to do

  const capture = await stripe.paymentIntents.capture\(intent.id\);

I get the error:

Error: StripeInvalidRequestError: This PaymentIntent could not be captured because it has a status of requires_payment_method. Only a PaymentIntent with one of the following statuses may be captured: requires_capture.

What have you already attempted?
I tried to retrieve an intent vs create one.

What are you working on?
Node.js server based terminal integration

atomic shuttleBOT
#

@north prawn pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When confirming a payment after creating a payment intent, data passed to "payment_method_data" should be attached to the generated Charge.

What actually happened?
This works as expected for payments captured using the standard credit card form in Elements. However, when Link by Stripe is used, passing billing_details as part of the payment_method_data does not attach that information to the Charge.

Reproduction Steps
Using Stripe Elements, pay using Link by Stripe. Create the payment intent and then confirm the payment via confirmPayment, passing in billing_details.

Question
Is there a way to include additional billing details (e.g. Phone) on the Charge generated by a Link by Stripe transaction?

What are you working on?
An e-commerce store for a fitness company

atomic shuttleBOT
#

@polar shuttle pressed the 📡 API button in #help to ask a question:

Question
What is the API for approving an issuing authorization for the card issued from a connect account?

Related Request ID(s)
evt_1PIagtC8gNP8JJ6awVsOxQSg

What have you already attempted?
I used this API https://docs.stripe.com/api/issuing/authorizations/approve#:~:text=an authorization.-,Parameters,-amount and it is giving me this error resource_missing - authorization
No such issuing authorization: 'iauth_1PIaguC8gNP8JJ6ao64os5jO'

What are you working on?
Handling authorizations coming from the cards issued from connect account

#

@glad dust pressed the 📡 API button in #help to ask a question:

Question
Is there a way to somehow pass in a custom message while creating a custom Radar rule that Stripe will return when rejecting a paymentIntent due to it. Currently the ``last_payment_error.message`` is just a generic "Your card was declined." but is there some way to change this. The Stripe default Radar rule for an incorrect zip code block has a custom message that tells the user that the zip code was wrong.

Related Request ID(s)
n/a

What have you already attempted?
I've looked through the API docs to see if there are any options for a custom message.

#

@hollow steeple pressed the 👍 Best Practices button in #help to ask a question:

Question
We would like to create a internal tool for our company users to use. That includes having a subscription that "never" expires. Lots of our site is built around stripe and things like payment methods, upcoming invoice etc.. So I am wondering if there are any good ways to handle this scenario without needing our users to enter their payment info. etc

Doc/Guide Links
Stripe Documentation

What are you working on?
Subscription platform for software

atomic shuttleBOT
#

@polar shuttle pressed the 📡 API button in #help to ask a question:

Question
What is the API for approving an issuing authorization for the card issued from a connect account?

Related Request ID(s)
req_6qK0KKuEjMirg6

What have you already attempted?
I have been using this https://docs.stripe.com/api/issuing/authorizations/approve#:~:text=an authorization.-,Parameters,-amount and it is giving me an error of Request req_6qK0KKuEjMirg6: No such issuing authorization: 'iauth_1PIdERC8gNP8JJ6aorSG7c5q'

What are you working on?
Handling authorizations coming from the cards issued from connect account

#

@carmine haven pressed the 👍 Best Practices button in #help to ask a question:

Question
We've been using Stripe for our SaaS product to process our subscriptions as single transactions for many years, and only recently starting migrating some customers to subscriptions via Stripe Checkout. The legacy transactions were monthly charges for subscriptions that were only defined in our database. Those transactions exist in Stripe, but they're not associated with Stripe Product or Subscription IDs in Stripe, so the metrics reporting in Stripe doesn't work well. Is there a straightforward way to integrate all of the historical transaction data into Stripe, maybe by importing our 'legacy' subscription data and retro-fitting it onto those historical transactions?

Doc/Guide Links
https://docs.stripe.com/stripe-data/import-external-data

What are you working on?
B2B SaaS

atomic shuttleBOT
#

@torn reef pressed the 📡 API button in #help to ask a question:

Question
We're integrating 3DS w/ cardElements but when we attempt to confirmSetup we get an error

"Invalid value for stripe.confirmSetup(): elements should have a mounted Payment Element or Express Checkout Element. It looks like you have other Elements on the page. "

The document https://docs.stripe.com/payments/payment-card-element-comparison says we should we able to use cardElement for 3DS.

NOTE: we currently use cardNumber, cardExpiry, and cardCvc elements and not card. Could that be the reason?

Related Request ID(s)
none

What have you already attempted?
I've attempted migrating to paymentsElement but the migration effort is very high.

What are you working on?
I am an employee at Otter.ai and we are integrating 3DS payment

#

@zenith plaza pressed the 👍 Best Practices button in #help to ask a question:

Question
We are building a mobile iOS app that transfers money between 2 users for a service that they perform and then we take a fee.
Questions:
1) Do we need to store customer's bank account information on our api server or Stripe does it for us? Ex: user enters their bank info we send directly to Stripe Api and get some reference token back.
2) When sending customer's bank account information to our API server is SSL all that's needed or we have to do additional encryption on what we are transmitting. Any restrictions by Apple that we must check?
3) When submitting an app to apple store can we have sandbox still enabled?

Thank you for your help

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges
https://docs.stripe.com/connect/design-an-integration

What are you working on?
iOS /Android app built in React Native

atomic shuttleBOT
#

@old wagon pressed the ❌ An Error button in #help to ask a question:

Error Message
We are currently experiencing temporary downtime for Instant Payouts. Instant Payouts to US bank accounts cannot be sent at this time

Question
How long this will take? Our users are starting to reach out to support

What have you already attempted?
Check Stripe status page

#

@brisk hound pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm interested in how I can organize my products. What would be the best practice.

- I have three product categories. For example: shoes, shirts, scarfs.
- Each category has different types. For example, running shoes, elegant shoes.
- Maybe some other types as well. For example colors, red, green, etc.
- Then each category can also be sold in different regions. For example, running green shoes in US could cost 100$ while in Europe they can cost 110$. Or elegant red shoes can cost 200$ in US and 180$ in Europe.

Important to mention that we'll only have the Subscription model.

Doc/Guide Links
https://docs.stripe.com/invoicing/products-prices?locale=en-GB

What are you working on?
Subscription Products and Prices

#

@sharp sentinel pressed the 📡 API button in #help to ask a question:

Question
How do you properly test incoming transactions for financial accounts?

Related Request ID(s)
req_h0i8fOJVOaKTZp

What have you already attempted?
Using the JS sdk I've tried doing stripe.testHelpers.treasury.receivedCredits.create but am getting an error saying that the financial account does not exist, but I have confirmed that it exists within the Stripe test dashboard

atomic shuttleBOT
#

@wise delta pressed the 👍 Best Practices button in #help to ask a question:

Question
I believe I saw somewhere in the docs that we need to show a message about the cookies that stripe uses, but I can't seem to locate it anymore. Could someone point me in the right direction please?

Doc/Guide Links
https://docs.stripe.com/js
https://docs.stripe.com/api

What are you working on?
Creating a site for a local property management company that will be able to take online payments.

#

@edgy pasture pressed the 📡 API button in #help to ask a question:

Question
I have integrated the Cash app payment via Stripe, I have a button that when clicked will initiate the process and shows the Cash app payment popup. Issue is that I have a loading state that when true will cause the button to be disabled, but when the user clicks exit on the popup it should then cause the state loading to be false. What is offered by Stripe for the Cash app payment feature to be able to say "When the Cash app payment popup is closed, then trigger this."

Related Request ID(s)
req_d7I2aWKkfNLzqA

What have you already attempted?
Attempted to use "stripe. On" function with no luck.

#

@hexed mist pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
A customer is saying her card is getting declined. She says she spoke to her bank and to Stripe, and both have said it's a problem with our site. All I can see is that she has payment intents that are failing.

What actually happened?
I'm not sure. I use checkout, so as far as i know there's nothing on my end i could be doing wrong here.

Reproduction Steps
Please see customer ID cus_Q7gr678pNy71vS

Question
See above. Can you let me know if she's correct?

atomic shuttleBOT
#

@vestal raft pressed the 📡 API button in #help to ask a question:

Question
I am working with a booking system, and i have two questions,

First one is, i take payment from the customer and after the customer has payed i collect his information and create a customer entity in stripe it worked previously but now i get this error

Error: You cannot modify `customer` on a PaymentIntent once it already has been set. To fulfill a payment with a different Customer, cancel this PaymentIntent and create a new one.

Second one is, i am wondering if there is any other way of adjusting a payment intents amount of money without having to create a new payment intent?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
NodeJS + Stripe JS

#

@real fog pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When changing the customer's default payment method with successful card (4242), the 2nd attempt of invoice reprocess via Smart Retries should be successful.

What actually happened?
Even though I changed the customer's default payment method with successful card (4242), the 2nd attempt of invoice reprocess via Smart Retries is still failed.

Reproduction Steps

  1. On the customer, set a default payment method with failed card (fraud).
  2. Process invoice and it is expected that the 1st attempt is failed will be reprocessed later on via Smart Retries (assuming it is enabled in the Stripe account).
  3. Change the default payment method of the customer with successful card (4242) before the 2nd retry of invoice.

Question
I am testing this scenario where I'll be changing the default payment method of a customer who has an invoice that will be reprocessed via the Smart Retries. Even though the customer's new default payment method has a successful card, the invoice still fails. I was expecting that the invoice would be successfully processed. Did I miss something?

atomic shuttleBOT
#

@ocean needle pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/customization

Question
I'm not a dev but am the only one on our team who has been trying to figure this out - how can I set custom text after the pay button? The guide doesn't provide step by step instructions. Also, do I need to do this for every product we have individually?

What have you already attempted?
We need to set custom text after submit and this doc seems to say it can be done with Stripe CLI. I have Stripe CLI installed and am interacting with it via terminal (mac) but cannot figure out the actual steps to get this done. Please help!

Tried:
- Setup Stripe CLI
- Logged in, authenticated, and working
- Every time I try to adjust the "custom_text[after_submit][message]" parameter I run into error messages

What are you working on?
Set custom text after the pay/submit button

atomic shuttleBOT
#

@safe stream pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to offer a monthly subscription that starts after a 7 day free trial. The customer should provide their credit card information before starting the free trial. I've found another website's payment page that looks and works how I want mine to function (attached below). It seems like the Pricing Table feature is the only way to have a free trial before the subscription. I already have my own custom Pricing UI and don't need Stripe's embedded table. I want to be able to click on my own custom Subscribe button without using Stripe's embedded table and be brought to the payment page that includes a Free trial as seen in the pricing table preview (attached below).

Doc/Guide Links
https://docs.stripe.com/payments/checkout/pricing-table
https://docs.stripe.com/billing/subscriptions/trials

What are you working on?
Monthly subscription for SaaS website

atomic shuttleBOT
#

@snow quartz pressed the ❌ An Error button in #help to ask a question:

Error Message
Couldn't fetch connection token. Please check your tokenProvider method

Question
This is the error return by the RN Stripe Terminal SDK. I want to ask which is the reason cause this issue happen, and how to prevent this?

What have you already attempted?
I followed the instructions from Stripe Terminal document

Reproduction Steps
I suspect this is because the network problem

What are you working on?
I'm building a React Native application, which allows the users to use the Tap To Pay feature on both Android and iOS

atomic shuttleBOT
#

@snow cargo pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
collection_method: charge_automatically to customer at the end of current cycle

What actually happened?
collection_method: charge_automatically is charging customer immediately

Reproduction Steps
these are the requests sent:

  1. req_nCGYbNjsahFlhz
  2. req_GAET62ksqeN9A2

the invoice created:
in_1PIQqVLouXJU4FDJRd78snz9

Question
i was using the same method to replace subscription items in a subscription but they have the same period (monthly subscription) this time i am trying to replace a yearly subscription item to a monthly one and encountered this behavior. im expecting the change to take effect after the current cycle.

#

@drifting willow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const require = createRequire(import.meta.url);
const stripe = await loadStripe(`${process.env.VITE_STRIPE_KEY}`);

let customer_name = 'customer["name"]';
let customer_email = 'customer["email"]';
let customer_phone =' customer["phone"]';
let bestTimes =' customer["phone"]';
let child_name = "customer['metadata']['childName']";
let child_age = 9;

let id;

if (Astro.cookies.has("id")) {
id = Astro.cookies.get("id");
const customer = await stripe.customers.retrieve(id?.v

Question
I was using the CSJ version of the stripe api on node.js to write a bunch of signup/signin/pay logic on my website using astro, but then I learned that the CSJ version wouldn't work because astro is ESM. Now i am using the ESM Stripe.js package and i lost a lot of fucntionality like adding/retrieving customers. Is there any way to get around this?

What have you already attempted?
I've tried just using the CSJ version in my code, looking through the docs, finding another way to get the information I need, but nothing has worked.

What are you working on?
A website that allows customers to sign up/sign in and register for courses online.

atomic shuttleBOT
#

@simple zinc pressed the 📡 API button in #help to ask a question:

Question
Is it possible to process decrypted google pay tokens?, and if so then how can I achive that?

Related Request ID(s)
N/A

What have you already attempted?
api.stripe.com/v1/tokens

#

@fast spire pressed the 🧑‍💻 Code button in #help to ask a question:

Code
export const StripeCheckoutForm = ({
propertyId,
leasePrice,
paymentType,
stripeAccountId,
}) => {
const stripePromise = useMemo(
() =>
loadStripe(`${process.env.REACT_APP_STRIPE_PUBLIC_KEY}`, {
stripeAccount: stripeAccountId,
}),
[stripeAccountId]
);
const fetchClientSecret = useCallback(async () => {
const res = await axiosClient.post("/create-instance", {
propertyId,
price: leasePrice,
paymentType,
strip

Question
Im testing an embedded integration of the Checkout feature from Stripe. I have already tested and configured the required connected accounts so I can capture and send the payments directly to them. However, when I test ACH Debit, the modal that appears to connect your bank account has the main account name and logo, instead of the connected account name and logo, is this expected?

What have you already attempted?
I've already added all the necessary config on both frontend and backend, and its working perfectly. I only have that small doubt

What are you working on?
A website for tenants to pay their lease using Checkout

atomic shuttleBOT
#

@obtuse valve pressed the ❌ An Error button in #help to ask a question:

Error Message
We are currently experiencing temporary downtime for Instant Payouts. Instant Payouts to US bank accounts cannot be sent at this time.

Question
The error reported above is still reproducing after 5 hours. Are there any updates? Thank you!

What have you already attempted?
Issue payouts

atomic shuttleBOT
#

@wheat moss pressed the ❌ An Error button in #help to ask a question:

Error Message
Reply directly from your inbox
In order to restore your account’s ability to make charges and receive payouts, please check your email for next steps or reach out to our support team.

Question
Why I am getting this error? I wan to Fix it

What have you already attempted?
I didn't attempted anything

Reproduction Steps
I sined in in stripe a cuple of monts ago and I was waiting for my account to activation and suddenly this error popped up

What are you working on?
I am working on my website where I am dropshipping Posture corrector

atomic shuttleBOT
#

@wet brook pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android#user-interface

Question
I have a custom android device with a front facing NFC reader. Can my device be added to your 'whitelist' with a custom UI changing the prompt from "Tap behind device" to "Tap on device" or something like unto it?

What have you already attempted?
App is self service kiosk based and as such current UI will be incorrect and lead to possible miss-use.

What are you working on?
Self service tablet POS.

atomic shuttleBOT
#

@coarse sphinx pressed the 📡 API button in #help to ask a question:

Question
I have a checkout sesion with the endopint: /checkout/sessions (is working) But i want to add the option to redeem a discount code. What I did is to create a coupon with a code everything with the same name. It is a just onces use coupon for each person. Every time I try to add the coupon name in the sesion it says that is not a valid code (I am trying to use allow_promotion_codes= TRUE and it works it shows the option)

Related Request ID(s)
API Coupon

What have you already attempted?
I tried to implement not by seting to TRUE allow_promotion_codes, but by using a discount coupon and it works with the coupon ID (I used discounts[][coupon] = CouponID)

What are you working on?
Checkout sesion for a subscription

atomic shuttleBOT
#

@echo coral pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<Box>Email: <Link href="mailto:support@webtoffee.com">support@webtoffee.com</Link></Box>

Question
I need create a link that opens in the user's email program on Stripe app settings pafe

What have you already attempted?
<Box>Email: <Link href="mailto:support@webtoffee.com">support@webtoffee.com</Link></Box>

https://docs.stripe.com/stripe-apps/components/link

#

@exotic shadow pressed the 📡 API button in #help to ask a question:

Question
How to cancel a subscription by passing a timestamp?

Related Request ID(s)
NA

What have you already attempted?
I tried getting the subscription ID from checkout session

What are you working on?
I need to cancel a particular subscription by passing a timestamp in the update subscription api

#

@opal cliff pressed the 📡 API button in #help to ask a question:

Question
do we have an option in stripe to make payments on custom dates?

Related Request ID(s)
NOID

What have you already attempted?
do we have an option in stripe to make payments on custom dates?

atomic shuttleBOT
#

@lime igloo pressed the 📡 API button in #help to ask a question:

Question
I want to downgrade subscription with two possibilities.
- a decrease in plan quantity
- removal of plan (kind of making quantity 0)

This should happen at the end of the billing cycle.

What should I do to downgrade subscription at the end of cycle?

Related Request ID(s)
-

What have you already attempted?
I have tried two ways
- SubscriptionSchedule::create()
- Subscription::update()

SubscriptionSchedule::create is creating future date subscription (new subscription)
Subscription::update() is making update to subscription immediately instead of end of billing cycle.

atomic shuttleBOT
#

@timber knoll pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello,

i want check mail send by Stripe when subscription is 7 day before renewal

To do that i use, in test mode, clock simulation.

I catch webhook (invoice.upcoming), but i don't receive mail , why ?

Related Event ID(s)
evt_1PInOsCyavVjWdEkkKJtyGVa

What have you already attempted?
just clock simulation

#

@chrome walrus pressed the 📡 API button in #help to ask a question:

Question
What is the default expiration behavior on Checkout Sessions? I cannot find any information about this in the API documentation. I can see that there is an `expires_at` field, but what if this is left empty? And are there any limits for the expires_at field? Sorry the documentation seems quite limited in this.

Related Request ID(s)
-

What have you already attempted?
-

#

@steady remnant pressed the 📡 API button in #help to ask a question:

Question
I cannot remove link from the payment element without disabling it in the Stripe dashboard. I would like to leave it enabled for the front end, but I only want to use card payments in my employee portal.

Related Request ID(s)
N/A

What have you already attempted?
I have tried limiting the payment methods to ['card'] in the payment intent and in the JS for the payment element.
I have also tried adding to the wallets option in JS link: 'never'.

What are you working on?
I am integrating the paymentElement into my ecommerce website.

#

@royal citrus pressed the 📡 API button in #help to ask a question:

Question
how to retrieve zip/postal code input value from payment element or payment request button? is that possible?

Related Request ID(s)
none

What have you already attempted?
none

What are you working on?
I would like to collect postal code from Payment Elements or Payment Request Button. Is that possible?

#

@subtle knoll pressed the 📡 API button in #help to ask a question:

Question
I have set a subscription to cancel at the end of its current period by using cancel_at_period_end: true. using stripe.subscriptoins.update method Before the period ends, I would like to cancel this cancellation or resume the subscription. Is this possible? If not, what is the recommended solution?

Related Request ID(s)
subscriptoins

What have you already attempted?
const updatedSubscription = await stripe.subscriptions.update(
subscriptionId,
{
cancel_at_period_end: false,
},
);

What are you working on?
A nest JS app relevant to quizes

#

@languid tinsel pressed the 📡 API button in #help to ask a question:

Question
I want the description field of my checkout session to appear in the description column of the payment table on the Stripe dashboard.

Related Request ID(s)
last request got shut down

What have you already attempted?
Tried looking in online documentation

What are you working on?
A strip payment system for a client to take 'one-off' annual subscriptions

#

@sterile flame pressed the 📡 API button in #help to ask a question:

Question
What values ​​can the status field contain in the API to receive session information by id?

Related Request ID(s)
/v1/checkout/sessions/:id

What have you already attempted?
I have placed an api address as the address of the payment confirmation page in the pricing table, and after payment, I want to query the session information from Stripe. I want to know the status field in api
/v1/checkout/sessions/:id can contain what value

#

@oak prawn pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello i should advice Stripe to a Customer to handle a marketplace. I'm looking at the guide to well understand integrations. i should implement "separate charges and transfer". I'm confuse about the Accounts Type and Onboarding. I see there are 3 accounts type [express, standard, custom], and 3 onboarding [stripe hosted, embed, custom]. i don't really understand if the 2 things are related or indipendent. An account can be created as "Custom" type using "stripe hosted" onboarding? (no sense)? or to be a "express account" created with "custom onboarding"? For my aim (separate charges and transfer) i'm forced to some specific onboarding/account type?

Doc/Guide Links
https://docs.stripe.com/connect/onboarding
https://docs.stripe.com/connect/accounts

What are you working on?
developing a marketplace integrations using "separate charges and transfer"

#

@honest cliff pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to generate a payment link with a custom amount without any product from the server and on successful payment I want it to be redirected back to my website. So which one do I have to use payment link or checkout?

Doc/Guide Links
https://docs.stripe.com/payments/checkout
https://docs.stripe.com/payment-links

What are you working on?
One time payments with custom amount sent from server to client

#

@sweet stone pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/get-started/data-migrations/pan-export#migratable-data

Question
what the fingerprintId or the cc token in the export file?

What have you already attempted?
we received the export file from stripe and there are multiple id's, id, cardId, card.transaction_ids, what difference between these 3

atomic shuttleBOT
#

@weary lichen pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, I have implemented a checkout session in subscription mode. Due to recent changes to the requirements of the project, I need to backdate the subscription that is created from the checkout session to at most 1 month in the past. The paid amount however shouldn't change. Is there a direct way of doing this from within the checkout session setup without having to rely on the subscription api? I need the checkout session since initially I don't have any payment data on the client. If using the subscription api is the only way, what are the best practices of migrating a checkout session to a more "manual" implementation? Thanks in advance

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/backdating

What are you working on?
A backend for a mobile app that allows users to interact with their electric vehicle. The subscription is meant to keep online the iot funcitonalities

#

@crisp verge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const { stripeKey, currency = 'usd', locale = 'en', theme, } = props;
const stripePromise = useMemo(() => loadStripe(stripeKey), []);
const appearance = useMemo(
() => ({ // ...
}), [theme]);
const options = {
mode: 'setup',
paymentMethodCreation: 'manual',
appearance,
locale,
currency,
paymentMethodTypes: ['card'],
};
return (
stripePromise && (<Elements stripe={stripePromise} options={options}> <CardModal /> </Elements>));

Question
Hello! I get an error 'Uncaught SyntaxError: "[object Object]" is not valid JSON
at JSON.parse (<anonymous>)
at receiveMessageFromChild (v3:1:110854)' which is coming from the stripe script. Is there any way to stop receiving this error?

What have you already attempted?
I found this thread but seems like the issue wasn't fixed #dev-help message. I tried to load the stripe in useEffect/useMemo/in the component file but outside the component. Nothing helps, I still get an issue

What are you working on?
I implement https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=setup

atomic shuttleBOT
#

@grizzled geyser pressed the 📡 API button in #help to ask a question:

Question
Hi, i am looking for a way to get the payment fees of a paymentIntent. How can i get this information?

Related Request ID(s)
no related id

What have you already attempted?
in the past we were retrieven the paymentIntent with option
'expand' => ['charges.data.balance_transaction'],
but this does not seem to work anymore

What are you working on?
We run a shop with a custom Stripe Checkout, for internal Data, we need to track our payment fees in the application

#

@willow garden pressed the 📡 API button in #help to ask a question:

Question
I'm new to payment methods. I can receive a payment using test APIs. I can see the success/failure information of payments by sending a POST request to my local CLI. However, I couldn't find a unique ID to distinguish which payment is successful/failing. Is there a common field in the session create response or in the data coming from the webhook?

Related Request ID(s)
1

What have you already attempted?
https://docs.stripe.com/payments/checkout/fulfill-orders

What are you working on?
handle payment status

#

@autumn wasp pressed the 📡 API button in #help to ask a question:

Question
How can I transfer money to my customer's bank account/external bank account

Related Request ID(s)
-

What have you already attempted?
I read document but i can't understand how to do transfer my money in my stripe account To my customer's bank account

What are you working on?
I'm making API do transfer money to my customer's bank account/external bank account

#

@echo coral pressed the 🪝 Webhooks button in #help to ask a question:

Question
Why the event shows pending webhook response warning

Related Event ID(s)
pi_3PFk06KvNxiZcv1n1Ei1wfMt

What have you already attempted?
Why the event shows pending webhook response warning

#

@rose nest pressed the 📡 API button in #help to ask a question:

Question
I wanted to ask how to enable the user to provide payment card details for a subscription created for PLN 0 (free)?

Related Request ID(s)
req_oq8T5sizP6bgXT

What have you already attempted?
I don't know how to start, basically invoice (payment intent) connected to the subscription have no ClientSecret provided to create PaymentElement on the website.

#

@noble valve pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Once a customer gets redirected back to our website after an unsuccessful 3DS verification I expect the payment intent to have a status of `requires_payment_method`

What actually happened?
It had a status of `processing` instead

Reproduction Steps
No idea how to reproduce

Question
Is it expected to have a status of `processing` for card payments at all? The documentation seems to imply it's not.

What are you working on?
A custom-built e-commerce integration

atomic shuttleBOT
#

@autumn quiver pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$invoice = $this->stripe->invoices->create([
'customer' => $stripeCustomer->id,
'collection_method' => 'charge_automatically',
'metadata' => $metaData,
'pending_invoice_items_behavior' => 'exclude'
]);

Question
- Will this automatically charge the customer? If yes, is there any way to verify it from the dashboard > invoices?
- Can't I simulate the automatic payment of subscription?

What have you already attempted?
I have created the invoice but cannot simulate so cannot verify.

What are you working on?
Working on creating invoice which should be charged automatically to the customer.

#

@surreal spire pressed the 📡 API button in #help to ask a question:

Question
If the URL contains the account name, the API endpoint will not be searchable.

Related Request ID(s)
If the URL contains the account name, the API endpoint will not be searchable.

What have you already attempted?
If the URL contains the account name, the API endpoint will not be searchable.

What are you working on?
If the URL contains the account name, the API endpoint will not be searchable.

atomic shuttleBOT
#

@hollow linden pressed the 📡 API button in #help to ask a question:

Question
i'm writing laravel test and i need to create a phpUnit test to check some user permission. One of this check require that the user must have an active subscription but i've always receive "Sending credit card numbers directly to the Stripe API is generally unsafe." also with the official php method. How can fix this?

Related Request ID(s)
req_kXJ1Sy8UZy6rNa

What have you already attempted?
actual code
\Stripe\PaymentMethod::create([
'type' => 'card',
'card' => [
'number' => '4242424242424242',
'exp_month' => 12,
'exp_year' => 2024,
'cvc' => '123',
],
])

#

@undone pagoda pressed the 📡 API button in #help to ask a question:

Question
We're attempting to create an invoice with the `collection_method` of 'send_invoice' for a customer that does not have an email address - this gives us a 400 with an 'email missing' error message, is it possible to create an invoice of this type for customers that do not have email addresses?

Related Request ID(s)
req_h9hrnKqydfzwFf

What have you already attempted?
removing the collection_method, resulting in a 'charge_automatically' invoice that does not suit our needs

What are you working on?
We are building a billing solution where we use stripe to generate invoices but then download them and handle the sending internally

#

@uneven basalt pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello, I'm wondering how to handle this in the best way.

I have a SaaS and I created a custom checkout.

The checkout creates the subscription for the user and charges them. I've implemented 3Ds secure handling.

Inside the SaaS, users can subscribe to add-ons, which updates the subscription and charges prorations.

In the UI/UX of the subscription page, should I handle 3Ds secure payments too? Or is it understood that when the user created their subscription and completed the 3Ds secure authorization, the payment method is set up and doesn't need authorization anymore?

Doc/Guide Links
https://docs.stripe.com/payments/3d-secure

What are you working on?
I've implemented 3Ds secure authorization in both scenarios, but now I have to build other add-on and not sure if I should handle 3Ds secure or assume the payment method has 3Ds secure already authenticated.

#

@echo coral pressed the 🪝 Webhooks button in #help to ask a question:

Question
Webhook event shows pending webhook response warning

Related Event ID(s)
pi_3PFk06KvNxiZcv1n1Ei1wfMt

What have you already attempted?
Webhook event shows pending webhook response warning

#

@burnt lake pressed the 📡 API button in #help to ask a question:

Question
How can I assure that a scubscription goes back to status "active" if the payment for the invoice is done after one of the subscription invoices has already failed?

Related Request ID(s)
req_Jn2JxHyySfnTqS

What have you already attempted?
When the renewal payment fails I send out a mail to the customer with the link to pay the invoice manually and set a new working default payment method. But when the invoice is paid, the subscription remains cancelled. Is there a way to "uncancel" a subscription after the payment was successful?

atomic shuttleBOT
#

@shell wind pressed the 📡 API button in #help to ask a question:

Question
Hey
i am new to stripe i am creating a web app B2B SaaS. I have the following use cases-
a) store the billing data and pass it to the zoho crm
b) charge the payment method(cc/gc etc) when the business which will integrate to my account want to charge his customer
c) check if the payment method is still active or not

Related Request ID(s)
NA

What have you already attempted?
For cards we can use setup intents but i am not sure about how can i fetch billing details for other payment methods?

What are you working on?
I have a B2B saas apps where business connect to my app and i want them to charge there customer when they process the order from my app

atomic shuttleBOT
#

@uneven basalt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$subscription = $this->stripe->subscriptions->create([
'customer' => $newUser->stripe_id,
'items' => [
['price' => $planPriceId, 'quantity' => 1],
['price' => $employeesPriceId, 'quantity' => $request->employees],
],
'proration_behavior' => 'always_invoice',
'payment_behavior' => 'default_incomplete',

Question
Is it possible when creating a new subscription to pass a payment method in the server. And in case it needs 3Ds secure handle it?

I have the default payment method.

What have you already attempted?
I'm testing but I'm getting incomplete payments.

#

@hoary marlin pressed the 👍 Best Practices button in #help to ask a question:

Question
What events should I listen to for the stripe webhooks, I currently listen to subscription created updated and deleted but im not sure if this is the only ones I should handle subscriptions with.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
A Subscription based system for a discord bot

atomic shuttleBOT
#

@lilac olive pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: parseInt(req.body.amount),
currency: 'eur',
customer: customerId,
metadata: {
event_id: req.body.eventId,
},
description: 'Payment for event ' + req.body.eventName,
})

Question
I am currently developing a Flutter app and working on a segment of server-side code in Node.js. I'm encountering an issue where the currency defaults to USD, and my metadata is not being transferred to Stripe. I'm unsure why this is happening.

What have you already attempted?
ChatGPT, other currency (always USD no matter what currency I chose)

What are you working on?
I am currently building a Flutter app that allows users to purchase tickets, similar to Eventbrite, with Stripe integration

#

@pliant finch pressed the 📡 API button in #help to ask a question:

Question
im attemping to setup a webhook. ive set my endponit and it does trigger however im new to stripe and cant seem to get the setup right seems like the stripe php github doesnt match the docs i always get errors like class Stripe not found. if i just make a simple webhook php i can get hson data however it doesnt seem to give the email or name entered in the form when paid

Related Request ID(s)
evt_3PIdegJvG9dlNrN11M36W0jB

What have you already attempted?
i attemped using the github examples without composer

What are you working on?
webpage checkout

#

@elfin summit pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The right payment site will open after opening the payment link

What actually happened?
the payment formular is opening, but not all information are shown (for example field "pay as a company...)

Reproduction Steps
I created a payment formular, made all settings to it, but after opening only the half of setted settings is visible?

Question
What need to be done to fix this issue?

What are you working on?
Payment Link

atomic shuttleBOT
#

@real forge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Client removed all payment sources from account, expecting an invoice in return.

What actually happened?
The next charge charged the payment source that has been removed from the account.

Reproduction Steps
I looked into logs and noticed the cards ID is still linked to the account and was charged upon the next payment date.

Question
If all payment sources [cc/ach] are removed, how can that payment source still be on file and chargeable? If a payment source was removed, shouldn't Stripe access to it be gone? How is this possible, and how can this be corrected?

What are you working on?
Tech company transactions

#

@proud lily pressed the 👍 Best Practices button in #help to ask a question:

Question
What would the proper way to set up subscriptions be?

Doc/Guide Links
https://docs.stripe.com/api/subscriptions

What are you working on?
My service sells subscription items that the customers get, and I begin the subscription when I charge them. However this increases my churn rate when the payment fails. How can I avoid this?

#

@forest ore pressed the 📡 API button in #help to ask a question:

Question
I'm trying to figure out how to bill a customer immediately on upgrade. The customer can have prorated from old subscription.

Related Request ID(s)
https://dashboard.stripe.com/test/subscriptions/sub_1PItBnAJcl9NAQwv44ATO8qr

What have you already attempted?
I've attempted to set prorate to always invoice and invoice date as right now when changing it. It seems to want to credit the old subscription amount and then future charge a higher amount covering the credit and new subscription price. https://docs.stripe.com/billing/subscriptions/upgrade-downgrade?lang=go

What are you working on?
API for our business website

atomic shuttleBOT
#

@vestal vessel pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected card payments to be always available in a payment element when its loaded with a payment intent created with a parent payment method configuration. (Connect)

What actually happened?
The card payment method is not available when using the payment method configuration to create a payment intent and display it in the payment element.

Reproduction Steps
Using Connect. In the platform account, create a new payment method configuration.
Use that payment method configuration to create a payment intent.
Feed that payment intent to a payment element.
The payment element display the enabled payment methods correctly, EXCLUDING card.

Question
How can I fix this error and make the card payment method available in the payment intent.

What are you working on?
Introducing payment method configuration to my Connect setup so I can toggle between the set of available payment method

#

@tidal creek pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/search

Question
Is it possible to use the search API with AND & OR conditions in the same query, grouping AND & OR?

What have you already attempted?
'customer:"cus_123" and (status:"paid" OR status:"open" OR status:"uncollectible")'

What are you working on?
Implementing custom interface of invoices page using Stripe API

atomic shuttleBOT
#

@sinful lake pressed the 👍 Best Practices button in #help to ask a question:

Question
If I want to offer both ACH (USD) and SEPA (EUR) as payment method options for the same product, do I have to maintain separate prices or is there a currency conversion mechanism I can use so I maintain the price in USD but charge in EUR if the customer is using SEPA?

Doc/Guide Links
https://docs.stripe.com/payments/sepa-debit

What are you working on?
Usage-based infra charges made through creating custom one-off invoices

#

@tawdry sage pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi! I'm handling `payment_intent.succeded` event.

I want to know, in the event payload, do I have access to the latest charge details? There's a list of charges, but I don't know if I can assume it's the latest charge.

Ultimately I want to extract a receipt_url. Is it safe to assume I will find it in the latest charge? And in this case, is the latest charge details available in the payload? Or should I instead query Stripe API for a charge id coming in `latest_charge` field?

Related Event ID(s)
-

What have you already attempted?
Read documentation about Payment Intents and Events

What are you working on?
I want to extract the receipt_url and send it to the customer embedded in an already existing email we send.

#

@mossy briar pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When creating a transfer to a connect express account, I pass a description field to the API request, expecting that the user can see what the transfer was for in their express dashboard.

What actually happened?
All transfer descriptions in express dashboard does not show what the description field was given when the create transfer call was made. instead it is always "Payment from {Platform}". However if I login to my platform account and examine the transfers on the connect account I can see the correct descriptions present..

Reproduction Steps
Create a transfer with a given description and it does not show it in the express dashboard. Done with c#, Stripe API library on asp.net and then observe express dashboard transfer descriptions don't match what was given.

Question
Why don't transfer descriptions in the express account dashboard correctly show what was given in the create transfer api call by the platform?

What are you working on?
Gig working app - Stripe Connect - Transfer Descriptions

#

@tawny pivot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I am using the Stripe embedded checkout.

Question
I am trying to see if I can get events back from the embedded Stripe checkout. I would like to know when someone clicks on the "Pay" button and also if that payment fails so I can disable / enable a timer that reserves their place from expiring.

What have you already attempted?
I am unable to find any listeners for this in the documentation.

What are you working on?
I am working on a limited reservation system.

#

@brave olive pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there a way to update an object (lets say Account) without triggering a webhook for this Object (no account.updated event)?
Im asking because in our flow we update account from our application which will cause a webhook that we want to ignore.
And this could also be updated from Stripe and in this case we do want to process the webhook.

Related Event ID(s)
No related event ids.

What have you already attempted?
Using metadata/redis to mark if the update is from our app.

What are you working on?
Using Stripe embedded form inside our application

atomic shuttleBOT
#

@junior flame pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am a newbie at Salesforce/Stripe, but am trying to connect Salesforce with Stripe via the "Universal Stripe Connector".

My main goal is to have the data from Stripe sync over to the correct accounts in Salesforce.

IE - Billing end-date of Account 1 in Stripe should sync to Account 1 in Salesforce

Related Event ID(s)
Not sure what this is

What have you already attempted?
I downloaded the connector in salesforce and added a few webhook events.

I then tried downloading the API and it gave me an error saying I do not have Apex classes. I believe this is caused by my team having a lower salesforce payment tier, so it seems to me that this is probably not required.

atomic shuttleBOT
#

@amber laurel pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_links/payment_links/create#create_payment_link-on_behalf_of

Question
Created a payment link on behalf of a Stripe Connect account and getting the error "Your account cannot currently make charges" when making the card payment through the test mode payment link. Yesterday, I was told that with Stripe Connect onboarding done purely through API, Stripe assumes that we have already verified that account ourselves.

I am getting this in the Account object:
`"disabled_reason": "requirements.past_due"`

What have you already attempted?
Same as above

#

@rich valley pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment

Question
Hi there, does stripe provide any component/functionality for editing credit cards details/info?

What have you already attempted?
Added a some credit cards using Payment Element component and now want to change credit card details.

What are you working on?
rebulding my checkout form

#

@plain chasm pressed the 📡 API button in #help to ask a question:

Question
Is there a means to convert card / source collected via the deprecated APIs to a PaymentMethod? Working with the saved_payment_methods_beta and I see that only "Payment Methods" are showing up as previously created within the Payment Element.

Related Request ID(s)
e.g. this card pm_1PIv2uG2avTULfw3Ix7rJanB show us, but this card card_1OrNV6G2avTULfw3SGzQT7Wk does not

What have you already attempted?
API here https://docs.stripe.com/api/payment_methods/update. This doc seems to suggest that some... methods of payment are migratable, but not obviously card & bank account. https://docs.stripe.com/payments/payment-methods/transitioning#migrate-local-payment-methods

What are you working on?
Attempting to update our app to no longer use deprecated APIs and tools, while maintaining customer compatibility.

#

@foggy bolt pressed the 📡 API button in #help to ask a question:

Question
I am using creating subscription schedules with 4 phases to charge customers a subscription that only lasts for 4 months and terminates automatically. I need to however update the subscription and add a new item. The price should reflect on all future and past monthly invoices. How can I achieve this? Thanks

Related Request ID(s)
Non

What have you already attempted?
I have made the subscription schedules and successfully charged my customers. Due to some errors in charging , I need to fix the charged amounts across many customers who have already paid their first phase.

What are you working on?
I am working on a payment portal for a logistics company

#

@sinful lake pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello! Apologies - I'm following up on this thread: 1242496929645203498

I'm wondering if it's possible to enable Bacs direct debit as a payment method option alongside ACH and SEPA.

Doc/Guide Links
https://stripe.com/resources/more/bacs-direct-debit-an-in-depth-guide

What are you working on?
More context in existing thread: 1242496929645203498

atomic shuttleBOT
#

@amber laurel pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/persons/create

Question
How can I attach the same person object to multiple Stripe Connect Accounts?

The API/SDK just takes in a single argument when creating or update the person.

If this is not possible, could I create duplicate person objects?

What have you already attempted?
Docs weren't clear

#

@slender glacier pressed the 📡 API button in #help to ask a question:

Question
I am trying to create a new OAuth app using the Stripe CLI. After submitting the app with the adjusted manifest (following this guide https://docs.stripe.com/stripe-apps/api-authentication/oauth) I get this error:

"message": "9:Because your account is a Connect platform, you cannot choose the public distribution at this time."

I am unsure what it means for my account to be a connect platform.

Related Request ID(s)
req_5gfhZmahNIlA1t?t=1716312703

What have you already attempted?
I've attempted to publish the app using the CLI. I have a feeling it might be because it's a testing account (not verified by Stripe)

What are you working on?
potio.cc

#

@neon umbra pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am consuming a charge.refunded webhook. How, using the API, do i get to the balance transaction for the refund so I can get the expected payout date?

Related Event ID(s)
evt_3PIdnzDOwYADn7R82SYKPJT0

What have you already attempted?
charge.refunded passes the original Charge object, but I can't figure out how to get to the charge's refund

atomic shuttleBOT
#

@dull lance pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/reference/permissions

Question
I'm migrating from stripe to connect to a stripe app and I can use the permissions outlined in the doc to read invoices. However with stripe connect I could also see invoices of connected accounts in the dashboard. With my stripe app I can see the invoice list for connected accounts but when I click the invoice I see a "Couldn't load page" error. Do I need extra permissions to see them in the stripe dashboard?

What have you already attempted?
I used the invoice_read permission in my app. I can read successfully from the api but not in the stripe dashboard.

#

@hard shadow pressed the 📡 API button in #help to ask a question:

Question
Can we set stripe fee to 0 in stripe fee

Related Request ID(s)
Can we set stripe fee to 0 in stripe fee

What have you already attempted?
Can we set stripe fee to 0 in stripe fee

atomic shuttleBOT
#

@void island pressed the 🪝 Webhooks button in #help to ask a question:

Question
Our webhook endpoint is not being called for test mode events; we are trying to test on a staging environment rather than local (which it works for).

Related Event ID(s)
pi_3PItm8I2bimlkKHb1ZcwSDQk

What have you already attempted?
Verified that the url we provided and events we want tracked are correct.

#

@undone smelt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
stripe.accounts.retrieve(id)

Question
Does Stripe library have a way to use the api objects type? Currently I am using a React/Next.js project. For instance, I want to define the type object that is returned from stripe.accounts.retrieve() but I can't find anything on the documentation that is related to the type. So I want to make sure that there is a way for me to get the type returned from such calls before I create one myself

What have you already attempted?
I went through the documentation to find how I can get the data type.

#

@acoustic thorn pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices

Question
Hello everyone, In our project, customers subscribe to our monthly or annual tariffs, and when their tariff expires, we have to deduct the price specified in the tariff from their card. I saw that you have subscription services, but there are places where it is not suitable for us, so we want to check the time of the end of the tariff and send it to you to charge money. please through which api can i do this

I am using php stripe library officialy

What have you already attempted?
First of we charge first amount from customer using Payment Intent API and for secodary time I have already attepmt by using create invoice with flag immediately charge from card, I send customer ID and amount, unfortunately amount is not accept

What are you working on?
Customer tariff

#

@hybrid blade pressed the 👍 Best Practices button in #help to ask a question:

Question
In stripe connect, I don't understand when we can confirm if the user has successfully onboarded or not, the docs says to check both charges_enabled and details submitted, which one do I check for? Both? and if not, when do i check for which, I am confused witht he working

Doc/Guide Links
https://docs.stripe.com/connect/enable-payment-acceptance-guide

What are you working on?
Building software where people can host meets and collect payments from athletes

#

@arctic portal pressed the 📡 API button in #help to ask a question:

Question
I am creating payment links with the API, and in my app i need to change the amount of the payment link. I do not want to create a new payment link so my customer can use the same link. I can do so on the dashboard by doing Edit Payment Link -> Remove product & create a new product with the same price: https://pasteboard.co/UlzPEMqZ8DC1.png
I cannot find a way to implement the same using the API. I can delete a product that does not have a price but cannot remove a price it seems?

Related Request ID(s)
req_06ssOxDUhEsvkx

What have you already attempted?
I tried using update payment link in the first place but it seems i can only "update" the metadata

What are you working on?
an app to sell trips

#

@ornate dragon pressed the 📡 API button in #help to ask a question:

Question
my question was too long. please contact me so I can provide it all

Related Request ID(s)
not sure

What have you already attempted?
tried getting help from stripe support but they sent me here

What are you working on?
API and usage based billing for my agency

atomic shuttleBOT
#

@manic gazelle pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi Stripe Team, I am looking at one of the dispute.charge.closed webhook. The data that is being sent to our backend seems to not have any customer id. How would we know which customer has disputed the charge?

Related Event ID(s)
"du_1NpBTQKWfSycpO9EyxxICHI1"

What have you already attempted?

  1. Tried looking into Dispute API for any reference of customer but no luck.

What are you working on?
Will wait for your response on this.

#

@azure oyster pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it possible to prevent funds from specific transactions from being paid out from connected accounts? I want to prevent sellers from withdrawing funds until the specific order has been fulfilled on the site, and I'm trying to figure out how to do this. Ideally I’d like to keep the funds inside the connected account and not my platform balance. I know that I can use manual payouts to control whether funds will be released, but I want to allow them to withdraw funds from certain orders, the ones they completed, instead of blocking them entirely.

Doc/Guide Links
My only thoughts on this are that maybe I could calculate the value of the transactions ready for release, then when the seller requests a withdrawal, payout the total value of all those transactions. Then mark them as withdrawn.

What are you working on?
A marketplace for artists to sell custom art commissions.

atomic shuttleBOT
#

@ocean kayak pressed the 👍 Best Practices button in #help to ask a question:

Question
My app sends receipts but my customer is requesting additional information be included. How can I add additional details to a receipt?

Doc/Guide Links
I have not seen guides on this topic

What are you working on?
Mobile app

atomic shuttleBOT
#

@quasi night pressed the 🪝 Webhooks button in #help to ask a question:

Question
When a customer subscribes through stripe checkout session, both checkout.session.completed and customer.subscription.created events are triggered. In this case how can I differentiate between customer.subscription.created when the subscription is created through checkout or if the subscription is created through the dashboard?

Related Event ID(s)
evt_1PIyVOG3LDN6ekHVEDu6PlLK

What have you already attempted?
I tried to see if there is any differentiator, but unsure if there is any

#

@modest rover pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/regional?integration-country=CA&terminal-sdk-platform=ios

Question
Is there any way to test Interac with the iOS SDK apart of physical interac test cards ?

What have you already attempted?
I don't see a way of doing it with the iOS SDK. docs says is only possible with server-driven integration.

What are you working on?
Supporting Interac on iOS application using iOS SDK and Stripe Terminal Readers

atomic shuttleBOT
#

@pliant flint pressed the 👍 Best Practices button in #help to ask a question:

Question
I was wondering if we can use Stripe Identify Verification as an effective way to capture and store SSNs in a way that they won't ever hit our servers. We need to capture the SSNs for tax purposes and we'd prefer to find a way to handle them similarly to payment details - with a token and info stored elsewhere.

Doc/Guide Links
https://docs.stripe.com/identity

What are you working on?
An awards management system.

atomic shuttleBOT
#

@fair patrol pressed the 📡 API button in #help to ask a question:

Question
I’m in the process of implementing a saved payment flow to facilitate online and offline payments. This works for card payments but are other payment methods supported? Specifically PayPal, Apple Pay, GooglePay, Klarna and ClearPay?

Related Request ID(s)
na

What have you already attempted?
have read docs on how to save payment methods and use saved payment methods

What are you working on?
e-commerce platform, one click payments with saved payment methods and purchases in advance - e.g. customer pre-orders and we collect payment only when item is ready to deliver

#

@supple eagle pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Payment should have not done for cancelled subscription.

What actually happened?
I have live issue where user payment has failed and because of that his subscription was cancelled on 5/may but today payment was done for his last invoice for same subscription,

Reproduction Steps
I have live issue where user payment has failed and because of that his subscription was cancelled on 5/may but today payment was done for his last invoice for same subscription,

Question
Why payment was deducted when after subscription has been cancelled?

atomic shuttleBOT
#

@main spire pressed the 📡 API button in #help to ask a question:

Question
Hi i have to enable the access to raw card data

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
-

#

@fathom elk pressed the 📡 API button in #help to ask a question:

Question
Where in the dashboard can I find the Stripe Client ID for Connected Accounts, specifically the one that starts with ‘ca_’?”

Related Request ID(s)
NONE

What have you already attempted?
Could not find the this in the DEV->Settings->API keys

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

We will reopen the channel on May 22, 10am CEST

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

@warm marsh pressed the 🧑‍💻 Code button in #help to ask a question:

Code
manifest.json
"stripe_api_access_type": "oauth",
"distribution_type": "public"

Question
i am using the google authentication in stripe app but the time of listing the rejected saying :
API Access Type: The app is currently set to use
"oauth" for API access. This typically involves token
exchange and external installation URLs for user
authentication.
2. Functionality: However, the app appears to rely on
Google Account authentication instead of Stripe OAuth.

What have you already attempted?
https://docs.stripe.com/stripe-apps/api-authentication/oauth

i follow the docs and implemented the "oauth" functionality for access type .
but it is getting rejected as no stripe auth
they mentiond :- functionality is in use
If the app solely utilizes
Google Account authentication, consider changing the
API access type to reflect this.

but no docs to specify the changed
Plz guide to what changes required to using the existing google auth functionality.

What are you working on?
creating a stripe app

#

@barren granite pressed the 📡 API button in #help to ask a question:

Question
i need to $0 payment in stirpe payment element

Related Request ID(s)
123

What have you already attempted?
i need to have $0 in stripe

#

@marsh perch pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/charges/create

Question
We can see that Create a charge API is deprecated, we would like to understand when it would be completely removed so we can plan the implementation changes in the system

What have you already attempted?
Yes

What are you working on?
Payments

#

@molten fulcrum pressed the 📡 API button in #help to ask a question:

Question
Interface: /v1/payment_method_configurations, it does not clearly return whether "PIX" payment is enabled. How to judge?

Related Request ID(s)
Interface: /v1/payment_method_configurations, it does not clearly return whether "PIX" payment is enabled. How to judge?

What have you already attempted?
Interface: /v1/payment_method_configurations, it does not clearly return whether "PIX" payment is enabled. How to judge?

atomic shuttleBOT
#

@merry sand pressed the 📡 API button in #help to ask a question:

Question
In stripe how can I subscribe in the middle of the month and also pay full amount. And also include the billing_cycle_anchor.

Related Request ID(s)
not found

What have you already attempted?
I have done prorration_behavior= "none" but it is also not working.

What are you working on?
The requirement is to start the billing cycle at the 1st date of the month and when the user subscription in the middle of the month I need to make him pay full amount

#

@silk python pressed the 📡 API button in #help to ask a question:

Question
I am creating account session for connected account in the test mode with plateform.

Related Request ID(s)
req_ZGE2XR7KI8lfzf

What have you already attempted?
i checked that whether or not i am passing correct api key

#

@gentle flint pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/google-pay

Question
We are doing payment element integration and it is in testing phase. We are using a US Stripe account for testing purposes and it's in test mode. I want to test Google Pay and Apple Pay before releasing it in production. We are facing the following issues while testing them from the UK. They give the following error. 'Something went wrong. Unable to show Google Pay. Please choose a different payment method and try again.'. How can I test them in test mode? The request id is req_oqoHtF4I1evovr.

What have you already attempted?
elements.submit() was being called too far from the action triggered by the customer's input. I've changed it and now elements.submit() is being called at the submit button.

What are you working on?
We are doing payment element integration and it is in testing phase. We are using a US Stripe account for testing purposes and it's in test mode.

#

@winter relic pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$response = $stripe->checkout->sessions->create([
'success_url' => $redirectUrl,

             'customer' =\> $customer\-\>id,

             'payment\_method\_types' =\> \['card'\],

             'line\_items' =\> \[
                 \[
                     'price\_data' =\> \[
                         'product\_data' =\> \[
                             'name' =\> $name,
                         \],
                         'unit\_amount'

Question
my code this error
Non-INR transactions in India should have shipping/billing address outside India. More info here: https://stripe.com/docs/india-exports

What have you already attempted?
i tried my code according to stripe docs

#

@leaden ridge pressed the 📡 API button in #help to ask a question:

Question
We currently use 'connect express'. I'd like to provide 'individual' users with a less complex onboarding experience than registered non-profits or businesses. Reading through the docs it looks to me like I'll need to got the 'connect custom' route to achieve this. Can someone please confirm?

I'm looking to emulate workflows I see used by folks like Substack, Thinkific or Givebutter.

Related Request ID(s)
Not sure what to put here that's relevant but I don't see a category that's a better fit for this question. Apologies if I've missed something that's a better fit.

What have you already attempted?
I'm pretty sure that I've exhausted all options that would allow me to achieve this via config or the coded 'express' approach that we've already taken.

What are you working on?
A platform that helps constituents communicate with their elected representatives.

atomic shuttleBOT
#

@white warren pressed the 🧑‍💻 Code button in #help to ask a question:

Code
this.stripe = await loadStripe(this.stripePublishableKey);
this.elementsOptions = {
mode: "setup",
paymentMethodTypes: ["card"],
// Fully customizable with appearance API.
appearance: appearance,
};
// Set up Stripe.js and Elements to use in checkout form, passing the client secret
this.elements = this.stripe.elements(this.elementsOptions);

Question
¿Puedo crear así, y luego cuando el usuario rellene el método de pago y llame a mi API para obtener el clientSecret, añadirlo al elementOptions sin perder el método de pago?

What have you already attempted?
¿Puedo crear así, y luego cuando el usuario rellene el método de pago y llame a mi API para obtener el clientSecret, añadirlo al elementOptions sin perder el método de pago?

atomic shuttleBOT
#

@buoyant cipher pressed the 📡 API button in #help to ask a question:

Question
creating a php form for a direct debit is there a way i can have checkbox for covering the processing fees ?

What have you already attempted?
looked at the api docs

#

@young plover pressed the 📡 API button in #help to ask a question:

Question
I'm trying to create a payment intent with the 3DS enabled, because i want to get the next_action url for redirecting the customer. but i get this error: authentication_required - Your card was declined. This transaction requires authentication.

i am using the demo card that ends with 3220 (3DS2 always).

Related Request ID(s)
https://dashboard.stripe.com/acct_1NISMMQkXYa4P3FL/test/logs/req_ASied1FYH958K3?t=1716373801

What have you already attempted?
i attempted to make the confirmation_method manual, creating the pi before confirming it. but i cant make it

What are you working on?
let users buy products on whatsapp

#

@grave bloom pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am getting a regular error message through my web hook. The code is unchanged and used to work reliably, but now I seem to
get this error, maybe 50% of the time the event hits the webhook.

(Status 429) (Request req_8WfR2SvEShlOYu) 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.

The event is ‘payment_method.attached’ and I want to process it when a new Direct Debit is setup.

Related Event ID(s)
evt_1PGOYNLPpLHdPkxh9n5ZICMp

What have you already attempted?
if ($mandate->type = "bacs_debit") {

$params\['stripe\_reference'\] = $mandate\-\>id;
$params\['stripe\_customer\_id'\] = $mandate\-\>customer;

$customer = $stripe\-\>customers\-\>retrieve\($params\['stripe\_customer\_id'\], \[\]\);

if \($customer\-\>metadata\-\>client\_id\) {

    $subs = $stripe\-\>subscriptions\-\>all\(\['limit' =\> 1, 'customer' =\> $customer\]\);
    $params\['start\_date'\] = date\('Y\-m\-d', $subs\-\>data\[0\]\-\>trial\_end\);
}

}

What are you working on?
A web hook to manage direct debit subscriptions

#

@inland nest pressed the 🧑‍💻 Code button in #help to ask a question:

Code
paymentSheet.presentWithPaymentIntent(mStripeToken.getIntentId(),
new PaymentSheet.Configuration(
"Mirraw",
customerConfig,
null,
null,
billingDetails
));

Question
When I was passing billing details to stripe bottom sheet, the country is not getting populated automatically. FYI, I was doing in Android

What have you already attempted?
By passing the billing detail in paymentsheet configuration

#

@cinder dagger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I found some bugs carders taken advantages

What actually happened?
I found some tools

Reproduction Steps
contact me on WhatsApp to know bugs +923490810771

Question
hello team msg me on WhatsApp I found some bugs carders taken advantages

What are you working on?
finding bugs

#

@cinder dagger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
dm me bro chck dm whatapp happened

What actually happened?
dm me oky

Reproduction Steps
dm me to know some bugs

Question
dm me bro to know some bugs bro

What are you working on?
dm me to know some bugs bro

atomic shuttleBOT
#

@idle cradle pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there any option to disable the `ExpressCheckoutEleement` and `CardElement`.

Doc/Guide Links
https://docs.stripe.com/stripe-js/react#element-components

What are you working on?
Using the ExpressCheckoutElement in react project for the paypal payment...We are thinking about disabling the paypal button and cardElement in one of our use case.

atomic shuttleBOT
#

@magic matrix pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to charge user Stripe fee. I want to show to him all fees before start of payment.
Example: User want to onramp on our platform 1000€. Stripe fees are x€. I want show to him before payment that he will get 1000-x€ and fees are x€. Do you have any API to calculate fees?

Doc/Guide Links
https://stripe.com/en-si/pricing
https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers
https://support.stripe.com/questions/changes-to-balance-transaction-behavior-for-debit-payment-methods

What are you working on?
I am building financial app.

atomic shuttleBOT
#

@cold forge pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Creating a new checkout session

Question
How do I allow shorter names or alpha numerical names in the billing details of the checkout session?

What have you already attempted?
Searched through my account settings

#

@shell shadow pressed the 🧑‍💻 Code button in #help to ask a question:

Code
@Post('/webhook')
async handleWebhook(
@Request() request: RawBodyRequest<Request>,
@Headers('stripe-signature') signature: string,
@Res() response: Response,
) {
try {
await this.stripeService.handleWebhookEvent(request.rawBody, signature);

  response.status\(200\).send\('Webhook handled successfully'\);
} catch \(err\) {
  response.status\(400\).send\(\`Webhook Error\: ${err.message}\`\);
}

}

Question
In nest js I have configured stripe webhook, on locak Stripe CLI eveything is working fine but when I try to listen the webhook event on my EC2 instance where BE is deployed.

What have you already attempted?
I have already parsed the JSON raw body doing all esentials but still I am not able to fix my bug.

What are you working on?
Stripe Webhook for connect accounts

#

@viral yoke pressed the 📡 API button in #help to ask a question:

Question
Hey. Is it possible to enable the "portal" for connect express account for Stripe using the API ?

Like we have 100+ connect accounts on our marketplace

We want to enable customer portal for all of them. And automaticely enable for new ones?

Related Request ID(s)
no ids

What have you already attempted?
Tried searching the API on stripe API

#

@shell wind pressed the 📡 API button in #help to ask a question:

Question
Hey i am new to stripe i am creating a web app B2B SaaS. I have the following use cases- a) store the billing data and pass it to the zoho crm b) charge the payment method(cc/gc etc) when the business which will integrate to my account want to charge his customer c) check if the payment method is still active or not

Related Request ID(s)
NA

What have you already attempted?
For cards we can use setup intents but i am not sure about how can i fetch billing details for other payment methods? like bank or gift card

What are you working on?
I have a B2B saas apps where business connect to my app and i want them to charge there customer when they process the order from my app

#

@dry scroll pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Stripe JS correctly loads on the Brave browser, version 1.66.110
I'm using Stripe's PaymentRequestButton

What actually happened?
My project runs on NextJS + React, and the integration code works correctly on Chrome and Safari, but on Brave, the call to paymentRequest.canMakePayment returns null

Reproduction Steps
Internal project, cannot share a public URL here.
But loading the page on Chrome works. Loading on brave gets the result above

Question
How can I find out why paymentRequest.canMakePayment returns null? Is there a know issue with Brave browser?

#

@silk python pressed the 📡 API button in #help to ask a question:

Question
Is it possible to render stripe element and display active method method in tabs. Currently in india i am only seeing card element without other payment methods whatever publishable key provided (live or test)

Related Request ID(s)
I am sure from where i get it for client side payment method request

What have you already attempted?
I pass live and test publishable keys but results are same. I am seeing only card payment method option in india in local.

https://docs.stripe.com/payments/payment-element

atomic shuttleBOT
#

@pure lagoon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/express-accounts

Question
When I go to connect settings, I can't edit the onboarding interface. It's disabled for me. Same with the dashboard for express, it is also disabled

What have you already attempted?
gone to https://dashboard.stripe.com/test/settings/connect/onboarding-interface and it's greyed out

What are you working on?
doing proof of concept on stripe connect

#

@steady steeple pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I do not have the Two-step authentication

Question
I need to access my account, how can i reset the Two-step authentication ?

What have you already attempted?
I tried to reset the password

What are you working on?
i cannot access the account

#

@plush sparrow pressed the 📡 API button in #help to ask a question:

Question
Is there a api to retrive commisions info about a specific payment ?

Related Request ID(s)
req_tkIrc22T5MwAU2

What have you already attempted?
I am looking for a specific api to retrive commissions

What are you working on?
I am working on back office feature

#

@ripe raft pressed the 📡 API button in #help to ask a question:

Question
We are trying to set the order number (a 5 digit integer, eg. 12345) as the statement descriptor suffix but we keeps getting the error "invalid_request_error: The statement descriptor must contain at least one Latin character.". We have provided a statement descriptor prefix on the connected account.

Related Request ID(s)
req_Mxsw3L4oEOboFo

What have you already attempted?
We tried to prefix the order number with an O which succeeded. But eg. HELNAN.DK* O12345 looks a bit strange. Is it possible somehow to specify only the order number?

What are you working on?
A shop system.

#

@prime moth pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm having a bit of trouble understanding the endpoints for the checkout.session.completed webhook. If I'm creating an endpoint am I putting localhost:3000/live front end URL or my backend localhost:5000 ?

Related Event ID(s)
N/A

What have you already attempted?
stripeRoutes.post(
"/webhook",
bodyParser.raw({ type: "application/json" }),
(request, response) => {
const payload = request.body;
const sig = request.headers["stripe-signature"];

let event;

try {
  // Verify the event
  event = stripe.webhooks.constructEvent\(payload, sig, endpointSecret\);
} catch \(err\) {
  // Return error if verification fails
  return response.status\(400\).send\(\`Webhook Error\: ${err.message}\`\);
}

What are you working on?
ecommerce store

#

@vestal raft pressed the 📡 API button in #help to ask a question:

Question
I think there is an issue with the Swish payment method, there is an error being thrown when user cancelled, but it is not pickedup by result.error, only by result.paymentIntent.last_payment_error

Related Request ID(s)
"pi_3PJFLT0357RGjGIi0UA8NYT2"

What have you already attempted?
I Have changed so it only redirect: "if_required", and I have to manually check for errors like this

if (result.error) {
return setError(result.error.message!);
} else {
console.log(result);
if (result.paymentIntent.last_payment_error) {
return setError("Något gick fel med din swish betalning, försök igen!");
}

What are you working on?
NodeJs, CRA

#

@sinful iron pressed the 📡 API button in #help to ask a question:

Question
I'm building a website that There is only one service, but there is an admin who sets the price for each customer using the Stripe API and then sends a link to the customer to pay. What should I do? Because I don't want to create a new product every time because i don't want to store many of products and price. Can you tell me how to do this or alternative way if it work?

Related Request ID(s)
req_goPW2JUozuRqOw, req_O9GkO6E33nTAqC

What have you already attempted?

  1. In stripe api i can't find the way to do this but it can create one time product if create invoice with one time product.
  2. It can solve if i can create product with variable price but in my country in not supported.

What are you working on?
i use nextjs and nestjs

#

@terse shale pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I wasn't sure which option to select because the ones i had selected didnt open this modal. So i picked code cause it was close enough.

Question
I have a NextJS app that processes Stripe transactions. In addition we have integrated Hubspot with Stripe, allowing customers to sign contracts over github with the stripe checkout. How can I add metadata to that checkout session? Also, on hubspot, I can create a payment offer where I can select the price for a specific product in a specific month. Will this make a subscription schedule on stripe or will each month be a separate subscription? Is there a way to use schedules?

What have you already attempted?
i've tried to find docs on this, but all im seeing is the stripe hubspot datasync, which is not what im looking for atm.

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

atomic shuttleBOT
#

@magic matrix pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to support only EEA Countries list. It is possible to decline all other cards?

Doc/Guide Links
No links.................

What are you working on?
Financial App

#

@hybrid dragon pressed the 📡 API button in #help to ask a question:

Question
Is it possible to obtain the same risk insight that we have in our Stripe Dashboard with Radar via the API? (including average transaction for card and standard deviation for card)

Related Request ID(s)
N/A

What have you already attempted?
Found the stripe documentation but I don't see any reference to that

#

@wild mauve pressed the 📡 API button in #help to ask a question:

Question
We are using Stripe Connect (onboarding via api and payment handling via stripe integration). Currently, we are determining the pricing model for the users. We now want to change this so that Stripe handles the pricing and directly retains the fees. How can we adjust this, and what do we need to modify in the API integration?

Related Request ID(s)
Connect (2024-04-01 - 2024-04-30): Payout Fee

What have you already attempted?
I've read the following article but i didn't find the option to change who is paying the stripe fees.

#

@shut crescent pressed the 🪝 Webhooks button in #help to ask a question:

Question
is it normal to get a `payment_intent.succeeded` event before a `payment_intent.created` event?
This happened when creating a new subscription from a checkout on a Billing product

Related Event ID(s)
evt_3PJD9zKUHKCjyTmc1jnB9cxK

What have you already attempted?
-

#

@idle cradle pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
ExpressCheckout Element for Paypal

What actually happened?
PayPal button does not appearing 100%...It is showing 50% of the button

Reproduction Steps
Using the react component

              <ExpressCheckoutElement
                onConfirm={handlePaypalSubmit}
                onClick={handlePressCheckoutElement}
                options={expressCheckoutOptions}
                onReady={\(\) =\> setIsLoading\(false\)}
              /\>

Question
It was working fine just before..What could be the reason?

#

@zealous pelican pressed the 📡 API button in #help to ask a question:

Question
How can I generate an upcoming invoice from a subscription that is on trial and has no payment method yet?

Related Request ID(s)
req_SHDZDn3lsqHMib

What have you already attempted?
Looking at https://docs.stripe.com/billing/subscriptions/trials#create-free-trials-without-payment I'd like to simulate missing_payment_method=create_invoice but I don't understand how I can do that

atomic shuttleBOT
#

@native cloud pressed the 👍 Best Practices button in #help to ask a question:

Question
How can I validate Tax ID provided by a user without creating Customer? Is is possible?

Doc/Guide Links
https://docs.stripe.com/api/tax_ids/create

What are you working on?
B2B marketplace for digital products

#

@mortal owl pressed the 📡 API button in #help to ask a question:

Question
Getting an error when running the command trying to update `controller.losses.payments` on our existing connect accounts

Related Request ID(s)
req_9iNd4gwGtHDIBQ

What have you already attempted?
Tried the same command through the CLI and node lib latest version.

https://docs.stripe.com/connect/risk-management
https://docs.stripe.com/api/accounts/object#account_object-controller-losses-payments

What are you working on?
building

#

@dense ravine pressed the 📡 API button in #help to ask a question:

Question
Is it possible to list invoices with filters on associated subscription metadata?

Related Request ID(s)
None

What have you already attempted?
Read the documentation

#

@amber laurel pressed the 📡 API button in #help to ask a question:

Question
The below request is creating a Stripe person for a Stripe Conenct account but the request is failing

Related Request ID(s)
req_4uni2KelwFx0Mc

What have you already attempted?
Tried both tos service agreement types, full and recipient

atomic shuttleBOT
#

@humble oracle pressed the 📡 API button in #help to ask a question:

Question
How can I create a `checkout.sessions` that saves the collected shipping address to the invoices?

When I first started trying to set this up, the shipping address was showing up in created invoices. Now, for some reason, they don't show up anymore.

Related Request ID(s)
None that I could find relating to keeping it.

What have you already attempted?
```json
shipping_address_collection: {
allowed_countries: ['US'],
},
billing_address_collection: 'required',
```

What are you working on?
Creating a low-code checkout experience for customers to purchase dietary supplements.

#

@silk python pressed the 📡 API button in #help to ask a question:

Question
I am not seeing available payment methods in Stripe element

Related Request ID(s)
req_bRnVnzOXqWBPfu

What have you already attempted?
I passed live publishable key to render all available payment method

#

@daring atlas pressed the ❌ An Error button in #help to ask a question:

Error Message
Stripe.StripeException: 'You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance'

Question
I've used payment links and also just directly "topped up" the account in Test Mode from the Dashboard - I am able to make transfers to the connected account in the dashboard, but not from the API.

What have you already attempted?
Added to balance using the top-up option in Test mode, creating a payment link and using the Bypass Pending Balance Card to make a charge.

Reproduction Steps
Use my secondary Stripe account to make a Transfer to one of it's Connected Accounts

What are you working on?
We're trying to do a double Platform Account pattern as prescribed by our Solution Architect

#

@shell shadow pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected both web hooks would run.

What actually happened?
Only normal `account-type` webook ran. Connect type` webhook didn't ran

Reproduction Steps
Hard to tell how to reproduce

Question
Am I doing something wrong? I am not sure, I am using stripe connect for the first time

atomic shuttleBOT
#

@edgy pasture pressed the 📡 API button in #help to ask a question:

Question
Trying to test the Cash app integration. I have the QR code generating, when clicking on Cash app button that I have implemented. When trying to test using my Cash app application from my phone the cash app application says "That QR code isnt recognized by cash app".

Related Request ID(s)
req_D223hEZhmedhyE

What have you already attempted?
Have attempted to wait until new QR code is generated (waited the 10 seconds), with no luck.

What are you working on?
Trying to have the Cash app payment method.

#

@fresh heath pressed the 🧑‍💻 Code button in #help to ask a question:

Code
async getFailedEvents() {
const events = await this.stripe.events.list({
delivery_success: false,
limit: 100,
});
return events.data;
}

Question
I have created a subscription system. I have a local development setup now. created an api to checkout a session and created an endpoint for the webhook.
Lets say I started my server created the checkout session using an api and then stopped my server, the webhook events wont be acknowldged by backend anymore, meaning a failed delivery but then i tried to fetch the failed events with `delivery_success: false` it is returning an empty array.

What have you already attempted?
I have waited for the failed webhook events to be sent again like mentioned in the doc. Never came through

What are you working on?
Subscription system for my SAAS

#

@mossy briar pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
With stripe Connect express payouts, our platform is assuming a .25% payout fee with a 25 cents flat fee. Our platform is opting to cover our users anticipated payout fee by transferring them that amount before we manual initiate their payout so they will always receive the full balance in their bank.

What actually happened?
the payout receive in the users bank account during our live mode tests was the full amount with seemingly no payout fee taken out. on a 42.00 payment we transfered .36 cents in anticipation of the payout fee that user would encounter.

Reproduction Steps

  1. Transfer an amount of $42.00
    2.Transfer the anticapated payoutfee of $ 0.36
    3.initiate payout of expresss account
    4.look at the bank accounts amount for that payout to see how much landed in their bank. in this case we saw full 42.36 received

Question
Do I have a misunderstanding about when is the payout fee applied during payouts, or perhaps is this a fee that our platform will be billed for at the end of the month?

#

@finite cloak pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/create

Question
I have an existing `payment_intent` in status `requires_payment_method `, and I would like to create an invoice for it.

What have you already attempted?
I do not see in the documentation how while creating a stripe invoice I can pass to it a `payment_intent_id` (need to do it in node.js). Is it possible at all?

atomic shuttleBOT
#

@vague pivot pressed the 📡 API button in #help to ask a question:

Question
How to configure application_fee via direct charges?

Related Request ID(s)
req_3hsZhEH7cBCnrY, req_Besp4hmRY00Jop

What have you already attempted?
Hello. I'm trying to configure Direct Payment for my Stripe Connect account for REACT NATIVE (did it like described here: https://docs.stripe.com/connect/direct-charges?platform=react-native). I would also like to configure the application_fee_amount parameters. My code snippet: "
const paymentIntent = await stripe.paymentIntents.create({
amount,
currency,
automatic_payment_methods: { enabled: true, },
application_fee_amount: 123, },
{ stripeAccount: connectedAccountId,
});
However, as soon as the parameter "application_fee_amount" is specified, I get the error as like in Related ReqIds

What are you working on?
React Native App with physical stores as connected accounts.

#

@void island pressed the 🪝 Webhooks button in #help to ask a question:

Question
receiving the following error:
'No signatures found matching the expected signature for payload'

our implementation:
endpoint_secret = Rails.application.secrets.nexus_pay_stripe_endpoint_secret
payload = request.body.read
sig_header = request.env['HTTP_STRIPE_SIGNATURE']

    begin
      event = Stripe\:\:Webhook.construct\_event\(payload, sig\_header, endpoint\_secret\)
    rescue JSON\:\:ParserError, Stripe\:\:SignatureVerificationError =\> ex
      message = "\[StripeWebhook\] signature verification error\: \#{ex}"
      Sn\:\:Error.report\(ex\)
      Rails.logger.erro

Related Event ID(s)
evt_3PJJKgI2bimlkKHb0DeVRIUX

What have you already attempted?
verified our env variable matches the signing secret for the webhook

atomic shuttleBOT
#

@polar hedge pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay

Question
Is Tap to Pay available in the REACT NATIVE SDK? Its not clear from the Docs here
Forget IOS or Android specifically, unless its limited to one of those OSs

What have you already attempted?
Reading the docs, it just says "Accept contactless payments on a compatible iPhone or Android device with the Stripe Terminal SDK" which is a bit ambiguous

atomic shuttleBOT
#

@sullen ledge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm sending to our custom accounts on creation business_profile.mcc = 8398;

What actually happened?
The mcc value is changed automatically by stripe in the account validation process. For example to 7299.

Reproduction Steps
account: acct_1PEdhdPPlPcLSECD
request number req_mS47gWynnv9NG2 didn't change the mcc value but a minute after request number req_GRp1rfd28zC8fR returned 7299 without us (the platform) asking for a change.

Question
Why does that happen? 8398 is the correct code and was set properly. it should not be changed afterwards.

What are you working on?
We are a platform that creates custom accounts for charity causes (8398).

atomic shuttleBOT
#

@solemn shadow pressed the 📡 API button in #help to ask a question:

Question
Integrating Stripe Payment Link. Once someone enters their address details, we need to update the window with the new total based on additional charges (ie tax). I believe when I update the element amount it charges them the correct new amount, but my issue is how to update the display window with the new charge amount before they submit.

Related Request ID(s)
No Request Id

What have you already attempted?
I have tried to update elements.update(amount:xxx); by using expressCheckoutElement.on('shippingaddresschange');

What are you working on?
Integrating express checkout within our checkout process

#

@sweet mirage pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm wondering what is the best practice in this regard. I'm wanting to handle all the payment processing on the servers.

So for my client I would accept the email, name, and use the `<CardElement />`. But then I would pass all that data to the server for processing.

So at the server I would

  1. Create the customer (if needed)
  2. Create their payment method (if needed)
  3. Create their subscription

I want to handle everything at the server level as there's a lot more processing I have to do with other non-payment related data. I don't plan on saving any of the credit card information.

Doc/Guide Links
https://docs.stripe.com/api/customers/create
https://docs.stripe.com/api/payment_methods/create

What are you working on?
Building a react (client) golang (server) application that will have subscriptions

#

@proud lily pressed the 👍 Best Practices button in #help to ask a question:

Question
How can I set up Smart Retry for subscriptions that are in the "Incomplete" state?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview#subscription-lifecycle

What are you working on?
I wish to set up automatic retries for subscriptions that are in the incomplete status to try again every 2 days for 14 days.

#

@silent stratus pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm trying to understand the difference between a setup intent and a payment intent when both can be used to create a payment method for future use and charge them immediately.

Doc/Guide Links
https://support.stripe.com/questions/payment-intents-api-vs-setup-intents-api

What are you working on?
nonprofit donation tool

atomic shuttleBOT
#

@supple eagle pressed the 🪝 Webhooks button in #help to ask a question:

Question
I want to know reason for payment failed for one user in live system please,

Related Event ID(s)
evt_1PEnIEDwT5gdvn7nDYptSfrw

What have you already attempted?
I gone through a event object but did not get more info.

atomic shuttleBOT
#

@sinful iron pressed the 📡 API button in #help to ask a question:

Question
how to link invoice item and invoice
https://discord.com/channels/841573134531821608/1242838186187686008

Related Request ID(s)
req_goPW2JUozuRqOw, req_O9GkO6E33nTAqC

What have you already attempted?
const customer: Stripe.Customer =
await StripeClient.stripe.customers.create({
email: 'mail@mail.com',
});
const invoiceItem = await StripeClient.stripe.invoiceItems.create({
customer: customer.id,
amount: 1000,
currency: 'usd',
});
const invoice: Stripe.Invoice = await StripeClient.stripe.invoices.create(
{
customer: customer.id,
collection_method: 'send_invoice',
days_until_due: 30,
},
);
await StripeClient.stripe.invoices.sendInvoice(invoice.id);

What are you working on?
https://discord.com/channels/841573134531821608/1242838186187686008

#

@glass lantern pressed the 📡 API button in #help to ask a question:

Question
I already have an application with stripe. It uses Invoices for charging customers.

I got a new requirement from manager to hold the amount of invoice from customer and capture when invoice is approved. From my system it seemed straight forward but as I dug deep in stripe docs, i got confuse on how to add intent and keep it uncaptured and attach it to invoice.

Related Request ID(s)
req_SHpwc3Th44giJX

What have you already attempted?
I have tried to create a paymntintent and I was able to reach the uncaptured status on paymentintent. But when I tried attaching the payment intent to invoice, it failed. I again tried to finalize the invoice in hopes that paymentintent would automatically reach the uncaptured state but it didn't.

What are you working on?
I am working for a dubai telehealth start up called ilikhealth. I am adding a feature that holds the payment for customer and let doctor decide whether to approve the payment from customer or not.

#

@mortal parcel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
useEffect(() => {
if (!elements) return;
console.log('Elements:', elements);
const foo = elements.getElement('cardExpiry');
console.log('Element:', foo);
if (!foo) return;
foo.on('blur', () => console.log('Element blurred'));
setElements(elements);
}, [elements, setElements]);

Question
I'm trying to add onBlur event listeners to individual elements within the PaymentElement component provided by @stripe/react-stripe-js.

Is it possible to access and attach onBlur event listeners to individual elements within the PaymentElement, such as 'cardExpiry'?

If it is possible, what could be the reason why elements.getElement('cardExpiry') is returning null in my code?

What have you already attempted?
I've tried the attached code however

However, the elements.getElement('cardExpiry') call is returning null, and I'm unable to attach the onBlur event listener.

#

@hybrid blade pressed the ❌ An Error button in #help to ask a question:

Error Message
Something went wrong
The specified Checkout Session could not be found. This error is usually caused by using the wrong API key or visiting an expired Checkout Session. Please make sure the Session is not expired and that the API keys used to initialize Stripe.js and create the Checkout Session are test mode keys from the same account.

Question
I am generating a embedded stripe checkout link in nextjs. I am using the stripe-js and react-stripe-js package and getting this error when the dialog is rendered.

What have you already attempted?
I've already checked all keys to make sure they're all correct. I've rendered the "loadStripe" in both a useeffect and outside the component, i've monitored that the component only renders when the client secret loads.

Reproduction Steps
I'll link screenshots of my code

What are you working on?
A platform that allows directors to create events where athletes can register for an event when they register

#

@wicked creek pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Stripe checkout integration with website

Question
Hi all. I am new hear and going crazy trying to implement the stripe checkout payment gateway. Can anyone help. I use .net C#

What have you already attempted?
I have used all the examples in stripe developer but just can't get to embed a page or get redirected

What are you working on?
Dotnet C#

atomic shuttleBOT
#

@snow glacier pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello! Is it possible to create a checkout flow in Stripe that does not generate an invoice before the customer provides their credit card info via the payment element?

The preferred way on your documentation is to create an incomplete subscription, and use the attached payment intent into the payment element to process checkout.

Thank you!
Except this flow will generate an invoice before the customer provides their credit card info and this creates an issue for our accounting team.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview#subscription-lifecycle

What are you working on?
A checkout flow that only generate an invoice if the customer provide their credit card info

#

@glossy delta pressed the 📡 API button in #help to ask a question:

Question
I'd like to be able to get the `last_seen_at` field from a terminal reader object in Golang. Looking at `stripe-go/terminal_reader.go` this field is not present in the TerminalReader struct. Is there another way to access this field?

Related Request ID(s)
n/a

What have you already attempted?
Looked through documentation and looked at the terminal reader response from using the go API.

atomic shuttleBOT
#

@ocean needle pressed the 🧑‍💻 Code button in #help to ask a question:

Code
stripe payment_links update plink_1PDxF2LNkESMyZ4Il8luqoTz
-d "custom_text[after_submit][message]"="By confirming your payment, you allow Viral Coach to charge you for this payment and future recurring payments according to the payment schedule set forth in the Client Services Agreement. Recurring payments are subject to the terms agreed upon in the Client Services Agreement, and..."

Question
How can I add a line break within the "" segment of text

What have you already attempted?
I've tried variants of <br> /n /// and breaking the text segment into two chunks

What are you working on?
I am updating the custom text below the submit button on our payment links and need to break the blurb into two segments of text for readability

atomic shuttleBOT
#

@ebon oyster pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
subscription renewed; invoice created once

What actually happened?
invoice created twice

Reproduction Steps
cus_Q89Ymg3DA0gJUB
evt_1PHvGABZ8IchjqOeE7zWxUQn
evt_1PHvHEBZ8IchjqOeZ4jlASRS

Question
why was this invoice created twice? now the customer wants a refund

atomic shuttleBOT
#

@humble rivet pressed the 🧑‍💻 Code button in #help to ask a question:

Code
upgrade stripe.js in react project and integrate with google pay.

Question
I read the document about create payment method with elements. (reference: https://docs.stripe.com/js/payment_methods/create_payment_method_elements) since payment element has google pay integrated, so I assume I can create payment method using google pay, however, it returned "invalid_request_error". I found the reason is when I click google pay, it will popup a window to select google payment account but "create payment method" is already triggered. so it has issue

What have you already attempted?
I simply delayed the "create payment method" function call for 10 seconds when submit the form, and when google pay window prompts, i quickly select an account and confirm, then it can successfully create the method without any issue.

What are you working on?
i need help with a way to check whether element has been updated with card information. so that i can create payment method after element is validated.

#

@sinful lake pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm enabling ACH as a payment method through setup intents and the Payment Element client-side. What's the recommended way to detect that a customer still needs to go through microdeposit verification? The payment method object doesn't seem to indicate what state it is in.

Doc/Guide Links
https://docs.stripe.com/payments/ach-debit/set-up-payment?platform=web&payment-ui=direct-api#access-data-on-a-financial-connections-bank-account

What are you working on?
Monthly autopay for software infrastructure

atomic shuttleBOT
#

@mossy yarrow pressed the 👍 Best Practices button in #help to ask a question:

Question
In a situation where a payment for services needs to go to one account and 2 separate application fees needs to go to two separate accounts, what would be the best way to handle that? I'd like to avoid creating multiple charges if I can.

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges?platform=web&ui=stripe-hosted&fee-type=application-fee

What are you working on?
I have a website that allows users to set up a store and on each successful purchase I get an application fee, I'd like to share that fee with another account (think affiliate style)

#

@silent stratus pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const {error, confirmationToken} = await stripe.createConfirmationToken({
elements,
setup_future_usage: 'off_session',
params: {
payment_method_data: {
billing_details: {
name: firstName + " " + lastName,
email: email,
phone: phone,
}
},

Question
how do I properly set this up for future usage? My code is saying it and the serverside paymentintent don't match on that

What have you already attempted?
tried moving it within the params portion

atomic shuttleBOT
#

@obtuse void pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Add Afirm payment option

What actually happened?
I am adding the Afirm option but it doesn't show up for my clients

Reproduction Steps
I did as the article explains nut still doesnt work, also watched youtube videos and it seems pretty easy but my clients cant see the option

Question
How can I make this work? It very important that I have that Option

atomic shuttleBOT
#

@hexed mist pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We have a customer cus_Q2l1atVtYcyyzX that says he cancelled on the 15th, which i can see he did. But he says he keeps getting charged regardless. I can see it fully cancelled on the 20th, but what happened before that?

What actually happened?
See above.

Reproduction Steps
Not reproducable, see above

Question
I wrote it all in the first box.

atomic shuttleBOT
#

@manic gazelle pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi guys! I am using the 2015 version of the Stripe API - how do i create a test dispute on a charge for my local environment? I have the charge_id with me locally.

Related Event ID(s)
No event IDs - "ch_3PHwPRKWfSycpO9E0yLyw2J9"

What have you already attempted?
I have not attempted anything yet. I am looking at this documentation. https://docs.stripe.com/api/issuing/disputes/create but I don't have the IDP id

What are you working on?
Trying to restrict user's access if dispute is lost.

#

@uncut jacinth pressed the ❌ An Error button in #help to ask a question:

Error Message
Request Failed
This merchant is having trouble accepting your payment right now. Try using a different payment method.[OR_BIBED_11]

Question
what shoud i do to fix this error out

What have you already attempted?
no, i do not have any idea to slove this error.

What are you working on?
paymentIntent.success

atomic shuttleBOT
#

@tawny zenith pressed the 📡 API button in #help to ask a question:

Question
I'm using stripe.checkout.sessions.create to create a new subscription. How do I go about adding a one-time initiation fee on top of this?

Related Request ID(s)
N/A

What have you already attempted?
Looked at all the API docs

What are you working on?
We're working on a club management software what accepts subscriptions and a one-time initiation fee

atomic shuttleBOT
#

@brazen moth pressed the 📡 API button in #help to ask a question:

Question
Is there a way to allow promo codes on Customer Portal Session ?

If a customer who is on a subscription cancels and later decides to renew the plan, I want them to be able to apply a promo code on checkout as a retention mechanism.

Related Request ID(s)
N/A

What have you already attempted?
I have read the Stripe Docs found here

What are you working on?
https://docs.stripe.com/api/customer_portal/sessions/object

#

@vernal grail pressed the 👍 Best Practices button in #help to ask a question:

Question
I've gone through the Stripe quickstart tutorials, and they were great for covering the basics. However, I'm now looking to set up a payment system for a SaaS app and feeling a bit overwhelmed by the documentation.

For example, when setting up my first webhook, I noticed there are over 100 event types!

Are there any sensible and practical guides that go beyond the quickstart tutorials and cover using Stripe in a more practical application? The quickstart guides help get payments working, but they gloss over many details that seem important for common use cases.

Any advice or resources you could share would be greatly appreciated!

Thanks,

Chris

Doc/Guide Links
https://docs.stripe.com/

What are you working on?
A Saas Application

atomic shuttleBOT
#

@hybrid blade pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
In a connect transaction where I have enabled other businesses to accept payments directly, after a customer successfully goes through an embedded checkout flow through a connected account, in test mode, a "checkout.session.complete" webhook is fired.

What actually happened?
No checkout.session.complete webhook fired

Reproduction Steps
I setup the connect account, make sure the connect account exist and the details are filled out and accepted in stripe. Go through the embedded checkout flow using the correct test card credentials for a successful transaction. The transaction goes through, but the webhook is not fired.

Question
I think I'm misunderstanding how the stripe connect webhook works, is there a different set of webhooks I have to setup in order to recieve them? I don't know why a checkout.session.complete webhook is not firing

What are you working on?
A platform where directors can run events and athletes can sign up for events and pay the director directly

#

@green bronze pressed the 📡 API button in #help to ask a question:

Question
trying to integrate stripe.js into my Shopify store and can't or having trouble , keeps saying stripe.redirecttochrckout is not a funcrion

Related Request ID(s)
req_vdx0PUifduNEZ7

What have you already attempted?
I've read almost all docs regarding this error, I found on GitHub to chat with devs on discord for help regarding this issue

What are you working on?
a Shopify extension that accesses stripe to pay with ACH

atomic shuttleBOT
atomic shuttleBOT
#

@uncut jacinth pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The consumption records viewed in the bank's app,this name is too complex, we want to make this name shows like 'Yigoli Car Wash'. what should i do

What actually happened?
this company name is not satisfiy our requirement

Reproduction Steps
The consumption records viewed in the bank's app

Question
we want to change this name as 'Yigoli Car Wash' , instead of 'YIGOLI HTTPSWWW.1KMXCA' in bank'app's record

#

@iron holly pressed the 🪝 Webhooks button in #help to ask a question:

Question
I want to report usage to Stripe, using their meter events API. Instead of applying a CRON job that runs every hour or every day, I was thinking to use the invoice.created webhook event to trigger a function that will report usage to stripe by sending a meter event.

Is it safe/reliable to do? Docs say there is a gap of about an hour between invoice creation and invoice finalization. Can we depend on the webhook event to report usage instead of reporting it hourly or daily. Need suggestions. Thanks.

Related Event ID(s)
invoice.created

What have you already attempted?
I have added a listener to the invoice.created event. When we receive the event, we calculate the user's usage an report it to our Stripe meter.

What are you working on?
We are building usage based billing for an AI company.

atomic shuttleBOT
#

@autumn wasp pressed the 📡 API button in #help to ask a question:

Question
How to create Checkout Session with Stripe Connect account

Related Request ID(s)
-

What have you already attempted?
I read API doc at module "Connect" and I create function to do creating Connect account and I want to Create Session payment into it

What are you working on?
Creating Checkout Session into my customer Stripe Connect

#

@coral quarry pressed the 📡 API button in #help to ask a question:

Question

  1. We are developing an app for auctioning farming equipment. Users place bids, and we create holds using Stripe. We need to confirm if Stripe charges any transaction fees when creating holds and if there are fees for previous bids when they are outbid.

  2. Additionally, users will add their cards to Stripe, which we attach to their customer IDs. We need to know if these cards have expiration dates, if Stripe provides an API to get this information, and how to verify the legitimacy of the cards to prevent fraud and notify users of upcoming expirations.

Related Request ID(s)
req_95XBYFyd1VQ2ac

What have you already attempted?

  1. We have implemented the bids flow using Stripe's createPaymentIntent API with the capture_method set to 'manual'.

  2. For adding cards, we are using the stripeClient.paymentMethods.attach API to attach the card to the customer's ID.

What are you working on?
We are creating a platform where sellers can auction their tractors and other farming equipment. When the auction starts, users or buyers who have added their credit cards can place bids.

#

@rotund iron pressed the 📡 API button in #help to ask a question:

Question
Your account cannot currently make live charges.; request-id: req_Xo7pTWJ0HMk9ms

Related Request ID(s)
Your account cannot currently make live charges.; request-id: req_Xo7pTWJ0HMk9ms

What have you already attempted?
Your account cannot currently make live charges.; request-id: req_Xo7pTWJ0HMk9ms

atomic shuttleBOT
#

@hazy gust pressed the 📡 API button in #help to ask a question:

Question
Hi all, I have a client who has a vendor site (WCFM and WordPress). He thinks the sign up for the seller through Stripe Connect is to comprehensive. Is there a way, with either onboarding embed or api, to pull the info from the users account on the website (name, street address etc.) so the only thing they need to fill out when signing up to stripe is their IBAN info?

Related Request ID(s)
I dont know what to put here?

What have you already attempted?
Not much - i'm a frontend developer, so this is to much code for me :)

What are you working on?
A website where users can sell thier stuff

#

@zealous pelican pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When putting the number of trial days to 0 from the admin UI, it should put the subscription on pause

What actually happened?
It used to work but now it's blocked with an error message saying "You cannot set `proration_behavior` while causing a subscription to be `paused` after trial."

Reproduction Steps
- Create a new customer
- Create a new subscription on the customer with 1 trial day and set it to pause when reaching 0 if no payment
- Save
- Edit the subscription
- Change the number of trial days to 0
- You won't be able to save

Question
I used to be able to make a subscription in trial go from x days to 0 from the admin UI

#

@tepid briar pressed the 📡 API button in #help to ask a question:

Question
Hello! Does the Entitlements API work with one-time prices? For example, I have two Prices in a Product: one is recurring monthly, another is a one-time payment. Will customers get the same entitlements either way?

Related Request ID(s)
N/A

What have you already attempted?
Read the documentation and guide.

What are you working on?
A subscription-based product with a one-time summer payment for special access.

atomic shuttleBOT
#

@magic matrix pressed the 🧑‍💻 Code button in #help to ask a question:

Code
payment_intent = stripe.PaymentIntent.retrieve(
event.data.object.payment_intent,
expand=['latest_charge.balance_transaction'],
)
print('Payment intent: ', payment_intent)
fee_details = payment_intent.latest_charge.balance_transaction
print('Fee data: ', fee_details)

Question
I want to fetch stripe Fees in `checkout.session.completed` event. But object is None

What have you already attempted?
https://docs.stripe.com/expand/use-cases#stripe-fee-for-payment

What are you working on?
Financial application

atomic shuttleBOT
#

@shell stratus pressed the 🧑‍💻 Code button in #help to ask a question:

Code
const buy = async () => {
try {
await openPaymentSheet();
} catch (error) {
logEvent("payment_process_failure", {
method: paymentMethod,
error: error.message,
});
} finally {
setLoading(false);
}
};

Question
I am trying to open the Stripe payment menu for users to deposit money. However, this menu appears in English, and I want to choose the language for this menu in React Native. I have checked their documentation but couldn't find a solution. How can I set the language for the Stripe payment menu?

What have you already attempted?
I have looked through the Stripe documentation and tried various configurations, but I couldn't find any information on how to change the language of the payment menu.

What are you working on?
I am working on a React Native application that requires users to deposit money using Stripe's payment system.

atomic shuttleBOT
#

@crystal ember pressed the 📡 API button in #help to ask a question:

Question
Can someone help me? I have created few ACH payments in customer account. Getting discrepancy in verification?

Related Request ID(s)
cus_PmBdnqUsQeH1Bn

What have you already attempted?
Passing same parameters but few are only getting verified?

#

@vague pivot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
return (
<StripeProvider
publishableKey='pk_test_51P8nGUJm0jxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
stripeAccountId='acct_1PHxxxxxxxxxxxxxxxxxxxxx'
urlScheme='MyApp'
>
<PaperProvider>
<TaxRateProvider>
<StoreProvider>
<UserProvider>
<CartProvider>
<Navigation />
</CartProvider>
</UserProvider>
</StoreProvider>

Question
Hello. How could I fill "stripeAccountId" dynamically for connected accounts as I have more than one connected account. The problem is, I have the store information (connected account info) after user choose a store and not at the beginning.

What have you already attempted?
I tried to use ContextProvider in many ways to initialize stripeAccountId afterwards, unfortunately not succeeded.

#

@wary vessel pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, I implemented Stripe on my application almost 2 years ago now and at this moment i only implemented custom connect account creation but only with 'individual' type. I've just added information to 'company' field but still with 'individual' account. Now i learnt that there is also 'company' type for custom account that can fit my requirements. So it is a big problem to have 'individual' custom connect account for company ? And if so is it possible to modify the type of a connect account to move it to a 'company' type ?

Doc/Guide Links
I discover this documentation : https://docs.stripe.com/connect/required-verification-information

What are you working on?
My Application allows users to sell online live courses so teachers has custom connect account and they get paid by attendees.

#

@pallid cloud pressed the 👍 Best Practices button in #help to ask a question:

Question
We currently have users that have a flat-fee subscription, invoiced monthly and collected automatically.

We are going to add a dynamic invoice line item based on the customers' usage that month. Now we run into several problems, as Stripe invoices for the month ahead, but we want to invoice for the previous month. Also, we only know what the usage was 3 days after the end of the month. So in an ideal scenario we want:
- Invoice gets created on 1st of June, for the period of 1st of May to 31rd of May
- Flat fee subscription item
- A dynamic feed added by us ourselves (we cannot send metered usage, as we don't know the usage _inside_ the billing cycle

Doc/Guide Links
I've used Stripe Docs for Invoicing, Billing, Subscriptions.

What are you working on?
A SaaS application that uses a pay-as-you-go (with flat fee) subscription model

#

@keen herald pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm looking into how my client can offer Gift Cards with Stripe, but I didn't find the documentation all that helpful.

Are there any 3rd party providers that are recommended, and have prebuilt integrations with Stripe (Using Stripe Payment Elements)?

Any documentation or sample app that could be helpful to take a look at?

Doc/Guide Links
https://stripe.com/en-dk/resources/more/accepting-gift-cards-101

What are you working on?
Stripe Payment Elements with Gift Cards

#

@cloud zodiac pressed the 🪝 Webhooks button in #help to ask a question:

Question
Getting webhook data from Supabase edge function - how can I store it in my db?

Related Event ID(s)
Listening to webhook via edge function > Supabase listening to events > unable to store event data in db

What have you already attempted?
I have written functions inside my edge function to store the data in my db. But I can't figure out how to get it to post to a users db. Supabase has bad documentation and I am stuck..

What are you working on?
A job board

#

@gusty hollow pressed the 📡 API button in #help to ask a question:

Question
When creating a paymentintent with a customer and that customer has payment methods for future usage, I was expecting the payment elements to automatically show them so the user can select these and hit pay.

Related Request ID(s)
n/a

What have you already attempted?
docs

#

@plain drift pressed the 🧑‍💻 Code button in #help to ask a question:

Code
var configuration: PaymentSheet.Configuration = .init()
configuration.returnURL = Constants.URL.Stripe.returnURL
let paymentSheet: PaymentSheet = .init(intentConfiguration: .init(mode: .payment(...), confirmHandler: { paymentMethod, _, intentCreationCallback in
// createPaymentIntent and passing secret in intentCreationCallback
}), configuration: configuration)
paymentSheet.present(from: controller) { result in
// Handle Completion Result
}

Question
The backend I work with did not respect modern documentation, so for the moment I have to create my PaymentSheet with an IntentConfiguration

So I have to use this integration
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=ios&type=payment

In the case of validating a payment in a banking app etc., I did not understand what I should do after calling
StripeAPI.handleURLCallback(with:url)

What have you already attempted?
Setup SceneDelegate openURLContexts
Setup Configuration returnURL

What are you working on?
Payment Flow for buying Student Card in App iOS

#

@brazen pier pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$getInvoiceDetail = $stripeService->getConnectedInvoiceDetail($renterInvoiceObj->getVStripeInvoiceId(),$stripeConnectAccountID);
$getInvoiceDetail->sendInvoice();

Here is the funcition
public function getConnectedInvoiceDetail($invoiceID, $acc_id) {
try {
$invoiceDetail = \Stripe\Invoice::retrieve($invoiceID, ['stripe_account' => $acc_id]);
return $invoiceDetail;
}
catch(\Stripe\Exception\ApiErrorException $e) {

Question
I am using $getInvoiceDetail->sendInvoice(); function
but i haven't received a stripe email on live mode.

What have you already attempted?
$getInvoiceDetail->se ndInvoice();

here is the request ID : req_rsXCogubBL3Ept

What are you working on?
Stripe Connect

#

@marble lantern pressed the 🧑‍💻 Code button in #help to ask a question:

Code
https://docs.stripe.com/terminal/quickstart

Question
I'm following the quickstart for integrating terminal.
After I generate the payment intent server side (and so the client secret that I return to the client), I have to call first terminal.collectPaymentMethod(client_secret).then(function(result) {
.....
and then
terminal.processPayment(result.paymentIntent).then(function(result) {

But at this point the payment intent that is in result is changed and I use the old one server side, so it is a problem for me!

What have you already attempted?
Do you have a solution to maintain the same payment intent that is generated server side? So I'm able to trace the action using the payment intent generated server side!
Thanks in advance

atomic shuttleBOT
#

@quartz aspen pressed the 📡 API button in #help to ask a question:

Question
Is there a way to know if an invoice is already finalized from the response body?

Related Request ID(s)
NA

What have you already attempted?
Hi, I would like to know if there's a way to know if an invoice is finalized in response body of invoice object?

#

@merry sand pressed the 🪝 Webhooks button in #help to ask a question:

Question
Why my webhook is not successfull?
When a customer make subscription then the webhook will provide response and data is saved in my database.
But in stripe the webhook is not successfull.
Webhook again try to send the data and I will be ending up storing more data of same subscription.
My webhook is active and it is in 100% error rate.
Response
HTTP status code
Timed out
No response body
This is the response of my webhook.
But I'm getting data in continuous interval.

Related Event ID(s)
none

What have you already attempted?
I couldn't find any solutions.

What are you working on?
I'm working on subscription from stripe.

#

@tepid briar pressed the 📡 API button in #help to ask a question:

Question
Is there a way to hide certain products or prices on the Stripe Billing Dashboard?

Related Request ID(s)
N/A

What have you already attempted?
Read the documentation and guides, explored the menus on the dashboard.

#

@coarse creek pressed the 📡 API button in #help to ask a question:

Question
I am getting a weird message from Stripe Connect (custom) onboarding.
When I try to do the same thing on my internet, it doesn't happen. What can be the problem?

Related Request ID(s)
Stripe connect onboarding

What have you already attempted?
Try to do it from my computer

What are you working on?
marketplace

atomic shuttleBOT
#

@small pelican pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there any way to disable Guest account payments entirely? I ideally would want only payments with an associated Customer to go through.

Doc/Guide Links
No relevant info in the FAQs.

What are you working on?
DIgital product subscription service

#

@zealous pelican pressed the 📡 API button in #help to ask a question:

Question
No questions, I just want to let 2 people from Stripe that something they told me yesterday was impossible, is actually possible so they're aware for next person who's asking!

Related Request ID(s)
None

What have you already attempted?
I'll ping them in the thread, I hope that ok I just want to share back a discovery that's really useful

#

@steep crow pressed the 📡 API button in #help to ask a question:

Question
Hi, in stripe dashboard -> transactions -> inside a transaction we have "Risk evaluation" number, how we can pull this number with API?

Related Request ID(s)
1

What have you already attempted?
Didnt found to do it in stripe documentation

What are you working on?
Reducing fraud transcations

#

@jolly fiber pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Stripe Elements (JavaScript) checkout implementation

Question
On Safari, when the Stripe Elements checkout is instantiated, the following CORS error is thrown:

Blocked a frame with origin "https://pickwatch.com" from accessing a frame with origin "https://js.stripe.com". Protocols, domains, and ports must match.

This only affects Safari and does not affect the functionality of Stripe Elements. I'm just wondering if it's something we can fix?

What have you already attempted?
I've read lots of topics across Stack Overflow, Reddit & Google Groups. Some of it is not relevant - but the ones which are relevant are either unanswered after a considerable amount of time, or people don't seem particularly concerned about it.

What are you working on?
SaaS subscription-based web app

atomic shuttleBOT
#

@hollow wharf pressed the 📡 API button in #help to ask a question:

Question
i want to generate invoice and also want to open my domain and website to pay the payment using payment intent,i am confused that if i finalize the invoice then i am not able to change invoice item like amount, i have a use case where customer needs to choose pay in full and down payment so the amount will be changed accordingly , so my question is how can i achieve this.i am using payment intent already directly without invoice

Related Request ID(s)
req_HobEmZZvAhWlUy

What have you already attempted?
i am using payment intent but i want a usecase to generate an invoice as well for which i am confused whether i need to create an invoice or not as customer needs to choose the plan like monthly pay or full pay

What are you working on?
searching things to achieve my scenario

#

@willow garden pressed the 📡 API button in #help to ask a question:

Question
Is it really necessary to run a script on our terminal for the fulfillment process? Can't we automatically post to a designated API after a successful payment? Additionally, since the script we run with the CLI will become inactive after 90 days, do we need to run this script again every 90 days?

Related Request ID(s)
1

What have you already attempted?
I can do success payment

What are you working on?
payment fulfillment

atomic shuttleBOT
#

@barren granite pressed the 📡 API button in #help to ask a question:

Question
i need to confrim payment with setup mode when i try to add payment with $0

Related Request ID(s)
123

What have you already attempted?
i need to confrim payment with setup mode when i try to add payment with $0

#

@fossil stone pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I link a Stripe payment link with the payment intent success/failure webhook? It doesn't look like upon generating a payment link I can get the payment intent ID from it

Related Event ID(s)
NA

What have you already attempted?
I have gone through the documentation. https://docs.stripe.com/api/payment_links/payment_links/create I am not sure what I can use from the response here to link it to a future webhook I will receive from Stripe.

#

@uneven basalt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I paste the code in the chat

Question
There's a problem charging users with default payment method. The payment intent says it requires payment method, but I'm passing it in the subscription when is created.

What have you already attempted?
I pass the id of the default payment method when creating the subscription.

#

@oblique pendant pressed the 📡 API button in #help to ask a question:

Question
I am trying to schedule a downgrade of a subscription for the end of the billing period, and I an doing something similar to your example here - https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#downgrading-subscriptions

I do not understand why, but it creates a separate subscription item instead of changing the price of the current one.

I do not mind to have another subscription item as long as we will delete the current one. but it just keep them both.

I would love to get some help

Related Request ID(s)
req_P1TixyeWHUoOwT

What have you already attempted?
I am trying to schedule a downgrade of a subscription for the end of the billing period, and I an doing something similar to your example here - https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#downgrading-subscriptions

What are you working on?
Adding downgrading ability to another priceId but it has to be scheduled to the end of the billing period and not immediately

atomic shuttleBOT
#

@dire ermine pressed the 📡 API button in #help to ask a question:

Question
How to expose metered billing usage stats with the user?

I just created a metered billing per usage subscription, I want to show users their usage so far, but I don't know which endpoint to use

Related Request ID(s)
NA

What have you already attempted?
the closest thing I found is this:

https://docs.stripe.com/api/billing/meter-event_summary/list

but it requires me to provide start and end date parameters. I don't have these, I want it to be accurate numbers of their usage since billing cycle start date

What are you working on?
Metered API

atomic shuttleBOT
#

@gentle kindle pressed the 📡 API button in #help to ask a question:

Question
The Scenario is that if we maintain two different carts 1 - Standard products & 2 - Subscription Products we need to charge both the carts but the 3DS authentication should be done only once

Related Request ID(s)
API

What are you working on?
Ecommerce app

#

@frail valley pressed the 📡 API button in #help to ask a question:

Question
I am trying to create a subscription with invoice, the behaviour we need is that the invoice should be voided after number of days we pass.

Related Request ID(s)
req_UnWLHh2DCP1X3t

What have you already attempted?
I tried this particular API call to so this. And also if i use this method how can i decide the number of days the invoice can be sent in.

What are you working on?
Subscription on demand with invoice generation and plan will be active until a certain number of days we pass.

#

@brave olive pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I know if account.updated webhok is sent because tax_id was updated?
I see that in some scenarios (where tax_id is set to 00-0000000 in sandbox) there is not company.tax_id in any of the changes?
How could it be?

Related Event ID(s)
No related event ids.

What have you already attempted?
I tried to check the pending_verification but in case of 00-0000000 it do not have any changes for tax_id

atomic shuttleBOT
#

@glass umbra pressed the 👍 Best Practices button in #help to ask a question:

Question
I am doing a test in my application, is recommend make a test funcional in checkout for example?

Doc/Guide Links
I am doing a test in my application, is recommend make a test funcional in checkout for example?

What are you working on?
Tests in api

#

@austere pawn pressed the 📡 API button in #help to ask a question:

Question
we are trying to cancel a payment instrument (detach a paymentMethod) for an onboarded account in our application. onboarded account has customer in stripe that has a payment method saved 'pm_1PJZgJHpbK1V4VMYg69jz207' and when we try to cancel this payment method, we get this error below but we couldn't understand why its happening because the customer is created recently and not used in another account

Related Request ID(s)
req_ISuMZoqy0R7bCM

What have you already attempted?
try to detach a paymentMethod (cancelling a payment instrument)

error message:

The error occurred while requesting Stripe to detach a PaymentMethod from a Customer. Error=No such PaymentMethod: '
pm_1PJZgJHpbK1V4VMYg69jz207
'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at
https://stripe.com/docs/connect/authentication;
code: resource_missing; request-id: req_ISuMZoqy0R7bCM

What are you working on?
tokenisation

#

@willow garden pressed the 🪝 Webhooks button in #help to ask a question:

Question
I replaced the secret key in my code with the live one, and I registered my production callback URL in the Hosted endpoints section at https://dashboard.stripe.com/test/webhooks, receiving the message "Status Enabled." Now, in the production environment, I'm getting a payment link. I proceed with the payment, and the redirection to my success_url happens, but the fulfillment process doesn't occur. No POST request is being sent to the callback URL I added to the Hosted endpoints section at https://dashboard.stripe.com/test/webhooks.

Related Event ID(s)
1

What have you already attempted?
I used stripe.checkout.sessions for payment option with the test key in the test environment, and I was able to create a payment and view my successful payment through the webhook in the CLI. I could also complete my fulfillment process with the POST request coming to my callback URL.

#

@drowsy bridge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
i have setup stripe payment elements with an intent in such a way in my backend:
const setupIntent = await this.stripe.setupIntents.create({
customer: stripeCustomerId,
usage: 'off_session',
payment_method_types: ['card'],
});
I expected the frontend payment element to only show a credit card form

What actually happened?
the frontend is also showing `Link` as a payment method

Reproduction Steps
setup your backend with this

const setupIntent = await this.stripe.setupIntents.create({
customer: stripeCustomerId,
usage: 'off_session',
payment_method_types: ['card'],
});

and your frontend with this a payment element matching the id

Question
how can I ensure that only credit cards are allowed ?

atomic shuttleBOT
#

@rotund warren pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Terminal.shared.delegate = self

Question
Do I need to discover readers for using stripe tap to pay on iPhone 13 pro with iOS 17.4.1

What have you already attempted?
I am getting below error while creating payment intent
createPaymentIntent failed: Error Domain=com.stripe-terminal Code=1100 "No reader is connected. Connect to a reader before trying again." UserInfo={NSLocalizedDescription=No reader is connected. Connect to a reader before trying again., com.stripe-terminal:Message=No reader is connected. Connect to a reader before trying again.}

What are you working on?
searching around to find the solution

#

@vocal stump pressed the 📡 API button in #help to ask a question:

Question
Hello

In the latest major API, the confirm payment intent requires a return_url. We can disable this requirement by setting `never` on the automatic payment method property on the intent. But how do I set this if I create an invoice? Do I just pass the same parameter to the create invoice request?

Related Request ID(s)
n/a

What have you already attempted?
I have not attempted anything yet as I just want clarification on whether this is possible or not.

What are you working on?
When you pay for an invoice that is overdue, you only pass a payment method to an existing intent, and our flow for these invoices does not support redirection-based payment intents at this time.

#

@oak prawn pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/accounts#express-accounts

Question
In account type documentation is written that Standard Account is used for direct charges and Express Account for separate charges and transfer. Is this a technical restriction? or just an advice? because for instance there is a Woocommerce Plugin from Webkul (very famous ecommerce plugin developer) that is selling a Stripe Plugin that uses Separate Charges an Transfer Method with Standard Account with many working installation.

What have you already attempted?
Looking at documentation

What are you working on?
New Marketplace development on Woocommerce

atomic shuttleBOT
#

@vocal wagon pressed the 📡 API button in #help to ask a question:

Question
In my application (a web app), I create a subscription (on a server), which succeeds, and then I return that information to the client and call confirmPayment. I get this error: "Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed with a Payment Intent configured with payment_method_types." Thus far, I haven't been able to get around this. The payment intent is created indirectly via the subscription creation.

Related Request ID(s)
The subscription request id is - req_4Dn6H3oz1YObtR.

What have you already attempted?
I've looked thru the docs, tried altering how I create the subscription, did some googling. So far I have not found anything to help out.

What are you working on?
Building a Chrome Extension. What I'm working on now is the website (not the extension part) where the user can pay.

#

@rotund warren pressed the 🧑‍💻 Code button in #help to ask a question:

Code
func discoverReadersAction() throws {
let config = try LocalMobileDiscoveryConfigurationBuilder().build()
self.discoverCancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
if let error = error {
print("discoverReaders failed: \(error)")
} else {
print("discoverReaders succeeded")
}
}
}

Question
discoverReaders failed: 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.

What have you already attempted?
- https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay (initial TTP setup)
- https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=ios (initial app setup)
- https://docs.stripe.com/terminal/payments/connect-reader?reader-type=tap-to-pay (this is the one specifically about connecting to the TTP reader)
- https://docs.stripe.com/terminal/payments/collect-card-payment (processing a payment)

What are you working on?
searching around to find the solution

atomic shuttleBOT
#

@pallid cloud pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Invoices created in the future, to be returned by the API endpoint for listing all invoices (or Dashboard's invoices page).

What actually happened?
They were not returned.

Reproduction Steps
- Create an invoice in the future (using a test clock to move a subscription forward in time).
- Filter on invoices with a creation date greater than or equal to a date before the invoice
- The invoice is not returned

Question
Am I missing something as to why certain invoices are not returned?

What I did find out is that the created At of the invoices that are in the future, are actually seen as CreatedAt the time they where 'physically' created (so today, as I'm testing today), whilst the 'Created' column shows a date in the future.

atomic shuttleBOT
#

@lament orbit pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello!
I'm sending a request to Connected account in test mode, but receive webhooks to both live and test endpoints I have configured.

Related Event ID(s)
evt_3PHQiiEGzJInAryf0M3fRmKH

What have you already attempted?
https://docs.stripe.com/webhooks#live-and-test-mode
This doc says it might happen if "if you’re a Connect platform making test mode requests for live Standard connected accounts". But I'm sending request to test Standard connected account.

#

@brazen owl pressed the ❌ An Error button in #help to ask a question:

Error Message
the main problem is that during the 3D Secure payment process the amount that is shown to the user is 0.00.

Question
how can I solve it this problem

What have you already attempted?
please

#

@scarlet kiln pressed the 🪝 Webhooks button in #help to ask a question:

Question
Earlier in charge.succeed event I am getting the balance transaction id but now I am getting null and in charge.updated I am getting the balance trx id. So this is how now stripe is providing balance trx Id?

Related Event ID(s)
I have not found any

What have you already attempted?
I made changed and now I am not listening to charge.succeed and only listening charge.updated event to get the balance trx Id

#

@hollow steeple pressed the 👍 Best Practices button in #help to ask a question:

Question
Proration of a subscription that uses tiered pricing.
When a using the quantity as a seat based package, where quantity represents a seat.

If tier 1 is for the first 3 items
tier 2 is for anything greater than 3

When i move from 3 to 4 i get a negavtive balance from stripe becuase the tier is taken into effect.

But if i move from 4 to 3, then keep repeating the swap
from 3 to 4, 4 to 3, 3 to 4
I create a gap in my system where users can exploit and get unlimited amount of funds returned to them.

I am hoping to see if there are any best practices surrounding this.

Doc/Guide Links
Proration and the effects of tiered pricing
https://stripe.com/resources/more/tiered-pricing-101-a-guide-for-a-strategic-approach

What are you working on?
Subscription management

#

@zealous pelican pressed the 👍 Best Practices button in #help to ask a question:

Question
We currently have a 7 days trial period for our users and we would like to remove this.

When the users arrive on our app, is it ok to create a user with a paused subscription until they decide to pay or should we avoid creating a customer and a subscription until the customer (either has a trial) or decides to pay?

Doc/Guide Links
Unsure at the moment

What are you working on?
An app that uses stripe

#

@foggy hawk pressed the 🧑‍💻 Code button in #help to ask a question:

Code
I cant receive the email of the invoice. Even though I can see that it was sent on the Log and events of the invoice

Question
Im using C# .net on my project, and I cant receive the email. I will send pictures of the log. btw I cant also see in the summary that it was sent(picture 1)

What have you already attempted?
I tried all the code "await invoiceService.SendInvoiceAsync(finalizedInvoice.Id);"

atomic shuttleBOT
#

@brazen onyx pressed the 👍 Best Practices button in #help to ask a question:

Question
we have connect express accounts for a few hundred businesses. we want to enable card payments, but requesting the capability disables transfers due to missing information. but we can’t just send remediation links / re-onboard because no information for the current capability is missing. we know what info is missing per business (queried by capability), but I don’t believe we can set things like company address. how can we update missing info without temporarily disabling accounts?

Doc/Guide Links
all the capability API docs, remediation links, etc (discord on phone, not work laptop, so I don’t have a link handy)

What are you working on?
connect express accounts — want to enable card payments so we can use on_behalf_of

#

@tropic wyvern pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect the signature check to be successful.

What actually happened?
However, I receive the following error (the message is too long, so i will insert a separate message).

Reproduction Steps
I am using the following comand Stipe CLI: stripe trigger account.updated

Question
I am trying to validate the events generated by webhook connect, following the guide below: https://docs.stripe.com/connect/webhooks

What are you working on?
Verify the validity of webhook events

atomic shuttleBOT
#

@gentle lotus pressed the 📡 API button in #help to ask a question:

Question
Hi, we are merging subscription from other payment system to yours and sometimes we will end up with having subscription in Stripe without a payment method assigned (in fact the customer won't have any payment method in such case).
Our idea is that in such scenario we will create customer portal session like this one where customer will be able to add payment method.
I tested and such added payment method is added to the customer which is fine, but subscription is still without it. Is it so that it will be assigned to subscription when the pay time occurs for such subscription?

Related Request ID(s)
https://billing.stripe.com/p/session/test_YWNjdF8xR3h0R21IWnZqdlVKaW55LF9ROXhpWGVkVW1kYjFWVEhpN0wwSmIwamVCZmlrb0M30100qYrH1lgG https://dashboard.stripe.com/test/customers/cus_Q9xoCgTPPrQ4Tx https://da

What have you already attempted?
as explained in the question form, I tested adding payment method via customer payment session(), but this payment was not assigned to the related subscription, so not sure if it happens later on (during the payment attempt)?

What are you working on?
migration customers subscriptions from other payment systtem

#

@timid cedar pressed the 🪝 Webhooks button in #help to ask a question:

Question
HELLO, HOW DO I CONNECT STRIPE WITH SHOPIFY?

Related Event ID(s)
?

What have you already attempted?
.

#

@limpid plume pressed the 👍 Best Practices button in #help to ask a question:

Question
We are a Platform Account and have Custom Connected Accounts under us.

We're not understanding if we will be charged fees at the month end for payouts, including: per payout fee of $0.25, .25%, and the $2 per month per active connected account.

The docs are a little vague and hard to understand around this.

We feel like we will incur month end charges for payouts but need to know ASAP in our planning.

Thank you for any help.

Doc/Guide Links
https://stripe.com/connect/pricing

What are you working on?
A platform where Organizations process payments and we use application fees to revenue share in the connected accounts charges. We will use the default Payout schedule of rolling basis. Not instant payouts.

#

@topaz garden pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/create_address_element

Question
I can see that in the docs here you can only control the visibility of the phone number field

Is there a ways to hide the other fields e.g.firstname last name

What have you already attempted?
used similar names for the fields in the defaultValues object

What are you working on?
I'm replacing my current address system for this I'm still collecting stripe payments but want to use the address element

#

@inner glen pressed the 📡 API button in #help to ask a question:

Question
How can I transfer money from a connected accounts balance to the platform account?

Related Request ID(s)
no related requests

What have you already attempted?
I've checked the API documentation and just found the way that transfers money from platform account to a connected account.

#

@distant oriole pressed the 🧑‍💻 Code button in #help to ask a question:

Code
public function cancelSchedule()
{
$user = auth()->user();
$subscription = $user->subscription();
$subscription = $this->stripe->subscriptions->retrieve($subscription->stripe_id);

    $scheduleId = $subscription\-\>schedule;
    if \(!$scheduleId\) {
        return $this\-\>sendError\('No schedule found.'\);
    }

    $this\-\>stripe\-\>subscriptionSchedules\-\>cancel\($scheduleId\);

...
}

Question
Hello! I manage my subscriptions using schedules.
I want to offer the users the ability to cancel upcoming changes.
When they click on the cancel button, it calls the endpoint which triggers the code above.
Instead of canceling the upcoming changes (the schedule), it cancels the whole subscription.

Thank you!

What have you already attempted?
Just the code above.

#

@dusty wasp pressed the 👍 Best Practices button in #help to ask a question:

Question
Currently building a SAAS with multiple plans users can subscribe to. Also this plans have monthly and yearly billing period, If a user is going from a plan where they have pay higher which can be yearly billing period of same plan to monthly or from an higher plan to lower plan, is it possible to do this downgrades at the end of the billing period? Does stripe support this out of the box

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade

What are you working on?
A SAAS service

#

@proven quarry pressed the 📡 API button in #help to ask a question:

Question
The response from a successful checkout includes the session ID, which I'm storing. But webhook calls don't seem to contain the session ID. How do I know which Stripe customer refers to which of my customers?

Related Request ID(s)
req_LLOhQq459h5vyl

What have you already attempted?
I've read through the API docs about webhooks and the events, and I don't see session ID. I'm successfully completing checkout but then I don't know how to process the webhook calls.

What are you working on?
A website with two subscription options, monthly or annual.

#

@solemn shadow pressed the 📡 API button in #help to ask a question:

Question
Using Stripe Express Checkout and working with Payment Link. I was in chat yesterday and went and trimmed everything down, removing any extra code that was not needed. Ultimately my issue is once a shipping address is entered I am running code on my local server to get the tax amount and I want to update the display to show the changes. The documentation do not show a way to update the amount after the payment link window is loaded.

Related Request ID(s)
NA

What have you already attempted?
tried elements.update() and tried elements.fetchUpdates() (but I don't have the payment intent defined yet).

What are you working on?
Adding express checkout to my checkout flow

#

@faint plover pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is it possible to trigger a webhook event if the event happened more than one month ago. The event happened 4/17/24

Related Event ID(s)
evt_3P6UdIKA296nhejw18Q4SB0n, evt_3P6UjiKA296nhejw0k8DJxDv

What have you already attempted?
I tried retrying in my console and it said the event resource was missing

#

@exotic heart pressed the 🧑‍💻 Code button in #help to ask a question:

Code
qqqqqqqqqqqqqqqqqqqq

Question
HI i have problem with stripe mobile elemrnt react native if me create new payment he create customre i want to delete the customre how can i delete that?

What have you already attempted?
jjj

#

@vocal stump pressed the 📡 API button in #help to ask a question:

Question
I have a legacy endpoint that uses manual confirmation and only accepts credit cards. It does not have redirect logic as it is not used, however, I cannot set automatic_payment_methods.allow_redirects = 'never' because automatic_payment_methods may not be combined with confirmation_method = 'manual'.

Related Request ID(s)
req_lUYS7IkKXzAM3m, req_5Y3OpiSLEldS95

What have you already attempted?
Various combinations as explained in my question. I'm unsure how to proceed at this point.

#

@untold urchin pressed the 📡 API button in #help to ask a question:

Question
How can we take two payments on the one authentication?

We sell products that may be a mix of a rental/Subscription product and a normal product.

We are creating two transaction types. One subscription and one for normal sale.

We have to create two separate transactions.

However we do not want the customer to have to 3DS authenticate both transactions as that would be bad for user experience.

How can we take two payments on the one authentication? Do we create the customer first then send the second transaction through.

Related Request ID(s)
n.a

What have you already attempted?
Just finding out how can we achieve.

What are you working on?
We are building an ecommerce application that has standard products and subscription products both.

#

@dusk zephyr pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

Question
According to this line "Payment methods that support this include cards, Affirm, Afterpay, Cash App Pay, Klarna, and PayPal" it can be inferred that Google Pay and Apple Pay do NOT support the ability to place a hold on a payment and then capture the funds later?

What have you already attempted?
Checkout was working fine until I added Apple Pay and now I get an error that says "A `return_url` must be specified because this Payment Intent is configured to automatically accept the payment methods enabled in the Dashboard, some of which may require a full page redirect to succeed. If you do not want to accept redirect-based payment methods, set `automatic_payment_methods[enabled]` to `true` and `automatic_payment_methods[allow_redirects]` to `never` when creating Setup Intents and Payment Intents."

#

@candid slate pressed the 📡 API button in #help to ask a question:

Question
Is it necessary to use the apply_customer_balance interface on a bank transfer PaymentIntent that is being reconciled manually? Is there any way to instruct the system to apply the customer balance automatically when the PaymentIntent is created (granted that the customer has sufficient funds in their balance)?

Related Request ID(s)
No IDs

What have you already attempted?
Today, we create a PaymentIntent with one call and then need to use the apply_customer_balance API in a second call to fund the PaymentIntent. Is there a PaymentIntent configuration that lets us get this done in one shot instead?

#

@outer aspen pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<CustomerSheetBeta.CustomerSheet
visible={customerSheetVisible}
customerId="secret"
customerEphemeralKeySecret="help"
onResult={({ error, paymentOption, paymentMethod }) => {
setCustomerSheetVisible(false);
if (error) {
console.log(JSON.stringify(error));
Alert.alert(JSON.stringify(error));
//Alert.alert(error.code, error.localizedMessage);
}
if (paymentOption) {
setSelectedPaymentOption(paymentOption);

Question
I dont know how to create the customerEphemeralKeySecret, and cant find any documentation related to this, im working in react native using javascript in my front-end and node.js using typescript in my server-side

What have you already attempted?
I have tried several of the secret keys that can be generated using the backend, including the secret key

What are you working on?
Im working on a module to manage payment information for customers of my app

atomic shuttleBOT
#

@broken plover pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$checkout_session = $stripe->checkout->sessions->create([

Question
I want to charge platform fee and also connected account.
It works when I use
$charge = \Stripe\Charge::create(array( 'amount' => $amount * 100, 'currency' => $currency, 'source' => 'tok_visa', 'application_fee_amount' => $application_fee_amount,
'transfer_data' => array('destination' =$connected_account_id ),

What have you already attempted?
I tried to add transfer data, application fee field with error

What are you working on?
create a payment with wordpress/woocommerce

#

@blissful patio pressed the 📡 API button in #help to ask a question:

Question
In our application, each customer can have multiple payment methods, and choose which to use to pay invoices.

When we create a draft invoice, we supply the desired pm on `DefaultPaymentMethod`, but when the invoice is paid it is using the customer default payment method.

We are paying the invoices on stripe dashboard, since we dont have implemented the API that triggers the payment yet.

I see on the API documentation that when you call `Invoices.Pay` you can specify a payment_method_id so I assume that would be a solution.

Is there a way to specify a payment method in draft state?

Related Request ID(s)
N/A

What have you already attempted?
Invoices API documentation

#

@full fractal pressed the 📡 API button in #help to ask a question:

Question
My question is regarding the collection_method field on a subscription. So it can either be charge_automatically or send_invoice. I was wondering what the behavior is whenever it is set to charge_automatically and there is no default payment method. For example, if I was creating a subscription and set it to charge_automatically initially, at this point they wouldn't have a saved payment method so what would happen? Does nothing get sent or will an invoice still get sent? Im hoping the first invoice still gets sent so I can save the payment mthd after paid but I am not sure if works like that.

Related Request ID(s)
NA

What have you already attempted?
I have read the docs, but couldn't get a definitive answer.

What are you working on?
Connect subscriptions

#

@brazen pier pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method

Question
User has started a payment on Stripe Checkout. She tried to pay with credit card but it didn't processed just kept spinning.

What have you already attempted?
Stripe Dashboard is showing incomplete transaction'
can you tell me why payment is not working

#

@solemn shadow pressed the 📡 API button in #help to ask a question:

Question
Using Express Checkout and link. I confirmPayment, how do I retrieve the customers email address once the payment is confirmed.

Related Request ID(s)
Na

What have you already attempted?
Grabbing details from paymentIntent after confirm

What are you working on?
express checkout

atomic shuttleBOT
#

@devout pasture pressed the 📡 API button in #help to ask a question:

Question
Is there a way to charge subscription plan change on the same time, and not on the next month?

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

atomic shuttleBOT
#

@orchid bronze pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello!

We are testing Stripe App for OAuth integration and we're having trouble handling the webhook events sent from the connected clients, it's not being sent to the webhook url configured in the account that has the Stripe App published. Am I following the right docs? Is the webhook automatically created in the sense that our connect clients' Events will get automatically sent to our configured webhook? Do our clients have to set up the webhooks manually in their accounts since `webhook_write` is not available as permission for the Stripe App?

Thank you!

Related Event ID(s)
evt_3PJhFbAACFkYKeJw0tlcrCX0

What have you already attempted?
We've followed this doc: https://docs.stripe.com/stripe-apps/build-backend?public-private=public#receive-events

These are some of the permissions we have set on our app:
```
{
"permission": "event_read",
"purpose": "..."
},
{
"permission": "payment_intent_read",
"purpose": "..."
},
{
"permission": "payment_intent_write",
"purpose": "..."
},
```

What are you working on?
Testing Stripe App OAuth integration.

atomic shuttleBOT
#

@hollow plover pressed the 📡 API button in #help to ask a question:

Question
Is it possible to determine if an invoice payment attempt was made automatically as part of a Subscription's renewal vs manually? The Invoice's "billing_reason" says "subscription_cycle" in both cases.

Related Request ID(s)
in_1PJgHgCi8DvyibQ5y3cOkgEB

What have you already attempted?
I've examined the related Invoice, Payment Intent, and Charge objects for some indication. But I don't see any data that indicates a manual attempt.

What are you working on?
I want to send a payment failure email to customers when it happens as part of the automatic collection process, but not if we manually re-attempt payment.

atomic shuttleBOT
#

@devout pasture pressed the 📡 API button in #help to ask a question:

Question
I am updating a client subscription plan to another, how do I get the difference value right after or right before the difference value?

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

atomic shuttleBOT
#

@solid monolith pressed the 📡 API button in #help to ask a question:

Question
I want to cancel subscription at the end of period. Do i need to just update the subscription’s “cancel_at_period_end” flag OR call cancel subscription api ( but it doesn’t has any parameter to specify for cancellation at the end) OR i have to do both first update subscription “cancel at end” flag and then call cancel api immediately after that?

Related Request ID(s)
unknown

What have you already attempted?
looked into api documents but cancel api behaviour is not clear on how to cancel at the end of subscription.

What are you working on?
cancel feature for a subscription which is built with checkout. but i want to cancel at the end of period.

atomic shuttleBOT
#

@shell valve pressed the ❌ An Error button in #help to ask a question:

Error Message
lock_timeout
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.

Question
If I am getting this response when trying to add an invoice item with an idempotent key that will be the same on the retry, will it keep returning this? Why did it return this?

What have you already attempted?
Not sure what to try

Reproduction Steps
https://dashboard.stripe.com/logs/req_Z4dlYcSp1vWVEf?t=1716488318

atomic shuttleBOT
#

@sand loom pressed the 📡 API button in #help to ask a question:

Question
We're phasing out one of our product tiers ([tier name]). Current subscriptions for this tier will continue to function until their expiration date, but won't automatically renew. We want to ensure customers understand this change and can't unintentionally renew through the customer portal.

How can I remove the renew plan button from the portal?

Related Request ID(s)
API

What have you already attempted?
I have set the CancelAtPeriodEnd on each subscription to true but a customer can still go into the customer portal and select renew plan on a cancelled subscription.

What are you working on?
Retiring product and canceling subscriptions

atomic shuttleBOT
#

@wide dome pressed the 👍 Best Practices button in #help to ask a question:

Question
Estou criando um link de pagamento através da stripe e gostaria de entender qual o evento correto no qual eu preciso ouvir levando em consideração na qual eu preciso saber das seguintes informações ao receber o evento do webhook:

metaData, para quem precisa ser atualizado no meu banco de dados
status do pagamento, se foi pago ou recusado

Doc/Guide Links
https://docs.stripe.com/api/payment_links/payment_links

What are you working on?
I'm creating a solution using payment links, basically I create a schedule in my database and save the payment link information as a url for example and I need to update this schedule when it's paid or declined via webhook

atomic shuttleBOT
#

@fierce stirrup pressed the 📡 API button in #help to ask a question:

Question
Today adding invoice item requests are failing with 429s and `lock_timeout` errors even though we are making those requests serially like we've been doing it for months. Any ideas? Has something changed on the stripe die?

Related Request ID(s)
req_ZO1MA2YPaRAF8D

What have you already attempted?
Read through this already: https://docs.stripe.com/rate-limits#object-lock-timeouts

What are you working on?
Adding invoice items to invoices like we've done for months

atomic shuttleBOT
#

@deep onyx pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
User's card information is NOT prefilled at the checkout page

What actually happened?
User's card information is prefilled at the checkout page

Reproduction Steps
All of the steps are performed in Test Mode.

  1. A new customer paid for a subscription plan (they uncheck "Save my payment information for future purchase" at checkout page).
  2. I cancel the subscription on Stripe dashboard.
  3. The customer tried to choose a new subscription plan.
  4. The checkout page still get prefilled with user's card information.

Question
I have checked the current payment method which has "limited" for allow_redisplay. But my checkout session is still autofilling that payment method, which is using "always" for saved_payment_method_options.allow_redisplay_filters.

#

@past robin pressed the ❌ An Error button in #help to ask a question:

Error Message
You cannot create `capital_financing_offer` type Account Links for this account. Valid types for this account are ["account_onboarding", "account_update"].

Question
I received this error on creating an Account Link of the capital_financing_offer type.

What have you already attempted?
I've created an offer for this account in test mode.

What are you working on?
Capital

#

@cloud zodiac pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I pass session/checkout info to my success page?

Related Event ID(s)
Checkout ends, Webhook is listened to and stores data in db > Routed to the success page > all webhook data is now inaccessible but I need to confirm who the current user is with their stripe_id

What have you already attempted?
Basically I need a unique identifier to reference who the current user is. I have a stripe table and a user table, but post-checkout I can't see who the last user was who checked out, I need to pass their stripe_customer_id or something that I can store in my stripe table via webhook, so I can then use it on the success page..Hopefully that makes sense?

What are you working on?
A job board

atomic shuttleBOT
#

@versed moat pressed the 📡 API button in #help to ask a question:

Question
Customise stripe checkout page customisation

Related Request ID(s)
Checkout page

What have you already attempted?
Your customer support says not possible but I see a few videos and think it is posiible

What are you working on?
Personal Project

#

@autumn wasp pressed the 📡 API button in #help to ask a question:

Question
I have an error while adding external bank account

Related Request ID(s)
req_vYIkxM9979ES1b

What have you already attempted?
I not sure about my parameter to sending, is correct?

What are you working on?
Creating external bank account into Stripe Connect account

#

@cloud tiger pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Whether you can create a subscription that supports multiple subscriptions for a user on the same app

Question
Whether you can create a subscription that supports multiple subscriptions for a user on the same app

What have you already attempted?
https://docs.stripe.com/api/subscriptions/create

What are you working on?
Trying to support a subscription service. That is: users in our app to purchase a number of subscription services, each subscription service can contact a store

#

@unkempt trench pressed the ❌ An Error button in #help to ask a question:

Error Message
com.stripe.stripeterminal.external.models.TerminalException: RPC application error INVALID_REQUEST with message Invalid device_type: must be one of bbpos_wisepad3, stripe_m2, bbpos_chipper2x, bbpos_wisepos_e, verifone_P400, simulated_wisepos_e, or mobile_phone_reader

Question
Sample app on device on S700 Devkit not working with the example terminal backend. Using android studio and USB to interface wtih device

What have you already attempted?
verified the s700 devkit is registered on the dashboard
reviewed the log

Reproduction Steps
I'm following below and deployed the example backend to render
https://github.com/stripe-samples/terminal-apps-on-devices?tab=readme-ov-file

#

@zenith veldt pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/components

Question
I have very simple question want to clarify that does stripe support progress bar component or any alternative to that because I have very specific requirement from client?

What have you already attempted?
I have go through entire docs twice and tried to find something similar to progress bar or something but not able to find any solution there

What are you working on?
Working on stripe app which is already published on market place but now client want to release version 2 of the app and in that version they wanted on progress bar.

#

@lavish breach pressed the 📡 API button in #help to ask a question:

Question
I'm getting the following exception when trying to create a PaymentIntent with setup_future_usage=off_session and a customer:

com.stripe.exception.InvalidRequestException: No such customer: 'cus_QAB2RPkSoNJQYC'; code: resource_missing; request-id: req_hoDG1J0pqbULgm
at com.stripe.net.LiveStripeResponseGetter.handleApiError(LiveStripeResponseGetter.java:286) ~[stripe-java-25.2.0-beta.1.jar:25.2.0-beta.1]

The customer object has been created just prior to this API call, I can see it in our test mode dashboard.

Related Request ID(s)
req_hoDG1J0pqbULgm

What have you already attempted?
I have read the docs here but they do not have an example setting the customer with the request:
https://docs.stripe.com/payments/payment-intents#future-usage

What are you working on?
Building a new integration with the beta UA

#

@idle girder pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/capture

Question
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

HI , I have received a mail which suggests me to update my integration to meet with 5 day timeline to auto capture the payment, i didnt know if i can pass a parameter to auto capture after days in the req body while creating a charge

What have you already attempted?
I have read the documentation but was unable to get how can i do the same.?

#

@broken plover pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$checkout_session = \Stripe\Checkout\Session::retrieve($session_id);

Question
from session retrieve, how do I get the card owner name?
I can see it in the stripe dashboard but unable to get it from session retrieve.

What have you already attempted?
I read the documentation https://docs.stripe.com/api/checkout/sessions/create, but can't find this field.

What are you working on?
integrating wordress/woocommerce with stripe connect

atomic shuttleBOT
#

@vagrant slate pressed the 🧑‍💻 Code button in #help to ask a question:

Code
func discoverReadersAction() throws {
let config = try LocalMobileDiscoveryConfigurationBuilder().build()
self.discoverCancelable = Terminal.shared.discoverReaders(config, delegate: self) { error in
if let error = error {
print("discoverReaders failed: \(error)")
} else {
print("discoverReaders succeeded")
}
}
}

Question
discoverReaders failed: 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.

What have you already attempted?
What have you already attempted?
- https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay (initial TTP setup)
- https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=ios (initial app setup)
- https://docs.stripe.com/terminal/payments/connect-reader?reader-type=tap-to-pay (this is the one specifically about connecting to the TTP reader)
- https://docs.stripe.com/terminal/payments/collect-card-payment (processing a payment)

What are you working on?
What are you working on? searching around to find the solution

atomic shuttleBOT
#

@abstract patio pressed the 👍 Best Practices button in #help to ask a question:

Question
I was wondering if you could enable test mode while still accepting payments on our production ecommerce site. If so how should I go about doing it. If not is there an alternative ? Would just like to better understand best practices while I rebuild the website

Doc/Guide Links
https://docs.stripe.com/test-mode?locale=en-GB

What are you working on?
I'm currently working on a ticketing platform

atomic shuttleBOT
#

@fierce mortar pressed the 📡 API button in #help to ask a question:

Question
Hello. Using the webelement, there's a message on the modal about the customer giving us permission to use their card details in the future. Is it possible to remove this when the payment being taken is set to "on session"?

Related Request ID(s)
req_9VeB07DOJ5uvFI

What have you already attempted?
on session or off session,

What are you working on?
Just implementing the Stripe webelement.

atomic shuttleBOT
#

@foggy kestrel pressed the 📡 API button in #help to ask a question:

Question
I am trying to create out an offsite checkout from my website. I am also adding stripe so that users will use it to pay in Indian Rupees (INR ). The problem is when I set the checkout in INR currency the payment methods aren't available except cards. Is there a way I can have the checkout in INR currency include other payment methods to like google pay, amazon pay, Link, apple pay etc..

Related Request ID(s)
None

What have you already attempted?
Check the documentation and the Internet.

What are you working on?
A commerce site that enables users to buy couirses online.

#

@rough ridge pressed the 📡 API button in #help to ask a question:

Question
I have a use case where I need to start a subscription for a new user with two entities:

  1. a one time fee based on quantity of item they add
  2. a monthly subscription fee that kicks off a year later than (i.e. does not start immediately)

Further, users should have the option to add new items to the same subscription at a later point of time. And the monthly subscription for those specific items should kick off a year later from their purchase.

Related Request ID(s)
-

What have you already attempted?
I've been checking out subscription schedules to achieve this. So far, I'm of the understanding that parallel phases cannot exist.

#

@weary lichen pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Builder paramsBuilder = SessionCreateParams.builder().setMode(SessionCreateParams.Mode.SETUP)
.setSuccessUrl(paymentSessionCreateDto.getSuccessPath())
.setCancelUrl(paymentSessionCreateDto.getFailurePath()).setCurrency("EUR") ...

Question
I am creating a session using the Stripe Library for Java. The backend handles the session creation and returns the url of the session to the frontend, which in this case is an app. Since the app requests the session creation, paymentSessionCreateDto.getFailurePath() and paymentSessionCreateDto.getSuccessPath() are both deep links, however when I try to create the session, I get an exception telling me that the paths I provided are not correct

What have you already attempted?
I couldn't really find any doc for the Stripe library for Java regarding this issue

atomic shuttleBOT
#

@astral talon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based

Question
I cannot find information about the behaviour of subscriptions in regards to usage using the new meter API. In particular I'd like to understand which meter events are considered when creating a new subscription (start of period?) and which are considered when updating an existing subscription. For example I manually updated an existing subscription adding a new line items and removing an existing one (to adjust an error in how the price per unit was calculated) and I saw the usage in the upcoming invoice drop to 0. It would be nice to have more info about how this works or a link to the docs

What have you already attempted?
Checking the docs I linked above and more.

What are you working on?
Automating billing for a usage-based service.

#

@static wraith pressed the 📡 API button in #help to ask a question:

Question
In English: Updating a quote by removing the discount.

Related Request ID(s)
https://docs.stripe.com/api/quotes/update

What have you already attempted?
Hello,
I have my application which contains a system that allows updating a quote. I am facing an issue; I have a quote created with an associated discount (discount.coupon), and when I want to update the quote without the discount, I can't do it. If I send an empty array for discount.coupon, the discount persists.

#

@lucid bough pressed the 📡 API button in #help to ask a question:

Question
I have a Customer that has non verified US Bank account as payment method (pm_1PJsylFDgkUdCdUXhxdpe6D0)
and it is visible in stripe dashboard under "Payment Methods"

When I use API "List PaymentMethods" action, I don't get that pending bank account.

How can I access the information that customer has bank added but it's not verified to properly display in client's settings on our app?

Related Request ID(s)
req_4G2pvlcj7eXinL

What have you already attempted?
Fetching all payment methods of that customer

#

@delicate badger pressed the 📡 API button in #help to ask a question:

Question
Yesterday after an update of WooCommerce on our website, our system, for an unknown reason, has renewed the subscriptions of almost half of our customer. Is there a way, with a CSV, to batch refund the list ?

Related Request ID(s)
req_IyzkFtbXKr6J5K

What have you already attempted?
Nothing right now

What are you working on?
A plan to refund everyone without disturbing the service

atomic shuttleBOT
#

@astral talon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based

Question
I cannot find information about the behaviour of subscriptions in regards to usage using the new meter API. In particular I'd like to understand which meter events are considered when creating a new subscription (start of period?) and which are considered when updating an existing subscription. For example I manually updated an existing subscription adding a new line items and removing an existing one (to adjust an error in how the price per unit was calculated) and I saw the usage in the upcoming invoice drop to 0. It would be nice to have more info about how this works or a link to the docs

What have you already attempted?
Reading docs, but I could not find the relevant one (apologies for re-opening the thread, i was caught up in a call and could not respond)

What are you working on?
I'm automating usage-based billing for existing customers and would like to test the integration for those customers with live data in test mode before going live with payments.

atomic shuttleBOT
#

@hollow wharf pressed the 📡 API button in #help to ask a question:

Question
i want to give my user option to pay in full and pay monthly.so i am creating an invoice with invoice item involves products and their respective prices. but the catch is when customer choose pay monthly i want to charge a down payment in the invoice and other create recurring invoices for remaining payment.

Related Request ID(s)
req_hdnAQiYl0fmVR4

What have you already attempted?
i tried creating invoice and also finalize as well to get the payment intent, but i want user can choose a plan and according to that i can change the invoice amount (full payment or down payment) and how can i achieve create recurring invoice if customer pics pay monthly

What are you working on?
checking docs

#

@mossy vault pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/disputes/prevention/advanced-fraud-detection#activity-indicators

Question
Is there any way or documented API that lets us get the logs out of Stripe? We want to perform anomaly analysis and we saw that this needs to be done on our end, so we would like to know if there's any API that would let us to retrieve the logs generated in our Stripe Account. Thanks!

What have you already attempted?
We've been throughout the documentation but we wouldn't be able to find anything helpful for this topic.

atomic shuttleBOT
#

@fading kestrel pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<AddressElement
onChange={(e) => {
formValuesRef.current = e.value;
}}
options={{ mode: "shipping", allowedCountries: countryCodes }}
/>
<PaymentElement id="payment-element" options={{layout: "tabs"}} />

Question
When using the address and payment element and toggling the checkbox for an alternate billing address, it only asks for the country, not an address.
On some Payment methods it doesnt even ask for anything. Is this expected? How do we get the customers billing address?

What have you already attempted?
-

What are you working on?
Checkout

#

@lost ember pressed the 🧑‍💻 Code button in #help to ask a question:

Code
private static List<StripeBalanceTransaction> GetPayments(RequestOptions requestOptions, string payoutId, string paymentType, string timeZoneId)
{
List<StripeBalanceTransaction> balanceTransactions = new List<StripeBalanceTransaction>();

BalanceTransactionListOptions balanceTransactionListOptions = new BalanceTransactionListOptions
{
    Limit = 100,
    Payout = payoutId,
    Type = paymentType,
};

BalanceTransactionService balanceTransactio

Question
Is there a way with the Api to link a Payment (e.g. py_1PCNFQ2QJaDIbmyQKoKf1Ok5) with a Payment Intent (e.g. pi_3MZdHfECYMgji7vm0o1jbjDw).

What have you already attempted?
I've looked through to documentation to see if I can see a way to get a Payment by Intent Id, but can't see anything relevant for what I'm looking to do.

What are you working on?
We have a Connect Account integration with you, and I’m looking to update our reporting functionality for our customers.

atomic shuttleBOT
#

@fringe wasp pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$session = $stripe->billingPortal->sessions->create([
'customer' => $data['customer_id'],
'return_url' => url()->current(),
]);

Question
I'm trying to let my customers manage their subscriptions on Stripe using the billing portal. I got the URL after creating the session but THE SUBSCRIPTION SWITCHING FEATURE IS NOT SHOWING UP. I can not see the current plan section on the portal.

What have you already attempted?
I have read the Stripe doc about Tax. I disabled Auto Tax calculation. I also updated Tax calculation for production I'm using on my subscription pricing table

What are you working on?
We're building a learning payment system

atomic shuttleBOT
#

@uneven basalt pressed the 🧑‍💻 Code button in #help to ask a question:

Code
$upcomingInvoice = $this->stripe->invoices->upcoming(['customer' => $user->stripe_id]);

Question
I have a user with 3 subscriptions, how can I get all upcoming invoices?

What have you already attempted?
$upcomingInvoice = $this->stripe->invoices->upcoming(['customer' => $user->stripe_id]);

atomic shuttleBOT
#

@vocal wagon pressed the 📡 API button in #help to ask a question:

Question
We're building a subscription service and we need people to be able to update to a new payment method while being in a past due status. We currently automatically trigger the payment of an outstanding invoice if the card is successfully added. We want to avoid a situation where a customer has to go through 3DS for updating the payment method and then go through 3DS once more so that the unpaid invoice will be paid. The recommendation from Stripe was to instead use the provided payment method id to pay the past due invoice directly, and then use SetupForFutureUsage.

Related Request ID(s)
n/a

What have you already attempted?
When trying this I get the error message: "This PaymentIntent's payment_method could not be updated because it has a status of canceled. You may only update the payment_method of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action."

#

@languid dome pressed the 📡 API button in #help to ask a question:

Question

  1. We need to created subscription schedule to downgrade user, remove addon user and remove addon storage.
  2. We need to attach this schedule to existing subscription, which we are doing it using FormSubscription property while creating subscription schedule but we can't pass phase option in this as we have used FromSubscription
  3. So we are updating subscriptionschedule but as soon as we assign new phases it gives error that start_date to end date echor is required but when we pass any date we again gets error that we can't modify date of existing phase.

Related Request ID(s)
req_CV96W17kSygLOR

What have you already attempted?
I have tried cancelling the subscriptionschedule, assiging newphases not old one but nothing is working

What are you working on?
We are building a downgrade plan where when user needs to downgrade it should be scheduled, when addon seats need to be removed it should be schedule to next billing date

#

@shell wind pressed the 📡 API button in #help to ask a question:

Question
I am using indempotency key but the subsequent requests returns the last response instead of throwing an error

Related Request ID(s)
req_QzRkODbWMHMEZk

What have you already attempted?
async function execute() {
try {
const uniqueKey = uuidv4();
const result = await stripe.customers.create(
{
name: "Hopstack 1",
},
{
idempotencyKey: uniqueKey,
}
);
console.dir(result, { depth: null });
} catch (error) {
console.error("ERROR BLOCK");
console.dir(error, { depth: null });
}
}
execute();

this is a sample code

atomic shuttleBOT
#

@fluid perch pressed the 👍 Best Practices button in #help to ask a question:

Question
Please forgive if I'm wrong. When a payment method is declined by the bank due to 'transaction_not_allowed' blocks it internally, meaning that the next time the card info won't be checked with the bank and therefore the Payment Intent will be declined on Spot with a seller message of "You previously attempted to charge this card. When the customer's bank declined that payment, it directed Stripe to block future attempts.". With that, my question is, what would it be the best way to try to 'remove' such block so a new charge can be attempted?

Doc/Guide Links
Not applicable to this question

What are you working on?
Not applicable to this question

atomic shuttleBOT
#

@visual obsidian pressed the 📡 API button in #help to ask a question:

Question
how can we save a customer's card without passing the full card number

Related Request ID(s)
req_BXFQEvw6OkvhgW

What have you already attempted?
currently we are passing the full card number to the api

What are you working on?
seo platform with stripe recurring payments

atomic shuttleBOT
#

@faint acorn pressed the 🧑‍💻 Code button in #help to ask a question:

Code
<ExpressCheckoutElement
onConfirm={onConfirm}
onClick={onClick}
onShippingAddressChange={onShippingAddressChange}
onShippingRateChange={onShippingRateChange}
onCancel={onCancel}
options={{ buttonHeight: 55 }}
/>

Question
When using the ExpressCheckout react component how does one order the payment options and how does one configure the element to show all options on load rather than the default "show more" toggle.

What have you already attempted?
I have disabled Link in order to display Google Pay on load.

What are you working on?
Online store

#

@sour matrix pressed the 📡 API button in #help to ask a question:

Question
Hi, we need help in sorting issue w.r.t Terminal reader which always gets timed out and reader does not show anything up.

Related Request ID(s)
Dont know

What have you already attempted?
tried as per the document

#

@earnest jetty pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I did expect to have PaymentElement with available payment methods.

What actually happened?
Not a single payment method appeared in component

Reproduction Steps
Reproduction is simple. I have just set up server in Node.js + express and client in react typescript and used Elements and PaymentElement component following documentation & YouTube guide from

https://www.youtube.com/watch?v=e-whXipfRvg&t=233s

Question
How to enable payment methods so they finally show up on screen?

What are you working on?
Im building ecommerce shop

atomic shuttleBOT
#

@gentle kindle pressed the 📡 API button in #help to ask a question:

Question
after stripe.checkout.sessions.create. navigate stripe checkout page and payment made success. redirect to my website. how can i get payment-id ?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Ecommerce app

#

@maiden sandal pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
3D secure verification appears when customers attempt to pay

What actually happened?
The authentication attempts to show in a popup that is blocked by the browser

Reproduction Steps
Attempt a purchase where 3D secure authentication is required

Question
Hello! We are having customers of our Stripe integration state that their customers are unable to pay because the popup to authenticate them using 3D secure is blocked by their browser. Can be programmatically have these authentication steps show in a different way that doesn't require customers? From what I can see there isn't and it's determined by the bank itself.

What are you working on?
LifterLMS Stripe

atomic shuttleBOT
#

@obtuse bison pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-transfer_data

Question
Twilio is trying to enable a feature for an ISV to transfer a payment to a merchant using the transfer_data parameter in PaymentIntents. However, we’ve encountered an error stating “invalid_request_error - destination. You cannot make a destination charge on a connected account” when attempting to make the charge.

Issue: It appears that the payment connectors we create on the Twilio console use scoped keys from Stripe, which differ from our platform account’s secret key. This seems to be causing the issue as the payments aren’t processed using the platform’s API key.

What have you already attempted?
Given this setup, what would be the best approach to enable ISVs to transfer funds to their merchants? Is there a recommended method to handle such transfers without using the transfer_data parameter, or perhaps a configuration on our side that we’re missing?

What are you working on?
We are trying to enhance the existing integration between Twilio and Stripe.

#

@urban pilot pressed the 📡 API button in #help to ask a question:

Question
Hey....How can a Redirect user who have created a stripe connect account to his dashboard in stripe.
thank you for your help

Related Request ID(s)
xxxxx

What have you already attempted?
I don't know how do this

atomic shuttleBOT
#

@vocal stump pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/payment_intents/confirm_mobilepay_payment

Question
Hello

As far as I can tell, MobilePay is no longer in beta, however, I cannot find the documentation for its stripe.js methods without being logged into an account with beta access (see link).

I was informed by stripe.js that the beta was "no longer valid" (console log warning), and I no longer use the beta argument, yet it still works.

The documentation is inaccessible *and* the confirmMobilepayPayment function is missing from the stripe.js type definitions.

Can you update on the state of the beta?

What have you already attempted?
n/a

What are you working on?
MobilePay

#

@merry barn pressed the 📡 API button in #help to ask a question:

Question
Basically I need help , I am implementing stripe googlepay and applepay in my web app built on react and i am making a request to laravel. What i want is that it will create a monthly subscription and recurring one. Also I want to fetch the subscription when the user logged in I just want that the user subscription is active or not

Related Request ID(s)
Unknown

What have you already attempted?
I tried finding the subscription using email but it doesn't work

What are you working on?
Basically I need help , I am implementing stripe googlepay and applepay in my web app built on react and i am making a request to laravel. What i want is that it will create a monthly subscription and

#

@jovial bridge pressed the 📡 API button in #help to ask a question:

Question
I am trying to find a way to create a subscription that can use variables to change the price, as you can see in the screenshot below there is a RAM and CPU slider that the customer can use to change the specs of the server. i am wondering if it is possible to create a subscription that changes price depending on these factors or do i really just have to create an individual product for each and every combination?

Related Request ID(s)
N/A

What have you already attempted?
I have attempted using tiered pricing but that does not seem to work in the way i want it too

What are you working on?
I am building a hosting platform that users can rent out their own game servers with and access them using a web panel

#

@forest saddle pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
All my company accounts with sepa customer saved as source should be migrated to payment methods

What actually happened?
two accounts received the action required by email but not the third

Reproduction Steps
the third account has sepa sources but did not accept any payment yet

Question
Do you think it is correct or is there something that is missing for the third account?

What are you working on?
telecommunication business

#

@tranquil fiber pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/

Question
How to stop stripe taking taking the payments of unpaid subscriptions?

What have you already attempted?
I have a subscription on stripe, but due to some reason the subscription is cancelled after multiple attempts, But when I added a new card , it automatically takes the unpaid amount.

What are you working on?
I have a subscription on stripe, but due to some reason the subscription is cancelled after multiple attempts, But when I added a new card , it automatically takes the unpaid amount.

atomic shuttleBOT
#

@tawny pivot pressed the 🧑‍💻 Code button in #help to ask a question:

Code
Need help setting: "2020-08-27; custom_checkout_beta=v1"

Question
I am using the Stripe .NET SDK and I have been granted access to the Custom Checkout beta. I am unable to find were to set the API version in the call. I assume I am missing something, but cannot figure out where to go from here.

What have you already attempted?
Using the SessionCreateOptions to get the client secret, but I cannot find an available option to set the API Version.

What are you working on?
New checkout with new Custom Checkout.

#

@obsidian leaf pressed the 📡 API button in #help to ask a question:

Question
We're mapping Stripe's subscription object to a table in our database. We are aware that Stripe's API is versioned; our question is, if Stripe were to add a new status to the Subscription entity, would it also bump the version? We want to know if we can use an enum to store status, or if we should store as a varchar.

Related Request ID(s)
N/A

What have you already attempted?
We've read the documentation, but don't immediately find an answer to this question.

What are you working on?
Payment system for our application

atomic shuttleBOT
#

@proven torrent pressed the 📡 API button in #help to ask a question:

Question
stripe doesnt support my country and i want to use stripe api for my product what can i do

Related Request ID(s)
111

What have you already attempted?
yest

What are you working on?
a platform for indie developers

#

@tepid briar pressed the 👍 Best Practices button in #help to ask a question:

Question
What's the best way to ensure the first phase of a subscription schedule stays the same when updating it through the API?

I'm upgrading a customer's existing subscription to a subscription schedule using `from_subscription`. Immediately afterwards, I'm adding a phase to the schedule. The guide says to include the current phase when adding a new phase, but I'm worried I'm missing important data from the existing phase. How do I ensure the first phase remains exactly the same, but with a different `end_date`?

I'm using the Node.js SDK with Typescript and the type of the phases of the created schedule don't match the needed type of the phase in the update method.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules#updating

What are you working on?
A Next.js app with Typescript

atomic shuttleBOT
#

@viral pecan pressed the ❌ An Error button in #help to ask a question:

Error Message
Something went wrong. Please try again later, or contact support.

Question
trying to get my payment information set up but it wont let me

What have you already attempted?
ive tried multiple emails, ive closed the browser multiple times

What are you working on?
trying to set up information for paid subscriptions

#

@sweet eagle pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi!
I am using stripe for our products on our projects and I have a question about webhooks. So I am developing a Django application and implemented my StripeWebhook view and am using the stripe CLI to listen to events happening on localhost. On the CLI, when the webhook view is hit, everything happens as normal. Status 200s are posted and there are no issues. But, for some reason, on my stripe dashboard, for the same responses, it is being registered as a status 400. On the graph, it says 0 successful webhooks. Why is there a discrepancy between the dashboard and my CLI?

Related Event ID(s)
evt_1PJjh0ENX0bFlybFlHtyWT87

What have you already attempted?
i tried immediately returning an httpresponse(status=200) at the beginning of my webhook view just to see if it would register on the dashboard

What are you working on?
stripe integration to sell products on my django app

atomic shuttleBOT
#

@pure lagoon pressed the 📚 Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/acss-debit#mandates

Question
What are the possible values for payment_method_options.acss_debit.mandate_options.interval_description when creating a payment_intent. I want to create a schedule for the first of every month, but I want to either specify how many months or the exact dates. It says the api supports a set of dates, but what format is this? Is it possible to specify the first of every month for a fixed number of months?

What have you already attempted?
the docs are pretty vague on how to account for this case

What are you working on?
PAD Payment proof of concept

#

@wispy nymph pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, I have a platform with connected accounts (express) and I'm wondering how I should handle the case where a customer has an active subscription with one of my connected accounts, then the connected account gets deleted. When the connected account is deleted, as far as I can tell, all of their products and their customers' subscriptions still exist.

Doc/Guide Links
Didn't see much. Would love to find the docs on this.

What are you working on?
Scipress.io (a platform similar to Substack)

#

@hollow haven pressed the 📡 API button in #help to ask a question:

Question
I saw a few older threads about this, but running into an issue with the paymentIntents confirmation where I need to provide a redirect_url because we have setup in the Dashboard to accept certain types of payment OR disable those.

My question is, is there a list of the payment types I need to disable in the Dashboard or can disable in this certain flow to make this work without a redirect_url?

Related Request ID(s)
req_3ImTphgZFtVwjU

What have you already attempted?
I'm struggling to find a doc that helps me. We are upgrading from an older charges implementation where I don't see a required redirect_url. So trying to figure out what we need to disable in this flow to make it work.

I have looked at this doc(https://docs.stripe.com/payments/payment-intents/migration?client=javascript_esnext&web-migration=stripe-js-v2), but in the newest node version, some of these methods don't exist so trying to follow paymentsIntents as close as possible.

What are you working on?
Migrating from Charges and Sources to Payment Intents & Payment Methods

atomic shuttleBOT
#

@ivory socket pressed the 📡 API button in #help to ask a question:

Question
My question is about S3 bucket settings for Stripe Connect payment sessions. When our user starts a payment session, we upload a jpg image for each item to an S3 bucket, then add the returned url to the images array for that line item. If I make the bucket public it works, but I want to restrict read access to that bucket to Stripe. I can't seem to get the bucket policy working to do this.

I put a "related request id" in the next field because it's required, but it's not really related. There's no error on the request, just that the image for line item doesn't display in the Connect session.

Related Request ID(s)
req_9knxz3iLElQ8iL

What have you already attempted?
I have tried setting the access policy on this bucket like so:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowStripeRead",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::client-order-thumbs/*",
"Condition": {
"IpAddress": {
"aws:SourceIp": [
"198.202.176.171",
"198.202.176.172, ..."]}}}

but including all the IPs from this list:https://docs.stripe.com/ips#ip-addresses

:(

What are you working on?
Stripe Connect integration for existing platform

#

@flat perch pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there a way to delineate between cancelations we execute programatically from our app to allow better handling of the webhook? Like, before canceling, could I update the metadata object and have that pass through to the webhook?

Related Event ID(s)
evt_1PK4zCAKr8gWA65ATx9gCHpc

What have you already attempted?
Nothing, this is a pretty novel issue, and I want to see if there are methods to address this without increasing DB complexity on our end

What are you working on?
subscription app

#

@tropic wyvern pressed the 📡 API button in #help to ask a question:

Question
I am working of retrieving the subscriptions by customer id, trying to cover every case (for example: incomplete, incomplete_expired).
While i was working on that, i've noticed one things about retrieving this subscritions: after the subscription has expired via the dashboard, so the status is "incomplete_expired", making the following on Stripe CLI: stripe subscriptions list, I receive no subscription. So, i wonder how does it works?

Related Request ID(s)
None

What have you already attempted?
I was trying to receive the list of subscriptions by customer id with the following command: stripe subscriptions list.

What are you working on?
Retrieving the list of subscriptions by customer id

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not around on weekends, holidays, and (rarely) other times, but we should be back during regular business hours! In the meantime you can contact Stripe support for help.

Discord will stay closed on Monday and will reopen on Tuesday May 28 around 10am SGT (2am UTC).

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

@sudden river pressed the 📡 API button in #help to ask a question:

Question
When using microdeposits to set up an ACH debit payment method via setup intents, sometimes one microdeposit is sent and the user needs to submit a code from the merchant description. Other times, Stripe sends TWO microdeposits and asks for two different amounts to be submitted to Stripe to verify. Can you explain when Stripe does each method? We're trying to explain it to our user base.

Related Request ID(s)
https://dashboard.stripe.com/logs/req_L4ngFRVaAOIIa6

What have you already attempted?
Searched the docs and asked AI, and couldn't get the answer

What are you working on?
A parking management system

atomic shuttleBOT
#

@plain mulch pressed the 📡 API button in #help to ask a question:

Question
How to send a payment through the payment intents API

Related Request ID(s)
N/A

What have you already attempted?
I am reading through the payment intents API and I am just not understanding how the actual payment flow works.

What are you working on?
I am trying to build out ways to accept payments for digital and physical goods.

atomic shuttleBOT
#

@wooden rock pressed the 🧑‍💻 Code button in #help to ask a question:

Code
// Fetches a payment intent and captures the client secret
async function initialize() {
const { clientSecret } = await fetch("/create.php", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ items }),
}).then((r) => r.json());

Question
This is the stripe example from https://docs.stripe.com/payments/quickstart
I want to know why the code exposes the client secret on the front end. This is not good practice and I would think it is a bad example

What have you already attempted?
I have a system that works atm, but I am concerned when your examples show the client secret on the front end.

What are you working on?
starting to integrate stripe elements on a payment page for our club events

#

@crystal dome pressed the 🧑‍💻 Code button in #help to ask a question:

Code
let clientSecret = res.response.client_secret;
stripeSDK
.confirmCardPayment(clientSecret, {
payment_method: {
card: cardNumberElement,
},
setup_future_usage: "off_session",
})
.then(function (result) {}

Question
i use java sdk /v1/subscription to create a subscription, then i use above stripeSDK to pay this subscription. When it is due, it will automatically renew. It currently appears that a draft bill has been created for the user, but payment has not been made directly. What parameters need to be set for automatic renewal and direct deduction upon expiration?

What have you already attempted?
I want to the subscription payment will be made directly

What are you working on?
a website use stripe pay

atomic shuttleBOT
#

@gentle kindle pressed the 🪝 Webhooks button in #help to ask a question:

Question
subscription scenario 1st time, 2nd time Ntime which webhook call

Related Event ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Ecommerce app

atomic shuttleBOT
#

@thorny shale pressed the 🧑‍💻 Code button in #help to ask a question:

Code
upgrade_subscription = stripe.Subscription.modify(
subscription.id,
items=[{
'id': subscription['items']['data'][0].id,
'price': price_id,
}],
billing_cycle_anchor='now',
cancel_at_period_end=False,
proration_behavior='always_invoice',
expand=['latest_invoice.payment_intent'],
discounts=[{'promotion_code': cou

Question
I want to upgrade a user only after he pays the amount ( proration), but when I go through Stripe doc and do this it directly upgrades the user with payment "past_due"

so how can I achieve this "user will not be upgraded until he pays the amount"

What have you already attempted?
i created a user and payment method and made it default, I also created a subscription basic subscription and now I working on an upgrade code

What are you working on?
i want to upgrade a user when he pays the upgrade charges

#

@eternal matrix pressed the ❌ An Error button in #help to ask a question:

Error Message
No error, I have a question about security if I add someone as a main admin will they have permissons to see the card I put on file and my ssh?

Question
No error, I have a question about security if I add someone as a main admin will they have permissons to see the card I put on file and my ssh?

What have you already attempted?
Nothing question.

atomic shuttleBOT
#

@next atlas pressed the 👍 Best Practices button in #help to ask a question:

Question
What's the best practice when creating transfers from my platform to a Connected account, to ensure a successful transfer? Should I ensure that "CapabilitiesTransfers" is 'active' and "PayoutsEnabled" is 'true'? Should I ensure that "CapabilitiesTransfers" is 'active' and not worry about "PayoutEnabled" being 'true'? Not check for either condition? Ex. My site (Yoga meetups) - A teacher registers to teach 1 month from now. I send Stripe transfers when the class ends, so there's a possibility the teacher registers and then deletes their Connected account before the class finishes, leaving me no account to send the transfer too. I'll then ask/email them to add new account.

Doc/Guide Links
Looked over the Stripe docs but unsure about best practices given the documentation.

What are you working on?
Website for Yoga Meetups

atomic shuttleBOT
#

@languid dome pressed the 📡 API button in #help to ask a question:

Question
When we creating subscription schedule for a customer using FromSubscription and then updating currentPhase, we have to supply currentphase start date but the problem is as soon as we create subscriptionschedule, it updates the subscription immediately and creates all the item on prorated manner. What we wanted is to remove current item and add new item at end of current subscription cycle in the subscription

Related Request ID(s)
req_eTF2WAnLGHhkgy

What have you already attempted?
Tried moving start_date but it not working, tried setting prorationBehaiour="none" but it still not working

atomic shuttleBOT
#

@cursive pivot pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello, i would like to push event "purchase" with stripe information into datalayer on WIX website builder, so i can track it from GTM, can anyone help me, how to do that please?

Related Event ID(s)
purchase

What have you already attempted?
I tried manually set up datalyer push, but it didnt work out...

atomic shuttleBOT
#

@unborn glen pressed the 📡 API button in #help to ask a question:

Question
Hello,

We are developing a Swift iOS app and have a few questions regarding the implementation process for handling payments.

Our goal is to:

Create a SetupIntent to save a payment method for the user.
Generate an invoice for the payment from the user to a Connected Account.
Capture and charge the invoice payment using a Payment Intent through our backend, utilizing the saved payment method.
Questions:

Is this process technically feasible?
Can we use the Payment Intent associated with the Invoice to achieve this?
Thank you for your assistance!

Related Request ID(s)
-

What have you already attempted?
We already set up the setup intent and the payment with payment intent

#

@oblique pendant pressed the 📡 API button in #help to ask a question:

Question
I want to cancel a schedule using the API.

The schedule I want to cancel is a downgrade that will change the price Id for a subscription in the next billing period.

When I am trying to cancel the schedule it cancels the whole subscription of the customer instead of just canceling the schedule and I do not understand why.

Related Request ID(s)
req_RiXdWmotsWvgLU

What have you already attempted?
I read this in the docs - https://docs.stripe.com/api/subscription_schedules/cancel

In my API call i do:

    const canceledSchedule = await stripe.subscriptionSchedules.cancel\(subscriptionScheduleId\);

With the subscription schedule ID

What are you working on?
Canceling a downgrade schedule

#

@onyx cosmos pressed the ❌ An Error button in #help to ask a question:

Error Message
Your card's expiration year is invalid.

Question
WooCommerce Stripe Payment Gateway has failed when customer input a card with expiration date in 24.

What have you already attempted?
Contacted WooCommerce, checked plugins that may conflict. Clear the cache and database. Updating to the latest version.

#

@buoyant cipher pressed the 📡 API button in #help to ask a question:

Question
When i hit the submit button on my html form for doing a BACS Debit payment i get this error: "Your account isn't configured to directly use SetupIntents to create Mandates for Bacs Direct Debits. See https://stripe.com/docs/payments/payment-methods/bacs-debit to learn more, or contact us through https://support.stripe.com/contact/."

What have you already attempted?
function create_setup_intent() {
$secret_key = get_option('stripe_secret_key');
\Stripe\Stripe::setApiKey($secret_key);

try {
    $setup\_intent = \Stripe\SetupIntent\:\:create\(\[
        'payment\_method\_types' =\> \['bacs\_debit'\],
        'metadata' =\> \[
            'first\_name' =\> $\_POST\['first\_name'\],
            'last\_name' =\> $\_POST\['last\_name'\],
            'email' =\> $\_POST\['email'\],
            'phone\_number' =\> $\_POST\['phone\_number'\],
            'address\_line\_1' =\> $\_POST\['address\_line\_1'\],
            'address\_line\_2' =\> $\_POST\['address\_lin

What are you working on?
a donation form to setup a direct debit using the api

#

@brave kelp pressed the 📡 API button in #help to ask a question:

Question
Get BalanceTransactions is failing for one of my customers accounts.
Response:
StatusCode: 500
Type: api_error
Message: An unknown error occurred
Please tell me how I can proceed to find the problem here, thanks!
Request-Id: req_fc2Wiy5eeqmU8X

Related Request ID(s)
req_fc2Wiy5eeqmU8X

What have you already attempted?
Trying with different parameters.

What are you working on?
A service to integrate stripe into a german accounting software

#

@quartz latch pressed the 🧑‍💻 Code button in #help to ask a question:

Code
pi, err := paymentintent.New(&stripe.PaymentIntentParams{
Amount: stripe.Int64(amount),
Params: stripe.Params{
Headers: *headers,
},
Currency: stripe.String(currency),
Customer: &customerId,
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
Enabled: stripe.Bool(true),
},
UseStripeSDK: stripe.Bool(true),
OnBehalfOf: stripe.String(account.Stripe.CreatorId),
})

Question
After the transaction is successful through Google Pay, we want to send that money to a Connect account. In the creation of payment intent, we are adding OnBehalfOf to send that money to a Connect account but nothing happens even after Stripe says it was successful after payment is done on front end.

What have you already attempted?
In the creation of payment intent, we are adding On_Behalf_Of to send that money to a Connect account, we tried "destination" but we get an error telling us to use On_Behalf_Of. The front-end is using this doc:
https://docs.stripe.com/google-pay?platform=react-native
While what I'm doing to create a payment intent is in the code above.

What are you working on?
We are trying to implement a donation system on our app that send money directly to a Connect account

#

@stray sonnet pressed the 📡 API button in #help to ask a question:

Question
not able to list saved and default card in checkout form

Related Request ID(s)
req_Pbp5cNouVj6JWK

What have you already attempted?
I am trying to use stripe.checkout.Session.create along with its saved_payment_method_options={"allow_redisplay_filters":["always"]}, but it is not showing the cards that were saved using stripe.billing_portal.Session.create. It only shows the card if it was saved using stripe.checkout.Session.create.

#

@deft river pressed the 📡 API button in #help to ask a question:

Question
Missing refunds list in the charge.refunded event for latest Stripe API version 2024-04-10

Related Request ID(s)
req_3g6RYeMkOO2G6h

What have you already attempted?
Compared with old version it's working fine.

What are you working on?
Refund feature

atomic shuttleBOT
#

@timber knoll pressed the 📡 API button in #help to ask a question:

Question
Hello,

i search to setup a payment plan
Annual, paid monthly.

WHats is the good doc for that ?

Related Request ID(s)
no request id

What have you already attempted?
i'm looking about subscription but i thinks that's not the good way

What are you working on?
my process subscription with reccurring month or year is ok

atomic shuttleBOT
#

@fickle drift pressed the 📡 API button in #help to ask a question:

Question
Hi! My client has been given a payment terminal and told that it needs intergrating via the stipe API. I have had a look on thier website but can't find any documention online to help set this up and what need to be done. Can anyone point in the right direction to some helpful documention?

Related Request ID(s)
API

What have you already attempted?
Look on the stripe documention but havent been able to find anything that stands out.

#

@earnest jetty pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there a way to assign products on backend while creating payment intent?
I have created working endpoint which created payment intent and sending it's `client_secret` to user. client_secret is used then to create PaymentElement. What i'm trying to achieve is that transaction visible in dashboard should have all important data about products related to this transaction. I have found information in docs that i can provide delivery data to payment intent but nothing about products.
Also I'm wondering about how the process should work if i have my own database with products and i want to keep data about order and payments synced with my stripe db. Please help :)

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/create

What are you working on?
I'm working on ecommerce web application. React (Frontend) + Node.js (Backend).

#

@eager sand pressed the 📡 API button in #help to ask a question:

Question
I am having trouble understanding why my invoice ID is null, even though my checkout session status is marked as complete. Could you please help me?

Related Request ID(s)
GET /v1/checkout/sessions/cs_test_b15hy4m0MW2Ek9BdV4pjhmJN1x83nuRVeMihAD6R0scbPb5rWMC85rKzA6

What have you already attempted?
In stripe.checkout.sessions.create, I have set:

invoice_creation: {
enabled: true,
}
However, when I use stripe.checkout.sessions.retrieve, the field invoice is null, and the status is 'complete'.

What are you working on?
Checkout Session