#dev-help

1 messages · Page 87 of 1

cursive heronBOT
#

@tawdry tusk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
custom design ExpressCheckoutElement

Related Request ID(s)
ExpressCheckoutElement

What have you already attempted?
I want to fully customize the payment buttons for example apple pay button, match the design to my ui

cursive heronBOT
#

@hazy coyote pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are developing an app similar to Airbnb and Turo. We use Stripe to charge customers and issue payouts. However, we are encountering an issue with the Connect account setup for payouts. Stripe requires us to collect the account number, routing number, name, full SSN, full address, date of birth, phone number, and email.

We want to streamline this process and only ask customers for their name, account number, routing number, and zip code. Is there a way to simplify this information collection while still ensuring the connected account gets verified and is ready for payouts?

Related Request ID(s)
req_a9mnv50LKoWJzt

What have you already attempted?
when we send all the info the account become verified.

#

@broken yew pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
app.post('/webhook', express.raw({type: 'application/json'}), (request, response) => {
const sig = request.headers['stripe-signature'];

let event;

try {
event = stripe.webhooks.constructEvent(request.body, sig, endpointSecret);
} catch (err) {
response.status(400).send(`Webhook Error: ${err.message}`);
console.log(`⚠️ Webhook signature verification failed.`, err.message);
return;
}

Question
I dont know why im not getting the Stripe signature correctly

What have you already attempted?
I attempted different Stripe documentations

What are you working on?
A Listener for my Stripe purchases and listen every Stripe webhook event

cursive heronBOT
#

@lost shore pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When creating a Refund for a fraudulent charge from the API [1], how do I add a description about why the payment is being marked as fraudulent? I'm guessing it goes in metadata somewhere. It's even mentioned in the metadata docs [2] as a "sample metadata use case", but I can't find anything about the expected metadata key name or anything.

[1] https://docs.stripe.com/api/refunds/create
[2] https://docs.stripe.com/api/metadata

Related Request ID(s)
N/A

What have you already attempted?
[1] https://docs.stripe.com/api/refunds/create
[2] https://docs.stripe.com/api/metadata

What are you working on?
Automating a bunch of refunds due to a carding attack.

cursive heronBOT
#

@vivid rivet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Checkout session redirect stopped working on 7/1, session id is not included in the redirect url

Related Request ID(s)
evt_1PdihgDl7puKas71Bnjw4qGd

What have you already attempted?
Looked through our internal logs. We started seeing errors with our logic to parse the session_id from the query parameters. This error is only thrown if session_id is not included in the request url

What are you working on?
stripe checkout session

cursive heronBOT
#

@harsh kindle pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Keeps saying My SSN ID number doesn’t match my date of birth when trying to get verified on WhatNot

Question
Can you make this change so that I can get verified on the app

What have you already attempted?
contacting and retrying

What are you working on?
WhatNot verification

#

@loud charm pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I'm actually not a developer, but a PM. My dev informed me that a standard account can access the dashboard and view full information of my business, meaning seeing the whole transactions, balance combined from other accounts. I do not believe it's true so I need your confirmation on this. Thank you.

What have you already attempted?
I tried reading the document, it is showing full Dashboard for Standard Account and Express Dashboard for Express accounts which I'm not sure what it means.

What are you working on?
A delivery app.

#

@lucid zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to charge Schedule type subscription immediately?
Schedule type subscription are charged with a 1 hour delay. Is there a way to bypass this delay?

I cannot use normal subscription flow where the charge is instant. I need to use schedule subscription. The charge needs to be instant since we cannot let the user into premium zone before the charge has already been made.

Related Request ID(s)
N/A

What have you already attempted?
The doc says charge will work with 1 hour delay so nothing from my side that needs to be attemppted.

cursive heronBOT
#

@dusk gulch pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If subscription price update than my payment failed every time how to resolve this

Related Event ID(s)
Webhook

What have you already attempted?
Payment failed subscription price update

What are you working on?
Recurring payment

cursive heronBOT
#

@silk python pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am not getting "refunds" in webhook data. why?

Related Event ID(s)
evt_3PdmslLiNMWTEN8V0WSy8KQi

What have you already attempted?
I check with another stripe test account and i confirmed that i am getting "refunds" param in response

cursive heronBOT
#

@maiden goblet pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
After a user purchases a product (prod_QJc980FvliPCFh) with a one-time payment, our system needs to receive the payment success event and then authorize the corresponding user. However, our developers have not found the corresponding event. Which event should we use?

Related Event ID(s)
-

What have you already attempted?
We only received two returned events:
payment-intent-succeeded
checkout.session.completed

#

@winter shuttle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have my platform & I want to charge commission fee from user only. User could see that this is commission fee from platform. Suppose user is doing transaction of $100 and platform fee is $5 then user should see it as $105 with breakup. How can I do that

Related Request ID(s)
No id

What have you already attempted?
I went through documentation

What are you working on?
One time payment and subscription

cursive heronBOT
#

@summer oxide pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
Been looking at payment method and other docs but cant find much relevance.

Question
Hi Devs, I am trying to integrate cashapp and amazon pay as an option for payments but for an ongoing subscriptions i.e. If user wants their renewals to go through cashapp and amazon starting next payment cycles. Is there any pre-build feature or functionality that I can leverage to do that?

What have you already attempted?
I am trying to use checkout session flow for the same but is not helping as payments and everything needs to be passed and a complete payment is being made but I just want to authorize cashapp for next billings

What are you working on?
Need these payments methods to be used in next billings for an ongoing subscriptions without cancelling the sub, or updating just at the renewal time but anytime user wants to switch to other method.

cursive heronBOT
#

@stable hawk pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I had read the docs and see in there is said: "There’s an additional cost for using Express or Custom connected accounts.". I can not research this cost

What have you already attempted?
I try to research to understand what is an additional cost when choose Express

What are you working on?
Explain and give the number about addtional cost

#

@keen spire pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
when i have integrate js.stripe.com in my application then i am getting some cookies like(cid,docs.prefs,recent-view) these are secured for Samesite=Lax and secure=true with checkmark e.i(true) . but there is one attribute httponly that i need to make true e.i(checkmark) there is any code snippet for that

What actually happened?
when i have integrate js.stripe.com i my application then i am getting some cookies like(cid,docs.prefs,recent-view) these are secured
for Samesite=Lax and secure=true with checkmark e.i(true),but there is one attribute httponly that is not true e.i(checkmark tick)is not available there

Reproduction Steps
i have to implement http attribute with true flag for js.stripe.com

Question
when i have integrate js.stripe.com in my application then i am getting some cookies like(cid,docs.prefs,recent-view) these are secured for Samesite=Lax and secure=true with checkmark e.i(true) . but there is one attribute httponly that i need to make true e.i(checkmark) there is any code snippet for that

cursive heronBOT
#

@vague mortar pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected it to work

What actually happened?
good morning, I wanted to let you know that after updating the module to version 3.3.1 for Prestashop, the payment method with integrated form no longer works. I tried on several websites and also on a new installation, there is a regression. Who can I report it to?

Reproduction Steps
install module 3.3.1 for prestashop on any version

Question
I would like to know who I can ask

cursive heronBOT
#

@valid torrent pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The system attempts to charge the subscription invoice four times within a week, as specified in the subscription configuration

What actually happened?
The invoice with ID in_1PZUWTCYIYr4SWC9gKwSS8v8 was voided three days after its creation.

Reproduction Steps
You can view invoice history by id

Question
We expect the final payment attempt to occur after 7 days. For certain subscription types, we delete the invoice via the API after 6 days to preserve the subscription. In this case, however, both the invoice and the subscription were deleted after the invoice was removed.

#

@gloomy kite pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var options = new PromotionCodeListOptions { Code = promocode, Limit = 1 };
options.AddExpand("coupon.applies_to.products");
var service = new PromotionCodeService();
StripeList<PromotionCode> promoCodes = service.List(options);
return promoCodes;

Question
Error getting this, this property cannot be expanded (coupon). You may want to try expanding 'data.coupon' instead.

What have you already attempted?
I read this doc https://docs.stripe.com/api/promotion_codes/object#promotion_code_object-coupon-applies_to

#

@austere monolith pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I updated the Payout settings for Connected Accounts to have a 10 day delay in payouts.. but its still sending payouts daily. Did I understand the concept wrong?

Related Request ID(s)
n/a

What have you already attempted?
Tried changing payout settings

What are you working on?
Stripe connect

#

@deft river pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I'm working on integrating with Terminal SDK for checkout and firmware updates. I have questions about the network requirements for integration.
Does the Terminal reader update firmware require using any API through port 63357? Any network requirements ?

Doc/Guide Links
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=react-native&reader-type=bluetooth

What are you working on?
Terminal SDK checkout & update firmware

#

@lilac robin pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best practice for creating "inactive" subscriptions and then discarding them?

I speed up my flow (i.e. reduce button clicks) by creating a customer on entry to a screen, then on a button click it registers a subscription for that user, but that will only be active once a users pays.

How should I deal with that. Is good to cancel a subscription each time, or is it fine to have multiple inactive subscriptions.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=react-native&ui=elements&lang=node#cancel-subscription

The above is for cancelling an existing active subscription, how does one deal with an inactive subscription.

And is there a way to deal editing a subscription in the react native app for the user i.e. pausing a subscription rather than ending it. (just curious)

What are you working on?
An app that allows a user to purchase a subscription to a physical product near them

#

@ivory crown pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm new to stripe.
We have product and need to add stripe as payment gateway

Currently subscription with free trail is implemented

We want to change it to usage based pricing

Idea is user will subscribe and will get 1000 tokens for base subscriptions and if he exceeds that he'll have to pay extra for each token after that.

So monthly user will get 1000 token for base price and extra he'll have to pay based on usage tokens

Want to know best approach for implementing this
Tech stack

frontend - nextjs
backend - nodejs

Related Request ID(s)
0

What have you already attempted?
currently we have normal subscription with free trail following steps are implemented

  1. stripe.customers.create
  2. stripe.checkout.sessions.create

now we want to switch to usage based pricing what is best approach

also we have give free trail for few tokens with payment method verified

What are you working on?
AI chat application

#

@dusk gulch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$payment_intent_confirmation = \Stripe\PaymentIntent::confirm([
'expand' => ['invoice.subscription'],
'payment_method' => 'pm_1PSvZOIErBwOu8QAQYwZoA2X'
]);

which subscription pass invoice.subscription here

Question
Code correction no idea what pass expand value ?

What have you already attempted?
I first attempt

What are you working on?
Recurring payment method confirmation

#

@glacial igloo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
So in my specific checkout implementation, i do not collect customer information like, their email before hand. It all happens on the checkout form from Stripe.

So I m just using:
```
customer_creation: if_required
```.

For that reason, from the API and docs, I made the conclusion that there is no way of changing the Invoice locale? Cuz on one of your docs it's stated to just change ``preferer_locales`` on the user's Customer object, but in my case thats not like the way.

Related Request ID(s)
none

What have you already attempted?
Reading docs/API ref

cursive heronBOT
#

@tribal quiver pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when i use session.New with mode="setup" to create a setup intent session, it returns a session object and send a "setup_intent.created" event. why the client_secret in the responsed session is not equal to the client_secret in the setup_intent object? how can i fetch the real client_secret when session.New is timeout but received the setup_intent.created event?

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse

What are you working on?
i'm building the subscription feature for our product

#

@low wadi pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using a sandbox and trying to set up a local listener. I am using the stripe preview CLI plugin. My events are showing up however they are not being forwarded to my webhook. They are also not showing in the dashboard. The local listener is showing in the dashboard though.

Related Event ID(s)
evt_1PdqqQP1s6QYuWg9i7ATrBGn

What have you already attempted?
I have directly called my webhook without stripe and confirmed that it does work. I have a console.log on the first line of the webhook.

I also tried without the preview CLI however it looks like the preview plugin is the only way to work with webhooks in a sandbox.

What are you working on?
A marketplace for service providers

#

@magic shadow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import getStripe from "./services/get-stripe";

const StripeProvider = ({ stripePublicKey, clientSecret, children }: Props) => {
return (
<Elements
options={{
clientSecret,
locale: "en",
}}
stripe={stripePublicKey ? getStripe(stripePublicKey) : null}
>
{children}
</Elements>
);
};

// within children

const Checkout = () => {
const stripe = useStripe()
if (!stripe || !elements) { throw ....

}

Question
I see that when using Elements and `loadStripe`, Elements is rendered allowing any consumers to be loaded as well. However, I think that the `loadStripe` promise has not resolved yet causing the so called stripe context to be null. Is there a way to understand that Elements/stripe is still loading?

What have you already attempted?
Place `loadStripe` in a `useEffect` and create a custom loading state with `useState`

```tsx
const fetchStripe = useCallback(async () => {
setLoading(true)
const promise = await loadStripe(stripePublicKey)

setStripePromise\(promise\)
setLoading\(false\)

}, [stripePublicKey])
```

#

@west temple pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We have enabled Apple Pay on our domains and verified them - Stripe elements with Connect should show the option to pay using Apple pay - connect account have also enabled apple pay

What actually happened?
The connect elements does now show this option

Reproduction Steps
If you visit this link: https://artsvp.com/789870

Attempt to checkout via an apple device you will see it does not show.

Question
Do we need to do any additional configuration in our codebase for connect accounts using stripe elements for this to show?

What are you working on?
A a booking system for the art fairs

cursive heronBOT
#

@tame vessel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Custom credit card form to add card to a customer

Related Request ID(s)
None

What have you already attempted?
I have created a form to capture card number expiry and cvv, now I want to attach this to a customer that is already on the dashboard `(cus_xxxxxx)`

What are you working on?
Building a dashboard for my discord bot with subscription payments

#

@echo coral pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I integrated Striped payment request button years ago - https://docs.stripe.com/stripe-js/elements/payment-request-button

Now the doc says its deprecated and need to migrate. Is this integration is still available for existing users? Or Stripe stop supporting this feature. Basically Stripe provide a deadline for migration

Related Request ID(s)
no req ID

What have you already attempted?
Now the apple pay/ gpay/ link is not visible

#

@brisk nymph pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Setting default card not working as expected -
For this cus_QUmgXezCA3EcSt user I have set the card ending with 0341 as default but the user is getting charged with card ending with 4242.

FYI- Default card is attached via API

Related Event ID(s)
cus_QUmgXezCA3EcSt

What have you already attempted?
N/A

#

@granite lotus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
After create Invoice did it return payment Intent

Question
After create Invoice did it return payment Intent

What have you already attempted?
After create Invoice did it return payment Intent

What are you working on?
After create Invoice did it return payment Intent

cursive heronBOT
#

@stone drift pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
im implementing stripe in our checkout process, the checkout page is used to get and confirm the credit card without actually making any payment, and each month the user is billed based on usage, if possible i would like to keep the user in our site with the 3DS even if its through iframe. u have many options and i feel im getting lost, would love to know what is the best combination u would recommend, im using react and nodejs

similar to this flow https://docs.stripe.com/payments/paymentintents/lifecycle
thank you very much

Related Request ID(s)
https://docs.stripe.com/payments/paymentintents/lifecycle

What have you already attempted?
i created the customer and tried to create
setupIntents but i didnt get how should i attach the credit card , and make sure its valid.
and in the front i tried to implement this
https://docs.stripe.com/payments/quickstart?lang=node but its not working

#

@weary hemlock pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
addressElement.getValue().then()

Question
Is there a way to get if the address is complete without triggering the validation?

What have you already attempted?
i tried getValue on the element, but it triggers the validation.

What are you working on?
address element

cursive heronBOT
#

@edgy sand pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected my balance to be credited

What actually happened?
Instead, what was credited is a specific "wallet" named "Future refunds or disputes or negative balance". How to I transfer funds from this "wallet" to my actual platform account balance ?

Reproduction Steps
topup and wire money from bank account to platform account.

Question
How to I transfer funds from this "wallet" to the
actual balance ?

What are you working on?
I did not credit my balance to have enough funds to transfer a connected account

cursive heronBOT
#

@obtuse quarry pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I somehow retrieve the acct_xxx id from a event?

Related Event ID(s)
none

What have you already attempted?
Looking at the api, looking in code if I can set it in metadata or somewhere.

What are you working on?
Personal project

cursive heronBOT
#

@silk python pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is best approach to get refund object on charge.refunded. At this moment, i can use stripe api to get list of refunds and pick latest one to apply on order. But i want to prevent race condition if multiple refunds generate for same payment intent.

Related Event ID(s)
evt_3PdmslLiNMWTEN8V0WSy8KQi

What have you already attempted?
NA

#

@quiet bramble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we have multiple subscriptions that can be added to a subscription bundle anytime during the cycle. When a user adds a new subscription to their existing subscriptions, the pro rated cost is not being charged automatically but on the next cycle. Is is possible to charge the pro rated amount immediately? On the stripe dashboard it shows up as a pending invoice

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Additional subscriptions

#

@tame vessel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happens when payment method gets deleted,
I have a customer with 2 payment method added, none of them is default

When a the user creates a subscription he can choose which card he want to use

And after the subscription created, if the user deletes the payment method that was used for the subscription, which the customer has another payment method in his account which is not default, will the subscription use the other card when period ends?

Related Request ID(s)
N/A

What have you already attempted?
Just query

What are you working on?
A discord bot

#

@hushed jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happens if I create a payment Intent with off_session=true but a payment method that requires confirmation was utilized.

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
Ecommerce Website

#

@summer crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I retrieve in a checkout session the net price of a line without the discount applied to it? We have an inclusive tax rate so it is automatically included on the final price (that is after the discount). So adding the discount to the de-taxed final price is wrong. Essentially, I want to obtain the amount-subtotal with only the tax rate applied.
Thank you in advance

Related Request ID(s)
tax rates

What have you already attempted?
I have search the documentation for this information and it could be that line_item.taxes[0].amount yields the result to be subtracted from the subtotal, although I doubt it since the documentation states that it contains the total tax from this tax rate which would also include the discount. Maybe I could fetch it from the line_item.Price object? I am not sure.

#

@fringe relic pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Can I reverse detach of payment method of my clients?

What actually happened?
A new feature accidentally detach 60% of the payment method for ours clients, It's possible reverse this detach to help to our customer?

Reproduction Steps
Detach a TDC and reverse this detach

Question
Can I reverse detach of payment method of my clients?

What are you working on?
Sigo seguros

#

@twin thicket pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/charges#stripe-fees

Question
Do I understand correctly that when I have a Connected account, and I create a charge on behalf of if, the Stripe fee is paid by me, not the connected account? If it is, do I pay for a currency conversion when the presentment currency and the connected account's settlement currency is different by my currency?

What have you already attempted?
I've read multiple docs about `on_behalf_of`

cursive heronBOT
#

@ripe juniper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have this code to transfer the stripe payment to the Stripe Connect account

stripe.checkout.sessions.create({
payment_method_types: ['card'],
...
},
{
stripeAccount: "",
}

in this way all the money are transferred to the connected account, what if I want to keep a % and transfer the remaining part?

Related Request ID(s)
.

What have you already attempted?
None, idk if the code below is the right way

"payment_intent_data":{
"application_fee_amount": ...,
"transfer_data":{
"destination":"..."
},
"on_behalf_of":"..."
}

What are you working on?
NodeJS

#

@steel inlet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our system is failing because the Invoice's description field on invoice.created webhook events is null, but until recently it was an empty string.

Related Request ID(s)
none

What have you already attempted?
none

What are you working on?
none

#

@hushed jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have two questions please. 1) I notice you are now asking for confirmation_token in the setupIntent->confirm() method. Where am I getting this from. 2) I notice bother paymentIntent->create() and paymentIntent->confirm() have flags for setup_future_usage...is it required to do it in both places?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
Ecommerce Checkout

#

@unique rose pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any API that let's us know what payouts are going to be affected by a national or bank holiday? Basically we are hoping to show a notice to our businesses to the effect of "some payments in this payout are delayed by up to 24 hours due to the X holiday" or something like that.

Related Request ID(s)
n/a

What have you already attempted?
Looked through API docs and did not see anything, just wanted to confirm there wasn't some way to do what we're looking to do.

What are you working on?
Paw Partner payments

#

@cinder fog pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can we use oauth2 and use our own app once we launch it?

  1. I've read the docs and they're saying that we can't install our own app because we are the developer and it's already installed for us.
  2. We can't go through the oauth flow because of that.

My question is - are we able to use our own app, including oauth2?

Related Request ID(s)
NA

What have you already attempted?
I've read this section where it says that we can't install the app because we're the developer: https://support.stripe.com/questions/why-cant-i-install-an-app#:~:text=You are not an Administrator,your role in each account.

#

@haughty dagger pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Stripe App Submission

Question
I created a stripe app and it says i am required to make changes, but it does not state what the changes I need to make are?

What have you already attempted?
Looking for the required changes

cursive heronBOT
#

@dapper umbra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Question: How do you use the payment intents API endpoint in the node SDK, between connected stripe accounts (no customer accounts)

Related Request ID(s)
req_LOWpuy1k04PV88

What have you already attempted?
Context:
We have 2 connected stripe user accounts and want to use the "paymentIntents" endpoint . We keep getting the following error:
"resource_missing - customer
No such customer: 'acct_1Pdv5uIRGycIR2Ps'"

We have confirmed that this account number does exist.

What are you working on?
A digital waller mobile app

cursive heronBOT
#

@nova egret pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What's the TTL for `PaymentIntent`'s `clientSecret`? I'm trying to figure out if I reconfirm a failed PI do I need new secret all the time

Related Request ID(s)
n/a

What have you already attempted?
Re-use the previously created `clientSecret`

What are you working on?
payment retry

cursive heronBOT
#

@weary crescent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The payment intents on my subscription renewal invoices are being created with "setup_future_usage": null, so that when the renewal fails due to bad card data and then the customer pays with a new card, the payment method isn't stored on the customer and cannot be attached to the customer after it's been used.

Related Request ID(s)
pi_3PdKZ7GcOvBbq6Ss0jnhkQgA

What have you already attempted?
we are using confirmPayment in the UI with the payment intent that's automatically generated on the renewal invoice. this succeeds but isn't attached to the Customer. I tried using the APIs to retrieve and attach the payment method in our async consumers but got an error due to it having been used already.

When the renewal invoice is generated with it's payment intent, I can listen to the events and update the payment intent to give it "setup_future_usage": "off_session", but I want to see if there's a way to get it to be generated initially with this already setup

What are you working on?
When a customer pays a failed renewal invoice I want the payment method to be stored on the Customer for future use

#

@nova egret pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/standard-accounts#create-link

Question
Can 1 connected account be connected to multiple platform accounts? We're trying to split our platform accounts into 2 and were wondering if we need to re-onboard the connected accounts.

What have you already attempted?
Nothing

What are you working on?
Connected account onboarding

#

@thick sage pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When deleting a customer in Stripe, following a Privacy Compliance request, I notice that the Subscriptions that belonged to that customer are not anonymized. The full name and email are visible on the subscription details. How would I go about anonymizing the customer and their subscriptions?

Related Request ID(s)
req_XwRhYY7XUyx4mJ

What have you already attempted?
Did not find anything regarding anonymization in the docs

What are you working on?
Automated system to respond to DSAR requests for data deletion. This includes Stripe data regarding our customers' purchases

cursive heronBOT
#

@topaz talon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm using Stripe accounting software integration APIs to connect my connected account with Xero accounts. After authenticating with Xero and clicking 'Complete Profile,' I'm getting below error.

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Integrating connected accounts with xero

#

@nimble jacinth pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Convenient logins into Stripe Connect

What actually happened?
Stripe connect: Users that are in my stripe connect account system are asked to enter a OTPC every single time they access dashboard

Reproduction Steps
Visit the stripe connect dashboard link

Question
Is there a way to not have the user enter in a texted code each and every time

#

@crystal fog pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Necesitamos ayuda ASAP para configurar el proceso de pagos. Les comento: vamos a cobrar 3 cosas, 1 set up fee, y luego una subscripcion fija de 2 planes: 200 o 500 usd + 30 centavos por minuto de uso del servicio (que cargaríamos nosotros). Y necesitamos que le llegue el invoice a los clientes mensualmente de lo que se le cobro, pero ya pre autorizarnos a hacerlo.

Related Request ID(s)
i dont know

What have you already attempted?
we did not attempt it yet

What are you working on?
Necesitamos ayuda ASAP para configurar el proceso de pagos. Les comento: vamos a cobrar 3 cosas, 1 set up fee, y luego una subscripcion fija de 2 planes: 200 o 500 usd + 30 centavos por minuto de uso

cursive heronBOT
#

@unborn robin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to retrieve the balance of a connected account but I can't get the parameter of the connected account id right. I keep getting errors of wrong url or parameter unknown. Does anyone have any experience of this?

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

What have you already attempted?
Tried every way I could think of basically

#

@quick lion pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are offering software which is sold entirely online.

A crucial aspect for us is that when a customer purchases our software, they are required to enter their contact details, including address, email, phone number, and company name. While we understand that these details are available in the dashboard later, we need to obtain this information immediately upon purchase through an API. This is essential for us to activate the software for our customers promptly.

Could you please le

Related Request ID(s)
Api

What have you already attempted?
We are new at stripes

What are you working on?
softare selling

#

@elfin bramble pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can dynamic paymment methods still work if I pass in an array payment types on the client side of the Stripe SDK.

Basically what we are trying to accomplish is to give Stripe all the payment methods available to the merchant EXCEPT FOR one or two payment types given our own context.

Will passing the array into the client side stripe payment element avoid the dynamic payment logic on Stripe's end?

We've seen mixed results and it's hard to debug. Thanks in advance!

https://docs.stripe.com/payments/payment-methods/dynamic-payment-methods?payment-ui=payment-element

Related Request ID(s)
testing123

What have you already attempted?
We saw problems with passing in types to the backend intent creation. But i'm not sure if we get the available payment method types from the server and send that up to the client to pass into the elements call.

What are you working on?
creating invoices with dynamic payment methods

cursive heronBOT
#

@vocal wagon pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I would like advice on setting up stripe to avoid disputes for many reasons

What actually happened?
My stripe encountered a lot of disputes when selling products and to my surprise, I encountered a lot of servers doing the service *Hitting stripe*, which means you can buy products for free on any website that uses stripe."
I have a video showcase on the server about this :
https://streamable.com/ughb5e
https://streamable.com/udpflj

Reproduction Steps
xxxxxxxxxxxxxxxxxxxxx

Question
Is there any way to fix and block these methods??

What are you working on?
Freelancer

#

@earnest lintel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When an invoice states "Remaining time on [service] after [date]," does it include the specified date? For example, does "after August 30" cover August 30-31 (2 days) or just August 31 (1 day)?

Additionally, we use UTC time for calculations. Can you confirm if proration is based on the exact moment we perform the operation (e.g., midnight UTC) and how this affects the proration period in days?

Related Request ID(s)
xxxxxxxxxxxxxx

What have you already attempted?
We have looked at various invoices we prorated, but its hard to understand what the behavior is.

#

@old remnant pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For every invoice per customer, I'm trying to calculate how much revenue was generated. Right now the way I'm doing that is fetching all invoices, expanding the `charge` and `charge.balance_transaction` and then using `balance_transaction.net` to calculate how much was paid out to us. This doesn't account for the refund amount. My question is how can I calculate the amount that was deducted from our balance (which in USD) for the refund. The amount in the refund object uses the currency the customer paid in.

The purpose of getting this revenue generated amount is to calculate the amount we owe in USD to affiliate partners.

Doc/Guide Links
https://docs.stripe.com/api/balance_transactions/object
https://docs.stripe.com/api/invoices/object
https://docs.stripe.com/api/refunds/object

What are you working on?
Affiliate Dashboard

#

@scarlet radish pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const PAYMENT_METHODS: Record<string, PaymentMethod> = {
swish: {
currencies: ['SEK'],
},
mobilepay: {
currencies: ['DKK', 'EUR', 'NOK', 'SEK'],
},
twint: {
currencies: ['CHF'],
},
};

Question
I am in the process of implementing swish, mobilepay and twint with stripe elements. I am unable to test the use case of the modal popup phase (After submission, you will be redirected to securely complete next steps.) to pay with each respective payment provider. It just gets stuck on Processing order... Do not close or refresh this page while we complete your order.

What have you already attempted?
the checkout and code base works for other payment providers including google pay/apple pay. Is there anything I am missing

#

@smoky pasture pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Would like to add afterpay_clearpay as an option on checkout sessions and invoices. My code right now uses payment_method_options, but no payment_method_types. Need some help clarifying how to add this.

Related Request ID(s)
none

What have you already attempted?
My code has created many checkout sessions, but would like to integrate as many payment options as possible, right now my goal is to add afterpay

What are you working on?
Improving my apps

cursive heronBOT
#

@left horizon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
It's the fisrt time Stripe ask me for the verification code.

Question
Where can I find the verification code?

What have you already attempted?
Yes

What are you working on?
I tried all the options stripe gave me

#

@trim agate pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
embedded form checkout object returned

What actually happened?
embedded form with error text returned

Reproduction Steps
embedded form checkout example with html and php

Question
what is causing this error? is there an error I can catch?

What are you working on?
checkout embedded form example from the API documentation with html front and php backend

#

@clear sandal pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
customer: customer.id,
allow_promotion_codes: true,
line_items: [
{
price: '',
quantity: 1,
}
],
mode: 'subscription',
metadata: {
guild_id: interaction.guild.id,
user_id: interaction.user.id,
},
success_url: '',
});

Question
I want make possible that user can choice between a yearly or a monthly subscription.

What have you already attempted?
Ihave tried to add another price in line-items but i get an error about monthly/yearly can't be added in a same checkout session

What are you working on?
A discord bot premium version

cursive heronBOT
#

@crisp falcon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Error for a payment intent creation saying that we need to specify a `return_url`.

We don't accept payment methods that require a redirect currently. When creating a Payment Intent with confirmation_method=manual, how can we indicate that we don't need to specify a redirect_url in the API?

Related Request ID(s)
req_rEH09mQd6kSKOI

What have you already attempted?
We tried to specify `automatic_payment_methods[allow_redirects]=never`, but that apparently conflicts with our specification of the `confirmation_method=manual`. We end up with this error:
```
You may only specify one of these parameters: automatic_payment_methods, confirmation_method.
```

What are you working on?
We're working on updating our SDK and API version

cursive heronBOT
#

@strong girder pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to upgrade subscriptions to a different product ID/PriceID. I was planning on using the billing portal for that. Will that work correctly or does it need to be the same

Related Request ID(s)
N/A

What have you already attempted?
I have attempted using the billing portal, but it wants a new subscription ID. Would it make sense to make a new subscription with the new product and then push it through that way?

What are you working on?
Subscription API for SaaS product

cursive heronBOT
cursive heronBOT
#

@dreamy mural pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working on a paid trial endpoint and using the `trial_end` to set the subscription start time to exactly 3 months from their purchase date. Here's my url params:

```
const oneTimeLineItems = `line_items[]price=${specialPriceId}&line_items[]quantity=${quantity}`;
const subscriptionLineItems = `line_items[]price=${subscriptionPriceId}&line_items[]quantity=${quantity}`;
const trialEndDateTimestamp = `subscription_data[trial_end]=${trialEndTimestamp}`;
```

But I get this error when I test my endpoint:

"message": "The maximum number of trial period days is 730 (2 years).",

Related Request ID(s)
NA

What have you already attempted?
See above

What are you working on?
Private fitness app

cursive heronBOT
#

@dawn galleon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am doing checkout session to allow user to sign up for a trial without registering a credit card. I need to put a price id, so I use a monthly product. The text on the check out page says,
Try Monthly
7 days free
Then $30.00 per month
Is there a way not to show the last sentence? If the user has not entered a CC, then $30/month looks weird.

Related Request ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

@bronze hedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to use the api, in testing developer mode, in order to add a bank account to an existing stripe connect account. However, I'm getting this error:
{
"error": {
"code": "oauth_not_supported",
"message": "This application does not have the required permissions for this endpoint on account 'acct_1PTdxyBOBGuf4UjS'.",
"request_log_url": "https://dashboard.stripe.com/acct_1PTdxyBOBGuf4UjS/test/logs/req_KK2NLrIzflBP3t?t=1721347233",
"type": "invalid_request_error"
}
}

Related Request ID(s)
req_KK2NLrIzflBP3t?t=1721347233

What have you already attempted?
I've attempted seeing if the api key doesn't have enough permissions, but this is the normal key with full permissions.

cursive heronBOT
#

@gusty river pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/update

Question
I have a subscription with multiple price items attached to it. I am trying to update this subscription through the subscriptions API to remove 1 price item. That was successful but it was removed immedietly and a refund invoice was created. Is there a way to allow the price item to remain valid until the end of the billing period and not refund its amount?

What have you already attempted?
I looked at the proration behaviour but wasnt sure if thats the correct parameter to change to get the behaviour i expect

cursive heronBOT
#

@ornate dragon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we want to sell digital products through stripe checkout, we have no CRM, users checkout through a simple stripe payment link. How can we send the digital product to the customer immediately? We have no CRM that handles this.

Related Request ID(s)
none

What have you already attempted?
looking for easiest way. no experience in code

cursive heronBOT
#

@restive star pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a use case:
A user can add a discount to a yearly subscription, but may need to provide additional info to us for that discount to be valid. We apply it anyways and give them 14 days to provide info.
When they provide it, we would like to apply the discount to be removed at a specific date (e.g billing starts 1st Jan, discount applied until Sept30). In this case I still want to retain the same subscription current_period_end, but issue an invoice to the user for the FULL remaining amount due (Sept 30 - Dec 31) - any amounts already applied.

Doc/Guide Links
E.g use: user is on $10/m billed yearly ($120) with 20% discount until Sept 30, meaning they have paid ($120 - (120 * 0.2)) = $96 upfront.
The discount is removed from Sept 30, meaning from Sept 30 - Dec 31 they should be paying the full undiscounted amount for that date period.

This would be: $10 x 3 months = $30. But as they paid the whole amount upfront they were charged the equivilant of ($10 - (10 * 0.2)) - $8.
I want to no issue an invoice for the undiscounted amount remaining: $2 x 3 to the user, but retain the same subscription current period end, i.e so that their subscription will renew on Jan 1, 2025.

What are you working on?
A subscription payments system

#

@agile ridge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Only see configured payment methods on the payment elements widget.

What actually happened?
Seeing Stripe Link on the payment elements widget when we have it turned off as a payment method. It's currently only happening in test mode.

Reproduction Steps
Its currently only happening when we use our test keys.

Question
See attached screenshot. Our backend does not support Link payment method and the last time this happened in prod we had a number of customer affected.

cursive heronBOT
#

@covert lynx pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how can i create a sample subscription that will ends in 7 days ?

Related Request ID(s)
subscriptions

What have you already attempted?
i tried using cancel_at, but i want a test that the subscription is expiring on 7 days

cursive heronBOT
#

@granite field pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$session = PortalSession::create([
'customer' => $organization->stripe_id,
'return_url' => "foobar",
]);

Question
While I can code, for my simple SaaS I would prefer to use a no code solution and offload billing needs to no code payment links.

I have set up the customer portal and am creating a portalsession which allows me to see the payment method and billing info. However, when using payment links to start a subscription and the customer portal the subscription does not show up in the customer portal. How can I basically have customer portal but let user start and stop subscription

What have you already attempted?
i have the portal working

cursive heronBOT
#

@indigo furnace pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am building an integration via api to stripe, I need to create embeded checkoout sessions. On testing mode it works fine, but when I try to publish it an go onto live mode i have the following error a similar object exists in live mode, but a test mode key was used to make this request." I am using the live secret key, it even begins with "sk_live". when I print the session in the console, i can see that the livemode is marked as true.

Related Request ID(s)
Cant find one, i dont see them

What have you already attempted?
I have tried re generating the secret key again, but it always seems to give me the same error

What are you working on?
Im building a platform for people to pay for a service and process the transactions via stripe

#

@obtuse yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if (window.ApplePaySession && ApplePaySession.canMakePayments()) {
const applePayElement = elements.create("applePay");
applePayElement.mount("#apple-pay-element");
}
} catch (error) {
console.error("Error initializing payment:", error);
// Handle error as needed
}
}

Question
apply pay not working please can you help.. i m stuck almost from 1 month.. please help me I will be very thankfull please

What have you already attempted?
30

What are you working on?
payment intigration

cursive heronBOT
#

@left crystal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have tried finding this in the docs, but couldn't find much on it: How long does it take before the first money is debited from a customers bank account when using SEPA Direct Debit for a subscription?

We were expecting an instant debit upon purchasing the subscription, but we are now hearing from a customer that the first debit took 5 days? Is this normal?

Related Request ID(s)
None

What have you already attempted?
I have searched the docs.

#

@crude sky pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Apple pay and google pay

Question
i started integration of applepay and googlepay using stripe
so i want to know
google pay button can i show only in chrome
apple pay button can i only show in safari

or no limitation for this

What have you already attempted?
NA

What are you working on?
Browser level

#

@pale hull pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeSubscription = await stripeClient.subscriptions.update(
accountDoc.stripe.subscriptionId,
{
payment_behavior: 'default_incomplete',
expand: ['latest_invoice.payment_intent']
});
return res.status(HTTPStatus.CREATED).json({
account: normalizer.account(accountDoc),
client_secret: stripeSubscription.latest_invoice.payment_intent.client_secret,
subscriptionId: accountDoc.stripe.subscriptionId
})

Question
I want to get payment intent client secret to update the customers subscription payment method. how can i get a payment intent client_secret if i have already created default incomplete payment intent?

What have you already attempted?
I have tried creating setup intent but it's not working for my case.

What are you working on?
payment integration with stripe

#

@cinder fog pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to use our own app after publishing it?

Related Request ID(s)
NA

What have you already attempted?
I have asked this question before where I explained that I've read the docs and provided a link.

My question was answered with something that I already knew and mentioned that I already know that.

Can someone give me some new information?

My question is: once we launch the app, will we be able to use it with the oauth flow?

If the app is already installed in our account because we are the developer then how could we get the oauth tokens that we need to make it work?

cursive heronBOT
#

@granite lotus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
When I create a invoice, finalize it, and get paymentIntent to render PaymentElement. If user not pay in this step what should I do? ( delete invoice or etc)

Question
When I create a invoice, finalize it, and get paymentIntent to render PaymentElement. If user not pay in this step what should I do? ( delete invoice or etc)

What have you already attempted?
Find the best way

What are you working on?
Stripe payment

cursive heronBOT
#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The customer (a business) has 4 separate tiers to choose from. When they decide to subscribe to Tier 3 for instance, the proration works perfectly, since they are charged for the remaining days in the month. However, when they are changing their subscription, the proration seems to be either setup incorrectly or missing properties.

Related Request ID(s)
-

What have you already attempted?
Consider the following example: User subscribes to Tier 3 (995/mo), is only invoiced for ~470, since the cycle is halfway through. This is as expected.
The day after, they upgrade to Tier 4 (1995/mo).
The proration preview is the full price of Tier 4 and the remainder of Tier 3 (2470) . Meaning the upgrade is more expensive after having purchased Tier 3 and upgrading to Tier 4, than if they simply purchased Tier 4 initially. Since it is a SaaS, it only makes sense to have the previously paid deducted from the upgrade to Tier 4, resulting in it being only the difference between 470 and 1995...

What are you working on?
We're using Stripe Billing to handle subscriptions to a SaaS product.

cursive heronBOT
#

@sinful warren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there! I'm wondering whether there is any webhooks to investigate setUpIntents success, and if I take user's payment details, do I have to put some special key when creating a setUpIntent for future automatic money change or it already retrieves payment details?

Related Request ID(s)
API

What have you already attempted?
I have tried use some of the webhooks

What are you working on?
I have a Wordpress project and Stripe API integrated, I have to two checkout pages(checkout and checkout- trial), I use invoice.payment_succeeded for checkout page, and I don't know what for trial

cursive heronBOT
#

@tired onyx pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The official documentation, in chapter "Place an extended hold on an online card payment", suggests to use the .setRequestExtendedAuthorization to extend authorization over the default period, but in Java this method doesn't exists

Related Request ID(s)
https://docs.stripe.com/payments/extended-authorization

What have you already attempted?
I tried different ways, but never go fine

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Following up on my previous thread:

Also, is there a way to indicate that proration_date (both for the proration preview and the actual subscription change) should be the last day of the month ("31") - similar to billing_cycle_anchor_config.day_of_month? We'll be downgrading the customer when the month is over, and immediately when upgrading. The same applies to yearly subscriptions. We could also just fetch a timestamp on the subscriptions cycle end, and set that as the proration_date, I would assume?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Stripe Billing with subscriptions

cursive heronBOT
#

@obtuse yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
total: {
label: 'Transport any car',
amount: parseInt({{$data->deposit}}) * 100 // Amount in cents
},

giving error
empty total label may be confusing the error

Question
i m intrgRATING apply pay but not working please help

What have you already attempted?
40

What are you working on?
payment intigration

cursive heronBOT
#

@severe delta pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Simple question, how do i retrieve the Payment Page after finalizing an invoice manually?
The Invoice/Invoice Item object has no url attribute to use

Related Request ID(s)
n/a

What have you already attempted?
Parse through the Invoice/invoice item docs as well as FInalizing an Invoice.
I am not needing a Payment Link via session api.

What are you working on?
providing a link to an invoice the user can view

#

@tranquil sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to see a structure of tax division of the total amount

Related Request ID(s)
req_P5v6p56RS4cWue

What have you already attempted?
I have tried 'tax_id_collection={"enabled": True},' and making the tax_behaviour to exclusive for the product/price, creating a new product and price object, updating the account configuration

What are you working on?
I am working on an element to collect payment from the user using embedded checkout session.

#

@solid wolf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Say a user fails to pay the invoice of a subscription. His subscription expired and he tries to pay for it. When he pays, can I still use the original subscription ID or I need to create a new subscription?

Related Request ID(s)
none

What have you already attempted?
none

cursive heronBOT
#

@tulip nebula pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am having a issue with the webhooks and gravity forms. it has been working perfectly until a few weeks ago. The payment takes a long time to submit and works fine but returns to a 500 server error page instead of confirmation. When it does not return to confirmation the form does not submit but it still takes payment. 8 in 10 payments are find but there is a few a day that do not work.

Related Event ID(s)
NA

What have you already attempted?
Updated webhooks and added logging on gravity forms to find issue.

cursive heronBOT
#

@lament parcel pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
\Stripe\PaymentIntent::update($request->payment_intent,
[
'setup_future_usage' => 'off_session'
]
);

Question
My Payment intent got captured, Still I want to update payment intent with "setup_future_usage" : "off_session"

What have you already attempted?
I am using the Stripe API in PHP and created a successful payment intent but forgot to set setup_future_usage. After the payment, I tried updating the intent to set setup_future_usage to off_session. but it throws error. Can it be updated post-capture?

cursive heronBOT
#

@obtuse yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<div class="custom_radiobtn">
<div class="form-group cart_radio">
<input type="radio" id="ck1" name="payment-method" value="card" checked="">
<label for="ck1">
<svg class="p-Icon p-Icon--card Icon p-Icon--md p-TabIcon TabIcon p-TabIcon--selected TabIcon--selected" role="presentation" fill="var(--colorIcon)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1

Question
two time apear these buttons so can we remove these things

What have you already attempted?
10

What are you working on?
payment intigration

#

@orchid heath pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a problem with stripe sepa payments when they fail. I use the webhook charge.dispute.created to block the user out of the system if the charge was disputed. and sometimes they did not block the sepa payment on purpose, so it maybe fails because of the bank or because not enough money was on the bank account. so i contacted stripe support and they told me via dashboard it is not possible to send the same invoice again to the customer with a payment link to let them pay manually. cause right now i send them the invoice from stripe manually and they pay to our company bank account directly

Related Request ID(s)
req_xhXtL8sKwrCRiT

What have you already attempted?
I tried to read in the api documentation if it is somehow possible to grab the invoice id and somhow use the same invoice send it via payment link to the customer and tell them to transfer the money manually. did not find anything. and i also need somehow a way to update the invice to set in the metadata a var like status=sepa_manual_waiting which i then can use when the invoice is payed manual vie the trigger payment_intent.succeded i guess

What are you working on?
saas for companies

cursive heronBOT
#

@normal pier pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to simulate an entire checkout session flow with a 7 day trial, and then in the same flow simulate the trial is ended and user pays?

Related Event ID(s)
checkout.session.completed, invoice.paid

What have you already attempted?
Currently putting a fixture together but it fails to retrieve a subscription id that I can use for the invoice creation and payment action.

What are you working on?
Backend webhook

#

@vestal island pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does subscription item metadata get transfered to subscription schedule phase 1 items metadata?

Related Request ID(s)
req_MSLr0GK13RtoQa req_jjiiClaivp0PbQ

What have you already attempted?
I Created subscription schedule from existing subscription. No item metadata is transfered.

#

@tall beacon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.18"

Question
We are trying to integrate @stripe/stripe-terminal-react-native SDK into our React Native App. The SDK integration has been done but while building the APK, we face an issue on react native.

Here is the log of the error :
Execution failed for task ':stripe_stripe-terminal-react-native:generateReleaseLintModel'.
⁠Could not resolve all files for configuration ':stripe_stripe-terminal-react-native:releaseRuntimeClasspath'.
> Failed to transform Jackson-core-2.16.1.jar

What have you already attempted?
I tried to match the code with the example app code. But that didn't help

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am upgrading a subscription (e.g. changing the price id), and the original subscription has `proration_behavior` to `always_invoice`. `billing_cycle_anchor_config` is `'day_of_month' => 31` the update on the subscription happens instantly, but no new invoice is created

Related Request ID(s)
-

What have you already attempted?
do I *need* to create a new invoice via API manually?

What are you working on?
Stripe Billing

#

@hushed jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm not getting a variable response back from createConfirmationToken()

Related Request ID(s)
NA

What have you already attempted?
I'm using this guide to convert from paymentID to ConfirmationToken

What are you working on?
Will give code below

cursive heronBOT
#

@distant sun pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await stripe.confirmPayment({
elements,
clientSecret,
allow_redisplay: true,
confirmParams: {
return_url: window.location.href,
},
redirect: "if_required",
});

Question
Getting the error:
"When `setup_future_usage` is set to off_session with a secret key, you can only update `setup_future_usage` to off_session using a publishable key."

What have you already attempted?
- Updated both our api and react packages to latest
- Played around with setup_future_usage param (removing from confirm and putting in elements instance etc.)
- tried passing the stripePromise into elements.update()

What are you working on?
Trying to update our payment element to display a customers saved cards automatically

#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am having trouble getting the exact proration amount to show the customer before they pay. I am using the Retrieve an upcoming invoice with proration lines. My call have the SubItem ID,SubsID,customerID, the new Subscription price and the date. I think the issue that i have is with the date since it looks like its looking for 10 digit date. when i show the customer what the proration amount will be it and then i charge the proration it is always off by a few cents and what the customer sees is only about 2 cents of a difference.

Related Request ID(s)
i am using customer ID cus_QV1CoDIEdZ9eAv, Subscription sub_1Pe1AfATCXjCgCHXGlAl1qS6

What have you already attempted?
To be honest i don't know if the date is supposed to be the current date and time or the creation of the subscription that they are trying to upgrade from. I've tried changing the dates, changing to Unix

What are you working on?
I am working on Subscription prorations

cursive heronBOT
#

@restive crescent pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi ! i'm looking for a code example showing how to download a report from 'reporting.report_run.succeeded' webhook event

Related Event ID(s)
none

What have you already attempted?
I already handle the webhook itself but not sure about what to do with "url": "https://files.stripe.com/v1/files/file_1Mr4LDLkdIwHu7ixFCz0dZiH/contents" (example from doc here). Like what headers should i pass ?

What are you working on?
accounting

#

@blazing spoke pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to use a bank account for payments without microdeposits and without having to use stripe financial connections? I want to be able to create payments by providing the bank account number and routing number.

Related Request ID(s)
none

What have you already attempted?
The documentation seems to imply this is not possible.

What are you working on?
I'm working on an integration that will need to able to take payments via an automated phone system. I want the phone system to be able to take bank account numbers and make payments with them.

#

@pure rose pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to test the webhooks integration locally, with one specific event, customer.subscription.deleted. Is there a way to simulate this events locally from an existing subscription without affecting anything from that entity in stripe?

Related Event ID(s)
customer.subscription.deleted

What have you already attempted?
I tried to use the stripe cli
stripe fixtures subscription_cancelled.json
stripe trigger customer.subscription.deleted --override subscription:"id"
but I'm not receiving the information from the specific subscription

What are you working on?
new subscriptions integration for customers

cursive heronBOT
#

@solid wolf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created a checkout session for a subscription. After the user completes the checkout session, I thought I would get a invoice.paid event. Is that correct?

Related Request ID(s)
n/a

What have you already attempted?
n/a

cursive heronBOT
#

@lapis lark pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! After building a SEPA Debit integration following the documentation I'm having trouble understanding how to manage the SEPA mandate lifecycle. When a customer goes through the Stripe Element he sees an agreement text and after submitting the bank details a mandate is created on Stripe. The problem is legally the customer didn't digitally sign any mandate yet. What are we expected to do afterwards? Should we have an out of band process to collect a digitally signed mandate copy from the customer? Regards

Doc/Guide Links
https://docs.stripe.com/payments/sepa-debit/set-up-payment

What are you working on?
I'm trying to setup a SEPA direct debit integration in a way that is legally compliant.

cursive heronBOT
#

@woven topaz pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Customer is on 24 hour trial, but they cancelled their subscription and they were still changed.

What actually happened?
Event fired at 1:51AM for "subscription set to cancel": evt_1PeCXkICZWT3gORklbtU1kL1

But then at 2:22 AM event fires at evt_1PeD0sICZWT3gORkMOt6F2mM for invoice updated... and ultimately finalized for the $19

Reproduction Steps
Look at logs looks for cus_QUpEzoV6ntFTxR and sub_1PdpZyICZWT3gORkwEkxSO5k

Question
I'm led to believe (and want to confirm) this is because they cancelled the subscription "at end of billing period" and not "immediately".

Because if you are on a 1 day trial, is the end of billing period still 30 days later?

Thank you so much for your help.

#

@unkempt cape pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How create, store and attach an expired payment method to a customer for testing?

Related Request ID(s)
N/A

What have you already attempted?
Using the expired test card from Stripe test cards page in 'setup' checkout, attaching a card and then modifying the exp from API

What are you working on?
online store

cursive heronBOT
#

@ripe patio pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created paymentIntent using PHP. How I can see the invoice of payment that the customer Paid? I can see the receipt of payment that the customer paid.

Related Request ID(s)
req_Hc7DMB04s0U4qE

What have you already attempted?
I want to create an invoice that the customer Paid. Let's say the product cost is $10, and the customer paid $3, how do we create an invoice in stripe?

cursive heronBOT
#

@tawdry tusk pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Multiple post and get requests initializing my app

Doc/Guide Links
shared-e3e70ecce14884f26c67fa57190bb7a2.js:1 Fetch finished loading: POST "https://r.stripe.com/b".
(anonymous) @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
e @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
c @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
value @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
value @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
value @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
value @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
value @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
value @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
value @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
value @ shared-e3e70ecce14884f26c67fa57190bb7a2.js:1
(an

What are you working on?
i want to know if there is a better practice or prevent to do all this get and post requests

#

@weak linden pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripe_subscription = \Stripe\Subscription::create($new_subscription);

Question
I am creating a new payment intent and then using Stripe's credit card field to capture the payment. If a customer creates two subscriptions each with a different credit card, the invoices show that the Billing Method is "Charge default payment method". Is the default payment method the default to the customer or the invoice (as in the credit card setup for the subscription)?

What have you already attempted?
I tried multiple new subscriptions using the same customer with different credit cards with the same result.

cursive heronBOT
#

@velvet bane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I found a bug with the Stripe API.

https://docs.stripe.com/api/identity/verification_reports/object#identity_verification_report_object-selfie-status

vr_1PWmfOCXdfp1jQhWdx3LkIDb

This verification report has a selfie -> status of processing when the documentation says it can only be verified or unverified.

Related Request ID(s)
req_dbKQaGjrehCM4V

What have you already attempted?
This is a bug with the API response.

What are you working on?
Stripe identity verification integration with Connect

#

@drifting elbow pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```<StripeTerminalProvider
logLevel="verbose"
tokenProvider={fetchTokenProvider}
//connected account?
>.... </StripeTerminalProvider>```

Question
I am trying to use connected accounts to allow them to utilize Stripe Terminal and am using Stripe React Native SDK. I am getting errors when connecting to reader. "Location is not valid" and when I check the dashboard for the connect account there is not location created even though I created a location for that connect account.

What have you already attempted?
Have tried referring to documentation

What are you working on?
TTPOI

#

@worldly bobcat pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We would love some best practice information on how to manage billing subscription amounts across a customers different departments using different payment methods.

Doc/Guide Links
What is the best way to structure this in Stripe Subscriptions?

- One idea is having multiple stripe subscriptions - one per Division. However, this leads to a lot of complexity on our side. If a customer starts with one Division, and adds another, we need to create another subscription on the same schedule as the first (because from the customer’s perspective there is only one subscription) Also, if a quantity is transferred from one Department to another, we need to decrement one subscription and increment another, it is just a lot to code and test.
- We could create Customer records in Stripe per department but that introduces similar complexity for us

What are you working on?
The system provides compliance for organizations across different departments.

cursive heronBOT
#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way that i can update a subscription that is prorating and have the user see what they will be paying in a stripe page? currently the call that i have "retrieve an upcoming invoice with prorations lines" automatically charges the card and doesn't take the user to Stripe

Related Request ID(s)
sub_1PeIL8ATCXjCgCHXfsPEWTdf req_zLBev3MEoWrjzo

What have you already attempted?
i've to look for different calls with no success

What are you working on?
upgrading the user to a different subscription

cursive heronBOT
#

@honest lodge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripePaymentParams = {
elements,
confirmParams,
redirect: 'if_required',
};
if (!window.Cypress) {
stripePaymentParams.confirmParams.return_url = redirectUrl;
}
let result;
try {
result = await stripe.confirmPayment(stripePaymentParams);

Question
My code works to process payments with lots of different payment methods. I've recently had requests to add support for Apple Pay, which I've set up. Unfortuantely, in the Stripe elements payment intent element, when apple pay is selected and I click place order, I get the following error:
esult object: {"error":{"type":"invalid_request_error","message":"Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again."}} How can I fix?

What have you already attempted?
An interesting behavior: when I click the "Place Order" button right after it fails, it works as intended. I came across on this thread in the topic: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2707

Perhaps it's as the thread suggestions - an issue where the backend API calls between clicking the button and the confirm stripe elements call is causing the issue?

#

@leaden nest pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/element/payment_element

Question
Is it possible to pass in a parameter that would hide the "Google Pay selected.

Another step will appear to securely submit your payment information." text that appears after the user selects a Wallet payment method from the Stripe Payment Element?

What have you already attempted?
Tried looking through the docs

cursive heronBOT
#

@unkempt cape pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I receive emails in test mode?

Related Request ID(s)
N/A

What have you already attempted?
Using the same customer email as a team member on the account, enabling all emails. Tried failed payments and refunds, and didn't receive any emails.

What are you working on?
online store

cursive heronBOT
#

@umbral thunder pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://docs.stripe.com/api/invoices/pay

I am using this api to try to pay an invoice. I've used test clocks to create a failed invoice and have successfully paid several invoices by calling this api.
But for the most recent attempt to pay an invoice I received this error message:
"This invoice can no longer be paid. Consider voiding, marking as uncollectible, or marking as paid out of band instead."

Question
What caused this error ? I couldn't find out any more info on this error.

What have you already attempted?
Looked through docs. It is an `invalid_request_error` .

What are you working on?
I created an api for my site where I call Stripes pay an invoice api. This attempt to pay an invoice comes after the subscription attempted a payment and failed

#

@lofty arch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I take a retrieved Financial Connection and save it to a Connect account as a payout account?

Related Request ID(s)
N/A

What have you already attempted?
I'm having users connect their financial institutions via the Financial Connections element ui. That returns the result with the financial connection account ids and secret. I next want to store one of the returned accounts as the payout account in their associated Connect account. However, when I attempt to use the returned id to create an account token, I get a failure response. Looking through the documentation, it isn't clear how to transfer a retrieved account from Financial Connections and connect it to a Connect account.

cursive heronBOT
#

⛔️ 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.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

@turbid glade pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.

Question
What is the specific reason? payment_intent: pi_3PaQKKEmZ3YgtBNv0jc86RSS

What have you already attempted?
no

cursive heronBOT
#

@daring lynx pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currently, I am trying to integrate Stripe’s Customer Portal for my SaaS product and encountered the following issue: I have created two products, one with a monthly payment and the other with an annual payment, allowing users to switch subscriptions, which is set to issue invoices at the end of the billing cycle. I subscribed to the annual plan and paid for a year, then switched my subscription to the monthly plan. Logically, I should only be able to switch to the monthly plan after my current annual plan expires. However, I found that I was charged again the following month, and my previous annual plan was not refunded. What is going on here?

Doc/Guide Links
https://dashboard.stripe.com/test/settings/billing/portal

What are you working on?
SaaS

cursive heronBOT
#

@rare tartan pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error: stripeError } = await this.stripe.confirmWechatPayPayment(
clientSecret,
{
payment_method_options: {
wechat_pay: {
client: 'web',
},
},
},
)

Question
I tried to do transaction using wechatpay in Malaysia, but it gave me "No such payment_intent" error. I didn't encounter any error while using other country such as Singapore, Indonesia, and Vietnam. Is there any reason for this error? this also not happening on staging while using Malaysia as the user country.

What have you already attempted?
https://docs.stripe.com/payments/wechat-pay I follow this docs and found wechatpay only receive 2 currencies ( CNY and SGD ) but I was able to do transaction with other country ( I haven't tried all country though )

What are you working on?
I'm working on a payment transaction using wechatpay for payment method

cursive heronBOT
#

@fringe yarrow pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am integrating Stripe Link into my payment element. There is one issue: for customers who have already attached a Link payment method, what is the best way to display the Link payment method information to the customer and allow them to update or remove the Link payment method?

Doc/Guide Links
https://docs.stripe.com/payments/link/payment-element-link

What are you working on?
Integrate with Stripe Link

cursive heronBOT
#

@lone hawk pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Question regarding the format of the unique id used in Stripe API

Question
What is the format of the unique identifiers used in Stripe. ie cus_[xxx], is it always 15 characters with a 3 character category prefix?

What have you already attempted?
Nothing, just querying

What are you working on?
Development of Stripe integration

cursive heronBOT
cursive heronBOT
#

@shell stratus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I don't see PayPal as a payment option even though it is enabled

Related Request ID(s)
I don't have the Request ID currently as it's on the client's account, but PayPal is enabled on the account.

What have you already attempted?
I have reviewed the documentation here : https://docs.stripe.com/payments/accept-a-payment?platform=react-native

What are you working on?
I'm integrating payment options in my React Native application

#

@limpid tide pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hello, i have an issue with webhooks i have created, having status code 308

Related Event ID(s)
evt_1PeVQQ2MZZCbWOogktASMnaX

What have you already attempted?
i already create several endpoint, and test all it returns 308,

What are you working on?
i am using supabase and next js vercel

cursive heronBOT
#

@echo aspen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to fetch all the customers using the email through the API and I am using Stripe.Customer.list(email="abc@xyz.com") and it is fetching me 3 customers but when I am using Stripe.Customer.search(query="email : 'abc@xyz.com'" ) this time I am getting 4 different customers for this API why is list missing one customer and what is the case.

Related Request ID(s)
req_cjrVL71cg2iiec , req_moFcku3HnmYoLY

What have you already attempted?
Already attempted searching more about both the list vs search and tried for other entities like charge, invoice etc working find for other cases but in customer giving some problem.

What are you working on?
I am trying fetching my customers object when they give my their email so that we can resolve their queries but all the customers are not coming

cursive heronBOT
#

@subtle knoll pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i am working on stripe and want to handle payment failed webhook i have custom settings for payment failed retry on stripe Retry 1 day after the previous attempt but it is not behaving in right way first day it send on webhook but on second day it sends 2 webhooks of invoice.payment_failed what i am handling that when ever this webhook triggers i am sending a email to that user now if stripe is triggering 2 webhooks 2 email are being sent to user what settings am i missing

Related Event ID(s)
evt_1Peu16IQVJgQbJIfFYIHS9p4 && evt_1PetxqIQVJgQbJIffaYSHouC

What have you already attempted?
--

cursive heronBOT
#

@fathom chasm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Where can I find documentation on how to retrieve connect account information and as well to continue an onboarding session that was interrupted?

Related Request ID(s)
none

What have you already attempted?
I've gone through the stripe docs and only found onboarding information but not options on what to do when an onboarding attempt has been interrupted. Essentially I want to pull the connect account status, show that and if the account isn't in good standing or needs information generate a link that I can then finish the onboarding with.

What are you working on?
I'm building a SAAS and marketplace using Flutter on the front end and Node.js on the backend. I can take care of the UI interface I just need to know the backend functions to call.

#

@fathom elk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
3DS-2 Authentication question:
Does 3DS-2 support server-side redirects as well? We have a custom flow that uses the PaymentIntent APIs and we don't use Stripe.js.

Related Request ID(s)
NONE

What have you already attempted?
Implemented the Server Side redirects to authentication page.

#

@zenith veldt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to register for client tax collection using create registration API

Related Request ID(s)
req_Wtk1CgNAVizoj8

What have you already attempted?
I have attempted to hit particular API endpoint
/v1/tax/registrations but I have doubt like how to create this tax registration for my customer

What are you working on?
I am working on automatic tax collection of my customer which i will have when they registered for my stripe application

#

@frozen sphinx pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a platform with Custom Connect accounts. I noticed that on an Account, even though the transfer status is set to Manual, some transfers are being made without me ever requesting them. Additionally, I see that the transactions related to these transfers do not contain any metadata and no webhook notifications were sent to our platform account. It's as if it were an automatic payment, except we do not use the Stripe Subscription API and the event does not mention it anyway.

Related Event ID(s)
evt_1PbjfP2EGVBbY8hl4hZ7w409

What have you already attempted?
Nothing

#

@manic arrow pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
`payment_intent.succeeded` is not triggering in the webhook list in production, but it does trigger in test mode when I test it using ngrok. Other events do trigger. I added this event type later.

Related Event ID(s)
req_id: req_2vD7MP4OAmq, req_id: req_8KIVC2rircghKJ

What have you already attempted?
I tried to debug this didn't found anything.

What are you working on?
I want to accept plan purchases

#

@coarse ocean pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Are the 3DS authorizations transferred along with the credit cards during a customer copy from one account to another ?

Related Request ID(s)
pi_3PeI7oCrKhyR1Db20Y0EjbWl

What have you already attempted?
I copied a customer and his authenticated credit card in test mode from an account to another, recreated his subscription and simulated a renewal payment : the status was 'requires_action'

What are you working on?
I need to copy customers and payment methods from a stripe account to another and recreate subscriptions

cursive heronBOT
#

@daring lynx pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If it is permissible, I am considering developing the subscription change logic myself, which would include allowing users to upgrade their plans. In this regard, would it be possible for me to obtain and display the tax amounts within my own website? Is there a method by which I could access this information? Furthermore, when redirecting users from my website to the Stripe payment page, could you please advise me on which Stripe-hosted page I should direct them to? And could you point me to where I might configure this setting? Your guidance and assistance would be greatly appreciated.

Doc/Guide Links
https://dashboard.stripe.com/test/settings/billing/portal

What are you working on?
SaaS-Subscription

#

@turbid glade pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
What is the difference between the following two errors?

  1. The provided PaymentMethod has failed authentication. You can provide payment_method_data or a new PaymentMethod to attempt to fulfill this PaymentIntent again.

  2. We are unable to authenticate your payment method. Please choose a different payment method and try again.

Question
What is the difference between the following two errors?

What have you already attempted?
none

#

@next pond pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have a customer with preferred locale set. I generate an invoice for that customer. I expect the entire invoice to be in that language.

What actually happened?
All of the invoice is in that language except for the line item description, which is modified. My line item reads "Trial period for [product name]" or "1 × [product name] (at [price] / year)". Instead of "trial period for" it should say the equivalent in the locale of the customer, same with "at" and "year".

Reproduction Steps
Create a customer with a preferred locale. Create a product/price. Create a subscription with a trial period for that customer. Check the initial invoice for 0. It should read "trial period for" with the rest of the invoice not being in English. Check the upcoming invoice. The line item description should contain words like "at" and "year"/"month" in English.

Question
How can I make it so that it reads "trial period" etc. in the locale of the customer? I tried editing my dashboard language, tried manually editing the invoice (doesnt work for paid invoices), tried manually editing the upcoming invoice (line item has no id, so not editable), tried recreating customer/sub. I just want the invoice to be in one language consistently.

What are you working on?
A localized digital product that has a subscription-based pricing model.

cursive heronBOT
#

@orchid heath pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we need to use the trigger charge.dispute.created to change stuff in our backend. we successfully did setup the forward to local host and everything, but we are not able to use the Stripe CLI to trigger the charge.dispute.created for a certain payment intent to get all the additional inforatmation we need. but we don't know how to make it work to use the payment intent via Stripe CLI via id

Related Event ID(s)
pi_3PfHYHAgeNa2VITf1Joh0Blm

What have you already attempted?
# 1. Create a customer
stripe customers create --email customer@example.com

# Note the customer ID from the output (e.g., cus_1234)

# 2. Create an invoice item
stripe invoiceitems create --customer cus_1234 --price price_existing_id

# Note the invoice item ID from the output (e.g., ii_1234)

# 3. Create the invoice
stripe invoices create --customer cus_1234

# Note the invoice ID from the output (e.g., in_1234)

# 4. Finalize the invoice and capture the payment intent ID
stripe invoices finalize_invoice in_1234

# Note the payment intent ID from the output (e.g., pi_1234)

# 5. Trigger the

What are you working on?
saas small companies

#

@short dagger pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
bank_account_unusable (req_yFsqgTIcCx5u8k)

Question
Did you refuse any bank to work with Stripe ? A Client add an Viva Payment services IBAN ?

What have you already attempted?
This IBAN was valid, by confirmSepaDebitSetup() function does not return any error, but when this IBAN has used, this error (bank_account_unusable) was triggered

#

@limpid tide pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
308 issue, while adding endpoint

Related Event ID(s)
evt_3PfGRK2MZZCbWOog1g5Cppyh

What have you already attempted?
connect stripe webhoook to supabase

What are you working on?
next js vercel supabase

#

@daring girder pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/radar/rules/supported-attributes

Question
I have difficulty getting radar to block a purchase.

We are using checkout sessions for purchase.

We want to write a radar rule, which checks that currency, credit card and billing address comes from the same country. The reason is so that we can restrict a customer who wishes to access regional pricing, to use credit card with issuer belonging to that country.

What have you already attempted?
We try to define radar rule:
Block if :card_country: != ::pricing_country::

We try to define pricing_country in metadata in when creating checkout session:
$stripe->checkout->sessions->create([
'metadata' => [
'pricing_country' => 'MY',
]
...
]);

And we try to purchase a product using

  1. Malaysian currency
  2. Credit card from United states

But the result was this purchase went through and was not blocked.

Can you help advice if our approach and use-case is appropriate?

What are you working on?
We are building a shopping cart with products, and we need to implement regional pricing restrictions.

cursive heronBOT
#

@next pond pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Following up after https://discord.com/channels/841573134531821608/1264866775368077363

Is there a way for me to edit the line item description for an upcoming subscription invoice?
Since the invoice line item description is not translated into the customer's locale (see referenced ticket), I want to manually translate it by editing the line item description. Can I make changes in how I create the subscription or alter the invoice/line item directly/or make some other changes to modify the line item description?

Related Request ID(s)
req_VSJSoYAgMpZ7GF

What have you already attempted?
The customer id is `cus_QVcqTrpuSqSGD1`. I have tried modifying the invoice item directly (`req_VSJSoYAgMpZ7GF`) via
```py
stripe.InvoiceItem.modify(
"il_tmp_19db1aJxnY0mztao11f851f6",
description="new desc"
)
```
but that fails. I have looked at the Subscription creation API endpoint to find some param that would allow me to customize how the invoice/line item is created, but I did not find anything there.

cursive heronBOT
#

@raw coral pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Customers can sign up for a subscription plan in my service, such as newsletters with multiple topics. They can then choose from a variety of topics at any time. I charge them more if they choose more topics, much like AWS charges for its services. So here's the issue I have: I want to set up a dynamically priced monthly Stripe subscription.

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

What are you working on?
I can make subscriptions right now, but I can't adjust the pricing. I'm considering setting up a cronjob on my server to send Stripe a monthly charge request, however I fear that the card OTP may cause problems.

#

@past kernel pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/3d-secure/authentication-flow?platform=web

Question
I have reviewed the instruction, but there's no guide on how to integrate 3ds via stripe or xero. All looks like a website integration which we do not have a card and a payment page via our site

What have you already attempted?
Reviewed the stripe docs.

What are you working on?
Electronics , drone

#

@vestal island pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I re-use discount from subscription item to subscription phase item?

Related Request ID(s)
req_FGuhleXl0U87z1 req_z8B5YFDKOQXavq sub_1PfJXERudJuKLsDehWKsKL40

What have you already attempted?
I am getting error that I can not re-use subscription discount on item when updating current phase of subscription schedule.

#

@granite lotus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
How to validate the coupon is expired or belonged to a certain subscriptions or not ?

Question
How to validate the coupon is expired or belonged to a certain subscriptions or not ?

What have you already attempted?
How to validate the coupon is expired or belonged to a certain subscriptions or not ?

What are you working on?
How to validate the coupon is expired or belonged to a certain subscriptions or not ?

#

@next zinc pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey guys i need to send a preview of subscription before we actually purchase it on our devices.

The issue is that when we calculate subscription with a repeating coupon we get and error from stripe.
coupon ***** has `duration=repeating` and cannot be applied to one-time objects

I am using invoices.retrieveUpcoming for calculating this.

Though this coupon is working perfectly but when it comes to previewing it is failing.

Related Request ID(s)
req_6L0uXprMF4NC8B

What have you already attempted?
I have attempted everything i could find but sadly there was little to know info about this issue.

What are you working on?
using stripe coupons and products and using stripe specific calculations for an accurate results on ap rather than manually calculate the coupon data

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I create a schedule to "downgrade" a subscription plan when the billing cycle ends. I would like to have my customer be able to cancel the downgrade.

Related Request ID(s)
-

What have you already attempted?
As of now, I use `subscriptionSchedules->release()`, which de facto makes the subscription no longer scheduled for "downgrade" - but the schedule still exists, and thus cannot be updated if the customer decides to downgrade again. Is there a better way?

What are you working on?
Stripe Billing subscription

cursive heronBOT
#

@next moon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have subscription plans with different intervals but identical features (e.g., weekly and monthly plans differ only in duration and price). We want the following flow:

  1. On upgrade/downgrade, charge the customer immediately.
  2. Change the current plan to the new one.
  3. Add remaining days to the new plan, delaying the next invoice date.

Example: A weekly plan (£15) starts on 22.07.2024 and ends on 29.07.2024. Upgraded to a monthly plan (£30) on 24.07.2024, charged immediately. The next invoice date is adjusted to 29.08.2024.

Is there any Stripe payment feature to achieve this?

Related Request ID(s)
req_vUln2IL9dRTEBY,

What have you already attempted?
I tried to implement this with adding trial days to new price but it charges the customer after the trial period ends. So it did not work for us.

I read below articles:
https://docs.stripe.com/billing/subscriptions/trials
https://docs.stripe.com/billing/subscriptions/billing-cycle
https://docs.stripe.com/billing/subscriptions/subscription-schedules
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases

cursive heronBOT
#

@rich valley pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I made react native build with my test config and bundle identifier. I wanted to use react credit card for testing.

What actually happened?
I got an error, saying Payment failed.

Reproduction Steps
build your react native app using test config and try to pay using real credit card.

Question
hello, can I use real credit card in test environment?

What are you working on?
rebulding my checkout form

#

@shrewd dawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I change the application_fee_percent for Subscriotions? Or can I let in Connect the Provider pay the fee?

Related Request ID(s)
?????

What have you already attempted?
I havnt found any doc to modify fee

What are you working on?
marketplace for horses

cursive heronBOT
#

@undone tangle pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/create

Question
Is it possible to generate checkout sessions in subscription mode with dynamic pricing?

What have you already attempted?
I have tried to send the checkout session object without the price id, but I get that this is required

What are you working on?
Suscriptions

cursive heronBOT
#

@thorny root pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
customer: user.stripeCustomerId,
payment_method_types: ['card'],
mode: 'setup',
ui_mode: 'embedded',
redirect_on_completion: 'if_required',
});

Question
I want to add apple pay in my website

What have you already attempted?
NA

What are you working on?
apple pay integration

#

@rapid ledge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to increase the amount for a payment intent with the status "requires_capture"? If not possible, what's the alternative?

Related Request ID(s)
req_Sl2DuEllGtriaR

What have you already attempted?
API call for the provided request id

cursive heronBOT
#

@lapis heron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working on updating an old integration for subscriptions in order to accommodate 3DS but once the process is complete the subscriptions have a status of 'incomplete' and the transaction states 'The cardholder began 3D Secure authentication but has not completed it.' even though the 3DS confirmation has been completed via confirmCardSetup

Related Request ID(s)
req_aLE6bs9cBAW1mr

What have you already attempted?
I have been in contact with Stripe support over the past week or so and have migrated form using the createToken API to using confirmCardSetup in order to take the card details and invoke the 3DS confirmation screen

What are you working on?
A non-profit organsitation with regular monthly donors. The existing integration has been in place over 5 years and we nened a quick fix before redeveloping the integration fully at a later stage

cursive heronBOT
#

@errant ice pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Error: Missing required param: currency.

Trying to set up on Zapier a step to create price with the ability for customers to choose what they pay and I keep getting that error.

Related Event ID(s)
-

What have you already attempted?
I've tried a custom request (POST) with JSON and JS but same with the missing required parameter currency.

This is JSON POST request:
{
"product": "{{242731044__id}}",
"billing_scheme": "per_unit",
"currency": "usd",
"custom_unit_amount[enabled]": "true",
"custom_unit_amount[maximum]": "10000",
"custom_unit_amount[minimum]": "500"
}

What are you working on?
Zapier zap to create a product and then set a price with the ability to let customers pay what they want

cursive heronBOT
#

@limpid tide pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing

Related Event ID(s)
evt_1PfIr42MZZCbWOogtJYOWidU

What have you already attempted?
Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing

What are you working on?
Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? If a webhook request is being forwarded by a third-part

#

@limpid tide pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhook Error: No signatures found matching the expected signature for payload.

Related Event ID(s)
evt_1PfIr42MZZCbWOogtJYOWidU

What have you already attempted?
Webhook Error: No signatures found

#

@void terrace pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.Payout.create(
stripe_account=account_id,
amount=amount_in_cents,
currency="usd",
idempotency_key=idempotency_key,
)

Question
Documentations says:
"if no initial errors are present during the payout creation (invalid routing number, insufficient funds, and so on). We initially mark the status of the payout object as pending."
If the code above fails, will we get a payout.failed webhook later? will it failed instantly?

What have you already attempted?
The connect account is set to manual interval.
Also, before creating the payout, we also create the transfer. So, the insufficient funds shouldn't happen. either way, Create Payout could fail.

What are you working on?
We changed all our connect accounts to manual interval for the payments. Now we are trying to figure out the events that will happen with the changes.

#

@west saffron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We use promo codes to discount subscriptions. This was working normally in the past but recently just started throwing errors, `Coupon SOeUFfb5 has duration=repeating and cannot be applied to one-time objects.` What is the reason for this error? How can I add a promo code when there are no one-time objects on the subscription? First occurrence was Sunday July 21, with automation running for a month prior and not running into this issue.

Related Request ID(s)
req_LeuRqfSqGZqVsd, req_DBHM3lM6pEiIZf

What have you already attempted?
We tried removing the deleted subscriptions items and only adding the current prices (which are monthly /annual recurring objects). Tried with other promo codes that worked when developing this feature, but our tests started breaking over the weekend and we don't know what could've caused this as there were no code changes on our end.

What are you working on?
Using promo codes on customer checkout with subscriptions

#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Good morning, i have made the"Retrieve an upcoming invoice" api call but everytime I make the call the amount that the customer sees on the front end is very different from what is actually charged on the customers credit card. I believe that the problem might be the date, can you tell me if the proration date is the current date and time or perhaps its a different date that its looking for?

Related Request ID(s)
sub_1PeIiFATCXjCgCHX6HC6dTDa

What have you already attempted?
i've changed the date to Unix

What are you working on?
i'm trying to upgrade a subscription to a more expensive plan and using the proration deduct from the new plans price

#

@glacial bay pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi - I have a scenario I'm looking for some clarity on. As an example, I am taking a payment of £40 from a customer. This breaks down to:
- £31.30 to the connected account
- £7.20 to the platform account as an application fee
- £1.50 taken as stripe processing fee

In a certain refund scenario, I am wanting to refund the customer the full charge **minus** the application fee. For this I am making a refund request for the relevant amount (£38.50) with the RefundApplicationFee flag set to true.

Related Request ID(s)
pi_3PVUx5DuiaVhizyk0ygtfMp3

What have you already attempted?
Investigation done into current flow

What are you working on?
Online Marketplace

cursive heronBOT
#

@peak loom pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do the ACH timings it takes to process payment differ from bank to bank? The documentation says it takes 4 days for Payment Intents API, but how about if the buyers are from different foreign countries. How does that affect the timings and how do y'all support that?

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@stable flare pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
hello I m’a French Guy

What actually happened?
j’ai un compte surpprimer

Reproduction Steps
sur le quel un abonnement est activer

Question
le site en question ne veut rien savoir je considère sa comme une anarque je ne sais pas quoi faire pour que sa s’arrête aider moi s’il vous plaît

What are you working on?
have a good Day

cursive heronBOT
#

@restive crescent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I want to get balance.summary.1 and balance_change_from_activity.summary.1” report from connected account, but when i try to create these reports (with curl for now) i get an error : "message": "Report type balance.summary.1 does not take parameters[connected_account]."
how am i supposed to do for creating report for connected accounts ?
thanks

Related Request ID(s)
none

What have you already attempted?
curl --request POST
--url https://api.stripe.com/v1/reporting/report_runs
--header 'Authorization: Basic c2tfdGVzdF81MUpBVVlCRnExQmlQZ04yS09HaHpwYW5HcUpvYVVSMTJxS25JNDVtUkxmcWlQQVNHYzE5YWRQRGljNUszVERZOUZ1WXFWeWR1VlJDbDRZY3ZKeTlPZm40cjAwVnQ5dkg1YmU6'
--data 'report_type=balance.summary.1&parameters[interval_start]=1680000000&parameters[interval_end]=1680100000&parameters[connected_account]=acct_1L7f2G2ESYwBU3T1'

What are you working on?
accounting for our customers

#

@tawdry tusk pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
Learn more about webhook signing and explore webhook integration examples f

Related Event ID(s)
error

What have you already attempted?
Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
Learn more about webhook signing and explore webhook integration examples f

#

@odd thicket pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/direct-charges-fee-payer-behavior

Question
Hello, is it possible to set regular payout fees for a connected account, like 0.5£ per payout sent to their bank account. I can see that we can set it for instant payouts and regular payments but couldnt find how to set for regular payouts

What have you already attempted?
Reading the docs and also looking at the payments and instant payouts Account pricing settings.

What are you working on?
Payments & POS platform for the Stripe terminal

#

@icy pawn pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const transfer = await stripe.transfers.create({
amount: amountToTransfer,
currency: "eur",
destination: "acct_1PFgR3QPAYFw2Cln",
source_transaction: paymentIntent.id,
description: "Transfert de fonds après paiement d'abonnement"
});

Question
hello I have a problem with my stripe account. I would like to be able to make a transfer for each transaction for some sort of commission if a promo code is used with the stripe connect account. However they tell me insufficient funds and when I recharge it still tells me that the funds are insufficient

What have you already attempted?
I have already recharged my account by putting money in but I still have the same problem

What are you working on?
I want to set up some sort of commission for each transaction if a person uses a promo code

cursive heronBOT
#

@red saffron pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$country;
$stripe_connect_args['controller'] = [
'fees' => ['payer' => 'application'],
'losses' => ['payments' => 'application'],
//'stripe_dashboard' => ['type' => 'none'],
'stripe_dashboard' => ['type' => 'express'],
'requirement_collection' => 'application',
//'requirement_collection' => 's

Question
i need help with the code please

What have you already attempted?
real all the docs

What are you working on?
platform

cursive heronBOT
#

@raw shore pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Subscriptions in trial period would still create an invoice.

What actually happened?
No invoice was created at the expected date and time

Reproduction Steps
Create a subscription and add to payment link

add a trial period of the subscription

monitor for invoice events during the trial period

no invoice events or any other events seen.

Question
how am I supposed to monitor accounts using the API that are on a trial period of the subscription.

#

@humble rivet pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/payment_methods/create_payment_method_elements

Question
on the payment element form, it doesn't show "link" payment option, however, in record of payment method, it shows some payments are created with "link". I wonder if I have a "link" account with a credit card information, when I input the card information into payment element form (not using Link), will it be marked as "link" payment in wallet field?

What have you already attempted?
N/A

What are you working on?
integrate with payment element in our application

#

@celest moat pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
After reading through the docs on webhook events for subscriptions, i'm under the impression that for certain API actions, e.g. a subscription's invoice being paid, multiple webhook events may be sent, some with overlapping semantics. I'm seeking to understand what the minimal set of webhook events needed to fully handle customer subscriptions, without duplicating logic or listening/responding to semantically redundant events.

Related Event ID(s)
customer.subscription.*, invoice.*, entitlements.active_entitlement_summary.updated

What have you already attempted?
I've read through https://docs.stripe.com/billing/subscriptions/webhooks and https://docs.stripe.com/billing/subscriptions/overview to try and understand the minimal set of events I need to handle. For example, handlers for 'customer.subscription.created', 'customer.subscription.updated', 'entitlements.active_entitlement_summary.updated', 'invoice.paid', 'invoice.payment_succeeded' would all be triggered by a customer paying their invoice, but implementing handlers for 15 events seems like it would result in redundant logic, unless I have underestimated Stripe's API complexity/granularity.

What are you working on?
Integrating stripe subscriptions to provide robust access to my site products.

#

@summer oxide pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am using: https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=stripe-hosted

to use the checkout session in order to add cashapp and amazon_pay as a def payment method for subscription renewals.

        checkout\_session = stripe.checkout.Session.create\(
            mode="setup",
            currency="usd",
            success\_url=/success,

cancel_url=/fail,
payment_method_types=['cashapp', 'amazon_pay'],
customer=customer_id
}

Question
I wanted to know, what are the error scenarios that can come here and did stripe return them and how can I test them as I can just authorise the payment and cancel it.

Also Since these methods don;t support non USD currencies and am not passing country so how will it take that amazon and cashapp is supported or not? And by chance it adds amazon pay as a default payment method for non USD currency then what might happen at renewal?

i.e. how it will verify legit US user

What have you already attempted?
I have written the code to created setup mode cashapp and get the upon succesful payment I am adding the method as the default payment method. But I am not aware of the error scenarios that might occur here , since I dont have complete freedom while testing amazon and cashapp as I can just authorize and cancel payment. Also the risks there can be if it adds these methods for non supported currencies by this method.

What are you working on?
I am working on a update to give a option to users to update their payment methods midway of their subscription and then it will be used in renewals.

cursive heronBOT
#

@mild heath pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we are changing hosting platforms for our website and need to move the Stripe API to the new site which requires some testing. If we switch to Test mode, will that stop current transactions on the live mode while we complete our QA for the new system?

Related Request ID(s)
n/a

What have you already attempted?
There is conflicting information about test mode and it's effects on the live version in the documentation.

#

@indigo horizon pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am using a third party integration that watches for invoice creation and adds a line item. To work, there has to be a delay between invoice creation and finalization. This works fine when we create subscriptions and invoices via api (and set the pay_immediately: false)

What actually happened?
.But if we or a customer makes changes via the stripe console, the invoice is created and then immediately finalizes, breaking the integration.

Reproduction Steps
Create a subscription, set pay_immediately: false. See the invoice created, a delay, a line added by the integration, then finalization and payment.
Go to stripe console, change something about the subscription. See the invoice created and finalized immediately.

Question
How can we set in the console or subscription a flag to delay finalization of invoices created when editing a subscription in the console

What are you working on?
A SAAS service that has subscriptions managed by Stripe

cursive heronBOT
#

@tired plank pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$params = ['customer' => $customerId, 'return_url' => $successUrl, 'flow_data' => ['after_completion' => ['redirect' => ['return_url' => $successUrl], 'type' => 'redirect'], 'type' => 'subscription_update_confirm', 'subscription_update_confirm' => ['subscription' => $subscriptionId, 'items' => [['price' => $price, 'id' => $subscriptionItemId, 'quantity' => 1]]]]];

$this->getStripe()->billingPortal->sessions->create($params);

Question
When I change the plan, I would like to keep the trial_end. Currently, the plan updates correctly, but it activates immediately and I lose the trial period.

What have you already attempted?
I couldn't find where to add the trial_end parameter to keep the trial period if it hasn't ended yet.

What are you working on?
I'm working on a SaaS with Shopify.

#

@lost cradle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking for help with a fairly niche integration flow. We have customers who will receive an estimate then ship us items. When we receive the items we finalize the price and bill. I'm curious the recommended flow. I was thinking - 1. we confirm payment intent for the estimate and request auth for overcapture then capture the final amount upon receipt or 2. we don't confirm the payment amount until we receive the shipment then update the amount and confirm/capture at that point.

Doc/Guide Links
https://docs.stripe.com/payments/overcapture
https://docs.stripe.com/payments/save-and-reuse
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
Creating a shipping management tool for Amazon 3PL partners

#

@blissful patio pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to trigger stripe emails like emails sent to update a credit card that is about to expire?

Related Request ID(s)
n/a

What have you already attempted?
Added a payment method that expires on this month and next month, no email were received

cursive heronBOT
#

@elder fable pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the stripe JS library on my frontend and just setting the token. Odd thing is that when I load any page stripe will make a bunch of odd requests and lots of them are duplicates. This is the request: https://r.stripe.com/b

I'm just curious what they are, and if this is a normal behavior

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
n/a

cursive heronBOT
#

@strong girder pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to get the difference in the proration amount for upgrading a subscription using `invoices.retrieveUpcoming`. The value total value seems to be twice the amount it should be.

Related Request ID(s)
N/A

What have you already attempted?
I am using the docs here: https://docs.stripe.com/billing/subscriptions/prorations
They seem to be using deprecated variables.

What are you working on?
SaaS model service

#

@quasi night pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payment-links/create

Question
Is it possible to create a payment link with starting a subscription to a product with usage based pricing?

What have you already attempted?
I have checked in the docs, but unable to find any information related to this. Also, I was not able to add a usage based pricing product when creating a payment link

cursive heronBOT
#

@thorny steeple pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I have received a mail that bancontact will be migrated to payments intent api

Question
I have set up everything (we already supported visa) so it is just the same I think, I have activated bancontact and I want to try this out in test mode but I don't get the bancontact option

What have you already attempted?
I have followed everything, but I just don't see the bancontact option when i test it out

What are you working on?
Migrating an existing bancontact payment solution

#

@whole relic pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
let stripeConfig = {
type: "express",
email: student.email,
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
business_profile: { url: `${baseUrl}/user/profile/${student.profile_id}` },
};

const account = await stripe.accounts.create(stripeConfig);

Question
Upon changing the file to TS, I get an error :

Argument of type '{ type: string; email: string; capabilities: { card_payments: { requested: boolean; }; transfers: { requested: boolean; }; }; business_profile: { url: string; }; }' is not assignable to parameter of type 'AccountCreateParams'.

How can I import Stripe types?

What have you already attempted?
import { AccountCreateParams } from '@stripe/stripe-js';

What are you working on?
Moving my code to Typescript

cursive heronBOT
#

@crisp falcon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What's the recommended way for testing out recurring subscription payments on an expedited timeline so that we can test the invoice lifecycle (draft -> finalize -> paid)?

Doc/Guide Links
https://docs.stripe.com/invoicing/integration/workflow-transitions

What are you working on?
Testing our subscription integration is still working after SDK upgrade

#

@remote arrow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
in checkouts_controller.rb
def new
session = Stripe::Checkout::Session.create({
payment_method_types: ['card'],
line_items: [{
price_data: {
currency: 'jpy',
product_data: {
name: 'yokode teapot',
},
unit_amount: 123456,
},
quantity: 1,
}],
mode: 'payment',
ui_mode: 'embedded',
return_url: 'http://127.0.0.1:3000/checkouts/create'
})

Question
Junior dev here, still learning. Lots of questions in general, but first of all, having a stripe timeout error when I navigate from a link on the cart_items/index.html.erb page to the checkouts/new.html.erb page. I can't seem to get the embedded form to display correctly no matter what I try, so first and foremost that is biggest question. In a Rails app, what are the steps for setting up an embedded form? Does it require a GET or POST request (development environment)?

What have you already attempted?
The docs on Stripe's site come close to what I have, but some use Sinatra instead of Rails, and some reference the use of predefined price IDs, however the teapots the site will be selling are entirely unique, each having their own price and data. No two are alike. I would much prefer controlling the prices entirely on my end and just pass in the price and name when needed, instead of setting each one up in stripe.

What are you working on?
A website for selling unique Japanese artisan teapots

cursive heronBOT
#

@carmine fulcrum pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there, we're currently attempting to implement Apple Pay via Payment Intents using Payment Elements.

Would there be a case where Apple Pay (in Australia) requires a redirect, or a 3DS modal to appear for this payment method?

Specifically when calling "stripe.confirmPayment" with property "redirect" set to "if_required"

Thank you!

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

What are you working on?
Adding an additional checkout method

cursive heronBOT
#

@wraith lake pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The taxable_amount on an invoice line item was null while there was a non-zero amount of tax collected

What actually happened?
In the tax amount object on this invoice line item, the {taxable_amount} is null but the {amount} (of tax collected) is not null and is greater than 0

Reproduction Steps
We're unsure - this is happening in a Connect client's account only for some invoices.

Question
Why would there be a taxable_amount of null when tax was collected by Stripe on the line item?

What are you working on?
We have a Stripe App called SubSync that supports syncing between Stripe and Xero which is in production

cursive heronBOT
#

@drifting elbow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Creating Connected Account and Onboarding user using the Embedded Component in from Stripe in React.

Question
Do users need to create a Stripe Account to be onboarded onto Stripe and our platform as Connect users?

What have you already attempted?
We have a website where users must create an account on our website and then when onboarding onto Stripe, they must create a Stripe account which seems to disrupt application flow and deter users.

What are you working on?
TTPOI

cursive heronBOT
#

@marble citrus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
GooglePay is not shown on all GooglePay-activated devices

Question
How can we increase the number of devices that are shown the GooglePay option?

What have you already attempted?
Updating GoogleWallet, checking permissions

What are you working on?
worldvision.org.nz, Stripe Payment Element, Angular -> .NET integration

cursive heronBOT
#

@scenic dove pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Webhooks graph is flat, but there are webhooks being delivered

Related Event ID(s)
evt_1Pfa3ML5p2TZZKZWoL2TpSmH

What have you already attempted?
Refreshing the page, check if webhooks are being delivered

What are you working on?
Checkout Page, custom checkout software

#

@obtuse yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$("#apple-pay-element").on("click", async function(e) {
e.preventDefault(); // Prevent default form submission or other actions
const paymentRequest = stripe.paymentRequest({
country: 'US',
currency: 'usd',
total: {
label: 'Transport any car',
amount: parseInt({{$data->deposit}}) * 100 // Amount in cents
},
});

        const appleEl

Question
Apply pay working fine with testing mode but not live modae

What have you already attempted?
10

What are you working on?
payment intigration

#

@slate moss pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want invoice list of particular month how can i get this

Related Request ID(s)
i want invoice list of particular month how can i get this

What have you already attempted?
i want invoice list of particular month how can i get this

cursive heronBOT
#

@analog cipher pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```
const stripeElements = stripe.elements({
clientSecret: clientSecret,
appearance: {
theme: 'flat',
labels: 'floating',
variables: {
...
},
rules: {
...,
'.Input': {
backgroundColor: getStyleValue('--bflw-input-bg'),
...
},
'option': {
backgroundColor: getStyleValue('--bflw-body-bg')
}
}
},
...
}
);
```

Question
All inputs on my website have a semi-transparent background, the exact values are retrieved by the browser with a JS script that actually initializes Elements. Since the background is semi-transparent and `select` `option`s don't seem to support that, they fallback to an opaque color, which happens to be white and no text inside the actual select is readable. Is there a way to change an option's background or have that option be added to Stripe?

What have you already attempted?
I've searched the following docs article: https://docs.stripe.com/elements/appearance-api#rules

What are you working on?
I have a working Web Elements form for handling payments.

cursive heronBOT
#

@brisk nymph pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to notify user to update their default card details for subscription to match with customers default payment card , Is there any way I can get to know how many users have different payment method attached to customers and subscriptions? I.e. Subscription has a different default payment card and the customer has a different one

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@daring lynx pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I am trying to develop a web-based SaaS subscription service where we will offer various subscription plans, supporting both monthly and annual payments. We have already integrated Customer Portal and plan to use its invoicing and edit payment features. Now, we need to develop the requirement for subscription plan changes and hope to handle the development ourselves. However, we would like to call the Stripe-hosted payment page at the time of payment. Could you please advise where this should be configured? Or is there any documentation that we can refer to?

Doc/Guide Links
https://dashboard.stripe.com/test/settings/billing/portal

What are you working on?
SaaS

cursive heronBOT
#

@civic onyx pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, for the stripe webhook events , I’m aware that Stripe might resend the event if the first time delivery is a failure (e.g: resend after an hour). I would also like to ask if it’s possible that Stripe send the same event twice at around the same time ?

Related Event ID(s)
N/A

What have you already attempted?
N/A

cursive heronBOT
#

@chrome saffron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
One of our clients receive this error from invoice API
https://docs.stripe.com/error-codes#invoice-no-customer-line-items.

Tried the same request to another stripe account, the request is successful and error is not encountered. So what's the difference between two accounts? Is there any setting that needs to be enabled?

Related Request ID(s)
req_h4ehz07uHC7AFw

What have you already attempted?
Tried the same request to another stripe account, the request is successful and error is not encountered.

What are you working on?
API Integration

cursive heronBOT
#

@lunar surge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can i verify if promotion code will still be used after subscription modification?

Related Request ID(s)
req_EVMViquCszLyoG

What have you already attempted?
made a v1/income/upcoming with subscription modification and checked if my promotion code will still be used, but i couldn't find information if it will be used.
During the preview of upcoming invoice i was hoping that for line item when it has discount_amounts it will mean the promotion code will be used in the future but it doesn't mean that.

What are you working on?
I need to know if promotion code will be used after changing the subscription. I need to know that before modify subscription. I'm using v1/invoce/upcoming request to give information to user

#

@deft knot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we are developing charges and transfers with the 'separate charges and transfers' method ( https://docs.stripe.com/connect/separate-charges-and-transfers ). Then we would like to do that customers can pay with own currencies (eg. USD, EUR), platform can receive the local currency (JPY), and also tenants (connected accounts) can receive the local currency (JPY). How to charge and transfer with exchanging?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
payment integration

#

@thorny steeple pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We currently have a stripe solution in production and we would like to add apple pay. I am testing everything in a dev environment.

Question
Although Apple Pay is activated and the preview shows that it should be possible, I don't have the apple pay option in my dev checkout test.

What have you already attempted?
There is no paymentmethod passed in the payment intent (in prod we passed 'cards' but in dev this is removed) but I still don't see apple pay.

What are you working on?
An online payment modules for sport events

cursive heronBOT
#

@tranquil geyser pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.retrieve('pi_xxxx');

Question
How can I retrieve the tax ID from a payment. I can see it in the dashboard, but nowhere in the API.

What have you already attempted?
I checked in pretty much every resource.

What are you working on?
I am trying to retrieve data to fill in my taxes in the Netherlands.

#

@quick comet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Invalid signature. message:No signatures found matching the expected signature for payload

Related Request ID(s)
req_CjrJyo8Xekh0qE

What have you already attempted?
I am attempt to debug the PHP library on line https://github.com/stripe/stripe-php/blob/master/lib/WebhookSignature.php#L51

after this I realise that the Expected Signature is not the same has the header Signature.

Also noticed that the Expected signature is always the same but the payload signature is different per received call from stripe.

I am using the STRIPE_KEY and STRIPE_SECRET from the test mode stripe dashboard.

Also checked that the received payload are two versions of signature v1= and v0= and using the v1 and known of this two is the same has the expected signature.

What are you working on?
I am handle the stripe webhooks.

cursive heronBOT
#

@earnest lintel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are modifying the subscription plan prices. We need to update the new prices for the existing customers without breaking their current billing cycle.

Related Request ID(s)
req_OfdUoHb7TI9ySp

What have you already attempted?
i have tried to create a schedule from the existing subscriptions snd tried to configure the new subscriptuon details in phases by using create subscription schedule api.

What are you working on?
Updating subscription prices

cursive heronBOT
#

@visual obsidian pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we use a setup session to save the card & then with the customer's payment id purchase a subscription via stripe api again but sometimes it fails because apparently it needs verification steps? what is this and how we can solve it ?

Related Request ID(s)
evt_1PfGuIJlGzvMDWmeCOgWHZLL

What have you already attempted?
-

#

@proven vortex pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error, paymentIntent } = await confirmPayment(clientSecret, {
return_url: 'https://example.com',
paymentMethodType: 'P24',
paymentMethodData: {
billingDetails: {
email: 'test@example.com',
},
},

  }\);

Question
I don't understand why I get this error:

Payment confirmation error: {"code": "Failed", "declineCode": null, "localizedMessage": "There was an unexpected error -- try again in a few seconds", "message": "When confirming a PaymentIntent object using type p24 parameter `return_url` must be provided.", "stripeErrorCode": "", "type": "invalid_request_error"}

What have you already attempted?
There is nothing in the documentation that says you need to use retrun_url.

https://docs.stripe.com/payments/p24/accept-a-payment?web-or-mobile=mobile

I'm using Expo App React Native:

"sdkVersion": "51.0.0",
"@stripe/stripe-react-native": "0.37.2"

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
what Stripe javascript function should I use to submit a paymentElement as an updated payment method on a subscription?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Stripe Billing subscription

#

@shell stratus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await initPaymentSheet({
customerEphemeralKeySecret: ephemeralKey,
applePay: {
merchantCountryCode: "FR",
},
googlePay: {
testEnv: true,
merchantCountryCode: "FR",
currencyCode: "EUR",
},

			paymentIntentClientSecret\: paymentIntent,
			customerId\: customer,
			merchantDisplayName\: "BOGS",
			style\: "alwaysDark",
			returnURL\: "your\-app\://stripe\-redirect",
		}\);

Question
Hello, I need PayPal integration on my React Native mobile app. I need to add the return URL parameter: returnURL: "your-app://stripe-redirect". The issue is that it's a mobile app, so I would prefer not to redirect to a website URL.

What have you already attempted?
I'm not sure what URL to use for the return URL parameter in my React Native mobile app. Could you please provide guidance on what URL I should use?

What are you working on?
App mobile React Native

#

@hidden moss pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to find an API that lets me verify a bank account but can't seem to find it

Related Request ID(s)
N/A

What have you already attempted?
I am creating a backend integration test that creates a payment method, attaches it to a customer and then attempts payment. In my case, I am adding US bank account. However it needs verification before it can be added to the customer. Now, I see a source related endpoint that verifies a bank account but I don't see an associated payment method related endpoint. Please let me know how should I proceed

#

@placid harness pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$session = \Stripe\Checkout\Session::create([
'line_items' => array_merge($cartSummary['items'], [
[
'price_data' => [
'currency' => 'eur',
'product_data' => [
'name' => 'Versandkosten',
'description' => 'Standardversand',
],
'unit_amount' => $shippingCost * 100,
],
'quantity' => 1,
]
]),
'mode' => 'payment',

Question
How can I add more payment methods to my stripe checkout, e.g. paypal, apple pay.

What have you already attempted?
I have tried to remove this part, as I red that this would enable all payment methods.
'payment_method_types' => ['card', 'klarna', 'apple_pay', 'paypal'],

Currently only card and klarna works.

What are you working on?
I am working on a small onlineshop.

cursive heronBOT
#

@fathom chasm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a connect account item that shows the account status? For instance I'm calling account = await stripe.accounts.retrieve(stripeId); and I don't see anything in your docs or the console.log that's just the status ie restricted, enabled, complete.

Related Request ID(s)
none

What have you already attempted?
Looked through developer docs and pulled the account info for our test connect accounts

What are you working on?
a marketplace and SAAS application using flutter UI and node.js server. I want to show the account id and it's status on our app so that if there's an issue they can see that.

cursive heronBOT
#

@dark fox pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
'paymentMethodOrder'=> ['card','eps']

Question
Payment Element hiding the payment method name if only one option exists . how to prevent this?

What have you already attempted?
I tried adding paymentMethodOrder parameter

What are you working on?
Stripe Api maintanance for wp plugin

#

@royal cloak pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<stripe-pricing-table
pricing-table-id="dasfafdsfds"
publishable-key="pdfdsafdsaYKx"
[customer-session-client-secret]="clientSecret"
>

Question
I want to change the stripe table language when our panel language is changed, how can I do this?

What have you already attempted?
<stripe-pricing-table
pricing-table-id="prctbl_1Pf RFJvu"
publishable-key="pk_tesaoVlyJvJtZYXR5Bx"
[customer-session-client-secret]="clientSecret"
[locale]="currentLocale"
>

#

@proven vortex pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await initPaymentSheet({
paymentIntentClientSecret: client_secret,
customerEphemeralKeySecret: ephemeralKey,
customerId: customer,
merchantCountryCode:"PL",
returnURL: 'amatorkamp://news/1',
merchantDisplayName: 'Example Inc.',
style: 'alwaysDark',
defaultBillingDetails: {
email: 'foo@bar.com',
address: {
country: 'PL',
},
},
});

Question
Why doesn't initPaymentSheet adapt to my phone's regional settings and display content in a different language?

What have you already attempted?
Adding merchantCountryCode:"PL" to the code did not change anything. I still have an inscription in English, e.g. "Add your payment information"

#

@distant oriole pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,

The downgrades are handled by subscription schedules and the changes aren't applied until the end of the period.
The issue I have now is in the situation where I want to upgrade a subscription and a schedule is already set.
For example, lets say that in my subscription I have an addon for upgrading storage, I have 5 units for this addon and I want to downgrade it to 3, what will happen is in the subscription schedule of next phase, we will set the addon to have 3 in it's quantity.
Now, before the end of the current, I upgrade the addon to 10.
The issue is I have to manually update the next phase of the schedule so that it reflects this change and not apply downgrade

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

What are you working on?
I'm working on a Saas project, where upgrading subscription isn't applied until payment is done using payment_behavior : pending_if_incomplete.

cursive heronBOT
#

@silent idol pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I have a stripe account and many connected accounts.
One of the transaction was made to connected account in stripe but that transfer is not appearing under connected account's transfers tab.

What actually happened?
When we make a tarnsfer the transaction should be appearing in connected account's dashboard

Reproduction Steps
Transaction ID: tr_1PIJsdExxTLyRTVCuxKke4jV
Connected account ID: acct_1OjihmI0M8FTyKGw

Question
Why the transaction is not appeaing in connected account's dashboard ?
I can see there is some more documents required by stripe for that specific connected account.
Will the transaction will start appearing when user submits the required details ?

What are you working on?
HatchPath wellness platform

#

@native crypt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have one page payment. I mean on payment page there is an input for email and pick a plan and below i want to have stripe card inputs. How can i do it when to create subscription session i have to have a customer before

Related Request ID(s)
IDK

What have you already attempted?
I have other way with creating first customer and then creating on him subscription

What are you working on?
AI APP

cursive heronBOT
#

@uneven heart pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-methods/pmd-registration

Question
How do I host my downloaded guide onto my store? Is this done via developer mode in the browser? Trying to integrate Apple pay and Google pay from Stripe on my Shopify checkout :)

What have you already attempted?
Looked through the DNS settings, contacted Stripe and Shopify but so far unable to find a conclusion. I'm a bit of a noob in this field. Appreciate any help you can give :)

What are you working on?
Adding more Stripe customer payment methods onto my store. Currently stuck on Verify Ownership

#

@obtuse quarry pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On the webhook type charge.dispute.updated, can I somehow know if it was evidence submission? Or something else?

Related Event ID(s)
none

What have you already attempted?
Grabbing the entire event but I don't really see how to differentiate it?

What are you working on?
Personal project

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have been following this guide: https://docs.stripe.com/payments/accept-a-payment-deferred?type=subscription

Besides that, I have implemented cancelling of subscriptions, changing plans and cancellation periods using schedules.

I cannot seem to figure out the best way to update the payment method of the subscription.

With the implementation following Stripe's guide, the payment method is attached to the subscription, and the customer's is left blank. All info I find revolves around updating the customer with a setupIntent, not the subscription.

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Stripe Billing subscription

#

@jagged sluice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm getting emails on first payment, can I cancel it for all users?

Related Request ID(s)
no

What have you already attempted?
nothing found

What are you working on?
Event planing app with many connected accounts

cursive heronBOT
#

@obtuse quarry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
While trying to payout with payout api, I get this:
``` You have insufficient funds in your Stripe account for this transfer. Your card balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance)```
Balance says $441.26, not sure what's happening
this is test mode btw

Related Request ID(s)
none

What have you already attempted?
Trying to payout with any amount

What are you working on?
Personal project

#

@marble rune pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hi, tell me, I’m trying to connect stripe to a telegram bot, but I can’t find examples of integration? I also received a test stripe token in botfather, but when I execute the send_account method, PAYMENT_PROVIDER_INVALID is returned

Related Request ID(s)
1514

What have you already attempted?
send_invoce

What are you working on?
telegram bot

#

@subtle rose pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { reader, error } = await connectBluetoothReader({
reader: _reader,
locationId: location.data?.data.stripe_id,
});

Question
Getting {PAYMENT_ERROR.DECLINED_BY_STRIPE_API
message: 'No Such location locationId"}

while trying to connect to reader using the location generated in server

What have you already attempted?
tried using reader.locationId in place of server location, but it also didnt worked

What are you working on?
app

#

@copper thorn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to model a subscription-based pricing model for a SaaS product with multiple usage-based/metered entities (token1, token2, token3), a minimum spend ($10), and a 30 days trial period.

How can I implement a minimum spending (ex. $10 per month) aggregated over any of the three meters?

Assume each usage-based product costs $0.01 per 1000, so people could use any amount of token1, token2, and token3 until it reaches $10 combined over all three types and only then starts billing, for example 200 * token1, 300 * token2, 500 * token3.

I know how to do this with a single usage-based/metered product, but not with 3 products.

Any hints?

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

What are you working on?
Generic SaaS product with usage-based pricing

#

@raven atlas pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
One of our customers have a problem with payment and error says unsupported region HU hungary

Question
One of our customers have a problem with payment and error says unsupported region HU hungary

What have you already attempted?
One of our customers have a problem with payment and error says unsupported region HU hungary

cursive heronBOT
#

@vestal island pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why am I getting this complicated invoice?

I am trying to perform complex update on subscription.

  1. subscription is updated only with "upgrades", proration is calulcated and invoice will be issued
  2. subscription schedule is created from subscription
  3. subscription schedule is updated to have 2 phases
    current - ends with billing period end (should be same as subscription)
    next/downgrade phase - contains downgraded subscription items (lower quantity/canceled items)

problem: new invoice is too complex and contains a lot of extra invoice line items (prices like +10 -10 +0 -0 +2 -2 etc.)

Related Request ID(s)
req_3cSOyt55Mb87X9 req_nBvhlfN6GcjnsB req_JSKqQ1LFFtHtT2

What have you already attempted?
I am creating subscription schedule. I tried looking into docs why this would be created but I can not see a reason why

cursive heronBOT
#

@blissful patio pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When a setup intent has succeeded, payment method is attached to customer

What actually happened?
Besides attaching a payment method to the customer when the setup intent has succeeded, the payment method was attached again (different payment method id, same payment method, same fingerprint) causing a duplicated payment method. The source was `automatic` not `API`.

Reproduction Steps
Unable to reproduce issue in question, it happened live

Question
Why did that happen and how can I prevent it from happening?

#

@hushed jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to setup a payment system where payment information is collected. Then, the cost of the item is reviewed (off_session), possibily changed by the admin, and the payment is submitted. Please see what I attempted below to see question.

Related Request ID(s)
NA

What have you already attempted?
I've currently built everything with paymentIntents. However I found you guys offer "setupIntents" and I'm not clear what the difference is.

What are you working on?
Ecommerce Site

#

@lofty wyvern pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
const endpointSecret = "secretid';

let event;

console.log(req.headers,"???????????????????")
const sig = req.headers['stripe-signature'];

try {
event = stripe.webhooks.constructEvent(req.body, sig, endpointSecret);
}
catch (err) {
console.log("err",err)
//response.status(400).send(`Webhook Error: ${err.message}`);
} my webhook is not doing to verify the particular webhook, there is all the thing is correct but found issue StripeSignatureVerificationError: Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance rep

Related Event ID(s)
evt_1PfiyySBLFHjAwWKRlpjKhDg

What have you already attempted?
i m usinng 2 url of the webhook both are unique, but at the same time both are calling

#

@soft olive pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<StripeProvider publishableKey={publishableKey} urlScheme={someUrl}>
<CardField onCardChange={console.log} style={styles.cardField} cardStyle={styles.cardStyle} postalCodeEnabled={false} />
</StripeProvider>

Question
Hello, I'm trying to make my application compliant with EU norms. To do that, I need to allow the user to select the network they want.
But it seems that I cannot access this information using onCardChange or any other event of the CardField. Is there a way to access this information ? Preferably without needing to switch to PaymentElement.

What have you already attempted?
We've tried every props available on this component.

What are you working on?
Old application for telecommunication clients that need to be redone from scratch

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Calling `$stripe->customerSessions->create([ ...` throws "Call to a member function create() on null", indicating the API version I am on is outdated, and the method does not exist. Is there an equivalent I can use?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
customer session

cursive heronBOT
#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Charge API vs Direct Debit

are these just 2 different means of charging a customer or is there other fundamental difference? what solution is better to charge a customer

Related Request ID(s)
none

What have you already attempted?
went through the documentation

#

@cyan ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How could we generate a token for credit card information?

Related Request ID(s)
req_EMrDiQTS32ofcm?t=1721745435

What have you already attempted?
I have attempted to create a token by using Tokens API. It responded me "Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using"

What are you working on?
API Integration

#

@hexed mountain pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can all payment intents and charges for a given subscription automatically inherit the metadata of the subscription?

Related Request ID(s)
-

What have you already attempted?
When creating a checkout session for a subscription, I can pass `subscription_data: {metadata: {...}}`. But can this metadata be propagated to future payment intents/charges of that subscription?

#

@royal cloak pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<stripe-pricing-table
pricing-table-id="prctbl_1PfHORIXRe7yiW1V0OWRFJvu"
publishable-key="pk_test_51ORyEEIXRe7yiW1VRyaoVlydbcBufuJvJtZYXR5BZvC50s7xxCXkY3ZyhAAQn9GRCcJLyivdEvnbtAFdoXlrbgBE00vLlg7YKx"
[customer-session-client-secret]="clientSecret"
[client-reference-id]="currentAppInfo.id"
>
</stripe-pricing-table>

Question
how can I bind dynamic values to stripe pricing table in Angular? I get inspect from the strip pricing table but there are only static fileds, dynamic fileds are not adding to that table

What have you already attempted?
<stripe-pricing-table
pricing-table-id="prctbl_1PfHORIXRe7yiW1V0OWRFJvu"
publishable-key="pk_test_51ORyEEIXRe7yiW1VRyaoVlydbcBufuJvJtZYXR5BZvC50s7xxCXkY3ZyhAAQn9GRCcJLyivdEvnbtAFdoXlrbgBE00vLlg7YKx"
[customer-session-client-secret]="clientSecret"
[client-reference-id]="currentAppInfo.id"
>
</stripe-pricing-table>

What are you working on?
Angular

#

@blissful patio pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When a setup intent has succeeded, payment method is attached to customer

What actually happened?
Besides attaching a payment method to the customer when the setup intent has succeeded, the payment method was attached again (different payment method id, same payment method, same fingerprint) causing a duplicated payment method. The source was `automatic` not `API`.

Reproduction Steps
Unable to reproduce issue in question, it happened live

Question
Why did that happen and how can I prevent it from happening?

evt_1PfRafABXG7iwsUN7ZFVSZgI when the payment method was attached after a succeeded
setup intent

evt_1PfRsaABXG7iwsUNY2uuQgCZ after charge.succeeded

I was told on the previous thread about this request:
https://dashboard.stripe.com/logs/req_t3ZZt4kO00nPtb

But this has not come from our system

#

@lofty arch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I enable Financial Connections?

Related Request ID(s)
None

What have you already attempted?
I have Financial Connections setup and working via the test api, but when I try to use it with the Live implementation, it says I am not registered to use Financial Connections. I've gone to my settings and set it up, but I don't see any other information regarding registration.

#

@grave beacon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why is iDeal not shown on the checkout page on my godaddy website while the purchaser (me in this case for test) is also from the netherlands? Ideal is focused on customers from the netherlands. I did activate it, and provided all identification which is accepted.

Doc/Guide Links
https://www.artzap.nl
https://dashboard.stripe.com/settings/payments

What are you working on?
a godaddy e-commerce website (artzap.nl) with stripe integration

cursive heronBOT
#

@abstract dagger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The service checkout session code below should allow us to create a checkout with all available payment methods on the Stripe connect account, but it's only showing cards. If i add the commented out code, it shows the ach properly and everything works splended.

```ruby
Stripe::Checkout::Session.create({
ui_mode: 'embedded',
line_items: extracted_data,
# payment_method_types: ['card', 'us_bank_account'],
```

Related Request ID(s)
req_DaP06Mcmmjzu1W

What have you already attempted?
I took out the payment_method_types, which is suppose to use all viable options on the stripe connect account, but it seems to work like this.

What are you working on?
Checkout session embedded

#

@stoic ledge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I have merchant account to customer relation in which we transfer money from customers to vendors, customers link their merchant accounts, and users provide a payment method and get mandated with the on_behalf field. everything is fine until we want to until a vendor changes the merchant account (creates a new one) and now when we try to charge a customer connected by mandate to the old merchant account the charge fails. Is there a way to charge an existing payment method that’s connected by mandate to a merchant account but refer it to a different, newer merchant account?

Related Request ID(s)
none

What have you already attempted?
Mentioned above

cursive heronBOT
#

@jaunty ruin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to know what the appropriate course of action is when a dispute occurs from a destination charge. We recently migrated from direct charges to destination charges on behalf of Connected Accounts. With destination charges, we take the payment on our platform and create a transfer to the destination account. When a dispute is raised, the source transaction on our platform account is marked as disputed and the funds are immediately returned to the customer. However, the transfer to the destination account is not reversed.

Related Request ID(s)
tr_3PbjcRKYTiCt9KzS1VbOEtCS

What have you already attempted?
N/A

What are you working on?
Software platform for self-storage facilities

#

@burnt marlin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Embedded Pricing Table pay button is not proceeding to checkout on my website. My website is a free google sites.

Related Request ID(s)
I can't find any

What have you already attempted?
Nothing

#

@mighty pollen pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
While using Payment + Address element, when i use keyboard navigation on my site, we can use tab to focus on input fields within Stripe's iframes.

What actually happened?
If i manually focus on an input inside the iframe, i can continue to keyboard navigation within the iframe. However, once i leave the Iframe, i can never keyboard navigate back into it

Reproduction Steps
react-stripe-js 1.14.2, stripe-js 1.42.1

Question
Since i cannot reproduce this on the stripe payment or address element demos the the docs page, I am assuming this is an issue on my side. I'd like to get some insight on whether I should focus my efforts on upgrading our stripe-js and react-stripe-js packages, or investigate our DOM tree instead.

What are you working on?
Integrating stripe payment element + address element to our checkout page

#

@river mural pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I make stripe charge the payment immediately on a paused subscription?

Related Request ID(s)
N/A

What have you already attempted?
When user signs up for my app, I create a subscription with trial period, no payment is required at this stage.

So, when trial ends, the subscription will become "paused". then, i would initiate a checkout session with "setup" mode for user to add a payment method

and, on success call back, i call subscription.resume. i also tried to call `pay` on the open invoice created. but none of these worked

What are you working on?
A productivity tool

#

@safe yarrow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When a customer's payment method expires/fails, we expect automatic retries on outstanding invoices. When a customer changes their default payment method, we'd like the automatic retry to try THAT payment method instead of retrying the previously failed one. However this did not happen with a particular customer and I want to understand how we can control which payment method the automatic retry uses, in order to prevent extraneous/confusing "payment_failed" events and associated customer emails.

Related Request ID(s)
payment updated here: req_iwCNnDuM7MjP8m automatic retry failed using old method: evt_3PcEkdDfBjEyR7le0MbDsrEd

What have you already attempted?
Updated customer's default payment method. Observed that the automatic retry still used the old method, even thought it's the default and the invoice is set to charge default method.

What are you working on?
Puck.news stripe integration

#

@grizzled orbit pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
It is a bad idea to store the Payment Intent Client Secret on local storage?

Every time an unauthenticated user access my website either I retrieve the secret from local storage or if it is not on local storage I create a brand new Payment Intent and store it's client secret on local storage.

Then when the user is going to pay I use the secret along with the publishable key in order to render the Payment Element and allow the user to pay.

Is this a bad practice? If yes, I do not know where to store the secret for each unauthenticated user. (For authenticated users I store it on the DB)

Doc/Guide Links
The docs do specify this on the secret:

client_secret (nullable string) (retrievable with publishable key)

The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key.

The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.

Refer to our docs to accept a payment and learn about how client_secret should be handled.

What are you working on?
An online store that sells retail products

cursive heronBOT
#

@quiet sedge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
def schedule_downgrade(customer_id, current_subscription_id, new_price_id, current_price_id, current_period_end, subscription_data):

print\("\n\n\n\n\n",customer\_id, current\_subscription\_id, new\_price\_id, current\_price\_id, current\_period\_end, subscription\_data\)

schedule = stripe.SubscriptionSchedule.create\(
    customer=customer\_id,
    start\_date='now',
    end\_behavior='release',
    phases=\[
        {
            \# this is the current phase

Question
I am giving users the option to downgrade or upgrade. When they downgrade, I want to schedule a downgrade for next month. I understand that this can be accomplished with the SubscriptionsSchedule API. Currently, I create a schedule with the first item being the current sub, with the start_time in the past (when this sub started) and the next item being the subscription tier I will downgrade the user to. With the code above, will their sub stay at this new tier?

What have you already attempted?
Have not deployed this code yet. Is there any additional clean up I should do? I want the user's subscription to stay at the new tier (the last item of the phases items)

What are you working on?
Scheduling a subscription downgrade

cursive heronBOT
#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have made a Stripe Billing subscription integration in my SaaS product. It can handle changing of payment methods, deletion of payment methods, subscribing to a plan, changing a plan with downgrades scheduled at end of billing cycle, showing invoices and more. Everything works, except for when testing with a test card that requires 3D Secure. In that case it does not complete properly. The invoice remains unpaid, the active subscription is not set for the product, since the payment is not complete...

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Stripe Billing subscriptions

#

@fossil totem pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Need Help with Stripe Subscription Billing

Hey everyone,

I'm facing issues with Stripe subscriptions:

Canceling & Reversing:

When I set a subscription to cancel and then reverse it, the billing isn't right. For instance, canceling on August 25 shows €2.56 on the August 23 invoice instead of €60.

Invoices After Reversal:

After reversing a cancellation, the next invoice combines unexpected charges of €95.81 with the regular €100 fee.
I’m using proration_behavior: 'none' but still seeing prorated credits. How can I fix this?

Thanks!

Related Request ID(s)
req_a2kIUxPyu9Ep3G

What have you already attempted?
Steps Taken to Resolve Stripe Billing Issues
Hi,

Here’s what I’ve tried so far:

Updated Subscription: Set proration_behavior to none while updating the subscription’s cancel_at date.
Reversed Cancellation: Attempted to reverse a subscription cancellation but ended up with incorrect billing.
Checked Documentation: Followed Stripe's guidelines on prorations and cancellation, but the issue persists.

What are you working on?
I'm working on a product rental website with a subscription system.

#

@urban brook pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/tokens/create_card

Question
how long is a Stripe card token (aquired through Stripe.js) valid

What have you already attempted?
I have read the documents, but never find any information on Stripe website. But there is a people on StackOverflow said that The card token is valid for a few minutes (usually up to 10)

What are you working on?
an CRM system

cursive heronBOT
#

@unkempt pagoda pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payment using stripe terminal getting an issue

Related Request ID(s)
n/a

What have you already attempted?
The error: This PaymentIntent could not be captured because it has a status of requires_payment_method

cursive heronBOT
#

@wary raven pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If we have a customer that has multiple users but we wish to only have single billing. Instead of invoicing for each new subscription from each new user, we want to bill the customer that is assigned the users individually.

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models

What are you working on?
Comb Scan is a 3d scanning medical software company that sells its software to private practices

cursive heronBOT
#

@remote arrow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripe = Stripe("my key is here");

initialize();

console.log("Hello from checkout.js");
async function initialize() {
const fetchClientSecret = async () => {
const response = await fetch("/create-checkout-session", {
method: "POST",
});
const { clientSecret } = await response.json();
return clientSecret;
};

const checkout = await stripe.initEmbeddedCheckout({
fetchClientSecret,
});
checkout.mount('#checkout');
}

Question
Contacted yesterday about getting a Ruby on Rails app set up. I'm trying to get past a timeout issue where the Stripe server times out waiting for the client secret.

What have you already attempted?
I'm a junior dev, so I've been trying a LOT of different things, none of which have worked... I think I just need to know the basic set up for Rails.

What are you working on?
A rails app for selling unique Japanese artisan teapots

cursive heronBOT
#

@tall narwhal pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I want to change the priceID of an ongoing annual subscription when the it renews. For that, I "created" a subscription schedule.

Question
How do I add phases to it so that phase 0 is ongoing subscription and phase 1 is renewed subscription with different priceID?

What have you already attempted?
I created phase 0 with ongoing subscription's priceID and quantity, but that means I will lose other properties set on the subscription. Is there a way to "append" a new phase to an _ongoing_ subscription?

What are you working on?
I am working on a billing system of a SaaS company

#

@teal crane pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I set different type of application fees with the Platform pricing tools? I have 3 account types where users can select different payout schedules to select their fee structure. Can I implement this with platform pricing tools or do I need to do everything in backend.

Doc/Guide Links
https://docs.stripe.com/connect/platform-pricing-tools

What are you working on?
Building a payment collection application for users in UK.

cursive heronBOT
#

@mint basin pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
include "stripe-php-5.2.3";

Question
Doesn't work in PHP 8. Where do I find a version for PHP 8?

What have you already attempted?
I've looked through the coding page and can't find the PHP libraries. I don't know what the name of the Stripe version that I'm using. Is it "elements" or something else? I don't know.

What are you working on?
I have an existing nonprofit org website that calls Stripe to accept payments.

cursive heronBOT
#

@tepid mural pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
line_items: [
{
price_data: {
tax_behavior: "exclusive",
currency: "usd",
product_data: {
name: piece,
},
unit_amount: Math.round(totalChargeAmount * 100), // Amount in cents
},
quantity: 1,
},
],
automatic_tax: {
enabled: true,
},
payment_intent_data: {
app

Question
I have an app that houses connected users who sell art pieces to customers. I want to know how I'd automatically send a confirmation of sale email to the connected account natively whenever a customer purchases a piece.

What have you already attempted?
I've already attempted to do payment intent earlier in the project but due to payment method limitations, we had to switch to checkout session.

What are you working on?
Working on receipts for connected accounts

cursive heronBOT
#

@nova egret pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're trying to implement dynamic mcc for POS and looks like it's server side only. However POS can work offline. What's the right way to do this?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
n/a

cursive heronBOT
#

@vital zephyr pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Device restarts, Firmware installation successfully completes, returned to default kiosk app.

What actually happened?
Currently have been stuck in a "download loop" for roughly the last 45 minutes or so ... After restart, device seems to be attempting to install FW 2.25.1.0 ... constantly cycles between "Downloading Updates", "Verifying updates", "Applying updates", then regresses and goes back to "Downloading".

Reproduction Steps
I restarted my S700 devkit so it would "call home" and check in to see if any new updates were available ( I was expecting it to install the latest version of my app I deployed since last boot). Previous firmware was 2.24.2.0.

Question
Hey there! Did an update to the Stripe S700 apps on devices firmware just get pushed? (Devkit)

What are you working on?
S700 Apps on devices development

cursive heronBOT
#

@mint basin pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Already entered. I can't type a response to "Hi there. Can you share more context on what you're trying to do and where you're blocked?"

Question
Already entered. I can't type a response to "Hi there. Can you share more context on what you're trying to do and where you're blocked?"

What have you already attempted?
Already entered. I can't type a response to "Hi there. Can you share more context on what you're trying to do and where you're blocked?"

cursive heronBOT
#

@hexed moss pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay?platform=web#verify-domain

Question
The docs say "Stripe handles Apple merchant validation for you, including creating an Apple Merchant ID." How do I find the Apple Merchant ID that was created by Stripe?

What have you already attempted?
Searched the Stripe dashboard.

What are you working on?
neighbor.com

cursive heronBOT
#

@maiden goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a limit to the minimum value of the product quantity?

Related Request ID(s)
·

What have you already attempted?
·We need to configure the minimum value to the number of seats currently in use

#

@potent lily pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We updated the subscription prices on my WooCommerce store, but the changes are not reflecting on Stripe. Existing customers continue to be charged the outdated prices, and former customers are also being charged.

In the request ID, there is a charge for someone who is no longer our customer, billed at the old price.

Related Request ID(s)
req_0J452D9KQ7YnjO

What have you already attempted?
We canceled all subscriptions on WooCommerce to start over with the new prices, but customers are still being charged.

What are you working on?
Just updating subscriptions prices.

cursive heronBOT
#

@covert flax pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create(
{
ui_mode: "embedded",
line_items: lineItems,
mode: "payment",
return_url: `${headersList.get(
"origin",
)}/?id=${bId}&session_id={CHECKOUT_SESSION_ID}`,
},
{ stripeAccount: orga?.stripeAccountId },
);

Question
In my nextjs app i was using payment methods in the checkout session to show the available payments.
As it is a platform with stripe connect i want to let the user decide what payment method they accept.

I activated / deactivated some payment methods in the platform "root" account, and activated some in the connected user account.
But doesn't matter its always just card and klarna shown. (If i deactivate klarna its hidden) but no other payment methods show up.

What have you already attempted?
I already tried turning on / off different payment methods. Some as Klarna or Ideal pay show up, but the most important for me (Apple Pay, Google Pay, Revolut Pay, Link, GiroPay, Sofort) don't show up.

What are you working on?
We are building a platform for apartment owners to collect the tourist tax from their users more easily

#

@rare tartan pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-js/elements/payment-request-button?testing=google-pay

Question
Is it possible to have this google pay element works in edge and opera? similar to https://docs.stripe.com/elements/express-checkout-element provided here? And also can we trigger the google pay even when user still hasn't added the card to google wallet. Meaning they can click gpay button and add the card inside gpay modal? And also some users got an issue the card wasn't detected even tho they already added it on their wallet. some user able to proceed after they tried making a payment on other website then comeback to my website to do a payment.

What have you already attempted?
Searching the docs, researching for solution outside docs.

What are you working on?
Payment method google pay

#

@heavy warren pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I get the number of card retries remaining on an invoice?
I see 'attempt_count' and 'next_payment_attempt' fields but nothing that hints towards which attempt it will fail.
I guess i can manually calculate it based on my Stripe Account 'Recovery' configurations, but if anyone changes our retry policy, it would be a pain to update.

Related Event ID(s)
evt_1Pfu47AHIrtkyTaBThiKHsVd

What have you already attempted?
I checked the invoice and subscription objects.

What are you working on?
Notifying users when a payment has failed on an invoice and how long they have until it cancels the subscription.

#

@earnest lintel pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/update

Question
I want to update the price of my existing subscription and i want that update from the customers upcoming billing period. For eg: if customer A current period is 21st of july to 21st of august and next billing period us 21st of august to 20th sep the new prices should be applicable from 21st august invoice.

What have you already attempted?
I have used subscribe update api and when i pass proration none and i make req to api the current billing amount is not getting that change of new price. Is that correct behaviour of api

What are you working on?
subscription, billing

#

@severe gazelle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to fetch if payment methods (Apple Pay and Google Pay) are available using the old API version?

I'm using version 22.26.0 (Java) and updating right now will require some changes.
Looking into the API docs we have the Payment Method Configurations, but it's not available for the version that I'm using.

Related Request ID(s)
evt_3Pfoz1Pr5APMazMF0qWOkCJO

What have you already attempted?
I've already tried to use https://api.stripe.com/v1/payment_methods

What are you working on?
Display or not the Apple Pay and Google Pay in checkout.

cursive heronBOT
#

@drifting elbow pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```javascript
const refund = await stripe.refunds.create({
payment_intent: req.body.id,
amount: req.body.amount,
}, {stripeAccount:req.body.account_id});```

Question
I am getting an error:
{"error": "StripeInvalidRequestError", "message": "No such payment_intent: 'pi_3Pfw1ADAwN7LzIVY15KBcfgF'"}

What have you already attempted?
I have made sure to call the API correctly.

What are you working on?
TTPOI Refund

#

@scenic dove pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Konbini payment should go through with full phone number

What actually happened?
Payment is blocked because phone number doesn't pass formatting

Reproduction Steps
Submit a payment with Konbini with a phone number containing an extension

Question
req_IZCEjlFC8n5CCf

We're using payment intents api with elements on our Connect platform. A customer accepts payments with Konbini. We collect customer phone
number and other billing details, then add these to `confirmPayment`

What are you working on?
Checkout Page, custom checkout builder

cursive heronBOT
#

@woeful oasis pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Support, please not I am not a developer. We are using Schoolsbuddy platform for our school and we recently linked it to our stripe account. Integration already exist between these 2 platforms. We are told from Stripe sales support that we now need to select stripe checkouts or elements to integrate for online payments. What exactly will be needed for this to work? Is there someone that can assist us with this from start to finish. Is there support in terms of configuring Checkout or Elements to our needs? Thanks

Related Request ID(s)
No

What have you already attempted?
Already as a start Schoolsbuddy is integrated with our stripe account. A link exist between both platforms

cursive heronBOT
#

@true viper pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
TokenCreateParams params = TokenCreateParams.builder()
.setCard(TokenCreateParams.Card.builder()
.setNumber(cardRequest.getNumber())
.setExpMonth(cardRequest.getExpiryMonth())
.setExpYear(cardRequest.getExpiryYear())
.setCvc(cardRequest.getCvv()).build())
.build();
Token token = Token.create(params);

Question
I am unable to get token after saving the card details in stripe and getting error like
com.stripe.exception.CardException: Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis

in spring boot

What have you already attempted?
I have attempted this code and also try it to do with using map collection

cursive heronBOT
#

@pearl heron pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe stopped accepting payments and our account is through acuity

What actually happened?
Stripe asked questions about business and we answered but not sure what else to do

Reproduction Steps
Payments are not accepted and we do not know why

Question
How can we accept payments again

cursive heronBOT
#

@zenith epoch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
tap to pay develop with some problem

Related Request ID(s)
unknow

What have you already attempted?
com.stripe.stripeterminal.external.models.TerminalException: Failed to generate attestation.

cursive heronBOT
#

@mortal yacht pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Integrate Stripe ACH with my Laravel Web Application

Question
Here is my thought process & current flow

  1. Payment Form - Predefined Amount, Card Holder name, A/c no, Routing Number etc. Stripe JS V3 used
  2. Controller - call the "stripeProcessPayment()" method to process all the payment related changes
  3. ACH - Instant verification (NO microdeposit etc)
  4. Redirect to Form with message.

What have you already attempted?
Yes using Test Account & I am stuck with error -
Payment failed: Error processing ACH payment: PaymentMethods of type us_bank_account must be verified before they can be attached to a customer.

What are you working on?
Implementing Stripe Payment Gateway for US Customer. Credit Card Payment is working but want to implement ACH.

#

@cyan ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How could we generate token for encrypting credit card information

Related Request ID(s)
req_QzRpS8iSBohISI?t=1721803659

What have you already attempted?
I have attempted to create a token by using Tokens API. It responded me "Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using"

What are you working on?
API Integration

#

@fresh ravine pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm intergrating Stripe Connect in my application and can see that the checkout session create has a payment_method_type of "customer_balance". When I use this it tells me to enable it in the stripe dashboard, however I can't work out what option to enable to enable this.

Related Request ID(s)
Unknown, I cannot reach this path due to enabling the dashboard beta

What have you already attempted?
I've looked around on the payments settings to find how to enable customer payment methods. I'm assuming that this isn't something that's available to do.

What are you working on?
A marketplace for trading cards

#

@ivory crown pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a stripe subscription flow which is charging users per month for 100 tokens and then charging 0.2 dollars per token its combination of both meter based billing and monthly subscription

Now for the first time he onboards I want to give 20$ discount with coupon

It can be used only once only first time what is the best approach to follow this

Related Request ID(s)
coupon

What have you already attempted?
stripe.checkout.sessions.create
stripe.checkout.sessions.retrieve

have created a coupon not sure what all configs should be set for this

What are you working on?
AI chatbot like chatgpt with custom LLM

cursive heronBOT
#

@wintry furnace pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm calling stripe.handleNextAction in the web client which may redirect offsite, but also may not (depends on the payment method) https://docs.stripe.com/js/payment_intents/handle_next_action

Question
The docs about the payment_intent say that the client secret shouldn't be embedded in URL, but the redirect back from the handler appends it. Is it correct? Are there other ways to do it?
Is it necessary handling both the promise-based approach and the query param approach? Are there any more detailed docs about what query params can be returned ?

What have you already attempted?
I have used this doc : https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#web-submit-payment

#

@queen peak pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello Stripe Team!

My first question is about the possibility of splitting the quantity of products for a single product in one subscription. For instance, could we change a subscription product from “Access to Dynamo, quantity 10” to “10 x Access to Dynamo, quantity 1”?

Secondly, is it possible to have multiple subscriptions with one product, such as “Access to Dynamo, quantity 1”, and receive a single invoice for all these subscriptions?

Lastly, I would appreciate your advice on the best practices for managing seats and recognizing which product or quantity of product is assigned to each of the customer’s employees.

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

What are you working on?
We are looking to manage a seat subscription system where the quantity of the product corresponds to the number of employees.

#

@chilly harness pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/testing#declined-payments

Question
I see the card which can be used to user object, but it is USA card. Do You have any Europe based card which can be used to test insufficient funds ?

What have you already attempted?
Tried to add to the user from Italy this card 4000000000000341 , but it needs to be USA

What are you working on?
TESTING subscription invoice to be paid failure

cursive heronBOT
#

@quartz latch pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
al, err := accountlink.New(&stripe.AccountLinkParams{
Type: stripe.String("account_onboarding"),
Account: stripe.String(expressAccountId),
ReturnURL: stripe.String(fmt.Sprintf("https://dev.example-url.app/users/stripe/connect/success?token=%v", userIDToken)),
RefreshURL: stripe.String(fmt.Sprintf("https://dev.example-url.app/users/stripe/connect/refresh?user=%v&account=%v", userIDToken, accountIDToken)),
})

Question
How can I provide users with their Connect Account URL? The user has already been onboarded on Connect but I can't find a way to give the user the URL to their Connect Dashboard.

What have you already attempted?
I have already attempted to provide the user with the link through the code above but it starts the onboarding process all over again.

#

@orchid heath pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to test Webhooks in the context of payment dispute for subscription with metered products, but somehow usage record seems not to be added to subscription

Related Event ID(s)
evt_1PfN8sAgeNa2VITfxeUElCd6

What have you already attempted?
- searched discord for similar problems,
- tried to create subscription for this purpose
- tried to use existing subscription for this purpose

What are you working on?
saas b2b

#

@heavy crystal pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
/ Vytvořit URL s cenou jako parametrem
const paymentUrl = `https://buy.stripe.com/bIY6qjc8I9gO3UA9AA?amount=${price * 100}`;
window.location.href = paymentUrl;

Question
Hi, can I have payment link with variable price depending on my code? Thanks in advance.

What have you already attempted?
I found out that is not possible for me.

What are you working on?
payment method based on variablel!

#

@compact thorn pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The solution for unlock my account

What actually happened?
I am a seller of virtual goods. Recently, I provided a payment link to a buyer for payment, but he is suspected of using someone else’s credit card, resulting in up to 60 payment rejections. I didn’t notice until Stripe notified me that my account was banned. But I have already delivered the goods to him. Does this mean that I will not receive the payment he made? If

Reproduction Steps
We identified a high volume of unauthorised charges on your account. Payouts are now paused. We will issue refunds on affected card payments five days after your Stripe account is closed. Refunds may take longer to appear on a cardholder's statement.

Question
I have all purchase records and receipts, but I don’t have any registered company, business account and tax number. Stripe require me provide VAT or bank business account statement. Any else i can provide to save my account?

#

@twin belfry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how much time it will take for reviewing the stripe marketplace app for publishing?

Related Request ID(s)
how much time it will take for reviewing the stripe marketplace app for publishing?

What have you already attempted?
not submited yet

What are you working on?
how much time it will take for reviewing the stripe marketplace app for publishing?

#

@trim tulip pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Google Pay prompt should show the correct amount when confirming a Setup Intent

What actually happened?
Google Pay prompt shows $0.00

Reproduction Steps
Using Stripe React create an Element component with mode: setup and render a PaymentElement component. Choose Google Pay as a payment method and follow the steps for authorization.

Question
How can I tell Google Pay to show the amount that will be collected? Since it is a SetupIntent I can understand why it show $0.00 but still looks as a bug to the users. I can see some discussion about fixing or at least providing an option to set for flutter:
https://github.com/flutter-stripe/flutter_stripe/issues/1250

#

@wispy grail pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I don't understand why I have the following error message during a PayPal PaymentIntent request over
a Stripe CheckoutSession

```
The Paypal payment method does not support Connect charges created on behalf of connected accounts, including Direct Charges and charges created with on_behalf_of.
```

Related Request ID(s)
req_lXuotIaKnWculo

What have you already attempted?
Reading the documentation of the error :
https://docs.stripe.com/error-codes#payment-intent-invalid-parameter

Reading the documentation of the API Create PaymentIntent with PayPal payment_method_types (especially the payment_method_options.paypal & payment_method_data.paypal chapters)
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-paypal

What are you working on?
inegrate paypal in a wordpress stripe payment plugin that is not supports paypal payment method at this time (WPSimplePay)

cursive heronBOT
#

@oak furnace pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
i wander what is the allowed list of businesses

Question
i wander what is the allowed list of businesses

What have you already attempted?
i wander what is the allowed list of businesses

What are you working on?
i wander what is the allowed list of businesses

#

@rare tartan pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element

Question
Some payment methods require setup actions from the customer. For example, a customer won’t see a Google Pay button if they don’t have Google Pay set up.

I wish to have the button appear even though user doesnt have google pay set up. currently when I tried to show gpay button in incognito, it didnt show anything (I already able to show gpay button in normal browser). when I opened the docs link in incognito, the demo showed Buy with GPay button and I was prompted to sign in using my email. How can I achieve same behavior like GPay button on the link?

What have you already attempted?
I'm looking for example code for express checkout element but still can't find it anywhere. I also read the api docs here https://docs.stripe.com/js/elements_object/get_express_checkout_element but not getting any clue.

What are you working on?
MIgrating from paymen request button to express checkout element for gpay and apple pay

#

@queen orchid pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a question about changing subscription item quantities after creating a subscription with a one-time coupon.

I have just created a subscription with a -100% off one-time coupon that includes some subscription item X with quantity 10, so the first invoice amounts to 0€.
Now I want to update the subscription by increasing the quantity of subscription item X from 10 to 20. But the invoice generated for this update will create costs equal to 20 units of X, although 10 of these were already included in the initial subscription, so only 10 units should be charged. Why is this not the case?

Related Request ID(s)
The request for updating the subscription: req_k2Fi8yN3kkZf8X

What have you already attempted?
I have read through the docs for proration, discounts, and updating subscriptions but did not find an example for this use case

#

@willow jungle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I needed to store a table of data, where would I be best placed to do that in stripe? In another system this would be a custom object or a custom data table; is there an equivalent?

Doc/Guide Links
https://docs.stripe.com/metadata
https://docs.stripe.com/workbench

What are you working on?
Attempting to create a report for an "Issue Label Run"

#

@void fern pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would need to create a payment link, which I can specify if the user can pay in quotes. 1, 3 or 6 quotes.

Is that possible?

Related Request ID(s)
N/A

What have you already attempted?
Nothing yet, I would like to know if there is a doc or something to see how to do it.

What are you working on?
At the moment I would need to get generate a payment link, and give the user the possibility to pay in 1, 3 or 6 quotes. And after that I would like to know how to configure the webhooks.

#

@thorny root pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
It should show apple pay button on react website

What actually happened?
It's showing pay with Link button

Reproduction Steps
I am using ngrok and folllowing the stripe official tutorial on youtube . i am using mac and opening the website on safari browser.

Question
Why it's not showing apple pay button ?

#

@magic juniper pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripeCustomer = $this->stripeClient->customers->create(
[
'name' => $customer->name,
'email' => $customer->email,
],
[
'stripe_account' => $accountId,
]
);

$this->stripeClient->paymentIntents->create(
[
'amount' => $amount,
'currency' => 'eur',
'customer' => $stripeCustomer->id,
'payment_method_types' => ['card'],
],
[
'idempotency_key' => $idempotencyKey,
'stripe_account' => $accountId,
]
);

Question
I want to create a PaymentIntent for a direct charge with a connected account. I created the customer and the PaymentIntent using the connected account's credentials. However, when I return the client_secret to the frontend, I receive the following error:

The client_secret provided does not match any associated PaymentIntent on this account. Ensure the publishable key used belongs to the same account that created the PaymentIntent.

Could you help me identify ?

What have you already attempted?
I also tried on_behalf_of, but it seems I still not yet totally understand it. It behaviours like a normal paymentIntent.

What are you working on?
We use the destination charges in our platform. How can I charge the stripe fee directly to a specific connected account?

#

@abstract zephyr pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want this scenario:

Suppose the customer pays a $10 amount and after that, a 10% commission is added to the stripe admin account and the remaining 90% directly goes to the connected account. So I don't want the payment to be sent to the stripe dashboard owner and transferred from his account to the connected account.

Is this possible to transfer the amount first to connected account then to the stripe account

Is it possible in stripe or not if yes then need to confir which api do it.

Related Request ID(s)
I want this scenario: Suppose the customer pays a $10 amount and after that, a 10% commission is added to the stripe admin account and the remaining 90% directly goes to the connected account. So I d

What have you already attempted?
I want this scenario:

Suppose the customer pays a $10 amount and after that, a 10% commission is added to the stripe admin account and the remaining 90% directly goes to the connected account. So I don't want the payment to be sent to the stripe dashboard owner and transferred from his account to the connected account.

Is this possible to transfer the amount first to connected account then to the stripe account

Is it possible in stripe or not if yes then need to confir which api do it.

#

@static needle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
I'm interested in possible ways to create a one-time payment that would allow me to capture funds later and utilize the `automatic_tax` functionality

Related Request ID(s)
req_IAA9cxzkGFm4JD

What have you already attempted?
I have atempted to create invoice in order to use Stripe's [automatic tax](https://docs.stripe.com/tax/invoicing?dashboard-or-api=api#enable) functionality. However after finalizing invoice I'm not able to change PaymentIntent's `capture_method` to `manual`.

What are you working on?
Implementing checkout for one-time payments using custom payment flow

cursive heronBOT
#

@finite cloak pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to change type of my connected accounts from ‘express’ to ‘custom’. Support says that I need ask my client to create a new connected account of type custom. How would I migrate existing subscriptions from an express old connected account to a new custom one?

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

What are you working on?
changing type of connected accounts from ‘express’ to ‘custom’

cursive heronBOT
#

@sacred shell pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a payment intent for 0.50 eur but I get api error response: Amount must convert to at least 200 fils. €0.50 converts to approximately د.إ1.99

Related Request ID(s)
req_3VemmijByDHWM0

What have you already attempted?
Tried to find solution in docs but to no avail. It obviously tries to convert euro to AED and it figures out that it's less than 200 fils (2 AED). I'm charging my customer in EUR how can I make this work regardless of the current exchange rate between EUR and AED?

#

@fossil light pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
class StripePaymentHandler(
private val listener: StripePaymentListener,
private val fragment: Fragment
) {

private val paymentSheetResultCallback = PaymentSheetResultCallback {
    when \(it\) {
        PaymentSheetResult.Completed \-\> {
            listener.onPaymentSuccess\(\)
        }

        PaymentSheetResult.Canceled \-\> {
            listener.onPaymentCancelled\(\)
        }

        is PaymentSheetResult.Failed \-\> {

Question
i have implemented stripe payment in which i am trying to save card by using save card check mark but it is not saving card i am not able to get that card detail in next payment

What have you already attempted?
i have implemented same code as shown in your documentation

cursive heronBOT
#

@cinder jetty pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Video of the Issue:
https://github.com/stripe/stripe-terminal-react-native/assets/41432581/bd6e6171-82b8-45bd-ae2e-618902398fb0

Question
After updating from Expo 50 to Expo 51 and the package "@stripe/stripe-terminal-react-native" to "^0.0.1-beta.19", the app is experiencing issues during the payment process.

After completing the payment, the app freezes for a few minutes and then crashes. Additionally, the app seems to be slower overall.

What have you already attempted?
i've already tried donwgrading stripe, i've tried changing a few things in the code, but to no avail...

What are you working on?
IDonate

cursive heronBOT
#

@blissful bluff pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to onboard a connect account in Malaysia but get bank_account_unusable error. Im trying to onboard an account with a bank account at MALAYAN BANKING BERHAD. This is by far the largest bank in Malaysia, how can this not be supported??

Related Request ID(s)
req_bSxmLHneBQbSbv

What have you already attempted?
multiple attempts to set up leading to always the same error message

#

@severe gazelle pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_method_configurations/list?lang=java&shell=true&api=true&resource=payment_method_domains&action=list

Question
Is there an alternative for Payment Method Configuration in version 22.26.0?

I need to check if Apple Pay and Google Pay are enabled at https://dashboard.stripe.com/test/settings/payment_methods?config_id=pmc_1MwrAFLwat62Tw1jvOyCYV8u.

Unfortunately, using Payment Method Configuration requires an updated API version, which will also need code changes.

What have you already attempted?
I have tried to list the Payment Methods (https://docs.stripe.com/api/payment_methods/list?lang=java) but this seems to be returning methods used by the customer.

What are you working on?
Display Apple Pay and Google Pay button on checkout only if they are enable on Stripe.

#

@heavy warren pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does React Native SDK provide a way to allow customers to select their preferred/default payment method on the Payment Sheet (using SetupIntent) interface?

If not, what is the best way to implement this if users have the option to create both a subscription as well as one-time payments (standalone payment intent)

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse

What are you working on?
Payment method management + UI

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have had conversations with your team previously regarding Stripe Billing for subscriptions. In Denmark we use 3D Secure for payment verification almost always. Everything works when creating a subscription and charging through payment element in that process (following https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements#webhooks). However, I have implemented a way for my customer to update the payment method. Even though it is verified by 3DS, it fails when subscribing to a plan. Log has both the invoice.payment_failed and invoice.requires_action.

Related Request ID(s)
req_KiXcTqebuzvVj3 , evt_1Pg4vyGppVLMkw06g4xXGhsP

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
Stripe Billing

#

@idle cloak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm calling stripe.paymentRequest from JS, with following options:

`{
country: 'US',
currency: 'usd',

  total\: {
    label\: 'Total',
    amount\: 3999,
  },

  requestPayerEmail\: true,
  requestPayerName\: true,

  // Only allow apple pay for now
  disableWallets\: \['link', 'browserCard'\],
}\`

When on android and using google pay, the "TOTAL" is not showing up in the UI. It shows up in test mode, but not in production mode.

How can I make it show up?

I'll attach screenshots in the next messages.

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

@cyan ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How could we send html form post with giving our pk_test key in html

Related Request ID(s)
.

What have you already attempted?
I have prepared a form html and tried to post it. However I got:

{
"error": {
"message": "You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}

What are you working on?
API Integration

#

@hushed jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
So if there is no difference from my perspective and code, do you recommend running paymentIntent->create() on the frontend or server?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
Ecommerce Site

cursive heronBOT
#

@gentle ore pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there, is there an API to view the balance of a prepaid card? I found in the docs I can identify the type of card but don't see if there is a way to check balance.

Related Request ID(s)
n/a

What have you already attempted?
Went through API docs but wasn't able to find anything

#

@soft ledge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
PayPal does not show up even though it is shown as active on the Dashboard (production server)

What actually happened?
PayPal only shows up on the development server (test mode)

Reproduction Steps
PayPal is activated both in production and test mode.

Question
How can we see why PayPal refuses to show up, what can we doe to make it show up?

#

@stoic ledge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I have a problem when doing payments when the OBO is changed on the setup intent, I talked to one of the dev-support people here about it and I couldn't give him data regarding the problem due to technical difficulties, but now things are a bit more clear, the problem only occures when doing bank payment (credit card and wallet payment is fine) and it outputs "The provided mandate has a different `on_behalf_of` than the one provided on the PaymentIntent".

Related Request ID(s)
none

What have you already attempted?
as explained above

#

@abstract dagger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Creating a checkout session and leaving `payment_method_types` as nil, but it's not automatically choosing all available options.

Related Request ID(s)
req_ZZVQbnsYJFoG2n

What have you already attempted?
If i add `payment_method_types: ['card', 'us_bank_account'],` it works fine.

But according to docs, it should choose all options if i don't include this.

I thought it was my stripe version, but i updated it to `2023-10-16` and still same issue.

cursive heronBOT
#

@vale lance pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I cannot log in to my account and have not used it a for a few years. Can you help?

Question
I cannot log in to my account and have not used it a for a few years. Can you help?

What have you already attempted?
I have tried online

What are you working on?
Payments for website

#

@wide cargo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
iOS development of Stripe Tap to Pay, Transaction is failing with "offline_pin_required"
I have created the UI now where should i send this pin input from user? Which method i call, could you provide any reference?

Related Request ID(s)
pi_3Pg6MtEzGMAqDSOH1mvrirjP

What have you already attempted?
I tried searching stripe developer docs and unable to find any help.

What are you working on?
Stripe terminal - Tap to Pay

cursive heronBOT
#

@lime bear pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We should be able to use a token from a card present payment intent for future use.

What actually happened?
Got an error: https://dashboard.stripe.com/test/logs/req_XrwsXqYVKCw28Z?t=1721777153

Reproduction Steps
We want to be able to use a token from a `card_present` payment method type to be set up for future use, but it gets rejected.

Question
We just launched a merchant in Australia, and we are getting this error, the conditions of which has been working until now in the US and UK. We urgently need to know why this is not possible.

What are you working on?
Merchant in AU

#

@white horizon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to make a payment using usbank account and confirmation tokens and I am getting the error "Payment details were collected through Stripe Elements using payment_method_types and cannot be confirmed with a configured with automatic payment methods."
Ive tried reconfiguring my calls to no success and cant find anything in the documentation on why the usbanaccount would work differently than a card.
The ids linked include the confirmation token and then the subsequent failed payment intent.

Related Request ID(s)
req_lNYbhSrfwddV94 , req_9CgrlOYHyPOIzC

What have you already attempted?
I've read all there is on the confirmation token and the various stack overflows that came up in relation to the error message. With that I have also tried reconfiguring my element, and payment intent and confirmation token with different options related to the payment method and confirmation.

What are you working on?
Dynamic forms tool with payments for donations

cursive heronBOT
#

@tight lichen pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: total * 100,
currency: 'eur',
description: `Order number: ${orderNumber}`,
automatic_payment_methods: {
enabled: true
}
});
return json({
clientSecret: paymentIntent.client_secret,
intentID: paymentIntent.id,
total: total
});

Question
I am using svelte-stripe and everything works fine when I'm using my test keys in my local environment. However, when I deploy the app and try to use the live keys I get an error that says "invalid json was returned by stripe" when creating my payment intent.

What have you already attempted?
I have looked around and can't find anything online about my particular issue. I have read through the stripe docs as well but can't find anything about there being a difference in prod.

What are you working on?
I'm creating a Sveltekit app which is an online shop for a bakery.

#

@plucky lynx pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export async function creditFreeMonth(subscriptionId: string): Promise<Stripe.Subscription | null> {
try {
const subscription = await stripe.subscriptions.retrieve(subscriptionId);

  if \(subscription.metadata.free\_month\_claimed === "true"\) {
    console.log\(\`Subscription ${subscriptionId} has already claimed the free month.\`\);
    return null;
  }

  const currentPeriodEnd = subscription.current\_period\_end;
  const newBillingCycleEnd

Question
How can I extend the users current subscription by one month, and that only one time. Tracked by metadata.

What have you already attempted?
I asked others for help, asked GPT.

cursive heronBOT
#

@paper swan pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to list a customer’s most recent payment method using stripe.customers.listPaymentMethods()

I wanted to know if the list is sorted by default, ie will the first element of the data returned by the above call correspond to the most recent paymentMethod?

Related Request ID(s)
NA

What have you already attempted?
Looked into the docs, they didn’t mention anything about the default order of the return value of the api function.

What are you working on?
maintaining my employer’s application

#

@earnest lintel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you check if this invoice was properly prorated? in_1PXXywFNVbYFceRMa6vpEjcl

Normally, the pro-rated flow is "refund unused time of the old count" and then "charge for remaining time of the new count" with two lines for every change.

Started with 78 Essentials Plus SLA line items.
On Jun 27: Added one line item, pro-rated (should have refunded 78, then charged for 79).
On Jun 28: Pro-rated a refund for 1, then pro-rated the charge for 80 more (net 79).
So now the system thinks we have 79 on top of the original 78. Can you take a look?

Related Request ID(s)
xxxxxxxxxx

What have you already attempted?
read through documentation and api calls.

#

@shrewd vessel pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentRequest = stripe.paymentRequest({
country: 'FR',
currency: 'eur',
total: {
label: 'Total',
amount: 1000
}
});

		const res = await paymentRequest.canMakePayment\(\);

		console.log\('\[GPAY\] result\: ', res\);

Question
I am trying to include apple_pay and google_pay in an existing stripe PaymentElement.
applePay works well in website (iphone safari) and ios app. googlePay works in website (android chrome) but not displayed in android app.
I am using react-native-webview to render the mobile applications.
Note: the rendered webview has HTTPS connection. In fact, when testing the webview site in chrome, googlePay works well

What have you already attempted?
I tried debugging both the apps and added the above code to find whether the device is compatible with wallet payment.
In all scenarios of applePay (website, webview site and ios app) it gives {applePay: true, googlePay: false, link: false}
Which is an expected result.

In android, website and webview site it gives {applePay: false, googlePay: true, link: false} and in app it gives null.
So, I assume this is the reason googlePay is not displayed. But there is no error

What are you working on?
Working on an existing stripe PaymentElement which works well for card and few exotic payments like klarna and giropay. Trying to include applePay and GPay

#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
charge customer bank account via backend api. What is the basic set of information we need to store in order to request Stripe to charge the customer bank account?

Related Request ID(s)
none

What have you already attempted?
documentation around
Plaid & Stripe.js
Stripe Checkout
Payment Element

What are you working on?
payment platform

#

@twin kernel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to automatically create real customer from "one-time" checkout session? same as "subscription" mode, where it creates real customer.

Related Request ID(s)
none

What have you already attempted?
Create session with mode "payment", it creates a guest account :(

#

@plucky lynx pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async function setSubscriptionPause(subscriptionId: string, shouldPause: boolean): Promise<void> {
try {
let subscriptionUpdate;

if \(shouldPause\) {
  // Pause the subscription
  subscriptionUpdate = await stripe.subscriptions.update\(subscriptionId, {
    pause\_collection\: {
      behavior\: 'void', // No invoices or services while paused
    },
  }\);
  console.log\(\`Subscription ${subscriptionUpdate.id} has been paused.\`\);
} else {

Question
I would like to make a function to pause a subscription for x duration and then it should continue. How can i achieve that?

What have you already attempted?
Asked GPT, read thru the docs. Found broken stripe link.

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I retrieve a paymentIntent from an invoice?

Related Request ID(s)
-

What have you already attempted?
$invoice = $stripe->invoices->retrieve($invoiceId, [
'expand' => ['latest_invoice.payment_intent']
]);

What are you working on?
-

cursive heronBOT
#

@ivory socket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the difference between providing a customer with the url generated by Session.Create() API and PaymentLink.Create()?

Related Request ID(s)
req_rMspYa5mMEd52F

What have you already attempted?
I'm in test mode. I have been using Session.create() to generate a link to a checkout session, then using it to complete a payment. It works fine. But I noticed in the docs that there is an API to create a payment link, so I wonder what the difference is and what the best approach is.

What are you working on?
I am building a Stripe integration using connected accounts. Our clients will use our software to create products for their customers, and collect and track payments on those orders.

#

@tall narwhal pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I created a subscription schedule `from` a subscription. When I used test clocks to advance the time by 1 year (billing interval), I still see the subscription schedule attached to the subscription.

Question
How do I ensure the schedule is released after the first subscription renewal?

What have you already attempted?
I tried to create a schedule with 2 phases:
phase 0: price/quantity equal to ongoing annual subscription
phase 1: new price (I want this phase to kick in at the time of subscription renewal)

What are you working on?
I am working on a billing system of a SaaS company

cursive heronBOT
#

@opaque pike pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our platform gives users two weeks of free access, after which we charge them for the first payment in a series of $99 monthly payments. We create a setupIntent when a user signs up. Many users use cards that fail at the first payment, for reasons other than insufficient funds.

Is using a paymentIntent for $1, with `capture_method: manual`, that we never intend to capture, a reasonable way to check the legitimacy of these cards? We don't expect this to solve all problems, but reduce the number of failing cards at least. We do not want to take out a hold for the whole $99, and our two week window is longer than allowed hold periods anyway. Thank you

Doc/Guide Links
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

What are you working on?
A web application that allows users to create groups with paid content. Users can also purchase paid monthly recurring subscription to groups.

cursive heronBOT
#

@tight lichen pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntent = await stripe.paymentIntents.create({
amount: total * 100,
currency: 'eur',
description: `Order number: ${orderNumber}`,
automatic_payment_methods: {
enabled: true
}
});
return json({
clientSecret: paymentIntent.client_secret,
intentID: paymentIntent.id,
total: total
});

Question
I am using svelte-stripe and everything works fine when I'm using my test keys in my local environment. However, when I deploy the app and try to use the live keys I get an error that says "invalid json was returned by stripe" when creating my payment intent.

What have you already attempted?
I have looked around and can't find anything online about my particular issue. I have read through the stripe docs as well but can't find anything about there being a difference in prod. It also seems like the live keys aren't even being used as they have no last used date.

What are you working on?
I'm creating a Sveltekit app which is an online shop for a bakery.

cursive heronBOT
#

@mellow surge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
There are subscriptions on the dashboard. If the customer's card fails on the first attempt, when does it try again? Is it marked as pay_due by the API? I need to develop the API accordingly. If the payment is canceled, the plan will be canceled, but if the API still tries to collect payment for a few more days and marks it as active, that would be problematic for me.
https://docs.stripe.com/api/subscriptions/retrieve
status:
reponse

Related Request ID(s)
...

What have you already attempted?
...

What are you working on?
Subs received

#

@languid hearth pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to find failed payments with a payment method

Related Request ID(s)
pm_1PgAxzAcqRxm04BKylB0mPxw

What have you already attempted?
I've looked on the Stripe search, but I know for a fact this card was declined in person at the Point of Sale before it eventually went through on a different device

#

@lilac ingot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I signed up with a Stripe PM (Stacey Wong / stacey@stripe.com) at Sessions to get beta access to the new Payouts product. I discovered I needed to have access to a private github repo to use the v2 API. The payouts team invited me, I thought I had accepted the invite, then I got distracted for a couple weeks, and now I see my acceptance didn't go through due to lack of 2fa on github. I've added 2fa emailed the beta team (payouts-products-beta@stripe.com) a couple times and am getting desperate - any chance you guys can help? Many thanks in advance for your consideration!

Related Request ID(s)
NA

What have you already attempted?
Emailed PM + payouts dev team.

What are you working on?
A platform for researchers to recruit and pay survey respondents online. I rely primarily on Connect right now which is not working due to KYC requirements for the no-fee standard accounts.

cursive heronBOT
#

@abstract belfry pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
elements.create("cardNumber", {
classes: classes,
style: style,
placeholder: _labels.PLACEHOLDER_CARD_TEXT,
showIcon: true,
preferredNetwork:[
"visa","cartes_bancaires","mastercard"
]
});

Question
the dropdown for selecting cartes bancaires is not showing

What have you already attempted?
adding the showIcon: true and the preferredNetwork array

What are you working on?
we have CC a form using stripe.js

cursive heronBOT
#

@west saffron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why does extending a phase by altering the end date, with the same other fields, while not specifying any settings for the billing_cycle_anchor, cause the billing anchor to change in same cases, but not others? I have a support case open for this issue for over 3 weeks and it doesn't seem like they are making any meaningful progress other than telling me it changes "as needed". What is the logic behind altering the billing cycle anchor "as needed". Previous thread directing me to support, #1257892599969218651 message

Related Request ID(s)
req_YBZQWi0bi5PhRp changes the anchor, req_f3edGXjX4n7EIu does not. Payload is literally identical, just different start/end dates.

What have you already attempted?
Our business logic is to migrate an account to a stripe subscription involves setting the start date to today, and then end date to the expiration. By default, we want the subscription to cancel but they can extend by 1 year, when there is 30 days left until that end date, which is also the billing cycle anchor originally. Upon extending the phase by an additional year, the billing anchor is altered to the start date. We have tried to replicate in development to "extend" a phase and it doesn't alter the billing cycle anchor. I have also tried with test clocks to advance time and then extend it

What are you working on?
A yearly subscription which auto cancels at the end, unless extended manually

cursive heronBOT
#

@uneven carbon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know a simple solution to use with Stripe checkout to create subscription plans with express account users that our application previously signed up for.

Related Request ID(s)
none

What have you already attempted?
I'm planning to use this: https://docs.stripe.com/api/subscriptions/create

What else do I need? I guess some how I have to create the recurrent payment products?

cursive heronBOT
#

@tired swan pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to use a stripe customer across all connected account ?

Related Request ID(s)
none

What have you already attempted?
I have tried to use tokens : https://docs.stripe.com/connect/cloning-customers-across-accounts but it seems deprecated and when I put the token in customer key when creating a subscription I get the error : "The customer must have an active payment source attached."

What are you working on?
Building an app where user can subscribe to others. I use destination charge

cursive heronBOT
#

@lunar zodiac pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element#:~:text=The Express Checkout Element gives,based on a customer's location.

Question
Is there a way to dynamically hide and unhide payment types in the Express checkout element? For example, I know you can hide certain payment types based on the paymentMethodTypes and wallets in the elements and options, but can you dynamically hide and unhide these elements?

What have you already attempted?
Looking at docs for this

What are you working on?
Stripe integration with express checkout element

cursive heronBOT
#

@tall sonnet pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
we need someone to show how to setup the code for stripe connect if we have a multi tenant platform for web/mob react & react native

Question
Hey stripe dev community, we are new to stripe connect and want someone to show us how to setup our stripe connect for the following scenario…we have a multi tenant platform with many different clients all selling different stuff, we want to use connect how does our platform charge our tenants a % and where do we set that up and define it for each different client as our clients will have different % charges based on the amount of volume they put through our platform,thanks

What have you already attempted?
setup connect, can show PM diagrams of charges

What are you working on?
multi tenant platform for web/mob react & react native, where our multi tenanted clients get charged by our platform % of customer purchase,

cursive heronBOT
#

@zenith epoch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
tap to pay collect payment prompt "card not support"

Related Request ID(s)
terminal

What have you already attempted?
tap to pay collect payment prompt "card not support"
i try debit card and apple pay

cursive heronBOT
#

@atomic olive pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
With the Stripe <PaymentElement> when a user enters credit card information into the fields if that user has not signed up to Link there should be a checkbox that asks the user if they will save say the payment details with Link.

What actually happened?
This UI has been replaced with the sign up UI being visible by default (see screnshot).

Reproduction Steps
Attempt to enter payment information using Stripe's PaymentElement.

Question
Is there a way to disable this new functionality? The previous checkbox was much better. I consider this a dark pattern as it is too subtle to the user that this is not a requirement for completing the purchase. The [Optional] UI element is not enough of a warning.

Ultimately we are faced with turning Link off completely for purchases.

cursive heronBOT
#

@maiden goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
You want the confirmation to appear directly on the page hosted by Stripe after a successful payment, rather than being redirected to another page on your website.

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Create a checkout session but the parament "success-url" is required

cursive heronBOT
#

@arctic beacon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My Connect account is in the restricted mode and I do not have any forms or place that I can fill the information out. The customer service team shared this link https://docs.stripe.com/connect/express-accounts and asked to connect with a developer on this link to get this updated

Related Request ID(s)
acct_1PfFZjP5ibypjc7x

What have you already attempted?
I have called the customer service to help me out

#

@lucid cairn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is ResumeAsync() for subscriptions used for? I tried calling this API for a subscription where collection is paused but I get an exception.

Related Request ID(s)
N/A

What have you already attempted?
UpdateAsync() with PauseCollection. Then calling ResumeAsync().

What are you working on?
Using stripe for SAAS.

cursive heronBOT
#

@scenic dove pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Konbini should show up in the payment element

What actually happened?
Konbini doesn't show up in the payment element

Reproduction Steps
With VPN set to Japan, one checkout page shows Konbini payment method but the other doesn't.

Here I don't see Konbini: https://compra.nihongonapratica.jp/se-virando-na-fabrica
Here I do see Konbini: https://compra.nihongonapratica.jp/treta-na-pratica

Question
One of our customers has two checkout pages, with as far as I can tell, same configuration. Why doesn't Konbini show on the other checkout page?

What are you working on?
Checkout Page, a custom checkout builder

cursive heronBOT
cursive heronBOT
#

@trail beacon pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/data-that-can-be-copied-between-stripe-accounts

Question
Context:

We're moving from Stripe Connect Express to Stripe Connect Standard.
We aim to migrate existing monthly subscriptions to the new account structure.
Key Questions:

Destination Account for Migrations:
After moving to Stripe Connect Standard, what should be the destination Stripe account for our data migrations?
Should it be Makua's new Stripe account or the non-profit Stripe account we'll be connecting to?
Subscription Recreation
what are the steps involved in recreating subscriptions? we want this to be completely transparent wrt the end donor. Not getting clear info on this

What have you already attempted?
we have referred extensively to your doc. there are references to what we are trying to do but very limited specific info.

What are you working on?
We're moving from Stripe Connect Express to Stripe Connect Standard. We aim to migrate existing monthly subscriptions to the new account structure.

cursive heronBOT
#

@arctic aurora pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working for NPO, and want to give users off app to be able to make donations. There is Stripe option to do that with a form where user can enter the data (amount). However, our requirement is a bit different, and we need to enter amount user intent to donate on our side, on the website, in the form where we will create amount using user input. Eg, if he wants to match someone else donation, we want to multiply that donation amount, and then to simply send this data via API to stripe. When we land on stripe payment page, requirement is only to see credit card part, and not to see amount field (we want send amount via API). Is that possible, or how to achieve that?

Doc/Guide Links
https://docs.stripe.com/payments/checkout
https://docs.stripe.com/payments/checkout/pay-what-you-want

What are you working on?
I am working on NPO that will help children and those in needs.

#

@orchid heath pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Testing Webhooks via Stripe CLI still stuck at the usagerecord part like before even after updating it with plain data in fixtures

Related Event ID(s)
evt_1Pg4XDAgeNa2VITfbwq1Obwg

What have you already attempted?
Tried all kind of different paths to get to subscription_item id to update usage record, with :id over :data[0].id and so on all ways we could image we somehow could access the id of the first item in the subscription item list

#

@sinful warren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there I'm looking for solutions to cancel trial subscription at the end of trial period

Related Request ID(s)
API

What have you already attempted?
I have tried to find solutions in docs

What are you working on?
I have a Wordpress project and Stripe API integrated there

cursive heronBOT
#

@dark fox pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { PaymentElement } from '@stripe/react-stripe-js';
...
<PaymentElement
id="payment-element"
options={ paymentElementOptions }
onChange={ ( event ) => {
setSelectedPaymentType( event.value.type );
} }
onLoadError={(event)=>handleLoadError(event)}
/>

Question
Where can I see details about 'invalid_charge_amount_currency' error code.

What have you already attempted?
I tried on all your documentation . but cant find it.

What are you working on?
Stripe Api maintanance for wp plugin

cursive heronBOT
#

@trim harbor pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Make transfer to the bank account.
const payout = await stripe.payouts.create(
{
amount: 10000, // Amount in cents (e.g., $100)
currency: "usd",
destination: bankAccount.id,
},
{
stripeAccount: account.id,
}
);

Question
I am creating an application in which users can add their bank accounts and admin release funds on their bank accounts.
First of all I am using stripe.accounts.create method to generate account with custom type then i am generating token using stripe.tokens.create method then i am creating an external account using stripe.accounts.createExternalAccount and pass account.id and token.id then i create payouts for that bank account when i create payout i got error ?

What have you already attempted?
This is the error i got when creating payout.

Cannot create payouts: this account has requirements that need to be collected. Please provide those fields to re-enable payouts.

What are you working on?
nodejs, stripejs

cursive heronBOT
cursive heronBOT
#

@cyan ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
3D_Secure_2 attempt had CSRF token error

Related Request ID(s)
.

What have you already attempted?
I have posted a form to
https://hooks.stripe.com/3d_secure_2

I had below error:

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

What are you working on?
API Integration

cursive heronBOT
#

@velvet cradle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you help me with one question?

I'm working with my client to set up Google Analytics tracking for payments.

I've read your help page with the next information:
https://docs.stripe.com/payment-links/post-payment

Currently they use your payment link.
I've setup a thank you page for that link:
https://staging.vip.bettoringreen.com/
And setup a thank you page as written here:
https://docs.stripe.com/payment-links/post-payment

But my client wants to track additionally to successful purchases the amount of these purchases.
Because for their current payment link a client can

Related Request ID(s)
000000

What have you already attempted?
I've setup the payment link thank you page redirect. But that does not provide the amount of the purchase

What are you working on?
I try to setup GA4 tracking to track user journey within GA4. Not using Stripe's dashboard but using GA4 dashboard to be able to get the number of conversions (payments) with payment sum as a value

cursive heronBOT
#

@main cliff pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I already have a website and I have stripe subscribers. but I want to now be able to payout some customers as they sell on a marketplace. Can this be done with Stripe? Will the existing customers which are already paying me in monthly subscriptions need some extra verification or anything so I can pay them out etc like bank details added to stripe or are payouts a whole different thing in a system?

Related Request ID(s)
n/a

What have you already attempted?
I looked into this article on stripe but was not sure if this is what I am looking for. https://docs.stripe.com/connect/add-and-pay-out-guide

What are you working on?
marketplace for people to sell things

#

@split wing pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
invalid_request_error

Question
jag kan ej återbetala till min kund och det har gåt mer ån 10 arbetsdagar!

What have you already attempted?
jag har försökt att återbetala till min kund och kunden har försökt nå er via mail!

What are you working on?
för att återbetala till min kund så genast som möjligt

#

@restive crescent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I want to check how i run a report for a given account connect. The webhook is not triggered, and i don't get why

Related Request ID(s)
req_1KVQVRBVN2HCVl

What have you already attempted?
The given request is supposed to be run for acct_1L7f2G2ESYwBU3T1. is it the case ?
const reportRun = await stripe.reporting.reportRuns.create({
report_type:'balance_change_from_activity.summary.1,
parameters: removeUndefinedProperties(parameters),
}, { stripeAccount: 'acct_1L7f2G2ESYwBU3T1' });

What are you working on?
customers accounting

#

@thin canopy pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I want to implement react-stripe-js on my project. But only for Amex. There is such an opportunity to configure Element

Related Request ID(s)
1

What have you already attempted?
hid the icons of other cards with styles. Added validation to the amex card before submitting

What are you working on?
React

cursive heronBOT
#

@trim harbor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can we create a custom onboarding process without redirecting the user to accountLink.url ?

Related Request ID(s)
I want to create an application in which user can create express accounts and admins can release funds to their accounts. Because we have mobile application.

What have you already attempted?
I am successfully created accounts using stripe.accounts.create API.
I am successfully generated accountLinks using stripe.accountLinks.create API.
And I am successfully transfer funds using stripe.transfers.create API.

#

@terse shale pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/refunds#cancel-payment

Question
https://dashboard.stripe.com/payments/pi_3PdqZEEwHpTUe8W71XeBeY7U
It says i can cancel this payment before its complete in the docs but i can't see an option to do this. Another question i have is: After refunding a payment for a subscription, will the subscriptionautomatically charge the new default payment method? or will it not charge the refunded amount anymore and continue the subscription normally?

What have you already attempted?
I looked at the docs

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

@pearl rivet pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const updatedSubscription = await stripe.subscriptions.update(userSubscription.id, {
items: [
{
id: userSubscription.items.data[0].id, // Use the subscription item ID to update the existing item
price: newPriceId,
},
],
proration_behavior: 'none', // Ensure no immediate proration
billing_cycle_anchor: userSubscription.current_period_end, // Schedule the chan

Question
I am trying to give members of a platform the ability to swap subscriptions from our Monthly billing product to our Annual billing production, but it has to make the change at the end of their current billing period for the month they're already on.

What have you already attempted?
Tried using scheduling and using a few variations of subscriptions.update

What are you working on?
A Saas that lets users subscribe.

#

@placid harness pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to add a webhook that updates the stock in my database after the order was successful. However, the stock is not being updated, even though the webhook is triggered and returns a 200 OK status.

Related Event ID(s)
The relevant request ID is req_bnyxnPUNbeaiFK (POST /v1/payment_pages/cs_live_b1f0y5uRe5e6h5kR83rXgo5APDQpMWD...), recorded at 13:29:36 on 25.07.24.

What have you already attempted?
I've asked ChatGPT to review my code and integrated some error responses. I've also tried logging the product ID and quantity to ensure they are correctly retrieved from the webhook event, but the issue persists.

What are you working on?
A small shop.

#

@stable pine pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
subscription update api , billing period chnges during upgrade, invoice is gnerated immediately, can it be avoided?

Related Request ID(s)
none

What have you already attempted?
have implemented in code ,invoice is generated immediately

cursive heronBOT
#

@cyan ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
3D_Secure_2 attempt had CSRF token error

Related Request ID(s)
.

What have you already attempted?
I have completed ConfirmPaymentIntent and in the response. Redirect url is https://hooks.stripe.com/3d_secure_2 for SMS auth. However, when I tried to post to this url with <form method="post" action="https://hooks.stripe.com/3d_secure_2"></form> with client_secret and return_url.

Error message is: Something is wrong with your CSRF token. Make sure cookies are enabled.

My cookies are enabled. Which url should I post for 3D Secure with Sms Auth?

What are you working on?
API Integration

cursive heronBOT
#

@twin belfry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
CORS issue due to origin null in stripe marketplace app. Adding '*' for access-control-allow-origin in our backend is not a secured way. And also not able update origin header manually. Please tell me how to resolve this issue.

Related Request ID(s)
stripe marketplace app >> build backend >> hanlde CORS

What have you already attempted?
CORS issue due to origin null in stripe marketplace app. Adding '*' for access-control-allow-origin in our backend is not a secured way. And also not able update origin header manually. Please tell me how to resolve this issue.

What are you working on?
making api call from stripe to our backend

#

@neat dawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have some questions related to subscriptions. Is there any way to create a subscription and set the start date? For example, if I create a subscription today, can I set it to start after 7 days?

Related Request ID(s)
sub_1PgQRkB2BzF6ryrofzQhSqAk

What have you already attempted?
Hello, I have some questions related to subscriptions. Is there any way to create a subscription and set the start date? For example, if I create a subscription today, can I set it to start after 7 days?

#

@zealous fractal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using stripe Java SDK and I need to retrieve a Session Checkout by paymentLink id, is it possible? How can I do this?

Related Request ID(s)
Api

What have you already attempted?
There isn't search method in object search.

What are you working on?
I am creating a integration from my api with stripe

#

@trim harbor pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const payout = await stripe.payouts.create(
{
amount: 10000, // Amount in cents (e.g., $100)
currency: "usd",
destination: "ba_1PgQ17Q9iL3erqVymxQEwI47",
},
{
stripeAccount: "acct_1PgQ13Q9iL3erqVy",
}
);

Question
I want to create payout to user's bank accounts. When I execute this code i got this error ?

{
"message": "You have insufficient funds in your Stripe account for this transfer. Your card balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance)."
}

What have you already attempted?
{
"message": "You have insufficient funds in your Stripe account for this transfer. Your card balance is too low. You can use the /v1/balance endpoint to view your Stripe balance (for more details, see stripe.com/docs/api#balance)."
}

#

@copper thorn pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This is a continuation of #dev-help message.

We revised our desired pricing model so it can potentially be better modeled with the tools Stripe provides.

We still have 3 products for usage-based pricing and want to ensure that customers have a minimum spend.
We found that a usage-based, per tier, graduated pricing model would allow us to do this.

- When assigning a flat fee for the first tier, will customers _always_ have to pay the flat fee even if 0 units were used?
- Our per-unit price is very low with $0.40 per million or $0.0000004 per unit, does this work and can the price description be customized?

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

What are you working on?
Generic SaaS with usage-based pricing

cursive heronBOT
#

@rustic dirge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I avoid this issue of double billing that is happening? Seems to affect only those that have ended their trial and then add payment details after.

Related Request ID(s)
N/A

What have you already attempted?
I've been looking into the API to better understand how it is happening. My guess is that the end_behaviour has something to do with it generating a invoice at the end of trial.

What are you working on?
SaaS

#

@hidden moss pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Don't see the ability to update `tax_id_data` field in the update customer API

Related Request ID(s)
NA

What have you already attempted?
I see the option to pass `tax_id_data` while creating a customer (Ref - https://docs.stripe.com/api/customers/create#create_customer-tax_id_data) but don't see the same option while updating a customer. Any idea how to do that?

Reference -

What are you working on?
Need to update tax ID in the update customer call

#

@stoic ledge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I've been contacting dev support here regarding a problem I have with ACH and ACSS migrations when the OBO changes. a representative gave me a good solution that currently seems to work only for ACH and I was wondering if a similar solution exists for Canadian ACSS Debit?

https://docs.stripe.com/payments/ach-debit/migrating-from-another-processor

thank you

Related Request ID(s)
none

What have you already attempted?
Explained above

#

@neat dawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,

I want to implement a logic change, but I need to understand how to do it correctly. I currently have one active subscription with a billing cycle from the 17th of July to the 17th of August. I want to change this billing cycle. To do this, I need to cancel the old subscription and create a new one with my desired cycle.

Related Request ID(s)
sub_1PgRaNB2BzF6ryromC3NX3Ou

What have you already attempted?
However, I have an issue. For example, I have paid $4 for the current subscription, and I want to cancel it and recreate a new one. The problem is that I need to account for the unused portion of the last payment. Specifically, if I paid $4 for the last subscription and $1.40 was unused, I want to apply this $1.40 as a credit toward the new subscription. Therefore, I should only need to pay $2.60 ($4 - $1.40) for the new subscription.

cursive heronBOT
#

@cunning saffron pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment

Question
My application Requires 2 payments. One right way, the the other one will be charged on background after 60 days. How can I finalize both payments from the back end. (Note: Stripe is integrated into our front ned)

What have you already attempted?
We used Stripe Charges and it worked, but latter found they are deprecated. I have tried this guide to migrate . But this woud only work for the first payment, and I don't know how can we charge the second on the

#

@tawny aurora pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://dashboard.stripe.com/workbench/logs/req_BkTOdTo4zyXRej

Question
Can you tell me what stripe api calls could trigger paypal configuration errors?
/v1/paypal/configuration/pi_3Pf4VkJAXUm7Q2Vg0NFvsoHT

What have you already attempted?
I tried to check our paypal integration and everything seems good to me.
The charge happens correctly.
I got back the PaymentMethod information
pm.paypal.payer_email
pm.paypal.payer_id
pm.paypal.country

What are you working on?
I discovered some errors in stripe log and want to fix it to not happens and more.

#

@minor saffron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to find my customers in Stripe. I've tried the search functionality but I am searching for over 100 customers and I receive an undocumented error message (BAD REQUEST max filter is 10) or something like that.

Related Request ID(s)
req_MASJS0yumBuBi8

What have you already attempted?
Solved the issue by changing to multiple request but I would rather do one so it doesnt affect the rate limit so much,

What are you working on?
Integration to stripe

#

@rocky wharf pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Wanted to know how to efficiently handle "debit_not_authorized"

Question
When an invoice payment is declined due to "debit_not_authorized," we display a message in the UI: "Debit transaction not authorized. Please check with your bank or use a different payment method." Should we only inform the user about the "debit_not_authorized" status, or do we need to take further action with the Stripe API? Is the issue solely to be resolved by the customer and their bank, requiring no additional steps from development?

What have you already attempted?
I read some docs but didn't find the information I was looking for.

#

@north pagoda pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For a new billing cycle, Stripe creates a new invoice and attaches to the subscription. This remains in draft until 1hr and then finalizes. Can I configure it to not finalize automatically?

Related Request ID(s)
none

What have you already attempted?
Read the API docs and the general documentation

#

@brazen pier pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have implemented Stripe Connect . We are creating an invoice from our website using API. We have set the application_fee. But now when we have received a collected fee when invoice paid. Stripe charged us as Invoicing "(2024-07-23): Invoicing Starter"

Related Request ID(s)
https://dashboard.stripe.com/connect/application_fees/fee_1PfXqWQQvE1wxhkMnky1t7uQ

What have you already attempted?
$invoice = \Stripe\Invoice::update($invoiceId, ['application_fee_amount' => $applicationFee], ['stripe_account' => $acc_id]);
return $invoice;

What are you working on?
Stripe Connect

#

@distant sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payment methods that are created and saved to a customer during a payment on our native app are not listed on the PaymentElement of our web app

Related Request ID(s)
N/A

What have you already attempted?
- Validating the parameters used in the creation of our PaymentIntent (api)
- Double checking properties and parameters on our frontend clients

What are you working on?
Utilising the latest update to the PaymentElement to display a customers saved payment methods

#

@frosty coyote pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there an API for setting up and managing webhooks? Setting up webhooks in development has been a bit of a pain point for us, so I am looking to take that away from people by making it part of our deployment CI/CD. This will also allow me to fix errors that occur on the endpoints. Our devops team spin down our test environments during certain periods. So I can tie that in and disable the webhooks on stripe and avoid the error rate going up. Note this is mainly for our testing environments.

Related Request ID(s)
N/A

What have you already attempted?
Searched the documentation but I cant seem to find anything

What are you working on?
Sport Platform

cursive heronBOT
#

@white horizon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are a connect platform and we host forms for our clients who can then use those forms to allow their customers to make payments directly to our client. Currently we are just experimenting with the api and getting it up and running for our own use so we are creating payment intents and then confirming them to make payments. Would we do something similar for our clients or would we have to create direct charges. Currently we work with confirmation tokens and serverside confirmations for PI submissions

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

What are you working on?
Dynamic form tool for our clients to use to collect money from their customers

cursive heronBOT
#

@finite cloak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to know the overall number of payouts for displaying the number of pages. Where can I take this info from ?

Related Request ID(s)
stripe.payouts.list()

What have you already attempted?
fetch from stripe.payouts.list() does not return the count of entries only a flag to know if there is more to fetch

What are you working on?
I want to implement pagination for a list of payouts on my platform.

#

@void terrace pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We are creating the Payouts ourselves after the transfer. We can see it marked as Paid on the Stripe Dashboard. So, as the connect account has no balance anymore, no more Payout should happen next day when we hit the Daily Interval

What actually happened?
Now the next day, we can see another payout created(with the same amount as duplicated, when the account has no balance!

Reproduction Steps
Create Transfer. ( amount: X)
Create Payout1. ( amount: X)

Next day:
Create Payout2. ( amount: X)

Question
is this the correct behavior for payouts?

What are you working on?
We are in the process to move from daily interval to manual.

#

@steel wedge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<Elements stripe={stripePromise} options={stripeOptions}>

Const stripeOptions = {
defaultValues: {
billingDetails: {
email: "test@gmail.com",
},
}
}

Question
I'm trying to get Link set up on the React payment element, but I'm having trouble passing the default values to the element so that the email field is pre-populated.

What have you already attempted?
I'm passing these options to the element, but it's not working, the user is still required to enter in their email address. I've also tried using elements.update to pass these details and that did not work either.

#

@terse siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've built a marketplace app connecting content creators to business owners. I want to allow the freelancers to be able to set up reoccuring payments with their clients on the app, is this possible?

Related Request ID(s)
n/a

What have you already attempted?
I already have a fully working marketplace application that uses separate charges and transfer to get the money from buyer and transfer a part of the funds when the buyer confirms the services

What are you working on?
I've built a marketplace app connecting content creators to business owners. Similar to fiverr or upwork

#

@static sigil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have implemented Stripe payments where customers use their saved payment methods during the checkout process. We create an "Invoice" and pay it with the saved payment method. This works well, but we encounter an issue when the card payment fails.
Currently, if a payment fails, we redirect the customer to Stripe Checkout to enter their card details again. However, this creates a new invoice, leaving the original invoice unpaid in our system.
What I would like to do instead is redirect the user to the "hosted invoice page" for the invoice with the failed payment, so they can enter their credi…

Related Request ID(s)
not relevant

What have you already attempted?
not relevant

#

@fiery heron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are getting an error we don't understand when trying to call the payments intents API via the SDK.
It seems like we're missing some setup, but everything looks fine.
{
"description": "Test",
"capture_method": "manual",
"payment_method_options": {
"card": {
"capture_method": "manual"
}
},
"automatic_payment_methods": {
"enabled": "True",
"allow_redirects": "never"
},
"currency": "usd",
"customer": "cus_***",
"transfer_data": {
"destination": "acct_***"
},
"payment_method": "pm_***",
"on_behalf_of": "acct_***",
"amount": "100"
}

Related Request ID(s)
req_XGIm89t2jPnJpQ

What have you already attempted?
We have verified that Cards are enabled as a payment method for the account, and we've verified that this is working with test cards. It is failing with a real CC transaction.

#

@granite spoke pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, we are working on building out a card present workflow using Tap to Pay on Android. We are running into an issue whereby we want to be able to support both USD and CAD charges. At the moment, it seems we can only specify one currency based on our account's location. Is there a method for handling multiple currencies with the card present workflow and terminals? Or would we really need two Stripe accounts to achieve this?

Related Request ID(s)
not available

What have you already attempted?
creating a payment intent using "cad" with an account that is setup for usd

What are you working on?
Placing a deposit for a rental via a card tap

#

@viral spoke pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I thought, that future payments are blocked

What actually happened?
The subscription amount was collected

Reproduction Steps
wait. One month and then this might happen again...

Question
I added the email from the customer to the radar blocked email list. But the amount was collected. How can I stop this?

PI: pi_3PbsbBD4LgnRPd5t2hkanFFT
RSL: rsl_1Ljm5MD4LgnRPd5tcZvv2wDx

#

@kind forum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I setup google pay using our api but I am still getting a error message - This merchant is not enabled for Google Pay.

Related Request ID(s)
req_LTwIhsfizUdfok

What have you already attempted?
This merchant is not enabled for Google Pay.

What are you working on?
This merchant is not enabled for Google Pay.

#

@edgy arch pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Hello .. my credit card declined for strip payment i cant pay on strip website .. please help

Question
Hello .. my credit card declined for strip payment i cant pay on strip website .. please help

What have you already attempted?
Hello .. my credit card declined for strip payment i cant pay on strip website .. please help

#

@remote marten pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<stripe-pricing-table
pricing-table-id=""
publishable-key=""
class="stripe-table"
client-reference-id="{uid}"
customer-email="{email}"
/>
<style>
button.border {
border: 1px solid black;
}

.stripe-table-wrapper {
display: flex;
flex-wrap: wrap;
}

.stripe-table {
width: 100%;
max-width: 100%;
flex: 1 0 21%;
margin: 0.5rem;
}
</style>

Question
I added the stripe pricing table in a popup, but it doesn't seen to scale well. in desktop it's a bit weird when the screen isn't full, but it's doable. The real problem is mobile, the popup has a toggle at the top for 2 different pricing tables and when open on mobile the table will occupy the whole screen and not let the user go up or down blocking access to the toggle and the close button

What have you already attempted?
I already tried to change the styling in all ways I can think off to combat it

What are you working on?
It's an web app for a mapping service

#

@brazen pier pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This the Log ID: /logs/req_jGFkBqy7yKUDKo

The application_fee was failed to set and invoice is paid how can we apply the fee now?

Related Request ID(s)
/logs/req_jGFkBqy7yKUDKo

What have you already attempted?
how can we apply the fee now?

What are you working on?
Stripe Connect Invoice

#

@floral osprey pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am getting "Stripe::InvalidRequestError: You cannot change verification[document][front] via API if an account is verified." when trying to upload a document to a connect account, how do I determine from the API that an account is verified?

Related Request ID(s)
-

What have you already attempted?
Tried looking at the documentation to see if this information is available, couldn't find it

#

@ornate schooner pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
A few months ago, we changed the company logo. The problem is that the modal is still showing the old logo. Is there a specific place where I need to update the logo?

What have you already attempted?
Checked if the logo was updated on the dashboard. This is already updated

cursive heronBOT
#

@worldly tusk pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the stripe-terminal-react-native lib to use tap to pay, but now i need to implement the cash app and i've seen that it's another lib, stripe-react-native.
How do I implement this payment method?

Because tap to pay uses a different provider than cash app.

Related Request ID(s)
does not exist

What have you already attempted?
nothing

#

@wispy nymph pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was recently the victim of a fraud attack whereby the attacker opened numerous connect accounts (express) on my platform and then made payments to those accounts. I dealt with the situation by pausing payments and payouts on the fraudulent connect accounts. (I could not reject them because they had unsettled balances after I issued refunds to the cardholders.)

Now I'm looking to implement a programmatic approach to prevent this in the future. There are a few indicators I can use to deem a connect account as suspicious, but I'm not sure what the best way to handle this is. For example, if I reject the account, can I un-reject it, if it turns out not to be fraud?

Doc/Guide Links
https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts

What are you working on?
scipress.io - marketplace platform using connect express

#

@stoic jacinth pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the java sdk to create a product and price for a connected account. The response and logs all look good like price was created, but when I try to create a subscription using that price id, it says it cannot be found. and when i try navigating to the price in the stripe ui, it shows not found there. why is the price not there even though responses are 200 and i can see it the price in the product, but it doesn't seem to actually exist

Related Request ID(s)
req_wV6nSC5o8rP5C8

What have you already attempted?
i tried deleting and recreating the product/price. tried deleting the user and recreating it all. tried manually creating a price for the product in the stripe UI

What are you working on?
trying to integrate with stripes connected accounts to create users and subscriptions to the users products

cursive heronBOT
#

@willow meteor pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Estou trabalhando em um Saas e preciso fazer a integração com o Stripe. Meu serviço tem um endpoint para cadastro de novos usuários, qual a melhor forma de integrar a assinatura do Stripe? Minha intenção é usar link de pagamento para criação de planos e portal do cliente para gerenciamento, e em paralelo a isso ir lidando com as informações fornecidas pelos webhooks.

Minha dúvida é com relação à essa integração, qual a melhor forma de realizar o cadastro do usuário uma vez que ele fez o pagamento?

Doc/Guide Links
https://docs.stripe.com/no-code/customer-portal

What are you working on?
Serviço de organização de whatsapp com pagamento mensal

cursive heronBOT
#

@subtle rose pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { reader, error } = await connectBluetoothReader({
reader: _reader,
locationId: location.data?.data.stripe_id,
});

Question
when using simulated readers it is connecting normally, but when trying to connect to a real reader the sdk is not updating the state to connected

What have you already attempted?
have tried changing the flow but didn't worked since the SDK is no updating in real time

What are you working on?
app

cursive heronBOT
#

@tight lichen pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentIntentPayload = {
amount: total * 100,
currency: 'eur',
description: `Order number: ${orderNumber}`,
automatic_payment_methods: {
enabled: true
}
};
console.log('Creating payment intent with payload:', paymentIntentPayload);

	const paymentIntent =
		await stripe.paymentIntents.create\(paymentIntentPayload\);

Question
I'm having an invalid json response while creating a payment intent. I'm using Sveltekit and it works fine while running the dev server but not the build server. It says that it is invalid json because it had a < in it and I manag
response <html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>nginx</center>
</body>
</html>

What have you already attempted?
I have attempted to check my api key, print out the response, upgrade API version, set manual values for the payload, etc.

What are you working on?
An online shop for a bakery.

cursive heronBOT
#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Looking to collect payment methods (both ACH & credit card) for platform Customer for future payments.
Can I get steps and sample code for the same? for both, Stripe Checkout & embedded element

Related Request ID(s)
none

What have you already attempted?
Read through Financial Connections documentation.

#

@turbid perch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
403 forbidden error when redirecting to stripe payment url from production, though the paryment url works fine when accessing directly from the web browser (c+p into browser)

redirecting from a nextjs api route using next/navigation, which has worked perfectly fine until i tried to add a new product today.

logs show no errors, it's a client issue when it attempts to access the page after the redirect

Related Request ID(s)
req_2KX5qBJjavDnaw

What have you already attempted?
change the type of redirect, change back to an old product that has worked in the past, tried switching keys

What are you working on?
website for selling concert tickets

#

@viscid jetty pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe buddies,

I need to set up a billing structure that includes a flat monthly fee (for ex. 49€), plus additional charges based on the amount of data (GB) used and the number of SMS messages sent. Each month, the total price will vary depending on the usage.

I'm trying to understand the best way to do this.

Should I create 3 products (1 fixed price, 2 usage-based) and on the subscription add them?

If that is the way, if tomorrow I have another addon, do I need to go through all subscriptions to add that new addon?

Thank you very much!

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

What are you working on?
I'm working on a SaaS application.

#

@thin canopy pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I want to implement react-stripe-js on my project. But only for Amex. There is such an opportunity to configure Element

Related Request ID(s)
1

What have you already attempted?
hid the icons of other cards with styles. Added validation to the amex card before submitting

What are you working on?
react

cursive heronBOT
#

@abstract belfry pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm trying to test a card form using stripe.js but I get card declined every time.

Question
Where can I debug what is wrong?

What have you already attempted?
all the test cc in the page

What are you working on?
I've just added the option to select networks for cartes bancaries but I need to be able to test on a recurring charge edit form

#

@drifting dagger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey all - If I retry a previously successful charge, and use the same idempotency key, the charge is not recharged (expected, good), but the http response is 200 and it just returns successful charge response.

Is this expected? I was just expecting a request error.

```
Stripe::Charge.create(
{
# stuff goes here
},
{ idempotency_key: ide

Related Request ID(s)
na

What have you already attempted?
A bunch of tests to test dupe idemp key requests.

cursive heronBOT
#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Does Stripe not attach test cashapp payment methods to customers after confirming the setup intent?

Related Request ID(s)
req_cp6NyFV3A9C5A3req_akaQ5D0yhcBHvb, req_PLRaTCXAaPB8l1

What have you already attempted?
I've already

What are you working on?
I'm just trying to make cashapp work with subscriptions, by making a setup intent, then confirming it using confirmCashappSetup, then subscribing.

#

@willow phoenix pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The product I want to set up with Stripe has multiple customer domains like abc.com, xyz. com etc. Also, we have dev, test, uat and prod environments.
What is the best practice to create a separate Stripe account for dev.abc.com, test.abc.com, uat.abc.com, dev.xyz.com, test.xyz.com, etc.? We are not planning to create customers in Stripe. The same customer with the same email and name can appear on abc.com and xyz.com. So we should have a way of recognizing the payment he made in abc.com vs xyz.com

Doc/Guide Links
I couldn't find anything talking about multi tenancy

What are you working on?
We are integrating Stripe payment platform to our domains.

cursive heronBOT
#

@woven mulch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to create a checkout session for a customer to pay the prorated fee on a subscription upgrade so they know exactly how much they'll be charged?

Related Request ID(s)
req_5XgYGrvtcXeS9m

What have you already attempted?
Not sure how to configure this properly ... we've tried adding the billing cycle anchor date and the proration behavior; that kind of works but not really because we're creating a new subscription.

What are you working on?
We don't want to just upgrade the subscription and charge the amount; we want them to be able to see exactly how much they'll be charged. Retrieving this via the api is outdated immediately.

#

@drowsy raven pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I don't know if this is too broad but I could not find any categories fitting. We are evaluating if Stripe's Persons, Account and other APIs can work as an AML/KYC too. We currently support an application in which we throw in lists of people and we get AML checks periodically for that list of people. Is that something that Stripe has the capacity of doing? Say, if I create a `Person`, will it flag if it matches any AML lists?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
An AML/KYC tool, we're evaluating if Stripe can serve as an alternative.

cursive heronBOT
#

@grizzled orbit pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to specify that I want to redirect the user to a specific url after calling Stripe JS stripe.confirmCardPayment?

Related Request ID(s)
.

What have you already attempted?
I know that when using stripe.confirmPayment you can specify redirect: "always" and you specify the destination on confirmParams.return_url prop, but how can I do this using the stripe.confirmCardPayment method?

What are you working on?
Online Retail Store

cursive heronBOT
#

@sly island pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
invalid param: file, found: Android manifest includes 1 disallowed permission: [android.permission.HIDE_OVERLAY_WINDOWS]

Question
I'm trying to upload an .apk for a Terminal app via the Stripe App dashboard. It is getting rejected due to "invalid param: file, found: Android manifest includes 1 disallowed permission: [android.permission.HIDE_OVERLAY_WINDOWS]"

What have you already attempted?
I've attempted writing a plugin that adds the tools:node remove to that specific permission (as was the solution to android.permission.SYSTEM_ALERT_WINDOW

Also, when building the android project locally, no such permission exists in the android manifest.

My final .apk build is being built via EAS.

What are you working on?
A very basic App for taking payments on the Terminal device.

#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Checkout Session for collecting Customer's payment information (ACH) for future payments.
How can I get permissions for Transactions & Balances with that API

Related Request ID(s)
none

What have you already attempted?
testing out Stripe Checkout with SessionCreate

cursive heronBOT
#

@true stag pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
function doStripeClientSide(fname, lname, email, promoCode) {
const fullname = `${fname} ${lname}`;

    stripe.createPaymentMethod\({
        type\: 'card',
        card\: stripe.cardElement,
        billing\_details\: {
            name\: fullname,
            email\: email,
        },
    }\)
        .then\(function \(result\) {

            // log entire result object to console
            console.log\("Stripe createPaymentMethod r

Question
Stripe is returning a payment method id even when I submit incorrect card details. I can see it in the logs on stripe dashboard but why was it created when the card details are incorrect and how to catch errors if pm is created even when it should throw error?

What have you already attempted?
tried catching errors lots of ways but how to know if card details are incorrect if stripe is actually returning a pm_?

What are you working on?
wordpress customer checkout plugin

#

@scenic dove pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Afterpay should show up in the PaymentElement for connected account

What actually happened?
Afterpay is not showing up

Reproduction Steps
VPN to US, open this page
https://lissie-nicole.checkoutpage.co/school-of-design

Question
Why does Afterpay not show up here? From what I can tell it's enabled.

What are you working on?
Checkout Page, custom checkout builder

#

@cold hearth pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to use the Stripe CLI to trigger webhook events to test my webhook function. I triggered the `customer.subscription.paused` event and it seems to run a bunch of other events before it, like creating a customer, product, subscription, etc. It makes sense that it would require these things to run the paused event, but is there a way to have it delete these after? Or is there some local Stripe environment I can run to not clog up my test environment? Every time I run it, it creates additional products as well which is annoying.

Related Event ID(s)
evt_1Pgfn7JpucBBn7f9aUwnFrVO

What have you already attempted?
I haven't really tried much other than searching for potential local Stripe environments, but had no luck.

What are you working on?
I'm creating an app that has a subscription that users can pay for.

cursive heronBOT
#

@bitter hornet pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
StripeCustomerCreateOptions myCustomer = new StripeCustomerCreateOptions();
myCustomer.Validate = true;
myCustomer.SourceToken = newToken.Id;
var customerService = new StripeCustomerService(secreteKey);
StripeCustomer stripeCustomer = customerService.Create(myCustomer);
double chargetotal = Convert.ToDouble(dtstatus.Rows[0]["final_payable_amount"]);
int cents;
cents = (int)(chargetotal * 100);

var options = new StripeInvoiceCreateOptions
{
Customer = stripeCustomer.Id,
}

Question
in my application with stripe there's already payment gateway option, now i want auto-pay service for the same for normal payments i'm using chargeService and for autopay im using invoice service, in my .net application stripe version is 10.3.0. and i read docs there's parameter for invoice "customer" but when i add that parameter i'm getting error as 'StripeInvoiceCreateOptions' does not contain a definition for 'Customer'

What have you already attempted?
i read this doc https://docs.stripe.com/api/invoices/create?lang=dotnet
for autopay service in this customer parameter is there but same i can't use in my .net application its giving me error which i mentioned above

What are you working on?
trying to build autopay service in ASP.net

cursive heronBOT
#

@fresh crag pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/features/display?terminal-sdk-platform=server-driven#set-the-reader-display

Question
what would be the work flow for the "Set the reader display" is this api called before the payment intent is created?

What have you already attempted?
i'm able to process it without the this Set the reader display api. i want to include this api to display the items in the reader. want to know the process/steps in including this api

cursive heronBOT
#

@earnest lintel pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
What is the event when phase of a subscription schedule transition. I want to know when this subscription_schedule.expiring event will happen. will it happen before every phase.

What have you already attempted?
I have read the doc but didn't find the exact solution.

What are you working on?
subscription schedules.

#

@maiden goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My issue is that I noticed the payment completion event does not include the metadata information. Therefore, I cannot obtain the necessary information to identify which customer purchased the service, making it impossible to complete the subsequent payment process. How should I resolve this issue? I need the payment success event for new users to also allow our system to recognize which user made the payment.

Related Request ID(s)
-

What have you already attempted?
When we create a checkout session, we send metadata parameters that contain our user's unique identifier. According to Stripe's logic, if a new user completes a payment, Stripe automatically creates a Stripe user using the metadata, along with the email address, payment method, and other information provided by the user. Additionally, Stripe sends events like invoice-paid. We need to capture the user's payment completion event to authorize services for the corresponding user in our authorization system.

What are you working on?
-

#

@slow thorn pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
如何从invoice.paid webhook中拿到checkout/session 中的 metadata

Related Event ID(s)
evt_1PgN0dJqHugZ9pcxoBMZzMzZ

What have you already attempted?
I searched for the object returned by the invoice. aid event, but did not find any fields related to the session ID

#

@soft adder pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeResponse = await stripe.subscriptions.update(
subscriptionData.stripe_subscription_id,
{
"quantity": subscriptionData.member_count + 1,
},
);

Question
In my case for payment for a team, 5$ per head,
In the above only 3 users in team, then total amount will be 15$. If we use prorate then
next invoice = quantity*price + prorate , how fix this issue

What have you already attempted?
yes , i tried with prorate in quantity increment

#

@harsh bobcat pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
what are the proper steps to saved card for future recurring payments using stripe?

Related Request ID(s)
NA

What have you already attempted?
I have gone through docs, from what I understand. I have to first create customer, then create setup intent, then use the token i get in payment intent. but i am unclear about the detail steps and parameters to use in the API.

What are you working on?
working on integration of stripe in my clients e commerce type platform.

cursive heronBOT
#

@shell stratus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello Stripe Support, why does it ask me to make a payment when I want to register a payment method? (only when stripe is in mode "Production")

Related Request ID(s)
req_eDuxygodI1wM6z

What have you already attempted?
When I enter my PK in TEST mode, it works, but when I enter my PK in production, it asks me to make a payment to set up a payment method

cursive heronBOT
#

@narrow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How many times can a setup intent be confirmed at most

Related Request ID(s)
no request id

What have you already attempted?
Find the document talking about the maximum time to call confirm a setup

What are you working on?
Build our website Payment, using payment element, setup intent

cursive heronBOT
#

@shut steeple pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hi, i'm trying to use a discount code in the checkout embedded form, i need to collect the card also when the discount is 100% how can i do that ?
i have a use case when i need the card for a recurring payment, so the first time maybe the price can be 0 but i need the card to trigger the future payment

Related Request ID(s)
none

What have you already attempted?
try to use a coupon with off session checkout

#

@crude sky pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://docs.stripe.com/elements/express-checkout-element/migration?lang=node

Question
i want to create payment intent from javascript file .js

What have you already attempted?
const paymentIntent = await stripe.paymentIntents.create
({
amount
: 1099,
currency
: 'usd',
// In the latest version of the API, specifying the `automatic_payment_methods` parameter is optional because Stripe enables its functionality by default.
automatic_payment_methods
: {
enabled
: true,
},
});

#

@neat dawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,

I have an issue related to subscriptions. I created a subscription today, July 26th, and paid $3 for the plan. However, I need to change the start date to August 1st. To do this, I set the trial period to 6 days. After updating the subscription, a new invoice with $0 was created, and after running a simulation, the subscription correctly started on August 1st. However, a new invoice for $3 was generated again, even though I had already paid this amount initially.

Related Request ID(s)
sub_1PgjU7B2BzF6ryroOZrmBiDM

What have you already attempted?
Hello,

I have an issue related to subscriptions. I created a subscription today, July 26th, and paid $3 for the plan. However, I need to change the start date to August 1st. To do this, I set the trial period to 6 days. After updating the subscription, a new invoice with $0 was created, and after running a simulation, the subscription correctly started on August 1st. However, a new invoice for $3 was generated again, even though I had already paid this amount initially.

#

@weary arrow pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We create an invoice and finalize it using the API. The billing collection method for these invoices is charge_automatically. For some test users (internal ones) we void the invoices immediately after finalization to avoid charges. But if the user has Stripe credits, the credits get charged even if the invoice is voided.

What actually happened?
The credits were used

Reproduction Steps
- Apply credits to your account
- Create an invoice and finalize it using the API
- Void the invoices after creation

Question
When an invoice is finalized, if the customer has available credits, does Stripe immediately applies those credits to the invoice?

#

@obtuse quarry pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
this.stripe = new Stripe(process.env.STRIPE_SECRET_KEY as string, {
apiVersion: '2023-10-16',
})

const stripeCustomer = (await stripe.customers.retrieve(
String(charge.customer),
{},
{ stripeAccount: stripeAccountId }
)) as Stripe.Customer

Question
I am trying to make a stripe request like that above, but encountering: ```You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.```
Not sure why, don't really know that part of the api since I didn't see it documented.

What have you already attempted?
Can't say anth, I have the API KEY set.

What are you working on?
Personal project

#

@terse shale pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! I've set the preferred_locale of my customer to german and in checkout sessions i do "locale":"auto" when I create them through the stripe API. How come the checkout sessions still show up in english.

Related Request ID(s)
req_MZOKYbDk7O53zq

What have you already attempted?
I've tried explicitly setting the locale, but this requires me to do an extra request to our db.

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

@reef iron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create a customer portal session where the customer can switch between subscription plans. When updating the portal configuration, I have set features.subscription_update.enabled to True and provided the products and prices. However, I am getting the following error:

"Only active, per unit licensed prices are supported."

Are Usage-based prices not supported by subscription updates?

Related Request ID(s)
req_HJxYKsPkVNeCfl

What have you already attempted?
I have tried using Flate rate prices and was able to do subscription updates but our requirement makes use of Usage-based prices

What are you working on?
Customer billing portal that allows customer to update their subscription and billing details.

#

@soft adder pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeResponse = await stripe.subscriptions.update(
subscriptionData.stripe_subscription_id,
{
"quantity": subscriptionData.member_count + 1,
},
);

Question
how i can implement prorate based on new item added to already exist subscription.

What have you already attempted?
prorate applied in quantity change

#

@noble lily pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const createCheckoutSession = async () => {
try {
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
line_items: [
{
price: `price_1PgjF9SD1GG83NYJsbtoXecv`,
quantity: 1,
},
],
mode: "subscription",
currency: 'inr', // Replace with your preferred currency
success_url: `http://localhost:3000/success?session_id={CHECKOUT_SESSIO

Question
Session expired after payment successfull but not redirecting to success url

What have you already attempted?
i tried changing payment method, country, currency,

What are you working on?
I need a sollution to overcome this issue

#

@fading kestrel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to set set localhost as the return url on an payment intent? (We're using Stripe elements)
We're getting a "invalid URL" Error Message.

Related Request ID(s)
-

What have you already attempted?
We tried setting localhost as a verified domain here: https://dashboard.stripe.com/test/settings/payment_method_domains?enabled=true

What are you working on?
Online-Shop with Physical Products

#

@bronze elk pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
foreach($items as $item)
{
$invoice["line_items"][] = array(
"price_data" => array(
"currency" => "cad",
"product_data" => array(
"name" => $item['label']
),
"unit_amount" => 0
),
"quantity" => 1
);
[
'currency' => 'cad',
'product_data' => [

Question
Is there a way to modify the Payment page with a custom pay amount and to remove the items unit_amout ?

What have you already attempted?
I tried to modify array but i didn't find any solution for hiding the units_amount and to add only a total amount. Talked with GPT and nothing

#

@neon venture pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey :wink: Is it possible to have metadata from a subscription automatically synced/added to all subsequent invoices?

Lets say I have `foo=bar` as metadata on my subscription. Now I need this metadata automatically added to all invoices created within the context of this subscription.

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

What are you working on?
A transaction overview in the context of `on_behalf_of` based on invoices filtered by specific metadata fields.

cursive heronBOT
#

@glass verge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating subscriptions through api for stripe customers without any saved payment method. I can see an option to send an email to update payment method for a subscription in the stripe dashboard. Is there a way to get that update payment method link through an api and send a custom email ?

Related Request ID(s)
-

What have you already attempted?
I couldn't find an api to get that update payment method link

What are you working on?
We are creating subscriptions for the end users of our connected accounts. We have already created the stripe checkout session for our app.

#

@nimble moon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Rough example
const paymentIntent = await getPaymentIntentFromLatestSubscription();

const paymentIntentOptions = {
clientSecret: paymentIntent?.client_secret,
} as StripeElementsOptions;

const setupIntentOptions = {
mode: 'setup',
currency: plansState[0]?.currency ?? 'gbp',
} as StripeElementsOptions;

const stripeOptions = paymentIntent ? paymentIntentOptions : setupIntentOptions;

Question
Hi, I have a scenario where I need to configure the options I pass to the React Elements component with either payment or setup intents. When using payment intents I would like to pass in the client secrets and confirm the intent by passing in the elements value however when doing that I get an error which says to pass in the client secret with mode 'payment'. When configuring options for both setup and payment intents, do they have to match?

What have you already attempted?
I have tried configuring the options for payment intents set the mode to payment however I also have add a bunch of other settings, ideally just passing in the client secret would be best

#

@native crypt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating session but payment intent is null how can i know from webhooks that someone paid? i am checking charge event create and cancelled

Related Request ID(s)
N/A

What have you already attempted?
I have full connection but i cannot verify who paid.

cursive heronBOT
#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
issuing transaction list doesn't include funds in to the stripe issuing balance.

Related Request ID(s)
a

What have you already attempted?
I use stripe issuing's transactions api to get list of transactions but it doesn't include the funds in to the stripe issuing

cursive heronBOT
#

@cold dragon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
After updating the subscription schedule it gets updated using the proration behavior. This subscription started $12 and then after updated it shows $34.39 in next billing cycle. I was looking for $24 in the next billing cycle as the proration is none.

I wanted to have it without proration

Related Request ID(s)
req_V6yAwXNLTRPlyQ

What have you already attempted?
Just seen the api docs and shows the same option

#

@true viper pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public PaymentIntent capturePaymentIntent(String paymentIntentId, Long amount) throws StripeException {
Stripe.apiKey = StripeKey;

	PaymentIntent paymentIntent = PaymentIntent.retrieve\(paymentIntentId\);

	PaymentIntentCaptureParams params = PaymentIntentCaptureParams.builder\(\).setAmountToCapture\(amount\).build\(\);

	try {
		PaymentIntent capturedPaymentIntent = paymentIntent.capture\(params\);
		return capturedPaymentIntent;
	} catch \(StripeException e\) {
		e.printStack

Question
getting error in capture payment like
This PaymentIntent could not be captured because it has a status of requires_payment_method. Only a PaymentIntent with one of the following statuses may be captured: requires_capture.; code: payment_intent_unexpected_state; request-id: req_yToCnypRRYdeLM

What have you already attempted?
I am checked that the parameter coming in it was not null and

#

@small cosmos pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
[2024-07-26T10:26:36.209852+00:00] webhooks.INFO: 400 Webhook origin check failed. [] []
[2024-07-26T10:32:12.920935+00:00] webhooks.INFO: Received stripe_payments_webhook_product_created (evt_1Pg6W6JhyUplILGNcAySQUxU) [] []
[2024-07-26T10:32:12.922403+00:00] webhooks.INFO: Webhook origin check failed with 2 errors:
#1 Timestamp outside the tolerance zone
#2 No signatures found matching the expected signature for payload [] []

After working for more than 1 years.

Stripe told me to launch bin/magento stripe:webhooks:configure but i cannot launch the failed events because "does not exist"

Related Event ID(s)
evt_3PgdWyJhyUplILGN1rAReFVL

What have you already attempted?
I already tried to reconfigure the endpoint

#

@worthy crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I apply `default_tax_rates` when creating a subscription with Stripe Billing.
When out customer upgrades their plan, the API call simply changes the first item to the new price id. For some reason the tax is now missing on invoices afterwards.

Related Request ID(s)
-

What have you already attempted?
Do we really need to set the `default_tax_rates` again after updating the subscription?

What are you working on?
Stripe Billing subscription

#

@visual obsidian pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
{
mode: "subscription",
customer,
line_items: [
{
price: priceId,
quantity: 1,
},
],
payment_method_types: ["card"],
payment_intent_data: {
setup_future_usage: 'off_session',
},
success_url: `${env.STRIPE_SETUP_SESSION_SUCCESS_URL_FOR_PLANS}?session_id={CHECKOUT_SESSION_ID}`,
cancel_url: env.STRIPE_SETUP_SESSION_CANCEL_URL_FOR_PLANS,
}

Question
is it possible to provide different price ids here for example to let user select an annual one or monthly one

What have you already attempted?
-

#

@nimble moon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const data = {
elements,
params: {
payment_method_data: {
billing_details: {
name: `${firstname} ${lastname}`,
},
},
},
};

      const { error\: confirmationTokenError, confirmationToken } =
        await stripe.createConfirmationToken\(data\);

Question
When creating a confirmation token, where does the setup_future_usuage value come from?

When using a payment intent that has setup_future_usuage set to 'off_session' the value on the confirmation token is set to null.

What have you already attempted?
I've configured options for elements instance to use setupFutureUsuage: 'off_session'. Error below.

"The `setup_future_usage` value on the ConfirmationToken you provided was null. This is determined by the `setupFutureUsage` you provided when creating the `elements` object on your client. When the PaymentIntent/SetupIntent `setup_future_usage` value is set to off_session with a secret key, the only acceptable ConfirmationToken `setup_future_usage` value is off_session."

#

@willow jungle pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I receive a customer's email address via the subscription created webhook?

Related Event ID(s)
customer.subscription.created

What have you already attempted?
Reviewed the webhook within Stripe

What are you working on?
Attempting to send out an entitlement start request

#

@magic juniper pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$this->stripeClient->paymentIntents->create(
[
// .... other payment intent fields
'application_fee_amount' => $amount * $unit->application_fee_percentage
+ $unit->application_fixed_fee,
'transfer_data' => ['destination' => $accountId],
]
)

Question
Our company is based in Italy, when I try to use the destination charges to my connected account, I find that Stripe charges an additional VAT tax for Stripe Fee, so I only collect 1.47€ fee from my customer, but I have to pay you €1.5.

What have you already attempted?
I've looked in the Stripe document, but I still don't know how to apply VAT to my connected account but not to my Stripe account.

https://support.stripe.com/questions/taxes-on-stripe-fees-for-italy-based-businesses

#

@cursive bear pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
We are trying to establish an integration between Stripe and SchoolsBuddy, a system built to manage school's extracurricular activities. We were told that we need to use Stripe Checkout, but what we've found is just a sample application that we can run on our local machines; actually, we would like to use Stripe-hosted payment webpage.

What have you already attempted?
Exploring the profile dashboard, reading the docs

What are you working on?
Schoolsbuddy and Stripe integration

cursive heronBOT
#

@past charm pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
I have an app that allows users to find a tutor. The teachers define these lessons and prices, so I cannot define these lessons and prices on the dashboard. A lesson can be a one-time(which I've already sorted out) or recurring. The problem with the recurring lessons is that the lessons can be weekly or custom recurring, for example, every Monday, Wednesday and Thursday or every Tuesday and Wednesday.

How can I create a subscription and get the payments for the lessons? Or is there any other way to achieve this instead of a subscription? I'm using React Native for mobile and Node.js for the backend.

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

What are you working on?
I'm working on a mobile application that allows users to find a tutor.

#

@balmy pagoda pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Card on file transactions

Question
Whether it's possible to retrieve all merchants that have my card on file information and wheteher I can, as a user, revoke that without having the merchant involved to, for example, stop future payments or simply remove the COF info

What have you already attempted?
Read the docs

#

@trail beacon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
module StripeApiKeyInjector
def self.prepended(base)
class << base
prepend ClassMethods
end
end

module ClassMethods
def method_missing(method_name, *args, &block)
set_api_key
super
end

private

def set\_api\_key
  return if Stripe.api\_key.present?

  nonprofit\_id = Thread.current\[\:nonprofit\_id\]
  Stripe.api\_key = StripeApiKeySelector.select\_api\_key\(nonprofit\_id\)
end

end
end
Stripe.singleton_class.prepend Stripe

Question
We have two Stripe accounts and A ruby integration with both. we want to dynamically set the stripe API key based on certain params on a per request basis. We tried to accomplish this using prepend module (code will follow below) but it didnt work. Inject also does not work unless we go one remove deeper in the Stripe singleton like Stripe::Customer instead os Stripe. is there a way to apply this to the Stripe parent singleton

What have you already attempted?
already tried applying a bunch of require 'stripe' in various places

What are you working on?
a stripe platform integration for nonprofits

cursive heronBOT
#

@bitter condor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When calling Stripe::Invoice.upcoming with for multiple subscription products (in this case 6) with multiple invoice line items (in this case 8) the returned invoice only returns a maximum of 10 lines for the invoice.

Related Request ID(s)
req_vZfjBf83viJAeU

What have you already attempted?
Running again with different invoice lines and adding different products to the preview, but still limiting to 10

What are you working on?
A subscription system.

#

@dark crescent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
PSA linked Stripe accounts defaulting to non local european currency with no options for USD based bank integration. on-boarding is unable to be completed for USD accounts and payouts are locked

Related Request ID(s)
ok

What have you already attempted?
support unhelpful

What are you working on?
getting my money

#

@topaz talon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, i'm getting below error when connecting s700 reader using stripe react native sdk:

{"code": "READER_ERROR.READER_COMMUNICATION_ERROR", "message": "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."}

Related Request ID(s)
-

What have you already attempted?
-

#

@elder jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
It seems like the .net nuget package is adding trailing slashes in the setup intent verify microdeposits function. When I try and verify an ACH Bank account I get the error

Unrecognized request URL (POST: /v1/setup_intents//verify_microdeposits). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.

Related Request ID(s)
n/a

What have you already attempted?
n/a

cursive heronBOT
#

@rustic dirge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why is there a intermitent time period between trial & pausing (on end trial)? It becomes active for a moment and then becomes paused.

Related Request ID(s)
N/A

What have you already attempted?
I've looked into the documentation and I think it is because Stripe is trying to charge the customer? But no payment information is on the trialing customer

What are you working on?
SaaS

#

@dreamy jackal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an idea that a parent will be onboarded to stripe and will create virtual cards for his childrens and will give some allowances to childrens he will be charged from his real card is this plan possible

Related Request ID(s)
I dont have that

What have you already attempted?
Nothing this is just an idea

What are you working on?
A new idea

#

@mossy vault pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/update

Question
Hi there. When managing the user subscription, I have tested that if I apply and upgrade during the free trial, this free trial periods ends straight away. we have set 15 days free trial on a monthly subscription and then if during the free trial I want to update the plan this time is lost, and a proration is created. Is there any way to set Stripe to keep the free trial when upgrading the subscription?

What have you already attempted?
I know that we can disable prorations, but I couldn't find a way, whether via API or via dashboard to keep the free trial. Thank you in advance!

#

@sinful igloo pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way other than creating a test invoice to determine how much a user will be charged for their subscription's first payment at the end of their trial period?

Doc/Guide Links
Generally to calculate the next payment amount I look at latest_invoice and it gives me the correct price. But in trial mode the latest_invoice is for $0

What are you working on?
SAAS

cursive heronBOT
#

@abstract dagger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe free trial issue where renewal date becomes when the free trial ends instead of pushing the renewal date back.

Also, is stripe MRR chart ignoring free trial renewals?

Related Request ID(s)
sub_1Pe6umG02uXfwr5HR4hHTGd0

What have you already attempted?
I'm using the api to add free trials, but with this example I added the free trial manually.

I just want to know if the bill date will automatically be whenever the free trial days end instead of pushing the renewal date back.

cursive heronBOT
#

@plucky badge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const onAddressChange = event => {
const {name, address} = event.value;
const parts = name.split(' ');
const firstName = parts.shift();
const lastName = parts.join(' ');
if (!event.empty) {
setBillingAddress({
first_name: firstName,
last_name: lastName,
address_1: address.line1,
address_2: address.line2,
postcode: address.postal_code,

Question
When Klarna is selected in the React PaymentElement, the fields within the AddressElement are disabled. I don't understand why the Address element would disable its fields when only Klarna is selected. When integrating with Stripe Tax, the full address is needed to perform accurate calculations.

What have you already attempted?
Setting the fields property of the PayElement to "never" and "auto" but nothing prevents the Address element from being disabled.

What are you working on?
I am working on a react based checkout page that is utilizing the Address Element and Payment Element.

cursive heronBOT
#

@fresh crag pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/setup-reader/bbpos-wisepos-e

Question
my pos application run in the browser. I'm using wisepos e for card payment. i want to know is there a browser to open the web application.

What have you already attempted?
i have gone through the document but couldn't see any thing related to it

#

@lime bear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When we delete a customer, does that automatically get rid of any cards or payment_methods linked to that customer?

Related Request ID(s)
N/A

What have you already attempted?
Nothing yet; we want to use the API to delete redundant customers

What are you working on?
Cleaning up our database

#

@astral grove pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to set up Stripe Connect. Even with testing trigger account.created with the CLI, it doesn't seem to be sending anything beyond file.created, so I can't test it.

Related Event ID(s)
evt_1PgrGwISYn9FtJ4YQv8cUUpc

What have you already attempted?
I have tried sending different types of requests (which work) and making sure that the headers are properly being passed to my handling function in JS. file.created succeeds, but it's not what I need, and it doesn't seem to call anything else in the flow.

What are you working on?
Trying to set up Stripe Connect to allow teachers on my platform to handle payments themselves.

cursive heronBOT
#

@umbral sandal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I generated a payment with an specific application_fee_amount but it went wrong, is there a way to change that amount or what do you reccoment to do?

Related Request ID(s)
is a public id

What have you already attempted?
I guess I have to that in stripe dasbhoard, idk?

What are you working on?
a system for products that can be rented

#

@tawdry zealot pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I move multiple subscriptions from one price/product to another, without having to do so individually on a per subscription basis? I believe I saw this option with Code as a paid feature, but can't recall or pull that back up.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules?dashboard-or-api=api#subscription-schedule-phases

What are you working on?
Moving subscribers from old pricing plans to current ones.

#

@rustic dirge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I auto trigger payment on a invoice created from resuming a subscription?

Related Request ID(s)
N/A

What have you already attempted?
I've had this conversation with another and I was suggested to review if I could use auto_advance in my flow. Could I get some help understanding the options I have in my use-case?

What are you working on?
SaaS

#

@lime bear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying a test transaction in AU using a Stripe eftpos test card. The payment intent is set up to accept `card` and `card_present` but we're getting Not Accepted, try another card?

Related Request ID(s)
https://dashboard.stripe.com/test/payments/pi_3Pgs41HV1bfqWGJ81yc0avL9

What have you already attempted?
described above

What are you working on?
AU merchant

#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking for an API call that will allow me to display or enable to show a specific subscription that was created for a specific user within a customer portal

Related Request ID(s)
req_BMZN8OZ2Zy4gRR

What have you already attempted?
I have created a customer portal with metadata [customer]

What are you working on?
I am working having a user be able to direct them to Stripe portal and be able to see any proration as well as the custom plan created for them specifically.

cursive heronBOT
#

@trim patio pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Closure of your Stripe account for nerowafflebar.com

What actually happened?
Received an email this morning saying our account will be closed. This was the message:

Hello,	

We recently reached out with a request for additional information about your business, but we haven’t heard back from you. Unfortunately, this means we can no longer accept payments on your behalf.

If you would like us to conduct a further review of yo

Reproduction Steps
I could not find the initial email with information request. Now I replied to the email providing the information requested. Logged into our account to check and it says charges are paused.

Question
How can we resolve this so we can accept charges again and keep using our Stripe account.

#

@pure locust pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using PaymentElement&Stripe tax for subscription and need to update the total amount with tax once the address is filled by user(using invoice.retrieveUpcoming API to calculate the total with tax.) Is it possible to get address information from Payment Element or should I add an additional address element to get address value?

Doc/Guide Links
https://docs.stripe.com/payments/payment-element

What are you working on?
Working on a new SaaS business model

cursive heronBOT
#

@lime bear pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are trying a test transaction in AU using a Stripe eftpos test card (not co-branded afaik). The payment intent is set up to accept `card` and `card_present` but we're getting Not Accepted, try another card?

Related Request ID(s)
https://dashboard.stripe.com/test/payments/pi_3Pgs41HV1bfqWGJ81yc0avL9

What have you already attempted?
explained above

What are you working on?
AU merchant

cursive heronBOT
#

@wind shoal pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to charge application fees on subscriptions on top of the amount generated from the invoice? Currently, we are charging about $150 per month for a subscription (depending on prorations) but would like to add a 25% fee on top of the subscription charge. Adding application fees simply sends a portion of the fees to us, instead of adding an additional fee on top.

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

What are you working on?
A subscription with 3 items, one that is prorated and 2 that arent. We would like to charge a fee for our services on top of the current generated charge.

cursive heronBOT
#

@rigid thistle pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Exception SessionCreateParams
com.stripe.exception.InvalidRequestException: You do not have the required permissions to prefetch.

Question
how can we get permissions to access the Transactions and Balances of Customer's bank account?

What have you already attempted?
testing of setting up of Stripe Checkout for ACH payment method collection

cursive heronBOT
#

@frozen valley pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I'm looking for a direct alternative for PayPal's Mass Payouts feature found here: https://www.paypal.com/us/business/operations/mass-payments

I want an API that I can use to send money to my customer's email addresses directly. Please let me know if Stripe offers this service.

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
An ecommerce store that pays rewards to customers' payout emails each month. PayPal support is horrible so I want to switch to Stripe, if you offer a similar service.

#

⛔️ 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.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

@lucid zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Problem: I want to give customers an additional month of subscription when they purchase 1 month of recurring monthly plan.

Related Request ID(s)
#dev-help message

What have you already attempted?
- Once the user pays for 1 month, After that i am hitting the update subscription api to set trial_end time to +2 month (1 month of subscription bought, Plus one month free subscription). With proration_behaviour: none

Example subscription: sub_1PhlJDGANWQYJlP24uiGScZc

This seems to be working but the problem is:
I want the proration for this subscription to happen over 2 months.

- If i set proration_behaviour: none then no proration is done.
- If proration_behaviour: invoice then the entire amount of one month is added to credit balance which also i don't want.

cursive heronBOT
#

@pure locust pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how should i keep customers' payment methods up-to-date between the platform account and connected accounts?

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges-multiple-accounts#customer-and-payment-updates

What are you working on?
Our platform has the feature that users can save their payment methods and re-use them for the subscriptions created under connected accounts.

cursive heronBOT
#

@crude sky pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
in express checkout flow
/v1/elements/sessions
/v1/tokens
/v1/payment_intents
/v1/payment_intents/pi_3PgnjMLDi2gy2gxo12R8KvJ2/confirm

Related Request ID(s)
/v1/tokens

What have you already attempted?
i want to get /v1/tokens get this details to store in my database name, email,address

What are you working on?
how can i save

cursive heronBOT
#

@orchid heath pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When creating an invoice with collection_method: 'charge_automatically', and the customer already having a default payment method, the invoices stays open even when finalized or explicitly a payment_methods is passed to the invoice.

Related Request ID(s)
req_haRmFfye0kaCHZ

What have you already attempted?
searched discord for ollection_method: 'charge_automatically' and did read over treads if another user already had this problem, using payment method id or not and, using different payment methods like card, sepa

#

@visual obsidian pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const sessionParams: Stripe.Checkout.SessionCreateParams = {
mode: "subscription",
customer,
line_items: [
{
price: priceId,
quantity: 1,
},
],
payment_method_types: ["card"],

  success\_url\: env.STRIPE\_CHECKOUT\_SESSION\_SUCCESS\_URL\_FOR\_PLANS,
  cancel\_url\: env.STRIPE\_CHECKOUT\_SESSION\_CANCEL\_URL\_FOR\_PLANS,
};

Question
is this body enough to call this.stripe.checkout.sessions.create(sessionParams); and succesfully handle any additional verifications the card might require ?

What have you already attempted?
-

#

@tough iron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we create Stripe token using card details to send into checkout method

Related Request ID(s)
checkout

What have you already attempted?
stripe tokens create -d "card[number]=4242424242424242" -d "card[exp_month]=5" -d "card[exp_year]=2026" -d "card[cvc]=314"

What are you working on?
stripe payment intigration api using django

cursive heronBOT
#

@rare tartan pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element/migration

Question
I want to do confirm payment with google pay express checkout element but got issue. First issue on the elements, I had difficulties in getting the element and found out that I need to stay on the same page to go through transaction. It's easier to use payment method id. Now I've found way to select the element but still getting error. I found also the amount is different from what I confirmed through google modal on the payload. heres the result for confirming google pay "message": "Payment details were collected through Stripe Elements using automatic payment methods and cannot be confir

What have you already attempted?
Moving function to works on same page, rechecking the code, read the docs.

What are you working on?
google play payment

cursive heronBOT
#

@light pivot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I programmatically activate accounts in sandbox?

Related Request ID(s)
req_pHb9OTlwym7y0s

What have you already attempted?
I am thinking about creating a sandbox account and prefill all the information at that point but I am not sure whether it would be working.

What are you working on?
I am working on a Stripe Connect integration and want to provide one-click sandbox test user creation, that can accept payments

cursive heronBOT
#

@bleak flicker pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to prefill field in the payment link from the url parameter. But I am Facing issue in prefilling custom fields.

Related Request ID(s)
I need the right direction on how to prefill my customm field first name in the payment link

What have you already attempted?
passing it as prefill_first_name

#

@distant sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can payment methods be saved to a customer when mode = 'setup'?

Related Request ID(s)
n/a

What have you already attempted?
Currently the checkbox to save a payment method on web only displays during a payment when mode is set to 'payment'

cursive heronBOT
#

@tacit lake pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
We are in a company using Ruby Stripe gem to integrate with Klarna. I follow this tutorial on how to setup future payments with Klarna: https://docs.stripe.com/payments/klarna/set-up-future-payments?web-or-mobile=web&payment-ui=stripe-hosted&webhook-or-success-url=webhook&country=germany&shell=true&api=true#create-checkout-session
On step 3 I stumble upon an issue:
When I create a session as shown in tutorial "Stripe::Checkout::Session.create(...)" I get "url" in response as expected, no issue here. But when I follow that url, I get "Something went wrong". Could you please the issue?

Related Request ID(s)
-

What have you already attempted?
I inspected the response when I follow stripe checkout URL but found nothing there

What are you working on?
Klarna future payments

#

@grave comet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Receiving the error message:
The maximum number of trial period days is 730 (2 years).

When updating the trial end date, however the end date is < 730 days.

Related Request ID(s)
req_UFbBkHDi13Jd0F

What have you already attempted?
Logging the dates

#

@visual obsidian pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when using a checkout session to let a user purchase a subscription, later on if they want to change their card to another one and if that requires additional verification how can I sort that out ?

Related Request ID(s)
-

What have you already attempted?
since we had the problem with initial purchase which we were using direct api calls to resolve the purchases I switched from that to using checkout session instead

cursive heronBOT
#

@twin badger pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/accounts/delete

Question
Hi everyone,

I have a question about Stripe connect. I see that after connecting the account to a platform account, we can only delete the connencted account afterwards?

Is it possible to somehow preserve, but disable the account, and then enable it afterwards? Or to get the old info back after recreate?

I see also the reject option, but not sure if usable for that purpose.

Thanks in advance!

What have you already attempted?
From testing i concluded that ,,recreating,, it with the same email does not bring the info about previous transactions back.

What are you working on?
We are on an initiative to enable our users to collect payments from participants using Stripe.

cursive heronBOT
#

@fresh haven pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Upon calling retrieveUpcoming on a subscription, with proration_date matching the backdated subscription start date, the refund and charge amounts would be exactly the amount defined in the price

What actually happened?
When refunding a $195 tier and charging for a $450 tier with the exact proration date of subscription start. The user is refunded $195.22 + tax and charged $450.50.

Reproduction Steps
Create subscription with billing anchor date of 24/7, and a backdated start date of the timestamp 1721779200 (24th July 00:00:00). Charge a recurring $195 price to the subscription, then retrieveUpcoming invoice for deleting that price and adding a new $450 price. Add proration date of 1721779200.

Question
How can I pass setup the subscriptions, or manage the upgrade behaviour such that I can a completely round $195 refund on the intial tier, and a $450 charge for the upgrade?

cursive heronBOT
#

@daring lynx pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We would like to enable subscription payments via Alipay, but we have discovered that it is currently not supported. After reviewing the documentation, we found that this feature is invite-only. Could you please let us know how we can receive an invitation?

Thank you!

Doc/Guide Links
https://docs.stripe.com/payments/wallets

What are you working on?
SaaS

#

@short pollen pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are using stripe checkout element form

Question
When chose apple pay payment method , it gives error -

Something went wrong. Can not show Apply Pay. Choose a different payment method and try again.

What have you already attempted?
We are using stripe element checkout form

What are you working on?
A order processing with payment method - cc, paypal , google pay and apple pay

cursive heronBOT
#

@wild patrol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am able to fetch list of payment method configs but when I try to fetch by id it returns 404.
Everything is tested in test mode.

Related Request ID(s)
req_6oemF0v40jwAWz

What have you already attempted?
Tried going through docs

cursive heronBOT
#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
collecting payment type for current and future payments, using either Checkout or SetupIntent + Elements.
If either of these fails where the user cannot add a payment method, what is the fallback? Does Stripe automatically open form to manually add bank details?

Related Request ID(s)
none

What have you already attempted?
Stripe Checkout

#

@hushed jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I just converted my system to start using confirmationTokens. I am trying to handle setup_future_usage properly now.

Related Request ID(s)
NA

What have you already attempted?
I found this in the documentation "Set setup_future_usage or capture_method parameters for each of the payment methods within the payment_method_options parameter of the Intent. For example:"

What are you working on?
Ecommerce Site

cursive heronBOT
#

@viscid jetty pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe team,

I’m creating a SaaS application and I’m now integrating Stripe into it. I have one question.

Since my app will be subscription-based and will have some extras, I came up with the following.

- Monthly plan (eg. 49€)
- Extra users (eg. each user is 4.99€)
- Storage used (eg. 1Gb is 0.5€)

By default, the monthly plan includes 3 users and 1GB for free.

However, I need to include both “Extra users” and “Storage used” in the subscription so I can charge them in the future when they make use of them.

Doc/Guide Links
My problem is:
- I tried to include those 2 products with quantity 0, but that is not allowed.
- I tried to create a coupon code to discount the amount (4.99€ * 3 + 0.5€), however, if the price changes I cannot modify the coupon code.
- I tried to find a way to offer by quantity, like 3 users and 1GB of storage but couldn’t find a way.

Basically, I just want to offer 3 extra users and 1GB of storage and include them somehow in the subscription, but I’m confused about what would be the best way to tackle this.

Thank you very much!

What are you working on?
n/a

#

@slim nymph pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeInstance = window.Stripe('publishable_key', {
stripeAccount: 'stripeAccountid'
})
var paymentRequest1 = stripeInstance.paymentRequest({
country:
'US',
currency: 'usd',
total: {
label: 'Total',
amount: 100,
},
})
paymentRequest1.canMakePayment().then((result) => {
console.log(result)
})

Question
Either you do not have a card saved to your Wallet or the current domain (17f8-2406-b400-b4-7a4e-ecde-ef78-d551-7c81.ngrok-free.app) or stripeAccount parameter (acct_19o4IFJv9j0DyntJ) is not registered for Apple Pay.
I have white listed for 2 domains, it is working for one but not the other (https://17f8-2406-b400-b4-7a4e-ecde-ef78-d551-7c81.ngrok-free.app/).

What have you already attempted?
Tried to with different domains, it is working other than this domain. i have used same account for both domain.
Doamin: https://17f8-2406-b400-b4-7a4e-ecde-ef78-d551-7c81.ngrok-free.app/
account ID: acct_19o4IFJv9j0DyntJ

cursive heronBOT
#

@twin badger pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/accounts/delete

Question
I am so sorry for writing again.

I see in the dashboard the possibility to ,,Remove,, the account when i open it. That does not delete the connected account, but removes the connection between the platform and connected account. I do not see anything related to this in the API.

What have you already attempted?
Tried numerous API calls, but i do not see the dashboard related one in there

What are you working on?
Integrating stripe for collecting payments on scheduling meeting

#

@leaden nest pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are getting the following error when attempting to confirm the payment_intent. We are not using application_fees so i am confused as to what we are doing wrong.

"message"\: "Stripe doesn't currently support application fees for platforms in US with connected accounts in MX.",

Related Request ID(s)
req_R6PzxwwujGXTKP

What have you already attempted?
n/a

#

@rocky wharf pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I don't have any relavent code for it!

Question
I have created a connected Stripe standard account in test mode with Smart Retry enabled. I generated an invoice and attempted to pay it, but the payment failed due to insufficient balance (using test bank data). However, in the webhook response, the next_payment_attempt field is null. Since Smart Retry is enabled, shouldn't this field have a value indicating the next retry attempt? Why is it null?

What have you already attempted?
Invoice id: in_1PhuIv4NdnE12NMBv4LEi4w0
payment_intent – pi_3PhuIx4NdnE12NMB0QkUPWOZ connect account id- acct_1PdOgx4NdnE12NMB

#

@smoky lark pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Handle "requires_capture" state.

Question
We are seeing some transactions resulting "You cannot provide a new payment method to a PaymentIntent when it has a status of requires_capture".

I assume this is due to the client submitting the payment form twice.

What have you already attempted?
We had a block for clicking the submit more than once, but as the payment input is in an iframe we are unable to handle keypresses there directly.

What are you working on?
SaaS

#

@coral lichen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I wan to use stripe invoice api i have followed the dodumentation that is here - https://docs.stripe.com/invoicing/integration?method=elements

Related Request ID(s)
stripe invoice api

What have you already attempted?
i have followed the same code that stripe provided but getting error - Payment details were collected through Stripe Elements using automatic payment methods and cannot be confirmed with a Payment Intent configured with payment_method_types.

What are you working on?
invoice api integration in custom next js app

#

@wild fulcrum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
We have an app with a lot of yearly subscriptions based on the "billing_cycle_anchor".
Sometimes, the "billing_cycle_anchor" change and we don't understand how it's possible.
Here the anchor is fine :
https://dashboard.stripe.com/logs?object=sub_1PY2X8FozK3SDFaCay5xm2J1&starting_after=1721644021-req_EyvlQziXR9RCec
and on the next subscription update the anchor has changed :
https://dashboard.stripe.com/logs?object=sub_1PY2X8FozK3SDFaCay5xm2J1&starting_after=1721652783-req_QiHC2ztrFdtzjL
And we don't know why?!
In our requests (sent), the "billing_cycle_anchor" is not updated.

Related Request ID(s)
https://dashboard.stripe.com/logs?object=sub_1PY2X8FozK3SDFaCay5xm2J1&starting_after=1721644021-req_EyvlQziXR9RCec

What have you already attempted?
Many thinks.

#

@fiery stirrup pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Payment Intent pi_3PhteHDfcmTYbu9Y0vbrGPN5 should have been captured as it was supposed to be captured using the same CC information as pi_3Phsi9DfcmTYbu9Y3ae0sjQo

What actually happened?
The first one was declined by a Zip code check failure (Radar rule enforced) while the second one had no issue at all.

Reproduction Steps
Try to capture payment intents using payment method pm_1PhtJqDfcmTYbu9YOgCp41sy (will fail) and
pm_1PhshODfcmTYbu9Y8IlUxayR (will succeed)

Question
Why is it that the Radar rule is triggered by one and not by the other one?

What are you working on?
API Integration

#

@stiff tangle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I retrieve details of a us_bank_account PaymentMethod that hasn't been verified yet?

I'm trying to improve our app's UX of when users add ACH payment details manually (routing + account number) and manually verify with a micro deposit. I want to display the payment method in a pending state in our app, but Stripe API doesn't seem to let me fetch details about it?

I get a payment method ID back but when I try to fetch the details for that payment method I get a 404 response (e.g. https://api.stripe.com/v1/customers/cus_MRaKWcoNPJ4C39/payment_methods/pm_1PhuTZIkaYJTQiHGJOR4mnh3)

Related Request ID(s)
req_Wtas2SKLxgqzJg

What have you already attempted?
GET https://api.stripe.com/v1/customers/cus_MRaKWcoNPJ4C39/payment_methods/pm_1PhuTZIkaYJTQiHGJOR4mnh3

#

@lean badge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello I am using checkout sessions to create subscriptions. I have a free trial option where the user gets a 7 day free trial. Once this trial is up we are having a super high rate of payment failures due to several reasons (insufficient funds, wrong zip code, bank decline) and I want to be able to confirm that the credit card works at submission to the free trial before it goes through and then doesn't work in 7 days. My initial ideas are charging the card and refunding but I am not sure the best route.

Related Request ID(s)
None

What have you already attempted?
We have already attempted verifying the payment when they sign up but it seems like there is not functionality for that.

What are you working on?
A subscription service with a 7 day free trial

#

@lusty needle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
card.to_s.chars.each do |piece|
field = find_field('Field-numberInput', wait: 20)
field.send_keys(piece)
end

Question
I'm using Capybara to do integration tests on my Rails app. I'm having trouble testing some pages that use Stripe Elements. Have some flaky tests because sometimes it doesn't seem to find the Stripe Elements credit card input. I have tried several methods trying to make sure the driver find the inputs inside the iframe created by Elements, but seems to be kind of a random hit-or-miss problem. Maybe you guys have some hints or best practices for testing Elements?

What have you already attempted?
I attempted several approaches but after a lot of researching on the internet, I ended up with a helper I found here, but with some modifications to better suit my case: https://gorails.com/blog/fill-in-stripe-elements-js-for-sca-3d-secure-2-and-capybara

What are you working on?
I'm building and maintaining a marketplace for the dental industry.

#

@torn cosmos pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it "at risk" to pass the customer id as a query when creating a stripe checkout, since a user can have credit card, could make malicious payment, renew subscriptions... It looks like if someone manage to get a user id it could be dangerous, i have the exact same question with the billing portal, i'm not sure if stripe save cards, private informations..

Doc/Guide Links
Stripe with typescript types

What are you working on?
a subscription based SaaS

#

@viscid shoal pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Charges are paused Past due

Question
There will be a waiting period for new account activation in India.

What have you already attempted?
I already submitted all document

What are you working on?
i need stripe payment gateway for my international website

#

@slate sedge pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! could you provide me with every single doc I need for connecting and building a stripe connect flow. My Business is a marketplace and I need users to connect to it via stripe connect onboarding. I also need to take a i belive it is called a platform fee of 10% of every product. I just want to make sure I have read every single doc that envolves what I am trying to do so I can embed it seamlessly.

Doc/Guide Links
I do not have any docs to provide

What are you working on?
Ecommerce marketplace

#

@cunning saffron pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Should I use Payment Intent or Setup Intent for a Payment that must be made 60 days after first purchase? Stripe is integrated in our page in web. The front end creates a Payment Method and send it on back end. I create a customer and the first Payment Intent that collects the first payment. Right now I have made that for the second payment, I just create another payment intent with the customer_id and payment_method_id that I have saved. This worked, after I tried 1 day after, but I am not sure if it will work after 60 days, or if it will be the best practice(The code is not live, I am still testing)

Doc/Guide Links
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment https://docs.stripe.com/api/payment_intents/object

What are you working on?
An web app that disputes bills to providers.

#

@slim remnant pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way or workaround to receive a webhook when an invoice is on an "overdue" status?

Related Request ID(s)
N/A

What have you already attempted?
I read the docs but I couldn't find anything. Also in the invoice logs there's no event that relates to an invoice becoming "overdue" which I guess it makes sense since it's only a comparison between the current date and the due date.

What are you working on?
We need to automatically receive a notification when an invoice from one of our client is in an overdue status

#

@devout trout pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
process any United Health Care and Mutual of Omaha Insurance payments.

Related Request ID(s)
process any United Health Care and Mutual of Omaha Insurance payments.

What have you already attempted?
process any United Health Care and Mutual of Omaha Insurance payments.

#

@sage totem pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
stripe account will be connected to headfirst account

What actually happened?
when i try connect headfirst account to the stripe account the stripe screen says "merchant list is empty"

Reproduction Steps
same thing happened everytime i press try again

Question
what does merchant list is empty mean and how can i overcome it so i can connect my stripe account to headfirst account to get paid

What are you working on?
working in events. use headfirst for tickets which uses stripe in order for me to get paid from tickets

#

@verbal furnace pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We have installed Stripe Salesforce Connector in our Salesforce org , and we have enabled different events so that we can use them. But the package doesn't have custom objects that we can use to store data in salesforce coming from Stripe. We want to avoid creating custom objects at our end.

Question
My questions is does Stripe provides this additional functionality or Does Stripe have any apps as of now that can automatically sync data back into Salesforce when it gets created in Stripe environment , if thats not the case , Does Stripe have any other connector/App that already have dedicated Objects Like Invoice, Invoice Items, Subscription etc. that we can use ?

What have you already attempted?
Explained above

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get mechant if, terminal id, application id, authorization code in tap to pay

Related Request ID(s)
a

What have you already attempted?
How to get mechant if, terminal id, application id, authorization code in tap to pay

#

@lost cradle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Follow up on a question asked previously (linked below). It seems overcharging is out of the picture. If we wait to confirm the payment intent for when we know the final total (could be a few weeks after creating payment intent) will the card authorization expire? The card is saved via setup intent with `usage` set to `off_session`. I have tried with a test clock and the auth didn't expire but I wasn't sure if that was due to the test env.

Summary of our flow is 1. create setup intent 2. save card for future off_session usage 3. create payment intent for estimate amount 4. wait for items (could be weeks) 5. confirm & capture payment intent with actual amount. Is this valid?

Doc/Guide Links
https://discordapp.com/channels/841573134531821608/841573134531821616/1265017567093985625

What are you working on?
Creating a shipping management tool for Amazon 3PL partners

#

@thorn thicket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to create a PaymentIntent without supplying a transfer_data[destination], and then at a later time before the PaymentIntent is captured, Update the PaymentIntent object by adding the transfer_data[destination]? If not through PaymentIntents is there another way to accomplish putting a hold/confirmation on a user's card, before we know the transfer destination, but then setting the transfer destination before capturing.

Related Request ID(s)
req_fHNVKjxlAHaIpw

What have you already attempted?
Through the online Stripe Shell, I've created a PaymentIntent without the transfer data and then tried to update it with an update call, but got an unknown parameter error. I've read the PaymentIntents API docs.

What are you working on?
We want to authorize a user's card for a set amount without knowing the transfer destination. And then after some time, once we determine the destination we want to set that and then capture the funds

cursive heronBOT
#

@leaden nest pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_types

Question
We are using the Payment Element and want to know if it is possible to disable / enable apple_pay and google_pay for specific custom connect accounts that we have. The docs make it seem like you can list the payment methods we want to include via the payment_method_types parameter but we don't see apple_pay and google_pay as an option (it seems to be lumped into the card value)

What have you already attempted?
n/a

#

@thorn holly pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to embed the stripe embedded payment form in my shopify website.

Related Request ID(s)
Please help me embed the form in my shopify website.

What have you already attempted?
I have created the embedded form.

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.

#

@tranquil panther pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const options = {
fonts: [
{
family: 'SamsungOne-700',
weight: 700,
src: `url(../fonts/SamsungOne-700.ttf)`
}
]
};
const elements = stripe.elements({ clientSecret: clientSecret, appearance: appearance, options: options });

Question
I'm trying to import a custom (local) font file to the payment element. I have everything mounting / loading but the font fails to load.

What have you already attempted?
I've tried adjusting the options data / values passed but with no luck. I know it's possible but I must be missing something

cursive heronBOT
#

@ashen nova pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Webhook Handler For payment_intent.succeeded

Question
I have alot of small questions about setup and configuration for Stripe/Stripe Connect. Currently I'm working on getting the success for payments completing to work and I need some help with listening for the webhook to trigger on the frontend, is there any way to run some front end code once the webhook triggers?

What have you already attempted?
I haven't really attempted much, I got some help in another server where a guy told me that the best way to listen for payments to complete is webhooks and a clock that checks through the completed webhooks every 5 seconds, but I'm still really confused on how to actually set this up.

What are you working on?
A marketplace for people to share and sell their artwork

#

@errant moss pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/ideal

Question
Hi,
I have trouble understanding the behavior or ideal and sepa payments. It is unclear to me if there is an immediate confirmation of payment success or not. The documentation says this is the case but in the same time that I should rely on webhooks to get payment confirmation.
In test env, payments are confirmed almost instantly.

What have you already attempted?
I added ideal (and SEPA) to payment methods available on Stripe dashboard and successfully paid a first subscription invoice.

What are you working on?
Adding Ideal (and therefor SEPA) to the payment methods available to subscribe to my product.

#

@ebon goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the "AccountObject" from a connected account, if I understand correctly the requirements.disable_reason can tell if an account is rejected when set to one of the "rejected." reasons. But is there a way to distinguish rejection coming directly from Stripe or coming from our platform (either using the connected account dashboard or API).

Related Request ID(s)
req_Zz2B5AYgtZ3wF2

What have you already attempted?
It seems the reasons ["rejected.fraud", "rejected.other", "rejected.terms_of_service"] are the only ones accessible from our platform (dashboard or API), so [""rejected.incomplete_verification", "rejected.listed"] would only be used by Stripe. But can stripe also use the other ones ?

What are you working on?
Prevent rejected account to try to get an accountLink, but with a specific frontend distinction between the ones rejected by stripe or by our platform

#

@sleek condor pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
N/A - no code to share

Question
We have a customer that is having issues adding their credit card to Stripe. They're based in the UK and get an invalid postal code error (postal code is IP28 7DE which is real).

Any idea what is causing this error and how we can fix it?

What have you already attempted?
Attempted payment via credit card

#

@reef dune pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on the implementation of the Payment Intents webhook. I need to know which property from the event is the ideal to be used to avoid processing an event multiple times

Related Event ID(s)
1

What have you already attempted?
Trigger the event

What are you working on?
Stripe Webhooks

cursive heronBOT
#

@wild fulcrum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Following this thread: https://discord.com/channels/841573134531821608/1267490963488505887

Summary : a often update subscriptions of my customers (everytime they "add" an item into the subscription, to update the price). Sometimes, we notice that the "billing_cycle_anchor" changed, and we didn't understand why.
On the previous thread, your team explains that the anchor is reset because during a short time my subscription price is 0€.

My question is: on every update to the subscription, if I provide `billing_cycle_anchor: "unchanged"` , does it prevent to reset billing anchor? for sure?

Related Request ID(s)
https://dashboard.stripe.com/logs?object=sub_1PY2X8FozK3SDFaCay5xm2J1&starting_after=1721652783-req_QiHC2ztrFdtzjL

What have you already attempted?
Nothing

#

@mental owl pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using the web PaymentElement with the customerSessionClientSecret - when we run a payment normally, it works fine, but when we attempt to save the card, the api gives us this error:

parameter_unknown - payment_method_options[card]

Related Request ID(s)
req_FOpnnXwBDbyWOj

What have you already attempted?
n/a

What are you working on?
x

cursive heronBOT
#

@winter gale pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$options = [
'price' => $newPrice,
'proration_behavior' => 'always_invoice',
];
$stripe->subscriptionItems->update(
$currentStripeSubscription, $options
);

Question
This error only happens when there is a customer with the Link payment method.
Error:
When confirming a PaymentIntent with a `link` PaymentMethod and `setup_future_usage`, `mandate_data` is required.

What have you already attempted?
Docs aren't clear about this issue. I'm not dealing with an intent directly, I'm just trying to update the subscription items.

#

@sage totem pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
i would be able to link my stripe account to my headfirst account

What actually happened?
when i tried to link them stripe screen says merchant list is empty

Reproduction Steps
same result when i try again

Question
what does merchant list is empty mean and how can i link my headfirst account to my stripe account

What are you working on?
i work in events and i used headfirst for tickets. headfirst uses stripe so i need to connect them to get paid

cursive heronBOT
#

@full turtle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to allow customers who are verifying with microdeposits to switch from ACH to card payment if the process hasn't finished yet.

  1. I know that when payment fails, it's recommended to use the same payment intent. Would that be the case here, or would it be better to cancel the payment intent and create a new one?
  2. Is there anything else that needs to or should be done in order to stop the microdeposits process from continuing?

Doc/Guide Links
https://support.stripe.com/questions/verify-a-new-ach-direct-debit-customer-using-micro-deposits
https://docs.stripe.com/api/payment_intents/verify_microdeposits
I tried unsuccessfully to find documentation on cancelling microdeposits.

What are you working on?
Our site uses Stripe Payment Elements to allow users to pay for products. Options are card or ACH. I'm working on adding the option to switch to card payment instead of ACH if microdeposit process started but was not finished.

#

@tall narwhal pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I have looked at the `customer.subscription.updated` event for this but I am not sure if that's the right event to look at

Question
What webhook event/parameters help us deterministically recognize that a subscription's billing cycle has renewed?

What have you already attempted?
I have looked at the `customer.subscription.updated` event but I am not sure if that is the right event to look at

What are you working on?
I am working on a billing system of a SaaS company

cursive heronBOT
#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can "creating a session" allow you proration? I want to be able to take the user to Stripe checkout page but have a proration be applied to the subscription charge.

Related Request ID(s)
req_cyyMUHTad5iQrW

What have you already attempted?
I have tried taking the user to the portal but unfortunately when i create a Product that has 3 prices i only allowed to select 1 of the 3 prices from the product and this unfortunately doesn't display all the information i want the user to see in the portal (I want the user to be able to change the quantity for each of the pricing within the product.

What are you working on?
I basically want the user to go onto a Stripe page to be able to pay for a subscription but be also able to see what a proration amount is going to be .

cursive heronBOT
#

@dense grotto pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a payment intent that was completed via a payment terminal but there was no corresponding terminal success event so no webhook was triggered is there something wrong with my configuration?

Related Event ID(s)
evt_3PgzslEpVF9IEchn1Gqkk35H

What have you already attempted?
The above is the completed payment intent event but I assume a terminal succeeded event would also trigger.

What are you working on?
Terminal Payment System

#

@hushed jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a question about setupIntent. Is there a limit on the number of charges I can perform using a paymentMethod created with a setupIntent? If I only plan on doing one charge do I need do anything to the paymentMethod or setupIntent?

Related Request ID(s)
NA

What have you already attempted?
NA

What are you working on?
NA

cursive heronBOT
#

@quiet igloo pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/tax/calculations/create?lang=php

Question
Is it possible to use the stripe tax api to calculate tax obligations independent of a specific stripe account?

What have you already attempted?
I know I can use this api to calculate tax for charges happening on a specific account, but is it possible to use it just for the tax amount? We support multiple processors besides Stripe.

What are you working on?
Ecommerce SaaS

cursive heronBOT
#

@tranquil panther pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.customerSessions.create({
customer: data.customerId,
components: {
payment_element: {
enabled: true,
features: {
payment_method_redisplay: 'enabled',
payment_method_save: 'enabled',
payment_method_save_usage: 'off_session',
payment_method_remove: 'enabled',
},
},
}
})

Question
I'm getting an error when running this request on my server.

What have you already attempted?
I have tried adjusting the passed values but no luck

cursive heronBOT
#

@nova bluff pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Validity / version availability of the "cancel_at_period_end" flag in the Python SDK stripe.Subscription.update(user_subscription_id, cancel_at_period_end=True)

Question
Is stripe 9.6.0 sufficient for using this flag?

What have you already attempted?
I keep getting IDE warnings about this flag but as far as I can tell this flag has been available in the Python SDK for a while.

#

@whole tangle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Transfers from our Canadian Platform account to a US connected account work using charges with the on_behalf_of property but I cannot find any way to use an existing balance in our USD account (Example: a balance from a gift card that is not yet redeemed). Is there no way to send payments to US connected accounts without doing it as a charge or any other credit card required checkout procedure? I could not find the platform Stripe balance as a valid payment method for these charges. Any help is appreciated. Also, if we can create a payment method as a gift card in Stripe, that could work

Related Request ID(s)
req_YZC7ivcIBnXKU2

What have you already attempted?
We have attempted transfers only since our platform also sells gift cards - we need the ability to transfer the funds, rather than create a new charge.

What are you working on?
A wall art platform that gives customers the option to buy a print of an image from Artists. All printer fees and artist fees and influencer fees get via Connect at checkout

#

@vale quail pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/issuing/connect#required-verification-information

Question
Do I need to also look up the capabilities for payouts? Since they can withdraw from their issuing balance?

What have you already attempted?
I already retrieve the issuing capabilities but want to be sure if I also need to retrieve other capabilities

What are you working on?
Issuing with Connect

cursive heronBOT
#

@regal nebula pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why i get "Invalid token id: (card_token)" every time, with different account, while my colleagues succeeding with their and also my account? Same card, same account, but different status.
What could be wrong? What should i check in the first place? Seems like issue is only on my side.

Related Request ID(s)
req_7b6WB74o9RUjza

What have you already attempted?
VPN, new app account, removing and adding test card, different account

What are you working on?
E-commerce app

cursive heronBOT
#

@nova bluff pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Processing Stripe Event webhooks with AWS Lambda function sequentially / time lagging the events. I am managing customer subscriptions and subscription status via the emission of Stripe subscription events. When a subscription is created / updated for the first time (indicating a customer has signed up) I am running into issues where my database has not received / processed the previous webhook event. Is it not recommended to use Lambdas as a receiver for stripe webhooks without a queueing method for those events?

Related Event ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Stripe Subscription Webhook Listener

cursive heronBOT
#

@shell valve pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Monthly invoice charged on 7/26.

What actually happened?
Proration due to unknown reason?

Reproduction Steps
https://dashboard.stripe.com/subscriptions/sub_1OygwgF5n5KjLa7RLgPWUC5V

https://dashboard.stripe.com/events/evt_1Pgv7eF5n5KjLa7RdU807CPO

Question
I am not sure what's going on with the billing of the customer. There were 2 unpaid cycles and was set to get canceled on 7/27 but instead the event for proration came in...

#

@soft swift pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I am developing a Stripe App. My manifest specifies my API endpoint in the content_security_policy permission of the ui_extension. I have a different domain for my test API endpoint than my prod API endpoint (e.g. api.foo.com and api-test.foo.com).
When my app is installed, it shows the API endpoints that permission is being granted to. Is it possible to not have it show the test API URL when my app is being installed in live mode? Or is the expectation that I should design my API so that test and live mode live on the same (customer friendly) subdomain?

Doc/Guide Links
https://docs.stripe.com/stripe-apps/reference/app-manifest#extended-manifest

What are you working on?
A Stripe Marketplace App

cursive heronBOT
#

@slate sedge pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<div>
<button
onClick={async () => {
setAccountCreatePending(true);
setError(false);
fetch("/api/account", {
method: "POST",
})
.then((response) => response.json())
.then((json) => {
setAccountCreatePending(false);
const { account, error } = json;

                if \(account\) {

Question
Hi am am making a stripe onboarding process and I came across this error in my code.

Error:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

What have you already attempted?
I've attempted to change the route like for say /../api/account but that did not work either.

What are you working on?
Marketplace

cursive heronBOT
#

@rigid thistle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
best practice to process StripeException

Related Request ID(s)
none

What have you already attempted?
using java api.
what is the best way to handle StripeException such that relevant error message should go back to the client

#

@raven wave pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
my stripe account keeps saying its disabled but there is still a ongoing review

Related Request ID(s)
Dashboard>settings>account>account status

What have you already attempted?
contact support, but we keep getting the same message

What are you working on?
keep the account up for payments

cursive heronBOT
#

@zenith epoch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
tap to pay, how to hide bottom NavigationBar

Related Request ID(s)
null

What have you already attempted?
when i use tap to pay, i use collectPaymentMethod then open new activity, the bottom nav bar is show, how to hide by default?

cursive heronBOT
#

@turbid glade pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using the test card number provided by Stripe, the following error is returned when attaching the payment method:

Your card was declined. Your request was in test mode, but used a non test (live) card. For a list of valid test cards, visit: https://stripe.com/docs/testing.

Related Request ID(s)
card no: 4000002760000016

What have you already attempted?
Successfully attached payment method

#

@heavy jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to understand the best payment strategy for an uber-like platform. Since buyers pay before they're matched with a merchant (driver), I believe on_behalf_of should be omitted, to make the platform the settlement merchant. However, I don't know what to specify for transfer_data/destination:

"transfer\_data"\: {"destination"\: '{{CONNECTED\_ACCOUNT\_ID}}'},

There's obviously no connected_account_id at the moment of purchase, but I want to set it later. The docs don't say what happens if I don't set this. How can I make a destination charge with the connected account specified later?

Related Request ID(s)
I did not see a "Logs" page after doing "Dashboard->Developer" on the stripe site, which was the instructions in this box...?

What have you already attempted?
I looked at the "Create destination charges" docs and "payment_intent_data.transfer_data.destination" api docs, which do not explain how to set a destination charge later.

What are you working on?
An uber-like platform using stripe connect, express accounts, and destination charges, where the user does not know their merchant at the time of payment.

cursive heronBOT
#

@snow quartz pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
createPaymentIntent({
amount: amount,
.....................
stripeDescription: 'something',
}

Question
I want to ask what is the purpose of the stripeDescription parameter of the createPaymentIntent() function of the Stripe Terminal React Native SDK. Is this the same as the description parameter of create paymentIntents function for Backend

What have you already attempted?
When creating the payment intent from the Backend side, passing the description parameter will help me to customize the Stripe generated receipt. But I wonder how I can achieve the same thing when creating the payment intent via the mobile SDK.

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

cursive heronBOT
#

@pure locust pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The apple pay credit card attached to the customer does not show up in the PaymentElement as the "saved" tab.

What actually happened?
I think it should show up like other credit cards.

Reproduction Steps
checkout out with apple pay credit card with {allow_redisplay: true} and go back to the checkout page again.

Question
I assume the credit card registered by apple pay is also "card" payment method type so it should show up in the Payment Element with customer session for re-use. is this expected?

What are you working on?
SaaS platform where connected account users handle subscriptions.

cursive heronBOT
#

@steady flume pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have an upcoming event where we want to allow our attendees to tap to pay for raffle tickets. When they tap-to-pay, they will get an email and a text message with a message listing the raffle numbers they purchased. I want to know what terminal I should buy to integrate with my react website such that our volunteers can click on an item on the website and the terminal will be set to charge for that item.

Related Request ID(s)
?

What have you already attempted?
We had bought
BBPOS WisePad™ 3 terminals but later realized you needed an ios app to integrate with that terminal. I don't have expertise in ios app development and needed a terminal that I can integrate with my existing AWS API backend and my react site. For example, would BBPOS WisePOS E work with what I'm trying to achieve?

What are you working on?
A POS system for an upcoming Event to selling raffle tickets via tap on a terminal device.

#

@ivory crown pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Stripe subscription management,

I'm new to stripe I have setup a monthly subscription along with meter based subscription.

I want to know. best way to handle subscription status which is other than active and trailing

I want to know what will the best approach be handle the rest of status

Is there a flow to which I can redirect users to like setupIntent

I don't users who have not payed to access our web app

Question
How to handle failed payments and card declines?

What have you already attempted?
Went through the docs there it says to create a new setupIntent not clear on what the flow users will be like should I create a new page where users can pay the invoice?

What are you working on?
AI LLM chatbot similar to chatGPT

#

@shut vault pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
wallets: {
applePay: 'never',
googlePay: 'never',
},

Question
I've been able to disable apple and google pay card showing in the paymentElement.

I have Amazon Pay enabled too in the dashboard. How do I visibly disable amazon Pay?

What have you already attempted?
Tried entering
'amazonPay': 'never'

That did not work

What are you working on?
integrating Payment Element.

#

@slim nymph pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeInstance = window.Stripe('publishable_key', {
stripeAccount: 'stripeAccountid'
})
var paymentRequest1 = stripeInstance.paymentRequest({
country:
'US',
currency: 'usd',
total: {
label: 'Total',
amount: 100,
},
})
paymentRequest1.canMakePayment().then((result) => {
console.log(result)
})

Question
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard&lang=node#register-your-domain-while-using-connect
i have followed the steps mentioned in the above link to setup apple pay. i can see my domain is verified for apple pay. But still i am getting null when i running canMakePayment().

What have you already attempted?
Either you do not have a card saved to your Wallet or the current domain (bce1-2406-b400-b4-ed71-d89d-cdd5-5be5-5af6.ngrok-free.app) or stripeAccount parameter (acct_19o4IFJv9j0DyntJ) is not registered for Apple Pay.
"stripe_account_id": "acct_19o4IFJv9j0DyntJ"
Domain : https://bce1-2406-b400-b4-ed71-d89d-cdd5-5be5-5af6.ngrok-free.app/
i am already using https and same account is working for my another domain(https://gokulraj-test.chargebee.com).

What are you working on?
can you please help me understand what is the problem

cursive heronBOT
#

@frank canopy pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we need to monitor status of a refunds (if they were successfully completed, rejected, etc.), can you please point me to the right place in your APIs? I can't find it.

Related Request ID(s)
not sure

What have you already attempted?
looking at your documentation

cursive heronBOT
#

@wild patrol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have been trying to turn on Affirm payments for a connected express account but even after I turn it on, it doesn't show in FE where we are using Stripe Element. We don't send any payment configuration and just fetch the default one. Account: acct_1ObybpQYA30bCgTy

Related Request ID(s)
none

What have you already attempted?
Tried enabling capability for the account, also tried turning on display preference but it won't get visible

cursive heronBOT
#

@lunar surge pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=subscription

Question
How can I validate payment method, on server side ?

What have you already attempted?
I was looking in docs for something but couldn't find any.

What are you working on?
I need to validate payment method to server side. Right now i have creating subscription on server side, and adding payment method on client side, and when card is not correct i have problem.

#

@arctic aurora pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello!
I would like to allow users to subscribe to a monthly subscription for posting ads. This is clear how to do, Requirement is that you can post 10 ads per month, posted in 5 countires, and i create subscription charging user 10$ per month, reccuring.
Now, challenge i face is, that we shall add user additional service, by allowing him to post add in additional country $1 each country - he can add any number of countries.
If he decide later not to post in 5, but only in 3 countries, i need to handle that, and i dont know how to setup stripe product. What product i should chose? What is best pratcice? Please advise

Doc/Guide Links
https://dashboard.stripe.com/test/products?active=true&create=product&source=product_list

What are you working on?
Susbcrition to monthly posted ads across the globe.

#

@crude sky pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
i want help for stripe express checkout with magento 1.9

Question
i want to integrate stripe express checkout with magento 1.9

What have you already attempted?
stripe express checkout

What are you working on?
how i can integrate

cursive heronBOT
#

@storm olive pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am in the process of upgrading from Sources API to Payment Intents API. We mainly have SEPA direct debit customers (all via subscriptions)

I was wondering: existing customers that have a `default_source` set, will they still be able to be charged after august 15th?

This wasn't clear to me from the migration docs.

Related Request ID(s)
n/a

What have you already attempted?
For new customers or when people attach a new payment method, I've got things working, and I use "invoice_settings[default_payment_method]" on the customer to mark the newly set payment method as default.

However, we already have around 200 customers who are still on a "src_...." key. I was wondering what to do with those. Migrate, or just let it be for now?

cursive heronBOT
#

@merry sand pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When i try to make payment for new child from the same parent id then it will give me a response of invoice already paid

Related Request ID(s)
NONE

What have you already attempted?
trying updating the status of finalizeInvoice to open

#

@summer needle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
PaymentRequestButtonElement
@stripe/react-stripe-js

Question
Hello,
I have integrated apple pay / google pay via react-stripe-js and this doc. https://docs.stripe.com/stripe-js/elements/payment-request-button
Everything works, but I have on the same page as the Apple button another button that changes the amount of the transaction. Only the paymentRequest does not update and the amount does not change. What is the right method to modify the paymentRequest?

What have you already attempted?
paymentRequest.update({
total: {
label: 'Demo total',
amount: 2000,
},
shippingOptions: [
{
id: 'basic',
label: 'Ground shipping',
detail: 'Ground shipping via UPS or FedEx',
amount: 995,
},
],
});

What are you working on?
A payment page with Google Pay and Apple Pay

#

@ivory axle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm developing an application for an online school with tutors and clients booking appointments. We need a custom subscription system allowing clients to book appointments for specific days (e.g., every Tuesday and Thursday) and cancel individual appointments within the subscription period. Can PaymentIntent handle this automatically without client confirmation for every transaction? If it's not possible for 3DS cards, how can I ask to confirm payment using email?

Additionally, for paying tutors' monthly salaries based on my backend evaluation, should I use Stripe Connect or another solution?

Related Request ID(s)
-

What have you already attempted?
Read a documentation about 3DS, SCO, async/sync payments, subscriptions.

What are you working on?
Online school for ADHD children

cursive heronBOT
#

@light pivot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to programmatically create a Connected Stripe Account that can accept payments

Related Request ID(s)
req_yqli6vDvo4kFiD

What have you already attempted?
On my previous thread You suggested me to fill all the data. I did like that, but encountered an issue "You cannot accept the Terms of Service on behalf of accounts where `controller[requirement_collection]=stripe`, which includes Standard and Express accounts." Is there a way to accept it via API or render a component that will ask only the required things, because onboarding component overwrites my filled out test data. I cannot change the `controller.requirement_collection` property to `application`

What are you working on?
An integration that will allow create test sanbox account that can accept payments in one click

#

@plain turtle pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am developing a carpooling application integrating payments with stripe, but I have doubts about what is the best practice because the customer makes the payment and with stripe I want to automate this process so that the driver receives a part of the payment and the application the other, therefore I had thought of using the connected accounts, ie create a connected account related to the driver and another for company.

Doc/Guide Links
https://stripe.com/es/connect?utm_campaign=EMEA_ES_es_Google_Search_Brand_Connect_EXA_PHR-20820901853&utm_medium=cpc&utm_source=google&ad_content=682952125905&utm_term=stripe connect&utm_matchtype=e&utm_adposition=&utm_device=c&gad_source=1&gclid=CjwKCAjwnqK1BhBvEiwAi7o0XwWvKdsJRrjwONAjd5ASe07iuOIZjPwCpt3QLNSEhja-PmkmZKY4HhoCzLIQAvD_BwE

What are you working on?
develop carpooling aplication

cursive heronBOT
#

@hearty raven pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected the checkout session to show the name of the connected partner,

What actually happened?
it shows our platform's name.

Reproduction Steps
Our partner's are of type Standard, so I assume this is the culprit. But I thought there was a way to show the recipient of the payment as being the connected partner, as they are the ones receiving the payment. But it says our platform's name instead.

Question
Is there a way to make the platform's name appear in the checkout session?

#

@nimble moon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a best practice guide on mocking the event.complete value for the PaymentElement react component?

I have logic that is behind the value that I would like to test for but having trouble with how to properly mock the change event.

Doc/Guide Links
jest.mock('@stripe/react-stripe-js', () => ({
...jest.requireActual('@stripe/react-stripe-js'),
useStripe: jest.fn(() => mockStripe),
useElements: jest.fn(() => mockElements),
PaymentElement: ({ onChange }) => (
<div data-testid="payment-element" onChange={() => onChange({ complete: true })}>
Payment Element Form
</div>
)}));

What are you working on?
Unit testing

#

@velvet mist pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$.ajax({
url:"/st_init.php",
type: "post",
dataType: 'json',
op: "getSecret",
success:function( response ){
const stripe = Stripe('xxx');
const checkout = stripe.initEmbeddedCheckout({
clientSecret: response.clientSecret,
onComplete: () => console('good'),
});
checkout.mount("#stdiv");
},
error:function(err){
console.log(err);
}
})

Question
Hi,
I am having an issue mounting the payment div with the above code.

For some reason, checkout.mount("#stdiv"); gives me the following console error:
Uncaught TypeError: checkout.mount is not a function

I have the latest stripe.js loaded as well

I basically use an ajax call to a php script that gets the clientSecret from the stripe customer fine. This returns the clientSecret in the response because I can console.log clientSecret and it's applied.

What have you already attempted?
I can console.log(checkout) which gives me the promise object.

What are you working on?
trying to impliment a subscription payment solution on my web page.

#

@sonic arch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What should be the strategy of upgrading stripe-node SDK and its API version in a backward compatible manner?
I thought of keeping my old endpoints and create new ones with the new SDK (using a different instance) deploy the service and then switch the UI / gateway feature flag.
But if I upgrade the SDK many deprecated fields and functions will be missing, and I can't have both versions of the SDK.

Related Request ID(s)
.

What have you already attempted?
.

#

@autumn wasp pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to make Stripe Connect handle Stripe's fees?

Related Request ID(s)
req_cVfFRuUG0lbALr

What have you already attempted?
I want to do Stripe Connect handle Stripe's fee, how can I do?
My code is below.

What are you working on?
Doing payment intent.

#

@foggy tiger pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For memberships, is Stripe Subscription the right tool to use, given that I only offer fixed-term subscriptions? Specifically, is it possible to prevent a client from canceling a Stripe subscription (since they are contractually committed until the end)? In testing, I managed to create a subscription that seems suitable with 3 phases, but I am not sure if this is the right approach. I would prefer to have a single invoice with multiple payments applied to it, managed by Stripe. However, I saw in your documentation that this feature is only available in the USA, so I am looking for an alternative approach.

Doc/Guide Links
- Subscription API
- Test environments
- Stripe Connect onboarding
- Stripe Customer Balance
- Stripe Overview
- Stripe Connect Overview

What are you working on?
My application allows dog trainers (my clients) to sell their services to their own customers. These can be of two types: One-off classes (e.g., Class on Saturday 08) Access to classes in the form of memberships

#

@leaden nest pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Error: {"error":{"type":"invalid_request_error","message":"Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again."}}

Question
We are using the Stripe Payment Element and testing out the support for Apple Pay. Occasionally when we go to confirm the payment for Apple Pay, the Apple Pay modal does not open and we see that the following error displayed above is logged.

Is it a known testing issue that sometimes the Apple Pay modal will not open or is there a reason you know of that would be causing this error?

What have you already attempted?
We have ensured that the domain is verified and has the proper apple pay file and mentioned, we experience this sometimes but not always. Thank you

cursive heronBOT
#

@pure fiber pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Each dictionary in the list "icons" should contain a non-empty UTF8 string field "sizes".

Question
Why is it only showing Google Pay in my nextJS website?

What have you already attempted?
Everything...

What are you working on?
Express Payment System

cursive heronBOT
#

@rare tartan pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element/migration?lang=go#ready-event

Question
Can we update amount for express checkout element dynamically? I already had this function on payment request button, but I couldnt find it here. Is there any way to update the amount if the element already mounted?

What have you already attempted?
this.stripeElement.update({
amount: Math.round(val * 100),
})

tried this but still no avail.

still researching for solution.

What are you working on?
google pay payment

#

@ornate needle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a Stripe platform account, and using the platform API key, I have created a new connected account signup link. However, the link is only opening once. When I try to open it a second time, it directly goes to the refresh URL page.

Related Request ID(s)
req_siGBD1caHTD7fE

What have you already attempted?
Tried to set he expiration as well but still no luck

What are you working on?
Building the multi tenant application

#

@odd torrent pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are building a project where the payment of any said contract is to be funded in advance and is to be put on hold until a by-default period and then to be released one the time period is matured, there would be a possible where the user can ask for an early release and also where the user can submit a dispute in which case the payment can be released early or defunded respectively, can you please help to to gauge the feasibility here?

Doc/Guide Links
I was working on a platform that was providing this service with the help of Stripe can this be achieved without the platform involved

What are you working on?
-

cursive heronBOT
#

@hearty raven pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I was told that Direct charge + Standard account would show the connected account's branding on the checkout session, but I'm not seeing that.

What actually happened?
It still shows the platform's branding

Reproduction Steps
I create a Standard connect account in test environment, then create a payment link where I've commented out/removed the TransferData property with Destination. This is what the documentation suggests for a direct charge payment link, and I was told it'd show the connected account's branding in the session, but it doesn't.

Question
What am I missing? I've even added request options. Here's the payment link id plink_1PiEFk4MJNJUC53FixqkUxou

#

@spring mantle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, my business deals with subscriptions and invoices differently than what Stripe was designed for. Stripe creates a new invoice for each subscription billing period, and deals with payments separately for each one. However, my company treats subscriptions more like payment plans. Our customers can purchase thousands of dollars worth of product, and they can pay down that balance via monthly subscription payments. The subscription will automatically cancel after that time. I need an API solution for handling this.

Related Request ID(s)
n/a

What have you already attempted?
We have a webhook that auto-updates a customer's default payment method whenever they add a new one, & our smart retry is 8 times over 2 months. Where I'm struggling is how to consolidate their unpaid invoices into a sum of all the money they still owe us from the months they didn't pay (keeping it up to date with every billing period that's marked past due), with the goal of initializing a checkout session from our website to pay the remaining balance in full. I also need to update Salesforce statuses to "freeze" their service if a payment fails, and reinstate it when a retry succeeds.

What are you working on?
EasyExpunctions is a legal service that helps clear people's offenses from their criminal records. You just have to give us your name and DOB, and we will take care of the rest!

cursive heronBOT
#

@velvet mist pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const checkout = await stripe.initEmbeddedCheckout({
clientSecret: clientSecret,
onComplete: () => alert('Success'),
});

				// Mount Checkout
				checkout.mount\("\#st\-dropin"\);

Question
Hi, I am trying to style the payment element created using the code above for subscriptions only. I have multiple payment methods set in my dashboard however when the checkout is mounted i dont see the tabs etc.

I know you can do this with:
layout: {
type: 'tabs',
defaultCollapsed: false,
}

but im baffled how to add the option to stripe.initEmbeddedCheckout({})

What have you already attempted?
I've tried adding options which gave me a runtime error.

What are you working on?
I am trying to make a stripe embedded payment solution

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We transfer money from strips main account to issuing balance. I need to show if this transfer is pending or available but there are not any status fields on the transfer object, how can I know if it's pending.

Related Request ID(s)
a

What have you already attempted?
We transfer money from strips main account to issuing balance. I need to show if this transfer is pending or available but there are not any status fields on the transfer object, how can I know if it's pending.

cursive heronBOT
#

@pure fiber pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
./well-known/apple-dev...

Question
Why is it still saying that I have not verified it in my google console and safari when I have in Stripe?

What have you already attempted?
.

What are you working on?
Apple Pay

#

@sudden gulch pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the transfer_group property of the transfer.created event in one of my webhook to retrieve a paymentIntent using the paymentIntent ID that Stripe puts in the transfer_group property.

In most cases the ID starts with pi_ which is fine. But in some cases, the ID starts with py_. This breaks my application logic as py_ IDs don't seem to be paymentIntent IDs. So the Stripe SDK cannot retrieve a paymentIntent using an ID that starts with py_.

Related Event ID(s)
evt_3Peer4HBSdnTEMdF02aDxTmV

What have you already attempted?
I've read this doc (https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability) which says the following about the transfer_group property:

"If it doesn’t, then Stripe generates a string in the format group_ plus the associated PaymentIntent ID, for example: group_pi_2NHDDD589O8KAxCG0179Du2s. It assigns that string as the transfer_group for both the charge and the transfer."

What are you working on?
An affiliation platform which gives a commission to ambassadors when their affiliates buy a subscription.

#

@ivory axle pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method

Question
How to handle `authentication_required` error code properly?

  1. I plan to notify users via email and give them a link to unsuccessful payment. Is it safe to include client_secret in url query?
  2. The code example in checkout.js doesn't work. It works only if I provide `payment_method` inside `confirmParams` or if use elements, so basically get what user typed in form and, as I understand, create a payment method along with payment confirming. Otherwise, I got 400 Bad request with the following error message "You cannot confirm this PaymentIntent because it's missing a payment method".

What have you already attempted?
Try to recreate a flow from here:
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method

What are you working on?
Online school

#

@final ridge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
me bloquearon la cuenta y necesito reactivarla

What actually happened?
me cerraron la cuenta de stripe

Reproduction Steps
no me deja recibir pagos

Question
necesito soluciones urgente por favor

cursive heronBOT
#

@tame vessel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I test the Google Pay button on test mode

Related Request ID(s)
N/A

What have you already attempted?
When using setup intent it gives us a page where we have a Gpay button, how can I test that in test mode

What are you working on?
Discord bot dshboard

cursive heronBOT
cursive heronBOT
#

@median dome pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/error-codes

Question
When I try to pay an invoice for a customer with 3DS `tok_threeDSecure2Required`, a `Stripe::CardError` is raised with the error code `invoice_payment_intent_requires_action`. However, the invoice and error do not have any reference to the payment intent. Is there a way to get the ID of the payment intent that needs action without having to do an additional request to refresh the invoice?

What have you already attempted?
I've tried doing `invoice.pay({expand: ['payment_intent']})`. We're rescuing the `Stripe::CardError` and capturing it as `card_error` and `card_error.payment_intent` is `nil` even though this doc: https://docs.stripe.com/api/errors?lang=ruby#errors-payment_intent makes it seem like it should be populated.

What are you working on?
We're charging customer in the background using invoices, and need to handle cases where 3DS is required

#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to "Retrieve an upcoming invoice" and every time i retrieve the invoice the "amount remaining" is what the customer paid. In this case customer paid $50 for a subscription yesterday but this has not gone down even by a cent.

Related Request ID(s)
req_YL0Jyihu0AU2nc

What have you already attempted?
I have tried the same api but with different parameters. This one that i'm using has the following parameters. Customer, Subscription, Subscription_proration_behavior, Subscription_proration_date and Preview_mode

#

@blazing spoke pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"message": "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
How do I setup the frontend stripe elements to work with a setupintent created in the backend with financial connections permissions.

What have you already attempted?
I created a setupintent in the backend but when I do a stripe.confirmSetup in the frontend I get that error.

What are you working on?
An app that saves payment methods to be used for payments later on.

#

@fiery stirrup pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When using migrated payment method ba_1PaNGYDfcmTYbu9YdSOVNIWD for capturing Payment Intent pi_3PhvjuDfcmTYbu9Y0ruX2Qt8 we expected the process to succeed.

What actually happened?
An error was generated specifying the following: "This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter."

Reproduction Steps
Create an auto capture payment intent using that payment method.

Question
Why wasn't the mandate migrated?

What are you working on?
API integration and data migration from one Stripe Account to another.

#

@tranquil panther pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there no way to pull further information regarding payment method / info from a saved LINK payment method?

Related Request ID(s)
req_c6lf0AbYBWwiLt

What have you already attempted?
Inspected the retrieval of the Link payment method and I don't see any sign of a summary. But when loading the payment method element for the already signed in user, it shows their card ••••1234 Visa summary

cursive heronBOT
#

@velvet mist pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const options = {
clientSecret: clientSecret,
// Fully customizable with appearance API.
appearance: {/*...*/},
layout: {
type: 'tabs',
defaultCollapsed: false,
}
};

			// Set up Stripe.js and Elements to use in checkout form, passing the client secret obtained in step 5
			const elements = stripe.elements\(options\);

			// Create and mount the Payment Element
			const paymentElement = elements.create\('payment'\);

Question
Hi, does 3dSecure automatically happen if the abnk requests it? or do i need to add some 3dSecure settings to the element?

What have you already attempted?
Looking at documentation, it seems I have to do this for a session or intent.

What are you working on?
implimenting stripe payments over braintree.

#

@thorny hemlock pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I align the timing of subscription downgrades for multiple users as an application?
If I have two monthly plans and several users choose to downgrade, can I consolidate these requests and control which API to call and when to implement the downgrade?
The following month's payment must be downgraded and properly billed. How can we control this, taking into account the timing of payments?

Related Request ID(s)
req_c84aqIAYCn8TO9

What have you already attempted?
I have an image of using the following flow, but what exactly do I need to do?
docs.stripe.com
/billing/subscriptions/upgrade-downgrade#changing
/billing/subscriptions/billing-cycle#new-subscriptions

What are you working on?
Building subscription functionality for apps under development

#

@gleaming urchin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking for an endpoint that allows me to verify and authenticate credit/debit cards. We do not need payment processing, only the verification/authentication of the card.

Related Request ID(s)
Developer

What have you already attempted?
I know there is an API endpoint that can do this, but I don't know if it is meant to be used purely as a verification endpoint and will thus impact our metrics negatively.

What are you working on?
FintTech product

#

@slate sedge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://docs.stripe.com/connect/connect-embedded-components/quickstart?client=next

Embedded components _app.js & account_session.js

Question
Hello! I just have a quick question about this doc code and I did not see what I was looking for. My question is does the _app.js replace the index.jsx when I am setting up components? Because I don't see where the _app.js code connects to my index.jsx if not the case.

What have you already attempted?
I have tried to replace the index.jsx just to see and it did mot work.

What are you working on?
marketplace

cursive heronBOT
#

@dense pivot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have just received the following error from the payment_intents API:

This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter.

Related Request ID(s)
0

What have you already attempted?
This is for payment_method that used to be source and was "converted" by the migration tool yesterday

This was all working fine when we did our pre-migration testing

#

@gray nexus pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const result = await window.stripe.confirmSepaDebitPayment(
response.client_secret,
{
payment_method: {
sepa_debit: window.ibanElement,
billing_details: {
name: response.account_holder,
email: response.email,
},
},
},
);

Question
Is there a way to get a response for SEPA Confirmation or should I always lead it through?

What have you already attempted?
I already tried JSON.parse the http response, but the response is always undefined

#

@deep wedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I set a subscription duration in a checkout session?
We are using the stripe-hosted payment pages, by creating a checkout session. I would like to attach a duration (as you can when creating a subscription via the Stripe Admin Portal).
I believe this can be done in code using subscription schedules, but there doesn't appear to be a way to attach a subscription schedule in a checkout session.
Can I create a checkout session for a subscription which expires in one year?

Related Request ID(s)
req_NLk8jsSBdg1Mcx

What have you already attempted?
i have thoroughly read the subscription schedule documentation, the subscription documentation and the checkout session documentation. There doesn't appear to be a way to link them.

#

@solemn stirrup pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/identity/verify-identity-documents?platform=web&type=modal#handle-verification-events

Question
The documentation says that document results from identity verification are usually available immediately. Is there an average timeframe that we can base our delay on if we're waiting for a user to verify their information? 500ms? 5,000ms?

What have you already attempted?
The functionality hasn't been implemented yet. We have webhooks currently that handle identity verification outcomes, so this is a new flow we're hoping to implement soon.

What are you working on?
When new users enter our site, we're hoping to pre-populate form data for them from their documents using the verification outcome.

#

@nova egret pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to use a card token (`token_****`) and PaymentIntent API together. I got
```
A token may not be passed in as a PaymentMethod. Instead, use payment_method_data with type=card and card[token]=tok_1PiGIXENxjodxCKlXZ3PqfkJ.; request-id: req_6DvFTnRbBE4sfy
```
But stripe-java doesn't allow setting paymentMethodData[card]. Should I use the Charge API or use the escape hatch `putExtraParam`?

Related Request ID(s)
req_6DvFTnRbBE4sfy

What have you already attempted?
I used to use the Charge API but wanna use PaymentIntent

What are you working on?
payment integration with GFO, which only gives us card token

#

@simple relic pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
good morning
How can I send a payment link for a subscription to a product that is in the product catalog of a standard connected account?

Related Request ID(s)
good morning How can I send a payment link for a subscription to a product that is in the product catalog of a standard connected account?

What have you already attempted?
good morning
How can I send a payment link for a subscription to a product that is in the product catalog of a standard connected account?

What are you working on?
good morning How can I send a payment link for a subscription to a product that is in the product catalog of a standard connected account?

#

@fallow bobcat pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using stripe api in my application.
1 frontend angular (Ngx Angular)
2 Backend Nest.js ("stripe": "^15.7.0")

My code is working perfectly from test mode. But when I use live mode api keys I get this error

"No such PaymentMethod: 'pm_1PiIlHLK2TVZwhU0mt93gUx4'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs/connect/authentication"

I followed this url provided by stripe but still I am getting the same error

Related Request ID(s)
123456

What have you already attempted?
I have docuble check my live api on backend and frontend

I have added { stripeAccount:'aaaaaa' } to every stripe api

Still I am getting the same error

"No such PaymentMethod: 'pm_1PiIlHLK2TVZwhU0mt93gUx4'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account. Learn more at https://stripe.com/docs/connect/authentication"

What are you working on?
I would like to mention another thing

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to create custom receipts to send to customer when they make a purchase on an tap to pay app developed with stripe terminal using react native

Related Request ID(s)
a

What have you already attempted?
How to create custom receipts to send to customer when they make a purchase on an tap to pay app developed with stripe terminal using react native

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

We are currently offline for a break, we will be back at 1pm Pacific Time today. In the meantime you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@summer crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I cant retrieve setup_intent from the api in the checkout session. If I try the exact same request in the stripe cli it retrieves and expands the setup_intent. However using the go package v.79 the checkout_session leaves the field setup_intent null even if it is not. I am using the sk_test key. This is all in Mode Subscription however the same checkout_session ID in the dashboard and the cli retrieves the setup_intent

Related Request ID(s)
setup_intent

What have you already attempted?
i tried exporting the json response as a generic struct but again the field was not populated

cursive heronBOT
#

@autumn halo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want connect users to be able to make coupon/promo codes for certain products that they create and sell through my site (e.g. X% off this course product, only Y usages available). I transfer connect users a percentage of funds to their connect account every time someone buys their course product.

Related Request ID(s)
N/A

What have you already attempted?
Nothing, trying to figure out how to do this.

#

@ashen nova pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to fully delete a payment intent? I figured out how to cancel the payment intent, but is there a way to fully delete an intent so it doesn't clog up the dashboard?

Related Request ID(s)
req_8Q4ZNKw3MOcwR1, req_cbyGKbHtJH9qQb?

What have you already attempted?
I figured out how to cancel an intent, but looking online for how to delete a payment intent always leads back to canceling, I'm wondering if there is a full delete

What are you working on?
A custom checkout page using react-stripe-js and stripe connect

cursive heronBOT
#

@radiant sierra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're implementing affiliate payouts using Stripe Connect. We're using POST /v1/accounts, POST /v1/payment_intents, POST /v1/transfers, and POST /v1/payouts. Is this the recommended approach, or are there additional considerations or endpoints we should be aware of?

Related Request ID(s)
N/A

What have you already attempted?
We have set up the initial API integration using the endpoints mentioned. We are familiar with the account and payment flow setup and have referred to the Stripe documentation.

What are you working on?
We are building an automated payout system for affiliates based on purchases made through our platform, aiming for a monthly payout schedule.

cursive heronBOT
#

@gleaming girder pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Label text for the CVC field in the payment element 'CVC'

What actually happened?
Label text for the CVC field in the payment element 'Security Code'

Reproduction Steps
const appearance = {
labels: 'floating'
};
const elements = stripe.elements({ clientSecret: setupIntent.clientSecret, appearance });
const paymentElement = elements.create('payment',
{
defaultValues: {
billingDetails: {
name,
email
}
}
}
);
paymentElement.mount('#payment-element');

Question
I have playwrite tests where CVC field is to be filled. It's reached as stripeIframe.getByLabel('CVC'). I cannot change tests, and that expression was working fine yesterday. What has changed? Can I change the text of the labels in the payment element?

#

@real matrix pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a flow in our application where we update a receipts `receipt_email` to a new email after the `charge.succeeded` hook fired in order to get the api to send out the receipt to multiple emails (per our customers request to have the receipt sent to multiple emails). When I look at the payment page in the stripe console, I see that the receipt is sent to these additional emails, but not to the customers main email. Is it being sent and just not reported?

Related Request ID(s)
pi_2PhqvHFH8YjjVMbF1vxcfKh6

What have you already attempted?
N/A

cursive heronBOT
#

@kindred marsh pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When creating a payment intent with `setup_future_usage` set to `off_session` and using dynamic payment methods for my Connect accounts, I don't see Affirm as an option in the Elements React component even if the Connect account has Affirm enabled as a payment method.

As soon as I remove `setup_future_usage` when creating the payment intent, Affirm shows up.

Related Request ID(s)
req_YvghPScJ5VyXkG

What have you already attempted?
Attempted to add and remove the `setup_future_usage` flag.

#

@ivory socket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to archive or remove a product via the API?

Related Request ID(s)
req_nTz4RI9lEUqezP

What have you already attempted?
I've looked at the doc regarding Product and Price. The Product docs say I can only delete a Product if it has no Price associated with it, and there's no way to delete a Price.

What are you working on?
I am building a Stripe integration with Java for connected accounts. Our users generate custom products for each customer. I'm generating PaymentLinks, but that requires a Price for each line item.

#

@candid slate pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we adjust BankAccounts created through the legacy createStripeBankToken API to be used with PaymentIntents?

Related Request ID(s)
req_de5DQ9XRbFKEAN

What have you already attempted?
Currently, we create Bank Accounts through two different paths: createStripeBankToken for manually entered account and routing numbers and Plaid Link token exchange for all others.

The Plaid Link exchange BankAccounts work perfectly fine with PaymentIntents now that we've applied Mandates to the flow.

The createStripeBankToken BankAccounts, however, do not. We receive a
"resource_missing - payment_method
Only verified bank accounts can be used as a payment_method." error when attempting to use them with PaymentIntents.

Is there any way to make these BankAccounts compatible with PIs?

What are you working on?
We are a legacy Sources and Charges product moving to PaymentIntents.

#

@lime bear pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Stripe's own js code "jackrabbit" communicating with a terminal.

Question
We have a Stripe WisePOS E terminal (https://dashboard.stripe.com/test/terminal/readers/tmr_FqXwEwNaN8j3uZ) that when used from stripe.js shows the jackrabbit service failing continuously.

What have you already attempted?
We tried a different terminal (https://dashboard.stripe.com/test/terminal/readers/tmr_FqXueABZ0AAjoz) which works. Interestingly the failing terminal is on software version 2.24.2.0, and the terminal claims it's up to date, but the one that's working is on v 2.25.1.0. Why will the first terminal not upgrade to the newer software?

What are you working on?
QA on terminal features using Stripe test mode.

cursive heronBOT
#

@azure lagoon pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We had a payment fail after a request to subscription update to update the plan and prorate. We were expecting an `invoice.payment_failed` webhook to go out but we're not seeing any reference back to the invoice or subscription and we're having a hard time finding the correct data in our application. Do only thing I can think of is to look up the customer id and try to find the subscription/invoice there. Hopefully there's a better alternative.

Related Event ID(s)
evt_3PKAtME3c9sWyeru1ZJ60iRj, evt_3PKAtME3c9sWyeru1U72aEVX, evt_3PKAtME3c9sWyeru1UDbc6Sm, evt_3PKAtME3c9sWyeru1JdVB3aT

What have you already attempted?
pi_3PKAtME3c9sWyeru1Hc8Rf4I

cursive heronBOT
#

@modest rover pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Have clear documentation about what error is thrown when Verifone p400 is deprecated in October

What actually happened?
There is not existing documentation about it: https://support.stripe.com/questions/terminal-card-readers-end-of-life-status#:~:text=Verifone P400&text=October 1%2C 2024%3A end of,support or critical software updates.

Reproduction Steps
There is no a way to reproduce the issue

Question
What error will be thrown if you try to connect to a Verifone P400 reader after its deprecation in October.
I'm looking for what error is thrown on iOS and other SDKS

#

@mortal pecan pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need a way to understand which Stripe account a Webhook Event is related to, so that I can map the results to the correct customer in our backend. I am aware Stripe Connect Webhooks allows this, and includes an `account` field for the CONNECTED_ACCOUNT_ID. But this application does NOT use Stripe Connect. When the user signs up, they provide us with a Stripe Restricted API Key, which we then use to create a Webhook for them. I think it would be too cumbersome to re-implement with Stripe Connect atm. Is there an alternative way to know which Stripe Account a Webhook Event belongs to?

Related Event ID(s)
evt_3PhIOIKgMAuW4VJ10b97YzzP,evt_3PhIOIKgMAuW4VJ10ooHbx19

What have you already attempted?
I thought I could possibly add the customer's Stripe Account ID as `meta_data` when I create the Webhook for them. Then I could view it in the Webhook Event that I receive. But this doesn't work since they're two different objects and meta data is not transferred.

What are you working on?
A website that let's users trigger actions based on Stripe Events in their account.

cursive heronBOT
#

@cinder flower pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const initPaymentRes = await initPaymentSheet({
merchantDisplayName: 'Example INC.',
paymentIntentClientSecret: stripeConfig.clientSecret,
customerId: user?._id,
applePay: {
merchantCountryCode: 'GB',
cartItems: [{
label: 'Example INC.'
, amount: `${paymentDetails.cardPayment}`
, paymentType: PlatformPay.PaymentType.Immediate
}]
},
});

Question
Our app release on app store has been rejected. As per the Apple pay guidelines 4.9.0 Design, we have to show the "pay merchant name".
As per the stripe react native documentation, I have added cartItem with label to display. In this example "Example INC" in initPaymentSheet.
However this is not appearing on the payment sheet. Please help. My stripe setup is connected account.

What have you already attempted?
I have added the above code and tested in simulator, but unable to find the label as in the cartItems object. Please help

What are you working on?
Our react native app has been rejected due to Apple app store compliance as per Apple pay guidelines 4.9.0 Design. I am stuck at the moment to fix this issu

cursive heronBOT
#

@severe trellis pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How are shipping rates supposed to be implemented with multiple currency support?

Related Request ID(s)
req_JCEjWXR2YQI7pP

What have you already attempted?
Inline shipping object, inline order object, product price with multiple currencies

What are you working on?
E-Commerce solution for small business

cursive heronBOT
#

@ashen nova pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. Is there any way to get rid of this warning/error?

Related Request ID(s)
req_ymieAqNVlJhKNW, req_YlFIBxFQukyxqR

What have you already attempted?
Haven't really tried anything as I'm unsure if there is a way to pass loading=async to the API without digging into stripe's source code which I assume modification of fringes on legality

What are you working on?
A checkout page with react and stripe

cursive heronBOT
#

@gaunt hornet pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We are leveraging a Stripe Checkout webview for one of our features. We expect to see a LINK by Stripe option.

What actually happened?
When we open the URL on mobile safari, it shows the Link by Stripe option. However, when we open the url on a react native webview, it doesn't show.

Reproduction Steps
Open a checkout url on a react native webview, it doesn't show the LINK option.

Question
Is this a known issue...am I doing something wrong?

cursive heronBOT
#

@surreal spire pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, when withdrawing funds, we discovered that a large portion of the funds had been reserved. Could you please explain under what circumstances the funds in a sub-account would become reserved? How can we make these funds available for use?

Related Request ID(s)
"request_log_url":"https://dashboard.stripe.com/acct_1OFSxVPD7DQ3UOh8/logs/req_Kf2NEI0f8JXJpy?t=1722389404","type":"invalid_request_error"}

What have you already attempted?
no

cursive heronBOT
#

@winged nexus pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Tried to apply for an extension for the Stripe Migration using the workbench and trying to look for the insight tab described here:
https://support.stripe.com/questions/can-i-request-a-migration-extension

What actually happened?
The Insight tab didn't actually exist and I can't apply for an extension

Reproduction Steps

  1. Visit this link mentioned in the blog: https://dashboard.stripe.com/sources-migration
  2. Expand workbench console.

Expected:
The Insights tab to the right of the Logs tab
Actual:
Insights tab isn't there.

Question
How can we get an extension for the Stripe Source Migration.

What are you working on?
Trying to migrate to Payment Intents.

cursive heronBOT
#

@lucid cairn pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to expand webhook properties. For example, to get the charge and balance transaction details from an Invoice.Paid webhook message?

Related Event ID(s)
N/A

What have you already attempted?
Webhook details don't contain info on the properties that I need.

What are you working on?
Using stripe for SAAS.

cursive heronBOT
#

@obtuse yew pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<script>
$(document).ready(function() {
// Show loader initially
$('.payment-loader').removeClass('hidden');
$('body').addClass('checkout-loader')
const stripe = Stripe('{{ config('services.stripe.key') }}');
const csrfToken = "{{ csrf_token() }}";
let elements;
let clientSecret;
initialize();
checkStatus();
// Event listener for form submission
$("#payment-for

Question
I made payment yesterday from apple pay everthing is working fine but now apple pay not showing is there any reasaon please

What have you already attempted?
10

What are you working on?
payment issue

#

@languid rampart pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to verify an individual personal account using the last four digits of the SSN. However, in US account test mode, it always shows as unverified. When I go to the dashboard, it asks for the full SSN, but my four-digit SSN is correct. Why is it not being verified?

Related Request ID(s)
acct_1PiUL3QRtNUWASvL

What have you already attempted?
i have a dashboard click on create account once it is created then add the person it unverified with 4 ssn and same from api's

What are you working on?
First, if the full name and last four digit of assessment are verified, then there is a no need for full assessment and other documents to be uploaded. Second step is if any one of these... If first s

#

@trail beacon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are currently on a stripe connect express account and moving to connect standard. We also use stripe embedded checkout right now. Is this something that will work with connect standard accounts or do we need to do some special configuration here?

Question
we found some documentation which says

The connected account is responsible for their own PCI compliance. hence You cannot use your platform's Stripe.js or Elements implementations for the connected account. is this something that applies here?

What have you already attempted?
we are trying to understand what changes we need to make

What are you working on?
we are a donation platform for nonprofits to connect to their donors

#

@tough iron pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I just want to create payment intent with payment method id that i have attached with customer on test account but when i try to make payment intent it returns no such payment method exists

Related Request ID(s)
payment, payment Intent, payment methods

What have you already attempted?
intent = stripe.PaymentIntent.create(
amount=amount,
currency='usd',
automatic_payment_methods={"enabled": True},
payment_method="pm_1PiCUAIVe59rJLuC9unelV39",
customer='cus_QZHHoahyb1qbfA',
confirm=True,
return_url = return_url
)

What are you working on?
how can i make payment with payment method id's that is attached with customer

#

@bitter hornet pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
var tokenOptions = new TokenCreateOptions{
Card = new TokenCardOptions{
Name = Convert.ToString(dtstatus.Rows[0]["first_name"]) + " " + Convert.ToString(dtstatus.Rows[0]["last_name"]),
Number = Convert.ToString(dtstatus.Rows[0]["decrypted_card_number"]),
ExpYear = Convert.ToString(dtstatus.Rows[0]["decrypted_expiryYear"]),
ExpMonth = Convert.ToString(dtstatus.Rows[0]["decrypted_expiryMonth"]),
Cvc = Convert.ToString(dtstatus.Rows[0]["decrypted_CVV"]),
}};

Question
{
"status": "Failed",
"remarks": "Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.",
"transactionId": null
} i'm getting this error while checking api in postman. To solve this kindly suggest.

What have you already attempted?
i'm taking input from user via mobile app of credit card details and pass it to our project's api then same data passes to stripe api.

What are you working on?
stripe charge service (with credit card)

cursive heronBOT
#

@slate sedge pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! I have created a stripe connect onboarding flow and I want to know what is the best practice to add a I believe it is called a application fee. I want to take 10% if every product sold.

Doc/Guide Links
Do not have a doc to provide.

What are you working on?
Marketplace

cursive heronBOT
#

@willow phoenix pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, is there any chance, the payment succeeded and user got redirected to return_url (since I am using embedded checkout session) but the webhook will be delayed? I'm looking for a way to let the user know the payment succeeded so that he will not have an option to pay it again, but since the webhook is delayed I can't confirm. Can you please advise on the Stripe recommended way?

Related Event ID(s)
Nothing

What have you already attempted?
This is a conformation

What are you working on?
Integrating stripe to renew subscriptions. Subscriptions are handled by us, not by Stripe

cursive heronBOT
#

@wintry furnace pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm testing Apple Pay and Google Pay in test mode with my real wallet, it works normally

Question
How can we test to trigger error like failed payment with Apple Pay and Google pay ?

What have you already attempted?
Successful payment with the wallet

#

@tropic lance pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Upgrade of the Newtonsoft.Json.dll shall not impact the Stripe.net.dll functionality and backward compatible.

What actually happened?
After the upgrade, not able do payment. If I downgrade back the Newtonsoft.Json.dll to the older version, there is not issue. Appeared error 'The type initializer for 'Stripe.StripeConfiguration' threw an exception'.

Reproduction Steps
Upgrade the Newtonsoft.Json.dll to 13.0.3, unable perform payment with payment element.

Question
I upgraded my application Newtonsoft.Json.dll from 9.0.1 to 13.0.3 for security purposes. I am expecting that I have no issue upon perform payment with the payment element.

What are you working on?
Maintaining application

#

@ivory axle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```js
async function confirm() {
const {error} = await stripe.confirmPayment({
clientSecret
confirmParams: {
payment_method: 'payment-method-of-user-from-the-server', // HERE
return_url: 'http://localhost/complete',
},
});
}
confirm();
```

Question
Page with this code will only be opened for `PaymentIntent`s, which cannot be confirmed automatically with the following options.
```php
'off_session' => true,
'confirm' => true,
```

Is it okay to provide `payment_method` from back-end to stripe.confirmPayment() method on front-end? Because I don't want to force users to write again their payment data, but I just want they confirm current payment due to 3DS.

What have you already attempted?
Follow the doc:
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method

What are you working on?
Online school

cursive heronBOT
#

@summer crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a large List of products that I want a coupon to apply to. The list exceeds the limit 100 set by the API.
How would I go on about this

Related Request ID(s)
Dashboard > Product Catalog > Coupons

What have you already attempted?
Tried the Update field but it only allows for the metadata to be updated

#

@summer needle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentRequest.update({
total: {
label: 'Demo total',
amount: 3000,
},
} as PaymentRequestUpdateOptions);

Question
For an integration of the apple pay google pay button via react-stripe-js. The paymentRequest.update function does not seem to act on the amount.

What have you already attempted?
When I click on the payment button I always have the initial amount of the first rendering of the button and not the one updated by the paymentRequest.update function

What are you working on?
Payment Page

#

@deft field pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would need your expertise to know how to process properly on my system a SEPA direct debit transaction. If the SEPA will last for 20 days until sent and the buyer can not authorize it in the meantime and at any time, how should I process the order?

Related Event ID(s)
evt_3PiXAWHOIYOWUkWU0t7qg4O2 , evt_3PiXAWHOIYOWUkWU0gJeKqub , evt_3PiXAWHOIYOWUkWU0CKrzuST

What have you already attempted?
We do not know how to proceed.

What are you working on?
b2b emarket for farmers selling their products. It is critical to send the products as soon as the payment is processed (for them not to get wasted) so we dont know how to proceed with SEPA

#

@violet arrow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have transferred the amount from parent account to one of CONNECT account, under payments listing of connected account am able to see it, but it does not have metadata that I included while transfer. How to update PAYMENT object. py_12344

Related Request ID(s)
Dashboard > Developer

What have you already attempted?
I have tried updating the charge, payment intent but nothing worked.

What are you working on?
I need to store some data from my DB inside metadata of payments object

cursive heronBOT
#

@torpid igloo pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working on resetting the balance of our connected accounts. We are using Express Connect, and I want to reset all of our accounts and set their balance to 0.
The issue is that, some of those people had different currency than our EUR that we use, so I end up in a situation where I need to do transfer reversals for example in EUR, but the connected account balance is in CHF.
I can't really set it to 0, I am always doing some mistakes, and I want to avoid this, especially if I make a mistake and go to negative

Doc/Guide Links
https://docs.stripe.com/connect/account-balances

What are you working on?
What would be the best way to reset the balance to 0 in the more accurate way?

#

@distant sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payments made with apple pay are creating new 'card' payment methods and attaching them to the customer every time a payment is made with apple pay.

Related Request ID(s)
n/a

What have you already attempted?
I implemented some code recommended by one of your developers that sought to solve an issue where methods created on native did not enable the allow_redisplay property, and so they wouldn't show up on the payment element in web. When a payment was confirmed, we would access the newly created payment method, and update it's allow_redisplay property on our backend. I noticed that when payments were made with apple pay, a new 'card' payment method was created each time, so I removed it. The problem persists, the change I made would have explained it but with it removed i'm not sure where to look.

cursive heronBOT
#

@hushed lily pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a payment intent api, how to save the invoice or receipt after a successful payment?

Related Request ID(s)
req_xZJ0jz6OGZ1ZQj

What have you already attempted?
https://api.stripe.com/v1/payment_intents?amount=5100&currency=EUR&customer=cus_QXvOPbkqtukYBi&off_session=true&confirm=true&payment_method=pm_1PiXmpRudNHJ72xwBcQFecfm&receipt_email=cyril@lowcode.com&invoice_create=true

What are you working on?
A payment for my app.

#

@trail beacon pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using stripe connect standard do we * always * have to create the customer, subscription, product and pricing in the standard connect-ed account or we can accomplish the same in the platform account also using the on_behalf_of parameter?

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

What are you working on?
we are building a platform for nonprofits to collect donations from their donors

#

@kind skiff pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Upgrade of the Newtonsoft.Json.dll shall not impact the Stripe.net.dll functionality and backward compatible.

What actually happened?
After the upgrade, not able do payment. If I downgrade back the Newtonsoft.Json.dll to the older version, there is not issue. Appeared error 'The type initializer for 'Stripe.StripeConfiguration' threw an exception'.

System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or on

Reproduction Steps
Upgrade the Newtonsoft.Json.dll to 13.0.3, unable perform payment with payment element.

Using: .NET framework 4.8

Question
I upgraded my application Newtonsoft.Json.dll from 9.0.1 to 13.0.3 for security purposes. I am expecting that I have no issue upon perform payment with the payment element.

Also, Can you please suggest a workaround for us to resolve the issue.

We have tried for the BindingRedirect, is not working.

What are you working on?
Maintaining application

#

@cinder flower pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const initPaymentRes = await initPaymentSheet({
merchantDisplayName: 'Example INC.',
paymentIntentClientSecret: stripeConfig.clientSecret,
customerId: user?._id,
applePay: {
merchantCountryCode: 'GB',
cartItems: [{
label: 'Example INC.'
, amount: `${paymentDetails.cardPayment}`
, paymentType: PlatformPay.PaymentType.Immediate
}]
},
});

Question
Our app release on app store has been rejected. As per the Apple pay guidelines 4.9.0 Design, we have to show the "pay merchant name".
Adding merchantDisplayName as 'Example INC' is not reflecting on the payment sheet. It's not doing anything. Its only defaulting
to my app name. It's not setting 'Example INC' as per above code.

What have you already attempted?
I tried work around of using CartSummaryItem and it's not also
reflecting. As per the stripe react native documentation, I have added cartItem with label to display. In this example "Example INC" in initPaymentSheet.
However this is not appearing on the payment sheet. Please help. My stripe setup is connected account.

What are you working on?
Our react native app has been rejected due to Apple app store compliance as per Apple pay guidelines 4.9.0 Design. I am stuck at the moment to fix this issu

#

@wild patrol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to show ACH account balance but we use deferred payment intent. PI is only created when user clicks on submit button and confirm is called. So, how can I know the FC id, if I want to know the balance when PI is not created?

Related Request ID(s)
none

What have you already attempted?
Looked into docs

#

@crude sky pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
i need help for how to show express checkout buttons on cart page from stripe in magento 1.9

Question
i need help for how to show express checkout buttons on cart page from stripe in magento 1.9

What have you already attempted?
i need help for how to show express checkout buttons on cart page from stripe in magento 1.9

What are you working on?
i need help for how to show express checkout buttons on cart page from stripe in magento 1.9

cursive heronBOT
#

@tepid verge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you do an invoices upcoming api call with a customer negative balance ?

Related Request ID(s)
req_8Rugb6Na7y0Aq6

What have you already attempted?
I tried using discounts with promotion_code, but for subscription and multiple promo code with same amount, using this doesn't quite fit our use case.
So i turn myself to customer balance and i can't find how to properly handle such balance when doing invoice upcoming call (which we use as a preview call to show our customer how much they will pay).

What are you working on?
I'm working on a discount system based on customer discount eligible/usage tracking.

#

@covert bear pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a payment link that handles subscription payments and in this link i add an advanced custom field called Company
and i listen to customer.subscription.created webhook but i cant get this Company field
So where can i find it please ?

Related Event ID(s)
evt_1PiXSmHJtnzEu7FhRsq2lNfI

What have you already attempted?
I am tryin to access the custom field (Company)

#

@tawny aurora pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I import Paypal payment methods to stripe?

Related Request ID(s)
req_KU7QV9cMdlAreG

What have you already attempted?
I have collected PayPal Email and PayPal Billing Agreement ID from braintree. I want to create a payment method from this information.
https://docs.stripe.com/api/payment_methods/create

What are you working on?
Migating paypal payments from braintree to stripe

cursive heronBOT
#

@boreal adder pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
transfer payments to Australian users' bank

Question
How to transfer payments to Australian users' bank accounts through the API (in node.js) feature (e.g., withdrawing users' funds).

What have you already attempted?
please tell me what the is process.

#

@covert bolt pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/get-started/data-migrations/sepa-imports

Question
We are a e-commerce platform and are planing to implement a membership feature for existing customers. They already have members who pay yearly fees with SEPA mandates. We want to import them in their accounts (stripe connect) and also accept new subscriptions. We could not find anything in the docs if we can do the import on behalf of our customers? We currently handle billing ourself. Is it necessary to use stripe Billing to create subscriptions? Are there any pitfalls along the way you can think of?

What have you already attempted?
We are about to create an proof of concept and are investigating possibilities.

cursive heronBOT
#

@feral sun pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! How do i get the payment update link on a subscription? Say the payment fails (card expires) and I want to grab and store the payment update link outside of Stripe. How would I do that? Is there an endpoint i just can't find? Is it even possible?

Related Request ID(s)
not sure

What have you already attempted?
Looked through the api docs, and searched. I found something about payment links, but it doesn't seem to be the same as subscription payment update links

What are you working on?
A link between Zoho CRM and Stripe. I want all the subscription info from Stripe to be available from within Zoho CRM, without the user need to ever leave Zoho CRM

cursive heronBOT
#

@rapid solstice pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I wanted to test something on the webhook event - external-account.updated which is called when the bank information changes for a connected account. But turns out there is no way on test mode, where we can change the bank info, so I don't know how to test it

Related Event ID(s)
No related event id as I am unable to test it in dev

What have you already attempted?
I have tried changing the payout information but failed to do so, it asks for permissions which I don't have currently. How can I still test this webhook event?

What are you working on?
I want to send a message to the office in case their payout information gets change as part of the risk mitigation

#

@lunar reef pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using checkout session object for subscription. intially I am getting card details empty. but next time same with email also I am getting card details field empty. I need to get previously used card details.

Related Request ID(s)
req_lrrU0ggBx5aYOS?t=1710501275

What have you already attempted?
I am using checkout session object for subscription. intially I am getting card details empty. but next time same with email also I am getting card details field empty. I need to get previously used card details.

What are you working on?
I need to get previously used card details on checkout session object

#

@wary sparrow pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For a project i need to bill users based on the time they have been renting a place. Typically the rent time is about 5h. I have a hourly rate so for example $2/h. The problem i am facing is the following: As i don't know the amount i will be billing before the user ends the rent i need to authorize the payment method with a specific amount and then at the end only take so much as the rent cost. But how do i decide what amount to authorize at the beginning? Because i can't really know how long the user is staying it is hard to find an amount that doesn't scare the user away because of how high it is. What is the solution for this? Somehow incrementing the amount during rent?

Doc/Guide Links
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

https://docs.stripe.com/payments/incremental-authorization

https://docs.stripe.com/payments/overcapture?locale=de-DE

What are you working on?
A Bike renting System.

cursive heronBOT
#

@steady oriole pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using next js 13 with typescript ,
getting error when trying to add stripe account session create api

Related Request ID(s)
no

What have you already attempted?
nothing

What are you working on?
I need to fix this type error of balance

cursive heronBOT
#

@humble jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, is there any official documentation regarding Stripe’s default sorting logic for the subscription list (/subscriptions) and the subscription schedule list (/subscription_schedules)? Additionally, can we rely on this sorting behavior to be consistent over time?

Related Request ID(s)
req_pU78FPPAvP7QIa

What have you already attempted?
Found some information online thats it is sorting by `created` from newest to oldest, but nothing official from stripe and we are not sure whether we can rely on that.

#

@subtle rose pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { paymentIntent, error } = await retrievePaymentIntent(
response.data.client_secret,
);

              if \(error\) {
                    throw error;
              }

              const collectResponse = await collectPaymentMethod\({
                    paymentIntent,
              }\);

              if \(collectResponse.error\) {
                    throw collectResponse.error;
              }

Question
when sending a payment to the reader, in the reader it is getting 1/100th of the amount. i.e if i send 500, i receive 5 in the reader

What have you already attempted?
chacking the values with the api, seems to be accurate

What are you working on?
app

#

@calm forum pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi we are using Stripe's invoice feature to allow our end users (connected accounts) to send invoices to their clients. Currently the standard 2.9% is applied.

In what way could I add a 1% fee on top of this to be sent to our stripe balance. Is there a straightforward approach that I am not seeing?

Related Request ID(s)
n/a

What have you already attempted?
Looking through documentation I can see I can use on_behalf_of but I don't think this helps in this case

#

@lunar surge pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Created subscription in inactive status

What actually happened?
Subscription was created with active status

Reproduction Steps
Created an subscription with promotion code that has 100% discount.

Question
How to create subscription in inactive status and change that status after FE sends stripe.ConfirmSetupIntent

What are you working on?
I'm trying to create inactive subscription till user inputs card details, after that active subscription

#

@twin badger pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Creating a link with type account_update is not possible after finishing onboarding for Standard account. Any explanation why?

Related Request ID(s)
Not seeing the id of request in accounts

What have you already attempted?
I tried finishing onboarding process and then to generate the account_update link but it always reported as 400 and that my only possibility is to create a link with type account_onboarding.

What are you working on?
Integrating payments for meeting

#

@rapid pivot pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
x (twitter) premium payment error

Question
i can't get a premium subscription on the x platform, formerly twitter. finally, my renewed subscription has been canceled and the fee has been refunded. I don't know why this is happening, but I can't contact the twitter support team. when I want to re-subscribe, I get a rejected error with all my cards. my-email: goktasinan@icloud.com

What have you already attempted?
but I can't contact the twitter support team

#

@honest sparrow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I represent the company Solidpixels, which implements your payment gateway for our customers. My inquiry concerns the change in information submission, where it is now necessary to include the cardholder's name - effective from tomorrow, August 1, 2024.

My question: If we do not send this information, will the transactions be declined?
We are having difficulties contacting a few clients and obtaining approval for this adjustment. Therefore, I would like to inquire about the potential risks if the adjustment is not made in time.

Thank you.

Related Request ID(s)
none

What have you already attempted?
none

#

@distant marsh pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have following case how i can fix this

I have connected account now i want to charge subscription based on product

now i want to charge vender with following price
12 * 25 = 300
now i need to pay 4 * 25 = 100 to my connected account and 8 * 25 = 200 to stripe account

i am passing application_fee_percent while creating subscription but problem is that application_fee_percent not allowing me to add more than two decimal points because of this

Related Request ID(s)
in_1PicHvGas8wwyOqgZHNG2w3G

What have you already attempted?
i am passing 66.67% than it is transaction 200.01 to stripe and 99.99 to connected account

#

@rapid solstice pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Question
I wanted to test something on the webhook event - external-account.updated which is called when the bank information changes for a connected account. But turns out there is no way on test mode, where we can change the bank info, so I don't know how to test it

Related Event ID(s)
No related event id as I am unable to test it in dev

What have you already attempted?
I have tried changing the payout information via api (
result, err := account.Update("", params) -> gives me this error message - "message":"This application does not have the required permissions for the parameter 'external_account' on account
) or directly on the stipe dashboard as well. It says I don't have enough permissions, but I am not sure which permissions do I need for test mode accounts

What are you working on?
I want to send a message to the office whenever the connected account's info changes

#

@thorn edge pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What sort of changes does `invoice.updated` get sent on? Would this fire for the same changes that would trigger, e.g., `invoice.paid` or `invoice.voided`? Or does it only fire for changes made to fields in a draft invoice?

Related Event ID(s)
n/a

What have you already attempted?
This is a question regarding webhook event behavior, which I'm asking because the docs aren't explicit. I have not yet tried to observe the behavior directly, as that would potentially take more time that just asking the question of someone who already knows.

What are you working on?
I'm writing an integration between Stripe and an accounting SaaS. I want to create/update/delete invoices in my SaaS in response to invoices changing in Stripe.

#

@cunning saffron pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$paymentIntent = PaymentIntent::create([
'customer' => $customer->id,
'amount' => 4900,
'currency' => 'usd',
'payment_method' => $payment_method_id,
'setup_future_usage' => "off_session",
'confirm' => true,
]);

Question
When creating a Payment Intent On server Side do the always throw an APIErrorException if they do not return status 'succeeded'? I need to know because I have to handle some internal application logic. I am following finalize payment on server side guide if that helps.

What have you already attempted?
-

#

@hushed jasper pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the recommended way to confirm that a paymentIntent was successfully created/confirmed? That is to say, a payment was charged successfully?

Related Request ID(s)
NA

What have you already attempted?
Response from the paymentIntent query or doing a retrieve on the payment after the fact and getting the status?

What are you working on?
Ecommerce site

cursive heronBOT
#

@neon anchor pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are trying to implement STRIPE TO PAY FOR IOS and we have this error. Can you help and tell us how to fix it please?

Question
We are trying to implement STRIPE TO PAY FOR IOS and we have this error. Can you help and tell us how to fix it please?

What have you already attempted?
We are trying to implement STRIPE TO PAY FOR IOS and we have this error. Can you help and tell us how to fix it please?

What are you working on?
We are trying to implement STRIPE TO PAY FOR IOS and we have this error. Can you help and tell us how to fix it please?

#

@cosmic pine pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const submitResult = await elements.submit();

Question
this line sometimes is able to open the apple pay modal, sometimes it isn't (it's working 20% of the time on iphone). We cannot figure out how to have apple pay 100% of the time. By credit card is working 100% of the time

What have you already attempted?
Re-init the payment intent at each try, changing stuff inside PaymentElement options.
If the modal shows up and you cancel the first apple pay payment, then the modal never shows up again. But if you plug in your iphone to the mac, and inspect the page on safari web inspector, then apple pay is working 100% of the time. You can cancel the payment and open the apple pay modal again and again how many times you want.

cursive heronBOT
#

@wide gazelle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I retrieve the "bank name" for the bank transfer IBAN / funding instructions?

Related Request ID(s)
req_sXc5wBc0xeScHW

What have you already attempted?
We currently show the bank name as part of SEPA Credit Transfer and would like to show it to the customer after we migrated as well. I don't see it being part of the Funding Instructions object: https://docs.stripe.com/api/issuing/funding_instructions/object

What are you working on?
Migration from SEPA Credit Transfer to Bank Transfer for off_session payments

#

@waxen citrus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I cant find the right docs to create a subscription directly with multiple phases

Related Request ID(s)
-

What have you already attempted?
I created a subscription and attached a schedule afterwards

What are you working on?
Subscription with two phases (3 Month monthly payment - afterwards annually payment)

#

@brisk goblet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A customer who purchase my service must first do a one-shot deposit and pay monthlies. Is the Subscription object the best way to handle this?

Related Request ID(s)
Theoretical question

What have you already attempted?
No trial yet.

cursive heronBOT
#

@vale quest pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a platform (like Uber) where I would like to pay drivers after a trip is completed or I receive that payment and can pay the drivers when they want to withdraw their earnings. Is there a possibility for this where I get to pay the drivers without them actually having an account with stripe?
my developer said this is not possible as the drivers need to have an account with stripe before I can pay them. I just want a solution where I can just pay the drivers to their bank account without them having to have an account with stripe.

Related Request ID(s)
nil

What have you already attempted?
tried integration but it’s not achieving what I want

What are you working on?
ride sharing platform (like Uber)

#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, i've used the API "retrieve an invoice" call to let the user see a preview of their proration and as well see what the cost is going to be on their new upgraded plan before they confirm but every time i get a number it is always different from what they pay for.

Related Request ID(s)
req_1mxOVriStvAw57

What have you already attempted?
I'm using Retrieve an upcoming invoice, Lines, First Items Amount which gave me back $49.90 (the plan cost $50) and now the new plan they are trying to enroll in cost $585. I did the math to show the customer $585 -$49.90=$535.10 but it charged the customer $533.88.

What are you working on?
I am trying to have the user be able to upgrade their membership and see a preview of what the cost is going to be with prorations.

#

@wary sparrow pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Earlier today i asked someone how i would approach increasing the authorized amount for a bike renting service that has a hourly rate to be updated. After helping me out i was told that i could do this with Cron Jobs. The question i now have is wether Stripe has a solution for executing a script for a specific payment intent at specific times?

If not what would be the recommendation of Stripe, so you don't unnecessarily execute cron jobs without there being a payment intent to be updated?

Doc/Guide Links
https://docs.stripe.com/payments/incremental-authorization

What are you working on?
Bike rental system.

#

@sharp siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, an API related question - could the `outcome` field on a charge object be `null` at the moment of receiving the `payment_intent.payment_failed` webhook?

Related Request ID(s)
req_ONOZj6mNHSPyjb

What have you already attempted?
Tried fetching the charge object at the time of receiving the `payment_intent.payment_failed` webhook, but sometimes it's not returning anything (could be a problem in the application code)

#

@tawny zenith pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best way to charge a connected account with a specific amount? We run a tournament software and we collect a $5 per registration. There are players do didn't register and are going to be using our software. We want to be able to charge the connected account for those unpaid players.

Related Request ID(s)
NA

What have you already attempted?
Tried looking for a way to charge in stripe

What are you working on?
Tournament registration app

cursive heronBOT
#

@slate sedge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const applicationFeeAmount = 0.10; // 10% fee

    const stripeSession = await stripe.checkout.sessions.create\({
      success\_url\: \`${process.env.NEXT\_PUBLIC\_SERVER\_URL}/thank\-you?orderId=${order.id}\`,
      cancel\_url\: \`${process.env.NEXT\_PUBLIC\_SERVER\_URL}/cart\`,
      payment\_method\_types\: \["card"\],
      mode\: "payment",
      metadata\: {
        userId\: user.id,
        orderId\: order.id,
      },
      line\_items\: line\_items,

Question
Is it possible to pass the applications fee amount as a % other than just for say $1, $2 dollars?

What have you already attempted?
Here is my req: req_KTODSeyu3xQ4Yg

What are you working on?
Marketplace

#

@winged niche pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using Express Checkout Element along with Payment Element.

I'm trying to achieve a layout similar to the hosted checkout with Apple Pay at the top of the rest of the form.

How can I ensure I input an email and full name when accepting apple pay/ express payment?

Doc/Guide Links
https://docs.stripe.com/payments/elements

My form looks like this currently: https://imgur.com/a/9GjyPfd

What are you working on?
Payment Form

#

@waxen citrus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting client_secret from scheduled subscription.

Related Request ID(s)
-

What have you already attempted?
const scheduleSubscription = await stripe.subscriptionSchedules.create({
customer: customerId,
start_date: 'now',
end_behavior: 'release',
phases: phases,
});

What are you working on?
Subscription with two phases

cursive heronBOT
#

@civic river pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Webhook | Metadata not showing after subscription checkout

Question
Hi, when attempting to pass metadata in a subscription checkout, although no errors are seen, the webhook result doesn't have the metadata.

What have you already attempted?
I've attempted watching some YouTube videos, but they don't seem to help.

What are you working on?
Discord bot checkout

#

⛔️ 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.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@marsh nest pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?lang=curl#fixed-fee-and-overage-model

Question
The checkout page created by following this guide (i.e., a checkout session created with a line item for each of the two prices) is kind of messy and convoluted, and I worry that will confuse our users. It would be easier to reference a screenshot, but:

  1. We would like to present this to users as a single subscription (the text at the top of the checkout page says "subscribe to code push and 1 more", where code push is our product)
  2. The prices each appear as their own line item. A way to consolidate them would be nice.

What have you already attempted?
I've also tried creating a tiered usage-based price where the first 50k units cost a flat fee and we charge per-unit after that. This worked better than the guide, but the checkout page said "$0 due today", presumably because that price configuration would only charge the $20 fee after the first meter event was reported.

What are you working on?
Code push for Flutter (Shorebird)

#

@vital bough pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
router.post('/create-checkout-session', async (req, res) => {
try {
// Simplified userId retrieval
const userId = req.session.user._id;
console.log('User ID from session:', userId);

// Simplified Stripe customer ID retrieval
const stripeCustomerId = req.session.user.stripeCustomerId;
console.log\('Stripe Customer ID from session\:', stripeCustomerId\);

// Create Stripe checkout session
const session = await stripe.checkout.sessions.create\({

Question
I am sending this code to Stripe , but the metadata is not attaching and when the webhook comes back it is throwing off my handling without the userId in the metadata.

What have you already attempted?
I logged the userId and the stripeCustomerId in the endpoint before placing both in the api call to Stripe and both log correctly. The stripeCustomerId comes back correctly in the webhook payload. I cannot figure out why the userId won't pass through as metadata.

What are you working on?
a neighborhood loyalty app

cursive heronBOT
#

@lunar harness pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why my webhook is not being called? I recently created a webhook to a product subscription, im handling the event with "checkout.session.completed", when it triggers it should update the users status, when i try it in the localhost with the CLI it works but when i switch to production it stops working

Related Event ID(s)
evt_1PijAAKPhhZi6zQe9zORjep7

What have you already attempted?
I already test it in localhost with the CLI and it works fine, but when i switch to production it doesnt work.

What are you working on?
Im Learning Stripe's API

#

@blazing spoke pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Am I able to create a us bank account payment method using PaymentCreated if I pass in the account number and routing number?

Related Request ID(s)
n/a

What have you already attempted?
Currently using SetupIntent, but I want to create bank account payment methods manually by passing in the account information.

What are you working on?
Building and integration that will require users to make payments on their accounts using cards and bank accounts.

cursive heronBOT
#

@lilac rose pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For the issuing_authorization.updated webhooks, there is never a difference between the contents of data.object.transactions and data.previous_attributes.transactions. If a new transaction is added to the auth, the previous attributes field also has that new transaction. Is this going to be fixed, so that the transactions array actually shows the previous state of the field?

Related Event ID(s)
n/a

What have you already attempted?
https://docs.stripe.com/api/events/object#event_object-data-previous_attributes

What are you working on?
Reconciliation of Treasury balances

#

@winged nexus pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Tried to apply for an extension for the Stripe Migration using the workbench and trying to look for the insight tab described here:
https://support.stripe.com/questions/can-i-request-a-migration-extension

What actually happened?
The Insight tab didn't actually exist and I can't apply for an extension

Reproduction Steps

  1. Visit this link mentioned in the blog:
    https://dashboard.stripe.com/sources-migration
  2. Expand workbench console.
    Expected:
    The Insights tab to the right of the Logs tab
    Actual:
    Insights tab isn't there.
    I realized it's only for the US account and not the HK account if that makes sense below are account IDS:
    US: acct_1H762LESKyUFpjEu
    HK: acct_1D2A76FxXXOt2kiQ

Question
How can we get an extension for the Stripe Source Migration.

What are you working on?
Trying to migrate to Payment Intents.

cursive heronBOT
#

@uneven valve pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
checkout_session = stripe.checkout.Session.create(
payment_method_types=['card', 'wechat_pay', 'alipay', 'amazon_pay', 'klarna', 'us_bank_account'],
ui_mode='embedded',
payment_method_options={
'wechat_pay': {
'client': 'web'
},
},
line_items=[
{
'price': price_id,

Question
We are using an embedded stripe form. We want all the options to be in the list, but for some reason Amazon Pay is appearing as a separate option at the top of the form.

What have you already attempted?
Reordering the list, checking docs.

What are you working on?
Checkout page for our product.

cursive heronBOT
#

@ivory socket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to generate a negative line item in a checkout session. It shouldn't be labeled 'discount' or 'credit'. I want to provide my own name and description and have it show as a subtraction from the total.

Related Request ID(s)
req_gEobRTROWbCrMJ

What have you already attempted?
I tried setting the price_data with a negative number for the price and it threw an exception "Could not create session: Invalid non-negative integer; request-id: req_gEobRTROWbCrMJ"

What are you working on?
Building a Stripe integration with Stripe Connect.

#

@lunar harness pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im using the "stripe.identity.verificationSessions.create" method, I just want to know if there's any way to get the users name/birthdate after the verification?

Related Request ID(s)
idk

What have you already attempted?
I already have the verification implemented, how can i get the info?

What are you working on?
Personal project

#

@teal crane pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We monetize instant payouts for our connect clients. We have 3 account types where 2 of them charge 2% instant payout fees. We have set this from the stripe dashboard. However one of our plans we do not want to charge any instant payout fees. How can we do this?

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

What are you working on?
Building a in person payments platform

cursive heronBOT
#

@fallen tangle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking to create subscription that'd have the following properties:
- it has a start date in the future (say August 20th)
- it bills monthly
- it has an achor date on the 2nd of the month (Sept 2, Oct 2, etc...)
- it has an end date (say June 10)

e.g I would like to be able to schedule the subscription/subscription schedule now, have it start on Aug 20th, prorate the charge until Sept 2nd; continue charging monthly until June 2nd; and issue a final prorated invoice for June 2 - June 10th.

What is the best way to model this?

Related Request ID(s)
req_EKc8o3PIcFG24h

What have you already attempted?
I think I need to use subscription schedule because I cannot start an ordinary subscription in the future. However, I cannot use billing_cycle_anchor_config in a subscription schedule.

Can you advise on how to best model this?

cursive heronBOT
#

@true stag pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to catch errors for if a card exp or cvs is incorrect? I"m using confirmCardSetup but it's going through to success even with those fields being incorrect.

Related Request ID(s)
req_f2aqgdBm7sUKJI

What have you already attempted?
I checked confirmCardSetup doc https://docs.stripe.com/js/setup_intents/payment_method but since the checkout is succeeding I don't know where to look to see how to catch incorrect exp date or cvs

What are you working on?
wordpress checkout plugin

cursive heronBOT
#

@dark flower pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way I can retrieve events near real-time without using a webhook?

I want to use the confirm return URL to process the Stripe Elements payment(backend servlet). The event object is convenient because of charge.success or charge.capture event. There no search events to filter and must be done manually. When the Return URL finishes, the parent payment page is submitted so I need that data saved before the next page is executed.

A Webhook likely will be too slow and the browser will return back to the payment page because the payment was saved in the database despite processing one.

Related Event ID(s)
Events

What have you already attempted?
I will have to retrieve the payment intent and then the payment methods if I can't easily find the Events object I'm looking for.

What are you working on?
A brand new integration with Stripe Elements and JS front-end and Java servlet backend

cursive heronBOT
cursive heronBOT
#

@rugged yacht pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe test clock invoice paid event not created

Related Event ID(s)
sub_1PibirD3eW4CYo1p2A9XQWwM

What have you already attempted?
I want to use the test clock, and I set the simulation time to one of the subscriptions. It creates the events in the desired time but I only get a draft invoice event, the invoice didn't become paid. But I need a paid invoice event to test my application, how can I get it?

#

@fallen tangle pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Follow-up on this convo:

#dev-help message

Related Request ID(s)
evt_1PipN2KGiMOAr4gsFWi2RnYw

What have you already attempted?
I have created a stripe schedule subscription, but I can't make the first period be prorated. Can you let me know how I can make the first invoice end on Sept 2 (instead of the end of the month?)

cursive heronBOT
cursive heronBOT
#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to create usage records in bulk.

Related Request ID(s)
none

What have you already attempted?
I currently create usage records for all my customers separately but as the customer base grows, I'm required to make way too many API calls to Stripe. Is there a way to just update usage for all in a single bulk API

#

@lilac sphinx pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I know I can use Stripe Elements to build a form for collection of billing information (address, city, country etc) and card details. However, I can not find a way to retrieve order summary before the user goes to the checkout (including tax, if applicable) and discounts (if coupon code is added). This information will be displayed on Checkout, but I'd like to display this before as well, like WooCommerce does before you finish your order. I would also like to use embedded checkout, and not the hosted checkout.
My payment model is: Customer has organizational units to group hosted sites; these units always have a single subscription; subscription has multiple hosting plans.

Doc/Guide Links
https://docs.stripe.com/payments/payment-element
https://docs.stripe.com/payments/checkout

What are you working on?
I'm working on a payment flow for selling hosting plans using subscriptions (monthly, annually). Customer should be able to add at least one hosting plan to his subscription, and all plans would be billed at the same time.

cursive heronBOT
#

@crisp falcon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to handle SCA flows on subscription creation where the subscription is setup to charge immediately without webhooks?

Related Request ID(s)
req_mnncuSssFR2I4A

What have you already attempted?
Read this doc talking about the Requires Action flow on subscriptions: https://docs.stripe.com/billing/subscriptions/overview#requires-action

What are you working on?
Setting up Subscriptions with SCA support

#

@ashen glen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have Wordpress website and using Amelia plugin for my reservation product. Amelia plugin has Stripe payment integration service. I was testing using test api keys and the 4242 credit cards and everything is good. But when I switch using live keys and live credit card, I keep getting this error "No such paymentmethod: 'pm_1PiqtbIexcXPrpIBYe2wKztZ'; a similar object exists in test mode, but a live mode key was used to make this request." I am not entirely sure why??

Related Request ID(s)
req_mj2KV6CddsAUJr, req_e1qO6e7JFUxKE5, req_PpnnXOG1ok2179

What have you already attempted?
I double checked on the keys to see they are correct. I created another secret key. I rolled the published key

What are you working on?
I am trying to accept payment in my website

cursive heronBOT
#

@chrome sable pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I set up a recurring subscription using a Stripe Terminal reader for in-person payments? What are the necessary API calls and best practices for implementing this feature?

Doc/Guide Links
https://docs.stripe.com/terminal/payments/collect-card-payment
https://docs.stripe.com/terminal/overview

What are you working on?
I'm developing a point-of-sale system for a business that needs to offer in-person subscription signups. We want members to be able to register and set up recurring payments using our Stripe Terminal readers at the front desk.

#

@ashen nova pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there anything specific I have to do to setup link? Is it just based on email?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
A checkout form with react-stripe-js

cursive heronBOT
#

@stuck tundra pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to create subscription with trial period, and that trial period should start after a particular future start date. While creating subscription manually, I can see option to edit both the start date and trial period days. But while creating the subscription via create subscription API, I can only find field related to to trial period days but no field related to start date so that we can get the subscription in not_started status as while creating manually. Please help me to achieve this with API.

Related Request ID(s)
N/A

What have you already attempted?
Already mentioned in the question. I'm able to create subscription via API with trial period but not able to start that trial period of subscription on a particular date.

#

@velvet mist pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

I have created a subscription on php using $stripe->subscriptions->create

and obtained the client secret using $subscription->latest_invoice->payment_intent->client_secret;

I then mount the payment element using:
paymentElement.mount('#payment-element');

This displays the payment element which i fill in with the card details etc.

When I press the submit button, i use event.preventDefault() in the form handler

At this point, i'm confused how to I process the payment and come back to this script to handle additional none stripe actions without using a return_url.

Can this done?

Related Request ID(s)
prod_QXaoDpiXNxRdfb

What have you already attempted?
checkStatus();

async function checkStatus() {
const clientSecret = new URLSearchParams(window.location.search).get(
"payment_intent_client_secret"
);

if (!clientSecret) {
console.log("no client secret yet!");
return;
}

const { paymentIntent } = await stripe.retrievePaymentIntent(clientSecret);

switch (paymentIntent.status) {
case "succeeded":
console.log("succeeded!");
break;
case "processing":
console.log("processing.");
break;
case "requires_payment_method":
console.log("not successful");
break;
default:
console.log("Something went wrong.");
break;
}

What are you working on?
trying to impliment stripe to process a subscription payment and carry out automated setup tasks when comeplete.

cursive heronBOT
#

@native crypt pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, i am using payment element to create a payment form inside page. I have added paypal and apple pay but i cannot see it on the page.

Related Request ID(s)
N/A

What have you already attempted?
I have added it in the panel

cursive heronBOT
#

@twilit ruin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
why the bank account holder name is coming null in response of get account details api, I have used test bank account while creating stripe account.

Related Request ID(s)
no

What have you already attempted?
created stripe account with test bank account

#

@sonic arch pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm writing tests for my application integration with Stripe, including the webhook.
I have simulated a checkout session and executed it (using puppeteer) and I want to assert my database state after the webhook handler has completed.
Is there a way to verify the status of a webhook and make assertions once its status is completed successfully?

Related Event ID(s)
.

What have you already attempted?
.

#

@neat dawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have issue with the changing subscription date with adding trial days and proration_behavior = 'create_prorations' currently it is working fine when the last invoice was paid but when the last invoice unpaid it is working wrong because it is applied the last invoice unused time amount for credit the next amount which is wrong because the last is not paid

Related Request ID(s)
sub_1PiuFUB2BzF6ryro7ua1DfGl

What have you already attempted?
Hello, I have issue with the changing subscription date with adding trial days and proration_behavior = 'create_prorations' currently it is working fine when the last invoice was paid but when the last invoice unpaid it is working wrong because it is applied the last invoice unused time amount for credit the next amount which is wrong because the last is not paid

#

@dark flower pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using Stripe Elements with a Java server backend. I'm new to Stripe.

User already entered their address on website so I don't want to ask them to enter it again. I currently am hiding the billing address fields so that address data is now required to process the payment.

I am using card payments only and there's no card type for payment method data. Can't I partially complete the payment_method and elements adds the card object to the payment intent?

How do I add the existing billing address to the payment intent (Java)?

Related Request ID(s)
Elements API

What have you already attempted?
I attempted -

PaymentIntentCreateParams params = PaymentIntentCreateParams.builder()
.setPaymentMethodData(PaymentIntentCreateParams.PaymentMethodData.builder().setType()
.setBillingDetails(PaymentIntentCreateParams.PaymentMethodData.BillingDetails.builder().setAddress(
PaymentIntentCreateParams.PaymentMethodData.BillingDetails.Address.builder().setLine1("123 Fake St").setCity("Hoffman Estates").setState("IL").setPostalCode("60169").setCountry("US")
.build()).build()).build())

I get a Missing Type error but none of the available types is card

What are you working on?
A new Stripe integration using Java Servlets, Javascript, Elements without Checkout

#

@subtle rose pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await discoverReaders({
discoveryMethod: 'bluetoothScan',
});

Question
is it possible to use tapToPay and terminal reader at once?

What have you already attempted?
noting

#

@brave kelp pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
payment_failure_refund

Question
My customer has a balance transaction of type payment_failure_refund. I want to support it in my application. To do so, I need to reproduce it on dev first, but I can't manage to do so.
How can I produce this type of balance transactions in my test-account? (via cli or dashboard)

What have you already attempted?
I tried to recreaten this via CLI, but could not find correct endpoints.
I tried to create it from the dashboard as well, but I get an error when I try to make a test payment with sepa_debit

What are you working on?
A tool that syncs data between stripe and an accounting tool

cursive heronBOT
cursive heronBOT
#

@fallow vortex pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
My account is going to close and I need some more infos

What actually happened?
Before Stripe contacted me and asked me for Legal information, everything was fine. Then I got a few payments rejected, and they closed my account without telling me exactly why that happened.

Reproduction Steps
Openned my accout, I started to get money in, then a few payments were rejected for one specific person. That person tried again and again, with 6 rejected payments, then my account got closed.

Question
Why exactly my account got closed? Can I do anyhing to reopen it? What should I do to avoid this in the future? Thanks.

cursive heronBOT
#

@narrow pier pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a problem with the funding instructions linked to a customer, the iban is generated and we receive money on it but sometimes the money never arrives and is sent back to our customer.

What could be the problem?

Related Request ID(s)
Dont have, the money doest arrive on stripe

What have you already attempted?
Nothing the money doest arrive on stripe

What are you working on?
Marketplace where vendors sell products

#

@clever fox pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
HTTP/1.1 402 PaymentRequired
{
"error": {
"message": "Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_fcQSFvle4ebb8h?t=1722506284",
"type": "

Question
I want to test de API in free version but I can't create a payment method because its sensitive info, even when I use the test data in stripe documentation

What have you already attempted?
I've been reading all documentation and attempted all forms of request, with various test numbers, but i've always got the same error

What are you working on?
Intern at an company, I'm testing de api for research

#

@snow mortar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to use stripe-connect where connect-users are paid manually rather than based on transactions?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
I'm looking to build an application which has a monetization model similar to how youtube works. Users watch videos, and we keep track of the watch-time and how much creators are to be paid

cursive heronBOT
#

@west pendant pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
stripe fees volumes billing

What actually happened?
what is that i don’t know there is fees on volume transaction processed. i don’t found any documentation or text explain that

Reproduction Steps
go on my account Decibell.org

Question
Where are they calculate ? I need more informations

#

@true viper pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public PaymentIntent createPaymentIntent(Long finalAmount, String customerId, boolean saveCard) {
Stripe.apiKey = StripeKey;
PaymentIntentCreateParams.Builder paramsBuilder = PaymentIntentCreateParams.builder()
.setAmount(finalAmount)
.setCurrency("usd")
.addPaymentMethodType("card")
.setCustomer(customerId); // Associate the PaymentIntent with the customer

    // If saveCard is true, set setup\_future\_usage to 'o

Question
how can i extend the payment hold to 30 days and also if i want to extend the hold payment again till 30 days how can i do that

What have you already attempted?
Hold the payment manual

#

@cloud sedge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For our SaaS we have a range of Stripe products on three tiers, one product for each currency / tier combination each with their own price object.
We would like to instead define one product for each tier and move users to those on their next renewal, each with a custom price and currency (set using price_data on subscription api endpoint).

Need to know whether moving a user between products like this will work, or do they have to re-enter card details or give any other permission. Also the new price charged may be a little higher, but they will be warned via mail 30 days before.
Thanks

Related Request ID(s)
None

What have you already attempted?
Reading the API docs doesn't seem to disallow this but it is not particularly informative in this area.

What are you working on?
Streamlining our number of Stripe pricing plans.

#

@echo pulsar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We've got invoices setup and have been using them for a while now. We recently switched to using the issuer param when creating an invoice to send as a connected account setup on our platform. However we are getting an error back that "The `customer_balance` payment_method_type is not supported for the country of your account."

I've checked the settings of the connected account and the account is GB which is the same as our platform account which accepted this payment type.

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

What have you already attempted?
I've checked against a connected account using our dev account and invoices are created with this option set. Checked the settings of the connected account and country appears to be set correctly

cursive heronBOT
#

@finite cloak pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to store the Failure fee amount that happens when the SEPA payment fails, but I do not see it on the payment object or anywhere else, where can I find it ?

Related Request ID(s)
stripe.paymentIntents.retrieve()

What have you already attempted?
looked at payment, charge, and transaction balance objects

cursive heronBOT
#

@keen coral pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For our website, we have a subscription model where users can upgrade their subscription from monthly to yearly. We need to ensure that the yearly subscription is activated only after the monthly subscription ends. Could you please clarify the flow for this process and for webhook, which event will trigger for the activation of the yearly subscription?

Related Event ID(s)
null

What have you already attempted?
i want to know the process and event.type

What are you working on?
subscription model

#

@vivid comet pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why do I have so many clients with the "card_velocity_exceeded" error?
Is it possible that the API is sending too many requests?
I have it connected with webhook

Related Request ID(s)
GET /v1/payment_intents/sub_1Pit2h00OAJbSYHzPlBwHERP

What have you already attempted?
I have a webhook whith my program, this is the first time that excute my code. I don´t know because don´´t found. I need help

What are you working on?
I am the developer

#

@rancid grotto pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Fraudulent. It's asking for more letters and I am giving that because that seems to best fit my situation.

Question
I got an email saying that there were fraudulent payments towards my account, and it gives me no information on how to fix this issue beyond contacting support. My email is trmarcinek@gmail.com and the account is under Thomas R Marcinek. According to the app my account has been shut down though I can still access it, I would like to fix this as soon as possible.

What have you already attempted?
I have not attempted anything because I am simply uncertain what is being asked of me and how to fix this. I then later got an email saying that payment of ch_3PinwABqjZKrCaym1BOnrqvC would be delayed but this number does not match any payments I have. I suspect this whole issue is about how someone tried to make payments to me but had difficulty doing so and thus multiple false attempts, but I spoke to them about this and they were confused why it didn't work on their end.

What are you working on?
I use Stripe to accept payments on Ko-fi for writing commissions.

#

@pearl gyro pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Dear Sir/Madam,

We have a situation where we performed SetupIntent with a 3DS credit card.

The setup intent was successful and we proceeded to create a subscription with SetupIntent's payment_method as 'default_payment_method'.

The subscription was created properly but payment intent was created with null payment_method. Thus, the subscription is in 'Incomplete' status.

Is it an expected behaviour?

Related Request ID(s)
req_5WSzKJ9El9t8y4, req_rXWpiHX4S0JINH, req_vEZ9zGqvfbdJaM

What have you already attempted?
I have tried without setting 'default_payment_method' for create subscription, it works only if the customer has a default payment method in their invoice settings.

What are you working on?
A seamless sign-up process where the user selects plans and pays via credit

#

@neon anchor pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are implementing Stripe to pay and we have developers in multiple geographical locations that are not in the allowed countries list for the live state of the app BUT for the development (not live) this should be working. There are hundreds of thousands of developers in all the other countries. How can we fix this issue please?

Question
We are implementing Stripe to pay and we have developers in multiple geographical locations that are not in the allowed countries list for the live state of the app BUT for the development (not live) this should be working. There are hundreds of thousands of developers in all the other countries. How can we fix this issue please?

What have you already attempted?
We are implementing Stripe to pay and we have developers in multiple geographical locations that are not in the allowed countries list for the live state of the app BUT for the development (not live) this should be working. There are hundreds of thousands of developers in all the other countries. How can we fix this issue please?

What are you working on?
TAP TO PAY IOS

cursive heronBOT
#

@brisk nymph pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When creating checkout session via api, the card details updated by user is getting default for the customer but not for the subscription

Related Request ID(s)
evt_1PiyARGVCe8mF8QWvf7sCkIN

What have you already attempted?
$this->stripe->checkout->sessions->create([
'payment_method_types' => ['card'],
'billing_address_collection' => 'required',
'success_url' => {{$url}},
'mode' => 'setup',
'setup_intent_data' => [
'metadata' => [
'customer_id' => $stripeId,
'subscription_id' => $subscriptionId,
],
],
]);

#

@rose gyro pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to add another company stripe account into my connected account? They already have a stripe account, they are asking to add instead of giving bank or debit card details? I need to perform transfers from my stripe account to their stripe account.

Related Request ID(s)
Team

What have you already attempted?
Attempted to add stripe account ID in Custom and Express. But still not getting an idea of how to do it without Bank Transfer or Debit Card.

What are you working on?
Still checking to add other company stripe account id in my connected account

cursive heronBOT
#

@soft olive pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
preferredNetwork should be either [VISA, MASTERCARD or CARTE_BANCAIRES

What actually happened?
preferredNetwork was null

Reproduction Steps
```js
const onSubmit = () => createPaymentMethod({...}).then(console.log)
return <StripeProvider>
<CardField postalCodeEnabled={false}/>
<Button onPress={onSubmit}>Confirm</Button>
<StripeProvider/>
```
@stripe/stripe-react-native: 0.38.3

enter card: 4000 0025 0000 1001 | 04/44 | 444
select a card brand (Visa or CB) and confirm

Question
how can I get the preferred network ? I've tried with preferredNetworks but it only give me one of them not the one selected by the user.

What are you working on?
Old application for telecommunication clients that need updates

#

@orchid sphinx pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
when call like this:
```
await this.stripe.subscriptions.create({
currency: GBP,
...
})
```
stripe eventually returns price.currency: 'usd'.

Related Request ID(s)
si_QZqN3qI46P4Wlq

What have you already attempted?
checked the contract with stripe api and params that I send.

What are you working on?
issue on sub management page where renewal price is in different currency than used when subscription was bought

#

@sonic arch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm writing an integration for my payment service with Stripe using `connect`.
I'm wondering how to collect application fees when using destination charges (using `Checkout`).
What are the differences between `payment_intent_data.transfer_data.amount` and `payment_intent_data.application_fee_amount`?

Related Request ID(s)
.

What have you already attempted?
I have to calculate both of them, for the first case I'm calculating the fees and find it difficult to track down the transfers

cursive heronBOT
#

@magic matrix pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 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.initialFiat.toLowerCase(),
amount: 100, // Default data to render element
})

Question
I have enabled apple pay and google pay and my domain is also verified. There is not google or apple pay options in checkout form.

What have you already attempted?
I have read docs.

What are you working on?
Financial app

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how to know if a transfer from stripe's main account to a connected account is pending

Related Request ID(s)
a

What have you already attempted?
how to know if a transfer from stripe's main account to a connected account is pending

cursive heronBOT
#

@golden spade pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm coding checkout using Subscriptions and Card Element (possibly updating to Payment Element) for a SaaS website. Current flow is:

1) User clicks "checkout" button in cart, takes them to "contact info form" page. This is submitted via POST to backend.
2) Backend creates a Customer and a Subscription. Backend redirects to a "payment form" page with a hidden input containing the client secret.
3) JavaScript gets the client secret and calls `stripe.confirmCardPayment`

Question: Can stripe.js to redirect on success? My "Payment form" doesn't actually have anything to submit to the backend.

Related Request ID(s)
N/A

What have you already attempted?
I can POST submit the "payment form" and redirect to a "checkout done" page, but I was wondering if Stripe could handle the redirect just to make sure the form doesn't get submitted while the CardElement has errors (since the CardElement isn't actually part of the form and doesn't validate with the form).

I'm not sure what best practices is. I could include the "Success" message as `display: none` on the "payment form" and then reveal them on Stripe success, but this doesn't feel as correct as redirecting.

What are you working on?
Subscription checkout for SaaS website.

cursive heronBOT
#

@sinful warren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there! I'd to know whether it is possible to make a stripe checkout form using payment element and and do not show country select etc. If I use card element, will I have an ability to add other payment methods like PayPal and cart element under it?

Related Request ID(s)
API

What have you already attempted?
I have looked for solutions in docs

What are you working on?
I'm working with Stripe API

cursive heronBOT
#

@bleak zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I apply one time Dollar Amount based Discount to a invoice or subscription ?

Related Request ID(s)
in_1Pj0qODn6CAQGXZn1EEaEDxI

What have you already attempted?
I look the Discounts field but could not understand how it works, I do not have coupons to apply, etc... I want to apply a one time POS discount based on dollar amount.

What are you working on?
POS for a Gym

#

@primal prawn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can Stripe provide an IBAN hosted page where the IBAN can be filled but any payment completed

Related Request ID(s)
any

What have you already attempted?
nothing

What are you working on?
registering customer IBAN

#

@fiery stirrup pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/radar/rules?locale=en-GB

Question
Are card validation rules applied again when processing a payment even if the Payment method was created before the validation rule was in place? Ex. Postal Code validation radar rules

What have you already attempted?
We tried processing a payment with a cc created before the rule was created but then failed when processing a payment when the rule was validated.

What are you working on?
API Integration

cursive heronBOT
#

@delicate snow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to disable 1-click section opening automatically, when we enter security code?

Related Request ID(s)
#123234342

What have you already attempted?
I have found the option to disable it entirely, I don't want to disable it, i just want it to open if someone click on 1-click link

#

@bronze gulch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a timeout for payment intents?

Related Request ID(s)
pi_3Pj1XbFWDzkv7M4T0N3VRztW

What have you already attempted?
Closed the screen when I was asked to confirm the payment intent

What are you working on?
Creating a food order and waiting for payment to be confirmed

#

@barren zinc pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When creating a subscription with pay_immediately set to false, is there still some sort of preauthorization that's done to ensure A the payment method is valid and B the funds are available?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
We're adjusting our checkout flow to avoid instant invoice finalizaiton, this will allow Avatax to apply tax to invoices prior to the first payment being made.

#

@safe fiber pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Did Stripe ship a change to proration calculations yesterday?

Related Request ID(s)
req_76K56hfWLkO8H2

What have you already attempted?
we have automated tests that make direct calls to stripe to ensure our calculations are expected. last night they started failing consistently by being off by 1 cent. this is an old request with the old value that we based our expectations off of req_AcjHRuSDlPA68L

What are you working on?
dealing with a automated test that inspects proration amounts from stripe

#

@steady oriole pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need help of getting payment failed

Related Request ID(s)
req_D3fVNHQtopfwK6?t=1722528942

What have you already attempted?
no attemp

What are you working on?
I have integrated woocomerce on the wordpress and it was working for all other customer but for this customer getting this error. Can you tell me details why this is fail

#

⛔️ Stripe developers aren't currently available on Discord

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

We are currently offline for a bit, we will be back at 1pm Pacific Time today. In the meantime you can contact Stripe support for help.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

cursive heronBOT
#

@golden spade pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to understand circumstances where it would be appropriate for customer's to have multiple subscriptions, given that my understanding is that only one subscription can be paid for at a time using the PaymentElements

Doc/Guide Links
Been reviewing the PaymentElement docs

What are you working on?
A SaaS website that contains both 1) different types of data access and 2) tiers within the data (e.g., you can buy data "By Region" or "By Industry," and those are split into "One Region/Industry" and "All Regions/Industries."

#

@lunar harness pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can i access "Date of birth" in the verification results?

Related Request ID(s)
.

What have you already attempted?
Im already getting all the results but the date of birth and selfie

What are you working on?
personal project

#

@slate sedge pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello I just want someone to glance over my stripe session I have just created just to make sure I did it right!

Doc/Guide Links
I will post my full code below if that is fine! ThanksQ

What are you working on?
marketplace

cursive heronBOT
#

@ember sentinel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi quick question about receipt email delivery behavior:

## Background
Given a customer is subscribed to a recurring subscription
And their collection method is configured to `send_invoice`
And (via the API) I create / finalize an invoice for that subscription

## Questions
When the customer pays the invoice

  1. Will Stripe automatically send a receipt email to the customer's email (i.e. `customer.email`)?
  2. Should I expect to see an activity stating "Invoice receipt was sent to {customer.email}"?

Related Request ID(s)
in_0PhpyKFH8YjjVMbFSUmigs8h

What have you already attempted?
I have read the docs related to receipt emails. I think the answers to my questions are:

  1. Yes.
  2. Not sure.

What are you working on?
We use invoicing to support a platform that helps journals peer-review and publish open access articles online.

#

@main meteor pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're trying to integrate Stripe into Manaflow via Stripe apps so we can call Stripe APIs on behalf of our customers, but we're stuck on this error message:
```
Request failed, status=400, body={
"error": {
"message": "9:Because your account is a Connect platform, you cannot choose the public distribution at this time.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_Xvzm33AESoXZ1R?t=1722325356" ,
"type": "invalid_request_error"
```

Related Request ID(s)
Our account id is acct_1PQa3RGhInAdn3Jb

What have you already attempted?
Tried using stripe apps upload, found a post on stackoverflow that said we needed to contact support.

What are you working on?
I'm working on Manaflow

cursive heronBOT
cursive heronBOT
#

@ivory socket pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I set a hosted invoice not to display the "already paid" line, and not to display the quantity for a particular line item? Alternative, can I set the "already paid" amount myself?

Related Request ID(s)
req_17Jh7VOhBIiEV9

What have you already attempted?
I'll attach a screen shot, but I am trying to work around Stripe's inability to accept partial payments. To this end, I am generating negative line items on a Stripe-hosted invoice to represent amounts already paid. But it looks funny to have a line item for already paid, and then an "already paid" field set to zero. Also "qty: 1" for an already paid line item looks bad.

What are you working on?
Integration with Stripe Connect

#

@bold sparrow pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When migrating subscriptions from a Connected account (Controlled by platform A) to a Connected account (Controlled by platform B) will billing/subscriptions be interrupted?

Doc/Guide Links
https://docs.stripe.com/get-started/data-migrations/pan-copy-self-serve
https://docs.stripe.com/billing/subscriptions/migrate-subscriptions

What are you working on?
I am building a platform with Stripe Connect for businesses to sell subscriptions to individuals.

cursive heronBOT
#

@tribal flower pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using stripe.js elements, how do I remove the email input field at the bottom? The customer was already created.

Related Request ID(s)
can't find it

What have you already attempted?
Not sure what to do

cursive heronBOT
#

@candid slate pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In regards to the fraud prevention/CVC changes going into effect on September 2nd, what constitutes "collecting the CVC"?

Related Request ID(s)
None

What have you already attempted?
Today, we collect CVC when creating and associating Payment Methods with our Customers through a SetupIntent.

We process payments using both off-session and on-session PaymentIntents, but don't collect CVC again after their initial setup. Will we be affected by the September 2nd changes?

cursive heronBOT
#

@quick cedar pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am trying to have my merchants manage disputes via the Payment Details Embedded component.

I expect that the component would allow my merchants to manage disputes via the Payment Details Embedded component when a payment is disputed

What actually happened?
The Payment Details component is unable to recognize a charge as disputed and shows the payment as succeeded

Reproduction Steps

  1. Use test card associated with a dispute
  2. Open payment in my application
  3. Payment Details component shows but the payment does not appear as disputed

Question
Is there something wrong with the Payment Details embedded component when using it to manage disputes?

I don't see this error when using the Payment Embedded component so I am confident about my implementation.

I am onboarding custom connected accounts with destination charges and on_behalf_of

cursive heronBOT
#

@nova bluff pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is the customer_id attribute available in all stripe events (customer, invoice, subscription, checkout)?

Related Request ID(s)
N/A

What have you already attempted?
I am trying to find out what common data id I can use across stripe webhook events to correlate the data with my database.

cursive heronBOT
#

@ashen nova pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I send an email to a user after their payment is processed? And is there any way to pass along additional data (the cart data/customer data) on the event sent to the webhook to then later be used?

Related Event ID(s)
req_fRu8by3vH59dVp, req_x0Um8u8MOJVWar

What have you already attempted?
I've set up the webhook handler already and it's running on localhost currently through the stripe cli, I'm unsure on how to get the handler to run in production but I have it set up for dev already.

What are you working on?
A checkout page for a website I'm making

#

@empty dirge pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to figure out how to get Stripe Connect with NextJS working. I've got it creating an account, but it keeps redirecting me to my homepage.

Related Request ID(s)
req_LEONuKpFTcQ2NL

What have you already attempted?
I've got the account being created, I'm just trying to figure out why it's redirecting me back to home. I'm also needing some overall help with Connect in general.

What are you working on?
Data sharing app.

cursive heronBOT
cursive heronBOT
#

@dawn kelp pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi. Is there a test ID for a SetupIntent please? Like `seti_***`, similar to `pm_card_visa` but for a Setup Intent?

Doc/Guide Links
https://docs.stripe.com/api/setup_intents

What are you working on?
I'm writing an integration test for our software which will attempt to retrieve information about an existing setup intent (brand, last4). I'd like to use a setup intent without needing to create one first. Ta

cursive heronBOT
#

@austere wharf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Elements was introduced with Stripe.js v3, providing pre-built, customizable UI components to collect payment information securely and efficiently. This was not available in Stripe.js v2. is Right?

Related Request ID(s)
no

What have you already attempted?
no

#

@fast sundial pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a SaaS and I'm trying to collect a part of the Stripe processing for my member's members. how do I set this up on my account?

Related Request ID(s)
none

What have you already attempted?
looking thru the API documenrion

What are you working on?
CRM that lets members manage classes and their members within them

cursive heronBOT
#

@crisp falcon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to see how much the initial charge of a Stripe Subscription will be before it is charged?

Related Request ID(s)
(none)

What have you already attempted?
Read the docs, but wasn't sure how to get this.

What are you working on?
Setting up new Stripe Subscriptions

cursive heronBOT
#

@ember solstice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am making a request to GET /v1/customers and it returns no data even though I have customers on my account,

Related Request ID(s)
req_RL0g9FDyBTNZi9

What have you already attempted?
I have attempted making GET customers requests via the CLI and the PHP SDK, but both return no customers.

What are you working on?
I am working on integrating Stripe into a Laravel application.

#

@wooden plinth pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
few days ago stripe partnered up with coinbase to facilitate payments within both camps.
i would like to know if there is any support for any other tokens besides usdc. will custom tokens be possible ?

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
cursive heronBOT
#

@noble mural pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! Need your help regarding Stripe webhooks since webhooks will call our internal API endpoint which is protected with api_key. As I can see when using webhooks you're expecting only URL path and event type, what about any kind of authentication? How I can configure Stripe to use specific api_key for our system in order to access our API? Currently I'm receiving 401 when trying to access our API, so do you have any suggestions, how to configure it? Thanks in advance

Related Event ID(s)
evt_1PjDDU02Eb1sVOaRX5q4uRnz

What have you already attempted?
Tried to setup authentication and also check your article about 'upload and install your stripe app' but I am not sure can this event help me

What are you working on?
Stripe integration in our system for using payments and based on webhooks make some actions in our system

#

@leaden silo pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want to add a price break down as list in stripe checkout page..is it possible?

Related Request ID(s)
not available

What have you already attempted?
doubt

What are you working on?
stripe checkout

#

@desert cave pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using stripe/stripe-php with Laravel.
I recently changed all usage of Stripe/Source to Stripe/Checkout
however stripe-backend is telling me
"You are currently accepting payments via the deprecated Sources API, which will soon be shut down for non-card payment methods."
and Stripe keeps me sending warning-emails

What am I missing? Do I need to disable the Sources-API somewhere in the Stripe Backend?

Related Request ID(s)
py_3PitZIFUKAhCxVLl1u9ufmXo

What have you already attempted?
changed in my code all usage of sources-api to checkout-api

What are you working on?
small company is selling services to young people regarding applications for jobs

#

@slender mason pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to expand a price currency options with tiers in a single api call?

I am using Tiered pricing, with multiple currencies.

Related Request ID(s)
price_1PjDXDLyyYrd44Age1GgyQLN

What have you already attempted?
This returns the GBP tiered pricing:
price = Stripe::Price.retrieve({ id: price_id, expand: ['currency_options.gbp.tiers']

But I want all currency_options to have their tiers expanded.

#

@fallow bobcat pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Greeting Channel:

I was facing the problem of paymentMethodId error "that it is not exists to the account you connected"

and I fixed it by double check the live mode api keys.

Now I am facing another problem for some cards when I add. I get this error

You passed an empty string for 'customer'. We assume empty values are an attempt to unset a parameter; however 'customer' cannot be unset. You should remove 'customer' from your request or supply a non-empty value.

Related Request ID(s)
1

What have you already attempted?
Not much

What are you working on?
Well I have added my card details it worked for me on live mode

cursive heronBOT
#

@stray stag pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have opted to use Stripe Payment Links for some transactions, and we've encountered a few issues that need clarification. Im looking for an an alternative or a solution maybe as we cannot use the subscription or the invoice product of stripe for this specific use case because we need to generate our own invoice logic

Related Request ID(s)
Payment links

What have you already attempted?
We already have a customer created on Stripe and are sending a payment link to this user. Once they pay, the transaction on Stripe shows that there is no customer linked to it. Also, for the customer, there is no payment method getting attached.

What are you working on?
Trying to get it work

cursive heronBOT
#

@jagged sluice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Enable a paypal payment method

Related Request ID(s)
no

What have you already attempted?
Hellow I'm using stripe connect to allow my customers to accept payment. I want to add paypal as payment method by I can't see this in my dashboard in payment methods. How can I do this?

What are you working on?
Event planing app

#

@trail geode pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i am trying to link my stripe account too a sellauth website to start my business and cant figure out how to link it

Related Event ID(s)
idk

What have you already attempted?
looking in webhooks but it says make a end point and i dont know how to make that

What are you working on?
maintaining a website to sell cod services and have instant delivery on website

cursive heronBOT
#

@cyan ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to post for 3D Authentication

Related Request ID(s)
.

What have you already attempted?
I have retrieved a https://hooks.stripe.com/3d_secure_2/hosted? url after I confirmed my payment intent. In our system we are using post forms to 3d secure. Is there any way to go 3d secure with using post method? hooks.stripe does not allow post method

What are you working on?
API Integration

cursive heronBOT
#

@magic matrix pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
newPaymentElement.on('change', (event) => {
console.log(event.error)
})

Question
event.error is not a field I receive object like this
{
"elementType": "payment",
"collapsed": false,
"empty": false,
"complete": false,
"value": {
"type": "card"
}
}

What have you already attempted?
https://docs.stripe.com/js/element/input_validation

What are you working on?
Financial app

#

@jovial kestrel pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expected Google Pay to work as expected

What actually happened?
Google Pay failed with error: "The merchant is having trouble accepting your payment right now. Try using a different payment method. [OR_BIBED_06]"

Reproduction Steps
Stripe payment using stripe-react-native sdk
Pay via Google Pay on production

Question
Why am I getting this error on production? I went through all the steps of stripe config in react native and saw nothing odd. We've also been using Stripe and Google Pay for a long time and never had this issue. The app is verified for Google Pay on the Play Store so everything is up and running but I don't understand why we get this error on production?

What are you working on?
React Native app, using stripe sdk

#

@slate moss pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating a calling system where i am charging user to X amount on per minute.

now i want to user first to add amount on stripe after that he/she can use

i also need to deduct the amount as per uses of call

Doc/Guide Links
I am creating a calling system where i am charging user to X amount on per minute.

now i want to user first to add amount on stripe after that he/she can use

i also need to deduct the amount as per uses of call

What are you working on?
I am creating a calling system where i am charging user to X amount on per minute. now i want to user first to add amount on stripe after that he/she can use i also need to deduct the amount as per uses of call

#

@neon anchor pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Topic: Stripe TAP TO PAY IOS. We have the Stripe location defined in our Stripe account however we still get the location error. Could you help please?

Question
Topic: Stripe TAP TO PAY IOS. We have the Stripe location defined in our Stripe account however we still get the location error. Could you help please?

What have you already attempted?
Topic: Stripe TAP TO PAY IOS. We have the Stripe location defined in our Stripe account however we still get the location error. Could you help please?

What are you working on?
TAP TO PAY IOS

#

@velvet mist pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.confirmPayment({
elements,
confirmParams: {
return_url: 'https://mysite.com/err.html',
},
redirect: 'if_required'
})
.then(function(payload) {
if (payload.error) {
console.log(payload.error.message);
return;
}
if( payload.paymentIntent.status == "succeeded" ){
//create subscription environment

Question
Hi,
i use $subscription = $stripe->subscriptions->create to create a subscription then stripe.confirmPayment to get the payment.

This all works great, however when the paymentIntent.status = succeeded I need to execute a nuber of automation scripts to build my users local environment.

My question is how do i get the subscription details from stripe at this point in the script?

What have you already attempted?
I have tried using webhooks but because my platform uses automated scripts to build an environment and notifies the customer of its progress it makes sense to handle this during checkout.

What are you working on?
converting braintree payments to stripe payments.

#

@lunar reef pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're developing a subscription flow for our product that involves different types of agents such as recruitment, development, and testing. Users should be able to subscribe to these agents individually with varying quantities, where the price increases based on the selected quantity. Each quantity should be treated as a sub-agent, with the ability to renew and cancel each sub-agent independently. We're using Stripe Checkout Sessions and need users to have the option to enable auto-renewal for each sub-agent and to delete or cancel individual sub-agents as needed. Could you provide guidance on

Related Request ID(s)
req_lrrU0ggBx5aYOS?t=1710501275

What have you already attempted?
We're developing a subscription flow for our product that involves different types of agents such as recruitment, development, and testing. Users should be able to subscribe to these agents individually with varying quantities, where the price increases based on the selected quantity. Each quantity should be treated as a sub-agent, with the ability to renew and cancel each sub-agent independently. We're using Stripe Checkout Sessions and need users to have the option to enable auto-renewal for each sub-agent and to delete or cancel individual sub-agents as needed. Could you provide guidance on

What are you working on?
We're developing a subscription flow for our product that involves different types of agents such as recruitment, development, and testing. Users should be able to subscribe to these agents individual

#

@rapid solstice pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Not getting the external-account.updated event on the webhook api even though it's listening to it.

Related Event ID(s)
No related event id as I am unable to test it in dev

What have you already attempted?
I tried changing a client location's payout information and simultaneously listened to this webhook event. I did get the event but it did not reach my system. Do we have to use connect webhook endpoint for it? Or is there any other way?

What are you working on?
I want to send a message to the owner of the stripe account if there is any change in their payout bank information

cursive heronBOT
#

@pulsar hatch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to use stripe api but it is restricted in india, so how can i use it?

Related Request ID(s)
API

What have you already attempted?
I read the docs but they are asking for company id but iam using for my personal use

cursive heronBOT
#

@eternal fractal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
So, we have a Stripe main account, which is connected to a woocommerce webshop, where we have different products. These products are basically entry payments for a gym competition.
Furthermore, we have 2 competition registrations in the same time, where we want to separate our products for the 2 competitions. This means that some products have to reach Stripe Account 1 and the rest to Stripe Account 2. Both Stripe accounts are valid.
My question is: if the payments arrive to the Stripe Acocunt 1, how can i forward these payments to the other Stripe Account 2 ? Is this possible?

Related Request ID(s)
API

What have you already attempted?
We tried to connect Stripe Account 2 to Stripe Account 1, with connect, but in woocommerce we can only place 1 Stripe account. Its not possible to connect the connected account there.

What are you working on?
WooCommerce webshop with Stripe payment

cursive heronBOT
#

@sacred nebula pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using stripe API for getting transaction list from bank, and I am also passing the transacted_at value in UNIX format to fetch the transaction after that, it also got log in strip developers tools, but stripe is giving me transactions from the 1st jan of the current year.

Related Request ID(s)
req_7dAtQLto3a44RC

What have you already attempted?
I reread the document and implemented some changes, but it's not working.

What are you working on?
I am working on an expense tracker app for short term rental properties.

cursive heronBOT
#

@cunning zenith pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Something went wrong You might be having a network connection problem, the link might be expired, or the payment provider cannot be reached at the moment.

Question
How do get rid of this error? I tried buying robux on my pc on chrome.

What have you already attempted?
Nothing.

What are you working on?
Getting rid of the error.

#

@deep prairie pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { status, present, loading} = useStripeIdentity(fetchOptions)

const handlePress = useCallBack(()=> {
present()},[]}

Question
I use stripe/stripe-identity-react-native , for verification session, fetch the options from the server and use this code to provide a verification of stripe UI, the problem is that I have no error displayed but it crush the app and leave without any error

What have you already attempted?
I read the doc, I use all the steps, gareentee that the data is fetched well from the backend, but I want the UI verification of stripe to chow after calling handlepress method correctly without crushing the app

What are you working on?
pay Out fron stripe

#

@outer rose pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are creating Stripe connected accounts and providing links to our partners for onboarding. We have two platforms, Platform A and Platform B. Some partners need to have Stripe connected accounts on both platforms.
When users who have already onboarded on Platform A begin the onboarding process on Platform B, is there a way to skip filling out the data again since they have already provided the same information during the Platform A onboarding stages?

Related Request ID(s)
https://docs.stripe.com/connect/express-accounts#create-link

What have you already attempted?
We have created and onboarded two connected accounts with the same data in the Test mode. During each onboarding stage, the partner needs to fill in the same data again.

#

@chrome python pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to implement a 0$ charge on our website instead of a hold of the same amount? As per Stripe documentation, the minimum amount to charge is 0,5$ but I have seen other websites charging 0$.

Related Request ID(s)
.

What have you already attempted?
We have already implemented holding 0$ but we want to replace the hold with charging.

#

@stray stag pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have opted to use Stripe Payment Links for some transactions, and we've encountered a few issues that need clarification. Im looking for an an alternative or a solution maybe as we cannot use the subscription or the invoice product of stripe for this specific use case because we need to generate our own invoice logic

Related Request ID(s)
Payment links

What have you already attempted?
We already have a customer created on Stripe and are sending a payment link to this user. Once they pay, the transaction on Stripe shows that there is no customer linked to it. Also, for the customer, there is no payment method getting attached

What are you working on?
Trying to get it work

cursive heronBOT
#

@trail geode pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Error in the AJAX request

Question
i have made a website using sellauth and when i linked it too my website i wanted to try it and it gives that error im pretty sure i made webhook and api key correct.

What have you already attempted?
making a new api and webhook still didnt work

What are you working on?
my website

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I needed to know if a transfer from stripe's main balance to one of connected accounts' issuing balance was in pending state or not, I check the balance transactions for the connected account and if it's type is balance_transfer_inbound I get its status, seems right but I wanted to check that with you

Related Request ID(s)
a

What have you already attempted?
I needed to know if a transfer from stripe's main balance to one of connected accounts' issuing balance was in pending state or not, I check the balance transactions for the connected account and if it's type is balance_transfer_inbound I get its status, seems right but I wanted to check that with you

cursive heronBOT
#

@outer rose pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I test in "Test Mode" the onboarding process with Stripe using an email address that has already been used for onboarding on a different platform, to see if Stripe allows proceeding as a new business?

Related Request ID(s)
https://docs.stripe.com/connect/express-accounts#create-link

What have you already attempted?
In Stripe’s test mode, where only a phone number is required for onboarding (and email is disabled), we need to test using a phone number that has already been used for onboarding on a different platform to see if Stripe offers the "proceed as business X" option. Despite trying this with different platforms, the onboarding page never presents the "proceed as business X" option.

cursive heronBOT
#

@restive glacier pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to find all customer list who are using 3ds cards on their account

Related Request ID(s)
sub_1Pj29uLFvpGNSJY7x6bVwTuZ

What have you already attempted?
I have already checked on stripe dashboard and also checked with stripe support but, they said you need to check with stripe developer in order to complete this requirement

#

@dark kiln pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to get list of balance_transactions for an issuing card, it is possible to get for a connected account but how can I filter to get list for a specific issuing card

Related Request ID(s)
a

What have you already attempted?
await stripe.balanceTransactions
.list(
{
created: { gte: from, lte: to },
type: "balance_transfer_inbound",
},
{ stripeAccount: accountId },
)
.autoPagingEach(async (bt) => {
transactions_authorizations.data.transactions.push({
id: bt.id,
amount: bt.amount,
merchant_name: "Deposit",
status: bt.status == "pending" ? "pending" : "capture",
created: bt.created,
type: "transfer",
});
});

cursive heronBOT
#

@rocky ivy pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We were unable to process your order. Please check for any fees associated with your payment method and review your order history before placing your order again.

Question
I have set up a subscription in WooCommerce adn cant figure why i get this error on checkout page. There are no problems when buying a singular product.

What have you already attempted?
I have tried all kind of this, inactivate all plugins, change theme, change to different subscription plugins. I think I misses some setup in Strip.

What are you working on?
I am building a community site for photographer and I would lika a subscription plan based och yearly.

cursive heronBOT
#

@subtle rose pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await discoverReaders({
discoveryMethod: 'localMobile',
simulated,
});

const { error } = await connectLocalMobileReader({
locationId: location.data?.data.stripe_id,
reader: mobileReader as Reader.Type,
});

Question
in my app to provide the user with two options while accepting a payment: 1. terminal reader, 2. Tap to pay.
how do i implement it, since the SDK only accepts a single kind of reader at a time

What have you already attempted?
none

#

@stray stag pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have opted to use Stripe Payment Links for some transactions, and we've encountered a few issues that need clarification. Im looking for an an alternative or a solution maybe as we cannot use the subscription or the invoice product of stripe for this specific use case because we need to generate our own invoice logic

Related Request ID(s)
Payment links

What have you already attempted?
We already have a customer created on Stripe and are sending a payment link to this user. Once they pay, the transaction on Stripe shows that there is no customer linked to it. Also, for the customer, there is no payment method getting attached.

What are you working on?
Trying to get it work

#

@west vault pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are creating Subscriptions, without setting a default payment method explicitly: after the expiration of subscription, it won't renew since it requires a payment method

should I set a parameter when creating the subscription?

Related Request ID(s)
req_YViF343PhoOHIh

What have you already attempted?
we discovered the bug since we disabled an explicit call to set the payment method as default, so that's what we attempted before

#

@vocal wagon pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Link to appear on the checkout

What actually happened?
Link did not appear

Reproduction Steps
Link not appearing on payment intents created with [card, link] as available payment methods

Question
Anything we should do to fix this issue?
Useful details:
live payment - https://embed.sellix.io/invoice/eee814-789073e03c-0a0b1c

the implementation is done through the Stripe Element SDK, and the confirmation of the token happens server-side

#

@bleak zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to create create a invoice that has no client and return the Invoice Intent to my front end in order to collect the payment ?

Related Request ID(s)
pi_3Pj9fGDn6CAQGXZn3bRyMVBr

What have you already attempted?
I can create the invoice and pay using card on file if the invoice has a client, when the invoice has no client from my understanding I need to return the Invoice Intent to the front end to collect the payment however invoice.PaymentIntent.Id and invoice.PaymentIntent.ClientSecret are null

What are you working on?
POS for a Gym

cursive heronBOT
#

@empty night pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello Stripe. We are using Stripe Connect (custom and Standard). We only request currently_due and skip eventually due, plus we skip the bank account question, also for later. This means a merchant can already onboard with a lot less KYC questions. However there a still some questions needed for the first charge (can also be verified via https://stripe.com/docs/connect/required-verification-information) . Are there any ways (via the API) to postpone the KYC so payments can already come in or to reduce the questions even more? For payouts we are fine with any question needed.

Related Request ID(s)
no-id

What have you already attempted?
Currently_due, skipping bank account question, prefilling a lot of data (we however do not have all data like birth date or security numbers)

What are you working on?
Stripe Connect, preferably automatically onboard merchants and already receive payments for them to later tell them 'hey there is X euro waiting for you, complete onboarding here'

#

@jovial kestrel pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe sheet to work as expected

What actually happened?
Stripe fails with new error message:
08-02 15:49:41.518 17425 17425 E WalletMerchantError: Error in loadPaymentData: Signing key fingerprints {5E:8F:16:06:2E:A3:CD:2C:4A:0D:54:78:76:BA:A6:F3:8C:AB:F6:25} do not match our records for this app. Please sign the app (
https://developer.android.com/studio/publish/app-signing).

Reproduction Steps
Stripe payment using stripe-react-native sdk

Question
Now I have this new error on Stripe payment sheet. I confirm that the app's integrity is verifies, we are using the same release keystore file and nothing has changed. I have no idea where stripe found this fingerprint

What are you working on?
React Native app, using stripe sdk

#

@stuck edge pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/link/add-link-elements-integration?link-integration-type=before-payment#web-create-intent

Question
Is there a no-code playground (Storybook style) for Payment Element with Link where I can set options, appearance api, etc, and interact with the UI?

What have you already attempted?
I'm a product designer and have been digging thru the docs, but from a designer perspective the docs are too compartmentalized and its been really hard to figure out initial states and how certain options affect the ui.

What are you working on?
Building a visual user flow integration where user can add a payment method (using Payment Element with Link)

#

@boreal halo pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
3D Secure attempt incomplete
The cardholder began 3D Secure authentication but has not completed it.
Aug 2, 2024, 10:39 AM

Question
All payments are now starting to get the incomplete status after processing payment even though the cards are valid.

What have you already attempted?
We have been processing payments for 3 months and haven't changed anything. This randomly started happening yesterday. I go to the transactions tab to see why they are still incomplete and it says the cardholder began 3D secure authentication even though the card doesn't have or require 3D.

cursive heronBOT
#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am working with 2 API calls 1) Update a Subscription and Update a Subscription item, when i use the update a subscription item it is giving me an error code that the (parameter price) is incorrect. "Error insight
No such price: 'C-H6TB7VOGC' " I am getting this from a product that within it has multiple prices and using the ID. Do you know what is it that i'm doing wrong?

Related Request ID(s)
req_Uq6K0TwGHYXCU2

What have you already attempted?
I have changed tried to refer to the update subscription id but i don't think this is right

What are you working on?
i am trying to upgrade a user subscription.

#

@versed radish pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I create a dev sandbox ?
How to deel with 3 env (dev, staging, prod)
Currently we use stripe test mode for both dev and staging
But since we have 3 db (1 per env) we have to do a lot of tricks to reconcile dev and staging
We'd like to know if there is a better alternative

Related Request ID(s)
-

What have you already attempted?
Checking settings

What are you working on?
Web app

#

@steep ember pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const sic = await stripeClient.createSetupIntent({...params});
console.log(sic); // requires next action; how can i spoof the next action in a backend integration test suite?

Question
Hi all, I need to handle India recurring payments.

I got the source code all setup; however I am trying to test how we use mandates in our backend that ships customers invoices.

The problem I am running into (in the test code) is how to create an approved setup intent with a mandate without having to interact with the Stripe SDK and UIs. Basically I need to spoof strong customer authentication (SCA) or my integration test.

I am running in test mode.

What have you already attempted?
I can hack around this by creating a "long lived" test user with a mandate as I can leverage our UI for SCA with that strategy. Trying to avoid that if possible.

What are you working on?
A billing system using invoices. We need to support India mandates.

cursive heronBOT
#

@worldly storm pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to set up 2 new WisePOSe for my resort that i am that admin of. I have zero knowledge in coding and was looking for support to help get these readers connected to our account before the 8th of august. I have 1 added onto our Stripe account but do not have any idea where to go from there as it simply says stripe on the screen.

Related Request ID(s)
N/A

What have you already attempted?
Ive read the initial docs but not sure where/ how to configure server or easiest/quickest way to get them online. NO previous knowledge of coding

What are you working on?
Configuring 2 new WisePOSe readers for payments

#

@barren zinc pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the Stripe Dashboard when updating a Subscription you can set an "Invoice Memo"
How can I set this field via the API?

Related Request ID(s)
sub_1Pj2xFJyFlemKh0gZ9rL0UnR

What have you already attempted?
Viewing the Subscription Object through the API, I cannot find the Invoice Memo I set on the Subscription.

What are you working on?
We'd like to create custom Invoice Memo's to be displayed on upcoming invoices that are not yet created for specific customers.

#

@rapid siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to apply a coupon to a subscription.

Related Request ID(s)
N/A

What have you already attempted?
I do not know how to apply to subscriptions active a coupon to apply a discount on this or the next invoice.

cursive heronBOT
#

@oblique hinge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I have tried to create a Link payment method via the API for testing but it can not be done.

Question
I currently have some customers that pay via Stripes "Link" payment method. I need to test creating subscription schedules for accounts with Link as a payment method.

Is it possible to add a test "Link" payment method to a test customer? What is the correct way to test this payment method?

What have you already attempted?
I have attemped to find any documentation online about adding a "Link" payment method to a customer but I am unable to find any. I have tried creating a link payment method via the API on our test account but it does not work.

#

@lucid zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
It is mentioned in the doc that you can "Add a schedule to an existing subscription"

But actually this api call doesn't accept phase as an input so actually there is no use of making it available for existing subscription

Related Request ID(s)
Na

What have you already attempted?
Tried to add phase on existing subscription ended up with an error: req_RejjGb6dP6aXFR

#

@wary sparrow pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, so i am using the Stripe Payment Sheet on iOS for my rental service. I want to place some additional notes about the rent ON the Payment Sheet. Is this possible and if yes, what are best practices for things like localization and so on.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment?platform=ios

What are you working on?
Bike rental service.

#

@deep prairie pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe/stripe-identity-react native

Question
please I use Use StripeIdentity in react native 0.74 app, all it find I follow the doc to integrate it, but when I call useStripeIdentity in the code with the opetions, the app closed without to get any error ot information , the app just show ne logg[] that all

What have you already attempted?
I want the useStripeIdentity to allow me to the identification sdk of stripe,

What are you working on?
Stripe account verification in react native client

#

@dapper rose pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we have switched on the klarna payment method, customer can see the option at checkout on Magento but when they select that payment method it does not take them to klarna to then complete the payment

Related Request ID(s)
-

What have you already attempted?
as we have updated the modules which were released just this week.
Staging website is setup to use Stripe Sandbox
Stripe Sandbox has Klarna enabled
This is showing as an option on the checkout amongst the other pay online methods (along with credit card, clearpay etc)
Choosing Klarna at checkout now sends you off to Klarna to create an account, choose a payment plan etc
When you finish that and go to 'Make purchase' it sends you back to Magento but the basket has been emptied and you don't see a confirmation screen.
The order is in Magento but marked as 'payment pending'

What are you working on?
e-commerce website and want to be able to accept klarna

#

@mighty pollen pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
document.querySelectorForAll("iframe[name^=__privateStripeFrame]")

Question
Do stripe elements' iframes always have prefix __privateStripeFrame on their name?

What have you already attempted?
This seems to be the case but would like a quick confirmation before shipping out anything relying on this

cursive heronBOT
#

@solemn meadow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is customer_balance a supported option for the payment_method_types parameter when creating a SetupIntent?

Related Request ID(s)
req_ew9OwzH5ZdX3c0

What have you already attempted?
I tried creating a setup_intent with customer_balance as a payment_method_type. I have enabled bank transfers on my stripe settings and the response I get is that I should check the full list of payment method types (customer_balance is in the list) and to enable it on my account. So I was wondering if the response is accurate or if there is maybe a separate list of possible payment method types for Setup Intents.

What are you working on?
Subscription schedules with a setup intent payment method. Wanted to add customer_balance as an option for payment

#

@hollow knoll pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am not getting the correct preview amount in the API call "retrieve an upcoming invoice" , the prorated amount i was receiving from Stripe was -$49.91 difference of .09cents. Customer originally subscribed yesterday to a $50 plan and they were subscribing to a $640 plan. I quoted the customer $590.07 but i charged the customer $588.07. is there a way to calculate this and give the user a correct amount? I also had the preview show up and right away paid.

Related Request ID(s)
req_KixqwzuTN4E4jY

What have you already attempted?
I had tried different ways to calculate but i can't seem to give the user the correct amount that they will be paying

What are you working on?
trying to upgrade the user from one plan to another plan using prorations

#

@blissful patio pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Here is the scneario:

Customer comes to our platform and adds a payment method (we use setup intents for that)

Stripe tells us that the payment method is valid when we receive a setup intent succeeded event.

We then create the subscription, saving that payment method as the default payment method and Stripe tries to charge the customer.

The customer however, can have problems in their payment method, like insufficient funds, so the subscription becomes incomplete and the customer has 23 hours to fix it.

My questions:
- If the customer adds a different payment method, does stripe retries it automatically? or should we have a CTA button to retry and trigger Invoice Pay?

Doc/Guide Links
- If we have a CTA button to retry a charge, how many attempts would it be safe for them to retry while maintaining a good standing with the network?

- What if the payment method is ACH? are there any limits on the retries?

- Is an Instant ACH (where you link your account, not by microdeposits) charge processed instantly like credit cards?

-

What are you working on?
.

cursive heronBOT
#

@opaque flame pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using Stripe with Custom Connected Accounts to process charges that are credited to our client's accounts by using transfer account id's for charges... Is there a way to grant our clients a login link so they can see the custom account portal?

Related Request ID(s)
0 no log generated in Developer->Logs

What have you already attempted?
Tried calling stripe login_links create acct_<ID> and I get the error: "Cannot create an edit link for the account acct_<ID>, which is not an Express account."

What are you working on?
our website manages youth animal auctions and routes payments to our client's bank accounts.

#

@outer rose pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When users who have already onboarded on Platform A begin the onboarding process on Platform B, is there a way to skip filling out the data again since they have already provided the same information during the Platform A onboarding stages? Request due previous thread

Related Request ID(s)
.

What have you already attempted?
.

#

@steady siren pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking to purchase both a subscription and product using one checkout flow. I'm uncertain how to create a single payment intent that will successfully activate the subscription and charge the amount of the product

Related Request ID(s)
none

What have you already attempted?
I have two routes which i am already using to make purchases for these things separately ... I have also read about the payment behaviour

What are you working on?
music platform

#

@mellow bramble pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Updating the currency_options field of a Price does not trigger a 'price.updated' event. Is this expected? Is there a way to detect these change so we can stay in sync with Stripe on our side?

Related Event ID(s)
evt_1PjPVTCF87lYUJgALroaFxto

What have you already attempted?
I've noticed that only updates to 'base' attributes of Price trigger a 'price.updated' event. However, what I need to detect is updates to the 'currency_options' of that Price. I've checked the events types list and there does not seem to have an equivalent type there. Is there no way to detect these changes?

What are you working on?
I'm trying to update data on my end based on currency_options present in Stripe.

cursive heronBOT
#

@mystic torrent pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
why i still received too many stripe email reminder to update?

Related Request ID(s)
NO ID related

What have you already attempted?
Hi, I have already updateed the stripe API, I think!
But why i still received too many stripe email reminder to update?

What are you working on?
I have updated stripe API in developer section, whgy the emails still comes too many?

cursive heronBOT
#

@cobalt arrow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to use the 'Update invoice' call to change the payment_method_types field of an invoice, for a finalized invoice?

Related Request ID(s)
932563131782291476

What have you already attempted?
Making 'Update invoice' API calls and the payment_method_types response is null

cursive heronBOT
#

⛔️ 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.

cursive heronBOT
#

✅ Stripe developers are currently available on Discord!

#

@frosty hearth pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to be able to reconcile payout programmatically.

Related Request ID(s)
po_1Pk9fYLDw5Ft4RdtOr9P7Gsn

What have you already attempted?
Read the api docs and some discord post, just not sure about something because I don't have much data yet

What are you working on?
stripe integration with myob (australian accounting)

#

@old raft pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we are using wocommerce for internaltional payment we use stripe but in recents days we are facing issues with international cards.i checked logs i get this error messsages "message": "As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports",

Related Request ID(s)
req_hVpRhXyOQLlyRV

What have you already attempted?
we are already taking customer name and customer address. still getting this issue

cursive heronBOT
#

@south yarrow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Retrieving a specific customer does not also return their associated subscriptions.

Related Request ID(s)
req_M1Y5KWVeZlpYIi, req_t5PjgDTYWMeygj

What have you already attempted?
Referenced API documentation that goes into depth of Customer object: https://docs.stripe.com/api/customers/object?lang=curl

I have confirmed that the subscription references the customer correctly.

cursive heronBOT
#

@bitter hornet pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const DetailForm = () => {
const stripePromise = loadStripe('test_publishable_key');
const location = useLocation()
const { clientSecretId } = location.state || {};
const options = {
clientSecret: clientSecretId
};
return (
<Elements stripe={stripePromise} options={options}>
<CheckoutPage />
</Elements>
);
};
export default DetailForm;

Question
i've integrated stripe react payment element in my code, with live publishable key i can see card details screen but when for testing i add test publishable key i can't see card details screen my webpage getting blank

What have you already attempted?
Same code working with live publishable key, same code not working with test publishable key

What are you working on?
Stripe react payment integration with card

cursive heronBOT
#

@west pumice pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I try to update metadata on a "paused" subscription with ProrationBehavior = "none", I get an exception saying Proprations can not be set when updating "paused" subscription.

However, if I remove ProrationBehavior = "none", update goes through. Default value in .NET for ProrationBehavior is "create_proprations". So how does update go through if default value is used, but it fails if I manually set to "None"?

Related Request ID(s)
*

What have you already attempted?
*

#

@slate moss pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i want to deduct amount from customer payment method using invoices

Doc/Guide Links
i want to deduct amount from customer payment method using invoices

What are you working on?
i want to deduct amount from customer payment method using invoices

#

@sly island pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey,
I'm working with the Terminal API > Internet Reader discovery. React Native App: https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=react-native&reader-type=internet#discover-readers

I'm using the test devkit to develop, and have had varied success with the discovery.
- sometimes responds with the list of readers.
- sometimes responds immediately with an empty list
- sometimes takes around 1 min, responds with an empty list

Wondering if there would be any reason for this?
Is there somewhere I can see logs, and potential reason for failed discovery?

Related Request ID(s)
Happy to provide, but at this stage, all I have is a connection token > discovery which = [].

What have you already attempted?
I've recently added the location ID & connected account ID to the Connection Token. Since then, I haven't successfully got readers back.

What are you working on?
Simple payment App on the S700

#

@trail beacon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
how do i activate embedded checkout for this account ? -- acct_1KmI8jAY9OACmYiw

Question
i have been using stripe embedded checkout since its beta in another account. I want to use that in this account also

What have you already attempted?
not sure what to do. seems like a stripe side flag

What are you working on?
building a platform for nonprofits and donors

cursive heronBOT
#

@stable hawk pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I want to ask if I create a transfer from plaform account to connected account or between connected account does stripe charge fee for that transaction?. And what transaction does stripe charge fee like from the customer to stripe account or payout from connected account ?

What have you already attempted?
I had reseach the pricing but does not have enough information to answer about my question

What are you working on?
Building a peer to peer delivery with stripe

cursive heronBOT
cursive heronBOT
#

@long adder pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
to receive money from orders

What actually happened?
they closed my account for no reason and paused all payout after me shipping orders and my product

Reproduction Steps
Finish packing Orders

Question
I need to do something to unpause my account

What are you working on?
I’m working on my business

#

@bitter tendon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've set up multiple Stripe accounts for different countries. Is it possible to share customer credit card information across these separate Stripe accounts?

Specifically, I'm wondering about this scenario: If a user makes a purchase through our Stripe account in Singapore, can they later use the same saved credit card information for a purchase processed through our Stripe account in Malaysia?

Related Request ID(s)
no

What have you already attempted?
I couldn't find the documentation about this issue.

What are you working on?
The simple shop cross multiple country.

cursive heronBOT
#

@noble mural pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! Does Stripe automatically include 2FA when doing card charging, means everything regarding payment confirmation is on Stripe side based on configuration that is setup?

Related Request ID(s)
evt_1PkLYe02Eb1sVOaRtdnnMMg7

What have you already attempted?
Found there are some Stripe test cards which supports 2FA but what will happened in the real world?

What are you working on?
Integrating Stripe from into our payment system

cursive heronBOT
#

@hushed fern pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
use a restricted_key for webhook (stripe-cli),

What actually happened?
cant start cli webhook listener

Reproduction Steps
create a rk_test key with read_only permissions

Question
which permission is rak_stripecli_session_write?
my error says the provided key needs it. but i dont know which one is it in the UI

What are you working on?
stripe integration - python

#

@ember fossil pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, we use checkout sessions for our connected accounts. We currently use destination charges, but we would need the stripe fee to be paid by the end user. Is there a way to set up destination charges so that the stripe fee is paid by the end user? In the API documentation there is a parameter application_fee_amount in payment_intent_data, but it can only be entered with an exact value not a percentage. Alternatively, is there a way to use the application_fee_amount parameter with a percentage value?

Related Request ID(s)
req_oE9dM7gWyjE1kN

What have you already attempted?
I tried to use direct charges but the problem is that all customers are created in our stripe account so it cannot be used in direct charges because the customer does not exist in the end user's stripe.

What are you working on?
flowlance.com

#

@dusk thistle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<StripeProvider urlScheme='https://www.example.com'>....</StripeProvider>

const { error, setupIntent } = await confirmSetupIntent(potentialStripeClientSecret!, {
paymentMethodType: 'PayPal',
paymentMethodData: {
mandateData: {
customerAcceptance: {
online: {
ipAddress: 'ipAddress',
userAgent: 'userAgent',
},
}
}
}
}

Question
Hello, I'm trying to add PayPal to my Stripe implementation, I succeeded on the web with React.js, I succeeded on React-Native on Android but for iOS, I have an issue because it asks me for a `return_url`

What have you already attempted?
I provided a `urlScheme` in the `StripeProvider` and I put an universal link on the redirected URL which is `urlScheme+//safepay?redirect_status=pending` but the browser inside the app isn't closing and is staying on the test page but in the background, the app is redirecting correctly with the universal link, what should I do?

What are you working on?
I would like to know if for iOS on React-Native you had a guideline about how to implement PayPal correctly :)

#

@jagged folio pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am created stripe pricing table and I want that if user have already subscribed the product then button should be change from 'subscribe' to 'subscribed' and get disable.

Related Request ID(s)
https://docs.stripe.com/payments/checkout/pricing-table

What have you already attempted?
I have created the pricing table and tried to pass client reference id but still unable to achieve the required functionality.

What are you working on?
Creating a plan page that would be seen inside web app.

#

@sinful bridge pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
switch (paymentType)
{
case PaymentTypesEnum.Card:
case PaymentTypesEnum.Sepa_debit:
case PaymentTypesEnum.Bancontact:
case PaymentTypesEnum.Paypal:
paymentMethodId = charge.PaymentMethod;
break;

   case PaymentTypesEnum.Ideal\:
       paymentMethodId = charge.PaymentMethodDetails.Ideal.GeneratedSepaDebitId;
       break;

   case PaymentTypesEnum.Sofort\:
       paymentMethodId = charge.PaymentMethodD

Question
We want to add 2 new payment methods apple pay and google pay, but when we check the stripe ap document we unable to find payment types for these 2 payment types. https://docs.stripe.com/api/payment_methods/object

What have you already attempted?
We searched stripe documentation also online but we are unable to find any concereate answers

#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
- I am working on an app locally which allows users to signup from anywhere in the world.
- When users sign they link their stripe platform to mine [Connected account]

My problem is that currently, users in Africa example Ghana will have to pay in dollars which I don't think is right. Is there a way to charge them in their local currency?

Here - https://stripe.com/gb/global

Stripe says that is support global payment isn Ghana through an external network? Does that mean that I need to use PayStack instead of Stripe? or is there a way that Paystack and Stripe can work together

Related Request ID(s)
Not Applicable here

What have you already attempted?
I tried changing the currency but that did not work and I am not able to charge in Ghana cedis

What are you working on?
- I am working on an app locally which allows users to signup from anywhere in the world. - When users sign they link their stripe platform to mine [Connected account]

#

@spiral lark pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, We are using Webelemnt in Salesforce where we create payment intent fo ACH Online Payment Method. However for some payments, wea re receiving error. We ahve not met with this when using testing Stripe.. Could you check? Stripe is blocking payments

Related Request ID(s)
req_cAnljCGYUhF1MI

What have you already attempted?
I checked code on our side.. all looks okay.. also tried to find some pattern.

What are you working on?
Payment portal for customer to pay by card or ACH online.. but ACH online is not working for all the time, in log you can find requeste and response..

#

@trail beacon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
trying to call embedded checkout like this <div
id={'checkout'}
style={{
width: '100%',
height: '100%',
maxHeight: '400%',
overflowY: 'auto',
paddingTop: '20px',
}}
>
<EmbeddedCheckoutProvider
stripe={stripe}
options={{
clientSecret: url,
}}
>
<EmbeddedCheckout />
</EmbeddedCheckoutProvideer>

Question
we are getting this error {
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payment_page: 'cs_test_a1SzpyuIBXqR7v4YUgxxQVvU2bYsLBr4rRstOCvNgzCnKuqYvYdKUHFn87'",
"param": "payment_page",
"type": "invalid_request_error"
}
}

What have you already attempted?
on initiating a stripe request from the embedded form we get an error -- Something went wrong
The specified Checkout Session could not be found. This error is usually caused by using the wrong API key or visiting an expired Checkout Session. Please make sure the Session is not expired and that the API keys used to initialize Stripe.js and create the Checkout Session are test mode keys from the same account.

cursive heronBOT
#

@rare tartan pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://stripe.com/docs/testing#available-balance

Question
Hi Stripe,

We are in the process of integrating Stripe Connect into our finance system for payout purposes. We are currently at the testing stage but have encountered some issues and require your assistance.
Below is the error message we are receiving:
You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance

Thank you for your help.

Regards

What have you already attempted?
Adding the fund to my account

What are you working on?
Stripe Connect Payout

cursive heronBOT
#

@boreal adder pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
bank account transfer

Question
How to Withdraw Funds to a User's Bank Account Using Stripe in Node.js

What have you already attempted?
no

What are you working on?
building

#

@modest leaf pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
com.stripe.model.Invoice invoice = invoiceService.getStripeInvoiceById(invoiceId);
long amountPaidInCents = invoice.getAmountPaid();

        List<FeeDetail\> fees = invoice.getPaymentIntentObject\(\)
                                      .getLatestChargeObject\(\)
                                      .getBalanceTransactionObject\(\)
                                      .getFeeDetails\(\);

Question
I'm trying to fetch the fees Stripe took from the invoice payment to understand the net value, but apparently, the PaymentIntentObject is null on the invoice, even if it's paid.

What have you already attempted?
-

#

@tulip lodge pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I test the payment_method.automatically_updated Stripe webhook?

Related Event ID(s)
payment_method.automatically_updated

What have you already attempted?
he Stripe CLI does not support testing for this.

#

@bitter hornet pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xTnhTUzNBY2dqM3pWQUtVKJHRwrUGMgY0TSqy3C06LBa1hOmTia5tWDjeAf7uRV0BMDE2obOd-UTF93PZgOA-KRBxnuk0ETjwFD6j",

"balance_transaction": "txn_3PkNsWAcgj3zVAKU1k08lNGM",

Question
how to fetch "receipt_url" AND "balance_transaction" after successful payments

What have you already attempted?
i did not found anything for this

What are you working on?
stripe invoice details fetch

#

@polar cloud pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we have to migrate away from Sources. We now use it in our custom flow to let the customer pay with iDEAL the first period of a subscription, then keep that information and add the SEPA_DEBIT source for future payments. But we now have to migrate away from Source, how to solve it with PaymentMethod and PaymentIntents? We used a Source for the initial iDEAL payment and used that Source to invoices.pay(first_invoice_of_subscription, sourceObject) to pay the first invoice of the Subscription, but I can't see a way to use invoices.pay() with PaymentIntents How to solve this?

Related Request ID(s)
?

What have you already attempted?
read al kinds of Strip API docs

What are you working on?
A way to pay with iDEAL the first period of the subscription directly and later periods with SEPA_DEBIT. We have It working with the Source Object, be we need to migrate away from Sources

#

@trail beacon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
2024-08-05T10:50:23.477250+00:00 app[web.1]: [cc68ca0d-b4e3-4f79-b150-9bfdbcdb1709] Stripe::InvalidRequestError (Invalid Stripe API version: 2022-11-15; embedded_checkout_beta=v1. You do not have permission to pass this beta header: embedded_checkout_beta. If you have any questions, we can help at https://support.stripe.com/.):
2024-08-05T10:50:23.477251+00:00 app[web.1]: [cc68ca0d-b4e3-4f79-b150-9bfdbcdb1709]
2024-08-05T10:50:23.477252+00:00 app[web.1]: [cc68ca0d-b4e3-4f7

Question
getting an invalid request error with a header that has since been removed. Here is the current code
if @embedded
session_params.merge!(ui_mode: 'embedded')
session_params.merge!(redirect_on_completion: 'never')
session_params.delete :success_url
session_params.delete :cancel_url
end

  session = Stripe\:\:Checkout\:\:Session.create\(session\_params, { api\_key\: ApiKeySelector.standard\_connect\_api\_key, stripe\_account\: @nonprofit.conne

What have you already attempted?
not entirely sure what to try here

cursive heronBOT
#

@neon anchor pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We got errors on tap to pay on Android. Screenshot attached. Please help!

Question
We got errors on tap to pay on Android. Screenshot attached. Please help!

What have you already attempted?
We got errors on tap to pay on Android. Screenshot attached. Please help!

What are you working on?
We got errors on tap to pay on Android. Screenshot attached. Please help!

cursive heronBOT
#

@twin relic pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am not a developer, just a frustrated customer of your customer

Question
Hi Stripe team, one of our vendors uses stripe for German IBAN Sepa. We wish to pay via SEPA Direct Debit. When trying to fill in our IBAN in our vendor's SEPA mandate form it shows an error that the IBAN is invalid.

What have you already attempted?
I have followed up with our Vendor. They said the form is provided by Stripe and so is the IBAN check. They say the error is appearing because stripe checks whether our IBAN is valid for SEPA mandate. They don't have time right now to investigate this with you so I am getting in touch.

I reached out to our Bank, Vivid Money (Germany). They did a detailed check and said from their side nothing is preventing Stripe from using their IBANS for direct debit.

#

@tawny nimbus pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In Identity : is it possible to add documents/verification_session/verification_report to the list using the API?
It works in the dashboard, but I can't find any API endpoint to do it programmaticaly, or even do it by default.
Thanks!

Related Request ID(s)
req_2quzMLok7yk6oa

What have you already attempted?
I read the documentation in Stripe, ask support, read the available endpoints on API reference, and test using the dashboard (works, but only manually).

What are you working on?
This aim to prevent people for signing up multiple account using the same identity.

cursive heronBOT
#

@orchid sphinx pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
Is there a way to call 'create subscription' call and in the response receive upcoming invoice? Currently when I call it I get current invoice (where there is no price, because it is a trial) and I want to be able to display user when he will be charged and for how much. This request also returns plan and subscription objects but those contain default price and currency, and I need data with user currency. I found workaround with calling `invoices/upcoming` but I'd like to have one request less if possible...

Related Request ID(s)
req_HLDzWwOz4uJKYD

What have you already attempted?
read the docs about subscription and invoice.

What are you working on?
Mentioned in question. Flow of user subscription in local (supported) currency. After which there is info displayed about upcoming payment.

#

@pearl lark pressed the 🪝 Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If we have 3 apps deployed in 3 different servers and domains (domain1, domain2, domain3), we tried to add multiple Webooks as below:
domain1/path/to/webhook
domain2/path/to/webhook
domain3/path/to/webhook
But it seems they are not functioning correctly.
Keeping in mind that we'll have 3 connected accounts (one for each app) that we deduct fees from with every single transaction.
What is the best practice here? and how to add multiple Webhooks with different domain?

Related Event ID(s)
Look in Dashboard > Developers > Webhooks

What have you already attempted?
We tried to add multiple Webhooks with different domains but it seems always a 1 webhook gets executed.

cursive heronBOT
#

@sonic arch pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
How can I differentiate between payment events from `subscription` and `payment`?
I know that a checkout session of type "payment" send a `payment_intent.succeeded`, but how can I know it's not coming from a subscription mode that was created from a checkout session?

What have you already attempted?
I have a webhook handler listening to `payment_intent.succeeded` and subscription for `customer.subscription.updated`

#

@timid patrol pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have access to the user's customer ID and their subscription ID, what I want to do is to get the last 4 digits of their card and the time when the billing cycle ends for their monthly subscription, by only making one API request to stripe (subscriptions.retrieve, customers.retrieve)

Related Request ID(s)
N/A

What have you already attempted?
Currently, everything I've found has required me to make 2 API request, for example when using the subscription ID, I use subscriptions.retrieve, but also have to use paymentMethods.retrieve. I want to see if I can get everything in one request.

cursive heronBOT
#

@cyan ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to do payment_method = "pm_card_authenticationRequired" in Live Mode?

Related Request ID(s)
.

What have you already attempted?
I have tried to 3D Payment in Live Mode with 1.07 EUR. However it said: "YOU CANNOT USE THE TEST ID 'PM_CARD_AUTHENTİCATİONREQUİRED' İN LİVEMODE. IF YOU ARE TESTİNG YOUR İNTEGRATİON, PLEASE USE YOUR TESTMODE API KEYS İNSTEAD.",

What are you working on?
API Integration

#

@teal crane pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I do a refund charge call the charge doesnt get refunded and I get a No such charge error. However I can see the charge when I do a get charges call to stripe.

Related Request ID(s)
ch_3Pj6KOHJ3D0NMs6P1dk3Vev8

What have you already attempted?
I have tried searching for the charge on dashboard but cant find it.

What are you working on?
In person payments platform

#

@bleak zodiac pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I pay for a invoice using terminal M2 ?

Related Request ID(s)
in_1PjihTDn6CAQGXZnQE62m8gJ

What have you already attempted?
Everything is in place, I create the invoice, I expand the PaymentIntent when finalizing the invoice. My front end is failing when trying to collect payment with the message : PAYMENT_ERROR.DECLINED_BY_STRIPE_API-The PaymentMethod provided (card_present) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: ach_credit_transfer, card, cashapp, wechat_pay. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "card_present"

What are you working on?
Gym POS

#

@dusk thistle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<StripeProvider urlScheme='https://www.example.com'>...</StripeProvider>

----
// linking URL listener
const { handleURLCallback } = useStripe();
...
await handleURLCallback(url);

----
// payment utils
const { error, setupIntent } = await confirmSetupIntent('client_secret', {
paymentMethodType: 'Card',
});

Question
Hello again, following last conversation ( #dev-help message)

Doing that, when I pay with PayPal the browser is closing automatically after accepting the payment and it now work fine on iOS
The issue I have now is that because of this, when I pay with a credit card that opens the 3DS Secure browser, I now get redirected in the `urlScheme` I provided but the deeplink is not triggered

What have you already attempted?
Before enabling the deeplink, it was redirecting to a Stripe page saying "Payment is complete, you can now close the window" but what should I do now? I was expecting the deeplink to be triggered but it seems not to be the case even though the URL is still `/safepay?redirect_status=pending` just like PayPal, did I miss something easy like the issue before? Sorry for asking you again and thanks for answering my question

#

@wet condor pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My platform uses Stripe Connect Express and manual payouts to delay between custome One of my admins triggered a refund of a payment that had not yet been paid out to the Connect user. This shows as refunded on the platform's dashboard, but the payout amount is still showing on the Connect user's balance as "ready to payout". r payment and payout to my Connect users. How should I manage refunds? Do I need to trigger a refund first from the Connect account to the platform, and then afterwards a separate refund to the customer?

Doc/Guide Links
I couldn't find any specific advice in the docs. I have read over the article on Connect account balances: https://docs.stripe.com/connect/account-balances?locale=en-GB and refunds: https://docs.stripe.com/refunds

What are you working on?
A booking platform that accepts payment up-front, and pays out a portion of the payment to the connected booking provider once final delivery of services has been confirmed days/weeks later.

#

@prisma ore pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// When I log the token, it exists, however there is the error saying that the Provider timed out

const fetchTokenProvider = async () => {
const { token } = await driverApi.get('/v1/tap-to-pay/stripe-token');

console.log({ token });

return token;
};
export const StripeProvider = ({ children }) => {
return (
<StripeTerminalProvider logLevel="verbose" tokenProvider={fetchTokenProvider}>
<>{children}</>
</StripeTerminalProvider>
);
};

Question
Usually, after the user has successfully followed the Stripe Connect registering process and his account has been verified, on his first try to connect to the SDK, he gets the following error : "Your app's ConnectionTokenProvider did not call the provided completion block within 60 seconds." If he restart the app, it works. I followed the documentation and I can't figure out if I did something wrong or if it's an issue on your side. Could you help me please ?

What have you already attempted?
"expo": "~50.0.19"
"react-native": "0.73.6"
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.20"

What are you working on?
Tap to Pay on an Expo app using react @stripe/stripe-terminal-react-native SDK

cursive heronBOT
#

@cyan ferry pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do you have payment method equal for 'pm_card_authenticationRequired' in livemode?

Related Request ID(s)
.

What have you already attempted?
You cannot use the test ID 'pm_card_authenticationRequired' in livemode. If you are testing your integration, please use your testmode API keys instead.

What are you working on?
API Integration

#

@tulip blade pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
params := &stripe.BalanceTransactionListParams{}
params.Payout = stripe.String(reportID)

return r.balanceTransactionClient.List\(params\).BalanceTransactionList\(\), nil

Question
I am trying to run the following code to get all transactions for a specific payout (ID: po_1PHbejJa2p8ZVPIFI6DXg7cT). However, it only returns 9 transactions, which seem to be aggregated rather than individual transactions.

What have you already attempted?
running the code and checking portal to check whether payout exists and number of transactions there

#

@oblique dome pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
About balance transaction, on the documentation :

https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-created

It is mentioned about the created field that it is :

Time at which the object was created. Measured in seconds since the Unix epoch.

I would like to know if this time is in UTC or in the local timezone of the stripe account.

Related Request ID(s)
na

What have you already attempted?
Documentation

What are you working on?
Our accounting is not matching stripe reports, we think it may come from how we handle the date and the timezone

#

@dusk thistle pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Some code here that I should write

Question
Sorry I can't answer the thread here: #dev-help message Can you re-open it please?

What have you already attempted?
> Making sure I'm understanding correctly too, this is regarding the behavior of the return URL being used when processing those payments

That's it! Now that I added a `urlScheme` in the `StripeProvider` and enabled the deeplink, I'm not redirected on the page that asks to close the window but the behaviour is different from PayPal

On PayPal, I accept the payment, the window is closed and the deeplink is perfectly handled, here the browser goes to the `urlScheme`

#

@prisma ore pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const fetchTokenProvider = async () => {
const { token } = await driverApi.get('/v1/tap-to-pay/stripe-token');

console.log({ token });

return token;
};
export const StripeProvider = ({ children }) => {
return (
<StripeTerminalProvider logLevel="verbose" tokenProvider={fetchTokenProvider}>
<>{children}</>
</StripeTerminalProvider>
);
};

Question
Usually, after the user has successfully followed the Stripe Connect registering process and his account has been verified, on his first try to connect to the SDK, he gets the following error : "Your app's ConnectionTokenProvider did not call the provided completion block within 60 seconds." If he restart the app, it works. I followed the documentation and I can't figure out if I did something wrong or if it's an issue on your side. Could you help me please ?

What have you already attempted?
"expo": "~50.0.19"
"react-native": "0.73.6"
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.20"

What are you working on?
Tap to Pay on an Expo app using react @stripe/stripe-terminal-react-native SDK

#

@visual ruin pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an implementation using Split Card Element. Specifically CardNumberElement in React. I want to display the dropdown of available networks. When using the showIcon: true option, the card icon shows, but the dropdown doesn't. What I want is to be able to see the dropdown so that I can allow the user to choose their preferred network of choice among all the available networks based on their card number input.

Related Request ID(s)
na

What have you already attempted?
I have tried using CardElement as well with the hideIcon option which wielded the same result (shows the Icon but not the dropdown of available networks). I have also tried the Custom Integration method of using retrieveCardNetworks with a mock card number. This works correctly, but doesn't suit our implementation since we don't have access to the raw card number. I have in general tried many alternates, but the closest I've gotten is showing only the icon. I am yet to see the dropdown.

What are you working on?
I am working on showing the dropdown of available networks so that the user can choose which one they want to use during payment in order to comply with the latest EU Payment Regulations

#

@frosty salmon pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm curious if it's possible within Financial Connections to only use the manual verification with microdeposits?

Question
I'm curious if it's possible within Financial Connections to hide the email/password flow and instead only use the manual verification with microdeposits?

What have you already attempted?
I've tried using the "microdeposits" enum in the Element (react-stripe-js) options, but that doesn't seem to be a valid value:

```
paymentMethodOptions: {
us_bank_account: {
verification_method: "microdeposits",
},
},
```

#

@solemn meadow pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the payment_method_type string used for Canadian pre-authorized debits?

Related Request ID(s)
req_QQqsVq5hZOBz9l

What have you already attempted?
I tried creating a SetupIntent passing interac_present as one of the payment_method_types, but the response says it's invalid even though Canadian pre-authorized debits is enabled in my account. Is interac_present another payment method?

What are you working on?
Including canadian direct debits into my current SetupIntent -> Schedule flow

#

@vocal wagon pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on a vb.net project and I want to integrate Stripe for payments. Can I pass customer_ID and product_ID using the "Stripe payment link" button, and receive them back on my website receiver page so I can track who bought what?

Related Request ID(s)
212311

What have you already attempted?
I am sending this through my code
<stripe-buy-button
buy-button-id="buy_btn_1PjseKEVI1GS8RhP4G0Rm3z2"
publishable-key="pk_test_51OHyPZEVI1GS8RhPmM9dP8anRHSvM1uO4LP3QxhUiPjihT6CcZ0IQbfHL5tBKr4klg6zIrgsNQKZJxUvf8fbfvWp004i1tj1wT"
client-reference-id="<%= Session("examuserid") %>_<%= Session("SelectedProductId") %>_M_<%= M_price%>"
success-url="http://www.mockexam.tutetap.com/examusers/success.aspx?session_id={CHECKOUT_SESSION_ID}"
cancel-url="http://www.mockexam.tutetap.com/examusers/cancel.aspx">
</stripe-buy-button>
After P
?client-reference-id={CHECKOUT_SESSION_ID}

cursive heronBOT
#

@little thorn pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have the need to know when a balance_transaction goes to status = 'available'. The only way that I have found is to poll the API. Why this event isn't trigghered on the webhook?

Related Request ID(s)
txn_3PgKjMBHlcEWpgCk08nXUgro

What have you already attempted?
A polling to the resource

What are you working on?
A web application

cursive heronBOT
#

@storm hound pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
no ban? wtf why im getting banned

What actually happened?
no ban? wtf why im getting banned

Reproduction Steps
no ban? wtf why im getting banned

Question
no ban? wtf why im getting banned

What are you working on?
selling keys for games

cursive heronBOT
#

@elder lichen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need help understanding every part of the Stripe Connect onboarding process for custom individual accounts

Related Request ID(s)
Making API request

What have you already attempted?
I am updating my customer id but see some fields that shouldnt be there

cursive heronBOT
#

@soft swift pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe-app.json

"content\_security\_policy"\: {
  "connect\-src"\: \[
    "https://api.myapi.com/api/",
    "wss\://api.myapi.com/ws"
  \],
  "image\-src"\: null,
  "purpose"\: "These URLs allow the app to configure the connection between my API and Stripe."
}

AppSettings.tsx

const ws = new Websocket("wss://api.myapi.com/ws")

Question
I get an error when I try to create the websocket: Refused to connect to 'wss://api.myapi.com/ws' because it violates the following Content Security Policy directive: "connect-src http://localhost:* localhost:* https://api.myapi.com/api/".

What have you already attempted?
Updating the manifest, trying to use wildcards, using `stripe apps grant url ` with the websocket url

What are you working on?
A Stripe Marketplace app

cursive heronBOT
#

@solemn stirrup pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Implementing Android SDK into native Kotlin webview

Question
Hey there!
I'm currently implementing the Android SDK into our native webview using Kotlin. I have everything working, except sometimes when opening the verification sheet it opens up inside a "Chrome client" instead of the native modal. If I close out and click the button repeatedly, it'll randomly go back and forth between these two modals. Is this a known bug?

What have you already attempted?
I've tried waiting to see if sheet creation hasn't completed yet. Made sure my brand label is set properly. Not sure what else to try.

What are you working on?
Native Kotlin webview for our mobile responsive website

#

@winter island pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
See an Apple Pay button

What actually happened?
There's no Apple Pay button when running iOS 18 beta

Reproduction Steps
Open https://buy.stripe.com/14kdUi129bdT7u0aEE on iOS 18 beta 4 (the same on beta 1, beta 2, or beta 3). The ApplePay option will not be available.

The ApplePay button loads correctly when running iOS 16 or iOS 17.

Question
Is this a bug in Stripe? If so, can we expect this to be fixed soon?

What are you working on?
A platform for content creators to earn money on the social web

#

@upbeat panther pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
@stripe.elements({clientSecret , appearance})

Question
Hello. The `clientSecret` comes from the SetupIntent. Meaning every time someone visits my form a create setup_intent request is sent to get the client_secret and show user the payment method inputs from stripe elements. It creates a lot of setup_intents and I am not sure if it is right. Can someone help? what should I do to prevent this?

What have you already attempted?
Still researching what can I do to prevent this.

What are you working on?
A signup for with the payment method.

cursive heronBOT
#

@scarlet cradle pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
In Sigma, have a checkout_sessions_metadata table that can be used similarly to charges_metadata.

What actually happened?
In Sigma, there is no table listed in the schema for this purpose.

Reproduction Steps
1) Go to Sigma.
2) Look up checkout_sessions_metadata.

Question
Is there a way to access the metadata of checkout sessions from Sigma?

What are you working on?
A series of Sigma reports.

#

@minor imp pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the EmbeddedCheckout React component in a Next.js application to embed a checkout form for a subscription. My question is about failed payments. Stripe creates an "incomplete" subscription even if the initial payment fails. If the user just retries the payment with another card, Stripe will create another subscription and mark that one as active (leaving the other one as incomplete). Is this the correct approach or is there a way to specify an unpaid invoice in the EmbeddedCheckout for customers that had a failed initial payment?

Doc/Guide Links
https://docs.stripe.com/checkout/embedded/quickstart?client=next

What are you working on?
A SaaS application

cursive heronBOT
#

@viral widget pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const options: StripeElementsOptions = useMemo(
() => ({
clientSecret: subscription?.clientSecret,
appearance: {
theme: 'flat',
},
layout: {
type: 'tabs',
defaultCollapsed: false,
},
variables: {
colorText: 'White',
}
}),
[subscription]
)

Question
How I edit the UI of my payment element. When I change it by going with the documentation it doesnt work.

What have you already attempted?
Reading the stripe documentation

What are you working on?
NextJS

cursive heronBOT
#

@elder lichen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Inquiry about transfer into a connected account

Related Request ID(s)
Looked in dashboard, check account status

What have you already attempted?
I see the dashboard, I just need clarification.

What are you working on?
I want to do payouts to my customers

#

@worthy crypt pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected the browser's request to strip to receive a response!

What actually happened?
The browser (chrome) dev-tools network activity log shows *no response* was received

Reproduction Steps
I have a storybook for some test scenarios, some of which include an iframe having the stripe credit card payment being able to be input. When capturing screenshots, sometimes, a requested URL never resolves! If I exercise the same URL in browser, observing network tab of dev-tools, with some refreshes, I can see there too, the same lack of response sometimes.

Question
What's up with this problem? Is it sometimes happening for our customers too on random basis? It's definitely a problem that's started happening in oh, the last week, perhaps two, or so. Concerned that what we're seeing is also happening for customers, but it definitely messes things up for development locally and in continuous integration environments. Ideas?

cursive heronBOT
#

@elder heart pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Stripe Pricing Tables, Post Purchase, Get Subscription + Subscription Itms

Question
Stripe Pricing Tables, Post Purchase, Get Subscription + Subscription Itms

What have you already attempted?
Stripe Pricing Tables, Post Purchase, Get Subscription + Subscription Itms

#

@tawny pivot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are having a lot of customers complaining about not being able to enter in credit card information or submit payment and all appear to be using Safari on iPads via elements on our site. This is new and no changes have been made for several weeks.

I am having trouble troubleshooting this and would love to get some guiding me to properly troubleshoot this. I know the customers, I know ~when they tried to order, but we have a ton of volume to sift through.

Related Request ID(s)
None.

What have you already attempted?
Tested using browserstack and multiple versions of iPads to reproduce.

What are you working on?
Checkout.

#

@tall narwhal pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I tried to add a phase to an existing subscription schedule but Stripe error states that a payment method "customer balance" is not allowed. I am not explicitly setting a payment method so I am not sure what's going on. The original ongoing subscription has collection method set to `send_invoice`.

Related Request ID(s)
req_WK0jz78uoYO0qg

What have you already attempted?
I tried reproducing it locally but I am not able to.

What are you working on?
I am working on a billing system of a SaaS company

#

@vocal wagon pressed the ❌ An Error button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
`stripe trigger invoice.payment_failed --add invoice.billing_reason=subscription_cycle`

Question
using the stripe client, how do i trigger a invoice.payment_failed event with the invoice's billing_reason set to subscription_cycle? i get an invalid param error

What have you already attempted?
read the entire docs here https://docs.stripe.com/cli/trigger

i think i'm doing exactly what it says

What are you working on?
trying to test a recurring (subscription) failed payment

cursive heronBOT
#

@cerulean pasture pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am trying to add a manual credit card entry to my point of sale so that connect users can start processing payments in their store with us before their terminals arrive

Question
Is there documentation on best practice for putting in a manual card entry into our connect user facing point of sale?

What have you already attempted?
Not sure if I should use stripe-elements or if there's another option

What are you working on?
Point of Sale platform

#

@past epoch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
🙋🏻 I need to retrieve the payment method id from a suubscription created with `stripe.checkout.Session.create` . I am not getting the payment method id which is supposed to be included in the Customer Object. I have included the `setup_future_usage = off_session` but I am still not getting it.

Related Request ID(s)
req_WW4SLyb7cSvQS8

What have you already attempted?
This are the params that I am including in the checkout creation:
params = {
"line_items": [
{
"price": product.default_price,
"quantity": quantity,
},
],
"mode": method.value,
"success_url": STRIPE_DOMAIN + "/checkout/success",
"cancel_url": STRIPE_DOMAIN + "/checkout/error",
"customer": customer,
"saved_payment_method_options": {"payment_method_save": "enabled"},
}

What are you working on?
I need to retrieve the payment information from the user to make future payments and I think I can get it when the user creates a subscription

cursive heronBOT
#

@bright blaze pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Difference between paid vs succeeded payments in the Charge API

Doc/Guide Links
This doc shows 3 possible statuses for a charge: https://docs.stripe.com/api/charges/object#charge_object-status however we have a mixture of 'paid', 'succeeded' and 'failed'. Not entirely sure what the difference is between paid and succeeded

What are you working on?
Monitoring failed payment attempts for one of our subscription products.

#

@tawdry zealot pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When updating a subscription it seems to create a new price vs replacing the existing one. Not sure if there is an object that I'm missing, but its adding a second price vs replacing the one in the body. Can this be done via the update/upgrade option, or does it need to be a subscription schedule creation?

Related Request ID(s)
req_xUy9Nm0zb6zfXN

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade?lang=curl#changing

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

I've tried a few different object changes but all seem to lead to a new product being added, never the original pricing product being replaced on the subscription.

What are you working on?
Upgrading a subscription to a new price/product for the next billing cycle

cursive heronBOT
#

@past epoch pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to get the saved payment method when doing a Checkout Session but I am not getting it. A response from @roadrunner_stripe mentioned that I need to use `saved_payment_method_options` . This is how I am creating it:
params = {
...
"saved_payment_method_options": {
"allow_redisplay_filters": ["always"],
"payment_method_save": "enabled",
},
session = stripe.checkout.Session.create(**params)

And in the payload from checkout completed I am getting:
"payment_intent": null,

Related Request ID(s)
req_WW4SLyb7cSvQS8

What have you already attempted?
This is the documentation that I was kindly received from @roadrunner_stripe:
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-saved_payment_method_options

Which indicates what I can use, but still not getting the payment_intent value

What are you working on?
Saving the payment method from a Stripe Subscription more specifically in the Checkout

#

@ancient ibex pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're using Connect and having a tough time figuring out why payment methods we've blocked are still showing.

Related Request ID(s)
req_avtVCq0wYUsGXN

What have you already attempted?
We've blocked some payment types in our Connect settings. We're not enabling automatic_payment_methods when creating Payment Intents or Setup Intents. The request body shows the only payment method is "card". But other payment types are still showing in the element.

What are you working on?
a web app to accept contributions

cursive heronBOT
cursive heronBOT
#

@mortal magnet pressed the 👍 Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best way to use Setup Intents without writing code? It doesn't look like I can set up a SetupIntent for a customer through the UI directly, but I need to collect credit card info from customers when they start using my product. And it's a no-code product, so I can't integrate with the API directly.

Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly#:~:text=Use SetupIntents to collect card,re the same payment method.

What are you working on?
a job board

cursive heronBOT
#

@elder lichen pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Creating a Stripe Connect account via the API onboarding. Its created but I guess it needs photo ID otherwise itll stop payouts.

Related Request ID(s)
Looked at Dashboard

What have you already attempted?
I have a script that I used to upload my passport photo. I guess that didnt work.

What are you working on?
I have a system that pays out customers.

cursive heronBOT
#

@true stag pressed the 🤨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Checkout without 3DS, also the amount on 3DS was $0.00 I think because it was a SetupIntent?

What actually happened?
Checkout triggered 3DS and the amount on 3DS was $0.00

Reproduction Steps
Not sure, maybe using that same specific card? It doesn't happen with test cards, even test mastercard ( in test mode ).

Question
Why was 3DS triggered? How to show an actual amount instead of zero amount? It was a bit confusing for the user and understandably so.

What are you working on?
Custom WordPress checkout plugin

#

@pure locust pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to show the paid invoices to our users. Under invoice object, i can see there are "invoice_pdf" and "hosted_invoice_url". I am thinking of storing either to our db so i am wondering whether they are ever expired. if so, how do i re-generate the url?

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
Building SaaS platform where connected users can create their own subscription

cursive heronBOT
#

@primal quiver pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to always start a subscription as incomplete even when the initial amount is $0? I want to require a card for a free trial and the subscription starts in trialing. I currently provision the product if its active or trialing and could provision it only when there is a payment method, but it creates a scenario at checkout when user's a payment method fails but their trial has started. I can't seem to identify the difference between "allow_incomplete" and "default_incomplete", In theory I would want "incomplete_without_payment_method".

Related Request ID(s)
req_JHGMnrte0mGlaZ

What have you already attempted?
considering our options, we could add a "payment recovery" to our checkout flow and then prompt this instead of provisioning the product.

cursive heronBOT
#

@autumn canopy pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way via the API (or even the Stripe dashboard, either as our main account OR the connected account) to update an Express Connected Account's default currency? I currently get an API error that the app does not have the required permissions, but this is a non-restricted API key. I see no way to make this update in the dashboard either.

Related Request ID(s)
req_slncQEiG2kqaq2

What have you already attempted?
Sending an /v1/accounts/acct_[#] -d "default_currency"="usd" did not work, got a "app does not have the required permissions for the parameter default_currency" error

What are you working on?
Freelancing platform using Stripe Connect for freelancer payouts

cursive heronBOT
#

@vital bough pressed the 🧑‍💻 Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
payment_method_types: ['us_bank_account'],
mode: 'setup',
customer: stripeCustomerId,
success_url: `https://www.split-loyalty.com/Customer-load-balance?session_id={CHECKOUT_SESSION_ID}`,
metadata: {
userId: userId,
},
});

Question
the metadata userId is not coming through on the webhook payload.

What have you already attempted?
I had a similar issue on a create-session checkout for card and the solution was adding paymentIntent data: metadata. I tried that but I got an error return from stripe saying I can't have payment intent data on a checkout session that is in setup mode

What are you working on?
neighborhood loyalty app

cursive heronBOT
#

@ashen vessel pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to initiate a transaction (transfer, payment, etc.) between an asset and liability account of a created customer? (using Plaid & Stripe connect)

Related Request ID(s)
req_97hKGDkEylK225

What have you already attempted?
Auth, customer object, Setup Intent, Payment Intent

What are you working on?
Debt payment app

cursive heronBOT
#

@rose gyro pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to test a Standard connected Account using Stripe connect?

Related Request ID(s)
Stripe Connect

What have you already attempted?
Using Transfer, tried unable to test in Prod because of payment deduction

What are you working on?
Searching a way to test Standard Account in Test Mode

#

@real fog pressed the 📚 Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://stripe.com/resources/more/what-is-a-card-account-updater-what-businesses-need-to-know#introduction

Question
Hi, I have a small question about Card Account Updater. Once the customer's card details are updated (e.g., expired card), does Stripe create a new Payment Method with the new card details or will Stripe just update the existing Payment Method?

What have you already attempted?
None

cursive heronBOT
#

@raw pulsar pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Uncaught Error: Call to undefined method Stripe\Service\Terminal\ReaderService::collectInputs() in

Related Request ID(s)
$stripe->terminal->readers->collectInputs(

What have you already attempted?
$stripe->terminal->readers->collectInputs(

What are you working on?
$stripe->terminal->readers->collectInputs(

#

@austere wharf pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Invalid value for elements(): clientSecret should be a client secret of the form ${id}_secret_${secret}. You specified: cs_test_a1ChwMfkGAjNwFiqClpRC1hE1JI00RKQfFayUmuZhCRVOlaD4Hr02UVVkK_secret_•••J3gl.

Related Request ID(s)
no

What have you already attempted?
Invalid value for elements(): clientSecret should be a client secret of the form ${id}_secret_${secret}. You specified: cs_test_a1ChwMfkGAjNwFiqClpRC1hE1JI00RKQfFayUmuZhCRVOlaD4Hr02UVVkK_secret_•••J3gl. how to deal

#

@rose gyro pressed the 📡 API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe Standard connect account issue with TOS

Related Request ID(s)
Stripe connect

What have you already attempted?
I have created a standard account in test mode. TOS is failing

What are you working on?
I need to test my Standard Connected Account