#dev-help

1 messages Β· Page 84 of 1

atomic shuttleBOT
#

@native cloud pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
import { EventEmitterModule } from '@nestjs/event-emitter';

@Module({
imports: [
EventEmitterModule.forRoot({ignoreErrors: false})
]
});

import { OnEvent } from '@nestjs/event-emitter';

OnEvent(event, { suppressErrors: false });

Question
Can anybody explain the discrepancy in options.ignoreErrors vs options.supressErrors?

https://github.com/nestjs/event-emitter/blob/master/lib/interfaces/on-event-options.interface.ts#L18

vs.

https://github.com/EventEmitter2/EventEmitter2/blob/master/eventemitter2.d.ts#L39

What have you already attempted?
We omit ignoreErrors as it is `false` by default and suppressErrors: false as it is `true` by default... πŸ€·β€β™‚οΈ

atomic shuttleBOT
#

@pliant summit pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I'm trying to test a subscription renewal. The CLI is working and I want to simulate the autorenewal payment after a one month subscription. I assume the invoice.payment_succeeded is the correct event for this use case.
What is the correct way to simulate a auto-renewal payment via the test CLI?

Related Event ID(s)
I found nothing related to my issue

What have you already attempted?
I triggered the event via this CLI command:

stripe trigger invoice.payment_succeeded
--add invoice:subscription=sub_1PL2oIGLvoRtAlfHxUfGnHYD
--add invoice:customer=cus_Q7iZczUpHePw78
--override

this resulted in "You may only specify one of these parameters: pending_invoice_items_behavior, subscription."

this attempt:
stripe trigger invoice.payment_succeeded
--add invoice:subscription=sub_1PL2oIGLvoRtAlfHxUfGnHYD
--add invoice:customer=cus_Q7iZczUpHePw78
--override "invoice.pending_invoice_items_behavior=exclude"

resulted in "Valid fixture names are: [customer paym"

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.

#

@main fog pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Smooth iDEAL and country selection view

What actually happened?
Selection view swiping away when trying to select

Reproduction Steps
Everything is detailed in this github issue. https://github.com/stripe/stripe-ios/issues/3607

Question
I would really appreciate some fast support, since we have launched our production app already and this flow is far from ideal.

What are you working on?
In-app event tickets.

#

@small fable pressed the πŸ“‘ API button in #help to ask a question:

Question
Custom fields are not coming in the invoice.payment_succeeded event through webhook

Related Request ID(s)
hBdlrkTJgI7g3BW83c

What have you already attempted?
From payment link, I am getting the Customer ID as custom field but it is not coming in the invoice.payment_succeeded request to webhook

atomic shuttleBOT
#

@forest hazel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Looking at the dev console on the dashboard I can see a single event both referenced with type payment_method.automatically_updated AND payment_method.card_automatically_updated

What is the actual type sent? And is one of the deprecated?

Related Event ID(s)
evt_1PLN7yIXLR0o4zHDNenmkyNk

What have you already attempted?
Tried to look in docs

atomic shuttleBOT
#

@deft sail pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
getProductObject from a subscription

What actually happened?
returns null

Reproduction Steps
retrieve subscription
try to getProductObject like this:
subscription.getItems().getData().get(0).getPrice().getProductObject()

Question
how to solve that without making multiple requests to get a product object

#

@smoky chasm pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello. I am working on a clients Stripe to implement a third party fraud software (Riskified). I am working with an external developer who has requested me to "get the Webhook secret for stripe so we can check for when payments fail during checkout"

I have enabled test mode in the clients Stripe dashboard. I just wanted to know that this is safe to complete and provide to the developer?

Related Event ID(s)
evt_1P1HU1BjkTrfSxQwMipaRopN

What have you already attempted?
I currently have enabled test mode and I was ready to begin creating the webhook.

What are you working on?
I am working on a clients Stripe to implement a third party fraud software (Riskified).

#

@main fog pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
configuration.returnURL = "bashappbeta://" + "stripe-redirect"

.onOpenURL { url in
let stripeHandled = StripeAPI.handleURLCallback(with: url)
if (stripeHandled) {
return
}
// Other code to handle deeplink
}

Question
When I set the returnUrl in my SwiftUI app and I finish an iDEAL transaction, onOpenUrl gets called with this url: "bashappbeta://stripe-redirect?payment_intent=pi_3PLNhhI6FPXZGnXb1U3Az0hd&payment_intent_client_secret=pi_3PLNhhI6FPXZGnXb1U3Az0hd_secret_β€’β€’β€’xNCM&redirect_status=succeeded", but stripeHandled is false. This also results in the in-app browser not closing.

What have you already attempted?
I tried using a custom scheme like in the code above and a universal link.

What are you working on?
In-app event tickets.

#

@earnest jetty pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Is there a way to test webhooks locally in test mode other than Stripe CLI?

Related Event ID(s)
evt_3PLNYqRrtsKOar1b0aW1gsx6 evt_3PLN9sRrtsKOar1b0WC0u7wK

What have you already attempted?
I have created webhook endpoint. It's purpose is to save payment metadata to order table in my own DB after a successful transaction. The reason why i need some different way to test webhook is because cli generated events dont have metadata which i assign to every transaction. I have attached 2 events. First one is generated by cli and doesn't have metadata i need, and second one represents example of intent i need to process

What are you working on?
Ecommerce shop (React TS + Node.js)

#

@brisk nymph pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I need to listen to the webhook when the user subscription cycle starts or renew what the user needs to pay.

Related Event ID(s)
N/A

What have you already attempted?
I tried to listen to nvoice.updated, it is not working if users have applied a discount code at the time of checkout

atomic shuttleBOT
#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
How to payout from Stripe connect

Related Request ID(s)
-

What have you already attempted?
I have create Stripe connect via API and I do purchase transaction and then the money already add into Stripe connect's wallet then I want TO DO payout from book bank account, do you have any suggestions?

What are you working on?
Add bookbank account into Stripe connect and do payout

#

@thorny shale pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
i created a subscription and it failed to auto-renew

What actually happened?
created subscription for customer `cus_QBlf9HOr4tpg0Z`

Reproduction Steps
subscription = stripe.Subscription.create(
customer=customer_id,
items=[{'price': price_id}],
default_payment_method=payment_method_id,
expand=['latest_invoice.payment_intent'],
discounts=[{'promotion_code': coupon_code}] if coupon_code else [],
)

Question
subscription = stripe.Subscription.create(
customer=customer_id,
items=[{'price': price_id}],
default_payment_method=payment_method_id,
expand=['latest_invoice.payment_intent'],
discounts=[{'promotion_code': coupon_code}] if coupon_code else [],
)

atomic shuttleBOT
#

@thorn holly pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to solve the errors that I am facing in creating a stripe embedded form. The Stripe embed checkout page opens but, Loads for few seconds and then throws this error. I don't understand If It's a server Issue, ports, code, or I don't know. Also, In my terminal authentication is done but webhook events are not being updated/forwarded on my stripe dashboard. Can you guys help me out please.

Related Request ID(s)
http://localhost:4242/stripe/public/checkout.html

What have you already attempted?
I have installed packages, including stripe CLI and composer, brew, npm, php, xampp, node.js packages

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. That I can I embed in my shopify website.

atomic shuttleBOT
#

@small fable pressed the πŸ“‘ API button in #help to ask a question:

Question
How to get the checkout session information using Payment Intent ID?

Related Request ID(s)
req_VRBjYlhfIJA7Gt

What have you already attempted?
I tried with $stripe->checkout->sessions->retrieve(
pi_3PLNzCFH4a0ApuQO1iKeqnQN
);
Getting, no such checkout.session: pi_3PLNzCFH4a0ApuQO1iKeqnQN

#

@ivory stone pressed the πŸ“‘ API button in #help to ask a question:

Question
Does Stripe Checkout allows 100% discount code on the checkout page, without passing the customer facing cone on the client side website?

Related Request ID(s)
https://docs.stripe.com/api/discounts/object

What have you already attempted?
I can do the payment page and pricing table 100% discount, but not working on the Stripe hosted checkout page?

What are you working on?
Payment for ads on a job board.

#

@exotic shadow pressed the ❌ An Error button in #help to ask a question:

Error Message
The bank account owner does not match your legal business name.

Question
How to activate my account on stripe?

What have you already attempted?
I am trying to activate my account from past few days. I am getting the above mentioned error even though both are same

What are you working on?
How can I resolve this?

#

@glass umbra pressed the πŸ“‘ API button in #help to ask a question:

Question
I have doubt about how do to, in my case i wanna create like a OF, for example the platform provide subscription with a percentual to sells that sell subscription to user

Related Request ID(s)
Subscription

What have you already attempted?
In this case i need create a product to sells?

#

@white matrix pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to test out decline and insuffient cards on paymentIntents and subscriptions but it won't let me add those cards to user

Related Request ID(s)
none

What have you already attempted?
none

What are you working on?
none

#

@vocal stump pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to use Stripe Elements to automatically handle payment intents with all activated payment methods (per recommendation) via automatic_payment_methods, however the payment methods we have activated on the test account on the dashboard do not show up (MobilePay, AliPay, ideal). The account is of course in test mode (acct_1BoB66Lj11Ytqxjb). Isn't Stripe elements supposed to show all available payment methods?

Related Request ID(s)
req_fZfWtY9epQfFPp

What have you already attempted?
See above.

What are you working on?
Upgrading our payment flow to automatic_payment_methods

#

@sudden cypress pressed the πŸ“‘ API button in #help to ask a question:

Question
We have off-session payments which are blocked by a 3DS request, it result in a payment_intent with a requires_action status that the customer cannot fulfill since it's an off-session payment. We plan to send a message to the user with a link to their subscription panel and to allow them to complete the 3DS identification required in the payment_intent. I can't find a way to resume a payment_intent, can you point something to me ?

Related Request ID(s)
pi_3P49CkDt3kpSVRW72Eb9csb7

What have you already attempted?
We used to work with stripe subscriptions for our subscriptions, it seems that these 3DS challenge used to be returned as an error transaction_not_allowed, now we may want to start another fresh payment_intent and just forget about the one which require an action to complete.

What are you working on?
We are a company that sell digital products and subscriptions, our subscription is based on off-session payments.

#

@torpid marsh pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I would like to know if there is any way to validate VAT number when using Stripe Checkout. Or at least any any insight if this is going to be possible one day.

Doc/Guide Links
I've seen all of them.
https://docs.stripe.com/payments/checkout

What are you working on?
An e-shop at misterhorse.com

atomic shuttleBOT
#

@slender glacier pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using [Stripe’s OAuth2 process](https://docs.stripe.com/stripe-apps/api-authentication/oauth) to authenticate a Stripe account to use my SaaS. I have the access token as well as the refresh token - that part I got working.

But when I now try to interact with the Stripe API on behalf of the authenticated user, I get an error: *"Expired API Key provided: rk_test_*********************************************************************************************iYhRFo. Platform access may have been revoked.”*

I’m unsure why this would be expired, as Stripe just provided me with the key. I think I

Related Request ID(s)
1

What have you already attempted?
I have tried using it two ways. On is using Node.js:

const Stripe = require(’stripe’).Stripe;
const s = new Stripe(’ACCESS_TOKEN’);
s.products.list({ limit: 1 });

As well as using cURL:

curl -G https://api.stripe.com/v1/products
-u "rk_test_*****:"
-d limit=3

I’m unsure why it’s not working. Also, I’m unsure if I can just pass an access token to the Node.js client like this.

What are you working on?
Potio.cc

#

@jagged sluice pressed the πŸ“‘ API button in #help to ask a question:

Question
When I load onboarding component second time, component show me error "You tried to claim an account session that has already been claimed.", which posible to do for canceling this error?

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_eSvXlYFjSjORLc?t=1716901220

What have you already attempted?
We tried to use same session token, and creating new one

What are you working on?
Event planing platform, using stripe connect for gifts

#

@late relic pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
customer to set receive a free trial with the yearly subscription froze on check out and upon clicking purchase again had been charged the yearly subscription immediately

What actually happened?
the page froze for a small percentage of my customers, prompting users to press the purchase button again and they were charged with the subscription directly (treated as a user that already used a free trial)

Reproduction Steps
purchase at checkout where there is a free trial available (not easily reproduced, since we only see this happen to 1-2 users out of around 20 users

Question
we have also set the user to only have one subscription at a time so we are surprised that the second transaction went through when they already had a free trial. how was this possible?

What are you working on?
we are using angular + ionic as a website and the stripe.checkout.sessions.create to create the checkout page

#

@main fog pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
SwiftUI:

@main
struct MainView: App {
@UIApplicationDelegateAdaptor(AppState.self) var appState
var body: some Scene {
WindowGroup {
MainNavigation()
}
}
}

Question
Not sure why my previous thread was deleted, but I tried and looked around in the example SwiftUI view and the only real difference I can find is with how the main app is set up. Mine is SwiftUI and the example is UIKit. Do you have an example project that is fully SwiftUI?

What have you already attempted?
I tried copying ExampleSwiftUIPaymentSheet to my app and then the same issues occur.

#

@dawn folio pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I created a coupon in test mode, which allow user to get 100% of reduction for 3 months.

What actually happened?
The coupon isn't accepted in the checkout in test mode

Reproduction Steps
I trully don't know for this

Question
I'll put screenshots after submitting

What are you working on?
Why it isn't accepted in the checkout

#

@trim crypt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How to accept recurring payments from customers depending on which creators they are susbscribed to. Creators can choose their price. If a creator updates its price, it must update on customer subscription

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
I am building creator economy app

#

@warm sinew pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I am having an issue with the connected account, I used to have stripe onboarding with connected custom account, i would generate the account link to fill the data and I was able to set the data in the account, now it asks for email and phone number when generating the account link before it was just asking for business/personal data

Related Request ID(s)
req_rMBOAr4NBBr30h

What have you already attempted?
/v1/account_links

#

@fathom gorge pressed the πŸ“‘ API button in #help to ask a question:

Question
can you make stripe connected account pay the stripe fee of transaction when using stripe connect express

Related Request ID(s)
$payment_intent = \Stripe\PaymentIntent::create([ 'amount' => ($total * 100), 'currency' => $use_currency_code, 'customer' => isset($payment_method['payment_customer_id']) ? $payment_metho

What have you already attempted?
$payment_intent = \Stripe\PaymentIntent::create([
'amount' => ($total * 100),
'currency' => $use_currency_code,
'customer' => isset($payment_method['payment_customer_id']) ? $payment_method['payment_customer_id'] : '',
'payment_method' => isset($payment_method['payment_method_id']) ? $payment_method['payment_method_id'] : '',
'off_session' => true,
'confirm' => true,
'description' => $payment_description,
'transfer_data' => [
'amount' => ($total * 100) - ($data->commission * 100) - ($data->service_fee * 100),
'destination' => $merchant->stripe_connect_

What are you working on?
stripe connect express

atomic shuttleBOT
#

@rancid frost pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How can I config my payment link to send custom fields to the webhook?

Related Event ID(s)
-

What have you already attempted?
I have configured my payment link to have a custom mandatory numeric field, but when the webhook receives the invoice, custom_fields is null and metadata is a empty object

#

@tired zodiac pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
https://connect.stripe.com/oauth/token?grant_type=authorization_code&code={AUTH_CODE}&client_secret={SECRET_KEY}

Question
I'm trying to replace that call into using RAK, but if I replace the old secret key by new generated RAK, I got authentication error.

What have you already attempted?
I tried to add client_id to the query string, and also add "bearer {RAK}" in the Authentication Header of the request, but still failing with same error.

What are you working on?
After Stripe Connect's form is completed in the front-end, I want to generate OAuth access token for my customer using the new RAK.

#

@queen mulch pressed the πŸ“‘ API button in #help to ask a question:

Question
A process in my application creates a new customer in Stripe via the API. Another process then searches for the customer by email, but often finds nothing despite correct parameters.

I've found that if the second process waits 5-50 seconds before searching, it can usually find the customer. This suggests a delay in Stripe's propagation of the new customer. However, even after 50 seconds, the customer is sometimes still not found.

Related Request ID(s)
I don't have one

What have you already attempted?
I created a retry mechanism.

What are you working on?
My application completely relies on stripe to process payments and manage subscriptions.

#

@solid ivy pressed the πŸ“‘ API button in #help to ask a question:

Question
We are taking cards from users and validating it with 1 euro payment and refunding it. In the next payment it is still asking for 3d authentication again and again. How can we by pass that?

Related Request ID(s)
Dashboard transactions

What have you already attempted?
All

#

@timber knoll pressed the πŸ“‘ API button in #help to ask a question:

Question
How update subscription_schedule simply ?

My process :
- checkout mode setup
-on webhook checkout completed :
i create sub schedule with subId ( req_sxBNKpU7IvjM4f )
..then now i want just update to add iteration :12

im not sur to understand log error about date start.. it's not already set from subscription ?

Related Request ID(s)
req_ecshaduwYYMjHo

What have you already attempted?
req_sxBNKpU7IvjM4f

#

@thin kite pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey, I have the following problem. When sending a finalize request via Stripe PHP library for an already finalized invoice I get no error message code, but when I do the same in the Stripe CLI it shows the message_code draft_invoices_only. Can you tell me how to fix this.

Related Request ID(s)
req_11oMCE8RIAMrev

What have you already attempted?
I downloaded the PHP library, three weeks ago. I looked up the Logs and there is also no message code for the PHP Request.

#

@shut steeple pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to charge a payment methods off session but stripe says to me that i cannot charge this payment methods because is not attached to the customer;
i'm using the checkout module on frontend with this snippet
payment_intent_data: {
setup_future_usage: 'off_session',
receipt_email: email,
},
saved_payment_method_options: {
allow_redisplay_filters: ['always'],
payment_method_save: 'enabled'
},

Related Request ID(s)
cus_QBoVBX80hETlmf

What have you already attempted?
tentative to change the allow redisplay filter

atomic shuttleBOT
#

@buoyant cipher pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<?php $payment_intent = \Stripe\PaymentIntent::create([
'amount' => $amount_in_pence,
'currency' => 'gbp',
'payment_method' => 'card',
'payment_method_types' => ['card'],
]);

var cardStripe = Stripe('<?php echo $publishable_key; ?>');
const cardOptions = {
mode: 'payment',
amount: 1000,
currency: 'gbp',
paymentMethodTypes: ['card']
};

    const elements = cardStripe.elements\(

Question
Trying to confirm payment using PHP and payment element but not too sure how to finish it

What have you already attempted?
create intent on submission in php

What are you working on?
general card payment form

#

@median geode pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to trigger the reciept sending to the customer's email through the api rather than the dashboard

Related Request ID(s)
None

What have you already attempted?
Searching on there :
https://docs.stripe.com/receipts

What are you working on?
Online marketplace

#

@worn crystal pressed the πŸ“‘ API button in #help to ask a question:

Question
On May 2 I reached out to Stripe Support Chat with this question but I wasn't able to get an answer yet, so trying through Discord now.

We have a refunded payment that is still showing pending: https://dashboard.stripe.com/payments/py_1P8QtJAeTljDDHLYlRHHlWfC
We were expecting to receive a charge.refund.updated event that would confirm the refund was successful. Is that the right assumption here?

So far we only received a charge.refunded event but it says the refund is still pending https://dashboard.stripe.com/events/evt_1P9rltAeTljDDHLYQBxg2nEK

Related Request ID(s)
Doesn't apply

What have you already attempted?
Doesn't apply

#

@orchid nest pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/embedded_checkout/init

Question
How do I change the appearance of this element? Am I missing something

What have you already attempted?
Looked through the spec to find an appearance option, but it was not anywhere I could find. Is this not possible with this element?

What are you working on?
card payment setup for future payments

#

@cedar knot pressed the πŸ“‘ API button in #help to ask a question:

Question
I need help implementing 3DS in my checkout flow. I have a setup checkout where I get customer's card. After getting their payment method, I create an auth hold payment and create a subscription schedule for them.

How can I integrate 3DS in my current checkout flow?

Related Request ID(s)
req_AmkApK1kpa0Cug

What have you already attempted?
I enabled 3DS rules in stripe radar and getting payments with status `requires_action`.

What are you working on?
Apartment Booking

#

@distant oriole pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const paymentMethod = await stripe.createPaymentMethod({elements});

if \(paymentMethod.error\) return;

const { error } = await stripe.confirmCardSetup\(
  intent.data.data.clientSecret,
  { payment\_method\: paymentMethod.paymentMethod.id }
\);

if \(error\) return;

Question
Hello!

Is it possible to attach the newly created payment and make it the default_payment_method for invoices at once ?

Thank you!

What have you already attempted?
What we're doing currently is we create the payment method first, then we do another request to our api, which then set it as default payment method :
$stripeUser->invoice_settings = ['default_payment_method' => $paymentMethod];
$stripeUser->save();

#

@crystal mauve pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
setup_future_use should override the new payment_method_save when using "off_session".

What actually happened?
Enabling the payment_method_save box in the managed checkout page of Stripe, if the user does not explicitly tick the "save payment for future use", we cannot attach the payment method to the customer, even if we specify the "off_session". This breaks our recurring payment since we are a subscription platform. deleting the "payment_method_save" solve the problem

Reproduction Steps
create a checkout component with future payment off_session and try to do a payment. the payment method is correctly attached to the customer.
Now create a checkout component but also add the payment_method_save option. now try to pay: if you don't check the box, the payment and customer are NOT attached, thus breaking the recurring payments

Question
What can we do now? We added payment_method_save after receiving your email that states that it's only for autofill feature, and now we are experiencing tons of failing in triggering the recurrent payments. the only option is to delete the payment_method_save option and manually attach customer to payment method but this does not work via API

What are you working on?
hotfix

#

@tawdry sigil pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I am trying to enable apply pay for the local testing but unable to. can you please help?

Question
I am trying to enable apply pay for the local testing but unable to. can you please help?

What have you already attempted?
I am trying to enable apply pay for the local testing but unable to. can you please help?

#

@willow ravine pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi there! We'd like to send payouts to multiple bank accounts for our business, but it seems like we can only send payouts to a single account. Is there a way to have multiple bank accounts associated with a platform account, and use the API to select the account you'd like to pay out to?

Related Request ID(s)
N/A

What have you already attempted?
I've manually switched the bank connected with our platform account, but it seems we can only have one connected at a time.

#

@terse scroll pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I tried to remove the lookup key on one of my products, but every time I close and reopen the form, the lookup key is still there.

(I am in test mode)

What actually happened?
The lookup key remained. I can change it to other values, but I cannot delete it completely (empty string)

Reproduction Steps
Edit the price of a product, delete the value of the field "lookup key" and press "Update"

Question
Why can I change it, but not remove it altogether?

What are you working on?
An Invoicing Saas

#

@steep crystal pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using the paymentelement and attempting to create and confirm. I am getting this error: Request req_NPTfFiDykXGOZQ: Missing required param: payment_method_data[card].

Related Request ID(s)
n/a

What have you already attempted?
stripe.PaymentIntent.create(
customer=profile["stripe"]["customer_id"],
amount=total,
currency="usd",
metadata={
"invoice_id": invoice_id,
"cost": os.getenv("CREDIT_COST"),
"quantity": qty,
"subtotal": subtotal,
"tax": tax
},
payment_method_data={
'type': type,
'billing_details':{
'name':name,
'address':{
'city':city,
'line1':line1,
'line2':'',
'state':state,
'country':'US',
'postal_code':postal_code
},
},
},
confirm=True,
)

What are you working on?
react frontend python backend

#

@median geode pressed the πŸ“‘ API button in #help to ask a question:

Question
When creating a transfer to an Express connect account (in a separate charges and transfer flow), is it possible to include more information that the connect account could view?

Related Request ID(s)
None

What have you already attempted?
Creating a transfer through the api to a specific connect account, adding the description parameter and add some more data through metadata. All is visible from my dashboard, howver on the express dashboard, it just writes a generic message in the description field "Transfer from {BusinessName}" and I would like to add references to the order, or whatever for this account to be able to dig deeper in my app and find info about it

What are you working on?
Online marketplace

#

@cobalt anvil pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/references/testing#physical-test-cards

Question
Do physical test cards work with Tap to Pay? The docs say they work with your "pre-certified readers", but it's unclear if that includes provisioned phones using TTP. Thanks for the clarification.

What have you already attempted?
I don't have any physical test cards yet, so I'm unable to answer the question on my own.

What are you working on?
TTP integration

#

@olive ingot pressed the πŸ“‘ API button in #help to ask a question:

Question
hello, what's the steps for create a bankaccount with iban and assciate it to a stripe connect account using Stripe.NET , i need to create a complete activated account, from my server.

Related Request ID(s)
req_j0IYp7mtmzjfcz

What have you already attempted?
I've created account registration and bank account, but the account is not active missing data, the document id is required? how to send it through stipe.net api? what other data I have to send for have an active stripe connect account?

What are you working on?
building a web api that manage transaction for a service

#

@dreamy loom pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm getting an error that I never had

Related Request ID(s)
req_o9OViwjDidJ0m1

What have you already attempted?
I have the error in production and cannot make several retries but I need to know whether something changed because the code didn't and that was the way it was before

#

@keen kestrel pressed the πŸ“‘ API button in #help to ask a question:

Question
We are trying to get the Woocommerce Product Name/Description (which for us is the Event Name) to appear in the Stripe Payments.

Related Request ID(s)
None

What have you already attempted?
I've added the below to the *Get Order Data

$product = $product->get_product();
$event_title = $product->get_name();
$metadata[ __( 'Event Title', 'woocommerce-gateway-stripe' ) ] = 'Event Title: ' . sanitize_text_field( $event_title );

What are you working on?
Event site built with Woocommerce and FooEvents accepting payments through Stripe plugin

#

@vocal stump pressed the πŸ“‘ API button in #help to ask a question:

Question
Followup to my previous thread about Payment Intents and client confirmation. I did some testing, and if you do this:

  1. Server creates intent
  2. Client loads intent on the frontend
  3. Server changes the amount (via different source)
  4. Client confirms the payment intent

It will simply charge the client the updated amount, which won't show anywhere in the UI to client. It doesn't error.

Related Request ID(s)
pi_3PLT4mLj11Ytqxjb2ls5oHpw

What have you already attempted?
I've tried what I explained above, but I'm unsure how to proceed in this case.

What are you working on?
Automated payment methods

#

@lofty snow pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I create a button from an invoice using web app to deeplink it straight to ios stripe dashboard -> tap to pay?

Related Request ID(s)
None

What have you already attempted?
None, I'm still ooking for docs

#

@terse scroll pressed the πŸ“‘ API button in #help to ask a question:

Question
I can't access the prices of my product in all the configured currencies

Related Request ID(s)
req_9fKGe49aXkJNMW

What have you already attempted?
I tried to get the prices like this:

const prices = await stripe.prices.list({ product });

And all I got are the 2 prices in EUR, instead of USD. I also tried this:

const prices = await stripe.prices.list({ product, currency: "usd" });

But it still returns the prices in EUR

atomic shuttleBOT
#

@steep crystal pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it ok to redirect a user via stripes redirect? The redirect url contains the payment_intent as well as the payment_intent_client_secret. Is it ok to show the secret in the url or is there a way for me to remove this?

Related Request ID(s)
na

What have you already attempted?
?payment_intent=pi_3PLTWHHWDxdn0UDv1R3tnTkk&payment_intent_client_secret=pi_3PLTWHHWDxdn0UDv1R3tnTkk_secret_β€’β€’β€’mkn0&redirect_status=succeeded

#

@jaunty cipher pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
During signup for subscription a user entered their payment details and a coupon code for a month free (coupon was generated inside of Stripe Dashboard) After the month passed the user's credit card would be charged.

What actually happened?
User successfully entered payment details and coupon code, KYC, etc gaining full access to the platform. When the 30days passed the CC was declined: code: "card_declined" decline_code: "try_again_later" (no other info provided)

Reproduction Steps
Sign up flow gaining access to the platform.

Question
Should Stripe have caught the declined payment during the signup when adding payment details and the coupon code was added?

What are you working on?
finance app

#

@languid sun pressed the πŸ“‘ API button in #help to ask a question:

Question
In the docs here: https://support.stripe.com/questions/support-for-coupons-using-payment-intents-api, to use a promo code with payment intent, we just adjust the price accordingly. The next step would be to mark the promo code as applied/redeemed in our API on purchase, but there is no code like stripe.promotionCodes.redeem(args).

Is there an API to mark a promo code as redeemed? I dont see any in your docs. if not, is there a suggested workaround?

Related Request ID(s)
none found

What have you already attempted?
When creating the payment attempt, I'm calling a separate API that goes to stripe, validates a promo code, gets the $/% off, and creates a new payment intent with that amount to charge. This works, and I've successfully made purchases in our test env this way, but nothing marks the coupons/promo codes as redeemed.

Note - we are using payment intents

#

@cerulean pasture pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I collect an email/phone number at the beginning of a sale through the stripe terminal (right now the bbpos) and send that info to a webhook before we start the transaction, and in the same vein can I have the same collection (if hasn't been entered by cashier or customer)

Related Request ID(s)
none

What have you already attempted?
I have read through the documentation but have not found any useful examples to try

What are you working on?
Point of sale platform

#

@chilly cargo pressed the ❌ An Error button in #help to ask a question:

Error Message
"error": "failed to create stripe account {"status":400,"message":"card_issuing can only be requested if your platform has been onboarded on Stripe Issuing already.}

Question
Im working on a project to let business owners issue virtual cards for employees.
I setup the platform and followed the integration guide to create Connect accounts. Everything works as expected except the fact that i can't create a Connect account with the `card_issuing` capability. If i try to issue virtual cards directly from MY PLATFORM dashboard i can do it easil

What have you already attempted?
I tried to create a Connect account without the `card_issuing` capability and add it afterwards but i get the same error. I tried doing it from the dashboard but all capabilities available are Payments related.

Reproduction Steps
Call the endpoint to create a new Connect account with the `card_issuing` capability.

My Connect platform details:
- Account creation: Embedded onboarding components
- Dashboard experience: Embedded account components
- Stripe fee collection: Stripe
- Negative balance liability: Stripe
- Requirement collection: Stripe

#

@wraith dock pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello! I would like clarification on the Stripe Disputes API, regarding balance_transactions. It says this a "List of zero, one, or two balance transactions ..."

My question is: for a WON or LOST dispute, is there always a balance_transaction? Or are there cases of WON/LOST disputes where balance_transactions are an empty array?

Related Request ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/api/disputes/object#dispute_object-balance_transactions

What are you working on?
We want to automatically retrieve the lost dispute "fee" amount from balance transactions, in the event of a charge.dispute.closed webhook

atomic shuttleBOT
#

@deft sail pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
get a product object when calling from a subscription object using this code line:
subscription.getItems().getData().get(0).getPrice().getProductObject()

What actually happened?
getProductObject returns null when trying to get it from subscription object

Reproduction Steps
subscription.getItems().getData().get(0).getPrice().getProductObject()

Question
how to get product object from a subscription object?

#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to accept the mandate for a ACH Payment Method created using the Payment Element on the web?

Related Request ID(s)
None

What have you already attempted?
Reviewed the API docs but not finding anything relevant.

What are you working on?
API Integration

atomic shuttleBOT
#

@wild patrol pressed the πŸ“‘ API button in #help to ask a question:

Question
I wanted to know about API rate limiting.
1.Is it per account based or api based or method based?
2. How much is the rate limit?

Related Request ID(s)
none

What have you already attempted?
Looked into docs but didn't get an answer I was looking for

atomic shuttleBOT
#

@quasi hare pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to take part in the upcoming base hackathon and have some questions about feasibility study for the project from the sponsors, but I noticed there aren’t any channels within base discord server

Related Request ID(s)
On-ramp API

What have you already attempted?
I want to use the on-ramp api for the purpose of building a project on it

What are you working on?
I am building web2 to web3 payments platform to pay for goods on web2 and maintain the proof on chain without having the user to go through he hassle of converting the crypto to Fiat before using it

atomic shuttleBOT
#

@stoic jasper pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Can a Shopify API be called to place an order while processing a Stripe payment, and can that order status then determine the success of the Stripe checkout? If possible, what is the best way to go about this?

Doc/Guide Links
https://docs.stripe.com/payments/quickstart
https://shopify.dev/docs/api/storefront

What are you working on?
A SaaS product that requires calling the Shopify Storefront API to place orders for the user.

atomic shuttleBOT
atomic shuttleBOT
#

@slender dawn pressed the ❌ An Error button in #help to ask a question:

Error Message
Cannot create a destination charge for connected accounts in AT because funds would be settled on the platform and the connected account is outside the platform's region. You may use the `on_behalf_of` parameter to have the charge settle in the connected account's country. For more information on `on_behalf_of`, see https://docs.stripe.com/connect/destination-charges#

Question
I am using the "Stripe Connect Marketplace" plugin in Bubble.io, I have set it up to create transactions and it's working on that side, but when I'm doing a Test transaction with the test card, I get this error.

What have you already attempted?
I have looked on Stripe to see if my location was set somewhere else, but I can't see anything that I need to change.

Reproduction Steps
I selected the button that triggers my checkout session and transaction to Stripe. Filled out the Stripe checkout page with the Stripe test card, set in the United States.

What are you working on?
A Bubble.io app utilizing Stripe for checkout.

#

@languid sun pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to use a coupon + PaymentElement?

I know that coupons/promo codes are not supported with paymentIntents, and it is recommended to use a higher level payment object like a checkout. However, when I look at the docs for a PaymentElement (stripe react) all documentation suggests you need to create a payment intent and pass the secret to the client. Does this mean that we cannot use a PaymentElement with a coupon?

Related Request ID(s)
#dev-help message

What have you already attempted?
I've tried creating a payment element without a payment intent, but can't get it to work.

I've tried to create a checkout session, but then I cannot render custom content on the checkout page.

atomic shuttleBOT
#

@humble rivet pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to upgrade our stripe api version. and I updated it on stripe dashboard. however I found there is another way to set version on request header. does it mean if I don't add version on header, it will be default use whatever version on dashboard. and once I add version on header, it will use that version?

Related Request ID(s)
N/A

What have you already attempted?
updated the version on stripe dashboard, and also tried to set version on request header. as I only want to upgrade api version for a specific endpoint and don't want to affect others.

What are you working on?
api upgrade

#

@wicked fog pressed the πŸ“‘ API button in #help to ask a question:

Question
When working with stripe connect, are sellers allowed to fill in their business details, such that they are shown to their buyers directly, for example, on receipts.

Related Request ID(s)
n/a

What have you already attempted?
read through the api documentation

What are you working on?
Marketplace

#

@fallow pecan pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a test (verify) code for verifying authenticators when connecting a new test account with Stripe Connect?

Related Request ID(s)
.

What have you already attempted?
I tried some example codes, but every time I need to verify the code with my Google Authenticator app which takes a lot of time while developing.

What are you working on?
A platform which allows vendors to connect their own Stripe account with my platform.

#

@clever sierra pressed the πŸ“‘ API button in #help to ask a question:

Question
is it possible to combine a traditional invoice with line items that are a one-time payment with a subscription item under the same invoice with Stripe's API ?

Related Request ID(s)
req_0rxtF7tblh4u1O

What have you already attempted?
I am using make.com I can create invoices with multiple line items and I want to know how to add a line item for a subscription payment?

Tried adding an invoice item and manually adding the subscription price, this resulted in an error "The price specified is set to `type=recurring` but this field only accepts prices with `type=one_time`."

What are you working on?
Trying to automatically create invoices and subscriptions from an Airtable database using Make.com

atomic shuttleBOT
#

@tawdry sigil pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I have Payment element and I can see apple pay as an APM. If I select apple pay I want to do some functionality in my code. How can I know which payment method is being selected?

Question
I have Payment element and I can see apple pay as an APM. If I select apple pay I want to do some functionality in my code. How can I know which payment method is being selected?

What have you already attempted?
I have Payment element and I can see apple pay as an APM. If I select apple pay I want to do some functionality in my code. How can I know which payment method is being selected?

atomic shuttleBOT
#

@cerulean pasture pressed the πŸ“‘ API button in #help to ask a question:

Question
Trying to use 'on_behalf_of' => '{{CONNECTED_ACCOUNT_ID}}',
'transfer_data' => ['destination' => '{{CONNECTED_ACCOUNT_ID}}'], getting "error": {
"code"
:
"resource_missing"
,
"doc_url"
:
"https://stripe.com/docs/error-codes/resource-missing"
,
"message"
:
"No such reader: 'tmr_FRUyjgqri7Yfl6'"
,
"request_log_url"
:
"https://dashboard.stripe.com/logs/req_C0NiyBOM60khtc?t=1716943056"
,
"type"
:
"invalid_request_error"

Related Request ID(s)
"https://dashboard.stripe.com/logs/req_C0NiyBOM60khtc?t=1716943056"

What have you already attempted?
I added in, and tried to run a charge and received production.ERROR: No such reader: 'tmr_FRUyjgqri7Yfl6'

What are you working on?
Trying to move to on behalf of for connected accounts to control the rate they are charged.

atomic shuttleBOT
#

@untold jolt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Objective: Create a single invoice for multiple subscriptions that share the same billing cycle and ensure that once the consolidated invoice is paid, the individual subscription invoices are not double-charged.

Context:

Each customer can have multiple subscriptions.
Each subscription has one line item/plan.
At the end of the month, you want to generate a single invoice for all subscriptions with the same billing cycle.
After the consolidated invoice is paid, we need to handle the individual subscription invoices to prevent double-charging the customer.

I would like to know if it possible to do the above with Stripe.
Also, what's the best way to implement it

Doc/Guide Links
https://support.stripe.com/questions/batch-multiple-transactions-from-one-customer-into-a-single-charge

What are you working on?
Building a new billing system to handle multiple subsciprtion per customer, and consolidate those subscription invoice into one

#

@signal tinsel pressed the πŸ“‘ API button in #help to ask a question:

Question
Questions regarding passing the stripe fee to the customer when taxes are included

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_QCO1XQfURb6qdr

What have you already attempted?
Doing the calculation before tax, after tax, including the fee + taxe on the fee itself... its confusing !

(and the % of that fee keeps increasing and I am lost !)

What are you working on?
Trying to pass stripe fee to customer. Just unsure when taxes are involved what to do

#

@last token pressed the πŸͺ Webhooks button in #help to ask a question:

Question
My system is currently using version "2022-11-15" however I'm not able to create a webhook in my test environment with that version.

Related Event ID(s)
Any

What have you already attempted?
My overview shows the version i need and that it has been used

atomic shuttleBOT
#

@deft river pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any issues that if upgrade the web hooks api version from 2015 to latest 2024 without change default api version? How is the bestpractice for revert back if any issue came?

Related Request ID(s)
N/A

What have you already attempted?
We have testing that case and there is no issues. Just want to get more confirmation

What are you working on?
upgrade web hooks api version

atomic shuttleBOT
#

@crystal anvil 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?platform=android&lang-android=java

Question
Is it possible to have a google pay button in the Stripe Payment Sheet?

What have you already attempted?
I've already tried the basic code sample using the PaymentSheet.GooglePayConfiguration part. The button doesn't show up.

What are you working on?
Working on an app where people can hire pros for work.

atomic shuttleBOT
#

@gentle kindle pressed the πŸͺ Webhooks button in #help to ask a question:

Question
if first invoice i update metadata. it will reflect in next due invoice invoice.payment_succeeded webhook

Related Event ID(s)
N/A

What are you working on?
Ecommerce app

atomic shuttleBOT
#

@solid bane 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
Hello,

I am a merchant using Stripe as my payment processing platform. I have a question about Stripe's fee policy and would appreciate your assistance.

If I authorize a payment but later release the funds due to order cancellations or other reasons, will Stripe charge me any fees in such cases? Are there any specific conditions or terms I should be aware of?

Thank you!

What have you already attempted?
I am inquiring about whether Stripe charges additional fees when funds are released due to cancellations. As a merchant, I want to ensure that I have a clear understanding of Stripe's fee policy in such scenarios.

atomic shuttleBOT
atomic shuttleBOT
#

@subtle knoll pressed the πŸ“‘ API button in #help to ask a question:

Question
Can we update subscriptions in bulk?

Related Request ID(s)
--

What have you already attempted?
i am able to update subscription one by one but i want to handle price change if i create a new price (because we can not update price) an i want users to be charged on new price on next billing cycle if i had thousands of users it will take so much time i need a way to update users in bulk

What are you working on?
A nest JS app relevant to quizes

#

@gleaming harness pressed the πŸ“‘ API button in #help to ask a question:

Question
We are trying to submit the card page after entering the card details but we are not getting any response in receiveMessage event after entering the card details.
It worked before but now I'm unable to submit the card page after entering card details in the hosted payment page in Ecommerce.

Can you please help us with this?

Related Request ID(s)
I don't have id

What have you already attempted?
We are trying to submit the card page after entering the card details but we are not getting any response in receiveMessage event after entering the card details.
It worked before but now I'm unable to submit the card page after entering card details in the hosted payment page in Ecommerce.
using this URL https://docs.stripe.com/payments
Can you please help us with this?

#

@thorny shale pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
charge from default(new) payment method

What actually happened?
charge from the old payment method

Reproduction Steps
change the default payment method of user and check the upcoming payment

Question
i change the default payment method of customer and now when I check the new invoice for a subscription I can see it is still charged from an old method

#

@solar swift pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When starting a subscription and collecting payment details afterwards I get a mail before the trial ends where I can enter my payment details. SEPA direct debit is not an option here, only credit card.

What actually happened?
It should be possible to add SEPA Direct Debit information here as well, just like in the billing portal

Reproduction Steps
I enabled SEPA Direct Debit in my payment methods and started a subscription with collect payment details later. Then I get an email before my trial ends where I can enter my payment method.

Question
I want to know how the user can add their SEPA Direct Debit details from the url they get in their email, not only from the billing portal.

atomic shuttleBOT
#

@broken plover pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$checkout_session = $stripe->checkout->sessions->create([ 'payment_intent_data' => [
'capture_method' => 'manual',
'transfer_data' => array(
'destination' => $connected_account_id, // Charge the connected account
'amount' => $tx_ammount,
),
]

Question
Is there a way to know if the credit card is local or international?
Stripe charge more fee for international and I want to add my platform fee if its an international card

What have you already attempted?
I search for documentation but no luck

What are you working on?
Wordpress stripe-connect integration

#

@cedar knot pressed the πŸ“‘ API button in #help to ask a question:

Question
Proration on invoice for subscription schedule after adding a new phase?

Related Request ID(s)
pi_3PLg7BHCPH5IrTb71Tv1HR72

What have you already attempted?
I am trying to update an existing subscription schedule by adding a new phase but the problem is I am getting proration in the end of original phase. i don't want to disable the proration.

What are you working on?
Apartment Booking

#

@iron tulip pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const card = {
number: '4242424242424242',
exp_month: 12,
exp_year: 2025,
cvc: '123',
};
const result = await stripeService.createPaymentMethod(card);

Question
How can I create a payment method for a unit test?I am trying to create a recurring metered subscription with a payment method for a unit test

What have you already attempted?
stripeService.createPaymentMethod

What are you working on?
insurance - subscription model

#

@novel oar pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I would like to set up a payment checkput-link where people can pay monthly but have a minimum time duration.

so they have to pay 149€ per month but the contract lasts for 12 months.

how can I set this up?

Related Request ID(s)
noID

What have you already attempted?
nothing as I donΒ΄t know how

atomic shuttleBOT
#

@quiet chasm pressed the πŸ“‘ API button in #help to ask a question:

Question
why i can't able to ask questions in dev-help in discord?

Related Request ID(s)
why i can't able to ask questions in dev-help in discord?

What have you already attempted?
why i can't able to ask questions in dev-help in discord?

What are you working on?
why i can't able to ask questions in dev-help in discord?

#

@lavish breach pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using dynamic payments with the Payment Element (connected account) and have managed to have it display Google Pay (in addition to cards) but no other options are showing, although I have enabled Afterpay, Klarna, direct debit (from Australia/AUD). Not sure how to debug why it's not showing these other options, I don't see any specific steps that are required for them?

Related Request ID(s)
req_HyNmHdM8YK4C39

What have you already attempted?
The setup described here:
https://docs.stripe.com/connect/ua-enable-payment-guide
https://docs.stripe.com/payments/payment-element

What are you working on?
Building a new integration with the unified accounts beta, frontend react backend java

atomic shuttleBOT
#

@azure shore pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const account = await stripe.accounts.retrieve(results[0].account_id);
console.log(balance.available[0].amount, balance.pending[0].amount)

Question
Why dos it return zero, though in the dashboard the total balance of a connect account that i am retrieving is greater then zero.

What have you already attempted?
I tried retrieving it from the account object but the balance is also not there. So am i using the wrong function? thank you in advance.

atomic shuttleBOT
#

@terse scroll pressed the πŸ“‘ API button in #help to ask a question:

Question
I added Stripe connect to my account, and when a user presses a button, an account gets created, and he is offered an account link.

I tested it with my own Stripe account, but at some point I made the mistake of do a "Delete all test data" without deleting those accounts I created. I later realized that in that case, my ability to delete those accounts was gone. Now I am stuck in my Stripe account with an account I have no use for, and I cannot delete now.

Related Request ID(s)
I dont know where to find the stripe.accounts.del event

What have you already attempted?
I tried to manually send the stripe.accounts.del event with the proper accound_id, but that has not worked

#

@cedar knot pressed the πŸ“‘ API button in #help to ask a question:

Question
Proration happening on adding a new phase by updating a subscription schedule

Related Request ID(s)
req_QgmFuqenTgVXaS

What have you already attempted?
After discussion in my previous thread, I tried to solve this by passing `proration_behaviour: none` to the last phase when creating a subscription schedule. When adding a new phase after that, I am getting the same proration for 5 days remaining time after 01 Jul 2024.
Here is the invoice ID: `in_1PLhMoHCPH5IrTb7kDKbgBR6`

What are you working on?
Apartment Booking Site

#

@gleaming harness pressed the πŸ“‘ API button in #help to ask a question:

Question
We are trying to submit the card page after entering the card details but we are not getting any response in receiveMessage event after entering the card details.
It worked before but now I'm unable to submit the card page after entering card details in the hosted payment page in Ecommerce.

Related Request ID(s)
4242

What have you already attempted?
We are trying to submit the card page after entering the card details but we are not getting any response in receiveMessage event after entering the card details.
It worked before but now I'm unable to submit the card page after entering card details in the hosted payment page in Ecommerce.

#

@faint sleet pressed the ❌ An Error button in #help to ask a question:

Error Message
Rechtstreeks vanuit je postvak beantwoorden
Om te zorgen dat je account weer uitbetalingen kan ontvangen moet je je e-mail controleren voor de vervolgstappen of contact opnemen met ons ondersteuningsteam.

Question
i can't return a transaction or payout

What have you already attempted?
i looked in de FAQ but i can't find it

atomic shuttleBOT
#

@visual obsidian pressed the πŸ“‘ API button in #help to ask a question:

Question
I'll need to know whether the code I'll send here complies with the legal regulations for saving a card & if it's re-usable & whether they'll be listed in payment methods

Related Request ID(s)
-

What have you already attempted?
we were previously sending the full card number over api now we are using setup

What are you working on?
saving cards & reusing them for a seo app subscriptions

#

@tired zodiac pressed the πŸ“‘ API button in #help to ask a question:

Question
Are the Secret Keys getting deprecated and replaced by RAK after 30th June 2024?

Can RAK be used with OAuth endpoint to generate an Access Token?

Related Request ID(s)
not ID

What have you already attempted?
An email from Spreedly says that we should stop using Secret Keys and replace them by OAuth.

So, I tried to use RAK with Stripe's API OAuth endpoint (used by our Stripe Connect integrations) in this way but it didn't work:

https://connect.stripe.com/oauth/token?grant_type=authorization_code&code={AUTH_CODE}&client_secret={RAK}

#

@gleaming harness pressed the πŸ“‘ API button in #help to ask a question:

Question
We are trying to submit the card page after entering the card details but we are not getting any response in receiveMessage event after entering the card details.
It worked before but now I'm unable to submit the card page after entering card details in the hosted payment page in Ecommerce.

Related Request ID(s)
I don't have id

What have you already attempted?
We are trying to submit the card page after entering the card details but we are not getting any response in receiveMessage event after entering the card details.
It worked before but now I'm unable to submit the card page after entering card details in the hosted payment page in Ecommerce.

atomic shuttleBOT
#

@exotic shadow pressed the ❌ An Error button in #help to ask a question:

Error Message
As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports

Question
I am trying to collect indian currency but I am getting this error while creating payment link and trying to make payment

What have you already attempted?
Even when I add address from India it asks me to enter export address

What are you working on?
I am trying to collect money from Indian customers

#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
How to make ready to payout in Stripe Connect faster or instantly? (Test mode)

Related Request ID(s)
-

What have you already attempted?
I already created Stripe Connected account and verified this account.
then I make payment and the money already in wallet but Stripe can't make payout instantly.

Have you any suggestions?, Thank you.

What are you working on?
To do Payout via Stripe Connect's Bookbank account

atomic shuttleBOT
#

@jagged sluice pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi! As we are configuring user onboarding for Stripe Connect (with standard connected accounts), we have a question about business-specific fields. All users that will be signing up for a connected stripe account in our platform are individuals, not businesses (they will be receiving gifts from wedding/b-day invitees). The onboarding for a standard connected account requires business industry and description filled out. Since the users are individuals, what should the input be in those fields or is it possible to pre-fill them for the users or maybe even to omit them?

Related Request ID(s)
no

What have you already attempted?
-

What are you working on?
Event planingn app

#

@smoky dragon pressed the πŸ“‘ API button in #help to ask a question:

Question
How can i check which data send to the bank? In another words - how can i check if cvc, email, name was 100% send to the bank? I use CardCvcElement,
CardExpiryElement,
CardNumberElement and custom name input
and send everything like this
const { error, paymentIntent } = await stripe.confirmCardPayment(
clientSecret,
{
payment_method: {
card: card,
billing_details: {
email: userEmail,
name: name,
},
},
},
);

Related Request ID(s)
--

What have you already attempted?
I checked activity logs for each user inside stripe dashboard and see "customer_name": null, but i sure i send it

atomic shuttleBOT
#

@eager sand pressed the πŸͺ Webhooks button in #help to ask a question:

Question
StripeSignatureVerificationError

I don't understand why my requestbody is not correct because i received it from Stripe directly

Related Event ID(s)
2024-05-29 12:54:16 --> invoice.payment_succeeded [evt_1PLk95FCSjnYa6DBXR1f1mEh] 2024-05-29 12:54:16 <-- [200] POST http://localhost:3001/stripe/webhook [evt_1PLk95FCSjnYa6DBXR1f1mEh]

What have you already attempted?
const sig = request.headers['stripe-signature'];
const raw = request.body;

const payloadString = JSON.stringify\(raw, null, 2\);
const secret = 'whsec\_test\_secret';

const header = stripe.webhooks.generateTestHeaderString\({
    payload\: payloadString,
    secret,
}\);

let event;

try {
    event = stripe.webhooks.constructEvent\(payloadString, header, variables.STRIPE\_WEBHOOK\_SECRET\);
    console.log\(event\)
} catch 

⚠️ Webhook signature verification failed.
StripeSignatureVerificationError: Webhook payload must be provided as a string or a Buffer

What are you working on?
Webhook to know invoice.payment_succeeded after a checkout session

#

@hot heron pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have the following scenatio:

I create a subscription with 3 Items:
Domain1 10€/year
Domain2 10€/year
Domain3 10€/year

Sum 30€/year

This subscription automatically renews at the end of a cycle.

However customers are able to cancel a domain, day Domain2.
They do not get any refunds for the current cycle, they can use the domain until the end of the cycle.

However i need to renew the subscription at the end of the cycle without the cancelled Domain, so that the new subscription contains

Domain 1 10€/year
Domain 3 10€/year

Sum 20€/year

Is it enough to simply update the subscription and removing the Domain 2? Or will this lead to some kind of refund behavior?

Doc/Guide Links
https://docs.stripe.com/api/subscription_items/delete

What are you working on?
Domain Registry

#

@topaz coral pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I ensure that the provided VAT ID to connect account create page was the same that user put on our page? Is there any request hash / key to compare with? Can I block the ability to update VAT field at create account page?

Related Request ID(s)
blbelbleblebleb

What have you already attempted?
Lot of brainstorming, can't figure that out using docs

atomic shuttleBOT
#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to verify if a us_bank_account payment method has a mandate?

Related Request ID(s)
N/A

What have you already attempted?
Reviewed the API documentation and only found a way to retrieve a mandate by id but not by payment method related to it.

What are you working on?
API integration

atomic shuttleBOT
#

@oblique root pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const appearance: Appearance = {
theme: 'flat',
variables: {
...
},
rules: {
'.Input': {
backgroundColor: '#252D3D',
},
...
}
}
const options: StripePaymentElementOptions = {
layout: {
type: 'accordion',
...
},
}
state.elements = props.stripe!.elements({
...
})

state.paymentElement = state.elements!.create('payment', options)
state.paymentElement!.mount('#payment-element')

Question
Styling the payment elements causes problems for the 'Secure, 1-click checkout with Link' the email field it shows does not have the styles I have defined, the other input fields does have the correct styles.

The field gets this css class that overrides my styles: '

.p-PaymentAccordionUnsafeAppearanceTheme--flat :where(.Block) :is(.Input,.CodeInput,.CheckboxInput:not(.CheckboxInput--checked)) {
background: #fff !important;
}

What have you already attempted?
overriden '.EmailField', '.Input', '.LinkEmail' in the rules section

What are you working on?
Styling payment elements in js

#

@median geode pressed the πŸ“‘ API button in #help to ask a question:

Question
I keep getting a not found error when trying to fetch a charge which is in fact a charge (destination payment) associated with a transfer to a connect account. However when inspecting with the Workbench Inspector tab, I can see that the charge does exist

Related Request ID(s)
req_1rKKo5gqIGG1PD

What have you already attempted?
Sleeping for as long as 10s to see if the requests were juste too fast, and still get the same result. I followed this guide :
https://docs.stripe.com/connect/customize-express-dashboard#separate-charges-and-transfers

What are you working on?
Online marketplace

#

@buoyant cipher pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
.then(function(result) {
if (result.error) {
submitBtn.disabled = false;
submitBtn.style.display = 'block';
ldsRing.style.display = 'none';
errorMessageDiv.style.display = 'block';
errorMessageDiv.textContent = result.error.message;
return;
}
else {}

Question
when confirming the payment in JS after it has completed it does not go into the else statement just straight to the redirect

What have you already attempted?
changing to just a await method, wrap it in a .then

What are you working on?
card payment on website

#

@exotic shadow pressed the πŸ“‘ API button in #help to ask a question:

Question
Can we get subscription id from payment link API?

Related Request ID(s)
NA

What have you already attempted?
I have tried to create checkout session and get the subscription id after successful payment. But now I want to get subscription id through payment link API

atomic shuttleBOT
#

@echo field pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Refused to connect to 'https://merchant-ui-api.stripe.com/link/set-cookie' because it violates the following Content Security Policy directive: "connect-src 'self' https://api.stripe.com https://errors.stripe.com https://r.stripe.com https://ppm.stripe.com".

Question
Using Javascript SDK, I just randomly started getting these errors. My site still works fine though.

What have you already attempted?
Made sure my SDK was the latest (https://js.stripe.com/v3/). I also tried the test key and I do NOT get these errors. Only when I use the live Key

What are you working on?
Payment form for our service

#

@upper carbon pressed the πŸ“‘ API button in #help to ask a question:

Question
How to get locale in invoice webhook?
Do we need to get the customer and use preferredLocale? Something like this should be in the invoice already.

Related Request ID(s)
...

What have you already attempted?
checked docs: https://docs.stripe.com/api/invoices/object

#

@knotty ferry pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How do I handle payouts for connected accounts using webhooks? I am currently only able to receive events for payouts to the main company

Related Event ID(s)
None

What have you already attempted?
I tried setting up a test webhook and creating a manual payout to one of my test connect accounts but no webhook calls were generated

What are you working on?
We accept payments on behalf of our connected accounts

#

@noble depot pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Hi, I am trying to charge tax on on of my product. Right now according to my finding, taxes are charged on the basis of customer location. Instead I want to charge tax based upon my company location or same tax rate to all of the customer.

What have you already attempted?
I am able to collect tax for the customer based upon the customer location. For example if I am listening to texas location, all the customer from Texas would be charged tax but not from the other state. In order to charge tax for customer in other state, I need to listen to tax in that particular state as well. This approach didn't actually suit my requirements

What are you working on?
I am working on generating inovice every month that would contain my prodcuct list and I want taxes to be added automatically

#

@twin bloom pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi. Is it possible to have two Elements on the one page? I'm getting the following error

IntegrationError: Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element. It looks like you have other Elements on the page. Refer to https://stripe.com/docs/js/payment_intents/payment_method to confirm a Payment Intent by payment method.

Related Request ID(s)
react api

What have you already attempted?
I'm trying to use two elements on the one page

#

@distant sun pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to migrate to the PaymentElement in our React app. How do I display the payment methods that customers already have saved in the Payment Element. Do I need to fetch and display saved payment methods manually?

Related Request ID(s)
n/a

What have you already attempted?
setting the setup_future_usage param on both the element and the payment intent creation

What are you working on?
Migrating to PaymentIntents

#

@void island pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there away to change the agreement language that appears at the bottom of the stripe iframe checkout via Stripe::PaymentIntent.create (ruby), or is that only controlled via a merchant's stripe dashboard?

Related Request ID(s)
N/A

What have you already attempted?
reading payment intent api

atomic shuttleBOT
#

@finite spruce pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Set a dynamic suffix

Question
Co-badged cards compliance - how to set-up ON sTRIPE

What have you already attempted?
No

What are you working on?
pAYMENT METHODS

#

@subtle crag pressed the πŸ“‘ API button in #help to ask a question:

Question
I cannot figure out how to locally calculate line-item rounding with individual tax rates that mimics how Stripe is rounding Price * Quantity + TaxPerLineItem.

I created an invoice with the following conditions.

$10.50 @ 5.5% tax
$10.50 (2 items, so $21.00) @ 5.5% tax.

The first tax is $0.5775
The second tax is $1.155

Stripe returns an invoice with line item tax amounts of $0.58 and $1.15

Why does it round the first number up by truncates the second number? How do I mirror this rounding method?

Related Request ID(s)
req_Ugug6vHMFXNCBT

What have you already attempted?
I have tried to truncate the numbers' decimals after multiplying them by 100, but that isn't the solution.

I have tried midpoint rounding to-even, but that isn't correct either.

What are you working on?
Our company is building a CRM with interactive integrations with connected Stripe accounts.

#

@topaz coral pressed the πŸ“‘ API button in #help to ask a question:

Question
I have just verified my account in stripe connect, but the verification session either does not exist, or isn't returned from API

Related Request ID(s)
req_VO8umKDG2AVuGv

What have you already attempted?
I do have the access recent detailed verification information permission on my restricted key

#

@magic carbon pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi! We use the payment intent element in order to collect credit card payment. We have a use case that requires that the billing address be in the US. What is the recommended way to achieve that validation?

Related Request ID(s)
N/A

What have you already attempted?
We'd previously set up a radar rule to allow only US issued credit cards, but some customers have international issued cards with a US billing address that we want to allow.

What are you working on?
an MVNO

atomic shuttleBOT
#

@normal dust pressed the πŸ“‘ API button in #help to ask a question:

Question
We are trying to integrate iDeal payment method using intents API. Stripe suggested to use setup intent for creating a payment method (using ideal, but created payment method will be SEPA).

Creating setup intent doesn't create a payment. If we create setup intent first and then use that payment method to create a payment, it's going via SEPA. How to create a payment method for SEPA and do iDeal transaction as well in a single step?

Related Request ID(s)
req_BieoVKSDD9Or27

What have you already attempted?

  1. Tried creating payment intent, only charge is created via iDeal. Unable to link customer. So, no SEPA payment method is created.

What are you working on?
Building ideal integration using payment intents API. First payment should be ideal (CIT along with saving payment method), recurring payments should be in SEPA, which are MIT.

#

@deep lark pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected iDEAL payment option to be shown when presenting payment sheet to user.

What actually happened?
iDEAL payment option is not shown to user. Just credit card capture page is shown to user.

Reproduction Steps
I have a subscription offered in my app. I am first creating a setupIntent from server. Then call initPaymentSheet from frontend and then presentPaymentSheet.

Question
Why I do not see iDEAL payment option? I have enabled iDEAL in stripe dashboard with recurring payments. Is there any specific setting that I am missing?

What are you working on?
I am building a flutter application which offers subscriptions to users.

#

@abstract dagger pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
One our connect users checkout session link charged his client for VAT, but the client is USA based. It shouldn't chart for VAT because of their USA location, right?

What actually happened?
It charged a VAT.

Reproduction Steps
I created a checkout session using the code below (will paste after 5 seconds).

Question
Is there a special setting I or our connect account need to set to prevent USA clients paying VAT?

#

@calm mist pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I got a stripe error resource_missing on a card token.

Question
I'd like more info on what that means, could it be the CC is expired?

What have you already attempted?
This page is not really helpful https://docs.stripe.com/error-codes#resource-missing and I have other charged with this type of token that went through just fine so I am not sure what makes this one different from the others

What are you working on?
monitoring errors

atomic shuttleBOT
atomic shuttleBOT
#

@errant slate pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to use network info - specifically if it's EFTPOS, when calculating the application fee using the "Platform Pricing Tool"

Related Request ID(s)
N/A

What have you already attempted?
Read the docs

What are you working on?
We have a customer in AU who has requested that we charge them less for EFTPOS transacdtions, since our cost is less. So we want to provide lower application fees for EFTPOS transactions

atomic shuttleBOT
#

@ivory socket pressed the πŸ“‘ API button in #help to ask a question:

Question
I am in test mode working on generating invoice previews. I am using Stripe Connect with Stripe-hosted dashboard and direct payouts. I'm stuck on retrieving a customer for a connected account. I can see the customer in the created account in my dashboard, but the API returns Resource Not Found - No such customer

Related Request ID(s)
req_IDLhnzBrbBFhaj, req_DKbnHLCZTPQxls

What have you already attempted?
Verified correct API key for test mode, verified correct customer id and connected account id.

What are you working on?
I'm building a Stripe integration so our clients can bill their customers directly for items created on our platform.

#

@rigid isle pressed the ❌ An Error button in #help to ask a question:

Error Message
We had an issue with our S700 reader and factory reset it.now it seems to just be a blank piece of hardware.

Question
We had an issue with our S700 reader and factory reset it.now it seems to just be a blank piece of hardware.

What have you already attempted?
We had an issue with our S700 reader and factory reset it.now it seems to just be a blank piece of hardware.

Reproduction Steps
We had an issue with our S700 reader and factory reset it.now it seems to just be a blank piece of hardware.

#

@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/connect/destination-charges?platform=ios#set-up-return-url

Question
Hi there, we were wondering if there's a way to integrate different checkouts for different connected accounts, with their own logo, branding and so on. Using express connect we know that we as the platform would be the one's creating the charge with destination charges, but we are unsure if the above is achievable. Thanks in advance!

What have you already attempted?
We've taken a look at the documentation but we couldn't find anything about that.

#

@knotty ferry pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am receiving webhooks for connected account payouts and I'm wondering how I can find a list of the payments (charges) that made up the payout.

Related Event ID(s)
None

What have you already attempted?
I tried retrieving the balance transaction returned with the payout under `balance_transaction` but this gave an error that it wasn't found. I think because it's looking at main account payouts and not connect account ones.

What are you working on?
We accept payments on behalf of our connected accounts

#

@main fog pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way that I could get the tax information (tax id, kvk (NL) ) from our connected accounts? I do not see it in the docs anywhere.

Related Request ID(s)
req_

What have you already attempted?
Read through the api docs. The request id is not correct, I made the call through Postman.

#

@merry barn pressed the πŸ“‘ API button in #help to ask a question:

Question
Basically I need help in the subscription, I have integrated Card Element and Payment Request in React app and on backend I am creating the customer and subscription using the price id, but the problem I am facing is with existing customer because it throws and error if the customer is already created (Backend is laravel) i am not using any cashier or anything just curls , also can you tell me the endpoint where i can get the subscription of the user. I just want true or false. Like if the subscription is active then true

Related Request ID(s)
unknown

What have you already attempted?
Basically I need help in the subscription, I have integrated Card Element and Payment Request in React app and on backend I am creating the customer and subscription using the price id, but the problem I am facing is with existing customer because it throws and error if the customer is already created (Backend is laravel) i am not using any cashier or anything just curls

What are you working on?
subscription module

atomic shuttleBOT
#

@vernal grail pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to make sure I understand the customer.subscription events correctly.

Assume a customer has an active subscription and the billing cycle ends in 20 days. Then assume they cancel their subscription in the customer portal. What events fire and when?

My assumptions:

  1. The customer.subscription.updated event would fire immediatelyβ€”changing the subscription status to "canceled."

  2. The customer.subscription.deleted event would fire when the subscription ends in 20 days.

Am I correct?

Thanks,

Chris

Related Request ID(s)
NA

What have you already attempted?
I read the docs, but they didn't cover these events in detail.

What are you working on?
SaaS

#

@sick gorge pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it a possible practice to use the Stripe subscriptions API to create a new, unique subscription for each customer, or would that be a bad practice with certain limitations (such as a connected account can only have up to 50 subscriptions or something)

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

Related Request ID(s)
N/A

What have you already attempted?
Searched the documentation

What are you working on?
A dynamic subscription service where the pricing is different per person

#

@umbral ember pressed the πŸ“‘ API button in #help to ask a question:

Question
My goal is to implement a two-step process:
Collect and store my client’s payment information using your β€˜payment’ element UI. This step should be complete when I get a PaymentMethod ID.
Charge my client at a later time.

Related Request ID(s)
?

What have you already attempted?
Created a Stripe customer .
Created a Stripe Elements object with mode β€˜setup’.
Created a Stripe Payment object with the previously created Elements object.
Mounted this Payment object.
Displayed a button for the user when I receive a β€˜change’ event with the indication that the user input is complete.
When my user clicks this button. I create a SetupIntent (on the server) for the previously created customer.
At this point, I don’t know if my user has chosen a β€˜card’ or a β€˜sepa_debit’ method for their payments. So, I’m unsure if I must provide a return_url or not.

What are you working on?
I am already using Strip as payment method since years, but i need to upgrade to the payment element UI

#

@azure lagoon pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
When I use the API to switch between prices in a Subscription product, switching to a lower price creates a credit, an amount the business must payback to the customer. How is this typically dealt with in Stripe, what documentation should I be reading?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
We're building a custom subscription tier system.

#

@sour idol pressed the πŸ“‘ API button in #help to ask a question:

Question
1.i want to how can i increase the expire time of links to 30 days from 4 minutes
2.how can i know my customer have provided all things & filled all data

Related Request ID(s)
API

What have you already attempted?
Stripe Connected account

What are you working on?
Stripe Connected account

atomic shuttleBOT
#

@mint seal pressed the πŸ“‘ API button in #help to ask a question:

Question
I’m integrating Stripe Terminal into my application and need help simulating payments for testing. When creating a PaymentIntent and simulating payment with a mock reader, the PaymentIntent remains in the requires_payment_method state instead of transitioning to requires_capture. As a result, I can't capture the PaymentIntent. How can I ensure the PaymentIntent transitions correctly for capture?

Related Request ID(s)
req_032zrtDIf1BT4V, req_TGbFZSXTvj5udS, req_zxal7LCELrphGf

What have you already attempted?
Created a PaymentIntent with amount, currency, payment_method_types set to ['card_present'], and capture_method set to manual.
Used stripe.testHelpers.terminal.readers.presentPaymentMethod to simulate the payment.
Retrieved the PaymentIntent to check its status before attempting to capture.
Despite these steps, the PaymentIntent does not transition to requires_capture.

What are you working on?
Integrating Stripe Terminal into my application to handle in-person payments. Currently testing the flow using simulated payments before deploying to production.

#

@gusty hollow pressed the πŸ“‘ API button in #help to ask a question:

Question
how do I create a payment intent for an already attached payment method?

Related Request ID(s)
req_XNMo7gxsigpJ5f

What have you already attempted?
docs

#

@deep hill pressed the πŸͺ Webhooks button in #help to ask a question:

Question
We want to determine whether the payment method is a credit card or SEPA direct debit when receiving invoice.paid and payment_intent.processing events. Our plan is to retrieve the Payment Intent object and use the payment_method field to further retrieve the Payment Method and check the type field. However, we’ve noticed that the payment_method field can sometimes be null. After some investigation, we found that the source field will have values when payment_method is null.

Is it a reliable method to infer the payment method by checking payment_method and source? When will source have value?

Related Event ID(s)
evt_3PKpEuJtv8NUoFyI08WWDc13, evt_3PLeAQJtv8NUoFyI1ybpIL4c

What have you already attempted?
The doc indicates that source field is for older Card API and is in deprecated stage, being replaced by modern Payment Method API. Can we assume all Payment Intent have either non-null payment_method or source, and they are mutually exclusive? That way we can always determine the payment method by inspecting both fields.

What are you working on?
We want to activate subscription services as soon as the user provides SEPA payment information (payment_intent.processing), rather than waiting until the funds have settled (invoice.paid)

#

@normal osprey pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
We are onboarding stripe connect to our stripe hosted checkout for our marketplace transactions and want to support coupon codes for our users. Currently, using coupon codes fails as if I understand correctly the transaction is directly between the seller and buyer and we only take an app fee. Can you help guide me how we can support this for our users? Potentially we also want to investigate limiting the discount to app fee only so that the seller or buyer are not the ones bearing any cost of using the promo codes or we don't have to do special transfers. Can stripe connect support this?

What have you already attempted?
Tried different documentations and passing discount code through API when creating the checkout session and using in hosted page too but neither worked. It works fine without stripe connect.

atomic shuttleBOT
#

@prime moth pressed the πŸ“‘ API button in #help to ask a question:

Question
I am testing in the Stripe CLI trying to get the checkout.session.completed to work. It seems to connect but when i complete the order it keeps posting 404 errors

2024-05-29 13:58:10 --> tax_rate.created [evt_1PLqlKE9bJZH5kiQY5Dta0JJ]
2024-05-29 13:58:10 <-- [404] POST http://localhost:5000/webhook [evt_1PLqlKE9bJZH5kiQY5Dta0JJ]
2024-05-29 13:58:21 --> charge.succeeded [evt_3PLqlUE9bJZH5kiQ0njjZtuf]
2024-05-29 13:58:21 <-- [404] POST http://localhost:5000/webhook [evt_3PLqlUE9bJZH5kiQ0njjZtuf]
2024-05-29 13:58:21 --> checkout.session.completed [evt_1PLqlVE9bJZH5kiQtfZZl0Qv]
2...

Related Request ID(s)
pi_3PLqlUE9bJZH5kiQ010JFMfa

What have you already attempted?
changed webhook url in express to localhost:5000/webhook
stripeRoutes.post(
"localhost:5000/webhook",
bodyParser.raw({ type: "application/json" }),
(request, response) => {
console.log("recieved webhook req");
const payload = request.body;

console.log\("got payload", payload\);

response.status\(200\).end\(\);

}
);

export default stripeRoutes;

What are you working on?
ecommerce project

#

@little willow pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Is it true that you as devs get so much food?

What actually happened?
at amazon we don't get that much of food. we get one apple a day

Reproduction Steps
i can't reproduce what i saw..

Question
how does your food taste? i saw a lot of food

What are you working on?
here is the pic i got https://i.imgur.com/CYlTPMq.png

#

@rustic lintel pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I add customer information to my transaction

Related Request ID(s)
pi_3PLdrDDhKYlaBIy62820Ip51

What have you already attempted?
I made a working transaction form. Need to pass more info

What are you working on?
Would like to pass customer info to strip so i can manage transactions per project

#

@twin bloom pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi. I'm trying to use Express Checkout Element and paypal button but getting the following error
The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.

Related Request ID(s)
Paypal payment

What have you already attempted?
tried to pay via paypal button

#

@granite coyote pressed the ❌ An Error button in #help to ask a question:

Error Message
« le numΓ©ro de tva n’est pas valideΒ Β» / "The VAT number is not valid."

Question
"My client based in Estonia is unable to make a payment when entering their VAT number during registration. They are told that their number is not valid. They have tried several times. My tool is based in France."

What have you already attempted?
/

#

@royal oracle pressed the πŸ“‘ API button in #help to ask a question:

Question
Are there any differences between customer cash balance transactions created from domestic wire transfers and those that are created from international wire transfers? Specifically, will the network still be set to 'domestic_wire_us' for international wire transfers received via SWIFT network? Thanks.

Related Request ID(s)
n/a

What have you already attempted?
reading the docs on bank transfer api

What are you working on?
system for receiving incoming wire transfer payments

#

@opaque dust pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I attach a Product to an Event? (Using the API and not relying on the Stripe Dashboard to attach product to an Event)

Related Request ID(s)
req_UaKMltGdOpO8Gs

What have you already attempted?
It is unclear in the Docs how to attach a product to an Event. I thought it would be at the creation of the Meter. Is it attached in the ```value_settings``` object? I have my Products currently saved as an Object currently which is accessed during Checkout. There are prices for each Product depending on the Subscription the User has. I would like to use this current saved location rather than using the Low Code Product list on the Dashboard or is this the only way?

What are you working on?
SaaS. I have a subscription model and I want to accumulate usage and append this usage, together with the Subscription payment, at the end of the month to the users bill.

#

@sharp schooner pressed the πŸ“‘ API button in #help to ask a question:

Question
I believe I've found a bug in the Checkout Sessions API . Specifically the Create endpoint

Related Request ID(s)
req_wNEtxsPVbJXvLo

What have you already attempted?
When submitting an array of line items, if they are a mix of items that have both `price` and `price_data` keys, the request will fail if the `price_data` line items come before the `price` line items, and provide an error like the following:
```{"error"=>
{"message"=>"You may only specify one of these parameters: price, price_data.",
"param"=>"line_items[0][price]",
"request_log_url"=>"https://dashboard.stripe.com/test/logs/req_wNEtxsPVbJXvLo?t=1717000785",
"type"=>"invalid_request_error"}}```

If i take the exact same line items, and reverse the order, the request will succeed.

What are you working on?
A custom checkout for upsells on our live event promotion platform

#

@cedar knot pressed the πŸ“‘ API button in #help to ask a question:

Question
Proration not happening for a subscription schedule phase when end_date updated?

Related Request ID(s)
req_3qqX6J3KUvhl6L

What have you already attempted?
I am updating the end_date of a phase in subscription schedule but their seems to be no proration for invoice created in that phase:
`in_1PLrJjHCPH5IrTb7ZlfQDnKG`. The invoice is generated for `JUL 6 - JUL 13, 2024` but the phase ended on `JUL 8, 2024`

What are you working on?
Apartment Booking Site

atomic shuttleBOT
#

@rustic lintel pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I generate a list of transactions with the metadata info on transactions

Related Request ID(s)
pi_3PLrpuDhKYlaBIy626lbJMm8

What have you already attempted?
I created transactions with the appropriate metadata, would like to now see all of them in one place.

What are you working on?
A list based on transaction metadata

#

@timid ember pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Interac Pin pad works correctly

What actually happened?
Interac Pin pad frozen

Reproduction Steps
Use Stripe App on Device SDK, bring up the Stripe UI for card payment. Insert interact card via chip, get prompted for PIN. Enter incorrect pin. UI freezes and no longer responsive

Question
We are using Stripe's App on Device SDK. We have our own app, and when payment step is reached, we use the SDK to bring the Stripe UI for accepting card payments to the foreground. While prompting for pin for an interac card, the user enters an incorrect pin. At this point the UI becomes non-responsive, and the whole device has to be rebooted.

#

@prime moth pressed the πŸ“‘ API button in #help to ask a question:

Question
stripe.webhooks.constructEvent(payload,sig,endpointSecret) is not creating an event try {
event = stripe.webhooks.constructEvent(payload, sig, endpointSecret);
console.log("GREAT SUCCESS", event);
} catch (err) {
return response.status(400).send(`Webhook Error: ${err.message}`);
}

Related Request ID(s)
evt_3PLs95E9bJZH5kiQ1hebsdIR

What have you already attempted?
console logged everything. payload, sig and endpoint secret all return fine.

What are you working on?
ecommerce store

atomic shuttleBOT
#

@cobalt lion pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi im am using link elements but for some reason apple pay only shows on an apple phone. When i use it in safari on my mac it just shows pay with link

Related Request ID(s)
looked on elements docs

What have you already attempted?
yh just searched the docs

#

@fleet sand pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
money being sucessfully transferred to the stripe after purchasing

What actually happened?
Im making a registration form for this site and everything is working smoothly except I get a "payment sucessfull" and it goes through but on my stripe dashboard the payment is only in the logs and doesnt actually get sent to the account nor does money leave the card

Reproduction Steps
Theres not much to steps its just after my form is submitted this happens

Question
Does anyone know why I can see the purchases in the stripe logs but its not going through as a transaction?

What are you working on?
A registration form for events that require payments

#

@blissful patio pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
When creating a payment intent for a subscription with a payment method that requires action (like manual ACH) and it can take a few business days to validate until the customer completes the microdeposits step, does the subscription remain in `incomplete` status for as long as the customer takes to verify the payment method, or does it follow the 23 hour rule stated in the documentation? If so, how should I approach it?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview#subscription-statuses

What are you working on?
.

atomic shuttleBOT
#

@solemn shadow pressed the πŸ“‘ API button in #help to ask a question:

Question
Using Web Payment Elements and need to know is it possible to know when a payment method is selected? Basically I am trying to clear a message when an element select selected (ie select credit card, or klarna etc..)

Related Request ID(s)
NA

What have you already attempted?
Haven't tried anything and can't find any onclick events for the web elements

What are you working on?
Checkout

#

@buoyant cipher pressed the ❌ An Error button in #help to ask a question:

Error Message
"message": "The provided payment_method_types (["card"]) does not match the expected payment_method_types (["bacs_debit"]). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements."
"type": "invalid_request_error"

Question
i create my intent in php and pass the payment method types bacs_debit but comes back as card ?

What have you already attempted?
dynamically set the payment method types for the 2 forms

What are you working on?
donation form

atomic shuttleBOT
#

@limpid plume pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How can we determine if a charge was canceled versus actually refunded? I don't see any indicator on the charge itself or a special webhook for it.

Doc/Guide Links
https://docs.stripe.com/refunds?dashboard-or-api=dashboard#cancel-payment

https://docs.stripe.com/api/charges/object

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

What are you working on?
Allowing support to void or refund a charge from the Stripe dashboard. We listen for the charge.refunded webhook event but do not see a webhook or way to know if a charge was canceled before it was captured

#

@coral basin pressed the πŸ“‘ API button in #help to ask a question:

Question
I am migrating a Xamarin Application over to dot net MAUI and am trying to implement our apple pay functionality with Stripe. I am unsure how to proceed this migration and pull in the Stripe iOS SDK in order to achieve the functionality.

Are we able to use an apple pay button with Stripe SDKs as they were in Xamarin if there isn't official support for MAUI?

Our team is looking for some guidance on how to hook things up.

Thanks!

Related Request ID(s)
None

What have you already attempted?
I have looked through Stripe documentation and have not seen any clear way to migrate this functionality over due to Xamarin now being depreciated.

What are you working on?
Migrating Stripe Apple Pay from Xamarin to Maui

#

@maiden stirrup pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
ERROR: Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed with a Setup Intent configured with payment_method_types.

Question
I am getting this error, when trying to process a payment and saving card details for future use.

What have you already attempted?
configuring intents

#

@cerulean pasture pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to put a cash price and a credit price on the terminal during the payment intent?

Related Request ID(s)
NONE

What have you already attempted?
I have been doing an itemized list but would like now to offer to some of our connect customers a way to display Cash Price: $4.99 and Credit Price: $5.14

What are you working on?
Connect terminal integration for Nerdslice.com

atomic shuttleBOT
#

@dusky prairie pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is `checkout.session.completed` all I have to check to know that a transaction triggered via a payment link has gone through successfully?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/fulfill-orders#fulfill

What are you working on?
Webhook that triggers on (successful) transaction that updates a database. Obviously don't want unsuccessful transactions to go through, so just checking that this is the correct event to be listening for.

atomic shuttleBOT
#

@merry barn pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Please tell me the webhook whenever the subscription is updates

Related Event ID(s)
unknown

What have you already attempted?
Created a subscription , now what i want is to create a webhook whenever the subscription is updates , cancelled

What are you working on?
Basically I have 2 columns subscription id and status , what i want is that whenever a subscription is updated , cancelled then update in my db also.

#

@lofty matrix pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm working on a stripe account that is on live mode, if I go to test mode, does that turn off the live mode?

Related Request ID(s)
None

What have you already attempted?
I haven't tried

What are you working on?
Preparing to migrate to stripe from other payment gateway

#

@finite steeple pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
https://github.com/stripe/stripe-go/blob/master/invoice.go#L273

Question is related to this docstring in the Go SDK for Stripe.

Question
I'm trying to preview an upcoming invoice for a customer with a subscription-level discount. I'd like to preview the invoice without the discount. The API documentation here: https://docs.stripe.com/api/invoices/upcoming?lang=python#upcoming_invoice-discounts suggests setting `discounts` to an empty string, but I'm not sure how that's possible using `InvoiceDiscountParams`. How can I preview an upcoming invoice without a subscription level discount using the Go SDK?

What have you already attempted?
I have tried setting `Discounts` as a slice with one value of `InvoiceDiscountParams`. I set the `Discount` field as an empty string. I get a 400 error: "You passed an empty string for 'discounts[0][discount]'. We assume empty values are an attempt to unset a parameter; however 'discounts[0][discount]' cannot be unset. You should remove 'discounts[0][discount]' from your request or supply a non-empty value."

What are you working on?
Working on customer discounts in our web application.

#

@maiden skiff pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How can we add a Stripe integration to our company website to onboard users and pay them monthly (via stripe for now, and internal tools later on)?

Doc/Guide Links
https://docs.stripe.com/connect/payouts-connected-accounts

What are you working on?
I'm building a website where a main feature is we pay our users monthly. I want to collect a user's information (account/routing number, or debit card) via Stripe widget and my coworker can send payments.

atomic shuttleBOT
#

@hazy holly pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
No CSP violations on our site

What actually happened?
CSP violations

Reproduction Steps
Using stripe.js Elements

Question
We're getting these CSP violations:

v3:1 Refused to connect to 'https://js.stripe.com/v3/.deploy_status_henson.json' because it violates the following Content Security Policy directive: "..."

This was due to an internal Stripe bug in the past. Is there another regression?

#

@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/api/charges/object#charge_object-payment_method_details-multibanco

Question
Hello

I'm unsure if multibanco is a valid "payment type". I see it as an option on the payment_method_details object for a charge, but not as a type on the payment method object itself (https://docs.stripe.com/api/payment_methods/object#payment_method_object-type). Is this an oversight?

What have you already attempted?
n/a

atomic shuttleBOT
#

@real compass pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I had subscriptions mistakenly setup for automatic payment of invoice at time of invoice creation, when really I wanted to have the invoice sent to the customer via email. After the first invoice auto payment happened, I switched this setting on the subscription, but now it continues to retry the automatic payment.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/object

What are you working on?
Custom project

atomic shuttleBOT
#

@dusky jasper pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
I'm currently following this documentation to take payments using the <PaymentElement /> but it's not rendering correctly. There's another card element rendering behind and I don't know why this is happening. I'm not sure how to upload a photo here but if a thread opens I will do it there

What have you already attempted?
I followed exactly what it says in the docs but still no luck

atomic shuttleBOT
#

@jade lava pressed the πŸ“‘ API button in #help to ask a question:

Question
When invoicing a customer, a unique account and routing number is made. Is there a way for customers to "share" account and routing numbers, say when there are two accounts from the same company? That way when they are invoiced for separate services their shared accounting department will not need to send payment to more than one account.

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

@rigid anchor pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a planned release data for the 9.0 version of @stripe/ui-extension-sdk/ui? Alternatively, are there plans to incorporate the StripeFileUploader component into a future 8 minor version?

I am specifically in need of a component that provides file uploading functionality for a stripe app. If there are other solutions to that problem, that works too! Thanks.

Related Request ID(s)
None

What have you already attempted?
Found the StripeFileUploader component in a 9.0 alpha release here: https://www.npmjs.com/package/@stripe/ui-extension-sdk/v/9.0.0-alpha.10?activeTab=code

What are you working on?
A stripe app for adding multiple photo files to a stripe product resource.

#

@little crow pressed the ❌ An Error button in #help to ask a question:

Error Message
I can't get into my account

Question
I dont have the same nunber and I can't sign ing again, I cant find any way of gettinc my account back because I cant recieve tje code to sign in in my new number.

What have you already attempted?
I tried to change the number and it asks me to sign in first, but for that I need the code that is sended to the phone number, and I have a different one so its like a never ending circle

atomic shuttleBOT
#

@cyan crescent pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
return (
<form id="payment-form" onSubmit={handleSubmit}>
<PaymentElement id="payment-element" />
{!isProcessing && (
<button disabled={isProcessing || !stripe || !elements} id="submit">
<span id="button-text">Payer</span>
</button>
)}
{isProcessing && <Spinner text="Loading payement..." />}
{/* Show any error or success m

Question
Hi everyone,

I am currently working on integrating Stripe payments into my Next.js application, and I'm encountering some CORS issues that I can't seem to resolve.

Here's a brief overview of the setup:

I'm using @stripe/react-stripe-js for handling the payment process on the client side.
My form uses the PaymentElement from Stripe and submits a request to my API to create a checkout session.
The problem occurs when I try to load the Stripe.js script, as I get the following

What have you already attempted?
Refused to load the script 'https://js.stripe.com/v3' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'".

What are you working on?
SAAS on Next js

atomic shuttleBOT
#

@orchid matrix pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, I am a developer at OCG Vietnam, and I need Stripe support.

I would like to check the following information regarding my Stripe account:

  1. Is Stripe requesting any additional information?
    I mean the gateway is still functioning normally, but it is under Stripe's risk review.
  2. Is the Stripe balance of the Connected Account being held (the amount on hold in the Balance is greater than 0)?
    Which API can I use to check the above information? Please support me, thank you very much.

Related Request ID(s)
None

What have you already attempted?
None

What are you working on?
i am building new app

#

@north atlas pressed the ❌ An Error button in #help to ask a question:

Error Message
Spending limit on card has been reached. Please try another card.

Question
Using Caspio integration, I am always getting this error, no matter the card used or the credit available.

What have you already attempted?
Trying different cards; resetting cookies; trying test card numbers in test mode.

Reproduction Steps
Attempting to process a payment to test a payment page on my website and I get the "Spending Limit Has Been Reached" error no matter the card.

What are you working on?
Customer mail portal interface with service ordering features.

#

@merry sand pressed the πŸͺ Webhooks button in #help to ask a question:

Question
My webhook is not working in live websites.
In localhost i'm using ngrok to redirect the response of webhhook to my local machine and this is working fine but in live it is not working.
<html>
<head><title>405 Method Not Allowed</title></head>
<body>
<h1>405 Method Not Allowed</h1>
<ul>
<li>Code: MethodNotAllowed</li>
<li>Message: The specified method is not allowed against this resource.</li>
<li>Method: POST</li>
<li>ResourceType: OBJECT</li>
<li>RequestId: 0Y7ZR7EVYT66CVPK</li>
<li>HostId: RcTBxUUKCG6RfgszEggPOGJsNAYlIZ2yZHVdHSE8cGOU67HHfdWUiN1Kt6s/HiCOY2TvBp42KWM=</li>
</ul>
<hr/>
</body>

Related Event ID(s)
none

What have you already attempted?
Checked the endpoint of webhook

What are you working on?
stripe

atomic shuttleBOT
#

@vernal grail pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I'm testing my webhook handler locally.

When I call:

```
stripe trigger customer.subscription.deleted
```

I also receive a created event.

```
customer.subscription.created
```

This seems odd. Is this happening because the local test environment has to create a subscription before it can delete one?

If so, can I expect `customer.subscription.deleted` events to run independently in production?

Thanks,

Chris

Related Event ID(s)
NA

What have you already attempted?
Read the docs.

What are you working on?
SaaS

atomic shuttleBOT
#

@bronze shore pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am want to use the transfer API to transfer money from the platform account to a connected account.
To do so, I will use the transfer API
But how to know if a transfer is completed or not?
Basically, I would like to notify my client that the money reach his account when the transfer is successful.

Related Event ID(s)
No IDs for the moment

What have you already attempted?
Nothing yet

What are you working on?
A ecommerce website

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': plan['plan_id'],
}],
proration_behavior='always_invoice',
expand=['latest_invoice.payment_intent'],
payment_behavior='pending_if_incomplete',
default_tax_rates=GST_TAX_ID if data['currency'] == 'inr

Question
why the billing cycle does not start from the date of the upgrade

What have you already attempted?
I already tried with this code

What are you working on?
subscription upgrade

atomic shuttleBOT
#

@deep hill pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Can we confirm that payment_intent.processing events are always triggered by one of asynchronous payment methods?
https://docs.stripe.com/payments/paymentintents/lifecycle#:~:text=After required actions,the processing status.

If so, we wont't need to further check whether the payment method is a delay payment method as expected. Thanks!

Related Event ID(s)
no

What have you already attempted?
Past context here: #dev-help message

#

@glossy robin pressed the πŸ“‘ API button in #help to ask a question:

Question
Why Checkout page has not Cardholder name proper input validation? It accepts any character and Smileys too.
It mentions no where about is there any way to validate for proper input values in this Cardholder name field rather than accepting any free texts in name. What if user enters any irrelevent text in this box? I tried this in https://checkout.stripe.dev/preview and it accepts payment.

Related Request ID(s)
N/A

What have you already attempted?
I checked in Stripe documentation and some stack-overflow questions as well.

What are you working on?
In mobile app we are showing Stripe's Checkout page for adding a Payment method. This page has Cardholder name input field.

#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
How to create stripe connect with Controller parameter

Related Request ID(s)
req_oaPLbLcQhSOC3v

What have you already attempted?
I am creating Stripe Connect account with parameter Type:"standard" it be ok, but when I use parameter Controller it's say errors

What are you working on?
Creating Stripe Connect with business type individual and will not create new Company Profile when finished validation of this account (stripe onboarding)

atomic shuttleBOT
#

@opal cliff pressed the πŸ“‘ API button in #help to ask a question:

Question
need some info about the response after creating subscription

Related Request ID(s)
NOID

What have you already attempted?
created subscription

#

@tidal rose pressed the πŸ“‘ API button in #help to ask a question:

Question
we are using stripe api and use direct charge in 3DS payment and get this error in checkout page when placing order No such PaymentMethod: 'pm_1PM3KrB00F13PznYjMRBgwWp'; It's possible this PaymentMethod exists on one of your connected accounts

Related Request ID(s)
Checkout page

What have you already attempted?
handle order place

atomic shuttleBOT
#

@oblique bane pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, can we collect payment method even if there is a free trial on a subscription ? My goal is to automatically debit user's card after his free trial expired

Related Request ID(s)
*

What have you already attempted?
*

What are you working on?
Subscriptions with free trial

atomic shuttleBOT
#

@grim grove pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello! Is there a way to fetch a request object via the API in order to get its source (dashboard or API)? The reason I need this is that I want to log specific audit events based on where the operation was triggered.

Related Request ID(s)
.

What have you already attempted?
I already saw that some of the webhook events contain request ID, but I can't find a way to retreive the Request by ID and detect the source. Could you please help?

#

@orchid matrix pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I would like to ask if Stripe has any events that support identifying the following scenarios:

The account is blocked from making payments.
The account is blocked from withdrawing funds.

Related Event ID(s)
none

What have you already attempted?
I read this docs but do not understand
https://docs.stripe.com/api/events/types

#

@subtle knoll pressed the πŸ“‘ API button in #help to ask a question:

Question
Bulk update: I need to update users subscription if new price is created against a lookup key. a member of your team already told me that i can not update subscription in bulk, so i need to update one by one now questions
1- is there any rate limit for subscription update?
2- i do not want an immediate update of subscription i want to charge new price at the end of this billing cycle how this can be done?

Related Request ID(s)
--

What have you already attempted?
--

#

@coarse radish pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How can we enable both graceful shutdown while returning 200 to the webhooks requests?

Related Event ID(s)
evt_1PM4K0DSWaDkZwSv5ILWGcXm

What have you already attempted?
I tried creating separate contexts, but our graceful shutdown does not work. We use the default chi router graceful shutdown example.

atomic shuttleBOT
#

@dreamy mauve pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, regarding https://support.stripe.com/questions/changes-to-balance-transaction-behavior-for-debit-payment-methods:
from a balance_transaction object, how to get the date where the payment is counted in the payment balance report "Balance change from activity summary" (charge part), that can be seen in the dashboard here https://dashboard.stripe.com/reports/balance
It must be the real date, not the foreseen date (we get the balance transaction list 14 days after payment is created)

Related Request ID(s)
-

What have you already attempted?
Read https://support.stripe.com/questions/changes-to-balance-transaction-behavior-for-debit-payment-methods

What are you working on?
We use the balance transaction list to build internal invoice serial number: for each received payment (counted in the Stripe report), we increment that number.

#

@hallow surge pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How to handle webhooks for different products?

Related Event ID(s)
evt_1PLouqRpvgHyxzWOMFf5j2NV

What have you already attempted?
I need to have different products with different plans, like single time payment and recurring. I need to understand from event which product is paid as I call only one webhook and I get response in mongodb

What are you working on?
getting payment from stripe and update mongodb document field

#

@languid monolith pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi I'm new to stripe, we are trying to build a subscription system where user's can subscribe for a product

Related Request ID(s)
req_4VYqrTr8vhctGA

What have you already attempted?
Steps I have followed to implement this is

  1. Search/Create user in stripe
  2. Setup intent of the customer and collect card details
  3. Subscribe customer to the product

Now the issue is for one of the test card (3ds) authentication one. I'm getting payment status as incomplete and subscription status is also in incomplete

What am I missing?
What additional steps should I take to make payment go thru

This is a recurring monthly payment

What are you working on?
Subscription Plan with monthly payment using NodeJS and NextJS

atomic shuttleBOT
#

@deep lark pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
iDEAL payment option shown to customer.

What actually happened?
iDEAL payment option is not shown to customer

Reproduction Steps
Create setupIntent and then present payment sheet.

Question
Why is iDEAL payment option not shown to user? This is enabled in dashboard.

#

@mortal totem pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
am using stripe API for subscription. But i dont want stripe to invoice an mail user before custumer has paid, or before payement method has been collected. I want to get the payment link of the invoice so i can redirect user there for manual payment. But i don't want stripe to send invoice to user by mail with amount dues, or amount to paid inside

What actually happened?
Actually when i create an invoice am force to set the collection_method to send invoice. After that am oblige to update after the first payement, the collection method to charge automatically so that it could stop sending not-paid invoice to user.

Reproduction Steps
1- create custumer with user and email
2- create product subscription
3- create subscription with collection_method=send_invoice (Because i want to get payment url to redirect the user there for first payement)
4- update supscription to change the collection_method to charge_automatically (so that stripe will stop send unpaid invoice to user)

Question
How can i create stripe subscription redirect user to payement page first payment, then collect the payement and payment_method form the custumer without sending him invoice through mail

What are you working on?
Web App for work management that users should pay monthly subscription plan before using the app

atomic shuttleBOT
#

@gentle briar pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When using the express checkout element provided by Stripe the Google Pay should be displayed as a possible payment method.

What actually happened?
Sometime, the GPay button disappears after a few seconds after it's being displayed. This doesn't happen consistently but it can happen on every browser.
Looking into network requests, there is something which might be related, but can't say for sure

Reproduction Steps
Navigate to a payment form
Select the express checkout element tab
See Gpay button appear and disappear after few seconds

Question
What is causing this behavior and how could it be resolved?

What are you working on?
Adding wallets to a payment form with express checkout element

atomic shuttleBOT
#

@void flame pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I'm trying to schedule the downgrade of an existing subscription.
I follow 'changing-subscriptions' guide, i create a schedule subscription from an existing subscription and when i try to update it, it fail with this error
`TypeError: 'builtin_function_or_method' object is not subscriptable`

can someone help me?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#changing-subscriptions

What are you working on?
my code:

#

@rapid wedge pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect the promo codes to be applied, and the expire session to work

What actually happened?
When applying the promo code in stripe checkout I get 'This code is invalid'.

When trying to cancel/expire a checkout session for stripe connect I get an api error:

resource_missing - session

No such checkout session: **the session id**

Reproduction Steps
Create a checkout session with stripe connect and have promo codes enabled. Try to apply a promo code.
Likewise - try to disable

Question
I am having some problems when using stripe connect (for stripe checkout sessions). 1) promotion codes do not seem to work. 2) cancelling a session does not work, either

What are you working on?
Stripe checkout with connect

#

@opal cliff pressed the πŸ“‘ API button in #help to ask a question:

Question
implemented subscription.but need to know how Proration applied in one of the subscription

Related Request ID(s)
sub

What have you already attempted?
implemented subscription.but need to know how Proration applied in one of the subscription

What are you working on?
subscription

#

@tribal magnet pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
to get a call from stripe support

What actually happened?
for some reason chat support froze and I never received a call

Reproduction Steps
I don’t know what’s going on

Question
I’m trying to use stripe support contact for a dispute and for some reason no help has been established is it possible for you to help me

atomic shuttleBOT
#

@rich forge pressed the πŸ“‘ API button in #help to ask a question:

Question
[B2B checkout session] CheckoutSession -- force the filling in of tax id, and company's name.

Related Request ID(s)
-

What have you already attempted?
I'm looking at integrating the B2B aspects into the checkout session, one of the requirements here is to force the input of a VATIN number (tax id collection) and the name of the company.

However, although I can get to the part where these things show up, they are hidden by a checkbox. All payments are B2B, so they should be forced to be paid this way.

Is there any way to get it away from behind the checkbox?

#

@frosty parrot pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The branding of my payment link with the connect account to be correct

What actually happened?
I set up a payment link with my connect account and the branding is not the branding I have set up

Reproduction Steps
I tries going back to settings

Question
how do I solve the problem I need help

atomic shuttleBOT
#

@orchid jackal pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
connect() {
const stripe = Stripe(this.stripePublishableKeyValue);
const accountSession = stripe.createAccountSession({
clientSecret: this.accountSessionClientSecretValue,
});

const accountOnboarding = accountSession.createAccountOnboardingFlow\({
  returnUrl\: this.eventWithdrawalPathValue,
}\);

accountOnboarding.mount\(this.element.querySelector\('\[data\-stripe\-onboarding\-target="formContainer"\]'\)\);

}
}

Question
I am unable to render the Account onboarding component in the view, the Connect embedded onboarding form in our Rails application. We are currently trying to do this through a stimulus controller. The Connect account is created but no form is shown to the user so they can input the required data. This is also an error in the console: Error connecting controller, TypeError: stripe.createAccountSession is not a function. in view <script src="https://js.stripe.com/v3/"></script>

What have you already attempted?
along with changing the code in the stimulus controller multiple times i have attempted to render the Stripe account onboarding form directly in a Rails view matching more closely the doc example.

What are you working on?
Building an application where we need to onboard connect accounts for users and want to achieve this with embedded onboarding form

#

@tribal magnet pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
to get a call from support centre

What actually happened?
screen froze on stripe and ticket won’t go away

Reproduction Steps
I tried emailing they said ticket is closed but on my tab it is still open

Question
I want this [TICKET ID]-13815962. to be closed down is it possible for you to close this ticket please

What are you working on?
trying to close this ticket [TICKET ID]-13815962.

#

@dull hare 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-debits

Question
Canadian pre-authorized debits is enable in my pricing tables but this options is not showing during checkout

What have you already attempted?
Try finding why in documentation

What are you working on?
Subscription process

atomic shuttleBOT
#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Why is it that this request was able to capture a payment intent (req_Qx7FyjcRE9jz1V) while this one is telling me that the payment intent requires a credit card (req_rLo8PKjpUwLpNP)?

Related Request ID(s)
req_Qx7FyjcRE9jz1V, req_rLo8PKjpUwLpNP

What have you already attempted?
Reviewed the requests and as far as I can tell, neither of them is specifying that the payment method is a us_bank_account

What are you working on?
API Integration

#

@idle quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi! I'm trying to create meter event via stripe-php.
I've created Meter, Product with usage-based price tied to this Meter, created Customer and Subscription to this Product.
But when I'm trying to create Meter Event via api I receive error with message "No such customer: 'cus_QCW8TM4DCbfkzj'" despite it exists.

Related Request ID(s)
cus_QCW8TM4DCbfkzj, mtr_test_61QVUkibsOjIQONhW41C1LluJiuYaK8m, prod_QCWBnjerYc00eY, sub_1PM7AtC1LluJiuYaY4dOpQpq

What have you already attempted?
I've tried to check if customer really does not exist, tried to retrieve it via api (will display on screen) and it is really exists, but meter events service says that it does not.

atomic shuttleBOT
#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Why is it that this request was able to capture a payment intent (req_Qx7FyjcRE9jz1V) while this one is telling me that the payment intent requires a credit card (req_rLo8PKjpUwLpNP)?

Related Request ID(s)
req_Qx7FyjcRE9jz1V, req_rLo8PKjpUwLpNP

What have you already attempted?
Tried adding `payment_method_types` to the request but I am getting an error because I am also setting `automatic_payment_methods`

What are you working on?
API Integration

#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Does stripe supports check and cash as payment method?

Related Request ID(s)
NA

What have you already attempted?
I checked the node sdk but i couldnt find it in the definitions

What are you working on?
i want to accept cheque and cash as payment methods

atomic shuttleBOT
#

@ivory siren pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How do I create a stripe app that can listen to invoice.paid webhook events from people who have installed the app?

Related Event ID(s)
all events I send

What have you already attempted?
I created a stripe app, granted the webhook_read, uploaded the app, installed the app, copied the signing key, created my server's webhook handler, ran `stripe listen --forward-to "localhost:8000/v0/stripe/webhooks?site_id=69"`, and then `stripe trigger invoice.paid ` but stripe.SignatureVerificationError always gets raised.

What are you working on?
An analytics platform that makes tracking where sales come for users simpler for SAAS applications

#

@plucky mist pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have platform for childcare providers that will collect payments from their customers (parents). How do get our customers (providers) to setup their Stripe account and be connected to our account. We assume they will maintain their own external accounts. Couldn't find info on how we get these providers to setup stripe and share info with us.

Doc/Guide Links
https://support.stripe.com/topics/connect

What are you working on?
Platform for childcare providers to streamline forms and payments.

#

@frosty parrot pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I have branding on my account and everytime I set up a payment link on my connected account the branding is the one I chose

What actually happened?
this time I set up a payment link and the branding is not my chosen branding, it is our old branding

Reproduction Steps
I looked at stripe settings

Question
how can I change the branding of this payment link back

What are you working on?
ticketing

#

@frozen jay pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The onboarding process from Stripe connect, I would expect that when the user chooses the wrong country, he has the possibility of returning to the start of onboarding the choose the correct country

What actually happened?
The user was from Sweden and mistakenly have chosen United States. Then he realized that, but couldn't get back anymore to pick his country. And at this point he got stucked because by Continuing the onboarding process from the website I work on, he was getting back at the same step.

Reproduction Steps
Connect an account to Stripe connect, choose the wrong country

Question
Are there any best practices of solving this issue? Do I have the possibility to add for the Stripe connect onboarding the possibility to go back?
What can be done?

#

@foggy bolt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have an E-commerce site where each of my products have 3 tiered prices. At the moment for every purchase I am creating a new stripe product/price for every purchase. I notice that the stripe catalogue is full of products and I feel these are all redundant. Is there a guideline on how I can have all my products stored on stripe end with the tiered pricing and then retrieve them to create the final invoice?

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models#multiple-prices

What are you working on?
E-commerce portal

#

@golden nymph pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello, I'm allowing connect accounts to charge customers via my app. My flow:

Create invoice and init payment elements.
Collect customer billing info and card details in the same step.
On "pay" click, update customer info, then submit elements to pay the invoice.
The issue is the invoice is created with old customer details, which I can't change. Do I need to delete and recreate the invoice with each billing detail change, including initializing elements with the new invoice secret? Is there a way to avoid creating a new invoice for every billing detail update?

Doc/Guide Links
https://docs.stripe.com/payments/payment-element

What are you working on?
Zaptime - Personalised scheduling of your meetings and calls.

#

@obtuse saffron pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When sending an api request to open the onboarding embed of a custom account, do not open any window, and fill all the information inside the embed.

What actually happened?
When I return from the backend the response to open the embed in the frontend, it first opens a new window to complete phone and other things before starting the embed.

Reproduction Steps
Send an API request to initiate the registration of a custom account.
Send an API request to get the token to open the embed.
Receive from the frontend the token, and send it to the sdk to open the embed.
See the window that opens.

Question
I am testing the onboarding embed by generating it with a custom account, and I don't know if it is only in testing, but it opens a window to complete other things, outside the embed, is that normal?

What are you working on?
Onboarding embed integration with stripe custom

#

@umbral ember pressed the πŸ“‘ API button in #help to ask a question:

Question
I am following the docs here https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements and calling confirmSetup needs a return_url. I was wondering if there is a flow that would never require redirect URls and works with server-to-server calls? i am going to need sepa_debit payments.

Related Request ID(s)
?

What have you already attempted?
as i said i am following https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements everything is working, but i wonder one can avoid redirects and still get a paymentmethode id for later use.

atomic shuttleBOT
#

@mortal owl pressed the πŸ“‘ API button in #help to ask a question:

Question
Following the "Onboard accounts to your Connect platform" when attempting to run the `stripe.accountLinks.create` stated in the documentation I am getting the error "Account links for this connected account are not supported." "StripeInvalidRequestError"

Related Request ID(s)
req_PDv0MWfLfKBjLL

What have you already attempted?
I have tried multiple different variations of the `stripe.accountLinks.create` api with different values to get this work and have been following the code example in the docs

What are you working on?
Modifying the onboarding flow for our new connect customers

#

@graceful turtle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am working on a project called Stripe Subscription Restructuration Proposal. The issues we are currently having is that 1. Stripe is not connected with our Admin system, 2. The subscriptions are not well organized so we can't perform analytics on them. To resolve both problems we want to restructure the subscriptions and add a metadata field to each subscription/customer/payment with the corresponding portal_id of this person to track who paid for who and if everyone correctly paid.
I would like to talk to someone to know the best way to go around this issue!

Doc/Guide Links
https://docs.stripe.com/api/metadata

What are you working on?
Stripe Reconciliation with our admin system

atomic shuttleBOT
#

@stoic jasper pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How do I fetch a separate API to order products from another storefront once the user payment has been processed? Sort of like a custom checkout flow, where, once the user's payment has been received, I make the order via my own API. If that API is successful, then provide the user with a success message -- otherwise, show that it fialed?

Doc/Guide Links
Specifically, I'm using the Shopify Storefront API. I already know how to use the Storefront API, but I want to know how I can call it via triggers from Stripe (e.g. when Stripe says a payment has been processed, then call the Storefront API, and from there, determine if the order was successful/failed).

What are you working on?
A SaaS app

atomic shuttleBOT
#

@valid pagoda pressed the πŸ“‘ API button in #help to ask a question:

Question
subscription are cancelling automatically from dashboard

Related Request ID(s)
in_1PJgVo4V4UG4b3QnPOr9qiHp

What have you already attempted?
I have tried to find actual reason for this but nothing yet. talked to support also and they are not fin anyting till now

atomic shuttleBOT
#

@rich flame pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to create the payment links, but in the β€œmetadata” key I want to add inside this dictionary a key called β€œproducts” that contains the names of several products.

What I do is to create a list of strings with those names and I'm getting this error:

Request req_T45Mn4v9MMOgjE: Metadata values must be strings, but for key `name_product` you passed in a value of type `hash`. Invalid value: {: β€œ0”=>β€œPRODUCT NAME1”, : β€œ1”=>β€œPRODUCT NAME2”}

Translated with DeepL.com (free version)

Related Request ID(s)
req_T45Mn4v9MMOgjE

What have you already attempted?
I know that it must be added to the line_items but I need to do this process for a logic of my project.

And using the checkouts is not an option... sadly

What are you working on?
payment links

atomic shuttleBOT
#

@foggy latch 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
I am implementing embedded onboarding for standard accounts in my dev environment and I am getting the following screenshot on the page (will post in thread). When I click the "Add Information" button, it just links me out to normal stripe onboarding instead of embedding it.

What have you already attempted?
everything seems to be implemented correctly but i'm not sure why it's not showing the embedded onboarding.

#

@golden nymph pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am creating invoice with customer from Denmark. My connect account is based in Czechia. Account is registered to OSS. Tax should be calculated automatically. I expect to tax location to be Denmark and 25% tax rate.

What actually happened?
In created Invoice. Customer is from Denmark without TAX ID. On invoice is tax rate 21% and location CZ.

Reproduction Steps
Create account with country in CZ and tax registration to OSS. Create Invoice to Customer from Denmark without Tax ID.

Question
Is there any other settings than automatic tax and tax registration to OSS for that connected account to be able to calculate tax as need for OSS in CZ?

#

@queen jewel pressed the πŸ“‘ API button in #help to ask a question:

Question
Is adapting pricing only working when presented with customer_email? It doesn't seem to work when an existing customer id is passed.

Related Request ID(s)
req_I329jYVUm921IF

What have you already attempted?
I'm trying to figure out how adaptive pricing works and if I can activate it in production. I've created a customer with +location_XX in the email and used its ID when creating a stripe checkout session. It did not work, it seems to only work when customer_email is passed?

#

@hoary scroll pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Let's say for our product A we offer a bundle. This bundle comes in 5 different variants (5mg, 10mg, 15mg...). We want the variant name to appear on the invoice depending on what bundle they chose. I would ideally like to create 1 product with 5 different prices and customize it there, but it says the price description is not customer facing. Is there a way to do this via prices or will I have to create a new product for each bundle type?

Doc/Guide Links
https://docs.stripe.com/invoicing/products-prices?dashboard-or-api=api

What are you working on?
adding in bundles with different variants as new products

atomic shuttleBOT
#

@vocal stump pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm having trouble locating my Payment method domain in connect context. When I retrieve the domain using this code:

```php
$json = $client->paymentMethodDomains->all(['domain_name' => 'mydomain'], ['stripe_account' => 'acct_1BoB66Lj11Ytqxjb']);
```

I'm getting domain ID `pmd_1PMBNnLj11YtqxjbY56pAMJW`, but when I look at the dashboard for this connected account (in test mode), I only see a domain with ID `pmd_1PMBPSLj11YtqxjbMyuyHfOu`

Related Request ID(s)
req_f01ZlZEczlxGzm

What have you already attempted?
See above

What are you working on?
Activating payment domains for standard connected accounts

#

@timid glen pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am creating an email of line items from stripes invoice paid event. I want to surface promotion codes but am aware stripe currently does not seperate out discounts for prorated invoices. What would be the most efficient way to retrieve that info?

Doc/Guide Links
https://docs.stripe.com/api/invoices/object

What are you working on?
Surfacing prorated discount amounts

atomic shuttleBOT
#

@ivory siren pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How to get my app to read webhook events?

Related Event ID(s)
evt_1PK7zkBtulXzgaJcoRRysgk3

What have you already attempted?
I talked to support in the thread `1245733139054202976`. They told me that the webhooks would be sent via the connected accounts api but there's no connected accounts. How exactly do these tie into stripe apps, this seems to me like I need to setup stripe connect.

What are you working on?
Analytics app

#

@fleet sand pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
my code is a lot of different parts so Ill send it when needed

Question
I'm trying to submit a json list to a database after a payment goes through. I've already added the submission portion and it works fine I just am unsure of how to still submit it after a payment goes through

What have you already attempted?
using a webhook to call the push data function after the payment

What are you working on?
A registration form for events that require payments

atomic shuttleBOT
#

@opaque dust pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
My subscribers have a usage based model of reports requested. We provide the first free and any others for the month and in perpetuity are at cost. How do I provide this first report free (and add the free report at the end of the month to the subscription invoice) . I saw you can add a transform_quantity to a Price but it doesn't really help my use case

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide?dashboard-or-api=api&architecture-style=resources&lang=node#create-pricing-model

What are you working on?
Saas app providing property reports

atomic shuttleBOT
#

@eternal jewel pressed the πŸ“‘ API button in #help to ask a question:

Question
Questions regarding /v1/checkout/sessions API
In payment mode what is difference between two scenarios?
1) Checkout.PaymentIntent == null
2) Checkout.PayamentIntent != null and session.PaymentIntent.Status == stripe.PaymentIntentStatusRequiresPaymentMethod

From my local test, after the checkout session is created, if I don't enter the payment info, the Checkout.PaymentIntent == null, then what scenario when case 2) is returned?

Related Request ID(s)
req_igKSGSdZpBEc1D

What have you already attempted?
doesn't fine answer from API docment

What are you working on?
building

#

@hollow magnet pressed the πŸ“‘ API button in #help to ask a question:

Question
Test affirm payments through Stripe: Sandbox asks for Social security number

Related Request ID(s)
pi_3PMDzJLYbD2uWeLi1Ob7ernP

What have you already attempted?
Usually, the Affirm sandbox would always succeed the purchase no matter what. Now it fails no matter what (until I try all 10000 combinations for last 4 digits)

What are you working on?
Adding Affirm as a one off payment option

atomic shuttleBOT
#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to generate a payment link for an order in my platform for which the user can pay and the payment details needs to be stored in the customerData.

Related Request ID(s)
NA

What have you already attempted?
I tried creating a paymentMethod cause i couldnt find the link creation in sdk

```ts
stripe.paymentMethods.create(
{
type: "card",
card: {
number: "4242424242424242",
exp_month: 12,
exp_year: 2022,
cvc: "123",
},
},
{
idempotencyKey: "blabla",
}
);
```

atomic shuttleBOT
#

@vocal forge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Can you use customers and payment methods from an existing Standard Account as the platform account if it's linked with Stripe Connect? We're a platform account and we need to be able to charge cards on file that are already saved in our customer's Standard Account. When onboarding them to our Stripe Connect platform is it possible to then get access to those customers and payment methods? Additionally, this customer is using a separate scheduling application to require their clients to save a card on file in order to book an appointment so this is originating from a different Stripe Connect application.

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/connect#cloning-payment-methods references cloning a payment method from a platform account to a connected account but is it possible to go the other way?

What are you working on?
A patient payment application

#

@hallow sundial pressed the πŸ“‘ API button in #help to ask a question:

Question
I can't disable Link, tried disabled in Stripe admin and in code but link still shows up as a payment option.

Related Request ID(s)
n/a

What have you already attempted?
I've disabled link on this page: https://dashboard.stripe.com/settings/payment_methods

And in the code here:

elements.create('payment', {
style,
layout: 'tabs',
paymentMethodOrder: ['us_bank_account', 'card'],
disableLink: true,

#

@ivory siren pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How to get my app to read webhook events?

Related Event ID(s)
evt_1PK7zkBtulXzgaJcoRRysgk3

What have you already attempted?
I talked to support in the thread
1245733139054202976*. They told me that the webhooks would be sent via the connected accounts api but there's no connected accounts.
How exactly do these tie into stripe apps, this seems to me like I need to setup stripe connect.

What are you working on?
Analytics app

#

@subtle crag pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
```cs
var options = new InvoiceUpdateOptions()
{
options.DefaultTaxRates = null
};
```

Question
In the Stripe.NET library, I am trying to update an invoice to remove all default tax rates. I provided null as shown in the code, but the default tax rate remains.

Am I using this incorrectly?

What have you already attempted?
I have also tried to pass "an empty string" as the parameters suggests; but I cannot pass "" to DefaultTaxRates (does not compile).

What are you working on?
A system which allows clients to create and update draft invoices.

atomic shuttleBOT
#

@odd falcon pressed the πŸ“‘ API button in #help to ask a question:

Question
I am testing out Stripe meters and I am wondering about the behavior.

I have a situation in which one customer might have multiple subscriptions tied to a meter. Because meter events are tied to a customer rather than a subscription, when I attempt to record usage for one subscription it adds usage to both, effectively charging the customer twice.

This was doable before with legacy usage pricing. How can this not be doable with new shiny meters?

Related Request ID(s)
req_vjyagt1DhonqN4, req_vjyagt1DhonqN4

What have you already attempted?
I have attemped passing a subscription_id to the event as well, but obviously that doesn't work as it's not in the docs butI thought i'd take a long shot

What are you working on?
A SaaS platform that allows users to rent their own instances of the software. They are then charged for seats usage. Users might have multiple projects for which usage be recorded seperately.

atomic shuttleBOT
#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
I am not able to see the saved payment method in customer while using checkout

Related Request ID(s)
NA

What have you already attempted?
i created a checkout session earlier using
setup_future_usage: "on_session"
but when i created another checkout session for the same customer i didnt see any saved payment method in checkout page

#

@dense patrol pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way I can create a customer, a bank account, and configure a subscription via ACH all through the API using instant verification for the bank account to avoid the micro-deposit pattern?

I have a custom app where a customer provides the bank details but we can't surface any more than text boxes to them (and therefore can't embed the Stripe.js instant auth modal). I'm willing to take the risks of failed ACH transactions assuming I can simplify this workflow.

Related Request ID(s)
unfound

What have you already attempted?
Dug through all of your api docs and it only shows support for the micro-deposit validation via api.

What are you working on?
A very light contractual agreement UI that involves text inputs only that I need to use to configure an ACH subscription via stripe.

atomic shuttleBOT
#

@gritty anvil pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello!

Hope y'all have been well.

I've recently implemented subscriptions into the platform I'm working on. These are generic SaaS subscriptions that seem to mesh well with Stripe.

However, the platform is also a marketplace. I'm currently scoping out how Stripe would best fit into allowing users on the marketplace to be able to create their own subscription packages and allow users to subscribe to them.

It seems like everything is tied to a Stripe price, which doesn't allow for much dynamic flexibility (i.e let's say each user wants to create their own pricing).

How can I implement this?

Related Request ID(s)
No relevant API calls

What have you already attempted?
I've combed through the Stripe subscription docs with no luck.

What are you working on?
See the question

atomic shuttleBOT
#

@hidden musk pressed the πŸ“‘ API button in #help to ask a question:

Question
payout api fails with "message": "You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077

Related Request ID(s)
eq_l50XucIwChjLtn

What have you already attempted?
payout

What are you working on?
fintech application on crowd pool money

#

@raven parrot pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am building a server-driven integration for Stripe Terminal and would like update the cart on the reader as items are added/removed. If this cart screen is shown, it gives the customer the option to pre-dip, however, I cannot seem to figure out if it's possible to check if the dip occurred. I would like to avoid having to make a call to processPayment and have the customer tap again. Is there any insight around best practices for handling the pre-dip when using a server-driven integration for Terminal?

Doc/Guide Links
https://docs.stripe.com/terminal/features/display

What are you working on?
Terminal

atomic shuttleBOT
#

@vocal stump pressed the πŸ“‘ API button in #help to ask a question:

Question
A MobilePay charge's payment_method_details will have type `card` instead of the expected `mobilepay` type.

Related Request ID(s)
pi_3PMHhdLj11Ytqxjb06JF6do8

What have you already attempted?
See latest_charge.payment_method_details.type - should this not be mobilepay, with the card nested correctly under mobilepay.card, like the documentation says? See https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-mobilepay

#

@vocal forge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Referring back to this thread that got closed really quickly: #dev-help message. How can I determine if a customer's Stripe account is already connected to a controlling platform account? Is there something I can have them look for or can we only check after we've had them onboard to our Stripe Connect platform?

Doc/Guide Links
#dev-help message

What are you working on?
Patient payments app

#

@hoary prairie pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
{
"error": {
"code": "Failed",
"declineCode": null,
"localizedMessage": "Card details not complete",
"message": "Card details not complete",
"stripeErrorCode": null,
"type": null
}
}

Question
We are trying to use the PaymentSheet in a react-native app to store a credit card with a Setup Intent. When the payment sheet completes, the card appears to be successfully set up in Stripe, but we get that error from the Stripe SDK

What have you already attempted?
this is the response from the setup intent confirm call (trimmed to fit)
"id": "seti_1PMHyCDFLdjPQhScR179sHlF",
"object": "setup_intent",
"automatic_payment_methods": null,
"cancellation_reason": null,
"last_setup_error": null,
"livemode": false,
"next_action": null,
"payment_method": "pm_1PMHyODFLdjPQhScxQT5wEeF",
"status": "succeeded",
"usage": "off_session"

What are you working on?
A react native Point of sale application

atomic shuttleBOT
#

@uncut oasis pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, how can I through the Stripe API / Stripe JS update a subscription's default payment method after it has been created? Is there a way to use the Elements JS and API to update this vs the Customer Portal? Also is it possible to get the payment update_payment_method_link somehow via API?

Related Request ID(s)
req_4z5QelVwpVNcnL

What have you already attempted?
I have a custom html checkout where I am using the API and then the Address and Payment Elements to gather payment details and create the subscription which works. I created it with a successful test CC and then switched the CC via the update payment link in the Dashboard to 4000000000000341 to simulate a renewal payment failure which also works but now I can't seem to figure out how to update the existing payment method, set as default, on the subscription.

What are you working on?
Building a custom html cart flow where I use the API and the JS Elements to build a solution without housing the CC data for PCI compliance.

atomic shuttleBOT
#

@tropic bridge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
A customer wants to have a Tax ID as an identifier on his generated invoices, but these customers are not businesses but people, and the format is not supported. How can I add custom fields to the invoices?

Doc/Guide Links
https://docs.stripe.com/tax/invoicing/tax-ids

What are you working on?
I'm attempting to add support for a Tax Indentifier in my invoices

atomic shuttleBOT
#

@glass umbra pressed the πŸ“‘ API button in #help to ask a question:

Question
Where i need to use idempotencykey checkout, webhook?

Related Request ID(s)
IdempotencyKey

What have you already attempted?
Where i need to use idempotencykey checkout, webhook?

atomic shuttleBOT
#

@full crypt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is it a good idea to use the stripe cli as part of a projects tests?

I'm working on https://github.com/django-stripe/django-stripe and I would like to build tests to test out the library
The library has one goal to sync you stripe data in your django project (through webhooks)
I'm thinking to use the cli to listen and trigger events
then assert that they exists in the db
Is that bad practice? can such a thing be done with the python sdk?

I would potentially run it in ci

Doc/Guide Links
https://docs.stripe.com/libraries?lang=python
https://docs.stripe.com/stripe-cli/overview

What are you working on?
django-stripe

#

@main nymph pressed the πŸ“‘ API button in #help to ask a question:

Question
need help defining which api to use for my scenario. I have built an app where food vendors sells food to customers. I would like that when the customer checkout a payment request occurs however I would like the payment not to be released to the vendor yet. later when user receive the food they can confirm and that is when I want vendor to be paid and myself to take an application fee. what api should I use

Related Request ID(s)
none

What have you already attempted?
I have tried direct charges but I don’t know how to old payment until later time (with sessions and url)
I have looked at the payment intent but I’m not sure once it’s done #1 how to trigger the payment sheet and then how to confirm it later

What are you working on?
it’s decried already above

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': plan['plan_id'],
}],
proration_behavior='always_invoice',
billing_cycle_anchor='now',
expand=['latest_invoice.payment_intent'],
payment_behavior='pending_if_incomplete',
default_tax_r

Question
I want to apply tax on the subscription update

What have you already attempted?
created subscription with tax

subscription = stripe.Subscription.create(
customer=customer_id,
items=[{'price': price_id}],
expand=['latest_invoice.payment_intent'],
discounts=[{'promotion_code': coupon_code}] if coupon_code else [],
default_tax_rates=[GST_TAX_ID] if data['currency'] == 'inr' else []
)

What are you working on?
subscription upgrade

#

@deep lark pressed the ❌ An Error button in #help to ask a question:

Error Message
The customer does not have a payment method with the ID pm_1PM9l8FTe71TnU797VScEmID. The payment method must be attached to the customer.

Question
I am getting this error when creating a setup intent for a customer.

What have you already attempted?
I have a the "card" flow working properly but I can't get the iDEAL flow working. I have a subscription purchase in my app.

#

@drifting portal pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/destination-charges?platform=web&ui=elements&lang=curl&client=react&fee-type=transfer-amount#collect-fees

Question
Can I, when collecting money through the Checkout process for a Connect account, have more than two recipients of funds? The docs talk about one other Connect account that you can specify, and then you take a cut.... but we have a situation where we might want multiple other Connect accounts underneath us that would take a piece of the amount. Is that possible?

What have you already attempted?
Read through the docs

What are you working on?
Custom check out process

#

@ionic dew pressed the πŸ“‘ API button in #help to ask a question:

Question
Klarna's Payment method is not shown.

Related Request ID(s)
cs_test_a1sPOTlZlKla3tPDigkYcdnBWcTGD4uvVICOxrTDvOhW3uJxKteWRCB0iq

What have you already attempted?
I'm using the stripe checkout sessions(stripe.checkout.sessions) I have enabled the connected stripe account PM using(https://docs.stripe.com/api/payment_method_configurations/update) but Klarna PM is not shown on the stripe checkout element.

atomic shuttleBOT
#

@latent imp pressed the πŸ“‘ API button in #help to ask a question:

Question
getting insufficient balance error on payout, even if the balace is enough

Related Request ID(s)
ch_3PMOu9L47ncEHyoY1kvxmz04

What have you already attempted?
I checked the balance but still on payout getting error

#

@opal cliff pressed the πŸ“‘ API button in #help to ask a question:

Question
How stripe end date will work ?

Related Request ID(s)
NOID

What have you already attempted?
How stripe end date will work ?

#

@manic tundra pressed the πŸ“‘ API button in #help to ask a question:

Question
So while trying to create a subscription I'm getting the following error:
billing_cycle_anchor cannot be later than the next natural billing date for the plan

Related Request ID(s)
req_cSF4Espi26IZS9, req_bB9Ghxnx4yox1r

What have you already attempted?
Also, it seems it is only happening from 5:00 to 7:00 am UTC otherwise subscriptions are being created without any issues.
I am manually setting "billing_cycle_anchor": 1717225200,

What are you working on?
Try to create a subscription which will be charged At a specific time In future

atomic shuttleBOT
#

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

What did you expect to happen?
Dynamic (or regular Statement Descriptors) should propagate correctly to the payment method.

What actually happened?
Revolut cards IGNORE dynamic or static statement descriptors, and add their own 4 digit code followed by the merchant name.

For example, we pass COMPANYX.COM 1234 but Revolut prints out 9876 COMPANYX.COM

Reproduction Steps
Any card payment made with a revolut card.

Question
How can we a) fix this so that Revolut respects the dynamic descriptor or b) identify a payment was made with a revolut card so we can NOT use the dynamic descriptor as a validating mechanism.

What are you working on?
Payment flow for Ecommerce site.

atomic shuttleBOT
#

@haughty granite pressed the πŸ“‘ API button in #help to ask a question:

Question
How to update the expiry of a card that has already been setup for off-session payments? Will all the subsequent MITs fail if I don't update the expiry?

Related Request ID(s)
https://docs.stripe.com/api/payment_methods/update

What have you already attempted?
Couldn't find it on the docs

atomic shuttleBOT
#

@sweet hearth pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<Elements
options={{
locale: 'it', //it-IT
stripe={stripePromiseRef.current}
>
<PaymentMethodMessagingElement
options={{
amount: price * 100,
currency: 'EUR',
paymentMethodTypes: ['klarna'],
countryCode: 'IT',
}}/>
</Elements>

Question
https://docs.stripe.com/payments/payment-method-messaging#info-modal
Info modal's payment terms text has not been translated to Italian. The rest content of the modal has been translated. How to fix it?

What have you already attempted?
I tried use different locales and it works fine, only it and it-IT don't work as expected. I also try change location in my browser for Italy and set locale in Element as 'auto'. Last thing what I did is connect to Italy through VPN. Same result.

What are you working on?
I create product card which includes information about installment using Klarna.

#

@haughty crystal pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Make transaction completed

What actually happened?
Can not pay via card

Reproduction Steps
Customer report, don't know how to reproduce

Question
how to fix it, plz help , Can not pay via card

#

@quick current pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How can I register a webhook on behalf of our clients, that will monitor for subscription cancel events

Related Event ID(s)
subscription_schedule.canceled

What have you already attempted?
I registered a 'connect' type webhook endpoint in my dashboard and used the connect onboarding link in my UI, but this doesn't link to the customers existing account, rather it creates a new connected account, that doesn't have access to customers on-going subscriptions.

What are you working on?
I need to see if one of our clients customers cancels a subscription, so I can stop generating the relevant commission points in our app.

#

@languid gate pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
case "invoice.paid": {
create_log_entry(supabase, "info", "Event: invoice.paid")
const billing_reason = event.data.object.billing_reason

  if \(billing\_reason === "subscription\_cycle"\) {
    const customer\_id = event.data.object.customer?.toString\(\) ?? ""
    const end\_date = event.data.object.period\_end
    updateUserSubscriptionRenewal\(supabase, customer\_id, end\_date\)
  }
  break

Question
I am trying to renew the subscription end date - for that my webhook should retrieve the invoice.paid event and update the subscription end date - but for some reason the code isn't working -am I maybe using a wrong event for this?

What have you already attempted?
Looked into the stripe docs and an invoice should be created whenever a subscription gets renewed

#

@topaz coral pressed the πŸ“‘ API button in #help to ask a question:

Question
In production environment, if I create programatically an account with specified VAT ID and redirect it further it to hosted onboarding page, will stripe accept the account that would send documents of another VAT ID entity?

Since a week I am fighting how to ensure that data provided by user in hosted stripe onboarding are the same that he put in our system.

Related Request ID(s)
none

What have you already attempted?
Sending VAT ID from programatically created account, but this still allows user to provide data of another person

What are you working on?
Ensuring user credibility

#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I update field "payout_control_policy[can_edit_payout_schedule]: false" into Stripe Connect account

Related Request ID(s)
req_3bfPsErQTDcPGE

What have you already attempted?
I want to turn off Stripe Connect account edit payout schedule, i tried to send payout_control_policy[can_edit_payout_schedule] but is have error, I wonder can I do turn off this?

What are you working on?
Trying to Prevent Stripe Connect account's owner to edit payout schedule

#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I download a file, after retrieving from Files API.
So the file url.

Related Request ID(s)
none

What have you already attempted?
I don't know what to attempt really.

What are you working on?
A app showing some data and being able to upload some files to stripe.

#

@cerulean frigate pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am using Checkout and am trying to write webhook handlers to catch one-off payments and subscriptions. I've completed the subscriptions portion, but am unsure what event I should be relying on for one-off payments. Is it the `checkout.session.completed` or `payment_intent.succeded`?

Related Event ID(s)
checkout.session.completed, payment_intent.succeeded, customer.subscription.created, customer.subscription.updated, customer.subscription.deleted

What have you already attempted?
I've built the subscriptions flow which relies on the customer.subscription.* options, and syncs these objects to my db

#

@haughty crystal pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Make transaction completed

What actually happened?
Can't complete transaction

Reproduction Steps
Can't reproduction, plz

Question
Do u know how it happen we want to verify out code

#

@gray carbon pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey guys! I can't find on Documentation how to update an uncollectible invoice to void. I managed to update it via UI but I can't find the API call. Could you help me?

Related Request ID(s)
Didn't found anything related

What have you already attempted?
I read all these documentation pages:
https://docs.stripe.com/invoicing/invoice-edits?testing-method=with-code
https://docs.stripe.com/api/invoices/void

When I run the above code it returns that the invoice does not exist.
I assume I can't void the invoice because it hasn't been finalized.

I have already tried to use the $stripe->invoices->voidInvoice('in_1MtGmCLkdIwHu7ix6PgS6g8S', []); but it didn't work.
Any idea on how to update an invoice status from uncollectible to void or to paid?

What are you working on?
I am working on LMS app where we use the Stripe to sell customer's courses to the end users.

atomic shuttleBOT
#

@frank timber pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Successful Apple Pay Payments. Description: In the web application developed and published
on the Shopify platform, the Stripe payment system has been
integrated. Payment cases via Visa, Mastercard, and American
Express are processed successfully. Shopify's team confirmed that all settings on the Shopify side have been configured correctly

What actually happened?
Apple Pay payment issue - The InPost plugin is utilized
for the delivery of goods (see the full list of plugins below), and
various delivery options are available: parcel locker delivery,
courier delivery. Error message received: β€œTry a different card”.
No changes to the code or modifications to the modules related
to payment or delivery have been made.

Reproduction Steps
Our hypothesis
suggests an issue with the compatibility of shipping/billing
addresses. When selecting Apple Pay, the address is input
entirely through Apple Pay, and it will function seamlessly in all
countries except Poland. In Poland, due to the parcel locker
selection field, there is a misalignment. Apple Pay payments are suspended to prevent abandoned purchases

Question
In cases concerning
Poland, the retrieval method defaults to parcel locker, but
because some address updates occur within Shopify itself, the
payment process is disrupted during parcel locker delivery. Payment page settings in the Shopify admin panel:
https://prnt.sc/GbVflbXtSPo4
https://prnt.sc/mSgipPQQdrDt
https://prnt.sc/nV7y2q74SVlh

What are you working on?
e-commerce web platform for merch selling https://ifan.co/ contact email ifan.store.team@gmail.com

#

@haughty crystal pressed the πŸ“‘ API button in #help to ask a question:

Question
In Stripe IOS SDK when card do 3DS, what endpoint of 3DS page ?

Related Request ID(s)
no

What have you already attempted?
We have plan to make free 4G data for user when using app, It user filter buy domain, how about 3DS page ?

What are you working on?
same with above

#

@sweet wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi,
I working with multiples portail configuration set by API. I had my products with their prices, but i can't find in the doc the parameter to set the minimal and maximal quantity like in the front configuration

Related Request ID(s)
req_ByH6HcCg3Gswza

What have you already attempted?
On my Postman body i have this line
features[subscription_update][products][0][product]
I try several fields before ask like quantity, min, max, min_quantity, etc

What are you working on?
I am working on a SaaS

#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I get file link id through the file api somehow?
Need a File Link. Dispute evidence accept File only.
Do I need to store some data on db?

Related Request ID(s)
none

What have you already attempted?
Attempted to create both file and filelink, but no success.

What are you working on?
App submitting files to stripe

#

@bronze spade pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
https://docs.stripe.com/google-pay?lang-android=java

Question
https://docs.stripe.com/google-pay?lang-android=java
I have implemented all the recommended code from this link, but the "onGooglePayReady" method always returns false in both the test and production environments. What could be causing this issue?

What have you already attempted?
https://docs.stripe.com/google-pay?lang-android=java
I have applied all the suggested code by this link.

What are you working on?
Android Stripe Integration

atomic shuttleBOT
#

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

Error Message
Error creating account session: TypeError: stripe.accountOnboarding is not a function
at t.createAccountSession (stripe_onboarding_controller-2a7ad772a81f9f3e6ef6f4b6718bef4f98cf27004f074f4561ec19f20627f306.js:32:48)

Question
I receive the above error message when trying to initiate embedded connect onboarding.

What have you already attempted?
different variations of the stimulus controller, not loading the stripe script in the view, changing the account session to the link.

What are you working on?
onboarding connect accounts

atomic shuttleBOT
#

@opal cliff pressed the πŸ“‘ API button in #help to ask a question:

Question
what is applied balance in the subscription?

Related Request ID(s)
sub_1PMSZzJKyfLg4PX0YZmJr8kJ

What have you already attempted?
we have created subscription... but with 0.50 for each one total is 1... but with aplied balance it is showing 1.14 for in invoice

atomic shuttleBOT
#

@warm narwhal pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am writing a webhook for Stripe using Next.js, Firebase, and deploying my website to Cloud Run. The code works perfectly fine on my local development environment, but when deployed to Cloud Run, the webhook does not execute beyond the initial console.log("Received Stripe webhook event.");. What could be causing this issue?

Related Event ID(s)
Since this is related to the Cloud Run deployment and Stripe webhooks, include any specific event IDs from Stripe if available, and deployment logs from Cloud Run.

What have you already attempted?

  1. Verified that the code works locally without issues.
  2. Checked environment variables to ensure they are correctly set in the Cloud Run environment.
  3. Reviewed Cloud Run logs, but the detailed logs after the initial console.log statement are not visible.
  4. Ensured that the body parser is disabled as required by Stripe.
  5. Added detailed logging to trace the exact point of failure, but no logs appear beyond the initial statement in Cloud Run.
atomic shuttleBOT
#

@molten root pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/customer-balance/migrating-from-sepa-credit-transfer

Question
Migration of SEPA Credit Transfer to customer_balance question:

  1. I changed my code to not listen to "source.transaction.created" but to "customer_cash_balance_transaction.created"
  2. After my new code is LIVE, there will still be in_transit wire transfers that will arrive in the customers corresponding SEPA Credit Transfer Source

If I called the customers "instruct_funding" at the time of migration, will the in_transit wires be automatically avalaible as cash_balance and the event above is triggered?

What have you already attempted?
I can't test this in test mode (as there is no in_transit state and the funds are immediatly in the customers balance) and the documentation is unclear about this

#

@dreamy snow 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/guest-customers

Question
What is the best way to prevent duplicate customer creation when a user buys a cross-sell product and how can I retrieve all their purchases? I want to sell an side-product for the main product but the problem now is that, if a customer buys the side-product, the customer will be registrered twice in Stripe. I just want to retrieve all purchases from 1 Customer object.

What have you already attempted?
Parsing client_reference_id to prevent duplicate customer creation in Stripe, but that makes it a guest payment and guest payments can't be retrieved directly via the API. What is best practices to get all purchases from a customer?

What are you working on?
I am working on an add-on feature that I want to sell for the main product.

#

@novel parcel pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
metadata for transactions

Question
We need to update the metadata of more than hundred thousand transactions
So our question is:
Would It be possible, for us,
to send you data in csv format and update transfers from 2021-2024:
Example of csv data:
EXT ID, METADATA
ext_id, new_metadata
If you have any other ideas or functionality how to help us, we are opened for any solution
Thank You

What have you already attempted?
manual it's possible but we have 6.5 M records

What are you working on?
Metadate update

#

@restive glacier pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using spreedly as a card vault. when I am making the transaction using apple pay with spreedly at that time it's giving error of "Missing required param: payment_method_data[card][number]."

Related Request ID(s)
req_4HUCxoXBQZeW3Z

What have you already attempted?
I have created one support ticket on stripe support but, I didn't get any response on that.

What are you working on?
To solve this issue I have create one support ticket on speedly support, so they told me to enable decrypted ApplePay data to PaymentIntent or SetupIntent, can you please enable that for my account

atomic shuttleBOT
#

@uneven basalt pressed the ❌ An Error button in #help to ask a question:

Error Message
The provided setup_future_usage (null) does not match the expected setup_future_usage (off_session). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.

Question
I don't understand what's wrong. Request (req_KgyljgRNIENCBO)

What have you already attempted?
I'm looking for documentation or solutions but I am not finding anything

Reproduction Steps
I'm using 4000000000000341 Stripe's card in order to test failed payments

atomic shuttleBOT
#

@undone tangle pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
app.post("/create-checkout-session", async (req, res) => {
const domainURL = process.env.DOMAIN;
const { priceId } = req.body;

// Create new Checkout Session for the order
// Other optional params include:
// [billing_address_collection] - to display billing address details on the page
// [customer] - if you have an existing Stripe Customer ID
// [customer_email] - lets you prefill the email input in the form
// [automatic_tax] - to automatically calculate sa

Question
I'm working with Node.js and integrating Stripe as a payment processor. I have some concerns regarding the integration of recurring payments. In the test environment, I'm unable to verify the events that occur when the integration is done via Checkout and the mode is Subscription.

What have you already attempted?
I have already tested the simple Checkout Subscription example repository

What are you working on?
Suscriptions

#

@deft crescent pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/determining-how-many-terminal-card-readers-your-business-needs?locale=en-GB

Question
Hi, is is possible to control multiple readers simultaneously from the stripe SDK for iOS/Android? Leaving peripheral issues aside (eg. say I have 3 readers connected to a USB hub connected to an android tablet), is is possible to control all three readers from a single instance of the SDK, or will this cause issues?

What have you already attempted?
Reading the documentation

atomic shuttleBOT
#

@native saddle pressed the πŸͺ Webhooks button in #help to ask a question:

Question
My account.updated webhooks are timing out/not connecting after working fine in the past for quite some time. Also, when I use Stripe CLI and the listen command to test locally, I am told my API key starting with rk_test is expired, but I have NEVER used a restricted key. I am able to create linked Connect accounts with the keys I'm using currently, so I'm not understanding why said keys are having issues in other events

Related Event ID(s)
evt_1PMJeFQwlzWPxP62ZITF2p2S

What have you already attempted?
I have confirmed that all my .env deployed keys are current and matching the keys in my developer dashboard. I have confirmed they are not expired. I have confirmed that I do not have restricted key used/deployed anywhere at all. I have tried listening locally but am unable to connect due to an expired key

What are you working on?
I am working on a marketplace that allows users to sell tickets to events after connecting their Stripe account, and I then make payouts to said linked account

atomic shuttleBOT
#

@tulip cliff pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I update my stripe checkout so customers payment methods will be saved?

Related Request ID(s)
N/A

What have you already attempted?
It used to work but it stopped.

What are you working on?
Subscription system with 10000 customers with 1-3 subscriptions

#

@errant creek pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a subscription that is no longer being retrieved. Can you please confirm if the subscription ID has been removed or the status of it?

Related Request ID(s)
sub_1OX56QGQqdmYBSiXLzk96ekn

What have you already attempted?
I have tried retrieving the subscription with stripe apis

#

@golden nymph pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How to add Company Identification Number (for example in Czechia IČ) to invoice PDF for customer?

Doc/Guide Links
https://docs.stripe.com/invoicing/customize

What are you working on?
Zaptime - Personalised scheduling of your meetings and calls.

#

@dusky magnet pressed the πŸ“‘ API button in #help to ask a question:

Question
When are idempotency keys deleted in Stripe?

From https://docs.stripe.com/api/idempotent_requests?lang=python, it says "You can remove keys from the system automatically after they’re at least 24 hours old." The language is slightly confusing here, so wanted to check whether we need to implement a process to remove idempotency keys after 24 hours or if Stripe does that automatically

Related Request ID(s)
N/A

What have you already attempted?
Read through https://docs.stripe.com/api/idempotent_requests

#

@hoary marlin pressed the ❌ An Error button in #help to ask a question:

Error Message
Uncaught (in promise) IntegrationError: Missing value for Stripe(): apiKey should be a string.

Question
Why does stripe only throw this error when its being run in a docker container and how can I prevent stripe from saying this.

What have you already attempted?
Logging the env variable and passing in the key as a string to confirm the variable is not undefined. I also verified that its indeed a string

#

@tulip cliff pressed the πŸ“‘ API button in #help to ask a question:

Question
Trying to get stripe to redisplay payment methods in checkout

Related Request ID(s)
req_vtpxwVmUtcnMwn,req_lYO5eobGLpCcJ4

What have you already attempted?
I added "payment_method_data": {
"allow_redisplay"
:
"always"
,
},

#

@brisk hound pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi, we have Users and Organization in the APP.

Now when it comes to storing payment method I'm interested in the best practice.

Should I create a CUSTOMER in Stripe for each User or for each Organization?

If I do it for each USER, then only that user will have access to payment methods, and nobody else except of him would be able to attach that payment method to a subscription.

If I do it for each ORGANIZATION, then the payment method can be shared within the members of the organization, which have enough permissions.

We're mostly working with companies, so I think that the storing of payment methods should be on the ORGANIZATION level. So, whenever a user in our app

Doc/Guide Links
https://docs.stripe.com/api/payment_methods/create

What are you working on?
Storing payment methods, creating customers

#

@sage rover pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm using card payment with checkout session in setup mode, saving the payment method then charging it auto any time when needed by creating an invoice item -> create invoice and -> invoice pay, using the attached method. now I'm integrating sepa_debit as well for that I have enable it on my stripe account for that I want to do the same, use it with checkout session and save it for future payments, in that it saves and adds it, now when I create invoice item for payment it created but when I'm creating invoice it shows the error "Nothing to invoice for customer" even my invoice item created

Related Request ID(s)
no.

What have you already attempted?
I have enabled sepa_debit on the stripe dashboard -> added payment method sepa_debit to the customer issue is while charging I'm creating an invoice item it works but when I create an invoice it shows the error "Nothing to invoice for customer"

What are you working on?
NodeJs

#

@wicked smelt pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to create a SEPA Direct Debit mandate using the API so that i can charge customers in the future. However, after having attached the payment method to the user using a setup intent, i cannot create a payment in the dashboard. It says that the customer needs to have a valid payment method before creating any paymets.

Related Request ID(s)
req_GNBTc6P4Fp421b, req_JXWs23QrqbAtHK

What have you already attempted?
- Creating a payment method and attaching it to the customer
- creating a payment method, then creating a setup intent with confirm=True to enable the payment

atomic shuttleBOT
#

@ember jackal pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I'm using the charges API and seeing different results when I pass the parameter limit=1 (recursively) and limit=100 (recursively).

Don't know why but when running it with limit=1 I get 116 results, and when running with limit=100 I get 1138 results.

for example, taking cus_OXwNhOwJP3Q1fu as reference:
- running for limit=1 the only charge I got was ch_3NxEV02uMjzWbLQG0qlEsdkh

- but running for limit=100, I got 4 charges ch_3NxEV02uMjzWbLQG0qlEsdkh
ch_3NvRTc2uMjzWbLQG1aQWKR10
ch_3NvRTc2uMjzWbLQG1PGM2ULP
ch_3NvRTc2uMjzWbLQG1RvigUMk

Related Request ID(s)
mentioned above

What have you already attempted?
Running both workflows to see if I could spot any difference

What are you working on?
Debugging the behavior

#

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

Error Message
Identity Verification Needs Action
We are unable to verify your identity because one or more of the documents you provided are invalid. Please try again.

Question
Why I can't verify With my PAN Card on Discord?
I am an Indian Citizen

What have you already attempted?
2 Days ago discord Notified me that my bot is gonna reach 100 Servers so I need to verify on Dev Portal. but when I upload my PAN Card Back and Front Image on the verification panel of stripe its giving the error I mentioned first. Only PAN Card is an option for an Indian Citizen and its too not working. I have tried to Upload the Images 3-4 times but it didn't work.

#

@candid peak pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Mounting Stripe Element Placeholder

Question
As a part of our integration, we some times want to proceed with a cart that does not actually cost anything. In this case, we ideally still want to present the Payment Element but have it disabled, to maintain UI consistency. Is there any way to render a disabled version of the payment element purely as a placeholder, without requiring a client secret etc.

What have you already attempted?
Search docs for placeholder instructions

What are you working on?
Ticket Checkout

atomic shuttleBOT
#

@dapper umbra pressed the πŸ“‘ API button in #help to ask a question:

Question
We are building a software that provides users with a digital wallet, and allows them to empty the wallet into their bank account. We also want to collect a fee per transaction.

What would be the recommended architecture to accomplish this?

Related Request ID(s)
req_Gy1ZC2pTUMYNXI

What have you already attempted?
Currently we have a master "Connected Account" that holds and disperses funds to users digital wallets. And each user has a connected account created so they can receive their funds. The issue is collecting the fee from each users transaction

What are you working on?
A digital wallet, money sending platform

#

@dusky magnet pressed the πŸ“‘ API button in #help to ask a question:

Question
What's the best way to check if the response from a Stripe API request with an idempotency was already processed?

From local testing, I saw that I could find this information via: `result.last_response.headers.get('Idempotent-Replayed')` (where result is the invoice returned from stripe.Invoice.pay), but I wanted to see if there was a shorthand property or another method for accessing this more cleanly

Related Request ID(s)
N/A

What have you already attempted?
I've read https://docs.stripe.com/api/idempotent_requests and found one method of checking this through the last_response.headers

#

@brisk hound pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi,

can we share the same cards between different Customers?

We want to create a Customer for USER and ORGANIZATION. 
A user will have a collection of cards, which he can use assign to an organization.

But members of the organizations should be able to update the card on the organization level.

Does this sound right?

Related Request ID(s)
https://docs.stripe.com/payments/payment-methods/connect#cloning-payment-methods

What have you already attempted?
Nothing yet.

atomic shuttleBOT
#

@forest ore pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to setup a scheduled subscription at the end of the current subscriptions billing period.

Related Request ID(s)
NoneYet

What have you already attempted?
I've been looking at the docs on scheduled subscription and thought that fromsubscription would allow me to edit the existing subscription. I've tried different ways in the phases too. It keeps creating new subscriptions and leaving the old subscription. Causing double charges.

What are you working on?
New API updates for business

atomic shuttleBOT
#

@last raptor 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
Hi, i am currently working in test mode on my Stripe integration. I would like to know if it is possible to use real credit cards in test mode for transactions.

What have you already attempted?
I attempted to use a real credit card for a test transaction, but it was rejected.

atomic shuttleBOT
#

@sweet elbow pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a service clients can subscribe to.
The service has a billing cycle that is always the first of the month fixed.
The service also has a trial period that is at 50% of the price - normal price is €90 and trial price for 1 month is €45.
The client also has the option to set their preferred start date - which doesn’t have to be aligned with the invoice date.

I don't seem to be able to get the 3 combinations (different phase price / fixed invoice date vs start date / pro-rate) working in one context

Related Request ID(s)
No id

What have you already attempted?
First I tried to charge the β€œtrial period” as an invoice item, and then created the subscription with Duration 20 June to Forever setting the Bill Monthly Starting 1 July.
issues here is that the first invoice for €78 will only be issued on the 20 June. We need to invoice the trial immediately, and the first billing cycle (1.7 to 31.7) combined with a pro-rated amount from 20.6 to 30.6

Then I tried subscription schedules (via dashboard to see first) but I don’t seem to be able to have different β€œcycles” Once I start the phases with a monthly cycle that’s it I cannot have a different cycle.

What are you working on?
A SaaS checkout for services that include trial period, using a fixed invoice cycle

atomic shuttleBOT
#

@cosmic tide pressed the ❌ An Error button in #help to ask a question:

Error Message
Locked Out. Account requires pin. We don't have access to that phone number anymore. I cannot even contact CX support to change number as you again send the pin.

Question
Please contact me ASAP this is extremely poorly designed

What have you already attempted?
Everything

Reproduction Steps
You just need to have a number available for me to contact your tech support to resolve as your website design has failed.

atomic shuttleBOT
#

@reef kestrel pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, when creating a promo code, you can specify a restriction of first_time_transaction. Would an exhaustive check for this (prior to applying the code) be checking whether there have been any charges for that customer?

Also, is there any way to not allow the code if they've had a trial but were not charged (because they cancelled before converting)?

Related Request ID(s)
-

What have you already attempted?
Already looked here but couldnt confirm how to manually validate.
https://docs.stripe.com/api/promotion_codes/object#promotion_code_object-restrictions

What are you working on?
I'm aware that Stripe Elements doesnt have out-of-the-box support for promo codes. I'm trying to build it myself using the API alongside a Stripe elements subscription form.

atomic shuttleBOT
#

@plain mulch pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
https://gitlab.com/-/snippets/3715001

Question
Creating a serverless function in Go and unsure how to pass the Stripe API key to Lambda function.

What have you already attempted?
I have tested this using a regular HTTP listener, so I know it works.

What are you working on?
Serverless functions for payment intents

#

@hot laurel pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to remove the form asking for business location and business type from Stripe's hosted connect onboarding?

Related Request ID(s)
NA

What have you already attempted?
I am calling stripe.Account.create to create a connected account and including the information that the user is an individual and that their business location is the United States (which will be true for all users of my website). However, the form on Stripe's hosted onboarding asking for this information still appears.

What are you working on?
I'm working on an online market place for individuals to buy and sell goods.

atomic shuttleBOT
#

@outer aspen pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const onCheckout = async () => {
// 1. Create a payment intent
const response = await payment_service.createPaymentIntent(
service.serviceProvided.cost
);

	if \(!response\) {
		toastShow\("Algo saliΓ³ mal, intΓ©ntelo de nuevo"\);
		return;
	}

	// 2. Initialize the Payment sheet
	const { error\: paymentSheetError } = await initPaymentSheet\({
		merchantDisplayName\: "Jobis, Test",
		customerId\: response.customer,
		customerEphemeralKeySecret\: response.ephemeralKey,

Question
Whenever I try to create and show a paymentIntentSheet, I get an error in the presentPaymentSheet() call, im wondering why, it gives me this error:

Error code Failed, {
"stripeErrorCode": "resource_missing",
"declineCode": null,
"localizedMessage": null,
"message": null,
"type": "invalid_request_error",
"code": "Failed"
}

I've read and my flow may be a little bit different than the docs, but I'm providing the same parameters it asks.

What have you already attempted?
I've checked all the parameters I'm sending, from my back-end to my front-end, they are correct (according to the dashboard)

What are you working on?
Just trying to create a paymentSheet for my customer to be able to pay

#

@safe dew pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
async function createStripeAccount(email: any) {
try {
const account = await stripe.accounts.create({
type: "express",
country: "LT",
email: email,
capabilities: {},
business_type: "individual",
individual: {
address: {},
},
tos_acceptance: { date: Math.floor(Date.now() / 1000), ip: "127.0.0.1" },
external_account: {},
});
console.log("Stripe Account Created:", account.id);
return account.id;
}

Question
whenever i am trying to push edits into the users accounts or to create an account with these details i keep getting this error in the console :

StripePermissionError: This application does not have the required permissions for the parameters 'external_account', 'individual', 'tos_acceptance' on account 'x'

note I have only tried with the express accounts because thats the type I need for the users to be able to make payouts. Also I havent tried in the test mode.

What have you already attempted?
I have tried to make multiple access keys, both standard and restricted keys (i listed the restricted keys to have access to everything), went trough the connect settings and searched where I can give the access for these parameters but didnt found anything

What are you working on?
I am trying to build an affiliate program, leaving the business fields empty (not required in my app)

#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
when i do stripe.customers.list() in node sdk i get a list of customers but not the required ones

Related Request ID(s)
req_AGbRrgJWrme0sb, req_p8nAztdchb02g6

What have you already attempted?
when i use stripe.customers.retrive(customer_id)
then i get that customer detail

why so?

atomic shuttleBOT
#

@timid patrol pressed the πŸ“‘ API button in #help to ask a question:

Question
How to change base font size when using the embedded layout in Next JS

Related Request ID(s)
none

What have you already attempted?
I've tried manually changing the font size in the container element wrapping my embedded layout, however this didn't work.

I've looked at this page in the docs https://docs.stripe.com/elements/appearance-api, and seen that there is a way to change font size, however I couldn't find how to do this in Next JS.

What are you working on?
I've got a slightly modified version of the example given in the embedded layout section in the docs. https://docs.stripe.com/checkout/embedded/quickstart?locale=en-GB&client=next

#

@nimble hatch pressed the πŸ“‘ API button in #help to ask a question:

Question
In Python, making a call to `stripe.Invoice.upcoming` with "customer_details.address" as a parameter returned an object that contained the new address under the `customer_address` property. This behavior was last observed 2 days ago. It now returns null in that field. Has something changed?

Related Request ID(s)
req_8GuzR2WoTp8Gn3

What have you already attempted?
print statement debugging

What are you working on?
Subscription management for legal recruiting platform

atomic shuttleBOT
#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey guys how do i charge the payment after i have created a session which stores the payment method to a customer?

Related Request ID(s)
NA

What have you already attempted?
This is my code

#

@atomic oar pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey I am trying to calculate the tax for customers upon checkout. For this I need the customer address. However since I am using the payment element (from connect), I am unable to extract the customer address. The automatic tax using IP address is failing.

Related Request ID(s)
-

What have you already attempted?
I've already attempted to use the IP address for automatic tax calculation. Setting the fields 'address' option on the Payment Element to never (it still renders the address fields that I can not extract). Looked into Address Element.

What are you working on?
We are trying to create a custom checkout experience.

#

@signal tinsel pressed the πŸ“‘ API button in #help to ask a question:

Question
I need the stripe connect express account creation to ask for required documents right away instead of redirecting to my website and then sending a webhook saying its myssing informations

Related Request ID(s)
req_OaCMIrXrRuCkCK

What have you already attempted?
I tried creating a stripe connect account with different parameters but without luck. Result is the same everytime

What are you working on?
Stripe connect account creation for my users to they can get paid

#

@warped coral pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I get the link to download the receipt for the invoice?

Related Request ID(s)
Invoice Object

What have you already attempted?
I don't see a link for the receipt in the invoice object. But do see a receipt_number. Can I use this to get the receipt?

#

@fresh stag pressed the πŸ“‘ API button in #help to ask a question:

Question
We are creating a checkout session using an API. Sometimes, the Payment Method section does not load properly on the page. When I fill out the shipping address and click on 'Continue,' the Payment Method section suddenly appears.

What could be the cause? Could it be because of our implementation or is it something on stripe end?

Appreciate your help

Related Request ID(s)
No ID

What have you already attempted?
Nothing

What are you working on?
Creating a checkout session using API within our purchasing flow after user selected some products..

#

@orchid jackal pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
begin
# Create a new Stripe account
account = Stripe::Account.create({
type: 'standard',
country: 'GB',
business_type: 'individual',
individual: {
first_name: current_user.first_name,
last_name: current_user.last_name,
email: current_user.email
},
business_profile: {
product_description: 'Personal Fundraising Or Crowdfunding',
mcc: '7299',
url: 'https://www.

Question
Why is the business fileds requested in the hosted onboarding when we have the connect onboarding accounts set to individuals and have prepopulated some information with regards to this which is passed to the stripe dashboard.

What have you already attempted?
tried embedding the form instead of hosted, tried adding additonal data in the business profile.

What are you working on?
onboarding connect accounts - hosted

atomic shuttleBOT
#

@twin kernel pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to detect if a subscription cancellation is from after 4 failed payments (based on the life cycle settings) in the webhook, perhaps "customer.subscription.deleted"?

Related Request ID(s)
No req Ids

What have you already attempted?
I have the webhooks setup already just want to differentiate between failed payment cancellation or actual customer cancellation.

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
#

@languid dome pressed the πŸ“‘ API button in #help to ask a question:

Question
We are having 2 items in subscription one is base plan and other is per seat plan. So when i add per seat plan to subscription and somehow payment gets failed the whole subscription will goto Due status or payment due status. How to fix this that only payment done things will reflect to subscription and failed not or after failed payment remove the seat and keep the same status of the subscription

Related Request ID(s)
Do not have as of now

What have you already attempted?
I tried to remove item from
subscription

atomic shuttleBOT
#

@languid monolith pressed the πŸ“‘ API button in #help to ask a question:

Question
Subscription with usage based billing

What have you already attempted?
I'm new stripe wanted to know correct way of doing subscription with usage based billing
I want to charge a base amount for the user for subscription and then as the user crosses the limit bill the user according to the extra usage

Tech stack is nodejs for backend and nextjs for frontend

What are you working on?
A platform where user can subscribe and get 100 free prompts for month and then bill user for each prompt after that

atomic shuttleBOT
#

@slender mason 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/pricing-table

Question
Does the price table support a Quantity. I have a SaaS product that uses a per-seat pricing model. During the trial period, the quantity will increase based on the number of people added to the account. It would appear the pricing table only works with a quantity of 1. Is there a way to pre-populate it with a quantity?

What have you already attempted?
Allowing the user to manual enter the quantity which is not ideal.

What are you working on?
Saas product

atomic shuttleBOT
#

@next prawn pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have a problem when my webhook endpoint hit always timeout 503, and when we check from our logs there hasn't been a single request from stripe to us, but stripe has given feedback to us with a 503 response, and when I retry the webhook it doesn't take long enough.

Related Event ID(s)
evt_1PNSCpFONuq90qMoMSSXX8qx

What have you already attempted?
https://support.stripe.com/questions/webhooks-how-to-investigate-and-fix-timed-out#:~:text="Timed out" indicates Stripe was,the Event was successfully received.

atomic shuttleBOT
#

@indigo marten pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to create a payment system. own gateway to open Account for my customers to use ,My customer wants me to set up a system for transferring money from China to Thailand every day. 1 million yuan per day, 5 million Thai baht? I don't know what to do. Ask for help

Related Request ID(s)
Da10062534

What have you already attempted?
Haven't started doing anything yet.

What are you working on?
Nothing has been started yet.

atomic shuttleBOT
#

@tender igloo pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I am trying to change the payout delay of newly created Stripe Express accounts associated with my Stripe Connect, using the API, and I consistently get an error everytime I set the delay days below 7 - even though for the country my accounts are set-up the minimum is 3 days.

Related Request ID(s)
req_DQPA4HMottOmQB

What have you already attempted?
Tried to change the delay days to 8 and it worked. So I think the code itself is working. Contacted the Stripe general support and weren't able to help.

What are you working on?
Creating Stripe Express accounts, with a number of pre-defined parameters, now including a payout delay of less than 7 days.

atomic shuttleBOT
#

@last schooner pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to dynamically calculate the shipping rate for each product based on the location of the seller and the buyer during the checkout form filling, or is there an option in the Stripe documentation to integrate third-party logistics services such as Shippo, EasyPost, ShipStation, etc.?

Related Request ID(s)
req_WxXCqA2fofhNsq

What have you already attempted?
I have no issues with this req_WxXCqA2fofhNsq, the checkout works. I don't know how to dynamically integrate the shipping rate for each product during the checkout process, and then I need to create the shipping label and choose the package based on the size and weight of the product. I think I need to integrate a third-party logistics service, but I don't know how to integrate it with Stripe Checkout. All the API calls during the checkout process allow 'collect and then payout,' but I haven't found how to integrate third-party logistics services.

What are you working on?
I'm using Stripe Connect - collect and payout for my personal marketplace.

atomic shuttleBOT
#

@lucid steppe pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
let params = try PaymentIntentParametersBuilder(amount: amount, currency: currency.lowercased())
.setReceiptEmail(emailReceipt)
.setOnBehalfOf(UserDefaultManager.shared.getStripeAccountID())
.setTransferDataDestination(UserDefaultManager.shared.getStripeAccountID())
.setApplicationFeeAmount(doubleAmount.stripeApplicationFee)
.build()

Question
When I added the `setOnBehalfOf`, `TransacferDataDestination` and `ApplicationFeeAmount` during createPaymentIntent request it returns an error says `Error, unable to parse request - createPaymentIntent`

What have you already attempted?
When I remove the 3 property it working as expected, not sure what is the reason behind this error.

What are you working on?
Implementation of stripe payment terminal on POS

atomic shuttleBOT
#

@scarlet oriole pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have payment_intent.succeeded events that do not show up in my stripe webhook although it is listening for those. The events have transfer data with destination to their respective connect account. The money comes in, the payout works fine. Yet the events are missing in my webhook. Why is that? Could that be due to the endpoint type being "Connect"? How can I properly listen to them?

Related Event ID(s)
evt_3PL31kCQHDsxGScn05Moonhg

What have you already attempted?
I've analyzed the event object and webhook setup, then double-checked the event types from https://docs.stripe.com/api/events/types to make sure I'm using the correct event. Eventually I asked ChatGPT the very same question and it answered to make sure my endpoint is indeed "Connect", my signature is verified and troubleshoot my way through.

What are you working on?
Our software enables employers to charge their employees for charging their EV at their workplace. Setup intent and monthly payments for employees, onboarding and monthly payouts for employers.

atomic shuttleBOT
#

@brave kelp pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have upgraded the stripe sdk on my sever. Now, my webhook api version is not supported any longer. Therefore, some webhooks failed.
I now switched to the latest api version ( 2024-04-10 ) in stripe. However, the failed endpoints get retried with the old api version on and on, so they always fail.
Is there any possibility to retry the webhook events, but with the latest api version?

Related Event ID(s)
evt_1PNG5JK7OY2vIdkuqTV18UyJ

What have you already attempted?
Checked out the api and cli for such a possibility

#

@chrome tartan pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/balance/overview

Question
I am from Ireland. I am trying to Top up / Add Balance to my Merchant account. But it is telling me either your profile is not approved or your region does not allow top ups

What have you already attempted?
I followed this link to add balance. https://docs.stripe.com/get-started/account/add-funds#:~:text=Go to the Balances page,bank information%2C and click Done.
But it is for USA. For Ireland there is no specific support

What are you working on?
Need to add balance to my account, so I can send funds to my Connected account users.

#

@magic matrix pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/testing ,https://stripe.com/en-si/pricing

Question
I am calculating stripe fees. But I didn't get data about EEA countries that Stripe give 1.5% fees. Because I checked wikipedia link and there is Switcherland but on it stripe gives 3.25% fee.

I want to know which countries Stripe includes in European Zone

What have you already attempted?
I have checked on you documentation

atomic shuttleBOT
#

@pallid belfry pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have customers who subscribe to us both monthly and annually. In the UK, most subscriptions would come out on a weekday. It appears the payments are taken on the same day each month, regardless of whether its a bank holiday or weekend. Is there something we can implement to ensure payments are only taken on business days?

Doc/Guide Links
N/A.....................

What are you working on?
Forcing payments to be taken on business days

#

@marble dirge pressed the πŸ“‘ API button in #help to ask a question:

Question
I am setting an ecommerce subscription of food for a client in which the subscription can be selected by customer which is weekly, biweekly or monthly, then he/she will pay using card and the card details will be saved in stripe. I want to setup stripe subscription which triggers the charge before 1 or 2 days before the subscription renewal and the system will place order if the charge was successful.

Related Request ID(s)
None

What have you already attempted?
I have studied the stripe API and created subscription using web console.

#

@subtle knoll pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am on test account and i have made custom subscription durations 1 day subscription ($9.00) and 2 days subscription ($99.00) i once bought 2 days subscription then downgraded to 1 day subscription it was all good yet but when recurring invoice was generated at the end of billing cycle no webhook was triggered so i can update my database with user status on stripe dashboard i can see that invoice was generated of ($0.00) because of prorate but not webhook is in the stripe dashboard list for that user

Related Event ID(s)
--

What have you already attempted?
--

What are you working on?
A nest JS app relevant to quizes

atomic shuttleBOT
#

@rare elm pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am experimenting with using connect express to onboard sellers(Test mode) . When I click on the account in the dashboard I do not see the users personal info(name, address, DOB).
Is it possible to display this on the dashboard, or access it via API?

Doc/Guide Links
https://docs.stripe.com/connect/hosted-onboarding

What are you working on?
Marketplace app with sellers and vetted buyers.

#

@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,
},
],
payment_intent_data:
{
application_fee_amount : 100,
},
billing_address_collection:

Question
How did I delete or make the email field non-visible during payment?

What have you already attempted?
I have add this but nothing change.
billing_address_collection: 'auto',

#

@left comet pressed the πŸ“‘ API button in #help to ask a question:

Question
Getting ang error indicating No such payout when trying to get a specific payout from a connected account.

Related Request ID(s)
/v1/payouts/

What have you already attempted?
I tried following the API docs regarding API calls on behalf of connected accounts using the stripe-account header when calling an API function. When I dump the contents of the variable I set for the API call it shows data, but I keep getting an Error No such payout even though it's showing data in the dump. The API call for retrieving a specific Charge works but for individual payouts does not. Get All payouts also works.

I call the function like this
$payout = $this->stripe->payouts->retrieve($id,$params,['stripe_account' => {{my connected account ID}}])

What are you working on?
trying to build my page where it shows individual payout data for my users but keep on getting no such payout error

atomic shuttleBOT
#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I send receipts to customer email from Checkout Session?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Doing sent receipt to customer's email when customer payment success

#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
What is the limit for uploading files with dispute.update({}).

Related Request ID(s)
none

What have you already attempted?
I tried to upload a pdf that's 4.7mb, and got "StripeInvalidRequestError: The files you've attached to this dispute as evidence will exceed the limit for a dispute's total size."

What are you working on?
Personal app

#

@opaque sentinel pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have 2 SaaS apps I wanna launch but under the same business. Should I create a separate account for each using the same business details? Or just 1 general business account?

Doc/Guide Links
https://docs.stripe.com/api/accounts

What are you working on?
SaaS

#

@tepid bluff pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I could not get paid from buymecoffeeden. I could not get paid because I entered my name and surname information incompletely.

What actually happened?
My payment did not come because I entered my name and surname information incompletely. I contacted you, but you told me that I had to open a company. But my friends who made the same sale with me can get paid without opening a company.

Reproduction Steps
.................................

Question
You informed me via e-mail, but I need to be able to get paid without opening a company, can you please take a look?

What are you working on?
ai voice

#

@frosty sparrow pressed the πŸ“‘ API button in #help to ask a question:

Question
We’re creating payment intents, attaching the method and are then confirming it.
Will Smart retries apply in this scenario if enabled in the customer’s account?
Also, for those customers with a revenue recovery -> custom retry policy, will these apply?

Related Request ID(s)
https://dashboard.stripe.com/logs?method[0]=post&method[1]=delete&direction[0]=connect_in&direction[1]=self

What have you already attempted?
Asked some customers to try Smart retries and others to try custom policies. We're not 100% sure about either route. It may be working as expected - we really want some confirmation/comfort.

What are you working on?
A booking and payments engine for companies that teach children to swim.

atomic shuttleBOT
#

@last mantle pressed the πŸ“‘ API button in #help to ask a question:

Question
We are trying to start doing international payments to our vendors via stripe connect.

This is the error we receive now:
Request req_svreJ68TVoFvG1: Your platform needs approval for accounts to have requested the `transfers` capability without the `card_payments` capability. If you would like to request transfers without card_payments, please contact us via https://support.stripe.com/contact.

Related Request ID(s)
req_svreJ68TVoFvG1

What have you already attempted?
To create new accounts for our international customers.

#

@sweet hearth pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a next.js app where I use Elements, PaymentMethodMessagingElement and loadStripe. Due to problem with Italian translation, official stripe support suggest me to use payment_method_options.klarna.preferred_locale = en-IT https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-klarna-preferred_locale

How to do it in react?

Related Request ID(s)
#dev-help message

What have you already attempted?
Contact with dev support on discord and with official stripe support

What are you working on?
product card

atomic shuttleBOT
#

@spring lantern pressed the πŸ“‘ API button in #help to ask a question:

Question
I have manual payouts, so I assume to do payouts.create, the balance must be available, and not instant_available or in pending, for example this is what I have {
object: 'balance',
available: [ { amount: 0, currency: 'gbp', source_types: [Object] } ],
instant_available: [ { amount: 16708, currency: 'gbp', source_types: [Object] } ],
livemode: false,
pending: [ { amount: 16708, currency: 'gbp', source_types: [Object] } ]
} but the payout request with instant_available amount n currency fails due to insufficient funds.

Related Request ID(s)
req_gLuVx6h2LlvTog

What have you already attempted?
I've described above

What are you working on?
Just testing manual payouts

atomic shuttleBOT
#

@eternal sky pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
(sandbox) We initiated a checkout session and customer connected to the test "insufficient funds" account.

Config:

stripe.checkout.sessions.create({
payment_method_options: {
us_bank_account: {
verification_method: 'instant',
financial_connections: {
prefetch: ['balances'],
permmissions: ['balance']

What actually happened?
Checkout session was successful and user is redirected to success url. We got the payment.failed webhook later.

Reproduction Steps
- Initiate a checkout session with config above.
- Connect with "insufficient funds" test account.
- Press Pay.

Question
Is this the expected behaviour? If customer does not have sufficient funds, will the checkout session be successful?

#

@kindred jasper pressed the πŸͺ Webhooks button in #help to ask a question:

Question
i create two webhook endpoint for my coding different version testing.
Webhook 1: https://www.abc/ticketing/payment/external-payment-complete-evt2

Webhook 2 https://www.xyz/ticketing/payment/external-payment-complete-evt2

both webhook detect same event "payment_intent.succeeded"

why the transaction booking from "https://www.abc/" will trigger both webhook.

and transaction booking from "https://www.xyz/" will trigger endpoint from both webhook too.

Related Event ID(s)
we_1Mq7LcDIKmYBiGm8th2pNQZD; we_1PG7USDIKmYBiGm8vn4EaBIc

What have you already attempted?
my expectation is transaction from https://www.abc/ will only trigger endpoint webhook: https://www.abc/ticketing/payment/external-payment-complete-evt2 ;

and
transaction from https://www.xyz/ will only trigger endpoint webhook: https://www.xyz/ticketing/payment/external-payment-complete-evt2

What are you working on?
to test new feature before deploy to live.

#

@dry lance pressed the πŸ“‘ API button in #help to ask a question:

Question
We're creating payment intents and prior to that are creating customers and payment methods, without attaching them. We use an idempotency key which changes every 15 minutes.

We're experiencing an issue where a PaymentIntent failed to be created (declined card, insufficient funds etc), and then our clients retry.

When they do - we receive an error that the payment method was already used in another payment intent without attaching it.

Will attaching the payment method to the customer prior creating the payment intent solve this? How would it affect the future optimization?

Thank you

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_lvCgzg4yh6dEVd?t=1717413442

What have you already attempted?
Non yet

#

@ember cloud pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
stripe.checkout.sessions.create({
line_items: [
{
price_data: {
tax_behavior: 'exclusive',
currency,
product_data: {
name: 'something',
images: [img],
},
unit_amount: price,
},
quantity: 1,
},
],
mode: 'payment',
payment_intent_data: {
application_fee_amount: price / 10, // 10% f

Question
I would like to know if it's possible to show stripe fee and application fee as separate items on the checkout page

What have you already attempted?
looking through the documentation

What are you working on?
a marketplace to sell stock photos

#

@fierce mortar pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello. I've not seen the option anywhere. When using the webelement and a repeat customer is making another payment, is it possible to give them the option through the Stripe webelement to re-use a previous card (where the previous card was set up for future use)?

Related Request ID(s)
NA

What have you already attempted?
Just reading the docs.

What are you working on?
Handling returning customers.

#

@tropic wyvern pressed the πŸ“‘ API button in #help to ask a question:

Question
How can i retrieve the total balance? Right now, i can only retrieve the available balance but i want the total balance, as present on the platform dashboard

Related Request ID(s)
None

What have you already attempted?
None

What are you working on?
How to retrieve the total balance of an connect account

#

@tight quiver pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const stripe = require('stripe')('sk_test_β€’β€’β€’vB5m');
const accountLink = await stripe.accountLinks.create({
account: 'acct_1Mt0CORHFI4mz9Rw',
refresh_url: 'https://example.com/reauth',
return_url: 'https://example.com/return',
type: 'account_onboarding',
});

Question
What's the best way to update the refresh_url perameters assuming when the URL we send to customers has expired.

What have you already attempted?
Here's a video: https://youtu.be/a4Pe-IWIzJ0 of what we're doing.

really it seams a) is there an api to call a remidation link or b) code wise, how would we go about refreshing the perameters of "refresh_url"?

What are you working on?
Sketchplay.com

#

@naive lagoon pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using Stripe checkout for accepting the payments and then I am saving payment method in my system to retrieve card and cust info for future payment throug my own check out.

My problem is how do i do refunds from my system for the payments accpted using stripe osted checkout

Related Request ID(s)
x

What have you already attempted?
x

#

@deft lagoon pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have a lot of customers with a default ACH credit transfer payment method. I'm wondering if it is necessary/possible to change this to customer_balance for these customers to avoid they use these for payments.
We use invoices only, with collection to `send_invoice` and we allow payments via payment links (for those, we turn of ACH credit transfer from the dashboard) and we also call `Invoice.pay` from some of our workflows, which could end up an ACH credit transfer payment (unless we always specify the payment method).

Doc/Guide Links
https://docs.stripe.com/payments/customer-balance/invoicing-migration?dashboard-or-api=dashboard

What are you working on?
migrating away fro mach credit transfer

#

@ruby tapir pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello,

Is it possible to catch when a TaxID is checked? I have a client with an invalid VAT number, and I want to add a check, but when the TaxID object is created, the VAT is in a "pending" state, so I can't use this event for my need.

Related Event ID(s)
customer.tax_id.created

What have you already attempted?
I already tried to use the tax_id created / updated event but when the webhook is triggered, the object is'nt necessarily verified. Also I didnt find any other event related to the TaxId object

What are you working on?
Bundle of apps with an central application for the paiement and invoicing.

#

@summer oxide pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hi devs, just a simple question, when testing charge.succeeded event on my test env, the receipt email is null how can I populate that?

Related Event ID(s)
evt_3PNagQCtiaajKx2E1CScjqxT

What have you already attempted?
I was looking at the production webhook response and then noticed mine while testing a critical functionality where I found out that is is always null in my cases. tried finding some docs related to it, could found anything.

What are you working on?
Working on a functionality implemented on charge-succedded webhook but need customer email for the same which is null in my case.

#

@pulsar rover pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to apply a recursive payment in python but the thing is i am calculating the stripe fees included in tenet payment amount but in the first installment i want security deposit to be included but from next installment security deposit should be removed and stripe fees will be modified accordingly from next installment. How can i do it?

Related Request ID(s)
Don't know this

What have you already attempted?
I am working already on recurring kwargs in session.create function but it will be fixed if i make subscription once.

What are you working on?
I am working on Project named Reallo which already has Stripe attached to it as a payment gateway

atomic shuttleBOT
#

@burnt lake pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I apply discounts or coupons to invoices via the API?

Related Request ID(s)
Nothing particular.

What have you already attempted?
I know that you can discount subscriptions, but I just want to apply a discount to a single invoice.

atomic shuttleBOT
#

@primal plume pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to tell what payment limits apply and how close I am to them?

We process a large volume of ACH payments, but over the weekend these began to fail with an error that we're above our weekly ACH limit.

Is there an API I can use to check in advance whether we're getting close to this limit or any others?

Related Request ID(s)
pi_3PNaItL3jCyRVhZ01dPAOSO7

What have you already attempted?
Checked API docs, couldn't find anything.

What are you working on?
SaaS that uses Connect custom accounts to process tuition payments for K-12 private schools. We process large batch of ACH payments on the 1st of every month (not using stripe's billing product)

#

@eternal sky pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to enforce a checkout session to a specific payment method id? More specifically, a us bank account that was connected using a checkout in setup mode.

Practically, I would like to hide the "Pay without Link" option to avoid a customer being redirected to success page in case they don't have sufficient funds.

Related Request ID(s)
https://dashboard.stripe.com/test/events/evt_3PNbJpHay2F9AX5V1RFbtgbg

What have you already attempted?
- Create a checkout session in setup mode
- Check balance using financial accounts refresh API
- Create a checkout session in payment mode (payment_method_types: ['us_bank_account'])

#

@marsh bronze pressed the ❌ An Error button in #help to ask a question:

Error Message
account closure

Question
why is our account closed and we have no way of contacting anyone about it

What have you already attempted?
followed all of stripe’s meaningless forms of verification because they closed my account anyway

#

@terse geode pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Re: Radar abuse prevention - My concern is someone may sit on our checkout page, and continually try cards over and over again and the rules will block it successfully but I may end up with a huge Radar expense? What are the best ways to prevent this?

Doc/Guide Links
https://stripe.com/en-ca/guides/radar-rules-101#rules-language-cheat-sheet

What are you working on?
Stripe Connect implementation for an SMB vertical

#

@ember perch pressed the πŸ“‘ API button in #help to ask a question:

Question
My question: Can i transfer money to any other users except me, on their card, from my Stripe account?

Related Request ID(s)
payouts

What have you already attempted?
I was reading documentation and didnt find anything, that could help me. It seems that you can transfer money only on stripe accounts, or manually created payout bank account.

What are you working on?
I m working on project, where bloger requesting money from company, company pays on admins account and admin is paying to bloger

#

@restive flame pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I'm trying to test webooks, but when I do --add charge:billing_details.email it's still sending the charge payload with null data

Related Event ID(s)
charge.succeeded

What have you already attempted?
i have tried using stripe-cli to run `stripe trigger charge.succeeded --add charge:billing_details.email="myemail@gmail.com"`

What are you working on?
payment checkout flow

#

@bitter wolf pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I want to change the subscription status when the payment has not been made after the retries.

What actually happened?
After completing all the retry policy attempts, the subscription status remains "active" and any event is emitted.

Reproduction Steps

  1. Create subscription
  2. Set a retry policy
  3. Use the simulator to interrupt the payments, then advance time to a date after the retry policy period.

Question
Hello, I am testing a subscription through a simulator tool, i can advance time and handle this event, but when I interrupt the payments to validate the retry policy the subscription status is still "active" and any event is triggered. I set a retry policy with only 1 attempt after 1 day and after that, I mark the subscription as unpaid.

What are you working on?
Subscription Project

#

@unreal garnet pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/send-email?dashboard-or-api=api#additional-email-recipients

Question
How to update billing_email for a given customer via stripe api?

What have you already attempted?
Tried to look for billing_email field in different objects but couldn't find the field.

What are you working on?
Customers sometimes request us to update their billing email so that they receive invoices in new account. I'm trying to achieve this via stripe api.

#

@sage rover pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to create an invoice in Multi currently we charge from customers in default USD so we have only prices in USD now for sepa_debit I have to pass euro then how can I convert the currency in stripe for USD TO EURO?

Related Request ID(s)
currency related

What have you already attempted?
Instead of passing it converted from my side USD to euro want solution if it's possible to do it on stripe side

#

@jagged linden pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to be able to change payouts_enabled on a connected account to false through the Accounts API, but it doesn't seem to be an available field to update.

Related Request ID(s)
N/A

What have you already attempted?
I tried calling the update account API call and saw that payouts_enabled was not a field that could be updated.

What are you working on?
We use Stripe subscriptions and when someones invoice fails on their monthly billing cycle payment, the subscription is cancelled and we want to pause their payouts too

#

@torn halo pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Successful 3DS transaction with ability to process additional charges by referencing that initial transaction

What actually happened?
I have been able to successfully trigger 3DS through Spreedly in test mode. See the following example payment intents

pi_3PNbi5GTA8idKtSB09OBncSm is the initial payment that triggered the 3DS authentication.

pi_3PNbjeGTA8idKtSB0bonS3Oa is an additional charge that also worked.

when i try with a connected account, I get an error, see req_YYuLwmEogXFFlP

Reproduction Steps
Complete a purchase using 3DS test card 4000002500003155. Confirm it triggers 3DS auth flow. Complete 3DS auth. Then try to do another purchase referring to that initial transaction

Question
What is really confusing is that per your doc https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis, it says in the next-to-last paragraph, β€œIf you are a Connect platform which requires this feature for connected merchants, you only need to enable it on the platform account”

I see this toggle is enabled on our platform account so why the err?

What are you working on?
3DS integration using Spreedly + Stripe

#

@tropic wyvern pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I'm looking for an way to get the converted values in relation to the country of destination. For example, i have an connected account located in Argentina with the platform located in the US. Now, i make a charge to connected account and look that the value is converted according to the currency of the connected account's country. So, we have an value US converted in ARS. How can i see this converted values in the API?

Doc/Guide Links
i took a look on the following links:
- https://docs.stripe.com/api/transfers/object
- https://docs.stripe.com/api/balance_transactions

What are you working on?
After an payment made in a country different from my own, how to retrieve an value the converted value in the country of destination?

#

@wraith dock pressed the πŸ“‘ API button in #help to ask a question:

Question
Stripe Dispute API says that the `charge.dispute.closed` has 3 possible states: lost, won, or warning_closed. I understand the first 2, but what is warning_closed? Does Stripe withhold fees in warning_closed like "won" state then returned?

Related Request ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/api/events/types?event_types-invoice.payment_succeeded=#event_types-charge.dispute.closed

What are you working on?
Processing disputes on `charge.dispute.closed` webhook

#

@opaque dust pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const prices = await stripe.price.retrieve.list({expand:[β€˜tiers’]})

Question
how do I retrieve β€˜tiers’ while price.retrieve.list? my Prices are a graduated usage model

What have you already attempted?
const prices = await stripe.price.retrieve.list({expand:[β€˜tiers’]})

What are you working on?
Saas

#

@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/elements/address-element?locale=en-GB

Question
I wondered if I am able to remove the labels on the stripe address element and replace them with placeholders

What have you already attempted?
The APIdocs seem to be abre bones surrounding this specific question so not a lot

What are you working on?
Implementing the address element

atomic shuttleBOT
#

@full gate pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am trying to create an account on Stripe

What actually happened?
It won't let me create an account. I get an error message telling me to contact support

Reproduction Steps
I put in my email address lena.fox@intellifoxdailypay.com and password in create account and get this:
There was an error creating your account. Please contact support at https://support.stripe.com/contact/ for assistance.

Question
I need help getting my Stripe account created

What are you working on?
I am working on my Legacy Builder website and need a Stripe account to be paid

#

@burnt lake pressed the πŸ“‘ API button in #help to ask a question:

Question
I tried to apply a coupon to an invoice, but received this error: "Forgiven invoices can't be updated"

Related Request ID(s)
req_p2TwWeNV2wJ4XQ

What have you already attempted?
When the payment for the invoice fails, the customer is forced to choose another payment method to pay the invoice. After that the customer should be able to apply a coupon code once again, but like specified above, I receive that error, even though the invoice is still payable.

#

@fallow ermine pressed the πŸ“‘ API button in #help to ask a question:

Question
So I'm having trouble with `metadata` on invoice items. I submit them, and the response shows them, but then when I go to the relevant subscription invoice in the Stripe dashboard, I don't see the `metadata` for those items. In fact, they're not in the dev tools network response either. It's as if they've been blanked out to `{}` in between my subscription update and the request from the dashboard.

Related Request ID(s)
req_gg39hWd66F5E7c

What have you already attempted?
Trying the API /v1/invoices/upcoming also shows me no metadata for the lines or items

What are you working on?
Trying to implement better tracing for item refunds/cancellations

#

@sturdy compass pressed the ❌ An Error button in #help to ask a question:

Error Message
The intent you passed doesn't have any supported payment_method_types. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard

Question
Connect Stripe account with acct_1KbUYsC7aUEOHyHm ID is having this error intermittently pop up for them for the past week. Appears to be a profile configuration issue within their Stripe profile.

What have you already attempted?
Researched payment methods and found to be no issue with payment method configuration. Can use Stripe Terminal card readers but have issues with the payment element form intermittently. Only connect account on our platform with this issue, so is not a platform issue

What are you working on?
Platform of connect accounts servicing their end customers.

#

@twin hamlet pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Show Apple Pay in checkout

What actually happened?
Show Link in checkout

Reproduction Steps
go to https://www.mirroroutlet.co.uk/ add anything to basket, go to checkout

Question
why is link and not apple pay showing. domain registration is OK, showing apple pay on other stores but not this one

#

@mystic hawk pressed the πŸ“‘ API button in #help to ask a question:

Question
How to save card for future use via web application

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
PHP

#

@twin thicket pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When a subscription is created through the API with no payment method specified, and customer's default payment method is a verified ACH US Bank Account payment method, the subscription invoices are going to be paid with the ACH payment method automatically.

What actually happened?
The payments for the invoice fail, payment intents don't have payment method field specified.

Reproduction Steps

  1. Have a customer with the default payment method set to ACH us bank account.
  2. Create a subscription for this customer through the API with payment_method not set.

Question
How do I make the ACH us bank account to be charged for subscriptions successfully?

#

@strong girder pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm looking to pass information to the success / failure page for GTag. We are using `checkout.sessions.retrieve`. I'm curious if I should be using `paymentIntents.retrieve` for a succeeded instead and spinning for a bit. What type of payments take extra time and shouldn't be counted as a failure?

Related Request ID(s)
N/A

What have you already attempted?
GA guide: https://docs.stripe.com/payments/checkout/analyze-conversion-funnel
Success Page: https://docs.stripe.com/payments/checkout/custom-success-page

What are you working on?
Software Subscription

atomic shuttleBOT
#

@vague meadow pressed the πŸ“‘ API button in #help to ask a question:

Question
i am trying to create unique payment links tied to the metadata attached to them, but there is no API endpoint to retrieve a payment link by its associated metadata, and there are hundreds of already created payment links with the same metadata, im trying to have it so putting in the same name+email on my website returns the exact same link

Related Request ID(s)
req_fxow84WhVE4HNK

What have you already attempted?
i cant list all paymentlinks and sort through them as there is too many payment links in the system to reasonably do that

What are you working on?
stripe associatescertification

#

@slim topaz pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello, I am working on a Saas (using Django and dj-stripe) for a few weeks. I've been using Stripe in test mode until now. My beta-users have a Customer object and a Subscription object in test mode.

I would like to go live (finally) and I am a bit lost about the process to follow. If I understand the doc correctly, I would need somehow to recreate all the Customer objects and Subscriptions objects on the production side of things.

Do you have some best practises to do this ? Or do I just clean my internal state, run a script to recreate everything on the production side and do a proper final test with a real credit card.

Doc/Guide Links
https://docs.stripe.com/test-mode
https://dj-stripe.dev/2.8/usage/manually_syncing_with_stripe/

What are you working on?
An AI-powered Saas (original isn't it ?)

#

@frozen sail pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
// ...
paymentMethodType: 'Card',
paymentMethodData: {
billingDetails: {
{
address: {
city: user.address.city,
country: user.address.country,
line1: user.address.line1,
postalCode: user.address.postalCode,
},
}
//...

Question
We are trying to test our stripe integration (which works fine in a dev environment) on production but all the users who try to test get a "credit card declined" error because of zip codes. but I double checked and we do pass the postal code (as seen in the snippet above) to the "createPaymentMethod" function in the stripe-react-native package. what is the issue? could it be that the postalCode should actually be postal_code?

What have you already attempted?
Debugged to make sure that the values are indeed set .

What are you working on?
Stripe integration in a react native (non-expo) app

atomic shuttleBOT
#

@maiden elm pressed the ❌ An Error button in #help to ask a question:

Error Message
Sales report includes credit card holder name, and type of credit card only- no address information.

Question
Hello, I am a CPA working with one of your clients who is using Stripe payment processor. They are being audited, and they need a state by state sales report that shows the state at minimum, but preferably the zip code provided by the purchaser when the credit card has been processed. How can my client view the address information for these transactions?

What have you already attempted?
We have pulled a sales report, and the only thing that shows is the type of credit card used, and the name of the credit card holder.

#

@hard hill pressed the πŸ“‘ API button in #help to ask a question:

Question
How can a get the email entered in the payment intent element when Im using Oxxo as payment method?

Related Request ID(s)
NA

What have you already attempted?
I retrive the payment intent but it doesnt have the email address

What are you working on?
I want to send an email after they select the oxxo payment method with the voucher at the email address the entered in the payment intent element

#

@sweet root pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I need Stripe to send a payment event to a secure webhook. I need the data to contain both the email address of the user + the promotion code used if there was one.

There is just one event that tracks the promo code used and several for emails but there isn't anything that has both.

My plan is to send 3 events (one for the code, one for the email and one to connect the other 2) but I'd like a cleaner solution

Related Event ID(s)
evt_1PNUTmEYHkLwnZ5HN0CiBGU8, evt_1PNUTlEYHkLwnZ5HfzsRf02A, evt_1PNUTlEYHkLwnZ5HUazFFvd3

What have you already attempted?
Trying to track all the relevant events and seeing how i can combine them

What are you working on?
I want to send a list of paid user to a App database so I can enable a feature for paying users

#

@sick gorge pressed the πŸ“‘ API button in #help to ask a question:

Question
Can you have a cart that has some items that create a Stripe subscription, and some that do not using the Stripe Payment Element feature and the Stripe Subscriptions API together? Can you use a single payment intent to satisfy both? Looking at https://docs.stripe.com/payments/payment-element and https://docs.stripe.com/api/subscriptions/create

Related Request ID(s)
N/A

What have you already attempted?
Reading through the documentation that I've found

What are you working on?
A multi-item cart where you could choose to have a subscription apply to one or many items, and buy one or many items outright, without a subscription, in the same transaction

#

@round dock pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello, I am building a SaaS product that requires a monthly subscription and also requires additional payments in certain scenarios. We are using a checkout session for the initial subscription, and looking to save the payment method for future use.

For additional payments we are creating a paymentIntent. We currently attempt to retrieve the payment method with the customers invoice_settings.default_payment_method, however this doesn't seem to be set automatically.

Is there a preferred way to capture default payment methods?

Doc/Guide Links
We were following this SO post on where to source the information.
https://stackoverflow.com/questions/64145774/is-there-an-equivalent-to-the-default-source-when-using-setupintent-paymentin

What are you working on?
A saas product

#

@subtle crag pressed the πŸ“‘ API button in #help to ask a question:

Question
Credit Note API Is Saying Amount to Credit Is Wrong.

Last week I tried to report to Support that when there is a line item tax and a default tax rate, sometimes Stripe incorrectly calculates tax. They told me that wasn't true.

Now I am trying to create a credit note and Stripe is seemingly incorrectly calculating the tax internally on items. Am I doing something incorrectly? Request Id is attached for API review.

Related Request ID(s)
req_IoJri8DSzIpdoH

What have you already attempted?
Nothing else to attempt - API is calculating tax wrong.

What are you working on?
Custom CRM integration with Stripe

#

@tulip grove pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I'm trying to build a workflow using the Stripe GO package that applies a subscription to a customer with collection method send invoice but that allows them to pay their invoice ahead of the renewal date. Right now Stripe seems to only send invoices on the day of renewal and then I specify how many days until its marked late. I need customers to pay/renew in advance.

Related Request ID(s)
Here's an ID - req_skAORXciHxJ1lI

What have you already attempted?
I've tried looking through documentation but can't find a way to handle this. https://docs.stripe.com/billing/subscriptions/designing-integration#subscription-models

What are you working on?
Storage facility customer management system

#

@elder fable pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to find out how many connected accounts don't have transfer capability? Maybe using some Stripe search queries?

Related Request ID(s)
n/a

What have you already attempted?
Looked at search api: https://docs.stripe.com/search

this doesn't have the account search

What are you working on?
I'm trying to find out how many connected accounts don't have transfer capability

atomic shuttleBOT
#

@gentle lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
We started to use checkout sessions and thus also customer portal. We would like to have some guide how to proceed with the following scenario: subscription is created, then user enters customer portal and add new payment method. In this case Stripe switches customer default payment method to the new one and then detaches the previous one from the subscription, but does not attach new one to the subscription. Also this new payment method is not visible in current pl;an section of customer portal. Question how to proceed to have this new one being assigned to subscription(s)?

Related Request ID(s)
https://billing.stripe.com/p/session/test_YWNjdF8xR2h0ajhEY3RqcGVHODh6LF9RRTNtWFM0N2ZHNUxBc290ZWxIeVVSWjlWTmhtNEY401008GXeKAqJ

What have you already attempted?
we tried to assign new pm to subscription as default payment method, after that it is attached to subscription on dashboard, but still not assigned under current plan on customer portal

What are you working on?
integration with checkout session and customer portal

#

@grand moss pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How do I support out of band payment methods with a subscription? So, in this case, they may want to pay invoices with net 30 or net 60 terms, and the payment would come out of band like with a check. I'm not seeing a way to set up subscriptions to bill in this manner. It all seems to work off payment methods like card, bank transfer, etc.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview

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

atomic shuttleBOT
#

@last schooner pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I retrieve the data entered during the onboarding process of connected accounts? I need to retrieve the following fields: name, company, street1, city, state, zip, country, phone, email.

Related Request ID(s)
req_jLPpHB0YSoJZl9

What have you already attempted?
don't look req_jLPpHB0YSoJZl9. I don't find the API that return name, company, street1, city, state, zip, country, phone, email of a connected account.

What are you working on?
personal marketplace

#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey,
My use case is customer should be able to add multiple payment methods to his account, either in single step or in multiple steps.

The worst case is after 4 months i want to charge the customers preferred card

How can i implement this?

Related Request ID(s)
NA

What have you already attempted?
I was creating a checkout session and the customer was entering his payment details and it got saved. Then i created a payment intent to charge the customer.

What are you working on?
I have one ERP, where at some stage customer should add payment methods to his accounts, and at a later stage he should chose the payment method of his choice and get the card charged

atomic shuttleBOT
#

@visual jasper pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any way to show the items on a Checkout Session in a particular order?

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_nWVP6heEFlKD7c

What have you already attempted?
We expected that the items on the Checkout Session would show up in the same order as they were sent on the Create Checkout Session API Call. We are finding this is not the case, but we don't understand:

  1. If there is something special we need to do to get this behaviour?
  2. What determines the order of the items on the Checkout Session?

What are you working on?
We are building a web app that acts as a user's digital business card. They would tap an NFC card and get redirected there.

#

@outer rune pressed the πŸ“‘ API button in #help to ask a question:

Question
Trying to detect lapsed or canceled subscriptions in any account. But there are multiple prokects in the account, and I only want to detect for one. Is that possible?

Related Request ID(s)
n/a

What have you already attempted?
Read the docs and got confused about difference between multiple projets in a single account, and multiple accounts.

atomic shuttleBOT
#

@chilly wren pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to add a new product to my website and the sku field has disappeared? Can someone explain what happened to that?

Related Request ID(s)
Look In Dashboard

What have you already attempted?
duplicating products

What are you working on?
Retail website

atomic shuttleBOT
#

@terse geode pressed the πŸ“‘ API button in #help to ask a question:

Question
We are a Canadian based platform. We are implementing Stripe Connect to allow our SMB merchants to use us to power their payments (akin to Shopify). We have customers in Canada and the United States, so we will have Stripe Connected accounts in both countries.

We have a custom rate from Stripe.

As part of the transaction, we will need to deduct fees for CC processing, delivery fees, ticketing fees, etc and split among multiple Connected accounts. For this it looks like we should use Separate Charges and Transfers (SCT).

But if our platform is based in Canada, would t

Related Request ID(s)
https://docs.stripe.com/connect/destination-charges

What have you already attempted?
Our Stripe AE says, "Destination charges with the on_behalf_of (OBO) parameter, and presenting and settling in USD. OBO means that the food halls will serve as merchant of record (and their names will appear on statements), help you avoid unnecessary cross-border and FX fees, and pay out as usual via Express Connect."

But my understanding is Destination charges can't be split. How would we recover our fees as a platform if we can't send the funds cross-border, even if it is in USD?

What are you working on?
Foodhall software where we have us (the platform in Canada), and a food hall (connected account) with additional merchants (connected accounts).

#

@wanton wraith pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I offer a monthly subscription service where customers are charged immediately upon purchase. However, I begin providing services only from the date of our first scheduled call. How can I adjust the billing so that the second charge occurs 30 days from the first call date instead of 30 days from the subscription start date?
I considered resetting the billing_cycle_anchor to the first call date, but this would result in the customer being charged for both the period between the subscription purchase and the first call, and an additional 30 days after the first call.
Other option would be add trial days until first call.
Could u please recommend what's best practice?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/billing-cycle
https://docs.stripe.com/billing/subscriptions/trials

What are you working on?
I'm offering online consulting/coaching service to customers

#

@analog cipher pressed the ❌ An Error button in #help to ask a question:

Error Message
'validation_error' returned from Elements

Question
Elements shows Google Pay and Apple Pay only on mobile and only on supported browsers, whenever selecting Google Pay (the only one I've been able to test so far), however when you do select that method and try submitting the form it fails and prompts to "Provide card details", while the Stripe-generated form has no inputs for card details, only the 'card' method does

What have you already attempted?
Nothing, as the form validation is done through the Stripe's library and all other payment methods work fine

What are you working on?
a payment flow using Elements and ASP.NET for the backend

atomic shuttleBOT
#

@cedar yoke pressed the πŸ“‘ API button in #help to ask a question:

Question
How should Stripe API x-www-form-urlencoded request bodies be formatted when an object expects an array of objects (e.g. invoices β†’ default_tax_rates)?

Related Request ID(s)
req_Ykhxu4iiT8dyOz

What have you already attempted?
Submitting a request with x-www-form-urlencoded parameters like `default_tax_rates[0][country]=US&default_tax_rates[0][state]=WA&default_tax_rates[0][description]=Washington+State+Tax` is being parsed as an object instead of an array, like this:

```json
{
default_tax_rates: {
'0': {
country: 'US',
state: 'WA',
description: 'Washington State Tax'
}
}
}
```

What are you working on?
Configuring Shopify Order β†’ Stripe Invoice integration for ACH payment processing.

#

@solemn shadow pressed the πŸ“‘ API button in #help to ask a question:

Question
Using express Checkout and the display is only showing 1 option (of 3) and it shows a "see more" is it possible to have it show all 3 options without the see more? ie expanded

Related Request ID(s)
na

What have you already attempted?
maxRows=3

What are you working on?
Integrating express checkout

#

@reef wind pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have developed an app for payments with Stripe API and now we are thinking of adding invoicing. But we figured out that there is an additional % for the created invoice and also some limits with editing invoice after it was finalized. So my question is - is that okay to generate our own invoices on our platform but to use Stripe to pay for this invoice? Basically invoice is a PDf file that has to be paid and can be paid with a regular payment link/checkout page.

Doc/Guide Links
https://stripe.com/invoicing/pricing

What are you working on?
Invoicing

#

@reef flare pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
User is able to input their full zip code in the pre-built Stripe Checkout form and pay successfully.

What actually happened?
User is unable to add zip code with extension, limited to only the first 5 digits. Payment is blocked because does not match full zip code on file with their payment issuer.

Reproduction Steps
- Use Stripe Checkout
- Attempt to add a US zip code with an additional extension code, e.g 12345-6789

Question
We use the prebuilt Stripe Checkout form to accept credit card payments. We have a customer who is attempting to pay but their payment is blocked because the zip code on file with their bank includes an additional 4 digit extension code and they are unable to add the extension code in the form.

Besides disabling the zip code rule entirely, how can this customer pay?

What are you working on?
Extended Zip Codes

#

@atomic raven pressed the πŸ“‘ API button in #help to ask a question:

Question
I keep getting can't transfer due to insufficient funds in test mode.

Related Request ID(s)
req_07fbZTTzCBrWIK

What have you already attempted?
I already attempted using card 4000000000000077

atomic shuttleBOT
#

@strong girder pressed the πŸ“‘ API button in #help to ask a question:

Question
Follow up to my previous: My subscription session doesn't return any payment_intent. I am asking for the full intent via `expand: [ 'payment_intent', 'customer' ]`. Am i correct it doesn't exist when in subscription mode?

Related Request ID(s)
req_VAytXB7ixgVHjg

What have you already attempted?
Read docs. Just making sure there isn't a way to get it there.

#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey My account have more than 2 payment methods enabled but when i create a checkout session it shows only two

Related Request ID(s)
req_oEzr64oz4Ey3kN

What have you already attempted?
This is what i am trying to do
```js
stripe.checkout.sessions
.create(
{
customer: "cus_xxxxx",
currency: "usd",
mode: "setup",
success_url: "https://xyz.com/success",
cancel_url: "https://xyz.com/cancel",
},
{
idempotencyKey: uniqueKey,
}
)
```

atomic shuttleBOT
#

@severe fox pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, my name is David Torres and I am working with Stripe Connect using custom accounts. When I create an external account (using the test account and routing number) everything goes well through the API. However, when I try to create a charge, it tells me that only verified accounts can be used. I have searched the documentation for connected accounts and I cannot find anything that explains how to verify the external account. I have tried making attempts with micropayments, but it doesn't work.

Related Request ID(s)
Only verified bank accounts can be used as a payment_method.

What have you already attempted?
Hello, my name is David Torres and I am working with Stripe Connect using custom accounts. When I create an external account (using the test account and routing number) everything goes well through the API. However, when I try to create a charge, it tells me that only verified accounts can be used. I have searched the documentation for connected accounts and I cannot find anything that explains how to verify the external account. I have tried making attempts with micropayments, but it doesn't work.

#

@elder heart pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Stripe Tax / Pricing Tables / automatic_tax Calculations etc.

Question
Stripe Tax / Pricing Tables / automatic_tax Calculations etc.

What have you already attempted?
Stripe Tax / Pricing Tables / automatic_tax Calculations etc.

atomic shuttleBOT
#

@uneven carbon pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm using the onboarding component and works well with a web application that we developed for our client. Also I'm using destination parameters with the Stripe checkout to send the customer payment to the business and a small fee to the web application owner. My question: can I add an extra parameter as a note with the destination that can be visible to the business in their express account dashboard when they open the transaction panel?
This is the destination that I'm using: https://docs.stripe.com/connect/destination-charges?destination-or-on-behalf-of=destination

Related Request ID(s)
none

What have you already attempted?
I checked the documentation, but I can't find any option to send a note. Other than that I did everything (onboarding and destination) and it is working well.

What are you working on?
A web application similar to Stripe onboarding Pilots.

#

@slim topaz pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello,

I am a french dev working on a Saas. In France, I have to collect billing adress (mandatory) and I am struggling to achieve this.

I may have chosen a non-ideal stripe setup and I am struggling to get things to work.

What did I do ?

  1. I have created several products, including one which is free.

  2. When a new user create a account, I automaticaly create a new Customer object and a Subscription object for the Free product.

  3. When a customer chooses to upgrade, I use the customer billing portal.

My portal settings allow the user to view and change their address BUT it's possible for a user not to set their billing address and still be able to pay.

WDYT ?

Doc/Guide Links
https://docs.stripe.com/payments/collect-addresses?payment-ui=checkout
https://docs.stripe.com/customer-management#customer-portal-limitations

What are you working on?
An AI powered Saas

atomic shuttleBOT
#

@signal tinsel pressed the πŸ“‘ API button in #help to ask a question:

Question
Total / taxes in my app doesnt match stripe invoice (rounding issue)

Related Request ID(s)
req_V9OHXnAg5JpZeW

What have you already attempted?
On your website you say you simply do round() on the values

But It happens every now and then that I get a 1 cent or 2 cents difference because you either round up or down 1 or 2 taxes value

I tried adapting my code with custom more preciserounding, it fixed it for a while, then I came up with a new scenario where it still doesnt match again...

What are you working on?
Matching stripe invoice values in my app

atomic shuttleBOT
#

@azure lagoon pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I don’t want to send receipt emails to customers on monthly subscriptions.

if I use the payment_intent_data.receipt_email field when creating a checkout session. when the subscription is charged at the beginning of the new cycle which email will be used? the customer.email or the payment_intent_data.receipt_email? How do I force the payment_intent_data.receipt_email to always be used for monthly receipts?

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-receipt_email

What are you working on?
there’s no legal requirement to send a receipt email for monthly subscriptions but stripe only seems to allow either turning them on everywhere or off everywhere.

#

@bitter wolf pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I want to simulate a successful subscription and then simulate when the user does not make the payment after the retry policy.

What actually happened?
I can't create the subscription because the card is declined, I can attach the payment method to the user but I can't create a subscription test with this user, so I can't test the other events

Reproduction Steps

  1. Create a user with the credit card 4000000000000341
  2. Try to create a subscription test with this user

Question
I am using the test card 4000000000000341 to test my subscription payments. The docs say that this card can be attached to the customer but it will fail when stripe tries to charge. but this doesn't work in the first subscription attempt so the subscription can't be created.

What are you working on?
Personal project

atomic shuttleBOT
#

@crystal anchor pressed the πŸ“‘ API button in #help to ask a question:

Question
We are building a software that provides users with a digital wallet, and allows them to empty the wallet into their bank account. We also want to collect a fee per transaction.

What would be the recommended architecture to accomplish this?

(fyi this is a previous thread from our lead engineer) thread #birving_Wallet-Business our business model has already been approved and is a not a restricted business type per our sales and support contact "Gecel Rosario" - we just need a solution as to how to collect our funds during user(s) wallet to wallet sending of funds on our platform

Related Request ID(s)
req_Gy1ZC2pTUMYNXI

What have you already attempted?
Currently we have a master "Connected Account" that holds and disperses funds to users digital wallets. And each user has a connected account created so they can receive their funds. The issue is collecting the fee from each users transaction during wallet to wallet fund sending (i.e.) user 1 sends $10 to user 2 (user 1 incurs a $1 fee on our platform) how do we retrieve that $1 fee from user1's wallet when they are sending the funds to user2 ?

What are you working on?
A digital wallet, money sending platform

atomic shuttleBOT
#

@foggy bolt pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi. A very simple question here. I am working with stripe subscription schedules and using the function "list" to get a list of schedules starting from a certain date. I notice that subscription schedules from customer accounts that are deleted ,do not show up in the results. Is that the expected behaviour? If yes, can it be overridden?

Related Request ID(s)
Non

What have you already attempted?
I am using the list function to get the list of subscription schedules.

What are you working on?
E-Commerce application

#

@mental owl pressed the πŸ“‘ API button in #help to ask a question:

Question
Looking for advice on how to use Setup Intents for multiple purchases

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
joinpoppin.com

#

@bronze shore pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible, to change the description and the metadata of a payment created via a transfer from a platform to a connected account?
Basically when the transfer is initiated, we can specify the description and metadata but those info will only be reflected on the platform transfer details, not on the payment made to the connected account.
So for example if I create a transfer of 10$ from the
platform account to connected account with the the description "Transfer for Bob", on the connected account side, I will see payment of 10$ but without any description

Related Request ID(s)
py_1PNbblE5UBpIwTsboXZ7DFUU

What have you already attempted?
I tried to explore the doc but I cannot find a solution to my problem

What are you working on?
A ecommerce website

atomic shuttleBOT
#

@uneven carbon pressed the πŸ“‘ API button in #help to ask a question:

Question
We are developing a web application for our client.
Similar to pilots with onboarding component. When is done a payment to an express account using the destination parameter, is there a way to send a note to the business that receives the money from the customer? we are able to send a note for the web application owner (our client) but we can't send a note to the business yet (the express account dashboard - transaction panel)

Related Request ID(s)
none

What have you already attempted?
Stripe documentation, onboarding, and destination are both working pretty well with all desired features. We need a solution to send a note to the business

What are you working on?
An application similar to Onboarding Pilots example

atomic shuttleBOT
#

@kindred jasper pressed the πŸͺ Webhooks button in #help to ask a question:

Question
i create two endpoint webhook with same event,
how to know the webhook is from we_1PG7USDIKmYBiGm8vn4EaBIc, or we_1Mq7LcDIKmYBiGm8th2pNQZD

i need to do the webhook-id filtering in my coding side.

Related Event ID(s)
we_1PG7USDIKmYBiGm8vn4EaBIc,we_1Mq7LcDIKmYBiGm8th2pNQZD

What have you already attempted?
currently i received webhook in this format, did not see the webhook ID
{
"id": "evt_3PKw9jDIKmYBiGm81zvmLYGx",
"object": "event",
"api_version": "2022-11-15",
"created": 1716788001,
"data": {
"object": {
"id": "pi_Test_3PKw9jDIKmYBiGm81pbzDcQp",
"object": "payment_intent",
"amount": 2400,
"amount_capturable": 0,
"amount_details": {

atomic shuttleBOT
#

@visual obsidian pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
/**
* Cancel a subscription
* @param subscriptionId current subscription id
* @returns canceled subscription object
*/
public async cancelSubscription(
subscriptionId: string
): Promise<Stripe.Subscription> {
return this.stripe.subscriptions.update(subscriptionId, {
cancel_at_period_end: true,
});
}

Question
if this is called when the current subscription is trialing (has trial days) is it going to end when trial is finished without charging the user ?

What have you already attempted?
-

What are you working on?
api with stripe recurring payments

atomic shuttleBOT
#

@cerulean frigate pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
When creating products for a subscription, do I make 1) a product per tier, with prices per billing cycle option (e.g., monthly vs annual), or 2) a product per tier per billing cycle option?

The documentation indicates option 1 is the answer. But if a user is subscribed to the monthly version and tries to change it in the Customer Portal to the annual version (to get the discounted price) it doesn't let them as they are already subscribed to that product?

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models

What are you working on?
Financial modelling app

atomic shuttleBOT
#

@elfin flicker pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We charge users based on usage every end of the month. However, we have declined payment from our client. Does Stripe provide automated tools to send email to folks who have failed payment and auto attached the payment link?

Doc/Guide Links
n/a n/an/an/an/an/an/an/a

What are you working on?
Voice AI

atomic shuttleBOT
#

@cold dragon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I have used stripe/stripe-js react package to implement the add payment method to the stripe both card and bank
It gives us message at the bottom of the popup like wise
By providing your card information, you allow localhost:4000 to charge your card for future payments in accordance with their terms.

Question
can we localhost:4000 to something else

What have you already attempted?
I have tried to search few google blog, unfortunately I could not find any relevant issue

#

@sweet root pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Is there a way to add security to a webhook? I found where to add the webhook but not where to add a password value key

Related Event ID(s)
evt_1PNUTlEYHkLwnZ5HUazFFvd3

What have you already attempted?
looked everywhere

What are you working on?
sending paid users to my app to enable features

atomic shuttleBOT
#

@severe geyser pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
A user initiated a dispute against our service with the reason of fraudulence. We checked and figured it might be a fraudulent activity on his card that was not captured by Stripe. We wonder if there's a way for us to refund the amount to the users without paying the dispute fee.

Doc/Guide Links
https://support.stripe.com/questions/fraudulent-transactions-and-disputes-using-stripe-issuing
https://docs.stripe.com/disputes/categories

What are you working on?
ChatDesigner.ai is our product that offers AI image generation and editing services.

atomic shuttleBOT
#

@main crane pressed the πŸ“‘ API button in #help to ask a question:

Question
I have created an invoice via API, which strangely enough is always paid by a β€œsettlement”. What is the reason for this?

Related Request ID(s)
req_5GBYjixdtQxbOg

What have you already attempted?
I watched the documentary and didn't get any smarter.

atomic shuttleBOT
#

@magic matrix pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
eea_coutries = ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GR', 'HR', 'HU', 'IE',
'IS', 'IT', 'LI', 'LT', 'LU', 'LV', 'MT', 'NL', 'NO', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK',
'HR']

Question
I want to calculate stripe fee. It 1.5 for EEA countries but I don't know which countries are that. I want to get Stripe list not list from wikipedia.

What have you already attempted?
I have googled but not luck finding a list from official Stripe site

What are you working on?
FInancial app

atomic shuttleBOT
#

@ember cloud pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
```typescript
if (
event.data.object.details_submitted &&
event.data.object.payouts_enabled
) {
if (
event.data.object.capabilities.card_payments &&
event.data.object.capabilities.transfers &&
event.data.object.charges_enabled
) {
// process account update
}
}
```

Question
`account.update` webhook handling

What have you already attempted?
I should handle the invalidation part too

What are you working on?
stock images marketplace

atomic shuttleBOT
#

@echo matrix pressed the ❌ An Error button in #help to ask a question:

Error Message
This merchant has not completed registration to use Google Pay API. Please go to console (https://pay.google.com/business/console) to verify.

Question
I can't get Google Pay to work on my client's website, although the Google API key is correct

What have you already attempted?
Disabling and enabling again, asking my client to confirm he's really registered on the Google Wallet platform. But when I try to pay it always says the Merchant is not active on Google Pay

atomic shuttleBOT
#

@timber jay pressed the πŸ“‘ API button in #help to ask a question:

Question
We bought a company that had an account in a different country. We created a new account, and we would like to know if it is possible to backfill subscriptions and invoices.

What have you already attempted?
I already checked the API, and we can list and create invoices, customers, subscriptions, etc... However, we need to validate if this can be used for backfilling since the invoices we will be creating have already been finalized and paid.

#

@cunning pumice pressed the πŸͺ Webhooks button in #help to ask a question:

Question
The webhook is failed and it returns 500 error, can you help us in that regard ?

Related Event ID(s)
evt_1PNrmHBChtjGdHghkywzKzp9

What have you already attempted?
I retried the webhook manually and it failed again.

What are you working on?
LuckyTrip is a platform for booking trips

#

@dusky jasper pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/quickstart#use-webhook

Question
I'm currently working on implementing the new <PaymentElement /> component for one time purchases, my only concern is the step number 4: Handle post-payment events. I don't think relying on the webhook event response is the best way to fulfil the order in my case. We want to charge the customer and assign a booking to attend an event. There could be the possibility where the event becomes full and someone else books before we read the webhook response. is there any approach to confirm the payment intent in the server rather than the client side?

What have you already attempted?
At the moment, we only use the <CardElement /> to take payments and we create the paymentIntent and confirm it in the server in the same call, in order to do this we pass the customer payment method that we previously stored. but how do we do this using the PaymentElement? is is possible to use the same approach?

#

@sick notch pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to migrate some subscriptions from one plan to another with a seat based pricing and provide a discount to match the previous price. I create the coupon and then update the subscription with the new price and quantity.

After the migration, when increasing the quantity of the subscription item and use the 'always_invoice' option for the proration, the "unused" invoice line is computed without the invoice, resulting to a credit balance.

Related Request ID(s)
sub_1PNeXGJ3ZSOORD28i9iZFrwp

What have you already attempted?
After increasing the quantity and creating an invoice, the next increase works correctly. Only the first one calculates the unused line item without the discount

atomic shuttleBOT
#

@terse shale pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Is there any way I can create a checkout session for someone that wants to upgrade their subscription to a higher quantity?

Question
Is there any way I can create a checkout session for someone that wants to upgrade their subscription to a higher quantity? My goal is to make the user pay instantly for the upgrade, so that they pay the additional amount for the current period as soon as they click upgrade and get into the checkout session.

What have you already attempted?
I've looked at the docs and it seems like I can just update the subscription through the API. But my goal is to make the user pay instantly for the upgrade, so that they pay the additional amount for the current period instantly.

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

atomic shuttleBOT
#

@molten karma pressed the πŸ“‘ API button in #help to ask a question:

Question
We're facing "Device not GMS certified" issue from custom ROM device (sunmi)

Related Request ID(s)
req_5MMh098dv6sUsW

What have you already attempted?
We're facing "Device not GMS certified" issue while trying to pay a order through Tap to Pay. The scenario is, We are using custom ROM device from sunmi for tap to pay. In debug mode the tap to pay is working fine. But in the release build we are having this issue from stripe SDK. The Tap to pay is working fine on personal cellphone and other devices. But only when we're trying to use it On sunmi devices this issue is occurring. We're seeking help regarding this issue.

Device: Sunmi L2s Pro, Sunmi V2s
Android: 12

What are you working on?
Tap to Pay

#

@languid gate pressed the πŸͺ Webhooks button in #help to ask a question:

Question
For some reason the webhook fails to send data to an endpoint in the cloud (vercel) - but using the stripe cli to forward the events to localhost, it works. My API-Version is being displayed as

2023-10-16

But when I display on Configuration of the webhook - it displays me
Status
200 OK
ID
req_6rbPIQiHTsBglo
Uhrzeit
03.06.24, 17:24:15
IP-Adresse
176.199.209.131 (vom Server unter 176.199.209.131)
API-Version
2023-08-16
Neueste
...

Related Event ID(s)
evt_1PNuSNJB01I21ryncIPLkMQS

What have you already attempted?
Changing the webhook, creating a new one to update the secret, updating the api version locally to the mentioned one etc.

#

@dapper girder pressed the πŸͺ Webhooks button in #help to ask a question:

Question
post parameters webhook needed

Related Event ID(s)
post parameters webhook needed

What have you already attempted?
post parameters webhook needed

What are you working on?
post parameters webhook needed

#

@vestal raft pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I need to capture when a payment intent is refunded so i can do a tax reversal how would i go about of doing this?

Related Event ID(s)
-

What have you already attempted?
I tried to listen for

refund.created but i am wondering if it is the one to listen for.

What are you working on?
Nodejs Custom workflow

#

@rose nest pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a question related creating free subscription throught you api. Currently we are using a request (provided as related request id). You are now automatically confirming the transaction with option to add credit card (with setup intent), do you have an option to confirm transaction only when user will provide credit card details?

Related Request ID(s)
req_rLaITBZ9TdGfq1

What have you already attempted?
Search docs.

#

@tropic summit pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello
My GoDaddy store included this Stripe integration and it is working well :)

I need to collect the payers email to send them instructions and order confirmations

How do i collect the customers email address please ?

Thanks
Andy ink

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/object

What are you working on?
Godadddy store - just need purchasers email - thx!

#

@twin tide pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, is it safe to provide API keys for a store, if im not the owner of the store cuz payments has to run through my stripe?

Related Request ID(s)
IdS?

What have you already attempted?
Im just here simply asking a question that i need answered.

atomic shuttleBOT
#

@dapper girder pressed the πŸͺ Webhooks button in #help to ask a question:

Question
webook.....................................

Related Event ID(s)
webook.....................................

What have you already attempted?
webook.....................................

What are you working on?
webook.....................................

atomic shuttleBOT
#

@main crane pressed the πŸ“‘ API button in #help to ask a question:

Question
Webhook Secret is not correct in live environment. Dev environment works fine.

Related Request ID(s)
req_leIt1BlR6yi5RR

What have you already attempted?
read 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/connect/express-accounts

Question
It's possible to onboard express connected accounts fully via API without redirecting them to the onboarding flow? Thanks!

What have you already attempted?
I wasn't able to find clear information about If it's fully possible to do via API with express. With custom it is, but with Express I am not sure.

atomic shuttleBOT
#

@lilac linden pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I want to integrate Stripe Embedded Checkout in React Native App (Expo). What options would you recommend? Can I utilize something from the Stripe's React Native SDK? Currently, our backend creates embedded checkout session and return id and client secret.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet

https://docs.stripe.com/checkout/embedded/quickstart

What are you working on?
React Native Stripe Integration

#

@reef dune pressed the πŸ“‘ API button in #help to ask a question:

Question
My API is running Stripe dotnet 39.121 with the 2019-12-03 API version. I'm working on a new feature and I need to upgrade the SDK and API version to offer PreferredSettlementSpeed for US Bank Accounts in payment intents. That setting was introduced in 41.27.0 - 2023-08-03 SDK version.

Based on what I've seen in the dashboard, I'm able to create new webhooks either in my existing API version or the newest 2024 one. Meaning that I have to update SDK to the latest version. I want to know which would be the proper way to perform this upgrade.

Related Request ID(s)
1

What have you already attempted?
Read differents approaches across internet.

What are you working on?
API

#

@visual obsidian pressed the πŸ“‘ API button in #help to ask a question:

Question
sub_1PM9dyJlGzvMDWme3bBdsViw when trying to update(upgrade) this sub it says "you cannot create a new invoice for a paused subscription.unpause the subscription before attempting to create a new invoice"

Related Request ID(s)
sub_1PM9dyJlGzvMDWme3bBdsViw

What have you already attempted?
we have a custom pause/unpause in our api but it's not using stripe's pause/unpause, it just marks it cancel at period end & when they want to resume we create a new subscription based on the previous one.

What are you working on?
seo platform with recurring payments

#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to get all events from a specific payment/charge/dispute?

Related Request ID(s)
none

What have you already attempted?
I have attempted to use the events api, but no luck.

What are you working on?
Personal app

#

@vocal wagon pressed the πŸ“‘ API button in #help to ask a question:

Question
"The connection to the user's Link account has been closed." error message

Related Request ID(s)
N/A

What have you already attempted?
Cannot find any documentation explaining this error message

#

@errant cloak pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Does "checkout.session.completed" trigger by subscriptions? For example, i know that it triggers if i am manually going through the checkout flow, but what i want to know is that if it is a recurring payment, when it automatically charges the client, does it also trigger this event on the webhook?

Related Event ID(s)
cs_test_a1Ae3CSBr5ZOK69mnLKlEQZXRVmBVeAoq5jTBXnIZk98Kx5c8ePP8jE7GU

What have you already attempted?
Its hard to test as i need to give a delay between the tests and i could not find information saying if this event istriggered or not

What are you working on?
Simple checkout flow for recurring payments

#

@violet basin pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
var paymentElement = elements.create('payment', {
fields: {
billingDetails: {
name: 'auto',
email: 'auto',
}
}
});

Question
I'm currently using PaymentIntents + PaymentElements for receiving payments. I want to collect the username and e-mail, but for credit card payments, it won't automatically show these fields. I checked and there's no 'always' property for billingDetails, what would be the most elegant way to have people enter their name in addition to the credit card info?

What have you already attempted?
I tried setting the name and email to 'auto', but it will still only show up for payment methods besides credit card.

What are you working on?
E-commerce

#

@lapis pelican pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
how to make the subscription active in the code after the promo code is applied to the subscription? the subscription stays incomplete

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/coupons

What are you working on?
I'm creating an incomplete subscription for the customer and then after they pay it gets activated, but if they choose to add a promo code this should make the subscription active

atomic shuttleBOT
#

@late sigil pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi Guys, we are using the API V1 and we can't use because Stipe requires a PCI compliance form.. Can you provide it?

Related Request ID(s)
No ids

What have you already attempted?
Nothing

#

@sacred gorge pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any way to change the created date of a customer. We are migrating users from a previous system and it would be useful to have stripe mark those users as having been created the date they joined our platform rather than the day they are migrated.

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@dusky basin pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I use Stripe Connect to manage payments to different legal entities in my organisation.

I want to use the Stripe Billing Customer Portal for my users so that they can see their billing details and invoices in one place, regardless of which connected account made the payment.

Basically, I want to show the billing portal as being the platform billing portal, with invoices etc. from all the connected accounts' products and platform's products.

Is this possible?

Related Request ID(s)
NA

What have you already attempted?
Creating a platform Billing Customer Portal, which was clearly missing all the details/subscriptions that were related to my user from connected accounts

What are you working on?
Basic consulting subscription platform for my organisation

#

@pure mica pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We are in the middle of migrating from Braintree to Stripe and we were planning to use the stripe migration toolkit for migrating the subscriptions. Your documentation says that the field adhoc_items.x.amount must be a positive integer in cents. But the toolkit assumes that the amount is a float.

What actually happened?
We created a csv with the adhoc_items.0.amount to be 34.80 and uploaded the csv to the migration toolkit. The toolkit validated the csv and created a subscription schedule with a subscription item amount of 34.79(!).

Reproduction Steps
Create a csv for using it with the migration toolkit and enter the adhoc_items.0.amount as 34.80. The subscription schedule item amount will incorrectly be set to 34.79 . We also saw that if we pass in the csv the amount as 34.801 the precisin error does not appear.

Question
How can we pass the amount and not face any precision issues with our migration. Is there an option that we should set so that the toolkit can accept positive integer cents that we are missing? Thanks

#

@deft lagoon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I can't share a code snippet, I'm looking for an API function to get the unique bank transfer details for a customer. Previously it was possible with the sources api this way
ach_credit_transfer_data = getattr(source, PaymentType.ACH_CREDIT_TRANSFER)
return BankAccountInfo(
bank_name=ach_credit_transfer_data.bank_name,
account_number=...
routing_number=...)

Question
How can I get the bank info for a customer_balance that was previously available from the ACH credit transfer source? And now visible on the invoice

What have you already attempted?
for example these
* requests.get(f"https://api.stripe.com/v1/customers/{cvh}/bank_accounts", ...
* stripe.Customer.list_payment_methods( cvh, type='customer_balance',
* stripe.PaymentIntent.retrieve('pi_3PNvzsG6BlZ3nfc01quzTMFt') then check next instructions
* looking at the http requests of https://dashboard.stripe.com/test/customers/cus_QEOVnvf3V6g7rQ/cash_balance_transactions/usd

What are you working on?
getting the bank details for a bank transfer

#

@naive lagoon pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I verify if the card that customer is saving on my portal is a good or not, which stripe API can support that

Related Request ID(s)
x

What have you already attempted?
x

atomic shuttleBOT
#

@ivory sandal pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to get the accounts current dispute rate via API?

Related Request ID(s)
NA

What have you already attempted?
I've looked across the docs and Google but can't see anything.

What are you working on?
Updating business internally with a daily notification of KPI's, one of these being Stripe dispute rate.

atomic shuttleBOT
#

@tulip belfry pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
success_url=SUCCESS_URL + "?session_id={CHECKOUT_SESSION_ID}",
cancel_url=CANCEL_URL + "?session_id={CHECKOUT_SESSION_ID}"

Question
I acutely need help with following up issue – forming proper success and cancel url for stripe session.
So, I have with snippet of code within my stripe.checkout,Session create method –
success_url=SUCCESS_URL + "?session_id={CHECKOUT_SESSION_ID}",
cancel_url=CANCEL_URL + "?session_id={CHECKOUT_SESSION_ID}"

where can I get such value: CHECKOUT_SESSION_ID

What have you already attempted?
I tried to pass random values to such CHECKOUT_SESSION_ID, but unsuccessfully

What are you working on?
testing my project in which stripe is implemented - testing working both success and cancel payment url

atomic shuttleBOT
#

@daring atlas pressed the πŸ“‘ API button in #help to ask a question:

Question
Having trouble getting Alternate Payment Methods that I've enabled in the Dashboard showing on the Payment Elements

Related Request ID(s)
req_QTVQuteXfbhMYZ

What have you already attempted?
explicitly enabling with the PaymentINtentAutomaticPaymentMethodsOptions object, or just nulling it out and relying on the default behaviour.

What are you working on?
Making PaymentIntents on behalf of a Connected Account that will show Alternative Payment Methods.

atomic shuttleBOT
#

@bold meteor pressed the ❌ An Error button in #help to ask a question:

Error Message
"Microdeposit transfers have been blocked. Please contact us at https://support.stripe.com/ if you would like more information."

Question
We have two clients, Black Rock Coffee and Kneaders Bakery who are trying to link bank accounts to be billed monthly by Paytronix. Everytime they link a new bank account, they run into the error above. Why are they running into this error? There are 50+ additional sites that banking info needs to be linked at so we need to get to the root cause of the error.

What have you already attempted?
When the setup intents fail, Stripe has been unable to unblock the account and the merchants have been able to successfully enter their info. However, 100% of the new sites that the merchants need to link banking info for run into that same error.

Black Rock has verified that the name they're entering matches the name on the bank account exactly.

Reproduction Steps
These intents have been unblocked by Stripe but initially, these ran into the error in this ticket:

Black Rock Coffee

  1. seti_0PG2vqiGafu8np3QkTf3Nbm7 - cus_Q6FQCdEhsxUdii
  2. seti_0PG2yKiGafu8np3Qb47b1d5z - cus_Q6FTqEl34GKPAF
  3. seti_0PG2zGiGafu8np3Qt3X9X2Ba - cus_Q6FURpm44DSNFh

Kneaders

  1. seti_0PIpxliGafu8np3QbifCdY2m - cus_Q98EyeCkGUyXA4

More examples available

atomic shuttleBOT
#

@obsidian leaf pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello. We have an issue with the stripe-node library. Code that was working a few days ago is now failing with "Invalid JSON received from the Stripe API". A call as simple as this fails with the above error:

```
const customer = await stripeClient.customers.create({
name: v4()
})
```

This was working days ago, so I'm a bit perplexed as to what is going wrong.

It appears that the JSON API is returning HTML, but I can't inspect the raw HTML from the returned exception. (It gets truncated.)

Related Request ID(s)
N/A -- failing requests are not appearing in the logs in the Stripe Dashboard.

What have you already attempted?
Attempted to walk through the failing code with a debugger, but I couldn't find the raw HTML.

What are you working on?
Stripe integration for SaaS service

#

@ember cloud pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am not getting event webhook calls

Related Event ID(s)
account.update

What have you already attempted?
Switched to a new org, updated the stripe secret key and webhook secret

#

@mystic hawk pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello Support,
I need to create a payment page where I need PCI compliant fields like card no, CVV and Expiry separately and other fields are custom html fields like amount (where user can take input of amount) etc.

Related Request ID(s)
Custom web payment page

What have you already attempted?
Tried with custom payment flow - checkout

atomic shuttleBOT
#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey,
How do i mark a transaction as paid offline?

Related Request ID(s)
NA

What have you already attempted?
What currently i am doing is creating a checkout session
stripe.checkout.sessions
.create(
{
customer: "cus_xxxx",
currency: "usd",
mode: "setup",
success_url: "https://test.com/success",
cancel_url: "https://test.com/cancel",
},
{
idempotencyKey: uniqueKey,
}
)
Because i want to charge it at a later stage after some time i do
stripe.paymentIntents
.create(
{
amount: 10000,
currency: "usd",
payment_method: "pm_1PNisYAnA4hYoxRGQ4VrGML3",
customer: "cus_xxxx",
confirm: true,
this is cropped due to limit

#

@foggy bolt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
For my application , I would like to know which phases of a subscription schedule have been successfully paid , pending, or "still not due". How can I determine this?

Doc/Guide Links
https://docs.stripe.com/api/subscription_schedules/object

What are you working on?
E-Commerce application

#

@rough forge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How do I model additional client-facing fees on a subscription? For example, if I have a Price representing $100/mo, and I want to create a checkout Session for that Price + a 4% platform feeβ€”is my best bet to create another line_item of price_data with the same recurring info as the Price? I ask, because it feels a little weird in the hosted Checkout view where it shows each line item with an additional β€œBilled monthly” line instead of all of them billed together monthly.

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create

What are you working on?
Working on client-facing platform fees for a Connect integration

#

@last schooner pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to delete test data from the dashboard

Related Request ID(s)
req_DriW7tU11qqwEg

What have you already attempted?
I'm trying to delete test data from the dashboard but it does not delete test connected account. It's the first time that happend

What are you working on?
my own marketplace

#

@silent forum pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to get a client secret, calling v1/crypto/onramp_sessions but I'm getting an error. I've tried using my account's secret key and the public test key. How do I resolve the linked error?

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_clfyvOuBUNrkog?t=1717522709

What have you already attempted?
Looked at docs for the error. I found reports of the same general error but resolutions did not apply.

#

@neon lagoon pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi guys, does Stripe have the function to support coupon system except to creating a payment link targeting on a specific product with discount

Related Request ID(s)
Coupon

What have you already attempted?
Iβ€˜ve only found the payment link method will enable a coupon but limited to specific product

#

@cerulean pasture pressed the πŸ“‘ API button in #help to ask a question:

Question
I am attempting to switch from a straight connect to a sale and transfer. the following do not function to send the payment intent to the reader. I had to back out all changes to not interrupt services

Related Request ID(s)
None

What have you already attempted?
This works: $paymentIntent = \Stripe\PaymentIntent::create( [ 'amount' => $total,
'currency' =>'usd',
'payment_method_types' =>['card_present'],
'capture_method' => 'automatic_async',
'application_fee_amount' => str_replace('.', '', number_format(str_replace('.', '', number_format(round($total * 0.0003, 2), 2, '.', '')),
], ['stripe_account' => $team['connect_id'],);
This does not:
$paymentIntent = \Stripe\PaymentIntent::create(
['amount'=>$total,
'currency'=>'usd'
'payment_method_types' =>['card_present'],
'capture_method'=> 'automatic_async',
'on_behalf_of'=>$team['connect_id']);

#

@hallow dawn pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello, I'm having some issue with subscription, immediately after creating a subscription a customer.subscription.deleted has been triggered and the sub has been cancelled but I don't understand why, I can't see nay error both in my app or stripe and the invoice.paid return a 200

Related Event ID(s)
evt_1PO1xVD3aHmkTjdAFak8op9A

What have you already attempted?
search online for similar behaviour

atomic shuttleBOT
#

@neon lagoon pressed the πŸ“‘ API button in #help to ask a question:

Question
Hiya, does Stripe API have a coupon system that will enable to automatic promotion area not limited to customer/product/subscription? The promotion area will simply be here whether customer/product/subscription have a discount code.

Related Request ID(s)
API

What have you already attempted?
Only found that i could add coupon option to a new payment link

atomic shuttleBOT
#

@elder heart pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Stripe Tax - Thresholds and Registrations and Calculated Tax During Checkout etc.

Question
Stripe Tax - Thresholds and Registrations and Calculated Tax During Checkout etc.

What have you already attempted?
Stripe Tax - Thresholds and Registrations and Calculated Tax During Checkout etc.

atomic shuttleBOT
#

@ember cloud pressed the πŸͺ Webhooks button in #help to ask a question:

Question
The new Stripe dashboard generates two separate secrets

Related Event ID(s)
all

What have you already attempted?
using the old secret

#

@opal geyser pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Can metadata be passed to checkout sessions in subscription mode and subsequently referenced in Stripe Radar?

Question
Can metadata be passed to checkout sessions in subscription mode and subsequently referenced in Stripe Radar?

What have you already attempted?
I tried passing it as metadata and subscription_data.metadata inside my checkout session object, but it didn't work

atomic shuttleBOT
#

@thorn lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
We're currently using Stripe Financial Connections to enable our users to link and verify their bank accounts. We are able to debit funds from their accounts using Payment Intents on the Payment Method. My question is: how do we set up these accounts so that they can also receive ACH payments?

Related Request ID(s)
N/A

What have you already attempted?
We've explored the use of Payouts, but I'm not sure what information we need to store during the SetupIntent flow with Financial Connections to enable the creation of Payouts.

What are you working on?
We're developing a fund management system that enables people to deposit money into a fund, and receive distributions from that fund.

atomic shuttleBOT
#

@unique shore pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to use the "Retrieve an upcoming invoice" endpoint and adding a new subscription_details.item. When I do this, it not only adds it to the next term (i.e. the next invoice that I am previewing) but also adds it as a charge for the new product for the remaining time in the current term. Is there an easy way for me to flag that I don't want it added now, I only want it added to the next billing cycle?

Related Request ID(s)
not a post request, so can't find it in logs

What have you already attempted?
I do not see any fields relevant in subscription_details.items. I did try using the invoice_items instead and felt like I could find a way for that to work, however, that doesn't allow recurring prices so had to go the price_data route instead while I would prefer to maintain the recurring price that subscription_details.items allows

#

@stuck flower pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Are there any test card numbers that will succeed in creating a charge, but the charge will subsequently fail?

Related Event ID(s)
N/A

What have you already attempted?
I've tried a number of the test cards but they all immediately fail to create a charge thus not sending out a `charge.failed` event.

What are you working on?
A one time payment flow in a React app using `CardElement` from `@stripe/react-stripe-js`

atomic shuttleBOT
#

@sand loom pressed the πŸ“‘ API button in #help to ask a question:

Question
My company wants to create an offer for early renewal but they want to make the offer 2 years and our customers are on a mix of different schedules. I'm thinking of using phases but is it possible to generate and pay the invoice for the next phase early?

Related Request ID(s)
None

What have you already attempted?
I've tried doing this through the dashboard but I'm not sure it's possible.

What are you working on?
Early renewal 2 year deal

#

@little willow pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<script>// This is your test publishable API key.
const stripe = Stripe("x");

// The items the customer wants to buy
const items = [{ id: "consultanta" }];

let elements;

initialize();
checkStatus();

document
.querySelector("#payment-form")
.addEventListener("submit", handleSubmit);

// Fetches a payment intent and captures the client secret
async function initiali

Question
How do I get to make ajax post after a payment?

What have you already attempted?
I have a php code

atomic shuttleBOT
#

@storm leaf pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to transition from using a standard key to a Restricted key. Using a restricted key I get this error "does not have the required permissions for this endpoint on account 'acct_REDACTED'. Having the 'rak_accounts_kyc_basic_read' permission would allow this request to continue."

Related Request ID(s)
req_JaBeDA63nzW7Zz

What have you already attempted?
I read through documentation but am unable to figure out how to enabled the rak_accounts_kyc_basic_read' permission

#

@marble obsidian pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
"expo-build-properties",
{
"android": {
"minSdkVersion": 24,
"compileSdkVersion": 34
},
"ios": {
"useFrameworks": "static"
}
}
],
[
"@stripe/stripe-react-native",
{
"merchantIdentifier": "Placeholder",
"enableGooglePay": true
}
],

Question
im trying to get the google pay working with expo and react native

What have you already attempted?
i have turned on the google pay from the stripe dashboard. i have changed the merchantID to correct from google play console. im using initpaymentsheet.

What are you working on?
ordering application

#

@harsh ember pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
<stripe-pricing-table pricing-table-id="prctbl_1PNdNPIOU333jqngdPiLHWXl"
publishable-key="pk_live_51J2bQvIOU333jqngGMFz0cX3BuxAuXd20ZhteiefYfgi6894YTDVyQKBbeKIOE6riqu3LTtgiVgC7j8tNNrbZNN7002SS3K3jx">
</stripe-pricing-table>

Question
So we want the stripe pricing table to fill the screen and to be responsive, what is the proper way to write css rules or add custom rules to the stripe component?

What have you already attempted?
We have used observability to wait for the inside components, but it looks like direct manipulation is prevented so we haven't been able to overwrite the classes.

What are you working on?
Pricing table style

#

@pseudo kiln pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
import address_ui
import stripe
import tkinter as tk
stripe.api_key = ""

if __name__ == "__main__":
root = tk.Tk()
app = address_ui.UserAddress(root)
root.mainloop()

#stripe.tax.Settings.retrieve(stripe_account='{{CONNECTED_ACCOUNT_ID}}')
try:
stripe.tax.Settings.modify(
defaults={"tax_code": "txcd_40070005", "tax_behavior": "inclusive"},
head_of

Question
This code is supposed to mock a transaction and return a total with a tax rate specific to the address that is added. It is connecting to the server, but does not give us any tax rate beyond 0.

What have you already attempted?
Used different functions, messed with settings in stripe. NOTE: api key removed for security

What are you working on?
An api that mocks transactions

atomic shuttleBOT
#

@craggy owl pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
'billing_address_collection' => 'required',

                'customer\_details' =\> \[
                    'address' =\> \[
                        'line1' =\> '1234 Main Street',
                        'line2' =\> 'Apt 2B',
                        'city' =\> 'San Francisco',
                        'state' =\> 'CA',
                        'postal\_code' =\> '94111',
                        'country' =\> 'US',

Question
When passing parameters from our back-end like the billing address, I can see that this appears at the invoice that is generated. Still the end user gets the question during checkout to enter his/her billing address. Is there a possibility to pre-populate this as well like with the customer_email field?

What have you already attempted?
Followed the API docs. Managed to pass the info to the invoice but not to the checkout page.

What are you working on?
Checkout page for services making use of a PHP backend. All customer info is already available in the backend.

atomic shuttleBOT
#

@flint horizon pressed the ❌ An Error button in #help to ask a question:

Error Message
So we have our account set up through memberpress and it was working earlier, now on checkout it's telling us (No such plan: 'plan_QCfJuxpPs6s0V4' (invalid_request_error) and for what reason i do not know but this isn't a coded website, it's wordpress that's using stripe to process payments from Memberpress

Question
How can i fix this? what causes this error?

What have you already attempted?
Googling the issue and found a couple coding workarounds which don't work for me

Reproduction Steps
simply clicking sign up will generate the error

What are you working on?
a golfing website that just launched today and has membership options

#

@pseudo kiln pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
import address_ui
import stripe
import tkinter as tk
stripe.api_key = ""

if __name__ == "__main__":
root = tk.Tk()
app = address_ui.UserAddress(root)
root.mainloop()

#stripe.tax.Settings.retrieve(stripe_account='{{CONNECTED_ACCOUNT_ID}}')
try:
stripe.tax.Settings.modify(
defaults={"tax_code": "txcd_40070005", "tax_behavior": "inclusive"},
head_of

Question
This code is supposed to mock a transaction and return a total with a tax rate specific to the address that is added. It is connecting to the server, but does not give us any tax rate beyond 0.

What have you already attempted?
Used different functions, messed with settings in stripe. NOTE: api key removed for security

#

@humble oracle pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I make payment methods added via the customer portal show up in a checkout session? For context, I'm using the API to create portal session and checkout session links.

Related Request ID(s)
Had trouble finding a previous thread on this

What have you already attempted?
Tried various configurations of the saved_payment_method_options from the API docs.

What are you working on?
I'm using the stripe api to generate customer portal and checkout session links. I would like for any payment methods added via the customer portal to be available to the customer during checkout.

#

@rich wind pressed the πŸ“‘ API button in #help to ask a question:

Question
We are currently using the AliPay integration and creating off-session charges using the Sources API.

Upon updating our integration to use the PaymentIntents API, I am unable to see a way for us to automatically charge the saved AliPay payment methods off-session without user intervention. It seems that any attempt at creating a PaymentIntents object requires the user to be available to manually verify the charge being made.

Is it possible to create these charges without user intervention, and if so, how that would be done.

Related Request ID(s)
N/A

What have you already attempted?
Our new integration with the Payment Intents flow is as follows:

  1. Create an AliPay Payment Method
  2. Create a Payment Intent object using the Payment Method with 'setup_future_usage' set to 'off_session'
  3. Confirm the Payment Intent object, redirecting the user to AliPay to authorize payment
  4. Receive the user redirected from Stripe and store the Payment Method id associated with the confirmed Payment Intent and recording the charge created through confirmation

Creating new PaymentIntents require user intervention to handle AliPay integrations, however.

What are you working on?
A payment integration for Stripe's AliPay payment method

atomic shuttleBOT
#

@errant cloak pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/customer/tax-ids

Question
So, how i have followed this guide, specifically regard Portal Sessions, and now new users can see a "purchase as business" option. However old users or users who accidentally do not purchase as business, cannot later modify their Tax VAT ID and business name. So i have two questions: 1- Is that possible to require the person to be a business to purchase this product? 2- Is that possible to allow a user who forgot to click to purchase as business to add this information (Portal )

What have you already attempted?
tried searching for some parameter to add to the portal criation on the API that would allow this behaviour

What are you working on?
B2B software portal checkout integration

#

@noble talon pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Does Manual Payout work for Standard Account or is it only applicable to Express Accounts given Standard Accounts are full fledged Stripe Accounts.

Doc/Guide Links
https://docs.stripe.com/connect/manual-payouts

What are you working on?
Building a marketplace

#

@true snow pressed the πŸ“‘ API button in #help to ask a question:

Question
We need to add a custom text to line items so that for example a recurring subscription for Client Program Access would display " Client Program Access for #{client_name} " on the line item.

Related Request ID(s)
1

What have you already attempted?
API docs

What are you working on?
Cupporting adding client name to line item for Client invoice

atomic shuttleBOT
#

@dense sky pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I deployed Webhook function on Google Cloud Functions, and wanna figure out why it fa

I use Stripe Identity and it happens when I submit Verification as any status (success/fail/etc.) in test mode.

I observed logs via Stripe CLI by listening forward to the functions endpoint and I got logs like this.

[evt_1PO8UGBBo2fByB6rOTzhLmOP]
--> identity.verification_session.verified [evt_1PO8UHBBo2fByB6rrGAkxymQ]
[ERROR] Failed to POST: Post "https://asia-northeast1-matnu-403800.cloudfunctions.net/webhook": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Related Event ID(s)
evt_1PNvpyBBo2fByB6rn9YoyoBY

What have you already attempted?
I've...
- followed this article: https://docs.stripe.com/webhooks/quickstart?lang=node

- configured Cloud Functions region correctly (asia-northeast1)
- added webhook secret on request
- checked Logs Explorer in Google Cloud but only I got was the same logs as that I got from listener
- double checked text for type of events (https://docs.stripe.com/api/events/types?event_types-invoice.payment_succeeded=#event_types-identity.verification_session.verified)

What are you working on?
I wanna update a field on Google Cloud FireStore Database. The field is a status if the user has already identified by Stripe Identity. In order to do this I wanna get events for identity.verification

atomic shuttleBOT
#

@narrow knoll pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I want to merge 2 customers in Stripe. Here's the scenario:
- There are 2 customers, A and B, each with a different payment method and an active subscription.
- I want to transfer both the subscription and payment method from customer A to customer B. After the transfer, customer B will have two payment methods and two active subscriptions.
Does stripe support this feature ? Or a similar way to help me merge 2 customers

Doc/Guide Links
I cannot find any document about this

What are you working on?
Build custom Payment page for our business website, using payment element

atomic shuttleBOT
#

@hearty garnet pressed the πŸ“‘ API button in #help to ask a question:

Question
I try to create an invoice which contains several line items and the items prices sum to zero. That means some of the items' price are greater than zero but some are not. Is it possible? And, I want to add some customized text in an invoice, is it possible too?

Related Request ID(s)
no_request_yet

What have you already attempted?
I tried to create a product with price less than zero but failed.

What are you working on?
Create an invoice contains multiple line items but total amount is zero

atomic shuttleBOT
#

@timber wagon pressed the πŸͺ Webhooks button in #help to ask a question:

Question
can i know how this works? i implement in my web and it's not working

Related Event ID(s)
not sure

What have you already attempted?
i already try to implement this on my website

What are you working on?
web development

atomic shuttleBOT
#

@lapis pelican pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
how to make the subscription active in the code after the subscription is updated with the promo code? the subscription stays incomplete, I tried canecling the payment intent and voiding the invoice but that didn't work

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/coupons

What are you working on?
I'm creating an incomplete subscription for the customer and then after they pay it gets activated, but if they choose to add a promo code the subscription will be updated with it and this should make the subscription active

atomic shuttleBOT
#

@tulip belfry pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
```py
def test_payment_success(self):
price_data = stripe.Price.create(
unit_amount=1200,
currency="usd",
product_data={
"name": f"Payment for borrowing of {self.book_1.title}",
},
)
session = stripe.checkout.Session.create(
line_items=[
{
"price": price_data.id,
"quantity": 1,
}
],
mode="payment",
success_url="http://localhost:8000/s

Question
Every time I am testing the functionality of payment success page, I stumble on situation that response.data is None (response.content is empty string). So, seemingly when I am doing HTTP-request on payment success endpoint it returns no content here. I suspect I need some sort of special handler for managing content for this purpose (response.data must be filled with some information regarding successful payment). But I am not 100% sure (it’s just my tentative assumption). S

What have you already attempted?
Genuinely I have no idea how to efficiently resolve this issue because it requires in-depth knowledge of Stripe functionality, which I don’t really posses.

What are you working on?
This is my project regarding Library borrowing system, and Stripe is integrated in it for payment handling purposes.

#

@shadow pier pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have an error "503 Backend fetch failed" for every event I try to send with my webhook

Related Event ID(s)
pi_3PO4tlABMkcfZ8gP0X5yGZD2

What have you already attempted?
I created a webhook on stripe with the following url: https://achyl.be/webhook.php.
The URL is on a wordpress site hosted by OVH.
I can link up my code if necessary.

What are you working on?
I'm sorry in advance, I'm a front end dev and I don't know nothing in back end, but I'm trying to set up a stripe webhook for a URL hosted on a OVH server. Is it possible ? Do I have to contact the OV

#

@sinful iron pressed the πŸ“‘ API button in #help to ask a question:

Question
i want to send email that have payment intent link to custom email

Related Request ID(s)
-

What have you already attempted?

  1. i create new customer then use that customer to create payment intent. but i want to send email to custom email
    await StripeClient.stripe.paymentIntents.create({
    amount: amount, // usd cents
    currency: 'usd',
    customer: customer.id,
    });
    this will send email to customer email only
#

@bitter tendon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
/*
* The method to add a new card, but not work on production environment
* */
@Override
public CreatePaymentMethodDto.Resp createPaymentMethod(String userId, CreatePaymentMethodDto.Req dto)
throws PaymentCardException {
val customerId = stripeCustomerService.getOrCreateCustomer(userId);
val cardDetails = dto.getCardDetails();
val cardParam = CardDetails.builder()
.setNumber(cardDetails.getNumber()

Question
Our React Native app currently sends credit card data directly to our backend Java service, which then forwards it to the Stripe API. This triggers a security warning from Stripe:

"Sending credit card numbers directly to the Stripe API is generally unsafe."

We are exploring solutions, including Stripe Link. Ideally, we would like to maintain our previous workflow where users can add new cards before checkout.

What have you already attempted?
https://docs.stripe.com/payments/link/mobile-payment-element-link

I have reviewed the article you linked, but it doesn't seem to mention whether React Native supports adding new cards before checkout with Stripe Link.

#

@tulip anvil pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi,
for a while I was using (by mistake) Stripe production Api keys in the test settings of my WP Booking Calendar (working well and even updating the paiement statut in my WP dashboard : Stripe_v3:ok).
Since I put Stripe production Api keys in the production settings, I don't get any update on my dashboard... Can you explain this ?
Thx a lot for your help !

Related Request ID(s)
? sorry I don't know what to do here, it's my first attempt to be on Discord

What have you already attempted?
I tried to put back the production Api keys back to my test settings : paiement are working but no statut update.

What are you working on?
I'm webmaster for a van rental website using WP Booking Calendar.

atomic shuttleBOT
#

@haughty rover pressed the πŸͺ Webhooks button in #help to ask a question:

Question
when using Express Checkout Element will my callback webhook be called after successful payment?
also wanted to double check that when we are using express checkout we don't need payment intent

Related Event ID(s)
na

What have you already attempted?
na

What are you working on?
we are using a custom checkout, via payment intent. and thinking to move to express checkout.

#

@vocal wagon pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Are the webhooks in local down ?
What api are used for webhook ?

Related Event ID(s)
none

What have you already attempted?
I try to use my mobile connexion and it didn't works

What are you working on?
I use stripe listen --forward-to https://localhost:8000/fr/webhook and the "getting ready" doesn't stop. What are the apis used for this because my company puts restrictions on api, at first my chec

atomic shuttleBOT
#

@warm sable pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
after a subscription that is paid in arrears is canceled, I expected that the invoice was charged with the correct amount, instead of 0$ and after updating auto_advance=true after stripe updated it to auto_advance=false

What actually happened?
when I cancel a subscription that is paid in arrears, stripe changes auto_advance=false (I change it back to auto_advance=true), and also updates the upcoming invoice to have 0$ charges before finalizing it at the end of the billing cycle.

Reproduction Steps

  1. create a user
  2. add a subscription to the user
  3. add usage to subscription
  4. cancel subscription at the end of billing cycle (1 month)
  5. advance time until end of billing cycle
  6. see that auto_advance was updated to false
  7. update auto_advance=true
  8. advance 1 day in time
  9. check events, there is one where stripe updates the invoice to have amount_due=0

Question
When a subscription is canceled, stripe updates an invoice's auto_advance=false to stop unwanted invoices reaching users. That works for subscriptions that are paid at the beginning of the billing cycle, but not for the ones that are paid in arrears. So, why is stripe updating the upcoming invoice to 0$ when I update auto_advance=true? Is this also a native behavior?

What are you working on?
I am working with finalizing invoices from subscriptions that are paid in arrears (paid at the end of the billing cycle)

#

@gentle flint pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
$('body').off('change','select#Field-countryInput').on('change','select#Field-countryInput', checkout.showCountryVat);

Question
Is there a way to access the country field in payment element form? I want to do some action while changing the country field in the checkout page.

What have you already attempted?
I tried accessing it by it's id, but it doesn't work.
$('body').off('change','select#Field-countryInput').on('change','select#Field-countryInput', checkout.showCountryVat);

What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.

#

@night hound pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
java -cp target/sample-jar-with-dependencies.jar com.stripe.sample.Server

Question
The best way to do a check out for my website?
I tried https://docs.stripe.com/checkout/quickstart to learn
Doesn't display a checkout page
Doesn't display the stubborn icon as soon as I changed the api key
I get "Error: Could not find or load main class com.stripe.sample.Server"

What have you already attempted?
Tutorial about visual and strip: https://www.youtube.com/watch?v=fATvgUMWLzU

install scoop, node.js, npm, stripe-cli, stripe in visual studio code
try the accept a payment
do cd server in terminal
npm install
I get
npm error code ENOENT
npm error syscall open
npm error path B:\EXPO\website\stripeSearch\stripe-cli-acceptPay\accept-a-payment\server\package.json
npm error errno -4058
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open

What are you working on?
interfacing my website with e commerce https://www.coclea.eu/GALLERIE/art_index.html

#

@hot heron pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Mark a subscription as paid

Is it possible to creat a subscription and mark it as paid at the same time?
I want to be able to create a subscription that is already paid.

For example, the customer requests to pay via check and does so, afterwards i want to create a subscription that has the correct price data and is already paid for one billing_cycle.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/update

What are you working on?
Domain Registry

#

@burnt lake pressed the πŸ“‘ API button in #help to ask a question:

Question
I would like to create a promotion for a coupon, which can be redeemed one time by each customer.

Related Request ID(s)
Coupon ID: jglaiIYy

What have you already attempted?
$coupon = Cashier::stripe()->promotionCodes->create([
'coupon' => config('cashier.coupons.affiliation'),
'code' => $user->stripe_id,
'max_redemptions' => 1,
]);

By setting max_redemptions to 1, not every customer can redeem the code once, but the code can be redeemed once overall.

What are you working on?
I'm working on an Affiliation system for which every customer has a promotion code for a coupon, which reduces cost for products by 10%.

atomic shuttleBOT
#

@errant cloak pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
my previous thread was closed however i have a question. So i am using checkout session when the user did never purchase before and then i just use portal session. The problem is, if the user forgot to "buy as a company" now he cannot add his company VAT, what is the usual workaround since this information cannot be "updated" if it was not specified in the beggining? The common use case how do people do it? Do they just add a button to "delete the customer" so that the next time the user purchases something he will have the chance to use a VAT number?

What have you already attempted?
tried adding custom fields to invoices but didnt work

What are you working on?
b2b software

#

@quick current pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I need to get notified of subscription cancel events for our customers, who are already using stripe accounts. We looked at using a "connect webhook", however the onboarding process creates a new stripe account pre-filled from their existing one, but doesn't allow us to listen to events in their existing account.

Doc/Guide Links
https://docs.stripe.com/webhooks

https://docs.stripe.com/connect/onboarding

What are you working on?
We have a platform that award commission points based on leads being referred and marked as won, if this lead later cancels (They stop their stripe subscription with the SaaS vendor) we need to be notified

#

@night oxide pressed the πŸ“‘ API button in #help to ask a question:

Question
can we apply a stripe coupon or stripe discount code to a product only ? If yes then how we can see applied coupon on stripe dashboard or how we can check the redemption number?

Related Request ID(s)
123

What have you already attempted?
we're able to charge customer with the price that a discount code offers but where we can see the stats over stripe dashboard, as we do see for subscription

atomic shuttleBOT
#

@wanton terrace pressed the ❌ An Error button in #help to ask a question:

Error Message
Exception: There was a timeout when sending this command to the reader. Please reference the integration...

Question
From one day to the next with the reader at rest I stopped being able to make payments with it. I get the above error until I restart the reader and it works correctly again

What have you already attempted?
In general it works well for me. We have only detected the case on this occasion and I don't know if it is reproduced more times.

Reproduction Steps
We keep the reader inactive until the next day. We try to send a payment and get the error. If we restart the reader everything goes back to normal.

What are you working on?
I have integrated payments with a physical reader

#

@twin thicket pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected the cancelled subscription to never be prorated when passing the `"prorate": "false"` option to the cancel request.

What actually happened?
An invoice with proration refund was issued (see the `in_1PAQmL2GOJZ85wYsLJa6oYFd` invoice).

Reproduction Steps

  1. Create a recurring subscription.
  2. Cancel the subscription with `"prorate": "false"` option.

Question
Why did the proration refund get issued here? I've seen this happen a couple of times.

#

@daring tendon pressed the πŸ“‘ API button in #help to ask a question:

Question
android stripe tap to pay lib supported app must have nfc hardware?

Related Request ID(s)
2.01.00.20-SZZZ_Prod_US_v10-480001

What have you already attempted?
I have added tap to pay gradel lib. and my app on google play store does not support non-NFC devices.

atomic shuttleBOT
#

@quick current pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
stripeApi.accounts.retrieve()

Fails due to CSP

"content_security_policy": {
"connect-src": null,
"image-src": null,
"purpose": ""
}

Question
I have a stripe app, connect-src is currently set to null, but its failing to access stripe API to fetch current account details.

Refused to connect to 'https://api.stripe.com/v1/account' because it violates the document's Content Security Policy.

What have you already attempted?
I've attempted specifying the stripe api as an allowed src, but this didn't work and seems contra to the docs

What are you working on?
Stripe App that registers a webhook for subscription monitoring

#

@dusk gulch pressed the πŸ“‘ API button in #help to ask a question:

Question
Paused subscription resume instant not working

Related Request ID(s)
Paused subscription

What have you already attempted?
$resume_subscription = \Stripe\Subscription::update($package_data->profile_id, [
'pause_collection' => null,
]);

I have update this

What are you working on?
subscription

#

@burnt lake pressed the πŸ“‘ API button in #help to ask a question:

Question
Why is a promotion code marked as "redeemed" if I just add it to the discounts of an invoice, even though the invoice is still in status "draft".

Related Request ID(s)
promo_1POHkFBxo62JExo2Af3WHKeH

What have you already attempted?
$invoice = Cashier::stripe()->invoices->update($invoice->id, [
'discounts' => [
[
'promotion_code' => $promotionCode->id,
],
],
]);

What are you working on?
An affiliation system

#

@lost hare pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to create a payment intent with a newly created customer. I can't tell whether I'm running into a race condition or not, but I get errors

Related Request ID(s)
req_szk7xpjqPu0ivr

What have you already attempted?
I've read your PaymentIntent docs

What are you working on?
Working on a CRM platform with Connected Accounts

#

@spring lantern pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Does balance.available trigger when pending funds become available to payout?

Related Event ID(s)
No event

What have you already attempted?
Nothing

#

@edgy igloo pressed the πŸͺ Webhooks button in #help to ask a question:

Question
What webhook do you need to use to get an update that a subscription upgraded from "trialing" to paying customer <- i need this to be exclusive only to trial subscriptions

Related Event ID(s)
fsdfds

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/trials

What are you working on?
Zapier automation

atomic shuttleBOT
#

@twin thicket pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected a transfer for an invoice (as set in the `transfer_data` invoice field) to be issued once the invoice is successfully paid.

What actually happened?
The transfer was issued, but the payment is still "Pending". See the `tr_3PMxBK2GOJZ85wYs0kX1juMw` transaction.

Reproduction Steps

  1. Create an invoice with transfer data set.
  2. Pay it using ACH payment method, which is stuck at "Pending" for some time.
  3. See how the transfer is issued before the payment is actually successful.

Question

  1. How do I prevent this from happening?
  2. If the payment fails, is the transfer reversed? What if the connected account clears its balance in the meantime?
atomic shuttleBOT
#

@primal marsh pressed the πŸ“‘ API button in #help to ask a question:

Question
StripeInvalidRequestError:
code: 'customer_max_subscriptions'
message: 'Customer cus_PYAlxjearklw3w already has the maximum 500 current and scheduled subscriptions.'

Related Request ID(s)
cus_PYAlxjearklw3w

What have you already attempted?
We are trying to add subscriptions beyond 500, how do we handle this well and is there a way to unlock a customer for this?

What are you working on?
Customers can have potentially thousands of subscriptions

#

@hearty patrol pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I want to use webhooks on a local site, so I try to use `stripe listen --forward-to ...` in the terminal in the documentation, but it shows me `Received invalid flags for this command: --forward-to`.
How could I do it? Why doesn't it work?

Related Event ID(s)
?

What have you already attempted?
I did `stripe listen --help` and it only shows me the `--latest` flag.

What are you working on?
I am making a wordpress site and using the `WP Stripe Checkout` plugin

#

@strong raft pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi my name is Fran, i want to setup a subscription with a usage record, the final object is to track the number of user on the system but when i increase the meter this value only persist during a period. I want to be constant and increase/decrease it during the period and I want to the customer pay as the maximum number of user registered on the period.

Related Request ID(s)
c9437507-a1d4-4fa0-92bc-02fb8933f9ed

What have you already attempted?
I tried to increase the number o user for a client and simulate to set the timer of the subscription for that client 1 month later

What are you working on?
Im working on an ERP system, the customer have diferents modules/features to buy, you can pay each module/feature monthly or yearly. All the modules/features have a usage meter + the fixed price

#

@visual obsidian pressed the πŸͺ Webhooks button in #help to ask a question:

Question
we have an integration that works fine with local listeners using stripe cli however on production with a hosted endpoint it sometimes fails

Related Event ID(s)
evt_1PO2oqJ1GzvMDWmeTONdKCoT

What have you already attempted?
so I've checked the parser & the event constructor but I couldn't find an issue regarding that

What are you working on?
seo app with recurring payments

atomic shuttleBOT
#

@shy cliff pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
paymentElement.mount('#payment-element')

Question
Is it possible to hide the new card postcode placeholder? Many of our customers mistake it for being a pre-filled input and get the invalid postal code error when trying to submit

What have you already attempted?
Looked at docs for an option to disable postcode placeholder text

#

@echo otter pressed the πŸ“‘ API button in #help to ask a question:

Question
When will the legacy Usage-based billing be phased out and deprecated? Trying to estimate the priority of migrating to the new usage based billing.

Related Request ID(s)
Not related to a request ID

What have you already attempted?
Tried looking at the docs, no specific date is provided.

#

@golden trellis pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const { error } = await stripe.confirmSetup({
elements,
clientSecret: user?.checkout?.payment?.clientSecret ?? "",
confirmParams: {
return_url: `${window.location.origin}/confirmation`,
},
});

Question
The flow works fine on every environment, but not on production, when I add my credit card i have the 3d secure that appear and even when the payment is confirmed it redirect to the home page of my app instead of the redirect url i mention

What have you already attempted?
I reallt dont know what to try or do

What are you working on?
We build a checkout flow

#

@static wraith pressed the πŸ“‘ API button in #help to ask a question:

Question
Invoicing Plus : Error finalizing a quote in live mode

Related Request ID(s)
https://docs.stripe.com/api/quotes/finalize

What have you already attempted?
Hello,

I just switched my application to production mode, and an error that I don't encounter in the test environment appears when I finalize the quote.

"Stripe Error: To use quotes in livemode with one-time prices, you'll need to upgrade to Invoicing Plus. Visit https://dashboard.stripe.com/settings/billing/automatic to upgrade."

When I visit the link provided by the error and go to "Billing plans," I see that I already have the "Billing Starter | Invoicing Plus" plan activated.

atomic shuttleBOT
#

@simple olive pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expect to have `tiers` variable to a non-null value.

What actually happened?
I have a `null` value.

Reproduction Steps
stripe prices retrieve price_1PEZIzFvrVE1j92WRK6rlEt5

Question
The doc says that the attribute `tiers` needs that `billed_scheme` has the value `tiered`. My price has this value to `tiered` but I do not get anything for the `tiers` attribute ...

atomic shuttleBOT
#

@smoky pasture pressed the πŸ“‘ API button in #help to ask a question:

Question
Getting the error:
We are sorry
There was a problem with your transaction
Received unknown parameter: name

We are sorry
There was a problem with your transaction
Missing required param: subscription_data[items].
parameter_missing - subscription_data[items]
The items field is required when the subscription_data field is used.

For details on what is required in this field see the subscription data items subsection in the API reference.

Related Request ID(s)
req_dD1cyI2qemPfDd

What have you already attempted?
making subscription

#

@rapid wedge pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I pass on the cost of stripe fees and bank fees to the payer, using stripe checkout (automatically, so that if they choose a payment method that costs more, the price will be updated accordingly)

Related Request ID(s)
None

What have you already attempted?
None

What are you working on?
Stripe checkout

atomic shuttleBOT
#

@brittle oracle pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
initPaymentSheet({
defaultBillingDetails: {
name: 'John Doe',
email: 'johndoe@gmail.com',
},
paymentIntentClientSecret: 'pk_myclientsecret',
merchantDisplayName: 'Super Company',
returnURL: 'myExpoApp://checkout',
allowsDelayedPaymentMethods: false,
customFlow: true,
})

Question
Hi, I'm using @stripe/stripe-react-native with paymentSheet. And I'm testing integration with Affirm. However, after completing the the payment the webview stays opened. I noticed it tries to open the app back calling the returnUrl, but because the screen is already opened and the browser is full screen there, there is not much user can do.
I have a listener to when that returnURL is called with the payment intent. What should I do with this?

What have you already attempted?
I tried to reload the screen but it looses the state.

What are you working on?
React native stripe using paymentsheet and accepting Affirm.

#

@obtuse quarry pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
If I needed to make a stripe rest api call from FE, that wouldn't be safe bcz of headers I think. What should I do in that case?
I need to upload a file, but I am with a apollo/nexus/hasura type backend so can't send files to backend since hasura doesn't support it.

Doc/Guide Links
https://docs.stripe.com/api/files

What are you working on?
Personal app

#

@shrewd crater pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
self.stripe.Refund.create(
payment_intent="XXXXXXXX",
amount=amount,
reason="REQUESTED_BY_CUSTOMER",
reverse_transfer=True,
expand=["charge"],
metadata={},
)

Question
We have different refunds made on our system, some of them get 100% fully refunded, but other don't return stripe's fee and our fee. How can we do to fully refund every time the whole amount?
The payments we want to refund, are all from credit cards.

What have you already attempted?
We perform some refunds with one workflow, and with the other, but the refunded amount is not the same. We don't know which is the difference on the creation of the payment that refunds 100% of the amount.

What are you working on?
I am comparing logs on Stripe dashboard to detect the difference.

#

@jade ermine pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Stripe::Checkout::Session.create(....

Question
I have tried inclusive tax as described, and exclusive. The exclusive one adds 20% on top the product price. So in my case 70 + 70*20% = 70€ + 14€ = 84€

What have you already attempted?
I have tried inclusive tax as described, and exclusive. The exclusive one adds 20% on top the product price. So in my case 70 + 70*20% = 70€ + 14€ = 84€

#

@viscid haven pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I specify the version in stripe.net to a specific api version and make it so stripe uses that?

I am currently trying this error "Something failed Stripe.StripeException: Received event with API version 2023-10-16, but Stripe.net 44.9.0 expects API version 2024-04-10. We recommend that you create a Webho
okEndpoint with this API version. " I am using test modus

Related Request ID(s)
None

What have you already attempted?
I looked at the documentation

#

@turbid cedar pressed the πŸ“‘ API button in #help to ask a question:

Question
Error while creating a backdated subscription

Related Request ID(s)
{'customer': 'cus_QEdhqff32Q2Ng8', 'items': [{'price': 'price_1P9BcTI5vSu94Gk8ouNsYuCd', 'quantity': 1}], 'coupon': None, 'cancel_at_period_end': False, 'proration_behavior': 'none', 'backdate_start_d

What have you already attempted?
2024-06-05 03:22:09,615 - stripe - INFO - error_code=None error_message='billing_cycle_anchor cannot be later than next natural billing date (1720149729) for plan' error_param=billing_cycle_anchor error_type=invalid_request_error message='Stripe API error received'

atomic shuttleBOT
atomic shuttleBOT
#

@untold pagoda pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We're using Mobile Payment Element on the checkout page and integrated with Link. But I didn't see the check box to "Save your info for secure 1-click checkout with Link". What should I do or am I missing something?

Doc/Guide Links
https://docs.stripe.com/payments/link/mobile-payment-element-link

What are you working on?
We're building the checkout solution for our react native app and are using latest version of @stripe/stripe-react-native

#

@obsidian crystal pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
docs.stripe.com/payment-links/buy-button

Question
Is there a doc or guide for a Stripe embeddable widget that accepts payment information? Looking for a low or no-code solution. I'm hoping for a widget that returns a token of the payment information so we can save it in our db

What have you already attempted?
I saw there were nocode solutions available but I can't tell if there is a solution available that does NOT redirect to a new web page? Is there a way to enter payment info and get a token in return without being redirected?

atomic shuttleBOT
#

@green hemlock pressed the ❌ An Error button in #help to ask a question:

Error Message
Error while communicating with one of our backends. Sorry about that! We have been notified of the problem. If you have any questions, we can help at https://support.stripe.com/. (this is an idempotent request which was replayed, see: https://stripe.com/docs/api/idempotent_requests)

Question
I am trying to set a person's TIN on a connected account. The TIN is Indian, not US.

What have you already attempted?
I have tried all sorts of things. My original goal was to set the foreign TIN as a part of the Person creation call but apparently `id_number_country` is not supported through the API so it always expected a US TIN. I have a thread going with support that hasn't had a response in 3 days.

Reproduction Steps

  1. Create a connected account
  2. Add a person without a TIN
  3. Go to the Stripe Dashboard
  4. Try to specify an Indian TIN for that person

What are you working on?
Automated back-office for startups

atomic shuttleBOT
#

@lavish palm pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey, I am working on a solution for a very interesting problem that i've been chatting with your support on, but they reached the limits of what they know and sent me here. I need to do a test with a partner of ours using stripe connect. I have a working session with them tomorrow to test the curl calls to see if its possible to share the token. But i have some prerequisite questions. SHould i be able to run stripe connect tests with this company if both of us are on test accounts or do i have to go through the setup of stripe connect and supply validation of company?

Related Request ID(s)
NA

What have you already attempted?
Its been all theory so far and approaching tests but i need some clarification so i can speed this along with our live session. Could really use your expertise to answer a couple questions

What are you working on?
Sharing our partners customers payment method so that they can purchase services on our platform which requires a payment. Sharing the token via stripe connect is ideal.

atomic shuttleBOT
#

@frank igloo pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
html:
<div id="payment-element" class="dark-mode">
<!-- Stripe.js injects the Payment Element -->
</div>
js:
const style = {
...
};
const paymentElementOptions = {
style: style,
layout: {
theme: 'night',
type: 'accordion',
defaultCollapsed: false,
radios: false
}
};
const paymentElement = elements.create("payment", paymentElementOptions);
paymentElement.mount("#payment-element");

Question
it's still in light mode basic, the other customization methods work for us, as well as the whole integration, only this is not working, what are we doing wrong / what could it be?

What have you already attempted?
https://docs.stripe.com/elements/appearance-api#theme

#

@pale garden pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expect the Payment Element to display Stripe Link UI for manually passed in emails in React

What actually happened?
When manually passing in an email to the element via the `defaultValues` prop, the Stripe Link UI only appears if the email already has a Link account associated with it. If no account is associated, the Payment Element renders as default with no Link UI or ability to sign the user up

Reproduction Steps

  1. Collect user email
  2. Pass email to Payment Element via defaultValues.billingDetails.email
    3.1 See Link UI in Payment Element if the email is associated with an account
    3.2 Do not see any Link UI if the email is not associated with an account already

Question
I am integrating Stripe Link into my checkout experience via the Payment Element in React. Following the available documentation, I have attempted to pass in my customer emails via the `defaultValues` option on the element. The issue is that if I pass an email that does not already have a stripe link account associated with it, no link UI appears on the element at all

What are you working on?
Integrating Stripe Link into my checkout experience

atomic shuttleBOT
#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
I created a test dispute on strip test mode with stripe's test card. I submitted test (blank pdf) evidence to it. Does that notify card network or have stripe ban me or something? I submitted like 10 of them to get used to it.

Related Request ID(s)
none

What have you already attempted?
To read the docs.

What are you working on?
Personal app

atomic shuttleBOT
#

@dusk cosmos pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Unable to receive webhook events from Stripe test mode to Salesforce Sandbox . Its happening for all events

Related Event ID(s)
evt_3PO6iZHVMpTnQVII1XwBR6EZ

What have you already attempted?
Upgraded the Stripe package. We have Salesforce to Stripe connection. When I make a payment, Payment is being recorded in Salesforce successfully but we are not able to see webhook events in Salesforce. In Stripe we see the logs as 'Pending webhook response'. This is in test mode. This is happening after the Salesforce sandbox refresh. This did work before refresh.

What are you working on?
Receive Stripe events to Salesforce and post Customer information on Payment Information in Stripe.

#

@dry tangle pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hey there! I generate Stripe checkouts through an endpoint, so that the frontend can redirect users to this new checkout URL that has metadata injected. Our products recur at a monthly cadence. I expose a cancellation endpoint that programmatically gets the subscription to end at the end of its period. From this endpoint ,it seems clear that these subscriptions don't have an associated "Subscription Schedule." However, I only see subscription schedule related events - what events can I look at to handle renewals / cancellations?

Related Event ID(s)
N/A

What have you already attempted?
I've looked through the documentation.

What are you working on?
A platform with a monthly subscription fee.

atomic shuttleBOT
#

@unreal shadow 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=js#handling-failures

Question
Assuming the card collection worked, and processPayment doesn't return a card_decline error.

If the result of the `processPayment` comes back with the PaymentIntent as nil, how do we re-request the PaymentIntent object from the SDK to get the correct status?

Do we use the `processPayment` method?

What have you already attempted?
Haven't attempted, it is hard to force this error to see the correct behavior in the ADK.

What are you working on?
Terminal Errors that causes users to accidently double charge.

#

@burnt dagger 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/trials

Question
Hello, I created some subscriptions and I wanted to give the user a chance to try it for free for a while then start charging the subscription as usual.

It seems when you include `trial_period_days` to the `stripe.client.subscriptions.create` method, no `client_secret` is returned.

What I want to do is show the user a form so we collect their payment details using stripe so that as soon as the trial period is over, we already have the payment method and can start charging them.

Can I force the `stripe.client.subscriptions.create` method to return a `client_secret`?

What have you already attempted?
As soon as I add the `trial_period_days` parameter, the client_secret is not returned.

And I need the client_secret to collect the users payment method

atomic shuttleBOT
#

@supple eagle pressed the πŸͺ Webhooks button in #help to ask a question:

Question
why trail subscription did not turn to normal subscription at the end of trial period?

Related Event ID(s)
evt_1PODHdDwT5gdvn7nSYEqCsce

What have you already attempted?
We have canceled a license manually to solve issue.

#

@tropic wyvern pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am working on applying the commission to a transaction payout. Then leverage that commission to credit the platform account. However, in the course of development, I ran into a problem. Considering that stripe only accepts whole numbers for the amount of money ( to deal with the rounding issue), how should one deal with cases where I have more than 3 decimal places as commission? For example, in my case an Argentine account would have 763718 ( value represented as a whole number) Applying a commission of 0.25% I would have as value 1909.295. How should this be done? By rolling up to the second decimal number?

Doc/Guide Links
https://docs.stripe.com/api/charges

What are you working on?
Application of commission on transaction payout

#

@vital badger pressed the πŸ“‘ API button in #help to ask a question:

Question
I need the following to Conect Bubble: Live Client ID, Live Secret Key, Live Publishable Key, Client ID-Dev, Secret Key Dev, Publishable key dev. Can you help me get those?

Related Request ID(s)
none

What have you already attempted?
Followed help articles no help, also went to chat support who brushed me off...

What are you working on?
Connecting Bubble.io to Stripe

atomic shuttleBOT
#

@static wraith pressed the πŸ“‘ API button in #help to ask a question:

Question
I have an application that uses the Stripe Connect account system. My application allows the Stripe Connect account to have a client billing system. Initially, we create a quote (draft state), which can be finalized to create an invoice.

However, an error in live mode is returned: 'To use quotes in livemode with one-time prices, you'll need to upgrade to Invoicing Plus. Visit https://dashboard.stripe.com/settings/billing/automatic to upgrade.'

Related Request ID(s)
Account Connected

What have you already attempted?
Read the doc

atomic shuttleBOT
#

@timid glen pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
A prorated invoice for when a customer moves from a freemium plan to a paid plan

What actually happened?
The billing cycle changed to be monthly as of the date of the upgrade rather than stay the 1st of each month

Reproduction Steps
Have a $0 product, update subscription to drop the $0 product and add any paid product, prorate the charges to be paid immediately

Question
How could I get an accurate proration on an invoice preview? I still want my customer to pay the remainder of this month but also stay on a cycle for the first of each month

What are you working on?
billing microservice

#

@tropic wyvern pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How can I apply the commission every time a connected account makes a payout? I need to apply this commission in relation to the business model of the project I am working on. I had thought of running the charges function after manually calculating the commission, but I get the warning that this cannot be done for accounts that are not in the same region as the platform (in my case I am operating with Argentinean accounts and with the platform located in the USA).

Doc/Guide Links
https://docs.stripe.com/connect/account-debits

What are you working on?
How to apply the commission on payout?

#

@mental owl pressed the πŸ“‘ API button in #help to ask a question:

Question
Apple Pay deferred payment requests

Related Request ID(s)
n/a

What have you already attempted?
We're trying to set up a system where users get charged off session for a payment they authorize. We've set it up with cards and setup intents and it works super well!

However, when we want to set up the same thing with Apple Pay, how does it work practically?

#

@upbeat moon pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to change a connected account phone number using the API?

Related Request ID(s)
no request

What have you already attempted?
We have been updating these in the dashboard manually

#

@glad dust pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I retrieve the Stripe fee from a payment intent. Previously I have been using
```
let paymentIntent = await stripe.paymentIntents.retrieve(paymentIntentSucceeded.id,
{
expand: ['latest_charge.balance_transaction'],
}
)
```
but that no longer works as paymentIntent.latest_charge.balance_transaction is undefined so I think the stripe api might have changed. How would I retrieve the info now.

Related Request ID(s)
pi_3POT84L4aagLZB8p00io0sCw

What have you already attempted?
n/a

#

@jade acorn pressed the πŸ“‘ API button in #help to ask a question:

Question
If I needed to handle recurring payments manually via Payment Intents (without Subscriptions) and rolled my own service to handle the recurring charges, am I losing anything beyond the simplicity of the Subscriptions API? This would, of course, mean Payment Intents are created off session and captured via our system rather than Stripe and I just want to ensure this wont adversely impact our ability to collect payments over the course of a subscription.

Related Request ID(s)
----

What have you already attempted?
We are already using Subscriptions. It seems the answer to my question is that it is no problem from what I've read here: https://docs.stripe.com/recurring-payments. I just want to ensure that this type of use case isn't going to cause issues beyond increased complexity.

What are you working on?
Complex subscriptions.

#

@stark bay pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have two questions:
1 - I have three stores on Shopify, how can I connect a single business account on Stripe to all of these three Shopify stores, where each store works with a different niche of products.
2 - Can I connect the same account that I open in one store on the Shopify platform, the other store on the WooCommerce platform and the third and last store on Wix platform?

Doc/Guide Links
www.ibestnow.com (Shopify store)

What are you working on?
Sales on Shopify, Woocommerce and Wix

atomic shuttleBOT
#

@brazen forge pressed the ❌ An Error button in #help to ask a question:

Error Message
payment_intent_unexpected_state
This PaymentIntent could not be captured because it has already been captured.

Question
This is the first time this has happened before. Unsure why it's triggering multiple attempts to capture a payment intent.

What have you already attempted?
Already tried looking through Stripe logs but not getting much info from them. Found the logs on Vercel and it seems my stripe webhook events listener received 500 errors, but can't really distinguish what is causing it.

#

@green hemlock pressed the ❌ An Error button in #help to ask a question:

Error Message
The FinancialAccount (fa_1PIdJjE2sMADDAvMRC4v417X) has not requested access to `inbound_transfers.ach.same_day`. Request the inbound_transfers.ach.same_day feature through /v1/treasury/financial_accounts/fa_1PIdJjE2sMADDAvMRC4v417X/features and try again.

Question
This financial account _does_ have this feature.

What have you already attempted?
Tried requesting the feature again

atomic shuttleBOT
#

@fast spire pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to set a saved payment method of a Customer on a Checkout session?
My main reason is to avoid charging the client $1.50 (for verifying their bank account) everytime they want to pay with ACH.

Related Request ID(s)
-

What have you already attempted?
Ive seen that it is possible using PaymentIntents but I want to know if its possible on a Checkout session.

atomic shuttleBOT
#

@edgy igloo pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Implementing custom webhook inside zapier

Related Event ID(s)
d

What have you already attempted?
im getting error code 400 so im pretty sure im doing something wrong with the authorization part of this or maybe not including something in the "body"

What are you working on?
Zapier automation

atomic shuttleBOT
#

@dark robin pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
That stripe fee against the transaction would be 3.2 against 100

What actually happened?
$3.80 was deducted from stripe instead of $3.2

Reproduction Steps
Just make card payment in stripe test mode. I am using a Austrailian based stripe account.

Question
I was under the impression that stripe calculates its fee using this formula: 2.9 + 0.30

What are you working on?
Working on collecting stripe payments from customers.

atomic shuttleBOT
#

@cloud linden pressed the πŸ“‘ API button in #help to ask a question:

Question
I am creating a app with functionalty of stripe connected accounts, i want to add multiple external payout accounts of connected accounts, if i do it from dashboard it works but not with manage external accounts api please help me out

Related Request ID(s)
NA

What have you already attempted?
i tried by following document -
https://docs.stripe.com/connect/payouts-bank-accounts?bank-account-collection-integration=direct-api&bank-account-collection-method=financial-connections&shell=true&api=true#create-a-setup-intent

#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I get currency rates from Stripe?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Doing rates log and conversion

#

@opal cliff pressed the πŸ“‘ API button in #help to ask a question:

Question
starling card details not working in stripe ?

Related Request ID(s)
NOID

What have you already attempted?
starling card details saved

atomic shuttleBOT
#

@foggy wing pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Where I can get list of possible stripe subscription statuses

Related Event ID(s)
none

What have you already attempted?
I have only active or nothing in database

What are you working on?
I'm making filter on customer cms, to filter active and other statuses.

atomic shuttleBOT
#

@cold dragon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
While connecting to stripe standard connect account. I shows the screen with pre filled texts which I will attach later

Question
Is there any way to update those texts?

What have you already attempted?
I have tried few google seach which show me how to customize the user experience after onboarding success

atomic shuttleBOT
#

@topaz vortex pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const checkoutSession = await stripe.checkout.sessions.create({
mode: "subscription",
customer: customerId,
payment_method_types: ["card"],
line_items: [
{
price: priceId,
quantity: 1,
},
],
success_url: getStripeUrls().successUrl,
cancel_url: getStripeUrls().cancelUrl,
metadata: {
user_email: userEmail,
},
subscription_data: {...},
}

Question
I am integrating Stripe payments with NextJS and the given code is on a backend api route for creating a checkout session.

I am making a stripe customer id when user creates an account and passing it in the code. Although, when the user makes the payment, there are 2 different stripe customer ids being shown in the dashboard. I've added the customer field in the create method though. Why?

What have you already attempted?
I went through https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer as well as Stripe's reddit. They mention having the customer field which I've already added yet this is still happening

What are you working on?
I'm working on creating an all-in-one workspace tools suite for businesses

#

@brisk nymph pressed the πŸ“‘ API button in #help to ask a question:

Question
How to update active schedule subscription via api

Related Request ID(s)
req_eiTSG0SJmxyWOi

What have you already attempted?
N/A

atomic shuttleBOT
#

@sweet elbow pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, thanks for the previous help worked great!! I'm not trying I hope the last part of the complex code. I need to create a subscription with a trial and anchor date for fixed billing date BUT the client only wants to start on the 20th of this month. So breakdown:
- today is 6.6.2024
- client wants to start 21.6.2024
- has trial from 21.6.2024 to 20.7.2024
- anchor for billing is 15th of each month

Questions (and I will add an image in the follow on chat)

  1. the trial is still active the 15.7.2024 so cannot start billing or do I start it 15.8 and prorate from 21.7 to 15.8?

Related Request ID(s)
No id

What have you already attempted?
I can do but only if the client starts the trial immediately - not sure how I can "forward date" the start date. Don't need a schedule as the cycles are all the same?

What are you working on?
Saas billing platform for yoga studio

#

@rich valley pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
In the stripe documentation Payment Sheet component for react native looks different compared to what I have on my local dev environment. Am I missing anything?

What actually happened?
UI of Payment Sheet is different

Reproduction Steps
I'll try to attach an image

Question
What should I do in order to have the same Payment Sheet element in my app

atomic shuttleBOT
#

@dusk falcon pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
generated invoice in USD looks correct and doesnt use a new line for credit

What actually happened?
usd invoice item has new line which looks weird

Reproduction Steps
check in_1POHBVCrrVPAjQHJFykj0ILb

Question
why does it look so weird? its not in EUR

atomic shuttleBOT
#

@sweet elbow pressed the πŸ“‘ API button in #help to ask a question:

Question
Me again :-)

I have now created a future start date subscription using schedules but cannot see how I can test it using simulation?

Related Request ID(s)
sub_sched_1POblPQeTVnMyqsfA0JUJnv2

What have you already attempted?
created a test clock via API but cannot see how I assign the client or scheduled subscription to it

atomic shuttleBOT
#

@fierce gust pressed the ❌ An Error button in #help to ask a question:

Error Message
No valid payment method types for this configuration. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) and that the `amount` (1589) is not lower than the `currency` (pln) minimum: https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts."

Question
We are facing this error while trying to use BLIK with deferred payments integration.

What have you already attempted?
Enabled and configured BLIK in the dashboard

Reproduction Steps
Enable BLIK
Try to use it in a deferred payment integration

What are you working on?
Checkout integration e-commerce shop

#

@ornate oyster pressed the πŸ“‘ API button in #help to ask a question:

Question
I am calling create connect account stripe api. I wanted to know somethings related to it.

- If I will pass email which already have connect account associated with it ? it will create another account ? will throw error ? or return account which has been created already ?

- If I do pass new email to create connect account api and while onboarding add an email which already have a stripe connect account then what will happen ?

Related Request ID(s)
acct_1OAeaRCwhZJHjP6K

What have you already attempted?
We are using create connect account api to create account and onboarding them.

What are you working on?
web application

#

@rancid sedge pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I want to change the price to an amount other than zero without creating an invoice and without triggering a webhook. How can I do that?

https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#handling-zero-amount-prices-and-quantities

Related Event ID(s)
nothing

What have you already attempted?
I created a subscription item under the following conditions:

- "billing_scheme": "tiered"
- "tiers": [
{
"amount": 0,
"flat_amount": 0,
"flat_amount_decimal": "0",
"unit_amount_decimal": "0",
"up_to": 1
},
{
"amount": 0,
"flat_amount": 1,
"flat_amount_decimal": "1",
"unit_amount_decimal": "0",
"up_to": null
}
],
- "usage_type": "metered"

atomic shuttleBOT
#

@opal bramble pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello,

I have a problem with the answer I send back to the webhook.

I made sure to send back to the webhook an error message as well as the status code , but only the status code is displayed in the Webhook β€œworkbench” dashboard.

/////////////////////////////////
Delivery attempt
June 6, 2024, 11:54:09 am
400
Response body
Response headers
No data
The endpoint did not respond with a body attached to the response.
/////////////////////////////////

here is my code (Nextjs route handler) :

return NextResponse.json({message: β€œCheckout error no userID”}, { status: 400 });

I tried to format

Related Event ID(s)
evt_1POd1IF2OA4giRg0zwTsujT9

What have you already attempted?
try to format my response diifferently

What are you working on?
AI image gen APP

#

@visual obsidian pressed the ❌ An Error button in #help to ask a question:

Error Message
Caught unhandled rejection at: Promise {
<rejected> StripeSignatureVerificationError: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signi

Question
is stripe's construct event really synchronous ?

What have you already attempted?
troubleshooting the entire flow

#

@ornate bough pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using Check Out Session to subscription. I am having product of only monthly and Yearly. In My case If monthly plan is in active state and tries to yearly subscription this should start after monthly plan completion. Does this work in checkout.

Related Request ID(s)
req_lrrU0ggBx5aYOS?t=1710501275

What have you already attempted?
I am expecting to give start date for price. Does it work in check out session

What are you working on?
I am using Check Out Session to subscription. I am having product of only monthly and Yearly. In My case If monthly plan is in active state and tries to yearly subscription this should start afte mont

#

@vale wing pressed the πŸ“‘ API button in #help to ask a question:

Question
When I'm updating my invoice transfer_data, it's appearing as a percentage, so for example, if I want to update the amount to be Β£100 and send

transfer_data[amount] = 10000
transfer_data[destination] = "acc_xxxxxxxx"

It's showing in the Stripe dashboard as a transfer percentage, why is this? It's causing me a lot of trouble.

Related Request ID(s)
in_1POdUXIzvUgZFm3P21e4gKIx

What have you already attempted?
N/a

What are you working on?
A vehicle repair network.

#

@late lagoon pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi there, in the Stripe Account you can process a payment via the Payment page. When you see the Payment Details there is a "Source" field that says "Manually entered from Dashboard".

If you retrieve the Charge or Payment Intent, there is no mention of the Source.

Is there way to identify if a Payment has been processed via the Payment Page?

Thanks

Related Request ID(s)
N/A

What have you already attempted?
When querying the "Charge" or "PaymentIntent" the "source" field is null.

What are you working on?
Syncing data from Stripe.

atomic shuttleBOT
#

@magic matrix pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
return this.stripe.elements({
// https://docs.stripe.com/elements/appearance-api
appearance: {},
locale: this.$i18n.locale || 'en',
mode: 'payment',
payment_method_types: ['card'],
currency: this.fiatCurrency.toLowerCase(),
amount: 100, // Default data to render element, overridden by backend
})

Question
Can I remove country field from payment element? Or if I can put in from code?

What have you already attempted?
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements

What are you working on?
Financial application

#

@rose nest pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, currently on our solution we are using flow:
- select the product
- apply promo code
- the on server we are creating subscritpion
- we are using clientSecre and we are presenting all data to the user (including prices, tax)

But we would like to change this to
- user will select produt & apply promo code & provide cc information (with Stripe Element without client secret -> you are providing such an option)
- then we will be creating subscritpion on server side and provide clientSecret to be submit on client side.
Q: Is there an option to calculate price and tax with this info without sub?

Related Request ID(s)
req_BZIQdMJKNTJ5GB

What have you already attempted?
Read https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment&lang=dotnet

atomic shuttleBOT
#

@fathom marsh pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi there,

I'm just integrating paypal into my PaymentElement implementation, but I couldn't find any information about whether the paypal payment method will return zipcode and country information for users checking out. The PaymentElement does hide the zipcode and country boxes, so I'm assuming it works similar to Google and Apple pay, but it's hard to verify since in test mode, I'm not getting a zip code back and the country is always set to FR.

Is anyone able to verify the behaviour? Do I need an address element to collect billing information.

Thanks!

Related Request ID(s)
req_zunHhcXru0hOFR

What have you already attempted?
I've been through the paypal documentation on the Stripe site, but I can't find much information about how this links to billing_details and associated information.

I've been testing the paypal integration out in my development environment, but as stated the paypal integration is always a fixed payload which I'm not sure what is constant between test / live.

atomic shuttleBOT
#

@unique cedar pressed the πŸ“‘ API button in #help to ask a question:

Question
Promo codes are initially created as inactive, even though we send `active: true` in the API request, and set to active some minutes later. Can you please help me to understand why/how?

Related Request ID(s)
req_SgfSYFVLUt5Uoz

What have you already attempted?
- Checked all requests we sent to create the coupon (integration tests)
- Checked changelog to see if a breaking change got released

What are you working on?
Integration tests between our API and Stripe.

#

@tulip belfry pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
```py
session = stripe.checkout.Session.create(
line_items=[
{
....
}
],
mode="payment",
success_url="http://localhost:8000/success/",
cancel_url="http://localhost:8000/cancel/",
)
payment_user = sample_payment(
borrowing=self.borrowing_1,
session_url=session.url,
session_id=session.id,
money_to_pay=self.borrowing_1.book.daily_fee
)
session.payment_status = "paid"
session.save()

Question
I am trying to change value of attribute – payment_status = β€œpaid” for session object inside my test function. error message is - return super(StripeObject, self).__getitem__(k)
KeyError: 'save'. supposedly stripe object doesn’t support save() method (It’s my assumption, I am not 100% sure). So how can I save changes in Stripe object not calling save() method?

What have you already attempted?
I have just tried not to use this method (save), but it didn’t help.

What are you working on?
This is my project regarding Library borrowing system, and Stripe is integrated in it for payment handling purposes.

#

@smoky pasture pressed the πŸ“‘ API button in #help to ask a question:

Question
Klarna not appearing in a checkout session from connected account

Related Request ID(s)
none

What have you already attempted?
created checkout session

#

@cloud sedge pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi a colleague asked a q a little earlier and I'm on their team and have a follow-up q.
We're calling the /v1/payment_methods/ endpoint and hoping to retrieve the customer country of residence and postcode. For card payments this seems to be in the "billing_details" but for paypal you confirmed this section is blank.
Is there any other place in the payload where the country and/or postcode could be got for paypal? e.g. paypal.country or is that based on their IP address / current location for paypal rather than home address?
TL;DR: can we get a user's home country and postcode for paypal?

Related Request ID(s)
req_SGDdaMUWAUx0le

What have you already attempted?
We've used the test data checkout and inspected the response but didn't know whether the billing_details.address was always blank for paypal. We now know it is.

Also the paypal.country field is always set to "FR" (france) in the test data and we didn't know whether this is set correctly in live data.

If set, we don't know whether it relates to the card payment method for paypal, or their registered paypal address, or just their current location via IP address.

What are you working on?
Adding paypal to an existing Stripe checkout

#

@versed swallow pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
On checkout, I expect it to be processed as it was working previously

What actually happened?
"No such price: 'price_1POf0iJ0qJiTu*****hl3YVS'"

Reproduction Steps
Create an order
Checkout to make payment

Question
Why is this error, the checkout session worked previously but started giving this error on the 30th of May

What are you working on?
Payment management

#

@candid crypt pressed the πŸ“‘ API button in #help to ask a question:

Question
I need to test stripe webhook of older version as production is on older version. I've created test account but it doesn't allow me to downgrade.

Related Request ID(s)
?

What have you already attempted?
Tried to downgrade

#

@toxic valve pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Connect Account for test

Question
Can I create account with my api in test mode ? I don't have company I work for one and I wanted to teste account creation

What have you already attempted?
I have my own form which works with good data but when I submit it I have errors saying that I need te configure my account connect whereas it's juste for testing

#

@reef dune pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm migrating from Stripe dotnet 39.121 to 44.10. I doubt in regards to fetching the Balance Transaction List. I used to use the AvailableOn parameter and now that was removed. I wanted to know how can I continue using that filter with the AddExtraParameter.

Related Request ID(s)
1

What have you already attempted?
Updating Stripe SDK

What are you working on?
Stripe dotnet SDK Upgrade

#

@stiff tangle pressed the πŸ“‘ API button in #help to ask a question:

Question
In what stages can you cancel an ACH direct debit?

I'm able to cancel sometimes but other times I get `You cannot cancel this PaymentIntent because the debit is being processed.`. But in both cases the `status` is `"processing"`

Related Request ID(s)
req_jDp544d12dTDmD

What have you already attempted?
POST
/v1/payment_intents/:id/cancel

#

@jade ermine pressed the ❌ An Error button in #help to ask a question:

Error Message
Question related to tax_rates applied to products within stripe checkout session (and so every invoice of the subscription).

Question
My product price is setup to using the default tax behavior. This default tax rates is "general" (20%).

I'm using an inclusive tax rates of 20%.

So if my product is 70€, I'd expect the tax to be 20% of 70€ = 14€.
But instead it's 11€67 which is not what I expect (70-11€67 = 58€33 Β  Β  Β  // Β 20%*58€33 = 11€67).
I understand the logic but this is not what I want.

What have you already attempted?
I want my product to be tax inclusive, and the tax amount calculated from this tax inclusive price.
I have tried inclusive tax as described, and exclusive. The exclusive one adds 20% on top the product price. So in my case 70 + 70*20% = Β 70€ + 14€ = 84€

#

@twin bloom pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi. Could you explain me how to test paypal integration on dev env? Sandbox user account is not working. I saw this documentation but I still don't understand how to test payment on dev env. I mean successful payment
https://docs.stripe.com/payments/paypal/accept-a-payment?web-or-mobile=web&payments-ui-type=stripe-hosted#test-integration

Related Request ID(s)
-

What have you already attempted?
I'm trying to integrate Paypal payments to my web app. Recurring payments are enabled for my account. Now I'm getting the following error when trying to create subscription on our side

{"status":400,"message":"The payment method type `paypal` 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.\

#

@fallow bridge pressed the πŸ“‘ API button in #help to ask a question:

Question
StripeInvalidRequestError:
code: 'customer_max_subscriptions'
message: 'Customer cus_PYAlxjearklw3w already has the maximum 500 current and scheduled subscriptions.'

Related Request ID(s)
cus_PYAlxjearklw3w

What have you already attempted?
We are trying to add subscriptions beyond 500, how do we handle this well and is there a way to unlock a customer for this?

What are you working on?
Customers can have potentially thousands of subscriptions

#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
How would I initiale stripe on client side react using useStripe() with pk_test?

Related Request ID(s)
none

What have you already attempted?
Not tried dont know how

What are you working on?
Personal app

atomic shuttleBOT
#

@devout minnow pressed the πŸͺ Webhooks button in #help to ask a question:

Question
We use Stripe webhooks in our codebase, but we assume that simply listening for `payment_intent.succeeded` or `setup_intent.succeeded` is sufficient. This works for card transactions. Will this also work for Pay By Bank?

Related Event ID(s)
n/a

What have you already attempted?
Nothing, we want to understand that nothing will break if we set up webhooks like this. It appears to work, but we want to make sure we're not missing anything

What are you working on?
Adding in Pay By Bank

#

@frail valley pressed the πŸ“‘ API button in #help to ask a question:

Question
i am trying to create an invoice in live mode, which will be sent to the customer to pay, but when creating its getting voided after 23 hours, so how can i make it not expire.

Related Request ID(s)
req_q63fmp5EpAFvjs

What have you already attempted?
I have tried to use send_invoice as collection_method in dev its looking good and as expected.

What are you working on?
subscriptions using invoice which will be paid before a certain period provided by us

#

@stiff kite pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I am not fully sure. I do have webhooks setup if that helps.

Question
Using stripe checkout. Would like to do two things: 1) Mod the checkout to show bank account and routing when they choose ACH 2) add convenience fee for only ACH transactions

What have you already attempted?
Not sure where to go? Do I make a new API? I am a developer but not an expert when it comes to the stripe GUI

What are you working on?
Working on Stripe Checkout

#

@meager kite pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way within Stripe to prevent someone from signing up for a subscription (to be paid in installments) with a card that will expire before the subscription is paid in full?

Related Request ID(s)
x

What have you already attempted?
x

What are you working on?
x

#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
When submitting a dispute update through the api, which properties refer to:
"Why you should win this dispute"
and
"What type of product or service is this?"

Related Request ID(s)
none

What have you already attempted?
sending through each property

atomic shuttleBOT
#

@burnt dagger pressed the ❌ An Error button in #help to ask a question:

Error Message
{type: 'invalid_request_error', code: 'setup_intent_unexpected_state', doc_url: 'https://stripe.com/docs/error-codes/setup-intent-unexpected-state', message: 'A processing error occurred.', request_log_url: 'https://dashboard.stripe.com/test/logs/req_xkF8IlPOrIWjwB?t=1717685159', …}
code
:
"setup_intent_unexpected_state"
doc_url
:
"https://stripe.com/docs/error-code

Question
As seen in this thread;
https://discord.com/channels/841573134531821608/1248008775374213227

I am trying to force the `stripe.client.subscriptions.create` method to return a `client_secret`?...

Following the instructions keeps throwing the error_code: "setup_intent_unexpected_state"

What have you already attempted?
I followed the instructions and tried to use the `client_secret` to confirm the SetupIntent (via confirmSetup() ) but that keeps failing.

I'd attach a screenshot of the issue.

Please help

#

@ivory wedge pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Querying for balances and transactions on behalf of Stripe accounts managed via Stripe Connect integration

What have you already attempted?
The provided doc makes it seem as if this is possible, but I want to be entirely sure before we integrate with Stripe Connect.

What are you working on?
Cash positioning dashboard. Some of our customers have Stripe accounts and want to see balances/transactions alongside their bank accounts.

#

@wanton siren pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I have a problem where I am issuing the user a card with lets say $500 usd, if I try to make a test purchase I get a 'insufficient funds' error.

What actually happened?
he test purchase gets declined with an "insufficient funds" error. The webhook logs show a successful response (HTTP 200), but the authorization still fails due to insufficient funds.

Reproduction Steps
-Issue a virtual card with an initial balance of $500 USD.
-Attempt a test purchase using the issued card for an amount less than $500 USD.
-Observe the response from the Stripe webhook and the decline message indicating "insufficient funds".

Question
Why is the test purchase getting declined with an "insufficient funds" error even though the card has enough funds available?

What are you working on?
Developing SplitPay feature for issuing virtual cards.

atomic shuttleBOT
#

@fresh ingot pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
import {ExpressCheckoutElement } from '@stripe/react-stripe-js';

<ExpressCheckoutElement
options={{
paymentMethods: { applePay: 'always', googlePay: 'never' },
buttonHeight: 48,
buttonType: {
applePay: 'buy',
}
}}

Question
Now in express checkout, `wallets` option is deprecated and used `paymentMethods` instead. But when I use `ExpressCheckoutElement` component from `@stripe/react-stripe-js`, i got an error ->

```
Type '{ paymentMethods: { ... }; }' is not assignable to type 'StripeExpressCheckoutElementOptions'. Object literal may only specify known properties, and 'paymentMethods' does not exist in type 'StripeExpressCheckoutElementOptions'.
```

What have you already attempted?
I use latest versions of both libraries.
@stripe/stripe-js: 3.5.0
@stripe/react-stripe-js: 2.7.1

What's the problem? React components not updated yet?

atomic shuttleBOT
#

@night hound pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/quickstart?locale=en-GB

Question
Using visual studio in output:
Initiating server activation
Request to kill LSP server.
Cannot kill: current process is None
Launching Oracle Java SE Language Server with default system JDK and userdir c:\Users\remoteFX\AppData\Roaming\Code\User\workspaceStorage\a8abd8378506296ecc3c60ef56d45476\Oracle.oracle-java
LSP server launching: 18652
LSP server user directory: c:\Users\remoteFX\AppData\Roaming\Code\User\workspaceStorage\a8abd8378506296ecc3c60ef56d45476\Oracle.oracle-java
Cannot run on older versions of Java than Java 11.
Please install Java 11 or newer or use --jdkhome
switch to point t

What have you already attempted?
too many things
It doesn't work
I need help I don't even know where to ask
Is there a thread for newbies on stripe

What are you working on?
payment for my website

#

@tawdry zealot pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is there a bulk action or way to upgrade subscriptions that doesn't require code work? I thought I saw an option on a page to add in cus_id's and set up phases in bulk. Does that exist, or is it only available to do on an individual basis if not done via code?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules

What are you working on?
Upgrading subscription pricing for existing merchants on old/outdated plans

#

@severe fox pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
app.post('/crear-setup-intent', async (req, res) => {
const { customerId, connectedAccountId } = req.body;

try {
const setupIntent = await stripe.setupIntents.create({
customer: customerId,
payment_method_types: ['card'],
}, {
stripeAccount: connectedAccountId,
});

console.log\('SetupIntent creado\:', setupIntent\);

res.status\(200\).send\({ clientSecret\: setupIntent.client\_secret }\);

} catch (error) {
console.error('Error al crear

Question
Subject: Issue with Attaching Payment Methods to Connected Accounts

Hi Stripe Support Team,

I am experiencing an issue when trying to attach payment methods to connected accounts in my application. Here is the workflow and the error I am encountering:

What have you already attempted?
Workflow
Creating a SetupIntent:
On the backend, I am creating a SetupIntent associated with a customer in a connected account.

Confirming the Payment Method on the Frontend:
On the frontend, I use the client_secret provided to confirm the payment method.

Problem
Although the SetupIntent appears to be created successfully on the backend, I receive the following error when attempting to confirm the payment method:

#

@meager kite pressed the πŸ“‘ API button in #help to ask a question:

Question
Question Is there a way within Stripe to prevent someone from signing up for a subscription (to be paid in installments) with a card that will expire before the subscription is paid in full?

Yeah I recommend not doing this, but if you really want you could build a two-step confirmation experience: https://docs.stripe.com/payments/build-a-two-step-confirmation

Add an optional review page or run validations after a user enters their payment details.
That way you can check the expiration date on the confirmation token
https://docs.stripe.com/api/confirmation_tokens/object#confirmation_token_obj

Related Request ID(s)
x

What have you already attempted?
x

What are you working on?
Why would you guys not recommend utilizing this? What im trying to do here, is that i will be charging my members for a subscription (think installments) and i dont want their card to expire before

#

@astral vault pressed the ❌ An Error button in #help to ask a question:

Error Message
Made payment with wrong card

Question
can I cancel the payment and use a different card?

What have you already attempted?
I contacted WPS which referred me here

atomic shuttleBOT
#

@astral vault pressed the ❌ An Error button in #help to ask a question:

Error Message
need help with pending payment

Question
I used wrong card need to cancel PENDING payment

What have you already attempted?
calling WPS twice and contacting you once

#

@pastel ridge pressed the πŸ“‘ API button in #help to ask a question:

Question
When creating an Express account via Stripe-hosted onboarding in Test mode, the resulting account appears not to have an associated email address, nor does there appear to be a way to suply it during onboarding. Are we doing something wrong, or is there a way to supply it?

Related Request ID(s)
req_yNycbK9j3EfpoQ

What have you already attempted?
We have attempted onboarding in Test mode but it appears that Test mode does not collect an email address; there is a grayed-out input field for the email address.

What are you working on?
We are attempting to develop a feature that reads the email associated with the account, subsequent to redirection to our webapp after Stripe onboarding, and are having trouble testing the feature.

#

@spring lantern pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hey, so with application_fee_amount on Connect accounts, when I get a payment intent succeeded, is the amount there the one that will be paid out to the Connect account?

Related Event ID(s)
None

What have you already attempted?
Nothing

#

@carmine lintel pressed the ❌ An Error button in #help to ask a question:

Error Message
You need to set your origin address before you can manage tax registrations.

Question
Where do I set the origin address? This is for account `acct_1POiU8Gb002lZSTz`. I only need it for testing purposes. It has a business address already submitted.

What have you already attempted?
I have entered the business address in settings.

Reproduction Steps
I created a connected account and linked it (standard). I am attempting to create a tax registration using the API on behalf of the connected account.

What are you working on?
I am attempting to create a tax registration using the API on behalf of the connected account.

#

@autumn cobalt pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
What is the best way to support multiple "Test" modes with the same stripe account? We have DEV, UAT, and PROD environments that we would like to use with the same stripe account if possible.

Doc/Guide Links
Haven't found anything online regarding this.

What are you working on?
Currently implementing Payments, Connected Accounts, and Payouts through stripe API

atomic shuttleBOT
#

@misty crown pressed the πŸ“‘ API button in #help to ask a question:

Question
Why the customer keeps authorizing its bank when it is already registered before.

Related Request ID(s)
NA

What have you already attempted?
I tried to set the default_payment_method in the script but it didn't work. I checked the list of payment methods for that customer and I found a lot of duplicate payment method.

The payment method is already registered before but the customer keeps connecting his bank to Stripe..

#

@tawny spoke pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Can we create a wallet type payment method in Stripe. for example with ChatGPT, we load with with credits (dollars) in the wallet and based on usage, the credits are decreased automatically. What is the best possible way to implement this?

Doc/Guide Links
https://docs.google.com/document/d/1r9VXXDz1groojyL60J8BE313sZuDxD5F_TLaPvVxB4A/edit?usp=drivesdk

What are you working on?
We are trying to build a credits based payment system on our Product.

#

@sinful iron pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to generate payment link via payment intent with multi payment method and send email. because i want to not create product. is it can do?

Related Request ID(s)
-

What have you already attempted?
this is my code

  const paymentIntent\: Stripe.PaymentIntent =
    await StripeClient.stripe.paymentIntents.create\({
      amount\: amount, // usd cents
      currency\: 'thb',
      customer\: customer.id,

      receipt\_email\: receiptEmail,
    }\);
#

@uneven oasis 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/quantities

Question
Hello guys,
I have a website with multiple type of plans. Depending of the kind of plan the price change.

Let's say:
- Plan 1: 100€
- Plan 2 ; 200€

I'm using : `stripe.checkout.sessions.create` (in node)

I would like the user to be able to select a quantity of months in advance.

Ex: He wants to pay for 6 months in advance, so he selects 6, and after the 6th month, the subscription is taken every month.

What have you already attempted?
I tried to add the "quantity" field, but it just add more "subscription" quantity, not "month" quantity.

Ex: If the user select 2, he will pay 2 plan every months

What are you working on?
Website selling service with monthly plans.

#

@spring lantern pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hey, I've been trying to figure out the amount the user can payout after my fees, and stripe fees, wondering why net in balance transition, but when i go to available balance it says 1803, instead of 1918 which is what the net. Where is 1803 from?

Related Event ID(s)
pi_3POk86L91b2XHS3A1nl6RpVF

What have you already attempted?
Described above

#

@tiny wind pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a customer reporting that they have to keep manually verifying their back account with microdeposits on each payment they make. It seems Stripe is not remembering it. Why won't it stick?

Related Request ID(s)
req_uihbYIB657GQUH

What have you already attempted?
https://docs.stripe.com/payments/ach-debit/set-up-payment?platform=web&payment-ui=stripe-hosted

We use the prebuilt checkout page. We generate the checkout session link by creating a PaymentIntent with the Customer supplied along with the payment method. It has a mode of payment.

What are you working on?
We already have a working page. It just seems the checkout session link we generate isn't remembering that the customer has already verified microdeposits (on multiple payments)

#

@vivid burrow pressed the πŸ“‘ API button in #help to ask a question:

Question
I am adding and subtracting credit with createBalanceTransaction and I am experiencing behavior not what I'd expect, can you help me understand this endpoint?

Related Request ID(s)
na

What have you already attempted?
Adding negative number req_CwKQmC2bBCHET7, then adding positive number of same amount req_Me19dFc3j7taIc and the result is not zero.

What are you working on?
crediting users and adjusting incorrectly given credit

#

@proud lily pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected the customer to NOT be counted towards churn.

What actually happened?
The customer is counted towards churn.

Reproduction Steps
create a subscription for customer. Have the subscription be active.
Invoke this: evt_1P9bykDyFtOu3ZuTLkqtrMld

Question
It says on "recently churned customers" that this person is on that list. I didn't expect this because this is someone who is going onto a trial because we changed their subscription renewal date.

What are you working on?
Payment Systems for E-Commerce

#

@fossil kite pressed the πŸ“‘ API button in #help to ask a question:

Question
If I create an incomplete paymentIntent can I confirm it months later? will it expire?

Related Request ID(s)
none

What have you already attempted?
creating incomplete paymentIntents and confirming them after successfully

#

@twin thicket pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected a legacy ACH payment method that originally failed to be charged because of the lack of mandate, to once again fail when "Retry" was clicked in the dashboard. This is a follow-up to this thread: https://discord.com/channels/841573134531821608/1247220993055916033

What actually happened?
Legacy ACH payment method that originally failed to be charged because of the lack of mandate, was charged after a couple of days when "Retry" was clicked in the Dashboard

Reproduction Steps

  1. Have a legacy ACH payment method with no mandate
  2. Create a subscription to be paid with this payment method
  3. Payment fails, allegedly because the lack of mandate
  4. Click "Retry" in the dashboard
  5. After a few days the charge completed, it is successful

Question
Why was a legacy ACH payment method failed to be charged because lack of mandate, but then it was charged normally?

atomic shuttleBOT
#

@dense saddle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I need to give customers the ability to set up a recurring charge with an amount that they specify. Can the Subscription feature do this?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
A site that allows business owners to pay a recurring amount to their employees to use towards benefits. It might be $200 a month, $50 a week, or $2 per hour worked.

#

@vocal path pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I don't have code yet as I'm still researching.

Question
Concerning the `application_fee` in a Direct Charge, can it be dynamically calculated based on the amount (after Stripe fees of course) and then be passed in and set before the Charge created, or is it a fixed fee? Does Stripe offer a method to calculate the percentage to find the value of the `application_fee` or do we need to calculate ourselves in our app prior to the charge?

What have you already attempted?
I've looked over the office Stripe docs, concerning the API, Stripe Connect, Direct Charges, and some YouTube tutorials

What are you working on?
Peer-to-peer marketplace. Sellers set prices and client wants to charge a percentage based on the items sold.

atomic shuttleBOT
#

@robust vapor pressed the πŸ“‘ API button in #help to ask a question:

Question
We are getting an Stripe::InvalidRequestError - Unrecognized request URL (POST: /v1/payment_intents/) error where customer has a credit of $99 and we are charging $99 for our service which creates a zero bill. The call to stripe_invoice.pay goes through properly, but upon calling stripe_invoice.payment_intent we get a NULL value. Which in-turn creates an error when calling Stripe::PaymentIntent.update. What's the correct pattern when we create a zero bill?

Related Request ID(s)
in_1PNrMs2QIH9mxBKHUGpqqp1d

What have you already attempted?
nothing yet

What are you working on?
maintaining internal billing service

#

@restive flame pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
```
const customer = await stripe.customers.create({
name: 'Jenny Rosen',
email: 'jennyrosen@example.com',
});
```

```
Subscriptions.svelte:62 Uncaught (in promise)
TypeError: Cannot read properties of undefined (reading 'create')
```

Question
Getting an error that `stripe.customers.create` is undefined

What have you already attempted?
all various syntax forms

What are you working on?
Subscriptions

atomic shuttleBOT
#

@mortal robin pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I'm debugging an issue locally and I want to try to trigger/re-send an event to see if our issue is fixed. Using the Stripe CLI I get the message "The event 'evt_1PLxcpQ9sKzc2d5z3DMiwnaX' is not supported by the Stripe CLI." How can I trigger a payout event locally.

Related Event ID(s)
evt_1PLxcpQ9sKzc2d5z3DMiwnaX

What have you already attempted?
I have tried using the Stripe CLI. In our not testing Stripe account, we can resend webhooks/events, but I don't see that as an option using the test data.

atomic shuttleBOT
#

@finite temple pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const params: Stripe.AccountCreateParams = {
country: country,
type: "express",
business_type: "individual",
capabilities: {
transfers: {
requested: true
},
card_payments: {
requested: true
},
wechat_pay_payments: {
requested: true
}
},
...

Question
I am trying to create connect accounts for my users using the `Stripe.AccountsResource.create` method. I would like to enable wechat_pay_payments for these accounts. I was told i can just set `wechat_pay_payments: { requested: true }` in the capabilities field of AccountCreateParams but it doesn't seem to be available in Stripe.AccountCreateParams.Capabilities. What am I missing?

What have you already attempted?
I have tried just adding wechat_pay_payments in the capabilities but I'm getting an error in my node server.

atomic shuttleBOT
#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi,
i have a customer created on stripe with minimal details like name and email only. i want to create a checkout session with prefilled billing address

Related Request ID(s)
NA

What have you already attempted?
i tried creating a session using
stripe.checkout.sessions
.create(
{
customer: "cus_xxxx",
currency: "usd",
billing_address_collection: "required",
mode: "setup",
success_url: "https://test.com/success",
cancel_url: "https://test.com/cancel",
},
{
idempotencyKey: uniqueKey,
}
)

but it asks me to enter address

atomic shuttleBOT
#

@lunar zodiac pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there any support for creating confirmation tokens using the Stripe iOS SDK? I see support for it when using Stripe JS, but not anything for iOS.

Related Request ID(s)
N/A

What have you already attempted?
Looking at docs related to confirmation token. https://docs.stripe.com/api/confirmation_tokens

What are you working on?
Stripe integration on iOS

atomic shuttleBOT
#

@severe lance pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We offer plans that are comprised of different products. An example would be our Starter plan that consists of a monthly payment product and a metered usage product. Is it possible to support upgrades to multi-product plans like this via stripe checkout sessions or the billing portal? I see a path forward via other stripe API methods, but I would love to have the upgrade flow use the stripe pages if possible for a consistence user experience. Thanks

Doc/Guide Links
Subscribing to multiple items: https://docs.stripe.com/billing/subscriptions/multiple-products#billing-periods-with-multiple-prices

Changing subscriptions: https://docs.stripe.com/billing/subscriptions/change

What are you working on?
Billing for https://theinfluence.report

#

@rigid glen pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to change the account level invoice prefix through the API?

Related Request ID(s)
-

What have you already attempted?
I've tried searching in the official Stripe documentation (https://docs.stripe.com/invoicing/customize#account-numbering) but can't seem to find it
I've googled my question and tried asking AI assistants/

What are you working on?
I'm trying to automate my invoicing system because I work as a freelancer.

#

@lapis torrent pressed the πŸ“‘ API button in #help to ask a question:

Question
i (a platform) am trying to retrieve persons for a connect express account (/v1/accounts/[acct_id]/persons) and i'm getting an error "oauth_not_supported" which confuses me because i used the API to create this account.

why does it not allow me to retrieve persons and what do i need to do in my account to allow me to retrieve persons?

Related Request ID(s)
req_CNAEKmkAxRL7Sl

What have you already attempted?
i've noticed that i can hit the api as long as i've not hit the account_links api to request an onboarding link.

What are you working on?
a marketplace for people to list their extra space for others to rent it for storage

#

@steady widget pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
function addPaymentMethod(
paymentId
) {
const intent = await stripe.paymentIntents.create({
amount: 100,
customer: stripeCustomerId,
payment_method: paymentId,
confirmation_method: "automatic",
confirm: true,
});
if (intent.status === 'succeeded') {
const attachPay = await stripe.paymentMethods.attach(
paymentMethod.id,
{ customer: stripeCustomerId },
);
return attachPay
}

Question
In the function, "not part of the code snippet above", the customer's payment method is first being retrieved. If not found, the customer can add their card which is charged $1 to confirm authenticity (intent).

When clients add their cards no matter how many times, they get the error "This payment method was used without being attached to a customer or was detached from a customer and may not be used again".

Why is this and how does it get fixed?

What have you already attempted?
Added " setup_future_usage: 'off_session' " to "stripe.paymentIntents.create", I'm not sure this helps in any way and we do need to charge the card added in future monthly for our services.

I don't know if adding this property affects future charges.

What are you working on?
Users adding cards to platform is being tested with payment intent for authenticity.

atomic shuttleBOT
#

@crude abyss pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I added a product to a subscription when the i processed a payment e.g processed the payment on 06/10, i'm expecting the customer to start paying that the cost of the product on the next billing cycle 07/10 since i have already process a payment for that month in a separate payment intent

What actually happened?
The next invoice is charging the amount for product 1 (the original product) for the second month (07/10) and the amount for the second product but it also is changing the amount for product 2 for the month that as passed (06/10)

Reproduction Steps
the subscription Id is: sub_1POp6CAq6ReFUKV8w3j5WaPU you can reproduce this by running a update on the subscription (stripe.subscriptions.update) adding a new product (items:[{price:`priceId`}])

Question
I getting the price is prorated, is there a way to avoid this or a better way to achieve the say result.

What are you working on?
Rental property management, A subscription invoices the tenant, we receive it and transfer it to the landlords connect a

#

@dire skiff pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Accounts linked through stripe financial connections should be able to successfully refresh balance when the balance permission is granted

What actually happened?
Calling refresh for balance on a fidelity financial connection always fails

Reproduction Steps

  1. Connect fidelity account through stripe financial connections with balance permission
  2. Call the refresh balance api

Question
How do I see why this is failing for this account and can I fix it? The only message I can find is "The account balance was refreshed unsuccessfully" on the event. I am able to refetch transactions, and the balance is correctly fetched one time, at the time of linking

atomic shuttleBOT
#

@dense saddle pressed the πŸ“‘ API button in #help to ask a question:

Question
I created my first sub but the invoice that is created is 'in advance'; I'd like it to be 'in arrears'. For example in the request I sent I set the billing_cycle_anchor to June 30th, and the first invoice that has been created is for JUN 30 - JUL 30, 2024. I would like it to be for June 1 - June 30.

Related Request ID(s)
req_gXtbKBbxaFEbYm

What have you already attempted?
I read the docs, cant see a parameter to control this

atomic shuttleBOT
#

@vivid rivet pressed the πŸ“‘ API button in #help to ask a question:

Question
When a new customer subscribes to our product, we are creating an uncollected payment intent to verify the card is valid. We cancel it immediately after, however sometimes it takes a few days for the bank to release the funds. After our trial period is over (5 days), the first invoice charges the same amount we did not capture before, which based on the timing of the hold charge's release, causes 2 pending charges to display on a customer's card statement. (more details will come in thread)

Related Request ID(s)
in_1P2iGoDl7puKas71IWC6Y5KN

What have you already attempted?
Invoice creation API documentation, subscription documentation

What are you working on?
First subscription invoice after trial period

#

@brazen forge pressed the ❌ An Error button in #help to ask a question:

Error Message
checkout.session.completed 504 (Gateway Timeout)

Question
Yesterday, I encountered issues with my Stripe webhook endpoint for the checkout session completed event. It seemed to be because of a JSON.parse error which I resolved. However, I received a 504 gateway timeout this time, and i'm unsure why. I also received a 500 error where there are somehow duplicate requests to capture payments?

What have you already attempted?
I've attempted to read through the error logs and try and find the source of the issue, but cannot figure out the root of the problem.

atomic shuttleBOT
#

@rancid sedge pressed the πŸ“‘ API button in #help to ask a question:

Question
I cannot use the API with Ruby. What should I do?

> Stripe.api_key = "xxxx"
> Stripe::Billing::Meter.list()
uninitialized constant Stripe::Billing (NameError)

Stripe::Billing::Meter.list()
^^^^^^^^^
Did you mean? Binding

Related Request ID(s)
nothing

What have you already attempted?
I was able to execute it with cURL.

curl https://api.stripe.com/v1/billing/meters
-u "xxx"

atomic shuttleBOT
#

@timid glen pressed the πŸ“‘ API button in #help to ask a question:

Question
Will all the line item discounts be found in the total_discount_amounts array?

Related Request ID(s)
n/a

What have you already attempted?
Since I can't expand an invoices line items discounts promo codes I just look at the total_discount_amounts.discount.promotion_code

What are you working on?
billing microservice

atomic shuttleBOT
#

@rancid sedge pressed the πŸ“‘ API button in #help to ask a question:

Question
I cannot use the API with Ruby. What should I do?

```
Stripe.api_key = β€œxxxx”
Stripe::Billing::Meter.list()

> uninitialized constant Stripe::Billing (NameError)
> Did you mean? Binding
```

Related Request ID(s)
nothing

What have you already attempted?
- Message exchanges to date

#dev-help message

- Set a Stripe API version

```
intent = Stripe::Billing::Meter.list({stripe_version:β€œ2023-10-16"})
> uninitialized constant Stripe::Billing (NameError)
> Did you mean? Binding
```

#

@deft river pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element

Question
by the fault, apple pay and google pay will set the google payer and apple payer email for contact email. How can to update that contact email before open Apple Pay or Google Pay?

What have you already attempted?
Read the doc but not found the solution. That seems be we can do that in click event callback with resolve the update settings.

atomic shuttleBOT
#

@severe fox pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, I need help finding the appropriate documentation.

Related Request ID(s)
I am trying to set a default payment method for a customer that belongs to a connected account.

What have you already attempted?
I am using Stripe in React and for the API, I am using Express.js.

atomic shuttleBOT
#

@late nova pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to reconcile my system with the scheduled balance change activity reports from Stripe. I have configured the report from the Dashboard with the frequency set to "Monthly". When the reports are expected to generate - is it at the end of the month or when? Also, how do I get programmatic access to those report file using the java client library?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Balance change reconciliation with my own system

atomic shuttleBOT
#

@thorny summit pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Under one legal entity we are planning to operate multiple SAAS products.

But for accepting payment we are trying to understand the implementation/integration with Stripe.

If we setup webhook listener for each product, we might have duplicate data from other products as well.

what is the Stripe recommended way to implement this?

Related Event ID(s)
NIL

What have you already attempted?
We have already integrated Stripe with one of our Product.

atomic shuttleBOT
#

@dusk gulch pressed the πŸ“‘ API button in #help to ask a question:

Question
I have retrieve charge details but payment details are not getting on this object. so my question is how to retrieve stripe fee charge and how meet net amount.

Related Request ID(s)
Payment Detail get

What have you already attempted?
one attempt

What are you working on?
charged id to payment details get

#

@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/payments/ideal

Question
Is there a maximum and minimum amount limit for iDEAL transactions?

What have you already attempted?
We are about to integrate iDEAl so our merchants can accept iDEAl payments. Normally we prefer to set an amount limit and then filter the payment method by the order amount in case the customer keep failing the payment.

#

@golden nymph pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to update the business_profile of the connected account in some way? I am trying to allow our customers to update their bussiness details in invoice pdf. It's crucial for use to allow them to update it, so invoice is created with correct supplier address.

Related Request ID(s)
acct_1POh6lQoNKRjHosG

What have you already attempted?
I have tried to update it with the use of API or with Connect embedded components (Account management), but the data is not updated after saving.

What are you working on?
Zaptime - Personalised scheduling of your meetings and calls.

#

@ruby tapir pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Is it possible to add custom field to an invoice after I get the webhook call from stripe

Related Event ID(s)
invoice.created

What have you already attempted?
I need to add custom field for some client on generated invoices, but when I get the invoice event the invocie is already in finalized state and I got an error when I try to add my custom field. Did I missed an event called before invoice.created or a setting to ask stripe to wait before finalizing my invoice ? ps : sorry if my english is bad

What are you working on?
Central app with subscriptions on modules

#

@haughty granite pressed the πŸ“‘ API button in #help to ask a question:

Question
Is the microdeposit verification mandatory for ACH direct debits? I am using Plaid to collect and verify my customer's bank account details. How can I initiate a Direct Debit payment with Stripe for instant authorization without having to wait for mcirodeposits?

Related Request ID(s)
https://docs.stripe.com/payments/ach-debit/accept-a-payment

What have you already attempted?
Checked the docs

#

@quartz remnant pressed the πŸ“‘ API button in #help to ask a question:

Question
Currently, we are trying to integrate the "Link by Stripe" service into our online store and have encountered an issue. We want to implement the functionality to add more cards to the saved cards in the user profile settings using the Link service. During this process, no payment or similar actions should occur, just displaying the cards from the Link account with the ability to edit, delete, and, importantly, add a new card. So Link service works perfectly for us on the buy flow, and in the user profile for view/edit/remove saved, but not for adding new cards, as it seems to require an order.

Related Request ID(s)
https://docs.stripe.com/payments/link

What have you already attempted?
We tried two approaches, but with both of them we were not able to achieve the final goal of adding a new card successfully in a user profile settings:

Using PaymentElement, we have achieved the ability to edit and delete these cards, but we are unable to figure out how we could save the information about a new card without creating an order.
We also tried CardElement which allows users to be redirected to an external resource where the needed functionality is available. But we don't know how the link to this resource is generated.

What are you working on?
Clothing marketplace

#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
How to send metadata from "checkout session" into "charge"

Related Request ID(s)
-

What have you already attempted?
I trying to get Fee price value from event "charge.updated" due to event "checkout.session.completed" is doesn't have Fee value

What are you working on?
Update status paid when payment success and get Fee price from "checkout session" when payment success

atomic shuttleBOT
#

@long cliff pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Why didn't it try to send a webhook in the past 15 days if the last event was created on June 3rd?

Related Event ID(s)
evt_1PNVJfFVUyIGCF4MwMC9YsWu

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

What are you working on?
My task is to automatically add data to our database whenever there is a successful payment event from you or when an invoice is automatically generated on your end

#

@noble depot pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hi, I am using stripe api to make a payment in my system. As per my flow I am creating a checkout session which provides a url for the payment. After successful payment i am listening for a event "checkout.session.completed".
From the event object, I need to get a payment details which include payment method, card used etc.

Related Event ID(s)
I am getting following event id "cs_test_xyz"

What have you already attempted?
I checked out whole cs_test event object but it didn't provide me any payment method details. However this object has list of payment method option available

#

@twin thicket pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We're forced to work with legacy ACH payment methods. We had problems using them with subscripions: https://discord.com/channels/841573134531821608/1247220993055916033 and found out that retrying a payment through the Dashboard makes it work without a mandate, because it uses an older API version for that specifically: https://discord.com/channels/841573134531821608/1248336652913348668

Will the next recurring payments succeed for these subscriptions? How should we work with these payment methods? What API version should we use?

Doc/Guide Links
https://docs.stripe.com/api/customer_bank_accounts

What are you working on?
Subscription-based system with customers migrated from other stripe account.

#

@rancid terrace pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Not getting random charges on customer subscriptions after migrating them. Billing cycle didn't change and proration_behaviour was set to none.

What actually happened?
Customers getting random charges for "unused time" ranging from $1-$25

Reproduction Steps
Switching over a regular subscription to a tiered plan with the exact same settings.

await stripe.subscriptions.update(subscriptionId, {
items: [
{
id: itemId,
price: tieredPriceId,
},
],
proration_behavior: "none",
});

Question
Why are we getting charges on the customer cards when billing cycle anchor and proration behaviour didn't change? We emailed our representative and they said that our billing cycle anchor changed when we confirmed that was not the case.

What are you working on?
Building a B2C software as a service business.

#

@burnt dagger 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/trials

Question
Is there a piece of data stripes adds to indicate that an `invoice.paid` webhook is from a free trial that wasnt charged?

What have you already attempted?
I tried the `trial_period_days` field but it always return null.

The idea is to know when an `invoice.paid` event is for a trial period so I can indicate that in my backend -

Do I have to add a flag to the `metadata` field of the payload? if so, how do I remove that on subsequent charges

#

@autumn wasp pressed the πŸ“‘ API button in #help to ask a question:

Question
How to get stripe's fee from payment intent

Related Request ID(s)
-

What have you already attempted?
I can see only field "application_fee_amount" is refer my application's fee only, then how can I get Stripe's fee

What are you working on?
Collecting any fee price from payment intent success

atomic shuttleBOT
#

@steel inlet pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payment-links/api

Question
Payment Links generates an Invoice when payment is completed? Or it only generates a PaymentIntent?

What have you already attempted?
Nothing

What are you working on?
ERP Platform

#

@pure pecan pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I was using a developer to integrate Stripe payments using his Stripe test account, everything was working fine. I have since changed developer and am now having problems with what seems to be the return URL and session ID. The new developer says everything works fine when he tests using his own Stripe account, and that the problem is with my Stripe account.

Related Event ID(s)
evt_1PP0AWAonzIE6boFyB3lu12k

What have you already attempted?
I believe the developer has been changing the webhook listeners.

What are you working on?
Laravel & Filament

atomic shuttleBOT
#

@tribal rock pressed the πŸ“‘ API button in #help to ask a question:

Question
i want to implement a functionality such as when the owner of the web application gets the payment and it is added in web application owner stripe account.
now i want to schedule a transfer after 2 days i want to send 80% of the payment received in the vendor account and 20% in the balance of web application owner.
i am unable to find any API in stripe

Related Request ID(s)
11

What have you already attempted?
i am unable to find any API or solution for this on stripe

What are you working on?
yes still i am working on it

#

@nova sapphire pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Why in response we get
"unactivated_payment_method_types": [
"klarna"
],

Question
Why Klarna widget is empty when we send on_behalf_of to

https://api.stripe.com/v1/elements/sessions?key=pk_live_CXXotIa1GLHC15eYO7Foe28T&type=deferred_intent&locale=en&deferred_intent[mode]=payment&deferred_intent[amount]=29900&deferred_intent[currency]=eur&deferred_intent[payment_method_types][0]=klarna&deferred_intent[on_behalf_of]=acct_1MHWUSFZOiKgQM1R&referrer_host=elopage.com&currency=eur&stripe_js_id=cb8a49d0-ff84-471f-a837-a16be8518a02

What have you already attempted?
It works for the same user without on_behalf_of

#

@pure pecan pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Help with Stripe integration. Note from developer..

I have looked at this issue again and this is what I can report.

I reset the live site to use my (06Tech) Stripe account and placed an order for the Alamos event and it went through fine so it is related to your Forever Algarve stripe account as set up and is not specific to the live site. I have now reset the site back to your account.
looking at the data passed back from Stripe the problem occurs because this is what gets passed back from the 06Tech account relating to a customer
"customer": "cus_QFTM7241zKKBqV",
"customer_creation": "alw

Related Event ID(s)
we_1POky4AonzIE6boFvPWyJlP2

What have you already attempted?
Changed webhook

What are you working on?
Laravel & Filament

#

@prisma coral pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm having trouble understanding the integration path for Stripe Terminal. My situation is as follow: I create booking software for businesses. 90% of users book online, but when someone walks in and wants to book, the operator makes a booking for them and then can send the payment required to the stripe s700 reader I've given them. My concern is if one business has multiple readers, what is to stop an operator from accidentally sending a payment to a reader that already has a payment intent processing and then the customer taps and pays for that payment?

Related Request ID(s)
N/A

What have you already attempted?
I've tested to see if after one payment intent is processing another could be sent to the reader and have confirmed this is the case by testing it on a real reader. I thought if a payment intent was on a reader a subsequent request with a different payment intent would run into a terminal_busy_error but that does not happen.

What are you working on?
A booking software for operators of small & medium size tour/ attraction / rental businesses.

#

@lime turtle pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I am creating a subscription for a user. In future, I want to update Billing Cycle Anchor. When I use "Update Subscription" call, i only have option to set it to 'now' or 'unchanged' but instead I want a time stamp. Is there a way that I can use a timestamp for Billing Anchor Cycle in Update Subscription call

Related Request ID(s)
req_pBdb1XgsILZknG?t=1717753387

What have you already attempted?
I have tried with my time stamp but it says "When updating an existing subscription, billing_cycle_anchor must be either unset, 'now', or 'unchanged"

What are you working on?
I am working on monthly subscriptions for cyber insurance. I want to charge the user when the "Create Subscription" API is called but I also want to update BillingAnchorCycle for created subscription

#

@polar snow pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
"use client";
import {
Elements,
PaymentElement,
useElements,
useStripe,
} from "@stripe/react-stripe-js";
import { loadStripe } from "@stripe/stripe-js";
import { useSearchParams } from "next/navigation";
import React, { useState } from "react";

const stripe = loadStripe(process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY!);

// Customize the appearance of Elements using the Appearance API.
const appearance: any = {};

// Enable the skeleton loader UI for the optimal loa

Question
Previously when I started intergation with strip I was able to load the PaymentElement.

But after some time it automatically stopped working and started giving me this error on my console.

checkout:1 Uncaught (in promise)
{name: 'Error', message: 'Could not retrieve elements store', stack: 'Error: Could not retrieve elements store\n at ht…red-dad55355b32c76bf2f9b63fd81c3ed13.js:1:218835)'}

Please help me I am not able to get the solution

What have you already attempted?
I added a conditional rendering also tried with async await but it failed

What are you working on?
I am building a subscription module which has 2 plans that will be recurringly charged

atomic shuttleBOT
#

@pallid cloud pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/discounts/subscription_delete

Question
I want to remove _all_ discounts from a subscription, but am a bit confused as to how to best do that. I see that https://docs.stripe.com/api/discounts/subscription_delete can remove a discount. But what if there are more than 1 discounts applied? here: https://docs.stripe.com/api/subscriptions/update#update_subscription-discounts it says ' If not specified or empty, inherits the discount from the subscription’s customer.', but does that mean they are removed?

What have you already attempted?
I've read the docs above. Just trying to understand what exactly will happen and what I can best do in this case?

What are you working on?
A migration to a new price, but want to remove _any_ discounts applied to the subscription.

#

@charred vine pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, I am trying to integrate the Stripe Crypto On Ramp into my application and I noticed that the redirect URL will send the user to the Buy Crypto page. On that page the user can select through multiple currencies. Some of those currencies are marked with "May not be available". Could you display more information about this case and in which conditions they are not available?

Related Request ID(s)
-

What have you already attempted?
-

atomic shuttleBOT
#

@clever steppe pressed the πŸ“‘ API button in #help to ask a question:

Question
I am integrate stripe payment intents in node js. in the code and create paymentIntents implement in object add. payment status is not working. I think my code is correct but it would be nice if you take a look

Related Request ID(s)
req_1Sf3pTWdRy4xWF

What have you already attempted?
const payment = await stripe.paymentIntents.create({
payment_method_types: ['card'],
amount: 200,
currency: 'usd',
description: 'Example charge',
customer: customer.id,
payment_method: PaymentMethodId,
confirm: true,
description:"testing",

    }\)
#

@wise yoke pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible in stripe.checkout.sessions.create to attach the customer's default means of payment instead of submitting a form?

Related Request ID(s)
N/A

What have you already attempted?
I tried to find parameters in the documentation but couldn't find anything: https://docs.stripe.com/api/checkout/sessions/create

#

@native gazelle pressed the ❌ An Error button in #help to ask a question:

Error Message
Unhandled Promise Rejection: IntegrationError: The amount 4500 is less than the total amount of the line items provided.

Question
I can fix the line items and the total value, but I would like to log when these kinds of errors happen. How can I handle that error? I'm using @stripe/react-stripe-js. I need to have at least a way to show the user a feedback message, asking them to try the usual checkout instead of the Express Checkout.

What have you already attempted?
I tried to handle that error using the expressCheckout.on("loaderror") and using elements.on("loaderror") and also tried a try...catch, but I'm still getting an unhandled promise rejection issue.

Reproduction Steps
With Express Checkout element, in the onClick event, call the elements.update() passing a different value from the sum of the lineItems in the payload.

What are you working on?
A checkout page.

atomic shuttleBOT
#

@hollow haven pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server

Question
Trying to use this guide in my React app (https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment) to render the Stripe element and then finalize everything on the server, but I am not seeing the Stripe Element load. I am seeing a CORS issue that is blocking a few requests from https://js.stripe.com/v3/ and struggling to figure out how to get this to work locally.

What have you already attempted?
I've tried scouring docs and other resources about CORS issues, but most of them aren't applicable to this flow of rendering the element before proceeding with the flow

What are you working on?
We are re-creating our Stripe flow so that we can move off of Charges and Sources APIs so we can eventually integrate wallet payments

atomic shuttleBOT
#

@drifting lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
We are doing an integration, but we have transactions that occur asynchronously using the payment intent API. To do this, the customer must have a payment method attached to their account. And in this case, I need to integrate so that the user can attach their payment method beforehand, in our onboarding.
However, when using the add a payment method api, I receive a response from Stripe informing me that I need to request authorization to send Raw payment data. And now we have several documents to fill out. My question is what would be the best way to solve this using stripe.

Related Request ID(s)
cus_QCOSlSprVwhVSL

What have you already attempted?
I've tried different ways, but it doesn't make sense to me because the API is available and we're not making a transaction, just attaching the customer's payment method.

What are you working on?
We are a marketplace where users can buy and sell. When performing onboarding, we connect your Stripe "seller" account through oauth connect. However, to purchase, the customer needs a linked payment

atomic shuttleBOT
#

@worn barn 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-legacy/migration-guide?plan-subscription-schedules=#plan-subscription-schedules

Question
I'm at step 4 of the guide (see provided link) for migrating to meters.

No schedule exists for my test subscription, so I created a new one as per the guide. The guide says that this returns a new subscription schedule object, and the example includes a `phases` block which I understood should be pre-populated with the current period and `OLD_PRICE_ID`? And then I can take the existing schedule and add a new one with the new price id.

What have you already attempted?
But my schedule doesn't seem to have a `phases` array in a form that I can just add to. Do I have to create a new `phases` array from scratch?

What are you working on?
Something great.

#

@fading bay pressed the ❌ An Error button in #help to ask a question:

Error Message
Reply directly from your inbox
Overdue

Question
I need to set up my account again since the verification link in my email has expired

What have you already attempted?
How can I do it?

atomic shuttleBOT
#

@foggy bolt pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi,
I am working with subscription schedules in my e-commerce application and I have noted that
the stripe URL changes its path from "subscription schedules" to "subscriptions". May I know what
is the difference between these two? Also in my application I have two ways to fetch the subscriptions:
1) stripe.subscriptionSchedule.list
2) stripe.subscriptions.list ( this one allows to list by status:"active")

Can I use them interchangebly?

Related Request ID(s)
Non

What have you already attempted?
I have implemented API endpoints using both subscription schedules and subscriptions. I am keen to know the difference between them.

atomic shuttleBOT
#

@tawny pivot pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
.NET

new SessionLineItemOptions()
{
Quantity = 1,
PriceData = new SessionLineItemPriceDataOptions()
{
ProductData = new SessionLineItemPriceDataProductDataOptions()
{
Name = "Here is a longer title of an event with because it needs to be long. (Full Payment)",
Images = new List<string> { "https://stuff.com/image.jpg" }
},
UnitAmount = 125000,
Currency = "USD",
}
}

Question
When setting up a checkout session, can I tell the checkout to show the full line item name? Because the name is cutting off, it's missing some important info and the customer has to expand the line item to see the rest.

What have you already attempted?
I've tried to find the switch to allow this.

What are you working on?
Checkout for events.

atomic shuttleBOT
#

@dense saddle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Am I able to create a subscription that charges on the 15th and last day of the month (i.e. semi-monthly)? Not sure how I could do that with a combo of interval and interval_count? Thanks.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/create

What are you working on?
A billing platform

#

@vocal wagon pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is it possible to support customers just from the US (hoping to support international customers later)? The issue is with handling sales tax, and having to figure all that out in the UK, Canada, Europe, etc. It appears that UK and Europe have a 0.00 threshold for online sales from foreign countries (I'm in the US). I'll probably handle other countries after launch, after a bit of time.

Doc/Guide Links
I've looked into using Radar rules and it appears I can make a country block list, listing I suppose every country in the world except the US. Seems a rough way to handle this situation.

What are you working on?
I'm building a SaaS app with a free tier, a monthly tier and yearly tier.

#

@brazen forge pressed the πŸ“‘ API button in #help to ask a question:

Question
Upgraded my API version and webhooks but it seems as if requests are still being made on the old version

Related Request ID(s)
req_PfRUXK3nEkWD7o

What have you already attempted?
I've checked my code to make sure that none of the Stripe instances have an API version set, since it should default to the latest version. Do I need to redeploy my Next.js app for the requests to change versions?

#

@fleet wave pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
On mobile (tested on iPhone), ACH to FNBO Direct online payment does not work

What actually happened?
The page does not reach, we have a blank page with the words "Hang on, nearly there". After 20 minutes, still nothing.

Reproduction Steps
Just select the FNBO Direct bank institution

Question
Who should I speak to if our customers are unable to pay on mobile for this bank?

What are you working on?
Stripe CA/USA integration for Plannit

#

@slender glacier pressed the πŸ“‘ API button in #help to ask a question:

Question
Which permission do I need in oauth to use checkout page (see screenshot)

Related Request ID(s)
1

What have you already attempted?
I have these permissions already:
{
"permission": "plan_read",
"purpose": "Receive access to all available prices"
},
{
"permission": "product_read",
"purpose": "Receive access to all available products"
},
{
"permission": "checkout_session_read",
"purpose": "Used for directing visitors to payment page"
},
{
"permission": "checkout_session_write",
"purpose": "Used for directing visitors to payment page"
}

What are you working on?
potio.cc

#

@echo whale pressed the πŸ“‘ API button in #help to ask a question:

Question
What is the relationship between Test Mode with connected accounts and our house account. Does the LP environment stay in Live and then the lender can toggle between Test and Live in their dashboard? I ask because there is a difference API key for both, so we need to know when to use either one depending on what the mutual client is trying to do.

Related Request ID(s)
N/A

What have you already attempted?
Just trying to understand it fully.

What are you working on?
Payments Processing Integration via API and trying to understand the TEST.

atomic shuttleBOT
#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
Hey,
is there anyway to create invoice with the billing address of the payment method?

Related Request ID(s)
NA

What have you already attempted?
Whenever i create a checkout session and after that i generate invoice using

const invoice = await stripe.invoices.create({
customer: 'cus_NeZwdNtLEOXuvB',
});

it picks the customer address

#

@errant 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/subscriptions/update

Question
So, i have a subscription with a subscription item. This subscription is billed every 6 months. Can i change with the API the recurring interval to 3 months? (currently i can only change the price) My question is, does the client need to manually subscribe to the plan if i want the recurring interval to change? or is there some way to change it with the API?

Remember that this is a one-off, so the error it states does not awork for my situation, since i cannot update one-off subscriptions recurring interval.

Any help? thanks

What have you already attempted?
attempted changing the recurring interval by using the API to create a sub item with the recurring interval i want and delete the other items but got this error: "All prices on a subscription must have the same `recurring.interval` and `recurring.interval_count`. If you meant to update an existing subscription item instead of creating a new one, make sure to include the subscription item ID in your request. See examples at https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing."

What are you working on?
saas industrial software

atomic shuttleBOT
#

@quaint falcon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I want to integrate stripe payments to my app

Question
I’m currently developing an IOS and Android app, I want to integrate Stripe payments to it for the customers.

What have you already attempted?
I haven’t attempted anything yet, I need guidance.

What are you working on?
A house mantainance app

atomic shuttleBOT
#

@lavish palm pressed the πŸ“‘ API button in #help to ask a question:

Question
I had a very helpful thread with Bismarck and two-shoes a couple days ago and just have a follow up question regarding the connect account that Bismarck helped me prove a process for. Because i don't have Oauth capability at the moment due to not having a validated account we demoed the flow with the dashboard and one api call. THe api call created a customer in my account under the connected accounts section. The final solution needs that to be two different accounts. I just want to confirm that using Oauth validation will help us create our main account in the other companies connect section

Related Request ID(s)
NA

What have you already attempted?
See explanation above. ALready proven but just need to confirm one small piece of information.

What are you working on?
Company A needs to share credit card with us Company B through API.

#

@oblique plover pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
addressElement.create({
defaultValues: { ... }
});

Question
We are moving to elements from a custom form and stripe js.
I have the address Element prefilling with a customer's data, but in local and on QA we have a button to pre-fill in test data to expedite testing.

Is there a way to pre-fill test data via a button click?

What have you already attempted?
this.addressElement.update({
address: {
line1: '123 Any St.',
line2: 'Apt #4',
city: 'Nowhere',
state: 'ME',
postal_code: '04567',
country: 'US'
},
phone: '5555555555',
});

What are you working on?
migrating checkout to use stripe elements

atomic shuttleBOT
#

@blazing spoke pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/ach-debit/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api#payment-reference

Question
I need some clarification on Financial Connection feature availability for bank accounts that were verified with microtransactions. The documentation says that
"Bank accounts that your customers link through manual entry and microdeposits won’t have access to additional bank account data like balances, ownership, and transactions."

So if I'm understanding this correctly. I can only get the Financial Connection features like balance, transactions and ownership for accounts that are instantly verified?

What have you already attempted?
Currently evaluating using Stripe for an integration.

What are you working on?
Payment integration

atomic shuttleBOT
#

@carmine idol pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/send-email?dashboard-or-api=api#customer-emails

Question
Quick question - the docs say an email is generated when a user cancels a sub "Upon cancellation of subscription" in the linked section.

Is that correct? I can't find any settings in the dashboard or API that would allow me to configure that, and I've been through all my customers that canceled their subs in the last 30 days and none of them have a canceled email in their logs.

What have you already attempted?
Customer emails and subscriptions and emails sections in the dashboard. Searching through the feature and API docs.

We weren't sending cancelation emails to our users as we thought Stripe was handling that for us, but if not, do we need to trigger our own email once the webhook returns the `customer.subscription.deleted` event?

Thank you!

#

@thorn sequoia pressed the πŸ“‘ API button in #help to ask a question:

Question
Some of our merchants are facing -

Problem while verifying the bank account, Gateway Err: No such customer: 'cus_****'." error_code="verify_bank_account_err"
error while using the verifySource API of Stripe to verify the Bank Account Source using micro deposits.

API Endpoint Url :
https://api.stripe.com/v1/customers/{{cus_***}}/sources/{{ba_***}}/verify

FYI, we recently migrated from Stripe API version - 2013-02-13 to 2019-05-16. Is this the root cause of this error occurrence?

Because we were able to reproduce the error with API version 2019-05-16 but not with 2013-02-13.

Related Request ID(s)
req_0TMGPGT6bB6WWt , req_rknnV1uQnUkz3e

What have you already attempted?
Able to reproduce the error

What are you working on?
Migrating from old Stripe API version to 2019

#

@silent bobcat pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/cards/create

Question
Hey! I'm very interested in having a physical stripe card. But my problem is that I suck at tech stuff and have NO idea how to create a card and make it ship to my mail. Is there any way you guys could walk me through the entire process?

What have you already attempted?
I tried searching up on youtube, I tried messing around in the stripe dashboard... But as stated, I'm very bad at tech stuff and couldn't figure it out.

atomic shuttleBOT
#

@vestal mesa pressed the πŸ“‘ API button in #help to ask a question:

Question
I need to create a stripe hosted payment page where the user can choose from dropdowns which subscription they want to choose.

Related Request ID(s)
-

What have you already attempted?
-

#

@tired tartan pressed the ❌ An Error button in #help to ask a question:

Error Message
Cannot create payouts: this account has requirements that need to be collected. Please provide those fields to re-enable payouts.

Question
I am creating account for payout in my django app using loggedin user's detail. then creating payout but it gives error.

What have you already attempted?
I tried and created account connect account for user and trying to create payout using its id and bank account number.

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
#

@brave citrus pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to get the next payment date for a subscription; is current_period_end the correct field to consider? I am unsure if I should use current_period_end or current_period_end + one day

Related Request ID(s)
sub_1PPvzRPbhdfvD1kVDGnj31G6

What have you already attempted?
N/A

What are you working on?
Integration with Salesforce Recurring Donations

atomic shuttleBOT
#

@bronze shore pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible, when creating a checkout session with the 'destination charges' flow, to change the name of the initiator of the transfer?

Related Request ID(s)
py_1PPxgLE5UBpIwTsb0jV8zTk3

What have you already attempted?
Tried to update the transfer details

What are you working on?
e commerce

atomic shuttleBOT
#

@snow quartz pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I want to ask a question about the best practice for checking the network/reader availability for the Tap To Pay reader in React Native app. Some of my testers used the app in the area having poor Internet connection, which lead to the issue when connecting reader and processing the payment. I have followed the guideline from the document, however I think the example in the docs is not enough for me.

Doc/Guide Links
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=react-native&reader-type=tap-to-pay

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
#

@modest elk pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I want to know what is the best way to proceed using stripe for, accepting payments to give the user certain amount of tokens inside my platform, with the ability to withdraw that tokens any time refunding them the equivalent amount in real money. I already created a customer, using only a name an email, but i want to know the whole procedure, how is it going to be. The steps i will do to make sure that everythings is perfect. Including handling errors.

In my head was like this, ( and i need your help with this ).

Doc/Guide Links
1.- Create a customer.

2.- Add a payment method to the user( Can i do this step separated at any moment ? or only when paying ? )

3.- How im supposed to identify the user, when paying, after creating a payment intent ? ( With the id you assign to it or any identifier i will add to the metadata ?)

4.- After creating a customer, and assigned a payment method to it, its time for hin to pay. Now, i have to create a payment intent , right ?, Once done the user must follow the steps to confirm the payment, and hopefully with a status code 200.

5.- Once completed and verified he should get that amount payed in tokens inside the platform.

What are you working on?
In a platform where users can buy tokens, which they will use to pay with them, trade and refund them at any moment for real money.

#

@clever steppe pressed the πŸ“‘ API button in #help to ask a question:

Question
I am currently using stripe for payment integration. in the stripe use payment intent for creating payment feature using stripe.paymentIntent.creat this time payment status receive "requires_action". in the dashboard payment status is incomplete. how to Confirm a PaymentIntent in server side not using webhooks or client-side confirmation so give me a good way to solve this issue. attach server-side code given bellow

Related Request ID(s)
req_DXiV1IdA71ay0Q

What have you already attempted?
console.log(PaymentMethodId);
const payment = await stripe.paymentIntents.create({
payment_method_types: ["card"],
amount: 200,
currency: 'usd',
customer: customer.id,
payment_method: PaymentMethodId,
confirm: true,
description: "testing",
})

atomic shuttleBOT
#

@slate moss pressed the πŸ“‘ API button in #help to ask a question:

Question
i am Adding a payment method using setup of payment but first it time its getting added successfully but again if i add payment method then its giving error

Related Request ID(s)
req_BGf83QMZpP75Ki

What have you already attempted?
i am Adding a payment method using setup of payment but first it time its getting added successfully but again if i add payment method then its giving error

atomic shuttleBOT
#

@ruby tapir pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Is it possible to add custom field to an invoice after I get the webhook call from stripe ?

Related Event ID(s)
invoice.created

What have you already attempted?
I need to add custom field for some client on generated invoices, but when I get the invoice event the invocie is already in finalized state and I got an error when I try to add my custom field. Did I missed an event called before invoice.created or a setting to ask stripe to wait before finalizing my invoice ? ps : sorry if my english is bad

What are you working on?
Central app with subscriptions on modules

atomic shuttleBOT
#

@summer oxide pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hi devs, trying our iDeal as a payment method. I have enabled one-time payment in it, but the same is not getting available in my checkout session for a one-time off payment. Does that implies something else?

What actually happened?
Enabled one-time payment in iDeal for test purpose, not able to locate this method during checkout.

Reproduction Steps
https://dashboard.stripe.com/test/settings/payment_methods?platform_id=pmc_1OWdhjCtiaajKx2Eq7ERZtPv&config_id=pmc_1OWdhjCtiaajKx2Eq7ERZtPv

Link for iDeal where it is mentioned.

prod_QGYGkzTnHVvqZ1 product Id for which it should be available but is not.

Question
Am I doing something wrong here? Since from my understanding iDeal should be available in checkout element after this, as othe methods do get available. Thankyou

#

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

Error Message
https://drops.meetanshi.com/i/aJJsQR

Question
this email was related to Order #21000005698 by Alejandra Leon Antonio. payment was done successfully but order not generate in Magento. can check the reason?

What have you already attempted?
we placed order using stripe and stripe captured the amount but order was not placed in our magento 2 store,

#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
When submitting a dispute through dashboard, there are 2 radio boxes that need to be filled.
"What type of service is this?" and "Why you should win this dispute?"'.
On the API to submit evidence to dispute, I don't see nothing that link any property in the API to that.

Related Request ID(s)
none

What have you already attempted?
I have tried each property in the API, contacting live agent, opened a thread here once.

What are you working on?
Personal app

#

@umbral dust pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Payment succeeded but the webhook failed on all attempts from stripe and seeing message "Pending Webhook response". Now the webhook is fixed, how can I manually trigger the webhook event from stripe account for the specific transactions.

Related Event ID(s)
evt_3PAy6QDZs6aaNSfl0xCCUN5o

What have you already attempted?
Went through https://docs.stripe.com/webhooks but unable to find steps for manual retrying of webhook

What are you working on?
I am trying to investigate a payment made but the webhook not yet complete

atomic shuttleBOT
#

@worn barn pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to query meter events on an individual basis, e.g. get a listing of all events (and their payloads... the full event) between two time points.

It seems that it's only possible to get a "summary", aggregated over the whole period (or hourly)... i.e. we can't get at the individual payloads and event ids?

https://docs.stripe.com/api/billing/meter-event_summary/list

Related Request ID(s)
N/A

What have you already attempted?
N/A

atomic shuttleBOT
#

@elfin summit pressed the ❌ An Error button in #help to ask a question:

Error Message
Stripe blockiert Zahlungen, um Sie vor Risiken zu schΓΌtzen, die alle Nutzer/innen betreffen, unabhΓ€ngig von Ihrer Nutzung von Radar. Weitere Informationen zu blockierten Zahlungen.

Question
How can we solve it? Why was the payment blocked by stripe?

What have you already attempted?
Nothing

atomic shuttleBOT
#

@forest saddle pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
SEPA customers did not receive email from stripe support about the fact that they will be charged

What actually happened?
From June 2024 they started to receive this email from stripe support

Reproduction Steps
trigger an invoice trigger an email sent from stripe

Question
Is something changed and now email are sent to customer about the SEPA payments for invoices?

#

@opal marlin pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I accept a cash payment using S700 and Server backend in node?

Related Request ID(s)
req_JByW38KWzyYccw

What have you already attempted?
Cannot understand from the documentation.

What are you working on?
New integration wit Stripe Terminal

atomic shuttleBOT
#

@agile dome pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have a service A using Stripe, and a service B intending to use service A to pay some fee by credit card through API or something without users’ actions (users will consent to the automatic payments when contracting) . For some reason I do not want to integrate Stripe subscription.

I want to create paymentMethod directly in service A through Stripe API. However, I once received a warning email when when requesting to POSTΒ /v1/payment_methods with real card information.

Is creating paymentMethod directly the proper way to use Stripe without Stripe Element setup on service B? If not, what is the best practice when I want to implement my scenario?

Doc/Guide Links
https://docs.stripe.com/api/payment_methods/create

What are you working on?
See question.

#

@brittle ingot pressed the πŸ“‘ API button in #help to ask a question:

Question
How do i create an invoice after the payment intent is successful, in a self-hosted checkout scenario?

Related Request ID(s)
no clue

What have you already attempted?
looked through the docs, invoicing mentions creating invoice and sending to customer to be paid, but in my case it's amount is already paid... basically I need only to create and post invoice, probably attach payment intent id to it.

What are you working on?
invoicing multiple items once payment successful

atomic shuttleBOT
#

@oblique mango pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
will post code below(too long)

Question
How can I get the customer email in Apple pay/Google pay before the transaction has been completed?

What have you already attempted?
I cannot see this anywhere in the docs

#

@late nova pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Is there any way to disable email notifications when the webhook delivery fails in "Test mode"?

Related Event ID(s)
N/A

What have you already attempted?
I checked the webhook settings in the "Workbench". But I can't find any such settings to disable the email notifications.

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.

#

@queen nebula pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
if($isSplit) {
$invoices = $mainInvoice->getSplitedInvoices();
$invoiceToCharge = $invoices->first();
$this->createStripeInvoice($client, $signatureRequest, $lawyer, $invoiceToCharge);
$stripeInvoiceId = $invoiceToCharge->getStripeId();

        foreach \($invoices as $key =\> $invoice\) {
            if\($key === 0\) {
                continue;
            }
            $invoice\-\>setAvailableAt\(new \DateTimeImuta

Question
I'd like to know what's the best way to do it:
- Take my split invoices and send them to stripe specifying a value for the key effective_at
- Or simply create an invoice and finalize it using a php script and a cron.

What have you already attempted?
Rien, actuellement j'ai une facture principal qui n'est pas forcΓ©ment envoyer chez stripe mais utilisΓ© cotΓ© mΓ©tier client et lorsqu'un paiement en plusieurs fois est demandΓ© des "sous factures" sont crΓ©er automatiquement

What are you working on?
I develop an B2B2C, with connected account for generating document with electronic signature and purpose and payment only via stripe with an option to split it

atomic shuttleBOT
#

@native cloud pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
During vendor's registration process on our marketplace (technically "platform" according to Stripe documentation) we collect billing information (address, tax registration(s), etc.). Next the vendor connect their account to our account via Stripe Connect. Once the customer purchase the vendor's product they (the customer) should receive the receipt with vendor's billing information stored in the vendor's billing profile. How should we send the information to Stripe API?

Doc/Guide Links
https://docs.stripe.com/connect/onboarding
https://docs.stripe.com/payments/collect-addresses?payment-ui=checkout

What are you working on?
Marketplace for software producers to sell their products

#

@pine grove pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, we have a problem with subscriptions going to incomplete_expired. I understand this is the behavior when the first invoice doesn't get paid quickly enough.

Is there a way that we could prevent the subscriptions from expiring? We would like to attempt to invoice the subscriptions longer than 23 hours.

Related Request ID(s)
evt_1PPmYxHQHfdTxRLWL8prQmqv

What have you already attempted?
This article https://docs.stripe.com/billing/subscriptions/overview states that:

"You create the subscription. The status of the subscription is incomplete (if you follow the recommended flow – if you create a subscription without specifying the payment_behavior, the default status is active)."

The status doesn't seem to be active even without specifying payment_behavior. API docs on the other hand say that payment_behavior=allow_incomplete is the default behavior.

#

@hearty raven pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I don't have any code to share

Question
How difficult is the transition (in terms of rewriting the code) from having only standard account merchants to express if we want to change to express in the future when we have more time to settle in?

What have you already attempted?
All we're doing really is creating accounts via the onboarding process for the merchant (they do it via our ui), and then we use the embedded checkout + payment links.

What are you working on?
property management system

atomic shuttleBOT
#

@late sigil pressed the πŸ“‘ API button in #help to ask a question:

Question
Making a call to the https://api.stripe.com/v1/payment_intents and received the Status requires_action

Related Request ID(s)
pi_3PQ5PqHXV6zsHtKG1LtFvJZK

What have you already attempted?
What should I do?

#

@gusty hollow pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I get the connect account from an event such as refund.updated

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

@pastel stone pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hi,

My annual subscriptions should have switched to monthly only if the customer didn't update it in the mean time

What actually happened?
Hi,

I have quite a few subscriptions which have changed to monthly and the price just seems to be set, I can't figure out from the events where this is actually happening and are looking for some guidance.

Reproduction Steps
sub_1NMB5DAjtNFaRAYovgezfcDW
sub_1NM9qLAjtNFaRAYoxnN3nr25
(I can provide more examples)

Question
Hi,

I have quite a few subscriptions which have changed to monthly and the price just seems to be set, I can't figure out from the events where this is actually happening and are looking for some guidance.

#

@solid sentinel pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I need to know how to fix this, this is the screenshot on stripe. I can see that I can just go in there and "remove" them. one of them has no errors, while the other 4 are 87% error. --

Related Event ID(s)
N/A

What have you already attempted?
i don't understand the problem i need help,

What are you working on?
building a new website, wondering if the problem is related to the previous wordpress site, currently shine pages

#

@slate moss 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/coupons?dashboard-or-api=api#coupons

Question
Can We Apply Coupon on payment element when customer is adding paymentmethod details

What have you already attempted?
i have reading this docs link above

What are you working on?
Actaully i working on creating subscription with some coupon discount.

#

@magic matrix pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Enabling google pay.

Question
I want to enable Google pay. When I want to configure domain it gives me same page when configuring apple domain.

What have you already attempted?
I wans googling but no success

What are you working on?
Finacial app.

atomic shuttleBOT
#

@dull furnace pressed the πŸͺ Webhooks button in #help to ask a question:

Question
trigger all evnts at a time.In checkout paymet in stripe trigger evnet.need customer.subscription.create event

Related Event ID(s)
customer.subscription.create

What have you already attempted?
yes

#

@cinder flower pressed the ❌ An Error button in #help to ask a question:

Error Message
This merchant is having trouble accepting your payment at the moment. Try using a different payment method. [OR_BIBED_06]

Question
I am integrating payment using stripe gateway on my mobile app built on react native. I have successful in testing
apple pay following the stripe documentation (React native SDK), here https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet
However while testing Google Pay. I get an error as per error message stated. Long card payment

What have you already attempted?
I have gone through Enable Google pay section and set in AndroidManifest.xml , android:name="com.google.android.gms.wallet.api.enabled" as true
In build.gradle using dependencies com.stripe:stripe-android:20.40.2

Also enabled google pay on stripe dashboard.

Reproduction Steps
When the payment sheet is presented , tap on 'Pay with G Pay'. On the next screen G Pay complete your purchase, tap continue, and confirm with face id or finger print or pin. After confirmation , getting the error OR_BIBED_06

What are you working on?
I am working on stripe payment integration on my react native app.

#

@twin obsidian pressed the ❌ An Error button in #help to ask a question:

Error Message
Expired API Key provided: pk_live_*********************************************************************************************vU4c3R. Platform access may have been revoked.

Question
What is the issue? and what is the solution? is this because someone revoke the platform access. as we are using stripe connect.

What have you already attempted?
Nothing

#

@echo coral pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Webhook signature verification error

Related Event ID(s)
don't know

What have you already attempted?
In my Stripe plugin the webhook signature verification error happened. Followed this doc to secure the webhook veriofication. But its catch the exception catch(\Stripe\Exception\SignatureVerificationException $e) {}

What are you working on?
\Stripe\Webhook::constructEvent( $payload, $sig_header, $endpoint_secret ,1000 );

#

@brazen gorge pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When trying to pay via bank transfer, after confirming the order, the user gets redirected to the payment detailed page. I would expect there to be a button like 'Payment Done. Please bring me back to the shop' -button.

What actually happened?
There's way to bring navigate back to the store.

Reproduction Steps
Test Mode (haven't tested it on live yet). I'm using the Java SDK and create the link to the hosted payment page.

Question
How can the customer navigate away from the payment detail page?

What are you working on?
adding 'bank transfer' as a payment option

atomic shuttleBOT
#

@safe patio pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I've connected Stripe with Zapier. But the data isn't run through as wished. Sometimes there is no data at all. In the Stripe Webhook Dashboard there are some error messages shown.

Related Event ID(s)
https://dashboard.stripe.com/webhooks/we_1POKakGB35pnerjHD3A6ZtxP

What have you already attempted?
I don't really know what to do. I just recreated the Webhook connection on the Zapier side, but it doesn't tell that anything's wrong.

What are you working on?
I Am working on a Zapier Automation where I can transport the given Stripe data into multiple different Softwares.

#

@late sigil pressed the πŸ“‘ API button in #help to ask a question:

Question
Payment status requires_action

Related Request ID(s)
pi_3PQ5PqHXV6zsHtKG1LtFvJZK

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

atomic shuttleBOT
#

@limpid coral 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
I want to Restore my account And I have verified my identity

What have you already attempted?
I have verified my identity and they accept my Identity but my account is not working like in the Stripe App they said activate your Account
You have not activated your stripe yat

Reproduction Steps
On the 14 if my account is not active all will be lost

What are you working on?
I'm going PayzcodeAI

atomic shuttleBOT
#

@tribal rock pressed the πŸ“‘ API button in #help to ask a question:

Question
i am implementing payouts in stripe in nodejs.
when i make the connected account and fill all the details i get the account ID with enable capabilities
when i pass destinationID in the payout api, it says no external account exist,

how can i do testing in developer mode

Related Request ID(s)
N/A

What have you already attempted?
yes

What are you working on?
yes

atomic shuttleBOT
#

@rustic gazelle pressed the πŸ“‘ API button in #help to ask a question:

Question
I am implementing subscription billing. I have created custom checkout page using stripe elements. I want to update the existing subscription when customers upgrade from Free to Paid plan. But the API is not returnung the client secret instead it is returning below error message

raw: {
code: 'resource_missing',
doc_url: 'https://stripe.com/docs/error-codes/resource-missing',
message: 'This customer has no attached payment source or default payment method. Please consider adding a default payment method. For more information, visit https://stripe.com/docs/billing/subscriptions/pay

Related Request ID(s)
1234

What have you already attempted?
When I tried to create a new subscription instead of updating the existing one, it is working. But when I try to update the existing one it is not working.

What are you working on?
Subscription management for a SaaS application

#

@austere temple pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Custom fields not sent to Zapier from Payment links is there a way to get custom fields values in Zapier?

Related Event ID(s)
none

What have you already attempted?
Different triggers

#

@reef dune pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm performing an upgrade from stripe 39.121 to 44.10. Payment intents now have capture_method = automatic_async. I wanted to understand the difference between automatic and automatic_async

Related Request ID(s)
1

What have you already attempted?
Performing the upgrade

What are you working on?
API

atomic shuttleBOT
#

@obtuse quarry pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I possibly mark something as "Digital service" though dispute evidence submitting API ( against a client ).

Related Request ID(s)
none

What have you already attempted?
Each field, this is a thread made today, but now other issue arose.

What are you working on?
Personal Project

#

@ancient bison 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/subscriptions/update-payment-details

Question
we are going to use subscription to manage instalment plan as listed in https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#installment-plans. Our existing system is in payment element, I did not find how to use payment element to update payment method for subscrption

What have you already attempted?
https://docs.stripe.com/payments/checkout/subscriptions/update-payment-details is for checkout? our system is in payment element, which is using payment intent. Can I use payment intent to update payment method for subsucription?

What are you working on?
we are trying to build a installment system for customer based on stripe subsciption. still on exploring stage

atomic shuttleBOT
#

@native cloud pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/tax/registrations-api#adding-registration

Question
Is it possible to webhook tax-registration changes in any of connected STANDARD accounts? If not is it possible to list tax-registrations of a specific connected STANDARD account?

What have you already attempted?
https://docs.stripe.com/connect/tax-reporting
https://docs.stripe.com/webhooks#add-a-webhook-endpoint

What are you working on?
We need to retrieve existing tax-registrations in connected accounts and store them for on-going business processes

#

@meager kite pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a paid app with subscriptions.
I want to assign a subscription to a member but tell Stripe that this subscription starts in two weeks from now, the member should be able to access the app until the payment date etc.

Related Request ID(s)
x

What have you already attempted?
x

What are you working on?
x

#

@cinder flower pressed the ❌ An Error button in #help to ask a question:

Error Message
This merchant is having trouble accepting your payment at the moment. Try using a different payment method. [OR_BIBED_06]

Question
I am integrating payment using stripe gateway on my mobile app built on react native. I have successful in testing
apple pay following the stripe documentation (React native SDK), here https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet
However while testing Google Pay. I get an error as per error message stated. Long card payment

What have you already attempted?
I have gone through Enable Google pay section and set in AndroidManifest.xml , android:name="com.google.android.gms.wallet.api.enabled" as true
In build.gradle using dependencies com.stripe:stripe-android:20.40.2

Also enabled google pay on stripe dashboard.

Reproduction Steps
When the payment sheet is presented , tap on 'Pay with G Pay'. On the next screen G Pay complete your purchase, tap continue, and confirm with face id or finger print or pin. After confirmation , getting the error OR_BIBED_06

What are you working on?
Stripe payment integration on my react native mobile app

#

@hoary scroll pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is it more reliable to use payment_intent.payment_failed or charge.failed? On of our customers for instance: cus_QDmNmgTmBVpQ1e

what should we use here? We stopped using stripes handlepaymentfailure to handle payment failures anymore. Now we receive payment_intent.payment_failed and charge.failed events for a failed patient.

Doc/Guide Links
https://docs.stripe.com/payments/payment-intents/verifying-status

What are you working on?
We built our own payment failure handling system

atomic shuttleBOT
#

@vagrant ibex pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello
Good afternoon.
On our website, we sell Bundles, upon receipt of which by the client and their subsequent activation, the client receives a subscription to certain services of our project. The problem is that on the checkout page, the client can change the quantity of the Bundle ordered, which leads us to the fact that we cannot create multiple subscriptions for payment by the client.

How can we split subscriptions with a QTY of 2 or more without having the fund the new subscriptions with credits, coupons or new charges?

Related Request ID(s)
nope

What have you already attempted?
nothing

What are you working on?
ecommerce

#

@brittle stump pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is it possible to apply a coupon to a subscription being renewed if the payment has failed multiple times? This is something we're trying to do to reduce failed payments by applying a coupon and lowering the total amount due.

Doc/Guide Links
Have looked at existing Stripe docs

What are you working on?
Payment retries

atomic shuttleBOT
#

@ornate dragon pressed the πŸ“‘ API button in #help to ask a question:

Question
hi, we want to create a subscription in stripe that is only being charged once and then it stops forever, while we also collect the customers card on file to later offer custom pricing. I found no option about this in stripe, do we need coding? we have too many customers to do this manually and ending the subscription each time a customer got charged will require too much time, so we need an automated solution, i found it interesting that this is not a feature in the stripe product catalog or payment links

Related Request ID(s)
None

What have you already attempted?
I have gone through the whole stripe dashboard to try this

#

@long thistle pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm looking for assistance on what the rules are to have a Connected Account become a CBSP. I understand the definition (being connected to only a single platform), however I would expect this to be automatic each time an account would OAuth with my platform as OAuth forces the single platform designation (since 2021).

Is it only new accounts created by my platform? Is there a flow I can send these users through to enable platform controls, so I can deploy to their devices?

Related Request ID(s)
acct_1ObSmeJ7PCLopVaU

What have you already attempted?
Reaching out through traditional support channels, which generally results in a black hole on extremely long wait times. It's been a month since I've first asked the question. Additionally, Stripe internal teams had migrated a large portion of my Connected Accounts to have platform controls enabled.

What are you working on?
Apps on Devices deployment to Connected Accounts

#

@quick current pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to register a webhook when our users install our stripe app

Related Request ID(s)
You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead?

What have you already attempted?
I attempted using webhook_write in the stripe app, but this wasn't permitted for an oauth app

So instead I've initiated an oauth flow, and exchanged the code for an access token.

Now I'm trying to register a webhook using the API for the account that has installed the app.

What are you working on?
commission calculator platform.

#

@teal scroll pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Im setting the metadata when creating a session. But on invoice.payment_succeeded the metadata object is empty.
Is this coz it's in test mode?

Related Event ID(s)
invoice.payment_succeeded

What have you already attempted?
Is this coz it's in test mode?

What are you working on?
Subscriptions

atomic shuttleBOT
#

@karmic socket pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Users being able to verify hCaptcha

What actually happened?
There seems to be a new hCaptcha popup that appears for some users. The issue is that our payment form is in a popup and I believe the z-index of that popup is higher than the hCaptcha so our users cannot verify the captcha.

Reproduction Steps
Create a Stripe JS element in a popup with a higher z-index.

Question
Is there a way to turn off the hCaptcha, at least in certain areas of our app where the popup is? Thankfully the only flow where these are are for verified users of our private app so there isn't a way for the general public (i.e. card testers) to access where we'd turn these off.

#

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

What did you expect to happen?
We're trying to have Apple Pay integrated on our Stripe Crypto onramp on our app, however for some people its not even popping up and for others, it's infinite scrolling.

What actually happened?
When people try to buy crypto with apple pay, it infinitely scrolls.

Reproduction Steps
Download our app on testflight, make an account, and

Question
What can I do to fix this for my application? I've tried adding certificate and apple domain, but still not working.

atomic shuttleBOT
#

@gloomy field pressed the πŸ“‘ API button in #help to ask a question:

Question
I installed nginx on my VPS server and put the stripe sample file in /var/www/html/.

When I run npm start, the first page is displayed, but

when I press the button, I get a 404.

According to the error log,

no live upstreams while connecting to upstream, client: 14.12.101.64, server: _, request: "GET / HTTP/1.1", upstream: "http://localhost/", host: "160.251.166.206"

It seems that the POST is not working properly.

How can I make it work properly?

Related Request ID(s)
req_VEfFPvWdgSlWPW

What have you already attempted?
I was able to confirm that POST was successful in the local environment.
I opened various ports such as 443, 80, and 3000.
I ran it once without configuring a firewall or anything like that.

What are you working on?
I want to send an HTTP request from my VPS server to Stripe

#

@chilly spear pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have a custom connect account. When we attempt to issue a refund, we sometimes get rejected immediately since the connected account doesn't have funds. I'm looking for a best practice since I've heard another way to issue a refund is to pull funds from the merchant's bank account into Stripe, wait for the funds to clear, and then issue the funds to the payer's payment method.

For context, I believe we are using the "by the book" approach for refunds where we set ReverseTransfer=true (we also have RefundApplicationFee=false in case that matters for this question).

Doc/Guide Links
I've looked at the Stripe docs and spoken to 3rd party consultants about this. I'm looking for a better way.

What are you working on?
Custom connect integration

atomic shuttleBOT
#

@gloomy palm pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello guys, I wanted to know if its possible to save a card from my customer and then debit it later, maybe 3 months later, (I have a rent business) and I want to debit my clients if my stuff is broken

Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/overview

What are you working on?
A business about drone rental

#

@marsh grove pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
This is the flow currently:

Receiver:
Fills out customer form and we create a connect account and link bank for them.

Sender:
We configure a payment sheet for a destination charge to the connected account. Sender submits.

Question 1:
It seems like we need to provide a lot of information (DOB, last 4 SSN, business url or description). Possibly an upload of their identification?
Is there a way we can change this flow to avoid the amount of information required. The connected account will only be receiving payments.

Doc/Guide Links
https://docs.stripe.com/api/accounts/create

https://docs.stripe.com/connect/required-verification-information

What are you working on?
We are building a react native app that transfers money between users for a service.

atomic shuttleBOT
#

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

What did you expect to happen?
Our ticket was closed from earlier

What actually happened?
Our ticket was closed from earlier

Reproduction Steps
Our ticket was closed from earlier

Question
Our ticket was closed from earlier

#

@drifting lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
I need to reuse a payment method already added to a business account and attach it to another business account.

When my users access our platform, during onboarding they inform the payment method and we add them to our account. This is to make it easier for him to make purchases on the marketplace. However, he only pays our fees, when he buys a product, he needs to pay directly to the "seller's" business account.

For user experience, we don't want the user to inform the payment method all the time, can we make a "copy" of what has already been entered in our account via API? So do we save th

Related Request ID(s)
pi_3PQD24K0S1AwmKXa0Slo4RBI

What have you already attempted?
I didn't tried yet.

What are you working on?
A marketplace for reservations

#

@opal marlin pressed the πŸ“‘ API button in #help to ask a question:

Question
Recording 'cash' payments in stripe. Can I settle a paymentsIntent with cash?

Related Request ID(s)
acct_1LD6WMLoMN7oRScy

What have you already attempted?
Following the various options in Checkout/PaymentIntents/Terminal is a bit confusing at the moment.

What are you working on?
Trying understand how to implement a simple POS application using Cash & Terminal payments.

#

@zenith plaza pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We are building a mobile iOS app that takes payments from one user, and another user is receives the payment minus our platform fee. Currently we built this
Sender (A):
We configure a payment sheet for a destination charge to the connected account. Sender submits.

Receiver (B):
Fills out customer form and we create a connect account and link bank for them.

Questions:
1) It seems like we need to provide a lot of information (DOB, last 4 SSN, business URL or description) for user B. Possibly an upload of their identification?
What's the minimum KYC that we need to take for user that will be receiving their payment? The connected account will only be receiving payments

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges
https://docs.stripe.com/connect/required-verification-information
https://docs.stripe.com/connect/onboarding

What are you working on?
iOS /Android app built in React Native

#

@undone blaze pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
On Radar, I am able to `Add allow rule`

What actually happened?
`Add allow rule` option is disabled

Reproduction Steps

  1. visit https://dashboard.stripe.com/settings/radar/rules?startDate=2023-12-11&endDate=2024-06-09
  2. click "Add Rule"
  3. see allow rule disabled

Question
I was directed here by our contact at Stripe to help figure out why we are unable to create allow rules in radar. All other options are enabled on our account.

#

@next gorge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello, we have around 7000 subscribers and we need to raise the price of their subscription.

I haven't been able to find a good description of how to do this and what issues to look out for.

What we want to do is set a date after which they will be billed the new amount.

So for example we will tell them that on August 1st the price will change from $9.95 to $12.95. And then when the next time for them to get charged comes up with will be billed at $12.95.

Any help is appreciated :) We haven't done this before so just worried about making a mistake.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/update

What are you working on?
raising price for subscribers

atomic shuttleBOT
#

@wanton siren pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am providing the user a Stripe eCard but the I haven't yet added funds to the card which I am trying to do in version 1.19.5.

What actually happened?
What is happening is that, I've tried adding funds to user card but it's not working.

Reproduction Steps

  1. User logs into SplitPay and selects the option to split a payment using multiple payment methods.
  2. User enters the amount they need (e.g., $500) and provides their credit card and debit card details.
  3. User confirms the split amount for each payment method.
  4. User submits the payment request.
  5. Backend processes the payment and attempts to add the total amount

Question
How can I successfully add the specified funds to the user's Stripe eCard during the card issuance process? Despite processing the split payments and issuing the card, the funds are not being added to the card, leading to 'insufficient funds' errors. I need guidance on ensuring the card is funded with the correct amount.

What are you working on?
I am working on a payment platform called SplitPay that allows users to split payments between multiple payment methods

#

@hearty pilot pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
We have a payment form (for donations) on our website that we'd like to allow partners to embed using an iframe. Our payment form uses React Stripe Elements. I'm wondering if there are best practices or known security implications that we should be aware of for this type of use-case.

Doc/Guide Links
https://docs.stripe.com/checkout/embedded/quickstart but not really what I'm looking for

What are you working on?
A payment/donate form

atomic shuttleBOT
#

@tired tartan pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Error creating transfer: Request req_qPfVhNSVufnxjt: Funds can't be sent to accounts located in US because it's restricted outside of your platform's region; please contact us via https://support.stripe.com/contact for details.

Question
i can share my code, i want user to payout to his account and money deduct from my stripe.

What have you already attempted?
I attempted payouts, transfer, account link generate etc

atomic shuttleBOT
#

@jade trench pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Sales tax calculated manually by given the tax rate and it calculate on its own

What actually happened?
In the invoice, there is a line item called Sales Tax with the tax amount

Reproduction Steps
Recurring subscription charges

Question
Recently, we noticed there was a weird occurrence where there is a line item called Sales Tax and additionally the sales tax is charged on the invoice as well, so they are double taxed. My question is what is causing this line item

an example would be this invoice: in_1PQAalDnkobEEnenUM8WWDzR

What are you working on?
Collecting Taxes from customers

#

@elder fable pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to simulate a dispute for an invoice. I tried using a dispute test card but it seems like "charge.disputed" webhook arrives before the "invoice.payment_succeeded" which makes it difficult to test.

I also tried using "issuing/disputes" api call manually to try to create a dispute, but it seems like i need an issuing transaction ID which I am unsure where to get.

Is there a better way to test such dispute scenario? I'm basically trying to "invoice.payement_succeeded" and then invoke "charge.disputed"

Related Request ID(s)
N/A

What have you already attempted?
stripe test card
https://docs.stripe.com/api/issuing/disputes/create

What are you working on?
simulating a dispute after invoice has been paid

#

@solemn shadow pressed the πŸ“‘ API button in #help to ask a question:

Question
Couple Web Payment / paymentIntent integration

Related Request ID(s)
na

What have you already attempted?
I have 3 questions:

1) Is it possible to display the 4 payments messaging that comes from Klarna and Afterpay outside of the web element? If I were integrate klarna on my own outside of Stripe, you can, just curious if there is a way to do it

2) Klarna doesn't always offer 4 payments, only pay in full. Not sure what to look for here?

3) Payment method icons, are very small, is it possible to increase the size of them? (See Image)

What are you working on?
Web element / payment intent integration custom checkout

atomic shuttleBOT
#

@mellow rivet pressed the πŸ“‘ API button in #help to ask a question:

Question
We are implementing payment links in our application. We want to show a similar Buy Button UI element to the one in Stripe, where the user can see and copy the JS code for the buy button for the payment link.

To do this, we need the buy-button-id, however I cannot find anything in the API docs about how to get this ID

Related Request ID(s)
None

What have you already attempted?
I had hoped it was just the same ID as the plink_XXX but with buy_btn_XXX but that wasn't the case. I see nothing in the Payment Links API referencing a buy button ID either

What are you working on?
Banking services for nonprofits

atomic shuttleBOT
#

@vocal wagon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I don’t have a code, I have a question about how to embed stripe checkout on my Sellix store page.

Question
I reached out with stripe support to activate merchant chargeback protection, they told me I need to embed a code in my sellix store to activate payment checkout and become eligible to have that option. I have no idea how to do that, they told me I need a developer to do it.

What have you already attempted?
i haven’t attempted to do anything as I have no idea how to do it.

What are you working on?
I have a sellix store page and I want to activae stripe merchant proteftion by embedding a stripe code into my sellix theme.

#

@wheat stump pressed the ❌ An Error button in #help to ask a question:

Error Message
This error is shown in browser console:

https://js.stripe.com/v3 0:334197 "Unhandled payment Element loaderror" Object
Uncaught Object: Could not retrieve elements store

Question
I use Stripe Payment Element.
I have an automated test that works most of the time. But rarely I have an error in browser console in it.
I'd like to understand what this error means and why it could have happened.

What have you already attempted?
Searching Slack here and reading Stripe documentation

#

@wanton siren pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am getting a: StripeInvalidRequestError: Top-ups are limited to $5,000.00 USD per week. If you need a higher limit, please contact us via https://support.stripe.com/contact.

What actually happened?
I am trying to test the user balance to see if it works, but cant even test since I am getting the above error

Reproduction Steps
I reached out earlier regarding issuing balance

Question
I am on test and still getting that error, is that also something we could raise?

What are you working on?
SplitPay

#

@analog tulip pressed the πŸͺ Webhooks button in #help to ask a question:

Question
checkout.session.completed doesn't fire up

Related Event ID(s)
evt_1PQF4xF9VtVx6MBBZENOMrHP

What have you already attempted?
We tested the live checkout webhook, and for some reason, the checkout.session.compelted and charge.succeeded didn't fireup, even though the payment went through

What are you working on?
connectWebhooks

atomic shuttleBOT
#

@signal temple pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
first time using stripe, and very much a junior dev. i have combed the docs but they are a beast so looking for advice/

is there a best practise way to offer (restaurant) gift cards as a product? ideally I would like to send an email to the business, not the customer that they have a new order. it’s a tiny restaurant and want it to be as easy as possible for them.
sorry if this is a painfully rookie question!

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions
https://docs.stripe.com/webhooks

What are you working on?
trying to notify client (not customer) they have an order

atomic shuttleBOT
#

@glossy pecan pressed the πŸ“‘ API button in #help to ask a question:

Question
Using the Prices API and passing parameter type (according to documentation). Response says that it is unrecognized.

Related Request ID(s)
req_C349pXYh6QxjTO

What have you already attempted?
This works when I remove the type, but I'd like to state whether the price should be recurring or one-time. Should I only specific this when creating a subscription?

atomic shuttleBOT
#

@versed lodge pressed the πŸ“‘ API button in #help to ask a question:

Question
Previously, we had used Stripe to test the payment to see if this feature has worked before or not. I have a stripe test key, an sk_ that is in our API project and our App project makes a call to it when we add a credit card.

However, while this has worked before, we are not getting an error "Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. "

I am a new dev and as a result unfamiliar with this

Related Request ID(s)
n/a (The main owner for the Stripe account has not given me access)

What have you already attempted?
I have attempted to try and replace the key with something else, from the website but that did not make a difference, I tried to test it locally but also got an error 404 error.

I also tried looking it up and got some sources saying I need to use Stripe.js. However, since this a test account, I am unsure why this is an issue that pops up and a previous dev stated that this has never been an issue before.

What are you working on?
A website that has a component that accepts credit card

atomic shuttleBOT
#

@pale garden pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Expect the Payment Element to display Stripe Link UI for manually passed in emails in React

What actually happened?
When manually passing in an email to the element via the `defaultValues` prop, the Stripe Link UI only appears if the email already has a Link account associated with it. If no account is associated, the Payment Element renders as default with no Link UI or ability to sign the user up

Reproduction Steps
1: Collect user email
2: Pass email to Payment Element via defaultValues.billingDetails.email
3.1: See Link UI in Payment Element if the email is associated with an account
3.2: Do not see any Link UI if the email is not associated with an account already

Question
I am integrating Stripe Link into my checkout experience via the Payment Element in React. Following the available documentation, I have attempted to pass in my customer emails via the `defaultValues` option on the element. The issue is that if I pass an email that does not already have a stripe link account associated with it, no link UI appears on the element at all

What are you working on?
Integrating Stripe Link into my checkout experience

atomic shuttleBOT
atomic shuttleBOT
#

@ivory gulch pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, we decrypt Apple Pay and Google Pay payloads and send Stripe the decrypted DPAN, cryptogram, ECI. This seems undocumentated. Kirby from Stripe once sent us sample code for Apple Pay, but we do not have the same for Google Pay

Related Request ID(s)
na

What have you already attempted?
We are sending the same as we do for Apple Pay but we are getting back

{
"code": "invalid_request_error",
"message": "Tokenization method 'google_pay' requires a tokenized card number with a cryptogram. Use 'android_pay' instead."
}

atomic shuttleBOT
#

@devout pasture pressed the πŸ“‘ API button in #help to ask a question:

Question
What is the correct way to add WeChat and AliPay to an app using stripe api to add these payment methods if using subscription or a single payment

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

#

@tardy fractal pressed the πŸ“‘ API button in #help to ask a question:

Question
How to fulfil the order for the invoice which revenue recognition is deferred

Related Request ID(s)
NA

What have you already attempted?
Stripe Docs

What are you working on?
Stripe Integration with Salesforce

#

@lunar nexus pressed the πŸ“‘ API button in #help to ask a question:

Question
We have an issue where some legacy payment methods are stored for our customers, that are not part of a new feature and this causes user confusion.

Therefore we need to detach some historic payment methods.

We are ready to implement this change. We wanted to double check before we run this change that the activity will not raise any issues with Stripe as the activity patterns will be different to the normal activity of our integration with Stripe.

Related Request ID(s)
None yet - we haven't run the script

What have you already attempted?
We have tested our change on the sandbox and are just wanting to check we won't raise alarm bells. We expect the script to make about 30k calls. We've rate limited to 1 request per 200ms

What are you working on?
Our integration is a web app that takes credit card payments

atomic shuttleBOT
#

@candid widget pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payouts#payout-fees

Question
Is it possible to set a minimum limit on the amount you want to withdraw?

What have you already attempted?
Is it possible to set a minimum limit on the amount you want to withdraw?

atomic shuttleBOT
#

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

Error Message
currency_not_supported

Question
Hey, I created another recurring price for the same product, only changing the currency from MXN to USD. I manually canceled users' MXN subscriptions with their permission, switching them to the USD price with a trial period. After the trial ended, attempts to charge the users' credit cards failed due to the error "Your card is not accepted for this currency".

What have you already attempted?
Users tried adding different credit cards and contacted their issuers, who confirmed no issues or currency limitations on their end, this made sense because all previous MXN subscriptions were paid automatically without any issues.

Reproduction Steps
--------------------

What are you working on?
SaaS

atomic shuttleBOT
#

@quiet moat pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/paynow/accept-a-payment

Question
I want to implement this PayNow in Android (Java) code.

What have you already attempted?
We tried Javascript implementation in webview but it did not work

What are you working on?
PayNow Implementation in Android mobile app.

#

@steel inlet pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payment-links/api

Question
We would like to give our customers the possibility to pay their invoices using Payment Links. To do this we need to create a Payment Link with a custom amount for each one (the Invoice's amount), but after reading the docs seems that your tool only support passing a Stripe price-plan ID instead of a float value of the desired amount.

Is there any way to do this?

What have you already attempted?
Nothing yet

What are you working on?
ERP Platform

atomic shuttleBOT
#

@inland salmon pressed the πŸͺ Webhooks button in #help to ask a question:

Question
this erroc come to my email"0 requests had other errors while sending the webhook event.
This error came to my email: '0 requests had other errors while sending the webhook event.' It is related to the webhook. They said they'll stop the webhook after 3 days. I corrected this error. Now, what should I do? Should I delete the webhook and create a new one, or can I keep this webhook?

Related Event ID(s)
all events

What have you already attempted?
Before, I sent a 400 status code for some events. Now, I send a 200 status code for every event that comes to the endpoint

atomic shuttleBOT
#

@hot heron pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Is there a way to prevent subscription renewal?

I want to cancel my customers subscription at the end of a period in certain cases.
I do this with the cancel_at_period_end flag.

However in their billing portal they always have the option to renew their subscription.

Is there a way to prevent this?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/cancel?dashboard-or-api=api#reactivating-canceled-subscriptions

What are you working on?
Domain Registry

atomic shuttleBOT
#

@fierce mortar pressed the πŸ“‘ API button in #help to ask a question:

Question
Been using an api request to get the payment method on a customer. This morning it's started returning a 404 error. I can find the customer by the id and the payment method by the id attached to the customer. Not sure what else might have changed.

Related Request ID(s)
req_89oANW4haOqEOV

What have you already attempted?
Payment methods api docs suggest it's fine.

What are you working on?
Incormoprating Stripe webelements

#

@thorny stream pressed the ❌ An Error button in #help to ask a question:

Error Message
You can’t create a portal session in live mode until you save your customer portal settings in live mode at https://dashboard.stripe.com/settings/billing/portal.

Question
I am trying to create a portal session for my connected accounts customers. I am providing the customer id of the connected accounts customer, and then providing the stripeAccount header as the connected accounts account id.

What have you already attempted?
I have saved my settings on the dashboard under /settings/billing/portal but that is for my connected accounts portal.

What are you working on?
An invoicing platform

#

@storm cairn pressed the πŸ“‘ API button in #help to ask a question:

Question
trying to calculate tax in test mode, but always receive back an exception 400 bad request with message: Stripe Tax has not been activated on your account. Please visit https://dashboard.stripe.com/test/settings/tax/activate to get started.
error log URL: https://dashboard.stripe.com/acct_1PQ4xbAoSN5FqK2L/test/logs/req_mWfZqMcy9x0jPU?t=1718089664
I visited tax settings page, provided an address, but still receive the same message. Could you please help me to figure out what I'm doing wrong, or what I have to do to calculate taxes?

Related Request ID(s)
req_mWfZqMcy9x0jPU

What have you already attempted?
Stripe console
Documenation

What are you working on?
Stripe Tax Integration into a SaaS product

atomic shuttleBOT
#

@cyan stream pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hi all! I hope you can help me out. I am looking for technical assistance with the integration of Stripe in a WordPress website for a client.

This client sells subscriptions and wants new customers to pay a proportional amount of the year price so that the new subscription year will always begin on the first of January. I guess I need webhooks for this, but I get stuck.

Related Event ID(s)
stripe developers

What have you already attempted?
I tried to link products to subscriptions but that does not work, since subscriptions always need to be linked to a client. This does not seem to work for new clients.

What are you working on?
I guess I need to do something with webhooks, but since I am not a developer I get stuck here. Hope someone can help me out. Any help is much appreciated!

atomic shuttleBOT
#

@fiery sapphire pressed the πŸ“‘ API button in #help to ask a question:

Question
I currently use the SEPA Direct Debit Payment with the sources api using WHMCS. But for the last few days my customers cannot pay me using SEPA anymore. I recently received an email that this will be blocked at August 15, but it is already blocked for me! Please tell me how to request a payment intents api. The migrator tool didn't fix my issue

Related Request ID(s)
pi_3PQPD9CjH33HHknz1AUGzJh0

What have you already attempted?
I tried the migrator tool that stripe made available, i updated whmcs so that the plugin uses the payment intents api https://docs.whmcs.com/payments/payment-gateway-modules/stripe-sepa/
And i reacreated api keys.

What are you working on?
WHMCS hosting platform

#

@tawny nest pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a question regarding `exchange_rate` on balance transactions. It looks like its rounded to 4 decimal places. Is this correct?
If you round the `exchange_rate` to 4 decimal places, why does not the calculated amount use that rounded value?
Example balance transaction txn_3PLoLoDLFYFhDOwQ0gWG6ru6, charge ch_3PLoLoDLFYFhDOwQ0zMwE1SE
Charge amount: 200000
BT exchange rate: 11.2905
BT amount: 2258096

200000 * 11.2905 = 2258100 (not 2258096)

Is this expected bahaviour?
Which field is the most accurate reflection of the balance in Stripe?

Related Request ID(s)
req_1pDGSyfS6rDbqY

What have you already attempted?
We are handling bookkeeping and need to match the stripe balance as a claim on our end. Should I just not use the exchange rate in this case and just use the amount in the balance transaction?

What are you working on?
Automated bookkeeping of Stripe transaction

atomic shuttleBOT
#

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

Error Message
Blocked by a default Radar rule due to a high risk of fraud. Adjust your blocking threshold in Radar risk settings

Question
I would like to know why all my transactions are being blocked.
I have all Radar rules disabled and still keeps blocking all transactions

What have you already attempted?
I disabled all rules
Also I changed payment method country to argentina because I'm trying to use argentinian pesos.
I'm trying with card 424242424242...

#

@fiery stirrup pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
fun collectSetupIntentPaymentMethod() {
collectSetupIntentCancelable = Terminal.getInstance().collectSetupIntentPaymentMethod(
setupIntent!!,
customerConsentCollected = true,
getCollectSetupIntentCallback()
)
}

Question
When using the Stripe Terminal Android SDK, is it possible to cancel a `Terminal.getInstance().collectSetupIntentPaymentMethod()` process if the returned cancelable is lost? Ex. The app was restarted while the process was running.

What have you already attempted?
Reviewed the SDK docs trying to find a solution to this. No luck so far.

What are you working on?
Flutter (Android / iOS) Terminal app

atomic shuttleBOT
#

@cobalt lion pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi im using elements in laravel, but i notice that i can click the payment button more then once and it seems to do more transactions. How can i disable that please

Related Request ID(s)
Stack overflow

What have you already attempted?
Stack overflow

#

@olive heron pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Cannot retrieve subscription after it has been cancelled. When cancelling the subscription with `await stripe.subscriptions.cancel(subscriptionId);`, I'm getting undefined here: `const subscriptions = await stripe.subscriptions.list({
customer: customerId
});`

What actually happened?
I expected to still be able to retrieve the subscription. I want to allow users to use their subscription until the end of the cycle, which is why I've set `cancel_at_period_end: true` when creating it in the beginning.

Reproduction Steps

  1. Create subscription with 14 days trial and cancel_at_period_end: true
  2. Cancel subscription
  3. Try to retrieve the subscription, it will be an empty array (`const subscriptions = await stripe.subscriptions.list({
    customer: customerId
    });`)

Question
I must be able to know when:
- a user is using a trial
- has been cancelled and whether he is still allowed to use the application or not. He would be allowed to use the application if he is still within the cycle but not afterwards.

What are you working on?
Software as a Service for Facebook Ad Manager

#

@deft river pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
After use Save Card with Link payment should be not fill the card info again and the Payment with Link button should show the email was saved before on react-native apps

What actually happened?
After use Save Card with Link payment, in the second checkout the Card form is not fill the card info again and the Payment with Link button not shoed the email was saved before on react-native apps

Reproduction Steps
Step 1: At checkout page, fill the card info, and checked the save card info for link & checkout
Step2: Go Back again to checkout second page the save card checkbox disapeared, the Payment With Link button still not the saved email and still need to fill card info again

Question
Im using react-native-stripe: 37.2 version. And using PaymentSheet component

#

@vagrant ibex pressed the πŸ“‘ API button in #help to ask a question:

Question
Can't retrieve subscription from stripe
$subscription = $stripe->subscriptions->retrieve('---', ['expand' => ['latest_invoice']]);
dsm($subscription->toArray());

it looks like canceled subscriptions can't be retrieved by id?

Related Request ID(s)
none

What have you already attempted?
retrieve subscription

atomic shuttleBOT
#

@austere pawn pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
setting canadian-pre authorized debit amount to 2000 manually from stripe dashboard(normally it can be between 0.5 to 3000 canadian dollars)

What actually happened?
user can still pay invoices more than 2000 cad that is set in the canadian-pre authorized debit settings

Reproduction Steps
set the canadian-pre authorized debit amount to 2000
create a checkout page which is more than 2000 cad
try to pay it and you will be able to pay

Question
when we set the max amount to 2000 for example, the invoice (checkout page) that is set more than 2000 shouldn't be blocked/restricted?

What are you working on?
canadian pre authorized debit payments

atomic shuttleBOT
#

@keen belfry pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello everyone!

My question is about stripe connect and the best practices for my scenario.

Each seller has their own express connect account, so they can get payouts from their services.

Customers can fill their carts with multiple services before heading to checkout. Since services might take up to a week to deliver, transfers need to be processed manually after the seller has done the service.

The customer should be able to make the payment altogether and after that each order should be handled individually.

Is this possible to do with stripe connect, and how would I do it? thx :)

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

What are you working on?
Ecommerce virtual service store

#

@round anchor pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello, I want to set the API version to You have to create a new webhook and choose the version 2023.10.16, before I allowed it to be selected and no longer. How could I change it?

Related Event ID(s)
N/A

What have you already attempted?
I have tried to change it through code but I don't know.

#

@acoustic belfry pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello, We are implementing new integratin for Stripe using oAuth flow in test mode

we are using:
accountId: acct_1PQ3niFCMR2CSvcs
client ID: ca_QGbJfFLoTF2fg8ditgr7oX1RVARA6h4N
secretKey: sk_test_51PQ...

also we created another one account acct_1PQS2LHOgBsfft6i to test the oAuth flow.

we successfully received back the token and refresh token in the end of the flow and tried to make a request to calculate taxes, but received back 400 "Stripe Tax has not been activated on your account. After that we visited the page https://dashboard.stripe.com/test/settings/tax/activate and activated taxes

Related Request ID(s)
req_WoE5QC5cA2hlmC

What have you already attempted?
everything is in the description

What are you working on?
integration with Stripe using oAuth flow

#

@charred lichen pressed the πŸ“‘ API button in #help to ask a question:

Question
Does crypto onramp API support React native, as the docs only mention the SDK being imported as a HTML

Related Request ID(s)
N/A

What have you already attempted?
Looked through docs

What are you working on?
We are building a private jet company.

atomic shuttleBOT
#

@jade apex pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to test error scenarios for card token endpoint (https://docs.stripe.com/api/tokens/create_card). ON TEST MODE, I want this endpoint to return an error response, such as "incorrect_number" error. But on test environment, this endpoint seems to return success message regardless of whatever card details I provide. How can I make it return error response?

Related Request ID(s)
N/A

What have you already attempted?
I've attempted entering non-existent card numbers on test mode. But it seems like on test mode this endpoint doesn't return incorrect_number error response for non-existent card numbers.

What are you working on?
I'm working on implenting error handling for card token creation endpoint. For this reason, I want to reproduce getting error response from this endpoint ON TEST MODE.

atomic shuttleBOT
#

@modest elk pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How im supposed to attach the credit card details to a payment method once created the setup intent ?

Doc/Guide Links
Ive created a customer, and i want to attach a payment method to that customer with no payment needed. I understand that it is creating a setupintent, but i dont know how to attach the credit card details nor the customer id . Im using php.

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

What are you working on?
Trying to add a payment method to an existing customer.

#

@covert bane pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have received an email saying that they were unable to deliver the webhooks events of my Stripe account.

Related Event ID(s)
evt_1PO6zzBqKvMebV34a7TBKNUX

What have you already attempted?
Nothing, I do not know what to do

What are you working on?
I want to keep that notifications about the webhooks

#

@normal brook pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi,

I am looking to integrate Stripe with an eCommerce website and want to know the best practice here. Should I take the payment before placing the order OR the order should be placed before taking the payment? The later approach has its own benefits related to handling of error cases etc.

Doc/Guide Links
https://softwareengineering.stackexchange.com/questions/319658/do-you-create-an-order-before-or-after-payment-on-an-ecommerce-site

What are you working on?
Buildng an ecommerce website

#

@sharp arch pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
How can I use the new metered billing when a customer has multiple subscriptions of the same product/price and each subscription should track it's usage on it's own?

Or is it recommended to use the old/legacy usage-based-billing for that use case, even though it's a new project/codebase?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/multiple-products

https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage

https://docs.stripe.com/billing/subscriptions/usage-based-legacy

What are you working on?
A B2B-SaaS application where users pay a flat fee and a metered price separated into multiple subscriptions

atomic shuttleBOT
#

@fiery wind pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/bank-transfer

Question
Hi! I am trying to add Bank Transfer to a customers subscription. The subscription is 5000 SEK and the default currency for the customer is SEK.

What have you already attempted?
When trying to save I get the error:

Could not update subscription
The payment method type `customer_balance` does not support the currency sek.

What are you working on?
SaaS platform for digital loyalty systems

atomic shuttleBOT
#

@fossil mortar pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
console.log('do i make it here')
console.log(await elements?.getElement('address')?.getValue())
const { complete, value } = await addressElement.getValue()

Question
I am trying to extract info from the address element here -- the second line is attempting to log the resolution of the promise that retrieves the value. that promise never seems to resolve... the third line never fires because awaiting the result of getValue() just hangs. i can provide more code if necessary

What have you already attempted?
i've read a bit trhough the elements docs and how to retrieve values from specific elements. if i remove the block of code that attempts to read from the address element, the payment flow is fine and completes without issue

#

@drifting lotus pressed the πŸ“‘ API button in #help to ask a question:

Question
I need help to use the clone payment method among connected accounts.

Related Request ID(s)
cus_QH2nWv8tQQTEg1

What have you already attempted?
I tried so many times to make a clone of the payment method from a user, but all the time I'm receiving an error which that customer wasn't created.

What are you working on?
Marketplace

#

@modest elk pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Ive managed to create a customer, after creating a setup intent, ive added the credit card details using elements from Stripe, but how can i set that payment method to be the default one ?

Doc/Guide Links
Im using php and react to make this work.

Ive managed to create the customer and the setup intent in the backend, but for the credit card details i used react with stripe elements to attach the credit card details along with the client secret.

Everything went well, is just that i want to set that payment method to be the default one automatically.

What are you working on?
When adding a payment method to an existing customer with no previous payment, i want it to be the default one.

#

@crystal anchor pressed the πŸ“‘ API button in #help to ask a question:

Question
can you guys please reference tipbux_api thread for an update - we need to continue from there

Related Request ID(s)
req_Xd831VQrfU8JoZ

What have you already attempted?
Currently we have a master "Connected Account" that holds and disperses funds to users digital wallets. And each user has a connected account created so they can receive their funds. The issue is collecting the fee from each users transaction

What are you working on?
digital wallet for send and receving money from wallet to wallet and withdrawing funds from wallet

#

@manic prawn pressed the ❌ An Error button in #help to ask a question:

Error Message
"code":"UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR","message":"Contactless transaction failed com.stripe.core.aidlrpc.AidlRpcException: Failed to send request to AIDL server."

Question
I have a customer attempting to make a payment on their mobile device, but they are receiving the attached error message.

They are on a Samsung Galaxy S24+, Android 14

My app uses @stripe/stripe-terminal-react-native": "^0.0.1-beta.14

What have you already attempted?
I am not familiar with this error, not sure how to proceed

#

@supple karma pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello there,
We're using native iOS sdk to implement stripe payments using PaymentSheet.

The problem: card payments are showing up and working well, but Apple Pay button is not showing up.

On server side we use dotnet sdk (v41.13.0) to create PaymentIntent.
If we add apple_pay to PaymentMethodTypes, we would receive the next exception:

Stripe.StripeException: The payment method type apple_pay is invalid.

If we do not add apple_pay as Stripe support suggested - we're not seeing Apple Pay button too.

In Stripe admin panel our domain is verified, apple pay, is added, as well as certs.

Related Request ID(s)
req_gZvyfICs9GReMB

What have you already attempted?

  1. re-upload domain verification file.
  2. running in test / live mode and testing in different regions like US and Ukraine.
  3. We sent our server side code to Stripe support and they validated our implementation.

What are you working on?
iOS app with stripe payments using native iOS sdk.

#

@cyan swallow pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
search_result = cls.client.search(
collection_name=cls.collection,
query_vector=input_vector,
limit=cls.limit,
score_threshold=cls.score_threshold,
)

Question
How can I set score_threshold to be within a range?
for example, I want to get results, that the score_threshold is between 0.4 and 0.8.

What have you already attempted?
search_result = cls.client.search(
collection_name=cls.collection,
query_vector=input_vector,
limit=cls.limit,
score_threshold=cls.score_threshold,
)

#

@fiery stirrup pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
https://stripe.dev/stripe-terminal-android/external/com.stripe.stripeterminal.external.models/-connection-configuration/-bluetooth-connection-configuration/index.html

Question
When using the Stripe Terminal Android SDK, is it possible to set the failIfInUse value to false for BluetoothConnectionConfiguration?

What have you already attempted?
Asked a previous question in the channel and I got this suggestion but I think it won't work.

What are you working on?
Android / iOS Terminal implementation

#

@fathom comet pressed the πŸͺ Webhooks button in #help to ask a question:

Question
When user pays on Stripe, i can see that they successfully pay and the webhook is sent, but after few minutes I get one more payment_faild for the same user even if the user allready paid for the subscription

Related Event ID(s)
/

What have you already attempted?
I just saw this in webhooks, and don't understand why it is happening.

What are you working on?
An app that has subscription payments

atomic shuttleBOT
#

@meager venture pressed the πŸͺ Webhooks button in #help to ask a question:

Question
The live server is receiving test mode webhooks. I cannot figure out why! The test webhooks are going to uat.*, but it's also sending them in live?

The example event ID is test mode, but can be seen on the non-test mode Stripe dashboard.

Related Event ID(s)
evt_3PQVORGDjuuNKWds1FO2b8LN

What have you already attempted?
I have double checked the webhook URL's for my application in both Test mode and non-test mode. The test mode ones does not contain the live site. The non-test mode only contains the live site.

Despite this we seem to get test mode webhooks being sent to the production site.

What are you working on?
Maintaining a SaaS

atomic shuttleBOT
#

@ancient bison 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#payment-window

Question
I read https://docs.stripe.com/billing/subscriptions/overview#payment-window and https://docs.stripe.com/billing/subscriptions/overview#failed-payments but I am a bit confused. If we set subscription to auto charging, does 23 hours rule apply to auto charging subscription? if we auto charge but failed, it will go 23 hours rule or our custom retry rules?

What have you already attempted?
I feel Payment window and Failed payments are conflict

What are you working on?
we are trying to building subsciption system for instalment payments

#

@ruby walrus pressed the πŸ“‘ API button in #help to ask a question:

Question
I recently discovered that the CustomerService (in .NET SDK) uses case-sensitive email search, which is resulting in unnecessary duplicate customer creation. Is there a way to override this behavior?

Related Request ID(s)
n/a (get requests don't seem to be viewable in the log)

What have you already attempted?
var custService = new CustomerService();
var customers = custService.ListAutoPaging(new CustomerListOptions { Email = email }, requestOptions).ToList();

// only returns customers with email addresses in the exact same casing as {email}

#

@grand sandal pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
To create a UAE connect account under a loss-liable UAE platform account, in accordance with https://support.stripe.com/questions/connect-availability-in-the-uae, which says "the Platform is liable" ... "Connected accounts in this case can only have the transfers capability."

What actually happened?
Received the following error: `Platforms in AE cannot create accounts where the platform is loss-liable, due to risk control measures. Please refer to our guide (https://support.stripe.com/questions/connect-availability-in-the-uae) for more details.`

Reproduction Steps
Request-Id: req_h88yNH22362qKv

Question
https://support.stripe.com/questions/connect-availability-in-the-uae says "the Platform is liable" ... "Connected accounts in this case can only have the transfers capability." How can we configure the platform to allow the UAE platform to create UAE connect accounts?

#

@ancient ibex pressed the πŸ“‘ API button in #help to ask a question:

Question
We're importing data from Stripe into our API through Connect. Doing so account by account. For one particular account it's exceeding slow and also doesn't seem to respect the "limit" we set when fetching Payment Intents. We're setting it to 100, but it's returning far less.

Related Request ID(s)
req_fvqpIhwZpWD5xc

What have you already attempted?
We increased the logging threshold to see if Stripe was returning anything else, like 429s, but we don't see anything.

What are you working on?
a portal for our customers to manage their contributions

#

@amber musk pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-js/react#elements-consumer

Question
Hello everyone. I'm having some issues with custom flow integration. I copied the example from the docs, and it works on the local dev server, but when I upload it to the production server, it doesn't work. The payment element is not loaded and I get the following error.

"Could not retrieve elements store"
name: "Error"
stack: "25515/e/<@https://js.stripe.com/v3/fingerprinted/js/controller-2d6e3505eac56744a0b93c01148bda33.js:1:594507\nn@...

Does anyone know what might be the problem?

What have you already attempted?
I suspected that the problem might be in displaying the payment element before the stripe loaded so I added a check to see if the stripe and elements objects are set and if they are, then display the payment element, but I got the same result.

What are you working on?
Registration fees implementation for the Peer-to-Peer add-on for GiveWP

atomic shuttleBOT
#

@blissful patio pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
In the webhooks context, how should I deal with multiple environments sharing the same Stripe account?

Im aware I can use `live_mode` to differentiate between test and live modes, but how should I handle multiple environments pointing to test mode?

Doc/Guide Links
https://docs.stripe.com/webhooks

What are you working on?
.

atomic shuttleBOT
#

@inland sluice pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The AddressElement (with allowedCountries: ['GB']) to reject zip codes outside the UK/GB

What actually happened?
We received an order through our UK checkout flow that had an address with a Jersey postal code. The country of the address is labeled United Kingdom (we force that), but the user entered in a Jersey address.

Reproduction Steps
Go to a Stripe Elements checkout with an GB-only Address Element (or go to eightsleep.com/uk and proceed to checkout), and enter in an address like
37 Esplanade
Fl 2
St Helier
ZZ2 3QE

The form should reject the address. But if you change the postcode to be correct: "JE2 3QE", the form has no complaints.

Question
My question is basically, is this expected behavior? The channel islands are not part of the UK or GB, and so I think it's unexpected that we allow customers to input addresses from those countries in our form. We could reject them on our side, but I would expect the AddressElement to handle this

What are you working on?
Single-page international eCommerce checkout

atomic shuttleBOT
#

@mossy oracle pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
private elementsInstance: StripeElements | null = null;

async createPaymentElement(): Promise<any> {
if (!this.elementsInstance) {
throw new Error('Elements instance is not set up');
}

const options = {
  layout\: {
    type\: 'accordion',
    defaultCollapsed\: false,
    radios\: false,
    spacedAccordionItems\: true
  }
};

return this.elementsInstance.create\('payment', options\);

}

Question
Why do I Get Overload error:

The argument of type "payment" cannot be assigned to the parameter of type "issuingCardCopyButton".

I want to make a paymentElement not issuingCardCopyButton

I am Using Angular 18 with Stripe JS in Visual Studio Code Editing

What have you already attempted?
I already tried to create the Element in different Ways as mentioned on the Stripe Website

What are you working on?
Making the Payment Element look in accordion way

#

@solid sigil pressed the πŸ“‘ API button in #help to ask a question:

Question
We provide additional functionality such as fee recovery. Now, with Stripe Elements, the user may choose from many payment methods, the fees of which vary. Is there a way for us to know which payment method a user has selected in order to adjust things to correspond with that method?

Related Request ID(s)
n/a

What have you already attempted?
I haven't attempted anything, yet, as I'm not seeing a clear way to go about this. We have the integration all built and it's working, it just doesn't react to the changing payment method.

What are you working on?
GiveWP β€”Β a donation plugin for WordPress

atomic shuttleBOT
#

@reef vessel pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hello, we have a platform account in the United States and we want to start creating Custom Connected Accounts for sellers in the United Arab Emirates. Are Cross Border Payouts required for this scenario? I'm confused because the verification requirements doc says that these accounts must have "full" service agreements. I've also created a United Arab Emirates connected account in test mode (`acct_1PMcb6RugIMqsT06`) which had direct charges a successful payout without the cross border feature enabled.

Doc/Guide Links
https://docs.stripe.com/connect/required-verification-information#US+AE+none+full+company+card_payments,transfers
https://docs.stripe.com/connect/cross-border-payouts
https://docs.stripe.com/payouts?account-country=AE#adding-bank-account-information

What are you working on?
Platform which onboards sellers in the United Arab Emirates

#

@regal apex pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Balance transaction retrieve gives different exchange rate in Object than dashboard

Related Event ID(s)
none

What have you already attempted?
Check amount in charge

What are you working on?
API exchange rate

#

@dry ember pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a question about displaying saved payment methods (added using PaymentElement) to users.

Related Request ID(s)
No related request IDs

What have you already attempted?
We are currently listing these manually, but there's a screenshot on the Stripe website showing saved payment methods in what looks like a PaymentElement-type element.

What are you working on?
We're overhauling our Stripe implementation.

atomic shuttleBOT
#

@storm ingot pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
card.checks.address_postal_code_check in payment method event

Question
Hi there, currently we are using the payment element in our sign up workflow. However it seems to allow users who has failed `card.checks.address_postal_code_check` in payment_method to proceed. Ideally, we would want to fail because the postal code is incorrect, and how the appropriate error message. How do you do that?

What have you already attempted?
n/a

What are you working on?
Payment element is working fine

atomic shuttleBOT
#

@hearty goblet pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When User press 'Tab' key. the next input be ready and able to receive data.

What actually happened?
The focus changes, but the input do not works

Reproduction Steps
I'm using:
import { CardCvcElement, CardExpiryElement, CardNumberElement } from '@stripe/react-stripe-js';

Question
How to fix this to work as expected?

#

@oblique plover pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
this.paymentElement = this.elements.create('payment', {
layout: {
type: 'accordion',
defaultCollapsed: false,
radios: false,
spacedAccordionItems: true
}
});
this.paymentElement.mount('#payment-element');

Question
I have a screenshot from last week where google pay is available when viewing our payment page but now I cannot get the google pay option to show up. This is for local dev and we are trying to newly implement wallets so I need to force this option to show up for testing.

What have you already attempted?
I thought it might be a local SSL cert issue, but that's not the case.
I thought it might be because i added the address element, so I removed it but it didn't change the behavior.
They want this option shown to every customer

What are you working on?
We are adding wallets to our payment implementation

#

@rustic gazelle pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using stripe API and custom checkout page for creating and upgrading subscriptions for my SaaS tool. Everything works fine but the invoice/success emails are not sent to the customer automatically. Should I use the APIs to sent it or is there any way to configure that within the dashboard ?

Related Request ID(s)
1234

What have you already attempted?
I am migrating from Chargebee, where everything was automated. So I was checking whether stripe have the same features or not.

What are you working on?
Subscription management for a SaaS application

#

@eager idol pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have some products on Stripe. I enabled Stripe tax, but some tangible items are charging sales tax and some are not. How can I make all products charge sales tax?

Doc/Guide Links
https://docs.stripe.com/tax/set-up

What are you working on?
I am just building a product selling platform.

#

@whole olive pressed the πŸ“‘ API button in #help to ask a question:

Question
We have "connected" accounts, we are doing a payment intent for the connected account, and we are trying to use it for the confirm, but it doesnt work.

What is the correct way of doing what we want to do (pay out to the connected account)

payment intent not found

calling: stripe.paymentIntents.create
and passing
{
// charge processed by the connected stripe account
stripeAccount,
}

in the second argument

then doing :

stripe.confirmCardPayment(
paymentIntent.client_secret,
{
payment_method: paymentMethod.id,
},
);

Related Request ID(s)
none

What have you already attempted?
my main developer spent hours trying different things using the test env,

What are you working on?
digital rights marketplace and api

atomic shuttleBOT
#

@tulip fox pressed the πŸ“‘ API button in #help to ask a question:

Question
When confirming a payment, the API does not keep the value we send for application_fee_amount and it is replaced by the default stripe rates.

Related Request ID(s)
req_hORU5K3NJJ2SHW

What have you already attempted?
Cannot find the reason why this is not working...

What are you working on?
Payment solution for taxis

atomic shuttleBOT
#

@floral pollen 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/subscription-schedules#phase-length

Question
Do intervals account for middle of the month or are they set to exactly one month from the time of the schedules have started?
IE: A user wants to downgrade their plan in the middle of the month. I want downgrades to happen at the start of the new billing cycle and upgrades to happen instantly with proration. For downgrades I create the subscription schedule, If their billing anchor is on June 1 2024, and they decide to cancel June 15 2024, if I put the interval to 1 will the next phase take effect one July 1 or July 15? Or should I use the start_date and end_date functionality?

What have you already attempted?
if (!currentSubscriptionSchedule) {
const schedule = await stripe.subscriptionSchedules.create({
from_subscription: stripeSubscriptionId,
});
scheduleToUse = schedule;
}

				const subscriptionSchedule = await stripe.subscriptionSchedules.update\(
					scheduleToUse.id,
					{
						phases\: \[
							{
								items\: \[
									{
										price\: currentSubscriptionPriceId,
										quantity\: newSeatQuantity,
									},
								\],
								start\_date\: scheduleToUse.phases\[0\].start\_date,
								end\_date\: scheduleToUse.phases\[0\].end\_date,
							}

What are you working on?
Custom subscription logic for a CRM

atomic shuttleBOT
#

@wide dome 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?platform=web

Question
I activated Apple Pay + Google Pay in the payment settings of my stripe account, Apple Pay works normally when I create a checkout session, but when I open the same checkout on an android device Google Pay doesn't appear.

What have you already attempted?
google pay on checkout

What are you working on?
I'm creating a checkout using stripe and would like to provide apple pay and google pay

atomic shuttleBOT
#

@mellow rivet pressed the πŸ“‘ API button in #help to ask a question:

Question
Trying to set an image for a product using a public google storage URL, and the URL is being saved in the images array of the product, but the image is not appearing in the dashboard.

Related Request ID(s)
None

What have you already attempted?
I'm using this endpoint: https://docs.stripe.com/api/products/update

To update the image. After updating it I can fetch the product and I see the URL, however when I look at the product in my dashboard theres just an empty space where the image should be. It doesn't show the default box image like when there is no image, but instead its just completely blank. The image URL is https://storage.googleapis.com/mazlo-assets-dev/adam/logo.png

#

@shell warren pressed the πŸ“‘ API button in #help to ask a question:

Question
When updating a customers/subscription default payment method should which shoudl I use?:

- `stripe.subscriptions.update(subscriptionId, {default_payment_method: 'pm_xxx...'});`
- `stripe.customers.update(customerId, {default_source: 'pm_xxx...'});`
- `stripe.customers.update(customerId, {invoice_settings: {default_payment_method :'pm_xxx...'}});`

Related Request ID(s)
none

What have you already attempted?
stripe.subscriptions.update(subscriptionId, {
default_payment_method: paymentMethodId,
expand: ['default_payment_method'],
});

atomic shuttleBOT
#

@wet mesa pressed the πŸ“‘ API button in #help to ask a question:

Question
Is it possible to create a subscription object to a client and make the client directly paying to it without him manually subscribing.

Related Request ID(s)
None

What have you already attempted?
Nothing specifically

What are you working on?
I am actually migrating data to my Stripe account from another Stripe account but it says that Subscriptions cannot be transfered which is a big issue because that is the main point of the migration.

atomic shuttleBOT
#

@coral basin pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I am using Stripe iOS SDK to implement Apple Pay on an iOS mobile application. We are aware that we can't use Stripe Test cards in Apple Wallet to test certain scenarios and can only use the Apple Sandbox cards. We are wondering what sort of validation happens between Apple Pay and Stripe when a payment token is created. (example: if Apple Wallet's card is now expired, or if it was a prepaid card that no longer has sufficient funds, etc (any negative cases) How does that get handled in Stripe and/or what are the best practices of handling that if it's not done on Apple/Stripes side?

Doc/Guide Links
Apple Sandbox: https://developer.apple.com/apple-pay/sandbox-testing/#:~:text=Test Cards for Apps and the Web

Stripe Testing / Integration Docs: https://support.stripe.com/questions/testing-apple-pay-with-stripe

What are you working on?
Stripe iOS SDK Apple Pay integration.

#

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

Error Message
Error processing Stripe Payment: The remote server returned an error: (501) Not Implemented.

Question
How do I fix this so I can charge items again?

What have you already attempted?
I have restarted the application that stripe is connecting to and restarted the whole computer using stripe. No change,

Reproduction Steps
When using Rock Gym Pro POS function to charge someone for anything through stripe, it fails to connect to stripe and this error message pops up.

What are you working on?
I am working in Rock Gym Pro to charge someone for anything.

atomic shuttleBOT
#

@cerulean pasture pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
payment-element and card-element

Question
how do i add a promocode to the element itself?

What have you already attempted?
Can not find anything in https://docs.stripe.com/payments/quickstart

What are you working on?
POS platform and SaaS

atomic shuttleBOT
#

@grand basalt pressed the πŸ“‘ API button in #help to ask a question:

Question
We had to switch to the Restricted API keys for Make, but now we're having issues with Webhooks failing, and then being disabled. Do I need to edit the key permissions or is there additional code I need to add to the client's site? All the key is doing is using Stripe payment links, and sending the client a notification (through Make). Make deprecated the use of the normal API keys, and changing over all our clients to R-API keys has been rough: there's a lot of documentation about services/aspects we're not even using. Help?

Related Request ID(s)
Switched from API Key to Restricted API Key - How can I set up my R-API to imitate the old key?

What have you already attempted?
Trying to discern what permissions should be None, Read, or Write on the R-API key. Doesn't seem to help. There's only one permission for Webhooks which I gave full access (Write). For example, here is one failed webhook endpoint: https://hook.us1.make.com/rwi5s0osvqx2v8w1kyx1tl6z5kqcztp8 for one of our accounts. The only service we're using is payment links, sending notifications to the client under 'payment intent succeeded', and initiating our own e-mail receipt through Make.

atomic shuttleBOT
#

@misty shuttle pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I am trying to access data objects created from a Transfer from a Connected account to the Platform account. The API indicates the relating object IDs do not exist when attempting to get them via the API.

Related Request ID(s)
req_gOP7wLU9ZPb7bX, req_yDyW7rKJEQAQ52, req_pYgEINhFlrCASt

What have you already attempted?
I have tried to use boththe BalanceTransactionID and the TransferID created from the Transfer. With both, API calls, I have tried to specify the StripeAccount to be the platform's StripeID in the RequestOptions. This did not change the result.

What are you working on?
I am trying to integrate unit tests into my dispute workflow to validate funds were debited from the Connected accounts as expected following a lost dispute.

#

@crude abyss pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Updating a subscription schedule phase to add a new item starting from the next billing period

What actually happened?
When trying to update a subscription schedule phase attached to a subscription i get an error message saying i need to have a start date, if i add a start day it complains that you cannot update the start date

Reproduction Steps
tried to update this sub_schedule: sub_1PPApOAq6ReFUKV8LbrHAiD3

Question
what is the right way to update a schedule that is attached to a sub that has already started

What are you working on?
Rental property management, A subscription invoices the tenant, we receive it and transfer it to the landlords connect a

atomic shuttleBOT
#

@leaden plank pressed the πŸͺ Webhooks button in #help to ask a question:

Question
In payment_intent.succeeded webhook, no payment details are shown. How can I get the amount, fee, net amount

Related Event ID(s)
evt_3PQgak01zV9CJGBu1xSrtNoB

What have you already attempted?
I've already tried

atomic shuttleBOT
#

@scenic dove pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The payment element to show US Bank Account (ACH Direct Debit) for recurring payments on Connected accounts

What actually happened?
It doesn't show US Bank Account option for recurring payments. It does show US Bank Account for one-time payments.

Reproduction Steps
Recurring payment page that should have ACH Direct Debit enabled: https://checkout-pages.checkoutpage.co/achexample

One time payment page that does have ACH Direct Debit enabled: https://checkout-pages.checkoutpage.co/ach-example-one-time

Question
I'm trying to allow ACH Direct Debit on recurring payments on our Connect platform, for a connected account in the US. In the links above, you see a connected account in the UK. On one-time payments, ACH Direct Debit shows up, but on recurring payments it's not listed. The docs don't specify additional steps for recurring payments: https://docs.stripe.com/payments/ach

What are you working on?
Checkout Page β€” a customizable checkout to sell products, events and subscriptions.

#

@deep hill pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const subscription = await stripe.subscriptions.retrieve(subscriptionId);
const subscriptionItemId = subscription.items.data[0].id;

const updatedSubscription = await stripe.subscriptionItems.update(subscriptionItemId, {
price: newPriceId,
});

Question
We are about to increase the subscription fee, but at this stage, we do not want existing users to be affected. Therefore, we plan to create a new price ID and make it available to new users while existing users continue to use the original price ID. The issue is, in the next phase, when we want existing users to start using the new price ID from the next cycle onward, which API should we use to update so that they use the new price ID from the next cycle to forever? Thank yo

What have you already attempted?
We are not sure if we should use subscription, subscription item, or subscription schedule API.

#

@deft river pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
After use Save Card with Link payment should be not fill the card info again and the Payment with Link button should show the email was saved before on react-native apps

What actually happened?
After use Save Card with Link payment, in the second checkout the Card form is not fill the card info again and the Payment with Link button not

Reproduction Steps
Step 1: At checkout page, fill the card info, and checked the save card info for link & checkout
Step2: Go Back again to checkout second page the save card checkbox disappeared, the Payment With Link button still not the saved email and still need to fill card info again

Question
Im using react-native-stripe: 37.2 version. And using PaymentSheet component and did follow are you using https://docs.stripe.com/payments/accept-a-payment?platform=react-native

atomic shuttleBOT
#

@bitter wolf pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am following the steps showed in the docs to validate the event with the signature, but all the validations fails, I almost copy and paste the same code but it still doesn't work

Related Event ID(s)
evt_1PQiPRGTdPdEZ8k1vEZKH77K

What have you already attempted?
I am using node js i followed the instructions, i used the raw parser but the events don't pass the validation. I am testing in a localhost.

What are you working on?
Personal project

atomic shuttleBOT
#

@versed moat pressed the πŸ“‘ API button in #help to ask a question:

Question
I have a subscription-based service, with some plans on monthly recurring and some plans on yearly recurring and some with just one time payment. can all these be handled through stripe?

Related Request ID(s)
no

What have you already attempted?
no

What are you working on?
Personal project

atomic shuttleBOT
#

@normal brook pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi Experts,

I asked same question in different thread 'vikram_fulfilment' but couldn't conclude the topic due to thread closure.

I want to know the best way to implement payment integration for ecommerce website.

I am in checkout journey and provides all the checkout details and then provides card information. Request goes to Stripe and while returning back to my success URL, connection drops. In such cases, I need to implement the webhook. The only problem I see here is the customer experience as customer may see that the payment is deducted but order is not placed. Please note that this is a web application. I am looking for expert opinion here.

Doc/Guide Links
https://softwareengineering.stackexchange.com/questions/319658/do-you-create-an-order-before-or-after-payment-on-an-ecommerce-site

What are you working on?
An ecommerce website

#

@mental scaffold pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I test or support multiple captures?

Related Request ID(s)
pi_3PQhUJ03VeQhUsAL0CMMb0Xa

What have you already attempted?
It seems to be available only with IC+ (not blended).
I do not know how to activate IC+ and/or multiple capture for my account and/or payment method VISA.

US account may not be supporting multiple capture for testing ?

https://docs.stripe.com/payments/flexible-payments
https://docs.stripe.com/payments/flexible-features-migration
https://docs.stripe.com/payments/multicapture
https://support.stripe.com/questions/understanding-blended-interchange-pricing
https://docs.stripe.com/payments/multicapture?locale=fr-FR

What are you working on?
I am testing the API right now and trying to test different card capture modes for French market. I want to keep my account linked to US.

atomic shuttleBOT
#

@sick flame pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm using Stripe Connect with Direct charges and transitioning from the old Charges API to the Payment Intent approach. I'm having a lot of trouble figuring out how to have the customer enter their payment information once, but pay multiple stripe connect accounts.

Related Request ID(s)
gcus_1PQfV5C4kphExpgHtnOlT95a, cus_QHEejxF9uO05XY

What have you already attempted?
Creating Payment Intents with a customer, and without a customer. creating payment methods. It seems that with Payment Intents and Connect I need to create a new customer for every merchant the customer wants to work with and clone the payment methods into each one? That seems awful

What are you working on?
A platform for selling products wholesale to retailers. its a similar model to Etsy, Ebay, or Faire. Each vendor is paid directly by the buyer.

#

@outer oasis pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
I have not written much code for this yet, I just want to know if my use case is possible with stripe or not as I am writing a proposal for a client.

Question
I have described (below) what I am working on. I just want to know if it is even possible or not.

What have you already attempted?
I have yet to start implementing anything. Just want to know if this is even possible with stripe or not.

What are you working on?
The client wants me to create an app where every user can create a time based challenge. People can join these challenges by paying an entry fee (STRIPE) and as

atomic shuttleBOT
#

@long gyro pressed the πŸ“‘ API button in #help to ask a question:

Question
I am encountering an issue when attempting to access files and create file links for documents uploaded by users during the verification process. Specifically, I am receiving the following error:

{"error":"To access sensitive verification results for verification processed more than 48 hours ago, add IP restrictions and appropriate permissions to this key. Learn more here: https://stripe.com/docs/identity/access-verification-results#ip-allowlist."}

Related Request ID(s)
ID : req_1xwn7R6JgiSAJY

What have you already attempted?
Our goal is to fetch the documents of verified users from Stripe Identity and display them on our portal for our customers. To achieve this, I have attempted to create a file link to download and fetch the documents, but I encountered an error during the process.I have followed the documentation related to IP restriction and permissions, but unfortunately, I have not been able to resolve the issue. Could you please provide guidance or support on how to correctly create a file link and access these documents? Here are the specific steps I have taken: Attempted to create a file link using the AP

What are you working on?
Here are the specific steps I have taken: Attempted to create a file link using the API. Ensured that IP restrictions and permissions are set according to the documentation.

atomic shuttleBOT
#

@frank wraith pressed the πŸ“‘ API button in #help to ask a question:

Question
How do i enable MOTO transactions via the API for a setupIntent creating a card token and then subsequent authorisations and captures?

Related Request ID(s)
N/A

What have you already attempted?
Added payment_method_options.card.moto = true to the request params.

What are you working on?
An ecommerce site, customers can contact via phone to make a booking and contact centre staff will input their details and capture payments over the phone.

#

@elfin summit pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Is it possible to create a webhook that automatically creates a Stripe Invoice (so customers can pay by bank transfer to a temporary Stripe bank account) and emails it to the customer?

Related Event ID(s)
-

What have you already attempted?
.

#

@plain stream pressed the ❌ An Error button in #help to ask a question:

Error Message
java.lang.NoSuchMethodError: No static method performImeAction$default(Landroidx/compose/ui/semantics/SemanticsPropertyReceiver;Ljava/lang/String;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V in class Landroidx/compose/ui/semantics/SemanticsPropertiesKt; or its super classes (declaration of 'androidx.compose.ui.semantics.SemanticsPropertiesKt'

Question
I am using Strip-Android SDk v-20.45.0, agp-8.3.2, kotlin-1.9.23. I am not using Jetpack Compose. I am facing this error when I launch the payment sheet. The sheet appears and as soon as the card input field shows up, the app crashes

What have you already attempted?
I have tried to check stripe Github issues, but did not found any solution regarding that

#

@sharp arch pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I use the API to create a subscription for an existing customer that has custom fields on all invoices for this specific subscription? Since my customers can have multiple subscriptions where different custom fields should be shown on each one, I cannot use the custom invoicing fields on the customer object

Related Request ID(s)
req_Z8SO1dvyVWrL7H

What have you already attempted?
I've already tried passing a `invoice_settings.custom_fields` property to the `POST /v1/subscriptions` endpoint but did receive an error message

#

@restive glacier pressed the πŸ“‘ API button in #help to ask a question:

Question
I have one past due subscription and on that I invoice status is failed so now I want to charge that invoice to customer but it's not happing, it's giving "This invoice can no longer be paid. Consider voiding, marking as uncollectible, or marking as paid out of band instead." so how can I charge this invoice ?

Related Request ID(s)
in_1PQktZHGZjZ8fjFKNgsfotr8

What have you already attempted?
I have tried to confirm payment from the payment intent client secret, but it's not happening due to payment intent was canceled

#

@rotund grotto pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
No code involved yet - we're currently in the process of figuring out how the feature should work.

Question
I'm looking for the correct way of implementing family plans in Stripe - one client, with a given email, subscribes to a product which should grant other customers the same rights, Possibly with shared state - but I think that is our own backend responsibility.

What have you already attempted?
I could not find any information in the docs

What are you working on?
A CRM with support for customer's subscriptions.

#

@meager kite pressed the πŸ“‘ API button in #help to ask a question:

Question
I am using Stripe connect and providing my customers with a Stripe Express dashboard.
Is there a way to view more details in the stripe express dashboard? It only says Subscription creation for example but doesnt say the name of the member thats subscribed, which would be needed to know who paid what and refund if needed etc - thank you <3

Related Request ID(s)
x

What have you already attempted?
x

What are you working on?
x

atomic shuttleBOT
#

@austere pawn pressed the πŸ“‘ API button in #help to ask a question:

Question
when the account is limited to 2000 CAD for canadian-pre authorized debit payments in the dashboard, stripe shouldn't show the canadian-pre authorized debit payments option in the checkout page?

because we try to create an invoice more than 3000 which is maximum for canadian-pre authorized debit payments, and stripe doesn't allow the user to pay
and we try to set the maximum amount to 2000 and create invoice for 2500 and we expect stripe to have the same behaviour as above but it doesn't
how does this work?

Related Request ID(s)
account:acct_1P9mPDLXuJw2uiuq Payment method: pm_1PQArOLXuJw2uiuqDPseyEHU Mandate: mandate_1PQArQLXuJw2uiuqceNG9Pcn This is our payment id: e8f9fcfa-9600-4057-9539-b109f44d6262

What have you already attempted?
tried to limit the canadian-pre authorized debit amount to lower than 3000 which is default and check the value before creating the checkout session

What are you working on?
canadian-pre authorized debit payments

#

@jagged shuttle pressed the πŸ“‘ API button in #help to ask a question:

Question
I am receiving "Could not retrieve elements store" when using deferred payment

Related Request ID(s)
No log of the issue

What have you already attempted?
It is functional on dev but not on production

What are you working on?
eCommerce site

#

@summer gale pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Since the 6th of June we started to receive the following error in some of our webhook events:

You passed an empty string for 'payment_intent'. We assume empty values are an attempt to unset a parameter; however 'payment_intent' cannot be unset. You should remove 'payment_intent' from your request or supply a non-empty value.

And the webhook fails on all retries. We did not change anything on our side, could you please help what's causing this issue in some cases?

Related Event ID(s)
evt_1POmaODiRHcdnlIFMXijGYYF, evt_1POmaODiRHcdnlIFMXijGYYF, evt_1PPUnFDiRHcdnlIFyi2ZpEXj

What have you already attempted?
I tried to check if we can throw any issues like this, but I didn't really find anything. I might be wrong here but it looks like the request object itself is missing this payment_intent in these cases.

#

@tulip meteor pressed the πŸ“‘ API button in #help to ask a question:

Question
Hello,

I'm trying to get these answers through the sales service, but they haven't responded…

I am commissioned by an event company to design their registration tool, including the checkout process.

We have a website that allows users to register for D debates out of 60 debates, spread over 2 days. The event program enables users to add their chosen debates to their cart, and the user will pay D debates x E euros via Stripe.

I need Stripe to:

- Integrate seamlessly into the website (CSS) at the end of the checkout process. We will pass the already collected customer information, their car

Related Request ID(s)
X - I haven't got any account yet

What have you already attempted?
I tryed several times to get answers to these questions via the commercial service, but they don't understand i'm on conception time. They won't answer me...

What are you working on?
The website will be done in PHP/html/scss

atomic shuttleBOT
#

@elder oar pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Terminal SDK connect S700 getBatteryLevel

What actually happened?
getBatteryLevel return null

Reproduction Steps
1.discoverReaders with internet
2.connectInternetReader with S700
3.Terminal.getInstance().getConnectedReader().getBatteryLevel()

Question
getBatteryLevel return null.
Can i get device diagnostics data?

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to implement Google Pay to my website

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
I want to implement Google Pay to my website

#

@slate moss pressed the πŸ“‘ API button in #help to ask a question:

Question
I am updating payment method with incorrect cvc and exp_year, before updating it can i verify that card's details and valid or not. after that i want to update that.

is there api method for checking payment-method's detauls is correct or

Related Request ID(s)
req_SyUP5pL47BnPGm

What have you already attempted?
i tried only updating payment method

#

@unborn parrot pressed the ❌ An Error button in #help to ask a question:

Error Message
An error occured during your payment.
Please try again or contact the website owner.

Question
in fact there was the Paypal payment module which was installed on my site created with Paypal. now that I added Stripe payment methods with your module, Stripe payment methods do not work and I get an error message when I click on a payment method.
And when I deactivate the PayPal payment module to only have Stripe payment methods, no payment method displayed

What have you already attempted?
after the configuration what needs to be done to receive payments ?

Reproduction Steps
try any payment method to order something on the site https://maxluxshop.com

What are you working on?
Prestashop

#

@late sigil pressed the πŸ“‘ API button in #help to ask a question:

Question
Payment Rejected Moto missing pm_1PQnMpKWWmFWwHEAXfvUMo6p

Related Request ID(s)
pm_1PQnMpKWWmFWwHEAXfvUMo6p

What have you already attempted?
Moto Missing

#

@fossil stone pressed the πŸ“‘ API button in #help to ask a question:

Question
How do I set an expiry timeout on payment links?

Related Request ID(s)
NA

What have you already attempted?
I have looked through the docs, it doesn't look like payment links ever expire.

What are you working on?
So I have a usecase where the user can purchase a product with a combination of free credits and actual money. I have to lock the credits (deduct something from `available_credits`)

atomic shuttleBOT
#

@azure crown pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hello,

I want my mobile app have same behavior like web app when payment with Amazon Pay. In my mobile app, after I click "AUTHORIZE TEST PAYMENT" in amazon test payment page, it have to redirect me to my website and the payment successfully.

What actually happened?
I try to make payment with Amazon Pay, everything is working fine on web. But, in my mobile app the payment stuck and failed with message "The PaymentIntent requires action"

Reproduction Steps
my code: https://imgur.com/carbon-Iq24OAo
step 1: present payment info in my mobile app https://imgur.com/a/Qu23chl
step 2: click "AUTHORIZE TEST PAYMENT" button https://imgur.com/a/KTwnwKH

Question
So, how to fix this issue? I guess the reason is "next_action.redirect_to_url.url" are different in website and mobile. In website it like: https://pm-redirects.stripe.com/authorize/acct_xxx/pa_nonce_xxx, in mobile it like: https://stripe.com/payment_methods/test_payment?payment_attempt=payatt_xxx
Here are some ref in test mode: pi_3PQnX0AfC1NR9PLZ1V9hcKji

atomic shuttleBOT
#

@grand sandal pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/connect-availability-in-the-uae

Question
According to the provided documentation, when using "UAE platform with UAE connected accounts", and if "Connected accounts do not have access to a dashboard built by Stripe" (third row), "Connected accounts in this case can only have the transfers capability", and "separate charges and transfers [are available]". However, trying to create an account with the given configuration gives the error "AE is not currently supported by Stripe." How can I create an account with the configuration described by the docs, so I can use separate charges and transfers?

What have you already attempted?
I've tried to create a UAE account that doesn't access the Stripe dashboard, where the application is liable for fees, losses, and requirement collection (`req_IsH7Zw7aEJcIlQ`).

atomic shuttleBOT
#

@deft field pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://stripe.dev/stripe-ios/stripepaymentsheet/documentation/stripepaymentsheet/#manual-linking

Question
Hi, we are trying to use the PaymentSheet to test and to see if we can integrate it on our current iOS 17 project to pay with Stripe.

What have you already attempted?
We have tried the sample on SwiftUI that currently works. Since we found on the github repository a "stripe-ios-payments" with a "Payment Sheet Example" but it doesn't work since it asks for an intel simulator.

Also this code is for Swift 3. Is the PaymentSheet updated for Swift 5 and SwiftUI? Thank you in advance.

What are you working on?
We are working on the integration of Payments in our eMarket.

atomic shuttleBOT
#

@meager kite pressed the πŸ“‘ API button in #help to ask a question:

Question
cant write in the same thread I have open ///

was asking earlier about a way for my express account client to see the names of the people who bought a subscription, the subscriptions are created on our platform and assigned to members
I want to allow my client to be able to see that in their express dashboard for example to be able to refund a member

what you guys recommend:
Hmm, I'd recommend using destination charges for express accounts (i.e., creating subscriptions on platform instead)

im not sure what that means

Related Request ID(s)
x

What have you already attempted?
x

What are you working on?
x

#

@pure mica pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Create a subscription with backdate start date (eg. 15 of May) and billing_cycle_anchor (the 15th of the current month- e.g. June 15th). We then create a prorated upgrade to the subscription. Since today is the 12th of June, the updated price will be prorated for the remaining of the current cycle as stated here: https://docs.stripe.com/billing/subscriptions/backdatin

What actually happened?
We expect that the prorated period would be between 13th of June and 15th of June and since the billing cycle is (15th of May - 15th of June ) = 31 days, the proration factor would be (2/31). But it's not. Stripe calculates the prorated amount as 2/30

Reproduction Steps
Create a stripe subscription with backdate_start_date= '2024-05-15', billing_cycle_anchor = '2024-06-15',
proration_behavior = 'none', amount = 100.
Then update the same subscription with proration_date = Current day + 1 (for today it's '2024-06-13)' and a new price larger than the initial eg. 200. Stripe will not prorate the amount based on a 31 day billing cycle.

Question
Here are some created subscriptions with this issue:
'sub_1PQowGDgQLhhFEp903H0Qyhr' , 'sub_1PQnclDgQLhhFEp9SfF27z1n'. Why Stripe doesn't prorate subscription based an a 31 day cycle but rather on a 30-day one? The docs clearly state that a 31 day cycle must be calculated during proration: https://docs.stripe.com/billing/subscriptions/backdating

What are you working on?
Migrating on the fly subscription from Braintree to Stripe with backdated start date

atomic shuttleBOT
#

@mental nebula pressed the πŸ“‘ API button in #help to ask a question:

Question
I will need further informaition about an event, I can see that Source is API but I would like to know if it was done with an integration for example chargebee

Related Request ID(s)
evt_1PE2chCe0I1C6OeynJqLBJpg

What have you already attempted?
Read the log in the Stripe account

atomic shuttleBOT
#

@covert bear pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I am implementing a webhook listener in my django rest framework code ... i listened to it but i need the customer data to be returned from the event ... but only the customer_id is sent ... is there anyway to get the customer data without retriving customer by id using stripe.retreive.Customer ?

Related Event ID(s)
evt_1PQpY1HJtnzEu7FhHUZfa27W

What have you already attempted?
listened to the webhook

#

@slate moss pressed the πŸͺ Webhooks button in #help to ask a question:

Question
i want webhook hit after 15min if any event occured.
i don't want webhook on time.

Related Event ID(s)
NaN

What have you already attempted?
i just want to created billing history before db creation stripe hit is coming that is why this request come

#

@slate spruce 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/pricing-models?dashboard-or-api=api#fixed-fee-and-overage-model

Question
I have followed this Llama AI example but I am not able to see the price go up in the subscription.

What have you already attempted?
A meter has been created and it is attached to a price and It is recording meter events but in the subscription the current price is still showing zero

What are you working on?
The usage based billing I have is supposed to work something like this:

#

@unborn parrot pressed the ❌ An Error button in #help to ask a question:

Error Message
An error occured during your payment.
Please try again or contact the website owner

Question
after the configuration what needs to be done to receive payments ?

What have you already attempted?
in fact there was the Paypal payment module which was installed on my site created with Paypal. now that I added Stripe payment methods with your module, Stripe payment methods do not work and I get an error message when I click on a payment method.
And when I deactivate the PayPal payment module to only have Stripe payment methods, no payment method displayed

atomic shuttleBOT
#

@forest ore pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm working on building an upgrade subscription path for our API. Business desires authorization first before allowing it to go through to higher amount subscription.

Related Request ID(s)
customers/cus_QHO2JDDdRMtMpF

What have you already attempted?
I set it up to authorize the card using a declined card 4000000000000341 per the docs. I want to capture / authorize then use it for the upgrade subscription. If they have the funds then attach to the upgrade subscription. I don't want someone with minimal funds to be auth'd 299.99 then charges of 299.99 comes through and it appears on debit cards like it's twice charged. I'm seeing what appears to be a double payment but odd it has 260.02 on the subscription.

What are you working on?
upgrade path for subscriptions

#

@warped gazelle pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi I would like to know if a terminal charge is paid via a business/coportate card. How is can I see this information.
Note: I am on the most recent API version
Thanks

Related Request ID(s)
pi_3PNaxaJizIym4wPX0TpaFVn7

What have you already attempted?
It seems I can get this information from Sigma but not via API. I need it from the API

#

@drowsy kindle pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to allow checkout sessions to use a customer's account balance but I keep getting an error Request req_hZEQkBmZBMAmgL: A value is required for `payment_method_options[customer_balance][payment_method_options[customer_balance]]

What value is stripe looking for?

Related Request ID(s)
req_hZEQkBmZBMAmgL

What have you already attempted?
Searched docs, asked AI

What are you working on?
checkout sessions

#

@austere pawn pressed the πŸ“‘ API button in #help to ask a question:

Question
this checkout session id is created for PAD payments. the maximum amount for pad payments has been customized to 2000 CAD. however the payment is 3000 CAD and processed properly in stripe side. shouldn't it be rejected because we set the maximum amount for PAD payments in the dashboard to 2000. if this not working, what is the purpose of customizing the maximum amount

Related Request ID(s)
cs_test_a1comqYShBxozLxkCA2bxZfvF3rRIDIEaZ97cpVtQWu44p061SNnMkEVHC

What have you already attempted?
we tried to pay a PAD payment which is more than customized maximum amount set in the dashboard

What are you working on?
Canadian pre autohorised debit payment

#

@limber spoke pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const subscriptionSchedule =
await this.stripe.subscriptionSchedules.create({
phases: [
{
items: [
{
price: perActualMilesPrice.id,
quantity: 0
},
{
price: perEstimatedMilesPrice.id,
quantity: 10 * MAX_MILES_CHARGED_PER_DAY // 50 miles per day for 10 days
},
{

Question
I am creating two phases in a subscription schedule. First phase should be billed on day 10 and second phase is per the user's chosen billing interval. When i create the subscription schedule, it finalises the invoice for the first phase within an hour instead of after 10 days. Ideally, do not want to finalise the first phase's invoice in an hour but when the phase ends (in 10 days).

What have you already attempted?
Change the price to every 10 days interval, and the set iteration to 1 instead of the end date of the first phase.

What are you working on?
Working on a way to bill users on a recurring basis, after being charged for the first 10 days of using our product.

#

@jagged hill pressed the πŸ“‘ API button in #help to ask a question:

Question
How can I create a stripe payment link that only acceps BACS direct debit?

I do not want to accept Cards for this payment, but it will not let me uncheck the Cards payment method.

Is there a URL parameter I can attach to the URL to only accept Direct Debit setup?

Thanks

Related Request ID(s)
idk

What have you already attempted?
I've tried unchecking cards payment, other options required me to code stuff, I just want to use payment links for this.

#

@glass spoke pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
if (stripe) {
const pr = stripe.paymentRequest({
country: 'US',
currency: 'usd',
total: {
label: 'Demo total',
amount: Math.round(Number(value)),
},
requestPayerName: true,
requestPayerEmail: true,
});
console.log("After stripe ");
pr.canMakePayment().then((result) => {
console.log(result)
}
{paymentRequest && <PaymentRequestButtonElement options={{paymentRequest}} />}

Question
using stripe payment request button element for google pay and apple pay . domain is also configured on stripe dashboard but this pr canmakepayment is responding null. payment method is enabled on stripe dashboard.

What have you already attempted?
I have implemented stripe credit card form using payment element

What are you working on?
I am developing react PWA application

atomic shuttleBOT
#

@coral basin pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I asked this question yesterday afternoon but the thread closes this morning when I came back.

My response to this is no - not in the context of recurring payments, this is for one time payments.

Doc/Guide Links
Thread: #1250205988821274718 message

What are you working on?
Stripe iOS SDK Apple Pay integration

#

@grim grove pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question
Hello! I am currently working on Stripe integration I want to know is there any available test cards, that could simulate successfully passed checkout (Stripe self-hosted checkout page), but later are not successfully charged and payment is triggered as failed?

What have you already attempted?
I have already tried this one (4000000000000341), but it is declined on the checkout as well.

#

@glad pendant pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have integrated the stripe subscription payment in webpage.
If someones payment does not go through on a subscription and complete the subscription, can I build webhook so i can update database?

Related Event ID(s)
stripe subscription

What have you already attempted?
https://stripe.com/docs/webhooks/build

What are you working on?
webhook build

#

@plush edge pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We have a Stripe platform account with numerous connected accounts. Normally we can select a connected account and press the "View Dashboard as [Connected account]" link and it takes us to their dashboard.

What actually happened?
For some connected accounts it redirects back to the main platform screen instead.

Reproduction Steps

  1. Go to platform
  2. Click Connect Tab
  3. Click on an Account
  4. Chose the "View Dashboard as [connected account name]"

Question
This has been working fine for three and half years. I can see any pattern as to why it works for some accounts and not others quite suddenly.

All connected accounts are of the same type "Standard"

#

@raw moon 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 want to customize my checkout page as follow: In addition to the Terms of service checkbox, I need 2 more checkboxes (1 requried, 1 optional). I could not find a related guide on this, and I was wondering if this is possible? If so, can you guide me the relavant docs?

What have you already attempted?
I have not attempted anything yet since I could not find if this is possible or not.

What are you working on?
Customizing checkout payment page.

#

@teal scroll pressed the πŸͺ Webhooks button in #help to ask a question:

Question
any direct webhook verification that the event actually comes from stripe? Like a password from dashboard?

Related Event ID(s)
Paypment invoiced

What have you already attempted?
GPT, other methods of verifications just require matching a 'password'

What are you working on?
subscriptions

#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
I want to implement Google Pay to website

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
I want to implement Google Pay to website

#

@jaunty cipher pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Hi Stripe,
Quick ?, if our cross-boarder standard connect user based in Canada adds a USD Wise bank account details, will they be able to collect ACH payments through our platform? Im curious what parameters drive whether an ACH payment is available or not? Thank you!!

Doc/Guide Links
90% of docs, might have missed one ;)

What are you working on?
Finance plaform

#

@shell warren pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to update the customer's default payment method when a subscription payment succeeds.

Is there a way to attach a payment method to a customer () once a subscription has been successfully paid for?

Related Request ID(s)
req_9FfAAbnxnSTAZ2

What have you already attempted?
Here's what I'm currently doing.
```js
const subscriptionOptions = {
customer: CUSTOMER_ID,
items: [
{
price: PLAN,
quantity: QUANTITY,
},
],
payment_settings: {
save_default_payment_method: 'on_subscription',
},
collection_method: 'charge_automatically',
payment_behavior: 'default_incomplete',
expand: ['latest_invoice.payment_intent'],
};
await stripe.subscriptions.create(subscriptionOptions);
```

What are you working on?
I'm trying to fix a bug in my system where, on signup, a card is attached to the subscription instead of the customer. This makes it difficult to add new cards and make future payments.

#

@rapid solstice pressed the ❌ An Error button in #help to ask a question:

Error Message
The payment method does not belong to the customer you supplied

Question
We are saving card on file for some customers in an office and while creating the payment intent we are getting this error for most of their customers. We are setting the setupFutureUsage to off_session, yet we are getting this error.

What have you already attempted?
This is happening for few customers and not all and so we don't really know what the issue here is to replicate it

What are you working on?
Trying to resolve error for card on file payments

atomic shuttleBOT
#

@terse shale pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Coupons and max redemptions

Question
Does it count as a coupon redemption if my current subscription goes into its next period? If not, what is the best way to limit the amout of subscripton periods that a coupon can apply to?

What have you already attempted?
looking at the docs and I'm not sure i properly understand max_redemptions

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

@stiff inlet pressed the πŸ“‘ API button in #help to ask a question:

Question
We use Stripe Checkout to create a subscription.
Is there any way to pass customer metadata to the Stripe Checkout Session?

Related Request ID(s)
no logs

What have you already attempted?
Read the documentation

What are you working on?
Customer metadata via Stripe Checkout Session

atomic shuttleBOT
#

@jovial bridge pressed the πŸ“‘ API button in #help to ask a question:

Question
I am trying to attach customers payment methods to a payment intent so that it will allow them to select a connected card instead of having to create a new payment method everytime even if using the same card as a previous time.

Related Request ID(s)
N/A

What have you already attempted?
I have tried the following code:

const setupIntent = await stripe.setupIntents.create({
customer: req.user.customerId,
payment_method: paymentMethods?.data?.length === 0 ? null : paymentMethods.data[0].id,
payment_method_types: ['card'],
});

which attaches the first payment method connected to the customer (i will change this later so that they can select different cards)

What are you working on?
I am building a website that allows customers to purchase game servers e.g. a minecraft server

#

@cloud lotus pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Have terms automatically accepted when users go through the hosted onboarding at Stripe for their connected CUSTOM account

What actually happened?
In one of our accounts, mainly used for US customers, terms acceptance is not updated for connected accounts after going through the hosted onboarding. For our other account this seems to work well.

Reproduction Steps
Not easily reproducable, since the issue doesn't occur in the test environment.

Question
We read about the new controller properties when creating accounts, but migration should be optional afaik. We've read that for custom accounts `requirement_collection` would be `application`, which we assume terms acceptance is a part of. However, this doesn't seem to match with what we see happening.
Could this be a configuration issue in one of the accounts?

What are you working on?
Vev, acct_1NmlQHKo27ACZLjH and acct_1LDOTXJ7quAeFV5o

#

@round anchor pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Hello, how can I change the API of a wobhook, I need it to be. Can you contact stripe to allow you to use version 2023.10.16?

Related Event ID(s)
n/a

What have you already attempted?
n/a

#

@raw shore pressed the πŸ“‘ API button in #help to ask a question:

Question
I need to know how to send an email to a customer once I have initiated a payment installment plan.

Related Request ID(s)
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#installment-plans

What have you already attempted?
I have been following this example

https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases#installment-plans

What are you working on?
A way to break a $10,000 product into two payments, one for month one and the other for month two

atomic shuttleBOT
#

@sturdy compass pressed the ❌ An Error button in #help to ask a question:

Error Message
The intent you passed doesn't have any supported payment_method_types. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard

Question
Connect Stripe account with acct_1KbUYsC7aUEOHyHm ID is having this error intermittently pop up for them for the past week. Appears to be a profile configuration issue within their Stripe profile.

What have you already attempted?
Researched payment methods and found to be no issue with payment method configuration. Can use Stripe Terminal card readers but have issues with the payment element form intermittently. Only connect account on our platform with this issue, so is not a platform issue
Previous chat: #dev-help message

What are you working on?
Platform of connect accounts servicing their end customers.

#

@jagged hill pressed the πŸ“‘ API button in #help to ask a question:

Question
how do I restrict payments just to BACs payment with checkout api?

i have product checkout code but not sure how to remove cards from this

Related Request ID(s)
idk

What have you already attempted?
nothing, just confused

atomic shuttleBOT
#

@hexed cedar pressed the πŸ“‘ API button in #help to ask a question:

Question
Is there a way to revise an invoice that has been sent such as changing it's amount or due date?

Related Request ID(s)
None

What have you already attempted?
Read the API documentation and I see a mention of revisions of an invoice, but no way to approach this via the API

atomic shuttleBOT
#

@maiden stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Do you have a feature like Plaid where users can connect/link their bank accounts?

Related Request ID(s)
req_R3PnB9jW5djiIb

What have you already attempted?
Nothing

atomic shuttleBOT
#

@umbral mango pressed the πŸ“‘ API button in #help to ask a question:

Question
How can we split a subscription with qty of 2 or more into individual subscriptions under the same Stripe customer accounts?

Related Request ID(s)
https://dashboard.stripe.com/subscriptions/sub_1OOl2iJaf89hC41I8sgKoI7Q

What have you already attempted?
We have read through the Stripe subscription documentation but have not found anything referencing this situation.

What are you working on?
We are offering a product that allows users to purchase 1 or more subscriptions that will be used in the future. When the subscription is utilized, it needs to be managed indepently.

#

@fiery stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
Where can we get the Payout Trace Id that shows up in the dashboard by means of the API?

Related Request ID(s)
None

What have you already attempted?
Looked for the field in the API docs but no luck.

What are you working on?
API Integration

#

@raw shore pressed the πŸ“‘ API button in #help to ask a question:

Question
I was told I could add a line item to a automatically generated invoice that has a subscription that is set to automatically charge. But I am not seein gin the docs how to add a line item with the update invoice functionality.

Related Request ID(s)
na

What have you already attempted?
Looked here https://docs.stripe.com/api/invoices/update

What are you working on?
Trying to make it say that a second installment payment is able to be made

atomic shuttleBOT
#

@jagged hill pressed the πŸ“‘ API button in #help to ask a question:

Question
Can I please get help with setting up a checkout session / payment link that only accepts payment method of bacs direct debit.

I want it set up like this site:

https://www.fiftypencedirectdebit.co.uk/

Related Request ID(s)
idk

What have you already attempted?
I spoke to an agent earlier and they said that this cannot be achieved with payment links as you cant remove cards as payment method on links.

The agent then told me the reference website is using a checkout session to achieve this, but then another agent told me this is only possible with API so Im confused. I will attach screenshots.

#

@fathom hare pressed the πŸ“‘ API button in #help to ask a question:

Question
When a charge fails, is there any situation in which it can still go through?

More specifically, if I have an off-session PaymentIntent for a card that requires 3DS (or some other authorization), confirming that PaymentIntent will fail because an off-session PaymentIntent has no user to authorize the charge.
If something like that happens, is there any scenario in which the charge would un-fail in the future? Or is failure a terminal state?

Related Request ID(s)
req_TceOGUu9QVJTHy

What have you already attempted?
I've read the docs about PaymentIntents, the PaymentIntent lifecycle, off-session payments, 3DS, etc.
But I couldn't find anything that real unambiguously explained whether failure was a terminal state for charges.

What are you working on?
off-session card payments

#

@idle cloak pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm trying to send a decrypted Apple Pay token to Stripe, which consist of DPAN + Cryptogram.

I have PCI compliance from partnered secure vault

Related Request ID(s)
req_f18hoZmtifXNyP,

What have you already attempted?
I've attempted to follow this guide, thinking I can provide 3DS cryptogram via latests API via: payment_method_options[card][three_d_secure]

And it works for initial CIT sometimes, but later fails for MIT with do_not_honor for saved card details and cards even couldn't be saved for off_session payments. Additional had to generate a random UUID transaction_id cause one from apple didn't fit there (not sure if that's wise)

Overall I'm getting an impression this isn't the way to go. I've also messaged regular support, but my case didn't get an update in 1.5 week, so writing here

What are you working on?
we're trying to route apple pay transaction between multiple payment processors in different regions

#

@halcyon tundra pressed the πŸ“‘ API button in #help to ask a question:

Question
Could somebody help with how to block credit cards when creating a Checkout Session

Related Request ID(s)
Not sure

What have you already attempted?
I have contacted your support team who have informed me that it is possible to only allow 'Debit' cards for payments, but I'm not able to see in the documentation how this is possible. I can see that I can limit it by payment methods, such as card, paypal etc. Although I don't see any way of being able to filter this down further to choose between a 'Credit' and / or 'Debit Card'. Also in the Stripe Test cards, I can see that there are some ids (pm_x) which correspond to Visa (Credit), or Visa (Debit), but I can't see anyway of passing this into the checkout session?

What are you working on?
Creating a Stripe Integration for an e-commerce website

atomic shuttleBOT
#

@oak yarrow pressed the πŸ“‘ API button in #help to ask a question:

Question
How to setup stripe product where there will monthly and yearly prices which are meter based. For Monthly subscription, based on the user/unit count updated using the meter, customer will be charged at the end of the month. For Yearly subscription, an upfront user/unit count given by customer will be used to charge them upfront for the year and end of each month if they exceed the upfront user/unit count, they will be billed using monthly subscription for extra users only. Using .NET and JS.

Related Request ID(s)
n/a

What have you already attempted?
I have setup products in stripe dashboard with monthly and yearly prices with meter. I am using payment element on website to collect payment info to create a setupIntent for the customer and after successful confirmSetup, I am creating subscription using the selected priceId of the selected product. Monthly works fine. But for Yearly i need to take upfront payment based on upfront user count. And would also need yearly subscription to be updated with meter so that next invoice after 1 year shall have correct number of users for renewal.

What are you working on?
Working on SaaS company.

#

@unreal bison pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm getting this error Stripe.StripeException: The `error_on_requires_action` parameter can't be used with PaymentIntents which use payment methods managed through the Dashboard at https://dashboard.stripe.com/account/payments/settings. Either omit `error_on_requires_action` when confirming this PaymentIntent (and handle any next actions that may be required) or create a different PaymentIntent that uses `payment_method_types`. at Stripe.StripeClient.ProcessResponse[T](StripeResponse response) in /_/src/Stripe.net

Related Request ID(s)
NIL

What have you already attempted?
getting error while getting payment through schedulers

What are you working on?
try to get the payment by running schedulers

#

@glossy osprey pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi, I would like to use checkout (direct payment) for connected accounts (each connected account is a merchant on my platform). My concern, is that I would like to centralize Customer's data (specially payment methods) on the main account, to avoid always asking the customer its payment data when he purchases from different merchant on the platform. Is it possible ? Thanks

Related Request ID(s)
no

What have you already attempted?
I tried the following but am not satisfied and would like something prettier :
- Keep a sync between the customer and its payment methods created on a connected account (via or for checkout) and the same customer copied on the main platform

atomic shuttleBOT
#

@granite spoke pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
Our application currently uses a BBPOS Wisepad 3 terminal, connected to a mobile phone running our app, to collect payment information for a rental kiosk and attach it to a customer in-person. We only charge the customer if they don't return the item.

We want to offer the option to sign out a rental via mobile wallet. We are currently only able to offer this if the user is signed up to our mobile app ahead of time.

We are in Canada. Is there a way for us to accept physical cards and mobile wallets for this purpose?We have looked at the newly available (beta) Tap to Pay offering from Stripe, as well as the S700 terminal but don't have a clear answer.

Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-cards/overview

https://docs.stripe.com/payments/save-and-reuse

https://docs.stripe.com/payments/wallets

What are you working on?
We operate a rental kiosk. We collect payment information and charge only if the item is not returned.

atomic shuttleBOT
#

@terse scroll pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have an invoicing system, and I want to offer payment links, so that my customers can send links to their customers to get paid directly. I am not sure how to do this, since there seems to be a lot of ways to do this. I have seen so far Payment Link, Payment Intents, and Checkout Sessions. I do not know if there maybe are more.

What would be the right approach for my scenario?

Doc/Guide Links
https://docs.stripe.com/api/payment_links/payment_links
https://docs.stripe.com/api/payment_links/payment_links
https://docs.stripe.com/api/checkout/sessions

What are you working on?
An invoicing Saas

atomic shuttleBOT
#

@fathom lily pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I would expect every payment in Stripe to have an associated balance transaction.

What actually happened?
A payment does NOT have a balance transaction.

Reproduction Steps
Look up this id: ch_3P6lf2LMHLcGMW3Q0scZsfGH

Question
Why does this payment not have a balance transaction?

atomic shuttleBOT
#

@unkempt cape pressed the πŸ“‘ API button in #help to ask a question:

Question
How can we send a receipt email for a checkout session to a different email than customer.email?

Related Request ID(s)
N/A

What have you already attempted?
We've tried attaching receipt_email to payment_intent_data when creating a checkout, but this only works for 'payment' mode checkout. How can we attach this receipt_email to the payment intent generated by subscription invoices when creating subscriptions via Stripe checkout?

What are you working on?
Payment system for online store

atomic shuttleBOT
#

@placid swallow pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I'm trying to setup a subscription in with the "Fixed price with overage" model. I have followed this guide: https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?dashboard-or-api=dashboard#fixed-fee-and-overage-model.

I've setup creating a subscription checkout session with the sdk and added the prices I had created in the above guide as line items.

When I go to the hosted checkout url created in the SDK method, the product information displayed is really unintelligible. How can I improve this? Each price shows the product title and the units for the graduated tiers are not shown just the values. Its not a great experience at the moment.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?dashboard-or-api=dashboard#fixed-fee-and-overage-model

What are you working on?
Video hosting api subscription plans

atomic shuttleBOT
#

@maiden stirrup pressed the πŸ“‘ API button in #help to ask a question:

Question
when i call 'await stripe.financialConnections.transactions.list' with account id "fca_1PQw0OI9vyb7wAPMIr3hyr3W" i always get this response from the API "There are no transactions to retrieve for this account. Refresh or subscribe to transactions to initiate a transaction refresh."

Related Request ID(s)
req_R3PnB9jW5djiIb

What have you already attempted?
I connected to a test account using the test key. Are the test accounts supposed to have transactions?

atomic shuttleBOT
#

@sleek pelican pressed the πŸͺ Webhooks button in #help to ask a question:

Question
I have a a bunch of custom connect accounts, and I want to get notified when their balance is available (which should be daily). I turned on `balance.available` webhook to this webhook (we_1H1fEJBsYzIqHjobvsoDpoQY) which is set up as "Events on connected accounts". But I'm not getting any events for these. is that expected?

Related Event ID(s)
we_1H1fEJBsYzIqHjobvsoDpoQY

What have you already attempted?
Tried turning it on for the "Events on your account" but that's only my own account balance, not others.

What are you working on?
I want to keep a copy of balance transactions in my own database. instead of polling the api all the time, I'd rather just do it when transactions are available once per day.

atomic shuttleBOT
#

@strange summit pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
confirmCardSetup with hidden hcaptcha

Question
I need to allow customers to add payment methods (cards) on my website.
I want to avoid bank card testing. When customers fill in the payment method, perform implicit hcaptcha verification (such as recording the mouse movement trajectory and sending it to hcaptcha for verification), instead of clicking the verification button and solving the puzzle every time, and finally sending the hcaptcha token to stripe for verification. Just like the process of adding payment methods in

What have you already attempted?

  1. I have consulted the stripe js and stripe api documents and found no similar solutions.
  2. I have searched most of the solutions found on Google or ChatGPT.

What are you working on?
Creating a Payment System for My Startup

#

@sick flame pressed the πŸ“‘ API button in #help to ask a question:

Question
I'm using stripe Connect. In order for Stripe js to work with Connect you need to initialize it with the stripe account like:
```
var stripe = Stripe('pk_test_OyVTDAAZ3DwVtmH92ugkAxao', { stripeAccount: 'some_stripe_account');
```

If i then want to use stripe for a DIFFERENT stripe account, am i supposed to reinitialize Stripe?

Will that cause problems if its already initialized?

Related Request ID(s)
none really

What have you already attempted?
I've been trying a veriety of things, but its hard to know what you're supposed to do in this case.

What are you working on?
A marketplace like Ebay, where vendors have Connect accounts and are paid via direct charges by the buyer

atomic shuttleBOT
#

@maiden skiff pressed the πŸ“‘ API button in #help to ask a question:

Question
We are using the Stripe Connect app to onboard users and implemented the Stripe widget on the front end and account creation on the backend node server with stripe.accounts.create. We want the EIN to be a required field, the same way the user gets prompted for Business Name and Website if we omit those fields. Is this possible?

Related Request ID(s)
https://dashboard.stripe.com/logs/req_Ry0rHHm9BPrtLb

What have you already attempted?
Putting a placeholder fake value "PENDING" for tax_id, not including it in the create parameters.
company: {
// name: clientAccount.businessName, // Company name
phone: clientAccount.phoneNumber,
// tax_id: 'PENDING', // Company's tax ID which should be required in the widget
}

What are you working on?
An app that uses Stripe Connect to onboard and pay users.

atomic shuttleBOT
#

@royal warren pressed the πŸͺ Webhooks button in #help to ask a question:

Question
We got `invoice.payment_failed` for all first recurring in production while it works well in testing. The error message on the invoice page is "This payment failed because the customer had insufficient funds. Find more details on the payment timeline.". It's quite strange that all customers have insufficient funds, so I think the error message might be wrong.

Related Event ID(s)
evt_1PQszlJ0vJQiTlzA3AkhTCnL, evt_1PQlMXJ0vJQiTlzAG32w0OP6, evt_1PQVfjJ0vJQiTlzAkzH5aEpr

What have you already attempted?
Tested in test mode and the flow works correctly

What are you working on?
A website that users can subscribe to access AI conversational chat

atomic shuttleBOT
#

@vocal wagon pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
oauthRouter.get('/stripe/connect', async (req: Request, res: Response, next: NextFunction) => {
console.log(req.query);

const { code, state } = req.query;
try {
    // find the user and verify the state

    const response = await stripe.oauth.token\({
        grant\_type\: 'authorization\_code',
        code\: code as string,
    }\);

    return res.json\(response\);
} catch \(err \: any\) {
    console.log\(err\);
    return res.status\(5

Question
How do i know which user requested to connect their account to my platform?

What have you already attempted?
I suppose i could put some info on state but a similar platform namely billgang doesn't seem to be using it.

What are you working on?
An ecommerce platform where sellers are able to sell their digital goods online with east.

atomic shuttleBOT
#

@modest elk pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
HOw can i see the full response after congirming the setup for adding a payment method to an existing customer ?

Doc/Guide Links
Im trying to get the payment method id , so after the setup is done, make that payment method the default one updating the customer in my backend

What are you working on?
Setup default payment method

#

@manic elbow pressed the πŸ“š Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/object

Question
Can we get actual payment received date instead of due date for a given subscription? There will be cases where payment succeeded after two days of due date but how do i identify that date from subscription object?

What have you already attempted?
I have checked subscription object but didn't find any field referring to actual payment date.

atomic shuttleBOT
#

@split forge pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I need to develop a split payment solution and would like to understand what's the best way to tackle this case scenario. The app will display products that can be paid by 1 or more friends (the total cost is split between them), so basically each person will pay its part of the total price. I also want that only one payment reaches to the person that sells the product, so basically I want to somehow join those multiple payments into one for the total cost of the product.

Doc/Guide Links
https://docs.stripe.com/payments/paymentintents/lifecycle

What are you working on?
List of products that can be purchased by groups.

atomic shuttleBOT
#

@smoky geyser pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
To still be logged in with abc@email.com on dashboard.stripe.com

What actually happened?
I was actually signed in with yxz@email.com when I linked a user during Stripe Connect onboarding.

Reproduction Steps
Create a "main" stripe account with abc@email.com and enable the Connect feature. Onboard a user with email yxz@email.com. you go back to dashboard and it will say "Please enter password" with a sign out button (Sorry I forgot to take screenshots but I would gladly recreate again and provide if the popup doesn't show)

Question
dashboard.stripe.com and connect.stripe.com are two different subdomains. the Auth on one should not affect the other?

What are you working on?
3dquoter.com

#

@tranquil tiger pressed the πŸ“‘ API button in #help to ask a question:

Question
When trying to create SetupIntent via api (test mode), I receive error
"The payment method type "card" is invalid".

On the page "Settings - Payment methods", payment method "Cards" enabled and has status active.

It worked yesterday. And i tried to create SetupIntent from another account - it's also working

Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_KTpm2DTeB40Ipe?t=1718258075

What have you already attempted?
I tried to enable additional payment methods - nothing changed.
I tried to create a PaymentIntent with payment_method_types = card - the same error.

atomic shuttleBOT
#

@deft field pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
Hello, we are trying the implementation of a PaymentSheet on iOS client. The transactions (as in most cases) are critical so we would like to receive the weebhook data apart from the client on the server side directly.

Question
Can it be using PaymentSheets? We ask because we have seen on the docs that the weebhook is handled on the client (ios) side.

What have you already attempted?
We haven't because we wouldn't know how to listen from the server at this point of the guide. However it's really important that we can handle it on server side or both sides.

What are you working on?
eMarket of large shipments (like tons of kgs).

atomic shuttleBOT
#

@mossy oracle pressed the πŸ‘ Best Practices button in #help to ask a question:

Question
I have a Onlinestore, which offers normal Products and Subscription Products (rent). When the Client navigates to Checkout, I want him to Pay normal price products (single times) the first rate for rent / subscription product and the activation fee together. Actually I'm creating a Payment Intent to pay normal products with subscriptions for 0€ and Charge the Subscriptions later through choosing / authorizing a new Payment by the Client. Now I want to do this in one step at the checkout. But I don't know, how to handle subscriptions and normal payments together or even if it's possible.

Doc/Guide Links
https://docs.stripe.com/api/subscriptions/update
https://docs.stripe.com/api/payment_intents

What are you working on?
Onlinestore with Sub Products and normal Products.

atomic shuttleBOT
#

@proven parcel pressed the πŸ“‘ API button in #help to ask a question:

Question
Could you please help me get card test for google pay

Related Request ID(s)
acct_1Oqvz5JeHqK3tLPG

What have you already attempted?
Could you please help me get card test for google pay

atomic shuttleBOT
#

@rose nest pressed the πŸ“‘ API button in #help to ask a question:

Question
Hi we have a problem that we cannot confirm payment element with payment intent created with subscription. the error is: "Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed with a Payment Intent configured with payment_method_types."

And this is weired because we are not using payment_method_types during creating subscription. Do you know what we can do?

Related Request ID(s)
req_uDj37vVQmDxX7j (subscritpion creation), req_oWFfElsvQO58PM (submit)

What have you already attempted?
Searching in docs

#

@loud garden pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
As of this morning, the `loaderstart` event on the Payment Element seems to have randomly stopped firing occasionally. I would expect it to always fire when the element is loaded.

What actually happened?
The `loaderstart` event seems to only fire sometimes.

Reproduction Steps
Load the payment element, see the `loaderstart` event does not fire reliably.

Question
Has something changed with the payment element SDK code with regard to this event? We have changed nothing on our end, and this has only suddenly just started happening.

#

@willow yoke pressed the πŸ“‘ API button in #help to ask a question:

Question
I am getting different values of the report while downloading it using report api vs report from stripe dashboard. Could you help me figure out what am I missing?

Related Request ID(s)
https://dashboard.stripe.com/reports/balance?startDate=2024-04-01&endDate=2024-04-30&currency=jpy&templateType=merchant&timezone=Asia%2FTokyo

What have you already attempted?
I have downloaded report using report run api for the same intervals with same timezone. But the category values does not match with the one shown in dashboard

#

@leaden plank pressed the πŸ“‘ API button in #help to ask a question:

Question
What does it mean for the states to be requires_action and canceled when calling to create the refund interface?

After I initiate a refund creation, what webhook events should I listen to to properly understand the refund status?

Related Request ID(s)
None

What have you already attempted?
None

#

@cloud lotus pressed the 🀨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Have terms automatically accepted when users go through the hosted onboarding at Stripe for their connected CUSTOM account

What actually happened?
In one of our accounts, mainly used for US customers, terms acceptance is not updated for connected accounts after going through the hosted onboarding. For our other account which is mainly used for european customers this seems to work well.

Reproduction Steps
Not easily reproducable, since the issue doesn't occur in the test environment.

Question
We read about the new controller properties when creating accounts, but migration should be optional afaik. We've read that for custom accounts `requirement_collection` would be `application`, which we assume terms acceptance is a part of. However, this doesn't seem to match with what we see happening.
Could this be a configuration issue in one of the accounts?

#

@meager kite pressed the πŸ“‘ API button in #help to ask a question:

Question
Within the stripe express dashboard, how can a customer issue a refund to their end customers?

I only see transaction as "Subscription Created" but no action buttons/refund option

Related Request ID(s)
x

What have you already attempted?
x

What are you working on?
x

#

@fringe token pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
const { error: stripeError, paymentIntent } = await stripe.confirmCardPayment(clientSecret, {
payment_method: {
card: cardElement,
billing_details: {
email: 'customer@example.com',

        address\: {
          
          country\: 'us',
      
        },
      },
    },
  }\);

Question
How can i add description option to this code throught stripe.confirmCardPayment.

I am from India and I get the error..
Error: As per Indian regulations, export transactions require a description. More info here: https://stripe.com/docs/india-exports.

from error event detail
id": "pi_3PR9SOSEZaK92Ulo10AJMfcu",
"object": "payment_intent",
"last_payment_error": {
"message": "As per Indian regulations, export transactions require a description. More info here: https:/

What have you already attempted?
According to this link
https://docs.stripe.com/india-accept-international-payments

curl https://api.stripe.com/v1/payment_intents
-u "sk_test_β€’β€’β€’2Xqn:"
-d amount=1099
-d currency=usd
-d description="Software development services"

But payment intent for me is being created with 'stripe.confirmCardPayment' in my code..

What are you working on?
Integrating Stripe into an ecommerce storefront built on react.

#

@hot heron pressed the πŸͺ Webhooks button in #help to ask a question:

Question
Is there a webhook that i can listen to that is fired when a subscriptions billing cycle ends?
If a subscription is renewed, i need to check in my backend if any subscription items were removed in this period and delete the data for these items in my database.

Related Event ID(s)
None

What have you already attempted?
Looked into Dashboard and the customer.subscription events but found nothing

What are you working on?
Domain Registry

#

@manic elbow pressed the πŸ“š Doc or Guide button in #help to ask a question:

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

Question

  1. I want payment failure reason payment_intent object and I have Subscription object. The process to get payment failure reason is call Stripe Invoice API using subscription.latest_invoice and then access invoice.payment_intent.last_payment_error.message for human readable error message.
  2. Also for what subscription status types payment_error will be available?

What have you already attempted?
I read docs and need clarity

#

@fickle dawn pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
There is no working code yet.

Question
I am a developer and I would like to implement an app for Stripe Marketplace Apps.

I have only one problem. I list all the invoices in the side panel within my application, but whenever the user moves to the next 20 invoices (next page) in the main Stripe app, I would like to update the list of invoices in my app too!

How can I achieve this functionality? Is there an event listener? Or can I see the main URL of the Stripe app where there is a query param 'starting_after' so

What have you already attempted?
I have already tried to get the URL query params of the main Stripe app. It contains the start_after pagination id that I would really need, but I couldn't get the URL of the main app.

#

@limber spoke pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
await this.stripe.subscriptionSchedules.create({
phases: [
{
items: [
{
price: perActualMilesPrice.id,
quantity: 0
},
{
price: perEstimatedMilesPrice.id,
quantity: 10 * MAX_MILES_CHARGED_PER_DAY // 50 miles per day for 10 days
},
{
price: perDayPrice.id,

Question
I am creating two phases in a subscription schedule. First phase should be billed on day 10 and second phase is per the user's chosen billing interval. When i create the subscription schedule, it finalises the invoice for the first phase within an hour instead of after 10 days. Ideally, do not want to finalise the first phase's invoice in an hour but when the phase ends (in 10 days).

What have you already attempted?
- Updating the price interval to every 10 days

What are you working on?
Working on a way to allow our customer to buy and product and subscribe to it on an interval they choose.

#

@warm jungle pressed the πŸ“‘ API button in #help to ask a question:

Question
How does conversion of fiat to a cyptocurrency takes place? Do stripe uses it's own pool like USD/ETH or it trades the fiat on platform like binance or swaps on pool like uniswap?

Related Request ID(s)
-

What have you already attempted?
I have gone through the document, but didn't get how the conversion of fiat to crypto takes place. i.e. stripe buys crypto form binance with sender money and pays receiver? or stripe has own liquity pool where it swaps fiat to crypto? or stripe uses any third party service like uniswap or sushiswap to achieve this?

What are you working on?
I am working on stripe track solution for buildathon.

atomic shuttleBOT
#

@main fog pressed the πŸ§‘β€πŸ’» Code button in #help to ask a question:

Code
PaymentSheet.PaymentButton(
paymentSheet: paymentSheet,
onCompletion: model.onCompletion
) {
ExamplePaymentButtonView()
}

Question
On iOS 18.0 (beta) the sheet won't open. It gives the following error: Modifying state during view update, this will cause undefined behavior.

This is ofcourse very pressing since the whole checkout process is unable to finish.

What have you already attempted?
I tried the sample project ExampleSwiftUIPaymentSheet

What are you working on?
Event and ticketing app

#

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

Error Message
Cant accept payments

Question
I cant accept payments via checkify

What have you already attempted?
Reset the secret key etc

#

@brave beacon 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/trials#configure-free-trials-without-payment-methods-to-pause

Question
Consider a scenario where a customer subscribes using the Checkout Session API. I want to offer a 30-day free trial without requiring a payment method upfront. After the trial, the customer will be charged.

If the customer subscribes, uses the 30-day free trial, cancels before the trial ends, and then subscribes again, will they be eligible for another free trial, or will they be charged immediately since they already used the free trial once?

My goal is to ensure that if a customer has already used the free trial, they will be charged immediately if they try to subscribe again.

What have you already attempted?
I configured the Checkout Session API to create subscriptions with free trials. However, when testing in test mode, I notice that the free trial is always available, even if I cancel the previous subscription and use the same email address.

#

@shell wind pressed the πŸ“‘ API button in #help to ask a question:

Question
How can i generate invoice for a customer?
i am creating checkout in setup mode so not able to generate invoice

Related Request ID(s)
NA

What have you already attempted?
stripe.checkout.sessions
.create(
{
customer: "cus_QFJEXCup3DvJmf",
currency: "usd",
billing_address_collection: "required",
mode: "setup",
invoice_creation: {
enabled: true,
},
success_url: "https://blablba.test.com/test/success",
cancel_url: "https://blablba.test.com/test/cancel",
},
{
idempotencyKey: uniqueKey,
}
)
This is giving error for setup mode

#

@leaden plank pressed the πŸͺ Webhooks button in #help to ask a question:

Question
How do we know when a user initiates a dispute?

Do you need to listen in on something?

Related Event ID(s)
None

What have you already attempted?
None

#

@balmy slate pressed the πŸͺ Webhooks button in #help to ask a question:

Question
An invoice was created in CLI by stripe trigger invoice.payment_succeeded
But trying to retrieve (with test api key) it fails:
invoice = stripe.Invoice.retrieve("in_1PR9cxLKXDQTipfoeOd5W3Z9")
Request req_kpLXzdJY4LATXl: No such invoice: 'in_1PR9cxLKXDQTipfoeOd5W3Z9'

Meanwhile this id invoice clearly exists in invoice section in the dashboard (test-mode)

Related Event ID(s)
evt_1PR9cyLKXDQTipfo58Dm91vu

What have you already attempted?
Seems like it may be related to account configuring.
However I didn't find account references in Invoice.retrieve command