#dev-help

1 messages · Page 82 of 1

atomic shuttleBOT
#

@latent holly pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I deactivated link in my payment method settings

What actually happened?
Link was mysteriously re-enabled.

After checking the security history, i see that no one else on my team has reactivated it.

Reproduction Steps
View our settings/security-history

Question
If there is no trail of the payment method settings being updated in my security history, how else could have been re-enabled?

What are you working on?
Payment Element

#

@indigo slate pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to add a secondary payment method to Stripe customer/invoice_setting to retry invoice payments when payment on invoice.default_payment_method fails?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Setting payment methods on account

#

@tired night pressed the 🔌 API button in #help to ask a question:

Question
I'm have react and python app and im using PaymentElement component from stripe's reactjs library.
So using payment element user moved forward with payment and based on the response of stripe.confirmPayment I hit my backend.
In my backend it says that the status of payment intent is succeeded but value of payment_intent.latest_charge.balance_transaction is null.
I have been using this code since months and if the payment intent status is succeeded then the value of variable is never null
Why does it show null now?
Recently I have disabled Link Payments does that have anything to do with this?

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

What have you already attempted?
https://docs.stripe.com/payments/quickstart

#

@ebon ingot pressed the 🔌 API button in #help to ask a question:

Question
Hey there,
I create a checkout session with line_items with each having their own metadata in my backend code. When the checkout session is done (and successful) I need the individual metadata of each specified product to update the DB respectively...
But I cannot find the defined metadata in the incoming checkout session event object...
Do you have any Idea where I could get the metadata from / give me a hint :)

I also see in the Logs that my defined metadata is not inserted at the created line_items in the checkout session - I guess that is the problem - but how can I fix it...

Related Request ID(s)
req_NWy5c78lGDoqJt

What have you already attempted?
I have tried to look deep into the received checkout_session event object but found nothing...

What are you working on?
Basically a marketplace for buying interior & art - Currently working on the fullfilment of a product order (including selected options and their respective stock count)

#

@midnight portal pressed the ❌ An Error button in #help to ask a question:

Error Message
type: 'StripeInvalidRequestError',
raw: {
message: 'Cannot create account debit on this account; please contact us via https://support.stripe.com/contact with details for assistance.',
request_log_url: 'https://dashboard.stripe.com/test/logs/req_nxEecDaMHeMt6X?t=1713547023',
type: 'invalid_request_error',
headers: {
server: 'nginx',
date:

Question
I dont get why I cannot create debit on this test account.

What have you already attempted?
I want to transfer money from two connected accounts that are connected to my platform account, and the only way available I saw was charging the connected account I want and then doing a transfer from the platform account to the other connected account, but I can't seem to set it up.

Reproduction Steps
const charge = await stripe.charges.create({
amount: amount,
currency: 'usd',
source: sourceAccountId,
description: 'Charge from source account for internal transfer'
});

atomic shuttleBOT
#

@west saffron pressed the 🔌 API button in #help to ask a question:

Question
When were stackable discounts on subscriptions introduced? I'm now seeing the ability to add more than one discount/coupon to a subscription, when earlier you could only attach a single coupon to the subscription and customer. The customer still only supports a single coupon, is there plans to also allow multiple discounts there?

Related Request ID(s)
N/A

What have you already attempted?
Creating stackable discounts

What are you working on?
Adding promotion codes to our custom subscription flow

atomic shuttleBOT
#

@night steppe pressed the 🔌 API button in #help to ask a question:

Question
I want to make an integration with stripe.
I'm able to do payments with card but I want to give access to pay with multibanco.
Is this something I can do?
I saw many people telling that it is not possible

Related Request ID(s)
N/A

What have you already attempted?
I implemented payments with card and read the multibanco documentation

What are you working on?
Payments with multibanco

#

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

Question
Subscription update using flowtype subscription_update_confirm, but have a error

Related Request ID(s)
Erro in subscription_update_confirm

What have you already attempted?
The value are incorrect

atomic shuttleBOT
#

@nova berry pressed the 🔌 API button in #help to ask a question:

Question
Whenever I try to create a payout from a connect account, I am receiving the following error: " You have insufficient funds in your Stripe account for this transfer." However, the account that I am trying to initiate the payout for has the following balances: available balance $0, and instant available $408.76. My question pertains to the difference between these two balance.

Related Request ID(s)
N/A

What have you already attempted?
I have researched but to no avail

What are you working on?
I am currently testing payouts for Stripe's connect accounts.

#

@hexed mist pressed the 🔌 API button in #help to ask a question:

Question
I've had an error with my webhook, which seems rare, but i'm trying to sort out whats happening. From looking into it, it seems it may have something to do with a challenge requirement with payment method, but then somehow my webhook is getting an error about the lack of a credit card number.

Related Request ID(s)
req_yBMDbnqfEFgmin

What have you already attempted?
I'm honestly unclear on whats happening. I looked at the customer actions related, and it looks like they repeatedly got
setup_intent.requires_action, for example id: seti_1P6dtDCAMZtSw1NMI5m4Wi55

atomic shuttleBOT
#

@molten storm pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We expected the customer to route their refund to their bank account via email prompt and funds to leave Stripe USD Cash balance.

What actually happened?
Refund attempt was canceled (not by us and confirmed not by customer).

Reproduction Steps
https://dashboard.stripe.com/customers/cus_Pbg9O2o8XYvwP4/cash_balance_transactions/usd

Initiate refund from customer page.
Within 24 hours the refund is canceled with no explanation as to why.

Question
Is Stripe canceling the refund? If so, why? We can work with the customer to remediate.

What are you working on?
We are testing out a new process for overpayment refunds via Stripe and running into this unexpected error.

atomic shuttleBOT
#

@forest ore pressed the 🔌 API button in #help to ask a question:

Question
I am looking into a special subscription where a customer buys and when they downgrade to a lower plan we don't want it to start until this subscription ends. I can either write something to change the subscription at the end of the current one or I was hoping you had something on your end to handle a switch in subscriptions at the end of the billing cycle.

Related Request ID(s)
none

What have you already attempted?
https://docs.stripe.com/api/subscriptions/create#create_subscription-proration_behavior I was looking at the proration but it's not clear if it will charge the customer for the new subscription right away on the downgrade option or end of billing cycle.

What are you working on?
API upgrades

atomic shuttleBOT
#

@polar hedge pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/billing-cycle?dashboard-or-api=api#changing

Question
I am having a very hard time understanding how someone (either me or my customer) isnt losing money when adjusting the BAD (Billing Anchor Date)

Even in the documentation provided here, it says

"The period between July 23 and July 31 isn’t charged."

This is just stated as if its OK, but the business is losing money for the service provided during this period of time.

What have you already attempted?
We successfully implemented the code, but it simply does not make financial sense.

We believe the delta (July 23 to July 31) needs to be charged some how.

I assume the only solution would involve schedule subscriptions and prorations.

What are you working on?
SaaS application for Stripe Terminals

#

@azure lagoon pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to allow customers to switch plans between products - I have a Business product with 20 price_ids and a Pro product with 20 price_ids - the price_ids are essentially tiers. I want to allow customers to switch between Business and Pro (and vice-versa) but I don't want to have to collect credit card details, I want to use the customer's existing payment method and I want customers to be able to be invoiced immediately. Please help.

Doc/Guide Links
I've looked at a lot of guides, nothing has given me the answer I'm looking for yet.

What are you working on?
Subscription switcher

#

@stoic smelt pressed the 🔌 API button in #help to ask a question:

Question
How can I pull the promotion code from a checkout session or other API endpoint?

Related Request ID(s)
n/a

What have you already attempted?
I've looked in the API docs and don't see the promotion code ID or name listed. I've used ChatGPT to help me but to no avail.

What are you working on?
On the completion of a checkout session I want to grab the promotion code (and other data) and put it into an Airtable database

#

@fossil hull pressed the 🔌 API button in #help to ask a question:

Question
API issue with connect express login links. I recieve a Stripe\Account back from the api rather than the Login link object

Related Request ID(s)
acct_1P7MwdQsxL2SvH42

What have you already attempted?
$this->stripeClient = new \Stripe\StripeClient(config('services.stripe.secret_key'));
$this->stripeClient->accounts->createLoginLink($recruiterStripeConnectId),

What are you working on?
Trying to create a dashboard link for their express account

atomic shuttleBOT
#

@hexed mist pressed the 🔌 API button in #help to ask a question:

Question
Sorry i asked this before but the thread closed before i saw the response. I need to discuss further
----
I've had an error with my webhook, which seems rare, but i'm trying to sort out whats happening. From looking into it, it seems it may have something to do with a challenge requirement with payment method, but then somehow my webhook is getting an error about the lack of a credit card number.

Related Request ID(s)
req_yBMDbnqfEFgmin

What have you already attempted?
I'm honestly unclear on whats happening. I looked at the customer actions related, and it looks like they repeatedly got
setup_intent.requires_action, for example id: seti_1P6dtDCAMZtSw1NMI5m4Wi55

#

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

Code
await stripe.paymentIntents.create(

Question
can we create 2 payment intents for the same transfer_group (orderId) - one payment intent is destination charge, 2nd one is separate charges and transfer

What have you already attempted?
read docs

What are you working on?
Stripe integration for connected accounts

#

@severe cave pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm integrating Stripe.js in a Tauri app (similar to ElectronJS) and using Stripe Client side Elements on the frontend. The communication between the app and the backend is in HTTPS. The server handles all the logic and webhooks. Currently Stripe.js gives me a warning in Tauri "You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS.", this happens because Tauri loads stripe.js from http://127.0.0.1:1420 - Is this something to be concerned and is it compliant with Stripe service terms of use? If this is not compliant, what is the alternative to integrate Stripe in a macOS app using Tauri or ElectronJS equivalent?

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

What are you working on?
Building a cross platform desktop app. Currently testing in macOS.

#

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

Code
https://pastebin.com/pv13pvH8

Question
I do not understand why it is saying 404 and the endpoint cant be reached when to me is seems like it should be

What have you already attempted?
Ive tried google, stackoverflow, another support form and chatgpt

What are you working on?
A embedded checkout on my website

atomic shuttleBOT
#

@wanton siren pressed the ❌ An Error button in #help to ask a question:

Error Message
invalid_request_error
This cardholder has outstanding requirements preventing them from activating an issued card.

Question
I have reached out to support before but again it is the same error and this time I am pretty sure the implementation is right and would like to see what the problem is.

What have you already attempted?
contacted support, read documents.

What are you working on?
A personal project that will allow users to get an e-card from stripe.

atomic shuttleBOT
#

@rose summit pressed the 🔌 API button in #help to ask a question:

Question
When user makes payment, the successful order returns Firebase Page Not Found. The payment is successful though.

Related Request ID(s)
req_FpqzgMSYpuFIMv

What have you already attempted?
I have created a Firebase Cloud Function in Javascript called successfulOrder

// Handle successful order
app.get('/successfulOrder', async (req, res) => {
const session_id = req.query.session_id;

try {
const session = await stripe.checkout.sessions.retrieve(session_id);
const customer = await stripe.customers.retrieve(session.customer);

res.send\(\`<html\><body\><h1\>Thanks for your order, ${customer.name}!</h1\></body\></html\>\`\);

} catch (error) {
console.error('Error retrieving successful order:', error);
res.status(500).json({ error: 'Internal server error' });
}
}

What are you working on?
Payment system for my service/products on my website

atomic shuttleBOT
#

@primal birch pressed the 🔌 API button in #help to ask a question:

Question
Its possible collect the fees paid for a session checkout payment?

Related Request ID(s)
req_QPxuAqKKt37VMN

What have you already attempted?
ive searched in the docs

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

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

Code
paymentRequest.on('paymentmethod', async (ev) => {...}

Question
Instead of subscribing the paymentmethod event, is there any webhook you provide after the payment success?

What have you already attempted?
I am using Checkout Payment Button for Apple Pay. After the payment success, I get the confirmation from the paymentmethod event.

What are you working on?
I am integrating apple pay

atomic shuttleBOT
#

@reef heart pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/receipts?payment-ui=checkout#automatically-send-receipts

Question
I know that automatic sending of receipts can be done with Checkout.
Can I send a receipt using PaymentIntent?
Is it not possible to send automatically and do I need to write code?

Thanks your support!!

What have you already attempted?
Check the dashboard settings.
I'm trying it out in a test environment, so I haven't confirmed whether emails will actually be sent yet.

atomic shuttleBOT
#

@willow loom pressed the 🪝 Webhooks button in #help to ask a question:

Question
My events are getting cancelled from webhook not sure what's the issue

Related Event ID(s)
TODAY charge.succeeded 7:36:25 PM charge.succeeded 7:36:20 PM payment_intent.created 7:35:58 PM payment_intent.succeeded 7:35:44 PM checkout.session.completed 7:35:24 PM payment_intent.succeeded 7:34:

What have you already attempted?
Nothing was done on 13th it starting not working

What are you working on?
We are using wordpress and also wpforms too but i don't think so it's from them... As subscription we are doing directly from stripe nothing to do with wordpress but still getting issues

atomic shuttleBOT
#

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

Question
How do I retry a webhook event that I didn't subscribe to before?

Related Event ID(s)
nothing

What have you already attempted?
nothing

#

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

Error Message
SyntaxError {}
message: "Unexpected end of JSON input"
stack: "SyntaxError: Unexpected end of JSON input↵ at Object.onSubmit (https://dfdfc0c8-b50e-4037-aa34-cea130730c3f-00-3eebp8qm9h0io.sisko.replit.dev/src/SubscriptionForm.tsx:62:37)↵ at async FormApi.handleSubmit (https://dfdfc0c8-b50e-4037-aa34-cea130730c3f-00-3eebp8qm9h0io.sisko.replit.dev/node_modules/.vite/dep

Question
I am unable to post the full error

my question is that I am currently trying to integrate stripe subscription in my project i have somewhat done that also but is having error what should I do to resolve it I mean my main moto is just to integrate the stripe subscription in my project and make it working accordingly to my different subscription plans which I have

What have you already attempted?
chatgpt Gemini yt tutorial some GitHub repo and and blogs and now discord

What are you working on?
I am working on a personal project which based on collaborative whiteboard

atomic shuttleBOT
#

@brazen moth pressed the 👍 Best Practices button in #help to ask a question:

Question
I am looking for a way to apply promo codes to customers with existing subscription while creating portal. Since, the subscription is charged on a monthly basis and is automatic, I cannot find a way to get the promo code option on the Stripe Payment Screen. Please advise if this is possible or any other alternatives

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

What are you working on?
a SaSS

#

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

Question
Hi, i have enabled the gpay and added domain in the stripe ... but gpay is not showing in payment elements in reactjs for uk location... I am i missing something?. Please help

Related Request ID(s)
noid

What have you already attempted?
integrated as per docs in the stripe

What are you working on?
We are integrating stripe payment for one time and subscription

#

@gentle kindle pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/create#create_subscription-add_invoice_items

Question
Hi,

I am working on ecommerce website. there are multiple type of products maintained on our site. if i add 2 subscription product and 2 normal products. how can i checkout these kind of scenarios.

Note: I create subscription product only stripe. other types of product not maintained in stripe.

What have you already attempted?
https://docs.stripe.com/api/subscriptions/create#create_subscription-add_invoice_items

i refer this document. when create subscription "add_invoice_items" this one try to use. but this object contain stripe product id required. but i maintain normal products in our database subscription product only maintain stripe and our database.

What are you working on?
Ecommerce app

atomic shuttleBOT
#

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

Code
price = stripe.Price.create(
product=product_id,
unit_amount=100,
currency='usd',
recurring={"interval": "quarter"},
)

Question
How can I set up quarterly pricing after creating the product?

What have you already attempted?
I'm trying out the product first and then considering quarterly pricing. How can I handle the quarterly scenario before creating the subscription?

atomic shuttleBOT
#

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

Question
I need to retrive certain information from my connected acounts throught the API. I guees I need to make a query, but even reading the correct post about it in the Stripe API, still not clear how to do it.

Related Request ID(s)
none

What have you already attempted?
Retrieve the data manually.

What are you working on?
Trying to buld and endpoint where I can retrieve certain information about my connected accounts.

atomic shuttleBOT
#

@winter shuttle pressed the 🔌 API button in #help to ask a question:

Question
I want to change subscription cycle from monthly to quarterly. I am using product, price creation. Hwo can I do that

Related Request ID(s)
No id

What have you already attempted?
Read documents

What are you working on?
Stripe subscription API

#

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

Code
intent: PaymentIntent = stripe.PaymentIntent.create(
amount=orderAmount,
currency='eur',
automatic_payment_methods={
'enabled': True,
}
)

Question
Google pay to appear in the elements

What have you already attempted?
tried to disable and enable google pay again on the dashboard

atomic shuttleBOT
#

@fathom chasm pressed the 🪝 Webhooks button in #help to ask a question:

Question
My event = stripe.webhooks.constructEvent(req.body, sig, webhookSecret); isn't returning with data or throwing an error in my try-catch so I'm having difficulty troubleshooting it. It is coming back with a 400 but no more information than: [400] POST http://localhost:3500/api/v1/stripe/webhook [evt_3P8GNyKyc5KZ78km1L0cCMB8]

The payment intent is completing successfully so the stripe keys are ok, my jwt is ok, and I'm using the webhook secret that I can find in the CLI

I'd love to know how to better troubleshoot the webhooks and especially how to construct that webhook event

Related Event ID(s)
"id": "evt_3P81LDKyc5KZ78km0lYVH5aL",

What have you already attempted?
I have console.logs on the req.body, sig and event. the console.logs for req.body and sig come back ok but the event never processes

What are you working on?
Essentially a marketplace and SAAS application using Flutter for web and mobile.

atomic shuttleBOT
#

@echo coral pressed the ❌ An Error button in #help to ask a question:

Error Message
an unknown error was encountered

Question
Pay with AfterPay gives an error after redirecting to AfterPay site

What have you already attempted?
Payment intent API

What are you working on?
AfterPay payments

#

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

Code
const {paymentIntent, error:confirmError} = await stripe.confirmCardPayment(
clientSecret,
{
payment_method: {
card : card,
billing_details: {
name: user?.displayName || 'anonymous',
email: user?.email || 'unknown',
}
}
}
)

Question
The test payments that i am doing so far with many debuging piece of are being incomplete in my dashboard , can i know exactly why it is happening and how can i resolve , status is updating like incomplete, action required.

What have you already attempted?
many debugging activities from the stripe docs itsself.

What are you working on?
Paymenyt_intents

#

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

Question
How can we pass the customer email adress to Klarna during checkout on a Stripe page? In test mode, when I try to generate a dispute on my transaction it doesn't seem to work since the email address in Klarna is generated instead of being the one of the customer.

Related Request ID(s)
req_icvbHjUIDoGYzH

What have you already attempted?
Filling the customer email field. Passing a customer ID with a client having the email field completed.

#

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

Error Message
''This shop doesn't accept real orders or payments''.

Question
What can i do in order to fix this error; Customers can't go through the payment process through Stripe

What have you already attempted?
I have already talked with a Shopify advisor and he suggested to come here for help because he couldn't help with that department

atomic shuttleBOT
#

@hot heron pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello, is there a way to send invoices early?
I need to have the invoice paid by the time the subscription runs out and cancel it if it is not paid on time.

Example:
Customer subscribes for a domain "www.test.com"
I register the domain for a year, i have to pay for this.
Customers billing period is close to the end
I collect the payment early.

Case: Customer pays
Subscription renews and i register the domain for antoher year

Case: Customer does not pay:
Subscription runs out and the domain is not registered again

Doc/Guide Links
https://docs.stripe.com/api/invoices/update#update_invoice-due_date

What are you working on?
Domain Registry

atomic shuttleBOT
#

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

What did you expect to happen?
An invoice.paid event would be sent when the schedule started.

What actually happened?
The invoice.failed event was sent and the payment says "The bank returned the decline code authentication_required." on the dashboard.

Reproduction Steps
Set up a schedule to start the next day, user enters their card details (Test card 4000 0000 0000 3220) and had to pass 3D Secure/SCA, confirmed the payment, and hoped that the next day the payment would be cleared with the successful payment card. The Setup_ intent succeeded event shows it's usage is "off_session" & a status of succeeded

Question
Are there any other settings when creating the setup intent that needs to be set when a card requires the additional authentication, if the payment will not occur at point of purchess but at a later date? var setupIntentOptions = new SetupIntentCreateOptions
{
PaymentMethodTypes = new List<string> { "card" },
Customer = customerId,
Metadata = metadata,
};

atomic shuttleBOT
#

@vale wing pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to remove transfer_data from a finalised invoice? (which is currently failed as customers payment was declined)

Related Request ID(s)
in_1OxSntIzvUgZFm3PSdIWCGDv

What have you already attempted?
I wasn't sure if it was possible as I know you can't edit Invoice Items when it's finalised.

What are you working on?
A vehicle body repair network

#

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

Question
Is there any `/v2` api endpoint public beta?

Related Request ID(s)
.

What have you already attempted?
.

#

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

Code
cancel_obj = stripe.Subscription.cancel(subscription_id)

Question
Will it cancel instantly or will it cancel until the next cycle?

What have you already attempted?
doing like this
stripe.api_key = settings.STRIPE_SECRET_KEY
subscription_id = self.kwargs['sub_id']
print(subscription_id, "subscription_id")
cancel_obj = stripe.Subscription.cancel(subscription_id)
print(cancel_obj)
return Response(cancel_obj, status=status.HTTP_200_OK)

atomic shuttleBOT
#

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

Code
const { error } = await stripe.confirmPayment({
elements,
});

Question
I work in ReactJS
Is there a way i can stay on the /checkout without reloading or redirecting the website.

What have you already attempted?
When i do return_url: "/checkout" it will reload the website and states are reset.
In my checkout component i have a CheckoutSteps component which render after some states are true/false.
The CompletedOrder component is rendered when isPaid state is true so basically im setting the state after confirmPayment to true and then want to show the CompletedOrder component with the updated order but the states are reset when i use return_url inside stripe.confirmPayment

What are you working on?
Working on a Checkout with multiple payment options Stripe/Paypal

#

@zenith veldt pressed the 🔌 API button in #help to ask a question:

Question
1)which liabilities API's to use Upon downloading our App and opting into our filings service, we must ensure that we then have the necessary permissions to pull data programmatically on a monthly basis

Related Request ID(s)
Now have yet

What have you already attempted?
To be honest i am blank about this requirement if you can help me with some API's from which I am able to retrieve some the data related to user

What are you working on?
I have published on of my tax filing app to stripe market place now my client wanted a some additional information like which user has downloaded application and has he started using application

#

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

Code
In stripe.checkout.sessions.create i am doing `
payment_intent_data: {
application_fee_amount: roundedApplicationFee,
setup_future_usage: "off_session",
},` but if i pass in the same customerId for another checkout session, the user has to put in all the information again.

Question
Why doesn't the user get saved so that all they have to do is "agree to terms" and then purchase?

What have you already attempted?
Ive looked at the checkout session and payment intent docs

What are you working on?
A website where educational institutions can offer courses and administrate their organization.

#

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

Question
stripe gpay issue, it is not showing up in the browser

Related Request ID(s)
Noid

What have you already attempted?
we have integrated gpay to the stripe... but it is not showing in the web browser

What are you working on?
We are integrating stripe payment for one time and subscription

#

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

Code
https://pastebin.com/qi4a5C88

this is part of code

Question
Hi, I have problem with PaymentElement react component. Apple Pay or Google Pay is never shown, only card. I use nextjs.
1- Create payment intent from the server
2- pass the client secret to client and render Elements with PaymentElement

What have you already attempted?
I have read the react-stripe documentation

I verified the domain from the dashboard

What are you working on?
checkout for a delivery web app

#

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

Code
const stripe = require("stripe")(
"sk_test_•••elIf"
);

const createIntent = async () => {
try {
const intent = await stripe.paymentIntents.create({
amount: 11000,
currency: "SEK",
description:
"Payment for universal.webshop (universal.webshop) - 87fd52cf-08a4-4f43-a290-93f618ec5951",
payment_method_types: ["swish"],
});
console.log(inten

Question
I'm trying to a create payment payment intent for swish payment. But getting warning

What have you already attempted?
i have already tried activating swish in sandbox account.

#

@idle gale pressed the 🪝 Webhooks button in #help to ask a question:

Question
Customer wil delete after 30 days via TestClock ?

Related Event ID(s)
no

What have you already attempted?
no

atomic shuttleBOT
#

@pearl ivy pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hey I am trying to setup Stripe for our SaaS product. When a new user signs up, we setup a free trial subscription for him - both Customer and Subscription using Stripe SDK on our backend.
When a customer wants to pay during the trial, we just wanted to redirect him to stripe checkout `stripe.checkout.sessions.create`

What actually happened?
When you are in trial already and open a checkout session URL, the UI shows just
"You already have a subscription with us
Click continue to manage it." and if you go ahead and login via email, it will just open the base billing portal.

Reproduction Steps
go to URL await stripe.checkout.sessions.create({
mode: "subscription",
line_items: [
{
price: "price_1P5npCKlAUFHoilOLojLkPbu",
quantity: 1,
},
],
allow_promotion_codes: true,
customer: "cus_PyH2I18l9RMDcb"
}).url
API log: https://dashboard.stripe.com/test/logs/req_MRtDozpYUB3tR0

Question
I want to show a proper checkout screen that shows when and how much customer will be billed and an input to add credit card. Also option to add promotion code.

What are you working on?
langtail.com - llm ops platform

#

@twin thicket pressed the 🔌 API button in #help to ask a question:

Question
I have subscriptions that are active and have no default payment method set, so it means that on the next invoice, the customer will be charged their default payment method. Apparently, when this happens, the subscription's default payment method is automatically set to the payment method that was charged - it's no longer null. How can I prevent this, so that `subscription.default_payment_method` remains `null` after invoice charge?

Related Request ID(s)
req_UXoi0lzCv38aUf

What have you already attempted?
I have tried setting the `default_payment_method` explicitly to `null` after first payment.

#

@vague pecan pressed the 🔌 API button in #help to ask a question:

Question
I'd like to understand the activities and actions performed by the user with the email address caroline@flocksy.com based on this provided log.

Workspace: Flocksy

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

What have you already attempted?
I have tried to replicate this scenario on test environment but didn't get it.

#

@bright folio pressed the 🔌 API button in #help to ask a question:

Question
Hello, I have this model situation: customer has a subscription and at the usual renewal their card was not charged successfully. Now the subscription is in past_due state for about 3 weeks before transition to canceled state.

If I look up the payment intent ID via the latest invoice attached to the subscription and let the user pay it, does Stripe expect me to do that and resumes the subscription correctly?

If not, what's the correct way to let user enter a new credit card on my backend that communicates with Stripe via API?

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
SaaS based on Laravel Spark

#

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

Code
- (void)terminal:(SCPTerminal *)terminal didUpdateDiscoveredReaders:(NSArray<SCPReader *> *)readers

self.discoverCancelable = [[SCPTerminal shared] discoverReaders:config delegate:self completion:^(NSError *error)

Question
Once the app found the Bluetooth reader (M2), the SDK still searched till the timeout and then threw a 2330 error.

What have you already attempted?
I am trying to discover Bluetooth devices to connect with my app.

#

@golden condor pressed the ❌ An Error button in #help to ask a question:

Error Message
t is null

Question
So im trying to make a "Test" in woocommerce, and im getting the error mentioned.

Also there is a text in the checkout page saying:

Pay with your credit card via Stripe. Only the Card is supported for the recurring payment.
TEST MODE ACTIVE. In test mode, you can use card number 4242424242424242 with any CVC and a valid expiration date, or refer to the Test Stripe

What have you already attempted?
Lookin at youtube to find solution, tried to make the webhook with all selected.

What are you working on?
A website in wordpress, a subscription business.

#

@tranquil elm pressed the 🔌 API button in #help to ask a question:

Question
Hi
I am new to stripe. I need to use stripe for send money direct to bank or other stripe account. Could you please guide me how can i acheive this?

Related Request ID(s)
Stripe Payout

What have you already attempted?
Currently I am exploring this

#

@rapid ledge pressed the 🔌 API button in #help to ask a question:

Question
Hey there. I'm trying to implement recurring payments on demand (user is present) and handle 3DS. Is my only option to have a redirect URL and a return URL? If yes, then is there a way to get the result of the 3DS without having to check the status of the payment intent via API call?

What have you already attempted?
The redirect part is working but I only get information in the URL and nothing indicates whether the 3DS was successful or not, making me to an API call to check the payment intent status

#

@brazen pier pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
We already have an account named "ShoreSummerRentals" with Stripe.
But fot Stripe Connect it ask to create an account.

Que : 1 do we need seperate account for it or is it managed in our existing account ?

Que : 2 As we are already using stripe to charge owner So Our existing account has stripe_secret_key and stripe_publishable_key. Can we use that to create Account Using API ?

Que :3 Every owner has to fill the data and complete the profile or it just for us only?

Please check and let me know .

What have you already attempted?
I want to start but not getting what to do first.

What are you working on?
I want my vendor to create invoice for their customers. So I want to use StripeConnect . Now how i can enable stripeConnect for our website and how vendor will create an account and where i can design

#

@dapper elk pressed the 🔌 API button in #help to ask a question:

Question
Hi, I need help understanding what this api request does´: "Reconcile a customer_balance PaymentIntent"

Is this a way to allow a customer controling their balance? Is this a way, to add balence, or to ignore a balance for a transaction or is this a way to apply balance to something?

Related Request ID(s)
none

What have you already attempted?
I used google, asked chat gpt etc.

What are you working on?
A payment system for a hosting company, who want to have customer paying with credit.

atomic shuttleBOT
#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
How to retrieve active subscription from customerID?

Related Request ID(s)
How to retrieve active subscription from customerID?

What have you already attempted?
How to retrieve active subscription from customerID?

#

@proper hornet pressed the 🔌 API button in #help to ask a question:

Question
Does Stripe order the subscriptions by date of creation ?

Related Request ID(s)
none

What have you already attempted?
I'd like to get the latest subscription of a given customer, all statuses included. It would be ideal if the filtering was done on Stripe's side.

What are you working on?
I am working on calculating users permissions (are they subscribers ? so they can access their invoices...)

#

@opaque sentinel pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/customer/tax-ids

Question
Will payments work correctly if my customers from the same country (Poland) aren't registered in VIES? They're not required to be registered in VIES so stripe validation could fail but they're registered with local tax authorities... will that cause any issues? Basically I want to ignore VIES tax id validation for my own country and use custom validation and for other EU countries keep VIES...

What have you already attempted?
I contacted support but they don't respond

#

@hoary venture pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
How to enable tap to pay option in iPhone I am using stripe terminal SDK

What have you already attempted?
func discoverReadersAction() {
do {
if NFCNDEFReaderSession.readingAvailable {
// NFC is available, proceed with reader discovery
let session = NFCNDEFReaderSession(delegate: self, queue: nil, invalidateAfterFirstRead: false)
session.begin()
// connectToReader(reader)
} else {
// Show alert indicating NFC is not available
showNFCNotSupportedAlert()
}
} catch {
// Handle error
print("Error checking NFC reader ava

What are you working on?
Building an business app to collect payment to customer

#

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

Question
I am using node on my backend and I want to secure my webhooks using idempotency but I can not find documentation for node. Your youtube video is going through php. Can you tell me where I can find information on stripe.webhooks and the functions associated with them?

for example stripe.webhooks.constructEvent
or in php they have a findEvent which I can't find the library that tells me what functions are available.

Doc/Guide Links
https://www.youtube.com/watch?v=oYSLhriIZaA&list=TLPQMjEwNDIwMjRQOICJxBAtcQ&index=6

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

https://docs.stripe.com/webhooks/quickstart?lang=node

https://docs.stripe.com/webhooks#best-practices

What are you working on?
a marketplace and SAAS application using flutter/node/express for web and mobile

#

@ebon wraith pressed the 🔌 API button in #help to ask a question:

Question
The payment method I added is not visible on the customer page(stripe dashboard) and is not available for selection when creating a subscription in the dashboard.

At the same time, I can interact with this payment method via the api and I don’t see any parameters that could indicate problems with it.

Related Request ID(s)
req_KwOQmOtDh03ANq

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

What are you working on?
Subscription for our clients

#

@rapid ledge pressed the 🔌 API button in #help to ask a question:

Question
Hey. Trying to handle 3DS for saved payment methods and currently trying the confirmPayment function. It immediately fails without showing any iframe, so I'm not sure what I'm missing.

Related Request ID(s)
req_Uug5lNxGoig7XD

What have you already attempted?
Tried to use the handleNextAction function before and am now trying the confirmPayment.
Ideally I could have the same frame used in the payments element for new payments, but skipping the credit card info and going straight to the 3DS part.

atomic shuttleBOT
#

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

Question
What is the difference between a "Issuance Dispute" and a "chargeback dispute". We want to add logic when customers dispute their credit card charges that our system received a webhook and automatically cancels their account.

Related Event ID(s)
N/A

What have you already attempted?
N/A

#

@true nexus pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I want to integrate Invoice API into my app. I'm trying to create an invoice before any invoice Items related to the customer are created.

What actually happened?
I have an error invoice-no-customer-line-items.
Here is log of my request
https://dashboard.stripe.com/test/logs/req_fSsRShc1UCgTQE?t=1713793952

Reproduction Steps

  1. Create a customer.
  2. Create an invoice with next params
    - auto_advance=false
    - customerId={{customerId}}
    - collection_method=send_invoice
    - days_until_due=30

Question
Can I create a draft invoice without invoice items, and add them later? Also, could I prevent Stripe from sending any emails to customers?

#

@leaden stirrup pressed the 👍 Best Practices button in #help to ask a question:

Question
I can set up to 5 tax rates in stripe account on a subscription. If the location is detected and matches one of my tax rates it adds the correct tax on the subscription. How should I handle scenarios where the country isn't matching the ones in my tax rates?

Doc/Guide Links
https://docs.stripe.com/billing/taxes/collect-taxes?tax-calculation=tax-rates

What are you working on?
a small saas project where i offer music production tutorials. users can subscribe to different tiers.

#

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

Code
def onboarding
Stripe.api_key = ENV['STRIPE_API_KEY']
account = Stripe::Account.create({
type: 'standard',
country: 'GB',
email: current_user.email,
business_type: 'individual',
individual: {
email: current_user.email
}
})
current_user.update(stripe_account_id: account.id)
account_link = Stripe::AccountLink.create({
account: account.id,
return_url: ...
refresh_url: ...
type: 'account_onboarding'
.........

Question
I’m having issues with the connect onboarding during the testing asking for users business details although they are just individual users pooling money from guests/friends/families etc; they aren’t a business entity.

Is this because the users can accept card payments therefore this additional information is required? Is this set up the wrong use case for what we are trying to achieve with our users?

This is being built in Rails.

What have you already attempted?
Change account capabilities manually but informed this is an error in the terminal. Card payments are required so don't want to turn this off in the stripe dashboard. also adding this but no change to the user flow of the onboarding: business_profile: {
url: nil,
mcc: nil
}

What are you working on?
Building a platform for individuals to crowdfund/pool funds for their events.

#

@cyan wren pressed the 🔌 API button in #help to ask a question:

Question
Hi, in our project we have integration with Stripe and Stripe API returns us weird set of errors.

Basically we are trying to confirm a payment intent with existing payment method which is CashApp. In such case API returns us a following error:
"When confirming a PaymentIntent with a `cashapp` PaymentMethod and `setup_future_usage`, `mandate_data` is required."

What should I do to properly confirm a payment intent with existing CashApp payment method? Is it even possible with CashApp. I have to mentiond that confirming payment intent with different method (like card) works fine

Related Request ID(s)
req_Tc4AtRvPzhwJUg req_Tc4AtRvPzhwJUg

What have you already attempted?
I've added those fields to the request, with the below values:
%{
setup_future_usage: "off_session",
mandate_data: %{customer_acceptance: %{type: "offline"}}
}

And API returned
"mandate_data is not allowed because this payment intent already has a reusable Cash App Pay payment method attached to it."

I tried to remove mandate_data and pass only setup_future_usage field, but it returned the first error again

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/address-element?platform=web

Question
How can I grab the data the user put on submit?

What have you already attempted?
I'm using Laravel, I'm trying to get $request->all(), but get nothing.

atomic shuttleBOT
#

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

Question
We have Connected account that needs to pay to its vendors for some services periodically.
How is it possible to charge a Connected account and pay that money to vendor account?

Related Request ID(s)
none

What have you already attempted?
I looked into documentation around debiting a Connected account.

What are you working on?
Building feature around payments between customer->connected accounts->vendor payments

#

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

Code
GooglePayLauncher(
fragment = fragment,
config = GooglePayLauncher.Config(
environment = googlePayEnvironment, // This needs to be loaded asynchronously after an api call
merchantCountryCode = cityCode // This needs to be loaded asynchronously after an api call
merchantName = merchantName, // This needs to be loaded asynchronously after an api call
),
readyCallback = {},

Question
Is there a way to create `GooglePayLauncher` lazily? We want to load some data before instantiating this class. The problem is that it needs to be instantiated in onCreate because it uses `registerForActivityResult`

What have you already attempted?
Tried to manually implement `registerForActivityResult`, but the `GooglePayLauncherContract` is deprecated and it will be removed in the future

#

@cloud pawn pressed the 👍 Best Practices button in #help to ask a question:

Question
We are implementing Stripe Payment elements and need to show the users the price being charged. We also need to re-caluate the fees when the payment method changes - is there a best practice for implementing this?

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

What are you working on?
Member registration system

#

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

Code
const oneMonthAfterSubEnd = new Date(mostRecentSub.end); oneMonthAfterSubEnd.setMonth(oneMonthAfterSubEnd.getMonth() + 1);
await stripe.subscriptions
.create({
...,
items: prices.map(id => ({ price: id })),
metadata: { uid: userData.uid, customerId: customer },
proration_behavior: 'none',
billing_cycle_anchor: Math.round(oneMonthAfterSubEnd.getTime() / 1000)
})

Question
We added the ability to re-create a customer's subscription when the webhook invoice_succeeded is called, with the case being after a subscription billing invoice has failed and caused their current subscription to be cancelled. When the new subscription is created, we want the next billing invoice to be set to the following month of the customer's billing cycle, so they aren't billed twice. The current code attempts to do that, but we are receiving an error, as shown below.

What have you already attempted?
billing_cycle_anchor: Math.round(oneMonthAfterSubEnd.getTime() / 1000)

We tried this, where oneMonthAfterSubEnd is the date of the customers subscription billing cycle invoice. We received this error when this code was ran:
Error: billing_cycle_anchor cannot be later than next natural billing date (1716208720) for plan

We want to know if there's a better way to achieve expected behavior with setting the billing date on the subscription, or debug what is wrong with this.

#

@jaunty pilot pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there any way to add a "tip" section where users can input an amount

Doc/Guide Links
I have read trough the Payment scenarios section of the docs and searched the internet but not found anything except for card terminals.

What are you working on?
I am building a downloadable add-on for a game (not cheat) where I try too keep the price low but some people have said they want to pay more

#

@steady remnant pressed the 🔌 API button in #help to ask a question:

Question
When the express checkout element loads it only shows the first 1 or 2 payment methods, and to reveal the rest the customer needs to click a dropdown arrow.

Is it possible to show all methods on page load? And never hide them behind a button?

There is only ever going to be 3 methods so seams silly to hide them.

Related Request ID(s)
N/A

What have you already attempted?
I cannot find any way of doing this from the docs.

What are you working on?
Integrating express checkout into my ecommerce website

atomic shuttleBOT
#

@cedar knot pressed the 🔌 API button in #help to ask a question:

Question
How to create flexible coupon/discount on scheduled subscription?

Related Request ID(s)
req_h08llDJAI4jxTN

What have you already attempted?
I am creating scheduled subscriptions and to apply discount for some free days, I am creating coupon and applying them to subscription when creating them. This doesn't seem ideal as for every single subscription, we have to create coupon. I checked the docs and other alternative method to apply discount is to add negative invoice item which I can't because the item accepts only positive integer amount.

What are you working on?
Hotel Booking Site

#

@tardy gorge pressed the 🔌 API button in #help to ask a question:

Question
Hello, how i can enable alipay on my stripe integration? I received an error while creating Payment intent:
The PaymentMethod provided (alipay) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "alipay".

Related Request ID(s)
req_uOJ4FIJkX6ddI7

What have you already attempted?
Turn on Alipay on dashboard -> settings - > payment methonds

What are you working on?
We are currently migration from stripe sources to payment intents

#

@dark tree pressed the 🔌 API button in #help to ask a question:

Question
I noticed today that Usage Records are deprecated in favour of Meters not sure when Meters were introduced, this guide https://docs.stripe.com/billing/subscriptions/usage-based-legacy/migration-guide says that Usage Records are deprecated, do you have a date we need to move to Meters by?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Usage based billing

#

@robust plover pressed the 🔌 API button in #help to ask a question:

Question
I am using manual payment_intent to auth -> capture after some other logical steps are taken.

The issue I run into is when we want to cancel a payment_intent for a connected account, from a platform account. It seems there is no option to pass the connected Stripe account in the payload to narrow the scope. I understand these will fall off, but that's not a good business practice to hold funds.

There seems to be now way to accomplish this currently.

Related Request ID(s)
req_fYm4utuVgsXiWo

What have you already attempted?
Tested using Platform

Tested using Connect Stripe Account ID in opts.

What are you working on?
Trying to cancel a payment_intent for a connected account.

#

@quartz heart pressed the 🔌 API button in #help to ask a question:

Question
Are pay-as-you-go for short time periods available on stripe ? I want to use stripe for a short term bike renting where you pay for each minute you ride the bike plus a fee for unlocking the bike. There is no problem for the unlock fee but how can I enable the minute-based pricing with stripe ?

Related Request ID(s)
sorry don't know where to find that

What have you already attempted?
I've read the pay-as-you-go documentation but nothing seems to correspond to me usecase.

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

What are you working on?
Short-time bike renting platform

#

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

Code
const oneMonthAfterSubEnd = new Date(mostRecentSub.end); oneMonthAfterSubEnd.setMonth(oneMonthAfterSubEnd.getMonth() + 1); await stripe.subscriptions .create({ ..., items: prices.map(id => ({ price: id })), metadata: { uid: userData.uid, customerId: customer }, proration_behavior: 'none', billing_cycle_anchor: Math.round(oneMonthAfterSubEnd.getTime() / 1000) })

Question
We added the ability to re-create a customer's subscription when the webhook invoice_succeeded is called, with the case being after a subscription billing invoice has failed and caused their current subscription to be cancelled. When the new subscription is created, we want the next billing invoice to be set to the following month of the customer's billing cycle, so they aren't billed twice. The current code attempts to do that, but we are receiving an error, as shown below.

What have you already attempted?
billing_cycle_anchor: Math.round(oneMonthAfterSubEnd.getTime() / 1000) We tried this, where oneMonthAfterSubEnd is the date of the customers subscription billing cycle invoice. We received this error when this code was ran: Error: billing_cycle_anchor cannot be later than next natural billing date (1716208720) for plan We want to know if there's a better way to achieve expected behavior with setting the billing date on the subscription, or debug what is wrong with this.

What are you working on?
First time asking question here, didnt know last one would be closed

#

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

Question
Stripe Treasury
Trying to understand a use case for Stripe Treasury feature.
Can a Connect account pay funds to vendor accounts that are not part of Stripe platform?

Related Request ID(s)
noid

What have you already attempted?
I went thru documentation

#

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

Code
Just joined the server and looking forward to being part of this community! I'm currently diving into engineering studies and have some basic programming skills under my belt. My goal is to develop an application specifically tailored for the Stripe Terminal in my physical store.

I've already cloned the GitHub repo shared on the Dev Stripe YouTube channel and have it loaded up in Visual Studio Code. However, I've hit a bit of a roadblock after downloading Vue. Does anyone he

Question
I've already cloned the GitHub repo shared on the Dev Stripe YouTube channel and have it loaded up in Visual Studio Code. However, I've hit a bit of a roadblock after downloading Vue. Does anyone here have experience or know where I can find resources to set up the terminal for my store?

What have you already attempted?
I've already cloned the GitHub repo shared on the Dev Stripe YouTube

atomic shuttleBOT
#

@cyan wedge pressed the ❌ An Error button in #help to ask a question:

Error Message
Some users on my platform are complaining that their country is not supported and they're recieving an error when trying to onboard with an express account. Eg. IN is not supported by platforms in NZ.

Question
I'm very confused what countries are available for my connect express customers to onboard with. Is there a way you can provide me with a extensive list of ALL available countries I can use?

My platform account is based in NZ.

What have you already attempted?
-

#

@wicked heron pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/deliver-tax-forms#e-delivery-with-stripe-express

Question
Under "E-delivery with the Stripe express Dashboard", I am trying to follow the section that says 'Additionally, you can select the Have Stripe collect tax information automatically option to have Stripe email your connected accounts...' but I cannot find that setting in the linked Tax form settings page.

What have you already attempted?
Looking at available settings in the Tax form settings page https://dashboard.stripe.com/settings/connect/tax_forms

What are you working on?
Payments features for an on-demand contractor platform

#

@thorn glacier pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a scenario perfectly suited for a "Usage-based -> Per tier -> Graduated" subscription model. However, I need to set annual thresholds while billing customers on a monthly basis. How can this be effectively implemented?

For example:
We offer customers 100 tokens for $1,000 per year to use in our app. If they use up these tokens, each additional token will cost $10. We want to bill them monthly, with invoices reflecting their monthly usage, which includes the prorated annual fee ($1,000/12) plus any additional charges for exceeding the initial 100 tokens.

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

What are you working on?
Web based compliance tool in construction domain.

atomic shuttleBOT
#

@real compass pressed the 🔌 API button in #help to ask a question:

Question
I am trying to use the new metered billing for usage based billing, but cannot get the reporting to the meter to work.

Related Request ID(s)
NA

What have you already attempted?
req_gU0YGcSkgUdODN

#

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

Question
Im getting a 500 error every time on the frontend when I try to make this fetch using the create-checkout-session const response = await fetch("/create-checkout-session", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify(body),
});

console.log(response)

Related Request ID(s)
na

What have you already attempted?
ive tried defining the route on the backend as /localhost:5000/create-checkout-sessions and other variations

What are you working on?
ecommercensite

#

@mossy vault pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/customer-management/cancellation-page

Question
I see that our end customers can cancel their subscription from the customer portal, but we've noticed that if us as the platform want to schedule a subscription update, then they cannot longer cancel the subscription until the change is made. Is there any workaround for enabling our customers to cancel their subscription even if there's a update scheduled for that subscription?

What have you already attempted?
We've been testing this out in test mode and we couldn't find a way to achieve that. I assume it's the expected behavior, but we'd like to know if we can do something around it. Thanks!

#

@sick meadow pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect

Question
Is there a list of redirect-based payment methods somewhere?

AI am looking to integrate card, apple/google pay and US bank account in setup intents. They all seem to work fine with `if_required` redirect but I am not sure that it's valid for every US bank account.

What have you already attempted?
n/a

#

@tight yacht pressed the ❌ An Error button in #help to ask a question:

Error Message
Uncaught (in promise) TypeError: maybeStripe.apply is not a function
at initStripe

Question
this error always occurs when i reload the website at a route (this case /checkout) where i render the Component which contains the stripe functionality.

What have you already attempted?
I am making two calls one for stripePromise to /stripe/config and one for clientSecret to /stripe/payment-intent

those values are passed to Elements

Reproduction Steps
I will send the code in a comment

What are you working on?
stripe payment

#

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

Question
using Stripe Treasury,
can the funds be transferred from Connected account to another Stripe account (Connected or non-Connected)?

Related Request ID(s)
noid

What have you already attempted?
went through documentation

#

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

Code
def create_payment_intent(data: dict):
stripe = get_stripe_instance()
payment_intent = stripe.PaymentIntent.create(**data)
return payment_intent

payment_intent = stripe.PaymentIntent.confirm(
payment_intent_id,
return_url="http://localhost:3000/return",
)

Question
this is the payload:
stripe_payment_info = {
"amount": int(amount_to_charge),
"currency": organization.currency,
"customer": customer.id,
"payment_method": stripe_payment_method,
"application_fee_amount": platform_fee,
"transfer_data": {
"destination": connected_account,
},
"transfer_group": transfer_group,
}

What have you already attempted?
I want the stripe processing fee to be charged to the connected account not the platform. The issue is that the platform has no balance and for the transaction fee it is charging platfrom i.e:
the payment is of 50$ stripe fee is 1.75 net amount is 48.25 but the transfer to the connected account is 50$ so I want only net amount to be transferred.

Hope I have explained properly

What are you working on?
working on health related project where appointments are conducted and the payment of client is transferred to doctor and rest to the platform.

#

@edgy sail pressed the 🔌 API button in #help to ask a question:

Question
I use stripe hosted checkout for my SaaS product. How to show user-friendly message instead of the stripe one?
For example, below is the error message shown to the user. I'd like to customize the message.

error message:

Non-INR transactions in India should have shipping/billing address outside India. More info here: https://stripe.com/docs/india-exports

Related Request ID(s)
req_wNlVjDiBKTfbgs

What have you already attempted?
I have looked into stripe docs as well stackoverflow.

What are you working on?
stripe hosted checkout page

#

@untold thorn pressed the 🔌 API button in #help to ask a question:

Question
I have contacted sales and customer support and they said i should be able to request longer authorizations however it keeps telling i am not elligible

Related Request ID(s)
evt_3P8QEA6TikVvRb2c0u8kfp87

What have you already attempted?
Customer support and sales

What are you working on?
Rental Fleet management software

atomic shuttleBOT
#

@median dew pressed the 🔌 API button in #help to ask a question:

Question
For embedded onboarding flow, can you require everything to be verified before submitting?

Related Request ID(s)
n/a

What have you already attempted?
Read into documentation on different event types like account.updated and capability.updated

#

@mossy vault pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/customize-payment-methods

Question
I want to ask just for confirmation. We would like to add in the payment element form some kind of button where we allow the users to select if they want to pay in EUR (our currency) or if they want pay into their local currency (applying of course the currency exchange rate with Stripe) and some additional costs, but it doesn't look like you can modify the payment form even if we are using elements, apart from the branding, colors and so on, correct?

What have you already attempted?
We've taken a look at the documentation and even if there are some customization options, I don't know if it's possible to edit the UI of it in order to add those options. Thank you in advance

#

@fringe crest pressed the 👍 Best Practices button in #help to ask a question:

Question
What are best practices for auto-advancing a subscription invoice post cancellation? We are currently attaching pending overage charges to next's month's invoice. If the customer cancels though, the next month invoice (which just has the overage charges) gets marked as draft and never collected? What is best practice to collect? Add a webhook and try and advance the invoice? Something else? We just want to charge them the final overage charges at cancellation.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/cancel#handle-invoice-items-when-canceling-subscriptions
https://docs.stripe.com/invoicing/integration/automatic-advancement-collection

What are you working on?
Subscription Integration for company's service

#

@glossy delta pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to set the Stripe Account object's payouts_enabled and charges enabled to false via an API call? We would like to be able to turn these features off on inactive Stripe Accounts to prevent fraud.

Related Request ID(s)
n/a

What have you already attempted?
Documentation does not show these as being settable so is this only able to be done via the dashboard?

#

@crude monolith pressed the 🔌 API button in #help to ask a question:

Question
When creating a customer, how can I validate their location is valid for future uses of `automatic_tax: { enabled: true }`?

Related Request ID(s)
req_YXEtyWjK5lILZX

What have you already attempted?

  1. stripe.customer.create
  2. stripe.subscription.create w/ automatic_tax enabled
  3. customer_tax_location_invalid error
#

@stoic wasp pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
#dev-help message

Question
We currently have a US-based Stripe account and have integrated Stripe Custom Connect with several clients, including some in Canada. We are interested in enabling Interac transactions through EMV and would appreciate your guidance on the following:

What are the necessary steps to implement Interac EMV transactions in our current setup?
Could you provide details on how to test this implementation effectively?

What have you already attempted?
From Stripe support team:
For US-based Stripe accounts, there are parameters to consider when using Interac test cards. If an Interac card is cobranded (Visa, etc.), it can be processed for payment on a US-based Stripe account. However, because the account is based in the United States, it won't have access to the Interac card network. Only Canada-based Stripe accounts can access the Interac card network. So the Interac card would default to the Visa network and process like a credit card charge. This is the same behavior for Interac test card.

What are you working on?
Supporting Interact EMV Transaction via Stripe Custom Connect

#

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

Code
com.stripe.model.Event object
"data": {
"previous_attributes": {},
"object": {
"id": "pyr_1P8PYkErhtEVCxAPrhEkLlZx",
"object": "refund",
"amount": 1111,
"balance_transaction": "txn_1P8PYkErhtEVCxAPVhnFgsOk",
"charge": "py_3P8PXyErhtEVCxAP11gapjIM",
"created": 1713802658,
"currency": "usd",
"destination_details": {
"type": "us_bank_transfer",

Question
I have this Event object which is like above if i print it. I would like to check if this event contains us_bank_transfer because I need to handle charge.refund.updated events for refunds and process it if it's an ach payment refund and skip if it's not.

we receive charge.refund.updated events for ach payments and also card payments, for card payments i need to handle only charge.refunded and skip charge.refund.updated but process for ach refunds

What have you already attempted?
this is an example payment pi_3P8POvErhtEVCxAP1t2y9UOb

What are you working on?
handling refund webhooks for ach payments

#

@dense saddle pressed the 👍 Best Practices button in #help to ask a question:

Question
We are attaching payment methods to customers for future use using SetUpIntent. We also give our customers access to the Customer Portal (https://docs.stripe.com/no-code/customer-portal) to manage their payment methods. On the Customer Portal as its currently configured, assuming they have more than one payment method, customers can remove the default payment method leaving no default payment method set. They can also remove ALL payments methods, leaving none attached to their Customer profile. I can't see any options in the Stripe Dashboard to prevent them from removing the default payment method or removing all payment methods. Is this possible please?

Doc/Guide Links
https://docs.stripe.com/no-code/customer-portal

What are you working on?
Web app, pro-tier.com

#

@earnest lintel pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi there, what is the expected behavior on webhook events when a phase changes?

Related Event ID(s)
xxxxxxxxxxxxxxxxxxx

What have you already attempted?
Tested via API

#

@cedar knot pressed the 🔌 API button in #help to ask a question:

Question
Apply coupon on the last subscription invoice?

Related Request ID(s)
req_h08llDJAI4jxTN

What have you already attempted?
The coupon applies to the initial invoice. The coupon is a amount_off coupon which applies once on the subscription. If a subscription is weekly, I want to apply in the end so it is applied on the proration amount and if nightly, I want it to apply for last two invoices. Is it possible?

What are you working on?
Hotel Booking Site

#

@trim furnace pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello, I'm looking up how to implement a subscription system for an app I'm working on. Most of our customers get the app through the iOS app store, can I use the stripe subscriptions system to get payments for using the app/unlocking paid tiers?

Doc/Guide Links
https://docs.stripe.com/apple-pay?platform=ios#using-stripe-and-apple-pay-versus-in-app-purchases

What are you working on?
A mobile app to help solopreneurs operate and grow their business

#

@red wedge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The Stripe Element to load in the IFrame (Wix Iframe).

What actually happened?
There was a gray box shown, see attached image

Reproduction Steps
Unable to Reproduce, happened for a customer. They shared a screenshot, rarely been reported but need to narrow down the cause to eliminate potential loss.

Question
Any insight as to why this happened for the stripe payment element? Any ways to prevent?

atomic shuttleBOT
#

@livid wraith pressed the ❌ An Error button in #help to ask a question:

Error Message
Invalid link
This link is invalid or has expired

Question
Try to login as i just created my account via whatnot and i keep getting this messege

What have you already attempted?
Tried different browsers and also on phone

atomic shuttleBOT
#

@hexed mist pressed the 🔌 API button in #help to ask a question:

Question
I'm a little confused on how to manage my specific integration. I currently use checkout sessions for users subscribing, but my downgrade/upgrade integration uses API calls so i can have specific functionality. It works at the moment but i only use credit cards right now. If i want to modify this to allow for other payment methods like Ideal, Cash App, etc, will these still functions still work?

Related Request ID(s)
Not Applicable

What have you already attempted?
I have my existing function but need guidance on modifying it.

#

@limber terrace pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
A client has created a subscription successfully on 17th April. However it kept trying to charge him unsuccessfully, and emails log show he has been sent an invoice on 24th march, which seems implausible. He's the only weird case out of +1000 customers on stripe.

What actually happened?
- user subscribed on 17th april and paid $2 successfully
- user received many emails of re-payments attempts a few days later
- stripe email logs show he was sent a first invoice on 24th march and the subsequent april invoice wasnt successful, but the subscription creation is dated on 17th april (after)

Reproduction Steps
I am not sure how to reproduce this bug as it never happened to any other clients, so I think it might be a glitch on your end?

Question
How can that happen? What can cause this?

#

@inner merlin pressed the ❌ An Error button in #help to ask a question:

Error Message
Reader is not capable of processing this action. Try rebooting the reader to fix this issue. If this error persists after rebooting, please reach out to Stripe support at https://support.stripe.com/contact/email and provide your reader's serial number for further investigation.

Question
What is this error and how can we fix it

What have you already attempted?
Different card readers, different API versions

#

@fair fable pressed the 🔌 API button in #help to ask a question:

Question
We are getting 500 api_error when trying to issue a card

Related Request ID(s)
req_HYYOuHJwtgJks0, req_4ysTULn9HUq9hP, req_MqTYmPJ6ltzcvv

What have you already attempted?
It seems to happen only on that specific connected account : acct_1OrNA1H7HdrJWv8a

What are you working on?
We are issuing cards for around 100k persons in France.

#

@unique rose pressed the 🔌 API button in #help to ask a question:

Question
Wondering why the connected account balance increases when a chargeback is received. Based on this guide: https://docs.stripe.com/disputes/connect (we are on custom connect) I thought the platform balance would be _debited_ for the charge back amount. Just trying to understand why instead the chargeback amount is being _added_ to the connected account balance

Related Request ID(s)
evt_3P8SsxBZdPwcgHSO1GVaKsHf

What have you already attempted?
Haven't tried anything - just trying to get a clear picture on exactly how a chargeback works on a custom connect account

What are you working on?
Paw Partner Payments

#

@smoky pasture pressed the 🪝 Webhooks button in #help to ask a question:

Question
My application makes a transfer when charge.succedded and invoice.payment_succeded. However - with checkouts, I am getting a double transfer because my webhook cannot seem to discern when an invoice has been paid through a checkout session, or by itself. My webhook looks at the invoice property of the charge, but it seems that is always on null.

Related Event ID(s)
evt_3P8SmAABIsA579c61Go3tmZm

What have you already attempted?
I am unsure what to do next, I have had this issue for a while and thought I resolved last time, but still present

What are you working on?
many websites

atomic shuttleBOT
#

@azure shoal pressed the ❌ An Error button in #help to ask a question:

Error Message
The PaymentIntent requires a payment method
Set an existing payment method on the PaymentIntent or have the customer enter a new payment method.
Learn more

Question
What does this mean and why did it not go through correctly?

What have you already attempted?
Browsing the Stripe backend

Reproduction Steps
Client tried to pay twice with this method

What are you working on?
Support ticket, Stripe is the payment backend of our project tracking tool

atomic shuttleBOT
#

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

Code
const {error} = await initPaymentSheet({
merchantDisplayName: 'crumbs inc.',
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: paymentIntent,
// Set `allowsDelayedPaymentMethods` to true if your business can handle payment
//methods that complete payment after a delay, like SEPA Debit and Sofort.
allowsDelayedPaymentMethods: true,

Question
I'm using stripe mobile payment element to integrate stripe into my react native. Everything works fine but when i add applePAy inside my payment sheet, the request always fails because the user cant add zipcode. I know if i I purely just integrare apple pay confirmPaymentPayment, i dont need a zip code( i believe apple pay isnt strict with users needing to enter their zipcode). tldr is there a way for me to integrate apple pay inside payment sheet without zipcode?

What have you already attempted?
tried adding zipcode manually, and transaction succeeded but wondeirng if theres a way for users to not need to enter thei zicode since apple pay isnt strict about it

atomic shuttleBOT
#

@trail thicket pressed the 🪝 Webhooks button in #help to ask a question:

Question
What is the correct way to adjust a subscriptions pricing prior to the first renewal?

Related Event ID(s)
I don't have one yet

What have you already attempted?
I have looked at the "invoice.created", and this seems perfect. However, it's not clear if I'm able to adjust the subscription Price itself during this period, or if I'm only able to apply changes to the invoice.

Ideally what I'd like to do is:
- Receive some webhook prior to the end customer being billed by stripe for a renewal
- Inside this webhook, I want to update the Price of the subscription
- Once finished, I'd like the normal stripe automation the bill the customer.

What are you working on?
We are a domain reseller via an API integration, and the prices of the domains fluctuate depending on registrar fees and other factors, so we need to recalculate costs before each bill.

#

@median dew pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have two different webhook endpoints set up on the stripe dashboard, and when i forward the events to my local machine using stripe CLI / stripe VS code extension, i get back 200 responses in the log. However, in test mode on the dashboard , i only get back 400 responses and the same happens on my production server. If they are showing up as 200 responses in my backend server as well as stripe CLI, should they be showing on the actual webhook dashboard as 200 as well?

Related Event ID(s)
evt_1P8U0DCLDYKJ551DbfPsSApH

What have you already attempted?
I've attempted examining the endpoint secrets and headers but im not sure where the issue is coming from.

#

@tulip pollen pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/exporting-refund-reports

Question
I can't find a doc on getting a report for Refund Reason & Notes associated. I assumed this article would have more info.

What have you already attempted?
I dont see it anywhere in docs

What are you working on?
exporting for the CEO

#

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

Code
TBC............................

Question
Create Subscription for Customer

What have you already attempted?
Reading Docs

atomic shuttleBOT
#

@shy cliff pressed the 👍 Best Practices button in #help to ask a question:

Question
iframing checkout page with elements

Doc/Guide Links
https://docs.stripe.com/payments/quickstart?locale=en-GB

What are you working on?
I’m building a marketplace and would like sellers to be able to embed our booking system into their websites. I plan on using stripe elements and wanted to know if Stripe will be allow me to mount the payment element if it’s in a

#

@light sand pressed the 🔌 API button in #help to ask a question:

Question
i have done integration with stripe. now need to test it in production....if i run my cc for test transactions, how do i get that money back or how do i reverse those transactions? what is the best practice here

Related Request ID(s)
req_VHAomYOYaI67qh

What have you already attempted?
i wnat to know how i can test all my use cases in live without making a hold in the bank

What are you working on?
trying to test my implmentation in live.

atomic shuttleBOT
#

@austere monolith pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to list all the possible requirements_due for each country via api?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Custom Onboarding Flow for Connect

atomic shuttleBOT
#

@old plinth pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Stripe Connect account users should be able to access all pages on mobile webview

What actually happened?
The mobile webview of connect account is not responsive enough so that a subset users who tries to access certain button won't be able to click on it

Reproduction Steps
Go to stripe connect account on mobile webview -> the button next to `missing W8/W9 information` is not fully showing up or not clickable (will attach a screenshot in thread)

Question
Nothing needs to be answered, but please fix

#

@real compass pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models

Question
I am not understanding how multiple prices impacts usage with the new meter objects for usage billing.

What have you already attempted?
I created a meter, sent a few usage records, then added a second price, and triggered a new usage record, it still used the original meter price.

#

@heady moss pressed the 🔌 API button in #help to ask a question:

Question
The payment_intent.succeeded event has changed. The "balance_transaction" attribute in the event["data"]["object"]["charges"]["data"][0]["balance_transaction"] is now null. This used to populate with the balance_transaction, but in the last 2 weeks we no longer have this ID. This is affecting our back-end as we use this ID to retrieve the BT object to get the stripe fee attribute.

Related Request ID(s)
Not applicable

What have you already attempted?
I can get the balance transaction ID by instead getting the "latest_charge" attribute from the event, querying the Charge object, and getting the balance transaction attribute. However, I want to know why this has changed and how we can catch this change as our back-end logic depends on the previous set up.

What are you working on?
Creating a patient payment ledger table that stores Stripe data

#

@serene coral pressed the 🔌 API button in #help to ask a question:

Question
Im writing a .NET MAUI app for android and IOS, and it needs to accept STRIPE payments, but there are no plugins for MAUI it seems. Im thinking maybe i can use a WebView in the app and point that to a website to accept payments. Would that work for both Android and IOS? How would the app tell the website the payment amount and then determine if the payment was successful so the app can proceed?

Related Request ID(s)
Dont know

What have you already attempted?
I tried looking for plugins for .NET MAUI

What are you working on?
.NET MAUI app for android and IOS.

atomic shuttleBOT
#

@pulsar flame pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can we backfill stripe webhook?

Related Event ID(s)
Many...

What have you already attempted?
We have a working webhook that updates records in our db, such as status active, subscribed product etc.

Unfortunately this part of the system went down for 12 hours, which means a lot of new customers have missing records in our db.

Is it possible to trigger a webhook with stripe records filtered by a date somehow? Or what would be the way to do this?

We have a one to one representation of stripe tables in our db.

atomic shuttleBOT
#

@vivid isle pressed the 👍 Best Practices button in #help to ask a question:

Question
If I am selling a digital product that does not require shpping, is it possible in any way to not share my personal information such as my address or full name on invoices or really anywhere? I dont want someone to be able to search through my stripe or look through invoices and find my address and personal information.

Doc/Guide Links
https://docs.stripe.com/invoicing/customize

What are you working on?
Stripe Personal Info on Invoices/Anywhere

atomic shuttleBOT
#

@glass umbra pressed the 👍 Best Practices button in #help to ask a question:

Question
best practices to manage subscriptions based in use

Doc/Guide Links
hdhdbsndnxjdkdndbx d db

What are you working on?
Software as service

#

@quiet raven pressed the 🔌 API button in #help to ask a question:

Question
I followed the instruction for the custom payment page payment integration from CJ Avilla on the Stripe Devs YouTube channel.
Good example.
I’d like to expand on that with adding name and address fields. Are there any example docs or vids that demonstrate the proper way to add additional fields in markup or on the server side I can reference and how that could work with CJ’s example?
I may have over looked it somehow.

Related Request ID(s)
N/A

What have you already attempted?
Reviewed the Stripe YouTube channel , PHP playlist.
Check the Stripe docs for examples using the server only method. Looks like I may need to revert to client/server method?

What are you working on?
Payment integration with custom webstore.

atomic shuttleBOT
#

@main pilot pressed the 🔌 API button in #help to ask a question:

Question
Could you please provide guidance on how to retrieve transfer details for automatic destination payments to connected accounts? I am specifically interested in accessing transfer IDs and related information after a payment intent has succeeded. Thank you.

Related Request ID(s)
.

What have you already attempted?
read documentation

What are you working on?
stripe integration

atomic shuttleBOT
#

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

Question
We had an issue with our webhook handler due to which we couldn't digest the webhook events. There were fatal errors when a particular event (invoice.paid) was sent by Stripe. We've fixed the problem but we need to resend all invoice.paid event in the last 2 days. Is there an easy way to do it besides manually from the dashboard because there are thousands of other events too. Is there an api to load and trigger resends?

Related Event ID(s)
NA

What have you already attempted?
I've looked in API docs and similar questions. Didn't find anything.

What are you working on?
This is a PHP website using stripe subscriptions.

atomic shuttleBOT
#

@crimson cape pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-element/migration?integration-path=future

Question
I have a questions about Migrate from Card Payment to Payment Element
For Card Payments, I use separate Elements, such as Card Number, Expiry, and CVC. If I use Payment Element, can these separate elements be customized?

What have you already attempted?
I don't know how to convert

#

@strong girder pressed the 🔌 API button in #help to ask a question:

Question
Hi,

We are creating a subscrption product. We already have a user portal and create stripeCustomerId's to pass into their checkout sessions. I started building a "no friction" sub session but ran into a couple of edge cases. A user can buy multiple subs outside of our portal and not have them tied to a single customerId. If they make an account we have a problem putting them under 1 stripe UID. A user could have an account and use the no friction checkout on our homepage. This would also result in multiple stripe custIDs. Is there any obvious solution to this problem?

Related Request ID(s)
evt_1P8UfRGxwcXTRbAd1tdFDVsN

What have you already attempted?
Reading the docs. Cannot use guest IDs as it is a subscrption product.

What are you working on?
A software subscrption.

atomic shuttleBOT
#

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

Question
Continuation of old thread. How to get CLI to iterate over list of events?

Related Event ID(s)
NA

What have you already attempted?
Loaded events with API and setup CLI

atomic shuttleBOT
#

@terse grotto pressed the 🔌 API button in #help to ask a question:

Question
Scbscription related questions

Related Request ID(s)
req_XgElj11RZppmHW

What have you already attempted?
creation of subscription

What are you working on?
Money Pool Service

atomic shuttleBOT
#

@vestal sinew pressed the 🔌 API button in #help to ask a question:

Question
Hi, to deploy an iOS app using Stripe terminal, this is one of apple's requirements:
"For enterprise deployments (that is, Custom App, Unlisted App, or Apple Developer Enterprise Program) you must support the ability to accept Terms and Conditions outside of the app. Check with your PSP for implementation details."

how can i make a connected account accept Tap to Pay terms and conditions within their Stripe account on the web interface? Thanks!

Related Request ID(s)
N/A

What have you already attempted?
i've been checking documentation

What are you working on?
iOS app for private distribution

#

@lavish holly pressed the ❌ An Error button in #help to ask a question:

Error Message
missing required information

Question
how can I get registered I only have a shop establishment act, I am from india

What have you already attempted?
I have already attempted like 4-5 even with different accounts It shows the same

Reproduction Steps
when you login into it you will ask for information to verify, click on it click on the shop establishment act and upload your pdf and check the box those two which are given,and click on save and it it show the same again to upload file it should show like verification is under process something like that right but it won't show that and i can upload file again,

What are you working on?
verification process

atomic shuttleBOT
#

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

Question
I wish to know if I delete the customer, will it also disable his subscription?

Related Request ID(s)
/

What have you already attempted?
/

What are you working on?
Website that will have user subscribed for a monthly or yearly payment.

#

@crimson oasis pressed the 🔌 API button in #help to ask a question:

Question
How can I export itemized payouts for all my connected accounts? Looking at the payouts.itemized.1 - 3, none of the columns seems to point to the connected account.
Via the Dashboard, I can however export all payments for all connected accounts - but I'd like that via the API if possible.

Related Request ID(s)
None

What have you already attempted?
Looked at the existing API documentation.

#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
I created a monthly-subscription and then stimulate the time for month but the payment fails and subscription goes in overdue, this did not happen before to me.

Related Request ID(s)
I don't know what to write in this

What have you already attempted?
Yes

#

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

Code
// Create a Stripe Connect account
$account = \Stripe\Account::create([
'type' => 'express',
'country' => 'US',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
'business_type' => 'individual',
'email'=>$userData["email"],
'individual'=>[
"first_name"=>$userData["first_name"],
"last_name"=>$userData["last_name"],

Question
We are vacation rental website. I want my website users (owners) can create an stripe Connect account . So that Owner can create invoice for their renters. And we as website platform can get commission fee.

What have you already attempted?
I have private key and secret key as we already have one main stripe account and we are using stripe checkout.
Now i am using that same key and calling stripe create account API. But getting this error

[2024-04-23 03:01:52] app.ERROR: {"code":0,"message":"You can only create new accounts if you've signed up for Connect, which you can learn how to do at https://stripe.com/docs/connect."

What are you working on?
StripeConnect

#

@turbid glade pressed the 🔌 API button in #help to ask a question:

Question
If you pay through Affirm, what will be the impact of not passing the radar_session field when calling the Payment intent confirm interface?

Related Request ID(s)
None yet, will be connected to Affirm soon

What have you already attempted?
Success can also be confirmed without passing the radar_session field.

atomic shuttleBOT
#

@mortal summit pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Using Stripe Checkout for subscriptions, I expected bank transfer to show up as an option for users to choose alongside others (card, sepa, paypal)

What actually happened?
On Checkout page (in a PoC) as well as in stripe dashboard (settings/payments/payment methods/preview) bank transfer does not show up as an option

Reproduction Steps
Enable Bank transfer under payment methods in settings, then open Preview tab on the same page -> bank transfer option isnt shown

Question
Docs mention that bank transfers are supported for subcriptions - how can I get this payment method to show up alongside 3 other when a customer is in Checkout?

What are you working on?
Payment platform, initially only with subcription option

#

@tender crater pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have to type of payments in my app, subscription and one time, I manage both of them with checkout session. I catch the subscription create and update in invoice.pais webhook but for one time payment in which webhook do I have to catch the event?

Related Event ID(s)
I don't know

What have you already attempted?
I tried to catch subscription in invoice.paid

atomic shuttleBOT
#

@hearty garnet pressed the 🔌 API button in #help to ask a question:

Question
Can I create an invoice item using product data instead of product id?

Related Request ID(s)
not_yet

What have you already attempted?
Now I create invoice item by price[product]=product_id. I want to specify the product name flexible while creating invoice item.

What are you working on?
create invoice and pay it

#

@fair rivet pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello Stripe team,
We are a SAAS Company and provide some yearly and monthly subscriptions. We are considering adding a "credits" systems that gives our users access to a specific features that would cost X credits. We would like for our yearly subscribers to "reset" their credit amount every month, what would be the best practice to that with stripe? Is it possible to "send" monthly event to our webhook even if the customer pays a yearly subscription? Thank you so much

Doc/Guide Links
Stripe documentation

What are you working on?
Saas platform

#

@dusk gulch pressed the 🪝 Webhooks button in #help to ask a question:

Question
In my case, user can by multiple subscription of same product. Each subscription bounded to a single installation of software. I want to add some custom field when user subscribing so I can identify for which machine/installation the renewal webhook received.

please guide me.

Event ID given is test mode.

Related Event ID(s)
evt_1P8N5WIErBwOu8QAZDcbviNC

What have you already attempted?
tried to add meta data while creating subscription.

What are you working on?
subscription

#

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

Code
const { displayedTotalPrice } = useGetPaymentInfo();

const options = {
currency: 'usd',
loader: 'always',
paymentMethodCreation: 'manual',
};

return (
<Elements
options={{
...options,
mode: 'payment',
paymentMethodTypes: ['card'],
amount: displayedTotalPrice * 100,
}}
stripe={stripePromise}
>
{children}
</Elements>
);

Question
hello, my form charges incorrect amount. If displayedTotalPrice got changed - the form doesn't get updated. How to update the form if an amount to charge got changed?

What have you already attempted?
using react key prop

What are you working on?
rebulding my checkout form

#

@slate moss pressed the 🔌 API button in #help to ask a question:

Question
Want to add Subscription with default payment method

Related Request ID(s)
Want to add Subscription with default payment method

What have you already attempted?
Want to add Subscription with default payment method

#

@chrome walrus pressed the 👍 Best Practices button in #help to ask a question:

Question
Hey, what would be the best way to onboard new subscriptions from my physical location into recurring automatic payments from card? I have a completely unrelated payments portal, which cannot be integrated, but I would love to "close" the sale physically, and not leave it up to the customer to go through our website to subscribe. Is there any way I could for example: 1. Start a subscription, 2. Take the first payment physically, 3. Change invoice status to Paid --> webhook gets activated.

I know this is possible, but how do I then transition to automatic recurring payments by card, as the customer needs to somehow put payment info into stripe? I'm a bit lost here.

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

What are you working on?
I have a massage business, and we have subscriptions where you get X massage per month for a monthly fee. I want to sell these in our physical locations after a normal massage session, to people who are not subscribers.

atomic shuttleBOT
#

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

Code
```js
function changePlaceholders() {
const nameInput = document.querySelector('#Field-nameInput');
if (nameInput) {
nameInput.placeholder = "Nombre o Razón Social";
}
}
addressElement.on('ready', function() {
changePlaceholders();
});
```

Question
I want to change Stripe Elements (Address) placeholders. For some reason is not working, I cannot get the DOM element even if it loaded.

What have you already attempted?
Try to get the DOM element of the input and update its placeholder. But even using setTimeout or Elements Events is not possible

atomic shuttleBOT
atomic shuttleBOT
#

@reef junco pressed the 🔌 API button in #help to ask a question:

Question
I want to use Stripe Connect and want to divide payments between multiple suppliers. I don't want to bring money directly into my account and pay due to a Tax system issue. How can I cater to this issue?

Related Request ID(s)
req_jZFqO3FN9acDbH

What have you already attempted?
I have attempted to use Stripe Connect for a single supplier and I have also used the API of payout.

What are you working on?
I am making a multi vendor web app

atomic shuttleBOT
#

@fresh kite pressed the 🔌 API button in #help to ask a question:

Question
I have a react native app and I use the react native SDK for stripe. I use a paymentIntentSheet to save payment methods for my stripe customers.

I also want to use the native stripe sheet to change / add new payment methods. Is there a way in react native to get the payment id of the last payment added from the sheet ? I basically want to set that as my default payment for my customer

Related Request ID(s)
Stripe > React Native SDK

What have you already attempted?
I tried getting the payment id from paymentOptions but that is always undefined.

#

@golden spade pressed the 🪝 Webhooks button in #help to ask a question:

Question
My website backend mirrors the creation/update of Stripe objects (such as Subscriptions, Invoices, Charges etc) through Stripe's webhooks. It appears that I've stopped getting `charge.succeeded` events sometime after April 23rd, 2024.

Did this event get renamed or is there something else I should be aware of? I need these Charge objects on my backend in order to create a Refund, which relies on the Charge object.

Related Event ID(s)
N/A

What have you already attempted?
I looked at the webhook event that I'm signed up for, and saw that `charge.created` is still there.

What are you working on?
SaaS website that allows admin users to CRUD Stripe objects in our own admin page.

#

@rich valley pressed the ❌ An Error button in #help to ask a question:

Error Message
message: "Something went wrong. Unable to show Google Pay. Please choose a different payment method and try again."

type: "invalid_request_error"

Question
I'm using Payment Element. Credit cards payment goes through, but google pay doesn't. Google pay works when I use it on another sites.

What have you already attempted?
nothing yet.

What are you working on?
stripe apple/google pay integration for the web

#

@solid lantern pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/pay-what-you-want#product-catalog

Question
We offer 3 plans to our customers - Basic, Pro, Enterprise. Under each plan we charge for 2 features - say A and B. This monthly charge is calculated based on usage. How do I facilitate using Product Catalogue ? ( I want to invoice my customer as follows:

Pro Plan Invoice - March 2024
Charges for A - unit price (10)X units (5) = $50
Charges for B - unit price (20) X units (2) = $40
Total = $90

What have you already attempted?
tried creating multiple products (A and B) but not able to show them together under a single plan

#

@trim cloud pressed the 🔌 API button in #help to ask a question:

Question
We wish to update country field in Checkout payment session. When a customer signs up, 'Country' is a apparently free field so they're able to enter any variation of their Country such as GB, UK, United Kingdom... however we have an integration with Netsuite only reads official 2 digit ISO Country Code. Is it possible to make this field a drop down menu when the customer signs up?

Related Request ID(s)
None

What have you already attempted?
Checked the session api, didn't see anything that can help with this.

#

@hard heart pressed the 🔌 API button in #help to ask a question:

Question
Hello, here what I receive from my tech team:

DL-1003: Souvenir of Spain - connect stripe
comment added by Denis Shelepov

| Comment @DimaE Need API token for testing. Please request it from the client.

It looks like this - sk_test_•••p7dc (example from documentation).
| State In Progress → Waiting

based on the tags: "Star" and @mentions in the comments to the tasks.

How i understand. They need token from a client (restaurant we will work with). And for this client has to sign a contract with you. Is it right, or which is other way of how to do it?

Related Request ID(s)
?

What have you already attempted?
?

What are you working on?
we develop branded delivery mobile apps for restautants

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not available from 13:00 - 00:00 UTC Tuesday - Thursday this week (April 23-25) as the team is busy with Stripe Sessions. For help during this time, please contact Stripe support.

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

@rapid fern pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello, I made an integrations subscription on my marketplace, but now I have to integrate the one-time payment, my problem is that there is a lot of work to integrate a different flow in my services, so I was thinking if it is the best practice to create a subscription (for example: weekly) and then automatically cancel it after 5 days. That way I continue to maintain my integration without making many changes and I should only worry about canceling the one-time payment subscription, what do you think about this?

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

What are you working on?
subscription marketplace - ecommerce

atomic shuttleBOT
#

@sand cliff pressed the 👍 Best Practices button in #help to ask a question:

Question
How exactly does checkout sessions work? When looking over the docs for how to create them, it requires line_items. This takes in a `price` id with a quantity. This ruins any internal systems for products, because now I have to create the product on stripe's side which becomes difficult when displaying these products to end users as I now have to store duplicate data just to not spam stripe with requests for this data to display.

Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/create
https://docs.stripe.com/checkout/quickstart

What are you working on?
Understanding Checkout Sessions

atomic shuttleBOT
#

@haughty crystal pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Loading forever .......

What actually happened?
Loading forever .......

Reproduction Steps
can not open payment sheet

Question
Some users report Stripe loading forever .......

atomic shuttleBOT
#

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

Code
await stripe.paymentIntents.create({
amount: formatAmountForStripe(amount, 'usd'),
currency: 'usd',
application_fee_amount: getApplicationFeeAmount(amount),
automatic_payment_methods: {
enabled: true
},
on_behalf_of: stripeConnectId,
transfer_data: {
destination: stripeConnectId
}
});

Question
I am struggling to find out how to create direct charges with payment intents and the payment element for my stripe connect accounts. I see my application fee is being applied, but my platform is being charged for the transaction fees.

What have you already attempted?
I've attempted updating and creating payment intents with the onBehalfOf and transfer data, but when my payments are confirmed my platform account shows the processing fee.

What are you working on?
I'm building a platform for musicians to get payments during live performances

#

@slim wagon pressed the 🔌 API button in #help to ask a question:

Question
We want to expand the `latest_charge` on the `error.payment_intent.latest_charge` response we get in a call to createPaymentIntent.

Related Request ID(s)
req_JjMKDuvi4XWVsX

What have you already attempted?
adding `latest_charge` as expanding field

atomic shuttleBOT
#

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

Code
subscription = stripe.Subscription.create(
customer=stripe_customer_id,
items=[{"price": price.id}],
)

Question
Could you please check if the subscription is not returning the PaymentIntent?

What have you already attempted?
creating subscription

atomic shuttleBOT
#

@stark citrus pressed the 🔌 API button in #help to ask a question:

Question
I need to allow my customer to switch to a different subscription, for example, from monthly to annual, or vice versa.
Now, what I think I need to do is, cancel the current subscription and then schedule the new chosen subscription after the end of the current subscription. I just wanted to know if this is the right way to do it or should I implement it differently?

Related Request ID(s)
I'm afraid, I don't really know what to fill in here.

What have you already attempted?
I've tried the approach where I cancelled the user's subscription, which should end the user's subscription after the actual end date and the scheduling a subscription for the user after the end-date at hand.

What are you working on?
I have a website with stripe integration for payments where I handle subscriptions for the services that we provide.

#

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

Code
def prepare_stripe_oauth
artist_id = params[:artist_id]

if artist_id
@artist = Artist.find_by(id: artist_id)

if @artist
  session\[\:oauth\_state\] = SecureRandom.hex\(10\)
  state = session\[\:oauth\_state\]

  \# Determine the environment\-specific client\_id
  client\_id = Rails.env.production? ? Rails.application.credentials.dig\(\:stripe, \:live, \:client\_id\) \: Rails.application.credentials.dig\(\:stripe, \:test, \:client\_id\)
  
  \# Construct the Stri

Question
When my users are clicking on the connect to stripe button to create their connect express accounts the Stripe onboarding is defaulting to US and not allowing the user to choose their country

What have you already attempted?
I am able to create a connect express account from Canada from the Stripe dashboard so I know it's enabled properly

What are you working on?
My web app is using Ruby on Rails 7

#

@frail valley pressed the 🔌 API button in #help to ask a question:

Question
I want to use payment links to receive payments for custom amounts and not for subscriptions.

Related Request ID(s)
req_Rp7YNPUkRKhbBC?t=1713937204

What have you already attempted?
I want to pass amount and currency to take custom payments, i am able to do that using invoice creation, but i want to do it using payment links, and also what is the best practice to do this task, which is generating a payment link which adds the funds to stripe balance

What are you working on?
Taking payment from customers

atomic shuttleBOT
#

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

Code
$vf = $stripe->customers->verifySource(
$customer->id,
$ba->id,
['amounts' => [32, 45]]
);

Question
I have integrated ACH payments in my Laravel website, I take the user's account holder name, routing number, and account number which working fine in test mode but getting the following error in live mode and I am stuck in resolving it.
"The amounts provided do not match the amounts sent to the bank account"

What have you already attempted?
I tried to change the values of microdeposits but it did not work

What are you working on?
Searching for tutorials and articles regarding ACH payments. In some tutorials , I found the same implementation as of mine, but this is only working in test

#

@dusk gulch pressed the 🪝 Webhooks button in #help to ask a question:

Question
my default card expired and i have already add new card but recurring time take the default card so recurring subscription failed every time so how to resolve this

Related Event ID(s)
Recurring payment issue

What have you already attempted?
Default card issue

What are you working on?
subscription

#

@meager hinge pressed the 🔌 API button in #help to ask a question:

Question
Q1. I'm paying for a subscription via the Checkout Session API. When I recognize that a payment has been made via the invoice.paid event, which field tells me when the payment actually occurred?

Q2. When the invoice.paid event is fired, how can I tell if it's a trial and the payment is zero or if I actually paid zero?

Q3. How do I know if a discount has been applied when an invoice.paid event occurs?

Related Request ID(s)
.

What have you already attempted?
Search document

What are you working on?
Integrate subscription

#

@brittle plinth pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We are trying to create connects using Shopify & Appypie, creating and sending automated invoices, when getting a new order in shopify, to our customers.

What actually happened?
The connect been created by Appypie and is working fine with the Stripe account of Appypie, but not with ours. With our account, invoices are being created, but the invoice amount is always ZERO, instead of the amount out of the Shopify booking. It seems that it´s connected to the currency somehow (We are located in Thailand, using the Thai Baht currency).

Reproduction Steps
Every new shopify order is being created automated, but ordner amount is always ZERO and the invoice is marked automated as paid.

Question
Maybe there are some settings to change within our Stripe account?

#

@silent junco pressed the 🔌 API button in #help to ask a question:

Question
Our api code relies on the stripe-mock project (https://github.com/stripe/stripe-mock) to run our unit tests, which I believe is maintained by Stripe developers. The last release for that project was two weeks ago, and since then, there have been some api changes that aren't supported by stripe-mock. For example, for the upcoming invoice endpoint (https://docs.stripe.com/api/invoices/upcoming), the subscription_details parameter is not accepted.

The stripe-mock project's master branch already has the necessary changes, so I believe someone with permissions just needs to trigger a new release.

Related Request ID(s)
n/a

What have you already attempted?
I've read the api docs for the endpoints that my tests are failing on (like the upcoming invoices endpoint https://docs.stripe.com/api/invoices/upcoming), and I've tested the same requests in test mode, so I know they should work with the stripe-mock project. I've also dug into the stripe-mock project a little and looked at the OpenAPI spec (https://github.com/stripe/stripe-mock/blob/v0.184.0/embedded/openapi/spec3.json) -- it's been updated with the correct parameters, but those changes haven't been released.

atomic shuttleBOT
#

@viscid dock pressed the 🔌 API button in #help to ask a question:

Question
I'm using "confirmPayPalSetup" to add a paypal payment method and I was wondering if it was possible to open the paypal window as an iframe like it's done on most website instead of a new page and then redirecting ?

Related Request ID(s)
https://docs.stripe.com/js/setup_intents/confirm_paypal_setup

What have you already attempted?
I'm following this but there is no info about opening in a window iframe https://docs.stripe.com/payments/paypal/set-up-future-payments

#

@fallen blade pressed the 🔌 API button in #help to ask a question:

Question
is it possible to display the amount in stripe checkout with out decimal points

Related Request ID(s)
3456789

What have you already attempted?
the id given is irrelevant ,

atomic shuttleBOT
#

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

Question
How can I retrive the information of "Available on" for charges through my API

Related Request ID(s)
None

What have you already attempted?
Api docs

atomic shuttleBOT
#

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

Question
how to charge customer with saved cards

Related Request ID(s)
NO ID

What have you already attempted?
we integrated custom ui for the customers to select already saved cards to pay. by the card we are handling the payment after clicking on submit

What are you working on?
for 3d secure authentication failed is coming, how to handle

#

@midnight cave pressed the 🔌 API button in #help to ask a question:

Question
Hi, I am working on subscriptions in stripe. Where I am not giving max instalments to stripe, where as I am tracking that in my code. I am facing a problem now,

When I create a recurring invoice for say 12 months, every month I receive 2 webhooks one for invoice created and other one is when that invoice is actually paid. So now when the 12th web hook triggers for invoice created, I need to let stripe know that after this don't create any invoice.

Related Request ID(s)
No id's

What have you already attempted?
I tried cancel the subscription, but the unpaid invoice among this 12 invoiced wont be charged now.

When I try to pause the subscriptions it will keep issuing the invoice

#

@tired reef pressed the 🔌 API button in #help to ask a question:

Question
How do I create a payment link and capture the funds later? I can do this by making a manual payment, but not as a payment link.

Related Request ID(s)
To authorize a payment without capturing it, make a charge request that also includes the capture parameter with a value of false. This instructs Stripe to only authorize the amount on the customer’s

What have you already attempted?
Stripe Docs : Blocking a sum of money on a bank card

#

@rich inlet pressed the 🔌 API button in #help to ask a question:

Question
Hello stripe , i have a question , how can I create a subscription without billing the user the first invoice

Related Request ID(s)
create subscription

What have you already attempted?
i have attempted trial , but we do not need trial subscription for our metrics

What are you working on?
create subscription

#

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

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

Question
Does Affirm payment have a corresponding test account, including success and failure scenarios?

What have you already attempted?
The corresponding document cannot be found

#

@obtuse glen pressed the 🔌 API button in #help to ask a question:

Question
I want to use stripe in the nextjs framework to charge customers for usage, but it seems a bit difficult for me to use your api How to deal with it? Is it necessary to use Webhook? Should I use npm to install the plug-in to support subsequent operations?

Related Request ID(s)
no

What have you already attempted?
no

#

@unreal garnet pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Is there any documentation which talks about some general internal checks by stripe in checkout and legacy checkout?

What have you already attempted?
I've tried to reproduce a case by trying to pay via test card in production kode.

atomic shuttleBOT
#

@lyric quest pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Annual subscription gets initialized with product X, after a few months gets updated to product Y. I would expect on the 1-year anniversary renewal to be renewed with the latest product (aka Y)

What actually happened?
The subscription got automatically updated upon renewal to the initial product (aka X), and not the latest one.

Reproduction Steps
Probably with test clock + annual subscription this could be reproduced.
I will try to do so.
This thing is affecting our whole clientbase as they reach their 1-yr anniversary

Question
Is there some configuration I could provide so as to achieve what I expected to happen?
Aka for the subscription to be automatically renewed with the latest product not the one that got initially created with.

What are you working on?
The product subscription + payment system of a SaaS product

#

@frigid prairie pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am using the Firebase Stripe Extension. It does not create a custom object and it fails to add the subscription to the not existing customer object

Related Event ID(s)
evt_1P9164BJQRsyZXRA8aw1vlfn, evt_1P9164BJQRsyZXRAMUzb1lIb, evt_3P9162BJQRsyZXRA1ZZTlJC4, evt_1P9164BJQRsyZXRA8aw1vlfn

What have you already attempted?
I already tried to reconfigure the whole extension

#

@nocturne goblet pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi, we are receiving email alerts since april 20th about one of our webhook that doesn't work anymore (does not return code 200 to 299). We did not change anything in this project this year, could this come from a recent api change?

Related Event ID(s)
em_5vjtqcozjz2z5eepr8bd2n1gevlhkr

What have you already attempted?
Looking in the docs without much success, I don't have direct access to stripe dashboard (waiting for info from logs here from my boss)

#

@frozen jay pressed the 👍 Best Practices button in #help to ask a question:

Question
I'd like to invite a tester to Stripe so that it's going to test to see if there are errors on webhooks / transactions are done correct / Add the subscriptions in future to test all kind of scenarios, but I don't know what role can I offer. The problem is that I don't want to give full access or View only, I'd like to limit the user to have the ability to test, but not see the real transactions on the live website or modify important things

Doc/Guide Links
https://dashboard.stripe.com/settings/team

What are you working on?
A feature where users can have memberships like on Patreon / YouTube

#

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

Code
Unsupported class file major version 65

Question
Since a couple days ago, I updated the library stripe-terminal-react-native to version 0.0.1-beta.17 and since then i keep getting the error:
Unsupported class file major version 65
when I try to compile my app

What have you already attempted?
I tried downgrading back to version 0.0.1-beta.15 and still doesn't work, the only way my app compiles is by removing the library

atomic shuttleBOT
#

@split coral pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello. This is my bussiness. Use can create many project and one project can have many items. Price of each project is 3$ and price of one item is 0.1$. If user have 2 projects and 100 items in total, then him must pay 3$ * 2 + 0.1$ * 100. I want create a subscription monthly base on current number of project and item that user have owned. What is suitable pricing model for user

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models#per-seat

What are you working on?
I'm a backend developer

#

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

Question
issue with saved cards to show

Related Request ID(s)
NOID

What have you already attempted?
need to show saved cards in the checkout

#

@silver pendant pressed the 🔌 API button in #help to ask a question:

Question
Can I list all the guest customers via the api?

Related Request ID(s)
Customers

What have you already attempted?
# Get all customers from stripe
customers = stripe.Customer.list(
limit=100,
stripe_account=get_business_data[0]['connect_id']
)

#

@languid blaze pressed the 🔌 API button in #help to ask a question:

Question
I want to schedule a change on a subscription via the API. I am struggling to get my desired result.
Scenario: subscription has 1 subscription item with price A and quantity 1. I want to schedule a change so that on X date, the quantity becomes 0 and then a new price is added with quantity 1.

Related Request ID(s)
req_gQWU5WQOYZQWRr?t=1713951261

What have you already attempted?
I used the subscription_schedules api (create), this created a new subscription that was not the desired outcome.

I then used the 'create_from_subscription' parameter to create a subscription_schedules against my existing sub. I then attempted to update this schedule with the phase.items, this almost worked as I wanted, the only issue is that I could not set the date that I wanted. I get this message: "You can not modify the start date of the current phase.". How can i correctly set the schedule date?

What are you working on?
Building a script that will look through customers and move them to a new price plan for their subscription

#

@wispy sundial pressed the 🪝 Webhooks button in #help to ask a question:

Question
i want to know hoe stripe generates the repay link that sent to email via that link customer can repay the failed payment, i want to generate that link in my own system and do all that things in my web app , when settings for email are enable stripe send an email for repay , same like that in email threr are a button like pay and stripe contains all details and payment done WITH THAT LINK

same functionality i want to implement in my app so i want to know how stripe generates that link by which cutomer can repay without any additional information

Related Event ID(s)
payment_intent.payment_failed

What have you already attempted?
i caught all the events by webhook

What are you working on?
i want to generate payment link that stripe generates for email by which customer can repay without any other details

atomic shuttleBOT
#

@bright stream pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Hello! How do you add a Link test payment method?

What have you already attempted?
Dashboard only allows cards and bank accounts. Checkout page wants me to sign-up for Link. SDK does not show link as an option under stripe.payment_methods.create

atomic shuttleBOT
#

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

Code
def prepare_stripe_oauth
artist_id = params[:artist_id]

if artist_id
@artist = Artist.find_by(id: artist_id)

if @artist
  session\[\:oauth\_state\] = SecureRandom.hex\(10\)
  state = session\[\:oauth\_state\]

  \# Determine the environment\-specific client\_id
  client\_id = Rails.env.production? ? Rails.application.credentials.dig\(\:stripe, \:live, \:client\_id\) \: Rails.application.credentials.dig\(\:stripe, \:test, \:client\_id\)
  
  \# Construct the Stri

Question
What Stripe platform URL do I need to have my users navigate to so the Stripe onboarding allows them to choose their country instead of only allowing the US

What have you already attempted?
I am able to create a connect express account to Canada via the stripe dashboard manually but I want to have the user do this on their own from the connect to stripe button on my website

What are you working on?
My website is running Ruby on Rails 7

#

@dusk gulch pressed the 🔌 API button in #help to ask a question:

Question
how to set default payment in Subscription create?

Related Request ID(s)
Subscription

What have you already attempted?
added default payment set but not working

atomic shuttleBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_methods/list?lang=java

Question
Can we store the id, last_digits, expiry of payment method in our application database without having PCI Compliance?

What have you already attempted?
Looked through he docs

What are you working on?
An android app to process payments and vault payment methds

#

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

Code
//add subscription invoice item
$this->stripe->invoiceItems->create([
'customer' => $stripeCustomer->id,
'amount' => 750 * 100, //multiplying it to convert to cents
'currency' => 'USD',
'description' => '6-Month Fill Finish Project Subscription',
]);

//add registration invoice item
if($customBillingDto->includeRegistrationFee){
$this->stripe->invoiceItems->create([
'customer' => $stripeCustomer->id,
'price' => config('services.stripe.base_plan_api_id'

Question
it is creating invoice, but it is not adding any invoice items to the invoice and as a result it is returning 0 in invoice total

What have you already attempted?
I have tried creating invoice first and add invoice items later, however, with that approach it was working on local however on production, it was throwing error "Nothing to invoice for customer"

#

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

Code
// Action for a "Checkout" button
- (void)checkoutAction {
NSError *paramError = nil;
SCPPaymentIntentParameters *params = [[[SCPPaymentIntentParametersBuilder alloc] initWithAmount:1000
currency:@"usd"];
build:&paramError];
if (paramError) {
NSLog(@"Error building payment intent parameters");
return;
}

Question
why I am getting payment_intent_unexpected_state error?

What have you already attempted?
I am trying to charge money in test mode for testing.

atomic shuttleBOT
#

@sudden river pressed the ❌ An Error button in #help to ask a question:

Error Message
"Microdeposit transfers have been blocked. Please contact us at https://support.stripe.com/ if you would like more information."

Question
Hey guys, we recently added support for ACH to our product using Stripe setup/payment intents. It's mostly working, but a small number of users (5) are getting the error above. What's strange is that these users do not seem to have an ACH payment method pending verification in their account. But Stripe is sending this error, and it's unclear how to resolve.

What have you already attempted?
We've confirmed this error is coming from Stripe. The users have tried to start the process over, but get the same error message every time.

Reproduction Steps
Check out the event log: https://dashboard.stripe.com/events/evt_1P5ysRFj7m2BaLsOz0i2hsXh

What are you working on?
We're a parking-management system, so a lot of people pay for their monthly through Parkade.

atomic shuttleBOT
#

@brazen goblet pressed the 🔌 API button in #help to ask a question:

Question
We currently have a premium subscription for our platform with a monthly and yearly price. If a user takes a monthly subscription, we have in our terms that it's over 12 months but in monthly payments, but a customer has cancelled and we don't allow that. I've just noticed that there's installment plan with subscription schedules and was wondering if this is something we could use, by breaking a yearly subscription down into monthly payments, is this the correct use case? https://docs.stripe.com/recurring-payments#installment-plans

Related Request ID(s)
evt_1Oqcr9CpYMgMVBBwnXDdx965

What have you already attempted?
We also want to know how the user managed to cancel, as we don't have it as an option on our site, or in the Stripe customer portal.

#

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

Question
need some info for payment intent authentication payment in frontend

Related Request ID(s)
NOID

What have you already attempted?
i am passing the payment intent client secret to the front end, in front end what i should show ?

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

We're not available from 13:00 - 00:00 UTC Tuesday - Thursday this week (April 23-25) as the team is busy with Stripe Sessions. In the meantime you can contact Stripe support for help.

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

@small anvil pressed the 🔌 API button in #help to ask a question:

Question
I am having trouble creating a PaymetntIntent with customer information such as name, email, address, and postal code using StripeJavaSDK(25.3.0).
Because I would like to create PaymentIntents for Credit Card Payment with attaching those data, but I could not specify CREDIT CARD as PaymentMethodData Type which is the required property.
How could I solve this problem?

Related Request ID(s)
req_huR26WUgUo4M28

What have you already attempted?
I've type to specify by a string like the following.
but it did not work.

PaymentMethodData
.builder()
.setType(Type.valueOf("card"))
.build()

#

@kind pine pressed the 🔌 API button in #help to ask a question:

Question
We are having trouble accessing our Test Stripe Express Connect account's Stripe Express Dashboard. It is asking us for two factor authentication to a phone number that we don't recognize.

Related Request ID(s)
req_0XwD0oEyrYcnx7

What have you already attempted?
We've tried entering a random value, which failed. We also tried to have it send an OTP to an email, but we did not receive the email in our email that's associated with the account.

#

@native void pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
we expected the transaction to go through without any problems.

What actually happened?
we're facing an issue where our platform flags a payment as cancelled but it still seems to go though when looking at the logs on the stripe dashboard. there is a small padlock symbol next to the payment method on the transactions that out platform flags as cancelled but I can't really find an explanation for this symbol anywhere.

Reproduction Steps
It seems that this happens when there is an exemption for some of the security features of the credit card payment. Actually, the lock itself is not the problem, but the connect gateway we use on our platform seems to have issues with this, fails to do the correct routing of the funds and directs them all onto our account instead of splitting them.

Question
Can you please point me in a direction on what this symbol means and how we can disable any exemptions? Appreciate your help!

atomic shuttleBOT
#

@split coral pressed the 👍 Best Practices button in #help to ask a question:

Question
I want create a per-seat billing monthly subscription base on 2 unit. Example number of bucket (3$each/monthly) and number of item(0.1$/item/monthly). But I can not find docs guide per-seat with 2 unit

Doc/Guide Links
https://docs.stripe.com/products-prices/pricing-models#per-seat

What are you working on?
Backend

#

@high verge pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to specify the preferred language for the onboarding interface for a Connect Express Account via the api?

Context: All of our users are English speakers even though they live in many countries around the world. It seems that the Connect Account onboarding UI automatically infers the language from the `country` field specified when creating the account via the API, but our users often don't speak that language. It would be helpful to be able to set the language explicitly.

Related Request ID(s)
req_9bVeAvF7bwxxAe

What have you already attempted?
Create an account via POST to /v1/accounts. User interface displays in language associated with country instead of desired language (English).

What are you working on?
Education Platform

atomic shuttleBOT
#

@lunar zodiac pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/adaptive-pricing

Question
I'm currently looking into doing currency conversions and had a few questions.

Firstly, does Stripe support a reference-only currency conversion in the payment sheet? So, the customer would be charged in our settlement currency (USD) but would be shown their localized currency amount just for a reference and no currency conversion happens beyond that.

For the second question, does Stripe offer any alternative to adaptive pricing if we intend on using a manual capture mode?

What have you already attempted?
Finding relevant documents related to these questions

What are you working on?
An integration with Apple Pay through Stripe using the Express Checkout element

#

@winter holly pressed the 🔌 API button in #help to ask a question:

Question
We want to build the payment flow to let customer select payment method first and check out afterward. But when we tried to do that, it shows that it is not secure and need PCI

Related Request ID(s)
API

What have you already attempted?
connecting Stripe API

atomic shuttleBOT
#

@pale whale pressed the 🔌 API button in #help to ask a question:

Question
how can i get the mandate id and the mandate url from a payment method of au_becs_debit retrospectively?

Related Request ID(s)
none

What have you already attempted?
So i forgot to turn on the setup_intent.succeeded event in my webhook in prod. So now in my db i have a bunch of payment methods of au_becs_debit with the columns payment_method_id, fingerprint etc, but i do not have the setup intent id, or the mandate id or the url. How can i retrospectively find the mandate id and mandate url for these au_becs_debit payment methods?

What are you working on?
SaaS platform

atomic shuttleBOT
#

@fluid shadow pressed the 🔌 API button in #help to ask a question:

Question
How to get card details after payment for subscription as payment intent returned as NULL..

Related Request ID(s)
req_YtdeSKzfgfB2qw

What have you already attempted?
I am creating session object for payment with success url - companies/payment-success?session_id=cs_test_a1cgrngj5345bXnC7uFTzPcBYFMOGK21lAEinVe6Oy1a8zSRXunZN9qJsL

What are you working on?
I am making a onetime/subscrition for one of our services.

atomic shuttleBOT
#

@tender crater pressed the 🔌 API button in #help to ask a question:

Question
I buy $500 worth subscription today then I update that subscription worth $1000, I do that with subscription.update API, and set proration_behaviour to none.
Now when I update to $1000, the $500 supposed to credit in my stripe account, but that didn't happen, so where did the $500 goes?

Related Request ID(s)
I don't know

What have you already attempted?
I don't know

atomic shuttleBOT
#

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

Code
<h1>ExpressCheckoutElement</h1>
<StripeProvider>
<Elements stripe={stripePromise} options={{ amount: 100,mode: 'payment',currency: 'usd', payment_method_configuration: xxx}}><ExpressCheckoutElement onConfirm={onConfirm}/></Elements>
</StripeProvider>
<h1>PaymentElement</h1>
<StripeProvider><Elements stripe={stripePromise} options={{clientSecret: paymentIntent.client_secret}}><PaymentElement/></Elements></StripePr

Question
Can i use multiple StripeProvider with Elements for ExpressCheckoutElement and PaymentElement with the same Stripe key configuration? I have tested it's working fine. Not sure if there is any potential risks? Thank you

What have you already attempted?
Can i use multiple StripeProvider with Elements for ExpressCheckoutElement and PaymentElement with the same Stripe key configuration? I have tested it's working fine. Not sure if there is any potential risk? Thank you

What are you working on?
Ecom web, native app

#

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

What did you expect to happen?
log says customer was created twice but no events correlate to the 2nd

What actually happened?
not sure

Reproduction Steps
view customer
https://dashboard.stripe.com/customers/cus_PxcVl0xVGBEw7s

Question
why does this customer show as created twice but only has 1 event in their history?

What are you working on?
a customer import tool

#

@frail valley pressed the 👍 Best Practices button in #help to ask a question:

Question
I want a customer to make a payment using a link, which will be added to the stripe balance, what is the best practice to do this, do we go ahead with payment links, checkout sessions, or invoices?

Doc/Guide Links
https://docs.stripe.com/api/payment_links/payment_links/create

https://docs.stripe.com/api/checkout/sessions/create

https://docs.stripe.com/api/invoices/create

What are you working on?
Taking payments from customers using links

#

@blissful zenith pressed the 🔌 API button in #help to ask a question:

Question
I am using the Go API and recently found that CheckoutSessionLineItemParams had some changes where params such as Name, Desc, image were deprecated (PR # 1565)

basically was wondering why this is the case? How can I now pass in product data to have Stripe display the products and have the purchase done on the Stripe website. is this no longer an option? Was Stripe checkouts deprecated?

I use to be able to pass in a Name, Image, Description, etc. for all products being purchased and could generate a dynamic stripe checkout link I would then redirect the user to.

Related Request ID(s)
N/A

What have you already attempted?
N/A (looked at docs but couldn’t find much)

What are you working on?
Need to pass dynamic data to Stripe to display products on checkout oage

#

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

Code
[[SCPTerminal shared] confirmPaymentIntent:collectResult completion:^(SCPPaymentIntent *confirmResult, SCPConfirmPaymentIntentError *confirmError)

Question
I am getting an error during the capture payment intent.

What have you already attempted?
I am trying with example code.

#

@glossy robin pressed the 🔌 API button in #help to ask a question:

Question
Can we hide "Country" dropdown in Checkout page to add a payment method? Or is it possible to disable that field with keeping only 1 country selected?

Related Request ID(s)
Couldn't find where to Look for Dashboard?

What have you already attempted?
I tried referring Stripe documentation but found no any such things.

What are you working on?
I am showing this page as embeded page into a webview in mobile app to add a new payment method and then use it later for making a payment.

atomic shuttleBOT
#

@tribal pewter pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Deleting user account on WordPress staging site should will not affect any production site data.

What actually happened?
Existing customers subscription on the production site had their card detached as a result from WordPress user account deletion in staging site. Users could not pay/renew the subscriptions with their existing card.

Reproduction Steps
Login into wordpress admin panel, navigate to users and remove the user accounts.

Question
I wanted to know is it possible to restore/reattach the card information into wordpress/stripe manually to restore the subscription behavior.

What are you working on?
E-commerce website

#

@silk python pressed the 🔌 API button in #help to ask a question:

Question
I want to know how stripe subscription schedules work. I created a subscription schedule that starts in the future.

- Will it create a subscription in the future of each phase?
- which webhook should I use to get the subscription ID?

Related Request ID(s)
https://dashboard.stripe.com/test/events/evt_1P9KvWIqONfMPfff8YSeEHAC

What have you already attempted?
I read a few Stripe documents which do help to answer questions.

Resources -
https://docs.stripe.com/billing/subscriptions/subscription-schedules

https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases

What are you working on?
I am working on a stripe integrations

#

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

Code
displayPaymentSheet() async {
try {
var stripeInstance = Stripe.instance;

  await stripeInstance.presentPaymentSheet\(\).then\(\(value\) {
    paymentIntent = null;
  }\).onError\(\(error, stackTrace\) {
    throw Exception\(error\);
  }\);
} on StripeException catch \(e\) {
  print\('Error is\:\-\-\-\> $e'\);
} catch \(e\) {
  print\('$e'\);
}

}

Question
I am using the package flutter_stripe 10.1.1 to integrate Stripe payment in my flutter app, how can I get payment method ID to send to the server so the user data can be saved?

What have you already attempted?
I have tried chatgpt but the methods it is providing are not working.

#

@brave umbra pressed the 🔌 API button in #help to ask a question:

Question
Attached below is the trouble we are facing when trying to enable manual payout without initiating instant payout.
--
before payout balance- {
available: [ { amount: 0, currency: 'usd', source_types: [Object] } ],
instant_available: [ { amount: 176, currency: 'usd', source_types: [Object] } ],
livemode: false,
pending: [ { amount: 176, currency: 'usd', source_types: [Object] } ]
}
we received the payment in connected account, and above mentioned is its balance. Now as user do the payout (without instant), it says insufficient funds. So what params by which we can do payout.

Related Request ID(s)
-

What have you already attempted?
i got this balance -
before payout balance- {
available: [ { amount: 0, currency: 'usd', source_types: [Object] } ],
instant_available: [ { amount: 176, currency: 'usd', source_types: [Object] } ],
livemode: false,
pending: [ { amount: 176, currency: 'usd', source_types: [Object] } ]
}

await stripe.payouts.create(
{
amount: 2,
currency: 'usd',
},
{
stripeAccount: sellerStripeAccountId,
}
);
Error we got
Error: You have insufficient funds in your Stripe account for this transfer. Your card balance is too low.

What are you working on?
A platform which has seller and buyer both. So on answering the question of buyer, payout has to be triggered to sellers bank account/debit card.

#

@tropic copper pressed the 🔌 API button in #help to ask a question:

Question
Hello Stripe Team,

I am currently integrating your Java library into my application to handle payments and customers. I found the following interface in your API documentation to add a bank account for a customer: https://docs.stripe.com/api/customer_bank_accounts/create

However, the Customer class in the Java library does not have a method named getPaymentSources(). Could you please advise how else I can add a bank account to a customer?

Thank you in advance for your assistance.

Related Request ID(s)
no related requests

What have you already attempted?
Tried different stripe versions

atomic shuttleBOT
#

@summer oxide pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Amazon pay option was recently enabled in payment methods in stripe and we wanted to make use of it. While enabling it from payment methods we figured out that though it is written that it supports recurring payments but for monthly recurring or annual recurring items it is not available in the checkout.

What actually happened?
I activated amazon pay option from payments method after seeing that it supports all our requirements to test it, but later figured out that though it is written that it supports recurring payments but is not available in checkout page for the same subscriptions?

Reproduction Steps
This can be tested in the checkout element of stripe.

Question
Am I missing out something here? As in the docs it is mentioned that it supports recurring payments (https://dashboard.stripe.com/test/settings/payment_methods?platform_id=pmc_1OWdhjCtiaajKx2Eq7ERZtPv&config_id=pmc_1OWdhjCtiaajKx2Eq7ERZtPv) but is available for only one-time offs, Do I have to configure anything from amazon.pay to make it work?

#

@native void pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
we expected the transaction to go through without any problems.

What actually happened?
we're facing an issue where our platform flags a payment as cancelled but it still seems to go though when looking at the logs on the stripe dashboard. there is a small padlock symbol next to the payment method on the transactions that out plattorm flags as cancelled but I can't really find an explanation for this symbol anywhere.

Reproduction Steps
It seems that this happens when there is an exemption for some of the security features of the credit card payment. Actually, the lock itself is not the problem, but the connect gateway we use on our platform seems to have issues with this, fails to do the correct routing of the funds and directs them all onto our account instead of splitting them.

Question
Can you please point me in a direction on what this symbol means and how we can disable any exemptions? Appreciate your help!

the paymentintent is is:

pi_3P5YKECrDxMU2Cew07xbypBb

#

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

Code
iframe - __privateStripeController7531 and __privateStripeMetricsController7530

Question
Stripe adds iframes to the DOM, is it possible to use Stripe without adding the iframes? Can they be removed?

What have you already attempted?
-

What are you working on?
Building a cross platform desktop app. Currently testing in macOS.

atomic shuttleBOT
#

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

Code
displayPaymentSheet() async {
try {
var stripeInstance = Stripe.instance;
await stripeInstance.presentPaymentSheet().then((value) async {
paymentIntent = null;
}).onError((error, stackTrace) {
throw Exception(error);
});
} on StripeException catch (e) {
print('Error is:---> $e');
} catch (e) {
print('$e');
}
}

Question
How can I get paymentMethodId from this method?

What have you already attempted?
I have read the Stripe document and did the chatgpt but couldn't find the solution.

waxen spindle
#

👋 happy to help

atomic shuttleBOT
#

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

Code
\Stripe\Stripe::setApiKey("sk_live_51P8**************");
// Create a Stripe Connect account
$account = \Stripe\Account::create([
'type' => 'express',
'country' => 'US',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
'business_type' => 'individual',
'email'=>$

Question
I am getting this error
You can only create new accounts if you've signed up for Connect, which you can learn how to do at https://stripe.com/docs/connect.

We have created a connect account .

What have you already attempted?
I have tried to call the API but it is failing.

#

@sour ridge pressed the 🔌 API button in #help to ask a question:

Question
Charging Raw PANs - Create PaymentIntent using Java SDK v22.19.0
The paymentMethodData does not have a card property. How can I set card information such as cardNumber, expMonth, expYear, and cvv? Can I put it into extraParam?
We are in the process of acquiring PCI compliance.

Related Request ID(s)
None

What have you already attempted?
PaymentIntentCreateParams param = PaymentIntentCreateParams.builder()
.setAmount(request.getAmount())
.setCurrency(request.getCurrencyType())
.setConfirm(true)
.setReturnUrl(NotifyUrlBuilder.buildThreeDS(request))
.setCaptureMethod(PaymentIntentCreateParams.CaptureMethod.MANUAL)
.putExtraParam("paymentMethodData[type]", "card")
.putExtraParam("paymentMethodData[card][number]", request.getCardNo())
.putExtraParam("paymentMethodData[card][expMonth]", request.get

#

@wild harbor pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello,

I would like to implement stripe on my registration workflow, but I'm not sure how to do it.

I don't want to use stripe checkout, I want to integrate it on my webpage

Doc/Guide Links
I have no clue where to start

What are you working on?
I'm building a saas product

#

@severe cave pressed the 👍 Best Practices button in #help to ask a question:

Question
What's the recommended way to add Stripe to native macOS app?

Doc/Guide Links
Github and Stripe docs

What are you working on?
macOS native app

atomic shuttleBOT
#

@oblique gull pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi we have a platform where users use Stripe for card payments. we have a requirement where we want to verify that the owner name given to us by the user actually matches the name on the card for the user. we understand that this maybe bank specific with no wide support internationally

Doc/Guide Links
https://docs.stripe.com/identity

What are you working on?
Fundraising platform

#

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

Question
We have many subscriptions linked to a product. The subscriptions were set up with a renewal date that we want to change now (we want to move it backwards by some days). Is it possible to do it while maintaining all other subscription features intact (no new invoice, ...)? Also, if we have the subscription IDs in our DB, do you have any API to perform a bulk update, or we have to update them one by one? We have over 9k subscriptions that we want to change.

Related Request ID(s)
-

What have you already attempted?
We've gonne through the API documentation and we've seen that for the subscriptions that are still on trial, we can do what we want with the following call: stripe.subscriptions.update('sub_49ty4767H20z6a',{trial_end: 1611008505,proration_behavior: 'none',});

But for the ones that are not on trial, if we do something like stripe.subscriptions.update('subscription_id', { billing_cycle_anchor: someNewDate }); the subscription generates a new invoice, and that's not what we want

What are you working on?
A ticketing platform with partner accounts

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/elements/customer-sheet

Question
I am unable to directly open the add card form in Java Implementation

What have you already attempted?
Look through Docs

What are you working on?
An android app to process payments and vault payment methds

atomic shuttleBOT
#

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

Question
I don't quite understand how the local environment is handling the requests.

My question is: when I run the checkout process in my application and it finishes, shouldn't it automatically activate the endpoint (from Stripe's side)? Why doesn't it run?

There are no errors from the checkout process and it successfully completes.

Related Event ID(s)
evt_1P9P5fLJsnsdQ4qHAvZviZPW

What have you already attempted?

  1. I am running:
    ./stripe.exe listen --forward-to http://127.0.0.1:8787/webhook/postcheckout

I get back (from 2):
2024-04-25 11:38:51 --> customer.created [evt_1P9OlVHc5XDVHTMyYKCWoe5s]
2024-04-25 11:38:51 <-- [400] POST http://127.0.0.1:8787/webhook/postcheckout [evt_1P9OlVHc5XDVHTMyYKCWoe5s]

  1. And it seems to be listening and when I run:
    ./stripe.exe trigger customer.created

I get:
Setting up fixture for: customer
Running fixture for: customer
Trigger succeeded! Check dashboard for event details.

What are you working on?
vite + cloudflare worker functions + nodejs

#

@fierce mortar pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to access the details of a PaymentMethod.
I get a call to the webhook `payment_method.attached` which contains the details I want later. I get a call to `setup_intent.succeeded` which gives me the payment id that was used, the customer id etc. I want to use the details in the setup_intent to retrieve the payment method on the customer, however, using the PM API returns the error "OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account."

Related Request ID(s)
evt_1P9OZzJk75hPCxYycJrrKlyA, evt_1P9OZzJk75hPCxYypMcKYYQ6

What have you already attempted?
Using the PaymentMethod api calls to retrieve the pm using the customer and the pm id from a `setup_intent.succeeded` webhook call.

What are you working on?
Payment management.

#

@haughty granite pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://stripe.com/in/resources/more/sepa-transfers-explained

Question
How to use the SEPA Instant Credit Transfer payment method to accept payments from customer?

What have you already attempted?
I tried searching for it on API reference but couldn't find

What are you working on?
I want to offer SEPA Instant Credit Transfer as a payment option to my customer

#

@obtuse glen pressed the 🪝 Webhooks button in #help to ask a question:

Question
I listened to the webhook on nextjs and tested locally and everything worked fine, but after publishing to the test environment I kept getting a signature error: No signature matching the expected signature of the payload was found. Did you pass the original request body you received from Stripe

Related Event ID(s)
no

What have you already attempted?
no

#

@fallen blade pressed the 🔌 API button in #help to ask a question:

Question
Renewal orders are getting failed, not sure about the reason.

Related Request ID(s)
id": "in_1P4h2tBVrKboAFlp5Eh7eBku 4:03 payment_intent": "pi_3P4hzGBVrKboAFlp2GnCrLHs"

What have you already attempted?
we checked the log but, could not pin point the reason.

atomic shuttleBOT
#

@true nexus pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Connected Account has $0 on Stripe Balance. User makes payment on 0.50$. Then connected account try to make refund. Connected account balance should be negative.

What actually happened?
Stripe returns an error "Insufficient funds in your Stripe balance to refund this amount."

Reproduction Steps
As connected account with
Make payment $0.50
Refund it.

Question
Here is payment intent id. pi_3P9Pb9FsEyguhAmS0jIMHmJ2

How I can refund payments if there is less amount on stripe account balance?

atomic shuttleBOT
#

@nova hamlet pressed the 👍 Best Practices button in #help to ask a question:

Question
We have a coupon that is valid for 12 months that we apply on a subscription when a user signs up for a year.

The user can also renew its subscription for another year, but the problem is that the coupon is only valid for 12 months and it’s “duration” does not get refreshed when we update the subscription in the backend.

We use stripe’s Java SDK in the backend and use the Subscription.update. We give the coupon as one of the parameters but my guess is that because the coupon is technically the same, the discount is not “updated” and thus there is no new discount..

So what is the best practice here regarding renewing discounts?

Doc/Guide Links
https://docs.stripe.com/api/subscription_items/update?lang=java

What are you working on?
payment service in Java backend. Renewing subscription with limited discount

#

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

Question
What am I suppost to pass into the "stripe.webhooks.constructEvent"? The terminal also forwarded me to use the "await stripe.webhooks.constructEventAsync" instead?

Related Event ID(s)
evt_3P9QdiLJsnsdQ4qH0jHSTeKh

What have you already attempted?
Errror:
Webhook signature verification failed. Err: 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 s

What are you working on?
vite + cloudflare worker functions + nodejs

#

@viral hinge pressed the 🔌 API button in #help to ask a question:

Question
I created a test connect standard account using API, got the account link, setup my account. But the account still shows restricted. To resolve the status recommendation is to contact support. What information is missing cause its a test account.

Related Request ID(s)
req_ZPOHQsl2On2ZRU

What have you already attempted?
I tried looking into the logs, tried logging in as the connect account user

What are you working on?
An app where user can sell travel itineraries.

#

@fading kestrel pressed the 🔌 API button in #help to ask a question:

Question
Hey! We have an Onlineshop with physical products that need shipping and taxes to be applied according to the billing/shipping address the user inputs. With taxes it seems this works with the checkout, but does it work with shipping as well?
Thanks!

Related Request ID(s)
?

What have you already attempted?
We have looked trough the Documentation to find out if we could set shipping rates with conditions but have not foundanything.

What are you working on?
Online-Shop with Physical Products

atomic shuttleBOT
#

@summer basin pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to extend the Stripe Custom Checkout with custom consent collection?

In the current version is limited to consent collection of Terms of Service, Promotions and Payment Method Reuse information. For example in the german law some other consent collections might be required for specific cases. I can't see that its possible to have custom consent collections on the checkout.

Related Request ID(s)
-

What have you already attempted?
Creating Custom Field but there is no checkbox allowed and they aren't recommended for consent collection.

What are you working on?
Overall checkout page

atomic shuttleBOT
#

@torn venture pressed the 👍 Best Practices button in #help to ask a question:

Question
How can I retrieve customer card details using Stripe API?
I have created payment method id and I am getting the data from the following link but couldn't get the card number.

Doc/Guide Links
https://docs.stripe.com/api/cards/retrieve

What are you working on?
I am woking on Stripe payment integration in app

#

⛔️ Stripe developers aren't currently available on Discord

We're not available from 13:00 - 00:00 UTC Tuesday - Thursday this week (April 23-25) as the team is busy with Stripe Sessions. For help during this time, please contact Stripe support.

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

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

Question
Trying to send a transfer from a connect platform to a connected account via transfers api. It worked in test mode, but getting error:

Funds can't be sent to accounts located in AU when the account is under the `full` service agreement. To learn more, see https://stripe.com/docs/connect/service-agreement-types.

Need to know how to get around this or know another way to transfer funds to a connected account

Related Request ID(s)
req_aepj9mcPdmXgM6

What have you already attempted?
tried the transfers endpoint

What are you working on?
an adhoc tool to send funds to a list of connected accounts

atomic shuttleBOT
#

@lunar zodiac pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay

Question
Is it possible to know if Apple Pay is supported on the front-end? I wish to display a message to customers on the website who do not have Apple Pay shown because it is not supported on their browser (and thus the button is not rendered).

What have you already attempted?
Read guides

What are you working on?
Integration with Stripe Apple Pay

#

@obtuse glen pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am using the embedded payment method. I set metadata: {'user':'test'} when creating session.create. However, I cannot get this content in the payment success webhook. What should I do?

Related Event ID(s)
no

What have you already attempted?
no

atomic shuttleBOT
#

@swift fiber pressed the 🪝 Webhooks button in #help to ask a question:

Question
My domain name is a Japanese domain name with the suffix co.jp.
My current domain name is TLS1.3
In Webhooks, the domain name is verified and the SSL certificate is incorrect. How to deal with this problem?

Related Event ID(s)
https://discord.com/channels/1023038191151882261/1229653311872041021

What have you already attempted?
Currently, payment callbacks cannot be used in the production environment.

atomic shuttleBOT
#

@sudden river pressed the ❌ An Error button in #help to ask a question:

Error Message
"Microdeposit transfers have been blocked. Please contact us at https://support.stripe.com/ if you would like more information."

Question
I recently reached out about an error message that a number of our users are seeing when trying to add ACH: #dev-help message

Based on your request, we asked these users to reach out to Stripe support. Stripe support, however, confusingly has responded telling them they need to contact us.

What have you already attempted?
See prior post.

Reproduction Steps
See prior post from this Discord

What are you working on?
Parking management system

atomic shuttleBOT
#

@rich plinth pressed the ❌ An Error button in #help to ask a question:

Error Message
The legal entity structure on the account is incorrect. Please update the legal entity structure on the account.

Question
In test mode, the created connect account has always the restricted label and requiring an update on the legal entity structure.

What have you already attempted?
Change company information

Reproduction Steps
Create connect account
Follow onboarding to fill every page

atomic shuttleBOT
#

@hearty garnet pressed the 🔌 API button in #help to ask a question:

Question
Hi, our system received a payment method attached event at 2024-04-26 10:51:27, but after ten seconds we tried to query the customer detail we couldn't find the default payment method in the invoice settings. Could you help me out?

Related Request ID(s)
pm_1P9esNGV8R8kZBnNKU8BUCQA

What have you already attempted?
I don't attempt to do anything

What are you working on?
I want to get the customer's default payment method after the customer completes a checkout session.

atomic shuttleBOT
#

@zenith tartan pressed the 🔌 API button in #help to ask a question:

Question
Tryin to use the api for checking if someone has bought a subscription (image attached), so i got their subscription obj using the customer id, there are multiple subscriptions type we offer such as"hatchling" , "eggling" how do i differentiate which customer has bought this one?
the subs object has a plan object inside it that has "productId" and "planId", and items object has plan and price object, really confused on how do i make distinction which customer has bought which one

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
.

#

@obtuse glen pressed the 🪝 Webhooks button in #help to ask a question:

Question
Please help me solve the problem that webhook cannot get preset parameters

Related Event ID(s)
no

What have you already attempted?
no

atomic shuttleBOT
#

@grim parrot pressed the 🪝 Webhooks button in #help to ask a question:

Question
I create a webhook url and this URL is taking too much time to retry if a webhook failed.

Related Event ID(s)
in_1P8isjSD0McdkBvab8yF7yur, in_1P8isjSD0McdkBvab8yF7yur,in_1P8isjSD0McdkBvab8yF7yur

What have you already attempted?
i'm using stripe card element in react.js. and after that i attacth a payment source using node.js. and then create subscription. subscription created successfully but getting error

atomic shuttleBOT
#

@agile dome pressed the 👍 Best Practices button in #help to ask a question:

Question
I want to achieve the following with Stripe Elements:
- I would like the icon on the right side of the card number input field to only show the brands we accept.
- If possible, I’d like to remove the country name input field.

Could you advise on the best way to accomplish these goals?

From my research, it seems that removing the card icon is available as a beta feature, and I've already applied for it. Could you estimate how long it might take to receive a response?

Additionally, if waiting for the beta access isn't feasible, I was considering customizing the iframe by DOM manipulation as an alternative. Is that possible or would that violate any terms of service?

Doc/Guide Links
https://docs.stripe.com/payments/customize-payment-methods

What are you working on?
An app including credit card payment

#

@real fog pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
When I created an invoice via API callout where I provided additional information in the metadata, the invoice.created payload (metadata) has the details that I expected. When paying the invoice, does the metadata from invoice.created will be inherited to the charge.succeeded payload?

What have you already attempted?
Created an invoice via API callout with additional details in the metadata and then paid the invoice.

#

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

Code
payment = stripe.PaymentIntent.create(
payment_method=stripe_payment_id,
customer=stripe_customer_id,
amount=int(1 * 100),
currency='usd',
confirm=True,
return_url='https://my_domain.com/',
off_session=True,
payment_method_types=["ach_credit_transfer", "ach_debit", "us_bank_account"]
)

Question
I used Stripe in live mode. First, I used SetupIntent to set up their account. After that, I stored customer Stripe ID and payment method ID for further use. Then I used PaymentIntent to charge an amount from their set up account. It is working with cards, but for banks, it is not working.

What have you already attempted?
I attempted to resolve the problem but was unsuccessful, hence I require a proper solution.

atomic shuttleBOT
#

@tranquil shard pressed the ❌ An Error button in #help to ask a question:

Error Message
Your payment has not been authorized. There was a problem with your payment authorization. Your purchase data could have been filled incorrectly or a communication problem could have happened with your credit card operator (for credit card payments) *** Google Pay : Tid: - ReturnCode: - Message:Invalid payment_method_data[type]: must be one of acss_debit, affirm, afte

Question
Trying to make a payment through GooglePay, i receive this message. The data goes: UI => Vtex marketplace api => Stripe

What have you already attempted?
We are making a UI theme over vtex , but in this case both native vtex (without theme wrapper), and with it, results in same error

#

@fast tartan pressed the 🔌 API button in #help to ask a question:

Question
Necesito activar mi cuenta de Stripe para hacer el primer cobro con tarjeta de credito de un cliente

Related Request ID(s)
Necesito activar mi cuenta de Stripe para hacer el primer cobro con tarjeta de credito de un cliente

What have you already attempted?
Necesito activar mi cuenta de Stripe para hacer el primer cobro con tarjeta de credito de un cliente

#

@proven topaz pressed the 🔌 API button in #help to ask a question:

Question
Currently, I've deployed a module for the POS system of Magento with Stripe checkout with terminal.
I want the tip shown on the terminal before the customer's payment and i just follow the API config TIP on terminal : https://docs.stripe.com/terminal/features/collecting-tips/on-reader

my code
$stripeKey = $this->stripeTerminalHelper->getStripeTerminalKey();
$stripe = new \Stripe\StripeClient($stripeKey);
// Process call API that setting Tip screen in terminal Stripe
$stripe->terminal->configurations->create([
'tipping' => [
'usd'

Related Request ID(s)
req_XRZPJi8znK5GWn

What have you already attempted?
https://docs.stripe.com/terminal/features/collecting-tips/on-reader

What are you working on?
Developer

#

@summer oxide pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I have two doubts here,
1- The dashboards are showing different UI sections even for the same stripe version.
2- Amazon pay option shows that recurring payments are supported but inside the amazon payment settings it is mentioned recurring payments are not supported.

What actually happened?
While working on enabling different payment methods for our integration we came across a particular UI difference in the dashboard. The Link payment method was shown as a separate entity in my case but in my colleagues case it was present inside the wallet section. Also Amazon pay shows it supports recurring payments but inside another it was mentioned that it dosen't

Reproduction Steps
We can view the stripe dashboard and docs for the same.

Question
We need to enabled payment methods for our integration and there are so much confusion regarding the same since docs are not pretty much clear and behaviour is different in different sections.

#

@nova hamlet pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/subscription_items/update?lang=java

Question
We have a coupon that is valid for 12 months that we apply on a subscription when a user signs up for a year.

The user can also renew its subscription for another year, but the problem is that the coupon is only valid for 12 months and it’s “duration” does not get refreshed when we update the subscription in the backend.

We use stripe’s Java SDK in the backend and use the Subscription.update. We give the coupon as one of the parameters but my guess is that because the coupon is technically the same, the discount is not “updated” and thus there is no new discount..

So how do we make the disc

What have you already attempted?
Using the discounts property. the coupon did not get re applied. probably because it’s still the same coupon and the max duration is passed

What are you working on?
payment service in Java backend. Renewing subscription with limited discount

atomic shuttleBOT
#

@hearty garnet pressed the 🔌 API button in #help to ask a question:

Question
Hi, I come for help hours ago and your colleague said that it would be helpful for the troubleshooting if I can find the request id. I'm not sure whether you can see the chat history. Now I find it. Can we continue the troubleshooting?

Related Request ID(s)
req_VWi99cmcFh2k8J

What have you already attempted?
Let's continue with the request id.

atomic shuttleBOT
#

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

Code
const session = await this.stripe.checkout.sessions.create({})

const transfer = await this.stripe.transfers.create({
currency: 'usd',
amount: vendorCollectionAmount,
destination: accountId,
source_transaction:sourceCharge,
});
return transfer

Question

  1. I'm creating checkout session with multiple products from multiple vendors, vendors have their own connected accounts, so after complete checkout session when when we will transfer money to connected accounts ?

q2 : which events i'll be listinning to, what information i'll be storing in the database and when i'll be making the transfer to connected accounts ? as we can only make transfer from available balance and we have to make sure that payment is now in available

What have you already attempted?
listning to webhook events checkout.session.completed and try to make a transfer (failed due to insuffiecient funds as that are not in available fund )
listining to charge.succeeded webhook (failed still charge is succeeded but still not balance is not available)

What are you working on?
we are build platform where many vendors will register and add products to our platform we will sell products for them and charge our fee,

atomic shuttleBOT
#

@crisp verge pressed the 🔌 API button in #help to ask a question:

Question
Hello, is there a way to customize PaymentElement layout? I need to place all inputs for card one above other and change input width

Related Request ID(s)
-

What have you already attempted?
I found the appearance api https://docs.stripe.com/elements/appearance-api where I can configure font/color, but I haven't found how can I change the layout. I need to display card number, date, cvc inputs in column (flex-direction: column) and I should set one width to card number rinout and another width to date and cvc inputs. Passing such object haven't worked
const appearance = {
rules: {
'.Grid': {
display: 'flex',
'flex-direction': 'column',
},
},
}; . For width I don't know how to control it as classes are the same

What are you working on?
I would like to implement this flow https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=setup but with customized layout for collecting the card.

atomic shuttleBOT
#

@hearty garnet pressed the 🔌 API button in #help to ask a question:

Question
I created an invoice using a default_payment_method, but after I finalized invoice, the invoice status is still open.

Related Request ID(s)
req_sr0Uxq7Xk64Ily

What have you already attempted?
The customer has two payment methods but doesn't have a default payment method

What are you working on?
Try to create invoice for a customer without default payment method

#

@summer oxide pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I asked a question on the previous thread which got closed as I was away since the response came late. Needed clarification for amazon pay payment method.

What actually happened?
https://discord.com/channels/841573134531821608/1233316272633020438

If you can see the last thread, regarding the amazon pay option.

Reproduction Steps
Trying to enable amazon pay but different docs show different items.

Question
I don't know if we can reopen a thread, Hoping you can see the last messages related to amazon pay option. https://discord.com/channels/841573134531821608/1233316272633020438

#

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

Code
case "checkout.session.completed":
const checkoutSessionCompleted = event.data.object;
const payment_intent = await this.stripe.paymentIntents.retrieve(checkoutSessionCompleted.payment_intent)
console.log(payment_intent.latest_charge)
// const charge = await this.stripe.charges.retrieve(chargeId)
if (checkoutSessionCompleted.metadata.vendorsData) {
console.log(checkoutSessionCompleted.metadata.vendorsData)
const

Question

  1. we are transfering money to connected accounts using source_transaction parameter, what if that payment fails in future and or maybe customer ask for refund what will be possible to solution to get that money back from the connected account and refund it to customer

What have you already attempted?
we already discussed

#

@candid widget pressed the 🔌 API button in #help to ask a question:

Question
How to admin stripe create bank account number for customer to withdraw money

Related Request ID(s)
1

What have you already attempted?
1

What are you working on?
1

#

@tender crater pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello I just created a webhook endpoint in stripe dashboard for my staging url.
but all the events going to 400 (Bad Request).
I can't figure out what is the problem here

Related Event ID(s)
I don't know

What have you already attempted?
I don't know

#

@rustic holly pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to reserve funds on customer's card, and be able to update that reserved amount later?

Related Request ID(s)
?

What have you already attempted?
I've tried creating a payment Intent, confirming it so it reserves some funds on a customer's card, and updating the amount later, but it doesn't allow updating confirmed paymentIntent

What are you working on?
A system where it reserves some funds, if need reserves some more

#

@potent cargo pressed the 🪝 Webhooks button in #help to ask a question:

Question
Regarding these events:
- charge.succeeded
- customer.session.completed
https://docs.stripe.com/payments/checkout/fulfill-orders - mentions that i should use checkout.session.completed to fulfil my order. We are creating the checkout session using : payment_intent_data.capture_method = automatic
The session allows only link/card payment methods.
In this case, when the checkout.session.completed event is fired, does that mean that the charge was already completed successfully? Can a charge.failed event be triggered after checkout.session.completed with capture_mode automatic is received?

Related Event ID(s)
None, just a general webhook question

What have you already attempted?
https://docs.stripe.com/api/checkout/sessions/create
https://docs.stripe.com/payments/checkout/fulfill-orders
https://docs.stripe.com/api/charges

What is not clear to me, is if i should handle charge.succeeded/charge.failed events after checkout.session.completed if fired with automatic capture and card/link payments

What are you working on?
We are building a payment integration for a service-based platform

#

@hasty sequoia pressed the 🔌 API button in #help to ask a question:

Question
i have created payment intend and which will auto payout to connected account from connect account ,
but i can't get intend id in payout object how to retrive that

Related Request ID(s)
payoutn and intent

What have you already attempted?
i have created payment intend and which will auto payout to connected account from connect account ,
but i can't get intend id in payout object how to retrive that

#

@stark citrus pressed the 👍 Best Practices button in #help to ask a question:

Question
Our goal is to implement the feature of switch plan, where a user that is in a monthly plan, should be able to switch to an annual plan and vice versa.

We have to take care of the following considerations:
- The new subscription should start from the end date of the current subscription.
- User should be charged for the new subscription only when the new subscription starts.

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

What are you working on?
I have a website with stripe integration for payments where I handle subscriptions for the services that we provide.

#

@mighty hinge pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/prefilling-saved-cards-in-checkout

Question
I got this mail today stating that I can't use prefilled cards in checkout.

Currently, We are adding customer card in stripe first and then make subscription without checkout session. so, this new flow going to impact my flow?

What have you already attempted?
I have gone through the document but didn't get the proper understanding of it.

What are you working on?
we are making payment gateway to take payment for our website

atomic shuttleBOT
#

@quartz heart pressed the 🔌 API button in #help to ask a question:

Question
I successfully setup `off_session` for future payments. But now how can I process a payment directly with the API ?

Related Request ID(s)
Test (req_E57adBkq7A2ksK)

What have you already attempted?
Creating a payment intent

What are you working on?
Bike renting platform

#

@candid widget pressed the 🔌 API button in #help to ask a question:

Question
test test test test test test test test test test

Related Request ID(s)
1

What have you already attempted?
1

#

@tawny jackal pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I trigger a payment.succeded event from stripe cli

Related Event ID(s)
evt_3P9loxEg9gjRhj810tlm3peg

What have you already attempted?
I launch ./stripe trigger payment_intent.succeeded from the cli to test this case and in the console I see how payment is created but I am not able to force the succeeded case.

#

@tender crater pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello I just created a webhook endpoint in stripe dashboard for my staging url.
but all the events going to 400 (Bad Request).
I can't figure out what is the problem here

Related Event ID(s)
I don't know

What have you already attempted?
I don't know

atomic shuttleBOT
#

@mild arrow pressed the 🔌 API button in #help to ask a question:

Question
Payment is 500€, stripe fees are 16.5€ and we have an application fee (12.5%) which results to 77.5€. My question is, how is this fee calculated? Because 500€ x 12.5% is 62.5€. This payment was made at Feb 8 2024

Related Request ID(s)
No related request ids

What have you already attempted?
I have tried this calculation: 16.5€ + 500€ x 12.5% = 16.5€ + 62.5€ = 79€ which is not 77.5€. I have also tried to calculate the fee using the Net amount which also doesn't add up.

atomic shuttleBOT
#

@forest hazel pressed the 👍 Best Practices button in #help to ask a question:

Question
I need to check the customers card country of origin before I charge. I have changed my payment flow to confirm the payment server-side so I can check it. When 3D secure auth is required, when I used .confirmPayment() an in-page overlay card pops up. However, when using .handleNextAction() I am redirected to another page. I want to keep the previous behaviour. Is this possible?

Doc/Guide Links
https://docs.stripe.com/payments/finalize-payments-on-the-server-legacy?platform=web&type=payment#web-fulfillment

What are you working on?
Payments for streaming/rental of movies and tv series

#

@dapper moth pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
We use Stripe Connect for our users' Stripe accounts. Can we allow end-users to input and process check payments through our app? Is this a permitted use case for Stripe, and could you provide the relevant documentation?

What have you already attempted?
Reviewed the documentation.

#

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

Code
case "payment_intent.requires_action": {
// payment link to be included in the email
let paymentLink = event.data.object.next_action.use_stripe_sdk.stripe_js;
let userEmailContent = prepareUserEmail(
"payment_intent.requires_action",
paymentLink
);
}

Question
Since Stripe introduced 3DS2 im having issues with my integration for "payment_intent.requires_action" webhook status. Im scheduling payments for users and when the date of the payment comes, I'm creating a new payment intent. If the payment required 3D authentication, im sending an email to the user with a link to confirm the 3D-Secure. The link was in "event.data.object.next_action.use_stripe_sdk.stripe_js". Today i noticed that this field doesn't exist anymore. Is there a

What have you already attempted?
Tried to find the link in the event object but it's nowhere to be found. I also thought of creating a payment link, but i dont see a way to do it with a price that is NOT static.

What are you working on?
Website for a hotel where people can book rooms

#

@oblique mango pressed the 🔌 API button in #help to ask a question:

Question
PayPal ECE button does not show up

Related Request ID(s)
-none-

What have you already attempted?
Hey! I have previously talked to one of your colleagues about the PayPal button not showing up as an express checkout button, and they said that it is probably a temporary issue. I still have it...

#

@valid shoal pressed the 🔌 API button in #help to ask a question:

Question
How is fund transfer working ?
Because suddenly we are facing an api error where it says " 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 " and our code hasnt changed but anyhow this error came when we tried to capture an authorized amount from the buyer and wanted to transfer it to the seller connected account.

Related Request ID(s)
pi_3P9mCxDFUXreffb312GcZyKs and acct_1OposWRdyfGk2njL

What have you already attempted?
We tried to capture manually and we tried to check the connected account acct_1OposWRdyfGk2njL but anyhow no help

#

@thin kite pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the Best Practice for sanitizing User Input/ Database data. I'm not concerned about the Input itself, but rather that it could alter the API Request resulting in e.g. changing [type] from express to custom (like a kind of sql inject for stripe). Here is an example

$Email = get_userdata($user)->user_email;
$city = get_user_meta($user, 'city', true);
$postal = get_user_meta($user, 'postal', true);

$create\_account = $stripe\-\>accounts\-\>create\(\[
    'type' =\> 'express',
    'email' =\> $Email,
    'individual' =\> \[
        'address' =\> \[
            'city' =\> $city,
            'postal\_code' =\> $postal
        \],
    \],
\]\);

Doc/Guide Links
https://docs.stripe.com/api/accounts

What are you working on?
Marketplace

#

@royal stone pressed the 🔌 API button in #help to ask a question:

Question
I have a SaaS based real estate website where there are 4 parties involved, admin, broker, realtor and user.
Realtors work under brokers as agents, and pay a one time set up fee and monthly recurring seat fee. The seat fee includes the base price of seat fee plus the margin which the broker sets on the seat fee, admin takes application fee of 7% on setup fees and not on seat fee.
The base price of seat fee goes to the admin and the remaining margin on the seat fee goes to broker connected account, my question is how to carry out the monthly recurring charge

Related Request ID(s)
req_mgRxWy9Frj9ZX3

What have you already attempted?
I have attempted to create a transfer data to which the margin on the seat fee will be transferred, but I think realtor is the end customer for broker, not for the platform

What are you working on?
A SaaS based real estate software

#

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

Question
We are transitioning from Square payment system to Stripe and I'm facing some confusion in the client-side. We have a Flutter application that currently uses Square SDK. Square works by transforming the customer credit card information in a token that we can use to process payments in the server-side. I couldn't understand how and if Stripe support the same workflow. All the docs I'm reading suggest the use of PaymentForm, but we don't want to do checkout, just collect CC info and transform this in a token that we can use multiple times in the server to charge the user every time it makes an order. Is it possible to achieve?

Doc/Guide Links
https://pub.dev/packages/flutter_stripe
https://docs.stripe.com/js/issuing/create_ephemeral_key_nonce

What are you working on?
Flutter application for a coffee company

atomic shuttleBOT
#

@rancid frost pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to implement a referral system where every subscriber will receive a code to share to other people subscribe as well, receiving some physical goods for it. How can I know if someone is subscribing with a discount code from other person? Also, if it is a subscription, how can I ensure that the person would be awarded only on the first payment and not once a month during the subscription payment?

Related Request ID(s)
-

What have you already attempted?
In the webhoow I looked the discounts array, but thats just the ID. The API Docs states that discounts have to be expanded, but the invoice come from the `constructEvent` which doesnt accepts the expand prop.

#

@obtuse glen pressed the 🪝 Webhooks button in #help to ask a question:

Question
I can't register third-party dependencies in webhook notifications

Related Event ID(s)
no

What have you already attempted?
no

#

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

Code
Android SDK, Android SDK

Question
Is there a method in Android SDK that returns card brand image? Or at least something similar to STPCardValidator?

What have you already attempted?
I have checked out AndroidSDK Github page. You have a sheet where you display card brand image based on card number. I could not find a single function that does that, code is split into multiple abstractions and states. I would like to build UI myself and pass card number for validation to StripeSDK, also to retrieve card brand image.

What are you working on?
My own custom add card UI.

#

@forest hazel pressed the 👍 Best Practices button in #help to ask a question:

Question
Question
I need to check the customers card country of origin before I charge. I have changed my payment flow to confirm the payment server-side so I can check it. When 3D secure auth is required, when I used .confirmPayment() an in-page overlay card pops up. However, when using .handleNextAction() I am redirected to another page. I want to keep the previous behaviour. Is this possible?

I previously asked this and was recommended to move to Confirmation Tokens, but I am not currently able to bump stripe versions. Is there any way to do this?

Doc/Guide Links
https://docs.stripe.com/payments/finalize-payments-on-the-server-legacy?platform=web&type=payment#web-fulfillment

What are you working on?
Payments for streaming/rental of movies and tv series

#

@languid latch pressed the 🔌 API button in #help to ask a question:

Question
After successfully creating a new Stripe Customer by API, it takes about 20 seconds before it seems to be visible to customer search queries.
Is this normal behavior?
Can this period be shortened by e.g. disabling some caching or something?

Related Request ID(s)
req_SpsqNY6ITFElSA

What have you already attempted?
Found no hints on how to make the customer available earlier

What are you working on?
Creating Stripe customers during service invocation, but don´t want to create duplicates on repeated invocations

#

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

Question
We have a subscription for 2 products, where the user can opt for i.e. 2* Product A + 3* Product B.
If the user downgrade, the proration should be none for the current invoice.
If the user increases, the proration should be immediate invoice,

if total_item <= max items for month
* a. then return none
* b. add/update entry for next month
* 4. if total_item > max items for month
* a. then return create_invoice_immediately
* b. update max items for the current month

How to maintain the max items count updated with current invoice/subscription month

Related Event ID(s)
evt_1P9nElGVCe8mF8QWeKI0uES7

What have you already attempted?
I am not able to sync it with current month's subscription, with new moth starts

#

@scarlet kiln pressed the 🔌 API button in #help to ask a question:

Question
Is there any way that I can figure out from paymentIntentId that it is in live mode or test mode using stripe API?

Related Request ID(s)
not found any

What have you already attempted?
Nothing as of now because I didn't know

#

@round dock pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello, as part of our product we are tracking VM runtime (EC2 instances). Currently in our app we track when systems are turned on, then when they are turned off we report the runtime accrued using legacy usage.

To account for long running instances we report usage in batches hourly.

It doesn't look like the new meter APIs solve this problem significantly better. Is there a better stripe product to use for this use case?

Doc/Guide Links
https://docs.stripe.com/api/billing/meter-event/object

What are you working on?
Tracking the time an object is in a state for billing

#

@shell raptor pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
everytime customer go to checkout session and pays using bank account it should take the default payment method already there

What actually happened?
everytime customer goes to checkout session its creating new payment method when paid using bank account

Reproduction Steps
its pretty straight forward if the customer goes to checkout session and pays again using bank account its creating new payment method instead of picking default one

Question
how to resolve this issue so that the default payment method is selected during check out and it wont create new payment methods everytime

#

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

Code
- (void)reader:(nonnull SCPReader *)reader didRequestReaderInput:(SCPReaderInputOptions)inputOptions
{
NSLog(@"%@", [SCPTerminal stringFromReaderInputOptions:inputOptions]);
}

Question
Does SDK provide any default UI to show users?

What have you already attempted?
Logging message in logs

atomic shuttleBOT
#

@rustic holly pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to create a pay-as-you-go system with payment holding. I want to create a system where a user has some time for a service, if it reaches 0 - it reserves/holds some funds in the customers bank, and adds extra time. Once the customer stops using the service it captures the reserved/held amount

Related Request ID(s)
Sorry, not sure where to find it

What have you already attempted?
I've tried creating a paymentIntent and confirming it immediately, to reserve/hold funds in the customer's bank, and incrementing authorization every time it's needed, but incrementing Authorization is not available in EU

#

@steady oriole pressed the 🔌 API button in #help to ask a question:

Question
I need to integrate stripe to my website with the following payment model: Tier 1, Pay per minute users (normal metered billing): Pay per minute: €0.13 per minute Tier 2, Premium users (subscription and metered billing): Price: €50 per month Includes 200 minutes of streaming per month After 200 minutes: €0.10 per minute My website is build with node & react .

Related Request ID(s)
Not have any id i have not tested yet

What have you already attempted?
I have not attemped anything

What are you working on?
Stripe developer

#

@tawdry galleon pressed the 🔌 API button in #help to ask a question:

Question
We've integrated with PaymentIntent API, passing both "card" and "link" as payment method type. We can successfully capture most payment intents for both card and link without problems. But if capture fails, we want to clean up the failed payment intent by canceling it. My question is, we're observing the response object for canceled payment intent is different for card vs. link. We want to access the outcome.reason value for link, and have been unable to do this successfully. I see these values in stripe console logs, but I do not see it returned in the response error log. How to handle?

Related Request ID(s)
"pi_3P9i3kCbgzve9rMj0pXHmCnk"

What have you already attempted?
for payment intent with link payment method type, we DO NOT get:
- this structure (what's returned for cards)
stripe_payment_intent.charges.data

- we also do not get this response which mirrors what I see in stripe console logs
stripe_payment_intent.outcome.reason

Sentry logs are showing a response like this without outcome data
{
amount: 9852,
amount_capturable: 0,
amount_details: {
tip: {}
},
amount_received: 0,
application: None,
application_fee_amount: None,
automatic_payment_methods: None,
canceled_at: 1714112104,
id: "pi_3P9i3kCbgzve9rMj0pXHmCnk",
object: "payment_intent"
}

What are you working on?
automated charging

#

@frozen grove pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello! I'm working on building a custom checkout flow using Stripe's Web Elements, Next.js, and ASP.NET. The page will be presented as an embedded webview in a native (desktop/mobile) app, and will have no awareness of the user's session. Thus, it can't directly call an endpoint to generate a client secret in-memory. Is it safe for the native app wrapper (which is aware of the user session) to request the client secret, then pass it to the checkout page in a query string? The quickstart example shows the secret being used in a similar way, but including it in the URL may result in it being logged by the server. Thank you!

Doc/Guide Links
https://docs.stripe.com/payments/quickstart
https://docs.stripe.com/api/payment_intents/object#payment_intent_object-client_secret

What are you working on?
A custom payment flow built with Next.js and ASP.NET, but shown in a native app

#

@bleak fractal pressed the 🔌 API button in #help to ask a question:

Question
Stripe's payment sheet requires the customer ID and a related customer ephemeral key to attach a newly stored payment method to the customer. I however do not understand how / from where I can obtain that "customer ephemeral key"

Related Request ID(s)
-

What have you already attempted?
I've been scanning your documentations for a while now and really don't understand where I can find this. What I'm also confused with is why saving a payment method for future use in web contexts simply requires to generate a setup intent with the passed customer ID + the accordingly obtained setup intent client secret, while mobile apps e.g. react native SDK additionally requires the customer ID + the mentioned "customer ephemeral key" ?

What are you working on?
payment method storage in mobile apps without direct payment intent

#

@cloud hound pressed the 🔌 API button in #help to ask a question:

Question
I am trying to update a Subscription Schedule that was just created from a subscription. It has 3 phases. Phase 0: a trial, phase 1: run the subscription until midnight the 1st of the next month, phase 2: update the billing cycle anchor to "now" and release.

I keep getting an error saying that I must set the start_date on one of the phases, but I am and I see it in the webhook payload. Also, I cannot set the start for the first phase as that returns an error because it's already running (which is expected).

Related Request ID(s)
req_ZHsgIWpL5Z4Mds

What have you already attempted?
Combinations of start and end dates on phases, including a start date on the first phase. Each phase has an end date, middle phase has a start date. Start dates on the sub_sch object (instead of the phase) returns an error despite being in the struct definition (Go v76).

What are you working on?
Subscription Schedule updater to queue upgrades/downgrades.

atomic shuttleBOT
#

@true nexus pressed the 🔌 API button in #help to ask a question:

Question
I want to add shipping to the invoice. I don't know how to do it correctly. Are there some best practices?
I'm not sure about the shipping rates. Could I create shipping rates for every customer, or I should have minimum shipping rates in stripe?

Related Request ID(s)
It's question about API docs

What have you already attempted?
I've check docs,
Check api docs https://docs.stripe.com/api/invoices/create#create_invoice-shipping_cost

Try to create an invoice with shipping_cost

What are you working on?
App which helps user makes payments as fast as they can.

#

@winter moat pressed the 🔌 API button in #help to ask a question:

Question
Hi there.
I want to able to open a currency for a connected account via the API.
Currently I can see that it's possible through the dashboard;
I cannot find any docs in your API to do that;
Can you help?

Related Request ID(s)
req_0kmxuGa2CsNjHZ

What have you already attempted?
I DID NOT TRY yet as I cannot find any docs.
I tried through the web dashboard only.

What are you working on?
FANPASS MARKETPLACE

#

@noble talon pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Charges to occur when using charges API charging connected account

What actually happened?
received an error saying "cannot create account debit"

Reproduction Steps
Following the guide: https://docs.stripe.com/connect/account-debits#charging-a-connected-account

Question
trying to charge a connected account but does not work

What are you working on?
Gym app

#

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

Code
payment = stripe.PaymentIntent.create(
payment_method=stripe_payment_id,
customer=stripe_customer_id,
amount=int(1 * 100),
currency='usd',
confirm=True,
return_url='https://my_domain.com/',
off_session=True,
payment_method_types=["ach_credit_transfer", "ach_debit", "us_bank_account"]
)

Question
I used Stripe in live mode. First, I used SetupIntent to set up their account. After that, I stored customer Stripe ID and payment method ID for further use. Then I used PaymentIntent to charge an amount from their set up account. It is working with cards, but for banks, it is not working. Now what i do so that also working with bank?

What have you already attempted?
I attempted to resolve the problem but was unsuccessful, hence I require a proper solution.

atomic shuttleBOT
#

@wheat stump pressed the 🔌 API button in #help to ask a question:

Question
How can I attach payment method to a setup intent in tests?

I created a us_bank_account (ACH) payment method and try to create a setup intent with it.

Unfortunately, it fails with `Payment method data is not allowed when payment_method_options[us_bank_account][verification_method]=instant is used.`

Related Request ID(s)
-

What have you already attempted?
payment_method = ::Stripe::PaymentMethod.create(type: 'us_bank_account', billing_details: {name: 'my name'}, us_bank_account: {
account_holder_type: 'individual',
account_number: '000123456789',
routing_number: '110000000'
})

setup_intent = ::Stripe::SetupIntent.create(
customer: billing_client.stripe_token,
payment_method_types: ['us_bank_account'],
payment_method_options: {us_bank_account: {verification_method: 'instant', financial_connections: {permissions: ['payment_method']}}},
usage: 'off_session',
payment_method: payment_method.id)

What are you working on?
I try to set up us_bank_account payment method and setup intent in tests

atomic shuttleBOT
#

@keen vortex pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hello,

I'm setting up a Stripe Connect system with Express accounts, and payments go through a hosted Stripe Checkout page. We will also be using the hosted Stripe Express dashboard for Connect.

The API has a field for a description on a payment (payment_intent_data.description). This should set description in Stripe on the Express dashboard.

What actually happened?
payment_intent_data.description, when remitting through Stripe Connect, is always ignored even if set. The payment always appears as having a null description in our Stripe dashboard, and always shows as "Payment from Homeschool Connections" (our business) in the Stripe Connect Express dashboard.

Reproduction Steps

  1. Create a Stripe Connect testing account
  2. Set up a payment as a Destination charge using docs at https://docs.stripe.com/connect/destination-charges. Set `payment_intent_data.description` to any string as the Docs say.
  3. Examine Stripe Dashboards, both Express and Root Account. Description is never saved.

Question
- Are the docs incorrect, the API broken, or should I try a workaround?

What are you working on?
Stripe Connect

#

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

Code
Stripe.Api.RefundService().Get( "py_3P7hpkDOwYADn7R80YNuZtKM", null, new Api.RequestOptions() { } );

Question
We are trying to get the payout details of a failed ACH request. This code used to work with the Bank Elements but upon upgrading to Payment Elements, it fails. I hardcoded a Payout example (that fails) in the code section.

Here's the .NET exception: Error processing webhook event: Exception - Event ID evt_1P9G6yDOwYADn7R8i6SQvOVp: Stripe.StripeException: No such refund: 'py_3P7hpkDOwYADn7R80YNuZtKM' at Stripe.StripeClient.ProcessResponse[T](StripeResponse response)

What have you already attempted?
I am a bit stuck as to how to get the details of the Payout to reconcile. I need the Transaction Id etc

What are you working on?
This code will be used to reconcile payouts

atomic shuttleBOT
#

@lime dune pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to perform a quick payment with just prompting user to swipe a card (or do NFC) from a web server while avoiding to manually fill out a checkout form? If so, what is the appropriate device (M2 Reader?) and python SDK to start testing? If not, what is the closest alternative to this solution that Stripe may offer?

Related Request ID(s)
Not sure about this

What have you already attempted?
Still evaluating if M2 card reader is the right choice for my project before attempting implementation in my project. Sales support has been a horrible experience due to super slow and vague communication. I haven't found real support or help until now which is becoming very frustrating and is making me doubt if Stripe is even a good choice for my project.

What are you working on?
I am starting a photobooth business in Puerto Rico and I we are in need of a quick payment solution where users just swipe their credit card (no checkout form) in order to pay and start a session.

#

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

Question
I am working on a site for Mexico and would like to implement payment in installments with Stripe. How can we do this?

Related Request ID(s)
1

What have you already attempted?
We saw that there was the “Meses sin intereses” function and we configured it. By reading the tutorials I have the impression that this function is used with the Stripe Checkout but we use the Magento

What are you working on?
Magento

atomic shuttleBOT
#

@quick cedar pressed the 🔌 API button in #help to ask a question:

Question
In the case of the payment methods that redirect (like iDEAL in this example) is it possible for the payment to fail and then redirect the user to our return_url? Should I be taking into account in our return_url endpoint that I could be receiving a payment intent that is in a failed state?

Related Request ID(s)
req_gqu85Jhr6hSeBc

What have you already attempted?
I went over the Quickstart guide and read this comment.

// This point will only be reached if there is an immediate error when
// confirming the payment. Otherwise, your customer will be redirected to
// your `return_url`. For some payment methods like iDEAL, your customer will
// be redirected to an intermediate site first to authorize the payment, then
// redirected to the `return_url`.

What are you working on?
Building a Connect Integration

#

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

Question
I setup a new payment method using checkout sessions in the test environment, everything was working so I went live. I forgot to add the checkout event to my webhooks, so the event didn't get sent. I added the checkout to my webhooks now, but I can't find a way to trigger the event to fire again. I know I can fire it again if it fails, but if I setup the webhooks after the event occured, is there no way to have the event sent to the webhooks?

Related Event ID(s)
evt_1P9pyUFO5cWFEaTo9ClSDobo

What have you already attempted?
Tried sending the data through a standard curl request, but got nothing

#

@stiff acorn pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi we are currently coding a website with two types of users. The first ones are teachers, they can upload videos online, and the others ones are just users that subscribe to these courses. We are in France, and we saw that we could use stripe connect. This would be perfect, both direct or indirect payments could be an option, but our problem is that some teachers would be in south america (Colombia) and not in SEPA zone. Is there a way for us to make subscriptions for these teachers and pay them with stripe ?? for all countries in SEPA zone it looks ok but I don't find any solution for these foreign teachers... Please we are looking for some help ! Thank you

Doc/Guide Links
All Stripe connect documentations, but it looks like stripe connect is very useful in cases where payments and teachers are in the same country

What are you working on?
a website for online courses with subscriptions by month or year

#

@wide ingot pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We onboard our connected accounts with prefilled Business URLs, we expect those accounts to not fail verification for the Product Description field, according to a note on https://docs.stripe.com/connect/handling-api-verification#validation-and-verification-errors:

What actually happened?
In the past 24 hours, previously verified connect accounts now have a "restricted soon" status due to Product Description.

Reproduction Steps
This was an automatic action from Stripe

Question
Is product description now required even when the business URL is populated and valid?

What are you working on?
We were responding to QAs who couldn't payments-related features this morning.

atomic shuttleBOT
#

@main pilot pressed the 🔌 API button in #help to ask a question:

Question
I have questions related to Create Tax Transaction: https://docs.stripe.com/tax/custom#tax

  1. Can the `expires_at` timestamp for creating a tax transaction be extended beyond 48 hours?

  2. Is it possible to delete a tax transaction if the related payment isn't captured?

  3. Can a tax transaction be manually created from the dashboard if the 48-hour window expires?

Related Request ID(s)
.

What have you already attempted?
Read documentation

What are you working on?
Tax Api

atomic shuttleBOT
#

@ivory bridge pressed the 👍 Best Practices button in #help to ask a question:

Question
There is a product called X, they use worldpay . Now we are going to be added as an add-on on their checkout process, so their customers can add a recurring subscription to our service (let's call it product Y ) .
We ( product Y ) are using stripe for our customers' recurring subscriptions. Is it possible that we automatically receive the CC info from wordpay ( product X ) to create a subscription for their users ?
They suggest us use wordpay, but we want to use stripe as we always do.

Doc/Guide Links
https://support.stripe.com/questions/import-customer-card-numbers-from-another-payment-provider-to-stripe#:~:text=Import customer card numbers from,Stripe %3A Stripe%3A Help %26 Support&text=If you want to migrate,a secure%2C PCI-compliant way

What are you working on?
an entertainment service

#

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

Code
createSubscription with the following options:
```
default_payment_method: paymentMethodId,
customer: customerId,
on_behalf_of: sellerStripeId,
items: [{ price: priceId }],
payment_behavior: 'default_incomplete',
pay_immediately: false,
payment_settings: { save_default_payment_method: "on_subscription" },
expand: ["latest_invoice.payment_intent", "pending_setup_intent"]
```

Question
we can't have both options `payment_behavior: 'default_incomplete'` and `pay_immediately: false` . we definitely need `pay_immediately: false` to integrate with our 3rd party tax system but now we're seeing issues where customers have failing payments after they've successfully made it through our checkout (attaching the card to the customer succeeds but attempts to charge the customer fail). so I'm wondering if there's another way to set the subscription status to incomplete

What have you already attempted?
I thought about having checkout handle the errors but that doesn't seem to be working since we're creating and confirming a setup intent (all the other test declines show failures, just not the one that successfully attaches to a customer first https://docs.stripe.com/testing#declined-payments), not sure if there's a way to check that the card will work before having the customer succeed in checkout

atomic shuttleBOT
#

@proud gull pressed the 🔌 API button in #help to ask a question:

Question
How would you integrate stripe into WPforms to allow for Stripe coupons? Also payment amount is variable no one product/payment may be the same.

Related Request ID(s)
idk what this means

What have you already attempted?
Currently only using WPform coupons. but this does not give me much control.
Also he cannot add taxes after the discount

What are you working on?
A developer is building a form on wordpress through WPforms, Stripe is integrated and i dont want to use WPform coupons. My developer is having trouble knowing how to connect stripe properly

#

@jovial spindle pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/plugins/stripe-connector-for-salesforce/configure-events

Question
I have gone through all steps on the document above. However, when attempting to create a flow and trying to access the apex options in the package, I have none. The directions say "The Stripe Connector for Salesforce Platform has cast to flow actions. These actions are part of the package in Salesforce." All I have available is "Call a Stripe API Endpoint"

What have you already attempted?
I've checked and rechecked the permission sets and tried installing in 2 different environments. I am on Enterprise SFDC edition

What are you working on?
I would like to set up a screen flow to allow users to create stripe invoices from Salesforce.

#

@lunar zodiac pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-element/migration-ct

Question
Can we use a confirmation token to confirm a PayPal payment intent? Or must we use client-side authentication?

What have you already attempted?
Reading docs

What are you working on?
Stripe integration

#

@patent patrol pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Subscription invoice preview/upcoming preview should reflect all subscription items in the subscription.

What actually happened?
If you have an existing subscription with one price, and that price is $0.00/month, and you attempt to add a usage based price (metered) to that subscription that is not $0.00/month/unit, the invoice preview does not reflect these added usage based prices. But if the existing subscription price is non-free, they show up.

Reproduction Steps
Create a customer with a subscription, in the subscription add a monthly recurring price of $0.00/month. Now modify the subscription, attempt to add a non-free usage based price attached to a meter to the subscription, the invoice preview will not reflect these added items.

But if you instead have a non-free monthly recurring price and go to add them, they do.

Question
Is this expected? Is this a bug?

#

@wintry shore pressed the 🔌 API button in #help to ask a question:

Question
hi, i want to know that is there any way the we aceess to the wallet transaction fees like Paypal fee?

Related Request ID(s)
req_NXotbFwVrgTrv2

What have you already attempted?
i tried to achive this information from payment intent last_charge balance transaction.
but it does not include that, only includes the stripe fees

#

@tender marlin pressed the 🪝 Webhooks button in #help to ask a question:

Question
Trying to use `"customer.subscription.updated"` webhooks to send receipt emails to subscribers. Different receipt templates exist: created, renewed, upgraded, downgraded, etc. The `previous_attributes` of `"customer.subscription.updated"` events makes it easy to determine correct type

But this event is sent before `latest_invoice` is paid. `latest_invoice` might fail or be voided (for reasons). If so, we do not want to send a confirmation mail for that `"customer.subscription.updated"` event. Can webhooks be used for sending these types of emails (w/o storing/tracking state across events)?

Related Event ID(s)
evt_0P9rdXm7CSGnXLC7TkUlzIUk, evt_0P9rddm7CSGnXLC7wfAsAYT4

What have you already attempted?
If we move mailer logic into an event handler on `"invoice.paid"` we lose access to the `previous_attributes` of the `"customer.subscription.updated"` event. If kept in `"customer.subscription.updated"` we are prone to sending false confirmations when user’s payment will fail upon auto-finalization an hour or so later.

This is a frustrating issue. I'm truly considering throwing exceptions on `"customer.subscription.updated"` when `latest_invoice` has changed until `latest_invoice` is finalized & paid to avoid this extra work

What are you working on?
Membership system for online publication

#

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

Question
For our connect accounts, statement descriptors are showing up as null when we have ACH enabled. How do we set a statement descriptor for ACH payments?

Related Request ID(s)
xxxxxxxxxxxxxxxxxx

What have you already attempted?
Set statement descriptor on card payments.

#

@blissful patio pressed the 🔌 API button in #help to ask a question:

Question
I'm aware that stripe added on the invoice object response a field called `invoice_pdf` that contains a link we can provide our customers to directly download an invoice.

Based on the documentation I've found on the link below, it states that the link will be valid for the next 30~60 days. Not a problem since fetching from the Invoice API again generates a different link.

My question is, what is the retention policy of stripe for invoice pdfs and If one of our customers needs to download a PDF from an invoice that is four years old, will it still be available?

Related Request ID(s)
-

What have you already attempted?
https://support.stripe.com/questions/invoice-link-expiration

#

@meager folio pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have a webhook that tracks `checkout.session.completed` events. While everything is working on DEV, when I attempted a live payment through PROD today, the webhook did not capture and send out the relevant post event to my webhook endpoint.

Related Event ID(s)
evt_1P9hYRI35eK3t0ZsEU0vEXv3

What have you already attempted?
I have inspected my code, and the webhook in question. There are no events or event delivery attempts in my webhook.

#

@unique rose pressed the 🔌 API button in #help to ask a question:

Question
If I have a payout ID (i.e. po_*) is there an API call I can make to get the payment_intent/charge IDs that are included in that payout?

Related Request ID(s)
n/a

What have you already attempted?
Looked in the documentation - does not appear I can list payments_intents and search for a payout id.

What are you working on?
Paw Partner payments

#

@safe geyser pressed the 🔌 API button in #help to ask a question:

Question
Using Checkout Sessions, our team calculates multiple shipping rates and passing them in as options via the `shipping_options` parameter.

Client wishes to create coupon codes that cover shipping. When we attempt to create such codes, the customer still pays for shipping + tax and the code is applied to the line items only. Is it possible to create a coupon code with Checkout Sessions that can cover shipping costs for a true $0 payment? Customer does not want to include a Free Shipping option.

Related Request ID(s)
req_uFLrMXjh3yfwvY

What have you already attempted?
Created 100% off coupon with orders, Created dollar amount coupons & tried orders that cost less than this.

What are you working on?
Custom e-commerce platform that customizes & ships customized books

#

@silver ermine pressed the 🔌 API button in #help to ask a question:

Question
I am trying to create some data for testing on my Stripe account in test mode. I want to be able to create some data where I can test all facets of Monthly Recurring Revenue but I am not able to create subscriptions and modify its data from the past. is this possible? I was able to backdate a subscription record but I am trying to see some reactivation and contraction records that are backdated so they will show in the MRR growth chat.

Related Request ID(s)
n/a

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/migrate-subscriptions

What are you working on?
stripe integration for app

atomic shuttleBOT
#

@hollow magnet pressed the 🔌 API button in #help to ask a question:

Question
how can I turn off Link in customer billing portal

Related Request ID(s)
https://dashboard.stripe.com/customers/cus_OSMDpStI9S51OM

What have you already attempted?
Customers adding Link cards to their paymentmethods break our system and CS (we have no information on what card is charged, and therefore can not provide much help when asked. We also cannot predict if a card is about to expire, so CS can reach out before). We need them to add the cards as… normal cards if possible.

What are you working on?
System has been in place for several years - it's our scheduled payments processor

#

@maiden thorn pressed the 🔌 API button in #help to ask a question:

Question
Please confirm my assumption.
Stripe now enables forwarding Payment Method card details to third-party endpoints.
Stripe Terminal supports saving the Payment Method after payment.
Does this mean cards captured via terminal can be routed to third parties?

Related Request ID(s)
No Requests

What have you already attempted?
This is just a question

#

@fading dew pressed the ❌ An Error button in #help to ask a question:

Error Message
verification fail on custom email domain dns

Question
when DKIM records provided by stripe look like "3wjop42efnxzw46hladuekrrrmzfcnd3.dkim.custom-email-domain.stripe.com." are we supposed to replace "custom-email-domain" with the actual domain name? it doesn't say to do that but DNS verification is failing.

What have you already attempted?
i tried putting in the DNS records as they were provided by stripe precisely, which I've done 1000x before on many systems including my own hosting company

Reproduction Steps
CNAME with key 3wjop42efnxzw46hladuekrrrmzfcnd3._domainkey and value 3wjop42efnxzw46hladuekrrrmzfcnd3.dkim.custom-email-domain.stripe.com. is continuously failing verification.

#

@primal birch pressed the 🪝 Webhooks button in #help to ask a question:

Question
Ive tested with a local listener ed everything went true. But when i created my endpoint it seems the webhook are not trigger

Related Event ID(s)
evt_1P9tKiDJZ0AeZ4XqCV1McdDQ

What have you already attempted?
Ive tested with a local listener ed everything went true. But when i created my endpoint it seems the webhook are not trigger

atomic shuttleBOT
#

@patent patrol pressed the 👍 Best Practices button in #help to ask a question:

Question
Is there a way to associate meter events to the invoices they eventually get attached to and charged?

Doc/Guide Links
Also thank you for the improved usage based pricing and tracking with meters.

What are you working on?
Metered usage

#

@meager folio pressed the 🔌 API button in #help to ask a question:

Question
I have been trying to use the stripe cli to send a live cli request, but have kept receiving an error. Below is a copy/paste of my terminal

$ stripe events resend evt_1P9hYRI35eK3t0ZsEU0vEXv3 --live

> No directory provided for file keyring

Related Request ID(s)
evt_1P9hYRI35eK3t0ZsEU0vEXv3

What have you already attempted?
My initial assumption was that the CLI does not have permission using the restrictive key, I checked out the permissions and "Stripe CLI Permissions" is set to "write" which I believe is correct for my command.

I checked "cat ~/.config/stripe/config.toml" to see if I was missing anything in my configuration, but it looks alright to me.

I googled the error, but most of what I can find is for macOS while I am on Windows with WSL.

atomic shuttleBOT
#

@ebon oyster pressed the 👍 Best Practices button in #help to ask a question:

Question
I need to be able to query a large number of payments, faster than Stripe will allow me. I understand the best practice is to make my own table, set up a webhook, and write to it every time a payment is processed. My question is: what are best practices for the initial import of all past payments?

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/list

What are you working on?
Affiliate program

#

@quiet zealot pressed the 🔌 API button in #help to ask a question:

Question
We're setting up subscriptions but we noticed that, despite `payment_settings.save_default_payment_method: "on_subscription",` being set, the default payment method is not attaching to the subscription and we now have tons of subscriptions that do not have payment methods attached.

Related Request ID(s)
sub_1P9ulCHRF7dDjLU4udnUsNmF

What have you already attempted?
Our setup currently works like this:
- Backend creates a subscription attached to a customer that has `payment_behavior: default_incomplete` set
- Backend returns the client secret on `latest_invoice.payment_intent`
- That secret is used on the frontend with `PaymentElement` to collect payment details and pay that intent
- Payment proceeds without issue but the subscriptions do not get the default payment method attached

What are you working on?
Annual subscription system for customers

atomic shuttleBOT
#

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

Code
expressCheckoutElement.on('click', async (event) => {
handleError({ message: '' }) // clear error message

      try {
        if \(!this.$store.state.account.fields.isLoggedIn\) {
          await validateGuestDateAndTime\(\)
          await validateGuestEmail\(\)
        } 
        
        await validateTermsAndConditions\(\)
        
        const amount = \(this.$store.state.checkout.fields.total \- this.$store.state.checkout.fields.cre

Question
As you can see on the code above I'm passing the parameters to create an recurring payment with apple pay.

I'm currently using express checkout on payment mode. But along with this payment I need to create a subscription the user to another product.
Would it be possible to create a one-time payment and a subscription to another product on the same apple pay transaction??

What have you already attempted?
I have only tried creating one-time payment.

What are you working on?
Creating a payment and a subscription with Apple Pay.

#

@abstract dagger pressed the 🔌 API button in #help to ask a question:

Question
I'm adding a way to upgrade a subscription to a higher priced one, but i noticed the new amount is prorated (which is what we want), but it'll take affect on the next bill.

Is it possible to bill them for the different right now?

Related Request ID(s)
N/A

What have you already attempted?
Google, chatgpt,

atomic shuttleBOT
#

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

Question
I am trying to create an invoice using the api, but getting an error saying customer_email isnt support, yet the docs say it us

Related Request ID(s)
req_btz2vM5tv3OqQD

What have you already attempted?
Removing and trying with and without.

What are you working on?
A Martial Arts mangement product that charges via stripe

atomic shuttleBOT
#

@sharp violet pressed the 🔌 API button in #help to ask a question:

Question
Whats the best way to find the subscriptions that are for a product that includes the word "scoop" but doesnt include a list of other words?

I have a list of customers and some have 0 subscriptions, and some have multiple. for each customer, i want to find the subcription who's product name includes a specific word" and doesn't include a list of other words.

whats the best way to do this?

Related Request ID(s)
I dont have access to the front end for this. I've been given access to their information through an IPaaS

What have you already attempted?
Currently I am grabbing each customer, grabbing all their subscriptions. For each subscription item, I grab the plan.product .

I want to know if there's a better way to do this since this is very inefficient.

What are you working on?
Integration between some our software.

atomic shuttleBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

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

Code
let data = {};
if (paymentMethod) {
data = {
payment_method: paymentMethod.id
};
}
const getConfirmPayment = await this.getStripe.confirmCardPayment('pi_3P9i39HkqCNx8Iwk1ELjaeB6_secret_•••2sTb', data);

Question
Hi Team,

We have an old client to whom we need to implement a stripe element as a lightning web component. The whole library loaded but when we tried to call submit() it didn't process anything. We can't see any error as well.

We tried to run the same code on a new org but it works well.

Please help us debug this challenge. Just at least we can see the error or root of the problem.

What have you already attempted?

  1. We confirm if the library is loaded - confirmed.
  2. We confirm if submit() function is the issue - confirmed.
  3. submit() return undefined.
  4. no error from submit()
  5. we list all methods from the library and submit is there
  6. we tried calling other functions but same issue - undefined
  7. I'll attached a recording from our recent debug

What are you working on?
Integrate stripe element to process payment from salesforce

atomic shuttleBOT
#

@ashen hare pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, we want to offer users a variable recurring monthly subscription. Payment should be charged at the same time every month but users should be able to change the subscription amount at any time (ideally to any amount, but we could offer preset price 'tiers' if required?).

Ideally we'd like to use as much of the Stripe provided solutions as possible (checkout, customer portal etc) for speed to market.

Looking for advice on the best way to offer this in Stripe? Thanks

Doc/Guide Links
https://docs.stripe.com/payments/checkout/pay-what-you-want
https://docs.stripe.com/products-prices/pricing-models#inline-pricing
https://docs.stripe.com/customer-management#customer-portal-limitations

What are you working on?
New app that allows users to set up and manage a monthly subscription, with the money being distributed to multiple 3rd parties on your behalf at the end of the month.

atomic shuttleBOT
#

@cerulean spear pressed the 🔌 API button in #help to ask a question:

Question
AttributeError: type object 'Subscription' has no attribute 'resume'

for call like

    stripe.Subscription.resume\(
        subscription\_id,
        billing\_cycle\_anchor="unchanged"
    \)

also doesnt produce a request id

Related Request ID(s)
none

What have you already attempted?
changing parameter values

atomic shuttleBOT
#

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

Code
payment = stripe.PaymentIntent.create(
payment_method=stripe_payment_id,
customer=stripe_customer_id,
amount=int(1 * 100),
currency='usd',
confirm=True,
return_url='https://my_domain.com/',
off_session=True,
payment_method_types=["ach_credit_transfer", "ach_debit", "us_bank_account"]
)

Question
I utilized a payment intent to make the payment. When I used a card, the payment was successful. It was smooth. However, when I paid using a bank, it displayed "processing." It has been nearly two days now, and it still shows "processing." How long does this process take? Why is it still in the processing status?

What have you already attempted?
I found some information that I do not understand

atomic shuttleBOT
#

@wheat wind pressed the 🔌 API button in #help to ask a question:

Question
We created sub accounts for each developer to test agains to maintain out QA env. Do we need to activate the sub accounts to leverage this test env?? if so what business info do we need to provide? the same as the parent account??

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Card issuing platform

atomic shuttleBOT
#

@hasty sequoia pressed the 🔌 API button in #help to ask a question:

Question
get intend id of current payout object stripe

Related Request ID(s)
get intend id of current payout object stripe

What have you already attempted?
get intend id of current payout object stripe

What are you working on?
get intend id of current payout object stripe

#

@scenic oasis pressed the ❌ An Error button in #help to ask a question:

Error Message
Request failed, status=400, body={
"error": {
"message": "9:App developer account already has a public app. Cannot create another public app.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_GBdEmSigm72tcB?t=1714369347",
"type": "invalid_request_error"
}
}

Question
I work on the Stripe App, and after making some changes to the manifest file (changing the ID), it failed to upload after executing "stripe apps upload". How can I delete existing app and upload it again?

What have you already attempted?
Tried to change id to the previous one, but it didn't work 😢

Reproduction Steps
Create stripe app with name "Bla bla bla app" and id "com.example.blablabla", execute "stripe apps upload". Go back to the manifest file, change id and /or name. Try to execute "stripe apps upload" again.

What are you working on?
Syncing stripe transactions with third-party system

#

@green hare pressed the 👍 Best Practices button in #help to ask a question:

Question
my client wants to use coupons on recurring payments to discount the first payment. Im using checkout features to do the payment, so the question is, how can in implement the coupon in a recurring payment via checkout?

Doc/Guide Links
https://docs.stripe.com/api/coupons

What are you working on?
im creating a web payment page for my customers

#

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

Question
I am building a website which has 2 monthly subscription plans. Along with the 2 main plans, I am also offering add-on services, which are monthly recurring as well as One time payment. I want to offer a 10% discount on the addon services only at the time of sign up. If they choose addons after they sign up it will be the normal price.

Related Request ID(s)
not sure what this is

What have you already attempted?
read about all the discount API's

What are you working on?
Service based website

atomic shuttleBOT
#

@lilac smelt pressed the 🔌 API button in #help to ask a question:

Question
balance transactions list Api doesn't returning the all transactions for payoutID "po_1P5dxsH6I1szjHmvTS5znasW"

Related Request ID(s)
Payments and refunds in payouts

What have you already attempted?
This payout showing 16 charges and 10 refunds on Dashboard, but When I make the Api call it is showing one payout, 5 refunds and 4 payments

atomic shuttleBOT
#

@exotic shadow pressed the 🔌 API button in #help to ask a question:

Question
How can we integrate stripe API into our CRM thats using php framework codeigniter.

What have you already attempted?
I have hit the end url of few API's and Its working.

What are you working on?
I am trying to integrate the stripe API only for payment links and I am currently using test mode. But I am not sure about the steps

#

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

Code
SCPBluetoothConnectionConfiguration *connectionConfig = [[[SCPBluetoothConnectionConfigurationBuilder alloc] initWithLocationId:location] build:&error];

Question
After connecting to the reader or before that, can SDK provide any info for the account? Like account holder name or anything?

What have you already attempted?
SCPBluetoothConnectionConfiguration *connectionConfig = [[[SCPBluetoothConnectionConfigurationBuilder alloc] initWithLocationId:location] build:&error];

#

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

Code
pre authorization code:
var options = new PaymentIntentCreateOptions
{
Amount = Convert.ToInt64(Convert.ToDecimal(ProductCartModel.OrderDetailCart.Sum(od => Convert.ToDecimal(od.price) * Convert.ToDecimal(od.quantity))) * 100),
Currency = "usd",
PaymentMethodTypes = new List<string> { "card" },
CaptureMethod = "manual",
PaymentMethod = credit_card_auth_id,
Customer = stripe_customer_token,
};
var service = new Pa

Question
i am allready used in above code in peauthorization but this is working fine when I trigger the amount debit throw the error because amount debit used in charge create option.
so I don't know, during the charge debit why it failed give a correct solution

What have you already attempted?
i have attempted already but this is working well, suddenly we are facing this issue.

What are you working on?
we are working in stripe payment gateway

atomic shuttleBOT
#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Is the deadline property in account.Requirements.Deadline in UTC? I can't find any information on this

What have you already attempted?
Ive checked the docs, but I find them quite hard to navigate and its difficult to find what im looking for

What are you working on?
property management system

#

@hasty sequoia pressed the 🔌 API button in #help to ask a question:

Question
I want to update my payment history status when payout but payout option don't have intent id i paid so in connect account , so i'm trying with charge.success, failed, pending , when user pay and ( when all thing is set for that intent, when its secure that payment will process payout on auto payout connect account intent option ) then i want to change my status to seucess.

Related Request ID(s)
prabhaw

What have you already attempted?
tried with payout option but it is not possible to get payment intent

What are you working on?
api to update payment history using webhooks

atomic shuttleBOT
#

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

Question
Hi, i want to hide shipping detail from invoice

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
-

atomic shuttleBOT
#

@cloud pawn pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to use dynamic payment methods on Elements but cannot get the options to appear. We are using Stripe Connect with on_behalf_of

Related Request ID(s)
req_SOoBMXjKYwU3bP

What have you already attempted?
Enabling the payment methods for both our own and the connected accounts

What are you working on?
Member registration system

#

@tawny briar pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to "charge user while adding a card" on iOS? We want to directly open Add Card screen and charge user like 1 € while adding card.

Related Request ID(s)
-

What have you already attempted?
We tried to create an intent from backend and pass the client secret to mobile app. Then in mobile app we can use that client secret to charge&add a card. But, that means we need to collect credit card information from our ui. It will require PCI DSS and we don't wanna do that. Basically, we want to charge user while adding a card.

#

@crystal bloom pressed the ❌ An Error button in #help to ask a question:

Error Message
Stripe::AuthenticationError (Invalid API Key provided: sk_live_********************************************************************************3xCh):

Question
How to mitigate this issue and take real payment?

What have you already attempted?
I Looking is same key given then provide from dashboard

Reproduction Steps
Is when that display payment form

What are you working on?
I try to take real payment work perfectly with test key

#

@acoustic hamlet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm using the `PaymentSheet` on iOS but I can only see Link or add a card. I don't see any other payment methods like `Bancontact` or `Giro pay`.
When using the web element I do see the correct payment methods.

What actually happened?
I don't see any other payments methods besides cards

Reproduction Steps
Loading in the intentSecret in the `PaymentSheet`

Question
I see the correct payment methods in the web but not on iOS

What are you working on?
A new payment flow for iOS

#

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

Code
submitButton.addEventListener('click', async () => {
const { error } = await stripe.confirmPayment({
elements,
confirmParams: {
return_url : return_url
}
})

  console.log\('error =\>'\);
  console.log\(error\);

Question
When calling the confirmPayment the code does not reach console.log

What have you already attempted?
I'm following this doc

https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements&locale=fr-FR#mener-à-bien-le-paiement

What are you working on?
I'm creating my stripe client to handle payment on my website

#

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

Code
pre authorization code:
var options = new PaymentIntentCreateOptions
{
Amount = Convert.ToInt64(Convert.ToDecimal(ProductCartModel.OrderDetailCart.Sum(od => Convert.ToDecimal(od.price) * Convert.ToDecimal(od.quantity))) * 100),
Currency = "usd",
PaymentMethodTypes = new List<string> { "card" },
CaptureMethod = "manual",
PaymentMethod = credit_card_auth_id,
Customer = stripe_customer_token,
};
var service = new PaymentIntentService();
var paymentIntent = ser

Question
We've implemented pre-authorization to hold the amount. However, when triggering the payment debit, it fails due to insufficient funds.
This raises a question because if there's insufficient funds, it should throw an error in the pre-authorization stage. Why is the error occurring during the payment debit?

but pre authorization use a payment intent method
and charge detection use a ChargeCreateOptions
but why its throw the error.

What have you already attempted?
yes i already attempted but now throw the error

What are you working on?
working on stripe payment gateway

#

@zealous stump pressed the 🪝 Webhooks button in #help to ask a question:

Question
i want a notification code which check this specific client have 1 week expiration pending in other word how client will how am i connect to stripe or not?

Related Event ID(s)
4242.io

What have you already attempted?
i make test apis whict check subscription details but its depends on custumer id and secret key...but i want how i can get custumer id and secret key through client

What are you working on?
i have saas product i want a notification code for pre fetching expiration notification for client

atomic shuttleBOT
#

@winter moat pressed the 🔌 API button in #help to ask a question:

Question
Hi there.
I want to able to open a currency for a connected account via the API.
Currently I can see that it's possible through the dashboard;
I cannot find any docs in your API to do that;
Can you help?

Related Request ID(s)
req_0kmxuGa2CsNjHZ

What have you already attempted?
I DID NOT TRY yet as I cannot find any docs.
I tried through the web dashboard only.

What are you working on?
FANPASS MARKETPLACE

#

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

Code
googlePayLauncher = GooglePayLauncher(
fragment = fragment,
config = googlePayConfig,
readyCallback = { },
resultCallback = { },
)

Question
Is there any way in Android to know if google pay is ready before creating the `GooglePayLauncher`? It's strange that we need activity/fragment on specific state to know that. Ideally i would like to know this proactively (maybe in a previous screen) and when the user enters the correct screen to display or not the button

What have you already attempted?
DefaultGooglePayRepository is internal so i can not use it. I tried to implement by myself this functionality according to https://developers.google.com/pay/api/android/guides/tutorial but i am afraid that if the future will change something my code may break because of having different versions between my code and stripe sdk

#

@brazen goblet pressed the 🔌 API button in #help to ask a question:

Question
We currently have a premium subscription for our platform with a monthly and yearly price. If a user takes a monthly subscription, we have in our terms that it's over 12 months but in monthly payments, but a customer has cancelled and we don't allow that. I've just noticed that there's installment plan with subscription schedules and was wondering if this is something we could use, by breaking a yearly subscription down into monthly payments, is this the correct use case? https://docs.stripe.com/recurring-payments#installment-plans

Related Request ID(s)
evt_10qcr9CpYMgMVBBwnXDdx965

What have you already attempted?
We also want to know how the user managed to cancel, as we don't have it as an option on our site, or in the Stripe customer portal.

atomic shuttleBOT
#

@haughty mist pressed the 🔌 API button in #help to ask a question:

Question
Hi Team,
I am trying to create a payment method with payment type - card but it's not working.
Giving error - "Sending credit card numbers directly to the Stripe API is generally unsafe".

Can you suggest me the solution on this.

Related Request ID(s)
No request id, just a question

What have you already attempted?
Trying to create payment method with payment type - card.

What are you working on?
Trying to create Stripe's customer bank account with type - card.

#

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

Code
(I'm gonna send it in the channel for better explainations)

Question
I'm trying to implement user verification. To do this, originally I sent the identity document data to the backend, then the backend created a person token to send it to Stripe.
My problem currently is that this token must be created in the front, and I can't find how to do the same thing on the front app side.
The given code is the one I used on my backend app,

What have you already attempted?
Looking on google and Stripe's doc obviously: https://docs.stripe.com/api/tokens/create_person

But stripeJS.tokens doesn't exists.
(I'm using "stripe" and "@stripe/stripe-js" packages in their last versions)

What are you working on?
I'm trying to implement user verification

#

@dusk gulch pressed the ❌ An Error button in #help to ask a question:

Error Message
Payment Incomplete: We were unable to process your payment at this time. Please check your payment details and try again, or contact customer support for assistance. Please check your email

Question
Test environment to create payment properly working but i have production server to add actual card number it's not working

What have you already attempted?
subscription purchase to facing payment details error

atomic shuttleBOT
#

@boreal gale pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-methods/connect?locale=en-GB

Question
If I clone 3ds authentication card from platform to connected account, will that card again require 3ds auth setup for payments/subscriptions in connected account as well?

What have you already attempted?
cloning payment methods to connected account

What are you working on?
creating payments on connected accounts with cloned payment method

#

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

Code
var options = new PaymentIntentCreateOptions
{
Amount = Convert.ToInt64(Convert.ToDecimal(ProductCartModel.OrderDetailCart.Sum(od => Convert.ToDecimal(od.price) * Convert.ToDecimal(od.quantity))) * 100),
Currency = "usd",
PaymentMethodTypes = new List<string> { "card" },
CaptureMethod = "manual",
PaymentMethod = credit_card_auth_id,
Customer = stripe_customer_token,
};
var service = new PaymentIntentService();
var paymentIntent =

Question
I have implemented Pre-Authorization functionality in .net core with Stripe gateway. I've used above code for hold the amount and and ChargeCreateOptions and ChargeService options for debit the amount after sometimes. So I'm able to Place hold amount, But when do the charge, It throws as insufficient funds. What would the cause ?

What have you already attempted?
var chargeOptions = new ChargeCreateOptions
{
Amount = Convert.ToInt64(Convert.ToDecimal(Ordrdt[0].total_amt_payment) * 100),
Currency = Ordrdt[0].currency_code,
Description = "PackBack Payment Confirmation for Order Id-" + Ordrdt[0].Order_id,
Source = Ordrdt[0].credit_card_auth_id,
ReceiptEmail = Ordrdt[0].email,
Customer = Ordrdt[0].customer,
Metadata = new Dictionary<string, string>
{
{ "OrderId", convertedOrderid },

#

@tiny estuary pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade

Question
I have 20k active yearly subscriptions of 10€. Now we need to do a increase price to 20€ to the subsctiption price both from new subscribers to current subscribers.

Reading your doc, simply by iterating all my subscribers and updating the sub to the new price should be enough.

The problem is that checking the docs in google play or apple store to compare, we see that we must contact the user for aproval before the price increase (opt-in) or if its less 50% increase just inform (opt-out). Does Stripe handle this? I want to know the correct way to increase the price, the guide is very small.

What have you already attempted?
Nothing, i will test everything in sandbox, but havent found a proper guide to do it.

What are you working on?
Increasing price of active subscriptions.

#

@hallow kayak pressed the ❌ An Error button in #help to ask a question:

Error Message
Error handling card action: IntegrationError: Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element.

Question
How to resolve IntegrationError in confirm-payment method in payment-element when add card in ionic framework?

What have you already attempted?
1)Implement html and ts code for payment-element using version @stripe/stripe-js:1.15.0
2)Call CreatePaymentIntent API and return clientSecrete key
3)In ts file call ConfirmPayment method in stripe and try to pass paymentMethodId getting Integration Error

Reproduction Steps
1)Add code for payment-element for add card @stripe/Stripr-js:1.15.0
2)this.stripe.confirmPayment({
elements: this.stripe.elements(
{ clientSecret: this.clientSecret }
),
confirmParams: {
return_url: 'https://example.com/return',
}
})
3)when call this method getting error

What are you working on?
Working on express checkout implementation and payment-element for add card in new @stripe/stripe-js latest version.

#

@tawny briar pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to remove Billing Details (only country/region is shown anyway) from PaymentSheet?

Related Request ID(s)
-

What have you already attempted?
-

#

@half jackal pressed the 🔌 API button in #help to ask a question:

Question
Setup intent for address verification

Related Request ID(s)
req_TzRnkStVYLtlOn

What have you already attempted?
I'm trying to integrate stripe setup intent (as recommended by salesperson during our initial call) so that my platform could verify user address. The idea is that user fills our his address info, then card details through stripe card element and we could validate if address is correct/partially correct. I've created the whole setup intents flow in the backend and use the clientSecret in the front-end with the user provided information making the call to stripe.confirmCardSetup

I receive a response with no error, but I'd like to see the AVS validation response.

What are you working on?
Currently the js code is

#

@winter shuttle pressed the 🔌 API button in #help to ask a question:

Question
I want to start plan subscrioption after one month. Want to give free trail for one month but haveing issue in getting clients-secret when used trial_end property

Related Request ID(s)
No id

What have you already attempted?
If remove trial_end then working

What are you working on?
Subscription API

#

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

Question
I'm trying to attach a payment method used in an invoice to an user, but I keep getting this error:
"This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again."

Related Request ID(s)
req_KKNla89XDBd0Iv

What have you already attempted?
The default_payment_method on the invoice events were always null, even though the invoice was paid successfully, so I tried using the payment_method from the payment_intent.succeeded webhook.

What are you working on?
Saving the payment method used in an invoice as default payment method, to use it later on for auto-charging.

#

@latent saffron pressed the 🔌 API button in #help to ask a question:

Question
I want to only show Visa and Mastercard at my frontend component.it donot have any param to show only selected card.

Related Request ID(s)
no id

What have you already attempted?
Have seen a lot in docs. It disable icons completely or show all of them

What are you working on?
e-commerce app for closed system

#

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

Code
var options = new PaymentIntentCreateOptions
{
Amount = Convert.ToInt64(Convert.ToDecimal(ProductCartModel.OrderDetailCart.Sum(od => Convert.ToDecimal(od.price) * Convert.ToDecimal(od.quantity))) * 100),
Currency = "usd",
PaymentMethodTypes = new List<string> { "card" },
CaptureMethod = "manual",
PaymentMethod = credit_card_auth_id,
Customer = stripe_customer_token,
};

var service = new PaymentIntentService();
var paymentIntent

Question
How to do Pre Authorization using .net core, Since I can't share Stripe Account# which is created by client

What have you already attempted?
var chargeOptions = new ChargeCreateOptions
{
Amount = Convert.ToInt64(Convert.ToDecimal(Ordrdt[0].total_amt_payment) * 100),
Currency = Ordrdt[0].currency_code,
Description = "PackBack Payment Confirmation for Order Id-" + Ordrdt[0].Order_id,
Source = Ordrdt[0].credit_card_auth_id,
ReceiptEmail = Ordrdt[0].email,
Customer = Ordrdt[0].customer,
Metadata = new Dictionary<string, string>
{
{ "OrderId", convertedOrderid },

#

@hearty raven pressed the 👍 Best Practices button in #help to ask a question:

Question
How to handle minimum transaction fees in different currencies, given the smallest representable value is 1 unit of currency when using a long data type?

Doc/Guide Links
https://docs.stripe.com/api/application_fees

What are you working on?
Property managemnet system

#

@night steppe pressed the 🔌 API button in #help to ask a question:

Question
my app has subscriptions and everything is working. Im just wondering how can a customer Change the payment card of the subscriptio

Related Request ID(s)
na

What have you already attempted?
create a new payment and update the payment

#

@weak pulsar pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
In the Payout docs it says you need to register a bank account. To create a bank account, the following data is needed: account number, currency, etc... To perform a transference, it is needed the Bank Name, account type, agency, account number, digit, account holder name and its documents. To perform a payout using Stripe, the only thing needed is the account number? Isn't the agency, bank, etc... Needed?

What have you already attempted?
Reading the docs

#

@tough shell pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected an invoice that will be finalized before the payment is collected (and paid)

What actually happened?
"invoice.paid" event came before "invoice.finalized"

Reproduction Steps
Make subscription payment and wait for the chage to happen.

Question
Is this expected to happen? If so in under what conditions is this possible?

#

@ocean badge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
While onboarding an express connect account with Card and Transfer capabilities and country US, option to fill card details must be there for external account adding step.

What actually happened?
There is only option to add bank account.

Reproduction Steps

  1. Create an express connect account with Card and Transfer capabilities and country US.
  2. Create accountOnboarding link for this express account.
  3. Fill all test details and while adding payment method, there is only option to add bank account.

Question
We were able to add card till a couple of weeks ago. Now, Why we are not getting option for card to be added for payment or payout method while onboarding express accounts?

What are you working on?
An UGC platform.

atomic shuttleBOT
#

@weak linden pressed the 🔌 API button in #help to ask a question:

Question
We are using Plaid for ACH payments and we are currently upgrading the Stripe API version, including moving to Payment Intents. The old method doesn't appear to work. How can I get Plaid ACH payments to work with Stripe Payment Intents?

Related Request ID(s)
Trying to attach a Plaid ACH Payment Method to confirm a Payment Intent.

What have you already attempted?
I tried creating a Payment Method of type "us_bank_account" but that doesn't work for Plaid it appears as I just have a token.

atomic shuttleBOT
#

@ember jasper pressed the 🔌 API button in #help to ask a question:

Question
I have a function which getOrCreateUser

I use the search API to fetch a user
const customer = await stripe.customers.search({
query: `metadata["user_id"]:"${userId}"`,
limit: 1,
});

There is a part in my code where I call getOrCreateUser twice, however the first time it does not find the user, so it creates it. But the second time it still does not find the user although it was successfully created during the first call.

Related Request ID(s)
N/A

What have you already attempted?
If I use .list I can see that my array contains the user, however when I use .search the array is empty.

What are you working on?
I'm building a telegram bot where I create a user using metadata.user_id

#

@rugged ibex pressed the 🔌 API button in #help to ask a question:

Question
I am a developer at a software company that is running an e-commerce business, the management has asked me to implement the platform fee of 10% from a vendor on each transaction(each product sale). Is Stripe providing any facility to implement the platform fee for each transaction from the vendor transaction?

Related Request ID(s)
not started implementation yet

What have you already attempted?
I am about to start but want to make sure if is it available or not.

What are you working on?
An e-commerce business in UAE

#

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

Code
var stripe = Stripe( wc_stripe_params.key, {
locale: 'auto',
} );
// inline form
elements.create( 'card', { hideIcon: true } );

// split form
elements.create( 'cardNumber', { showIcon: false } );

Question
showIcon and hideIcon options are not working on card elements? I get the error:
```
[Stripe.js] Unrecognized elements() parameter: showIcon is not a recognized parameter. This may cause issues with your integration in the future.
```

What have you already attempted?
I tried both with card elements (single and split versions)

What are you working on?
Stripe WC plugin

atomic shuttleBOT
#

@dusk gulch pressed the 🔌 API button in #help to ask a question:

Question
I have add 3D secure card after purchase the subscription but its not working in stripe API every payment subscription status incomplete getting so how to resolve this?

Related Request ID(s)
3D secure add after suscription payment failed

What have you already attempted?
Subscription purchase

What are you working on?
Subscription

#

@errant linden pressed the 🔌 API button in #help to ask a question:

Question
hey, I want to integrate "manage subscription" on my app, meaning, I want to have the Customer Portal inside my app.
Right now I'm doing it like this:
https://docs.stripe.com/customer-management/integrate-customer-portal

whoever it redirects to Stripe, I'd love to have it on a similar way that we do with Checkouts, we embedded it on our app using Stripe api

Related Request ID(s)
https://docs.stripe.com/customer-management/integrate-customer-portal

What have you already attempted?
tried this: https://docs.stripe.com/customer-management/integrate-customer-portal

works but not what I want.

tried then to use <iframe>, but not allowed too.

What are you working on?
An app that uses Stripe to users acquire subscriptions

#

@round quest pressed the 🔌 API button in #help to ask a question:

Question
I'm experiencing an issue with confirming PayPal payments in our Flutter app. The backend successfully creates a PaymentIntent, but when trying to confirm the payment using the Stripe Flutter SDK, it throws a payment_intent_invalid_parameter error. How can I resolve this issue to successfully process PayPal payments?

PayPal is enabled as a payment method in our Stripe Dashboard.

Related Request ID(s)
req_TNVlXVW114NIHz

What have you already attempted?
Backend code:
stripe.paymentIntents.create({amount: integerAmountInCents,transfer_data: { destination: accountId },application_fee_amount: applicationFeeAmount,currency: DEFAULT_CURRENCY,customer: customerId,payment_method_types: ['card', 'paypal'],payment_method: paymentMethodId,use_stripe_sdk: true,metadata})

Frontend code:
await Stripe.instance.confirmPayment(
paymentIntentClientSecret: stripeData.payment!.stripePayment.stripeClientSecret!,
data: PaymentMethodParams.payPal(paymentMethodData: PaymentMethodData())
);

What are you working on?
The current focus is on debugging the integration with PayPal using the Stripe Flutter SDK and ensuring it works smoothly in test mode before moving to production.

#

@solid lantern pressed the 🔌 API button in #help to ask a question:

Question
Can I use the checkout session in subscription mode to collect a payment method to continue an existing subscription in free trail

Related Request ID(s)
N/A

What have you already attempted?
Created a subscription with free trail, tried to attach this subscription to a checkout session but it is not possible

What are you working on?
create a subscription without card collection during trail period , but add payment method later to continue the subscription

#

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

Code
import { Button } from '@/components/ui/button'
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from '@/components/ui/card'
import { db } from '@/lib/db'
import { getStripeOAuthLink } from '@/lib/stripe'
import { CheckCircleIcon } from 'lucide-react'
import Image from 'next/image'
import Link from 'next/link'
import React from 'react'
import { stripe } from '@/lib/stripe'

Question
Hello, I am integrating Stripe into my Nextjs project. I loaded Stripe elements, but the getStripeOAuthLink in the "import { getStripeOAuthLink } from '@/lib/stripe'" section in my page.tsx file is not imported. So it gives an error. Where am I wrong? What should I use getStripeOAuthLink? Thanks.

What have you already attempted?
from '@/lib/stripe'" instead I tried different variations (like node_modules)

What are you working on?
NodeJS , NexJS

#

@primal birch pressed the 🔌 API button in #help to ask a question:

Question
Can i reject a payment if the 3ds is not provided by card in stripe.handleCardPayment?

Related Request ID(s)
none

What have you already attempted?
Its a question

#

@astral talon pressed the 👍 Best Practices button in #help to ask a question:

Question
I would like to perform phone verification when a purchase is made via stripe hosted checkout page, is it possible?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/phone-numbers

What are you working on?
Purchasing plans for my company's product

#

@ebon ruin pressed the 🔌 API button in #help to ask a question:

Question
What error code is raised when cancelling and already cancelled subscription or another invalid state that isn't cancelable

Related Request ID(s)
n/a

What have you already attempted?
Reviewed the error codes

#

@rotund fractal pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to update the VAT number of a client with the api? In the documentation i can only find it in create customer but not in update

Related Request ID(s)
/

What have you already attempted?
Doing it manually but it would be better if we can update it with the api

#

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

Code
var stripe = Stripe( wc_stripe_params.key, {
locale: 'auto',
} );
// inline form
elements.create( 'card', { hideIcon: true } );

// split form
elements.create( 'cardNumber', { showIcon: false } );

Question
showIcon and hideIcon options are not working on card elements? I get the error:
```
[Stripe.js] Unrecognized elements() parameter: showIcon is not a recognized parameter. This may cause issues with your integration in the future.
```

What have you already attempted?
I tried both with card elements (single and split versions)

What are you working on?
Stripe WC Plugin

#

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

Code
stripe.createPaymentMethod({
type: 'bancontact',
billing_details: {
name: 'serhii'
}
})

Question
Hi, is it possible to create payment method with type "bancontact" without customer's name ?

For example, for "alipay" type it works without billing details.

Thank you in advance.

What have you already attempted?
Tried to remove billing details from the request.

What are you working on?
Migrating sources to payment intents

#

@nimble wave pressed the 🔌 API button in #help to ask a question:

Question
Hi, i need a help with a customer API
We have a field in the purchase form called
'cpf sem pontuacao', but it does not return in any API query

Related Request ID(s)
acct_1E5ifVJ1wmzmhDvo

What have you already attempted?
i read te customer I read the customer documentation and I'm currently looking for data from them, but I can't find this fieldAPI, and e

atomic shuttleBOT
#

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

Code
const stripe = loadStripe("{key}", {
betas: ['custom_checkout_beta_2'],
});
const clientSecret = stripe.client_secret;
const paymentElementOptions = {
layout: {
type: 'accordion',
defaultCollapsed: false,
radios: true,
spacedAccordionItems: false
}
};
return (
<form>
<PaymentElement stripe={stripe} id="payment-element" options={{clientSecret}} />
</form>
)

Question
I want to show all payment options i have enabled in my stripe connect so user can select from them for payment.

What have you already attempted?
I have tried:
https://docs.stripe.com/checkout/custom-checkout?client=react
https://docs.stripe.com/payments/payment-element

What are you working on?
i am developing mern stack application - event management

#

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

Code
https://drive.google.com/drive/folders/1vTTg24tmZigGc8p-SGM3LhEcHiFja8lQ?usp=sharing

LOG json {"message": "the amount is insufficient :0"}
LOG json {"message": "the amount is insufficient :0"}
LOG paymentIntent undefined
LOG ephemeralKey undefined
LOG Initiated payment sheet successfully
LOG json {"customer": "cus_Q0vkyCNkRTBVpt", "ephemeralKey": "ek_test_YWNjdF8xUDhwRkdKZXo3VW4xWWlOLGNPaFJOMTJqMDV2cE1veENVOGt2WDNHcVJzN3RRaUk_00MRF0uUJU", "paymentIntent": "pi_3PA

Question
Hi i need help i wnat to create mobile element payment now i click checkout but i get this in LOG:
the log under link of code app
Note:App Is React Native

What have you already attempted?
i try all sloutions

What are you working on?
REACT NATIVE EXPO

atomic shuttleBOT
#

@trim yacht pressed the 🔌 API button in #help to ask a question:

Question
Recently upgraded to 2024-04-10, and I have an issue with seemingly only 1 merchant (we use connected accounts) where we're not getting the application fee Id in our payment intents. We're using the Expand "latest_charge.balance_transaction" and in our test environment we see the application fee Id, but in production for just one merchant we do not see it. This merchant seems to have negotiated rates and we do not see the stripe fees so that may be related.

Related Request ID(s)
Not found: pi_3PAuan2H3QNsqCMy1u8RL2li, Found: pi_3PAuTF2HbK4P1FtH1rD6KNhP

What have you already attempted?
Tried recreating in test environment - couldn't recreate. Test environment does include an application fee.

What are you working on?
Ecommerce marketplace

#

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

Code
```
const res = await stripe.paymentIntents.create({
amount: 1000,
currency: 'usd', // TODO randomize
confirm: true,
payment_method: "pm_....", //
customer: "cus_....",
description: `.....`,
capture_method: 'automatic_async',
payment_method_types: ['card'],
off_session: true
})
```

Question
the request migtht result in an error.
e.g. StripeRequestError if the amount is too small.
i also might get a StripeCardError if the card cannot be changed.

also might get a payment_intent.payment_failed event via webhook.

question is: what part of the error handling should be done synchronously and what should be done asynchronoly. e.g. can the StripeCard Error be delayed due to some processing and and wont get a 402 + StripeCardError directly

What have you already attempted?
so far i did not manage to get a failure via event only

atomic shuttleBOT
#

@vocal wagon pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi,

what would u recommend to use for the following scenarion?
Everything happens during an event.
Upon arrival to the event, attendees go through a short registration process where we capture their card information and cell phone number. During the event they can vote/donate for multiple causes, multiple times without having to enter their cc information every time. At the end of the evening, attendees click “checkout” and can run one transaction for all of their votes throughout the evening.

Doc/Guide Links
https://docs.stripe.com/api/payment_methods

What are you working on?
trying to create a voting system, but the client wants to make it easier for the users and not enter the credit card info every time. Moreover, they need to capture the info at the begining.

#

@willow condor pressed the 🔌 API button in #help to ask a question:

Question
I am changing a subscription using prorations, going to a less expensive one, in the update subscription call's params I am passing `proration_behavior: 'create_prorations'` and the amount is fine, but the difference is being created as an invoice and would be applied to future purchases, I want to automatically refund the amount to the customer, in their original method of payment, how would I do this? I know I can do it with the refund endpoint, but how do I combine that with the proration?

Related Request ID(s)
in_1P6xF1HQxQQIDMAvrUh7V7ej

What have you already attempted?
Reading docs

#

@lunar zodiac pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-js/elements/payment-request-button

Question
Is it not possible to use elements from the useElements() hook with the payment request button element? I get an error whenever I try to pass it in to a call that requires it, such as confirmPayment or createConfirmationToken saying the element must be mounted to a express checkout element or payment element. Is this not the payment element?

What have you already attempted?
Making calls requiring a mounted element.

What are you working on?
Stripe integration

atomic shuttleBOT
#

@fathom sky pressed the 🪝 Webhooks button in #help to ask a question:

Question
when deleting a standard connect account, which webhook notifies ?

Related Event ID(s)
none

What have you already attempted?
read api doc, look into webhooks config

What are you working on?
remove account reference on connected account delete

atomic shuttleBOT
#

@unique rose pressed the 🔌 API button in #help to ask a question:

Question
Trying to get a list of payment_intent IDs when give a payout ID (po_*)

Related Request ID(s)
n/a

What have you already attempted?
I've been using the balance_transaction API (had a previous help session on this) and was told to use the "charge" type and expand the data.source - I've done that, but had to use "payment" as the type instead of "charge" (charge returned nothing - I"m guessing since we are using payment intents and not charges). Expanding data.source I don't see any charge or payment intent IDs.

What are you working on?
Paw Partner payments

#

@weary otter pressed the 🔌 API button in #help to ask a question:

Question
Question 1) When creating a Checkout Session object in subscription mode, and specifying a discounts.coupon, does the discount get attached to the Customer, the Subscription, or each of the Subscription Items?
(Follow up) Question 2: Can we specify which of those three options (i.e., Customer, the Subscription, or each of the Subscription Items) to attach to the discount to when creating Checkout Session object in subscription mode? If so, how?

Related Request ID(s)
n/a

What have you already attempted?
reading docs
- creating Checkout Sessions https://docs.stripe.com/api/checkout/sessions/create
- specifying `discounts.coupon` when creating a Checkout Session https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-discounts
- discounts attached to Customers https://docs.stripe.com/api/customers/object#customer_object-discount
- discounts attached to Subscriptions https://docs.stripe.com/api/subscriptions/object#subscription_object-discounts
- discounts attached to Subscription Items https://docs.stripe.com/api/subscription_items/object#subscription_item_object-discounts

What are you working on?
Building a checkout flow for subscriptions in which we will often be providing discounts to certain customers

atomic shuttleBOT
#

@patent meteor pressed the 🔌 API button in #help to ask a question:

Question
Hey! I have created a website where I want to let users donate through my website via Stripe API. I managed to create this donation system using React, TypeScript and Express, using payment intent creation & confirmation on submit (using a payment element). I wish to create on the same checkout page a way to subscribe, after selecting a subscription plan. Using this conditional rendering option, I am able to do this, but I have issues implementing the API correctly.

First of all: I create a customer based on an UNIQUE id every time they get to my checkout page. I will continue after opening

Related Request ID(s)
-

What have you already attempted?
Will explain in thread after opening so I get full story up.

What are you working on?
A website where you can donate for charity.

#

@prime goblet pressed the 🪝 Webhooks button in #help to ask a question:

Question
Authenticating Webhooks, using a payload, signature and endpoint secret

Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead.
Signature verification is impossible without access to the original signed material.

Related Event ID(s)
Signature is t=, v1=, v0=

What have you already attempted?
Converting the payload to a buffer, string, tried doing something with the payload, remove the express.json, added a bodyParser

What are you working on?
Trying to add Webhooks to node js for a subscription based system.

#

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

Code
classic stripe code for mounting elements

Question
Is this code supposed to style the button ?

What have you already attempted?
The different strip exemples

#

@limpid plume pressed the ❌ An Error button in #help to ask a question:

Error Message
The card_issuing capability is missing requirements to be activated.

Stripe\Exception\InvalidRequestException
The card_issuing capability is missing requirements to be activated, see (stripe.com/docs/issuing/connect).

Question
It seems the system has incorrectly set this Connected Account Issuing to Inactive as they've been using our Issuing Product for over 2 years and have 2-20 Issuing transactions per day, every day, so there is no reason I can see they should be set to inactive.

What have you already attempted?
Reaching out to Support. This is more to flag there may be a bug in the system or to find a quick remediation as this is a total outage for over 30 cardholders that depend on this service.

Reproduction Steps
$this->stripe->issuing->cards->create(
$params,
['stripe_account' => $connectAccountId]
);

Just using the SDK like we always do.

Any help greatly appreciated.

#

@tall leaf pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Google Pay option is not available on Android device from the payment link

What actually happened?
I have a payment link which has both Google Pay and Apply Pay enabled. Apply Pay works on iOS and MacOS safari. However, Google Pay isn't showing as an option on devices that have Google Pay and Wallet enabled.

Reproduction Steps
This is the test link.
https://pay.copilotai.com/b/test_aEU3fP2Cz8czftK145

Question
Is the link working as expected?

#

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

Code
```js
const addressHtmlElement = document.getElementById('address-element') ?? (() => { throw new Error("addressHtmlElement is null") })();
const addressElements = elements.create('address', {
mode: 'billing'
});
addressElements.mount(addressHtmlEl

const confirmResult = await stripe.confirmPayment({
elements,
confirmParams: {
return_url: return_url
}
});
```

Question
The element is mounted and the validation is correct, but it got lost when I confirmed the payment.

I was expecting the address element to update the customer billing address and used on the invoice

What have you already attempted?
I've checked different tutorials and your doc.

atomic shuttleBOT
#

@valid zenith pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage

Question
For which subscription status can we record usage?
Our use-case is to keep recording usage till the subscription is canceled in order to avoid blocking users when the subscription is overdue or card failed to work.

Since it's not explicitly mentioned in docs, I wanted to confirm regarding this possibility.

What have you already attempted?
Tried to create usage records for canceled subscription and it fails but the lack of it being mentioned in the documentation made me want to confirm here.

atomic shuttleBOT
#

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

Code
await stripe.invoices.sendInvoice(data.id, {
email: data.customer_details.email,
});

Question
I'm not receiving an invoice when I purchase a product. How can I fix this?

What have you already attempted?
I've tried different ways to implement the provided snippet, and I notice that in the event data customer_email is null but customer_details.email is the correct email. I've also tried removing the email part entirely and it still doesn't work automatically

What are you working on?
Creating a checkout experience for a client

#

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

Code
Invalid value for paymentRequest(): country should be one of the following strings: AE, AT, AU, BE, BG, BR, CA, CH, CI, CR, CY, CZ, DE, DK, DO, EE, ES, FI, FR, GB, GI, GR, GT, HK, HR, HU, ID, IE, IN, IT, JP, LI, LT, LU, LV, MT, MX, MY, NL, NO, NZ, PE, PH, PL, PT, RO, SE, SG, SI, SK, SN, TH, TT, US, UY. You specified: AR.

Question
Invalid value for paymentRequest(): country should be one of the following strings: AE, AT, AU, BE, BG, BR, CA, CH, CI, CR, CY, CZ, DE, DK, DO, EE, ES, FI, FR, GB, GI, GR, GT, HK, HR, HU, ID, IE, IN, IT, JP, LI, LT, LU, LV, MT, MX, MY, NL, NO, NZ, PE, PH, PL, PT, RO, SE, SG, SI, SK, SN, TH, TT, US, UY. You specified: AR.

What have you already attempted?
Invalid value for paymentRequest(): country should be one of the following strings: AE, AT, AU, BE, BG, BR, CA, CH, CI, CR, CY, CZ, DE, DK, DO, EE, ES, FI, FR, GB, GI, GR, GT, HK, HR, HU, ID, IE, IN, IT, JP, LI, LT, LU, LV, MT, MX, MY, NL, NO, NZ, PE, PH, PL, PT, RO, SE, SG, SI, SK, SN, TH, TT, US, UY. You specified: AR.

atomic shuttleBOT
#

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

Code
const params: Stripe.Checkout.SessionCreateParams = {
submit_type: 'pay',
payment_method_types: ['card'],
billing_address_collection: 'auto',
shipping_address_collection: {
allowed_countries: ['US']
},
phone_number_collection: {
enabled: false
},
line_items,
success_url: `${req.headers.origin}/shopping-cart/result?session_id={CHECKOUT_SESSION_ID}&${filteredQueryParams}`,

Question
We are using the above code for creating a checkout session and we need to make Stripe deny any checkouts for shipping addresses to AK or HI. Is there any option available to do this? I see the allowed_countries property, but nothing for states?

What have you already attempted?
Searched documentation and reviewed create session properties.

What are you working on?
ecommerce website

#

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

Code
additional_verifications not in stripe.Account.CreateParams

Question
I create stripe accounts using `stripe.Account.create()`. While upgrading to Stripe 9.4, I noticed that the `stripe.Account.create()` call was failing due to an undefined `additional_verifications` keyword arg. This doesn't seem to be defined in `stripe.Account.CreateParams`, here: https://github.com/stripe/stripe-python/blob/119e6fc1cf5216e8ef33991f593ae76a3b0a35b4/stripe/_account.py#L1247

What have you already attempted?
n/a

#

@stuck tundra pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/ideal

Question
I was trying to implement ideal and sepa debit on our payment element using stripe sdk. I was able to successfully implement it using payment method configuration but for onetime product with 100% coupon and for trial subscription the transaction amount turns out to be zero. In that case, I was trying to charge minimum amount i.e. 1 euro using automatic as capture method as manual capture method is not supported for ideal and sepa, but that amount is not getting refunded. According to the doc, stripe should charge minimum charges and then refund it, but its not happening. How to implement this

What have you already attempted?
For normal card payment, in case of trial product, we use to use manual as capture method and pass the minimum amount for transaction and stripe use to automatically refund that amount of 1 euro. But manual capture isn't supported for ideal and sepa debit payment methods. So I'm using automatic as capture method and passing the minimum amount of 1 euro through payment element for trial subscriptions and 100% coupon product, but the money is getting debited and not getting refunded. And if I use amount to be charged as 0, then ideal and sepa debit options are not loading in payment element.

What are you working on?
I'm trying to integrate ideal and sepa debit payment methods using automatic payment method configurations with the payment element for all types of products including 0 amount transactions

#

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

Error Message
Invalid US ZIP code: K4A 9Z9; ZIP codes should have 5 digits, and optionally the 4 digit extension.

Question
We are trying to test Canadian card processing. Processing also works great on US transactions. We have a Canadian merchant set up (acct_1PAxwqDAarTLCYUx). When we try to run a card transaction, we get the error above.

What have you already attempted?
I've confirmed this is a CA merchant in test. I've tried removing the billing and shipping address from the call. Oddly enough, auth/capture works fine.

#

@versed patrol pressed the 🪝 Webhooks button in #help to ask a question:

Question
What event gets dispatched when a Payment Intent is refunded? there currently is no payment_intent.refunded event, just charge.refunded event, but based on the description I'm not so sure that's right, since charge refers to direct credit/debit charges.

Related Event ID(s)
payment_intent events

What have you already attempted?
Read through some documents and it doesn't look like it's something that's supported. But the thing I want to do is to make sure to update my database when a payment_intent gets refunded through the Stripe dashboard. Any insights are appreciated. Thanks.

What are you working on?
Refund webhook.

#

@crystal bloom pressed the ❌ An Error button in #help to ask a question:

Error Message
message
:
"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."
param
:
"client_secret"
request_log_url
:
"https://dashboard.stripe.com/test/logs/req_VyB3CoqVQyOPU1?t=1714420439"
type
:
"invalid_request_error"

Question
This is come from javascript client side, I send payment intent secret to stripe form.

What have you already attempted?
Is working with test key but with live key this error comes

atomic shuttleBOT
#

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

Code
const account = await stripe.accounts.update(
accountId,
{
individual:{
first_name: updatedData.firstName,
last_name: updatedData.lastName,
email: updatedData.email,
phone: updatedData.phone,
address: {
city: updatedData.city,
line1: updatedData.line1,
postal_code: updatedData.postalCode,
state: updatedData.state

Question
I have got some requirements and I want to update the connected account to resolve those requirements.

What have you already attempted?
https://docs.stripe.com/connect/updating-service-agreements

What are you working on?
i am developing mern stack application - event management

#

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

Code
ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ

Question
Uhhhh can I rent an account for 3 days please?

What have you already attempted?
ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ

atomic shuttleBOT
#

@quartz shuttle pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm working on processing failed payments and test scenario with failed second payment for subscription. As a result, I received webhook `invoice.payment_failed` , but did not receive any webhook about updates in `payment_intent`. I expected webhhok `payment_intent.payment_failed`, but such an event did not happen. Can you explain to me why?

Related Event ID(s)
evt_1P9J5wJAyK60857lLYdAe9BB

What have you already attempted?
I read documentation about events and payment intents updates.

#

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

Question
Hello,

I am in the process of integrating the ability to pay multiple sellers with Stripe Connect.
The aim is to offer the buyer of a marketplace site the possibility of making a payment to several Stripe Connect accounts.

It's very simple: a shopping cart with sellers A and B. Payment amount 1 to seller A and amount 2 to seller B.

I follow this documentation: https://docs.stripe.com/connect/separate-charges-and-transfers

Related Request ID(s)
req_KQmK9Nfo6CK8Vo, req_EkvcFF8GNCbq80

What have you already attempted?
I have a hosted checkout session that is created when the customer confirms their shopping cart.
Exactly as described in the documentation.
Then normal process.

I have a webhook, which listens on the succeed payment event.

Then it creates a transfer from the transfer last charge, retrieving it from the event payload.

And 2 things here:

- When I specify a stripe_account_id in my checkout session. ( which is not recommended in the documentation )
And then do the process.
I get an error:
"No such charge: 'ch_3PB0RaFS1gIv4rSd1OdkJL68'"

- But when I do exactly as in the doc, I have no trace

What are you working on?
Integration of multiple vendor payment/stripe conencted account on a marketplace

#

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

Question
We have a subscription invoice that is failing payment, and has been automatically retried by Stripe three times so far — however the `attempt_count` isn't being incremented and remains at 1.

The Dashboard shows the four attempts over a six-day period, and there are `invoice.payment_failed` events for each… yet the invoice attempt count remains unchanged. Oddly there are also no corresponding `payment_intent.payment_failed` events that we would normally see for failed retries.

Why could this be happening?

Related Request ID(s)
in_1P8jE3CxlkTqLKpvJ2LW4yJ2

What have you already attempted?
Looked at the event logs for this invoice, and compared with other failed retrying payments.

What are you working on?
Looking into some recent payment failures, since we have some automations relying on `attempt_count` to be correct in order to notify our users of payment issues

#

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

Question
I have a couple questions about product_ids and moving invoices with invoiceitems from draft to open

Related Request ID(s)
req_Q03KF9OejvDjGJ

What have you already attempted?
Its working, just some api questions, best pratice, and when to archive products

What are you working on?
Karate Monkey - Stripe Enabled MA Management Software

#

@mighty hill pressed the 👍 Best Practices button in #help to ask a question:

Question
This is a quick test thread to make sure some new functionality is working as intended behind the scenes.

Doc/Guide Links
No doc or guide links to provide.

What are you working on?
This. 🙂

#

@median geode pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hey, I would like to create a local event with the stripe cli, however the event needs to have some specific data, like a transfer_group and others. Is there a way to do that

Related Event ID(s)
evt_1P7dNrAfoReX6Tchi3SQDy8S

What have you already attempted?
Creating an event with the stripe cli, however I cannot seem to find a way to customize some fields of the event

What are you working on?
An online marketplace

#

@ebon oyster pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I recieved an "invoice.paid" webhook. I fetched the latest subscription details, expecting that to be the source of truth, but it was out of date. The "subscription.updated" event happened at the exact same time as the "invoice.paid" event.

What actually happened?
I fetched the latest subscription details from Stripe, and Stripe incorrectly said that the subscription was in its former state (trailing) rather than active.

Reproduction Steps
evt_1P8vsGBZ8IchjqOeQJhzjdkO
evt_1P8vsGBZ8IchjqOeeUs4W4I7

Question
What happened, how do I fix this?

atomic shuttleBOT
#

@rough edge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We updated to stripe-python 9.4.0 this morning and also updated our Stripe API version to 2024-04-10 (both from the dashboard and pinned from the python lib).
Looking at the changelog nothing was supposed to impact us

What actually happened?
The dashboard exactly doubles the number of successful payments counted (in the overview).

Reproduction Steps
- Updated from 2020-08-27 to 2024-04-10 (and so now we async capture by default).
- Receive successful payments.
- Counted twice in the overview dashboard

Question
What am I missing here? Also, looking at the payments tab shows the right number. It's only wrong in the overview since we updated.

atomic shuttleBOT
#

@median geode pressed the 🔌 API button in #help to ask a question:

Question
In test mode, how long can it take for the API to fire a checkout.session.async_payment_succeeded event?
```Today

charge.updated
A CAD 862.31 payment for ch_3PB2nhAfoReX6Tch0DQ7rYue was updated
6:36:01 PM

checkout.session.completed
A Checkout Session was completed
6:35:59 PM

payment_intent.succeeded
The payment pi_3PB2nhAfoReX6Tch0cmOUNXW for CAD 862.31 has succeeded
6:35:59 PM

charge.succeeded
ch_3PB2nhAfoReX6Tch0DQ7rYue was charged CAD 862.31
6:35:59 PM

payment_intent.created
A new payment pi_3PB2nhAfoReX6Tch0cmOUNXW for CAD 862.31 was created
6:35:57 PM
```
Here is the list of events

Related Request ID(s)
cs_test_a1GPVZlHuaTlOrKtusBPC9koTZdDKgrL8ND9YDEhXWlweyYX57GlZHVdnw

What have you already attempted?
Waiting for the event to fire. Here is my stripe cli command :
`stripe listen --forward-to http://localhost:5001/payment/webhook/checkout --events=checkout.session.completed,checkout.session.async_payment_succeeded,checkout.session.async_payment_failed
`
And this was the only event recieved :
`2024-04-29 18:35:59 --> checkout.session.completed [evt_1PB2njAfoReX6TchyuzjOk1E]
2024-04-29 18:35:59 <-- [200] POST http://localhost:5001/payment/webhook/checkout [evt_1PB2njAfoReX6TchyuzjOk1E]
`
Should I listen to charge.succeeded ?

What are you working on?
Online marketplace

#

@toxic grove pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm working on integrating translations on all our Stripe communications to customers. I've set the locale preference for translating most of the text but noticed we have default memo and footer fields populated with hard-coded english strings. How do I get these values translated as well?

Doc/Guide Links
https://support.stripe.com/questions/language-options-for-customer-emails

What are you working on?
i18n support for invoices and emails

#

@verbal fog pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to integrate the onboarding flow on my application and I have seen different behaviors depending on the account type.

Is it possible to avoid the login page for onboarding using standard accounts?

Related Request ID(s)
Onboarding

What have you already attempted?
I've tried creating 2 types of accounts, first is standard, which when I try to onboard, requires a LogIn from my user which I want to avoid.

I tried then using an express account, which does exactly what I need. Just, sends a verification number to my phone and then I just verify the data (I already prefill user's data in Stripe)

The problem, is that looks like it is a hard request to have the Connected account type as Standard.

What are you working on?
Connected accounts onboarding

#

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

Question
Access card/bank details from Link payment method

Related Request ID(s)
N/A

What have you already attempted?
After collecting payment details with Link in the Payment Element and attaching to customers, I would like to retrieve the metadata (last4, brand) of the underlying card or bank used by Link.

I am using: `stripe.customers.retrieve(customerId, {expand: ''invoice_settings.default_payment_method"})` to retrieve the payment method to render in the UI, but for Link this just returns an object with the shape:
{default_payment_method: {type: 'link', email: '...'}}, with details about the underlying card/bank.

The name "Link" makes questions like these hard to answer via Googling ¯\_(ツ)_/¯

What are you working on?
Saas with subscription billing

atomic shuttleBOT
#

@gentle leaf pressed the 🔌 API button in #help to ask a question:

Question
In our product's onboarding, we use the typescript stripe.collectBankAccountForSetup modal with the `us_bank_account` payment method to let our customer link an external bank account that will fund their provisioned stripe treasury account.

The flow works fine in test mode, but we found that it doesn't work in production.

I'll provide more context in the thread (bc char limit), but where I am at now is wondering what is the difference between the us_bank_account_ach_payments capability and the ACH Direct Debit setting in the Payment Methods page of the dashboard?

Related Request ID(s)
Prod: req_yUUV7rHATOIQVI

What have you already attempted?
Tried our existing flow in test mode and everything works in test.

Tried adding the us_bank_account_ach_payments capability but found there's required additional info that we do not have access to yet.

What are you working on?
We use stripe to offer our customer a banking account. Our flow let's them connect an external account to later fund this bank.

atomic shuttleBOT
#

@shell valve pressed the 🔌 API button in #help to ask a question:

Question
Updating subscription with `promotion_code` returns
```
resource_missing - promotion_code
No such promotion code: 'CODE'
``` even though the promotion code exists and is active.

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

What have you already attempted?
List Promotion Codes API returns the discount associated with the promotion code, so I am unsure why it is not working

What are you working on?
Trying to add functionality to add a promotion code to an existing subscription

atomic shuttleBOT
#

@wheat wind pressed the 🔌 API button in #help to ask a question:

Question
is there a way to integrate sigma into my application via api integration?

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
n/a

atomic shuttleBOT
#

@icy bison pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
A one-time coupon should only be used once.

What actually happened?
The coupon has been used on the customer's first payment, and the coupon has been used on subsequent payments.
The payment schedule for next month does not include the discount, which appears to be correct.

Reproduction Steps
I don't know. So far it's not reproducible.

Question
sub_1Ozg2pJrgt3ZD9jfNhbPpdzl

I applied a one-time coupon for ¥6,000 on an item priced at ¥19,800.
The first payment is correct at ¥13,800, but the second payment is also ¥13,800, which is not expected.

#

@swift cape pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it worth adding Stripe Tax to an existing Stripe Elements implementation? Or should we look towards migrating Elements into Stripe Checkout instead for better support?

Doc/Guide Links
One of our older subscription products uses Stripe Elements. A user can see the final price, add their credit card, and checkout from one view. My understanding of Stripe Tax is that we need their state/country, and each time it's changed, there needs to be another communication with the Tax API (https://docs.stripe.com/tax/custom), which seems like the current implementation is no good for new subscribers.

So we either re work the flow so they enter their billing country/state prior to checkout, so that on the final checkout screen, they can see the tax-inclusive price... or we just use Stripe Checkout. Thoughts?

What are you working on?
Adding Stripe Tax to an existing Stripe Elements subscription product

#

@hasty sequoia pressed the 🔌 API button in #help to ask a question:

Question
webhook issue , i save balance transction and it's id is not same for two different webhook:

case "payout.paid":
// setTimeout( async ()=>{
console.log(paymentData.balance_transaction)
await this.handlePaymentSuccedeedEvent(paymentData.balance_transaction);
// }, 10000);
break;
paymentIntent = paymentData.id;
const charge = await this.stripe.paymentIntents.retrieve(paymentIntent,{
expand:['latest_charge.transfer.destination_payment']
})

      //@ts\-ignore
       const chargeId =

Related Request ID(s)
webhook related and api related

What have you already attempted?
webhook issue , i save balance transction and it's id is not same for two different webhook:

case "payout.paid":
// setTimeout( async ()=>{
console.log(paymentData.balance_transaction)
await this.handlePaymentSuccedeedEvent(paymentData.balance_transaction);
// }, 10000);
break;
paymentIntent = paymentData.id;
const charge = await this.stripe.paymentIntents.retrieve(paymentIntent,{
expand:['latest_charge.transfer.destination_payment']
})

      //@ts\-ignore
       const chargeId =
#

@signal arch pressed the 👍 Best Practices button in #help to ask a question:

Question
What's the best practice for updating a subscription only when a payment succeeds? It doesn't seem like we can use the pending updates feature:
- You can't delete subscription items (i.e., we have a plan with 1 line item and another plan with 4 line items)
- You can't specify a default payment method
- You can't update the metadata (not a deal breaker, but I'm setting the planID in metadata so we can reference what plan the user upgraded to in our webhooks)

I don't want to make two subscription update calls since this can lead to an inconsistent state. I have some ideas, but I would love some thoughts on this!

Thank you!

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade

https://docs.stripe.com/billing/subscriptions/pending-updates-reference#supported-attributes

https://docs.stripe.com/billing/subscriptions/pending-updates

What are you working on?
I'm building a flow to upgrade/downgrade a user's subscription where each subscription is associated with differing Stripe price IDs.

atomic shuttleBOT
#

@glad owl pressed the 🔌 API button in #help to ask a question:

Question
As of https://docs.stripe.com/upgrades#2024-04-10 I can see that automatic payment method configuration is defaulted. Does it mean that I can created an invoice and utilise automatic payment method choicing?

Related Request ID(s)
none

What have you already attempted?
I cannot check this as my webhook version is lower and cannot be changed for now

What are you working on?
Implementing automatic payment method checkout feature instead of hardcoded PM's

#

@hallow kayak pressed the ❌ An Error button in #help to ask a question:

Error Message
Error handling card action: IntegrationError: Invalid value for stripe.confirmPayment(): elements should have a mounted Payment Element or Express Checkout Element.

Question
How to resolve IntegrationError in confirm-payment method in payment-element when add card in ionic framework?

What have you already attempted?
1)Install package @stripe/stripe-js:3.3.0
2)Implement html and ts code for payment-element using version @stripe/stripe-js:3.3.0
3)Call CreatePaymentIntent API and return clientSecrete key
4)In ts file call ConfirmPayment method in stripe and try to pass paymentMethodId getting Integration Error

Reproduction Steps
Install package @stripe/stripe-js:3.3.0
1)Implement html and ts code for payment-element using version @stripe/stripe-js:1.15.0
2)Call CreatePaymentIntent API and return clientSecrete key
3)In ts file call ConfirmPayment method in stripe and try to pass paymentMethodId getting Integration Error

1)Add code for payment-element for add payment card const paymentEleme

What are you working on?
Working on express checkout implementation and payment-element for add card in new @stripe/stripe-js:3.3.0 version.

atomic shuttleBOT
#

@tropic iron pressed the 🔌 API button in #help to ask a question:

Question
Do I need to wait to receive any webhook (currently listening to payment_intent.succeeded) to know the payment went through? Or the response to the confirmCardPayment is enough to know whether the payment went through or not?

Related Request ID(s)
pi_3PAqNFLN30EVQLXt0WzQJbsp

What have you already attempted?
Currently confirming payments like this:

async function confirmPaymentIntent(stripeElementsObject, paymentIntent, paymentRequest, cardElement) {
var paymentIntentSecret = paymentIntent.body.paymentIntent.client_secret;
var result = await stripeElementsObject.confirmCardPayment(paymentIntentSecret, {
payment_method: {
card: cardElement
}
});

if (result.error) {
unsetButtonAsLoading('paybutton');
console.error('confirmPaymentIntent(): could not continue the payment intent ' + JSON.stringify(result.error, null, 2));
// TODO: Inform the customer that there was

What are you working on?
A Point of Sale for WhatsApp

#

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

Code
We have a WooCommerce Stripe plugin, the payment needs to be in test mode if the customer installed the app using test mode link, else the payment needs to be in live mode

Question
I created a Stripe app. I can see test mode link and live mode link under external test tab. My concern is whether the customer with a Stripe account is able to install the app in both test mode and live mode same time?

What have you already attempted?
We have a WooCommerce Stripe plugin, the payment needs to be in test mode if the customer installed the app using test mode link, else the payment needs to be in live mode

#

@little void pressed the 🔌 API button in #help to ask a question:

Question
We are attempting to use a Stripe Express-connected account for payouts. For the time being, we've automated everything except the process of accepting the terms of service. The dashboard indicates that you can accept it using the API, but the API is not working. The response we get from the API is that it is only available for custom accounts. Could you please help us automate the payout process for an express account?

Related Request ID(s)
/account/create/

What have you already attempted?
We are using the Stripe API to create connected accounts and providing the payload of agreeing the terms of service.

What are you working on?
It's a project where we have to pay service providers after a particular period of time, and we want to use Stripe payout or transfers for that.

#

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

Code
for usage_record in usage_records.data:
usage_record: stripe.UsageRecordSummary
usage_record.total_usage
print("total_usage",usage_record.total_usage)
if usage_record.total_usage:
stripe.SubscriptionItem.create_usage_record(subscription_item=metered_item.id, quantity=1, action="set")
print("Dummy for loop")

Question
There was a miscalculation in the amount to be reported.

What I want to do here is to update the reported quantity to 1/10 of what the original reported value was (before the cycle due).

How should I do this?

What have you already attempted?
Here is how I retireve the records to be updated:
usage_records = stripe.SubscriptionItem.list_usage_record_summaries(subscription_item=metered_item.id, limit=100)

This seems to retireve the UsageReportSummary Object only. It does not retrieve individual reports.

I want to use the "set" action in `create_usage_record` so that I can override. But I cannot retrieve the timestamps that I want to override.

What are you working on?
Building LLM DevOps platform.

atomic shuttleBOT
#

@glossy robin pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-and-reuse

Question
I am using the checkout with setup intent to save a payment method to charge customer later. But this checkout page also shows "Country or region" selection dropdown. What is the purpose of this country selection? What if the card is of Australia but user select any other country ? I see it still accepts this scenario without any error. I would like to know the meaning of this field.

What have you already attempted?
Checked online for documentation on this field purpose but couldn't find any relevant.

What are you working on?
A mobile app which shows the checkout page with setup intent to save payment method of user.

#

@wheat fossil pressed the 🔌 API button in #help to ask a question:

Question
I am getting apple pay later option while paying with apple pay and I want to remove that how can I

Related Request ID(s)
acct_1Nn0JkF2l5jVjRWa

What have you already attempted?
I tried to find any param to remove apple pay later in SDK but didn't find anything

What are you working on?
I am working on laundry type react native app

#

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

Code
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
{visible && <ConnectPaymentDetails
payment=""
onClose={onClose}
/>}
</ConnectComponentsProvider>
</div>

Question
I want to render the requirements on my own website with embeded UI elements. But this only redirect to stripe onboarding. On stripe documentation I dont find such option. can you please help?

What have you already attempted?
https://docs.stripe.com/connect/get-started-connect-embedded-components

What are you working on?
i am developing mern stack application - event management

#

@barren granite pressed the 🔌 API button in #help to ask a question:

Question
I need to add iterations to the subcriptions

Related Request ID(s)
123

What have you already attempted?
i have subscription added but not sure how i can do integration on subcrptions

#

@quaint coral pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/terminal/shop/thsku_OabrbDN5ypW73N

Question
Id like to know if I can use the POS, card reader terminal in Fiji Island.

What have you already attempted?
Want to clarify since I can buy the device here in australia and bring it to fiji.

What are you working on?
Building a tour company in fiji

#

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

Code
I am doing checkout with INR transection in india, still the message shows:
Non-INR transactions in India should have shipping/billing address outside India. More info here: https://stripe.com/docs/india-exports

Question
I don't know what to write in this

What have you already attempted?
I don't know what to write in this

#

@eager sphinx pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm just wondering the best way to implement seat based subscriptions. I initially thought just just charge upfront for X amount of seats, but then I realised I will have to offer functionality to add and remove seats.

Wondering what the best practise is to offer clients this functionality? I am using elements and the API.

Should I just charge for 1 seat initially for the subscription, and then every time they add and substract a team member, notify them of the charge and modify their bill? With API calls through the SDK on the endpoints for adding and removing users

Doc/Guide Links
Ive trawled through all subscription docs, this is more best practises.

What are you working on?
SaaS application

atomic shuttleBOT
#

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

Question
We are using fund transfer api to transfer fees from platform account to connected account. it working fine in same region but while transferring the fund api throw exception.

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

What have you already attempted?
What will be alternative solution for it.
Platform account is US based
Connected account is from Germany

What are you working on?
We are working event ticket sell

#

@thin citrus pressed the 🔌 API button in #help to ask a question:

Question
After digging in the documentation I still need some advice.

I'd like to avoid issuing credit notes by just charging the correct amount. I need to ensure that the card has enough balance before fulfilling the order.

What is the recommended workflow?

Related Request ID(s)
None

What have you already attempted?
Creating a PaymentIntent to later capture the funds won't generate an invoice.

On the other hand, I've tried to create an Invoice and later capture funds from the generated PaymentIntent ("You cannot capture PaymentIntents created by invoices.").

I've tried modifying the PaymentIntent associated to an Invoice and that is not possible neither.

I've also tried an ugly workaround: create a PaymentIntent with capture_method="manual" to authorize the payment and make sure there is enough balance, then create the invoice an pay it. Lastly, cancel the payment intent.

What are you working on?
I want to implement partial order fulfillment using PaymentIntent and Invoice.

#

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

Question
Is it possible to charge a customer automatically if I collect payment method through checkout in setup mode, if his card is issued in India

Doc/Guide Links
https://docs.stripe.com/india-recurring-payments?integration=subscriptions

What are you working on?
Create a subscription in free trial without payment method, collect payment method and add it to the customer object later when he is ready to pay for the subscription

#

@glacial glade pressed the 👍 Best Practices button in #help to ask a question:

Question
If I use Connect Onboarding and the client already has a Stripe account will they be able to use their existing account? Or do I use Connect Onboarding for new accounts and OAuth where the customer has an existing Stripe account?

The documentation isn't clear.

Doc/Guide Links
https://docs.stripe.com/connect/oauth-standard-accounts
https://docs.stripe.com/connect/standard-accounts

What are you working on?
We're building a SaaS using Connect and our clients will be using Standard Accounts.

atomic shuttleBOT
#

@native goblet pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Renewal invoices should be done with default payment method

What actually happened?
All our renewal attempt are failing 3 times (according to our custom retry policy for subscription), but user has valid default payment method

Reproduction Steps
- create/update customer with no PM
- create subscription -> if invoice has status open_3ds, I do a confirmCardPayment with clientSecret & Payment Method)
- done

Question
Few months ago, after discuss with someone of your team, he adviced me to stop using createPaymentMethod() on FrontEnd and attach it to my customer on creation,
but start using `payment_behavior: default_incomplete` on Subscription creation and then use `latest_invoice.payment_intent.client_secret`
in frontend to use with confirmCardPayment()

But now renewal fails

atomic shuttleBOT
#

@leaden canyon pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I saw that these documentation were available and I was wondering if this service is available in France ? I couldnt find this information anywhere.

What have you already attempted?
I read the documentation

#

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

Code
\Stripe\Stripe::setApiKey($this->stripeSecretConnectKey);
/****** ANOTHER WAY ****** */
try {
//code...
$account = \Stripe\Account::create([
'type' => 'express',
'email'=>$userData["email"],
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
]
]);
dump($account);
//GET THE ID AND CREATE LINK
$accountLinks = \Stripe\AccountLink::cre

Question
I am creating a seller account on stripe connect. Now when Seller create an invoice from stripe dashboard. And buyer try to pay. It gives an error "You cannot create a charge on a connected account without the `card_payments` capability enabled."

What have you already attempted?
I have tried to set Capabilties but its not working.

What are you working on?
Stripe Connect

#

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

Code
private async createPaymentSession(
vendorsData: any,
Amount: number,
transferGroup: string,
sourceCharge: any
) {
let vendorsArray = JSON.parse(vendorsData);

const platformFeeCents = Math.round\(Amount \* 0.02\);
const stripeFeeCents = Math.round\(Amount \* 0.029 + 30\);
const netAmountCents = Amount \- platformFeeCents \- stripeFeeCents;

for \(const vendor of vendorsArray\) {
  const { accountId, percentage } = vendor;
  const vendorCo

Question
Question : We have connected accounts from multiple countries and our platform account is usa, when checkout session is created after chcekout session we have to distribute fund between multiple vendors connected accounts that maybe from different countries, so how can we proceeded transfer to connected accouts that are in ultiple currencies ?

What have you already attempted?
i have impletedmeted the example with source_transaction parameted that works fine with connected accounts in same region as in platform account is

What are you working on?
We are making e-commerce social media app wher user will be able to purchase from multiple vendors withing a single checkout session

#

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

Question
Hi, i want to show customer address on billing detail in invoice

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
-

#

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

Code
rules: {
'.Input': {
backgroundColor: '#fefefe',
border: '1px solid #555555',
padding: '0.7rem 0.5rem',
},
'.Input::placeholder': {
color: '#fefefe',
},

Question
Attempting to change the input placeholder colour in web elements seems to do nothing

What have you already attempted?
placeholder is listed as a valid pseudo element selector for .Input here: https://docs.stripe.com/elements/appearance-api?platform=web#all-rules

What are you working on?
Migrating our individual elements integration to the mono payment element

#

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

Code
let chargeParams: Stripe.PaymentIntentCreateParams = {
amount: amount,
currency: currency,
payment_method_options: {
card: {
request_three_d_secure: "automatic",
},
},
automatic_payment_methods: {
enabled: true,
},
};

const paymentIntent = await stripe.paymentIntents.create(chargeParams);

Question
If I ask user to pay with separate charge, the payment goes in unknown. then how can i do payout for a connected account.

In the case of destination charge, i just give the stripe connected account id, and it handles it. but here with separate charge i am confused.

What have you already attempted?
https://dashboard.stripe.com/test/payments/pi_3PB9wmCZl8VComt90rvw6RfC

atomic shuttleBOT
#

@astral talon pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it possible to migrate customer, prices, products and meters from test mode to live mode? What is the recommended practice to test usage-based billing with real data?

Doc/Guide Links
https://docs.stripe.com/test-mode

What are you working on?
I'm automating usage-based billing for existing customers and would like to test the integration for those customers with live data in test mode before going live with payments.

atomic shuttleBOT
#

@turbid cedar pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Discount on the subscription should be applied on the upcoming invoice

What actually happened?
Upcoming invoice is not showing the dsicount

Reproduction Steps
Create subscription, Apply a recurring coupon to the subscription and do a failed payment. Subscription goes to pas_due state. Then pay the failed invoice with a onetime coupon. Subscription goes to active but the recurring coupon is present in the subscription but not applied to the upcoming invoice

Question
https://connect.stripe.com/test/subscriptions/sub_1PAxkKIvwrjYDHRMmlJvlYl1

atomic shuttleBOT
#

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

Code
<ConnectComponentsProvider
connectInstance={stripeConnectInstance}
>
<ConnectAccountOnboarding
onExit={() => setOnboardingExited(true)}
/>
</ConnectComponentsProvider>

Question
In <ConnectAccountOnboarding/>,
Review and submit" is the only option and editing is not possible.
In addition, if there is an unfilled field in Review and Submit, it cannot be edited, but it becomes "Information required" and nothing can be done.
How can I fix this?

What have you already attempted?
Checking the ConnectAccountOnboarding argument

#

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

Question
how can i list all my complete or open transaction?

Related Request ID(s)
-

What have you already attempted?
im using the given code in the docs for listing all checkout sessions in a .NET backend.
Code:
var service = new SessionService();
StripeList<Session> sessions = await service.ListAsync();

it will just return like expired sessions. i can actually test it in the stripe shell and put some optional parameter to get complete or open session. but i cant figured out how to i implement it in my backend code.

What are you working on?
enterprise app

atomic shuttleBOT
#

@cosmic anchor pressed the 🪝 Webhooks button in #help to ask a question:

Question
Does `invoice.paid` get triggered every time a **__successful__** payment is done? Because I only want to listen for successful payment and update them on by database

Related Event ID(s)
evt_3PBFKWAaUAsw03BS3DYQSvUk

What have you already attempted?
I've tried `invoice.paid` for a subscription, which does get triggered but if it's a normal payment, for some reason it is not triggered.

#

@mental steppe pressed the 👍 Best Practices button in #help to ask a question:

Question
Setting up an embedded checkout I am thinking about how to prevent race conditions on the offer (the thing to be payed for) that should only be possible to pay once.

I was thinking I need to create a product on the stripe API and I will have this by default since it can be payed for once, kindofa thing.

All ideas welcome.

Doc/Guide Links
https://docs.stripe.com/connect/destination-charges?platform=web&ui=embedded-form

What are you working on?
A marketplace where connected accounts can sell custom products to eack other

#

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

Code
confirmAffirmPayment, confirmKlarnaPayment,
and related methods

Question
I have individual buttons for several payment methods - Affirm, Klarna.
I use the dedicated payment methods for each payment in my client side code - eg - confirmAffirmPayment, confirmKlarnaPayment.

I am redirected to the PSP to complete the checkout process. For eg - I get redirected to Affirm to complete the process once I get the client secret.

Q. Is it possible to not get redirected and instead do the checkout process inside an iframe on my webpage?

What have you already attempted?
I have watched this Affirm video -
https://www.youtube.com/watch?v=x1HIIp-0Ow4

And read the official docs -
https://docs.stripe.com/payments/affirm/accept-a-payment
https://docs.stripe.com/api/payment_intents/create

And the Stripe.js docs -
https://docs.stripe.com/js/payment_intents/confirm_affirm_payment

What are you working on?
I am building a custom checkout page where I am listing a few payment methods

#

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

Question
After all the smart retries are exhausted does the system send a separate webhook for customer.subscription.deleted? or to mark the cancellation?

Related Event ID(s)
we_1LosNtAk7qSXSxUqQ55I3LS4

What have you already attempted?
This is just a question

#

@proven lava pressed the 🪝 Webhooks button in #help to ask a question:

Question
A webhook has ran for a successful payment completion, but the money never showed up in the dashboard. What am I doing wrong?

Related Event ID(s)
checkout.session.completed

What have you already attempted?
I've been watching the dashboard history and no payments showed up for the day in question.

What are you working on?
An App to allow people to automatically censor any video.

#

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

Code
[[SCPTerminal shared] createPaymentIntent:params completion:^(SCPPaymentIntent *createResult, NSError *createError)

Question
If I cancel the payment and after try again, this method does not work and never receives the response.

What have you already attempted?
Retry to make payment

atomic shuttleBOT
#

@brisk nymph pressed the 🔌 API button in #help to ask a question:

Question
I need to understand the invoice charges for this subscription - sub_1PBFvXGVCe8mF8QWo0iiS1G7

Related Request ID(s)
sub_1PBFvXGVCe8mF8QWo0iiS1G7

What have you already attempted?
I have created a subscription with 5 items, then downgraded to 3 item,s and then again upgraded to 6 items using Api, Immediate invoice proration is applied if a customer has downgraded in the same month and adds the same amount £ of items in the same month, they wouldn’t be charged any additional money that month because they’ve returned to the same level plan. If they go above the plan amount they were on before with items they’d be charged immediately

#

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

Code
I'd like to use Stripe "Checkout" in ui_mode="embedded" from NextJs

Question
Is it possible to avoid a page reload, so I loose the state on the client side?

What have you already attempted?
Read documentation: seems that when I create the checkout session I have to specify the return_url to which I'll be redirected.
On redirection I'll loose the state client side

What are you working on?
Business management software for gyms. The user journey could be

#

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

Question
so im listing all my complete sessions. but i only get 10 counts. in my stripe dashboard i have like 165 payments listed ( all created via checkout session). how i can i retrieve all these checkoutsessions

Related Request ID(s)
-

What have you already attempted?
here is my code giving me my completed session list:
var optionsComplete = new SessionListOptions { Status = "complete" };
StripeList<Session> completeSessions = await service.ListAsync(optionsComplete);

What are you working on?
enterprise app

#

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

Code
export default function PayoutAccountCollectionButton() {
// get Setup Intent client secret, user's full name, and email address.
// in this example, from a custom hook.
const {clientSecret, name, email} = useMyCustomState();

const handleCollectBankAccountPress = async (clientSecret) => {
const {setupIntent, error} = await collectBankAccountForSetup(
clientSecret,
{
paymentMethodType: 'USBankAccount',
paymentMethodData: {
bil

Question
I want when a seller connecting his external bank account for payout. it should take bank he wants to connect then take the respective information according to selected bank account. It should show in all bank options i have enabled in connected account.

What have you already attempted?
https://docs.stripe.com/connect/payouts-bank-accounts

What are you working on?
i am developing mern stack application - event management

#

@brazen hedge pressed the 🔌 API button in #help to ask a question:

Question
How can i pass the promo code to create a subscription with the price code?

Related Request ID(s)
--

What have you already attempted?
Pass the promo code into coupon code

#

@serene heron pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to not repeat payment methods? For example, a customer makes two payments with the same card, is there a way to filter that payment method to only get its payment method id and not create a new one?

Related Request ID(s)
Test customer ID: cus_PzoW8d8C21JyKY

What have you already attempted?
Note how the customer has the same linked payment method. I want to know if there is a field that helps me filter both in the payment form and in the complete payment function.

What are you working on?
It's a shopping cart, we need to not have repeated information.

atomic shuttleBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/3d-secure/authentication-flow#confirm-payment-intent

Question
does stripe support 3d secure for saved credit cards?
I use JS SDK -> stripe.confirmCardPayment() and pass saved credit card token as `payment_method`.

What have you already attempted?
3ds checkout for a NEW cards using PaymentElement on web works fine

What are you working on?
rebulding my checkout form

#

@devout basalt pressed the 🔌 API button in #help to ask a question:

Question
I want to show customer's payment method on my website. Is it possible to use Stripe.js + Elements for that? I don't want to collect customer's details yet, just to show what was saved before, but cannot find Element for that

Related Request ID(s)
No requests

What have you already attempted?
I was looking at Elements documentation, but all I found so far relates to building checkout page

atomic shuttleBOT
#

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

Code
\Stripe\Stripe::setApiKey($this->stripeSecretConnectKey);

    try {
        // Send the invoice by retrieving it first
        $invoice = \Stripe\Invoice\:\:retrieve\($invoiceID, \['stripe\_account' =\> $acc\_id\]\);
        $invoice\-\>sendInvoice\(\);
        dump\($invoice\);exit;
        return $invoice;
    } catch \(\Throwable $th\) {
        dump\($th\-\>getMessage\(\)\);
        exit;
    }

Question
I want to send invoice using API.

What have you already attempted?
I have create a customer under connected account created invoice created invoice item and now i want to sendinvoice using api

What are you working on?
send invoice using API

#

@hexed bloom pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
VAT to not be charged for B2B transactions

What actually happened?
VAT is being charged

Reproduction Steps
None, this is happening on recurring subscriptions

Question
We are using Stripe Tax to calculate taxes on our invoices for a while now.
And we just noticed a bunch of new invoices which are charging VAT where a reserve VAT charge should take place

The subscriptions have Stripe tax enabled
The customers have a VAT number which hasn't changed in the last months

atomic shuttleBOT
#

@blissful patio pressed the 🔌 API button in #help to ask a question:

Question
I need to add a description to an invoice of a subscription.
In my flow, using payment intents I create the subscription and then I confirm the payment.
Right after I create the subscription, and before I confirm the payment, I get the latest invoice Id from the subscription to update the invoice description but im receiving as an error: Finalized invoices can't be updated in this way.

The invoice is being shown as finalized, but the status remain open.

Related Request ID(s)
req_9RODziEfXIKftv

What have you already attempted?
What Ive described above

#

@cosmic anchor pressed the 🔌 API button in #help to ask a question:

Question
Adding `"customer_creation": "always"` does not create the customer for one time payments.

Related Request ID(s)
evt_1PBIyQAaUAsw03BSt9bfkd5X

What have you already attempted?
I've already added customer_creation: "always" in my json when using embedded checkout, but it when i receieve the webhook, or get the session later on, i only get the customer email

#

@final jetty pressed the 👍 Best Practices button in #help to ask a question:

Question
When card payments fail on the Stripe hosted checkout, is the user presented with the information that their payment failed or are they redirected regardless of the status of the payment_intent?

Doc/Guide Links
https://docs.stripe.com/checkout/quickstart

What are you working on?
Semi custom checkout page built using the Stripe-hosted Stripe Checkout

#

@stray ruin pressed the ❌ An Error button in #help to ask a question:

Error Message
"Failed to connect" using Tap To Pay

Question
I have been trying to enable the Tap To Pay feature on the Stripe Dashboard app, but when I attempt to use the Tap To Pay feature, I receive a 'Failed to connect' error. My phone is a OnePlus Nord2, and NFC, location, and Bluetooth are enabled.

What have you already attempted?
Restarting the phone, restarting NFC, reinstalling the app.

#

@versed patrol pressed the 🪝 Webhooks button in #help to ask a question:

Question
Does refunding ACH payment intent through the Stripe dashboard also triggers "charge.refunded" event?

Related Event ID(s)
charge.refunded

What have you already attempted?
I know that it does it for credit, but curious if it works for ach.

#

@final obsidian pressed the 👍 Best Practices button in #help to ask a question:

Question
Are there any best practices to implementing 3DS in UK/Europe? When processing a payment through 3DS, it's taking up to 12 seconds to show the modal window, which is long as you would expect it to be less.

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

What are you working on?
online payment processing for nonprofits

#

@mossy vault pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/subscription-schedules

Question
We create a subscription with a free trial that is configured to pause at trial end if the customer doesn't provide their payment information. Then, the customer provides the payment details and the subscription is set to active. But then, we try to schedule a subscription update from the Dashboard and we get the error message : " You cannot create a subscription schedule from a subscription that is configured to pause at trial end. Update the subscription `trial_settings[end_behavior][missing_payment_method]` before creating a schedule. "

What have you already attempted?
We've tried different things from the Dashboard. Through the API, if we modify that parameter it works, but we would need to find a way to achieve it through the dashboard. Is this currently possible?
Thank you in advance!

#

@stone stag pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Using the stripe connector for salesforce.com I'm not seeing the payments being saved for off session.

What actually happened?
the customer account was created and i see the payment but i can't use the card for future purchases.

Reproduction Steps
Used flow builder in stripe to configure what i needed to come over to stripe from the opportunity. ran the flow for that purchase and then verified what was in Stripe.

Question
I see there is a parameter "payment_intent_data[setup_future_usage]"="off_session"

But i don't see an equivalent option in the stripe connector

#

@lime bear pressed the 🪝 Webhooks button in #help to ask a question:

Question
we listen for account.updated (api v 2020-08-27), but we don't see the payouts_enabled flag. Example accout (test) acct_1PB8B9B4nNuGGTKk

Related Event ID(s)
evt_1PBG3hB4nNuGGTKkpjz0vqTb

What have you already attempted?
I read the stripe API.

What are you working on?
Multi merchant booking system

atomic shuttleBOT
#

@west sable pressed the 🔌 API button in #help to ask a question:

Question
How come the API returns useless error messages to the end user that don't make sense instead of the actual documented error message on the declines page. (ex: invalid_account: "The card, or account the card is connected to, is invalid.") https://docs.stripe.com/declines/codes#:~:text=The card%2C or account the,the card is working correctly

Related Request ID(s)
ch_3P8rpzF6KG2nMs1l1zsK30pO

What have you already attempted?
I contacted standard support, but they aren't capable of understanding the issue and continue to tell me things that don't make sense :(

#

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

Code
const session = await stripe.checkout.sessions.create(
{
client_reference_id: 'matteo',
payment_method_types: ['sepa_debit'],
ui_mode: 'embedded',
mode: 'setup',
redirect_on_completion: 'never',
},
{
stripe_account: 'acct_1P86PIFtGWHXwYgK'
}
);

Question
after I added the stripe_account parameter I get the following error
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payment_page: 'cs_test_c1L0RLvQxYM7TR19EXfdr03bRUQRuU5ei7ZYLfV0ss1eeNop3udoPHCE8J'",
"param": "payment_page",
"type": "invalid_request_error"
}
}

what should I do setup a payment for a connected account?

What have you already attempted?
Read documentation

#

@upbeat panther pressed the 👍 Best Practices button in #help to ask a question:

Question
There is no PayPal option on the Stripe dashboard forme.
Does Stripe intentionally not offer the PayPal payment method in the US, or is there another way to enable PayPal on a US account?

Doc/Guide Links
https://docs.stripe.com/payments/paypal

What are you working on?
Integrating Stripe instead of another provider.

#

@modest cloak pressed the 🔌 API button in #help to ask a question:

Question
Our platform has two checkout flows (Online using Stripe Checkout, and in person using a WisePOS E terminal). With Stripe checkout we use coupons, prodicts / prices, and automatic tax calculations. however, I'm not seeing a way to use any of these with the terminal reader API, I have to create a payment intent with an end price, and it's missing the line items that get used in the receipt and sent over email, and is missing auto calculated taxes. Is there a way I can have these two flows work a bit closer and follow a similar process?

Related Request ID(s)
N/A

What have you already attempted?
I have stripe checkout working completely as expected. However, the flow for the terminal checkout is not quite working as expected because it doesn't seem like I'm able to reference products / coupons or use automatic tax calculation based on the terminal's location

atomic shuttleBOT
#

@sonic nebula pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/usage-based-legacy/migration-guide

Question
I am trying to set up usage based billing. Right now we use subscriptions but that does not scale well as we have a unique subscription per customer. Would love to just keep track of usage per customer and bill of the meters. One of the many things we price on is how many customers our customers have in our app. I want to be able to use the max value of the customer count in a billing period. However it seems like max is not supported in meters yet, says coming soon. Anyone know any details or how to get a workaround of this?

What have you already attempted?
Have used subscriptions before. But again does not scale well right now for us. Could build hacky reporting of meter events that deletes and adds the greatest number of customer count in a billing period but again doesn't feel very clean. I guess I am just surprised this is not a common enough usage of metering that it is not out yet.

#

@silk python pressed the 🔌 API button in #help to ask a question:

Question
Can you help me setup an account session with the account id of the connected account?

Related Request ID(s)
log id: req_4qFs5gsgJBFU0Q

What have you already attempted?
I am creating an account session to render the payment component,

https://docs.stripe.com/connect/connect-embedded-components/quickstart

atomic shuttleBOT
#

@foggy bolt pressed the 🔌 API button in #help to ask a question:

Question
I need to implement a subscription system for my customers. I need to add a discount to the subscription. There are two types of discounts. A flat discount which I can apply easily by changing the final subscription value but then another discount which reduces over time. So for example on an order value of 100 and a subscription time of 4 months, if there is an expiring discount of 125, then I want the first subscription to charge $0 and the next one to charge $75 and then the remaining 2 to charge $100. How can I achieve this?

Related Request ID(s)
Non

What have you already attempted?
I have attempted standard subscriptions with a constant payment amount.

What are you working on?
A payment system

#

@radiant olive pressed the 🔌 API button in #help to ask a question:

Question
Is there a way for us to be able to retrieve events longer than 30 days via the API?

Related Request ID(s)
https://dashboard.stripe.com/events/evt_1OovFhKisS78xILJ6YGlZ6hC

What have you already attempted?
In our business (CE Broker) we've ran into an issue which led us to lose data into our databases which is coming from a webhook integration that runs every time a subscription is renewed in Stripe. We should be able to manually resolve this situation by looking at old events in Stripe and manually resending them for our sync process to finish the job. The constraint we have is that the Stripe API only will be able to return us data up to 30 days, and we've gotten cases around ~1 year old.

What are you working on?
A system in charge of syncing a database for our system with users subscription transactions

#

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

Code
const session = await stripe.checkout.sessions.create(
{
client_reference_id: 'matteo',
payment_method_types: ['sepa_debit'],
ui_mode: 'embedded',
mode: 'setup',
redirect_on_completion: 'never',
},
{
stripe_account: 'acct_1P86PIFtGWHXwYgK'
}
);

Question
after I added the stripe_account parameter I get the following error
{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payment_page: 'cs_test_c1EYErbkrwjWsn9SyYd0Nl2vA6oU2wShUjTrQdP3Nx1a7hPppOeUjJSem6'",
"param": "payment_page",
"type": "invalid_request_error"
}
}

what should I do setup a payment for a connected account?

What have you already attempted?
Read documentation

What are you working on?
Business management software for gyms.

#

@unique rose pressed the 🔌 API button in #help to ask a question:

Question
We have an instant payout that is failing with the error "`instant` is not a supported method for payouts to a `bank_account` external account". We contacted regular Stripe support about it and they said there is a 60 day "block" in place on this connect account where no instant payouts can be sent (until 6/5/2024). The connect account shows plenty of $$ cleared for "instant" payout, so I suspect this is due to the block. I'm wondering if this "block" is viewable via an API call?

Related Request ID(s)
req_wx5UffClnz4ELf

What have you already attempted?
Contacted Stripe Support

What are you working on?
Paw Parter Payments

#

@craggy vigil pressed the 🔌 API button in #help to ask a question:

Question
How do we in test mode attach a test credit card as a payment method to either a customer or a subscription?

Related Request ID(s)
req_6phtdMbg2Lf3lo

What have you already attempted?
I did see documentation on PM tokens, https://docs.stripe.com/testing but saw its related to directly with payment intents and none mentioned for payment methods

What are you working on?
Stripe integration dev tooling

#

@gusty hollow pressed the 🔌 API button in #help to ask a question:

Question
Hiya - I'm trying to work out how the embeddable onboarding for connected accounts is supposed to be working.
I get the embedded widget, but all it does is show a button that when clicked, opens up a new window which kind of invalidates the idea of embedding the form...

Related Request ID(s)
req_Qk3lh4035x6J5g

What have you already attempted?
just followed the implementation guide step by stem

#

@silk python pressed the 🔌 API button in #help to ask a question:

Question
Integrate with Connect embedded components is not working.

Related Request ID(s)
req_nlGVcAuHdkTgsI

What have you already attempted?
I create account settings successfully. But account session client secret it not working with connected account test publishable key

#

@prime goblet pressed the 🔌 API button in #help to ask a question:

Question
After you have created a subscription using a checkout session with mode "subscription",

How would you get the assigned metadata after the user has paid again.

For example when I first complete it I get a checkout.session.completed, which contains a metadata, so I can give the user the 50 items they got from their subscription by a userId in the meta data.

But 1 month later (timeframe), the `invoice.payment_succeeded` and `charge.succeeded` does not contain the metadata with the userId,

Same for the subscription panel on the website.

Related Request ID(s)
NA

What have you already attempted?
I have tried getting the checkout session with the metadata, but I am unsure if that is the right way of doing it because it is not the webhooks called.

#

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

Code
```
await stripe.subscriptions.cancel(activeSubscription?.id, {
invoice_now: true,
});
```

Question
We do use the usage based model and this is how we can cancel a subscription and raise the invoice for usage spent. It says that the charge will be done in an hour or so. How can we charge the user immediately right after the cancelation?

What have you already attempted?
I do not remember. Lots of tries

What are you working on?
Cancel a usage based subscription for cloud resources

#

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

Question
With SCA you can specify setup_future_usage: off_session. Is there anywhere in the API that one can see whether a payment method has been set up for future use?

Related Request ID(s)
N/A

What have you already attempted?
Read the API docs

What are you working on?
Saving card tokens for future off_session use. Also needing to check tokens saved from before SCA.

atomic shuttleBOT
#

@patent meteor pressed the 🔌 API button in #help to ask a question:

Question
I am creating a subscription for my customers, however the products have different prices for each currency. If my customer loads the stripe checkout page, the subscription intent is created, however they can leave the page and go back to select another currency. That's when I get this error:

You cannot combine currencies on a single customer. This customer has an active subscription, subscription schedule, discount, quote, or invoice item with currency ron.

will continue in thread.

Related Request ID(s)
-

What have you already attempted?
-

What are you working on?
A website for charity where people can create subscriptions to pay monthly or directly donate via stripe with one time payments.

#

@timid ember pressed the 🔌 API button in #help to ask a question:

Question
For https://docs.stripe.com/terminal/features/collecting-tips/on-receipt

It says available only in the US. Does it mean the store locations in the US, or does the stripe account have to be an US based account?

Related Request ID(s)
Not applicable

What have you already attempted?
Looking at the documentation

What are you working on?
We are trying to implement collect on receipt tips for the Stripe Terminal

atomic shuttleBOT
#

@prime goblet pressed the 🔌 API button in #help to ask a question:

Question
After you have created a subscription using a checkout session with mode "subscription",

How would you get the assigned metadata after the user has paid again.

For example when I first complete it I get a checkout.session.completed, which contains a metadata, so I can give the user the 50 items they got from their subscription by a userId in the meta data.

But 1 month later (timeframe), the `invoice.payment_succeeded` and `charge.succeeded` does not contain the metadata with the userId,

Related Request ID(s)
NA

What have you already attempted?
Adding the meta data to the subscription

#

@flat perch pressed the 🔌 API button in #help to ask a question:

Question
I am using Stripe Elements React SDK on my front-end to implement a custom checkout flow that results in a subscription signup. Is this setup on the frontend entirely incompatible with the `CheckoutSession` API? The docs feel confusing because there is both a normal checkout process as well as the Checkout product.

Related Request ID(s)
req_0HC6W7Z8zEu1Vc

What have you already attempted?
Nothing, I'm trying to figure out what to try plugging into the Sessions element. There is a client_secret value on the Session object that returns from `stripe.checkout.sessions.create` but its null. There's also `stripe.initCustomCheckout` in Stripe.js, but that is asking for a client secret and not providing one

What are you working on?
subscription app with an academic customer base who tends to send invoices to accounts payable instead of paying themselves

#

@modern sphinx pressed the 🔌 API button in #help to ask a question:

Question
Hello,

Problem is renewing out of band paid sub :
If a customer renew it 6 months before the end : we receive and collect a check, so we need :
- to create an invoice (without waiting the end of the current subscription in 6 months)
- update the "cancel_at" of the subscription to "current_cancel_at + 1 year".

Problems :
- invoice is not created now
- Updating the "cancel_at" is subject to errors because "+1 year" is computed by us. It generate a (future) invoice with a price which differs from the real "one year subscription price" (by some cents).

Related Request ID(s)
req_esSZVhNT4cz12K

What have you already attempted?
I tried a lot of things, with SubscriptionSchedule, phases, manually creating invoices... but the behavior is never the one we need.
Often it delays the entire process (so there is no invoices), create new futur sub, etc.

A property "iteration" in a subscription with the possibility to create an invoice right away would have been perfect. Behavior would have to advance the "current_period_end", and the subscription would still have "cancel_at_period_end" to true.

What are you working on?
Centralize subscriptions (card and out of band) of my company website, wich have subscriptions which unlock features on the website.

#

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

Code
```
await stripe.subscriptions.update(subscription.id, {
items: [
{
price: supportProduct.default_price as string,
},
],
});
```

Question
We have a payed support plan with the same duration as our subscription plan. Here is how we can add a new pricing to the user subscription plan. How we can charge the user for the price amount before adding it to the user subscription? We don't want to allow used to add addon to the base subscription before they actually pay for it.

What have you already attempted?
Few examples from Chat GPT

#

@normal dust pressed the 🔌 API button in #help to ask a question:

Question
We are facing an issue now in sandbox environment, where we do not get data inside charges in payment intent response. This behaviour is intermittent.

Related Request ID(s)
None

What have you already attempted?
We are getting the response intermittently.

#

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

Code
const [is_loading, setIsLoading] = useState(false)
const stripePromise = loadStripe(stripe_api_key)
function convertCurrencyStringToNumber(currency_string): number {
const float_number = parseFloat(currency_string.replace('$', ''))
const integer_number = Math.round(float_number * 100)

return integer\_number

}

useEffect(() => {
paymentProcessingCallback(is_loading)
}, [is_loading])

const stripeOptions: StripeElementsOptions = {
mode: 'subscrip

Question
I am working on getting this payment element to not reload during the checkout. Example user enters their card, then they remove an item from the cart causing a hotreload to the page, and wiping out the users card number. I am wondering if anyone could give some insight into this and their thoughts on what to do.

The end result of this, is that the user is logged in and when they click checkout we create a payment method for their account, then process the order.

What have you already attempted?
The code listed here.

atomic shuttleBOT
#

@gusty hollow pressed the 🔌 API button in #help to ask a question:

Question
Is there a setting to update the maximum with for the embedded onboarding component?

Related Request ID(s)
n/a

What have you already attempted?
worked though the docs

atomic shuttleBOT
#

@slim heron pressed the 👍 Best Practices button in #help to ask a question:

Question
I have a specific process in mind that I want to implement with Stripe. I'm wondering if the methods I'm planning to use align with Stripe's intended functionality at the same asking if there is a better and clean solution

Doc/Guide Links
I have two features that I need to implement:
- creating payment methods for users so I can charge them later, my plan is to utilize a combination of a 'Payment element' to facilitate the creation of a payment method using 'create.stripe.createPaymentMethod'. This process will take place on the client side. Subsequently, I will send the created payment method ID to the server and attach it to the user for future use.
- charging payment methods, the client will send the ID of the chosen payment method and the amount to the server to create a payment intent. The server will then confirm the payment intent with the provided payment method simultaneously.

What are you working on?
a mobile app

#

@sinful igloo pressed the 🔌 API button in #help to ask a question:

Question
What is the best procedure for clearing customer data when requested? We use subscriptions and have customer records. We would want some sort of process that basically cancels the subscription and clears all the user's data from our stripe account.

Related Request ID(s)
none

What have you already attempted?
nothing

What are you working on?
Subscription based SAAS Product

atomic shuttleBOT
#

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

Code
```
if (shouldTerminateNow) {
await stripe.subscriptionItems.del(
activeSupportSubscriptionItem?.id as string,
{
proration_behavior: "none",
}
);
} else {
await stripe.subscriptionItems.update(
activeSupportSubscriptionItem?.id as string,
{
proration_behavior: "none",
}
);
}
```

Question
We would like to do a two cases then someone want to unsubscribe from a add-on service during basic subscription with flat monthly fee. if `shouldTerminateNow` is `true` we just remove it completely. But if it's `false` we would like to schedule it removal at right before the billing period is triggered. How can we do that?

What have you already attempted?
Lots of things

atomic shuttleBOT
#

@open hamlet pressed the 👍 Best Practices button in #help to ask a question:

Question
I am wanting to use checkout sessions, and I noticed that though you can include an email on the forum, is there anyway to validate the email before purchase? We basically don't want the same email to purchase twice.

Doc/Guide Links
I've mostly been reading docs (https://docs.stripe.com/api/checkout/sessions) and looking through code for related strategies.

What are you working on?
Making a membership product that is unique to emails.

#

@visual urchin pressed the ❌ An Error button in #help to ask a question:

Error Message
You cannot create a charge on a connect account without the 'card_payments' capability enabled.

Question
Integrating Stripe connect payments in Bubble. Unable to get test accounts to accept card payments. No way to verify the account details of the connected account to get card payments set up.

What have you already attempted?

  1. Getting connect accounts to accept card payments in the Stripe test environment: https://www.loom.com/share/c1d74d3a8daf42d09905e94d92e1e584

  2. Sending connect test accounts payouts to the stripe API via Bubble: https://www.loom.com/share/f2ad91e7c38c4562b541cc0028518ee1

Reproduction Steps
See recorded vids above

  1. Create a stripe account
  2. Go into test environment
  3. Onboard a new connect account
  4. Try to pay that connect account with credit card details

What are you working on?
A marketplace to accept payments and pay vendors.

atomic shuttleBOT
#

@neon plank pressed the 🔌 API button in #help to ask a question:

Question
Hello Developers ,
We are facing a problem for very long now , the problem is how can we stop Stripe to send invoice to clients automatically from its server in express account. We are using our own server which send captures the data from Webhooks and then send it to client's email address with help of make.com. But After 1 min Stripe also sends the same invoice. The option "Send finalized invoices and credit notes to customers" we want to turn off this but when clicking on Emails and subscription in Express account it says Permission not granted . I am the admin of Platform and express Acc.

Related Request ID(s)
NA

What have you already attempted?
We have done Set Auto Advance to true in API and False in webhook. We even turned off the option
"Send finalized invoices and credit notes to customers" in main platform but its greyed out in express account dashboard.

What are you working on?
I want to send an Invoice to Client from my custom Email server in express account ( Connect Account).

#

@open prism pressed the 🔌 API button in #help to ask a question:

Question
I have a question about subscription invoices. I understand invoices will be in the draft state for about an hour during the renewal process prior to payment attempt. This poses a problem if we try to modify the subscription during this stage because a new invoice is generated and the draft invoice will be collected as usual. This has been extremely confusing for our customers. Is it not possible to edit the draft invoice with the new products/prices? Or even better, void or delete the draft invoice prior to making changes to the subscription (thus only generating a single invoice/payment)?

Related Request ID(s)
N/A

What have you already attempted?
Attempted to void subscription invoice in the draft state but was unable to. Attempted to remove line items from the invoice but was unable to

#

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

Code
{stripeConnectInstance ? (
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectPayments />
</ConnectComponentsProvider>
) : (
<p>Loading...</p>
)}

Question
When I rendere this component. it shows my platform name in "from" field. Can I show the customer name or account here.

What have you already attempted?
https://docs.stripe.com/connect/supported-embedded-components/payments

What are you working on?
i am developing mern stack application - event management

#

@lethal current pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We are a Connect platform using a "separate charge + transfer" method of capturing payments, via PaymentIntent. In some cases, we create the PaymentIntent with `set_future_usage: off_session` -- our expectation was that when the new Link payment method was introduced that we because we are using the Payment Element, we didn't need to update anything to support Link

What actually happened?
today we had an error reported where an off session charge was attempted when the original PaymentIntent was completed using the "link" payment method. This was a new and unexpected error. The error message was:
```
invalid_request_error
The PaymentMethod provided (link) is not allowed for this PaymentIntent.
```

Reproduction Steps
Hmmm... I'm not sure how to describe the reproduction.

  1. Checkout using a Payment Element, where the backing PaymentIntent is configured for `set_future_usage: off_session`
  2. Checkout using the Link payment method
  3. Later, try to initiate a future change using the saved payment
  4. See error above

Question
Are there any gotchas or caveats regarding usage of Link with "set_future_usage"? I've looked through the docs and so far have not found anything.

What are you working on?
Connect platform for sports teams and leagues (Express)

#

@shrewd coral pressed the 🔌 API button in #help to ask a question:

Question
I want to retrieve the charge but I am getting No such charge: 'ch_3OqxklCg5ZKHuI4E0aOpsnrA' as I mentioned the charge id as well you can take a look. we are using stripe connect to charge customers. when i tried to list all the charges then I get this id in list not sure what's happening?

Related Request ID(s)
ch_3OqxklCg5ZKHuI4E0aOpsnrA

What have you already attempted?
I tried paymentintent to list all and getting id's but when i put the individual id getting error no scuh pi_*** id exists same thing happening for transactionbalance

What are you working on?
just want to retrive the charge

atomic shuttleBOT
#

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

Code
const account = await stripe.accounts.create({
controller: {
stripe_dashboard: { type: 'none' },
fees: { payer: 'application' },
},
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
country: countryCode,
});

Question
In stripe.accounts.create, country is required. If I want to expand my business to the whole world, do I have to create a form on the front end to enter the countryCode of each user?
Or is there some kind of component provided by Stripe?

What have you already attempted?
We use "countryCode" as an argument

#

@ionic cypress pressed the 🔌 API button in #help to ask a question:

Question
What is the recommended method to charge an express account? We use transfers to send them money, but unsure of the proper method to take a payment.

Related Request ID(s)
N/A

What have you already attempted?
I have read the documentation for direct charges and destination charges, but unsure of which one I should be using.

What are you working on?
Automated commissions tool that pays our affiliates their commissions automatically. Need the ability to charge them for any services they purchase. Idealy using their connect express account.

#

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

crimson needle
#

👋 everyone! We are currently closed for a few hours and will reopen tomorrow May 1st at 9am EST (13:00 UTC)

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

#

@feral delta pressed the 🔌 API button in #help to ask a question:

Question
Hello, it is my understanding that CVC checks are sometimes not checked when using setupintents in order to reduce card testing fraud.
reference: https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge#:~:text=To prevent card testing%2C Stripe,when card testing is likely.

Just wondering, in the case that a card is setup with incorrect CVC and goes through, is it possible that a later payment using that card gets rejected because CVC was incorrect at the time? If so is there an api solution to mitigate this?

Related Request ID(s)
NA

What have you already attempted?
Read docs, play with test env

#

@mossy bison pressed the 🔌 API button in #help to ask a question:

Question
We are a platform that helps organizations reactivate canceled subscriptions through email campaigns. (End-customer lands on our custom page with Stripe Elements to enter payment info, and we create a new sub based on the canceled one). One of our customers complained that we were not copying over the transfer_data and on_behalf_of fields. I wrote a script to fix the existing reactivated subs (subscription.update and adding those values from the old subs), and I run into an error, even if using an API Key the customer gave us. I think this is because they are also a platform??

Related Request ID(s)
req_aHOblQSDK81PQW

What have you already attempted?
The error: "You cannot make a destination charge on a connected account. You must either make the request on your own account (by using your platform's API key, and not using the `Stripe-Account` parameter), or remove the `destination` parameter."

I am very confused about this whole destination charges feature and how we're supposed to deal with it in my platform. It seems I should be able to update the sub with the API Key my customer provided and set transfer_data, no?

What are you working on?
Churnkey, an app that helps with cancel flows, failed payment recovery, and reactivations

#

@hollow crown pressed the 🔌 API button in #help to ask a question:

Question
We are integrating Google pay with Stripe SDK, but in pay.google dashboard we are unable to continue as it gives error when adding business profile
error code is - OR_CSMH_02

Related Request ID(s)
"An unexpected error has occurred. Please try again later. [OR_CSMH_02] OR_CSMH_02"

What have you already attempted?
We have verified our payment profiles

#

@restive fox pressed the 🔌 API button in #help to ask a question:

Question
for testing purposes, im trying to get my account in a state where i have no terminal locations set up on my account. the api response contains "Invalid param: location, found: tml_EUiXwxH6Vr2d7B, Cannot delete Location tml_EUiXwxH6Vr2d7B because there are readers registered to it" but the UI says no readers are registered

Related Request ID(s)
req_mBmsRHmkO02OmP

What have you already attempted?
using API and UI to remove location

#

@alpine jay pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, I am working on a platform that requires to implement geolocation based pricing, but they already have a product that is live, by product I mean stripe product. However we want to provide native currency support for multiple regions. How would I go about implementing that.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/multi-currency-prices

What are you working on?
We are working on a platform for tech professionals, that want to keep up to date with current technology trends.

#

@hollow lintel pressed the 🔌 API button in #help to ask a question:

Question
My Question for the Stripe tax calculation.

Related Request ID(s)
no id

What have you already attempted?
I have configured Stripe Tax for Washington state and registered the other 50 states through the registration tab. However, when using the Stripe SDK to calculate the tax, it returns a rate of 0%. Do you have any idea why this might be happening?

What are you working on?
Stripe tax calculation

#

@final obsidian pressed the 👍 Best Practices button in #help to ask a question:

Question
Are there any best practices to implementing 3DS in UK/Europe? When processing a payment through 3DS, it's taking up to 12 seconds to show the modal window, which is long as you would expect it to be less.

While looking at the Network tab, I can see that "StripePaymentIntent" is taking the most time. When opening it, the "Waiting for server response" is taking all the time. Hence, I am not sure if this is related to wifi issue or from Stripe. The location is in UK.

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

What are you working on?
online payment processing for nonprofits

atomic shuttleBOT
#

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

Question
Can I add text in the following format to the footer on the invoice? Also, can I push the footer down the page of the invoice?

Related Request ID(s)
-

What have you already attempted?
-

#

@tepid harbor pressed the 🔌 API button in #help to ask a question:

Question
I sometimes get errors when receiving payments with Stripe. I couldn't understand it because it wasn't constant. Additionally, I couldn't understand where the problem was in the error logs.

Related Request ID(s)
req_7KAhRh2Kg4FtoA

What have you already attempted?
I tried to understand the problem, but I could not reach a conclusion from the JSON example in the error log.

What are you working on?
I'm working on a food ordering application. The problem occurs when the user wants to place an order. The problem occurs when creating or updating the customer. I can't detect it because it doesn't oc

#

@ocean kayak pressed the 🪝 Webhooks button in #help to ask a question:

Question
We recently discovered that there is an alternative way to pay for products. Through the app users use Stripe Checkout, but there is another way through the Stripe billing portal. How do I know which webhook I should be listening to so that we know when customers pay via the billing portal?

Related Event ID(s)
Stripe billing portal

What have you already attempted?
We have invoice paid hook that works but the portal is on a different hook

#

@barren granite pressed the 🔌 API button in #help to ask a question:

Question
i want to save default payment on subscription schedules.

Related Request ID(s)
123

What have you already attempted?
i want to save default payment on subscription schedules.

#

@copper ingot pressed the 👍 Best Practices button in #help to ask a question:

Question
I currently store a customers currentBalance in mongo. I offer a pay-as-you-go plan. Are there any draw backs to using stripe to store this balance? The API would be called pretty often, since I run a Telco platform. Customers have the option to switch to unlimited, which just creates a subscription in stripe. But I wonder if also storing their payasyougo balance in stripe would also be a good thing. Thanks!

Doc/Guide Links
https://docs.stripe.com/api/customers/create

What are you working on?
Billing

atomic shuttleBOT
#

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

What did you expect to happen?
For my sales to be acknowledged in the sales report

What actually happened?
the company uses the Mindybody system and when using Atrioe
it does not reflect in our sales report.

Reproduction Steps
n/a looking for customer service to help

Question
how can I edit this to reflect

#

@pallid obsidian pressed the 🔌 API button in #help to ask a question:

Question
we use the stripe API to process payments on behalf of our customers using our SAAS platform.

we request all customers to open a stripe account if they wish to process payments and in our configuration settings, they can add their test and live keys.

previously we used to ask the customer to speak to stripe to enable MOTO payments, as often they are on the phone to their customers when payments are processed through our platform.
Recently this hasn't been possible so new customers cannot process payments.

Related Request ID(s)
not applicable as logs are in our customer accounts

What have you already attempted?
after advice on whether there is a different way to approach this

What are you working on?
SAAS platform

atomic shuttleBOT
#

@devout crater pressed the 🔌 API button in #help to ask a question:

Question
Im using checkout out session with mode setup to save customer cards for future use and later charging them offline after some event. Now if the payment_intent is failed because of "require_authentication", can we somehow bring stripe hosted page back in the flow or i just implement Elelements in our app to reuse that payment intent which failed and call confirmPayment myself?

Related Request ID(s)
#

What have you already attempted?
Setup customer payment methods, handle payment events in webhooks

What are you working on?
Build a marketplace

#

@hoary scroll pressed the 👍 Best Practices button in #help to ask a question:

Question
For our app, we want to add a feature so that if a user cancels less than 2 days before the subscription renews, the user is not eligible for a refund and will be charged for the next month. How do I set this up via code?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/cancel#cancel-at-the-end-of-a-future-billing-cycle

What are you working on?
ie. Subscription set to renew on May 30th. Patient cancels on May 29th. It's < 2 days so they are not eligible for refund. This patient should be billed on May 30th then immediately cancelled

#

@vagrant ibex pressed the 🔌 API button in #help to ask a question:

Question
we need to update the user's default source. As soon as we do this, we wait for a webhook from the stripe to update the data in the backend system. The problem is that sometimes we receive previous_attributes->default_source in the response, and sometimes delinquent, which breaks the webhook processing logic. can you advise what to do?

Related Request ID(s)
evt_1PBZVsJaf89hC41I8DpE5YOO

What have you already attempted?
nothing, trying to understand the logic

#

@polar cypress pressed the 👍 Best Practices button in #help to ask a question:

Question
I'm managing a project to integrate Apple Pay into our webapp as an alternative payment method, with a specific requirement to accept only debit cards. I need to know if this configuration is feasible and what technical considerations or limitations we should be aware of in implementing it. Any insights or guidance on how to approach this integration would be greatly appreciated.

Doc/Guide Links
https://docs.stripe.com/apple-pay#:~:text=Apple Pay is compatible with,as for other card transactions

What are you working on?
I am managing a project to integrate Apple Pay into our webapp, providing an additional payment option for our users.

#

@tropic bridge pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm trying to understand how can i distinguish from prices created from our integration vs prices created directly in Stripe

Related Event ID(s)
none

What have you already attempted?
I usually check if `application` is null to distinguish from actions triggered by the integration or the dashboard directly (not from Connect)

#

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

Code
[
'alipay',
'bancontact',
'card',
'eps',
'giropay',
'ideal',
'klarna',
'multibanco',
'sepa_debit',
'sofort',
'p24',
'wechat_pay',
'three_d_secure',
'paypal',
]

Question
I am trying to use PaymentElement and sending all payment_methods to it. Is it like I should only send currency specific methods ?

What have you already attempted?
[
'alipay',
'bancontact',
'card',
'eps',
'giropay',
'ideal',
'klarna',
'multibanco',
'sepa_debit',
'sofort',
'p24',
'wechat_pay',
'three_d_secure',
'paypal',
]

error is below

message
:
"The currency provided (usd) is invalid. Payments with alipay support the following currencies: cny, cad."
param
:
"deferred_intent.payment_method_types"
request_log_url
:
"https://dashboard.stripe.com/

#

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

Question
how to get the next invoice amount the user has to pay as soon as the new billing cycle starts?/

Related Event ID(s)
evt_1P7zmlGVCe8mF8QWowGqZk8P

What have you already attempted?
I am listening to customer.subscription.updated event but it is not giving the amount user has to pay

#

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

Question
I just have a couple of questions about when an email gets sent when an invoice is finalized.

Related Request ID(s)
req_y1u9mwPq1n6o5a

What have you already attempted?
Created an invoice all the way to open status. Do not see an email being sent to my @gmail.com email that is attached to the invoice. "customer_email": "chadeadams@gmail.com",

What are you working on?
Karate Monkey!

#

@pallid obsidian pressed the 🔌 API button in #help to ask a question:

Question
we use the stripe API to process payments on behalf of our customers using our SAAS platform.

we request all customers to open a stripe account if they wish to process payments and in our configuration settings, they can add their test and live keys.

previously we used to ask the customer to speak to stripe to enable MOTO payments, as often they are on the phone to their customers when payments are processed through our platform.
Recently this hasn't been possible so new customers cannot process payments.

Related Request ID(s)
not applicable as logs are in our customer accounts

What have you already attempted?
our customers can no longer enable MOTO payments via customer support - should we be doing something else?

What are you working on?
SAAS platform

#

@wheat flare pressed the 👍 Best Practices button in #help to ask a question:

Question
Is device type (e.g., mobile, iphone, desktop) exportable as part of some data object related to a payment?

I see it as a field in the UI on some transactions, but I don't see a way to export it

Doc/Guide Links
I've checked: https://docs.stripe.com/api/payment_intents/object

What are you working on?
Data analysis on our transaction data!

#

@little void pressed the 🔌 API button in #help to ask a question:

Question
We are attempting to use a Stripe Express\-connected account for payouts. For the time being, we've automated everything except the process of accepting the terms of service. The dashboard indicates that you can accept it using the API, but the API is not working. The response we get from the API is that it is only available for custom accounts. Could you please help us automate the payout process for an express account?

Related Request ID(s)
req_GS4WIXBlPbyk5I

What have you already attempted?
We are using the Stripe API to create connected accounts of type express and providing the payload for agreeing the terms of service.

What are you working on?
It's a project where we have to pay service providers after a particular period of time, and we want to use Stripe payout or transfers for that.

#

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

Code
class RequestsClient(HTTPClient):
name = "requests"

def \_\_init\_\_\(self, timeout=80, session=None, \*\*kwargs\)\:
    super\(RequestsClient, self\).\_\_init\_\_\(\*\*kwargs\)
    self.\_session = session
    self.\_timeout = timeout

Question
Hi is there any way to set the timeout value on the request client? The default timeout value of 80s is too high for some of the tasks we need to do.

What have you already attempted?
I've tried passing in `timeout` as a keyword to a Customer.modify request and that predictably didn't work.

#

@dire adder pressed the ❌ An Error button in #help to ask a question:

Error Message
This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter.; request-id: req_uUFOWGDUHkiOCY

Question
Hi there, so the mandate for the associated setup intent is inactive, and I think it's causing that.

What we're thinking to fix that from our side is to create SetupIntent and pass the mandate as part of that.
That way when we need to create the PaymentIntent later on, we won't hit that error.

Question:
Is there any way we can revoke a mandate in Stripe test env?

What have you already attempted?
Look into the docs in Stripe & Plaid

#

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

Code
await stripe.subscriptions.update(subscription?.id, {
items: [
{
price: product.default_price,
},
{
id: currentSubscriptionItem?.id,
deleted: true,
},
],
payment_behavior: "pending_if_incomplete",
proration_behavior: "always_invoice",
});

Question
This is the example we use to upgrade a user plan. As an example: User want to upgrade from the plan $5 per month to the $20 per month. The update is working fine and the charge is happened. But it applied the unused time as credits to the user and we charge $15 instead on full $20. Where is a way to always charge the full amount then we upgrade the subscription?

What have you already attempted?
Many things

#

@autumn cape pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best way to enable our connected express account users to process credit card payments over the phone from their customers without using Terminal?

Our users would like to be able to take credit card payments from their customers over the phone, but we do not plan to use Terminal with our users. Our users currently take payments through the secure embedded form that their customers fill out. We were wondering if our users can fill out the secure embedded forms on their customer's behalf while on the phone with them. We would plan to save their payment info as a token for subsequent transactions on their booking, no conversations would be recorded.

Doc/Guide Links
https://docs.stripe.com/terminal/features/mail-telephone-orders/overview

https://stripe.com/resources/more/what-are-card-not-present-transactions

What are you working on?
My team is building a B2B software that uses Stripe connect in the US. Our connected accounts are set up as Express accounts, and are tourism businesses that take payments through embedded forms.

atomic shuttleBOT
#

@cyan wedge pressed the 🔌 API button in #help to ask a question:

Question
I have an express onboarding flow for my platform where I'm requesting transfers.

Is there a way to check if transfers is enabled for a connected account using the api?

Related Request ID(s)
-

What have you already attempted?
-

#

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

Question
I'm getting a cors error in stripe integration when the checkout session is created

Related Request ID(s)
req_hBt3YtitTqhBhp

What have you already attempted?
Attempted app.use(cors());

What are you working on?
ecommerce site

#

@hazy steppe pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi, I'm building an app with Treasury+Issuing and was wondering if others have integrated directly with Stripe in their clients (mobile/web apps) or pass the data through their backend. Any insights here would be awesome!

Doc/Guide Links
https://docs.stripe.com/financial-services

What are you working on?
SMB payments platform

atomic shuttleBOT
#

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

Code
stripe prices create --currency=usd --unit-amount=1000 -d "product_data[name]"="Tiered stuff" --billing-scheme=tiered --tiers-mode=volume -d "tiers=[{up_to: 'inf', flat_amount: 10}]"

Question
What's the syntax for specifying tiers in the Stripe CLI? I'm following the documentation at https://docs.stripe.com/api/prices/create#create_price-tiers but can't figure out the syntax for "array of hashes"

What have you already attempted?
About a dozen different ways to format an "array of hashes" for tiers.
Lots of Googling and reading docs

What are you working on?
Building a checkout flow for subscriptions in which some (but not all) of the subscriptions will be tiered based pricing based on usage.

#

@sly girder pressed the ❌ An Error button in #help to ask a question:

Error Message
We were unable to decrypt your request. Please make sure you've generated and uploaded your Apple Pay certificate at https://dashboard.stripe.com/settings/payments/apple_pay

Question
I'm getting the above error message when trying to use Stripe SDK to create a token from an Apple Pay metadata.

What have you already attempted?
I already uploaded all the required Apple Pay certificates to Stripe dashboard. I checked and my Stripe publishable key is correct (I'm running in the test environment, so using a test key) and also double checked the merchant id, which is correct. Does Stripe require some time to process the certificate upload or something like that?

#

@rapid siren pressed the 🪝 Webhooks button in #help to ask a question:

Question
I have my Webhook configured to test in my development environment, but it is not firing nor is it trying to communicate with my API. When I have the local tests up on a terminal, it does work and everything arrives perfect, but when I shut it down and wait for it to reach the Dev API, I don't get any calls.

Related Event ID(s)
evt_3PBhGBLAwobXIPtp1rNf1AVn

What have you already attempted?
I am trying to make a payment from my App, consuming my API that communicates with Stripe, and I have the Webhooks set up correctly, but a few days ago this has stopped working. I don't understand the reason as I have the keys fine.

#

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

Code
const setupIntent = await stripe.setupIntents.create(
{
automatic_payment_methods: { enabled: true },
usage: "off_session",
customer: user.stripe.customerId,
},
{
stripeAccount: organization.stripe.accountId,
}
);

Question
I need to let users of an organization save payment methods. I am creating a payment intent in the backend and sending the id and client secret back to frontend. Frontend is giving an error because the publishable key is not that of the custom connect account. Is this the right way to save users' payment info? It seems to work fine in mobile, using payment sheets.

What have you already attempted?
API Docs

What are you working on?
Organization platform to collect payments from members of the organization.

atomic shuttleBOT
#

@hallow wadi pressed the 🔌 API button in #help to ask a question:

Question
We are sending usage records to subscription items as part of our SaaS product system. We have a customer failing to receive with the error: Cannot create the usage record with this timestamp because timestamps must be after the subscription's last invoice period (or current period start time).

Related Request ID(s)
req_ZQ15QKbNDYHxEN

What have you already attempted?
I attempted to see if other customers were experiencing the same issue. They are not. We do not understand why this customer's subscription is having issues.

What are you working on?
Prisma Data Platform

#

@foggy latch pressed the 👍 Best Practices button in #help to ask a question:

Question
We use plaid integration with Stripe to attach bank accounts to a Stripe Customer for Subscriptions. When a cusotmer with plaid-attached bank account gets charged for a subscription, it does not charge immediately and instead shows 'pending'. How can we emulate this in a test environment?

Doc/Guide Links
https://plaid.com/docs/auth/partnerships/stripe/

What are you working on?
N/A

atomic shuttleBOT
#

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

Code
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect

Question
Is there a limit to the number of payment method domains and subdomains we can verify in one account? We have a website (e.g. DOMAIN.com) that allows white label subdomains (e.g. customer1.DOMAIN.com). Are we limited to how many subdomains we can verify to enable wallet payments (reference: https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=dashboard#register-your-domain-while-using-connect)

I anticipate hundreds of subdomains long-term (300+)

What have you already attempted?
We've manually added a few subdomains in a test region (<10).

What are you working on?
We've fully upgraded our integration to the latest APIs, and are now enabling new payment methods.

#

@rapid sapphire pressed the 🔌 API button in #help to ask a question:

Question
We are a Connect platform, and one of our customers issued a refund against a payment on their connected account. We have saved a transfer record for this refund in our database, which we could have only received from the Stripe API. However, when I search for that transfer ID in the Stripe dashboard, it is not found.

Transfer ID: tr_1PBSek2HDRoZ2HuJyfMhKgoG

The refund they issued was against a disputed payment, which we know cannot be refunded. However, I would assume the request would fail? Somehow we got a transfer id back

Related Request ID(s)
req_agcGXZqkX7VMPd

What have you already attempted?
The request ID above is for a failed refund attempt yesterday. I'm not sure if it is related to the mystery transfer ID (tr_1PBSek2HDRoZ2HuJyfMhKgoG) we somehow recorded in our database.

I've been digging around the Stripe dashboard and workbench trying to understand where the transfer ID came from, and why our code didn't catch an error when trying to issue a refund against an already disputed payment.

What are you working on?
Platform for team and league management

#

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

Question
I need assistance using the API to create and apply tax to a generated invoice. I have created and stored the tax Id in SQL, and attached the tax_rate to the invoiceitem, yet no tax is added to the invoice.

Related Request ID(s)
req_ivazR46OUiNHQb

What have you already attempted?
I have coded most of the tax creation as well and invoice creation and finalization, and set invoiceitems to apply tax. But It is not adding tax to the invoice

#

@little void pressed the 🔌 API button in #help to ask a question:

Question
Not able to create payouts for bank Account Id though bank Account Id exists. It is throwing "No such external account: 'ba_1PBhpgIi5vpuVS8eFrUJxOFx'" internal server error.

Related Request ID(s)
req_YPUGkF0oMbJQoo

What have you already attempted?
Tried creating payouts using API

#

@plain vortex pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/features/apps-on-devices/overview

Question
We have purchased S700 DevKits readers to develop Android app on reader itself. S700 specification advertise that it support React Native SDK (in beta). However, the guide above only mentions building an app using Android SDK i.e Kotlin or Java. Though, https://github.com/stripe/stripe-terminal-react-native (Stripe Terminal SDK) does exists but I am if it supports React App on Readers. Is my assumption correct? Some context: We have already SPA apps with our unique experience built using React and we would like to port it on Smart Reader using React Native. More context below

What have you already attempted?
I have gone this through an example app on reader https://github.com/stripe-samples/terminal-apps-on-devices?tab=readme-ov-file and the example uses Android SDK with Kotlin. Further this Stripe Terminal React Native SDK https://github.com/stripe/stripe-terminal-react-native have its v0.0.1-beta.16 mentioning support support for S700 (read only) but no where same support the Android SDK one. Our SPA apps uses stripe UI elements with Stripe backend integration to process payment in person using Stripe Reader

What are you working on?
Building Experience through App on Smart Reader

#

@storm imp pressed the 🔌 API button in #help to ask a question:

Question
How do we apply an invoice template to an invoice via the api?

Related Request ID(s)
n/a

What have you already attempted?
We have created the invoice template in production, but cannot find how to either 1. make it the default template 2. apply it to a specific invoice. is there a template id we pass with invoice creation?

What are you working on?
We are offering group billing, where we have multiple line items that must be grouped a certain way. invoices are generated via API.

#

@tawdry tusk pressed the 🔌 API button in #help to ask a question:

Question
App-DTR1lsV8.js:121 Uncaught (in promise)

loading Stripe Card form doesnt load, returns this error

App-DTR1lsV8.js:121 Uncaught (in promise)
Ne {message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
code
:
"ERR_BAD_REQUEST"
config
:
{transitional: {…}, adapter: Array(2), transformRequest: Array(1), transformResponse: Array(1), timeout: 0, …}
message
:
"Request failed with status code 404"
name
:
"AxiosError"
request
:
XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: fa

Related Request ID(s)
e

What have you already attempted?
Cors and more

#

@lime bear pressed the ❌ An Error button in #help to ask a question:

Error Message
online_or_offline_pin_required

Question
We use stripe terminals, of which you, Stripe, control all the client interactions. Why then do we get this error on a card-present transaction. I have noticed a number of them today.

What have you already attempted?
Looked at the Stripe logs
https://dashboard.stripe.com/logs/req_NZ1LOxYFcGMCEe?t=1714573719

Reproduction Steps
I do not know how I would reproduce this.

What are you working on?
Multi merchant application

atomic shuttleBOT
#

@heady rain pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best practice for presenting saved user payment methods in a web UI?

Doc/Guide Links
Is there a Stripe Elements that helps us here, or do we need to create custom elements?

What are you working on?
Organizations charge users membership fees, which are managed through the platform.

atomic shuttleBOT
#

@tall fjord pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected a transaction in a Stripe Test environment on a connect account using the Stripe Terminal SDK via iOS Tap To Pay to succeed.

What actually happened?
Instead I am getting a 9020 error coming back in the collect payment method.

Reproduction Steps
Connect Iphone Tap To Pay via Stripe Terminal SDK integration. Attempt to process payment with test card.

Question
Is this a known issue with the Stripe Terminal Tap To Pay SDK currently?

#

@versed patrol pressed the 🪝 Webhooks button in #help to ask a question:

Question
When a user initiates refund through my software I'll get Payment_intent object because I am calling Stripe::Refund. However, when a refund happens through the Stripe dashboard, charge.refunded webhook will return Stripe::Charge. Is there a way that I can get payment_intent object instead of charge object?

Related Event ID(s)
charge.refunded

What have you already attempted?
Maybe after getting the charge object, make another API call to grab the payment_intent? But, I don't think this is a good solution.

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/invoices#direct

Question
How can I manage the Billing product settings for a connected account if I am going to use Invoices w/ direct charges on their behalf?

What have you already attempted?
I've tried looking at the doc linked above, as well as scouring the API docs. I find some settings that can be changed via the Account resource API, but it doesn't appear to contain any of the Branding settings available in the dashboard when I compare the two.

What are you working on?
migrating our billing system to Stripe.

#

@sleek flume pressed the 🔌 API button in #help to ask a question:

Question
When I request a subscription (e.g. sub_1P8FveKXF6NAeNl7tIpjdGP2), I see `canceled_at` is set to a value (`1713765600`) which is equal to the `start_date`, but the `status` is still `active`. I also see in `cancellation_details`, `reason` is set to `cancellation_requested`. Why is that? How am I supposed to interpret this field? I didn't see any note about this in the docs. When I view the same subscription in Stripe's dashboard, there's no note about it being cancelled. Thank you.

Related Request ID(s)
sub_1P8FveKXF6NAeNl7tIpjdGP2

What have you already attempted?
See above.

atomic shuttleBOT
#

@tawdry locust pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/features/apps-on-devices/build

Question
The link in the documentation to "https://dashboard.stripe.com/terminal/apps_on_devices/apps" doesn't work, it just goes to my dashboard. I see no tab from Developers > Apps for "Terminal Apps"

I just got a S700 DevKit and trying to deploy an APK in test mode.

What have you already attempted?
I've contacted Support, and had a meeting with my sales representative but neither had any information about "Apps on Devices" and pointed me to contact eachother

What are you working on?
S700 POS App

atomic shuttleBOT
#

@hoary prairie pressed the 🔌 API button in #help to ask a question:

Question
How do I get the date a charge was captured from the Charge API?

Related Request ID(s)
ch_3P9fFtDFLdjPQhSc1oKzHIgI

What have you already attempted?
We're currently listening to the charge.captured webhook event. When I receive a the webhook, I'm recording the amount and time. The 'created' time on the Charge event appears to be when it was authorized, but want to record the capture date. Where do I get that from? Do I use the event 'created' date? Is there any way to get the capture date from the Charge API?

What are you working on?
A reconciliation system

atomic shuttleBOT
#

@solemn cedar pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The payment form to show up in the checkout as usually

What actually happened?
It doesnt show and if I try to continue it gives me the next error "Cannot read properties of undefined (reading 'getState')"

Reproduction Steps
I simply activated the test mode and it happened

here is the checkout page:
https://bemacln.com.mx/checkout/

I have an example product that costs 1 mxn

Im using some plugins for the checkout such as "funnelkit builder pro" and "elementor pro"

Question
I would like to know how to fix this asap

What are you working on?
Im building an online store with a simple checkout with stripe

#

@pure urchin pressed the 🔌 API button in #help to ask a question:

Question
Hi, I have a conencted account which has a future requirement now due (needs the SSN of the account rep). I'm making an API call to create an onboarding link for them to provide the info, but even though I'm setting the link type to account_onboarding, i'm getting a link for an account_update form that doesn't really tell the user what info is needed specifically.

Related Request ID(s)
acct_1OybS2FshLXs4grO

What have you already attempted?
This is the code that creates the link:
$account_link = \Stripe\AccountLink::create([
'account' => $stripe_account_id,
'refresh_url' => 'https://portal.donationpay.org/',
'return_url' => 'https://portal.donationpay.org/',
'type' => 'account_onboarding',
]);

I've tried changing the type to account_update but it produces the same kind of form.

What are you working on?
We're a connected platform that provides donation management for nonprofits

atomic shuttleBOT
atomic shuttleBOT
#

@median geode pressed the 🔌 API button in #help to ask a question:

Question
How can I test the checkout.session.async_payment_succeeded webhook with specific data?

Related Request ID(s)
req_gEcL1DEpKCurtf

What have you already attempted?
Try to edit fixtures with the stripe cli, try to craft a custom request to my server to be parsed into a Stripe event, test by completing a successful payment in a checkout session with the 4242 4242 4242 4242 card

What are you working on?
Online Marketplace

atomic shuttleBOT
#

@zealous island pressed the ❌ An Error button in #help to ask a question:

Error Message
Uncaught (in promise) SubmerchantAuthError: Popup is blocked by browser.
at SubmerchantAuthenticationContext.tsx:448:18
at new Promise (<anonymous>)
at SubmerchantAuthenticationContext.tsx:443:14
at SubmerchantAuthenticationContext.tsx:464:14
at async SubmerchantAuthenticationContext.tsx:592:17

Question
How do I enable popups for the user to be able to onboard accounts using embedded components?

What have you already attempted?
Turning off all extensions and turning on pop-ups in chrome://settings

#

@sand locust pressed the 🔌 API button in #help to ask a question:

Question
What is the minimum required information for celebrities to provide during Stripe account setup to receive payments?

Related Request ID(s)
Custom accounts

What have you already attempted?
I aim to simplify the account setup process so that celebrities only need to provide the essential information required to receive payments for fulfilling requests. However, I've noticed that the account creation process currently requires celebrities to input a significant amount of information, such as their address and website details. Is all this information necessary, or is there a way to streamline the process further?

What are you working on?
I'm developing a celebrity shoutout platform akin to Cameo and am currently implementing Stripe for onboarding celebrities.

atomic shuttleBOT
#

@outer sail pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm trying to create a test stripe connect account to test transfers and then payouts. I expected the fake transactions to work and log as I had hoped

What actually happened?
I get errors from stripe saying 'Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments'. but I am unable to enable transfers on said test account because those test accounts are 'past due' for a business type and accepting terms of service even though I just made them today?

Reproduction Steps
please see above, I'm not sure how to get around that

Question
How do i correctly create these test accounts so i can test that I have transfers setup correctly in my server

atomic shuttleBOT
#

@acoustic trellis pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
My account working normaly

What actually happened?
Got my account closed without reason after that I provaided and after that anything changed

Reproduction Steps
Gmail - nigerkalni@gmail.com

Question
What I need to do so I can recover my account back

atomic shuttleBOT
#

@spring hare pressed the 🔌 API button in #help to ask a question:

Question
stripe.com
0 / 10 requests succeeded ✗

Related Request ID(s)
Host: Successes / Total stripe.com: 0 / 10 vip1-nw-public.stripe.com: 10 / 10 vip2-nw-public.stripe.com: 10 / 10 js.stripe.com: 10 / 10 b.stripecdn.com aggregate: 10 / 10 CDN provider#1: 10 / 10 CDN p

What have you already attempted?
Host: Successes / Total
stripe.com: 0 / 10
vip1-nw-public.stripe.com: 10 / 10
vip2-nw-public.stripe.com: 10 / 10
js.stripe.com: 10 / 10
b.stripecdn.com aggregate: 10 / 10
CDN provider#1: 10 / 10
CDN provider#2: 10 / 10
api.stripe.com: 10 / 10
files.stripe.com: 10 / 10
dashboard.stripe.com: 10 / 10
webhook: 10 / 10

What are you working on?
https://status.stripe.com/reachability

atomic shuttleBOT
#

@abstract flicker pressed the 🔌 API button in #help to ask a question:

Question
I have a SaaS product for building owners. There is one Entity, lets call them ACME Real Estate (they are our Customer), we bill per building and they own a bunch of buildings.. 14 Foster St, 10, Edgar Rd, 115 Park Lane, etc..

The problem is in real estate, the buildings are all "owned" by separate LLC's .. so its 14 Foster St LLC, 10 Edgar St LLC, 115 Park Lane LLC

So each invoice should be billed to each LLC. One customer should have access to all of their buildings/LLC's, but on our end it is that one customer who have many buildings in our app

Related Request ID(s)
Not sure what to put here

What have you already attempted?
I tried creating subscriptions for customers in the API, its working as there are plans but in this system each LLC needs to be a seperate customer, the customers are billed per building, but each building has different billing details. I also read about Stripe Organizations, which says "Create separate Stripe accounts for each independent business unit to isolate operations and finances." but im not sure how this works and if it could support my use case

What are you working on?
A Saas App for Building Owners in Commercial Real Estate

atomic shuttleBOT
#

@copper ingot pressed the 👍 Best Practices button in #help to ask a question:

Question
I currently store a customers currentBalance in mongo. I offer a pay-as-you-go plan. Are there any draw backs to using stripe to store this balance? The API would be called pretty often, since I run a Telco platform. Customers have the option to switch to unlimited, which just creates a subscription in stripe. But I wonder if also storing their payasyougo balance in stripe would also be a good thing. Thanks!

Doc/Guide Links
https://docs.stripe.com/api/customers/create

What are you working on?
Billing

atomic shuttleBOT
#

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

Code
StripeConfiguration.ApiKey = "";

            var options = new PaymentIntentCreateOptions
            {
                Currency = "CAD",
                PaymentMethodTypes = new List<string\> { "card\_present" , "interac\_present"},
                CaptureMethod = "automatic",
                Amount = PageSelect.totalmoney \* 100

Question
Currently, after a successful payment, the dashboard says that stripe tax is not enabled.
I was told that I need to make a code change in my payment code to enable stripe tax.
Can you tell me what code I need to add?

What have you already attempted?
We've checked the stripe documentation for the current stripe tax.

What are you working on?
When I make a payment in the terminal, I also want to add taxes to the payment information.

#

@sour laurel pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected that the "no longer prefill saved cards" feature would prevent the system from automatically filling in saved card details during the checkout process, especially since consent to save the card was not given.

What actually happened?
Despite testing the feature, the system continues to prefill saved card details as it did before, behaving as if consent had been given, which was not the case.

Reproduction Steps

  1. Initiate the checkout process using a U.S. card.
  2. Subscribe any product using it.
  3. Create a new payment mode checkout session.
  4. Observe whether the card details are automatically prefilled, despite the "no longer prefill saved cards" setting being enabled and no consent being given to save the card.

Question
Is this normal behavior, or is there a potential issue with how the "no longer prefill saved cards" feature is being implemented?

atomic shuttleBOT
#

@silk python pressed the 🔌 API button in #help to ask a question:

Question
How stripe creates payment method card type fingerprint id. I created a logic that prevents attaching duplicate payment methods based on the expiration date and fingerprint,

I found that the fingerprint remains the same even if i enter a different cvv. I want to ensure that I do not use a customer-attached payment method if someone uses the same card number anonymously.

Related Request ID(s)
non

What have you already attempted?
At this moment nothing but i am trying to figuring out how to limit access to customer attached payment method and prevent duplicate payment method attchment

atomic shuttleBOT
#

@gusty hollow pressed the 🔌 API button in #help to ask a question:

Question
When using embedded components, how to have the user complete missing requirements after onboarding?

Related Request ID(s)
n/a

What have you already attempted?
going through the docs and trying to figure it out by testing ;-)

atomic shuttleBOT
#

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

Code
https://ruby-efficiency-3932-dev-ed.scratch.my.site.com/s/

Question
Hello Team,

Good day.

I am currently integrating express checkout element in salesforce and was able to render Pay with link and Google Pay in chrome browser (please visit the link provided above).

But when I tried to visit the page on mobile (chrome browser and same google pay account, it won't load. I also give the link to some of my colleagues and they can't see google pay button as well.

One thing that I notice is that on my browser I can see the see more option.

What have you already attempted?

  1. Give the link to my colleagues to test and confirm. They also used chrome and has pay card activated.
  2. Test the link on profile.
  3. Test the link on incognito.

What are you working on?
Integrate express checkout to support wallets

atomic shuttleBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/quantities

Question
I have a subscription with multiple products (base and addon). If a user do something that involves update base and addon quantities. Would it be possible to update those quantities at the same time, and then, generate a single invoice for that?

What have you already attempted?
I have the code done with the logic to update quantities. First update base plan quantity, and then addon quantity, and charge prorations. But this provokes to generate 2 invoices and not 1 invoice.

#

@timber knoll pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello, i have some trouble with verif signature.
It's test local and webhook is all time accepted despite false webhook secret

Related Event ID(s)
evt_1PBuG5CyavVjWdEkhJXRvUmq

What have you already attempted?
I use this doc : https://github.com/stripe/stripe-node#webhook-signing

I start to listen :
.\stripe listen --forward-to localhost:5001/activup-dev/europe-west1/admin/stripe/webhook
> Ready! ..... Your webhook signing secret is whsec_*********015fdad

i trigger .\stripe trigger checkout.session.completed

then i console.log() some value of code ( see github)
console.log(secret) = ''y....." (so it's different)
console.log(event_id) = evt_1PBuG5CyavVjWdEkhJXRvUmq
console.log(payload_id) = evt_1PBuG5CyavVjWdEkhJXRvUmq

Why working with false webhook secret ?

What are you working on?
subscription

#

@foggy swallow pressed the 🔌 API button in #help to ask a question:

Question
We want to allow our connected accounts to be able to enable or disable a small amount of payment methods that we allow them to edit. We want to block access to other payment methods so that they cannot enable them.

Related Request ID(s)
NA

What have you already attempted?
I've enabled the checkbox in connected account payment method settings in test mode to enable connected account to manage their payment methods. Then I blocked Alipay as a payment methods. Once the update was applied to everyone, I tried enabling Alipay in a connected account and I was able to enable it. Which shouldn't be the case since I blocked it in my platform account > Payment methods> Connected accounts settings.

What are you working on?
Working on enabling our customer to choose their payment methods.

#

@west vault pressed the 🔌 API button in #help to ask a question:

Question
I am trying to make an integration test with confirmation tokens, can you please help me to understand since which version I can find the test helpers, as written here? https://docs.stripe.com/api/confirmation_tokens/test_create

this is the error that I raise: Undefined property: Stripe\Service\TestHelpers\TestHelpersServiceFactory::$confirmationTokens

Related Request ID(s)
-

What have you already attempted?
i am on stripe-php version 10.16.0-beta.1

#

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

Code
amount: calculateOrderAmount(items),
currency: "usd",
description: 'Software development services',
shipping: {
name: 'Jenny Rosen',
address: {
line1: '510 Townsend St',
postal_code: '98140',
city: 'San Francisco',
state: 'CA',
country: 'US',
},

},
transfer\_data\: {
    destination\: 'acct\_1PA9YDR2bWiQvRfw',
  },
  application\_fee\_amount\: 1400,
  on\_behalf\_of\: 'acct\_1PA9YDR2bWiQ

Question
When I am doing for product and addin shipping address it is working fine. but as I try to do it for online service like booking an event, it gives error.

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

What are you working on?
i am developing mern stack application - event management

#

@shut steeple pressed the 👍 Best Practices button in #help to ask a question:

Question
There is a way to avoid to use stripe radar on the payment intent generated after the first with off_session

Doc/Guide Links
https://docs.stripe.com/radar/radar-session

What are you working on?
payment intent off session

atomic shuttleBOT
#

@frank kayak pressed the 🔌 API button in #help to ask a question:

Question
Is there a way for customers of a Connect marketplace to pay a provision that could be kept in a "escrow account" and paid out to the connect user once he has performed a specific action?

Related Request ID(s)
None

What have you already attempted?
Doing a regular transaction but the user gets paid out instantly I think (unless there's a way to put the payout on hold)
Using transfers but then it won't work with billing...

What are you working on?
B2B Platform for media similar to fiverr using stripe connect

atomic shuttleBOT
#

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

Code
<span class=“cashappinstructions-instruction text text-colour—gray300 text-fontsize—14>

Question
not able to change the colour of the text inside this span of cash app

What have you already attempted?
tried with all the classes

#

@meager flame pressed the 🪝 Webhooks button in #help to ask a question:

Question
Installed Stripe Payment in Magento 2. for the few days Stripe orders are not being processed as they should. all orders are seems to be pending even after successful payment.
Pending webhook response
A webhook that is subscribed to the event hasn't successfully responded yet

In Magento log stripe_payments_webhooks.log
#1 Timestamp outside the tolerance zone [] []
[2024-05-02 07:16:11] webhooks.INFO: 400 Webhook origin check failed. [] []
[2024-05-02 07:20:09] webhooks.INFO: Received stripe_payments_webhook_checkout_session_expired (evt_1PAVvLDEqCVgNcLiUd5FrjzD) [] []
[2024-05-02 07:20:09

Related Event ID(s)
evt_1PBsY2DEqCVgNcLi7Zi4tMKp

What have you already attempted?
Checked the serverside PHP Time zone
Checked the stripe_webhooks table credential (all are seems to be fine)

atomic shuttleBOT
#

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

Question
Hello i have a quick question, for my Website i have Coded a similiar but not identical, moving mesh gradient like you on your Website, is it allowed for me to use it or does it have some sort of restrictions

Doc/Guide Links
www.stripe.com/payments

What are you working on?
Website

#

@timber knoll pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello,
i use an app nodes.js+firebase
I try to verif signature webhook
I have all time : error webhook verif : Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe

I thinks it''s cause my request.body.
Firebase function return me an object.
I need to transform in raw if i understand doc of stripe.webhooks.constructEvent

i try : JSON.stringify(request.body, null, 2)

It's not working

do you have see solution about this ?

Related Event ID(s)
no event here

What have you already attempted?
I have try to return raw directly but better to don't touch core of google function.
I have try JSON.stringify(request.body, null, 2)

What are you working on?
subscription

#

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

Code
<ExpressCheckoutElement
onReady={onReady}
onConfirm={handleConfirm}
</>

Question
How to get payerEmail from google pay and apple pay from handleConfirm in the ExpressCheckoutElement?

What have you already attempted?
I was tried to get email from evt?.billingDetails?.email from onConfirm event but it's undefined.

What are you working on?
Ecom web

atomic shuttleBOT
#

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

Code
On a flutter app :

I'm actually using this lign inside my bottom sheet : const CardField(),

It is working on IOS but ont on Android :
"PlatformException (PlatformException(error, lateinit property stripeSdk has not been initialized, null, kotlin.UninitializedPropertyAccessException: lateinit property stripeSdk has not been initialized
"

Question
There is the build that I use (working welle on IOS) :

Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.all(16.0),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Text(
'Dépose ta caution',
style: FlutterFlowTheme.of(context).titleLarge,
),
...

What have you already attempted?
Try a lot of things, using CardFormField or even import new library such as Flutter Credit Card and then, I try to use the data to make my payment intent;

But nothing has been working

What are you working on?
Try to make a Payment intent inside my flutter app

atomic shuttleBOT
#

@dusky basin pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/multi-entity-business?locale=en-GB

Question
Is there a way to connect the platform account to itself on Stripe Connect? Our use case is that we are a platform but also have our own products. When customers buy some items, they will buy from our clients through Stripe Connect, and other products they will buy directly from us. It's not clear to me whether, when purchasing from us, we should have another account connected to Stripe connect or whether we need to use Connect for purchases from our clients and just regular stripe for purcahses from us directly.

What have you already attempted?
I have tried to connect platform account as an account on Stripe Connect, but this is not allowed

What are you working on?
A services platform that also has a subscription learning product that we produce

#

@uneven basalt pressed the 🔌 API button in #help to ask a question:

Question
When applying discount and update subscription it's not charging correctly.

Base plan x 1 = 20€ month
Addon x 1 = 5€ month

In this example, the user has the following quantities:
base plan x 1 | addon x 3

Now let's update its subscription to
base plan x 1 | addon x 5 (2 more)

Then, the payment should be:
Subtotal = 30€ (20 + 5*2)
Discount 50% = -15€
Taxes 21% = 3,15€
Total = 18,15€

We should charge the customer and get the payment of 18,15€.

But instead, we don't get any payment and the customer receive an invoice credit balance.

Related Request ID(s)
req_OaEIbwTt8o5s9I

What have you already attempted?
I think this happen because the discount is not taking into account only the updating amount but the whole subscription.

atomic shuttleBOT
#

@sage stag pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We enabled Klarna as payment method for Checkout sessions. Users should be able to select Klarna when checking out.

What actually happened?
Klarna option intermittently appears. E.g. we created the same checkout session 4 times (exact same information) and the klarna option appeared only once.

Reproduction Steps
Create a checkout session with Klarna enabled in a production environment (can't be replicated in test)

Question
Why is the Klarna option not appearing all of the time?

atomic shuttleBOT
#

@tropic wyvern pressed the 🔌 API button in #help to ask a question:

Question
I am working on the integration of stripe in my web-application. In this application, the user has got a list of payment method, who has got a possibility to add another payment method (card or paypal, in my case). From this list, the user can set an payment as prefered. Depending on chosen payment method, it's going to set as prefered on Stripe (an important field for visualisation in the front-end). However, i have got an problem with this update.

Related Request ID(s)
req_mn7il2BYPbjfq3

What have you already attempted?
When i do an update of the prefered field, inside metadata field, i get an error and that's as follows:
PaymentMethods of type paypal cannot be updated at this time.

What would the reason be?

What are you working on?
Setting the preferred payment method

atomic shuttleBOT
#

@solid lantern pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
How to simulate a checkout session that fails in subscription mode

What have you already attempted?
Created a Session with success url and failure url

What are you working on?
checkout session in subscription mode

#

@haughty granite pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/settings/payments/apple_pay

Question
What is the difference between web and iOS certificates while configuring Apple Pay?

If I am using both should go through both the processes?

Is there any domain verification required for iOS certificates?

What have you already attempted?
I tried web domain

#

@silk python pressed the 🔌 API button in #help to ask a question:

Question
After attaching a payment method to the customer and creating payment intent with it without setting any setup_future_usage. can I reuse it for payment (customer in checkout)?

I was expecting an error or something? is it expected behaviour?

Related Request ID(s)
req_os64PWe9N6wYsT

What have you already attempted?
My question about ensuring flow and result

atomic shuttleBOT
#

@meager hinge pressed the 👍 Best Practices button in #help to ask a question:

Question
How important is the Stripe Connect Id?
Is it a level of critical information that should not be known to users and must be encrypted and stored in their own site's database as well, or is it a level of critical information that should not be known to other users?

Doc/Guide Links
https://docs.stripe.com/connect/migrate-to-controller-properties

What are you working on?
Stripe Connect Embed Components

#

@static wraith pressed the 🔌 API button in #help to ask a question:

Question
Stripe Connect & Create Invoice Payment Plans

Related Request ID(s)
https://docs.stripe.com/invoicing/payment-plans?testing-method=without-code

What have you already attempted?
Hello,
I have joined the beta program for Create Invoice Payment Plans. To understand how it works, I am experimenting with it on my dashboard initially before integrating it into my application via the API. When I try to create an invoice from my dashboard, I do indeed have the option to create an invoice payment plan. However, when I visit the account of a user connected with Stripe Connect, I do not see this functionality. Is it possible to implement this feature for users during the API integration? Can I pass the stripe_connect_account_id as usual as a parameter?

Thank you.

#

@sick dirge pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it safe to use paymentIntent Ids as orderIds or should I keep these away from the users? I want to use stripe as much as possible without having to duplicate data on my server. Was thinking to use payment intent ids as orderIds as they are linked with stripe products(I'm using Stripe Custom Checkout beta)

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

What are you working on?
Custom checkout

#

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

What did you expect to happen?
A payment attempted on an expired card should have failed

What actually happened?
The payment went through successfully on an expired card

Reproduction Steps
Not sure if I can attach the payment intent here. But let me know if it is safe to do so

Question
How did the payment go through on an expired card?

#

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

Code
if (productCurrency != currency) {
const exchangeRate = await this.stripe.exchangeRates.list()
console.log(exchangeRate)
}

Question
is there any exchnage rate api?
what i want to do is convert product price to gbp or aud which is currently in usd

What have you already attempted?
trying

atomic shuttleBOT
#

@vocal wagon pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Hello!
Is it possible to define an end time for a subscription in the 'Create a Session' API method? Is it possible to configure this using only 'Stripe Checkout' without indicating/complete the 'customer' field.

What have you already attempted?
W 'SessionCreateOptions' do 'LineItems' dodany został obiekt 'PriceData' z uzupełnionym obiektem 'Recurring'. Interval set as month, IntervalCount as 1.

What are you working on?
We plan to make available the option of payments on a recurring basis/subscriptions with specified end date/cycle.

atomic shuttleBOT
#

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

Code
try {
const result = await stripe?.confirmPayment({
elements,
confirmParams: {
return_url: fullMentimeterUrl(`/app/checkout/${checkout.id}`),
},
clientSecret,
redirect: 'if_required',
});
if (result?.error) {
setCheckoutStatus(CheckoutStatus.Error);
setPurchaseError({
message:
result.error.message ??
'Something went wrong

Question
Hi! We're implementing the PaymentElement in our checkout flow and we can't get the specific fields to highlight where the confirmPayment method fails (invalid card number, invalid cvc, etc). We can easily set the error error message to be correct, but how can we highlight the specific field in the Payment Element to signal to the user what went wrong?

What have you already attempted?
We've read the docs and we pass the elements correctly from the const elements = useElements();
const stripe = useStripe(); hooks from Stripe React.

What are you working on?
Implementing Stripe Elements

atomic shuttleBOT
#

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

Code
message
:
"The currency provided (usd) is invalid. Payments with alipay support the following currencies: cny, cad."

Question
I think as per your doc alipay does support usd currency. Why is it throwing error?

What have you already attempted?
message
:
"The currency provided (usd) is invalid. Payments with alipay support the following currencies: cny, cad."

#

@stark jacinth pressed the 🔌 API button in #help to ask a question:

Question
I'm not seeing Link visible in the UI of my PaymentElement integration despite seeing the intents returned having it as a payment method option:
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
},
"link": {
"persistent_token": null
}
},
"payment_method_types": [
"card",
"link"
]

Related Request ID(s)
req_LhhiAcaEeB5yEe

What have you already attempted?
I have this successfully working for some or our other accounts, however the layout of the payment methods in the dashboard differs substantially.

I have a pre-existing customer for this stripe test user that I'm trying this for but still no luck.

What are you working on?
Integrating with the Stripe PaymentElement component

#

@nova hamlet pressed the 🔌 API button in #help to ask a question:

Question
I still need help with renewing discounts after 12 monhts.. Please see the thread below for context.

I've looked through the Subscription Schedule docs as suggested but I'm still not quite sure if this actually solves the problem.

Could i please get a high level overview of the steps i need to take to solve my problem?

Related Request ID(s)
the subscription id is in the thread

What have you already attempted?
#dev-help message

What are you working on?
Renewing subscriptions

atomic shuttleBOT
#

@crimson gull pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am not able to click download for MRR reports in the billing analytics dashboard

What actually happened?
The buttons are disabled

Reproduction Steps

  1. go to billing
  2. navigate to report downloads

Question
Why am I not able to enable download for the reports in my billing analytics dashboard?

atomic shuttleBOT
#

@foggy swallow pressed the 🔌 API button in #help to ask a question:

Question
Not able to see update for connected accounts payment method after I closed it.

Related Request ID(s)
NA

What have you already attempted?
I update the payment settings for my connected accounts in test mode. It started applying the settings and on top it was showing `Updating (32384 of many) banner. I accidently clicked the X button on that banner and it closd. Now it's not coming back. How can I see the progress of updates and when it will be completed.
Also another question is this update is really really slow. Takes hours upon hours to apply to all accounts. Is there a way to speed up this update?

atomic shuttleBOT
#

@reef dune pressed the 🔌 API button in #help to ask a question:

Question
I have an API implementation working with Stripe. I'm using Payment Intents. I have a particular question related to refunds made with cash balance. When I'm trying to perform a refund of a payment intent/charge that was made using cash balance, the refund requires instructions_email to send an email to the customer to provide bank account information to refund the money. Does it make more sense, or is there a way to automatically perform the refund to the customer's cash balance since that was the payment method used? Thanks

Related Request ID(s)
1

What have you already attempted?
I've already read the Refund endpoint and already saw the instructions_email parameter. I don't want to send an email to the client, I want to automatically perform the refund to the customer's cash balance as the other payment methods do.

What are you working on?
Invoicing

#

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

Code
var invService = new InvoiceService();
var invOpt = new InvoiceListOptions
{
Subscription = sub.Id,
Status = "paid",
Limit = 1,
};

var inv = invService.ListAsync(invOpt);

Question
Is there a way to get the latest paid invoice for a given subscription_id with the api ?

What have you already attempted?
I can find any order_by desc options

atomic shuttleBOT
#

@valid zenith pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/crypto/using-the-api#how-to-integrate-the-onramp-into-your-application

Question
Hey Team!
I just got access to the beta crypto onramp feature, and was curious in knowing in this is just an onramp feature, as in:

we can allow users to onramp fiat -> crypto currency via stripe right?
I don't think there's any more integration atm with it.

My usecase is more around crypto checkout feature if any available or in plans.

What have you already attempted?
I've already checked out the current crypto onramp feature and this is as it says just onramp, is there any route for me to integrate a crypto checkout atm?

#

@foggy bolt pressed the 🔌 API button in #help to ask a question:

Question
Hi. I have created a subscription schedule and successfully created a few schedules with phases. However I notice that the subscription invoice stays in a draft state for an hour or so. How can I charge immediately without having to wait for a draft state?

Related Request ID(s)
Non

What have you already attempted?
I have created the subscritpion shedules

What are you working on?
Payment system

#

@rancid frost pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Show the platform pay button

What actually happened?
The button stopped showing, even if the user have the wallet with a valid card

Reproduction Steps
I described it in this thread: ⁠kyomen_reactnative-googlepay
Now I have the permission to the Google Pay production mode also

Question
I don't get why the button doesn't show when I'm following all the steps in the docs.

#

@lunar zodiac pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
I'm attempting to use the callback ```paymentFailed()``` on the StripeExpressCheckoutElementConfirmEvent, however I get an error that it's an unexpected call to ```paymentFailed(). Ensure you are either submitting a payment or calling paymentFailed() once per expressCheckout Element confirm event.```

What have you already attempted?
Attempting call to payment failed callback

What are you working on?
Integrating with Stripe through Express Checkout Element

atomic shuttleBOT
#

@leaden leaf pressed the 🔌 API button in #help to ask a question:

Question
How can I use the API to retrieve the event JSON that's sent in a webhook for payment_intent.succeeded?

Related Request ID(s)
pi_3PAeFLH1Z1K59F9K1db2UXoW

What have you already attempted?
I can retrieve the PaymentIntent object but this isn't stored in the same JSON format as the original webhook event

#

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

Question
Should I trust that every time an external account status is either "errored" or "verification failed" the account owner should provide correct bank information?

Doc/Guide Links
https://docs.stripe.com/api/external_account_bank_accounts/object#account_bank_account_object-status

What are you working on?
I'm trying to add warning messages to users in order to alert them that they need to update bank information details to be able to receive payouts.

#

@austere jungle pressed the 🔌 API button in #help to ask a question:

Question
In Node.JS how would I use a us_bank_account payment method that was added to a customer by being entered through paying a hosted invoice to later pay invoices off session using stripe.invoices.pay without receiving a mandate related error such as:

"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)
Didnt see any

What have you already attempted?
Ive tried entering the test bank accounts through the hosted invoice flow, including verifying them which leads to the expected account closed error. When creating a new invoice and setting collection_method to "charge_automatically" and paying through stripe.invoices.pay with the payment method that was just added through the hosted invoice Im receiving the error in my question.

One note about this, is the mandate error only started appearing after using the test failure bank account a handful of times. The first couple attempts worked as expected but now every attempt off session does not

What are you working on?
Building an invoicing platform where company A can create invoices for its customers and then send the invoices to be paid, or directly charge any saved bank accounts for that given customer

#

@median dew pressed the 🔌 API button in #help to ask a question:

Question
Payouts API. Im trying to test payouts, but it keeps telling me that the external account id doesnt exist, even though i copied and pasted it from the stripe dashboard.

Related Request ID(s)
n/a

What have you already attempted?
I am attempting to initate a payout from my platforms stripe account, directly to the external bank account of a Stripe Connect vendor. I have retrieved the external account through the Account API and got the id that way, i also directly copied and [asted it from the dashboard.

atomic shuttleBOT
#

@frank kayak pressed the 🔌 API button in #help to ask a question:

Question
How can I embed a Customer's Account billing settings in my react app's Billing page?
More specifically, this would be a business Customer that may have multiple accounts on my DB but only one attached Stripe Customer.
I need to show and to give a way for the users to change the Billing Address and Payment Methods from my react app.
All users should be able to make purchases as that stripe customer with its registered payment methods

Related Request ID(s)
None

What have you already attempted?
I use this to get a session to give to Elements, feeding it the outputted client secret
stripe.setupIntents.create({
customer: customer?.id
});
And then I tried using components like AddressElement but I don't think it's what I need

What are you working on?
B2B Marketplace's Billing Page for the customer side

#

@foggy bolt pressed the 🔌 API button in #help to ask a question:

Question
How do I finalize the first draft invoice created by a subscription schedule? Can anyone guide me on which API calls do I need to perform?

Related Request ID(s)
Non

What have you already attempted?
Made the schedules and tried to finalize the subscription but it does not work.

What are you working on?
Payment app

#

@torn halo pressed the 👍 Best Practices button in #help to ask a question:

Question
We are using Spreedly and have been alerted of the following change (see links). This seems to be straightforward but I am wondering, in a case where we have Connected accounts under our Platform, seems that I cannot get into the API keys area for the Connected account. My question is if we update our gateway with a new RAK, can we then update other connected account gateways with that same RAK? I am assuming not but also am asking if there is a way we can update the Spreedly gateway for any connected account WITHOUT having to get them to log into Stripe to generate a new RAK.

Doc/Guide Links
https://support.spreedly.com/hc/en-us/articles/24531770522907-Updating-Stripe-gateways-with-Restricted-API-Key

What are you working on?
maintenance of Connected Accounts

#

@lapis fog pressed the 🪝 Webhooks button in #help to ask a question:

Question
We use stripe Connect. If a connected account receives a automatic payout, we want to be notified via webhook. Question: Do webhooks with the "payout.paid" event only cover payouts to your own account or is this webhook also triggered for payouts to connected accounts?

Related Event ID(s)
——————————

What have you already attempted?
———-

What are you working on?
Platform business

#

@dire adder pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there a way to listen to webhook for when a Stripe payment method's mandate becomes inactive?
The payment method is backed by Plaid, and the mandate is provided as a Stripe SetupIntent

Related Event ID(s)
None

What have you already attempted?
Look into the webhook event type docs: https://docs.stripe.com/api/events/types

#

@muted condor pressed the 🔌 API button in #help to ask a question:

Question
Is there an API to get total payments associated with a product or payment link?

We are using Stripe to make donation pages. Each product has a set fundraising goal. We want to show the amount raised so far, however, I don't see an obvious way to do this using the APIs besides making a webhook and saving the payment info in our database. The Stripe dashboard shows this info for each product and payment, so where is this in the API?

Related Request ID(s)
N/A

What have you already attempted?
Cant' find methods in API docs

What are you working on?
Show amount raised by a donation

atomic shuttleBOT
#

@balmy sun pressed the 🔌 API button in #help to ask a question:

Question
Hello,
We have been notified that the source API is going to be deleted. We need to know which change is needed. Here my questions :
- Do we need to change `Customer::create` or `Customer::update` with the parameter `source`?
- Can we stop listening to the webhook `customer.source.updated`?
- Does older `Charge` still have `source` attributes?

Related Request ID(s)
req_daEGMZeRpAVgj0

What have you already attempted?
Read https://docs.stripe.com/payments/payment-methods/transitioning

#

@outer sail pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am successfully transferring $$ to a connected account in my testing. I get a transfer.created message back but never a transfer.succeeded etc even though I see the $$ now in the connected account

Related Event ID(s)
evt_3PC4bME1o3vQgPLo19i18P2M

What have you already attempted?
I am transferring funds via transfer_data during the creation of a paymentIntent

#

@dapper flax pressed the 🔌 API button in #help to ask a question:

Question
How can i block infinite trials?

The user takes advantage of the 3-day trial period, but as it approaches expiration, they cancel the subscription and then resubscribe to avail themselves of an additional 3-day free trial.

How can I address this issue?

https://stackoverflow.com/questions/78414322/how-can-i-block-infinite-trials-stripe-next-13

Related Request ID(s)
N/A

What have you already attempted?
Radar

What are you working on?
SaaS based subscription plans

#

@wintry birch pressed the 🔌 API button in #help to ask a question:

Question
I need to identify my cross-sell product in my API code; my code mention a price that is liked to another price, a cross-sell product. I want to keep it that way. I am creating this code as a checkout code, to apply a tax rate. But when I apply the tax rate to the price, he just goes to the first price on the checkout, not the second one, the one who is with him by the cross-selling mechanism, and it is not mentioned in the code. I've already created a code with this second price/product, and cancelled the link between the first and the second price/product in the Stripe dashboard, but, when..

Related Request ID(s)
req_7w0Wsvr7JUnZnB, req_Ju1p9bqP8NNwxk

What have you already attempted?
I see the checkout, the second price/product is added as a normal product, not a cross sell product. Could you help me? I can send the codes that I am using...

What are you working on?
Stripe AI, chekout cross-sell

atomic shuttleBOT
#

@patent patrol pressed the 🔌 API button in #help to ask a question:

Question
Is it possible to set PaymentMethodTypes in a subscription schedule phase?

When I have a customer that wants to downgrade their plan, I create a schedule to make the change at the end of their current billing cycle. But the old plan I allow for card + bank payment. The new plan I only want to allow for card payment. There doesn't seem to be an option in a phase to set these that I can find so I have to wait until the schedule is released, and then update the payment method types on the subscription itself.

Related Request ID(s)
N/A

What have you already attempted?
Just wondering if this is possible via some other method? Or is this just not a supported feature?

atomic shuttleBOT
#

@foggy latch pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/testing#test-account-numbers

Question
I'm trying to test a failed payment, but how it would actually fail in a live account... in a live account the payment would be pending and would eventually fail. If I use the test account number 000222222227, it fails immediately without going to pending first. How can I emulate what would actually happen in a live situation?

What have you already attempted?
I've tried using account number 000222222227

#

@eager sphinx pressed the 🔌 API button in #help to ask a question:

Question
Wondering how to disable Secure 1 checkout with link in my payment element and the option for bacs direct debit

Related Request ID(s)
? Not sure

What have you already attempted?
Reading docs

What are you working on?
SaaS appliction

atomic shuttleBOT
#

@lusty root pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi - we need to migrate from Stripe (WooPay) to a new payment processor. How can we best migrate existing subscribers to the new payment platform without interrupting service? I was told that we need a migration file, but I am not sure how to create this.

Doc/Guide Links
I cannot find any relevant documentation about migrating away from Stripe / WooPayments

What are you working on?
Website for online retail company

#

@rich flame pressed the 🔌 API button in #help to ask a question:

Question
There is a possibility that an event could fail to be triggered, i.e. my users in the platform make payments through checkouts as well as payment links, is there a possibility that the event "checkout.session.completed" could fail or not be triggered, as I notice that the other events such as invoice creation, charge, payment intent are triggered and successfully.

Related Request ID(s)
my webhook: https://dashboard.stripe.com/webhooks/we_18HJ6kDtLlgoCDIrPCGB9mCN

What have you already attempted?
with my local webhook it works but the production webhook does not and they are configured the same way.

What are you working on?
suscriptions, payment links and checkouts sessions

#

@proud gull pressed the 🪝 Webhooks button in #help to ask a question:

Question
How do i create a test checkout to run a trigger on my Zapier

Related Event ID(s)
n/a

What have you already attempted?
i created a test customer-- nothing happened when i attempted to run the trigger again

What are you working on?
I am trying to run an automation with Zapier and It needs a to test trigger but i am receiving error that i don't have a test checkout in my stripe

atomic shuttleBOT
#

@versed patrol pressed the 🪝 Webhooks button in #help to ask a question:

Question
Is there a way to prevent webhooks to be triggered when refunds are initiated through my website and not from the Stripe dashboard?

Related Event ID(s)
charge.refunded

What have you already attempted?
When a refund happens through my website, it will call a backend service method to update my database and update Stripe. Then, when stripe gets updated, it will trigger a webhook that will again try to update my db again. Is there a good way that I can prevent this? I can’t do without the service because it is responsible for updating the frontend and our public api.

atomic shuttleBOT
#

@south surge pressed the 🔌 API button in #help to ask a question:

Question
Hello, I am testing 3d Secure Authentication to my application. I am using the test cards to trigger a verification. When I click on approve payment in the external url that comes up it automatically confirms my payment intent. I thought that I would be redirected back to my app so that I have to manually confirm the payment intent after the 3d Secure Authentication.

Related Request ID(s)
evt_3PC6uPKPZ3B79iBx0ItcUOxj

What have you already attempted?
To implement this. I just have a general question.

atomic shuttleBOT
#

@heady rain pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best practice for retrieving stripe fees from a charge?

Doc/Guide Links
My webhook is receiving a payment intent created, and a charge successful post, but neither contain the stripe fees associated with the payment. Should I calculate it manually?

What are you working on?
Organizations charge members membership fees, which are paid through our platform.

#

@hexed rock pressed the 👍 Best Practices button in #help to ask a question:

Question
Is it possible for the same discount to be applied multiple times to the same item? For instance, could a discount with the same ID show up multiple times on the same invoice, at the invoice level, not the line item level.

Doc/Guide Links
https://docs.stripe.com/api/discounts
https://docs.stripe.com/billing/subscriptions/coupons
https://docs.stripe.com/api/invoices

What are you working on?
A car wash membership app

#

@velvet loom pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Hey! I want to collect user's addresses to display them on my website from Link section. It is possible to get address with webhook but I couldn't find how to track address deletion. If user deletes an address in pay with Link section on checkout, I want to delete it from my website either.

What have you already attempted?
tried to find any event that is being triggered on address deletion but nothing found.

What are you working on?
an e-com website

atomic shuttleBOT
#

@strange arrow pressed the 🔌 API button in #help to ask a question:

Question
im integrating amazon pay but getting this error
The PaymentMethod provided (amazon_pay) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: acss_debit, card, cashapp, link, us_bank_account. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "amazon_pay".

Related Request ID(s)
-

What have you already attempted?
modifying stripe options

atomic shuttleBOT
#

@blissful heart pressed the 🔌 API button in #help to ask a question:

Question
Chat message wont close sf/lknf;alfjbns;lvjnsv;kjs

Related Request ID(s)
Chat

What have you already attempted?
To close it

#

@waxen yacht pressed the 👍 Best Practices button in #help to ask a question:

Question
My web app offers subscriptions and we are looking to add a new price point with new features. We would like the newly subscribed members to become subscribed from now through December 31, but charged the full price of the yearly subscription. When I try to start checkout to accomplish this, it puts the cost at $0.00.

I would like to use subscriptions for this so that users who are interested in keeping it cna renew automatically on jan 1

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

What are you working on?
Web application which charges users for subscriptions

#

@umbral thunder pressed the 👍 Best Practices button in #help to ask a question:

Question
I have customers on a subscription based model and I want to test an API that I am making. The API will attempt to pay all past due invoices in order to bring the account back to good standing.

How can I setup a subscription with either one or more past due invoices so I can test my API?

Doc/Guide Links
https://docs.stripe.com/billing/testing/test-clocks

I was reading up on test clocks but i'm not sure this is the solution. I want to setup a test scenario, and call my API.

What are you working on?
Setting up scenarios where I can have past due invoices on a subscription to test an API.

atomic shuttleBOT
#

@lunar zodiac pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/confirmation_tokens/test_create

Question
I'm currently using the express checkout elements and noticed that a Stripe token gets created using a pk_token (I'm assuming this an an Apple Pay token). And, then this Stripe token is used for client-side calls, such as either creating a confirmation token (server-side auth) or confirming client-side using a client secret. I was wondering for security purposes, are these Stripe tokens attached to the merchant, so could only be used in calls for that same merchant? Thus, nobody should be able to use this Stripe token and create a payment intent and confirm for another payment intent?

What have you already attempted?
Looking at docs.

What are you working on?
Stripe Integration

atomic shuttleBOT
#

@burnt basin pressed the ❌ An Error button in #help to ask a question:

Error Message
Invalid Stripe API version: 2023-08-16; custom_checkout_beta=v1. You do not have permission to pass this beta header: custom_checkout_beta. If you have any questions, we can help at https://support.stripe.com/.

Question
How can I enable our company account to use the beta for custom checkouts ?

What have you already attempted?
I tried to register online for the beta but I am not sure if is an automatic process or not

atomic shuttleBOT
#

@dreamy herald pressed the ❌ An Error button in #help to ask a question:

Error Message
Ocorreu um erro ao processar seu pagamento. Tente novamente ou use uma forma de pagamento diferente.

Question
Estou fazendo um teste em meu site e me deparo com o seguinte erro

What have you already attempted?
Estou fazendo um teste em meu site e me deparo com o seguinte erro

#

@outer sail pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I am trying to charge a customer, and when I recieve a paymentIntent status of succeeded, to be able to to transfer part of that amount to a connected account.

What actually happened?
I get an error saying there's insufficient funds in my account.

Reproduction Steps
When i transfer immediately as part of the paymentIntent, I dont get any issues (but I'm unable to pass metadata into the transfer which is not really going to work for us).

Question
How do I automate a transfer to a connected account for a portion of a paymentIntent immediately upon recieving a succeeded status?

#

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

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

Question
Destination charges are no longer supported with Standard Connected accounts?

What have you already attempted?
I have an AU stripe account and use destination charges with standard connect accounts. I'm trying to establish new US and UK stripe accounts with the same configuration but the Connect setup wizard will only allows Express/Custom accounts for destination charges...? Is this a new change? If I configure the wizard to create standard accounts, can I still process destination charges anyway?

atomic shuttleBOT
#

@quaint mist pressed the 🔌 API button in #help to ask a question:

Question
Hi Im Farid backend developer for Haroct Technologies Sdn Bhd. We would like to integrate our platform with Stripe to allow to transfer money from our stripe account to customer local bank in Thailand.
We were given choices of stripe-hosted onboarding, embedded onboarding and API onboarding. Can I have a test account or credentials to try out the API onboarding? Please advice. Thank you

What have you already attempted?
nothing yet

atomic shuttleBOT
#

@supple sun pressed the 👍 Best Practices button in #help to ask a question:

Question
What ID file are we going to upload when testing in real mode?

Doc/Guide Links
We not find any doc or guide

What are you working on?
ecommerce

atomic shuttleBOT
#

@exotic dock pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://www.youtube.com/watch?v=Do7kY4pUYx8&list=PLy1nL-pvL2M7yRUOtSDL6acoxUhHEh7EK&index=2

Question
When following this guide, I am not able to complete the example and get the same result. Guide is incomplete.
For example, what commands specifically are used to launch the vue and express js servers?
What is the resulting page in the launched backend? Mine displays an error but unsure if it's normal.

What have you already attempted?
I have attempted using both my test secret key and my live secret key in the .env file.
I have run both of the servers to attempt to list all registered readers, however nothing displays from my dropdown.

What are you working on?
Trying to implement the stripe terminal tutorial to accept in-person payments on test and live mode.

atomic shuttleBOT
#

@limpid matrix pressed the 🔌 API button in #help to ask a question:

Question
We tried to link (our customers) existing stripe account into our app but we are getting 403 error The Provided key does not have access to the account.
In case if user created stripe account via our app for them all are working.
We need a way to for our customers to use their Stripe account in our app for payment integration.

Related Request ID(s)
GetAccount Rest Api

What have you already attempted?
Yes we got the following response
"code": "account_invalid",
"doc_url": "https://stripe.com/docs/error-codes/account-invalid",
"message": "The provided key 'sk_live*********************************************************************************************C1lrv3' does not have access to account 'acct_*****' (or that account does not exist). Application access may have been revoked.",
"type": "invalid_request_error"

What are you working on?
D-Tools Cloud application for System Integration for AV industry

atomic shuttleBOT
#

@rose geyser pressed the 🔌 API button in #help to ask a question:

Question
How to use off_seeion and on_session flag, Is that replacement of Moto flag ?

Related Request ID(s)
1111

What have you already attempted?
Initially we use moto flag in payment intent object

What are you working on?
Stripe API integration with mail order and ecommerce

atomic shuttleBOT
#

@lunar zodiac pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/express_checkout_element_confirm_event?type=card#express_checkout_element_on_confirm-handler-paymentFailed

Question
Hi, I was looking for clarification that you cannot call the paymentFailed callback on the confirm event after attempting any Stripe call and not just a confirm client-side auth call.

paymentFailed: function(status) {
// You can only call this before calling `confirmPayment` to signal
// an error before payment confirmation.
},

What have you already attempted?
Calling paymentFailed after a non-confirm call.

What are you working on?
Stripe Integration

#

@soft juniper pressed the 🔌 API button in #help to ask a question:

Question
stripe.checkout.sessions.create using it with mode subscription.

listening for three events in webhook invoive.paid ,invoice.payment_failed and invoive.created if for subscription payment fails then dont want to use retry attempts

What have you already attempted?
Tried looking in the docs for any field to disable it

What are you working on?
Creating a subscription plan

#

@mental steppe pressed the 👍 Best Practices button in #help to ask a question:

Question
Using embedded connect checkout,

I am trying to figure out a way to make sure the things I sell are unique so I can have as little logic for locking things on my side of the application.

I have considered creating a product on the stripe Api but it looks like I can't create it like "unique" or with a stock count of 1.

I asked before but lost the answer here, although I think the recommendation was using payment_links and I'm not sure it solves my problem.

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

What are you working on?
A marketplace with specific unique offers from users to other users.

atomic shuttleBOT
#

@neat pollen pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Need to show customer portal by click this link https://billing.stripe.com/p/login/test_6oE01r7XDdooaxqdQQ

What actually happened?
Showing
'Can't open link
The link you tried is no longer active.'

Reproduction Steps
Just click this link then you can see
https://billing.stripe.com/p/login/test_6oE01r7XDdooaxqdQQ

Question
Why it is showing no longer active? It was working a week ago

#

@brave stirrup pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Hi! We are using the stripe express checkout element and set both billingAddressRequired and shippingAddressRequired to true. For ApplePay we receive both a valid address for shipping and billing.

What actually happened?
For PayPal we only receive an uncomplete billing address.

Reproduction Steps
Reproducable both in test and production environment.

Question
Is this known or expected behaviour? Or is this a bug?

atomic shuttleBOT
#

@prime vector pressed the 🔌 API button in #help to ask a question:

Question
Query on adding additional users under existing subscription, Tier pricing (graduated method)
Query 1: How do I get the tier prcies as 699 for additional users?
Query 2: How do I get a prorated price for additional users? Lets say the first signup happed on 01-MAY-2024, and the customer adds additional users on 15-MAY-2024, the customer should end up paying only half the billing amount (prorated). All recurring payment must happen under same subscription under same billing cycle.

Related Request ID(s)
-

What have you already attempted?
When I add the first user (through Singup), I am abel to grab the price as 799. And when I add additional users for the same subscription, I must be getting the price based on tier as 699.

What are you working on?
When I add the first user (through Singup), I am abel to grab the price as 799. And when I add additional users for the same subscription, I must be getting the price based on tier as 699.

#

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

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

Question
I am searching for the field where the name attribute from the address element is safed. Like when looking at the options I see this:

```tsx
{
name,
address: {
line1,
line2,
city,
state,
postal_code,
country
```
You can see that the name is excluded from the address. Where is this name safed?

What have you already attempted?
I looked through a bunch of guides and codes and couldn't find it

What are you working on?
A checkout process

#

@gusty hollow pressed the 🔌 API button in #help to ask a question:

Question
can i disable the question whether or not phone number should be sent in receipts or invoices?

Related Request ID(s)
n/a

What have you already attempted?
docs checking

#

@mortal epoch pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I'm using the Payment Element with Credit Cards and am listening to the onChange event. If I complete the form the onChange event is triggered with the 'complete' property set to true. However I copy and paste a new card number, expiry and cvc the event doesn't get triggered at all, on any of the input changes even though I believe it should.

What actually happened?
The onChange event does not get fired

Reproduction Steps
- Using the Payment Element enter a credit card number, expiry and cvc.
- Then copy and paste a new credit card number, expiry and cvc
- The onChange event will not get fired

Question
Why does this scenario not trigger the onChange event? We are relying on the 'complete' field to generate a payment method to then display surcharge fees to the customer before they click pay.

What are you working on?
Displaying surcharge fees to customers after entering their card and before clicking pay

atomic shuttleBOT
#

@crimson cape pressed the 🔌 API button in #help to ask a question:

Question
How to distinguish Restricted keys?

Related Request ID(s)
Restricted keys

What have you already attempted?
Is there an API that can help me distinguish between Restricted keys created through the App or created manually?

atomic shuttleBOT
#

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

Code
- (void)reader:(SCPReader *)reader didStartReconnect:(SCPCancelable *)cancelable disconnectReason:(SCPDisconnectReason)disconnectReason

Question
this method never called. - (void)terminal:(SCPTerminal *)terminal didReportUnexpectedReaderDisconnect:(SCPReader *)reader this is working.

What have you already attempted?
M2 Reader Auto reconnect with iOS device

atomic shuttleBOT
#

@oblique axle pressed the 🔌 API button in #help to ask a question:

Question
the customer displayed on portal is not the same as i use the api to charge

Related Request ID(s)
Dashboard>Payments

What have you already attempted?
Init a charge create in api

What are you working on?
charge

#

@fierce mortar pressed the 🪝 Webhooks button in #help to ask a question:

Question
Two days ago (the 1st of the month) I was working on our stripe integration. I noticed that my local machine was receiving hundreds if not thousands of event updates for customer cards that were going to expire this month. (Yes, our test account has that many customers/cards). While my machine was receiving those messages, it wasn't receiving other events I was expecting (payment_intent.succeeded, for example). Are there any performance limitations on the stripe cli that might block them coming through in a timely manner, or are the events all queued, and it would eventually deliver?

Related Event ID(s)
evt_3PBaQkJk75hPCxYy13JnDBIJ, evt_3PBafBJk75hPCxYy0iDpKyYc

What have you already attempted?
NA

atomic shuttleBOT
#

@heady tartan pressed the 🔌 API button in #help to ask a question:

Question
How can I get the Reserved Funds for a payout ID using the API, or the Make.com Stripe-app modules?

Related Request ID(s)
po_1PAj1XAyyYQwWCsZCQgZi43M

What have you already attempted?
I've not found how to do it using the APi documentation, and I don't see a way to do it with the existing Stripe modules in Make.com

What are you working on?
I am working on an integration in Make.com which captures the payouts made to customers and inputs it to accounting software (PowerOffice Go)

#

@scenic swallow pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
How do we add statement_descriptor in Checkout session for Subscriptions?

What have you already attempted?
We already attempted to add statement_descriptor in payment_intent_data as per docs but API is rejecting as payment_intent_data is not allowed when checkout session mode is `subscrption`

atomic shuttleBOT
#

@vale wing pressed the 🔌 API button in #help to ask a question:

Question
I have implemented a script which runs at midnight, to manually create payouts for all my connected accounts. If there's instant available, it does that first and pays out any instant available balance, this is brilliant. However, I don't understand the fees associated with this. Also, if I'm running this at midnight every night, do I need to use instant? How long would a standard payout take?

Related Request ID(s)
N/A

What have you already attempted?
N/A

atomic shuttleBOT
#

@gusty hollow pressed the 🔌 API button in #help to ask a question:

Question
How does sepa bank transfers work exactly?

Related Request ID(s)
n/a

What have you already attempted?
going through the docs

#

@stuck tundra pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/ideal/set-up-payment

Question
When I select recurring product, and the stripe mode is subscription only card and sepa debit options are visible in payment element. Ideal is not visible. But when the subscription is of trial type i.e. transaction amt is 0, I'm loading the payment element in the setup mode and Ideal option is coming. But when I create setup intent for this, the payment method id which I get, I'm unable to create stripe subscription through it. It says no customer attached to that payment method and when I'm trying to attach the customer through API, still subscription is not getting created with that id.

What have you already attempted?
For recurring trial product, I've used setup mode to using automatic capture method to load the payment element. I created setup intent using ideal payment method. Then I initiated stripe payment and confirmed setupIntent. When I use payment method id of setup intent I'm unable to create stripe subscription through it in case of recurring trial product using ideal payment method

#

@hearty raven pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/destination-charges?platform=web&ui=stripe-hosted

Question
I had a lengthy conversation with a support agent on Stripe's website about application fees and how Stripe processing fee is incurred on US, the platform, when we use OnBehalfOf our connected partners and express checkout... but it wasn't entirely clear how we'd programmatically retrieve the processing fee (since it's variable/based on region) so that we can take this fee from the checkout session and not go negative.

What have you already attempted?
I've read the docs and talked to other support agents

What are you working on?
proeprty management system

#

@ashen basin pressed the 🔌 API button in #help to ask a question:

Question
How can we connect our shopify app with stripe.
you already have integration with webkul (multi vendor marketplace ) we want integration similar to it.
how can we do it?

Related Request ID(s)
Nul

What have you already attempted?
Tried to connect with client API and token. but its only doing bank transfers. we want the auto transfer of money.

What are you working on?
We are working on managing how to send payment automatically to vendors.

atomic shuttleBOT
#

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

Code
$ba = $stripe->customers->createSource(
$customer->id,
['source' => $achData['stripeToken']]
);

Question
I have successfully generated stripe bank token using plaid API, but I am getting error when trying to create source using that bank token. I need this source so that I can create a payment intent

What have you already attempted?
I tried above code

What are you working on?
I am stuck . I found on stackoverflow that Stripe API keys may be from different account than connected with plaid

#

@rain tundra pressed the 👍 Best Practices button in #help to ask a question:

Question
I run an EV charger company. Currently I do something like this: block 50USD in the user card, the user charges his car, calculate how much he used and release the rest.

Do I pay a "fee" for the refunded amount? The card is only blocked so it isn't a real refund

Doc/Guide Links
https://docs.stripe.com/charges/placing-a-hold

What are you working on?
EV charger company

atomic shuttleBOT
#

@sage stag pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Klarna inconsistently returning false from Payment Method Configuration API

What actually happened?
When creating a checkout session we query the payment configuration API to see available methods. Klarna is returning for some users despite the API calls being the same.

Reproduction Steps
Request ID: req_gkMQPg3N5a8cmI, returned false.
Request ID: req_Oh4bULbe5tVlzw, returned true.

Question
Can you view the logs of a Get Request to verify this? Is there any reason this would return different results?

#

@serene gorge pressed the 📚 A Doc or Guide button in #help to ask a question:

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

Question
Does the use of recurring billing always incur the Billing service fee (0.5% in my case), or do you only incur that fee if you are using particular features within the Billing product? Confused as to where the line is drawn and seen contradictory information. Thanks

What have you already attempted?
Contacted live support.

atomic shuttleBOT
#

@exotic shadow pressed the 🔌 API button in #help to ask a question:

Question
I am hitting the API with end url https://api.stripe.com/v1/payment_links to create a payment link

Related Request ID(s)
NA

What have you already attempted?
I am getting the payment link thats required

What are you working on?
How can I pass the customer details to the API and how to get the status of the payment done by a particular link sent to a customer

#

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

Code
We possess various testing environments within our application, all utilizing the same Stripe test mode. Due to the extensive testing conducted across these environments, we've accumulated a significant amount of cluttered test data that we aim to tidy up. We use stripe subscriptions and want to clean up the products and their prices periodically.

Question
Stripe permits archiving subscription products alongside their associated prices but does not provide a direct deletion option. Are there any APIs or strategies available to facilitate the deletion of these products within our test environments?

What have you already attempted?
We know we can cleanup the data from the dashboard but we want to automate this via code.

#

@atomic oriole pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I've got a question about a declined ACH payment by method pm_1NdKlXFgNLsBpw0PA7hnWi4s. This payment method was used weekly before and payments went through just fine.

What actually happened?
A payment intent pi_3PAPs7FgNLsBpw0P19rQ3N77 of Apr 28 was declined with response
```
"network_code": "R04",
"reason": "bank_account_invalid_details"
```

Reproduction Steps
N/A. don't actually know how to reproduce

Question

  1. Has anything changed in the verification.. somewhere? Or how could it be that is suddenly failed with such an error?
  2. What's the best to do for that particular customer? Re-setup payment method? Anything else?
#

@ornate aspen pressed the 🔌 API button in #help to ask a question:

Question
I am trying to update my subscriptions next upcoming invoice date.

Here you can understand what exactly I am doing:
I have a subscription plan 120 USD/year for my users. In this subscription I used to send them 12 content articles. I used to send them 1 article every month but incase if I am not able to send them 12 content article in a year then I need to update the subscription date to +1 month more so that they can get all 12 content article and only then they should be charged again 120 USD after they get all their content article

I am doing all this through stripe API. I am using PHP

Related Request ID(s)
invalid_request_error - billing_cycle_anchor Trial end (1725207134) cannot be after billing_cycle_anchor (1714665901). Consider ending the trial (trial_end=now).

What have you already attempted?
$stripe = new \Stripe\StripeClient('sk_test_XXXX');
$customer_id = 'cus_XXX';

// $stripe_data = $stripe->invoices->all(['customer' => $customer_id,'status' => 'draft','limit' => 3]);

$stripe_data = $stripe->invoices->upcoming(['customer' => $customer_id]);

//echo "<pre>"; print_r($stripe_data);die;

$new_renewal_date = strtotime('+3 months', $stripe_data->period_end);
$stripe->subscriptions->update(
$stripe_data->subscription,
[ 'trial_end' => $new_renewal_date]
);

What are you working on?
I am using Wordpress with wishlist membership plugin: Here is the object I have;

#

@nimble moon pressed the 👍 Best Practices button in #help to ask a question:

Question
Hello, I am currently in the process of trying to see how we can migrate our existing payment flow which was built around card elements to the new payment elements UI.

Currently, in our flow,
- We create a payment method using stripe.createPaymentMethod.
- Send the new paymentMethod to our backend to attach to a customer and use in creating a subscription.
- We then return the payment intent secret from the backend and confirm using stripe.confirmCardPayment.

What is the best way I can integrate payment elements based on the above flow?

Doc/Guide Links
https://docs.stripe.com/js/payment_methods/create_payment_method_elements

What are you working on?
Updating

atomic shuttleBOT
#

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

Code
$account = Account::create([
'type' => 'express',
'country' => 'US',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
'business_type' => 'individual',
'business_profile' => ['url' => 'https://joinrealpro.com/'],
]);

Question
i am used to connect ach stripe test mode using this code but stripe status is restricted. Also the card_payment type is inactive and transfers is inactive. how can i solve this

What have you already attempted?
$res=$stripe->accounts->update
(
'acct_1PB7R3IqrOWe4NMr'
,
[
'capabilities' => ['transfers' => ['requested' => true],
'card_payments' => ['requested' => true],

\],

]
);

atomic shuttleBOT
#

@low belfry pressed the 🔌 API button in #help to ask a question:

Question
Hi,

I am encountering an issue where a customer has an open invoice and their subscription is shown as unpaid.

When the customer adds a payment method, the payment method gets charged and the open invoice gets marked as paid.

With our Stripe integration, we would like to avoid doing this. We have a fix in mind but I am unsure how to get a customer in the scenario where their subscription is unpaid.

Thanks

Related Request ID(s)
req_P1dLmMjbFFEHsR

What have you already attempted?
I have tried using a test card that simulates payment failure but this has not worked.

What are you working on?
I want to test a scenario where a customer adds a payment method to their account when the subscription is unpaid.

#

@normal whale pressed the ❌ An Error button in #help to ask a question:

Error Message
{"code": "Canceled", "declineCode": null, "localizedMessage": "The payment has been canceled", "message": "The payment has been canceled", "stripeErrorCode": null, "type": null}

Question
Hi Team,

Framework: Expo React Native
System: Windows

I followed the documentation for setting up Stripe apple payments. After creating a development build, I got the error message when pressing the button.

What have you already attempted?
Previously I tried running it on expo go and got another error. Perhaps running it on the development build solved the issue but received another error as described above.

{"code": "Failed", "declineCode": null, "localizedMessage": "Payment not completed", "message": "Payment not completed", "stripeErrorCode": null, "type": null}

Reproduction Steps
Build a development env using eas build. Press the button to call the pay function as described in the docs. Error displayed and nothing happens in the UI.

What are you working on?
A personal side project

#

@hollow wharf pressed the 🔌 API button in #help to ask a question:

Question
i have a platform and on that there are multiple sellers who are selling their products,when customer pay the payment via paymentintent that payment needs to show on connected account dashboard and they can't transfer that amount to their bank account (may be we achieve this via manual payout which they can't change their payout schedule, only platform can).i want to transfer all payment to platform bank account or platform stripe account from connected accounts and transfer some amount to their bank account.i tried transfer and payout api but getting error

Related Request ID(s)
api

What have you already attempted?
payout and transfer api

What are you working on?
trying to achieve the payout or transfer and need confirmation of my question

#

@gusty hollow pressed the 🔌 API button in #help to ask a question:

Question
can I accept incoming bank payments without making seperate user VBANs?

Related Request ID(s)
n/a

What have you already attempted?
docs

#

@broken spruce pressed the 🔌 API button in #help to ask a question:

Question
I would like to get the issuer for a payment method

Related Request ID(s)
req_bnzN3tiKOy17iN

What have you already attempted?
Tried using the api but there's no issuer data. Like it has on the Dashboard.

What are you working on?
Integration for an web app

#

@soft lark pressed the 🔌 API button in #help to ask a question:

Question
Hello

Is there a way to pass a recurring payment without defining the product before hand? We have a type of payment where it depends to the user location and the user account and would imply creating almost 200 prices and not very scalable on the frontend side.

Second question is the VAT. It shows 1.33€ VAT but we are a medical provider in Germany which means sometimes has VAT (if not a medical service) other times not. (Since medical teleconsultations are VAT exempted. How do we configure that in the API object?

Related Request ID(s)
123

What have you already attempted?
For the first type, tried to pass a description without a "price" object but it fails. For the second part tried to read the documentation and pass objects related to VAT but it does not mention.

What are you working on?
Teleconsulting app.

#

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

Code
I am using Express Dashboard API

Question
I want to show price breakdown in my sellers account . How mych fee of stripe and how much application fee.

What have you already attempted?
I have tried LoginLink api

What are you working on?
Stripe Connect

#

@exotic shadow pressed the 🔌 API button in #help to ask a question:

Question
I am trying to search a product using the https://api.stripe.com/v1/products/search API. When I do Iam get a response as "The search feature is temporarily unavailable in your region"

Related Request ID(s)
NA

What have you already attempted?
Is this not availble in india or is it because I am using a test mode

#

@drowsy crown pressed the ❌ An Error button in #help to ask a question:

Error Message
ERROR there was an error {"code": "Failed", "declineCode": null, "localizedMessage": "No such setupintent: 'seti_1PCLxWLLl7pmgkVlMVKw47bL'", "message": "No such setupintent: 'seti_1PCLxWLLl7pmgkVlMVKw47bL'", "stripeErrorCode": "resource_missing", "type": "invalid_request_error"}

Question
I am trying to confirm a setup intent with a payment method that i've submitted via CardField with Stripe Elements. I keep getting this error about no such setupintent, although it matches the exact setup intent that was supplied to me.

What have you already attempted?
I've tried redoing the code, using different parameters, api versions, etc. Nothing seem sto be working

What are you working on?
this is an app where you add payment methods in order to pay for classes, subscriptions, etc.

atomic shuttleBOT
#

@weak pulsar pressed the 🔌 API button in #help to ask a question:

Question
I'm trying to create an account and a bank account via my API by using the stripe sdk in node. When I make my request to create them, I get this error:
```
Error while communicating with one of our backends. Sorry about that! We have been notified of the problem.
```

Related Request ID(s)
Doesnt appear

What have you already attempted?
Tried googling it

atomic shuttleBOT
#

@gusty hollow pressed the 🔌 API button in #help to ask a question:

Question
onboarding account returns strange data

Related Request ID(s)
n/a

What have you already attempted?
ddocs / trying

#

@worthy path pressed the 🔌 API button in #help to ask a question:

Question
Im having issues understanding how financial accounts work with payouts to connected accounts.

For charges against accounts i create a setup intent, use that client secret to launch authorization flow, then verify it, create the payment method and use it in a payment intent.

But the flow for payouts seems weird in the documentation.
I create a setupintent, use that client secret to launch authorization flow, but then the documentation says i need to create a token to be used to create a payout account, but how do i get the stripe account id that is asking for? the payment intent does not hav

Related Request ID(s)
https://docs.stripe.com/connect/payouts-bank-accounts?bank-account-collection-method=financial-connections&bank-account-collection-integration=direct-api

What have you already attempted?
https://docs.stripe.com/connect/payouts-bank-accounts?bank-account-collection-method=financial-connections&bank-account-collection-integration=direct-api

atomic shuttleBOT
#

@weak python pressed the 🔌 API button in #help to ask a question:

Question
I have the error:
Your account doesn't have PayPal recurring payments enabled. You can either remove `setup_future_usage` or enable recurring payments for PayPal using these instructions: https://stripe.com/docs/payments/paypal/set-up-future-payments

Related Request ID(s)
-

What have you already attempted?
Read the docs

#

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

Code
const elements = useElements();

elements.submit()

Question
I am trying to create a payment method object using stripe.createPaymentMethod() but I am getting this error

Uncaught (in promise) IntegrationError: elements.submit() must be called before stripe.createPaymentMethod().

What is the correct way of calling this method? Would I just do elements.submit() before creating my payment method?

What have you already attempted?
Tried following this doc
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment

atomic shuttleBOT
#

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

Code
var paymentElementOptions = {
layout: {
type: 'accordion',
defaultCollapsed: true,
radios: true,
spacedAccordionItems: true
},
};
paymentElement = elements.create('payment', paymentElementOptions);
paymentElement.mount('#payment-container');
addressElementOptions = {
mode: 'billing',
}
addressElement = elements.create('address', addressElementOptions);
addressElement.mount('#address-container');

Question
Can we capture a customer's name without capturing their address too?

What have you already attempted?
The address element set to billing mode still asks for address, we'd like to only ask for the full name for radar purposes

atomic shuttleBOT
#

@mossy bison pressed the 🔌 API button in #help to ask a question:

Question
I had a testing procedure where, with the API, I'd create a customer, then a paymentMethod (using test card 4242 etc...), then attach it to the customer, etc... for testing purposes. Using Stripe Connect, and passing the stripeAccount. But when trying it using a stripe api key alone, without connect, it complains: "Don't send a raw card number".

Then I tried using pm_card_visa but run into other issues. e.g. when creating the subscription: No such PaymentMethod: 'pm_card_visa'

Related Request ID(s)
req_R1k6T4cSQHYezT

What have you already attempted?
I tried changing my procedure to use pm_card_visa instead of 4242 4242 4242 4242 card, but it does not work either.

What are you working on?
Trying to test destination charges, and as a first step, I am running my test code with a direct Stripe API Key, instead of through Connect

#

@topaz plover pressed the 🔌 API button in #help to ask a question:

Question
We've upgraded to the latest API version, but we're still seeing usage against 2020-03-02. We're pretty sure none of our systems are making these requests. Is it possible that some Stripe-hosted pages still use older versions, such as the page where users can pay an invoice?

Related Request ID(s)
n/a

What have you already attempted?
n/a

#

@sweet tapir pressed the 🔌 API button in #help to ask a question:

Question
I'm building a self-hosted Checkout according to Payment Intent turorial.
In order to integrate another platform via WebHooks, we must provide a *Product Id* or a *Payment Link*, but that's not how self-checkout works.

Besides the API to create product, before our checkout, there's some way to link Payment Intent and a Product?

Related Request ID(s)
req_dwvQoUC65ckhMd

What have you already attempted?
n/a

What are you working on?
We are building a SaaS that manages some products and perform our checkout.

atomic shuttleBOT
#

@willow mirage pressed the 🔌 API button in #help to ask a question:

Question
Why would custom metadata available in Invoices not be available in Radar? I am trying to use a custom metadata tag as a condition in a Radar rule, but it doesn't appear outside of the invoice view.

Related Request ID(s)
Can_provide_examples_in_DM

What have you already attempted?
Tried using the :: metadata tag prefix in 3DS condition.

What are you working on?
Trying to create a few custom 3DS conditions.

#

@soft lark pressed the 🔌 API button in #help to ask a question:

Question
Tax_Rate (VAT) says it does not exist in the connected account, but we created the tax_rate in the dashboard.

Related Request ID(s)
123

What have you already attempted?
We have attempted to try with different accounts but might be something on our code.

What are you working on?
tele consulting app.

#

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

Code
String subscriptionItemid = subscription.getItems().getData().get(0).getId();
SubscriptionItem subscriptionItem = SubscriptionItem.retrieve(subscriptionItemid);
Map<String, Object> params = new HashMap<>();
params.put("quantity", org.getTeams().size());

        String priceId = subscriptionItem.getPrice\(\).getId\(\);
            SubscriptionItem updatedSubscriptionItem = subscriptionItem.update\(params\);

Question
my customer has yearly subscription ending in december. subscription is per seat. The customer subscribed few months ago with 2 seats. The customer is now looking to add 2 more seats. I want to charge the customer now for those 2 seats and instead of waiting till decemver to get the payment.
How t acehive this via code

What have you already attempted?
tried different config.

#

@foggy bolt pressed the 🔌 API button in #help to ask a question:

Question
Hi. I am working with subscription schedules. I made a subscription with 4 phases and finalized the first invoice to move it from DRAFT to PAID state. However the invoice does not charge the default payment method which I have assigned to the subscription using the update method like so :
// First get the payment methods
const paymentMethods = await stripe.customers.listPaymentMethods(customer.stripeID.toString(), { type: "card" });
// Then update
await stripe.subscriptionSchedules.update(subscriptionSchedule.id, { default_settings: { default_payment_method: paymentMethods.data[0].id

Related Request ID(s)
Non

What have you already attempted?
I have attempted to created the subscription, get the list of payment methods for the customer, take the payment method from index 0 of the results, and update the subscription with the new payment method.

What are you working on?
An automated payment system

#

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

Question
I am trying to figure out the code needed to pull past due invoices

Related Request ID(s)
req_DGYkSBc1v3o3i1

What have you already attempted?
Tried a couple ways, unclear. Didnt see much help in docs

What are you working on?
KM

atomic shuttleBOT
#

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

Code
Don't have any code yet

Question
Have a large base of donors. But they're all set as 'Metered' subscriptions. Now we have no MRR or churn data, and have to manually change or cancel as Metered payments can't be changed by customers in the Portal. Need to switch everyone (2000+ people) onto Fixed plans.

Paying a range of prices, but 90% paying the same.

How do I set up a script to do this while keeping payments on same day for each customer?

What have you already attempted?
Set up subscriptions for range of prices and moved some customers over manually to check for problems.

#

@unique rose pressed the 🔌 API button in #help to ask a question:

Question
Is it possible via the API to get the date/time a refund has "settled" in a bank account? We get questions from time to time about why a refund has not "shown up yet" in the customer's bank account. We can give them the reference number to follow up with their bank (which is great) but I'm curious if there is any status change on the refund when the amount is actually settled.

Related Request ID(s)
re_3P7NoPBZdPwcgHSO03kVriQc

What have you already attempted?
Listing/getting refunds and looking for a date that would correspond with it settling.

What are you working on?
Paw Partner payments

atomic shuttleBOT
#

@blissful patio pressed the 👍 Best Practices button in #help to ask a question:

Question
Since payment methods are attached to customers:

  1. Is there a possibility for a payment method to be attached to more than one customer at the same time?
  2. If a customer adds a payment method, and another customer adds the same payment method, will it have the same ID?
  3. should I treat a payment method as a customer independent object or should I tie it in the context of a customer?

Doc/Guide Links
https://docs.stripe.com/api/payment_methods/attach

What are you working on?
.

atomic shuttleBOT
#

@dull forum pressed the 🔌 API button in #help to ask a question:

Question
This is a test question! Can you imagine?

Related Request ID(s)
Yep.

What have you already attempted?
Test question.

#

@gray canopy pressed the 🔌 API button in #help to ask a question:

Question
I want to know if I can fetch total payout amount and total pending payout

Related Request ID(s)
no id

What have you already attempted?
Nothing

#

@mossy bison pressed the 🔌 API button in #help to ask a question:

Question
I am in a rabbit hole trying to test destination charges (and how they relate to my system), and I hit an obstacle: `You cannot create a charge with the `on_behalf_of` parameter set to a connected account with `transfers` but without the `card_payments` capability enabled.`

Is there a way to easily enable capabilities in a connected test account? e.g. my test account I'm focusing on is acct_1PCFoCFzSwZxANzn, I just "requested" the Card payments capability but it says Stripe will contact me to ask me for some information?

Related Request ID(s)
acct_1PCFoCFzSwZxANzn

What have you already attempted?
The question as I posed it isn't API relatede per se, but I suspect I can fix this with the API? maybe creating a test account programatically or something?

What are you working on?
Payment recovery and subscription reactivation system. When a customer cancels, we offer the option to come back. And when they do, we re-create the subscription. Destination charges complicate this.

#

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

Question
What is the best way to automatically trigger a payout after a successful paymentIntent to a customer?

So far we are successfully handling:
- capturing payment information via setupIntent
- charging a customer via paymentIntent once we receive final amount to charge from a third party
- triggering a transfer of part of that successful charge upon receiveing paymentIntent = 'succeeded'
- now we just want to trigger a payout for the remaining balance of that charge

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

What are you working on?
an insurance marketplace

#

@soft lark pressed the 🔌 API button in #help to ask a question:

Question
Direct Charges on Connected accounts Subscriptions do not work. I am trying to create a subscription but when I pass when the requestOptions with the subscription info it creates in the main account (in this case it creates error)

Related Request ID(s)
req_5q644rfAHnxZTQ

What have you already attempted?
different approaches regarding the documentation

atomic shuttleBOT
#

@tiny solstice pressed the 📚 A Doc or Guide button in #help to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/connect/collect-then-transfer-guide?platform=web#enable-payment-methods

Question
I'm looking for guidance on whether Interac e-payment is an option in Canada for Stripe Connect? Does this option support refundable deposits/holds on funds?

What have you already attempted?
I see that Interac debit is an option with stripe terminal, but I cant find any information on whether interac epayment is an option.

What are you working on?
I'm building a marketplace in Canada. I would like the buyers to be able to make payment via Interac, with funds sent to the account of vendors on the platform.

#

@candid snow pressed the 🪝 Webhooks button in #help to ask a question:

Question
How can I trigger a session completed event for a setup mode session via the CLI? The documentation calls out just using `stripe trigger checkout.session.completed`, but that does a payment session

Related Event ID(s)
evt_1PCQn8HTHZMmFuxl2Cw7H7Io

What have you already attempted?
I tried adding `--add session:mode=setup` to no difference

What are you working on?
I'm adding webhook support to our app, with specifically setup sessions for collecting payment information for future use

atomic shuttleBOT
#

@soft lark pressed the 🔌 API button in #help to ask a question:

Question
Hello, sorry for bothering once again, but there is something wrong with stripe api. I used this:

curl https://api.stripe.com/v1/tax_rates
-u "sk_test_•••PL0G:"
-d display_name="VAT"
-d inclusive=true
-d percentage="0"
-d country=DE
-d description="VAT"

To create a tax_rate on the connected account, but I got the notification that the tax_rate does not exist. then when I see the req, it shows on the main account, but I see the tax rate on the dashboard of the connected account.

Related Request ID(s)
req_vwJw5TffE3xYCH

What have you already attempted?
Creating manually and creating via API. This is an important step, because the tax is a legal issue, and the medical services by the German connected account are tax exempt.

#

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

Code
$paidlist = \Stripe\BalanceTransaction::all(['limit' => 100, 'type' => 'charge'], ['stripe_account' => $account_token]);

Question
How to pass created params with start_date and end_date?

What have you already attempted?
nothing

#

@young ruin pressed the 🔌 API button in #help to ask a question:

Question
Is there a way to send an invoice after a payment intent succeeds, for example, when using stripe Elements? I'd like to try to emulate the behavior of completing a CheckoutSession that is configured to send an invoice.

Related Request ID(s)
req_fWQ4k3MmDDvkbr

What have you already attempted?
We currently implement this by creating an invoice, using a setup intent to collect payment method for the customer, and then paying the invoice with that payment method. However, the downside with this approach is that we're required to store the payment method for the user, whereas we'd like for it to behave more like CheckoutSessions where the payment method isn't associated with the user.

#

@cedar knot pressed the 🔌 API button in #help to ask a question:

Question
Any way to specify invoice creation time for subscription schedule?

Related Request ID(s)
req_bo6L0aQnUHmUNh

What have you already attempted?
I tried to set the start_date timestamp to time I want. Works for subscriptions which starts after that time but doesn't work for subscriptions which starts before that time. The invoice is created at the time of subscription creation

What are you working on?
Booking Apartment Site

atomic shuttleBOT
#

@versed patrol pressed the 🪝 Webhooks button in #help to ask a question:

Question
I am currently making an assumption that a webhook event will always dispatch within 5 seconds. Is this a reliable assumption? Or will there be a case where it will take longer?

Related Event ID(s)
charge.refunded

What have you already attempted?
Based on comparing Stripe::Refund.created and charge.refunded.created, I think it's within 1-2 seconds, but I wanted to give a little bit of paddings.

#

@undone tangle pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hello, We're currently enhancing our system's security protocols, particularly focusing on our webhook endpoints. To ensure a secure and reliable data exchange, we're implementing IP-based access restrictions on our webhook endpoint. Could you please provide us with the IP address(es) or range of IPs from which your company will be sending webhook events? Your prompt response would be greatly appreciated as it will allow us to configure our security exceptions effectively and ensure seamless integration between our systems. Thank you!

Related Event ID(s)
cs_live_a1FAFjNYBbRPHRTtjVjxRYmAe2BTfYTGXOHCMKp0WRh5p93uYSyKR8rwiR

What have you already attempted?
I have searched for information in the documentation.

What are you working on?
Improve security

atomic shuttleBOT
#

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

Code
elements = stripe.elements({
clientSecret: 'cs_test_abc_secret_xyz',
})

*ClientSecret is intentionally misrepresented here (though the formatting is the same), the real clientSecret I am getting from the backend is the full 276 character key.

Question
We are attempting to setup an embedded checkout system, however, after attaining a clientSecret and trying to initialize the form we are getting this error:

"Uncaught (in promise) IntegrationError: Invalid value for elements(): clientSecret should be a client secret of the form ${id}_secret_${secret}. You specified: cs_test_abc_secret_xyz"

(The error does show the actual clientSecret key)

The dashboard is in Test Mode. We are using the test keys (both public and secret).

What have you already attempted?
Hard coding a clientSecret key

Also tried a Payment Element created without an Intent and adding the clientSecret on submit to confirmCardPayment (which gives the same error), and confirmPayment, which gives us this error:

"IntegrationError: You must pass in a clientSecret when calling stripe.confirmPayment()."

What are you working on?
We are trying to move from an external Stripe checkout to an embedded checkout on our site. The backend is .Net and the frontend is Nuxt.

#

@south tangle pressed the 📡 API button in #help to ask a question:

Question
We are a platform account that has custom connect accounts with destination charges and process payments through the hosted Invoice. Using the reports API we need to pull itemized payout reconcilation report that includes trasaction details processed on a particular day via invoices and also includes and credit notes that were processed for any invoices in the past on the same day.

Related Request ID(s)
Not available

What have you already attempted?
Tried to look at the Reports API but it seemed very confusing to extratc the data we are looking for

#

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

Code
const person = await stripe.accounts.createPerson(
stripeId,
{

      first\_name\: 'Test',
      last\_name\: 'Owner',
     ...
                ssn\_last\_4\: '9282',
      id\_number\: '755\-50\-9282',
      }
  \)

Question
I have been trying to create an owner for the stripe account as it is a required step for the custom company user. However, when I add the code above and I use the dashboard, a new action is added: Add missing information for Test Owner, which is asking me to add the SSN for US accounts, but as it is shown up on the code, the SSN is already provided.

What have you already attempted?
I have tried changing the format for id_number, removing the dashes, adding spaces and having it just pure numbers. I am not sure what is going on. Also, I have tried to solve it manually using the dashboard in stripe. It says:
Social Security number. Status: Provided.
Even when I replace it using the dashboard button with the same ID, it gives me the same warning.

What are you working on?
Company services marketplace

atomic shuttleBOT
#

@terse whale pressed the 📡 API button in #help to ask a question:

Question
I wanted to confirm the invoice generated from the proration when a customer purchases a product with a recurring price. I noticed that there can be up to two line items (customers can purchase 1 product at a time) - one is the "Remaining time on <product> after <date>", and the other is "Unused time on <product> after <date>". My questions are:

  1. Is this expected for all prorated invoices?
  2. Is there a way to generate an invoice from a proration so the line items clearly show that the customer purchased <x> additional products for the prorated amount?

Related Request ID(s)
req_ayX6tAjkhJmShI

What have you already attempted?
For context, our customers can purchase additional usage during their billing cycle which will be billed immediately. Certain usages are fixed price, while others are recurring prices (so the amount is prorated).

The invoice gets generated from a subscription update (the request ID provided is from making that update) and I set the "proration_behavior" = "always_invoice" for the mid cycle purchase.

What are you working on?
Integrating Stripe to handle billing.

#

@blissful patio pressed the 📡 API button in #help to ask a question:

Question
I need to disable manually entering bank account information.

Is this option exclusive to SetupIntents and not compatible with PaymentIntents?

I currently use PaymentIntents for mode subscription, and SetupIntents for mode setup.

Related Request ID(s)
.

What have you already attempted?
By using Setup Intents, I was able to disable it by setting VerificationOptions on USBankAccount in PaymentMethodOptions to instant.

However, on PaymentIntent, the Elements options component does not seem to have this ability.

atomic shuttleBOT
#

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

Code
var stripe = Stripe('MY KEY');
var elements = stripe.elements();
var style = {
base: {
color: "#32325d",
fontSmoothing: "antialiased",
fontSize: "16px",
'::placeholder': {
color: "#aab7c4"
},
fontWeight: 800,
},

Question
I've been stuck for several days with this problem. I want to customize my payment page and want to make it so that when a user seasons his card, etc., there's a purple border in focus, otherwise a black border, but it doesn't work. Thanks for your precious help!

What have you already attempted?
Several methods, I'm a bit confused

What are you working on?
Online payment in a store

atomic shuttleBOT
#

@agile badger pressed the 📡 API button in #help to ask a question:

Question
is the forwarding api running? I've noticed I'm getting excessive time out errors

Related Request ID(s)
forwarding_api_upstream_connection_timeout

What have you already attempted?
attempted to use the forwarding api from multiple locations

What are you working on?
a tool to decrypt payment methods

atomic shuttleBOT
#

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

Code
Stripe pricing table demo code

Question
Is it possible to skip the options step on the stripe pricing table and proceed directly to checkout with a single option, or do I need to setup stripe checkout?

I don't want to need to set up the server portion of checkout if I can avoid it. pricing table works for me but under certain circumstances I want to skip the options (user already picked elsewhere.)

What have you already attempted?
reading the docs for pricing table and checkout

What are you working on?
my saas app

#

@tropic wyvern pressed the 👍 Best Practices button in #help to ask a question:

Question
I am studying the efficient way on how to make payment to platform users. I wanted to give you an explanation of how to do it in order to get a confirmation of the approach. And if so, correct.
In your platform, customers pay a subscription to access services. When a professional performs work on behalf of a client, they are paid using the subscription money. The funds are kept in the balance of the main account and then a direct payment is made to the specific professional.

Doc/Guide Links
To realization the subscription, i've followed the following link: https://docs.stripe.com/billing/subscriptions/build-subscriptions

While, for the realization of the director payments to specific user, i would follow the following section: https://docs.stripe.com/connect/add-and-pay-out-guide?dashboard-or-api=api#with-code-pay-out-to-user

What are you working on?
Making payments to platform users

#

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

Code
// import { useState, useEffect } from "react";
// import { loadConnectAndInitialize } from "@stripe/connect-js";
// import { useAuth } from "./AuthContext";
// import { BASE_URL } from "../services/api";

// const useStripeConnect = () => {
// const { token } = useAuth();
// const [stripeConnectInstance, setStripeConnectInstance] = useState(null);
// const [clientSecret, setClientSecret] = useState(null);

// useEffect(() => {
// const fetchClientSecret = async (

Question
I am implement embedded UI elements and I'm getting an error:
To initialize Connect embedded components, you must provide either a client secret or a function to fetch the client secret. Please refer to our documentation for more information: https://stripe.com/docs/connect/get-started-connect-embedded-components
at m (https://connect-js.stripe.com/v1.0/connect.js:53:70034)
at Object.value (https://connect-js.stripe.com/v1.0/connect.js:253:1118514)
at Object.init

What have you already attempted?
https://docs.stripe.com/connect/get-started-connect-embedded-components

What are you working on?
i am developing mern stack application - event management

#

⛔️ Stripe developers aren't currently available on Discord

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

We will be back on Monday May 6 around 13:00 UTC (9am EST).

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

#

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

Question
I would like to have an invoice for a subscription being created 7 days before the subscription actually renews. This way, even if the first charge fails, the person still can pay the invoice within these 7 days.

Related Request ID(s)
sub_1PDBIDBxo62JExo2ioKiwgGW

What have you already attempted?
I attempted to set the billing_cycle_anchor to 23 days, instead of 30, but it not only set the invoice creation date to that day, but also the renewal date.

What are you working on?
A way so customers have something like a grace period for failed payments

#

@upper carbon pressed the 📡 API button in #help to ask a question:

Question
We will probably need another checkbox in our checkout. Is this possible somehow?
I only found the option to change the texts, but that would mean we would need to switch from payment links to checkout session. Or using payment elements, but this seems overkill for this problem.

Related Request ID(s)
...

What have you already attempted?
Read docs

#

@raven yew pressed the 🪝 Webhooks button in #help to ask a question:

Question
We are working on a subscription and we are facing challenges when the subscription cycle is completed and recurring payment is in progress. It is taking a couple of days to confirm the payment. we want know how to handle such a situation and what should be the status of the subscription until the payment is being in progress.

Related Event ID(s)
Recurring Payment

What have you already attempted?
Subscription

What are you working on?
Subscription

#

@unique cedar pressed the 📡 API button in #help to ask a question:

Question
I have a past_due subscription (sub_1P9bxnGXtcqHgDW8gvt79sqU) with a failed invoice (in_1P9bxnGXtcqHgDW8rv66r2tO) and a Canceled payment intent (pi_3P9cu6GXtcqHgDW800OJF7zg).

We're building a flow for customers to pay past due subscriptions. Since this payment intent is canceled, we are unable to charge customers. Could you please explain what we can do in this case? Do we need to cancel the subscription and make a new one, or can we somehow recreate the payment intent and reuse it? Also, how/why did it get canceled? I can see it got canceled by Stripe (evt_3P9cu6GXtcqHgDW80FEEnxzG)

Related Request ID(s)
req_zsvOsQZ4PH5jid

What have you already attempted?
* I read Stripe API documentation
* I tried to recreate the scenario. However we can't manually cancel a payment intent linked to an invoice (req_6srGRVRWaXeZBU).

What are you working on?
A flow to help customers pay for past due subscriptions.

#

@steady tiger pressed the 📡 API button in #help to ask a question:

Question
in our end we let the payer pay in platform account then we did a charge manually by this payment destination and with transfer group to the connect account so if I need to refund this payment to the payer what should I do

Related Request ID(s)
no

What have you already attempted?
nothing

atomic shuttleBOT
#

@river tinsel pressed the 🪝 Webhooks button in #help to ask a question:

Question
I'm trying to implement a Stripe integration where there are workspaces and paid seats on that workspace, locked in a particular tier. E.g. a workspace might have 3 users and be on the "Starter" tier. The tier they are on determines the number of credits they are to be awarded each month.

We need to add credits to the workspaces user accounts when:

  1. A subscription renews
  2. A new member is added (prorated)
  3. The tier is upgraded (prorated)

But i'm not sure how to determine which one of the above caused the invoice event. What's the recommended approach?

Related Event ID(s)
Unsure

What have you already attempted?
Storing metadata in the invoice explaining the context of what caused it. (either newMember o upgradedTier) but I don't think we can be sure that this update to the invoice metadata will show until its already been paid

What are you working on?
Web application

#

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

Question
Hi, I wish to integrate wired Transfer for my app with stripe. I need more information on how to do it.

Related Request ID(s)
/

What have you already attempted?
I tried finding some documentation but no luck.

What are you working on?
On an subscription based app

#

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

Question
I'm trying to create a subscription that:
- Start tomorrow
- Has a billing anchor on the first of the month
- Prorates the first invoice (so from tomorrow until first of month)

It's important the subscription needs to be be created without the user having a payment method setup and should never expire if they don't add it.

Related Request ID(s)
req_y0nkj5hCN4ZP0d

What have you already attempted?
Creating a subscription schedule, but I can't get the billing anchor to work. If I create it in the dashboard, the internal API uses a field called `initial_billing_cycle_anchor`, but that's not supported in the API.

#

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

Question
Hello. I am trying to figure out how to handle balance transactions for a failed ACH. It appears the pending ACH is included in a payout, which I didn't expect. Do ACHs now get paid out before they are completed? See py_3P7hnvDOwYADn7R82VmHjWvN as an example.

Related Request ID(s)
I'm not sure what you are asking for here. req_?

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

What are you working on?
I'm working on reconciling payouts to transactions.

#

@slow badger pressed the 👍 Best Practices button in #help to ask a question:

Question
I need to implement a flexible tuition payment system in a Glide app using Stripe and Make. I want to enable parents to split the full tuition somehow into multiple payments throughout the year and include additional one time fees like security fees and deposits. What are the best practices for setting this up?

Subscriptions will work for me only if I do it monthly /every 2 months for certain cycles but I can't add to it one time fees.

Would appreciate the help

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

https://docs.stripe.com/payment-links/create

https://docs.stripe.com/payment-links/api#allow-adjustable-quantities

What are you working on?
A glide app for a private school that needs to incorporate billings for tuitions and other fees

#

@native bridge pressed the 📡 API button in #help to ask a question:

Question
we have 3 PrestaShop servers being a cloudflare login. we’re seeing in the event log that all 3 servers attempt “payment_intent” on every transaction. sometimes this ends up with duplicate orders being created in the PrestaShop database, with intervals for 5 seconds between the creations.

Related Request ID(s)
pi_3PDQg3JkZKkxnNI31

What have you already attempted?
I’m not sure what to attempt. edit the official stripe plug-in? should I modify it to only send from one server, instead of 3?

What are you working on?
PrestaShop self hosted

#

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

Question
How can I update the payment method of a payment intent after it already failed?

Related Request ID(s)
pi_3PDRy4Bxo62JExo21zUr0EqY

What have you already attempted?
I tried updating the payment method of the payment intent, but without success.

#

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

Question
User paid for subscription but want to update his payment method , how can I do that

Related Request ID(s)
update subscription

What have you already attempted?
nothing yet , because its specefic to one user

What are you working on?
updating user subscrption payment method

#

@simple olive pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I expected to login to Stripe with my standard test key.

What actually happened?
It generated a limited key.

Reproduction Steps
Using `stripe --api-key mysecretkey login` ... it does not use my key but generates a new one.
I'm on Debian 12, using ZSH.

Question
How can I prevent the limited key generation to use my standard test key instead via Stripe CLI ?

atomic shuttleBOT
#

@sacred gorge pressed the 📡 API button in #help to ask a question:

Question
I am trying to migrate a small cohort of users from an old custom subscription system to stripe. I have existing customer IDs and have set the default payment method. How do i set the start date to the future in the cli? Also will the default payment method on the customer automatically apply to the subscription?

Related Request ID(s)
N/A

What have you already attempted?
stripe subscriptions create --customer=cus_Q2a86NpRjjy142 -d "items[0][price]"=price_1NC4wPJmq474uon8gtcPKlDJ --trial_period_days=3 .... <how do i set the start date to the future?>

#

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

Question
I'm following this tutorial https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements#create-subscription to create a customer and subscription, but i'm including a trial_period_days when i create the subscription. In this case i'm not have a payment intent client_secret to pass to Elements. How can i create a subscription, collect the payment data and start billing after trial ends, using Elements?

Related Request ID(s)
Elements / Subscription

What have you already attempted?
Generate subscription retrieving setup_intent_client_secret, but i can't use it to start Elements

#

@open cape pressed the 📡 API button in #help to ask a question:

Question
Hello. I am attempting to following the document for connecting to a simulated terminal reader. https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=server-driven&reader-type=smart#register-reader

However, when I add a new terminal location in the dashboard and then attempt to add a new reader with the code "simulated-wpe" I keep getting an error that says "invalid registration code".

How do I add a simulator to the location?

Related Request ID(s)
https://dashboard.stripe.com/terminal/locations/tml_FjN7DQbvoSEBMX

What have you already attempted?
Docs are referenced above.

What are you working on?
Attempting to build a custom application that uses a stripe terminal.

atomic shuttleBOT
#

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

Question
how to transfer money to someones bank account via ACH payment method, i can created customer and saved their payment method, how can i use that to directly transfer money to my customer as they don't have stripe connect id

Related Request ID(s)
req_UPLrgrKWSP7LR1

What have you already attempted?
payout api, transfer api

What are you working on?
trying to pay to the customer who has their payment method saved on stripe

#

@eternal heart pressed the 👍 Best Practices button in #help to ask a question:

Question
Hey, I am currently working on stripe integration for online stores API. I want to create suitable payment flow and i seek for help and advice.
Limitations:
- I dont want to add products to stripe i have them in my database
- I want to use local shipping companys API and i want to gather information about parcel locks etc in the same form (So i want to somehow attach this information to metadata or something)

How should i deal with a situation when fe two people paid for same product but i have only one left? Should i refund one transaction, or is this possible to cancel the transaction and do not pay refund fee or something?

Doc/Guide Links
I tried simple checkout. But i do not know how to cancel a payment.
I tried checkout with custom intent data and manuall authorization. It worked as intended but i don't feel like this is a proper way.
I haven't tried but i know that you can set an expiration time on checkout session to achieve this.

So i am looking for some advices about how can i do this.

What are you working on?
integrating stripe to online shop

#

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

Code
Your targeting settings have disabled payments in the product surface ("integration_checker" notIn ["payment_element", "express_checkout_element"]).

Question
I'm seeing that a specific payment method (Stripe Link) isn’t appearing on my checkout page. Then I used the Payment Methods review page in the Dashboard to find the problem. But after I saw the reason, I did not really understand what I was missing.

What have you already attempted?
I double-checked the payment methods config page and did not find any issues. Stripe Link payment method enabled

What are you working on?
Building subscription payment flow with Payment Element and multi payment methods (card, Stripe Link)

atomic shuttleBOT
#

@devout crater pressed the 📡 API button in #help to ask a question:

Question
How to pass metadata to payment intent created against an invoice

Related Request ID(s)
none

What have you already attempted?
Implemented invoice creation and webhooks to listen for payment_inent.succeeded

What are you working on?
Marketplace

#

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

Question
Can the modal generated by the Identity API have its content shown in other languages? About 30% of our user base currently uses our app in Spanish. Could I conditionally set the modals language?

Related Request ID(s)
none

What have you already attempted?
I've looked through the strip docs, but I didn't see anything on changing the language.

#

@frank falcon pressed the 👍 Best Practices button in #help to ask a question:

Question
I am using stripe checkout hosted page to allow my customers to pays. The two events my API will receive as part of a session are checkout.session.completed and checkout.session.expired. Question is if customer uses debit card / ACH will getting the payment processed take significant time as compared to credit card? My concern is I want to rely on the checkout.session.completed event to send out order confirmation email, but in the case of ACH/debit card that can take time? Please correct me if i'm wrong.

Doc/Guide Links
https://docs.stripe.com/api/events/types?event_types-invoice.payment_succeeded=#event_types-checkout.session.completed

What are you working on?
Integration stripe checkout for processing payments on web app

#

@south trellis pressed the 📡 API button in #help to ask a question:

Question
I'm looking to institute a no show fee in our service and I was told to use the add_invoice_items param on the subscription object however do I need to create a product for a now show. In my head that doesnt really make sense

Related Request ID(s)
none

What have you already attempted?
looking through the api documention

What are you working on?
working on implementing a no show fee

#

@warm dagger pressed the 📡 API button in #help to ask a question:

Question
When a customer is using link as the paymentMethodType with the paymentElement and we pass that elements instance into `createPaymentMethod`, how does the response from stripe differ as far as the payment method card and billing details information that is returned? We rely on knowing the country of the customer from this API call, and I have not found a way to test different link scenarios, such as backed by bank acct versus credit card. Will we always have a country somewhere in the response?

Related Request ID(s)
N/A

What have you already attempted?
Testing locally with link enabled

What are you working on?
adding link to our payment options

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/accounts/create#create_account-country

Question
The docs state that the country parameter is not required when creating a connected account, but I received an error stating that it was required when trying to create an account.

What have you already attempted?
I attempted to engage Stripe support but they didn't seem to understand that I was trying to convey a docs issue.

The request ID showing the error and the payload I sent is: req_L1Jl7Qu4F1rRE9

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

#

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

Code
const connectSessionRes = await stripe?.collectBankAccountToken( {
clientSecret: response.data.createStripeCustomerSession,
} );

Question
collectBankAccountToken seems to be returning null for a token, instead I am getting an array of accounts

What have you already attempted?
first I tried collectFinancialConnectionsAccounts,

What are you working on?
update to payment intents API, replace plaid integration, create payment methods on customer after link session

atomic shuttleBOT
#

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

Code
```
const addressOptions = {
mode: 'shipping',
display: {
name: 'split',
},
//...
};
```

Question
On the address element I see there is a way to use `display: { name: 'split', },` to create the first and last name fields. When rendered on the page the fields are stacked. To match my layout I really need them in two columns. How can I achieve this?

What have you already attempted?
I've tried using JS to wrap the first and last name in a div with class `p-GridCell p-GridCell--12 p-GridCell--sm6` , but this did not work since it's an iframe

What are you working on?
I'm trying to upgrade my payment flow by upgrading from the card-element to use the address and payment element

atomic shuttleBOT
#

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

Code
code is not even close to fitting..

Question
I am struggling to understand what to do to process a payment with stripe. I need far more space to ask the right question.. I have a .net maui front end (using Stripe.net NuGet package - latest version) and a firebase back end. I am aware of 3DS V2 as best practice however basically need to know how to handle cases where required_action has type use_stripe_sdk. This is returned to the device from a cloud funciton. Then what?.. Any advice greatly appreciated.

What have you already attempted?
All sorts, but this damn word count will not let me share what i need to!

What are you working on?
A mobile application (MVVM) with a firebase server-less architecture.

#

@sacred gorge pressed the 📡 API button in #help to ask a question:

Question
Trying to understand why this subscription failed in test mode. I am migrating subscriptions from a custom flow. The subscription is created like so:
stripe subscriptions create --customer=cus_Q3aaEsTn4MmW8V -d "items[0][price]"=price_1NC4wPJmq474uon8gtcPKlDJ -d "trial_end"=1745812799

Default payment method is already set

Related Request ID(s)
https://dashboard.stripe.com/test/invoices/in_1PDVlrJmq474uon8ChaoC1wl

What have you already attempted?
n/a

atomic shuttleBOT
#

@muted wing pressed the 📡 API button in #help to ask a question:

Question
Are there restrictions on Connect Standard Accounts sharing email addresses with existing Connect Custom Accounts on other platforms? We have a very angry customer insisting that they are not able to complete our (Standard) onboarding because the email they signed up with is already being used on a different platform with a Custom account.

More broadly, how does Connect deal with accounts on different platforms that share email addresses? I've read a lot of Connect documentation over the years and I haven't really seen that addressed

Related Request ID(s)
acct_1OhuqlR0B227O3QT, req_zO3ZkTISQ3G5SR

What have you already attempted?
User has attempted to go through our Standard onboarding flow and run into issues.

What are you working on?
Platform to process payments for mental health services

#

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

Error Message
No puedes chatear con esta modelo

Question
Porque no puedo chatear con los modelos? quisiera saber si mi cuenta está suspendida para chatear y si es así por cuanto tiempo me banearon

What have you already attempted?
Ya me cree una cuenta nueva y me sigue apareciendo lo mismo, que no puedo chatear con el modelo

Reproduction Steps
Ya me cree una cuenta nueva para poder chatear y me sigue saliendo el mismo error, espero me puedan ayudar, se los agradecería mucho y si falte alguna norma fue por error, perdón:(

What are you working on?
estoy estudiando en la universidad

atomic shuttleBOT
#

@devout crater pressed the 📡 API button in #help to ask a question:

Question
I need to confirm on our integration. We collect rent from customers based on stay duration. At any phase we collect next 30 days rent and anything left over days will be collected in the last phase. Given this use case, where amount and schedule interval can vary, do i need to run our own cron jobs and send invoices to customer or i can use stripe subscriptions api to tweak and work for this kind of recurring payments?

Related Request ID(s)
not required

What have you already attempted?
Implement invoicing and in-session checkout

#

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

Question
can we choose to _always_ work with an account_id?

Related Request ID(s)
n/a

What have you already attempted?
docs

atomic shuttleBOT
#

@trail geode pressed the 📡 API button in #help to ask a question:

Question
We issued a subscription downgrade using a schedule for a trial subscription. We schedule these at the end of the current period.

This turned the subscription into a normal one with a scheduled invoice. For the end of the period but also created an invoice now. The dashboard shows that the subscription now uses premium feature, and we should update to Billing Scale. We can't edit it in the dashboard.

Is there a correct/better way of changing the price at the end of the trial?

Related Request ID(s)
evt_1PDXI8GiGIQAiaQtWhW4OiJk

What have you already attempted?
We had to use the Stripe CLI to quickly change the price item, remove the higher tier price and turn the subscription back into a trial.

Weirdly, the customer now has a balance of the old incorrectly created invoice. The balance was adjusted with the reason `Invoice too small`.

What are you working on?
Subscription integration into our SaaS product

#

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

Link to the Doc/Guide in question
https://support.stripe.com/questions/prefilling-saved-cards-in-checkout

Question
I wonder if the changes stated on the document are already live. I have performed some tests while purchasing products using Checkout, but even if the option to don't save card information for future purchases is not selected, the card information is still displayed when trying to purchase another product.

What have you already attempted?
When creating a new Checkout session using the ruby library, I am now setting the following parameters.

payment_method_save: 'enabled'
allow_redisplay_filters: ['always']

This causes the "save my card information for future purchases" checkbox to be displayed. However, card information is always displayed, even if the checkbox is not selected when purchasing a subscription product

atomic shuttleBOT
#

@tepid mist pressed the ❌ An Error button in #help to ask a question:

Error Message
Unable to perfrom unit test on stripe using jest

Question
Unable to perfrom unit test on stripe using jest

What have you already attempted?
Unable to perfrom unit test on stripe using jest

Reproduction Steps
Unable to perfrom unit test on stripe using jest

#

@crude abyss pressed the 📡 API button in #help to ask a question:

Question
Is there a way to have my platform fee be what ever stripe would change for the transaction in addition is there way to toggle who pays the stripe fee for

Related Request ID(s)
Any payment

What have you already attempted?
Calculating how much the fee would be and adding it to the price, the problems is that the fee depends on the payment methods, and you cannot decide if the customer or vendor pays for it

What are you working on?
Rental property management, A subscription invoices the tenant, we receive it and transfer it to the landlords connect account

#

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

Question
Hi all, we are PCI level 1 compliant and have already gone through the process of having the ability to process raw PANs turned on. Recently, we are now also using connected accounts. Whenever, I try to tokenize a CC without including my connected account's ID it works but once we do it does not work. How do we go about tokenizing a card for a connected account as the platform account? Thank you!

Related Request ID(s)
req_SMtcs4XrjUZ085

What have you already attempted?
We've been using RequestOptions to pass along the connected account's ID in the Stripe-Account header.

#

@bitter geyser pressed the ❌ An Error button in #help to ask a question:

Error Message
I am stuck on a support ticket for chat at right side of my computer screen since 4 hours and the phone rang and went dead. I cannot cancel ticket to start over

Question
i opened a chat ticket and it said it would call me in 3 minutes and that was 4 or 5 hours ago and I cannot cancel the ticket.

What have you already attempted?
i tried restaring my computer and leaving the stripe website. i cannot get help

Reproduction Steps
someon please call me i am new and have questiosn for my developer and need support and need to clear the chat screen becuae my

#

@heavy cove pressed the 📡 API button in #help to ask a question:

Question
How I can obtain the fees IDS ?

Related Request ID(s)
pi_3PDV482u00BnZWCK04Ceuo03

What have you already attempted?
See Dashboard

#

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

Question
In the first demo, checkout-one-time-payments, how come it wont accept US phone numbers?

Related Request ID(s)
This is for local demo

What have you already attempted?
Google

What are you working on?
playing with the demos

atomic shuttleBOT
#

@cyan wedge pressed the 📡 API button in #help to ask a question:

Question
Inside Stripe connect I am initiating a checkout inside an embedded checkout flow. I have it working for an existing subscription perfect. If I want to add a 3 day free trial, I am simply adding the trial_period_days arg like so and it's returning a 'subscription not found' error.

The only thing between the working checkout and the non-working is the trial argument.

Is there another way I could be doing this?

Related Request ID(s)
-

What have you already attempted?
-

atomic shuttleBOT
#

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

Question
How do i create an invoice for a single product via the API. I initially was working with subscriptions where I can create a subscription and then add a single purchase product add an item to the subscription but in this case, I just want to implement a single item purchase, I'm not sure which of the APIs to use here.

Related Request ID(s)
req_oE6aJRgxiMQ7Mb, req_3h3GxkvQeMTjrF, req_tbtdGj0APgGE11

What have you already attempted?
I tried Creating the invoice >>Create invoice item >> Finalise invoice, this doesn't pay for the item it just sets it to open. But i want to pay for the item automatically and have the invoice that can be sent to the user.

atomic shuttleBOT
#

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

Code
Hi. I am seeing a discrepancy with this doc: https://docs.stripe.com/terminal/quickstart

(I am using node/JS)

That doc e has a button at the top of the document which is a zip file.

Question
The document is much different than the downloaded full project. Neither of them work.

What have you already attempted?
My previous attempts from github had me setup a .env file with both API keys. There seems to be a misalignment. How can I proceed to easily just get a test card # from the simulator so that I can send a payment in test mode?

#

@surreal gyro pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
When people are onboarding with Connect, we need to record their IDs. I have collectionOptions set to eventually_due but it doesnt seem to change the process...

What actually happened?
Connect on boarding is allowing people to complete the onboarding without adding their ID

Reproduction Steps
I am not really sure? Create a connect onboarding flow?

Question
How can we make it so they cannot finish our connect onboarding flow without uploading an ID? I can't see anywhere in the docs other than eventually_due to make this happen, but this doenst work either.

atomic shuttleBOT
#

@graceful thistle pressed the 👍 Best Practices button in #help to ask a question:

Question
Creating Express Connect accounts but we need to "do stuff" when the account is fully ready/verified. It looks like we need another webhook endpoint (for connect events) to see what's going on. However, we don't get a "account ready" event, only several `account.updated` events. How can "wait" until it's ready? Do I have to query the account regularly to check status?

Doc/Guide Links
https://docs.stripe.com/api/accounts

What are you working on?
Fitness app where we have affiliate referrals.

atomic shuttleBOT
#

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

Question
Is metadata added to a payment intent always passed down to the charges?

Related Request ID(s)
n/a

What have you already attempted?
docs

atomic shuttleBOT
#

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

Code
I enabled apple pay and everything on stripe. I am able to pay using Apple Pay or Google Pay. But it's one time payment.

Question
How to implement recurring payment with subscription using Apple Pay?

What have you already attempted?
On subscription checkout page, there's Apple Pay button. But if payment succeed, it doesn't show up on subscriptions

What are you working on?
I am integrating Apple Pay for subscription

atomic shuttleBOT
#

@wary mantle pressed the 📡 API button in #help to ask a question:

Question
Hi,

I'm trying to enable Klarna. I enabled the Klarna on Payment Method. The event data of payment_intent.created has the klarna as the payment_method_types. However, Klarna isn't showing on Checkout UI.

Related Request ID(s)
req_il6Rb0iwZtFk6C

What have you already attempted?
I've checked the rules, currency, and the country code which didn't work out. Using VPN didn't work either.

What are you working on?
Integrating Klara on Stripe checkout

#

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

Question
standard connected account is missing card_payments capability. I only see legacy_payments as a capability. How do get card_payments capability on to the account?

Related Request ID(s)
req_rmRRQi3gZtmpec

What have you already attempted?
Checked dashboard. Cards show as an available method, but capability is missing.

What are you working on?
connect platform

#

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

Question
Hey, how can i get the payment intent of a payment link that is limited to only one payment

Related Request ID(s)
req_3GIJkKbAZtX0D3

What have you already attempted?
using the checkout session api object but i dont want to retrieve all session objects

#

@last cove pressed the 📡 API button in #help to ask a question:

Question
Can I test Stripe Connect and payments without actually creating a business in my dashboard?

Related Request ID(s)
evt_1PDcmdD23F99r2wRyyb9kjXF

What have you already attempted?
I have tried to follow the documentation for onboarding, connect and payments but any documentation I follow eventually ends up with taking me to the dashboard and asking me to create a business profile.

What are you working on?
I'm trying to create an end to end proof of concept for our company of how the stripe integration at a high level will look like. We will have business customers receiving payments from their clients.

atomic shuttleBOT
#

@quaint mist pressed the 📡 API button in #help to ask a question:

Question
Hi im trying to create an onboard account but getting error "TH is not currently supported by Stripe."
Please advice

What have you already attempted?
$account = $stripe->accounts->create()

What are you working on?
stripe onboarding api

#

@wild patrol pressed the 📡 API button in #help to ask a question:

Question
How to show only `Instant` verification method for ACH in payment element before payment intent is created?

Related Request ID(s)
None

What have you already attempted?
Looking for ways do it in react.js

#

@weak light pressed the ❌ An Error button in #help to ask a question:

Error Message
Amount must be no more than 999,999.99 ₭

Question
Why i get error "Amount must be no more than 999,999.99 ₭"? How can i get limit of other currency?

What have you already attempted?
I try call api

atomic shuttleBOT
#

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

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

Question
I'm implementing Tap To Pay feature for the Android app, using latest RN Stripe Terminal SDK. In some cases, when the users do a transaction after putting the app into background for a long time, the reader will be disconnected unexpectedly around the time Tap Card screen appears. It happens after createPaymentIntent finishes and before collectPaymentMethod completes.

What have you already attempted?
I have tried to add the option autoReconnectOnUnexpectedDisconnect as true, and tried to reconnect a reader if it encounter the error. But it can not fix the problem.

Reproduction Steps

  1. Using the app and do some payments. They are successfully as expected.
  2. Put the app into the background (not terminated) for around 2 hours or more.
  3. Open the app to do transaction, it may produce the error above

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

#

@rough blade pressed the 📡 API button in #help to ask a question:

Question
I am creating an automated rent collection platform using the connect family of apis where the user pays the landlord their rent. Sometimes a landlord will collect a few months of security deposit which costs usually 1 or 2 months of rent which gets refunded back to the tenant after their lease term is over. What is best way would be to model that?

Related Request ID(s)
N/A

What have you already attempted?
Currently users are paying the landlords through subscriptions for the rent via ach transfers which works fine. I have thought about charging another transfer as the security deposit but I want to see if there's a better solution. I saw that holds can be placed on credit card transactions but they don't work on ach transfers.

What are you working on?
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

atomic shuttleBOT
#

@steel jacinth pressed the 🪝 Webhooks button in #help to ask a question:

Question
New `account.application.authorized` events does not show up on slack channel with stripe integration

Related Event ID(s)
evt_1PCRLhE9Hr8zGwIPKpWJkWdS

What have you already attempted?
I've added stripe integration in my slack channel that receives `New Customers` events

What are you working on?
I want to receive a notification on my slack channel whenever a new user installs our stripe app

atomic shuttleBOT
#

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

Question
Can we create a payment link without showing the product list just showing the amount thats required?

Related Request ID(s)
NA

What have you already attempted?
Now I could get the payment link only if the product is present and the products are listed in the payment link page

What are you working on?
I just need to create a payment link where I could store the clients details and not displaying the list of products

#

@frigid pagoda pressed the 📡 API button in #help to ask a question:

Question
I want to onboard customers now, set them up for payments, and charge them in the future—when they return the rented product. charge them without any further confirmation. I am using woo-commerce and WordPress

Related Request ID(s)
API stripe

What have you already attempted?
I tried setup intent api and charge using intent id but it show confirmation_requires

What are you working on?
I am building a website for rent the dresses and charge customer only when they return the dress based on the number of days they rented the dress

atomic shuttleBOT
#

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

Question
Im using Stripe Connect and want to onboard users with the embedded onboarding component. After creating a test account, the onboarding component opens a popup and required user sign in to Stripe.

How do I onboard users without them having to log in to stripe?

Related Request ID(s)
?

What have you already attempted?
Controller accounts, account.type custom, express

What are you working on?
Startup

atomic shuttleBOT
#

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

Question
I need to create invoice for the user's subscription items when user upgrades the plan

Related Request ID(s)
N/A

What have you already attempted?
I have tried to create the invoice via api
first creating the invoice and then attaching the invoice items to invoice , but invoice is in draft and price showing is 0

#

@frank cloak pressed the 👍 Best Practices button in #help to ask a question:

Question
I need to update the prices of current subscriptions. As i have customers already using the previous prices i am not sure on how to proceed from there. should i update each subscription individually, or will it be updated automatically? is it better to do it through stripe api or not?

Doc/Guide Links
https://docs.stripe.com/tax/subscriptions/update#products-prices
https://docs.stripe.com/products-prices/getting-started#test-mode

What are you working on?
subscription billing and price changes

atomic shuttleBOT
#

@keen osprey pressed the 📡 API button in #help to ask a question:

Question
Can I confirm multiple payment intent with single confirm call?

Related Request ID(s)
API >> PaymentIntent

What have you already attempted?
Already confirm the card payment by calling multiple time confirmCardPayment method.

What are you working on?
Integrate the Paypal payment flow and don't wan't to open multiple time paypal window for multiple payment Intent.

#

@exotic shadow pressed the 🪝 Webhooks button in #help to ask a question:

Question
How to listen to event after a payment link is sent using API later get the payment status details?

Related Event ID(s)
NA

What have you already attempted?
I could see just create and update events

What are you working on?
I want to listen to event when ever the payment is made and its successfuk

atomic shuttleBOT
#

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

Question
I'm trying to collect the stripe fee before it hits the connected account.
A fee is collected in my account but the next amount is the payment amount.

Related Request ID(s)
pi_3PDiTFC5AMlQxsRA0iopPdKU

What have you already attempted?
Read the documentation many times :(

What are you working on?
A sports team management system that allows players to reimburse their managers for costs

#

@steady tiger pressed the 📡 API button in #help to ask a question:

Question
How to get the transfers that made on the payment by payment id?

Related Request ID(s)
.

What have you already attempted?
.

atomic shuttleBOT
#

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

Error Message
[2024-05-07 10:39:38] local.ERROR: You cannot provide the `usage=off_session` parameter when using a SetupIntent with a PaymentMethod of type paypal. Try again with a different payment method, or create a new SetupIntent with a different `usage` and try again. {"userId":"9bb5d474-a07a-46ae-90d8-207c5abb4318","exception":"[object] (Stripe\Exception\InvalidRequestExce

Question
I am trying to set up paypal for my stripe but I cannot create a. setup intent with paypal as a payment type option. I have tried creating a session and that shoes the same error message

What have you already attempted?
I have tried creating a Sessions a Payment Intent and a Setup intent, but all of them say similar issues, either no mandate data (which I have tried adding) incorrect usage (i have tried on_session, off_session and none)

Reproduction Steps
I am using Stripe-php on a laravel appliction.
\Stripe\Stripe::setApiKey(env('STRIPE_SECRET'));
$session = \Stripe\Checkout\Session::create([
'payment_method_types' => ['paypal'],
'mode' => 'setup',
'customer' => auth()->user()->stripe_id,
'success_url' => 'https://example.com/success?session_id={CHECKOUT_SESSI

#

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

Question
I am making payments with the API and in the webhook I notice that many paymentIntent come with the status: “payment_intent.requires_action”, what happens is that I don't know how to act from here. I am having a lot of bounces at the time of payment because these payments do not end up being made. What should I do?

Related Request ID(s)
evt_3PDW5nLAwobXIPtp09x6brdo

What have you already attempted?
I want customers to be able to pay in a very smooth process with little friction. Now I'm getting a lot of bounces and cancellation of payments because they don't finish the process.

atomic shuttleBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/acss-debit/set-up-payment

Question
https://docs.stripe.com/payments/acss-debit/accept-a-payment

According to your documentation, when creating a Payment Intent or Setup Intent with ACSS debit, besides adding acss_debit to the list of payment_method_types we have to specify additional_method_options. We would like to know the reason and functionality behind payment_method_options.acss_debit.mandate_options.interval_description which is required if the payment_schedule is combined

What have you already attempted?
.

What are you working on?
stripe acs debit integration

#

@long pumice pressed the 👍 Best Practices button in #help to ask a question:

Question
I have an order for customer to pay using Payment Intent. In front end after payment succeed in i redirect the user to a page that show list of success payments through `return_url` params in `stripe.confirmPayment`. However, the order is not actually process until i receive the `payment_intent.succeeded` webhook. How do i make sure that when i redirect user to `return_url`. The webhook is sent and processed. Should i add an delay after `stripe.confirmPayment` success to wait for webhook to process

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/create

What are you working on?
integrate payment intent

#

@inner steppe pressed the 👍 Best Practices button in #help to ask a question:

Question
What is the best practice for testing that a subscription exhausted all payment retry attempts?

Doc/Guide Links
Cannot find any way to programmatically simulate retries :(

What are you working on?
I am writing an integration test with node.js and TestClocks and I need to cover this case.

atomic shuttleBOT
#

@naive yew pressed the 👍 Best Practices button in #help to ask a question:

Question
I noticed there were changes to the Stripe connect onboarding flow UI. Notably, a user no longer puts in their debit card but instead inputs their bank account information, and also no longer have to fill in things like business tax ID. Where can I find more detailed updates like these? I also would like to know how I can see what the flow would look like outside of test mode. Thank you!

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

What are you working on?
Stripe connect testing

#

@lavish quarry pressed the 📡 API button in #help to ask a question:

Question
Can't the test card number get a fingerprint? For example request:
req_weZt9U9kCUGOg0

Related Request ID(s)
req_weZt9U9kCUGOg0

What have you already attempted?
For the completed payment, we want to get the unique identification of the card, how to get it, do we use PaymentIntent

#

@gleaming patio pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We use `SetupIntent.create` with usage set to 'off_session' so that the cards can be charged without things like the 3DS checks.

What actually happened?
We had our clients use on session payments and our admins use off session payments before, however due to an error, we've moved everyone to use off session payments. Since this change, these cards are requiring 3DS checks for some reason. Even prior to our change, all cards were saved with usage='off_session' and we're not sure why these 3DS checks are happening

Reproduction Steps
Create a SetupIntent with usage set to 'off_session'
Try paying for a payment intent with the saved payment method just created in the SetupIntent

Question
Is there something we've done wrong in the move to all off session payments/is there any reasons you can think of that it has stopped working for us. We've never had any issues with off session payments prior to this. Here is a Payment intent id for an example of what we mean pi_3PD0GdDQ1y5Lg5MJ0FUauxkT

What are you working on?
Taking off session payment for all users.

atomic shuttleBOT
#

@short panther pressed the 📡 API button in #help to ask a question:

Question
in my local, stripe is working. in live server ,stripe does not work. is stripe doesnot work in https?

Related Request ID(s)
in my local, stripe is working. in live server ,stripe does not work. is stripe doesnot work in https?

What have you already attempted?
my backend is .net core 3.1 and front end is angular 9.1.8

#

@digital zenith pressed the 🪝 Webhooks button in #help to ask a question:

Question
I just want to get webhook data but don't know why i always got the error

StripeSignatureVerificationError: 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_1PDR8QHo92su1uodG4GkRbX3

What have you already attempted?
as per you provided doc
https://docs.stripe.com/webhooks/quickstart
(Interactive webhook endpoint builder)

i already set up the code but after more study i found that because i am working on nestjs thats why i need to do other then the document like adding buffer into the application which makes request with buffer but still got same error.

one more think this application is deployed on azure app service

What are you working on?
adding micro for using buffer, adding middleware and set buffer manually,

#

@fierce mortar pressed the 📡 API button in #help to ask a question:

Question
Hi, I'm making requests to create a payment intent for a customer. I get the details (client_secret) back and pass that to frontend. When frontend tries to use it, I get the error that the payment intent doesn't exist on this account. In other scenarios, it works fine. I can't see what account it's trying to use which might explain where I'm going wrong.

Related Request ID(s)
req_j7KLDJJowDqTws

What have you already attempted?
Would it make any difference that the scenarios that do work also include 'transfer_group' and ''on_behalf_of' in the request to create a payment intent, which this current scenario doesn't include?

What are you working on?
Taking payments via paymentintent

#

@hearty garnet pressed the 🪝 Webhooks button in #help to ask a question:

Question
In our test environment, our colleagues use a same stripe test credentials to collect stripe payments. And it causes that once a payment completed, our system would receive many same events. How can we optimized this?

Related Event ID(s)
evt_1PDhimE2ZZnUHRVWvnMxKHVn

What have you already attempted?
webhook ids:
we_1OmXFiE2ZZnUHRVWYjTb8dXq
we_1PAOOwE2ZZnUHRVWYTfZobOa
we_1OszBkE2ZZnUHRVW8uvqBMUh

What are you working on?
Integrate with Stripe payment method

atomic shuttleBOT
#

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

Code
I am generating a billing portal session which is working fine.
```
stripe.billingPortal.sessions.create(...)
```

I am facing an issue trying to load it in an iframe:
```JSX
return (
<IFrame
title="STRIPE_CUSTOMER_PORTAL"
isMobile={isMobile}
src={url}
paystationReady={true}
/>
);
```

Question
I am using the Stripe customer portal, We would prefer to load it in an iframe so the user doesnt have to leave our site.
I am creating the session. secret just fine and its working if i visit the url in a new tab.

What have you already attempted?
I have attempted a couple of ways but i can not find explicit documentation saying this is or is not supported

What are you working on?
Allstar.gg

#

@gleaming patio pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Off session payments to work as they had done previously for us.

What actually happened?
They didn't work as they had done before.

Reproduction Steps
We use SetupIntent.create with usage='off_session'
Then we create a payment intent and try to take payment but get 3ds checks.

Question
So I asked this question earlier but now have a new question. I'm wondering what has caused this change. After looking deeper into the issue it seems that our old payment intents don't have the next action when confirming as use_stripe_sdk. Old payment intent id is `pi_3P0W3XDQ1y5Lg5MJ18YDGm3q` and a new one is `pi_3PCkApDQ1y5Lg5MJ22ESmz7d`

What are you working on?
Off session payments

#

@devout geyser pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Payment method "Ideal" should be shown in Stripe Checkout

What actually happened?
"Ideal" payment method was not shown in Stripe checkout

Reproduction Steps
Use CreateCheckout node SDK method and provide a customer id (i.e. on field "customer"). "Ideal" payment method will not be shown even though the payment method is enabled, the currency is available in euro and the origining country is Netherlands

Question
Hello! I am using Node SDK to create Stripe checkout. For existing customers "Ideal" is not shown as a payment method. For new customers it IS shown.
Meaning if I provide customer id to the createCheckout method, "Ideal" is not shown.
What can I do to still present "Ideal" as a payment method?

What are you working on?
Saas product, with subscriptions

atomic shuttleBOT
#

@nimble geyser pressed the 📡 API button in #help to ask a question:

Question
Is it possible to display Apple/Google Pay payments methods using payment elements always when browser support it

Currently ExpressCheckoutElements allows to set Always and it works as intended

For PaymentElements we have only options auto and never, and while it's auto Google do not show if user google session expired.

Instead it should show it and eventually open google sign in like it is with ECE.

Related Request ID(s)
global problem

What have you already attempted?
We tried to find different configuration option of Payment Elements and couldn't achieve same result as with Express Checkout Element

#

@static wraith pressed the 🪝 Webhooks button in #help to ask a question:

Question
Create a Stripe webhook for connected accounts.

Related Event ID(s)
https://docs.stripe.com/api/webhook_endpoints/create

What have you already attempted?
I would like to be able to set up webhooks for users of my application, for this they are connected with Stripe Connect. Similarly, on the dashboard, we do not find the webhooks. For example, I would like to have a webhook for invoices created on the Stripe account.

atomic shuttleBOT
#

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

Code
i will give if opend chat

Question
Hi i have in my app stripe payment ract native elemnet now i need to add request ship address or billing with phone number

What have you already attempted?
.....

What are you working on?
stripe mobile elemtnt react native

#

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

Question
I am implement affiliate in my saas, i need help

Related Request ID(s)
Affiliate

What have you already attempted?
I create a account from affiliate and need to transfer amount.

#

@ornate jackal pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Stripe Checkout doesnt let people create new trials on the same card fingerprint

What actually happened?
Stripe Checkout lets people doing it

Reproduction Steps
-----------------------

Question
Is there a possiblity to prevent this behaviour and validate card fingerprint?

atomic shuttleBOT
#

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

Question
Where does stripe get the informations from?

Related Request ID(s)
evt_1P71n5D4LgnRPd5ty15K2qSa

What have you already attempted?
I looked inside the workbench to find out, if I provided them or not. My result: I haven't provided them.

What are you working on?
A checkout process with data collection

#

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

Question
I am manually creating invoices with invoice items, the invoice is getting created but Stripe is not charging as expected

Related Request ID(s)
in_1PDnSsGVCe8mF8QWbjsd4FUl

What have you already attempted?
N/A

#

@quasi adder pressed the ❌ An Error button in #help to ask a question:

Error Message
on the ios sdk , i've got the "STPaymentHandlerErrorDomain erreur 12" when a user try to add a payment method with the french bank "BNP" and a 3DS (i do not have problem with other bank)

Question
Hello,

What's this error mean ? how i could investigate around it. A user already validate the 3DS code in front of a member of my team.

What have you already attempted?
We used the PaymentSheet to handle the 3DS properly , we implement the webhook. I suspect duplicate customer account but i'm not sure it could have a consequence.

Reproduction Steps
I could not reproduce the issue on my side

#

@steep crystal pressed the 📡 API button in #help to ask a question:

Question
Is it possible to change the background color of an input label?

Related Request ID(s)
na

What have you already attempted?
<Elements
stripe={getStripe()}
options={{
appearance: {
rules: {
'.Label': {
color: '#000000',
colorBackground: '#000000',
'-webkit-text-fill-color': '#000000',
backgroundColor: '#000000',
fill: '#000000',
},

What are you working on?
I am trying to build out the payment elements input to mimic an mui style input.

#

@split fog pressed the 📡 API button in #help to ask a question:

Question
The invoice items are not attached into invoice.

Related Request ID(s)
https://dashboard.stripe.com/test/customers/cus_Q3uuBz4OLqdHPD

What have you already attempted?
I tried with latest library of stripe but still getting same issue.

What are you working on?
I implemented code in my plugin. when customer place an order , the draft invoices are created but invoice items not attached with that invoices it's showing as 'Pending invoice Items' when visit us

#

@devout stratus pressed the 📡 API button in #help to ask a question:

Question
We are building a marketplace and to do that we want to enable Connect Express as connected accounts for our sellers. Our marketplace has been developed under Prestashop 1.7.8.10 and our devs have bought Webkul Prestashop Marketplace stripe payment getaway to integrate stripe on our website. however, they tell us this Webkul module can only enable Connect Standard. Do you know a way to integrate Connect Express connected accounts on our marketplace developped under Prestashop?

Related Request ID(s)
req_5WZ55w3JK7gR1C

What have you already attempted?
Contacted Webkul, and they have answered: We have not managed anything related to this in our module.

Sellers will only be able to connect with the same account type with which the main (Admin) account has been created.

Secondly, please note that in the module we do not create seller account or manage it from the module. Only admin configures the module as per his own account credentials.

If admin has selected Express account at the start: https://prnt.sc/jf61V_qakif6

Then express seller account will be connected.

What are you working on?
Integration of Connect Express for connected acounts on our marketplace developed under Prestashop

#

@serene heron pressed the 📡 API button in #help to ask a question:

Question
¿Is it possible to delete a payment method from a customer?

Related Request ID(s)
-

What have you already attempted?
A client can have more than one so I would only like to delete 1.

What are you working on?
I am working on a solution where it is necessary to remove customer payment methods.

atomic shuttleBOT
#

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

Code
var options = new PaymentIntentCreateOptions
{
Currency = "CAD",
PaymentMethodTypes = new List<string> { "card_present" , "interac_present"},
CaptureMethod = "automatic",
Amount = PageSelect.totalmoney * 100
};
var service = new PaymentIntentService();
var paymentIntent = service.Create(options);

Question
Hello.
Currently, we are continuing to make payments in Canada with a kiosk using terminal.
My question is, the payment is done normally, but I heard that if you use Stripe auto tax api here, tax will also be automatically registered.
Currently, the part below is the code that creates the payment and sends a signal to the terminal.
What should I add here to save the tax?

The status of tax on the current dashboard is active.

What have you already attempted?
AutomaticTax = new PaymentIntentAutomaticTaxOptions { Enabled = true }

this code not working

What are you working on?
Auto tax api

#

@surreal mantle pressed the 📡 API button in #help to ask a question:

Question
I'm going to write unit tests for my developed function that uses the Stripe service in Node.js, and I'm using the Jest framework for unit testing. However, when I try to mock it, I'm getting an "undefined" error for Stripe.

Related Request ID(s)
API level

What have you already attempted?
Tried to mock that but still error

What are you working on?
Node.js And Jest

atomic shuttleBOT
#

@surreal mantle pressed the 📡 API button in #help to ask a question:

Question
I'm going to write unit tests for my developed function that uses the Stripe service in Node.js, and I'm using the Jest framework for unit testing. However, when I try to mock it, I'm getting an "undefined" error for Stripe.

Related Request ID(s)
I'm going to write unit tests for my developed function that uses the Stripe service in Node.js, and I'm using the Jest framework for unit testing. However, when I try to mock it, I'm getting an "unde

What have you already attempted?
I'm going to write unit tests for my developed function that uses the Stripe service in Node.js, and I'm using the Jest framework for unit testing. However, when I try to mock it, I'm getting an "undefined" error for Stripe.

What are you working on?
I'm going to write unit tests for my developed function that uses the Stripe service in Node.js, and I'm using the Jest framework for unit testing. However, when I try to mock it, I'm getting an "unde

#

@sick dirge pressed the 👍 Best Practices button in #help to ask a question:

Question
I see that Stripe elements have a separate form for card and billing fields. Is it recommended to still use billing address or is it not 100% required. I see the Stripe Checkouts have this on by default(I believe).

Also I was looking to collect users first and last name but it doesn't seem to be possible without using the billing form.

Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment
https://docs.stripe.com/checkout/custom-checkout/collect-payment-details

What are you working on?
Building custom checkout with stripe custom checkout beta

#

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

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

Question
Is it possible, to show the a terminal readers name on the location splash screen?

What have you already attempted?
Looked in the dashboard and it appears, that there is only a splash image i can set.

#

@sweet root pressed the 📡 API button in #help to ask a question:

Question
Hey guys, non-dev here trying to build a nonprofit mobile app.

I am taking payments through Stripe but would like to send the user data (email addresses) to an azure webhook. This is so I can enable extra features.

The team building the app is saying that I need to send the data to something that looks like - https://api.backendappurl.com/payments?email="theEmailofThePersonWhoPayed@yahoo.com"

Any idea if I can find a step by step guide somewhere? Or an app that can help?

Thanks,
Lucian

Related Request ID(s)
https://api.backendappurl.com/payments?email="theEmailofThePersonWhoPayed@yahoo.com"

What have you already attempted?
https://api.backendappurl.com/payments?email="theEmailofThePersonWhoPayed@yahoo.com"

atomic shuttleBOT
#

@midnight portal pressed the 👍 Best Practices button in #help to ask a question:

Question
I am looking for a way to have the following system developed and integrated into our product Ternary.

There is the Ternary platform account, and many connected accounts sell products through our app. I am trying to develop an Affiliate System where an Affiliate would connect their stripe account to the Platform Account or, maybe even better, to an already connected account. When USD 100, for example, is accumulated, I want the connected account that sells the products to pay that $100 owed to the connected affiliate account.

Doc/Guide Links
I've gone through many doc routes, StackOverflow discussions, and so on; it would be a waste of time to paste them all; here is what I tried and why it's not what I am looking for.

When $100 payout is reached:

  1. I transfer money from a connected account to a platform account, and from there, I send it to another connected account —that doesn't wor/financial standpoint for our company.
  2. Collect affiliate bank account information and connect it as an external account to a connected account, but that works with only custom accounts; we use standard.
  3. Charging the connected account that sells from the affiliate account as a customer for affiliate service - not ideal
    4..

What are you working on?
Developing an affiliate product for Ternary (Stripe Verified partner).

#

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

Code
payment_method_types: paymentMethods?.slice()

In console:
(4) ['ideal', 'three_d_secure', 'wechat_pay', 'card']
0: "ideal"
1: "three_d_secure"
2: "wechat_pay"
3: "card"
length: 4
[[Prototype]]: Array(0)

Question
It is not loading the payment methods. Request ID is req_DcbbxlgeBkCLL7

param: "deferred_intent.payment_method_types"

What have you already attempted?
I have tried my best to load it but it seems to throw the above error with message as empty.

#

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

Question
Create a transfer in stripe, using the api

Related Request ID(s)
Create a transfer in stripe

What have you already attempted?
Create a transfer in stripe

What are you working on?
Create a transfer in stripe using api

#

@winter tulip pressed the 👍 Best Practices button in #help to ask a question:

Question
Our system creates subscriptions using subscription schedules, which fits well with our installment plans & a predefined number of iterations but is there a way of creating an 'ongoing' schedule that will not end until someone actively cancels the subscription?

Doc/Guide Links
I have looked at:
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases

https://docs.stripe.com/api/subscription_schedules/create

What are you working on?
Subscriptions

#

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

Code
Not sure what I can put here

Question
Is there a way in code to check if google or apple pay has been selected when using Payment Elements?

What have you already attempted?
logging the elements instance

#

@sacred nacelle pressed the 🪝 Webhooks button in #help to ask a question:

Question
Not signing webhooks properly.

No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?

This is how I'm constructing the event:

const signature = req.headers.get("stripe-signature");

event = stripe.webhooks.constructEvent\(payload, signature!, webhookSecret\);

Not quite sure where I got this code from since it's been a while since I worked on this project.

Related Event ID(s)
None, happens for every webhook event

What have you already attempted?
I've checked what "signature" and "webhookSecret" are. Signature is something like t=bunchofnumbers,v1=somestring,v0=somestring

Webhooksecret is the token the CLI tool provides me.

What are you working on?
Just a simple checkout for a SaaS

#

@carmine lintel pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
The card reader is on and connected to the wifi so it should be reachable (and able to be updated with cart items).

What actually happened?
I get an error that says the reader is unreachable (`req_JnrAJ8htMj2I5w`). This happens even though the network health check said the network was healthy.

Reproduction Steps
Connect a card reader to Wifi and use server-driven integration.

Question
Why is the reader unreachable when the health check says everything is fine?

What are you working on?
In-person payments

atomic shuttleBOT
#

@sacred gorge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We have automated ACH retries turned on. This should mean that when a subscription payment fails, it automatically gets retried by stripe.

What actually happened?
The retries never seem to occur for us. Here is an exmaple: pi_3P8VSiJmq474uon81k9wmuXl

Reproduction Steps
ACH subscription -> payment fails -> never retries

Question
Are we missing something in the API? Is there a special set up intent needed for this or something?

#

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

Question
The calculation of the tax rate is not accurate. The tax authority only accepts a tax rate of 0.27, but based on the invoice data it comes out to 0.26938775510.
How can I adjust the amount of the tax to be more accurate?
Calculation: $1.32/$4.9 = 0.26938775510....

Related Request ID(s)
req_jYkBaH90E7D6ND, in_1PBOrUC4IWtBR5aR6fZEPoxt

What have you already attempted?
I have read the documentation and the api documentation.

atomic shuttleBOT
#

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

Question
Create affiliate using accountLink api

Related Request ID(s)
AccountLink api

What have you already attempted?
I create account and fill all informations in test mode, but what happen that the account is restric, why this happen?

#

@karmic isle pressed the 📡 API button in #help to ask a question:

Question
I am needing to sell tickets for a fundraiser we're having Monday. The app I planned on using only accepts donations, so I'm wondering if I can set up a Stripe payment link with custom tickets then accept payment with my Stripe M2 card readers via bluetooth?

Related Request ID(s)
n/a

What have you already attempted?
using the Givebutter app (but they only accept donations) & I tried checking out without any backend setup on Givebutter to see if it would input the card info on the checkout form (it wouldn't)

#

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

Code
elements.update({ setupFutureUsage: 'on_session' });

    // Confirm the PaymentIntent using the details collected by the Payment Element
   const { error } = stripe
      .confirmPayment\({
        elements,
        clientSecret\: intent,
        confirmParams\: {
          return\_url\: 'https://example.com/order/123/complete'
        },
        redirect\: 'if\_required'
      }\)

Question
Following this https://docs.stripe.com/api/payment_intents/create#c, we need to know if the payment type is for future usage or not. Some products we do have this and others we don't. If i dont include `setupFutureUsage` i get an error when trying to create the intent but calling `elements..update({ setupFutureUsage: 'on_session' });` causes the Stripe Payment Element to reload.

We just worry it might be a bit odd to the user where payment options are showing an hiding.

What have you already attempted?
Not having elements.update({ setupFutureUsage: 'on_session' }); but this has an error when calling confrimPayment. If we call the update then the Stripe Payment Element reloads

What are you working on?
Upgrading from the legacy card element to the stripe payment element

#

@wary mantle pressed the 📡 API button in #help to ask a question:

Question
We want to enable Klarna on this test account acct_1IoJkJLs5AKDbJzG but Klarna is not showing on checkout UI.

https://dashboard.stripe.com/test/connect/accounts/acct_1IoJkJLs5AKDbJzG/payments/pi_3PDrHULs5AKDbJzG1XsFlgT7

Related Request ID(s)
pi_3PDrHULs5AKDbJzG1XsFlgT7

What have you already attempted?
I enabled the Klarna on payment method. I verified the rules like currency, country code and tried VPN.

What are you working on?
Integrating Klarna on Checkout

#

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

Question
Hi there - Test clocks seem broken and not sure whats going on. They keep getting stuck

Related Request ID(s)
evt_1PDrSRFNVbYFceRM8fjn1ufA

What have you already attempted?
Run test clocks via code and dashboard

#

@unique rose pressed the 📡 API button in #help to ask a question:

Question
I'm seeing something weird when making a balance_transaction call for a specific payout -(using type=payment) - it is returning ALL payments for the business back to when they started (over 7,300). My suspicion is that since we just enabled automatic payouts yesterday - previously this business was on manual payouts - that Stripe sees the entire transaction history as being in this "first" automatic payout.

Related Request ID(s)
req_Md8P47d6VvXsz3

What have you already attempted?
During testing I saw that transactions were being returned that I know are not in the payout amount that was sent out

What are you working on?
Paw Partner Payments

#

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

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/multi-currency-prices

Question
How could I use multi-currency prices with the Express Checkout element? Is there docs on that somewhere?

What have you already attempted?
Finding docs for leveraging currency conversion with the Express Checkout element

What are you working on?
Stripe Integration

atomic shuttleBOT
#

@lyric wedge pressed the 📡 API button in #help to ask a question:

Question
Is is possible to remove invoice items that were previously added by the add_invoice_items method while updating a subscription?

Related Request ID(s)
none

What have you already attempted?
I am currently on the stripe subscription update docs page and can’t find a method to remove appended invoice items

What are you working on?
I am trying to charge an additional fee for a user if they no-show a meeting without notice, but an admin can override this charge for some reasons which is why I would remove the additional charges.

#

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

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

Question
This document refers to an "online publishing platform" - is there an actual sample code implementation for this, or does this document just describe it conceptually?

What have you already attempted?
Searched various places

What are you working on?
Integrating our media application with stripe for content creators.

atomic shuttleBOT
#

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

Code
```
const subscription = await stripe.subscriptions.update(
'sub_xxxxxxxxx',
{
items: [
{
id: '{{SUB_ITEM_ID}}',
deleted: true,
},
{
price: '{{NEW_PRICE_ID}}',
},
],
}
);
```

Question
What is sub item id? is it the subscription id?
ref: https://docs.stripe.com/billing/subscriptions/upgrade-downgrade

What have you already attempted?
nothing yet

#

@bold jewel pressed the 👍 Best Practices button in #help to ask a question:

Question
Until recently, we have had Cypress e2e tests running in our pre-production environments testing our Stripe integration in test mode. Those tests are no longer working, and from the documentation, it appears that this practice is discouraged. What is the reason for discouraging automated testing using test mode keys, and what is the recommended way of testing a stripe integration in a CI pipeline?

Doc/Guide Links
https://docs.stripe.com/automated-testing#:~:text=Frontend interfaces%2C like Stripe Checkout,its ability to handle errors.

What are you working on?
An established subscription-based SaaS

#

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

Code
How to implement subscription using Apple Pay?

Question
I am implementing Apple Pay subscription. Form Apple Pay button, what sort of user's data can i get? Coz, I will need to create a customer on stripe

What have you already attempted?
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements
I am trying this with Apple Pay.

What are you working on?
I am implementing Apple Pay subscription

atomic shuttleBOT
#

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

Code
const stripe = Stripe(process.env.STRIPE_PUBLISHABLE_KEY);

// lineItems are objects like
// { price\: stripePriceId, quantity\: N }
stripe.redirectToCheckout\({
  lineItems,
  mode\: 'payment',
  successUrl\: process.env.STRIPE\_SUCCESS\_URL,
  cancelUrl\: process.env.STRIPE\_CANCEL\_URL,
}\);

Question
I get an error that says "v3:1 Uncaught (in promise) IntegrationError: No such plan: 'price_XXXXX". Everything I've seen in google says to "create a plan in the console." However, this is not a subscription. These products are one-off purchases.

What have you already attempted?
Editing the prices in the dashboard, double checking the ids.

What are you working on?
A values survey

#

@warm dagger pressed the 📡 API button in #help to ask a question:

Question
Hello! We had link unexpectedly enabled without having done the work to make it compatible with our system. I am trying to determine if there is anything we need to do to clean this up. Currently, if I enable link, when I create a payment method, I do not see the card details returned in the payment method creation response, however many of our customers who used link have card details stored. I am trying to figure out how this happened. For one payment method (pm_0P6IGSUmS57H7yUMwjKIKUms) I can see the log for when we attached it to the customer but not the creation.

Related Request ID(s)
req_ZSN0LHzYJa1rs8

What have you already attempted?
searching the dashboard for the network call that created the payment method.

#

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

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

Question
The docs are rendering oddly today for me. Is this a new style that's expected or is there some error with the page?

What have you already attempted?
Looked at the docs page.

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

#

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

Question
How can i disable apple pay and google pay at Elements? I need to enable only card payment method.

Related Request ID(s)
--

What have you already attempted?
const stripeSubscription = await this.stripeNew.subscriptions.create({
customer,
expand: ['pending_setup_intent'],
trial_period_days: trialDays,
items: [{
price,
}],
payment_settings: {
payment_method_types: ['card'],
},
discounts: [{
promotion_code: promoCode,
}],
});

#

@upper tusk pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
During the ACH payment flow we expect our connect account's stripe branding to be present

What actually happened?
Our stripe branding is present

Reproduction Steps
setup automatic payments with stripe custom payment flow using the payment element and create the payment intent with the connect stripe's account

Question
We want our connected accounts branding to show up. Our customer's customer may have know knowledge of us and wonder why this random company is connect to their bank account

What are you working on?
a CRM for photorgraphers

atomic shuttleBOT
#

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

Question
For a purchase made using a us_bank_transfer (Wire Transfer), is there a chance it becomes instantly available for payout? Or does it follow similar rules to Cards?

Related Request ID(s)
General question, no logs

What have you already attempted?
Payout documentation doesn't really cover the black box of Payout availability and there is no mention of us_bank_transfer or how that method of payment might influence payout availability.

In the help channel, I see that Payouts questions might not be served here, but wasn't sure if this fell into the API or Payouts group.

Additionally, all of our Payouts in test envs are on a 7 day window, but it's tough to deduce whether this is a test env artifact or reflects what we may see in production.

What are you working on?
Collecting payments for our users and making sure they get paid out expediently

#

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

Question
I want to add payment methods with customer and standard account and after that we are using payment checkout so we need that payment method must be appear by default for payment for that user over there we had tried and added payment method but it is not appearing on checkout page.

Related Request ID(s)
"id": "cs_test_a1RUKYc6NuhVGStsMeT2ZgLL4xhbJaLX950qxbYTs0VWAIYsUGbKbF300b"

What have you already attempted?
We had used customer and standard accounts and added payment method as well but it is not appearing on checkout page .

What are you working on?
Developing a platform.

#

@lofty matrix pressed the 📡 API button in #help to ask a question:

Question
For php, how do I configure requests to go through an https proxy? Where is the documentation, I can't find it.

Related Request ID(s)
None

What have you already attempted?
I've tried searching through the API, but can't find it.

What are you working on?
php backend to stripe through SDK

atomic shuttleBOT
#

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

Question
What is the max length suppose to be on Cardholder name? It seems like some fail because the length of names are too long.

Related Request ID(s)
None

What have you already attempted?
Truncating but don't know the length

#

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

Code
TLDR; on Subscriptions for SaaS Product

Question
TLDR; on Subscriptions for SaaS Product

What have you already attempted?
Reading docs

atomic shuttleBOT
#

@glossy rock pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
I made a call to update an existing subscription's metadata key value. I expected the metadata key value to be updated only.

What actually happened?
The subscription's `canceled_at` property was set to a timestamp that matched the time the event (as per Stripe dashboard).

Reproduction Steps
Take an existing subscription and make an API call to update an existing metadata entry on the subscription. Note the subscription's `canceled_at` will be updated. Note the `customer.subscription.updated` event will also show the changes and show the previous `canceled_at` value in the `previous_attributes` object.

Question
I do not expect `canceled_at` to be mutated when the API call does not affect it.

API call: `req_bSUjwcBAePZPbf`
Event generated: `evt_1PDueoCi2Sw6UZ9JbmwJhbxS`

Note the `canceled_at` value on the subscription aligns with the time of the event.

atomic shuttleBOT
#

@lapis rapids pressed the ❌ An Error button in #help to ask a question:

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

Question
We don't know what is wrong because everything works except this part and we use ios

What have you already attempted?
Were try to use payment intend with stripe reader terminal we still in Develop

#

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

Code
const subscriptions = await stripe.subscriptions.list({
customer: customer,
limit: 50,
status: "active",
});

Question
Is there a way to get charge id from subscriptions?

What have you already attempted?
I'm not sure if I can expand to see the charge?

atomic shuttleBOT
#

@tough chasm pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Resume paused subscription after user links default payment method.

What actually happened?
Paused subscription stays paused and Stripe generates a new invoice with "Open" status.

Reproduction Steps
I'm pausing subscription after trial period if payment method is still missing. Then if I receive SetupIntentSucceeded event, I assign it as a default for customer and subscription.
and try to resume subscription with the following code:
var service = new Stripe.SubscriptionService();
var subscription = await service.ResumeAsync(subscriptionId);

Question
I receive status code 200 as a response from ResumeAsync method but why it stays in paused status? Where can I find a reason? and what are the best practices in this case to implement?

What are you working on?
Subscriptions

atomic shuttleBOT
#

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

Question
How to create a product with amount>99999999?

Related Request ID(s)
req_IcTL6kCFfR5Epo, req_IaFbVrk5JoAozg

What have you already attempted?
Tried creating plans with the required amount, however it is not possible.

What are you working on?
We've two plans roughly around 69.95 USD and 573.95. I've to create LBP equivalent plan prices for customers in Lebanon. However the API is not letting me create the plans with the above restriction.

#

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

Link to the Doc/Guide in question
https://stripe.com/en-mx/terminal/s700#paymentTypes

Question
I have a question about how to implement the Stripe payment system through their terminals. We operate a food app for drive-thrus and need to send the total amount to the terminal and then credit the payment to our system when it's processed. We're interested in the "Stripe Reader S700" device. I want to know if there's any documentation where I can read about this, if this device is needed for testing or only for my production environment, and if this is the best device for my needs.

What have you already attempted?
I have not implemented it before

What are you working on?
Drive-thru and admin portal with kitchen and cashier station

atomic shuttleBOT
#

@muted wing pressed the 📡 API button in #help to ask a question:

Question
This is a continuation of this thread: https://discord.com/channels/841573134531821608/1237117731204235274

It turns out that the user's existing Stripe account is an Express account, and they only authenticate via a texted single-use code. Therefore, when the account link flow asks them for a password to their existing account, they're unable to provide one.

Related Request ID(s)
acct_1OhuqlR0B227O3QT

What have you already attempted?
Client has tried to initiate the account link flow and gotten stuck. More details in the previous thread.

What are you working on?
Mental health billing platform

#

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

Code
def update_prices():
try:
# Retrieve the product with the given name
product = stripe.Product.list(name="Monthly Donation (GBP)", limit=1).data[0]

    \# Retrieve all prices for the product
    prices = stripe.Price.list\(product=product.id\)

    \# Iterate through prices
    for price in prices\:
        \# Check if the price is £7 per unit per month
        if price.unit\_amount == 700 and price.currency == "gbp" and price.recurring.in

Question
Trying to update pricing from usage to fixed for subscriptions to a specific product. Starting out testing specific amounts.

What have you already attempted?
Am newbie with python and getting an IF error on this code.

#

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

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

Question
I want to ask how I can enforce payment receipt to be sent for Standard Connect account when I'm using the Checkout Session API.

What have you already attempted?
Under "Stripe Connect receipts" header, it says to pass receipt_email however I believe this does not work for Checkout Session API. Is there another way?

In addition, is it possible to manage the email setting for a Standard Stripe account as I know the platform can set customer email for successful payment here https://dashboard.stripe.com/settings/emails

What are you working on?
SaaS non profit club management platform

#

@wary mantle pressed the 📡 API button in #help to ask a question:

Question
I'm figuring out how to process Klarna with its return url. I've noticed that once Klarna is processed, a browser is rerouted to a new url(https://pay.playground.klarna.com/eu/hpp/payments/dffced74-edbf-2a97-a788-134514c010a3#kp-loaded). Is there any way we can render Klarna inside the iframe? We want to keep the order data. Are there any parameters we can use to change the behavior of Klarna?

Related Request ID(s)
N/A

What have you already attempted?
I've looked into docu but couldn't find any helpful info

What are you working on?
Integration Klarna with our checkout system

#

@grizzled tendon pressed the ❌ An Error button in #help to ask a question:

Error Message
Account debits are not supported from BR to BR.

Question
Is possible debit from BR to BR

What have you already attempted?
// Primeiro passo: retirar os fundos da primeira conta conectada para a conta da plataforma
await this.stripe.transfers.create(
{
amount: Math.round(amount),
currency: 'brl',
destination: '',
},
{
stripeAccount: ownerConnectedAccount,
},
);

atomic shuttleBOT
#

@hearty garnet pressed the 👍 Best Practices button in #help to ask a question:

Question
We're an e-commerce platform. The sellers can create shop and sell products to the customers. Some of them use stripe test credentials in our live environment. How can we prevent this happen?

Doc/Guide Links
I had no idea which docs to find solution.

What are you working on?
Tried to optimize our clients' behavior on using stripe credentials

#

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

Error Message
[Stripe terminal]: didFinishDiscoveringReaders { error:
{ message: 'Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid.',
code: 'CommandNotAllowed' } }

Question
I encountered this issue after upgrading the Stripe Terminal React Native SDK to version 0.0.1-beta.18. The previous version 0.0.1-beta.17 didn't suffer from this issue

What have you already attempted?
It happens the first time, so I have no idea about it.

atomic shuttleBOT
#

@lucid reef pressed the 👍 Best Practices button in #help to ask a question:

Question
Hi
Just wondering if it's possible to pause payouts for a connect account through the API? Or can it only be done through the dashboard?

We're wanting to add some additional fraud/risk indicators into our platform that, when raised, will disable payouts on the connect account - requiring a review before being re-enabled.
We also want to use a similar mechanism for large ACH payments, allowing us to pause payouts for a day or two to allow us to review and give a bit of extra time for the payment to clear before resuming payments - rather than adjusting the default payout schedule for the account overall.

Cheers

Doc/Guide Links
https://docs.stripe.com/connect/risk-management/best-practices
https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts

What are you working on?
Carepatron. A SaaS platform using Stripe connect accounts + destination charges to allow our users to collect payments from their clients.

atomic shuttleBOT
#

@slender mason pressed the 🪝 Webhooks button in #help to ask a question:

Question
If I "disable" a webhook, will the messages be queued until it is reenabled? I need to put my application into maintenance mode for 3 hours, during which time webhooks cannot be processed. Is this the correct strategy? Thanks.

Related Event ID(s)
NA

What have you already attempted?
NA

atomic shuttleBOT
#

@languid patio pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
Send the invoice automatically after the previous invoices are paid

What actually happened?
Future invoices were in draft state for about 2 days I have to manually finalize it

Reproduction Steps
Let the previous two three months invoices unpaid

Question
There were two invoices of month march and Feb. unpaid, Recently user paid those invoices however the future invoice for April is in draft state and I have to manually finalize it.

What are you working on?
How the subscription invoices works and What status of future invoices?

atomic shuttleBOT
#

@real fog pressed the 🪝 Webhooks button in #help to ask a question:

Question
Hi Support, good day! What will happen to a certain Payment Intent that was flagged as fraud before but has been added to the allowed list? How do we retry that specific Payment Intent that has been allowed to the list?

Related Event ID(s)
None

What have you already attempted?
Tested a fraud payment and then clicked the 'Add to Allow List' button.

#

@wild patrol pressed the 📡 API button in #help to ask a question:

Question
Unable to send metadata in /proces_payment_intent API.

Related Request ID(s)
req_1jw2QvqSTGzy1C?t=1715145979"

What have you already attempted?
Tried sending metadata in process_payment_intent using stripe go v74 sdk
version: 2022-11-15

#

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

Question
I need to include metadata at the checkoutsession that it can retrieve at the charge.succeded event at the webhook.

Related Request ID(s)
non

What have you already attempted?
Include metadata at the checkoutSession

What are you working on?
API

atomic shuttleBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/connect/get-started-connect-embedded-components?client=js#account-sessions

Question
This documentation link only gives examples of embedding the onboarding component using vanilla HTML/JS or React. Our app uses Flutter (for both web and mobile). How can we use this in our Flutter app? Is there a way to use this as an iframe?

What have you already attempted?
Nothing, as I could not find relevant documentation

atomic shuttleBOT
#

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

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

Question
We're facing issue with creating and paying invoices for one time purchases. Issue is with recent changes for Stripe India's regulatory changes with RBI. As now we've to provide mandate information to charge users.

We are using Checkout sessions for Subscriptions which handles the mandate options automatically.

My question is how do I get mandate Id from that subscription to use with Invoice pay?

What have you already attempted?
We tried adding payment_method > mandate_options but invoice.create doesn't accept those params. Only SetupIntent does.

What are you working on?
We want to charge users for Add-On packs manually using the payment method of Subscription.

#

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

Code
const { error } = await stripe.confirmPayment({
elements,
confirmParams: {
// Make sure to change this to your payment completion page
return_url: `${window.location.origin}/completion`,
},
});

Question
this code giving me error Uncaught (in promise) IntegrationError: Your code called confirmPayment() but you passed a client_secret associated with a SetupIntent. Did you mean to call confirmSetup() instead?

What have you already attempted?
I have implement payment intent alredy

#

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

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

Question
In one host account, there are multiple places (Place A, Place B), and the host wants to set different business and bank account information for each place.
In this case, within the same Stripe Connect account, is it possible to input the onboarding information for Place A and then add new business and bank account information (different from Place A) for Place B?
When updating information, can the Stripe Onboarding information for Place A be displayed by pressing the information update button on the Place A screen? Or will the entire list of created information be displayed?

What have you already attempted?
I attempted to display the onboarding screen in test mode on Stripe.

What are you working on?
Platform sevice like Airbnb

#

⛔️ Stripe developers aren't currently available on Discord

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

atomic shuttleBOT
#

✅ Stripe developers are currently available on Discord!

atomic shuttleBOT
#

@spark urchin pressed the 📡 API button in #help to ask a question:

Question
I want to retrieve expected payouts as seen in the Stripe dashboard under Balances and "Upcoming" to your bank which uses following endpoint: https://dashboard.stripe.com/v1/balance/pending/eur

Related Request ID(s)
req_znDvYJqBYEfxAr

What have you already attempted?
I tried using the payouts API /v1/payouts but this does not list any pending or in_transit payouts in my case where the stripe dashboard endpoint does.
Also trying to use the stripe dashboard endpoint does not work outside of the stripe dashboard.

#

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

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

Question
I want to integrate 3d secure payment on my onsite checkout I'm already using the stripe payment but now I want to do 3d secure payments in php

What have you already attempted?
No

What are you working on?
I'm building 3d stripe payments

atomic shuttleBOT
#

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

Question
We have multiple PriceIDs inside a single Stripe Product. We offer tiered subscription to our customers where they can select between Basic and Pro plans. When a user selects a new plan, we create checkout session with that price id. But when user completes checkout, they are now subscribed to two different PriceIDs inside a single Product. Is there a way to delete the earlier subscription (and refund pro-rate) when we create checkout with a new PriceID inside the same Product? If not, what's the recommended way to do this? Something similar to when user switches from monthly to yearly plan.

Related Request ID(s)
evt_1PDRAvDS6y2KaEgwLbWQHDVD

What have you already attempted?
Checkout the API docs around checkout session create and didn't find an elegant way to do this.

What are you working on?
We are building a new tiered subscription for our B2C SAAS from the existing single tier subscription.

#

@pulsar flame pressed the 🪝 Webhooks button in #help to ask a question:

Question
We are planning a partnership with another store (uses Stripe as well). The idea is that they sell our SaaS subscription product as an upsell.

The easy part is to trigger a registration link when they sold our product, the difficult part and my question is, we need the subscriber in our stripe system. What would be the flow in this case? Creating a manual subscription based on the data from their system? Any problems that might arise?`

What have you already attempted?
Just trying to understand the best flow.

#

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

Question
How to enable PalPal for connected express account when using destination charge?

Related Request ID(s)
req_bBcxEBWUyJVXKU

What have you already attempted?
I have logged in as the connected express account, through the dashboard link and SMS AuthCode, but I just got a very limited Express dashboard, with no settings/options of payment method, and therefore can't find any entrance point to activate PayPal. As platform account, the PalPay is active as payment method, and when access the dashboard of connected accounts, the PayPal activate button is there, but when I click it, it triggers a redirect to the dashboard.

What are you working on?
I'm building extra payment method (Paypal) for our public charging station payment website, which already works fine with credit cards/apple pay

#

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

Question
Using Connect, we're using Standard accounts with Direct Charges. As the payment intent will be made on a connected account with a Direct Charge, the Customer should also be made on that connected account.
We're a platform that allows different event locations to sell tickets, and we'd like our users to be able to reuse their customer info across different event locations. How can I do that, if all of the Customers are on specific connected accounts?

Doc/Guide Links
https://docs.stripe.com/connect/direct-charges?platform=android

What are you working on?
A platform for events where different event locations can sell tickets to their events.

#

@crisp shell pressed the 🪝 Webhooks button in #help to ask a question:

Question
My clients are tax exempt nonprofits who tend to pay via ACH or Bank transfer. How do I turn on webhooks so it tracks payment?

Related Event ID(s)
na

What have you already attempted?
nothing. new to this

What are you working on?
payment links for nonprofit exempt clients who get 1:1 coaching with me

#

@scarlet sequoia pressed the 👍 Best Practices button in #help to ask a question:

Question
Am migrating to payment intents for use with Alipay, iDEAL, GiroPay and Bancontact. After the payer authorizes the payment and is routed to the return_url, I call the retrieve method on the intent. If the user has authorized it, should I expect to see just a succeeded or canceled status at this point? Or would one typically encounter the other statuses like processing, requires_action, requires_capture, requires_confirmation at this stage?

Doc/Guide Links
https://docs.stripe.com/api/payment_intents/retrieve

What are you working on?
Payment system

#

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

Code
stripe.checkout.sessions.create({
---Omission---
mode: 'payment',
...(creatorStripeAccountId
? {
payment_intent_data: {
transfer_data: {
destination: creatorStripeAccountId,
amount: Math.round(price * 100 * 0.9),
},
},
}
: {}),
}

Question
I'm creating a sort of e-commerce site.
I have transfer_data defined for purchases made with payments to a stripe connect id. Will the revenue generated here be able to be transferred to my bank at any time by the user? Or can the platform send the money at the end of the month?

What have you already attempted?
I saw the Embed document.

#

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

Question
I have a webhook that listens to an "checkout.session.completed" event.
in checkout sessions, "allow_promotion_codes" param is set to true.
I need to get information about which coupon was used during the session, but there is no such information in the event, only the discount amount is present

Related Event ID(s)
I've not found a simmilar event

What have you already attempted?
i've tried to receive info through payment intents, but seems payment intent object doesnt contain it too

What are you working on?
Custom slack alerts about customers payments occured in Stripe

atomic shuttleBOT
#

@warped coral pressed the 📡 API button in #help to ask a question:

Question
I have an application in which a user subscribe, and I'm using the usage based billing (sending meter events). The meter events are being sent with the timestamp 3 days in the past because our services need some time to calculate everything correctly.

Is there a way to hold the invoice from being sent for 3 days?

Related Request ID(s)
Subscriptions Create

What have you already attempted?
I don't see any parameters in the subscription create to handle this.

#

@stiff acorn pressed the ❌ An Error button in #help to ask a question:

Error Message
Checkout session: 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
I'm trying to implement subscriptions with stripe connect. One of the connected accounts is in Japan (in test) and the payment is from France (where I am). I added the subscription data with transfer_data and on_behalf_of with the id of the account. it was working great, but now I'm adding the use of multi currencies prices, and I have this error.

What have you already attempted?
if in the checkout session I add the currency I want (euros) it works great and show the euro price I previously added to my multi currencies price, but without it it looks like checkout can't find my currency. if it's not a multi currency price, the subscription is okay everything works.

Reproduction Steps
create a connected account, then a product. I added a price with many currencies in the currency_options. now it's for subscriptions with on behalf to this connected account, without specifying the currency, checkout shows the error.

What are you working on?
I'm building an online courses website with teachers all over the world and students who can subscribe to any course

#

@burnt iris pressed the 🪝 Webhooks button in #help to ask a question:

Question
whats the best way to test invoice.upcoming event?

Related Event ID(s)
testing

What have you already attempted?
trying to trigger webhook for testing

#

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

Code
i send in chat ...................

Question
hi i want to enabele google pay for paymentsheet in app react native how can i dot this ?

What have you already attempted?
......

What are you working on?
REACT NATIVE

#

@vivid bone pressed the 🪝 Webhooks button in #help to ask a question:

Question
Test - I have a doubt about webhooks

Related Event ID(s)
ID

What have you already attempted?
Test - I have a doubt about webhooks

#

@ivory edge pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We've migrated to automatic payment methods with connect configuration to allow our users to enable/disable a specific subset of payment methods we support. We would expect a user to only be able to enable/disable payment methods we haven't marked as "blocked"

What actually happened?
Our user test account can enable all the methods we allow but they can also enable paypal which we can't currently support as our integration uses direct charges.

Reproduction Steps
On a connect platform account mark all payment methods as blocked except; cards, google pay, apple pay, link and klarna. On a connected account view payment method settings for the relevant configuration. Paypal is now also an option.

Question
How can we prevent Paypal from showing as an available option? This will cause confusion for our users as it looks like Paypal should be available despite it being incompatible with our platform.

What are you working on?
Migration to payment element + automatic payment methods

#

@warped coral pressed the 📡 API button in #help to ask a question:

Question
Hello! When doing subscriptions based on usage (meter events), when does stripe send the generate, send and charge the user? Let's say that the billing period ends the 31st of May, does stripe generate the invoice on the 1st of June? if, so at what time?

I'm trying to get a sense of how much leeway we have on the 31st to send events.

Related Request ID(s)
Meter Events

What have you already attempted?
Have not found anything in the docs regarding this other than "Automatically invoicing customers and attempting payments when new billing cycles start." Does this mean the they run as midnight?

#

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

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

Related Request ID(s)
in_1PDuX7BBlUfRTiTY6z3XqZ5H

What have you already attempted?
We are trying to get into checkout.session.completed

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

#

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

Question
I am trying to resolve an issue, error message below.

I believe the solution is to set `'setup_future_usage' => 'on_session'`

However, I am unsure how to test and I am not sure what will happen if customers do not come back to make additional purchases

Error processing payment: The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer

Related Request ID(s)
req_8DbKUl1DSD88OY

What have you already attempted?
I have read a lot of the documentation but its not clear in my use case.. I am unable to test so I haven't tried a lot of things.

What are you working on?
I work for SaaS that allow our customers to build their own forms and integrate with 3rd party services, like Stripe

#

@warm dagger pressed the 🤨 Unexpected Behavior button in #help to ask a question:

What did you expect to happen?
We expected to be able to pass defaultValues with the options when creating the payment element and have link as an option in the payment element.

What actually happened?
When we pass defaultValues in the options such as:
const options = {
defaultValues: {
billingDetails: {
email: email
}
}
}
and pass this into the payment element:
<PaymentElement options={options} /> , the link option disappears from the payment element on the page.

Reproduction Steps
render the payment element without defaultValues, then update the props and pass in defaultValues with an email

Question
Why is the link option disappearing from the payment element?

#

@brittle sapphire pressed the 📡 API button in #help to ask a question:

Question
Is it possible to associate a discount with a checkout session, and then allow the user to change the applied discount to something else in the session?

Related Request ID(s)
n/a

What have you already attempted?
Combining "discounts" and "allow_promotion_codes"
like;
session_params["discounts"] = [
{"coupon": flags.stripe_config()["referral_coupon_id"]}
]
session_params["allow_promotion_codes"] = True

What are you working on?
B2C SaaS

#

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

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

Question
Are there any sample projects for implementing a checkout embedded form for Blazor frontend?

What have you already attempted?
I have searched for projects online. However, the only Blazor projects I have seen are for Stripe hosting a checkout page.

I have tried modifying this project (https://github.com/cecilphillip/ContosoCraftsStriped) but I have not been successful.

My biggest issues are being new to Stripe and Blazor and not knowing where to insert the "checkout.html", "checkout.js", "return.html", and "return.js" in the Blazor project.

What are you working on?
My company switched from using Signapay/NMI to Stripe for our new product. I am in charged of learning and implementing Stripe.

#

@cinder loom pressed the ❌ An Error button in #help to ask a question:

Error Message
Error Domain=com.stripe-terminal Code=2020 "The command was canceled

Question
process payment is not processing for tap and pay for ios

What have you already attempted?
restarted device and reinstall the app and tried with other devices.

Reproduction Steps
ios 17.1
sdk version :2.21.0

What are you working on?
building tap and pay feature for ios app

#

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

Error Message
HTTP Error 404 when going to customer portal

Question
I get an error when going to customer portal error. Is there any maintenance going?

What have you already attempted?
I get an error when going to customer portal error. Is there any maintenance going?

atomic shuttleBOT
#

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

Question
When creating an Account (https://docs.stripe.com/api/accounts/create), it always throws this error for me "X is not a valid phone number". I have tried all sorts of phone number formats to this avail

Related Request ID(s)
req_l1whDyvD51FYDt

What have you already attempted?
Tried the following formats:

  1. "0000000000"
  2. "000-000-0000"
  3. "+10000000000"
#

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

Question
My team has developed a website for renting gadgets and I want to know if Stripe is suitable for our purpose. It works as follows: Users register to the site and can add items to rent or rent items themselves. If a user rents an item e.g. for 12 months, then each month the renter should get 90% of monthly renting price, and we get 10% as Service provision. So, we need recurrent payment and also a split payment option. This should be full automatically and after renting period the payment should stop automatically. Is this possible with Stripe?

Related Request ID(s)
req_9hb2aW1iAqeBLC

What have you already attempted?
We wanted to use Reference Transactions by PayPal and implement split payment option ourselves, but PayPal refuses References Transactions. So, I am looking for an alternative.

What are you working on?
A Website where user can rent gadgets and also can offer own gadgets to rent.

#

@fresh stag pressed the 📡 API button in #help to ask a question:

Question
I'd like to know if it's possible to include a shipping rate in the checkout session when it includes both a recurring price and a one-off payment. Currently, I receive an error stating that a shipping rate cannot be added with a subscription price. Is there a workaround for this issue?

Related Request ID(s)
I have used API explorer so no log

What have you already attempted?
I have used API explorer to create a checkout session where I had both subscription price and a one off price with shipping rate. This is the error I am getting : "message"
:
"`shipping_rates` cannot be used in setup or subscription mode."
,

What are you working on?
I have a business where I sell physical product+ software which comes with a subscription

#

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

Question
Would i use connect to be able to set up a fiverr like marketplace and charge a transaction fee on the transactions going through between 3rd party buyer and sellers?

Related Request ID(s)
Havent built out yet

What have you already attempted?
I've built platforms with connect accounts however none with the ability for buyers and sellers to make their own accounts and transact between one another

What are you working on?
A marketplace app connecting creators to businesses

#

@heady matrix pressed the 📡 API button in #help to ask a question:

Question
payment request button not working showing payment failed

Related Request ID(s)
req_sNipFHR4G6jX5v

What have you already attempted?
tried chatgpt

What are you working on?
as developer

atomic shuttleBOT
#

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

Question
Is there a way to create a shorter available_on date for balanceTransactions while testing just so we can see if the rest of our code works without having to wait a week+?

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

What are you working on?
an insurance marketplace

#

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

Code
billing_address_collection: 'required',
client_reference_id: order.number,
customer_creation: 'always',
expires_at: expiration_session_in_minutes,
mode: 'payment',
redirect_on_completion: 'if_required',
return_url: cancel_url,
shipping_address_collection: shipping_address_collection,
ui_mode: 'embedded',
...

Question
Is Apple Pay still working, because it looks like it stop showing on the checkout. I have domain verified, and Apply says active in my dashboard. I'm using dynamic payment methods.

What have you already attempted?
Not sure if passing in payment_method_types would be helpful here, as we are using dynamic payment methods

#

@tropic wyvern pressed the 👍 Best Practices button in #help to ask a question:

Question
I have made a thorough study of the two types of accounts, Custom and Express. However, without the Express Dashboard, what would be the substantial differences, considering that in the Custom account it is possible, however, to delegate implementation to Stripe via Connect Onboarding? Perhaps it involves the updating of information as requirements change, where it is delegated to the Express Dashboard?

Doc/Guide Links
I've read the following link: https://docs.stripe.com/connect/accounts and understood the difference between Custom and Express Custom

What are you working on?
Substantial difference between Custom and Express Account