#dev-help

1 messages Β· Page 88 of 1

cursive heronBOT
#

@crude sky pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
in customer_balance payment intent how to add custom text in reference

Related Request ID(s)
https://docs.stripe.com/payments/bank-transfers/accept-a-payment?invoices=with&country=eu

What have you already attempted?
https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xTm9KVVdMRGkyZ3kyZ3hvLF9RVXJLTmNvQ1Q1YlY1aTVvaDB0UGg3UnRsMW9vUjJo01000TmHZ8w3

cursive heronBOT
#

@north pagoda pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
An invoice was generated but finalized immediately before we could modify it

Related Request ID(s)
SubscriptionID: sub_1PeT88Loz3M8FCeuWsKgFcBH

What have you already attempted?
checked our code, but it seems the invoice was generate and finalized immediately

#

@raw patio pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I pay them using the stripe payout API?
Can you help me with that and if there is another API that I can use to pay my teacher?

Related Request ID(s)
Dashboard > Developer

What have you already attempted?
I tried Stripe's Payout API. It is asking to connect the teacher's stripe account to mine. I tried that but it seems the teacher's stripe account should also be in the same country as imne. But my teachers are from around the world.

What are you working on?
I have a website and I have students and teachers on it. Students are paying me by purchasing a subscription which I am creating using Stripe. I want to pay my teachers from my stripe account to their

#

@wild patrol pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What's the average time for a financial_account balance refresh to resolve to success/failed state? I am thinking of polling the FCA to know the balance refresh.

Related Event ID(s)
none

What have you already attempted?
I was looking for metadata field to identify and relate the webhook to one of our running workflows but couldn't find that field for https://github.com/stripe/stripe-go/blob/master/financialconnections_account.go#L196.

#

@merry sand pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const advanceInvoice = await stripePayment.createInvoice(customer.id, {
user_id: user.id,
customer: customer.id,
branch_id: branch_id,
child_id: input.child_id,
});

const advPaymentInvoiceItem = await stripePayment.createInvoiceItem\(
  customer.id,
  admission\_fee,
  advanceInvoice.id
\);

// finalize invoice 
let advanceInvoiceFinalized = await stripePayment.finalizeInvoice\(
  advanceInvoice.id,
\);

Question
here when there is credit balance of customer greater then the advance fee then it is responsing as invoice already for nxt invoice

What have you already attempted?
auto_adance=false

What are you working on?
stripe subscription and advance payment

cursive heronBOT
#

@near delta pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, Im using Stripe Connect within a Multistore Magento build (using Webkul module). We can see payments going to the main Stripe account however they are not being passed to Connected accounts. Can you please what we may be going wrong.

The selections we have used through the module are Stripe Connect with Custom Account using "Seperate Charge and Transfer"

Related Request ID(s)
payment Id: pm_1Pkh7tHY4JQgkeVOgkk2OxAn

What have you already attempted?
We have attempted using all configurations however no payments are passing from the parent account to the connected account.

What are you working on?
Building a Multistore website using Magento2 - Webkul Stripe Module

#

@tardy crater pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async createPaymentMethod(cardDetails: CardDetails) {
return await this.stripe.paymentMethods.create({
type: 'card',
card: cardDetails,
});
}

Question
i am trying to create the payment method from server side using nest js . i am facing error 402
"message": "Sending credit card numbers directly to the Stripe API is generally unsafe.

What have you already attempted?
i tried to create token against card info facing same error .

What are you working on?
i am working on a product that allow user to create places and other user need to buy that place to view the details .

#

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

Code
Uncaught TypeError: Cannot read properties of null (reading 'appendChild')
at p (embed.js:1:13572)
at n.collect.target (embed.js:1:28161)
at Object.mount (embed.js:1:28994)
at initCheckoutUpsellBanner (v_81_31270bfdd5ea0bedfd82aaaafc87fa28.js:1087:134)
at HTMLDocument.<anonymous> (v_81_31270bfdd5ea0bedfd82aaaafc87fa28.js:1088:59)
at j (v_81_31270bfdd5ea0bedfd82aaaafc87fa28.js:2:27136)
at Object.fireWith [as resolveWith] (v_81_31270bfdd5ea0bedfd82aa

Question
Greetings, I am a newcomer. I have prestashop 1.6.1.18 and after installing Stripe, when I am in payment method selection page, it shows a strange white button wih only "Buy Now" text and not even Stripe logo. I click and website goes back to shopping summary cart. Nothing happens, but an error can be seen in the console. It happens the same in Test and in Live.

What have you already attempted?
I tried to configure the module, everything seems to be correct, but it just doesn't work.

What are you working on?
e-Commerce website

#

@boreal adder pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const token = await stripe.tokens.create({
bank_account: {
country: 'AU',
currency: 'aud',
bank_name: data?.bank_name,
account_holder_name: data?.account_name,
account_holder_type: 'individual',
bsb: data?.bsb,
account_number: data?.account_number
},
});

Question
show me error rawType: 'invalid_request_error',
code: 'parameter_unknown', param: 'bank_account[bsb]',

What have you already attempted?
yes

What are you working on?
bank payout

#

@neat dawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I need help with subscriptions. Let me describe my issue.

When I create a subscription and then trial it, for example, I create a subscription with a plan for a $2 invoice. Then, when I immediately add trial days, it generates a new invoice with the credit and a $0 invoice for the trial days.

However, when I create a new separate subscription with another plan at a different time and send proration_behavior='none' while creating it, it generates an invoice for the new plan but increases the previous plan's credit from the new plan amount. How can I solve this issue?

Related Request ID(s)
sub_1PkhSEB2BzF6ryroCI3BuYHQ

What have you already attempted?
Hello, I need help with subscriptions. Let me describe my issue.

When I create a subscription and then trial it, for example, I create a subscription with a plan for a $2 invoice. Then, when I immediately add trial days, it generates a new invoice with the credit and a $0 invoice for the trial days.

However, when I create a new separate subscription with another plan at a different time and send proration_behavior='none' while creating it, it generates an invoice for the new plan but increases the previous plan's credit from the new plan amount. How can I solve this issue?

#

@marsh perch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I request to create a payment intent of currency MYR for Connected account of Singapore

Related Request ID(s)
req_EoUKN9vfeTa9fO

What have you already attempted?
Yes

What are you working on?
Android Tap to Phone app

cursive heronBOT
#

@sterile knot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I integrate Stripe into a POS device? I know Stripe has one but we are going to use a different POS device

Related Request ID(s)
N/a

What have you already attempted?
Nothing yet

What are you working on?
We have a donation system and we will try to get donations through our POS device if possible. This is going be in the UK

#

@toxic valve pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
on js
const token = await stripe.createToken("account", {
business_type: "company" ,etc }

on php (symfony)
$stripeAccount = Account::create(
[
'type' => 'custom',
"country" => $data['businessCountry'],
,etc
'account_token' => $tokenAccount,
}

Question
Where a m i suppose to put the verification document of the company ?

What have you already attempted?
I attempted in the token works in local don't work on prod, it says that we need to create token on client size with stripe.js for security but we need to inform document verification on server.
I attempted to put the document on the server size like this
'company' => [
'verification' => [
'document' => [
'front' => $fileTokenFront,
'back' => $fileTokenBack
],],]
but error i can t do it

What are you working on?
I try to inform the verification document for companies like Kbis

#

@peak sluice pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why do one of my Stripe Account Webhook payload missing information like "charges" object? Other Stripe Acc webhook did provide "charges" object

Related Event ID(s)
evt_3PkMlaKm50QBZFhQ0b1HJMcu

What have you already attempted?
I tried to find any related information in https://support.stripe.com/topics/webhooks but couldnt find any that answer my questions.

What are you working on?
Enable new Stripe account (Aus) for my company .

#

@tulip lodge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to test the payment_method.automatically_updated event in test mode (staging). Could you guide me on how to do this?

Related Request ID(s)
payment_method.automatically_updated

What have you already attempted?
I want to test the payment_method.automatically_updated event in test mode (staging). Could you guide me on how to do this?

#

@twin badger pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/accounts/object#account_object-requirements

Question
I'm struggling to understand the requirements in the Account object. What are the eventually_due (what are volume thresholds?), currently_due and past_due and why they mostly contain the same data. Also the difference between future_requirements and requirements.

What have you already attempted?
Mainly i looked into this while observing the Account object inside webhooks when onboarding in test mode.

What are you working on?
Collecting payments for meetings

cursive heronBOT
#

@frank canopy pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, I'm looking to find ARNs (acquirer reference numbers) via APIs. I think it was under charges, but I can't find it anymore. Where is this?

Related Request ID(s)
not sure

What have you already attempted?
Looked at the documentation

cursive heronBOT
#

@neat dawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,

I have an issue with invoices. How can I pay an invoice with a credit card and not use the customer balance if there is a credit amount?

Related Request ID(s)
in_1Pkj67B2BzF6ryrovve8wM9J

What have you already attempted?
Hello,

I have an issue with invoices. How can I pay an invoice with a credit card and not use the customer balance?

cursive heronBOT
#

@fallow bobcat pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
HI I have a question
I am using my stripe live keys
I am using two cards
one from pakistan
other is from Uk

this is my code

const setupIntent = await this.stripe.setupIntents.create({
customer: customerId,
payment_method: paymentMethodId,
confirm: true,
usage: 'off_session',
automatic_payment_methods: {
enabled: true,
allow_redirects: 'never',
},
});

for my Pakistan card the status = "succeeded"
for my UK card the status = "requires_action"

Related Request ID(s)
setupintent id is "seti_1PkjSZFrwl37tCGibkiLiNcC"

What have you already attempted?
HI I have a question
I am using my stripe live keys
I am using two cards
one from pakistan
other is from Uk

this is my code

const setupIntent = await this.stripe.setupIntents.create({
customer: customerId,
payment_method: paymentMethodId,
confirm: true,
usage: 'off_session',
automatic_payment_methods: {
enabled: true,
allow_redirects: 'never',
},
});

for my Pakistan card the status = "succeeded"
for my UK card the status = "requires_action"

What are you working on?
Trying to debug

#

@ashen aspen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to add payment element with displaying existing payment method only

Related Request ID(s)
req_5roSvArMA9T4Ev

What have you already attempted?
I've tried to create a payment intent in backend, with adding list of existing pms for my customer. Then i ve returned this to my frontend
In frontend, i display the payment element but it shows only new card inputs , and doesnt display existing pm for the customer who wanna pay

What are you working on?
pay an overdue in vueJS fullstack application

cursive heronBOT
#

@steel dust pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I want to display customers saved payment methods in the Stripe Elements widget.

Question

  1. How do I correctly get them to appear?
  2. can you use the payment_method_data on payment elements to set "allow_redisplay" of new payment/setup intents without needing additional call to "updatePaymentMethod" to set this?

What have you already attempted?
I have set "allow_redisplay" (https://docs.stripe.com/api/payment_methods/update#update_payment_method-allow_redisplay) on the payment method attached to the customer, then I am using that customerId when generating payment. I cannot find documentation that actually shows usage of how to implement this except that at "https://docs.stripe.com/api/payment_methods/update#update_payment_method-allow_redisplay" it says "can be shown in checkout flow with Stripe Elements"

What are you working on?
Ability for customers to make purchases with saved card without having to manually configure this code and without using Stripe Link since need off_session too

#

@spring hemlock pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Connect to Stripe Connect using a magic link.

What actually happened?
Error message:
"This email address can't be used. The email you entered is linked to a business that uses single sign-on with Stripe. Please use another email to create your new account."

Reproduction Steps
- Click on magic link
- Insert email

Question
Is it possible to connect without enabling SSO?

#

@native goblet pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.elements({
locale: 'fr',
mode: 'subscription',
amount: 1099,
currency: 'eur',
}

this.elements.create(
'expressCheckout',
{
buttonType: {
applePay: 'check-out',
googlePay: 'pay',
paypal: 'pay',
},
},
);
field.mount(`#express-checkout`);

Question
I would like to add Google Pay and Apple Pay beside my CardElement for Subscription. I have few questions regarding ExpressCheckoutElement:
- Can I use both CardElement & ExpressCheckoutElement?
- How can I block GooglePay or ApplePay until user has validated my Terms & Conditions (simple checkbox)
- How ExpressCheckoutElement works with dynamic subscription plans (User can select 1 of 3 plans on the page with different duration). I saw only "amount" when I setup element

What have you already attempted?
I've setup a basic ExpressCheckoutElement, following the documentation, but I'm block to use same workflow as my CardElement

What are you working on?
It's a page where my customer can subscribe to one of several plan (monthly, 3-months or yearly)

#

@cyan wedge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey there. Is it possible to remove a platform fee from an active stripe connect subscription? I'd like all ongoing charges to not take an additional fee.

Related Request ID(s)
-

What have you already attempted?
-

#

@visual ruin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an implementation using Split Card Element. Specifically CardNumberElement in React. I want to display the dropdown of available networks. When using the showIcon: true option, the card icon shows, but the dropdown doesn't. What I want is to be able to see the dropdown so that I can allow the user to choose their preferred network of choice among all the available networks based on their card number input.

Related Request ID(s)
na

What have you already attempted?
I have tried using CardElement as well with the hideIcon option which wielded the same result (shows the Icon but not the dropdown of available networks). I have also tried the Custom Integration method of using retrieveCardNetworks with a mock card number. This works correctly, but doesn't suit our implementation since we don't have access to the raw card number. I have in general tried many alternates, but the closest I've gotten is showing only the icon. I am yet to see the dropdown.

What are you working on?
I am working on showing the dropdown of available networks so that the user can choose which one they want to use during payment in order to comply with the latest EU Payment Regulations

cursive heronBOT
#

@empty night pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using Connect (custom and Standard) and showing merchants 'there is X balance in your account waiting for you, please connect your bank account to get payouts'. We base this on receiving a balance.available event and then a get request to balance for that account. However it seems that balance.available events for connected accounts are heavily delayed (I am also not able to trigger the for connected account is test), is that expected?

Related Request ID(s)
acct_1PaJFOR4guI7ZZaE

What have you already attempted?
Trigger a payout, adding a payment, refunding. Nothing seems to trigger a balance.available event, while the dashboard data does update immediately (and when doing a curl for the balance it's also correct).

What are you working on?
Storing and showing the available+pending balance available in Stripe in our platform.

#

@visual ruin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an implementation using Split Card Element. Specifically CardNumberElement in React. I want to display the dropdown of available networks. When using the showIcon: true option, the card icon shows, but the dropdown doesn't. What I want is to be able to see the dropdown so that I can allow the user to choose their preferred network of choice among all the available networks based on their card number input.

Related Request ID(s)
na

What have you already attempted?
I have tried using CardElement as well with the hideIcon option which wielded the same result (shows the Icon but not the dropdown of available networks). I have also tried the Custom Integration method of using retrieveCardNetworks with a mock card number. This works correctly, but doesn't suit our implementation since we don't have access to the raw card number. I have in general tried many alternates, but the closest I've gotten is showing only the icon. I am yet to see the dropdown.

What are you working on?
I am working on showing the dropdown of available networks so that the user can choose which one they want to use during payment in order to comply with the latest EU Payment Regulations

#

@vast leaf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to create a subscription: $2000 now + 5 payments for $500.

Related Request ID(s)
req_scf2JQCp9ZK5EM

What have you already attempted?
Hello. We are using Stripe Checkout Sessions, where user is redirected to stripe page to enter his credit card details. But i do not find tutorial or documentation, how to achieve same with subscriptions.

cursive heronBOT
#

@crystal ember pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Currently using this in my code:-
stripe.confirmSetup

Question
My requirement is to create a payment with new payment method without associating customer id with payment method

What have you already attempted?
stripe .createPaymentMethod({ type: 'card', card: cardElement, billing_details: { name: 'Jenny Rosen', }, }) .then(function(result) { // Handle result.error or result.paymentMethod });

#

@ashen aspen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I wanna add metadata after creating paymnt intent, when i execute the payment

Related Request ID(s)
req_xQasVRCjRiWc1F

What have you already attempted?
i can only add metadata when creating pi in backend
or update but i have to make another backend request every time
i want to add information about the payment but not in the backend

What are you working on?
pay an overdue in vueJS fullstack application

#

@rose gyro pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why my connected account - Transfer payment showing this "You have insufficient funds in your stripe account. One likely you have insufficient funds is that your funds paid out. try enabling manual payouts by going to ***"?

Related Request ID(s)
Connected Account

What have you already attempted?
I am using Transfers to two connected accounts one in Standard and other one in Custom.

What are you working on?
Auto Transfer payments after checkout to stripe to two connected accounts

#

@spare berry pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello fellows!
We using stripe session checkout for charging our customers. Could i remove some countries from billing address via Stripe Api

Related Request ID(s)
cs_test_c1F6SzHqgvfV0Z8455vqSiCxtkYF4esU06a6u08nj0yxu8ohtLqinAuvwh

What have you already attempted?
I couldn't find any params in checkout session create for excluding countries from billing address

#

@last galleon pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We expected the Stripe Link Payment method to show up in our custom-built checkout every page refresh.

What actually happened?
Every few refreshes of the our checkout page will omit the link payment method, only to be back again on the next refresh.

Reproduction Steps
Refresh page when using the Stripe Elements and the Payment Element in particular. For the Stripe Elements we provide paymentMethodTypes=["card", "paypal", "link"] from a backend endpoint that always returns these payment methods.

Question
Is there a known issue with Stripe Link where it doesn't show up all the time in the Payment Element?

What are you working on?
Implementing Stripe Link

#

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

Code
my payment account is suspended

Question
will suspend my payment, to email: jotatrancoso@gmail.com

What have you already attempted?
yes before I tried to make an adult website using stripe, but that is no longer the issue for which I will use my credentials, I promise!

What are you working on?
I'm working on a new, clean, official Link Shortener website with plans

cursive heronBOT
#

@hushed fern pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,
I am currently looking at the Python Package "Dj-Stripe". for a Django Integration.

They write that they are official stripe partners, is this True?

Also, dj-stripe is using stripe python version 4.2.0. (2020 API) This also forces us to Program our checkout with stripe4.2.0, is this version still secure to use.

Are they any major drawbacks using stripe 4.2.0 ?

Doc/Guide Links
https://github.com/dj-stripe/dj-stripe/

What are you working on?
SAAS Platform

#

@turbid minnow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to use Payment Intent to allow users to pay using a bank transfer.

I've managed to show the bank transfer tab but each client is getting asked for the email address.

I've provided a customer object to the intent with the customer email address.

I've tried setting receipt_email as well but none of these are used. I'm still getting the email input before having the transfer details.

Related Request ID(s)
req_GAh2uXTYIZ7hg5

What have you already attempted?
Read the payment intent API.
My customer has an email address
I've set receipt_email as well

What are you working on?
A platform to help club/association in their daily tasks

#

@hexed mountain pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, customer portal configurations support passing both `privacy_policy_url` and `terms_of_service_url` per docs https://docs.stripe.com/api/customer_portal/configurations/create#create_portal_configuration-business_profile

If you pass both, when adding a new payment method from the customer portal Stripe shows a text that links to both URLs.

However, if you pass only one of them, e.g. terms of service URL - there is no such text, and I don't find the link anywhere in the customer portal. Is this expected?

Related Request ID(s)
-

What have you already attempted?
I tried passing only privacy policy URL, and only terms of service URL - but I can't find them anywhere on the customer portal. Passing both works fine.

#

@fossil pilot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I do not understand how to integrate afterpay on my account to have it available on my invoices.

Related Request ID(s)
req_r6w0MWvGMFHpnV

What have you already attempted?
clicking activate on afterpay

cursive heronBOT
#

@static shard pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using Expo Managed React Native Application, I Am Trying to integrate Stripe Payment To Our Application, For That, I Followed, Documentation Provided By The Official Documentaion,

Here: https://docs.stripe.com/payments/accept-a-payment?platform=react-native&ui=payment-sheet

And Followed The Step by Step Procedure, At The Post Payment Handle Event, For Each Payment Event Action Using Test Mode, I Am Getting Correct Response in the my dashboard of stripe,

Related Event ID(s)
A request to confirm a PaymentIntent pi_3PkmKNJjohBWGim10pt2eUgi completed

What have you already attempted?
My question is, In what and all the ways to get response object/response event in client side,to make sure that backend api gets updated , I tried Webhook way, but not getting clarity on that!

What are you working on?
So I need A Help in the area of handling Post payment Event in Client Side!

#

@spiral obsidian pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to upgrade our webhook version. How can I create a webhook in stripe dashboard with an upgraded version to test in test mode?

I was following the tutorial in https://docs.stripe.com/webhooks/versioning#create-a-new-disabled-webhook-endpoint, but I could not find any docs on creating a webhook with a new version.

Related Event ID(s)
evt_0PkYse3MFIk84T3nwMWMODMD, evt_0PkYTU3MFIk84T3nnqKnGobP

What have you already attempted?
I tried updating the event json with an new api_version that I want to test for the upgrade that overwrites my existing test webhook's old version. However, it always used the version of my webhook (instead of my newer api version I tried to overwrite the event with)

What are you working on?
Plans and payments for Klaviyo. Webhook will async make sure our payment info/events are in sync.

cursive heronBOT
#

@dusk thistle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// app.tsx
<StripeProvider urlScheme='https://www.example.com'>....</StripeProvider>

// payment.ts
const { error, setupIntent } = await confirmSetupIntent(stripeClientSecret, {
paymentMethodType: 'Card',
});

Question
Hello, so I decided to add deeplink on React-Native for iOS in order to implement PayPal on my app, when I confirm my setup intent, it redirects me correctly in the app and it works fine

Now I want to test again a credit card implementation where I confirm a setup intent but it redirects me to the same URL than PayPal but without triggering the deeplink, the browser redirects me to the URL instead of being closed

What have you already attempted?
- I already added the setup for return URL here : https://docs.stripe.com/payments/accept-a-payment?platform=react-native#react-native-set-up-return-url

cursive heronBOT
#

@digital cobalt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to use the debit_agreement attribute that is in preview_feature on external bank account: https://docs.stripe.com/api/external_account_bank_accounts/update

I was able to use this API when creating a new external bank account to the stripe connect account but its not working when i try to update an existing one

Related Request ID(s)
req_1S0a2QF3stAxMT

What have you already attempted?
Stripe::Account.update_external_account(
'acct_1MjJYcBGbrmoPVac',
'ba_1NiYECBGbrmoPVacvoF9ISeR',
{
debit_agreement: { accepted_at: Time.zone.now, ip: '178.208.10.56', user_agent: 'Android' }
},
)
Your platform is not allowed to use the `debit_agreement` parameter on connected accounts in requests like this one. If you believe this request should be allowed contact support (https://support.stripe.com/contact), provide this error message, and ask them to review your account's configuration. (Stripe::InvalidRequestError)

What are you working on?
B2C app to connect customer with professional who can cleaning, hair at their place

#

@silver crest pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
looking how to get code from Authenticator app

Question
it’s asking me for a verification code to log in. says it’s in the Authenticator app

What have you already attempted?
tried resetting

What are you working on?
trying to log in

#

@twin coral pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi all, we are going live with our stripe integration, and are noticing that when we attempt to create a setup intent for a Single Use Credit Card that it fails, compared to all non-single use credit cards that process just fine. Is there a setting that needs to be enabled or a field that needs to be present to process these?

Related Request ID(s)
req_K1d8OKPo9vzEcR

What have you already attempted?
Current implementation works for non-single use cards

What are you working on?
Single Use credit cards

#

@twin kernel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to add metadata field after subscription has been created, for webhook?

Related Request ID(s)
evt_1Pk8iNKLwjWObVj0BPglmCpX

What have you already attempted?
I know you can only add subscription metadata on sub creation, it wont show up in the webhook.

cursive heronBOT
#

@tawny pivot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We've noticed that when using elements we are getting the following browser error. This doesn't appear to be affecting processing, but wanted to know if this is OK to ignore or how to supress?

Refused to connect to 'https://merchant-ui-api.stripe.com/link/set-cookie' because it violates the document's Content Security Policy.

Related Request ID(s)
All

What have you already attempted?
Spent some time looking up the error, but can't find anything specific to Stripe for resolution.

What are you working on?
Checkout.

#

@tribal stratus pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What event should I be listening to record a successful payment - either from a card or an ACH, before the payout that includes that payment is created? With ACH payments, the payout is created before the payment intent succeeds, so my database does not have a successful payment recorded yet.

Related Event ID(s)
evt_1Pkc8KFWv6e9Pjx51iJqs86T, evt_3Pit1FFWv6e9Pjx50ceLTQpa

What have you already attempted?
Listening to successful charges (doesn't include ACH payments), listening to successful payment intents (the payout for the ACH is created before the payment intent is marked successful).

What are you working on?
Recording successful payments (ACH & card) to a database so I can retrieve the transaction information to create a batched deposit in QuickBooks Online.

#

@loud bolt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Payment is getting failed, also unable to verify webhook in openapihono and node but able to verify in python

Related Request ID(s)
req_PXuPUoaTaKOJjw

What have you already attempted?
tried creating a schedule with start date as end of current period and cancelling the current plan

What are you working on?
I wanted to implement update of a subscription at end of current plan

#

@sour wind pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to add a payment method to an existing customer. When I enter one of the test credit card numbers, I get the 'success' response, but when I view the customer's record in Stripe, the payment methods are still empty.

Related Request ID(s)
seti_1PkqAPAcTIlwaMJ5FykJ96KS

What have you already attempted?
I have followed the instructions for setting up the payment intent (https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=setup&client=react),

What are you working on?
A communication platform with a subscription model.

#

@marble knot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to make a direct charge with Connect in which the payment is made to the connected account, and through an application_fee my platform collects part of it.
Is there a way to perform this flow using a direct charge (therefore without transfer_data), but using stripe checkout?
Looking at the attached image (where I make the payment to the platform and then send the money back to the connected account), can I instead make the payment directly to the connected account and take part of it as the platform?

Related Request ID(s)
no

What have you already attempted?
I tried stripe.charges.create() in test mode but I don't get how to open the checkout interface as stripe.checkout.sessions.create() did

#

@woven tendon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Config.js : couponId: "promo_1Pk0MEF29IGMHNTdjknFKuMS"
Pricing component : <ButtonCheckout
priceId={plan.priceId}
mode="payment"
couponId={plan.couponId}
/>
ButtonCheckout.js component :
const ButtonCheckout = ({ ... , couponId }) => {

const handlePayment... const res = await apiClient.post("/stripe/create-checkout", {
...
couponId})

Question
Not understanding why my coupon isn't applying automatically on checkout ?

What have you already attempted?
So I added every where the couponId, the rest is working well I can access the checkout page without any problem but the coupon isn't applying automatically. I know my coupon is working because I tried the coupon code at checkout.

What are you working on?
A simple database of Directories for small solopreneurs

#

@proper bronze pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to test a subscription getting into an "aborted due to delinquency" state. I have had some success creating a subscription and iterating a test clock until I enter that state, but it appears dependent on "Settings that affect live integration are hidden in test mode" like card payment retry attempts and the "what to do after all retries fail" option. So I was wondering if there is something like "force this subscription to be rejected due to delinquincy" test api call.

Doc/Guide Links
https://docs.stripe.com/billing/testing/test-clocks/simulate-subscriptions

What are you working on?
testing subscription flows

#

@stiff spire pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I trying to display multiple payment method options to customers, but the checkout page only shows credit card and apple pay. I'm not passing a list of payment methods when creating a checkout session, so I believe I am using dynamic payment methods. My company is from Brazil and we want to collect payments from users from EU and other countries in their own local payment methods such as bank transfers.

Related Request ID(s)
req_DyYjhHTe1MC81W

What have you already attempted?
I have enabled the shown payment methods on the dashboard (which are only credit card, apple pay, link and boleto). I have activated the "Adaptive Price" on the dashboard and I'm not passing a list of payment methods when creating a checkout session.

I have read theses docs:
https://docs.stripe.com/payments/payment-methods/dynamic-payment-methods

https://docs.stripe.com/payments/payment-methods/integration-options#using-dynamic-payment-methods

What are you working on?
We have a online shop that sells MMORPG credits. We are located in Brazil and want to start selling abroad for EU countries, USA, Canada, Mexico, Venezuela, and others.

#

@vocal wagon pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i have 2 prices for my subscription service. a monthly plan and a annual plan. when the user picks the monthly plan (which creates a subscription_id with the assigned price_id), but then changes their mind and decides to go with the annal plan, do i modify the existing subscription and assign it a new price_id (of the annual plan), or do i cancel the previously created subscription and generate a brand new one? i tried to modify the existing subscription by updating the items with the new price_id but it doesn't seem to work.

Doc/Guide Links
all the api docs (python)

What are you working on?
subscriptions

#

@open jay pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to see through the API or the Dashboard which of my Connected accounts are Legacy or Stripe apps, and get the version of the Stripe App if possible?

Related Request ID(s)
Haven't got any

What have you already attempted?
Haven't seen on the documentation any information relevant to that.

#

@pale summit pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I'm new to Stripe.

I've followed the guides for setting up a payment workflow with payment intents and webhook. It works well : user creates a payment intent server-side, confirms the payment client-side using the publishable key and a webhook event named payment_intent.succeeded is fired, which I indeed receive.

I wanted to know how I would go on linking a payment intent with a user. Should I store the payment intent id with the user when a payment intent is created server-side ? I've read that attaching sensitive data to the payment's metadata is not good, so I crossed off the idea of storing the user's ID in it.

Let me know if I'm not clear enough. Thank you.

Doc/Guide Links
Not storing sensitive data in payment metadata : https://docs.stripe.com/payments/payment-intents#storing-information-in-metadata

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

What are you working on?
A payment gateway for one-off payments or monthly/annual subscriptions.

#

@heavy jasper pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const options: StripeElementsOptions = {
mode: 'payment',
currency: 'usd',
amount: paymentAmount,
paymentMethodCreation: 'manual',
setupFutureUsage: savePaymentForLater ? "on_session" : undefined,
appearance: {
theme: 'night'
},
};

Question
How to add "save payment for later" option on stripe element?

What have you already attempted?
I'm passing "setupFutureUsage" : "on_session" in the options parameter, but when this field is toggled, the "You allow <company> to charge your card for future payments in accordance with their terms" message doesn't go away when it's un-toggled.

Refreshing the component wipes the credit card data, so it's not a valid solution.

#

@lilac sphinx pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,

When using Address element, do I need to pass the `clientSecret` always?

I want to ask the customer to enter his billing address, and this step is a configurational step for his "team", before paying anything.

Once the "team" has been set up, the customer might want to check things out before deciding to buy.

In my head, PaymentIntent, as its name describes, should exists if and only if the customer is getting to the checkout.

Imagine if there's a "Billing" section on my site, where I don't use Stripe's Customer Portal, but use my own implementation (which would leverage the Address element), to collect customer's address.

Doc/Guide Links
https://docs.stripe.com/elements/address-element
https://docs.stripe.com/payments/setup-intents
https://docs.stripe.com/payments/payment-intents

What are you working on?
I am working on a custom application in which one user can have multiple teams. Each team is equal to a Stripe customer. And I'd love to offer my users to setup their teams with all the info before buying anything.

#

@boreal kestrel pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I needed to change the phone number on file, I cannot see any phone number to call so I can update it

Question
I need to sign in on my account but the phone number where the code sent to is not active anymore

What have you already attempted?
tried to sign in but it ask for the code sent to the phone number that is not active anymore

What are you working on?
i need you to update the phone number on file

cursive heronBOT
#

@worthy crypt pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
To receive a response to all card element content requests

What actually happened?
Most content requests are responded to, but, sometimes *no response* is obtained.

Reproduction Steps
Using `storycap` to capture appearance of pages via automation that include the Card element, and sometimes this is failing with content having been requested, but not responded to.

Question
Per a previous discussion about this, I have established that the Card element *is* being populated with the publishable test key, and it's still *sometimes* failing in random fashion across multiple environments. This seems like a random failure is happening. Bad for us, but bad also for our customers, potentially, too, it seems.

#

@fast stream pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I'm trying to add metadata to a subscription. The information is being sent but when checking the dashboard it does not appear and when I receive payment_intent.succeeded, it arrives empty

Related Request ID(s)
evt_3PkrceAroboQJSjR0EBVMyVK

What have you already attempted?
I have tried changing my subscription completely, trying to add the metadata and nothing

#

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

Code
there is no code I don’t event know what that is

Question
so I need help with updating info for my payout , it’s saying past due

What have you already attempted?
emailed support nothing , I need help

What are you working on?
n.a

cursive heronBOT
#

@plucky badge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am receiving the following error message from the Stripe PaymentIntent API, but not sure what to make of it.

Payment method data is not allowed when payment_metho

Related Request ID(s)
req_C25DTwuONuEkjo

What have you already attempted?
Stripe account ID: acct_1DYi16BdXRchMnfD

I have tried to re-create the error but am unable to so I am not sure exactly of the circumstance that leads to this error.

The request body for the failing request doesn't contain a "payment_method" property so I am not sure what the error message is actually telling me.

What are you working on?
This is an integration with Stripe ACH connections.

#

@autumn canopy pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can we create an Express Connected Account with a different (but still supported for the country) default_currency for payouts? We are attempting to do this via the API for a CA-based account and the request fails with "Stripe currently doesn't support currency usd with country CA." However, Stripe documentation indicates that CA does allow USD currency payouts:

https://docs.stripe.com/payouts?account-country=CA

Related Request ID(s)
req_iiptK39F9mOVB3

What have you already attempted?
POST /v1/accounts
{
...
"country": "CA",
"default_currency": "usd",
...
}

What are you working on?
Freelancing platform using Stripe Connect for freelancer payouts

#

@lunar harness pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
There's any way i can change the button text of Stripe Checkout?

Question
There's any way i can change the button text of Stripe Checkout?

What have you already attempted?
check the docs

What are you working on?
personal project

cursive heronBOT
#

@vocal wagon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const appearance = {
theme: 'flat'
}

elements = stripe.elements\({ clientSecret\: data.value.clientSecret, appearance }\)

const paymentElement = elements.create\('payment', options\)
paymentElement.mount\('\#payment\-element'\)

Question
how do i get the payment element to show all acceptable payment methods? i have multiple activated, such as amazon pay, SEPA Direct Debit, and bank redirects like Sofort and giropay, but i do not see them. i'd like to test them all.

i also don't see apple pay despite having added and verified my domain. i still see the "You have not registered or verified the domain, so the following payment methods are not enabled in the Payment Element:" message in the console log.

What have you already attempted?
not sure what else to do

#

@viral bear pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to use the Apple Pay button from Stripe's React Native SDK without a Stripe account? I'm looking to implement Apple Pay with a third party.

Related Request ID(s)
N/A

What have you already attempted?
N/A - Just generally curious if it is possible before I attempt anything. It isn't documented anywhere that this is not possible, but also no where that it states it can be done.

#

@thorn field pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
line_items: [
{
price: priceId,
quantity: 1,
},
],
mode: 'subscription',
customer: subscriptionExists.subscription.customerId,
subscription_data: {
metadata: { clerkUserId: subscriptionExists.subscription.userId },
},

Question
How do I make it so that when a person using my web app upgrades, their previous payment cycle is cancelled, or at least, they don't get paid for both plans, only the latest one. Right now when you try to upgrade your plan. We use a checkout using subscription method and we put your old info in there. after you pay the webhook does rest of the work. But this makes there be a new subscription! I want so that after you pay your subscription gets prorated.

What have you already attempted?
Tried changing the checkout methods.

What are you working on?
Stripe subscription upgrade system.

cursive heronBOT
#

@pliant gorge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When running commands in CLI, such as 'stripe products list', i only see generic information in the responses, whereas previously i was seeing valid data fields. for example, currently in the description field for various products i only see '(created by stripe CLI)'.

Related Request ID(s)
n/a

What have you already attempted?
searched online

What are you working on?
learning about stripe api

#

@safe fiber pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it expected that the discount id for a subscription level discount changes when calling list_upcoming_line_items?

Related Request ID(s)
na

What have you already attempted?
not many other options to try i think

What are you working on?
previewing invoices with more than 10 lines

cursive heronBOT
#

@subtle ibex pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want entered the wrong region and I'm unable to complete onboarding

Related Request ID(s)
I can't access the dashboard

What have you already attempted?
I've attempted reaching at stripe support

What are you working on?
my Twitter payouts are paused due to incomplete onboarding

#

@ocean creek pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to connect stripe products with a form on quillform

Related Event ID(s)
dunno

What have you already attempted?
API conects and webhooks

What are you working on?
Trying to set a payment on a form, where at the end of it, andf according with the answers, the client would be redirect to a payment screen

cursive heronBOT
#

@inner zealot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to make an OutboundPayment between two Financial accounts in test mode but am getting the following error

Stripe::InvalidRequestError: intra_stripe_flows is currently restricted by the controller of the FinancialAccount fa_1LUkoC4hOApHic0QjYx4blr5.

I have verified that intra_stripe_flows is not restricted on that account but the payment keeps failing with that error.

Related Request ID(s)
req_H9McA7nvaDGOuK

What have you already attempted?
I have looked at API docs for Financial accounts and Outbound payments as well as the regular docs describing how financial account features work.

cursive heronBOT
cursive heronBOT
#

@dull jungle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In your firebase extension, is it possible to change a subscription?

Related Request ID(s)
1234

What have you already attempted?
I read your docs on firebase, and I see create customer, delete customer, but no modify. I'm looking for an upgrade method to change their subscription from one price to another.

What are you working on?
godelnum.com

#

@remote bane pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
How do I dynamically add multiple line items to the same checkout session on Bubble?

What have you already attempted?
I've searched across your docs as much as I can think possible and there is no clear chronological workflow explanation.

What are you working on?
I need to allow customers to purchase items of varying prices and quantities, keep a percentage for myself, then payout the rest to merchants and couriers.

#

@loud bolt pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting error: no signatures found matching the expected signature for payload. Are you sending the raw request body you received from Stripe.

Related Event ID(s)
evt_1Pkts4A9qVxHukS4iypIzTCg

What have you already attempted?
I tried to switch to python, it works but my backend is node (ts) with openapihono.
I even tried the same mentioned in hono website but it's not working. Main issue is that hono doesn't have req.body(), as per website I sent req.text(). But the error is persistent.

What are you working on?
I'm trying to update my database based on the webhook events

cursive heronBOT
#

@ashen nova pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe transactions page is displaying user email rather than user name, even when updating the customer name. Is there any way to change this behavior or do I have to update the invoice after the transaction completes with the correct name?

Related Request ID(s)
req_T3QSo92dgFMTaH, req_JbgIq71oODCvOv

What have you already attempted?
I haven't really tried much besides just allowing the customer name to be updated. Essentially I create the customer associated with an email, then in checkout I add the name to the customer (probably not the best way to do it, I should get name on signup and allow name editing in the profile page rather than this, because the customer could enter another name in the shipping information which would then be tied to their account, but anyways), the name doesn't show on the dashboard, it shows as being there in the details but the "Customer name" is the user's email

What are you working on?
A checkout page for project I'm working (basically a print on demand service) where users can upload and sell art

#

@lapis forum pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I set the description that appears on a transaction (payment intent) when raising a manual invoice? Currently we just get the invoice number.

Related Request ID(s)
req_2Edo0SBGyx0lXQ, in_1Pkt1uAlWOZ9EtFQatPgChBW

What have you already attempted?
I have tried setting both the "description" and "statement_descriptor" on an invoice, and the "description" on its only line-item.
We have similar functionality where we used checkouts which lets us customize the payment intent description - looking for the same thing with invoices.
Note that we don't want to set a custom invoice number if this can be avoided.

What are you working on?
Property management software

cursive heronBOT
cursive heronBOT
cursive heronBOT
#

@near delta pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we are using stripe connect and the payment get into platform account, but not able to get into connected account. We are using custom integration, and destination type change. Can you please check is it anything wrong with the payment?

Related Request ID(s)
pi_3Pkz0YHY4JQgkeVO1L0HfeLZ

What have you already attempted?
manually transfer the payment, was not successful

What are you working on?
stuck

cursive heronBOT
#

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

Code
Payments and payouts paused until requirements met

Question
i need to know how to fix this because i need to get payout please

What have you already attempted?
all it says is to contact support please help

What are you working on?
website

cursive heronBOT
#

@granite lotus pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
How can I adjust price of a product for the sale purpose, not need use discount

Question
How can I adjust price of a product for the sale purpose, not need use discount

What have you already attempted?
How can I adjust price of a product for the sale purpose, not need use discount

What are you working on?
How can I adjust price of a product for the sale purpose, not need use discount

cursive heronBOT
#

@royal panther pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am switching from test to live mode. I cannot understand how to login using the stripe cli. For example, when I try `stripe login --api-key=pk_live_51...` and then `stripe prices retrieve price_1Pkxrr...` I get `"No such price: 'price_1PkxrrHBEdeg440gA9SDxb7L'; a similar object exists in live mode, but a test mode key was used to make this request."`

Related Request ID(s)
None. Fails on the client.

What have you already attempted?
Explained above.

What are you working on?
E-commerce site,

#

@torpid current pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Created old Content Builder Types are to be shown

What actually happened?
created Content Builder Types are not showing and created ones are not shown

Reproduction Steps
what is the reason for this error . solve this asap

Question
created Content Builder Types are not showing and created ones are not shown

What are you working on?
created some Content Builder Types for react js

#

@granite lotus pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
How can I adjust price of a product for the sale purpose, not need use discount

Question
How can I adjust price of a product for the sale purpose, not need use discount

What have you already attempted?
How can I adjust price of a product for the sale purpose, not need use discount

What are you working on?
How can I adjust price of a product for the sale purpose, not need use discount

cursive heronBOT
#

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

Code
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
paymentIntentClientSecret: widget.makePaymentResponse.stripeIntent!.clientSecret,
style: Get.isDarkMode ? ThemeMode.dark : ThemeMode.light,
merchantDisplayName: 'Glowingbud',
appearance: PaymentSheetAppearance(
colors: PaymentSheetAppearanceColors(
background: Colors.white,

Question
while using my account its working fine, but when I switch to another account, it gives me an error like "This was an error confirming the intent".

What have you already attempted?
i try multiple times to change different properties and codes.

What are you working on?
Stripe payment in Flutter App

cursive heronBOT
#

@true viper pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
public PaymentIntent capturePaymentIntent(String paymentIntentId, Long amount) throws StripeException {
Stripe.apiKey = StripeKey;

	PaymentIntent paymentIntent = PaymentIntent.retrieve\(paymentIntentId\);

	PaymentIntentCaptureParams params = PaymentIntentCaptureParams.builder\(\).setAmountToCapture\(amount\).build\(\);

	try {
		PaymentIntent capturedPaymentIntent = paymentIntent.capture\(params\);
		return capturedPaymentIntent;
	} catch \(StripeException e\) {
		e.printStack

Question
this is how i capture the code now i want the invoice to show to the user who has paid the money to that consumer in the file form

What have you already attempted?
NA

cursive heronBOT
#

@loud marlin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have activate apple pay with uploading apple pay certificate, and i am integrating session checkout create with subscription mode, but when i open payment screen, apple pay button and google pay button not visible.

Related Request ID(s)
N/A

What have you already attempted?
I have activate apple pay with uploading apple pay certificate, and i am integrating session checkout create with subscription mode, but when i open payment screen, apple pay button and google pay button not visible.

cursive heronBOT
#

@rich peak pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, is there any way (probably some endpoint) to fetch the list of minimum charge amounts per currency? I know the minimum is 0.5 USD, but I need to get all the minimum amounts.

Related Request ID(s)
1234567

What have you already attempted?
I tried to check docs.

cursive heronBOT
#

@gleaming pivot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to refund customer partially from stripe connected account,
As i recieve payment in my platform account and then distribute it to the connected accounts.
we want to make refund to the customer and charge the connected account for it

Related Request ID(s)
??

What have you already attempted?
const refund = await this.stripe.refunds.create(
{
charge: chargeId.latestCharge,
amount: amount / 100,
reverse_transfer: true,
},
{
stripeAccount: connectedAccount.accountId,
}
);

this what i'm trying to do, charge id is from checkout session
const paymentIntent =
await this.stripe.paymentIntents.retrieve(paymentIntentId);
const sourceCharge = paymentIntent.latest_charge as string;

this is how i'm getting the charge id that was stored

#

@carmine dragon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi team, I am reaching our from a plugin's team and we are using your library for our plugin. Now we are getting the following incompatibility error with the PHP 8.0 version " 202 | ERROR | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$method" was changed on line 198. "

Related Request ID(s)
Fix the error

What have you already attempted?
Need assistance

#

@teal prawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Need a checkout stripe page to collect a one time fee, monthly subscription and weekly metered payout

Related Request ID(s)
Checkout does not support multiple prices with different billing intervals

What have you already attempted?
session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
mode: 'subscription',
customer: subscriptionCustomerId,
line_items: [
{
price: price_1PY1LcCOnyx24eM7tmx8vkBH,
quantity: "1"
},
{
price: price_1PY1M4COnyx24eM7M20QSfRp,
quantity: "1"
},
{
price: price_1PkkRFCOnyx24eM7h2g7ZSLe

cursive heronBOT
#

@cyan wedge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey there. I have a few hundred active susbcriptions through the Stripe Connect product and we're taking a platform fee as part of those transactions. We're moving away from this model and want to charge a 0% platform fee on all transactions.

Is it possible to update existing transactions and remove the platform fee for all existing subscriptions?

Here's an example of one my active subscription IDs: sub_1PkpxTL9hM4stiLFasVed3SG

Related Request ID(s)
-

What have you already attempted?
-

#

@twin badger pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
When onboarding a customer that creates a connected account, i'm wondering what is the flow for his verification.

On the test mode, when the requirements object gets empty, payouts_enabled and charges_enabled get set to true.

In live mode, is there a intermediate step where Stripe needs to verify details submitted through the onboarding process? And if so, which fields are affected (how can i see that verification is pending)? And how long does the verification process take in real system?

Thanks in advance!

What have you already attempted?
I tried through the test mode the full onboarding process to see what to observe. But not sure i can know how it happens in live mode

What are you working on?
Enabling users to pay for online meetings

cursive heronBOT
#

@teal mango pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm facing an issue with Stripe's balance management and would appreciate your assistance.
Balance Issue: After a successful charge, the amount is added to the pending balance rather than the available balance.
Local Wallet Management: I manage user wallets locally in MongoDB. When a charge is successful, I update the wallet balance accordingly.
Payout Issue: When a user tries to withdraw the amount, it is not available because it is still in the pending balance. As a result, any attempt to transfer the amount to their connected Stripe account and perform a payout fails.

Related Request ID(s)
1213

What have you already attempted?
as i told i tried to transfer money from stripe to user connect account when he use payout api and then use stripe.payout to drop the money into his bank but again same issue if the money isnt in stripe available balance its shows me error

What are you working on?
stripe connect payout

cursive heronBOT
#

@dusk thistle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Code is already shared in the previous thread

Question
Deeplink are working when confirming setup intent for PayPal but not for credit card that need authorization, cf this message to explain the context: #1270392002441248840 message

What have you already attempted?
I already did this https://docs.stripe.com/payments/save-and-reuse?platform=react-native&mobile-ui=payment-element#set-up-return-url, which is why it's working for PayPal

Here are the setup intents (one for PayPal and two for credit cards where deeplinks are not working):
- PayPal : seti_1Pl5GqBBURfSZNfg8ca6DT5Z
- Credit card: seti_1Pl5HtBBURfSZNfgw7PFZ6S4 / seti_1Pkp06BBURfSZNfg6knfQ86d

cursive heronBOT
#

@dense kelp pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm trying to use a card which requires additional user action in my test environment. When I make a payment using a card to start a subscription, it goes through by putting subscription and payment to "Incomplete" and Invoice to "open". How do I not create subscription at all in this scenario?

Related Request ID(s)
no id. just exploring

What have you already attempted?
I tried disabling "Request 3DS if 3D Secure is required for card" rule from rules section but did not work.

What are you working on?
test environment using test card "4000002760003184"

cursive heronBOT
#

@lean fjord pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,
I'm trying to implement Express Checkout for Stripe and I have one problem. Here: https://docs.stripe.com/elements/express-checkout-element there is an option: Collect Shipping Address
when I select it, the popup forces me to enter the address data. I would like to do exactly the same thing, i.e. force entering this data. I dont see any option to do it in Express Checkout Api like this: const expressCheckoutElement = elements.create('expressCheckout', options); How to do it?

Related Request ID(s)
Express Checkout

What have you already attempted?
I've tried with option like this collect_shipping_address: true, but it does not work

cursive heronBOT
#

@unborn thicket pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Be able to use Stripe after submitting my ID

What actually happened?
Immediately after submitting my ID, my account gets limited as "high risk"

Reproduction Steps
I tried again and it seems to happen as soon as ID is submitted

Question
I'm trying to open a Stripe which will be linked to my online commission store on the platform Ko-Fi, however, I get shut down each time I submit my ID along with representatives saying my business is "high risk" with little to no explanation.

I don't understand why I stand out from other users who use Ko-Fi

#

@teal prawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Not able to create a session checkout with one monthly subscription and one weekly metered payout

Related Request ID(s)
Checkout does not support multiple prices with different billing intervals.

What have you already attempted?
session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
mode: 'subscription',
customer: subscriptionCustomerId,
line_items: [
{
price: price_1PY1LcCOnyx24eM7tmx8vkBH,
quantity: "1"
},
{
price: price_1PY1M4COnyx24eM7M20QSfRp,
quantity: "1"
},
{
price: price_1PkkRFCOnyx24eM7h2g7ZSLe

cursive heronBOT
#

@tender wigeon pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am doing payment using a stripe in node js where it works locally but not live.

Related Event ID(s)
Hardik

What have you already attempted?
I already tried auto and manual methods for stripe signature authentication but nothing works in live

What are you working on?
Stripe Payment Gateway

#

@ivory garden pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am facing issue in accessing stripe connect url once it's generated through api

Question
We have a admin section in our site where we generate stripe connect url for our users and share that url with them .Now, they are unable to open that url without logging in our site which shouldn't be the case. We have developed the process in php laravel

What have you already attempted?
We have a admin section in our site where we generate stripe connect url for our users and share that url with them .Now, they are unable to open that url without logging in our site which shouldn't be the case. We have developed the process in php laravel

cursive heronBOT
#

@edgy glen pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to use the webhook in a firebase function.. i tried everything that i found online. but i still get signature not allowed

Related Event ID(s)
evt_1Pl7EcCog8o4Ln0zfs1M0S86

What have you already attempted?
rawBody, json.stringify, other libs etc.

cursive heronBOT
#

@vernal trail pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
what are the test us bank account details to test stripe payment intent api integration

Related Request ID(s)
Payment Intent API

What have you already attempted?
Looking for test accounts data

What are you working on?
PHP Stripe APIs

#

@normal cedar pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Merchant tax identification number added to the invoice (after enebling it in dashboard)

What actually happened?
The invoice which is generated still require to manually add tax identification number in test mode.

Reproduction Steps
In test mode:
- add tax identification number in invocie setting
- make it deafult
- make a payment for subsription
- go to invoices and generate the invoice
- invoice automatically generated is missing tax identification number
- it appers after adding it in additional options even though it should be automatically added.

Question
How to automatically add merchant tax identification number in TEST mode? Without manually adding it each time.

What are you working on?
invoicing

#

@lean fjord pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Yet another problem, I have address issue for Stripe, I am chosing Polen, choose some town and I have response error: Ihre Versandadresse ist fΓΌr diesen Kauf nicht verfΓΌgbar. Where it can be set, it is somewhere on dashboard to set what shipping addresses are allowed?

Related Request ID(s)
Look in Dashboard

What have you already attempted?
I tried writing several other addresses

cursive heronBOT
#

@silver gorge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to add the possibility for my connect account to chooses there taxes and emails sent from stripe.

Related Request ID(s)
req_YxaKYSwl3W1enM, req_HhaKftyiRdl5N5

What have you already attempted?
Changing the settings with the connected account (Standard) but it seems that there is no invoice sent

What are you working on?
A fleet management system where people can't rent electric scooter for exemple

#

@sacred thunder pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting 'This application does not have the required permissions for this endpoint on account 'acct_1XXX' while accessing webhook_endpoint retrieve api

Related Request ID(s)
no id

What have you already attempted?
I didn't find any option in dashboard to give the permission

cursive heronBOT
#

@visual obsidian pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
for the customer Id I provided our client says they are paying for a subscription but on our side we only have the customerId and it seems like they haven't purchased anything.

Related Request ID(s)
cus_QcAqMJezD8ON1f

What have you already attempted?
-

#

@teal crane pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why doesnt my api call just return succeeded charges but also shows failed ones?

Related Request ID(s)
Cant find this

What have you already attempted?
stripe.Charge.list(
created={
'gte': int(start_date.timestamp()),
'lte': int(end_date.timestamp()),
},
status='succeeded',
limit=100,
stripe_account=account.stripe_account_id,
)

What are you working on?
In person payments platform

#

@finite kestrel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
generate invoice and pay via apple pay

Related Request ID(s)
req_Fyq0ifVEcnugpx

What have you already attempted?
I created the invoice items and invoice and tried to link it with the payment intent

What are you working on?
make payment via apple pay

cursive heronBOT
#

@remote bane pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I try to create an endpoint destination, I get an error that says β€œSomething went wrong. We’ve been notified and are looking into it.” with no further details or instructions. I’m integrating with Bubble and I followed all the steps. I’m not sure where things went wrong. below is the latest event I could get. I’m trying to create a checkout.session.completed event.

Related Event ID(s)
cs_test_a1daOggtHw2wfQ2WuE4iotLnZl844reENn6iRqh7j2HULTDS884pqIrGVx

What have you already attempted?
there’s nothing indicating what else to do. so I decided to come here as my next option.

What are you working on?
setting up a completed checkout session webhook to communicate with the backend of my Bubble app. Reference: https://youtu.be/6oxbet-wqwc?si=lQulW3K5Ge5jvDAN minute 31:00

#

@wooden ether pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements

Question
Section 3 (Collect payment details) says that some payment methods required a redirect. But, then it also says to accept Apple/Google in an iframe, to set the allow attribute. Are the any other payment methods that still would not work when using an iframe? I would rather not use a redirect at all.

What have you already attempted?
I am still trying to get an implementation to work, but I was trying to decide if I need to use an iframe or not.

What are you working on?
I am adding Stripe to an existing Form Builder application.

#

@real knot pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
generateTestHeaderString

Question
Does the Ruby SDK have an equivalent of the Node SDK's `generateTestHeaderString`, where I can pass a secret and an event and get the signature Stripe would generate for that event? I want to use this for functional testing

What have you already attempted?
Read the docs and looked vaguely through ruby gem source.

What are you working on?
Making my controllers not have a separate codepath for tests and instead do webhook testing the same was as in prod

#

@frank dragon pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected my current software provider to give me the a list of my customer's email addresses and their Stripe vault IDs so I can import them into a new system.

What actually happened?
They ignored my requests.

Reproduction Steps
See your questions for details.

Question
I'm switching my business' customer management software from Glofox to CourtReserve. Glofox uses Stripe to process my payment transactions now, but I do not have access to the Stripe account that contains the data, transaction information, and customer IDs. I need to give my new software (CourtReserve) my customer's email addresses and Stripe Vault IDs.

cursive heronBOT
#

@marble knot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I got an error while using endpoint in hosting, but not in local environment...

Related Request ID(s)
no

What have you already attempted?
When I try on local, I can see all the events in the terminal, but in the hosting endpoint I can only see application_fee.created (and not checkout.session.completed, why?)

#

@fierce wind pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
ui_mode: 'embedded',
line_items: [
{
price: priceId, // (for example,[starting from pr_*******])
quantity: 1,
},
],
mode: mode, //mode will be "payment" or "subscription"
payment_method_types: ['card'], //gpay and applepay are inbuilt
return_url: `${return_url}?session_id={CHEC

Question
After a successful payment, the return URL redirects to the page, but the query session ID is not being received. It works fine locally, but we're facing this issue after deployment

What have you already attempted?
in stripe documentation there is no details why its not working after deployment.

cursive heronBOT
#

@copper dove pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, is there any way to prefill the name,
billing address or payment method for customer sessions in stripe checkout?
My customers have defined a default payment method and a billing address but this is not always prefilled in stripe checkout.

As a workaround i added

'saved_payment_method_options' => [
'allow_redisplay_filters' => ['always'],
'payment_method_save' => 'enabled',
],

this works for CC but not paypal.

Is this not possible for paypal to prefill the billing address at all or is their another way to do it?

Any ideas? Do i miss something? Thanks!

Related Request ID(s)
evt_1Pl9ZoDwEgNPqTqp6yJvMjdS

What have you already attempted?
Reading a lot of documentations but i found no solution

What are you working on?
SAAS Product - credit payments

cursive heronBOT
#

@rose gyro pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to show the customer data in the payments of the connected account(Stripe Connect) through transfers?

Related Request ID(s)
Transfer, Stripe Connect

What have you already attempted?
I have attempted to add meta data in Transfer, those meta data are showing inside my Stripe Account but not in the Stripe connected Accounts Payments

What are you working on?
I'm working on Transfers and Customer Data.

#

@summer kayak pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking for data within a transaction that would tell whether transaction was made in person or not. Is there something like this?

Related Request ID(s)
None

What have you already attempted?
I attempted searching docs, PaymentDetails.type looks promising, but I suppose things like blik can be both in person and not in person

#

@wooden umbra pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it at all possible to adjust the wording on any of the Stripe embedded onboarding pages for Connect? E.g change some wording on the page where a user would setup their payout bank account to be more relevant to the use case.

Related Request ID(s)
N/A

What have you already attempted?
I reviewed the Elements Appearance API and did not see anything about changing the wording, just the look/feel/branding/etc. - https://docs.stripe.com/elements/appearance-api

What are you working on?
Working with a user that wants to streamline the Connect onboarding process within their application, and also make the wording as clear as possible to avoid customer confusion/friction.

#

@simple relic pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I create subscriptions for a standard connected account and have the payment reach the same connected account

Related Request ID(s)
Account Connect

What have you already attempted?
How can I create subscriptions for a standard connected account and have the payment reach the same connected account

cursive heronBOT
#

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

Question
I got an email from alerts@stripe.com stating:

We’re reaching out about an issue wherein from 2024-05-22 to 2024-07-30, updating some subscriptions to extend or remove their cancellation date within their first billing period unintentionally modified the subscription’s billing_cycle_anchor to a different value.

The issue has been resolved, and these update requests going forward will no longer change the subscription’s billing_cycle_anchor to an undesired value.
I'm trying to understand if we still need to re-create all the subscriptions prior to May 22nd as mentioned in the discord thread

Related Request ID(s)
N/A

What have you already attempted?
We ran into a bug that Stripe has fixed, previous thread, https://discord.com/channels/841573134531821608/841573134531821616/threads/1265793144193028247. In the thread, its mentioned we must re-create all subscriptions that were created prior to May 22 to ensure that we dont run into the issue again.

#

@glad dust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I set a receipt email after a payment intent has already succeeded will a receipt be sent? If not, how do I send a receipt using the api?

Related Request ID(s)
N/A

What have you already attempted?
I tried replicating it in test mode, but receipts aren't sent in test mode so I cant find out.

#

@teal mango pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when i use stripe.charge the amount added in pending balance when user withdraw the amount stripe say balance is low how can i fix this what can i do

Related Request ID(s)
N/A

What have you already attempted?
transfer_group
source_transcation

i tried both of these before

What are you working on?
In our app user create a task for some balance then a service provider completed the task and gets paid then service provider try to withdraw that amount but gets failed

cursive heronBOT
#

@distant notch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm testing microdeposit verification as following this instruction https://docs.stripe.com/payments/ach-debit/set-up-payment?platform=web&payment-ui=direct-api#test-integration Originally, I was able to receive the verification email with "[TESTMODE] Verify your bank account for Flexport Freight Tech LLC" subject, but I just noted it doesn't work today. Can you check if this test mode is working correctly?

Related Request ID(s)
req_jgYtEQ3wfmqkPv

What have you already attempted?
As I wrote in the question, I follow microdeposit flow in test-mode, but I cannot received the email to ntakano+test_email@flexport.com

#

@solemn meadow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Do SetupIntents support paynow as a payment_method_type?

Related Request ID(s)
req_AbBY6Kp5oOtPao

What have you already attempted?
Currently trying to create a SetupIntent with paynow and card as the payment_method_types. I've activated paynow in my payment method settings and it is a valid payment method type in the list provided in the response.

What are you working on?
Adding paynow as a payment method into my current SetupIntent -> subscription schedule flow

#

@torpid scaffold pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi. I have a system in which products are charged daily. I'd like for customers to have a daily invoice created for their accounts along with their products, and have them see a total balance that is due on the 1st of every month. The issue is that I would like only 1 invoice a month that acts as a statement balance so that my customer's aren't overwhelmed with invoices, and I'd also like for easy payment of the entire balance (Should there be 2 or more overdue monthly invoices).

Is this possible, or would my customers have to pay each invoice individually?

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

What are you working on?
Hi. Working on a custom metered system that I'd like to integrate with stripe.

cursive heronBOT
#

@brazen pier pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am using Stripe Connect $login = \Stripe\Account::createLoginLink($acc_id, []);

API for to allow my vendors to Login to Stripe Connect Dashboard .

Question
Now My customer want to refund some partial amount how they can do it.

What have you already attempted?
Below is what my customer said about

Stripe Express, does not have a refund button on my dashboard. I have two tabs overview and balance neither of which has a refund button. When I click on the transaction I get a description but still no refund button.

What are you working on?
Stripe Connect

#

@twin quarry pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
we are using Stripe.card.createToken JS sdk method to create stripe card token and then from backend creating a payment intent,

Question
for visa new mandatory fields I need to pass new fields mentioned here in below link, so can you suggest me in which parameters I need to pass or can you share some documentation

https://support.stripe.com/questions/what-changes-(if-any)-do-i-need-to-make-to-my-integration-for-visas-new-mandatory-field-requirement-for-authentication-requests

What have you already attempted?
I search and tried support team

What are you working on?
adding new visa fields for 3ds

#

@brave beacon pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/stripe-apps/install-links#use-install-link

Question
To get an install link, do I need to publish a new version first? What if I need the install link for my new feature when submitting the app? Do I need to submit a version just to get the link to work and then submit the version with the feature that uses this link?

What have you already attempted?
I upload the app with the new feature, clicked on the settings tab but I'm not seeing the install link

#

@drowsy kindle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My client is getting an error that I cannot explain regarding trial periods

Related Request ID(s)
req_z7NMbSEl8G6tP1

What have you already attempted?
I have recreated the issue in their environment, and confirmed that trial periods can be set beyond the current_period_end

What are you working on?
SaaS Stripe Connect B2B software

cursive heronBOT
#

@eager vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're trying to test "Legal Entity Sharing" via our Stripe Connect integration in test mode, but using the same email address does not trigger the interaction suggested on this page

https://support.stripe.com/questions/legal-entity-sharing

Related Request ID(s)
n/a

What have you already attempted?
We've used the same email address multiple times we creating stripe connected accounts in test mode

What are you working on?
Stripe Connect Integration

#

@meager folio pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await stripe.billing.meterEvents.create({
event_name: "users",
payload: {
value: String(seats),
stripe_customer_id: profile.stripe_customer_id,
},
})

await stripe.checkout.sessions.create({
success_url: request.nextUrl.origin,
customer: profile.stripe_customer_id,
line_items: [{ price: stripePrice }],
mode: "subscription",
})

Question
I am trying to create subscriptions based on number of seats a client uses on my platform. From the moment the client logs in, and a stripe_customer is created for them, I track meter usage for "users".

I have created this product `prod_QcL6h10KpwLd4o` with usage based pricing

What have you already attempted?
Now when the user proceeds to payment for a new subscription, I can see on the checkout page that the usage is being mentioned, and that it will eventually charge something.

But today's price shows $0.00 so I can't charge them for the metered usage already pre-recorded.

This is the meter `mtr_test_61QuUj83wln8wjmh241Ew7HJcWO8ZMDI`

So if the price is meant to be $12 per user. And there are 2 users, how do I charge $24 on day one?

#

@worthy crypt pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
All web resources / URL requests that Stripe PaymentElement and CardElement make should result in a valid response.

What actually happened?
Sometimes, I see that a response is not received, which really gums up the works.

Reproduction Steps
Create a basic React-based web app with Storybook stories, and then use `storycap` (which in turn uses 'puppeteer' to interact with 'Chromium' headless browser) to capture the rendered web pages. If you do this enough, if like me, you will see information that shows that sometimes, the request to Stripe results in not receiving a response.

Question
This is really a follow-up to previous discussions on this topic. I was asked to try using PaymentElement instead of CardElement, and I'm seeing the same issue, so, I would say it's something that's common to both, at this point. Are you people seeing anything on your side about this issue? Is there anything else I should be looking at?

#

@lunar harness pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A created a product with the option "Charge one time fee" and im getting this error "You must provide at least one recurring price in `subscription` mode when using prices."

Related Request ID(s)
...

What have you already attempted?
This error occurs in the "stripe.checkout.sessions.create()", i dont understand because im passing the price id in the object

cursive heronBOT
#

@limpid mason pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello I'd like to give me a little help on something! How can i put my API key from mydata platform that i upload the invoice documents from stripe inside the stripe ? I mean i have an api key that i can put it somehow on stripe for all the invoices to be uploaded instantly in mydata goverment platform ! Is there a way to do that ? Thank you for your patience

Related Request ID(s)
API keys

What have you already attempted?
I saw videos from utube that are only with your stripe keys that you provide and put them in other platforms (booknetic)

What are you working on?
We have moped electric vehicles services

#

@worldly monolith pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/pricing-table#price-localization

Question
I'm using adaptive pricing to display the price in EUR for those countries that use it and USD for the res. I always see USD in the pricing table. However, in the checkout session, when I click the "Subscribe" button, I see the correct currency.

What have you already attempted?
In the current implementation, I use customer-session-client-secret to pass the information about existing customers https://docs.stripe.com/payments/checkout/pricing-table#customer-session

What are you working on?
We a building a SaaS application with the subscription model. We integrate payments through the pricing table.

#

@hazy holly pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to use subscription schedules to add a discount in the future without affecting other items? We'd like to apply a coupon to start when a subscription renews, without affecting any of the items in the subscription. That way if we need to change the quantity on the subscription, we can do that without having to update all phases in the subscription schedule.

Related Request ID(s)
req_AqXjd02LJanT3l

What have you already attempted?
Creating the subscription schedule via the API requires the "items" parameter, and creating via the Dashboard also supplies it.

#

@desert orbit pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to list all payments/subscriptions related to a "guest" customer (that's my guess according to spanish-english resource translation). I am using PHP SDK, has anyone tried this before?

Related Request ID(s)
req_3FpORBnhtoyCww?t=1723055837

What have you already attempted?
I have tried to list payment intents from Stripe CLI

What are you working on?
a list of donations made by visitors on a site, the donatios can be one-time payments or subscription-like

cursive heronBOT
#

@upbeat moon pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Connect express users to be able to create a new account with the same email once the old one was deleted from Stripe

What actually happened?
The UI either requests for the user to login again incorrectly as the account was deleted or says "there was an error"

Reproduction Steps
Delete a connect express account, try to create a new account with the same email

Question
We are having reports from multiple users that had their old accounts removed/deleted and when they try to create a new account the system asks them to log in, and then asks then to enter a 2fA code, even when there is no account to log in too as they are trying to create a new one.

#

@dense saddle pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im tryig to find documentation on how I can calculate the Stripe fee(s) that I will be charged on a given transaction, so that I can pass that onto our customers as part of the transaction itself (not afterwards).

Doc/Guide Links
Cant find anyting, have searched the docs and API reference

What are you working on?
Marketplace

cursive heronBOT
#

@craggy sapphire pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element?locale=en-GB

Question
Is it possible to use the express checkout functionality to setup / take payment for a recurring subscription? And if so, can we set the priceID + couponIDs + meta data via parameters? We're using Stripe Billing and would like to utilise a one-click subscribe button.

What have you already attempted?
The documentation appears to suggest one off payments

What are you working on?
Creating a paywall which contains a one-click subscriber button

cursive heronBOT
cursive heronBOT
#

@worn harness pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're switching over to the server driven architecture for processing payments on the terminal. Since we don't want a user (or separate browser tab) to be able to "steal" a terminal that's already in the process of collecting payment, before calling the process_payment_intent endpoint, we first use the reader endpoint to get the reader's current status, specifically the "action" property. This can tell us if the last payment intent is "in_progress" or completed or failed, which we can then take appropriate action in the application. Out of characters, more incoming...

Related Request ID(s)
req_dHhESVv5wCxW9R

What have you already attempted?
n/a

cursive heronBOT
#

@amber steppe pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to create a new subscription, adding a one-time discount / credit to the first invoice only?

Example: Create monthly $10 subscription, but first invoice has a -$5 line item on it, for a total of $5

Related Request ID(s)
n/a

What have you already attempted?
I tried doing this with add_invoice_items, but looks like prices must all be >= 0

cursive heronBOT
#

@near delta pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Thank you for the helps. We have now been able to use destination charge on our website. The payments are correctly showing up on our platform Stripe test account. And it indicates there are payments in the connected accounts if we check the connected accounts from platform account. However, when logging into a connected Stripe account, there are no payments at all, neither can we search the payment intent, transfer there. Can you please check what is the reason?

Related Request ID(s)
pi_3PlIvkHY4JQgkeVO0BtrY9zt

What have you already attempted?
logged in to connected account, change to test mode, check the transactions, balances, payout

What are you working on?
no idea what to do

cursive heronBOT
#

@coarse willow pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I received a notification requesting personal information. It was sent from no-reply@substack.com. One of the first signs of a suspect email is a sender that doesn't match the sites domain. Who can I chat with who is working in the area of cybersecurity?

Doc/Guide Links
Substack <no-reply@substack.com>
Jul 29, 2024, 2:45β€―PM (9 days ago)
to me

Hi Jerry,

Stripe is asking for you to provide certain additional information on your Stripe account. It may be related to changes that Stripe has made to its Know-Your-Customer (KYC) policies. To learn more about those changes, see this help center article.

To provide the additional information that Stripe requires, please visit your Stripe dashboard and follow the instructions there.

Go to my Stripe dashboard

This information is due by Aug 12, 2024. If you have any questions, Stripe support is the best resource for getting them answered quickly: support.stripe.com.

Β© 2024 Substack Inc.
548 Marke

What are you working on?
Trying to help stripe.com remain secure.

cursive heronBOT
#

@tardy tiger pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
iOS: STPAuthenticationContext dismissal delegate method

Question
We are providing a `UIViewController` for presentation of the Challenge Flow when adding a virtual cards funding source but are failing to see where the `authenticationContextWillDismiss(_ viewController: UIViewController)` method is called when dismissing the flow. We perform some operations once this flow is called so we rely on this method being called to present a loading spinner.

The view that is presented from Stripe is a `STDSChallengeResponseViewController`.

What have you already attempted?
Implemented the `prepare(forPresentation completion: @escaping STPVoidBlock)` and `authenticationPresentingViewController() -> UIViewController` methods.

`authenticationContextWillDismiss(_ viewController: UIViewController)` is implemented but not called when the challenge flow is dismissed.

What are you working on?
Virtual Cards Service

cursive heronBOT
#

@proper viper pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have deployed my website and am getting a 400 error with strip. Here is my website https://cozy-threads-6w4sumc5z-alexis-projects-f98790d7.vercel.app.

URL: https://cozy-threads-6w4sumc5z-alexis-projects-f98790d7.vercel.app/api/stripe
Status: 400
Source: Network
Address: 76.76.21.22:443
Initiator:
page-bd3a22316458e307.js:1:17545

Related Request ID(s)
Developer

What have you already attempted?
My app is next.js and react and I followed a stripe tutorial I found. still getting the error.

cursive heronBOT
#

@past epoch pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I created a Per Seat Subscription Model where a seat on a Subscription costs $200, but when I add another seat on the subscription (On a regular subscription I modify the quantity parameter to 2) I am getting a charge of $600 where in the invoice it mentions the current month and posterior month but in the same invoice billed in the current month

What actually happened?
Invoice:
Current Month: 7 Aug - 7 Sept 2024
Remaining time on 2x Per-seat subscription after 7 Aug --- Quantity 2 --- Amount $400
Unused time on Per-seat suscription after 7 Sept 2024 --- Quantity 1 --- (-$200)

Sept 7 - Oct 7 2024
Per-seat subscription --- quantity 2 --- $400

subtotal : $600
Total: $600

Reproduction Steps
Having a product of recurring charges (subscription) per month, and when generating a subscription, then change the quantity from 1 to 2 (which means going from a single product of per-seat subscription to adding another one)

Question
I would have thought that the total charge would be $400 dollars but it is actually $600 in the immediate next invoice and after that one is $400 . So why is this value of $600 and what does it mean?

What are you working on?
Generating a subscription payment model based on seats

cursive heronBOT
cursive heronBOT
#

@long gyro pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am part of a development team working on a platform that uses Stripe Connect for processing payments. We have encountered some challenges related to handling 3D Secure (3DS) reauthentication for payments made beyond seven days and would appreciate your guidance on how best to manage this.

Related Request ID(s)
req_bV5MYC9EJd0qi5

What have you already attempted?
We have tried to setup a payment intent with the status of requires confirmation at the time of intial payment and save the card details with the setup_future_usage parameter to off_session . But after 10 days its asking again the authentication of payment . Now we didn't ask the customer to reauthenticate the card . How to handle this situation please let me know . And we have to transfer the funds to stripe connect user also .

What are you working on?
We are providing the customer to hire the accountants . bookkeeper and tax advisior to file the self assessment . We are giving them option to hire best experts and pay the amount on our portal .

cursive heronBOT
#

@jagged vine pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
No code yet, though I have a Stripe payment system for one of my sites already. Looking to reverse the order of the function. First payment, then add order to database. Right now I have it the other way around. I am working EXCLUSIVELY in PHP.

Question
It has been a while since I looked into it, but last I tried it seemed that the only way to process payment using custom code was to add a sale to the database, then add payment if payment was successful. Am I wrong? Is there a way (and example) of how to code payments to add order to a database after the payment is accepted?

What have you already attempted?
I have built a payment system that adds an order to the database when a user begins the checkout process. Then, if payment is completed successfully, the order is marked as paid. Am looking to create a more common sense data flow: if payment is accepted, then add order to the database. I cannot find an example of such code anywhere. This is for a custom build, and I want to use the SKD as little as possible.

What are you working on?
Building a multi e-commerce site management tool.

cursive heronBOT
#

@peak sluice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
There is no logs from Stripe Dashboard logs panel for GET request, does it possible to obtain logs that Stripe receives and response?

Related Request ID(s)
req_fAqj23pHuAmzq3

What have you already attempted?
Checking logs from Stripe dashboard

What are you working on?
Try to find the response from Stripe when re try to retrieve PaymentIntent for pi_3PkHmqKm50QBZFhQ0397uDKM in TestMode Stripe account acct_1O53WRKm50QBZFhQ

#

@sacred thunder pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If multiple webhooks with same endpoint and same events but different domain are configured , than will it send request on all endpoints on any activity on account

Related Event ID(s)
https://dashboard.stripe.com/test/logs/req_qMhi8veroUXed7

What have you already attempted?
It is triggering for all endpoints

What are you working on?
How to restrict the trigger , if payment is done in a domain than webhook should be triggered of same domain

#

@hazy holly pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to use subscription schedules to add a discount in the future without affecting other items? We'd like to apply a coupon to start when a subscription renews, without affecting any of the items in the subscription. That way if we need to change the quantity on the subscription, we can do that without having to update all phases in the subscription schedule.

Related Request ID(s)
req_AqXjd02LJanT3l

What have you already attempted?
Creating the subscription schedule via the API requires the "items" parameter, and creating via the Dashboard also supplies it.

#

@long gyro pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi , I am looking to help in the stripe connect apis . I want to know more about the stripe connect . And how we can manage the manual payout of our stripe connect account customer. Can you guide me?

Related Request ID(s)
req_bV5MYC9EJd0qi5

What have you already attempted?
I have tried the confirm the payment intent creation in this request and its failed due to 3ds card verification again asking for reauthentication. But we can't ask customer to do this . if we will charge the customer instantly and want to hold the transfer of connect account . can we do that . we want to transfer them manual or we can decide when it will transfer or any other event for transfer the payment in connect account

What are you working on?
We are providing the customer to hire the accountants . bookkeeper and tax advisior to file the self assessment . We are giving them option to hire best experts and pay the amount on our portal .

cursive heronBOT
#

@normal cedar pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
After enabling tax rates in stripe i was expecting to have them visible on the invoices.

What actually happened?
Module tax rates was configurate and invoices still have no tax rates applied.

Reproduction Steps

  1. Configure settings in https://dashboard.stripe.com/test/settings/tax to have setup complete checkmark (inclusive tax rate, with preset product code)
  2. In product catalog add tax rate
  3. In test mode after completing the payment on the new client with new subscription the tax rate is still not applied?

Question
How to correctly apply tax rate to the product catalog?

#

@teal mango pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
creating onboarding connect account link but its asking me for return url but the frontend is react native what can i do in that case i cant find any docs

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
creating connect custom account with stripe.accountLinks.create

cursive heronBOT
#

@mint dune pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how I can download cofirmation and pass to accountants of Transfer of money to express conteected account

        var options = new TransferCreateOptions
        {
            Amount = 250,
            Currency = "pln",
            Destination = user.stripeAccountId
        };

        var service = new TransferService\(\);
        var Transfer = service.Create\(options\);

Related Request ID(s)
nan

What have you already attempted?
I was trying to find it online but unable to find any info

What are you working on?
laywer online

#

@lucid bough pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When adding card (.confirmSetup()) with stripe JSelements for USD currency I'm getting
"No current account linked. Please link a current account to complete this transaction.". Adding US bank accounts works fine and adding card works for other currencies, so it's *only card for usd*.

I'm a developer and don't have full access to stripe dashboard, but I think there is something wrong in settings? What account is missing?

Related Request ID(s)
It does not produce any log

What have you already attempted?
I have no idea what to do, can't find anything about that error in documentation

cursive heronBOT
#

@onyx ocean pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
So we got a webhook with Stripe Checkout connected with our Shopify webhop and we just got blocked because of the reason : We have recently identified payments on your Stripe account for Stylura that do not appear to be authorized by the customer, meaning that the owner of the payment card or bank account did not authorize these payments.

What actually happened?
Got banned because of a webhook

Reproduction Steps
I want a dev looking into it if this is allowed

Question
How can we solve this issue? Everything is from Stripe but we still got banned for it

#

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

Code
stripe Ali payment, wechat payment integration doesn't work properly
when making authorization with ali payment, it makes redirection.
due to our app workflow, we can't make the redirecton.
And so I have made the popup window instead of redirection.
but it worked on desktop but it doesn
t work on mobile browser
https://github.com/stripe/react-stripe-js/issues/522

Question
https://github.com/stripe/react-stripe-js/issues/522

What have you already attempted?
I thought that is javascript issue but I have attempted many times but it didn't work

What are you working on?
I am working on paywall app

#

@jagged sluice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I there possible to not use google auth on stripe registration our customer or make it optional

Related Request ID(s)
no

What have you already attempted?
nothing found

What are you working on?
event planing app and using stripe connect

cursive heronBOT
#

@mossy vault pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method

Question
We want to set the default payment method of the customer for future subscription charges, invoices, etc. We create the subscription via API, and then when we confirm the Payment_Intent we retrieve the Payment_method ID, and then we have to create a new API call with to set that payment method per default with invoice_settings.default_payment_method.
Our question is, Would there be any problems with instead setting the default payment method triggered by the payment_method.attached event webhook? This would be fired when the payment has been successful. Then we wouldn't require other API call

What have you already attempted?
We are not sure if this approach is recommended. Thanks!

What are you working on?
Subscriptions created through API

#

@toxic ermine pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can we update the checkout session when a coupon code is applied?

I need to create a coupon that will give a 100% discount to some customers including shipping.

Related Request ID(s)
Couldn't find anything on this topic surpisingly

What have you already attempted?
I tried looking for event listeners without too much luck.
I found https://docs.stripe.com/js/custom_checkout/checkout_object which seems to let me update the checkout session
I know I can create my own coupon system before generating the checkout session but that feels un-necessary

What are you working on?
Building a B2B app that also allows employees to get items at a discount

cursive heronBOT
#

@sonic arch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
{
"type": "click",
"target": "main",
"selectors": [
["xpath///*[@data-testid="hosted-payment-submit-button"]"]
],
"offsetY": 19.953125,
"offsetX": 157,
"assertedEvents": [
{
"type": "navigation",
"title": "Google",
"url": "https://www.google.com"
}
],
"timeout": 20000
}

Question
I'm running integration tests with puppeteer that executes locally and pass.
Running the same test in the CI fails in the last step of clicking the "pay" button in a checkout session.
Do you have any idea what could be the reason or how can I debug it?

What have you already attempted?
Running the same setup locally (puppeteer + replay) works both with browser and headless.
I have printed in the CI server the passed steps, and it seems like only the last one (attached above) fails with timeout

#

@sharp siren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, Stripe support enabled the payment gateway AliPay with the condition, that we supply additional information in the API:

(3) We would ask PayNow, as a aggregate merchant, to transmit the following information in the 'goods_title' parameter in transactional information:

How do we actually set the goods_title parameter in payment intents?

Related Request ID(s)
N/A

What have you already attempted?
N/A, looked at metadata

cursive heronBOT
#

@lean fjord pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello and how to get address which customer write on popup for express checkout?

Related Request ID(s)
Express Checkout

What have you already attempted?
I can get address like that: expressCheckoutElement.on('shippingaddresschange', async function(event) {
try {
var resolve = event.resolve;
var address = event.address;
const response = await fetch(checkoutDataUrl, {
method: "POST",
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
address: address,
provider: providerName
})
});
const data = await response.json();
if (data.valid) {
resolve(data);
} else {
event.reject();
}
} catch (error) {
}
});

#

@hollow wharf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hello , my stripe account is enabled for "ach verification method skip" i can see now skip option on api docs , but the issue is when i use skip option on verification_method it showing error no skip option available on verification_method option

Related Request ID(s)
NA

What have you already attempted?
i tried to put skip on code but getting error , do i need to install latest version of stripe package ?

What are you working on?
searching on internet to use skip option

#

@torn rapids pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want help with best way to structure my subscriptions in stripes system.

Our saas offers 3 tiers of subscription, sole trader, teams and enterprise. The sole trader and teams subscriptions offer unlimited reports per month and capped surveyors and designers. The enterprise tier has customisable tiers with different number of designers and number of reports per month. Ideally I want the system to allow users to change their subscriptions to be able to downgrade and upgrade. Added complexity it that each tier also has a white label tier which results in double the cost for all but enterprise

Related Request ID(s)
_

What have you already attempted?
My current implementation was to create a product for each plan option and then create a price for unique type of plan. For sole trader this looks like plan Sole trader with 4 prices monthly, yearly and white label options. The issue I am having is updating users from a teams plan to an enterprise plan as this requires changing too enterprise base, entries reports, enterprise designers product not just simple sole trader to teams. Do you have any suggestions on how to better structure the plans to work better with stripes system?

What are you working on?
Saas subscription

#

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

Question
Customer cannot see their transactions in our application. The responses of the calls to /charges, /payouts and /refunds are empty, but client ensures that he has transactions in his account. His account ID is acct_1PkmO6GJisWe4cyI

Related Request ID(s)
none

What have you already attempted?
none

#

@half jackal pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
SetupIntent + stripe js + radar to pass billing address validation rules

What actually happened?
I'm using setup intent + radar to validate billing address details of the card.

In my form I've entered the address details, used 3DS and some of checks information was unavailable.

"checks": {
"address_line1_check": "unavailable",
"address_postal_code_check": "unavailable",
"cvc_check": "pass"
},

Reproduction Steps
EventID : evt_1PlTpZ069X7Ht4l1b2H873gA
Radar rules:

Block if :billing_address_line1: != 'pass'
Block if :billing_address_postal_code: != 'pass'
Block if :billing_address_city: != 'pass'
Block if :cvc_check: != 'pass'

Question
Maybe I'm using incorrect rules? My .js code:
.confirmCardSetup(editorValues.client_secret, {
payment_method: {
card: elements.cardNumber,
billing_details: {
address: {
"city": editorValues.city,
"line1": editorValues.address,
"postal_code": editorValues.postal_code
}

cursive heronBOT
#

@wooden axle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I am trying to manualy capture a payment intent taken for a terminal payment it is throwing error.How to capture the payment intent for connected account for terminal payments

Related Request ID(s)
req_YDlxHheyMbK2q5,req_kXhjD9DCAezquh

What have you already attempted?
Tried collecting payment without providing stripe account and with stripe account. Both were reject and tried that payment intent is successfuly created on connected for terminal payment and and stripe terminal is also processing the payment.

What are you working on?
I am creating a worklow to collect in person payment for our pos system on connected account.

cursive heronBOT
#

@neon stag pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In Stripe element form, the link wallet or Google pay is automatically loaded if they are enabled in the Stripe Dashboard, but through code we are only enabling the card. Can you please guide me how to show only the card even the other payment types are enabled in the Stripe Dashboard.

Related Request ID(s)
NA

What have you already attempted?
I have tried updating the payment method only to card in JS and PHP code

What are you working on?
I want to show only the CC in Stripe payment

cursive heronBOT
#

@leaden leaf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A customer accidentally attempted payment through a bank account twice. Is there a way to cancel one of them while it's pending, either through the UI or through the API?

Related Request ID(s)
N/A

What have you already attempted?
I've looked in the UI and don't see an obvious way of cancelling it

cursive heronBOT
#

@limber heart pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Use API to create products with images from Firebase Cloud Storage public urls but fail to display in dashboard or checkout page

Related Request ID(s)
req_V15RIuS1EgxFB8

What have you already attempted?
Successfully to use the same method/code with other static urls.
Had checked the Firebase Cloud Storage urls are public available access.

cursive heronBOT
#

@simple bronze pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const subscription = await stripe.subscriptions.create({
customer: customer.id,
items: [
{
price: priceId,
},
],
coupon: coupon ? coupon.id : null,
payment_behavior: "default_incomplete",
metadata: {
discount: amountOff / 100,
for: "new subscription",
},
});

Question
How to add the 3D secure card in the subscription as default payment method for recurring payment in future. Currently it's throwing error that no default payment method in customer

What have you already attempted?
I tried finding documentation but unable to find anything relevant

What are you working on?
I'm creating 3D secure flow for consumable and subscription payment

#

@bronze elk pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
"line_items" => array(),
'mode' => 'payment',
'invoice_creation' => ['enabled' => true],
'metadata' => [
'uId' => 'xxxxx',
'customer_name' => 'KKK KKK',
],

Question
Hi. I'm trying to use the createSession method and send some metadata to the Stripe in order to send it back on the webhook.
Is there a way to do this ? is even possbile ? I'm using the stripe-based option

What have you already attempted?
i tried to add the metadata like that example that i attached. I verified if the metadata is on the json on the stripe dashboard in the payment section and is not there.

#

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

Code
{
"error": {
"type": "invalid_request_error",
"message": "Invalid request (check your POST parameters): For assistance, contact support at https://support.stripe.com/contact/."
}
}

Question
Why are we seeing this error intermittently when sending L3 data during Payment Intent creation.

What have you already attempted?
Following L3 documentation. Sending requests that succeed 98% of the time.

What are you working on?
L3 integration for creating Payment Intents

#

@idle cradle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const expressCheckoutOptions = {
buttonType: {
paypal: 'pay',
},
buttonTheme: {
paypal: 'blue',
},
wallets: {
applePay: 'never',
googlePay: 'never',
},
}

<ExpressCheckoutElement
onConfirm={handlePaypalSubmit}
onClick={handlePressCheckoutElement}
options={expressCheckoutOptions}
onReady={() => setIsLoading(false)}
/>

Question
We are using the ExpressCheckout element to show the PayPal button and somehow now it is not appearing in the development environments. Is there any general issue on this?

What have you already attempted?
I tried our product app and it is showing the PayPal button. And I checked here https://4242.io/test/express-checkout-element/ as well and the PayPal button is not appearing there too.

What are you working on?
Web app and Mobile app

#

@sonic arch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is be the best practice to make calls on behalf of other Stripe accounts?
I'm building an app that manages payments for platforms.
One thing I could think of is asking for the API key of my customer and my app will manage its payments and make the API calls to Stripe.
Is there an OAuth way of achieving the same behavior (managing platforms, listening to webhooks, making payments and transfers to connected accounts)?

Related Request ID(s)
.

What have you already attempted?
.

cursive heronBOT
#

@twin badger pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
if i disconnect an connected account from my platform account, is it possible to find again the accountId or multiple accountIds based on example from his email? Or that is not possible?

I see that there is https://docs.stripe.com/api/accounts/list?lang=java

but i don't see the possibility to filter by something else?

Related Request ID(s)
None

What have you already attempted?
Tried https://docs.stripe.com/api/accounts/list?lang=java

#

@split hemlock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are still in test mode, Checkout session API, if someone uses autofill for their email with a phone number that contains "+1" - the international code for the US, the country drop down in the phone number changes to "Anguilla" and customer gets an "Invalid Phone Number" error. Retyping the phone number does not fix it. The only way to fix is to change the drop down back to the US but it is not an obvious fix.

Related Request ID(s)
req_03tfZKWutaKwoF, req_BZvSyPceZJuNfA, req_4s4XXfSBAF0Wrj

What have you already attempted?
Tried adding 'AI'(Anguilla's code) to the 'allowed_countries' in the shipping address init

What are you working on?
membership system

#

@fallow pebble pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I was building an app where I need to send money to my customers account. I tried Strip Connect but it is asking about the customer's business details like website, phone number etc, but my customer don't have any business. I just want to send money from Stripe to my customer's bank account whenever they ask.

Related Request ID(s)
no related request id

What have you already attempted?
the one way is that I enter some dummy details of customers while creating their connect account but I don't think it is the right way.

cursive heronBOT
#

@crimson panther pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I'm trying to implement the Stripe event listener for my Python Flask application. This is the endpoint structure :

@bp.route("/event/listener", methods=["POST"])
@bp.doc(
responses={
HTTPStatus.OK: "Successful Response",
HTTPStatus.INTERNAL_SERVER_ERROR: "Internal Server Error",
},
hide=True,
)
def stripe_event_handler():
# Event handling logic here

The endpoint works smoothly locally with the : stripe listen --forward-to localhost:4242/stripe_webhooks command.

but after I created the official endpoint to be triggered in the stripe dashboard it does

Related Event ID(s)
Every event

What have you already attempted?
Locally every event was triggered correctly and the application was working.

What are you working on?
Tokenization platform

#

@south trellis pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we have a custom integration with stripe are using ach for payments and I have it so that I disabled microdeposits from being used for confirmation but when people are checking out and adding a bank account I see that they sometimes switch to using a card and then a couple days later they confirm their bank account charging them again. how can I stop this behavior from happening

Related Request ID(s)
na

What have you already attempted?
disabling microdeposit verification

What are you working on?
na

cursive heronBOT
#

@static creek pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe Alipayment integration issue

I am integrating AliPayment on stripe side.
when making confirmAlipayment, it gives intent object. from there, I got next_action alipayment redirection url.
Due to our application workflow, we can't make the redirection.
And so, I have made popup window and from there, I have made the redirection.
but it worked on desktop but it doesn't work on mobile

Related Request ID(s)
Stripe +Alipayment integration issue

What have you already attempted?
I have copied the redirction url which goes to ali payment and paste it on mobile and desktop browser.
but it worked on desktop only
Alipayment got invalid address issue

What are you working on?
I am working on paywall app

#

@lean fjord pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How for expressCheckoutElement.on('confirm', async (event) => { do that if it is error it should close that dialog window cause i want to display error on my webpage, or how to set error message here on this window - one of the solutions

Related Request ID(s)
Express Checkout

What have you already attempted?
I dont know how to do that

#

@rancid nebula pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
BNPL will not work for us because we have usage-based prices. The scheduler is good but is it possible for us to create the subscription using one yearly per-seat price and one yearly usage-based price, do not charge the payment method (credit card), allow the subscription to go to 'Active' status without charging anything and then after that create the sub scheduler to charge the user based on the payment frequency (monthly, quarterly, half-yearly) they selected?

Related Request ID(s)
Yearly subscription with usage-based price and payment installment

What have you already attempted?
We tried to modify the create/update subscription to not charge the whole amount, unsuccessful attempt

What are you working on?
We are working on introducing yearly prices. so a subscription can include one per-seat price and one usage-based price. But the user should not be charged for the full amount at the beginning.

#

@brittle matrix pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! When I m trying to create a SetupIntent or a PaymentIntent for Bacs Direct Debit with passing mandate_data - I get the next error: "Your account isn't configured to allow passing `mandate_data` directly when confirming PaymentIntents for Bacs Direct Debits."

What should I configure in my account to have a successful response? Can it be related to still pending custom branding?

Thanks!

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

What have you already attempted?
Checked docs and API docs, checked Payment Method settings for Bacs, but didn't find anything except configs related to min/max amount and currency.

What are you working on?
a service to withdraw money from customer's bank's accounts via Bacs Direct Debit

#

@waxen hill pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to build a standalone React Native app for the S700 terminal device. I am using the Stripe Terminal React Native sdk to do so. I've encountered an issue where my Devkit device does not detect either locations or readers... The requests just error out. I've reproduced this issue using the official example app https://github.com/stripe/stripe-terminal-react-native/tree/main/example-app. I encounter either connection token timeout errors, an account id error, or the discoverReaders method times out. It like my connection token is not working.

Related Request ID(s)
req_bzeXdVdKSysi9L

What have you already attempted?
I have made sure to have the device registered to my account. I have confirmed that it is assigned to a location. I've confirmed that I can query locations from the api outside of the terminal sdk. I've tried different server backends to generate connection tokens.

What are you working on?
Stripe Terminal app for S700 device

#

@kindred palm pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://docs.stripe.com/checkout/embedded/quickstart

Question
Is there a guide for creating a stripe payment BUT I do not want to make a product on my stripe dashboard first. I have a total amount I want to charge that is different for each transaction. Is stripe checkout sessions appropriate for my use case or should i be using a different api

What have you already attempted?
I have tried reading the docs but it is not clear to me

What are you working on?
A payment gateway

cursive heronBOT
#

@manic gazelle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Stripe Team, I am working with Stripe Billing Portal to allow for upgrades and downgrades. Some of my customers have default payments as Alipay. Can you make a billing session with Alipay customer, I do get the session URL but when go to it says, something went wrong, so it only shows me their current plan and old invoices. But no button to change their plan, but for any other credit card user it all works fine.

Related Request ID(s)
"bps_1PlH4rKWfSycpO9EbqvDWfD3",

What have you already attempted?
I have been trying to get Alipay customer to get to billing portal for to change their subscription plan but no luck.

#

@stoic ledge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have a question regarding payouts.
If I create a payment intent from a setup intent that has a OBO thats set to a certain account, will the payout be done to that specific account?

Related Request ID(s)
none

What have you already attempted?
.

What are you working on?
.

cursive heronBOT
#

@tulip rivet pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
If I process a 1 cent transaction will I be charged? Stripe charges a minimum of 30 cents + 2.9%. if I make a 1 cent charge or basically any charge below 31 cents will I my account be charged for the remaining amount?

What have you already attempted?
I have not attempted this yet

#

@agile tendon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
There is currently no Stripe specific code. Just a desktop / phone client, and an API that handles registration, email confirmation, and now looking to add subscriptions via Stripe.

Question
I'm trying to understand what the workflow is for using Stripe.net -- with a new customer, and an existing customer. Do I need to create a new customer? What does the API return so I can link their payment / subscription back to their account? Etc. Basically, what's the workflow.

What have you already attempted?
In research stages.

What are you working on?
A language learning application that works on subscription.

#

@tough ingot pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, I have two Stripe accounts, one in USD and one in GBP. I am using them in e-commerce. My problem is that if someone saved a card in one channel (buing in UK), I can't use it in another (US). In addition, customers in the e-commerce system have only one account, so card management is also complicated. I need to show two lists of potential with coupled cards.

Is there a way to duplicate customers between accounts? Or another way? Stripe Organizations looks like solution for me but it is in closed beta: https://stripe.com/blog/stripe-organizations-powering-the-worlds-most-complex-businesses

Doc/Guide Links
I couldn't find API endpoint only this https://support.stripe.com/questions/copy-existing-account-data-to-a-new-stripe-account.

What are you working on?
Multi channel multi currency global ecommerce platform integrated with saleor.io.

#

@fallow bobcat pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I am implementing Stripe to my node.js application
When I add card for setupIntents
for some cards I get status "succeedded"
and for some cards I get status "required actions"

for succeded and required actions both I use 3DS on frontend

for action required it works but for succeeded it gives me this error
{
"error": {
"type": "invalid_request_error",
"code": "setup_intent_unexpected_state",
"doc_url": "https://stripe.com/docs/error-codes/setup-intent-unexpected-state",
"message": "A processing error occurred.",
"request_log_url": "https://dashb

Related Request ID(s)
1

What have you already attempted?
for succeeded setupIntent response
{
"id": "seti_1PlYfcFrwl37tCGi1XsHiIs8",
"object": "setup_intent",
"application": null,
"automatic_payment_methods": {
"allow_redirects": "never",
"enabled": true
},
"cancellation_reason": null,
"client_secret": "seti_1PlYfcFrwl37tCGi1XsHiIs8_secret_β€’β€’β€’vARf",
"created": 1723132472,
"customer": "cus_QcoIQQNwvqAhQc",
"description": null,
"flow_directions": null,
"last_setup_error": null,
"latest_attempt": "setatt_1PlYfcFrwl37tCGituw3P3RS",
"livemode": true,
"mand

What are you working on?
Trying to fix it

#

@primal quiver pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on an integration that supports any of stripe's currencies by converting our usd prices by adding a currencyoption to the price object. One of those is the lebanese pound. The amount I'm converting is 34.95 to lbp which results in a conversion of 3125669.42 and a unit amount to be 312566942 which causes the API to fail with this error: "This value must be less than or equal to 99999999 (it currently is '312566942')". What am I doing wrong? Should I not be supporting that currency?

Related Request ID(s)
req_ojHqBoVjj0N3Xm

What have you already attempted?
Reading the docs

What are you working on?
I'm working on an integration that supports any of stripe's currencies by converting our usd prices by adding a currencyoption to the price object.

#

@spring ermine pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm implementing a LinkAuthenticationElement, AddressElement and PaymentElement in a react client. Is possible to make phone number compulsory at AddressElement? Its appears like optional with this config const addressOptions: StripeAddressElementOptions = {
mode: "shipping",
fields: { phone: "always" },
}; thanks

Related Request ID(s)
1

What have you already attempted?
I try to manage the phone number for my own, but i prefer the react stripe ui

#

@broken plover pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$response = $stripe->refunds->create([
'payment_intent' => $payment_intent_id,
'reverse_transfer' => true, //take the fund from the connected account.
]);

Question
how do I know the total fee that stripe charge for the whole transaction and refund?

What have you already attempted?
try to retrieve charge
$charges_response = \Stripe\Charge::all(["payment_intent" => $payment_intent_id]);

What are you working on?
payment system

#

@simple relic pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I cancel a subscription from an account connected to the API

Related Request ID(s)
Account connect

What have you already attempted?
How can I cancel a subscription from an account connected to the API

What are you working on?
How can I cancel a subscription from an account connected to the API

#

@heavy jasper pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Want to confirm, card_id is supposed to be exposed on the frontend?

Related Request ID(s)
NA

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

In these docs, cardId is defined on the frontend and passed to the element as a parameter.

I know this card id is technically useless without your stripe secret key. But i want to make 100% sure, it's OK if i have an endpoint for a user to retrieve the cardId of a payment method they saved for later?

cursive heronBOT
#

@fallow bobcat pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Ok this is my last question 2nd part:

once I get my card validate I try to create subscription

and this is my code
const createSubscription: any = await this.stripe.subscriptions.create({
customer: paymentInfo.customerId,
items: [{ price: 'price_1JejcNFrwl37tCGijYmb0GU8' }], // Replace 'priceId' with your actual Stripe price ID
default_payment_method: paymentInfo.paymentMethodId,
expand: ['latest_invoice.payment_intent'],
});

I get status:"incomplete" why?

Related Request ID(s)
id = "sub_1PlaFEFrwl37tCGiJkLANUFt"

What have you already attempted?
Created paymentMethodId
Created SetupIntent
if SetupIntent.status = "succeeded" Then no 3DS
else 3DS on frontend

Try to create subscription which shows status "incomplete"

What are you working on?
Try to create subscription which shows status "incomplete"

#

@echo field pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripe->billing->meterEvents->create([
'event_name' => 'voice_usage',
'payload' => [
'value' => '2.5',
'stripe_customer_id' => '{{CUSTOMER_ID}}',
],
]);

Question
Can I put decimals in the value for payload?

What have you already attempted?
Rounded UP on my values

What are you working on?
So we bill by the minute but calls may only be 30 seconds. So that would be half a metered event

cursive heronBOT
#

@drifting ice pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello. I have integrated stripe into a frontend application and am happy with the results. However, my client believes that shipping calculations are essential to the flow of her e-commerce platform. I see that the documentation only outlines ways to generate flat fees. Is there an accepted or encouraged approach to creating your own calculations? I would love feedback from the Stripe team in the matter. Thanks in advance for your help.

Doc/Guide Links
https://docs.stripe.com/payments/during-payment/charge-shipping

What are you working on?
checkout on e-commerce site

#

@desert orbit pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can i retrieve all payments associated to a customer suing PHP SDK as i am not able to retrieve them all by PaymentIntent endpoint nor Subscriptions because i am handling both one time payments and subscriptions. I also need failed payments as listed on Stripe Dashboard, only by customer.

Related Request ID(s)
req_1BRswZA54lDBO7

What have you already attempted?
retrieve payment intents and invoices, but always the response is empty

What are you working on?
building a transactions historical by customer, displaying all subscriptions active, one time payments and failed payments

#

@thorn matrix pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are trying to remove the terms text from Stripe elements, "By providing your card information, you allow X to charge your card for future payments in accordance with their terms."

We have our own terms text

Question
We are trying to remove the terms text from Stripe elements, "By providing your card information, you allow X to charge your card for future payments in accordance with their terms."

We have our own terms text

What have you already attempted?
Tried to remove from Front End but no success

#

@terse scroll pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When to update the location needed for customers with subscription?

Doc/Guide Links
When a user signs up for my website, I create a Stripe Customer for them. For the purposes of my webapp, the location of the user is not necessary, but when I go to the Customer detail page in Stripe I see this message in red:

"Unknown location"

Now, I am offering a 30 days trial for my site, so initially this is not a problem but I keep wondering. When the trial period is over, will they be able to pay it? Am I the one that has to ask them for the address from my frontend, and update their customer data? Or is it something that they will have to fill in any case, when they add their payment details?

What are you working on?
A webapp for invoicing services

#

@harsh jungle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
payment_intent = Stripe::PaymentIntent.create({
amount: 5999,
payment_method_types: ['card', 'us_bank_account', 'link'],
currency: 'usd'
})

Question
I am using Link with the Payment Element as described in the Stripe documentation - https://docs.stripe.com/payments/link/payment-element-link. From this what I understand, the Payment Element integration already includes Link, so it shouldn’t be necessary to specify link in the payment_method_types when creating a payment intent, correct?

What have you already attempted?
When I use the company account's test credentials and don’t include `link` in payment_method_types, the Link option doesn't appear in the Payment Element. But with my personal account's test credentials, the Link option does appear even without specifying `link`. If I explicitly include link in payment_method_types, the Link option shows up in both cases. Why the Link option is missing with the company account’s creds when link isn’t included in the payment_method_types?

What are you working on?
I am trying to integrate link payment method to payment element.

#

@polar hedge pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/tap-to-pay-on-iphone-or-android-and-stripe-terminal

Question
Hello, My question is related to the point in the doc: "Users will be presented with Apple’s Tap to Pay on iPhone Terms and Conditions the first time they connect to the local reader. " and "The Terms of Service for Tap to Pay on iPhone is presented on the first connectLocalMobileReader for a given connect subaccount. Once the Terms of Service are accepted, it will no longer show up for the given account."

In a Connect Integration using Destination charges, will each connected account have to accept the TOS? Or will it only have to be accepted once by the platform?

What have you already attempted?
Sought clarity in the documentation. Need answers before beginning development

What are you working on?
POS application for Services Agents going to homes and collecting payments

cursive heronBOT
#

@obtuse rapids pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/collect-card-payment

Question
Is there a kind of screen provided by the Stripe SDK to collect tips using Tap to Pay for Android/ iOS as it exist to the hardware terminals?

What have you already attempted?
Investigated the docs and web about it

What are you working on?
I'm developing Tap to Pay on Android using the Stripe SDK

#

@agile oar pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working with some friends on a project where we'll provide paid plans as a subscription and we'll provide a free tier. We'd like to avoid abuse (and multiple accounts), and we'd like to request a valid card. Since we can't use the `fingerprint` property as it is tied to the `customer` registered on the Stripe side, how would we avoid card reusage? And at the same time, avoid prepaid cards?

Doc/Guide Links
https://docs.stripe.com/billing/quickstart?lang=node&client=react
https://docs.stripe.com/payments/checkout/free-trials?lang=node&ui=embedded-form

What are you working on?
We're working on a small SaaS project, written mainly in Typescript and React

#

@vocal wagon pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/integration/workflow-transitions#finalized

Question
the docs say "We wait an hour after receiving a successful response to the invoice.created event before attempting payment. If we don’t receive a successful response within 72 hours, we attempt to finalize and send the invoice. You can configure a longer grace period."

i don't listen to invoice.create so i don't respond to it. i don't need to edit a draft, i want it to finalize/charge the invoice (part of a subscription cycle).

if i change the default grace period to 1 second in my settings, will that immediately finalize the invoice? with no response to invoice.create webhook?

What have you already attempted?
i suspect simply changing the default 1hr draft grace period settings wont change the fact that my webhook didn't respond to the invoice.create event with a finalized call and it will enter the 3 day grace period

#

@fossil hull pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Not Applicable in this case

Question
I have a platform where I want to use the checkout and invoices. However the issue I am seeing is I can't create charges on the fly. For example my charges are going to vary every single time and its not based on a product. it is a fee cost to using the platform which is then sent to the owner(stripe connect). Its going to get very messy creating a product and price for every single invoice I am creating.

What have you already attempted?
No applicable

What are you working on?
a recruitment platform.

cursive heronBOT
#

@uneven grove pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
All resources served from the js v3 library to be returned with the CORP set to 'cross-origin'

I recently added COEP & COOP headers for the datastore layer in our application. Thus requiring the CORP header on all third party resources.

What actually happened?
Related to this github issue that shouldn't be closed

https://github.com/stripe/stripe-js/issues/417

Because I have COOP & COEP set on my site I can no longer use the card input elements for adding credit cards

Reproduction Steps
Set these headers on your site

     Cross\-Origin\-Embedder\-Policy "credentialless"
     Cross\-Origin\-Opener\-Policy "same\-origin"

Then try to use the CardNumberElement, CardExpiryElement, or CardCvcElement (not specific to react I tried using the v3 js library directly and received the same error)

Question
What is the best process for getting this github issue reopened? It is a problem many developers are having but the ticket remains closed.

It really isn't a developer issue as a dev ops issue, however, we cannot open tickets with the operations team in github.

What are you working on?
Building a desktop app from our mobile solution

#

@jolly scarab pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have transactions appearing in our connected accounts that are failing with `invalid_request_error - payment_method_types`.

However:
- there is a payment method attached to the Payment Intent and it is valid
- automatic_payment_methods is present and enabled.
- payment_method_configurations for the connected org shows the method (card) as active.

Can you help explain why this payment intent is failing even though all conditions are being met?

Related Request ID(s)
req_jDprzPPiPUOlOW

What have you already attempted?
Docs, checked state of account and payment method.

What are you working on?
Connected Platform

cursive heronBOT
#

@signal flower pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we are trying to implement a pre authorization paywall which users can add items to their carts and we want to put a hold on the amount and if the line items were accepted we want to capture the amount based on the accepted line items, i think using the payment intent manual mode is suitable for our situation but i have 2 questions.

  1. is there any other payment flows that is more suitable for our situation?
  2. how are the stripe fees are being calculated for a payment method with manual capture method?
    for example in this example request the fee is not 2.9% + 30 cents

Related Request ID(s)
req_KGbz44MyeX01je

What have you already attempted?
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

#

@clever lark pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Using Connect is there a way via the API to pre-fill the admin of a non_profit account before redirecting to the Stripe hosted onboarding screen?

Related Request ID(s)
None

What have you already attempted?
I've been trying to find a guide or info in the API docs unsuccessfully.

What are you working on?
Initial integration of Stripe Connect in a SaaS applicaiton.

#

@vocal wagon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
starting august 3rd, when using setup_future_usage with on_session parameter, my purchases are no longer going through. did something change with the api on august 3rd?

Related Request ID(s)
n/a

What have you already attempted?
looking at the docs, i dont see any changes: https://docs.stripe.com/api/payment_intents/update. on_session is still an option

What are you working on?
custom sales flow. first payment stores card on file, then user can buy upsells with one click after

#

@lunar zodiac pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to mount to the Express Checkout Element before the page has completed rendering? I'm hoping to hook onto the ready function so I can find out what payment methods are available to the customer before I show them the Checkout page.

Doc/Guide Links
Express Checkout Element Docs

What are you working on?
Integration with Express Checkout Element

cursive heronBOT
#

@sharp siren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, is there a way to manually set a currency in which a payment settles?

i.e. we have 3 settlement currencies enabled, USD/EUR/GBP, and I want to create a payment in EUR that settles in USD

Related Request ID(s)
N/A

What have you already attempted?
N/A

#

@foggy swallow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We want to start a subscription for a client. It has a trial period that means initial setup would be 0$ charge just to authorize the payment. And the first charge will happen when trial period is over. But when we pass mode=setup to Payment element in case of 0$ to collect authorization, it displays Ideal payment method. But when we pass mode as subscription for non trial subscriptions, some of those payment methods disappear. Also in live mode some of our customers are having issue with this setup right now, where their subscription fails if mode=setup is used and Ideal is used for subscripn

Related Request ID(s)
NA

What have you already attempted?
Already tried setting mode to subscription for 0$ transactions as well, but then it asks for payment intent. We don't have a paymentIntent for this since no payment is happening.

What are you working on?
Saas platform, We have a Platform stripe account as well.

#

@scenic yoke pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are able to create payment intents with connected accounts, but when we try to retrieve them with our secret key, we cannot. We are able to see the payment intents in the dashboard though

Related Request ID(s)
payment intent id = pi_3PlZb7IuQrv5BsKs1UiAsVu6

What have you already attempted?
Manually recreating the request and retrieving it.

#

@tranquil panther pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I request a subscription update invoice preview with appropriate period_start & period_end dates?

Related Request ID(s)
req_Gd8exxZq2U2M3d

What have you already attempted?
I have ensured the dates / information is accurate for the request

cursive heronBOT
#

@thick cave pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking to allow users to pay in installments (ex. a total of $3000 over 3 $1000 payments monthly). I'm having trouble trying to figure out the best way to do this.

Subscriptions seems to be the best way to do this (with an expiration 3 months from checkout), but it's not clear how to handle when an invoice fails. I think keeping the invoice in unpaid or past_due would work, but I don't want to accidentally end up charging the customer more than the total ($3000).

Can you help me figure out the best way to do this? Thank you!

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

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

https://docs.stripe.com/billing/subscriptions/overview#manual-payment

What are you working on?
Ecommerce site

cursive heronBOT
#

@faint plover pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way I could test a lock_timeoutIs there any way at all to use a card to test a lock_timeout?

Related Request ID(s)
Testing

What have you already attempted?
Reading all the documents

cursive heronBOT
#

@tawdry latch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when i click fail payment on afterpay flow the params it puts on the return url are the same. the fail params should have a failed flag but they don't

Related Request ID(s)
0

What have you already attempted?
tested multiple times

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

We are currently offline. We will be back at 10am CEST on Friday, August 9. In the meantime you can contact Stripe support for help.

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

#

@rotund cape pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hello there, im using jet form builder (Jet engine plugin ) in wordpress. And i want to pass meta fields from from (form name) just to see what article is payed. Also I want to set up Croatian tax. and i dont know is there way to pass amount without tax and stripe add tax on it or?
cheers

Related Request ID(s)
dunno

What have you already attempted?
i have already try to add hidden form field to pass name but i cant do it for all transactions.
also tax isnt working and i have setuped it (but i cant pass last step in stripe)

What are you working on?
platform that selling 2 types of tickets without woocommerce

#

@agile oar pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Followup to https://discord.com/channels/841573134531821608/1271185338957566015, I was wondering if for saving user cards, it wouldn't be a good idea to use a setupintent instead

Doc/Guide Links
https://docs.stripe.com/payments/setup-intents
https://docs.stripe.com/payments/build-a-two-step-confirmation

What are you working on?
We're working on a small SaaS project, written mainly in Typescript and React

#

@fiery stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why is a mandate required to capture a payment intent using a payment method for which a mandate was already provided?

Related Request ID(s)
req_BokISqjTD48vDi, req_Ni25hkw50olGYw

What have you already attempted?
Reviewed documentation.

What are you working on?
API Integration

#

@mild granite pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
def pre_early_renew_checks
pre_early_renew_checks()

invoice = charge_customer_for_early_renewal(plan, coupon)

    \# Update subscription metadata to indicate that it was early renewed
    update\_subscription\_metadata\(@subscription.id\)
    
    apply\_100\_percent\_discount\_for\_next\_cycle\(\)
    
    \# Return success message
    { status\: 200, message\: 'Early renew Success', invoice\_id\: invoice.id }

end

Question
Hi there, I'm working on an 'Early Renewal' feature (already pushed to production) that allows customers to pre-buy an already subscribed subscription. However, I'm seeing cases where customers are being charged twice. When I checked the Stripe dashboard, I noticed duplicate invoices and invoice items being created. Could I kindly ask for your help in reviewing my code flow to ensure it's handling this correctly?

What have you already attempted?
So my flow is:
- check if customer already has a subscription
- Create an InvoiceItem
- Create an Invoice for that subscription
- run a invoice.pay method
- Create a 100% discount and apply it to the subscription

What are you working on?
Right now I'm not sure which cause the issue, I Switch the stripe API version to 2024 and continue to monitor for now. The old one with issue is 018-02-28

#

@amber flume pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a refund order from the user but the refund order is failed when we requested the refund API.

Related Request ID(s)
req_ELjV92LQzDmvtf

What have you already attempted?
Here is the api response: Charge ch_3PCbLsL0nslfKAh00IQsZyis has been charged back; cannot issue a refund.; code: charge_disputed; request-id: req_ELjV92LQzDmvtf

#

@harsh jungle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
payment_intent = Stripe::PaymentIntent.create({
amount: 5999,
payment_method_types: ['card', 'us_bank_account'],
currency: 'usd'
})

Question
I am using Link with the Payment Element as described in the Stripe documentation - https://docs.stripe.com/payments/link/payment-element-link. From this what I understand, the Payment Element integration already includes Link, so it shouldn’t be necessary to specify link in the payment_method_types when creating a payment intent, correct?

What have you already attempted?
When I use the company account's test credentials and don’t include `link` in payment_method_types, the Link option doesn't appear in the Payment Element. But with my personal account's test credentials, the Link option does appear even without specifying `link`. If I explicitly include link in payment_method_types, the Link option shows up in both cases. Why the Link option is missing with the company account’s creds when link isn’t included in the payment_method_types?

What are you working on?
I am trying to integrate link payment method to payment element.

cursive heronBOT
#

@hidden lava pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i have a daily subscription in test mode that i want to see if it's will renew, but it's not, i didn't receive any event and there is noting in the dashboard

Related Event ID(s)
evt_1PkksiKjuTfFeHcvbNKkcHcw

What have you already attempted?
there is nothing i can do

What are you working on?
a saas

#

@south thistle pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi There, I have a private label drop shipping businses. I wish to use Stripe as the merchant. I am currently located in Australia and have an American Single Member LLC as a company that is registered in WY. As part of Stripes services - does your business need to have 'physical operations in America - apart from the company being registered in America is there any further proof that they require apart from a virtual address? Do you need a physical address or utility bill to prove you are located there?

Doc/Guide Links
https://stripe.com/au/use-cases/global-businesses

What are you working on?
Building a new website with stripe as merchant

cursive heronBOT
#

@teal mango pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
im creating stripe connect account with stripe.accountSession.create and putting every infomation but the status i got is enabled and not complete when i saw the infomation it ask for ssn but i already provide ssn_last_4

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Creating Stripe Connect account through accountSesssion

#

@lethal merlin pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our company creates product subscriptions and uses stripe as our payment and billing processor behind. The business logic is as follows:

  1. We create a setup intent with 'off_session'.
  2. Once that is successful and the merchant accepts the subscription, we charge for the first month with a payment_intent against the card that we captures in the setup intent.
  3. When the product arrives we create the subscription we also do it against the same card.

The problem is that with 3DS we cannot do this process as the customer has to recheck the card, but the payment isn't accepted until our merchant checks the risk of the operation. How can we do this?

Doc/Guide Links
I've checked everything :(

What are you working on?
Sharpei is a recommerce platform that allows merchants to offer subscriptions and rentals of products.

#

@rapid leaf pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-methods/pmd-registration?dashboard-or-api=api#verify-ownership-of-your-domain-with-apple-pay

Question
We have multiple stripe accounts in different areas. If we approve a domain for apple pay via https://api.stripe.com/v1/payment_method_domains/{{PAYMENT_METHOD_DOMAIN_ID}}/validate let's say from our US Stripe account, would the domain be approved if we process a payment via the Stripe UK account? Or we need to run the validation across all our Stripe accounts?

What have you already attempted?
We tested the domain approval on one account

cursive heronBOT
#

@modest citrus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can we set an earlier billing cycle anchor time relative to the subscription start time on the same date?

Related Request ID(s)
111111111

What have you already attempted?
tried setting the BackdateStartDate to earlier date and then setting the BillingCycleAnchor to an earlier date also and it's throwing the same error that BillingCycleAnchor should be in the future

cursive heronBOT
#

@desert solstice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I am integrating pricing table on our app, Id like to update style like font size.

Related Request ID(s)
prctbl_1PlCo7DMDTbmKOBNyOCmVB1V

What have you already attempted?
I have attempted to customize on dashboard, however there is nothing

#

@forest hazel pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
val params = SubscriptionUpdateParams.builder()

Question
Using pending updates I am swapping the price of a subscription item with another. However, I need some timestamp or other data to know that the subscription was changed at that time, if the pending update goes through.

Do you know of a way?

What have you already attempted?
The limitations of pending updates are really causing trouble for this. There are no timestamps that I can see in the subscription object (expanded or not) that is suitable. Also setting metadata is not possible. Deleting and creating a new subscription item is not possible either, as pending update does not support deletion

#

@unique cedar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey! How can I test "card is about to expire" e-mail reminders?

Related Request ID(s)
cus_Qd63525bEA5GiD, pm_1PlptMGdanZNGPvtc30aQyiK, sub_1PlpsfGdanZNGPvtHRho3OJx

What have you already attempted?
- Using a card with expiration date set to 10/2024
- Moving time to end of october 2024
- Moving time to november 2024

E-mail reminder has not yet been received.

What are you working on?
Churn prevention

#

@neat dawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have an issue while creating the subscription.
I want to create a subscription with trial_end ='1724763600' but the subscription status is active

Related Request ID(s)
sub_1PlpefB2BzF6ryroKYGefanZ

What have you already attempted?
Hello, I have an issue while creating the subscription.
I want to create a subscription with trial_end ='1724763600' but the subscription status is active

#

@late nova pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I don't want Stripe to handle all the recurring payments for a subscription as I am managing all these in my own system. How do I charge the customer for the subsequent payments initiated from my own system for the subscriptions? I am using the Stripe's java client library to forward my customers to it's hosted checkout page for payments.

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
I am trying to integrate my own subscription system (part of my own ecommerce system) with Stripe to handle the payments for me

cursive heronBOT
#

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

What did you expect to happen?
sub_1PlqUtGpJlO3RAQZTy5zoKW9

Subscription should transition into paid after trial expiration.

What actually happened?
Subscription was paused after trial even though it had payment method (credit card). Customer was charged credit card but subscription went into paused status.

Reproduction Steps

  1. Create trial subscription with option to pause if no payment method is assigned
  2. Go to customer, assign payment method
  3. Advance subscription after trial expiration
  4. Credit card is charged but subscription is in paused mode instead of active.

Question
Why did this happen? Why subscription didn't go into paid status?

cursive heronBOT
#

@desert coral pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a membership website using Restrict Content Pro: our all memberships are showing blank Gateway Customer ID and Gateway Subscription ID. I have copied these details from Stripe and pasted in RCP memberships but I have 2 issues: 1. some memberships auto renewed and some marked expired again. 2. For Expired Users: when I manually assigned a membership and attached customer ID and old subscription id, it created another subscription in Stripe and older subscription is also actve in Stripe. So how can I connect only old subscriptions with users in RCP?

Related Event ID(s)
none

What have you already attempted?
I have tried copying customer id and subscriptions id from Stripe and pasted in RCP users.

What are you working on?
connect all stripe active subscriptions with website.

#

@cyan wedge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the 'Connect' service and noticing that my platform seems to be paying the Stripe transaction fee instead of the connected account.

Can you please help me understand what I can do to ensure the NET amount (total - Stripe fees) is transferred to the connected account?

Subscription ID: sub_1Plqm9L9hM4stiLFEsJEx7nY

Related Request ID(s)
-

What have you already attempted?
-

#

@fiery stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to retrieve the mandate id that is generated by a payment intent?

Related Request ID(s)
None

What have you already attempted?
Reviewed API documentation

What are you working on?
API integration

cursive heronBOT
#

@unique cedar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
(follow-up) Hey! How can I test "card is about to expire" e-mail reminders?

Related Request ID(s)
cus_Qd7bllxaj4QsEv, pm_1PlrNBGdanZNGPvt1KBbiUSv, sub_1PlrNDGdanZNGPvto40y0tID

What have you already attempted?
- Use a card with expiration date set to 10/2024
- Move time to end of october 2024
- Move time to november 2024
- Create a new customer using an approved domain
- Use a pm_card_chargeCustomerFail card to see if a "payment failed" e-mail would arrive, which did not happen

What are you working on?
Churn prevention

cursive heronBOT
#

@junior oracle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I add a tipping option with Connect for online payments during checkout and what are the requirements?

Related Request ID(s)
none

What have you already attempted?
I've only seen documentation for on-reader or on-receipt tipping, but I want the tip implemented on an online checkout page and have the tip increase the overall total prior to checkout.

What are you working on?
Payment flow for a web app

#

@little fable pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
The code is the creation of a subscription with Stripe with a trial period of 7 days. Specifically, how to ensure this is set up such that the Apple Pay "modal" (grey box with details that appears when AP selected in checkout) shows: trial length, payment after trial value, zero payment now etc.

Question
How can the Apple Pay grey box that appears after AP selected show trial length, payment after trial value, zero payment now - on web using the embedded Stripe option (not redirecting to checkout.stripe.com)

What have you already attempted?
- adding trial_end or trial_period_days to the subscription data
- with setupIntent or paymentIntent

What are you working on?
Website payments, better user experience for Apple Pay users

#

@pearl breach pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I do to void an event in stripe webhooks to run again? it says it's going to run in 4 hours but I don't want to run it agian

Related Event ID(s)
evt_1PlHyyCtzE1vIkRHPcmbGGpt

What have you already attempted?
I already made it work on my side, so better don't run again

What are you working on?
Just webhook for invoice paid and taking action in our db after that

cursive heronBOT
#

@terse scroll pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected my domains to be connected to Stripe

What actually happened?
A DNS lookup actually shows that there are no CNAME records, even though some have been working for weeks

Reproduction Steps
I copy and pasted the record data in CloudFlare. Then I check several CDN lookup tools, and no CNAME records were found at all. Not only Stripe's were missing

Question
What am I missing in my DNS configuration?

#

@floral mist pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I think revolut payments sometimes clear the charge metadata when updated. I don't expect that to happen and it doesn't happen all the time.

What actually happened?
5 of my payments in the last payout had their metadata cleared right after being confirmed in a charge.updated block and I don't understand why.

Reproduction Steps
Can't repro it but I can provide ids for some intents where this happened.

Question
Am I doing something wrong or is there a bug in Stripe to do with Revolut payments?

#

@cyan stream pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We've been automigrated from ACH Credit Transfers to Bank Transfers and we were not anticipating a breaking change. However, we are experiencing many errors and our Stripe purchasing flows are currently broken.

https://docs.stripe.com/payments/customer-balance/ach-ct-automigration

Can our account's migration be rolled back?

Related Request ID(s)
req_IwzxSNNSOz343z

What have you already attempted?
We are attempting to work around the errors by updating our code to use Bank Transfers, but we were surprised by the breakage and need time to update.

What are you working on?
Wistia, a video marketing SaaS platform (wistia.com)

cursive heronBOT
#

@narrow pecan pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When initiating a payout to a Connect account, is it possible to know which payments are being bundled in that payout? As an example, a Connect account receives payments in July, and on the 1st of August we initiate a payout of the entire balance, but this won't include all payments since some of them are not "available to pay out" yet. A business needs to to get a receipt with the full amount and VAT collected with every payout.

Related Request ID(s)
po_1PiqBPPtt2EvMWmBRivQ5yCR

What have you already attempted?
The only possible solution right now is defining a delayed cut-off date for the payout, so that all the payments for a specific month are settled and available to pay out before initiating the monthly payout.

#

@mighty gull pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
A complete reject reason for Affirm Payments

What actually happened?
The API returns very little:
```
❯ stripe capabilities retrieve acct_1PN48232iohC9bdZ affirm_payments
{
"id": "affirm_payments",
"object": "capability",
"account": "acct_1PN48232iohC9bdZ",
"future_requirements": {
// empty
},
"requested": true,
"requested_at": 1717435257,
"requirements": {
"disabled_reason": "rejected.other",
// empty

Reproduction Steps
Have an account that had affirm enabled in the past, and see them disabled after some time, try to understand the reason

Question
When Affirm gets disabled no other information is provided for the rejection.

What are you working on?
A platform for Tattoo Artists using Stripe Connect

cursive heronBOT
#

@white horizon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe
.createConfirmationToken({
elements,
params: {
payment_method_data: {
billing_details: {
name: 'Jenny Rosen',
},
},
},
})
.then(function(result) {
// Handle result.error or result.confirmationToken
});

Question
how can I submit this for a platform account

What have you already attempted?
I already set the account in the request when I initialize stripe in the JS

#

@upbeat grove pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
What type of stripe connect account we need? our users should also have ability to refund

Question
What type of stripe connect account we need? our users should also have ability to refund

What have you already attempted?
What type of stripe connect account we need? our users should also have ability to refund

What are you working on?
app is similar to amazon marketpalce

#

@cyan stream pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do we get a subscription to create invoices with a US bank transfer payment method? We would like to avoid needing to update payment intents every time a subscription invoice is finalized.

Related Request ID(s)
req_B5QLTEm39jUfBg

What have you already attempted?
We've tried creating a subscription with: "payment_settings": {
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "us_bank_transfer",
},
"funding_type": "bank_transfer",
},
"payment_method_types": ["customer_balance"]
}

#

@median dome pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/api/tax/calculations/object?lang=ruby#tax_calculation_object-expires_at

Question
What determines when a tax calculation expires? Is it any kind of guarantee that the calculation is accurate until that time? Or is it just 90 days in the future?

What have you already attempted?
I attempted setting the `expires_at` myself when creating a new Tax Calculation using the Ruby library, and it said it was an 'unknown parameter' so it's not something I can directly control (not that I want to).

Testing it in our test environment, it looks like it always expires in 90 days. Is this true for the live environment as well?

What are you working on?
Using tax calculations to display prices to customers using our custom PaymentIntent-based integration.

cursive heronBOT
#

@teal crane pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I filter for payouts with status='scheduled'?

Related Request ID(s)
None

What have you already attempted?
I have tried Payout.list however there I can not put status and Payout.search does not work.

What are you working on?
In person payments platform

#

@azure oyster pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How come transfer_reversal is null on my connected refund despite the transfer being reversed? I had a refund processed by a user a few days ago which succeeded in Stripe, however my code relies on the transfer_reversal being set in order to fetch additional data we need. Why would it be set to null? Is this a bug?

Related Request ID(s)
re_3PfUtlICzzXtwGHE0l6E4usw, tr_3PfUtlICzzXtwGHE018eZwaK, acct_1Nt0KrIpqXjp3HNN

What have you already attempted?
When creating the refund, I set reverse_transfer to true as the docs instruct me to do. This has always worked in the past for hundreds of refunds, but for some reason not this one. The charges are created using the destination parameter, as is required according to the docs.

What are you working on?
Marketplace website

#

@stone dirge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
{
"error": {
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
"param": "",
"request_log_url": "https://dashboard.stripe.com/logs/req_XXXXXX?t=XXXXXXXX",
"type": "card_error"
}
}

Question
- use outdated/wrong CVV
- in Stripe dashboard this payment is successfull
- banking app shows first payment attempt is failed (invalid CVV) and second right after it is successfull;
- Stripe SDK throws "Your card declined" exception
- user stays with unpaid order in my system and paid in stripe system

What have you already attempted?
Checked docs, for now the best option I see is to disable accepting wrong CVV payments, but I am not sure this is the best option.

What are you working on?
e-commerce website with Stripe payments

#

@oblique dust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I accurately determine the customer's zip/postal code from the invoice for tax purposes

For example, the customer purchased in Canada (charged Canada tax), then moved to USA. On Stripe dashboard for that invoice, "Automatic Tax" shows Canada. But through the API, expanding "customer.tax", it shows USA country and state (the customer's current address, not the address used during purchase)

Related Request ID(s)
in_0PbXL4uagHrUveG4udZVY7N0

What have you already attempted?
Also used invoice's "customer_address" field. But API docs say this is nullable. I looked for old invoices where "customer_address" is null, but Stripe still is able to determine Automatic Tax location shown in the dashboard.

But it seems the API does not show Automatic Tax location at time of purchase? But Stripe dashboard does

What are you working on?
Tax calculation by retrieving Stripe invoices

cursive heronBOT
#

@rotund kernel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Looking up payment details. and getting "No such payment_intent: '' a similar object exists in live mode, but a test mode key was used to make this request". I verified that the payment intent was live mode, the customer is live mode, and the API key i'm using is live mode. I feel fairly certain I'm making this call using my live mode key. Other live mode calls work, but this particular one is failing. Please PLEASE don't tell me to check my API key, I already did, it appears to be using the live mode API key.

Related Request ID(s)
req_Z2DjcHuRn7ir06

What have you already attempted?
I verified that the customer is in live mode, and used my logs to verify that the payment intent key i'm searching is live mode, and verified using logs that i'm making the request using a live key

What are you working on?
Using stored payment intent to show the customer which card they used to complete a transaction in their order history

cursive heronBOT
#

@thorn bone pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I want to know how are custom monthly subscriptions created for enterprises business plans.

My application has ability to extract data from different documents (invoices, bank statements)

The pricing I want to charge to each document types differ from customer to customer.

A customer might want to pay 0.10$ per invoice document and 0.50$ per bank statement document. But this may vary from customer to customer, and the quantity also varies.

Whats the standard way of creating these kinds of product pricing for subscriptions?
I don't want to be creating unique product pricing for each customer needs.

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

What are you working on?
I am a backend developer and I want to integrate payment gateways for business enterprise plan users of my application. All of them are pre-paid monthly plans.

#

@hallow blade pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
app.post('/api/webhooks/stripe', bodyParser.raw({ type: 'application/json' }), async (req, res) => {
const sig = req.headers['stripe-signature'];
const endpointSecret = process.env.STRIPE_ENDPOINT_SECRET;
let event;

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

Question
Im working on making a product delivery system. for my express.js website, Delivering digital keys. Now im using the stripe NPM package and I get errors about request body

What have you already attempted?
Ive tried setting the raw body with bodyParser for my express app

What are you working on?
Im working on making a product delivery system.

cursive heronBOT
#

@wary sparrow pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<StripeComponentWrapper>
<ConnectNotificationBanner />
</StripeComponentWrapper>

Question
My Question is why the embedded Notification Banner is not showing up for requirements that are not yet due. If the account is blocked for some reason the component will show, but not for when it is not required at the moment. We really want the user to be able to take action before the requirement is really needed and his account is blocked because of this.

What have you already attempted?
Tried different account creation and with the following parameters:
<ConnectNotificationBanner
collectionOptions={{
fields: 'eventually_due',
futureRequirements: 'include',
}}
/>

What are you working on?
Bike Sharing platform.

#

@ancient elm pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
checkout_session = stripe.checkout.Session.create(
line_items=[{
'price': price_id,
'quantity': 1,
}],
mode='subscription',
success_url='xxxxxx',
cancel_url='xxxxxxxx',
subscription_data={
'metadata': {
'user_id': user_id,
'transaction_type': "plan-sub"
}
},
metadata={'user_id': user_id,
'transaction_type': "plan-sub"}
)

Question
Hi, I use the stripe hosted checkout session and set it to subscription mode to let our user to buy the monthly subscription. However, I have the issue that the transaction will fail if the user's card require the authentication. Based on the log, it will raise the event: payment_intent.requires_action, and then it will invoice.payment_failed almost immediately (on the same second). I feel like the striep checkout didn't do the paymentintent confirmation, and directly fail.

What have you already attempted?
I tried to reach out to the customer service, and they say that I need to confirm the paymentIntent manually. However, since I am using stripe check out session which is all handled by stripe (stripe hosted page), how I can handle and confirm the paymentIntent?

#

@slate sedge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const accountLink = await stripe.accountLinks.create({
account: account.id,
refresh_url: `${process.env.NEXT_PUBLIC_SERVER_URL}/Onboarding/returning`,
return_url: `${process.env.NEXT_PUBLIC_SERVER_URL}/Onboarding`,
type: 'account_onboarding',
});

Question
Is there anyway i can make a finished_url for when my users complete the process I just realized that when My users start the onboarding and deside to go back they get sent to a page that congrats them for finishing onboarding πŸ˜…

What have you already attempted?
Nothing so far just wanted to ask!

What are you working on?
Marketplace

cursive heronBOT
#

@neat cobalt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I credit a customer's credit card for an order that was not originally placed through Stripe? The order was placed through the old gateway we used to use.

Related Request ID(s)
?

What have you already attempted?
Searched through docs.stripe.com

What are you working on?
Call center order processing application

#

@dull jungle pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I'm not able to make a coupon that is only redeemable once per email

What actually happened?
Customers can use a free trial with email X, use the product for 1 month, then cancel and sign up again with the same free trial discount and same email. How do I prevent this?

Reproduction Steps
Create a coupon for a recurring subscription that is 100% off once. This is essentially a free trial. Then try to limit that to once per customer, it's not possible in coupons interface on stripe.

Question
How do I make a free trial coupon that is redeemable only once per email?

#

@junior oracle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I add a tipping option with Connect for online payments during checkout and what are the requirements? I am unsure what the best method for this is, but I’m leaning to Elements for custom styling. I want users to pay X, and have the option to add a tip on top of X.

Related Request ID(s)
none

What have you already attempted?
I've read all Stripe docs on collecting tips. & Stripe Elements.

What are you working on?
payment flow and UI for a web app

cursive heronBOT
#

@fervent garnet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
there is a bug with the Woocommerce Stripe integration by Woocommerce. it is deleting payment method tokens starting with the prefix of src from our sites database.

It is not deleting the record from stripe.

I was thinking of writing a class to recover these credit cards that would take the cus_xxx and recover the credit cards through the API.

Would this cause any issues with our stripe account or block our access?

Related Request ID(s)
N/A

What have you already attempted?
Nothing as this is just a question about security measures for the connection and retrieval of CC details @ stripe

What are you working on?
recovering credit card details from stripe for our website.

#

@sharp siren pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<div className={'h-[36px] rounded-[4px] border dark:border-dark-600'}>
<CardNumberElement
className={'h-full px-2'}
options={cardNumberOptions}
/>
</div>

Question
Hey, is there a way how to apply padding to a Card Element Input without actually changing the clickable area?

What have you already attempted?
Tried setting padding in the CardNumberElement, but that changes the clickable area

#

@keen talon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi Guys, I am trying to create a stripe connected account using api. I am creating a type=custom and business_type=individual account.
The created account is showing restricted status asit's still asking for 2 informations.
It's asking for Social Security Number and Company Industry.
I have tried sending this details different ways but didn't found any suitable field to fill this.

Related Request ID(s)
Used Stripe account create api

What have you already attempted?
I have tried individual.id_number but it also not worked.

What are you working on?
Stripe Connected Account

#

@rapid ice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If a transaction has been reversed, how do you find the ID of the reversal?

Related Request ID(s)
req_yWunUTeHP2w0VH

What have you already attempted?
Not present on the charge or payment intent. Can't be expanded in any detail views

cursive heronBOT
#

@patent garden pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When you do a transfer to an account it creates a destination_payment, something labeled with py_..., can I through the API update that object

Related Request ID(s)
None

What have you already attempted?
I've looked at the stripe API docs but couldn't find any way to modify a payment.

What are you working on?
I'm building a bespoke floral e-commerce platform

cursive heronBOT
#

@fallow bobcat pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating subscription with node.js and stripe.js at backend.

this is my code

const createSubscription: any = await this.stripe.subscriptions.create({
customer: paymentInfo.customerId,
items: [{ price: 'price_1JejcNFrwl37tCGijYmb0GU8' }], // Replace 'priceId' with your actual Stripe price ID
default_payment_method: paymentInfo.paymentMethodId,
collection_method: 'charge_automatically',
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' }
});

I am getting my subscription "Incomplete"

Related Request ID(s)
1

What have you already attempted?
const createSubscription: any = await this.stripe.subscriptions.create({
customer: paymentInfo.customerId,
items: [{ price: 'price_1JejcNFrwl37tCGijYmb0GU8' }], // Replace 'priceId' with your actual Stripe price ID
default_payment_method: paymentInfo.paymentMethodId,
collection_method: 'charge_automatically',
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription' },
expand: ['latest_invoice.payment_intent'],
});

  // Confirm the payment intent manually
  this.stripe.paymen

What are you working on?
subscription.latest_invoice.payment_intent; if (paymentIntent.status === 'requires_confirmation'

#

@nova vale pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to implement idempotency in Stripe Checkout?
I'm using Stripe Checkout Sessions. My webhook receives the 'checkout.session.completed' event. In the request to the webhook, the idempotency key is set to null. I did not expect that.

Related Event ID(s)
evt_1Ply8pRLntYw8p5fVhe2HymV

What have you already attempted?
I previously used Payment Intents, and idempotency keys were sent to the webhook along with the payment intent completed event.

What are you working on?
Stripe Checkout integration

cursive heronBOT
#

@simple ingot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello. I am wondering if it is possible to increase the price of one of my products whilst people are currently subscribed.

Because of rising costs I am needing to increase the price for my current subscribers, and new subscribers.

Related Request ID(s)
n/a

What have you already attempted?
I tried to change the pricing of my product on the stripe dashboard but it said I was unable to because people are currently subscribed to it.

What are you working on?
SAAS

#

@drowsy cloak pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
return wixPayBackend.createPayment({
items: paiementArticles,
amount: total,
userInfo: userPayment
})

Question
I created a platform for my client that let's their users pay for their place In events and it worked fine until the 150000$ paid and then stipe thought the company was doing something illegal or a fraud I don't know and the only info I get is that the company represent a too high risk so they stop the payments but is it from my code ? I can't get a clear answer so maybe someone here knows why ?

What have you already attempted?
Send files to prove the company sells event places

What are you working on?
this is an intranet for a company with users that want to pay their places at event that the company organize

#

@dim rampart pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Looking to see if it's at all possible to make use of the Customer Portal within the context of an iFrame embed.

For example, trying now gives Firefox this error: "To protect your security, billing.stripe.com will not allow Firefox Developer Edition to display the page if another site has embedded it. To see this page, you need to open it in a new window."

Chrome gives an error like "billing.stripe.com refused to connect."

Doc/Guide Links
https://docs.stripe.com/customer-management/integrate-customer-portal

What are you working on?
Customer Portal sessions and iframes vs new windows.

cursive heronBOT
#

@true stag pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm importing customers and subscriptions but they don't have a payment method yet, I'll be sending them a link to Stripe Billing Portal where they can add a payment method. When setting up the subscription it looks the sub will get status of incomplete_expired if payment intent is not confirmed within 23hrs , I'm wondering if there's a better way to do this so customers have more than 23 hours to add payment method?

Related Request ID(s)
none

What have you already attempted?
importing customers

What are you working on?
a client purchased another company and we're importing those customers and subscriptions

cursive heronBOT
#

@torn rapids pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Will send full logic when this is submeted

Question
I am trying to write logic to update a subscription. I break down the subscriptions items into ones that will be deleted, added and remain the same. However, I am finding that the function is still resulting in the unchanged items being charged. Is there a way of only charging for the added subscriptions?.

What have you already attempted?
Read documentation and tested logic

What are you working on?
Updating subscriptions logic

#

@vast orchid pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When a customer pays an invoice that was created in the past, we update the subscription cycle to match the payment_date by setting billing_cycle_anchor to now. Stripe generates a new invoice to match the updated subscription cycle. We would like to update the period_start and period_end dates on the original invoice to match the payment_date - Is there a way this can be done ?

Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1L08VKD0bv9uRYHw/subscriptions/sub_1PleHAD0bv9uRYHwPd5QY9VT

What have you already attempted?
We are not able to update the period start and end dates on the original invoice. We are able to void the newly generated invoice .
If we want to keep the new invoice as the record of payment , we would need to void the original invoice which we are not able to because it is already in paid state.

What are you working on?
Offering a checkout-now-pay-later feature. Customer checks out a subscription, invoice is created - due in 45 days- provisioning happens on payment

#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

cursive heronBOT
cursive heronBOT
#

@teal mango pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey i have an application SAAS in which our team has used stripe card and other feature adding bank but the problem is that ios kept us rejected because of adding these things so what is the best way should we let handle them on stripe but stripe provide custom ui component to handle card details frontend is react native & backend is node js + TS

Doc/Guide Links
N/A N/A N/A N/A N/A

What are you working on?
service based application

#

@autumn halo pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In a stripe checkout session with python, you can only apply 1 promo code ID or 1 coupon ID:

discounts=[
{"coupon": '<COUPON_ID>'},
{"promotion_code": '<PROMO_ID>'}
],

I have a use case for multiple promo codes (I have a cart where each item in the cart can have its own dedicated promo code). These are for one time payments, not subscriptions.

I have a form setup before the customer gets redirected to the checkout session where they could enter multiple promo codes.

I have code that validates all the promo codes and calculates a new cart total amount sum based on all the promo codes.

I

Related Request ID(s)
N/A

What have you already attempted?
I tried setting multiple promo codes in stripe checkout, but I am forced to only use 1.

#

@fast spruce pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error: stripeError } = await stripe.confirmPayment({
elements,
confirmParams: {
return_url: `${window.location.origin}/return`,
payment_method_data: {
billing_details: {},
},
},
});

Question
How can I run a function after this call runs succesfully with no errors?

What have you already attempted?
I've looked around for alternative functions

What are you working on?
General Web Store

cursive heronBOT
#

@lucid cairn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to set the billing anchor to an earlier time? For example, I sign-up at 1pm. However, I want all subscriptions to start from 12:01-4:59 AM. I also don't want any proration on the amount of the first subscription. It seems I cannot set a past date. If I set the anchor date to the next billing cycle, proration is always applied.

Related Request ID(s)
req_LC6sHOGjuWUvBR

What have you already attempted?
Setting a past date time - exception.
Setting a future date time on the next billing cycle - proration on subscription fee occurs.
Setting backstartdate - this adds more fees for the period of the back date and the current time (which we don't want).

We only want to set the billing anchor date to an earlier time on the day of the subscription. (12:01am to 4:59am)

What are you working on?
SAAS

#

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

Code
Unable to void the invoice

Question
While voiding the invoice getting this error 'Invoices waiting for payment cannot be voided or cancelled'

What have you already attempted?
I tried manually voiding it but still got the error

What are you working on?
I am building a saas platform where we charge the customer per usage base and we manually create invoice at month end.

cursive heronBOT
#

@modest citrus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can we set an earlier billing cycle anchor time relative to the subscription start time on the same date?

Related Request ID(s)
req_nw1sYX3IAvenet

What have you already attempted?
tried setting the BackdateStartDate to earlier date and then setting the BillingCycleAnchor to an earlier date also and it's throwing the same error that BillingCycleAnchor should be in the future

cursive heronBOT
#

@spring mantle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I had already submitted a request for this a couple weeks ago, but I got caught up with more urgent deliverables and didn't get a chance to follow up.

When customers order product, they don't actually purchase anything at this point. They select either a 3, 6, 9, or 12 month payment plan, and we charge them monthly until the whole plan is covered, after which we cancel the subscription.

To enable this, we have implemented this process for Stripe's current behavior:

  1. Customer orders $1200 worth of product on October 5th, 2024
  2. Customer selects a 12 month payment plan
    (continued below)

Related Request ID(s)
Here is the previous support thread: https://discord.com/channels/841573134531821608/1267807018995941397

What have you already attempted?
3. Stripe creates a $100/month subscription and sets canceled_at to October 5th, 2025
4. Customer's card is declined on December 5th, 2024, invoice is marked as past due, smart retry starts (8 atte
6. Same card still declined on Jan 5th, smart retry policy started for that invoice as well
7. Smart retry policy ends for Dec 5th invoice
8. Customer updates card on Feb 4th, webhook sets it to default
9. Customer card successful for Feb 5th invoice payment, successful for smart retry for Jan 5th invoice, but Dec 5th invoice stays "past due"

This logic doesn't allow us to collect the full amount.

What are you working on?
EasyExpunctions is a legal service that helps clear people's offenses from their criminal records. You just have to give us your name and DOB, and we will take care of the rest!

cursive heronBOT
#

@silver gorge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const invoice = await this.stripe.invoices.create(
{
auto_advance: true,
customer: customerId,
currency,
default_payment_method: payment_method,
application_fee_amount: application_fee_amount ? application_fee_amount : undefined,
automatic_tax: options?.automatic_tax,
custom_fields: options?.custom_fields,
},
{ stripeAccount: accountId },
);

Question
If a connected account has filled the taxes on their account in the taxes tab will it work if I had automatic_tax? And there is other way to do it like asking the api the taxes and putting the code in default_tax_ids ?

What have you already attempted?
Creating an invoice without automatic_tax but it seems that there invoice wasn't created with the taxes

What are you working on?
A fleet management system where we have operator that rent their vehicles

cursive heronBOT
#

@sonic arch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
export const createStripeClient = (privateKey: string) =>
new Stripe(privateKey, {
apiVersion: "2024-06-20",
});

Question
Does stripe client store state?
I wonder whether should I create the client for every request or create a global singleton?
Does it matter?

What have you already attempted?
Create a global client

cursive heronBOT
#

@teal mango pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I transfer money from a Stripe Connect account to the platform account, the connected account's available payout balance goes negative. I'm transferring the money to the platform because a user buys something through the app, and I deduct the corresponding amount from their local wallet. However, when I transfer the same amount from the Stripe Connect account to the platform, the connected account's balance becomes negative. Could you help me understand why this is happening? and how can i fix it

Related Request ID(s)
N/A

What have you already attempted?
I can't use source_transaction because it requires a charge ID. I maintain wallet amounts in our database. Users have the option to use in-app money, create a top-up, and use that money. Therefore, I can't provide a charge ID

What are you working on?
Application where user completed the task and gets paid

cursive heronBOT
#

@gloomy leaf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Possible to access API_KEY via the stripe app? i have a huge backend already built in rust and i want to create a small user installation service and some data analytics in the user dashboard with my stripe app and i would love to use the STRIPE_API_KEY from http_client to be passed down to my backend rather as i have lots of syncing and data aggregation done there that also uses a db.

Related Request ID(s)
req_6F7aBQILvG2LQV

What have you already attempted?
I read the server-sided login with the signature based method but i honestly don't see the benefit of it since it uses the API keys none the less as shown on the examples, so say i provide my real developer api key, will there be rate limits on it or will be available to all my customers? https://docs.stripe.com/stripe-apps/build-backend#using-stripe-apis although i would love the ability to pass the "permission-based" api key generated for the app.

What are you working on?
A stripe app with seperate backend connection

#

@nova torrent pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Could you configure our stripe account to use the card registration API using raw card data?

Related Request ID(s)
seirios86@gmail.com

What have you already attempted?
We called the payment method creation API, but received "invalid_request_error" in response.

What are you working on?
developer

#

@scarlet kiln pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I wanted to fetch the stripe's payout API with gross amount and fees deducted from gross, how can I achieve that?

Related Request ID(s)
not found any

What have you already attempted?
I tried to debug the code and read the payout API doc but did not found solution

cursive heronBOT
#

@manic arrow pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For an eccomerce application using stripe, with its own db for customers, saved cards etc, is it recommended to store card details (brand, last4, expiry) in application db, or instead to only store stripe ID of payment method and fetch details from API whenever needed?

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

What are you working on?
A site where people can make donations to charities of their choice. They can save cards to use more easily again, and in future also for automated monthly payments.

#

@halcyon tundra pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm just trying to understand how the invoice emails are sent out for a CheckoutSession.

Related Request ID(s)
in_1PmulVBX1A7LpStoKADP666e

What have you already attempted?
I've enabled 'invoice_creation' within the Stripe checkout and added in a 'customer_email' attribute. I can see that the invoice has been created within my Stripe account and a PDF has been created, but it just doesn't appear to be sending out the email when a complete the checkout. Is there something that has to be toggled in my Stripe account to allow these emails to be sent?

What are you working on?
Web Checkout

cursive heronBOT
#

@inner steppe pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are experiencing a lot declines from Indian customers, apparently mostly due to RBI e-mandate regulations. The automated e-mandate creation has low success rate so we are looking to move these customers to a manual flow (i.e. `collection_method = send_invoice`) once they hit this issue. Our problem currently is **identifying correctly these users via the API so that we can find the right time to change their collection_method**. We have learned that these users succeed their 3DS verification, but then the bank rejects setting up the payment method for off-session charges.

Related Request ID(s)
- pi_3PgppcGXtcqHgDW81easY7r6

What have you already attempted?
We have looked into the payment intent to see if we can rely on `charges[0].payment_method_details.card.mandate` being `null`, however we found that this is not consistently the case and that some Indian users have a `null` mandate but a successful payment.

What are you working on?
We need to move Indian users with an RBI e-mandate issue into `collection_method = send_invoice`

#

@trail kiln pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We use latest api version 2024-06-20 and stripe-java 26.6.0. All received webhooks fail because of incorrect signature (No signatures found matching the expected signature for payload).

Related Event ID(s)
pi_3Pl8RUE3bUONX0TG0gHaeLsj

What have you already attempted?
Checked all steps from api documentation. Invoked Webhook.Signature.verifyHeader locally, with payload and secret copied from stripe dashboard, to make sure that they are correct (signature from original stripe request) but still signature invalid.

What are you working on?
payment gateway

#

@eternal sky pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I provide metadata on the payment_method.attached webhook?

Related Event ID(s)
https://dashboard.stripe.com/test/events/evt_1PmvhxHay2F9AX5VzsGlbSVt,

What have you already attempted?
I have created a setup intent for a us_bank_account with some metadata, (requestId: req_3wYh7CFniIED9f). However the metadata are not propagated on the webhooks received once I connect the test account:

setup_intent.created: https://dashboard.stripe.com/test/events/evt_1PmvgrHay2F9AX5VIEK9uGIG
setup_intent.succeeded: https://dashboard.stripe.com/test/events/evt_1PmvhxHay2F9AX5Vpl48JZCD
payment_method.attached: https://dashboard.stripe.com/test/events/evt_1PmvhxHay2F9AX5V4U8CtC3I

#

@main cliff pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to use connected accounts to handle payouts for my currently paying subscribers but not sure of the process. can I not use their existing stripe account that are on my dashboard or do I have to use connected accounts?

Related Request ID(s)
N/A

What have you already attempted?
I am looking through the docs:https://docs.stripe.com/connect/add-and-pay-out-guide?connect-account-creation-pattern=typed

and have created some accounts using the api but seems weird that we need to have 2 accounts for this that are disjointed

#

@native vapor pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i need to create connected account to my useres, i've succesfully made it triggered the webhook event "account.updated" locally (using stripe cli) , the issue here when i deployed the app on staging server the "account.updated" even though i've configured the endpoint from stripe webhook dashboard.
the issue has nothing to do with my server because i'm triggering the "checkout.session.completed" and it's working fine on server but not "account.updated", even i checked thge endpoint logs in stripe the event is not getting triggerd, i find only the checkout session completed event.

Related Event ID(s)
there is no id since it's not triggered

What have you already attempted?
1 - i changed the endpoint from my app.
2 - updated the "Listening for"
3 - changing the Signing secret by changing the endpoint

What are you working on?
i'm trying to create connected account to my users to make transactions afterwards.

#

@cyan wedge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an issue with setting custom platform application fees with multiple line items.

Customers on my platform will always have subscription prices they are subscribing to such as $7 USD per month. Sometimes they also add an 'initiation fee' which is essentially an extra one-time line item for $100 USD.

I always want the minimum platform fee to be charged at $0.50 and a maximum of 4.9% total.

Where can I specify different platform fees for subscription prices v one-time fees?

Related Request ID(s)
-

What have you already attempted?
Here's the problem: Say there's a subscription of $3 USD per month + $100 USD one-time initiation fee, the fee I'll pass into the checkout session is 4.9%.

However, the following month only the $3 will charge again and the 4.9% fee will not meet the minimum fee of $0.50.

#

@stable mirage pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Through the API, I am attempting to create manual individual payouts for each successfully charged PaymentIntent, without accounting for Stripe fees. This is to ensure that my ERP accurately recognizes the invoice being collected, as every income received in my bank account will correspond to an invoice recorded in accounting as pending payment. I have successfully achieved this part. However, the challenge arises when trying to account for fees or refunds.

Related Request ID(s)
.

What have you already attempted?
Since negative payouts cannot be created, and if I'm not mistaken, if you configure your account so that payouts are not automatic, fees and other negative charges are no longer deducted from your bank account. I was considering generating a PaymentIntent object charged to my bank account to offset these negative amounts. This way, the only negative amount remaining would be the fees associated with that PaymentIntent, which would be settled with the next payout, and so on.

What are you working on?
I'm not sure if there is a more suitable option for handling this. I also looked into the Top-Up object from Connect, but I'm unsure if it is worth upgrading my Stripe account just to use this feature

cursive heronBOT
#

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

What did you expect to happen?
when i confirm a setup intent session, no need to pay for it.

What actually happened?
I need to pay 1 HKD to confirm the setup intent session.

Reproduction Steps
the server create a setup intent session to collect the payment method, and want to use it for future payment;
then, the customer use a UnionPay bank card to confirm the setup intent session.

Question
why collect payment method will generate a 1HKD payment? can we avoid this? Who recieved the money, and can we refund it to the customer?

cursive heronBOT
#

@lean fjord pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
About You can put Paypal, Apple and Google pay to

paymentMethods.applePay oder paymentMethods.googlePay - default it is set automatic, but when i will be on Windows I want to set it to show googlePay, and when on Mac I want to show applePay. Question is it will work like that now or I need to manually check what OS it is and sat appropriate option as "always".

Related Request ID(s)
Express Checkout

What have you already attempted?
I checked it on Windows

cursive heronBOT
#

@dark hearth pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am not sure if this is strictly api related, but i am trying to make a product purchase using the checkout, but it isnt creating a customer, how do i make it create a customer? this is the transaction id that i attempted that has no associated customer pi_3PmwJQ2irv3PMEuH1tO6oSGo

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

What have you already attempted?
Just created a checkout link

#

@bleak frost pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, how are you?

I have configured it to receive webhooks from some Stripe events, including customer.subscription.updated, and this works most of the time, however, in the case of this event: evt_1Pb3yRAeqyH30K8cKXLgdDon, not even an attempt was made to send it to the webhook, and this has been happening sporadically. As I use this to block access to the software if it is not paid, it has been really damaging me.

Related Event ID(s)
evt_1Pb3yRAeqyH30K8cKXLgdDon

What have you already attempted?
I tried updating other subscriptions and the sending is done.

What are you working on?
I need my system and stripe to be in sync regarding subscription status.

cursive heronBOT
#

@white warren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an integration with stripe to rent stroages. If a customer wants to rent a storage, he have to do two payments: The bail (a unique paymentIntent) and the subscription. I have found the link to retry payments in the subscription object, but I can't find it in the paymentIntent for the bail.
Please, can you tell me where I can get this link to retry the payment? I need to send it two the customer.

Related Request ID(s)
pi_3PmwUfJjXBonDcGm1VwylbXG

What have you already attempted?
In case of subscription, I have found the link on the LatestInvoice.HostedInvoiceUrl.

#

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

Code
const fetchClientSecret = async () => {
return session;
};
this._stripeConnectInstance = loadConnectAndInitialize({
publishableKey: publicKey,
fetchClientSecret: fetchClientSecret,
appearance: {
overlays: 'dialog',
variables: {
colorPrimary: "#2a2f30",
},
},
});
this.renderOnboardingComponent(merchantHash);

}

renderOnboardingComponent(accountSessionId: string) {
const payouts = this

Question
I'm trying to open it in dialog mod but it always load in new tab.
return session, I get session from previous step in my app

What have you already attempted?
I have try like in this example

https://docs.stripe.com/connect/get-started-connect-embedded-components#user-authentication-in-connect-embedded-components

cursive heronBOT
#

@gray nexus pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
window.stripe.handleCardAction(response.payment_intent_client_secret)
.then((result) => {
console.log(result);
if (result.error) {
reactivateButton(window.cartButton);
handleValidationErrors({
payment_brand: result.error.message,
});
return;
}

Question
Is there a proper guide for implementing credit card payments through payment intents API?

What have you already attempted?
I tried implementing it, generating a payment intent, but while confirming the intent I'm stuck with the message "The PaymentIntent supplied is not in the requires_action state."

What are you working on?
Implementing payment intents API as a whole and updating credit card payment

#

@lean fjord pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I did options const options = {
amount: amountclean,
currency: '{{ cart.priceCalculator.grandTotal.currency.shortName }}',
countryCode: '{{ userCountry ?? 'DE' }}',
clientSecret: clientSecret,
collect_shipping_address: true,
paymentMethods: {
'googlePay': 'always',
'applePay': 'always',
}
}; but it show me only one button and "more buttons" something like that, that only when i will click it shows other buttons. i want to make it as default to be shown ALL buttons. how to do it?

Related Request ID(s)
Express Checkout

What have you already attempted?
Tried searching in doc could not find

#

@exotic venture pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
# this is some of the worst code I have written :D
from lxml.etree import HTMLParser, fromstring as etree_fromstring
import requests
confirmation_page_content = requests.get(confirmed_setup_intent.next_action.redirect_to_url.url)
root = etree_fromstring(confirmation_page_content.text, HTMLParser())
success_anchors = root.findall(".//a[@name='success']")
assert len(success_anchors) == 1
success_url = success_anchors[0].attrib["href"]
requests.get(success_url) # "click success"

Question
I'm writing tests for a backend which uses SetupIntents + PaymentMethods + PaymentIntents, with PayPal, CC with 3DS, etc.

The test hits the Stripe API in test mode.

The harness needs to simulate the frontend flow. I'm not really interested in an accurate simulation; just enough to make the backend work.

I noticed for most payment method types I need to confirm setup. In test mode this is just a placeholder web page. Is there a way to bypass this, or an SDK to do it?

What have you already attempted?
Googling around, mostly on the Stripe docs. I don't see any helpers for this, or any test flags which let us bypass the authorization page.

What are you working on?
At Via (ridewithvia.com) we have many multi-interface Stripe integrations and are building more! The new ones are on Payment Intents and will be on Connect soon

#

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

Code
const fetchClientSecret = async () => {
return session;
};
this._stripeConnectInstance = loadConnectAndInitialize({
publishableKey: publicKey,
fetchClientSecret: fetchClientSecret,
appearance: {
overlays: 'dialog',
variables: {
colorPrimary: "#2a2f30",
},
},
});
this.renderOnboardingComponent(merchantHash);

}

renderOnboardingComponent(accountSessionId: string) {
const payouts = this

Question
Its open new tab with
https://connect.stripe.com/setup/..... url
where
Get started with Stripe
If you’re completing this form on behalf of a business, it must be completed by the business owner or someone with significant management responsibility of that business.

but I want to open this content in dialog

What have you already attempted?
I'm referring to this documentation
https://docs.stripe.com/connect/get-started-connect-embedded-components#user-authentication-in-connect-embedded-components

#

@valid torrent pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
The upcoming subscription invoice was not billed immediately when the meter consumption reached the threshold value

Related Request ID(s)
https://dashboard.stripe.com/subscription_items/si_MqPVpuSNL1Q5UP/usage_records

What have you already attempted?
Upcoming subscription invoice immediately billed if meter consumption reached the threshold value

What are you working on?
Subscription https://dashboard.stripe.com/subscriptions/sub_1M6igTCYIYr4SWC9xNdWvngz . The last usage record was added at 9am today, but still no billing

cursive heronBOT
#

@boreal flume pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to create/update a person on an individual business type with a person token?

Related Request ID(s)
user

What have you already attempted?
Treasury API docs

What are you working on?
Treasury API

#

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

Code
no money received from website

Question
i have my stripe linked too my custom coded website. when one of my buyers purchased they did not recieive a key tha was in stock nor did receive anny information on a product being bought

What have you already attempted?
looking up invoice id, refreshing etc

What are you working on?
a business and website too be full access

#

@candid snow pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When creating a checkout session for the embedded form, it's possible for the user to leave and come back. Is it best to create a new session in that case, or should I store the session and try to recover it when they would next load the form?

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

What are you working on?
Switching the billing info collection page of an account's setting to use the embedded form

#

@frank crow pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
useEffect(() => {const setupStripe = async () => {const stripe = await stripePromise;const elements = stripe.elements({mode: 'payment',amount: cart.totalAmount * 100,currency: 'usd',paymentMethodTypes: ['amazon_pay', 'card'],);const expressCheckoutElement = elements.create('expressCheckout');expressCheckoutElement.on('confirm', async (event: any) => {try {if (event.paymentFailed) {console.error("Payment failed:", event.paymentFailed || 'Unknown error');alert("Payment failed.

Question
I am trying to implement stripe express checkout buttons on my nextjs frontend and express js backend
so far it's not successful i have tried multiple ways sometimes the buttons show but i am not able to create an order i get errors but i get emails from amazon that the transaction went through even thou i dont see it in my bank statements
i am not able to post my code i have only 400 characters..

What have you already attempted?
i have made multiple attempts to using the stripe documentation no luck so far

What are you working on?
E commerce website.

#

@toxic vector pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
session is Stripe.Checkout.Session

const transfer = await stripe.transfers.create({
amount: price,
currency: 'usd',
destination: stripeAccountId,
transfer_group: transferGroupId,
source_transaction: session.payment_intent as string,
});

Question
I've read multiple articles/forums on how to handle checkout sessions with multiple sellers, and it looks like source_transaction may be the solution, however I don't know where I get that from. What am I doing wrong here?

What have you already attempted?
I've tried without the source_transaction value, but I get an insufficient funds error, and with it I get a "resource_missing" error.

What are you working on?
A marketplace

#

@bleak prairie pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When using an international test email address like example-location_DE@foo.com, I would expect to see all payment methods for Germany enabled in Stripe Checkout.

What actually happened?
I don't see the SEPA payment method for Germany.

Reproduction Steps
If you use example-location_DE@foo.com you get credit card, wallet, and US Bank as payment options but no SEPA.

Question
Do I need to go through a VPN in Germany to see actual payment methods from there or should the test email work?

#

@wooden ether pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const {error, confirmationToken} = await stripe.createConfirmationToken({
elements,
params: {
shipping: jsonShipping,
setup_future_usage: "off_session",
return_url: 'https://example.com/order/123/complete'
}
});

Question
How do I add setup_future_usage when creating the confirmation token?

What have you already attempted?
I tried adding it with the code above, but when I retrieve the confirmationToken, setup_future_usage is null.

What are you working on?
I am getting this error message when attempting to create PaymentIntent:

#

@grizzled storm pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const OrderAp = props => {
const stripePromise = loadStripe(/*...*/)
const stripeElementsOptions = { onBehalfOf: "acct_1KMqw0A6DHSUKBik" }

return (
<Elements stripe={stripePromise} options={stripeElementsOptions}>
<CardNumberElement
onChange={onChange}
options={{
showIcon: true,
}}
/>
</Elements>
)
}

Question
We are an ecommerce platform using Stripe Connect, and creating charges with Destination Charges and `on_behalf_of` param. When trying to implement the co-badged card compliance (https://docs.stripe.com/co-badged-cards-compliance) for our EEA merchants, by passing he `onBehalfOf` param in the Payment Element, we still cant get the card network dropdown to show up. Can you please help us investigate what's missing? Thank you!

What have you already attempted?
- Followed the doc https://docs.stripe.com/co-badged-cards-compliance?type=web-elements&ui=card-element.
- Checked the connected account (used in the `onBehalfOf` param) has CB card payment turned on.
- Checked the platform account has CB card payment turned on
- Upgraded @stripe/stripe-js to 4.1.0
- Upgraded @stripe/react-stripe-js to 2.7.3

What are you working on?
co-badged card compliance as a Connect platform

cursive heronBOT
#

@wanton dirge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
At what point during the "Terminal Initialisation" and "discover readers" process is the Local Mobile "reader" registered against the Connection Tokens location?

Related Request ID(s)
example of testmode reader : tmr_FrBS7QpRmrYgZk

What have you already attempted?
When using the simulated reader we have been able to process tap to pay payments (using test keys etc)
however the live tap to pay flow seems to "intermittently" fail to find any "local readers" during the discover phase.

We have successfully got the live tap to pay reader displayed in the device 3 times so far, so the device is compatible. But we can see that it does not always register the local mobile "reader"/"terminal" against the stripe location

What are you working on?
Integration with Stripe Tap to Pay on android mobile app

#

@burnt iris pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to test card expiring webhook? I cant seem to trigger it from test clock by setting an expiration date then moving the clock a month from the expiration date

Related Event ID(s)
None

What have you already attempted?
Test clock

#

@quick arrow pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
src_1IsCraAbPSoFBZk6knvgPSFn

Question
Can you please tell me how this $89,802.54 payment was applied out?

What have you already attempted?
I tried to contact Stripe, but the email, and no other contact info, will work.

What are you working on?
Trying to research a potential $45,423.00 duplicate payment made to one of Stripe's customers

#

@timid ember pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expect terminal payment to be successful

What actually happened?
pi_3PjUuqJ93KfFVesb11kMwm6j succeeded but webhook told us it failed

Reproduction Steps
Not sure how to replicate this

Question
req_ntiTOd2Ro9vXRj is the request id. it seems the Reader tried to confirm the request a few times

#

@remote bane pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why is the webhook I setup not sending the external_account.created event to my app? I was able to see the event was picked up in inspector mode, but when I go to the webhooks page in my workbench, nothing is there. I’ve created the webhook and it’s in initialization mode to send the test data. it’s just not picking anything up.

Related Event ID(s)
evt_1Pn08HQ2CFdK0CLWFZ07N51B

What have you already attempted?
not sure what to try. there’s no indication of an error. the webhook just isn’t picking up the event, even though I can see it happening in the inspector window when I inspect the newly created account.

What are you working on?
Initializi an account.external_account.created webhook for when users create a connected account.

cursive heronBOT
#

@vagrant condor pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I change the Capture a payment expires default from 7 days to 10 days?

Related Request ID(s)
PaymentIntent

What have you already attempted?
I am developing an application that uses Capture a payment. Can I change the Capture a payment expires default from 7 days to 10 days?

What are you working on?
Woxlink connect

#

@timid patrol pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get payment method ID from checkout session.
I've got the following code `const session = await stripeInstance.checkout.sessions.retrieve(sessionID);`

I want to get the ID of the payment method used for the subscription

Related Request ID(s)
N/A

What have you already attempted?
I've tried going through the session and seeing any properties which could have the ID and haven't found any

What are you working on?
A SaaS

cursive heronBOT
#

@fiery copper pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have incorrectly created a bunch of 0$ subscriptions for former customers. Now they are getting emails when the invoice (over 0$) is created, and we need to prevent that. We thought of using the `invoice.created` webhook event to cancel the incorrect subscriptions and void/delete the invoice before it is finalized. The issue now is that I can neither void nor delete the invoices, because they are in draft and created by a subscription. Is there any way or other webhook event that we can use to do the cleanup?

Related Request ID(s)
req_Povys0RFsszKb9

What have you already attempted?
tried to void and delete the invoice

#

@silk python pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
return (
<Elements stripe={ stripePromise } options={ stripeElementOptions }>
<TestModeNotice isTestMode={ isTestMode } />
<PaymentElement options={ stripePaymentMethodOptions } onLoadError={ onLoadError } />
{ children }
</Elements>
);

Question
Elements does not re render when order amount changes. I am passing amount in stripeElementOptions

What have you already attempted?
I solved issue by passing amount as key to Elements component. is it correct way?

#

@silk kite pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await initPaymentSheet({
merchantDisplayName: 'MyApp',
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
setupIntentClientSecret: setupIntent,
applePay: {
merchantCountryCode: 'US',
cartItems
}
});

Question
Using the stripe payment sheet in the react native sdk, is there a way to prevent users from deleting all of their payment methods? I want to make it so users have to have at least one payment method on file. If they only have one payment method, I want to prevent them from deleting that method.

What have you already attempted?
I have attempted using all of the available configuration options in the initPaymentSheet function but have not had success. Would I have to build my own UI/flow to achieve this?

#

@clever lark pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When onboarding a Connected Account is it possible via API to turn off the prompts for the climate percentage, and the tax service? I strongly believe these things will confuse our users.

Related Request ID(s)
N/A

What have you already attempted?
A bunch of Googling and doc reading, but I haven't found an answer.

What are you working on?
Connect integration into our SaaS for members to pay dues (no sales tax), and make donations (no sales tax).

#

@eternal stirrup pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<div id="address-element">
<!--Stripe.js injects the Address Element-->
</div>
<div id="payment-element">
<!--Stripe.js injects the Payment Element-->
</div>

Question
Using stripe address & payment elements, how can I add the email and phone fields ?

What have you already attempted?
Tried to modify the elements.create function, passing options with the billingDetails fields but doesn't work

What are you working on?
Stripe integration in e-commerce wp using php / html

#

@burnt iris pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
customer.source.expiring still not triggering even if card is created from source via api.

Related Event ID(s)
evt_1Pn1nhLUAqoqjcukmquRyuWs

What have you already attempted?
card set to expire on nov 2024. Set test clock to nov 1 still did not trigger the webhook

#

@scarlet radish pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create a payment intent with this parameter

payment_method_types: ['card', 'swish'],

and we are receiving an error that says swish is not enabled for this account, how do i enable swish

Related Request ID(s)
N/A

What have you already attempted?
I looked into the docs

#

@tall narwhal pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected a monthly subscription's invoice to be auto-finalized when it got created

What actually happened?
The invoice for July's subscription was stuck in draft state. We had to manually "finalize" it

Reproduction Steps
When this subscription renewal invoice was generated, the subscription status was already "unpaid". I wonder if that makes a difference to the auto-advancing of new invoices

Question
Is there some behavior around auto-advancing that
we should be aware of?

What are you working on?
I am working on a billing system of a SaaS company

#

@dull jungle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I get customer ID from session? It is returning null

Related Request ID(s)
Call session API with session ID, customer is null but I can see customer information

What have you already attempted?
I've hit stripe.checkout.sessions.listLineItems() with the session ID, but it does not return customer ID. I need the customer ID to update their metadata.

cursive heronBOT
#

@upbeat needle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to retrieve via the CLI a list of invoice_line_items that belong to an Invoice. I am able to retrieve the invoice with the first 10 line items, but I would like to expand the results to show the first 100.

The docs show that I can run this command, "stripe invoice_line_items list in_1NpHok2eZvKYlo2CyeiBref0", however my CLI does not show that as a valid resource command.

What is the best way to retrieve this data

Related Request ID(s)
n/a

What have you already attempted?
CLI Commands:
stripe invoice_line_items list in_1NpHok2eZvKYlo2CyeiBref0 --live

stripe invoice_line_items list in_1PXZ1yLTGhL6KyaygGmSbPc7 --live --version="2022-11-15

stripe get in_1PXZ1yLTGhL6KyaygGmSbPc7 --live

What are you working on?
Fetching missing InvoiceLineItems from a stripe invoice webhook .

cursive heronBOT
#

@swift anchor pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade

Question
We are trying to built subscription using stripe. We have monthly and yearly subscription. We are using stripe billing portal
to upgrade and downgrade subscription.
https://billing.stripe.com/p/session/test_YWNjdF8xTkJ4WmhIalFRV3g2MERELF9RZUpqMjdwQUIyWHJ2OEtPb0hjZ3hQS0c2enhhZE1401007Aro3jUv
We want the upgrade to be prorated and immediate. While we want downgrade to be effective from next billing cycle.

Is it possible to achieve this using stripe billing portal? If yes, how can we achieve this?

What have you already attempted?
We researched about the flow, but it seems to me that it is possible through subscription schedules. But for that we would have to build custom UI in our end, right? Also if we use the subscription schedule method what would be the flow. Would webhook be triggered by subscription schedule?

What are you working on?
Sass Chatbot

cursive heronBOT
#

@viscid meadow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Apologies if this belongs in the "Code" section

Is it possible to simulate a failed token creation in stripe elements? the test cards i’m aware of (https://docs.stripe.com/testing?testing-method=tokens) successfully create the token, but fail the charge. Does stripe offer a way to test their cc element with failed token creation?

Related Request ID(s)
null

What have you already attempted?
I've used the tokens and cards here: https://docs.stripe.com/testing?testing-method=tokens

What are you working on?
Working on fixing a flaky bug in our payment flows

cursive heronBOT
#

@remote bane pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to allow users to add a tip after their checkout.session is completed. We operate on-demand services, and want to allow user's, after the initial payment and service has been fulfilled, to have the option to add a tip to the transaction from their initial checkout.session. Ideally, they wouldn't have to go through a second checkout.session just to tip.

Doc/Guide Links
I couldn't find any docs or links that outlined this as a feature.

What are you working on?
Allowing for Tips after a checkout session is complete.

#

@harsh jungle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
payment_intent = Stripe::PaymentIntent.create({
amount: 5999,
payment_method_types: ['card', 'us_bank_account'],
currency: 'usd'
})

Question
I am using Link with the Payment Element as described in the Stripe documentation - https://docs.stripe.com/payments/link/payment-element-link. From this what I understand, the Payment Element integration already includes Link, so it shouldn’t be necessary to specify link in the payment_method_types when creating a payment intent, correct?

What have you already attempted?
When I use the company account's test credentials and don’t include `link` in payment_method_types, the Link option doesn't appear in the Payment Element. But with my personal account's test credentials, the Link option does appear even without specifying `link`. If I explicitly include link in payment_method_types, the Link option shows up in both cases. Why the Link option is missing with the company account’s creds when link isn’t included in the payment_method_types?

What are you working on?
I am trying to integrate link payment method to payment element.

#

@neat cobalt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to specify card number, expiration and cvc for unlinked refund

Related Request ID(s)
?

What have you already attempted?
I'll post the code momentarily.

What are you working on?
Call center order processing application

#

@eager vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a difference between the connect account onboarding links created from the api, and those created in the dashboard. We're noticing that the links created from the dashboard will work with Legal Entity Sharing, but those created with the API do not.

Related Request ID(s)
n/a

What have you already attempted?
We've confirmed that the connected account onboarding link parameters are the same between the api and the dashbaord

cursive heronBOT
#

@wanton fable pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking to pull data from API to create a Retention by cohort table.

I know this is in the Billing > Overview > Retention tab but I need to add supplemental data.

I wanted to confirm if I should accomplish this by pulling the list subscription data from the API?

Related Request ID(s)
N/A

What have you already attempted?
I haven't attempted yet as I am planning and still waiting for company API key, just making sure I am going about this the right way

What are you working on?
Rebuilding the Retention by Cohort table to add supplemental information

#

@deft schooner pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on a subscription service. I've created the checkout session and I'm able to capture the payment information on stripe's checkout page.
How can I make sure if the sure, by storing the card information, if stripe is charging a pre-authorization payment to validate the card.
Seems like this is happening after the trial periods end, and the user can be offline and not able to authorize the payment at that moment.

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=stripe-hosted

What are you working on?
A subscription service with a 14 day trial period

#

@steep slate pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
can i Connect PayPal for onboaridng account capabiltiess?

Related Request ID(s)
onboarding, custom

What have you already attempted?
return this.stripeClient.accounts.create(body);
try fine PayPal tyle in account capabiliteis but didnt found

cursive heronBOT
#

@terse siren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've built a marketplace app using direct fees and transfers using swiftui and stripe. I don't see any documentation on allowing users in the app to set up reoccuring payments for jobs that are reoccuring. How would I use the Api to allow this?

Related Request ID(s)
n/a

What have you already attempted?
There is no documentation on using the API to set up reoccuring payments through the app and not the dashboard.

What are you working on?
This is a social media management marketplace where businesses can hire freelancers for marketing work and social media management which is reoccuring and can change based of the price set/negotiated

cursive heronBOT
cursive heronBOT
#

@simple hamlet pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using react native and I am integrating apple pay. The way I have my my application is that a user can sign up for a trial (ex: Basic Monthly) and he can upgrade to a full time plan (ex: Basic Yearly). I allow the user to set up his apple pay using the setup intent. The problem is that when he is upgrading his plan from trial and decides to use his apple pay, I want to get his authorization ( the apple pay bottom sheet) before upgrading and upgrading the subscription from trial to paid automatically attempts payment. Is there a way to block this payment or any alternate solutions?

Doc/Guide Links
This issue only persists from upgrading from trial to a normal plan because when i am upgrading from a normal plan, i just create a payment intent for his apple pay with his proration price and display the apple pay bottom sheet. Then i listen to the payment_intent_succeded and upgrade his subscription using the proration_behavior:"none" and his subscription basically just upgrades without stripe attempting any payment making the flow correct for the apple pay with authorization. The only issue is upgrading from trial. I have looked at the stripe subscription api and payment intent api docs and apple pay docs

What are you working on?
I am buildling a apple pay integration on a react native app

cursive heronBOT
#

@plush rampart pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Credit card statement should use the statement_descriptor provided when creating payment intent

What actually happened?
Wrong descriptor shown in credit card statement

Reproduction Steps
pi_3Pn7VTFjgDuKhVRV1n4pbCp5

Question
What should I do to make sure credit card statement showed the descriptor that I provided when creating payment intent?

cursive heronBOT
cursive heronBOT
#

@lethal edge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const payload = {};
const cartData = cartItems?.map((item) => ({
_id: item._id,
quantity: item.quantity,
customizationData: item.customizationData,
}));
payload.cartItems = cartData;
const response = await fetch(session endpoint here, {
method: "POST",
body: JSON.stringify(payload),
});
const data = await response.json();
if (response.ok) {
window.location.href = data.url;
}

Question
I have tried to pass data via my checkout component i created to be sent to my stripe endpoint but whenever I add more than some number of items to the cart, i get redirected to an undefined page. So i want to know how to correct this issue.
Additional info: I am experiencing this in test mode. Haven't gone live yet

What have you already attempted?
I try reducing the data being passed via the customization data object with JSON.stringify method which allowed me to add some more items to the cart for successful checkout redirect but it still limits me to just a number of cart items for successful checkout and the number of items were not even up to 10.

What are you working on?
I am working on a 3d jersey customizer website where extra data like as customizationData (object) price and quantity is passed to each cart item.

cursive heronBOT
#

@tall jungle pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
It says on this page that with Direct charges you can choose if Stripe fees are debited from your connected accounts or your platform, but how/where do I set this with the API or the settings?

What have you already attempted?
I've already setup an app where I do Destination charges via payment_intent_data > transfer_data -- but I only set it up with Destination instead of Direct because I didn't know you could make the connected accounts pay the Stripe fee ... so I want to find out how to do this

What are you working on?
A payment platform app for teams

cursive heronBOT
#

@floral brook pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
After Stripe tries to charge a card multiple times and fails, it cancels the subscription. However, if the user pays off the subscription AFTER it's already by stripe, the subscription will remain canceled. What is the proper practice for this? We have a repurchase flow on the dashboard for creating new subscriptions, is there a way to stop users from paying off invoices that are attached to canceled subscriptions?

See event log here: https://imgur.com/a/40HKQ53

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

What are you working on?
AI powered digital marketing platform (usestyle.ai)

cursive heronBOT
#

@toxic vector pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const transfer = await stripe.transfers.create({
amount: adjustedPrice,
currency: 'cad',
destination: stripeAccountId,
transfer_group: transferGroupId,
source_transaction: paymentIntent.latest_charge as string,
});

Question
I'm currently accepting payments from users in USD, but when I need to send it to vendors I have to use CAD. In the future I plan to make it so that vendors can set their own store currency, and I was wondering is there a way to deal with this conversion? When I try to change the currency to CAD I get this error

Error: The price specified has a default currency of `usd` but the previous prices had a default currency of `cad`.

What have you already attempted?
* I've attempted changing the currency of the products from USD to CAD

* changing the transfer currency from CAD to USD

* Turned on Adaptive Pricing, but it doesn't seem to work. The products still stay in USD.

What are you working on?
Marketplace

cursive heronBOT
#

@simple hamlet pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Would like to reopen this closed thread

#dev-help message

Doc/Guide Links
The issue i have after trying the solution from the message thread which is removing the default payment method and upgrading the subscription, a new payment intent immediately gets created and just immediately gets cancelled.. This is the payment intent id : pi_3PnBTgP1ske6zh721r2cQZPP

What are you working on?
Working on integrating apple pay on react native

cursive heronBOT
#

@thorny hemlock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I embed card details for users for whom the default payment method for card has been set in the session for creating a subscription?

Related Request ID(s)
req_jNTwy03mtkuEWT

What have you already attempted?
The session was created by calling the API as follows.
await stripe.checkout.sessions.create({
customer: customerId,
line_items: items,
mode: "subscription",
success_url: returnUrl,
cancel_url: returnUrl,
payment_method_types: ["card"],
});

Is it possible to list not only the default payment method but also other registered card details

What are you working on?
Building applications with subscription features.

#

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

Code
My transfer: stripe transfers create \ --amount=1000 \ --currency=usd \ --destination='acct_1Pms36FPtKjJlurd'
My balance: {
"object": "balance",
"available": [
{
"amount": 14030,
"currency": "nzd",
"source_types": {
"card": 14030
}
}
],
"livemode": false,
"pending": [
{
"amount": 9356,
"currency": "nzd",
"source_types": {
"card": 9356
}
}
]
}

Question
I created transfer from my stripe account to another stripe account but it throw error "You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance"
,"

What have you already attempted?
I tried adding funds from 4000000000000077 and 4000003720000278 but it's not works.

cursive heronBOT
#

@leaden silo pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
All my transcation are being stored in funds on hold in balances

Related Request ID(s)
req_r9jjNycFi9XfKv

What have you already attempted?
I have done a payment with checkout payment but the funds are being on hold

What are you working on?
checkout payment

cursive heronBOT
#

@bleak bronze pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Created Custom Stripe Account with minimal required information. Can I transfer funds from Platform account to connect accont?

Related Request ID(s)
req_AGvIs3U9OC2IoN, req_uYTP9JxewTCTOa

What have you already attempted?
I tried to Transfer but I am getting exception as 'Your destination account needs to have at least one of the following capabilities enabled: transfers, crypto_transfers, legacy_payments'

What are you working on?
I am working to create a Custom connect accounts. Once product is sell out then received funds at my platform account. I want to transfer funds from platform account to connect account

#

@hasty totem pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how can we get Payout ID using the PaymentIntent Id to check the payment is paid to our bank or not

Related Request ID(s)
how can we get Payout ID using the PaymentIntent Id to check the payment is paid to our bank or not

What have you already attempted?
how can we get Payout ID using the PaymentIntent Id to check the payment is paid to our bank or not

#

@trail geode pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
my account got termed for some reason?

Related Event ID(s)
email

What have you already attempted?
asking why etc and now ik in discord trying to receive more info.

What are you working on?
website business

#

@fast spruce pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Checks if fields are completed
shippingElement.on("change", function (event) {
shippingElementComplete = event.complete;
});
paymentElement.on("change", function (event) {
paymentElementComplete = event.complete;
});

...

        if \(shippingElementComplete && paymentElementComplete\) {
          addDatabaseEntry\(\);
          const { error\: stripeError } = await stripe.confirmPayment\({

..

Question
I have trouble implementing my idea without potential race conditions. Unless I put the ``stripe.confirmPayment`` function within a conditional statement. But then the user won't see the input validation
error messages how can I add those?

What have you already attempted?
I have tried a totally different solution where I left the stripe.confirmPayment out of the conditional statement.
But that seems unpractical.

I searched for solutions related to input validation on the docs. But they only seem to work with events.

What are you working on?
General web store

#

@violet arrow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to transfer funds to customer (stripe customer) bank account

Related Request ID(s)
Dashboard > Developer > Customers

What have you already attempted?
I tried with refund api but I was unable to achieve the desired outcome

What are you working on?
My app has a wallet functionality, user can top up their wallet using stripe, for this am creating a customer. now I want when user deletes his account the remaining amount that in wallet should get t

cursive heronBOT
#

@snow quartz pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://stripe.com/en-sg/resources/more/a-complete-list-of-decline-codes

Question
From this document, I can see that Stripe has the defined decline code for each issue. However, when using the Stripe Terminal React Native SDK, I can see that when a transaction error happens, the SDK only throw some kind of common error code like 'PAYMENT_ERROR.DECLINED_BY_STRIPE_API'. May I ask if Stripe Terminal SDK support to display the exact error code? If not, how can I obtain the exact error code from the mobile side?

What have you already attempted?
I have tried but can not get the error code like the document

What are you working on?
I'm building a React Native application, which allows the users to use the Tap To Pay feature on both Android and iOS

cursive heronBOT
#

@arctic oxide pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Dear Stripe,
I want to know when an invoice_paymenet_failed webhook is triggered that the payment won't be retried again.
I was using the next_payment_attempt field, when it is set to None as an indicator, however sometimes I get multiple notifications. When I go to the invoice I see that the event will be retried? How can I be sure that it was the last try and it failed so that I don't get too many spam messages that I need to check? Thank you a lot.

Related Request ID(s)
/

What have you already attempted?
I have tried with next_payment_attempt and it worked for a while and recently I see that something has changed maybe.

What are you working on?
I want to get notified when all three attempts failed and I have to contact the customer.

cursive heronBOT
#

@orchid heath pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We use the old metered pricing legacy and now want to update to subscription cause it was basically just the wrong thing we took back then and now need to migrate all our users from metered to subscriptions. So cause monthly prices can not be in a subscription with metered prices, we need to get the different plans like premium and medium from metered, then create a new subscription with the same amount and set the end of testphase to trial_end of the new subscription that the customers don't get charged twice at the same time? Or is there another way we could go or set the first billing starts at the end of the current cycle?

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

What are you working on?
Saas B2B

#

@nova hamlet pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/send-email

Question
Hi! i have a problem with the custom link for customer emails.

The problem is that the custom link under customer emails is static.
Depending on the user, we want to redirect them to different urls.
One way to solve that would be if the custom link can contain some type of dynamic metadata about the user. for example append user_id=123 to the custom link. That way we can, in our system, read the query parameter and know were to further redirect the user. Is this possible?

What have you already attempted?
I have already contacted the regular Stripe Support and they referred me to the developer support

What are you working on?
redirecting user to the site from customer email

#

@lament sail pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We expect a non 5XX response when requesting for refund for a connect account.

What actually happened?
Stripe return 5XX response, we thought nothing is happen, and later the refund processed after 10-20 minutes

Reproduction Steps
It happens randomly. We just call the API using PHP SDK to refund.

Question
Why this happen and how should we handle this scenario?

What are you working on?
We are a platform that collect payment on behalf of our users.

#

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

Stripe engineers are not available at this moment. We will be back at 9am EDT

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

#

@dull comet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on migrating off the deprecated Sources API and want to confirm an area in our app that could be hitting it directly:

  1. Web client collects bank account details and calls Stripe JS's `createToken('bank_account')` with them (https://docs.stripe.com/js/tokens/create_token?type=bank_account)
  2. Server takes that token and invokes the Create Customer endpoint providing the token as the "Source" property (https://docs.stripe.com/api/customers/create#create_customer-source)

This would result in a Sources API invocation behind the scenes, right?

Related Request ID(s)
req_cBj0xgjAmMNNPZ

What have you already attempted?
I've checked the logs for the customers, but don't see an API invocation of POST /customers/:id/sources, so bit confused on if that gets called somewhere.

What are you working on?
Migrating off the Sources API.

#

@stable oriole pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

We want to use Stripe to handle our subscriptions. We're a cloud provider and our pricing model is little complex, here's how it works:

Our pricing model is pretty usage based with some quirks it breaks down to 3 buckets we charge customers for, its based on usage and we'll only be able to calculate the invoice at the end of the billing cycle.

a) 'Unit' based charges: User's are charged $3 per GB. User uses 3GB we would charge them 3 x $3 = $9. (we have 5 different unit based charges)
b) One off charges: e.g $35.12

And finally once a) and b) are calculated, we charge a minimum of $20 p

Related Request ID(s)
sub_1PiDbZDnG1gtYmfWO4UQ3A6q

What have you already attempted?
I've read all the docs related to this and it feels really unclear :(

What are you working on?
We're a cloud based database as a service provider

#

@smoky dragon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, stripe team!
I need help with validation of cardholder name field.
I'm using a fully custom checkout where I use ready components from stripe-js as card number, expiration date and cvc elements, but since stripe-js doesn't have such component for cardholder name - I wrote my own input. The question is, do you have any ready validation for such fields? Some special regular expression that accepts all languages and their peculiarities or I can not validate this field at all?

Translated with DeepL.com (free version)

Related Request ID(s)
--

What have you already attempted?
I wrote my regular expression, but it doesn't accept characters outside of Latin because of which not all languages pass:
/^(['.A-Za-z’-]+ ['.A-Za-z’-]+)$/

What are you working on?
Custom checkout

#

@balmy pagoda pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
sig = request.headers.get('stripe-signature')
data = request.json
payload = json.dumps({
'user_id': data.get('user_id'),
'account_id': data.get('account_id')
})
stripe.Webhook.construct_event(payload, sig, app_secret)

Question
this code returns that there is no signature match. the code that is used to send an receive is the same as this https://docs.stripe.com/stripe-apps/build-backend#send-a-signed-request-with-additional-data

What have you already attempted?
CORS has been allowed and the OPTION method

#

@brazen pier pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Payment Intent api to get payment detail and then passing the Payment Intent ID to Refund Create API. Refund is successful but Now I need the remaining amount to refund.

Related Request ID(s)
req_s4wx5W5kxSdVa8

What have you already attempted?
I have used PaymentIntent Retrieve ID.

What are you working on?
Stripe Connect

#

@terse scroll pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
How to create a Payment Link with the API without creating a new product.

Question
I have tried to create payment links, but the only way that I have seen is through creating a new price with the API. This creates a product at the same time. I do not want to handle prices and products through Stripe. I only want to create the payment links. Is there a way to create a sort of "one-off" payment link?

What have you already attempted?
I have tried creating payment links with Prices, but it has the problem described before. It creates a "Product" in the product catalogue

What are you working on?
An invoicing platform

#

@worldly gale pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to do transfers from one connect express balance to another connect express account?

Related Request ID(s)
None

What have you already attempted?
We are trying to build a digital wallet for transfers between connect express accounts and our Platform balance. Ex - transfer from one connect express to the platform balance and then transfer it to another connect express balance or just go direct express to express.

What are you working on?
Digital Wallet

#

@wooden ether pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
//created in javascript
const options = {
allow: 'payment *',
mode: 'payment',
amount: 1000,
currency: 'usd',
setup_future_usage: "off_session",
on_behalf_of: "acct_123",
paymentMethodCreation: 'manual',
// Fully customizable with appearance API.
appearance: {/*...*/},
};
elements = stripe.elements(options);

//called from Java
Stripe.apiKey = secretKey;
ConfirmationToken confirmationToken = ConfirmationToken.retrieve(stripeConfirmationTokenId);

Question
Why is card=null when I retrieve the ConfirmationToken setup with on_behalf_of.

What have you already attempted?
If I create the ConfirmationToken without "on_behalf_of" set, then ConfirmationToken.retrieve contains the card object. If I create the ConfirmationToken with "on_behalf_of" set, then ConfirmationToken.retrieve contains the card=null.

What are you working on?
Integrating Stripe with an existing application

#

@hasty surge pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, i have a problem with webhooks and i want to share with you guys, Can you specify please which webhook should i use for past_due invoice status update? I settled due_to as 30 days, and after this period, the status on stripe account changed from open to past_due? With which webhook should i catch this? Because i want to charge it manually after 30 days.

Related Event ID(s)
1

What have you already attempted?
def stripe
event = Stripe::Event.construct_from(params.as_json)

case event.type
when 'invoice.paid'
  handle\_invoice\_paid\(event.data.object\)
when 'invoice.marked\_uncollectible'
  handle\_invoice\_uncollectible\(event.data.object\)
when 'invoice.overdue'
  handle\_invoice\_overdue\(event.data.object\)
when 'invoice.payment\_failed'
  handle\_payment\_failure\(event.data.object\)
when 'invoice.voided'
  handle\_invoice\_void\(event.data.object\)
end

head \:ok

end

those are all events that i tried to test it but nothing for past due

What are you working on?
One Home Solutions

#

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

Code
const fetchClientSecret = async () => {
return this.accountSession;
};
this._stripeConnectInstance = loadConnectAndInitialize({
publishableKey: this.publicKey,
fetchClientSecret: fetchClientSecret,
appearance: {
overlays: "dialog",
variables: {
colorPrimary: "#2a2f30",
},
},
});this.renderOnboardingComponent(this.accountSession);
const accountOnboarding = this._stripeConnectInstance.create('accoun

Question
Hi, I'm trying to load account-onboarding, I can see the "add information" button and when trying to click on it, it's opens new tab with stripe onboarding, but I want to open it in modal

What have you already attempted?
I'm referring to this documentation
https://docs.stripe.com/connect/get-started-connect-embedded-components#user-authentication-in-connect-embedded-components

#

@karmic kernel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When can a customer update a subscription?

Related Request ID(s)
None

What have you already attempted?
-

What are you working on?
I have a product that is seats-based and would like the customer to update the seats after they have purchased a subscription. I'm trying to understand the parameters the "Update Plan" button depends

#

@agile oar pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In your docs, you give a list of best practices to implement when it come to use webhooks. I got a few questions regarding thoses. Thanks in advance for your help.
- "Webhook endpoints might occasionally receive the same event more than once" Are we talking about several times in a few minutes? Or several days? I'd like to know whenever I can simply put the IDs in Redis or if I need to store them in the database instead
- "Handle events asynchronously" I got a working BeeQueue with Redis setup. Would that work?
- Related to the previous one and "Quickly return a 2xx response" Does that means I can simply verify the webhook signature then send the returned payload to my queue?

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

What are you working on?
We're working on a small SaaS project, written mainly in Typescript and React

cursive heronBOT
#

@white warren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to get stripe product price with this query:
product:'prod_Qa3FNc1xyIlu2N' AND active:'true' AND type:'recurring'
I am getting some results but not the one I needed.

Related Request ID(s)
prod_Qa3FNc1xyIlu2N, price_1PitRrAWaN6e7gEaOfkOSp8L

What have you already attempted?
Can you help me please?

#

@stable oriole pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi,

We want to use Stripe to handle our subscriptions. We're a cloud provider and our pricing model is little complex, here's how it works:

Our pricing model is pretty usage based with some quirks it breaks down to 3 buckets we charge customers for, its based on usage and we'll only be able to calculate the invoice at the end of the billing cycle.

a) 'Unit' based charges: User's are charged $3 per GB. User uses 3GB we would charge them 3 x $3 = $9. (we have 5 different unit based charges)
b) One off charges: e.g $35.12

And finally once a) and b) are calculated, we charge a minimum of $20 p

Related Request ID(s)
sub_1PiDbZDnG1gtYmfWO4UQ3A6q

What have you already attempted?
Read all the docs but it's unclear

#

@hasty surge pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Yes i have tried using invoice.updated but no event comes to the listener when invoice is updated to past-due status

Related Event ID(s)
egli_webhooks

What have you already attempted?
Yes i have tried using invoice.updated but no event comes to the listener when invoice is updated to past-due status

cursive heronBOT
#

@silver gorge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why do my invoice show 0% of tps and tvq

Related Request ID(s)
req_Q75lwr8LwohDfA, in_1PnLve7CkWHLJLBsusvoRYlK

What have you already attempted?
Addind automatic_tax: {enabled: true} is currently using the correct tax of my account but for some reason stripe put 0% of it ?

#

@balmy pagoda pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
sig = request.headers.get('stripe-signature')
data = request.json
payload = json.dumps({
'user_id': data.get('user_id'),
'account_id': data.get('account_id')
})
stripe.Webhook.construct_event(payload, sig, app_secret)

Question
previous thread closed.
i tried to verify the signature as explained here https://docs.stripe.com/stripe-apps/build-backend#authenticate-ui-to-backend (but by means of python) to no avail. i only get the "No signatures found matching the expected signature for payload" error.

What have you already attempted?
enabled the OPTIONS method and CORS. it's definitely something of the signature.

cursive heronBOT
#

@plucky lynx pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.subscriptions.create({
customer: customer.id,
coupon,
items: [
{
price: priceId
}
],
})

Question
Is this the correct way of making a subscription? Using the price IDs? What if I want to make coupons specifically for one pricing plan?

What have you already attempted?
Read docs

#

@wanton dirge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Within the "Tap to Pay" android flow, what calls trigger the "POST /v1/terminal/attestation/bind" stage which actually registers the device as a "reader" ?

Related Request ID(s)
latest connection token request : req_JnOP7nhcZqQcSn

What have you already attempted?
Our app can consistently trigger the simulated reader flow to completion. However when using Live keys we more often than not, fail to "discover readers". looking in the stripe logs it seems to be an issue of the "POST /v1/terminal/attestation/bind" stage not always triggering.

What are you working on?
Android ticket purchasing app

#

@jovial pulsar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Report API do not return CSV reports in chosen date range. I choose in timestamps date range from 1st of August till 11th of August and returned data are from July.

Related Request ID(s)
-

What have you already attempted?
Check Data availability and data should be already available

What are you working on?
Automatic transaction download for backend bookkeeping

cursive heronBOT
#

@little fable pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Unsure of where this is at the moment

Question
So we have an Apple Pay payment sheet working with trial period and payment "rows". We can't find where to set the currency used for this, as while we use USD, we also want to display the sheet in other currencies (GBP, EUR, CAD). This is for the web, using React.

What have you already attempted?
There's mention of createPlatformPayPaymentMethod() for react-native but can't find the equivalent for non-mobile

What are you working on?
Better formatted payment sheet for Apple Pay integration

#

@fallow bobcat pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Greetings
I am creating the stripe subscription from my node.js application the flow is

At Backend
1 creation of customer
2 use customer id and creates subscription and get client_secret

3 use this client_secret on frontend. I load my stripe elements and then use this client secret i pay the invoice using confirmCardPayment(this.client_secret, {
payment_method: {
card: this.card.element,
// billing_details: {
// name: nameOnCard,
// email: this.userInfo.email,
// phone: this.user_details.contact
// }
}
method I pay it

Related Request ID(s)
1

What have you already attempted?
pay the the money ahd subscription is activated

What are you working on?
I want that once I confirmCardPayment and pass the 3DS and SCA. it should not charge directly rather there should be a trail period and after that it charge the money

#

@azure junco pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await stripe.confirmSetup

Question
can confirm setup return the payment method details (not only ID)? I also noticed that the front-end SDK can't fetch payment method using an ID

What have you already attempted?
looking at the docs - this https://docs.stripe.com/api/payment_methods/retrieve shows that I can fetch a payment method, but that's only the server-side SDK?

What are you working on?
billing

#

@gritty musk pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I'm using the stripe payment page implementation, and is looking for a way to preselect united stated as the default country for payment

Question
I'm using the stripe payment page implementation, and is looking for a way to preselect united stated as the default country for payment

What have you already attempted?
looking at the settings on our stripe portal and api documentation

#

@languid geyser pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I determine, looking at the response from a request to get a given account's information, whether this account would have any required actions in order to accept transfers or issue payouts? In particular, how would I know when the notification banner embedded component would display anything were I to render it?

Related Request ID(s)
req_GGfPMLMHggIQ0X

What have you already attempted?
I'm not just looking for whether the account has all of its currently due requirements fulfilled. I know that the banner will also display when, for example, there was a failure during the last attempted payout. What can I look for on the account object to recognize these situations?

cursive heronBOT
#

@plucky lynx pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
StripeAuthenticationError: Expired API Key provided: sk_live_*********************************************************************************************WfA4RK

Related Request ID(s)
theres no ids

What have you already attempted?
its so weird i use the same api creds on production and on local it says its expired???

#

@slim remnant pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Show the co-badged dropdown menu in production

What actually happened?
It only shows in local environment, in production it doesn't.

Reproduction Steps
I have enabled Cartes Bancaires for the connected account I want to display the co-badged dropdown for. I load the stripe elements in the frontend and I expect the dropdown to be there when I use a Cartes Bancaires visa but it doesn't.

Question
I want to know how to display the co-badged dropdown in production for a connected account under our Stripe account.

#

@hexed mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I implemented a custom method of upgrade/downgrading a user's subscription, and I've just run into a weird issue where it appears someone was charged twice.

Related Request ID(s)
Customer - cus_Q6wvJnX3De94AQ

What have you already attempted?
I've only analyzed what happened - which is that I believe a user's payment failed for their existing subscription. At that point, they upgraded to a higher subscription tier. The subscription successfully changed over and charged the user, however it didn't remove the failed invoice which was still being retried, so when that retried the next time, it charged successfully as well. What am i supposed to do differently?

cursive heronBOT
#

@hidden lava pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a small saas app and i want to renew the quotas every month, which event is going to be fired when the customer subscription is going to be renewed

Related Event ID(s)
no event id

What have you already attempted?
i've try this event:checkout.session.completed but i didn't see the event on renew

What are you working on?
AI saas

cursive heronBOT
cursive heronBOT
#

@patent garden pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I create a TransferReversal on a transfer to a connected account that was rolled up and payout out already, does the TransferReversal partially reverse the payout or do I need to manually do that to clawback money from a TransferReversal

Related Request ID(s)
None

What have you already attempted?
I've read documentation, but it's not very specific about this interaction

What are you working on?
Bespoke floral ecommerce platform

#

@gusty lotus pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/get-started/account/multiple-accounts#:~:text=To create a new account,the account to switch to.

Question
Is it possible to create multiple Stripe accounts with the same EIN, bank account, email address and website but in different locations in the US?

What have you already attempted?
N/A

What are you working on?
Want to create multiple Stripe account for easier reporting and reconciliation

cursive heronBOT
#

@hoary scroll pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I accidentally set the billing period of multiple products to be 1 month instead of 3 months. Customers are already on these subscriptions, but I need to update the billing period from 1 month -> 3 month for all of them. What is the best way to do this?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/billing-cycle#:~:text=Use the Subscriptions API or,the end of the trial.

What are you working on?
Just want to change the billing period for a product that is already in use

cursive heronBOT
#

@lethal edge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
payment_intent_data: {
metadata: {
cartItems: JSON.stringify(cartItems),
userId: user._id,
},
},

Question
I have created a session and i am currently passing my cart items via the payment intent data property. But my cart items always exceed the metadata field limit. Is there another way i can pass my cart items to the webhook route so i can create an order and store in my mongodb upon successful payment?

What have you already attempted?
I am a beginner at this whole ecommerce website development process but I initially tried creating a temporal order and storing it in my data base and then use the find and update method to update or delete my order upon successful payment.

What are you working on?
I am working on a jersey customizer website.

cursive heronBOT
cursive heronBOT
#

@outer prism pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a Session (mode payment) but I need to display all the available payment methods as options. Currently is only displaying the last payment method that allows redirect (allow_redisplay='always') instead of all of them

Related Request ID(s)
req_Qo0QTIUOcMBgsJ

What have you already attempted?
I tried using saved_payment_method_options = {
'allow_redisplay_filters': ['always']} and didn't work

#

@hoary scroll pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Doesnt fit, will post it below

Question
I want to essentially extend the current subscription's billing period to the subscription's start date + 90 days (it was accidentally set to a monthly subscription that i need to convert to a quarterly). However, when I run the code below it gives the user a credit for the first phase when I just want to charge the user nothing during the first phase

What have you already attempted?
Accidentally created products with a 1 month billing period. Need to switch them to 3 month billing periods. So I want to create a sub schedule that will move the user to the new product (w 3 month billing) after 3 months

cursive heronBOT
#

@daring atlas pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe CLI only let's me use "account default" which is a 2020 API version, or "Latest" - but in "Test" mode the Dashboard will only let me choose the 2024-04-10 version, not the 2024-06-20 which seems to only be available to my account in Live mode? I am unable to develop locally on my machine with Stripe CLI and then deploy to staging without first downgrading my Stripe Package to match the version available for me to Assign to my webhook endpoints in Test mode.

Related Event ID(s)
evt_3PnQK7DRAUj1XlT51dFSKP1y

What have you already attempted?
Creating a new endpoint, trying to change the version on my existing endpoint.

What are you working on?
Bringing up a new platform on an existing Stripe account that is currently used by another department in the company in Production.

cursive heronBOT
#

@worthy crypt pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expected to be able to capture a screenshot that include the stripe Card Element.

What actually happened?
Unable to capture it reliably. Sometimes, it seems that requested content is not being delivered to the browser.

Reproduction Steps
Use the following GitHub project to demonstrate the issue locally: https://github.com/corymharper/stripe-timeout-repro

Question
From what I have seen, there is not a response with HTTP 429, so it seems to not be a rate limiting issue. Have also tested using later versions of tools that allow Firefox to be used, and seeing similar failure to receive a response to all web resource requests, so it seems it's not just Chromium browser that has this issue.

cursive heronBOT
#

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

Link to the Doc/Guide in question
https://docs.stripe.com/api/tokens/create_card

Question
Is it possible to use a stripe token from a different stripe platform? for example, my integration partner and i are trying to create a single cart experience where the guest enters credit card information once and the charge is split between the 2 stripe platforms

What have you already attempted?
read the token guide

What are you working on?
single cart experience across platforms

#

@outer prism pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm creating a Session (mode payment) but I need to display all the available payment methods as options. Currently is only displaying the last payment method that allows redirect (allow_redisplay='always') instead of all of them

Related Request ID(s)
req_HI2EbaQVqXGdIQ

What have you already attempted?
I asked the question before, but it wasn't answered.

cursive heronBOT
#

@pale whale pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am retrieving invoices using the API. i want to retrieve the amount i am receiving less the stripe fees that are charged. in the stripe dashboard on an invoice, there is a payments section and when you click into there, it shows the payment intent for the invoice and the amount paid by the customer and also shows the net amount (less stripe fees). I want this net amount through the API but am unable to see where i can get it.

Related Request ID(s)
NA

What have you already attempted?
I have attempted to retrieve related records using the stripe cli.
stripe payment_intents retrieve <payment_intent_id> --live

and

stripe invoices retrieve <invoice_id> --live

#

@serene spoke pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I trigger a recurring payment on a subscription? I would like to test my webhook code under such scenario.

Related Event ID(s)
subscription.payment_succeeded?

What have you already attempted?
I've tried running: stripe trigger invoice.payment_succeeded

cursive heronBOT
#

@median solstice pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey I'm trying to make a AirBnB type of app.

- The customer will pay directly to the host using my platform.
- My platform will take fee off the host
- My platform will take fee off the customer

What's the best way to achieve this? I looked at the Connected account but it only takes one application fee. hmm

Doc/Guide Links
https://docs.stripe.com/connect/design-an-integration?connect-onboarding-surface=hosted&connect-dashboard-type=none&connect-economic-model=buy-rate&connect-loss-liability-owner=platform&connect-charge-type=destination

What are you working on?
Building a SaaS app

#

@steep slate pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
checkout.sessions.create doesn't have ui_mode to chose

Related Request ID(s)
Stripe checkout -> ui_mode

What have you already attempted?
It sound like typescript don't shows ui_mode param.

#

@jagged drift pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
As an EV charging company, many of purchases are included in card provider's cash back programs with increased benefits. For example, one of my Visa cards offers double points for EV charging (and gas station) purchases. As I understand it, this is about setting the merchant category code to the correct value. can see that you can add this for authorization events, but my team and I are unsure about how we do this the transactions we are posting to our account.

Doc/Guide Links
https://stripe.com/guides/merchant-category-codes

What are you working on?
Payments for EV Charging Platform

#

@blissful onyx pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Estoy haciendo una integracion con Stripe y PHP, Hice los pasos indicados en el ejemplo de la pagina, y funciono perfecto con la cuenta Demo, al cambiar las Key para produccion, me indica que esta hardcoded y que tengo que utilizar un archivo .env, ahi no tengo ni idea. Cree el archivo y el PHP lo lee e importa sin problemas, pero hay unos archivos JS que no se como hacer para que lean esa informacion. Me pueden ayudar con eso? Gracias de antemano

Related Request ID(s)
req_v2rqfQeI7yVOjE

What have you already attempted?
Del lado de JS, no he intentado con nada.

What are you working on?
Estoy haciendo la integracion

cursive heronBOT
#

@hushed fern pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
how to re-send a failed webhook via stripe dashboard / cli

Related Event ID(s)
evt_1PnA8cHGbPvMN2roYLL97xNr

What have you already attempted?
Using local stripe CLI with
stripe events resend <evt_id>,

However it does not get forwarded to my local webhook endpoint which is located at

127.0.0.1:8000/stripe/webhook/

What are you working on?
Saas Application

cursive heronBOT
#

@sand kernel pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe apps start
stripe apps upload

Question
I uploaded my private application into Stripe Apps test mode.
The app is listed at https://dashboard.stripe.com/apps/ Developer/Apps.
How can I remove it? I wanna upload the app on other accounts. I nether see any options related to remove the app nor api to remove the app.

What have you already attempted?
I tried to install the app on test mode. And I can uninstall it. But I can not remove it in the Developer/Apps tab.
Upload application to new account and Stripe returns with the error message like `App id already taken: com.my-application.app`

cursive heronBOT
#

@surreal chasm pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I parse the events pushed by webhook, I cannot parse the events because the EventDataObjectDeserializer.Object object is null. What is the problem?

Related Event ID(s)
evt_1PnWb1KkG51KqQuKH4WAuygw

What have you already attempted?
I checked that my secret is correct and there is no error, but EventDataObjectDeserializer.Object is null

What are you working on?
I am connecting another business to a webhook. The same code has a value in the previous business, but it is null in this business.

#

@brittle comet pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
paymentRequest.canMakePayment().then((result) => {
if (result) {
console.log(result, "Result");
} else {
// Handle cases where the payment method is not available
}

Question
I am checking for Payment Request Button Apple Pay Google Pay but my function canPaymentMethod coming null

What have you already attempted?
canMakePayment Coming null

cursive heronBOT
#

@sand cave pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey,
Why it is not possible to update "allow_redisplay" field for payment method initiated by PayPal using API ?

Stripe API response:
invalid_request_error
"PaymentMethods of type paypal cannot be updated at this time."

Related Request ID(s)
req_Y1CkmvgaXFc5K3 pm_1PnGkQDuAOfmQUpwtjp7MnFa

What have you already attempted?
I atempted to update allow_redisplay field for payment method using API.

What are you working on?
Custom payment flow using API

cursive heronBOT
#

@hushed fern pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When Stripe resends a webhook that was not received by our system (i.e., the initial attempt did not return an HTTP 200 status), should we discard this particular webhook if the event’s creation date is older than our system's last updated time? Our concern is avoiding rolling back our data to a previous state by processing eventually outdated events.

Alternatively, does Stripe ensure that all resent webhooks always reflect the current state of the data on Stripe's end? If so, can we process these webhooks without worrying about potentially older data affecting our system's current state?

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

What are you working on?
Saas Application

#

@valid otter pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're building an Online Travel Agent, think of it like booking.com.

As part of our check out process we will at times need to take a deposit from a customer and then trigger a balance payment at a later date. Is multicapture the best way to do this or do you have other suggestions?

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

What are you working on?
We're building an Online Travel Agent (e.g. Booking.com)

#

@frosty hearth pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to use tax rates to collect tax since I operate locally. Checkout session doesn't seem to have an option to collect tax on shipping with tax rate. If automatically tax is not enabled, shipping would not be taxed.

Related Request ID(s)
cs_test_b1p680zAuypyxwlMmVwCzBCLkuWCZOZwSBGfaCrIMXJLfWz4uXW4ugn3CN

What have you already attempted?
Inclusive/ exclusive tax behaviour in shipping

What are you working on?
Local business so no need more than 1 tax rate

#

@trail beacon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
how to get lifetime total volume of a stripe express connected account through the API

Question
how to get lifetime total volume of a stripe express connected account through the API

What have you already attempted?
gone through your postman collection. nothing obvious jumps out

cursive heronBOT
#

@noble lantern pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to send money dirctlt to bank account instead of connected account

Related Request ID(s)
I want to send money dirctlt to bank account instead of connected account

What have you already attempted?
I want to send money dirctlt to bank account instead of connected account

What are you working on?
integtration

cursive heronBOT
#

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

Question
Is there a way to issue a one-off invoice for a subscription that doesn't cause the subscription to go Past Due if the payment for that invoice fails?

Related Request ID(s)
req_qkkQi1euBNFpni

What have you already attempted?
Looked at API docs and stripe docs

What are you working on?
Subscription invoices to upgrades

cursive heronBOT
#

@lavish dew pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to use the AWS EventBridge integration. I've added my email last week but haven't heard back.

I've tried to follow this guide: https://docs.stripe.com/event-destinations/eventbridge but I can't see the tab event destinations to add a new one.

Related Event ID(s)
No event ids

What have you already attempted?
I opened up the workbench and looked for event destionations tab without success

I also entered my email on this page https://docs.stripe.com/event-destinations/eventbridge but haven't heard back

What are you working on?
Integrating Stripe with EventBridge

cursive heronBOT
#

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

Code
session = stripe.checkout.Session.create(
customer = stripe_id,
customer_update = {
"name": "auto",
"address": "auto",
},
billing_address_collection = ab_test_address_group,
after_expiration={
'recovery': {
'enabled': True,
},
},
allow_promotion_codes = "t

Question
We got errors that says no such customers. But we have not updated anything. It is happening because of an issue that happened on Stripe. I am sure because we have a lot of customers that invokes the same functions every time and we got error now. Same thing happened on 11 August. We need an explanation because we are losing customers this way.

What have you already attempted?
I checked no such customers errors and see that they are existing in the account. There must be another problem. My guess is Stripe servers are failing now.

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

Stripe engineers are not available at this moment. We will be back at 9am EDT

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

#

@random crest pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any API that I can use to retrieve payment method that attached to customer ?

I only need to know the payment method name. No any other information is needed.

Related Request ID(s)
.

What have you already attempted?
.

#

@harsh temple pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Listening to the "checkout.session.completed" event, how do i pair Session.LineItems with data in my own app. Is there a way to supply/read metadata? I can only find the "ClientReferenceId" property in the root of Checkout session

Related Request ID(s)
N/A

What have you already attempted?
Setting the Metadata on a LineItem when creating a CheckoutSession

What are you working on?
An app with a marketplace using Stripe Connect

cursive heronBOT
#

@desert solstice pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am attempting to collect balance_transaction of latest_charge. but it return null value.

Related Request ID(s)
pi_3PnduXQe6SjYWk0Q0GrhAgM3

What have you already attempted?
$paymentIntent = $stripe->paymentIntents->retrieve('pi_3PnduXQe6SjYWk0Q0GrhAgM3', ['expand' => ['latest_charge.balance_transaction']], [
'stripe_account' => 'acct_xxx'
]);

                        \Log\:\:info\($paymentIntent\-\>latest\_charge\);
cursive heronBOT
#

@light pivot pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I achieve the thing, when Stripe Connect test accounts are verified and ready to accept payments and payouts regardless of information that they will provide on the onboarding form?
Currently our backend prefills data for the US Individual accounts with data from Connect Testing article, but if client changes something during onboarding(for example country or business type, or addres) it won't get the Completed status and won't be able to charge his clients. I noticed that for example during WooPayments test account onboarding I will be able to accept charges regarding of the information that I will provide during onboarding. How can I get the similar behaviour?

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

What are you working on?
I am developing and integration for Stripe Connect for our platform, and I want to provide an easy way for our clients to create test accounts and accept test payments.

#

@mellow bramble pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When creating a PaymentIntent and confirming it, I expected that an Invoice would be created alognside the PaymentIntent.

What actually happened?
When creating and confirming a PaymentIntent using Sofort as payment method, no Invoice was created o Stripe side.

Reproduction Steps
Completing a purchase with Sofort as payment method with Stripe Elements.
An example: https://dashboard.stripe.com/acct_1ISlyXIkpUd1U5On/payments/pi_3PZ4GIIkpUd1U5On0e68gmdK

Question
Is it expected that no Invoice item is generated when creating and confirming a PaymentIntent with Sofort as payment method?

#

@unique stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our product charges transactions between 2 parties, and I want to apply a usage-based billing of 3% on the transaction amount or €0.25 / TiB / month if the amount is below

After several attempts, configuring a percentage on the product in Stripe is not possible, so I found an alternative by recording in the billing meters, directly the amount (recorded every day at midnight, and I want an invoice per month)

Related Request ID(s)
req_oiMwk2wgAsN5Gp

What have you already attempted?
As it is not possible to record floats, I round the amount directly. For example, if over the last 24 hours, the user has made 50 transactions at €0, with a size of 32 GiB, we will have 32 GiB * 50 = 1600 GiB = 1.45 TiB * 0.25 = €0.3625. For more precision, I multiply it by 100 before rounding 0.3625 * 100 = 36.25 = 36 recorded

And then I configure the product to charge 0.01 per unit, and so for this case, Stripe will charge €0.36

My question is: there is another way to implement it? Because like this the invoice isn't very clear for the customer

What are you working on?
Our product charges transactions between 2 parties. A transaction is defined by a price (for exemple 0.5 €) and a size (32 GiB, 1 TiB ...). And i want to create a usage based subscription

#

@slim remnant pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Show the co-badged dropdown menu in production

What actually happened?
It only shows in local environment, in production it doesn't.

Reproduction Steps
I have enabled Cartes Bancaires for the connected account I want to display the co-badged dropdown for. I load the Card Element in the frontend with hideIcon to false and using onBehalfOf param and I expect the dropdown to be there when I use a Cartes Bancaires visa but it doesn't.

Question
I want to know how to display the co-badged dropdown in production for a connected account under our Stripe account.

cursive heronBOT
#

@crystal crag pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I display the company's vat number and change the company information displayed on the invoice generated by the subscription via the endpoint api checkout session create?

Related Request ID(s)
req_3nvg3UyzwJGTVB

What have you already attempted?
Search into the documentation

What are you working on?
I'm working on an application that includes a subscription system.

cursive heronBOT
#

@vast leaf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to implement "Klarna" integration via stripe API? Without redirecting user to stripe website. Or does it work only with Stripe Checkout Sessions?

Related Request ID(s)
req_testing

What have you already attempted?
I want to get more information about it.

#

@valid torrent pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Invoice not billed immediately if metered usaged reaches threshold

Related Request ID(s)
https://dashboard.stripe.com/subscriptions/sub_1P39XCCYIYr4SWC9mI1Yo7pc

What have you already attempted?
If metered usaged reaches threshold, it will bill immediately.

What are you working on?
Two days ago I asked this question. Is any changes now? I found new subscriptions with this issue

#

@sage cairn pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey!

I'm building a marketplace using Stripe Connect where merchants are initiator of the payments (we collect customer agreements/payment methods beforehand).

I have two questions:
- How to maximize the chance of a successful payment? As the customer won't be able to perform any validation, and I want the payment to be synchronous (for now, I'm creating a PaymentIntent with confirm: true / off_session: true)
2. Can Stripe help regarding invoices? As we operate in France, we need to provide invoice documents: one between customer/platform (with the spent amount), and one between merchant/platform (with the earned amount minus Stripe+platform fees).

Thanks!

Doc/Guide Links
https://docs.stripe.com/connect/design-an-integration
https://docs.stripe.com/connect/destination-charges
https://docs.stripe.com/connect/invoices

What are you working on?
SAAS product, with a marketplace, French market.

#

@static creek pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
stripe+wechat payment integration not working.
stripe wechat payment works on test mode but it didn't work on live mode.

Related Request ID(s)
Stripe +Alipayment integration issue

What have you already attempted?
it worked on test environment but when I switch it on live mode, it got the error.
I have used this method https://docs.stripe.com/payments/wechat-pay/accept-a-payment?ui=direct-api
after getting this, it got generic decline_code on live mode

What are you working on?
I am working on paywall app

cursive heronBOT
#

@solemn meadow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What configuration do I need in order to directly use SetupIntents to create Mandates for Bacs Direct Debits?

Related Request ID(s)
req_9LmsufovYWUNMo

What have you already attempted?
I tried creating a setupIntent with bacs_debit as one of the payment_method_types. And according to the account owner they have done the id verification. Is there something else I need to do?

What are you working on?
Trying to incorporate bacs_debit as a payment method into my setup intent -> subscription schedule flow

#

@manic pulsar pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My company is trying to reduce its PCI risk and wants to prevent Stripe users from being able to add credit card payment methods to customers. What's the most appropriate role for this purpose? There isn't anything in the role documentation that specifically mentions card payments. Further, is there any way to create custom roles?

Doc/Guide Links
https://docs.stripe.com/get-started/account/teams/roles

What are you working on?
migration to Stripe from legacy payment system

#

@wary finch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the Stripe API to pull invoice data into a Python data frame. One thing I want to pull is the text that was left in an internal note when the invoice status was changed. is that text something that can be obtained through the API?

Related Request ID(s)
NA

What have you already attempted?
I’ve tried looking through the JSON file but can’t find any mention of the note

#

@barren zinc pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to create an incomplete Subscription with an invoice in Draft state to allow Avatax time to apply tax before we finalize the invoice and pay the subscription, however when I run
```Stripe::Subscription.create({customer: "cus_Q2UyTwv6lgE7ma", items: [{ price: "price_1Pcs8aJyFlemKh0gSp95T5D6" }], payment_behavior: "default_incomplete"})```
the invoice is finalized immediately, is there anyway to prevent the finalization?

Related Request ID(s)
sub_1PnkT9JyFlemKh0gBhkZoqKc

What have you already attempted?
We tried calling the same subscription create with pay_immediately set to false, but we receive an error stating we cannot set payment_behavior to default_incomplete when passing the pay_immediately paramete.

What are you working on?
We are trying to create a checkout flow that allows Avatax to apply tax before we finalize and complete a subscription.

#

@rose slate pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Oauth Popup for external tests to show my app icon, which I uploaded together with my App

What actually happened?
It is blocked by the CSP

Reproduction Steps
Create app with an icon. Start external test. Get redirected to first step. See broken image

Question
Would be great if this bug could be fixed

What are you working on?
Oauth

cursive heronBOT
cursive heronBOT
#

@wooden ether pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const paymentElement = elements.create('expressCheckout');
paymentElement.mount('#express-checkout-element');

Question
I am trying to submit Google Pay. The modal shows that I am using the Test environment, but it is returning error code OR-CCSEH-21.

What have you already attempted?
I tried using both payment and expressCheckout elements, but both are returning the same error code.

What are you working on?
Integration of Stripe with an existing application

#

@hazy girder pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/webhooks

Question
I've got a question about a more complex scenario.

  1. My Product is a SaaS
  2. I want customers to subscribe to a "Base Version" which is free. That way I can collect their payment method for one-time purchases and keep them in the billing cycle.
  3. I've also got additional packages that users can subscribe to for additional features.
  4. I want new users to receive a trial period for all packages.
  5. During registration, and any point before the trial ends, I want customers to be able to select which packages they want to keep.In any case, I want to keep (Downgrade) the Base Subscription.

What have you already attempted?
I've looked into the following to options:

  1. Create one Subscription with multiple Items
    -> Con: Trial period doesn't work for the single items, so I'd have to fiddle around with Webhooks to update the line items the customer wants to keep. However, When would be the right time to do that? "trial_will_end" webhook is sent 3 days before the end of the trial, which is way too early.
  2. Create multiple subscriptions
    Pro: I could manage trial periods and leverage Stripes built in features
    Con: Customers receive multiple invoices per month, more transactions

What are you working on?
B2B SasS

#

@warm crypt pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I am writing to inform you that I am currently experiencing an issue with making a payment through Apple Pay using Stripe. Every time I attempt to complete a transaction, the payment fails to process.

Could you please assist me in resolving this issue? I would appreciate any guidance or troubleshooting steps you can provide to help me successfully complete the payme

What actually happened?
I am writing to inform you that I am currently experiencing an issue with making a payment through Apple Pay using Stripe. Every time I attempt to complete a transaction, the payment fails to process.

Could you please assist me in resolving this issue? I would appreciate any guidance or troubleshooting steps you can provide to help me successfully complete the payme

Reproduction Steps
I am writing to inform you that I am currently experiencing an issue with making a payment through Apple Pay using Stripe. Every time I attempt to complete a transaction, the payment fails to process.

Could you please assist me in resolving this issue? I would appreciate any guidance or troubleshooting steps you can provide to help me successfully complete the payme

Question
I am writing to inform you that I am currently experiencing an issue with making a payment through Apple Pay using Stripe. Every time I attempt to complete a transaction, the payment fails to process.

Could you please assist me in resolving this issue? I would appreciate any guidance or troubleshooting steps you can provide to help me successfully complete the payme

#

@rose slate pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My goal is to be able to receive webhooks from my Customer's Stripe accounts. In the past, this was possible through connect. Now it should be done through apps, if I'm not mistaken.

I have created an app, successfully connected another account (using OAuth). Now I'm trying to call the API on behalve of the connected account, but I'm getting an error : "more_permissions_required_for_application",\n "message": "This application does not have the required permissions for this endpoint on account 'acct_1OC2Z9IesrYxZymc'. Having the 'read_only' scope would allow this request to continue."

Related Request ID(s)
req_KiiuDxzfedENwQ

What have you already attempted?
This is odd since I've requested the read_only scope during the oauth flow. My question is: Can I call the API in behalve of connected accounts during an external test?

Also, no accounts are showing up on the "connected accounts" page, which seems odd

#

@fluid grotto pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi guys, im developer for a saas about searching auctions , am im migriting hotmart to stripe.. So now the first question will be about "event when the customer pays for the subscription, i.e. right after completing the checkout".. I was looking at the documentation and there are different events, as I can't test the signature, I would like to know what it would be? customer.subscription.created??

Related Event ID(s)
customer.subscription.deleted

What have you already attempted?
creating now

What are you working on?
back-end

#

@odd cipher pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to dynamically update the name of a subscription in the Stripe customer portal? Our customers can subscribe multiple times with the same "plan" but we want them to be able to tell the subscriptions apart by a custom field.

Doc/Guide Links
https://docs.stripe.com/customer-management/configure-portal

https://docs.stripe.com/invoicing/customize#custom-fields

What are you working on?
We're building a wireless carrier, so customers can purchase multiple wireless plans, each with it's own phone number.

#

@ebon turtle pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I just got 116 webhooks sent with account.updated, what happened? What was updated? I'm unsure why the influx of account.updated webhooks happened

Related Event ID(s)
evt_1PnXrZR6HVl4RhgMcZQ0gNYK, evt_1PnXeFR1Ds7eiLspTDZkP4qM,evt_1PnXSAQpKK69dSjWi0aK2kux and many more

What have you already attempted?
Nothing, I have no idea why the webhooks were sent

What are you working on?
ecommerce

#

@wraith stratus pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// Using React, NextJS
const [paymentElementData, setPaymentElementData] = useState()
const [stepErrorMessage, setStepErrorMessage] = useState()

...

<PaymentElement
onChange={(data) => {
setPaymentElementData(data);
setStepErrorMessage(STEP.PAYMENT, '');
}}
options={{
defaultValues: {
billingDetails: {
address, // { country, postal_code }
},
},
}}
/>

Question
In our production env, the Stripe Payment Option Link (Secure, 1-click checkout with Link specifically) will flash in the <PaymentElement /> then disappear on initial page load. If I change the billing details after loading it will show. This seems to be a recent change from our prospective as the Link prompt used to always show. This only happens in our prod env not our dev or staging CI/CD env. Is this a config issue on our end or a behavior change?

What have you already attempted?
Verified all link settings in the Stripe dashboard are the same across all environments. Changed billing details within our app, Link 1-click secure will show on billing details change, or after entering a valid CC which will prompt the user to save a Link Payment

What are you working on?
SaaS company

cursive heronBOT
#

@unique shore pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to create a quote for changing products on a subscription effective immediately. I cannot find a way to create a proration quote that allows for a negative quantity/price of a product or the removal of a product, is there a way to do this?

Related Request ID(s)
evt_1PnnXOKVm4WHjNVwNgdBD4sV

What have you already attempted?
I have tried using the price_data attribute and using negative quantity and amounts but this results in failed API request as these can not be negative. I have attempted passing in the subscription_id in the subscription data but it still just adds a new line item, doesn't remove the old. I have also attempted to do this via the dashboard and cannot find a way there either so think it maybe isn't supported but wanted to confirm.

cursive heronBOT
#

@quasi nebula pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Getting "We didn’t catch your address - Seems like our system couldn’t validate the address you’ve entered. Please review your information and try again." error on Klarna when redirected from Payment Element

Related Request ID(s)
req_BCwPlFn0UU2lcc

What have you already attempted?
Checked that name and email are set as required in Payment Element.

What are you working on?
E-commerce checkout

#

@honest iris pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Having some challenges using a person token to create the `individual` on a custom connect account.

Related Request ID(s)
req_9JQgYKG47MXbRM

What have you already attempted?
We are using API onboarding to create custom connect accounts. We create an account using the create API supplying only the country in the initial call. Subsequently, a user may select `individual` as the `business_type`. We then go to add an an `individual` to the account. Logical thing to do would be the endpoint https://docs.stripe.com/api/persons/create but that does not work "Adding additional persons is not supported for accounts with business type individual.`"

We cannot use the "update" persons endpoint because there is no person ID to include.

How to create individual with a token?

What are you working on?
Use person token to create individual on the `individual` company type.

#

@fluid grotto pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
using stripe signature, this error Webhook Error: 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.
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)
...

What have you already attempted?
im using this code:

import { Request, Response } from "express";
import Stripe from "stripe";
import {
STRIPE_SECRET_KEY,
STRIPE_END_POINT_SECRET,
} from "../config/environment.js";
import { userService } from "../services/userService.js";
import { emailService } from "../services/emailService.js";

export const stripeController = {
paid: async (req: Request, res: Response) => {
if (req.method !== "POST") {
return res.status(200).send({ status: "ok" });
}

const stripe = new Stripe\(STRIPE\_SECRET\_KEY\);

const sig = req.headers\["stripe\-signature"\];
let event\: Str
cursive heronBOT
#

@brittle ingot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
go v78 api odd ball: with every transaction i pass invoice creation true: ```InvoiceCreation: &stripe.CheckoutSessionInvoiceCreationParams{
Enabled: stripe.Bool(true),
},```. One event, for some reason, cartID isn't passed in the metadata, but session is still created without error,and invoiceCreation set to false. next, the webhook fails because cartID is missing, so I check the event checkout.session.completed by pi and manually link cartID, then do a resend manually, which results in ok. for some reason, after 200 response for manual resend, another resend is triggered after 1h, fails

Related Request ID(s)
evt_1PnjLHDIoMN4jmvPlUBcFSwm

What have you already attempted?
identified checkout.session.complete by pi, linked cartID manually instead of metadata info, then hoped for an invoice... only after fix I noticed that invoice creation was set to false, even though, again, explicitly setting to true...

What are you working on?
golang implementation for self hosted checkout WITH invoice creation.

#

@sage quarry pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there. I've set up a test link payment intent and attached a couple of test cards to the link account. When I retrieve payment methods for the test customer or test payment intent, no cards are surfacing.

Related Request ID(s)
Customer test ID is 'cus_Qf765bqfWIj72D'

What have you already attempted?
I've tried to retrieve payment methods through multiple routes, but no luck.

cursive heronBOT
#

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

Code
This is concerning the payment_intent.requires_action attribute.
The next_action attribute is as follows:
"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"stripe_js": {
"rqdata": "OMx+L+VocLuGFHZ/...,
"site_key": "c7faac4c-1cd7-4b1b-b2d4-42ba98d09c7a",
"verification_url": "/v1/payment_intents/pi_3PnkczFfzadd3IOM1cCt6Kxx/verify_challenge"
},
"type": "intent_confirmation_challenge"
}

Question
A user tried to enter CC information into Stripe PaymentElement and it ended up stalling and graying out.

We haven't had any prior .requires_action payment intents not get confirmed previously. We are trying to understand WHY it happened and what we can to prevent it in the future.

We see that 3DS is common next_action step, though, we believe that is usually automatically completed without issue when needed in the flow. However, this case might be something different.

What have you already attempted?
We think a potential solution is to check for the `next_action` attribute and see if we can display an error message. But we are more concerned as to why it's occurring.

What are you working on?
We have integrated Stripe as our payment processor. It is a high traffic crowdfunding site.

#

@hushed fern pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when trying to retrieve checkout sessions from an api call the response tells me "more": True,
but there is a "next_page" field missing.

How can i iterate over all checkout sessions?
How can we for example re-sync all checkout sessions to our db?

Related Request ID(s)
None in particular, just API behavior

What have you already attempted?
with python:

stripe.checkout.Session.list(limit=2)

also stripe.checkout.Session.search (does not exist)

What are you working on?
saas application

#

@quasi nebula pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Following on from previous thread with @two-shoes re Klarna and Confirmation Tokens

Related Request ID(s)
req_xYSXpYE1UcQqRv

What have you already attempted?
Attempted to implement what was suggested, but confirm must be set to true on the payment intent and this is not what we want.

cursive heronBOT
#

@tawny zenith pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When calling the refund API, what is the best way to know if there was previously a balance amount used to pay for an invoice. We have a concept of a store credit and we'd like to know that amount so we can reverse our credit as well.

Related Request ID(s)
NA

What have you already attempted?
NA

#

@plush rampart pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
composer failed to install stripe library

What have you already attempted?
Failed to download stripe/stripe-php from dist: The "https://api.github.com/repos/stripe/stripe-php/zipball/4209ec90509656623c8976e70b31c80070e355da" file could not be downloaded (HTTP/2 503 )

What are you working on?
In person terminal

cursive heronBOT
#

@little edge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I recently made an integration in my website with stripe, and everything works fine, except adaptive pricing just doesn't work. I am using a test platform, I tried using the suffix +location_XX (such as test+location_FR@example.com, as recommended following the docs), but the prices are always presented in the currency I define (USD). How can I figure out what I have to do for adaptive pricing to work?

Related Request ID(s)
req_RpYO8pueTWJvHE

What have you already attempted?
Basically all of Adaptive Pricing docs. I already tried omitting the currency (which is specified as 'usd') in my code, tried using the location_XX suffix in the email to simulate the page loading with a specific region's price, but nothing really appears to work.

What are you working on?
A online website for a specific game which includes buying a virtual, in-game currency.

cursive heronBOT
#

@drifting portal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I keep getting the "Error: Could not find Components context; You need to wrap the part of your app in an <ConnectComponentsProvider> provider." error even though my components ARE wrapped in that Provider component.

Any chance I could send a screen recording explaining?

Related Request ID(s)
this won't be helpful, it is a part of a creating a brand new connect account in a dev environment that isn't hooked up to a Stripe parent account yet

What have you already attempted?
Looking through my Stripe API calls, looking at documentation

What are you working on?
This is a dashboard for admin in our system, and we have a section on Billing that uses Stripe Connect to set the users up for automated billing

cursive heronBOT
#

@amber dove pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When a customer is late in paying for a subscription, what APIs will be run when the customer wants to pay and also update the subscription to a new expired date?

Related Request ID(s)
I just need what API I can use

What have you already attempted?
API to trigger paid subscriptions may be required

What are you working on?
rent car website

cursive heronBOT
#

@real fog pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, good day! I have a question about the API version of a Webhook. What if the default API version of my Stripe account is using the old API version (like 2023-10-16) and then I performed an API callout where I specified the latest API version in the request. Which API version will the webhook respect? Is it the default (old) or the specified version in the callout (new)? Our Stripe account is using the latest API version as the default so I can't test the scenario I've mentioned.

Related Event ID(s)
None

What have you already attempted?
None. I am only reading this documentation. https://docs.stripe.com/upgrades#view-your-api-version-and-the-latest-upgrade-in-the-dashboard

cursive heronBOT
cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

Stripe engineers are not available at this moment. We will be back at 9am EDT

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

#

@dense pivot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On LIVE we are occasionally getting back a 402 from a POST to payment_intents which we need to handle on our side.

I am trying to simulate a 402 in the test environment but no matter what payment_method I use, test always comes back as a 200

Related Request ID(s)
0

What have you already attempted?
I have tried all the given Ireland SEPA debit IBAN numbers on https://docs.stripe.com/testing?testing-method=card-numbers&payment-method=sepa-direct-debit#non-card-payments but all of them return a 200

#

@modern lily pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm wondering if there is a way to collect the required data, verify it in the embedded onboarding flow and only create a Stripe Connect account after that.

The idea is that I would like to make the account creation step the last one in my onboarding flow to increase onboarding rates, but still verify the data the user has inputted. Then I would store that somewhere locally, but secure, to add in once the account gets created.

Thank you for the help in advance!

Related Request ID(s)
unrelated

What have you already attempted?
The only other viable solution I can see, which would work no doubt, is to swap the account creation and the onboarding embedded component, so a user account and therefore a connect account gets created first.

What are you working on?
A SaaS platform

cursive heronBOT
#

@late yoke pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This is bit of a longshot - is there any additional information available why attempt 1 for event evt_3Po0arFD9gtMBgbn0gEXMuEV for webhook we_1DJd0ZJv0bY0gREI0jqCR2eN timed out?

Related Event ID(s)
evt_3Po0arFD9gtMBgbn0gEXMuEV

What have you already attempted?
We cant find in our logs that we received the webhook event, and are looking for any additional information about the request

#

@noble loom pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why some payment intents don't have transfer_group even though there was at least 1 transfer done?

Related Request ID(s)
No related request Id

What have you already attempted?
I've tried to get the payment intent using payment intent ID (ex: pi_xxxxxxxxxxxxxxxxxxxxxx) with stripeSDK.paymentIntents.retrieve(pi_xxxxxxxxxxxxxxxxxxxxxx) . Then wanted to get the transfers from that transfer group. But payment intent was missing transfer_group. So I went with a hardcoded version of that transfer_group since I saw it's format group_`paymentIntentID` . Trying with group_pi_xxxxxxxxxxxxxxxxxxxxxx worked in receiving transfer list. A second call with stripeSDK.paymentIntents.retrieve made the transfer_group available in my response.

What are you working on?
Getting the link connection between my connected accounts payoutID with paymentIntentIds from main account

#

@gray kelp pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I did not except to get an sms randomly with a login code.

What actually happened?
The thing is that I didnt even know of Stripe let alone had an account, but someone is sending me smses to my phone number with a stripe verification code. I cant talk to support because I dont have an actual Stripe account.

Reproduction Steps
-Just space filling - Not sure how to reproduce.

Question
Could someone dm me and help resolve the issue? I would want to find out who made the account in further details as its my phone number and I can prove so. I never gave anyone permission to use my number and I did not give out the sms code to someone else either, to be exact, noone asked me for it.

#

@thorny hemlock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How does the Invoice API automatically collect from users who have set the default payment method for a customer?

Related Request ID(s)
req_2rbUB8EFPUwyGG

What have you already attempted?
I think I have created an invoice that automatically collects from the default payment method with the following TypeScript, but invoice = open and payment = incomplete.

# codes
const invoice = await stripe.invoices.create({
customer,
collection_method: "charge_automatically",
});
await stripe.invoiceItems.create({
customer,
amount,
description: "Settlement of credit shortfalls",
invoice: invoice.id,
});
await stripe.invoices.finalizeInvoice(invoice.id);

cursive heronBOT
#

@mystic mantle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Since around August 8, one of our requests to the ApplicationFee list endpoint keeps failing. We found that it has to do with expanding 'data.charge.customer' which now seems to require additional permissions?

Error: stripe._error.PermissionError: Request req_DvREYy99L2S4y6: The provided key '' does not have the required permissions for this endpoint on account 'acct_1KssQ1CTbRJHLoLD'. Having more permissions would allow this request to continue.

Related Request ID(s)
req_fUOau8oXG4CfN2

What have you already attempted?
This request works:

fees = stripe.ApplicationFee.list(
stripe_account='acct_1DymDdALmngAHmwM',
limit=10,
expand=['data.charge', 'data.account', 'data.originating_transaction',
'data.originating_transaction.customer',
'data.balance_transaction']
)

However, expanding the customer data doesn't
fees = stripe.ApplicationFee.list(
stripe_account='acct_1DymDdALmngAHmwM',
limit=10,
expand=['data.charge.customer']
)

What are you working on?
A Stripe Connect analytics platform

#

@karmic kernel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to attach default payment details of a user to a checkout session?

Related Request ID(s)
None

What have you already attempted?
Read the stripe docs on creating a checkout session

#

@thorny hemlock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to enable payment method changes in the customer portal, but not allow subscription payment methods to be changed?

Related Request ID(s)
req_otf3PPeyPTELD2

What have you already attempted?
If payment_method_update=true and subscription_update=false are set in the billing portal configuration, changes to the payment method will also be reflected in the subscription payment method. method in the subscription was also possible.

#

@swift prism pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I've integrated stripe connect and would like some clarification on the difference between capability requirements and account requirements. When there are any requirements on the account, I would like to redirect the user to the stripe hosted onboarding. Is it sufficient to just check the requirements hash on the account object, or should I also be checking it on each of the capabilities? Additionally, if there are any future requirements, will the hosted onboarding automatically collect those or do I need to wait for them to move into the regular requirements?

Doc/Guide Links
https://docs.stripe.com/connect/handle-verification-updates

What are you working on?
connect

cursive heronBOT
#

@cloud turtle pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://buy.stripe.com/6oEcONf0cfi6fKM9AA

Question
Is there a way to force the VAT as a requirement for any country outside of the United States? Currently, payment links automatically show a checkbox for VAT business, but I want this to be forced and not allow any users to checkout without VAT enabled.

What have you already attempted?
Read through all the documents and forums.

What are you working on?
Payment link for a software product

#

@teal mango pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have an Admin panel where there is a functionality for the admin to withdraw its amount so can i withdraw platform amount from the api just like we do with connected accounts

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
SaaS application

cursive heronBOT
#

@ancient bison pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
our payment element cannot save link info?

Related Request ID(s)
req_pTLVSs96TAgbqs

What have you already attempted?
in our staging payment element component, it shows link info form. I fill out my email, number and name. but next time, it keeps asking me the same question. why link cannot save my info

What are you working on?
tried many times, but it is the same

cursive heronBOT
#

@karmic kernel pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
don't understand how payment information persist between checkout sessions.

Related Request ID(s)
req_hjDorUfa2yCN5m and req_a7V9p77lysUuIS

What have you already attempted?
Different case scenarios where the user enters payment details

  1. @ checkout session,
  2. @ customer portal,
  3. @ paying for a trial
    All 3 scenarios don't persist when a new checkout session is created.
cursive heronBOT
#

@grizzled orbit pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const productsIndex = algoliaSearchClient.initIndex(indexName);
const { results: products } = await productsIndex.getObjects<Product>(ids);

Question
Which is the maximum amount of objects that can be retrieved from Algolia Index using the getObjects method with the JavaScript client?

What have you already attempted?
I've found this:
https://discourse.algolia.com/t/indexing-getting-more-than-1000-records-using-getobjects/15282

Apparently the limit is 1000 records, but that's just a random person posting on a forum, so I just wanted to confirm. Plus I like to know if I have to do something in order to increment the maximum amount of records that can be retrieved: The second parameter of the getObjects method is a RequestOptions object, but it does not have a prop for setting that.

What are you working on?
Ecommerce store

cursive heronBOT
#

@bleak fractal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I use stripe's recurrent payment API feature instead of Klarna to offer e.g. the possibility of splitting up a payment of 900$ into 3 months, 300$ each ? We were looking for a way to offer payment installments on cards stored according to this: https://docs.stripe.com/payments/save-and-reuse, and have implemented that alreayd. Our question now is if we can use the payment methods stored in that way to use recurring payments to do the above-mentioned? We mainly want to do it this way as we want to stick to only integrating stripe, and not involving any othe r platforms (Klarna, etc) ?

Related Request ID(s)
-

What have you already attempted?
We've already setup a website a mobile app and a website with a login system allowing to add and save payments in the above-linked way. The last step is to comply with the request from a customer asking to pay a bigger fee in smaller fee, distributed over months.

What are you working on?
API Integration

#

@pure locust pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to cancel all active subscriptions when deauthorizing a connected account. What would be the best practice on this? Is there a bulk subscription cancellation api? or can i do it as part of the deauthorization process?

Doc/Guide Links
https://docs.stripe.com/connect/oauth-reference#post-deauthorize

What are you working on?
SaaS platform for connected accounts can setup their own subscriptions

#

@tawdry halo pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I verify a user's address via the API manually. For example, providing the street, city, state, and zip code as parameters on the body rather than passing a document?

Related Request ID(s)
No request IDs

What have you already attempted?
Reviewed the documentation, but is unclear

What are you working on?
Address verification

#

@teal eagle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using the Stripe API to capture payment intents. However I am noticing it is refunding a few cents to the customer every time and I am not sure why.

Related Request ID(s)
N/A

What have you already attempted?
I have set the amount_to_capture parameter to the amount we calculate to capture it. It still refunds.

What are you working on?
I am building automations for cleaning business to charge customers when the cleaning is completed.

cursive heronBOT
#

@serene prism pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Event "customer.subscription.deleted" showing empty meta deta.

Related Event ID(s)
customer.subscription.deleted

What have you already attempted?
'metadata' => [
'payment_type' => Transaction::STRIPE,
'amount' => $planAmount,
'plan_currency' => $subscriptionPlan->currency->currency_code,
'subscriptionID' => $subscriptionID,
'userID' => $user->id,
'tenantId' =>$user->tenant_id,
],

#

@undone cape pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expected the ExpressCheckoutElement to display google and apple pay buttons

What actually happened?
The element is completely empty

Reproduction Steps
- Enable apple and google payment methods in stripe dashboard
- setup stripe promise and pass it into the elements provider along with the client secret for the payment intent
- render the ExpressCheckoutElement specifying apple and google pay buttons

Question
I have not yet tested this on a secure TLS connection and was wondering if express checkout options require https? If not could I get help with figuring out the requirements to get google and apple pay to show? I think the apple pay button may be missing due to domain verification but I definitely expected google to work.

What are you working on?
Setting up express checkout with apple and google pay with the react-stripe-elements library

#

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

Question
I'm having an issue wit the preview amount vs the charged amount when using the Update a Subscription. For example I am charging $5 and in my preview I am telling the user that they will be charged $4.99 but Stripe is charging $4.89. I am using Prorations and the subscription was created yesterday. Seems that on a $5.00 price and if only 1 day has passed that deducting .11cents from a plan that expires in 364 days that in 50 days it would run out of credit.

Related Request ID(s)
req_menDxTMMwZdJ55

What have you already attempted?
i've changed the proration date but that doesn't change the amount charged.

What are you working on?
I am working with prorations / subscriptions.

#

@dusk sedge pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/references/api/js-sdk#stripeterminal-create

Question
Two questions:

What are the real world scenarios that will end up calling onUnexpectedReaderDisconnect hook? Can you give some examples?

How can I test this flow with a reader in the sandbox environment?

What have you already attempted?
I've tried turning off the reader and disconnecting the wifi and with no success.

What are you working on?
I work at PEEK, we use stripe custom connect, standard connect and stripe very actively on a day to day basis for thousands of partners

cursive heronBOT
#

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

Code
val config = DiscoveryConfiguration.LocalMobileDiscoveryConfiguration(isSimulated = false)
Terminal.getInstance().discoverReaders(
config,
object : DiscoveryListener {
override fun onUpdateDiscoveredReaders(readers: List<Reader>) {
readers.filter { it.networkStatus != Reader.NetworkStatus.OFFLINE }
val firstReader = readers.firstOrNull() ?: run {
result.error(STRIPE_READER_ERROR, "No readers found", null)
}

Question
Where are getting an error when trying to connect to the Local mobile reader. The SDK is returning the following error:

Reader connection failed... Contactless transaction failed com.stripe.core.aidlrpc.AidlRpcException: Service never connected. Reader connection failed... UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR

What have you already attempted?
This error is happening on Android, we have tried multiple phones from the accepted list, review the documentation and the implementation is according to stripe docs

What are you working on?
We are working on the implementation of Tap2Pay on Android Native: https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android

#

@pure sonnet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've created 3 Customer Portal Configurations with different product lists. A client can subscribe to the three different product lists as separate links to these product lists. When it comes time to update the product choices, the portal are showing products from other lists. Is there a way to prevent that?

Related Request ID(s)
https://docs.stripe.com/api/customer_portal/configurations/create

What have you already attempted?
API Code adjustments

What are you working on?
Custom Billing Portal with multiple subscriptions plans. Each Stripe Customer Portal have its own subscription.

#

@unborn tapir pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Usage updates should only increment by the reported quantity

What actually happened?
If two reports are sent within short succession, both are added together.

Reproduction Steps
send 2 usage reports within the same second(?)

Question
I noticed that the new "meters" feature calls out "high throughput usage reporting" and I am wondering if this is a known limitation of the old usage-records billing.
We currently use high-watermark style billing, so I am unable to switch to meters at this time. I'd like to know either:
a) If there is a timeline for `max` aggregations
b) A recommended workaround

What are you working on?
https://uploadthing.com

#

@wooden ether pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const options = {
allow: 'payment *',
mode: 'payment',
amount: 50,
currency: 'usd',
setup_future_usage: "off_session",
on_behalf_of: "acct_1PQssECNMS71SFUk",
paymentMethodCreation: 'manual',
// Fully customizable with appearance API.
appearance: {/*...*/},
};

elements = stripe.elements(options);
paymentElement = elements.create('payment');
paymentElement.mount('#payment-element');

//later in the code, the amount is updated
elements.update({amount: 2000});

Question
I am getting this error when I try to update the amount:

err=IntegrationError: Invalid value for elements.update(): amount should be a positive amount in the currency's subunit. You specified: 2000.

What have you already attempted?
I tried putting the update inside $(document).ready() because I thought the update was happening too fast.

What are you working on?
Integrating Stripe with an existing application

#

@restive charm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to charge a 1% fee on transactions created by our Stripe App?

Related Request ID(s)
N/A

What have you already attempted?
Nothing yet

What are you working on?
Embeddable pricing tables for Stripe + other payment gateways.

cursive heronBOT
#

@fossil latch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe Issuing virtual pepaid card API is it offered for website business in Toronto, ON. Canada. the Cards customization is done in the website admin my site is prepaidcreditcard.co

Related Request ID(s)
stripe API for virtual prepaid cards

What have you already attempted?
I have contact the chat support in stripe but he said you going to do more research.

What are you working on?
I am going to add API key to my website admin page

cursive heronBOT
#

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

Question
We have an appication build on react native/node js. We are using express account to create connected account. Issue it keeps saying account Restricted. the reason is business webiste and owner address. the user did not type business webise or owner id.

Related Request ID(s)
req_MAmHXTm4LZ4ES8

What have you already attempted?
debuging throgh the logs

#

@viral bear pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I present an Apple Pay payment sheet using confirmPlatformPayPayment from stripe/stripe-react-native without a stripe account and client secret? I only need details from the payment response to use it (i.e. shipping/billing info and card brand/last 4). Everywhere I look online for an open-source solution for React Native says to use Stripe, but it's kind of crazy seeing these recommendations when it seems like it requires a Stripe account to use it.

Related Request ID(s)
n/a

What have you already attempted?
n/a

What are you working on?
Need to collect a payment response for apple pay payment sheet to construct an apple payment through third party provider that is not Stripe

#

@maiden blaze pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```
const { error } = await initPaymentSheet({
merchantDisplayName: 'AA',
customFlow: true,
setupIntentClientSecret,
});``` this is called onMount
```const { error: presentError } = await presentPaymentSheet();

setIsLoading(true)

const { error: confirmError } = await confirmPaymentSheetPayment();

await onSuccess()

setIsLoading(false)
```

Question
can I have a loading state in the payment sheet on React Native that shows up as a bottom popup modal? so what happens right now is the moment I click "Continue" button in the add credit card modal, the modal is closed right away. however I want to display a loading state in the modal while I'm processing the request on my backend

What have you already attempted?
nothing :( couldn't find anything.

cursive heronBOT
#

@undone cape pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripePromise = loadStripe("{{PLATFORM_PUBLIC_KEY}}", {
stripeAccount: "{{CLIENT_ACCOUNT_ID}}",
apiVersion: "2023-08-16",
});
const clientSecret = paymentIntent.clientSecret;
return (
<Elements stripe={stripePromise} options={{clientSecret}}>
...
</Elements>
);

// Rendered within the above provider
<ExpressCheckoutElement buttonType={{ applePay: "donate", googlePay: "donate" }} paymentMethods={{ applePay: "always", googlePay: "always" }} />

Question
I am trying to see apple, google, and amazon pay in an ExpressCheckoutElement. I have realized that apple and google are probably not showing because we're on firefox but I would expect amazon pay to show and it does appear here: https://4242.io/test/express-checkout-element/.

What have you already attempted?
- Enable apple and google payment methods in stripe dashboard
- setup stripe promise and pass it into the elements provider along with the client secret for the payment intent
- render the ExpressCheckoutElement inside an Elements provider

We haven't ran this on chrome to see if google will show up yet but I would expect the amazon pay to show up at least

What are you working on?
We are moving from an integration that only did card payments to one that allows express checkout

cursive heronBOT
#

@small willow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
It's not totally clear to me what "allow_redisplay" means or even how to set it with my workflow. I will add more information that doesn't fit in this text field.

Related Request ID(s)
req_zP7ASCO8My4uWC

What have you already attempted?
I've read the docs for SetupIntent and PaymentMethod. I've successfully changed my Stripe Elements frontend code to set the field but I'm wondering if there's a way to set it on the backend (Ruby on Rails) when creating or confirming the SetupIntent.

What are you working on?
A website where users can add, create, and manage subscriptions for multiparty donations using Stripe Connect

#

@jade bane pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripeClient->checkout->sessions->create([
'line_items' => [],
'shipping_options' => [
'shipping_rate_data' => [
'display_name' => 'Porte',
'fixed_amount' => [
'amount' => 2500,
'currency' => 'eur'
],
'type' => 'fixed_amount',
],
],
],
], [
'stripe_account' => '...'
]);
]

Question
When creating a session for direct payment from a connected account, I am looking for the correct way to add the shipping cost, but when sending the request I receive the following response": "message" => "Invalid array"
"param" => "shipping_options"

What have you already attempted?
I checked the documentation, adjusted my code but I still get the same return: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-shipping_options

What are you working on?
I'm developing a payment in an ecommerce

#

@restive charm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
1% application fee from Checkout Session performed through Stripe App

Related Request ID(s)
NA

What have you already attempted?
Previous chat thread: 1273711949305085995

Nothing yet,

What are you working on?
Embeddable pricing tables for all payment platforms.

#

@main zephyr pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to receive the webhooks sent by Stripe in my fastapi server, but I've been receiving 422 error when I attempt to construct an event despite properly receiving the event, secret key, and headers.

Related Request ID(s)
I only have request ids that went pass that

What have you already attempted?
I've used docs, I've searched youtube videos, I've followed fastapi webhook examples on github.

cursive heronBOT
#

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

Code
$session = $this->stripeClient->checkout->sessions->retrieve($sessionId);
$customer = $this->stripeClient->customers->retrieve($session->customer);

    dd\($session, $customer\);

No such checkout.session: cs_test_b16GZ9

Question
When completing payment, the buyer is redirected to a url passing the session_id. In my controller I am trying to retrieve data through session_id but returning an error

What have you already attempted?
I don't know what to try, I believe I'm doing it correctly according to the documentation: https://docs.stripe.com/payments/checkout/custom-success-page

#

@elfin prawn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Deactivation of the 2-drop verification feature for a demo (or Sandbox) environment

Related Request ID(s)
Sandbox

What have you already attempted?
Deactivation of the 2-drop verification feature for a demo (or Sandbox) environment

What are you working on?
sandbox

#

@carmine plaza pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi there, I need help and apologies for lack of knowledge. We currently have a stripe account, but a lot of payments are being declined. I found out that I need to upgrade my integration to no longer fail payments that require authentication. I don't know where to go

Related Request ID(s)
Don't know

What have you already attempted?
I've tried the contact on the website, but I don't know how to even access the place where I do the changes that the online support tells me to do.

What are you working on?
A church stripe account for donations

cursive heronBOT
cursive heronBOT
#

@gloomy quail pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I have no code I only reaf Stripe docs

Question
I'm building a app There are three persons Platform, vendors and customers, Vendor charge from client for his services, I want to implement the cron job which automatically create invoices for clients (I want to make invoices manually and don't want stripe invoices) and charge them event if clients are offline but i don't know which stripe integration method fit in this condition

What have you already attempted?
I read stripe docs

What are you working on?
I'm building a app There are three persons Platform, vendors and customers, Vendor charge from client for his services

#

@restive charm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How long does subscription_data.application_fee_percent apply for?

Related Request ID(s)
N/A

What have you already attempted?
Nothing, just a question.

What are you working on?
Embedable pricing tables for all payment platforms.

#

@robust fjord pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const publishableKey: { [key in CountryCode]: string } = {
CA: config.get('stripe.ca'),
US: config.get('stripe.us'),
};

const key = publishableKey[countryCode];

  <StripeProvider publishableKey={key}\>
    <CardField countryCode={countryCode}/\>
</StripeProvider\>
  <Text\>Select Country</Text\>
  <RadioGroup
    value={countryCode}
    onValueChange={selectCountry}
  \>
    {radioBtn\('CA', β€˜CAN’\)}
    ...

Question
Hello, I am running into an issue with the react native SDK where I am trying to pass in the country code to the Cardfield component, through a select form control. The default is set to 'US' and I want to change it to 'CA' to have the postal code input switch from numeric to alphanumeric.

What I'm seeing is that it isn't changing the postal code input to alpha numeric when I pass 'CA' in the countryCode prop.

What have you already attempted?
I have tried remounting the CardField component, but It then gives me an error stating 'CardDetails not complete' when trying to create a token using the CreateToken method from the useStripe hook. However logging from the onCardChange prop, I see that all fields are filled and valid.

cursive heronBOT
#

@jade bane pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For card payments, the customer is redirected to return_url passing the session_id and through it I can obtain the payment data (so I believe). When payment is made by ATM, the customer is redirected to a screen containing the ATM entity and reference. How will I be able to identify in my back-end that the purchase process has been completed if the customer was redirected to a URL that I do not have access to?

Related Request ID(s)
none

What have you already attempted?
Sorry, I'm a little lost on this question

cursive heronBOT
#

@final mural pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm currently using API version 2020-08-27

We're looking to implement subscription items without the same flow as regular paymentIntent checkout sessions.
In test mode, no subscription in the session call response like payment_intent. I couldn't find in the logs whether this was removed or not. Can you confirm whether it should still be provided or not?

Related Request ID(s)
req_EcpvgiShpaotrc

What have you already attempted?
tried adding an additional call to retrieve all subscriptions and filter for the new one but it looks like it doesn't get created until payment. is that the case?

cursive heronBOT
#

@thorny hemlock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In which parameter can I change whether the payment method can be changed or not for subscribed subscriptions in the Customer Portal?

Related Request ID(s)
req_hWJjN93411GU97, req_otf3PPeyPTELD2

What have you already attempted?
It was confirmed that the same session configuration can create modifiable and unmodifiable patterns in the customer portal.
No parameters were found in the subscription object itself that might contribute to that part.

cursive heronBOT
#

@modest citrus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When the payment for the first invoice for the subscription created via the subscription schedule fails, the subscription status becomes past due and stripe will do smart retries. Is there a way for the subscription to be incomplete instead when this happens and not do smart retries?

Related Request ID(s)
req_mHMvQCrOtFjj9s

What have you already attempted?
we created a subscription via the subscription schedule, but the subscription status becomes past due

cursive heronBOT
#

@marsh sedge pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=tap-to-pay#discover-readers

Question
I use Tap-to-phone android to connect the Stripe to my personal payment terminal. I am wondering the stipe keep on creating a new livemode reader in my reader which make me harder to handle it.

What have you already attempted?
I tried to save the created reader so to use it back later, but it failed with error.

cursive heronBOT
#

@lucid cairn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to force a subscription schedule to evaluate an error on the 1st subscription phase (i.e. if the payment fails)? I'm expecting it to be in incomplete state but it returns past due. I only need this behavior for the 1st phase. The succeeding phases can do smart retries.

Related Request ID(s)
req_mHMvQCrOtFjj9s

What have you already attempted?
Create a subscription schedule with invalid payment token for the customer. 1st phase returns past due instead of incomplete.

What are you working on?
SAAS

#

@raven hamlet pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Terminal.getInstance().collectPaymentMethod(
paymentIntent,
object : PaymentIntentCallback {
override fun onSuccess(paymentIntent: PaymentIntent) {
readerListener.onRequestReaderDisplayMessage(ReaderDisplayMessage.REMOVE_CARD)
confirmPaymentIntent(coroutineScope, paymentIntent, readerListener, showSuccessAnimation)
}

        override fun onFailure\(e\: TerminalException\) {
            coroutineSco

Question
I'm developing an a payment app in KOTLIN which has persistent payment intents being created after a payment intent is confirmed. However, a user can press a button while the payment intent is waiting to be collected (collectPaymentMethod) and change the payment amount. whats the best way to change the payment intent, or should i create a new one.

What have you already attempted?
i have tried cancelling the old payment intent and creating a new one, but the old payment intent only gets cancelled after its payment is collected. i believe there is an issue with synchronization/coroutines which im on not too familiar with.

What are you working on?
payment app where it keeps making new payment intents after old payment intent gets completed.

cursive heronBOT
#

@merry sand pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My use case:
As a parent I need to add 2 ormore child.
When I add first child in middle of the month I need parent to pay full fee of the month but i will store the credit amount also.
And when the credit amount is grater than advance fee then while adding next child im getting invoice already paid response.
I solved this by creating two customer for two child.
But while adding second child if I choose exisiting card of the parent I am getting payment_method_id has been already used by a customer>
how can a solve this selecting card problem.

Related Request ID(s)
none

What have you already attempted?
none

What are you working on?
stripe payment

cursive heronBOT
#

@marsh sedge pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=tap-to-pay#discover-readers

Question
Hi, not sure why my thread is locked and closed. Let me re-ask the question again.
I have a Android System that use Tap-To-Phone to discover & connect to my personal reader. So everytime I quit and restart the app, the Stripe will create a new Livemode reader. So stripe will show a list of the readers but actually all these reader belong to one reader. So how am i going to connect the reader that is firstly created?

What have you already attempted?
I tried to get all the reader I have in the discovery, but it always show one reader in I also try to save the firstly created reader, but I unable to do so.

#

@tepid cliff pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/customer-management/integrate-customer-portal#customize

Question
Is there is way regarding subscriptions, when upgrading we need invoice immediately, but when downgrading i want to downgrade in the next billing cycle.

We are using customer portal session, we create the session and send url to the client side.

What have you already attempted?
I checked i got no guide.

thank you

What are you working on?
It is subscription based saas, I want to allow upgrade immediately, downgrade at end of the billing cycle. We give billing portal url to user, so he can manage it

#

@gleaming umbra pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I don't Nothing expect to happen

What actually happened?
We noticed that you passed a customer's full credit card number to Stripe's API.Β To keep your customer's information safe, we don't process charges that include full card numbers.
To continue processing payments with Stripe, use one of ourΒ official client integrationsΒ to collect payment information securely. These integrations ensure that sensitive card data never ne

Reproduction Steps
Can expose your customers' sensitive data to bad actors.
Requires you to meet complex PCI complianceΒ requirements
Makes it harder forΒ Radar, Stripe's fraud protection tool, to protect your business

Question
How i can solved "we don't process charges that include full card numbers"

What are you working on?
Api intigration for payment

cursive heronBOT
#

@opal cliff pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
do we need to authenticate when adding cards to the customer ?

Related Request ID(s)
NOID

What have you already attempted?
When a user tries to add a card, they get an error like 'Your card was declined. This transaction requires authentication

What are you working on?
adding cards to the customer

cursive heronBOT
#

@livid kernel pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
How do we ensure that each of our user have one single Stripe customer id.
Previously we were working with create payment link based on your documentation here:
https://docs.stripe.com/payment-links/create
But we found out that create payment creates a new customer every time we create a checkout link for our users which is not what we want.
Based on research we found that checkout flow allows us to ensure that we have one customer object in Stripe per one user in our database. But based on your documentation it is not clear to me how can we achieve that?

What have you already attempted?
Previously we were working with create payment link based on your documentation here:
https://docs.stripe.com/payment-links/create
But we found out that create payment creates a new customer every time we create a checkout link for our users which is not what we want.

#

@fierce mortar pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Our system allows people to sign up for classes and pay by a subscription per class. When they sign up for a new class, we use a payment intent or a setup intent to take card details. This means that if they re-use the same card, we have multiple payment entries, although technically, they are for the same card. Is there any way that Stripe can detect the same card, and re-use an existing setup intent, or should we be handling this some other way?

Doc/Guide Links
The general Stripe docs.

What are you working on?
Extra curricular classes manager.

#

@lucid nacelle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I didn't get complete address from shipping delivery address response in stripe js google pay. Can you help me please?

Related Request ID(s)
Logs

What have you already attempted?
I am trying get phone number but response is emapty

What are you working on?
I am working on Laravel saas project

cursive heronBOT
#

@gloomy quail pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripe = require('stripe')('sk_test_β€’β€’β€’x4sd');

const customer = await stripe.customers.create();
const setupIntent = await stripe.setupIntents.create({
customer: '{{CUSTOMER_ID}}',
automatic_payment_methods: {
enabled: true,
},
{
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
}
});

Question
I want when i create payment intent i create customer and this customer create under connected account not platform account
It is giving me this error no such paymet method

What have you already attempted?
I tried this code

#

@tepid cliff pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/prorations

Question
Downgrading Plan at end of billing cycle and Upgrade immediately.

Sorry I reopening this, previous thread is locked.(1273880907107012690). I am trying to understand a little bit.

As you as mentioned, we can not configure prorations in directly in customer portal session. I our app we plan to use customer portal to manage subscriptions including upgrade and downgrades.

So, now for our requirements we will have to implement custom UI designs and endpoints.

Am I right? Is the approach we have to take ?

Is there is any previous issues/ docs available for this scenario?

What have you already attempted?
none

cursive heronBOT
#

@simple bronze pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Currency conversion based on charge API

Related Request ID(s)
Currency conversion based on charge API

What have you already attempted?
stripe.exchangeRates.retrieve('usd');
but it's throwing invalid_request_error GET: /v1/exchange_rates

What are you working on?
We're maintaining our analytics and needed the payments stored on one single currency

cursive heronBOT
#

@formal shell pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I generated discount codes via api for a promo, but they don't work. I get invalid code.

Related Request ID(s)
req_D6dv7AL2ev47Sp

What have you already attempted?
Removed the promo and generated the codes again.

#

@wild lynx pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I usually record the information that comes after a payment transaction immediately, but these transactions are also sent via webhook and the same recording process is done there. As a control, I put the uniqueness of the ids. But sometimes my post-transaction record and my webhook record are very close to each other and create a double record. What is the best method you can suggest to solve this?

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

What are you working on?
customer invoice system

cursive heronBOT
#

@lofty orbit pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/products-prices/pricing-models

Question
I wish to create a product with an introductory pricing model i.e. when the user subscribes to my product for the first time it pays an introductory price let's say $8 and for the subsequent renewals, I want to deduct a standard price let's say $22. After going through the Stripe docs for recurring pricing models I am unsure whether any of them is suitable or not or do I need a workaround. Please guide me.

What have you already attempted?
I have tried the graduated tier pricing model, but I guess it is intended for a different use case. The only other workaround I can think of is creating two flat prices in my product and write a custom logic to fetch the prices in my backend system.

#

@opal cliff pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
May i know why this card was declined

Related Request ID(s)
req_RdDzGFVfFffYu3

What have you already attempted?
For some users card was declining.. can you please check above request id

What are you working on?
When user tries to add card

#

@white warren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Once customer pays using PaymentLink sended by email, how can I know he have succesfully payed?

Related Request ID(s)
plink_1PoMBOJjXBonDcGmYfNp3aMJ

What have you already attempted?
If I retrieve the paymentLink, is there any field that indicates me that this payment is done?

#

@umbral ember pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i am using stripe for offline payments, sometimes i get an error saying that the user needs to be authenticated, so i bring my user online and call the confirmCardPyment API in javascript, the documentation of this method say's sometimes if the requires_confirmation field of paymentIntent equals 'requires_confirmation' a server-side confirmation is needed. I need to understand this when and why a server-side confirmation will be needed?

Related Request ID(s)
?

What have you already attempted?
in may tests i never get to confirm server side so i juste need to understand

#

@cold dragon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I tried to create subscription schedule but ended with error message "All phase items prices must be recurring."

Related Request ID(s)
req_Hxv1Wt75G3KjxK

What have you already attempted?
I have attempted to create schedule using recurring price and is working well but incase of one off it is still showing the issue

What are you working on?
I am stuck in this step

#

@harsh temple pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can somebody explain my the difference of Capturing a PaymentIntent and Confirming it? And when to use Confirm?

Related Request ID(s)
.

What have you already attempted?
.

What are you working on?
Marketplace using Stripe Connect

#

@next void pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm a dev from a series A company, recently we're attempting to build a credit-based referral system. And wanna know which feature from Stripe is best at implementing discount.

Related Request ID(s)
N/A

What have you already attempted?
In our credit-based referral system, we wish to grant user credits every time some particular action had been performed, while automatically deduct distinct amount from users' next bill.

Learning from the doc, promo code or coupon seems to offer discount abilities. Meanwhile I'm not sure which offers this kind of on-demand, ad hoc amount deduction. Thus I wanna find some guidance

cursive heronBOT
#

@faint fractal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am facing an issue when I am trying to connect a payment source to a customer who is in connect account. How can I get the token for customer of connect account?

Related Request ID(s)
-

What have you already attempted?
Currently, I am getting token from client side using stripe.js. It issues the token, but when I try to attach this token to create payment source and add card to customer, it gives me an error that "No customer found with id cus_xxxxxxx". When I pass the connected account id, it does not create a payment source from SourceCreateOptions() and it gives error "Invalid token id: tok_xxxxxx".
When I try to add source to user in platform account, it doesn't give any error, but passing the customer id of connect account is giving error.

What are you working on?
I am working on a way that Connect Account owner should be able to get payments from the customers available in connect account.

#

@gloomy quail pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
There is no code at the moment

Question
Is it possible that platform create customer on behalf of connected account and created customer create under the connected account not under the platform account because it is our app requirement to not show transaction details on platform account so i want to use stripe direct charges and i want to charge customers in future not immediately

What have you already attempted?
I read docs but there is no article which explain how to create customers on behalf of connected account

cursive heronBOT
#

@unique cedar pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
AliPay would be available as a payment method for Chinese customers on staging environment.

What actually happened?
When using EUR as a currency, even when customer has a Mainland Chinese IP address, AliPay is not available.

Reproduction Steps
-> Create a customer
-> Go to Stripe Invoice page. Card, PayPal and SEPA Debit are shown as payment options, but AliPay cannot be used.
-> Same applies when using Stripe Elements on our website

Question
Hi! Could you please help me to test AliPay on sandbox/test environment? I've tried using it on both Stripe self-hosted page and with Stripe Elements embedded to our page, but AliPay is not shown as a payment method. we're using LambdaTest to make sure the IP we use is from Mainland China.

What are you working on?
Enabling local payment methods.

#

@cobalt mist pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm integrating stripe into node js backend and vue3 frontend, i need to just accept payment whenever user wants. But unable to understand which service to use, or any reference docs, please assist

Related Request ID(s)
None

What have you already attempted?
I have gone through payment intent docs but could not understood

cursive heronBOT
#

@solemn wind pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Im trying to replicate the Churn report available in the revenue reporting beta. The methodology states that "Date of churn is based on the time at which the customer cancels the subscription or when the payment failed." I cant find the field that holds the date for unpaid (AKA involuntary) churn. The customers who have involuntary churn have a NULL cancel_at date. Should I be looking at event logs to grab the date?

Related Request ID(s)
NA

What have you already attempted?
Looked through subscriptions API

What are you working on?
Replicating the churn report available in the Stripe UI

#

@narrow shoal pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I talk to support if I can not log in because I am trying to change my number.

Related Request ID(s)
8394856

What have you already attempted?
everytime I try to talk to support it tells me to log in but I can not

What are you working on?
How do I deal with this issue and is there a direct number I could call?

#

@upbeat tulip pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can i assign customer cards to another customer in the same platform account ?

Related Request ID(s)
na

What have you already attempted?
na

What are you working on?
Transferring customer card to another customer

cursive heronBOT
#

@spring portal pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<ConnectAccountOnboarding
onExit={() => {
window.top.location.href =
props.parentUrl +
"/practice/onboard_express";
console.log("onboard exit....");
}}
/>

Question
Embedded Express onboarding form drop downs are not visible on IFrame.

What have you already attempted?
We tried to adjust the position and the height of the dropdown.

What are you working on?
We are using embedded express onboard form, in our Iframe.

cursive heronBOT
#

@terse scroll pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I wasn't anything to happen, really.

What actually happened?
I had only one element inside my Business list called "Invoice Master". I was messing around with the CLI client, and now suddenly there is a new business called "invoicemaster.org" in the list. Even more strangely, it can only be used in Test Mode. When I try to turn test mode off, it says "Livemode is disabled for testmode only accounts"

Reproduction Steps
I do not really know how this happened, so no idea how to reproduce it

Question
What is this new account, and this "live mode"? I feel reluctant to delete it, without knowing more about it...

What are you working on?
An Invoicing platform

#

@last zealot pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In terms of BACS DD should I handle both events - payment_method.detached and mandate.updated?

Related Event ID(s)
evt_1PoQswKYpOxYIfBumtWpSqLI

What have you already attempted?
I've implemented BACS DD in my app. I'm considering situation, where bank rejected the mandate. I've realized that Stripe sends two events in that case - payment_method.detached (which I handle) and mandate.updated which informs me that the mandate is inactive right now. From my perspective I shouldn't care about mandate.updated, since I need to be informed only whether the payment method is attached or detached, but I'd like to know if there is any case, when mandate.updated (with information that it is inactive) will be emit without payment_metod.detached?

cursive heronBOT
#

@limber crescent pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Payment to go through

What actually happened?
PaymentIntent status:
requires_payment_method

Reproduction Steps
Go to checkout page - fill in test card details - page reloads

Question
In the last week payments have started appearing as incomplete and when looking at the details it is as if the payment method was not added. When trying to pay I am adding my payment details correctly.
Transactions show: A request to create a PaymentIntent completed

What could it be?

What are you working on?
Client website

cursive heronBOT
#

@rapid siren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know if it is possible to configure how often the capital is sent to the linked accounts that I have in my project.

Related Request ID(s)
N/A

What have you already attempted?
Currently, at the moment a collection is made, we transfer the corresponding commission to our clients' accounts. But we need to have this money transferred to your bank not every day, but once a month to avoid accounting inconsistencies. How can I change this configuration? We currently have over 200 accounts connected.

#

@neat coyote pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
The invoice that the client scheduled for 7 days is scheduled for the seventh day

What actually happened?
The invoice was created the same day instead of waiting 7 days

Reproduction Steps
This is something that I am still not able to reproduce

Question
Is this an non expected from your side? How was this possible to happens?

What are you working on?
I am a QA From a company that uses Stripe

#

@umbral nest pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
why do i usually get this api error

{'error': {'message': 'An error has occurred confirming the Checkout Session.', 'request_log_url': 'https://dashboard.stripe.com/logs/req_e2PzvYF9fLUx9d?t=1723821625', 'type': 'invalid_request_error'}}

like idk what to do in this error

Related Request ID(s)
1723821625

What have you already attempted?
ive already use all cookies in request but can't seems to help it

What are you working on?
a stripe server for my friend

#

@fickle narwhal pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
SELECT current_timestamp AT TIME ZONE 'America/Denver';

Question
I'm using Sigma to generate a series a of reports. One of my requirements is to convert date/times to Mountain Standard Time. The code provided is how Trinio explains this, although it results in errors. Simply put, I'd like to take a timestamp represented by an expression (current_timestamp, date_add, date_trunc, etc) and apply a timezone so that the output shows in said timezone rather than UTC.

What have you already attempted?
Using a series of different date/time functions provided within Trinio docs. I feel like I'm missing something extremely simple here.

What are you working on?
Sigma - Revenue Reports

#

@glad mirage pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For an application that uses the Connect functionality to "link" the customers using the app, is it possible to create Webhooks for the customer's account programmatically?

Related Request ID(s)
req_FSm3K7qssG1ihe

What have you already attempted?
You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead?

cursive heronBOT
#

@ripe dome pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I tried to download the W9 for a Connected Account from the dashboard, which should just work and download a PDF.

What actually happened?
It just sends me in an endless loop where it asks me to re-sign in with 2FA. I sign in, and then I navigate back to the Tax Forms, try to download--and forces me to re-sign in again. Video: https://www.loom.com/share/c043c1505a6a43bb8626b81e70e4d451?sid=fa6ca706-b29d-4676-a364-79c58c0ce6a5

Reproduction Steps
Try to download a W9 form from Stripe dashboard.

Question
How can I get the form? Need to download it.

#

@lime echo pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://support.stripe.com/questions/moving-to-invite-only-in-india

Question
We want to integrate the stripe checkout in our platform, we are based in India. But this doc suggest that it is only an invite only wrt to India.
Does Stripe has issues with India regulations?
further adding if we want to switch to United Kingdom what would be required for us to verify so that we can start integrating stripe in our platform.

Also will it take payment then in uk currency or USD or are we allowed to configure it?

What have you already attempted?
We have integrated stripe subscription and checkout in our platform. But wrt to document mentioned, we are confused will it work with an Indian application?

#

@glad cosmos pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I get the Stripe fees paid from a checkout.session.completed webhook in the latest api version?

Related Event ID(s)
we_1KQyLlCfwYrvlXdJinHeZQ1y

What have you already attempted?
We upgraded from v.2.63.0 to v10.7.0 but in v.2.63.0 we used to be able to get the payment intent id from the checkout.session.completed webhook. We would then query the payment intent by id and that object had the balance transaction id. We would then query the balance transaction object, which had the Stripe fees we needed. 3 queries wasn't ideal but that was the only way we were able to retrieve the information. Now, v10.7.0 the payment intent object does not have the balance_transaction_id. How do I get the fee from a checkout.session.completed webhook in the latest api version?

cursive heronBOT
#

@upper tusk pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm receiving the `account.application.deauthorized` webhook and we have users with multiple accounts in our application that use the same account id `acct_***` is there anything I can do with App obj?

```
{
"id": "evt_****",
"object": "event",
"account": "acct_***",
"api_version": "2024-06-20",
"created": 1723785748,
"data": {
"object": {
"id": "ca_****",
"object": "application",
"name": ""
}
},
"livemode": true,
"pending_webhooks": 1,
"request": {
"id": null,
"idempotency_key": null
},
"type": "account.application.deauthorized"
}
```

Related Event ID(s)
evt_1PoIcKLYzIRzWq2T79UUqy59

What have you already attempted?
I have this wired up and then i realized that stripe ids are used across multiple accounts in our system

What are you working on?
I need to notify our user that there oauth connection is not valid

cursive heronBOT
#

@soft gale pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
async buy(): Promise<void> {
this.fetching = true;
this.disablePayButton = true;
const name = this.stripeTest.get('name').value;
const tokenIds:any[] =[];

// Set the first key before the first token creation
this.initializeStripe\(this.publicKeyForFirstTranscation\);
await this.waitForCardComponentToRender\(\);


this.handleSubscription\(this.stripeService.createToken\(this.card.element, { name }\),
  async \(result\) =\> {
    if \(result

Question
Issue with Stripe Card Reader Processing Multiple Payments

We are encountering an issue with the Stripe card reader when trying to process two separate transactions within the same session. The goal is to charge the customer for the order fee and then for the software fee, each as distinct transactions. The challenge arises when attempting to switch between two different API keysβ€”one for the restaurant and the other for the software company

What have you already attempted?
We have tried our implementation but having an issue for the software fee to be charged.

What are you working on?
A retail and restaurant Point of Sale System.

#

@pulsar notch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi folks, question involves react-native-payments and applepay. We are working on adding applepay to our app currently and the package that was once the defacto "react-native-payments" seems to be abandoned and the readme points people to use the one provided by stripe. I'm here to get confirmation if using stripe as the payment processor is a requirement to use the applepay component provided by stripe. If that is the case, I find it alarming that a processor-agnostic project was abandon for one that explicitly requires the use of stripe payments. Please confirm.

Related Request ID(s)
N/A

What have you already attempted?
N/A

What are you working on?
Applepay on React Native

#

@covert slate pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
try:
await stripe.Invoice.create_async(...)
except RateLimitError as e:
msg = f"Got {type(e)} from Stripe while trying to {action_name_to_log}."
logging.warning(f"{msg})

Question
Can we recommend how to make an abstract wrapper for stripe for all stripe api method. That will handle and different errors?

What have you already attempted?
Many things. I trying to do some decorators, but i am not sure if it's a right approach

#

@molten tree pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In Stripe.js, when a user submits their credit card information, the SDK calls POST /v1/payment_intents/:id/confirm with payment_method_data[type]=card. However, in the Stripe API Docs[1], the payment_method_data parameter does not list card as a supported type. Where can I find the documentation on how to submit card information via the client-side using PaymentIntents?

[1]: https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_data

Related Request ID(s)
N/A

What have you already attempted?
https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method_data

What are you working on?
Custom payment UI flow that doesn't use Stripe.js but does use PaymentIntents.

#

@candid peak pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to use the payment element to complete paypal purchases. I do not wish to create a payment intent in advance, and instead want to use a payment method/confirmation token that I can later create an intent with. Is this possible?

Related Request ID(s)
none

What have you already attempted?
Submit elements and create a confirmation token. Paypal modal/redirect does not occur on submit

#

@autumn halo pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Not sure what the behavior of this will be or if I can change it to something that is a best practice approach. If a customer pays with a 100% off promo code for a monthly subscription, does it mean that after month 1 they will start paying? Or will they be cancelled automatically based on my billing dashboard settings? Or will each month be free for them if they used a 100% off promo code once?

Doc/Guide Links
No links, just curious

What are you working on?
A form where a user could buy 100% off promo codes to share with others as a gift.

#

@edgy pasture pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const elementsOptions = {
mode: 'payment',
amount: 1099,
currency: 'usd',
};
<Elements stripe={stripePromise} options={elementsOptions}>
<div className="w-full">
<GoogleAppleLinkPayButton />
</div>
<div className="w-full">
<CashAppPay />
</div>
</Elements>

Question
The GPay button is not clickable, I just updated to the latest wallet implementation.

What have you already attempted?
I have tried to refactor for different types of configurations and added logging but still face this issue. I also made sure to register my test ngrok url in "Payment method domains"

What are you working on?
Trying to implement a payment method (Gpay).

cursive heronBOT
#

@restive charm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a secure way to allow customers to pass customer_id's on the frontend?

Related Request ID(s)
N/A

What have you already attempted?
Nothing yet

What are you working on?
Embeddable pricing tables for all payment processors.

#

@warm reef pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have requested balances, transactions, and owner history as we've set up financial connections. Will we be charged once we set up the API to actually call those endpoints, or will we be charged automatically because we requested the capabilities?

Related Request ID(s)
acct_1PbOWAIv5qZ8Xj8O

What have you already attempted?
Reviewing stripe docs

What are you working on?
Building custom connect platform to collect payments

cursive heronBOT
#

@clever lark pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I just turned on Connect and had someone process their first payment. We are charging a $1 platform fee. Unfortunately the 2.9% ($0.03) percentage charge for the $1 platform fee was taken out of the payee's total amount to be paid out. Is there a way to have the $0.03 taken out of the $1 platform fee? I'm using the hosted checkout with direct charges.

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

What are you working on?
Connect implementation

cursive heronBOT
#

@hazy knot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there any way to create payment plans for invoices created through the API? I've noticed that this was launched in beta and available through the UI, but it wasn't clear through the API documentation if this feature is available in the API as well. https://docs.stripe.com/invoicing/payment-plans?testing-method=without-code#enable-multiple-payments

Related Request ID(s)
N/A

What have you already attempted?
Question on missing feature functionality on the API

#

@keen talon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to handle verification of my stripe connected accounts in my app using api. Now I am curious about if the stripe supports document KYC verification. I know that stripe verify the information given by the user but don't know if there's a way to upload user personal documents and stripe check them for KYC or not.

Related Request ID(s)
Stripe KYC Verification

What have you already attempted?
Currently I am doing the document KYC using ALICE but I want to know if I can achieve the same using stripe connect onboarding.

#

@wet mesa pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
try {
event = Webhook.constructEvent(payload, header, this.secret);
} catch (JsonSyntaxException | SignatureVerificationException exception) {
resp.setStatus(HttpStatus.BAD_REQUEST_400);
LOGGER.warn("Bad request handled from {}: {}", remote, exception.getMessage());
return;
}

Question
It throw:
[qtp1156060786-29] WARN app.translator4slack.stripe.handler.StripeHandler - Bad request handled from null: No signatures found matching the expected signature for payload
com.stripe.exception.SignatureVerificationException: No signatures found matching the expected signature for payload

What have you already attempted?
- Updating the version of the API
- Re-launching the CLI
- Double check the webhook secret
- Double check the stripe signature is well parsed
- Double check the payload is well parsed

What are you working on?
I am just trying to build a StripeHandler to handle webhooks but I am stuck trying to construct the event

#

@glad nest pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, quick question! Can I manage my subscriptions externally using Stripe's API by creating charges as regular transactions instead of using Stripe Billing? I need to handle invoices myself due to specific tax requirements, so I'm not interested in using Stripe's built-in invoicing. Just want to make sure this approach is within Stripe's terms of service. Thanks!

Doc/Guide Links
https://stripe.com/es/privacy

What are you working on?
SaaS

#

@zinc wagon pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working on a marketplace that connects buyers and sellers with Connect accounts. I want to offer discounts for new customers on their first purchase, but I want to pay for these discounts as a platform - I don't want the discount to come from the seller's payout amount. What's the best way to do this?

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

What are you working on?
Marketplace

cursive heronBOT
#

@tawdry latch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
apple pay not working is configured shows at payment nothing onclick

Related Request ID(s)
0

What have you already attempted?
i have it configured in stripe dashboard. apple pay option shows at checkout. nothing happens when i click the button

#

@edgy pasture pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Getting this still even after migrating.
controller-6c470c8a4096383321e1eebf7c780e2f.js:1 [Stripe.js] You have not registered or verified the domain, so the following payment methods are not enabled in the Express Checkout Element:

- apple_pay

Please follow https://stripe.com/docs/payments/payment-methods/pmd-registration to register and verify the domain.

Question
Have migrated over to the recommended wallet approach but still my gpay button does not work, even though its showing as the new one.

What have you already attempted?
attempted to change configurations but nothing has helped. Also made sure to register the domain in the dashboard via payment method domains.

What are you working on?
Trying to implement a payment method (Gpay).

cursive heronBOT
#

@terse siren pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a marketplace where freelancers and businesses can work together on marketing projects.

Related Request ID(s)
n/a

What have you already attempted?
I've set everything up however wanted to know if there was a way if a user could generate a link (stripe payment) from the app and send it to a non user (business) to get them to use our app and to remove friction for the users

What are you working on?
I have a marketplace where freelancers and businesses can work together on marketing projects. I use stripe connect and transfers

cursive heronBOT
#

⛔️ Stripe developers aren't currently available on Discord

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

cursive heronBOT
#

βœ… Stripe developers are currently available on Discord!

cursive heronBOT
#

@opal cliff pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const token = await stripe.tokens.create({
card: {

    number\: req.body\['card\[number\]'\],
    exp\_month\: req.body\['card\[exp\_month\]'\],
    exp\_year\: req.body\['card\[exp\_year\]'\],
    cvc\: req.body\['card\[cvc\]'\],
    name\: req.body.cardholder\_name
  },
}\);


const customer = await stripe.customers.retrieve\(req.body.customerId\);

const card = await stripe.customers.createSource\(customer.id, {
  source\: token.id, // Card token generat

Question
Hi, I am collecting the card details from the user and attaching them to the customer. Later, the customer can make payments using that card. However, the issue is that we are receiving a decline error

What have you already attempted?
when user tried to add card... but it is happening for only few customers

What are you working on?
stripe payment

cursive heronBOT
#

@sand cave pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Why doesn't the PayPal payment method have a 'Save my information for future purchases' option during the checkout session?
Only Card payments have this option.

Related Request ID(s)
.

What have you already attempted?
Checkout session

What are you working on?
Checkout session flow

cursive heronBOT
#

@next quiver pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
In the Stripe documentation for the Appearance API, it states that layout customizations are not possible, specifically with the AddressElement. However, I know that for the PaymentElement, there are options for two different layouts (inline and stacked).

Is there any way, through custom CSS or other approaches, to modify the layout of the AddressElement fields into two columns instead of the default single-column layout? just need an answer because I've been tasked to change it to 2 columns but it seems impossible without straying away from the stripe AddressElement

What have you already attempted?
I've tried many of the css variables in the appearance API are relevant to what I'm trying to do, inspecting the element it seems like the grids(?) are just being controlled internally.

cursive heronBOT
#

@exotic tulip pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://dashboard.stripe.com/test/invoices/

Question
On My testing environment, I want to update invoice. I am facing an issue where if I edit any invoice from stripe, in my system, it cancels and updates my order status. To debug that, I'm trying to do the same on testing stripe account. However, when I open invoice and edit it, the update invoice button is disabled. Idk what I'm missing.

What have you already attempted?
Tried updating invoice data but update button remains disabled.

#

@obtuse birch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm Integrating Stripe Connect APIs and Used Account type=custom and the platform country is AE. I'm getting an error: Platforms in AE cannot create accounts where the platform is loss-liable, due to risk control measures.

Related Request ID(s)
Platforms in AE cannot create accounts where the platform is loss-liable, due to risk control measures.

What have you already attempted?
The Standard Account type is working but I don't want to use it.

What are you working on?
Stripe Connect to split a payment between platform and service provider

cursive heronBOT
#

@cyan wren pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Depending on a case I'd like to choose if stripe opens a CashApp mobile app or displays a QR code

What actually happened?
Recently the flow of CashApp payment has been slightly changed on mobile and instead of displaying a QR code it tries to open a CashApp mobile application.

Reproduction Steps
I'm trying to purchase a product with CashApp payment method on mobile app

Question
I have a problem with CashApp payment method on a mobile app after the flow has been changed for it. Is there a way to decide if stripe opens a CashApp mobile app or displays a QR code on web application opened in mobile browser

What are you working on?
Web application, admin panel with payments

#

@lone kite pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
we are using Stripe Connect. For Klarna pay, we need to deactivate 30 days pay later option. Reason : We are working only with restaurants and always cart is under 100€. Pay later is not worth.

Related Request ID(s)
Didn't found anything

What have you already attempted?
We tried to switched it off in dashboard but didn't find a solution.

What are you working on?
Partner connect to Stripe

cursive heronBOT
cursive heronBOT
#

@static compass pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i got an email from stripe about changes to instant payout balance calculations and i want to understand the impact it has on us

Related Request ID(s)
none

What have you already attempted?
none

#

@valid grail pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When to initiate a report run after a payout.created webhook event?

Related Event ID(s)
frr_1PoLRfR3IlLPNNk37VBqDy2w

What have you already attempted?
Listening for a payout.created event - we have this triggering a call to start a report run for a payout_reconciliation.by_id.itemized.1 report but sometimes this creates an exception or empty report. Have used the docs below:

https://docs.stripe.com/api/payouts/retrieve
https://docs.stripe.com/reports/api?locale=en-GB

What are you working on?
Payment/Payout reconciliation feature for Educational Software

cursive heronBOT
#

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

What did you expect to happen?
I am using Stripe's hosted checkout page to collect payment, with `tax_id_collection` enabled.

I expect this to allow tax id collection on all countries with supported tax ids that are listed here: https://docs.stripe.com/tax/checkout/tax-ids#supported-types

What actually happened?
It shows the tax ID collection fields only for some countries and not all countries on the list.
For example:
United States addresses don't enable the tax ID collection fields while Poland addresses will allow them.

Reproduction Steps
In a checkout page with `tax_id_collection` enabled.
Select Poland as the country, the "I am purchasing as a business" tickbox will show up to collect tax ID
Change the country to the United States, the checkbox will disappear.

Question
What makes the "I am purchasing as a business" (or tax ID collection fields) appear and disappear in the checkout?
Also, how can I show it for all supported countries?

What are you working on?
A video generation AI platform.

#

@shrewd bone pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We're listening to your payment intent webhooks and we order the events based on their created timestamps, however it has happened that we can receive two events for one payment with the exact same timestamp (in our case we got 'requires_payment_method' and 'suceeded' status)

Is this expected? How can we generically be able to order those events in time?

Related Request ID(s)
The payment id is: 'pi_3PmvCWJGv6Fa0SD901npYqoU'

What have you already attempted?
We tried ordering by created timestamp, but in a case of the same timestamp we're not sure how to proceed.
In this specific case, we could try to give priority to the suceeded status, but we're not sure if it will generalize well.

cursive heronBOT
#

@wraith orbit pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using stripe to collect recurring payments. But now, some time it happenes that we send direct payment link to the customers, so in that case, we don't want to deduct the very next installment from the customer.
Ex: Suppose we cut $100 used in July,August, but for September we collected the payment in the month of August only, through payment link, so the next installment should deduct from their payment method in the month of October.
What is the best way to do this ? What is official recommendation ?

Related Request ID(s)
THIS_IS_FIRST_TIME

What have you already attempted?
I am using stripe subscription, through nodejs api.

#

@shy vault pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the API to create a coupon and need to set the `applies_to` property to included specific products. I get this error "Array applies_to[products] exceeded maximum 100 allowed elements." because there are over 100 product IDs in the `applies_to` property.

Is there any way to add more than 100? or increase the limit here?

Related Request ID(s)
q0hyi3Qw, acct_1OreQrCllWXOeOtp

What have you already attempted?
Looked at the potential to update the coupon with more applies_to products after the coupon is created. This doesn't seem to be possible.

What are you working on?
Stripe Connect self storage software app.

#

@autumn vault pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/revenue-recognition/chart-of-accounts

Question
Is there a doc (or can someone send) which lists all the Chart of Account entries which the account number can be mapped?
Or even better an API where they can be loaded.

What have you already attempted?
Checked the docs and also APIs

What are you working on?
Journal run integration, and need to get the current accounting numbers from finance

cursive heronBOT
#

@dark totem pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I show VAT tax (or any other tax) in receipts that are created due to payments using Payment Intents? I would like to be able specify an inclusive tax rate for the payment, so that the receipts would have a tax breakdown visible for the customer.

All I could find on this subject is this Reddit thread, which has the exact same problem: https://www.reddit.com/r/stripe/comments/tfgoxj/showing_vat_on_receipts_from_payment_intents/

If I understood correctly, Stripe's answer is "enable Stripe Tax", but we don't want to use Stripe Tax to automate taxes on payments, it would create a hassle.

Related Request ID(s)
req_MGtnRqgVfgm0t6

What have you already attempted?
I've read about Stripe Tax, Payment Intents and Invoicing. We already utilize tax rates in subscriptions and invoices, but these payments are one-off payments that don't even belong to a customer. To me it seems like payment intents should just take "tax_rates" as a prop when creating.

What are you working on?
A web app

#

@manic pulsar pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
An invoice is created that just has BACS payment options

What actually happened?
An invoice is created that has BACS and WeChat payment options

Reproduction Steps
in an inactive test account, create an invoice and remove all payment options other than BACS. In the invoice preview, and when the invoice is sent, the hosted invoice payment page offers BACS and WeChat payment options.

Question
How can I create an invoice that just has BACS payment options? I need to be able to demonstrate to the stakeholders on this project that this is possible.

What are you working on?
migration from legacy payment platform to Stripe

#

@clear badger pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can i use stripe react native sheet to add cards without them to be duplicated (they are already exists).

Related Request ID(s)
NONE

What have you already attempted?
The issue is the following
I’m trying to implement stripe as a payment method using the stripe payment sheet, but after everything set i get a duplicate card issue when i try to pay and the payment method is stored inside stripe, after some deep research i’ve found this https://github.com/stripe/stripe-react-native/issues/899#issuecomment-1106724251
but they have handle it with the backend and with a custom way with stripe elements, the sheet was a good way for me to make it set quickly, and i’ve already

What are you working on?
Fix the duplicate card error

cursive heronBOT
#

@obtuse quarry pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
On stripe, when submitting evidence for dispute, there's a field ( Government order ). I am using stripe disputes api to submit the dispute evidence through my app: https://docs.stripe.com/api/disputes/update.
But there seems to be no field for the document type for that 'government order'?
Also for other, what do I send in the API? I have already sanctioned the "additional" as "uncategorized_file"?

Related Request ID(s)
none

What have you already attempted?
looking through api

What are you working on?
Personal project

#

@craggy pivot pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
'payment_method_save_usage' => 'off_session',

Question
I want to disable / enable the confirm payment button depending on wether or not the user has checked the `payment_method_save_usage` => `off_session` button.

How can i get wether or not the user has checked it outside the iframe?

What have you already attempted?
-

cursive heronBOT
#

@subtle rose pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
try {
if (paymentIntent) {
console.log('Cancelling payment intent');
const res = await cancelPaymentIntent({
paymentIntent,
});
navigation.goBack();
}
}

Question
canceling a payment is working while testing with simulated readers but with real readers the payment is still getting processed in the reader

What have you already attempted?
none

What are you working on?
app

cursive heronBOT
#

@fiery stirrup pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
We were expecting a 6 char ACH manual verification code (seti_1Po5atDfcmTYbu9YQ88l5NQG)

What actually happened?
The customer received one that didn't match that.

Reproduction Steps
Try to enter the ACH manual verification code for seti_1Po5atDfcmTYbu9YQ88l5NQG

Question
Is this expected behavior? We were expecting the 6 char code starting with SM.

What are you working on?
API Integration.

cursive heronBOT
#

@sinful igloo pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to figure out if there's some way to cause a payment method used on an initial subscription payment to be the customer's default payment method immediately?

We currently listen for the payment_method.attached event, and then set it as default, but it's creating a timing error when we try to determine the user's default payment method for their subscription.

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

What are you working on?
SAAS

#

@ivory edge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, we're looking to retrieve standard connect account support details (phone number/email address) using the Connect API but the response doesn't seem to contain a `business_profile` property, is this something we need to enable?

Related Request ID(s)
req_HIqAEgwkDIBaS0

What have you already attempted?
direct api request to https://api.stripe.com/v1/accounts/acct_xxx

#

@obtuse quarry pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, on dispute list api, is the status missing from the docs? I may be not seeing it

Related Request ID(s)
none

What have you already attempted?
manually setting it

What are you working on?
personal proj

cursive heronBOT
#

@tropic dirge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<AddressElement
options={{
...
defaultValues: {
firstName: ...,
lastName: ...,
phone: formConfig.values ? formConfig.values[3] : "",
address: {...

ANother part of coed:
const [options, setOptions] = useState({:
...
I have an appeareance object with rules
rules: {
".Input": {
border: "none",
borderBottom: `1px solid #FFFFFF40`,
outline: "none",
boxShadow: "

Question
I'm trying to style the select options for withitn teh AddressElement, specifically for the countries, like the hundreds of possible country options, like for example change it to background colour black instead of the default html styles.

What have you already attempted?
Tried with other css classes (https://docs.stripe.com/elements/appearance-api) provieded by Stripe in rules, but they dont seem to affect the select options

What are you working on?
Stripe chekcout, want to style the countries select options

cursive heronBOT
#

@exotic venture pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to get into the AWS EventBridge beta? Particularly interested in getting delayed payment events for SEPA. We have a webhook, but using EventBridge directly would simplify a lot of our infrastructure.

Related Event ID(s)
req_KWFP3XSzrL98ol

What have you already attempted?
I tried to sign up here: https://docs.stripe.com/event-destinations/eventbridge but nothing yet

What are you working on?
At Via (ridewithvia.com) we have many multi-interface Stripe integrations and are building more! The new ones are on Payment Intents and will be on Connect soon! One legacy integration is on Charges.

#

@wooden tapir pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I report Meters of a specific SubscriptionID?
The Meters API docs only says we can report meters by CustomerID this doesn't fit many use-cases for B2B Organizations. Is a pretty common the same customer to have more than one subscription (imagine a franchise or an Organization with many business units)

Related Request ID(s)
Not related to a specific request ID

What have you already attempted?
I've read all the docs and even experimenting sending the meters metrics with SubscriptionID instead of CustomerID

What are you working on?
SaaS for B2B that has more than one business unit

#

@random nacelle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to submit customer billing details for Terminal payments using the @stripe/stripe-terminal-react-native SDK?

Related Request ID(s)
none

What have you already attempted?
I've looked the documentation here: https://stripe.dev/stripe-terminal-react-native/api-reference/index.html#PaymentMethodDetails as well as checked the terminal methods used for processing the payments but none included an argument for billling details

What are you working on?
I'm attempting to include customer billing details (name, email, address) for them to bi displayed on Stripe dashboard.

#

@carmine sapphire pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello,my app developer is asking for the API and SDK for the M2 card reader I ordered so it can ne integrated with a point of sale app. Please provide me with the API and SDK.

Related Request ID(s)
na

What have you already attempted?
na

What are you working on?
in person point of sale app

cursive heronBOT
#

@ashen aspen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I need to test my integration with test cards. I want to test a java payment with fail payment but i cant add a declined card so cant test fail payment in backend

Related Request ID(s)
usZ2B3O1lnfgnprR

What have you already attempted?
my customers have default pm i can use in backend to pay but i ve tried to add a default declined card but i cant

What are you working on?
pay an overdue in vueJS fullstack application

#

@hexed harness pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, i might have a question concerning the event `charge.expired`. I see that it is not possible to trigger it from the stripe CLI and this seems deprecated. But i can still see it in these docs https://docs.stripe.com/api/events/types . Can i still use this event or is it deprecated ? If deprecated, what is supposed to replace it ? Thank you :)

Related Event ID(s)
https://docs.stripe.com/api/events/types

What have you already attempted?
Stripe CLI, docs

#

@obsidian ferry pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Code from https://docs.stripe.com/treasury/examples/moving-money

When creating the SetupIntent with a strip_account={Connect_Account_ID}}

When using the FinancialConnect Flow later in the page:
const response = await stripe.collectBankAccountForSetup("{{ client_secret }}", {...etc})

Question
Two questions:
* Is the code correct? When I keep the stripe_account_id= call in the Server code I get a respone of "no such setup intent found for {client_secret}" and if I remove the stripe_account_id param I get "Cannot create a testmode session using a livemode API key, or vice versa."

What have you already attempted?
I have followed the docs for both: https://docs.stripe.com/treasury/examples/moving-money and https://docs.stripe.com/treasury/moving-money/working-with-bankaccount-objects

What are you working on?
I am trying to add a financial Connect payment method to my Connect Account for two reasons:

cursive heronBOT
#

@modest leaf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In the StripeJava API, Invoice#getAmountPaid returns 0 if all the amount has been reduced to 0 due to a credit note. Is there any way to get the out of bound paid amount of an invoice?

Related Request ID(s)
-

What have you already attempted?
-

cursive heronBOT
#

@quick cedar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm looking at the Account object and would like to better understand what it reads for a connected account who started onboarding but left before submitting info for review

Related Request ID(s)
acct_1PijlYRnETuXMb5w

What have you already attempted?
I went over the docs and looked up the response from the API.

My read is that the past_due array under requirements will be populated if the connected account has not finished completed but I'd like to get clarity

What are you working on?
Connect - custom - upfront onboarding (currently_due and eventually_due)

#

@candid peak pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'd like to collect payment using the Payment Element with payment methods such as paypal which require authorization via a 3rd party page. Is there a way I can have this page opened in a seperate tab and avoid requiring a redirect back to my app?

Doc/Guide Links
https://docs.stripe.com/js/payment_intents/confirm_payment

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

What are you working on?
Integrated checkout form

#

@shadow gulch pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When using PaymentElement and setting locale to "es" via the Elements object, we expected all fields and validations to show as translated to Spanish

What actually happened?
Not all fields are translated. Validations specifically. The Bank Account search empty state shows a translated "No banks found" message but is missing the link to "manually verify your bank account" and the "No checking account linked. Please link a checking account to complete this transaction" validation does not show as translated

Reproduction Steps
Set locale to something other than "en" (We used "es"). Open PaymentElement to link bank account, type in search for bank account but put in a number so it doesn't find a match. Validation shows part of message but no link.

Second place: Click Test Institution and close the prompt, "No checking account linked" shows in English

Question
What can we do to ensure validations are also translated?

#

@vocal wagon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using stripe hosted checkout and passing through some metadata, however when listening for the charge.succeeded event through webhook the metadata is missing.

Related Request ID(s)
N/A

What have you already attempted?
I have tried inspecting the events on the stripe dashboard and the metadata is missing from there also, so it is not a code issue.

What are you working on?
Integrating stripe checkout

#

@tough ingot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I connect the existing Payment Intend with an Invoice object? In my flow I am creating custom checkout it uses Payment Intend. When an order is created I generate a draft Invoice and finalize it when a staff member does an action in the dashboard. In this scenario, I will have two Payment Intends. One from checkout and another in the Invoice after finalizing it. I would reuse the existing Payment Intend in the Invoice is it possible?

Related Request ID(s)
req_8HiXYn6Dj8DoSm, req_wVbHZ11odXmD2x, req_jrouBAex0BR5cA, req_bgEImH2YF8vTED, req_kofw4Jr0Oxzdbd

What have you already attempted?
I tried to use Invoice default_source, payment_settings, and default_payment_method attributes but as far I understood they only configure Payment Intent creation on Invoice finalization.

What are you working on?
I am working on full integration (Customers, Invoices, Payments, Products, Tax) with open source integration with saleor.io e-commerce.

#

@tawny zenith pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm using the stripe.billingPortal.configurations.update to send the user to update subscription. However, it seems like they can only update if they're on a plan. If they're canceled, how do i get it to show plans?

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

@atomic solstice pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have created a webhook for my checkout but the payments are not going through. Can you verify that the webhook is correct? It says live in my dashboard but I want to make sure that it is correct.

Related Event ID(s)
Not sure of the ID

What have you already attempted?
I have temporarily disabled Stripe checkout because of this issue and a person is trying to place an order.

#

@vivid zealot pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When a payment is created with the payment method of Amazon Pay, the corresponding webhook (for charge.succeeded) the metadata is blank

Related Event ID(s)
pi_3PpZYpAsghfk0ws61lvFqezG, pi_3PpZiIAsghfk0ws61Us39i9F

What have you already attempted?
It's only affecting payments that use Amazon Pay other payment methods are not affected by the issue so doesn't seem to be a problem myside

#

@eternal rover pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am a developer and I was wondering whats the python code to retrieve a list of bank accounts so a user can attempt a payout for my company site

Related Request ID(s)
req_YuGylsf5iskAtY

What have you already attempted?
I have tried to append bank account info into an array, but its not saving but also I dont feel like its secure

What are you working on?
I am working at a startup and I am in charge of the balances flow, which uses Stripe API for all payment processing

#

@proper niche pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I check which connected accounts are eligible for which payout methods?

I'm working through this section: https://docs.stripe.com/connect/instant-payouts#eligible-connected-accounts

Related Request ID(s)
N/A

What have you already attempted?
I followed this documentation paragraph:

"You can verify Instant Payout eligibility for your user by calling the External Accounts API with the Connected Account ID. The response returns the account’s 10 most recently active External Accounts, and those with instant in the available_payout_methods parameter are eligible for Instant Payouts. You can paginate through the results if you need to review more than the default display of 10."

The link target does not mention `available_payout_methods` anywhere. What am I missing?

What are you working on?
Working for Notch. We've been using Stripe since last year and want to expand our functionality.

#

@feral linden pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
In the example-app for stripe-terminal-react-native, connecting to the reader should work.

What actually happened?
It didn't connect to the reader. I just got an error that said Timed out waiting for connection token.

Reproduction Steps

  1. Setup the example app.
  2. Wait for it to finish initializing
  3. Click discover readers
  4. Connect to reader.
    I used a render backend but it shouldn't make a difference.

Question
It only doesn't work when installing the app for the first time. When I reopen the app, it does connect to the reader. What do I do?

#

@simple relic pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I transfer money from a standard connected account to an express connected account?

Related Request ID(s)
Account Connect

What have you already attempted?
How can I transfer money from a standard connected account to an express connected account?

What are you working on?
developer

cursive heronBOT
#

@maiden blaze pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if (isPaymentIntentFlow) {
const { error: PIError, paymentIntent: paymentIntentResult } =
await confirmPlatformPayPayment(clientSecret, payload);
intentResult = paymentIntentResult;
error = PIError;
} else {
const { error: SIError, setupIntent: setupIntentResult } =
await confirmPlatformPaySetupIntent(clientSecret, payload);
intentResult = setupIntentResult;
error = SIError

Question
(On React Native) How do I confirm payment when a user already has added a credit card?
Current state: Users are able to purchase using Apple Pay option and also able to add a credit card using Stripe form (payment sheet) but if the user has added a credit card and use that card to purchase, currently an Apple Pay window will show up, which is not what I want. However when I click "Continue" on the apple pay window, everything works

What have you already attempted?
I tried adding an if statement
```
if (userHasCC)
const { error: PIError, paymentIntent: paymentIntentResult } = await confirmPayment(
clientSecret,
{
paymentMethodType: 'Card',
// paymentMethodData?: {
// token?: '';
// billingDetails?: BillingDetails;
// mandateData?: MandateData;
// };
},
);
```

#

@true stag pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
For create subscription, is it possible to backdate with a free trial? I'm importing thousands of customers that have yet to add a payment method, so I'm pretty sure must use free trial else sub dies terminally after a short time, but if possible would like to backdate.

Related Request ID(s)
req_GtnsG3qgeUUXXN

What have you already attempted?
I've tried running the api call with trial and backdate, yet on Stripe dashboard I don't see that the subscription is backdated.

What are you working on?
customer and subscription importer

#

@dense turret pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I'm dealing with an SCA type card (e.g. 3155) that is NOT pre-approved for offline usage, and I want to do an initial Charge on one Stripe Account, and another offline Charge of that same card on a DIFFERENT Stripe (Standalone) account, then do I have to Confirm the PaymentIntent twice (i.e. one per Stripe Account)?

Related Request ID(s)
request-id: req_LgbXVx8oQVi4z4

What have you already attempted?
When I only confirm in one Stripe account and we Approve in the 3D secure pop-up window, that works for the initial payment, but when trying to use that PaymentMethod on the other Standalone stripe account offline, we get error: c.s.e.CardException: Your card was declined. This transaction requires authentication.; code: authentication_required; request-id: req_LgbXVx8oQVi4z4

cursive heronBOT
#

@spring mantle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm reopening a ticket I've already had to reopen twice.

My business deals with subscriptions and invoices differently than what Stripe was designed for. Stripe creates a new invoice for each subscription billing period, and deals with payments separately for each one. However, my company treats subscriptions more like payment plans. Our customers can order thousands of dollars worth of product, and they can pay down that balance via monthly subscription payments. Once they fully pay down the order amount, the subscription ends. I need an API solution for handling this.

Related Request ID(s)
n/a

What have you already attempted?
We have a webhook that auto-updates a customer's default payment method whenever they add a new one, & our smart retry is 8 times over 2 months. Where I'm struggling is how to consolidate their unpaid invoices into a sum of all the money they still owe us from the months they didn't pay (keeping it up to date with every billing period that's marked past due), with the goal of initializing a checkout session from our website to pay the remaining balance in full. I also need to update Salesforce statuses to "freeze" their service if a payment fails, and reinstate it when a retry succeeds.

What are you working on?
EasyExpunctions is a legal service that helps clear people's offenses from their criminal records. You just have to give us your name and DOB, and we will take care of the rest!

cursive heronBOT
#

@steel bluff pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are building a work marketplace and we need to know which services are best to use for our flow

Related Request ID(s)
NA

What have you already attempted?
We have the following requirements.
-user can switch between their client account and freelancer account.
-using a client account, they use stripe checkout and enter a custom amount for the job.
-payment is sent to us and is held in escrow until both parties agree the job is complete.
-the freelancer has to create a stripe connect account to retrieve funds.

What are you working on?
We are building an application similar to Upwork. Clients post jobs. Freelancers apply, work, and get paid. We hold payments until the work is complete.

cursive heronBOT
#

@woven flicker pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
SetupIntent(id=seti_1PoCnxE7XKvbPumkapFNBlN6, cancellationReason=null, created=1723763405, countryCode=null, clientSecret={correctClientSecret}, description=null, isLiveMode=false, paymentMethod=null, paymentMethodId=pm_1PoCoHE7XKvbPumkR4FLSnPG, paymentMethodTypes=[card], status=succeeded, usage=off_session, lastSetupError=null, unactivatedPaymentMethods=[], linkFundingSources=[], nextActionData=null, paymentMethodOptionsJsonString=null)

Question
I am developing for Android using Compose and I am using SetupIntent to store a customers card information to be used later. I want to send information such as the last 4 digits and exp date to a database, but when i use stripe.retrieveSetupIntent(clientSecret), I get a paymentMethodId, but the PaymentMethod object is null. The setupIntent Object i recieve is in the code section. I am using paymentSheet.presentWithSetupIntent to collect the card information.

What have you already attempted?
none

cursive heronBOT
#

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

Code
Adding Swish as a payment method

Question
I can't add Swish even if my account meets all criteras, I'm in Sweden.

What have you already attempted?
Just looking around

What are you working on?
A business

cursive heronBOT
cursive heronBOT
#

@proper niche pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
Under which circumstances do we have to provide the source_type?

What have you already attempted?
Our goal is to enable someone to initiate a Payout of their Stripe balance that they accumulated through our platform. This balance is a sum of Stripe to Stripe transfers. DO I understand correctly that in this case the source_type is meaningless?

What are you working on?
I'm a developer on the Notch platform for managing and paying sports officials.

cursive heronBOT
#

@cold hearth pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to run multiple Stripe event webhooks locally at once? I am setting up multiple webhooks to handle different events. For example, I want one webhook to handle all `customer` events, another one for `invoice` events, etc. I would like to be able to create a subscription locally and it creates an invoice, so I need them both to be running.

Related Event ID(s)
evt_1Ppe30F2rxYbdwMe7QCd8uwM

What have you already attempted?
I attempted to have multiple terminals open and running my webhook listeners all at once, but only the last one that I run shows up in the dashboard as a local listener for my MacBook.

What are you working on?
SaaS product

cursive heronBOT
#

@rain goblet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I wonder how to pass in the full ssn when creating custom connect accounts

Related Request ID(s)
req_CTyzzyqXofneO8

What have you already attempted?
I tried pass in the full ssn number to the id_number field, I also pass in the last 4 of ssn. but the full ssn number is not updated to the connect account profile

cursive heronBOT
#

@tranquil coral pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hello. can you help me
my account has been hacked, my email and pasword in stripe account has been changed my first registration
my email is kycpayzy@gmail.com
please help me

Related Request ID(s)
yes

What have you already attempted?
hello. can you help me
my account has been hacked, my email and pasword in stripe account has been changed my first registration
my email is kycpayzy@gmail.com
please help me

What are you working on?
lost account

cursive heronBOT
#

@boreal belfry pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi I am exploring stripe apps through a unified api provider called nango.

I am also following the docs described here.
https://docs.stripe.com/stripe-apps

I was able to install my app to one of our accounts using test link, however when I am trying to retrieve the list of payment intents that belongs to the one who installed the app, I got an error with code more_permissions_required_for_application

Related Request ID(s)
https://dashboard.stripe.com/acct_18SmNSE8GCrklnYJ/test/logs/req_LkFBJUWFiShq7R?t=1724120428

What have you already attempted?
Tried adding `payment_intent_read `permission on stripe app, and `read_only` + `payment_intent_read` on scope when requesting oauth2

What are you working on?
I simply what to get the list of payment intents belonging to my stripe app users, as I want to be able to do some automation.

cursive heronBOT
#

@obsidian ferry pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I get the stripe_account of an event on a Connect Account?

Related Event ID(s)
evt_1PpiRKR4C0mRyPFNIZ3YnWKo, evt_1PpiRaR4C0mRyPFNGQzIG8pU, evt_1PpiReR4C0mRyPFN1e8Ic4T3

What have you already attempted?
When looking in the dashboard the event appears in the Connect account impersonation, but the event doesn't have the stripe_account via the SDK

cursive heronBOT
#

@steady oriole pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to enable 3ds for all card on the stripe , I have created a payment intent with challenge config

Related Request ID(s)
no

What have you already attempted?
// Create and confirm the payment intent
const paymentIntentResponse = await fetch('https://api.stripe.com/v1/payment_intents', {
method: 'POST',
headers: {
'Authorization': `Bearer ${stripeSecretKey}`,
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({
'amount': amount,
'currency': currency,
'customer': customerId,
'payment_method': cardId,
'payment_method_options[card][request_three_d_secure]':'

What are you working on?
website development

#

@cobalt mist pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
-I have integrated stripe, currently stripe checkout session happens after redirecting to stripe page. i want stripe checkout page to be pop up as modal. like embbeded form. is there any option to show stripe page like modal instead of redirecting? also do stripe save card?

Question
I have integrated stripe, currently stripe checkout session happens after redirecting to stripe page. i want stripe checkout page to be pop up as modal. like embbeded form. is there any option to show stripe page like modal instead of redirecting? also do stripe save card?

What have you already attempted?
i have attempted iframe but stripe was not allowing me to do

cursive heronBOT
#

@next void pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Offering discount prices for first-time referral on a subscription preoduct

Related Request ID(s)
N/A

What have you already attempted?
This time, for the referral system my company is building. We also want to grant the invitee for a once-per-account discount (fixed amt).

The doc seems to suggest using a coupon (other than `.createBalanceTransaction`, as it's probably less fitting to give credits to an newly created acc)

However, I'm being a bit confused from the "create a coupon" page as there being "limit the total number of times .. can be redeemed" and "duration=once/forever/..."

(Q) How I can make a coupon, that only ever takes effect once per customer, also sharable across individual customer's subscriptions

cursive heronBOT
cursive heronBOT
#

@obtuse delta pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to trigger an `invoice.paid` event for a specific customer using the Stripe CLI to test whether my function works correctly. However, I am encountering issues where the event does not seem to use the specified customer ID correctly. I need assistance in ensuring that the `invoice.paid` event is triggered for the correct customer ID.

Related Event ID(s)
evt_1PpmFfRsJfE0QDMTJvXUikVX

What have you already attempted?
- I have used the `stripe trigger invoice.paid --override invoice:customer=cus_Qgmd7a9FvrkjjB` command to attempt to trigger the event for a specific customer.
- I encountered errors related to the payment method being attached to a different customer.
- I detached the payment method from the current customer and tried to reattach it to the desired customer, but the event still failed to trigger correctly.
- I reviewed Stripe CLI documentation and tried different flags like `--add` and `--override` but haven't been able to get the desired result.

What are you working on?
I am working on testing the `invoice.paid` webhook event for a specific customer ID to ensure my backend function processes this event correctly.

#

@unique stirrup pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have already opened a case regarding a complex pricing model that involves both percentage-based and minimum fees. Based on your advice, it seems that I do not need to use subscriptions and can rely solely on invoices.

My follow-up question concerns where I should store these prices. Specifically, if I want to manage both a global price and potentially different prices for individual customers, handling this without using subscriptions seems challenging.

Would you recommend storing these prices on my end (e.g., in a database), or is there a way to store and manage prices within Stripe, such as in customer metadata? Ideally, this solution would allow our finance team to ma

Doc/Guide Links
I've opened a previous case, but not necessary to read all of them

What are you working on?
This application charges per transaction with a fee structure that applies a 3% charge based on the transaction amount, with a minimum fee of $0.25 per TiB. The billed amount is whichever is higher between these two values.

cursive heronBOT
#

@rose slate pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What happens when a Stripe Connect account installs my Stripe app. Will I receive webhooks for all connected accounts to that account

Related Event ID(s)
-

What have you already attempted?
Read the docs, but can't find info

#

@wooden axle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am not able to discover stripe terminal using javascript sdk

https://api.stripe.com/v1/terminal/readers?location=tml_FsEEMwI9MtwwYD&limit=100&compatible_sdk_type=js&compatible_sdk_version=1.3.2

Related Request ID(s)
req_Bw1G60tb3mc1Cd

What have you already attempted?
Terminal and pos on same wifi network. Location Id tml_FsEEMwI9MtwwYD and terminal serial number WSC513105017182

What are you working on?
I am working on integrating terminal payments with POS system.

cursive heronBOT
#

@remote blaze pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using Stripe Connect (Standard), it doesn't let my customers log into and connect to their existing Stripe account. Am I correct in understanding that if we use OAuth it is possible for the customer to connect to an existing Stripe account they have set up already?

Related Request ID(s)
NA

What have you already attempted?
When the customer attempts to connect to Stripe it asks them for their name and email but it just creates a new account rather than letting them log into their existing account.

cursive heronBOT
#

@brave basin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, using stripe connect with express customer accounts, within our app I'm subscribing to account.updated webhooks to show customers alerts when they have pending or past requirements or a disabled account, from it I'd like to redirect the user directly to stripe to update the specific details (similar to the remediation links that are available on the dashboard but aren't available through the API). What's the correct way to get and structure such link for the customer via the API?

Related Request ID(s)
none

What have you already attempted?
I've tried using v1/account_links endpoint, but it seemingly generates an onboarding link (https://connect.stripe.com/setup/e/acct_xxxx format) even though it allows updating existing details, I'm not sure whether that's the correct approach for users who have already completed the onboarding but they have new requirements placed on them (e.g. document has expired)

What are you working on?
Internal dashboard for a payments platform

#

@forest shore pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Whenever a chargeback occurs for customers with SEPA. The chargeback immediatly happens and I can't give any proof. It is what it is.

The problem is that the invoice still says paid in stripe.

If I force the customer to create a new payment. He will have an additional paid invoice in his account that he never paid.

I want to block users with chargeback on my site and only allow them access again if they paid their subscription fee ofcourse, but I still want to show correct invoices in the stripe customer portal.

Doc/Guide Links
https://docs.stripe.com/customer-management

https://support.stripe.com/questions/sepa-direct-debit-payment-disputes

What are you working on?
I am working on a SaaS website and I want to block users from accessing the website when they had a chargeback. I want to force them to pay the subscription, but I still want their invoices to be correct.

cursive heronBOT
cursive heronBOT
#

@thick kraken pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
this.stripe = await loadStripe(publishable_key);
this.elements = this.stripe.elements();
this.card = this.elements.create('card', {
hidePostalCode: true,
style: style,
classes: {
complete: '',
focus: 'bg-gray-100'
}
});
this.card.mount(this.$refs['card-element']);

Question
How to add custom class to mask credit card details while user is adding their card details?

What have you already attempted?
I have used loadstripe from stripejs for card input fields but the when user enters the details the input is always in plain text.

What are you working on?
I am building a saas platform where we charge the customer per usage base and we manually create invoice at month end.

cursive heronBOT
#

@normal forge pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/link/card-element-link#:~:text=Stripe automatically enables Link in,disable Link in Card Element.

Question
Still exist Link on Card element on my website. How can i solve it ?

What have you already attempted?
I have setting my payment method to disable show Link on my card element.

What are you working on?
Ecommerce website

#

@manic pulsar pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do you recommend configuring Stripe accounts to match multiple development environments e.g. dev, staging, prod. Is there a strategy to automatically sync development accounts with the configuration and products in a production account? Context: we're currently required to prevent developer access to production Stripe accounts for compliance reasons so we need separate accounts for development.

Doc/Guide Links
https://docs.stripe.com/get-started/checklist/go-live
https://support.stripe.com/questions/data-that-can-be-copied-between-stripe-accounts

What are you working on?
migrating product from legacy payment system

#

@scarlet wharf pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to recover stripe analysis on api identity verification

Related Request ID(s)
req_OC4B3AZP2I2Vgz

What have you already attempted?
In the Stripe dashboard, in the identity section, when I do an identity check in the dashboard, I can see a section called Insight, in which I have analyses on how Stripe is analyzing this identity check. How can I retrieve this information via the API? I don't see it in the verification report

What are you working on?
I'm currently working on a rental service for which we want to do some checks before signing the contract.

#

@shell valve pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
check out page integration.

Question
How to add a stripe checkout page to my website?

What have you already attempted?
I am unable to understand how to add stipe to website

What are you working on?
E-learning

#

@ocean cradle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I have one query on stripe coupons.

I have created a 50% coupon and added the applicable products for the coupon.

but when I am retrieving it using coupon retrieve API , it is not giving me the applicable products. So how can I get the applicable products of coupon in coupon retrieve API. Please suggest.

Related Request ID(s)
123

What have you already attempted?
I have used coupon retrieve API to get coupon details.

What are you working on?
I am creating coupons and then getting those for further implementation for creating subscription.

cursive heronBOT
#

@sharp siren pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripeCheckoutElementOptions: StripeExpressCheckoutElementOptions = {
buttonHeight: 48,
layout: {
maxColumns: 3,
maxRows: 2,
},
buttonTheme: {
paypal: theme === 'dark' ? 'black' : 'white',
},
paymentMethods: {
paypal: isNativePayPalButtonAvailable ? 'never' : 'auto',
googlePay: 'always',
applePay: 'always',
amazonPay: 'never',
},
paymentMethodOrder: ['apple_pay', 'google_pay', 'link', 'paypal'],

Question
Hi, having an issue with the express checkout element - PayPal button does not appear on subscriptions, only on regular payments, any idea?

What have you already attempted?
/

#

@covert bolt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I apply a coupon to only one product when I create a checkout session where I enter price_data and product_data to be able to make the image and description dynamic?

Related Request ID(s)
req_TwjEz7P3Wyvaa2

What have you already attempted?
I entered price_data and price but API is throwing error because I can enter only one or the other.

What are you working on?
We have a "in app purchase" like thin in our gentastic.io website where users can additional reports for their dna analysis reports. We will discount only the additional report product.

#

@strange marlin pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using the Subscriptions Search API with pagination, the next page sometimes returns a duplicate subscription - meaning a subscription that was already returned in a previous page.

Related Request ID(s)
req_NHHettsZgndokj, req_Pm2CODN5fdX7m3

What have you already attempted?
We tried changing the page size. If we choose a limit that's larger than the result set returned from search, the issue does not reproduce.
If the total amount returned is 70, but the page size is 10, then sometimes subsequent pages return a subscription that was already returned.

What are you working on?
Once a day we scan all subscriptions that match certain criteria, when a subscription is returned twice is causes us to run again for no reason.

cursive heronBOT
#

@amber pollen pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Payment methods selected to be displayed in Stripe payment element

What actually happened?
Payment methods turned off are displaying

Reproduction Steps
Connected to Stripe accounts API credentials and set up payment methods as desires. Reviewed website and payment methods are not as expected.

Question
What can I do to debug this problem? What should I look at checking?

What are you working on?
A Craft CMS website membership (subscriptions) checkout.

#

@neon anchor pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We are getting errors when trying to implement Stripe to Pay on Android.

Question
We are getting errors when trying to implement Stripe to Pay on Android.

What have you already attempted?
We are getting errors when trying to implement Stripe to Pay on Android.

What are you working on?
We are getting errors when trying to implement Stripe to Pay on Android.

#

@jade bane pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm working with connected accounts and I've already carried out the tests in test mode, but now to put the application in production mode I need to register the webhooks and I came across a problem. For each connected account I have a URL, as each of my clients has a custom application on their own domain. How will I register 1 webhook for each connected account, or what is the correct way to work in this case?

Related Event ID(s)
none

What have you already attempted?
none

cursive heronBOT
#

@errant mirage pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Every i time I to pay with an invalid card to simulate invoke the charge.dispute.created, is also calls the payment_intent.succeeded before, what maked that is sets my payment to succeed before

Related Event ID(s)
charge.dispute.created, payment_intent.succeeded

What have you already attempted?
how can i avoid to call payment_intent.succeeded when im creating a dipute?

#

@last galleon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const handleSubmit = useCallback(async () => {

if \(!stripe \|\| !elements \|\| taxIdError\) {
  return;
}

const cardElement = elements.getElement\(PaymentElement\);

if \(!cardElement\) {
  throw new CustomError\('Could not get payment element', {
    feature\: 'checkout',
  }\);
}

etc....

Question
We rarely but sometimes see users in our application get the error "Failed to load Stripe.js" or our own error "Could not get payment element", when they are loading the Stripe Elements. Is this something that is happening because of our users' browser setup or Internet connection, or is it on our end?

What have you already attempted?
We've tried Googling and looking into the Stripe documentation but couldn't fin anything telling us why this could be

What are you working on?
Maintaining our checkout

cursive heronBOT
#

@solemn wind pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
ELECT
w.subscription_id,
w.plan_id,
w.quantity,
w.interval,
w.interval_count,
w.amount,
w.percent_off,
w.quantity * w.amount * w.intervalMultiplier AS mrr_without_discount,
CASE
WHEN w.percent_off IS NOT NULL THEN w.quantity * (w.amount - (w.amount * (.01 * w.percent_off))) * w.intervalMultiplier
ELSE w.quantity * w.amount * w.intervalMultiplier
END AS mrr_with_discount
FROM
(
SELECT
pq.plan_id,

Question
Im looking to calculate MRR by subscription by month. For some reason this template is not available in sigma. We received the attached query from one of Stripe's solution architects awhile back but it doesnt work. Wondering who may have a working query. We would like to schedule MRR reporting to hit our data warehouse

What have you already attempted?
Sigma assistant, solution architect, rebuilding ourselves

What are you working on?
MRR reporting

cursive heronBOT
#

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

Code
no relevant code to share. we do pass our own form values to Stripe though

Question
When a live env 0.00 charge payment (used for verification) is made, it fails due to postal code validation error (rule ID
ssr_1PlTu4069X7Ht4l1FfaD3Q7O). We believe this is due to the space in UK postal code. The question is should all postal codes be void of any empty spaces? Or spaces should be formatted as html elements or otherwise? example event evt_1PnL8O069X7Ht4l17XQzIkOF seti_1PnL70069X7Ht4l16el2iKmU

What have you already attempted?
Checked Stripe documentation, however under Postal code formatting it only says "If it’s a UK card, an alphanumeric value can be provided instead.", with no regards to spacing, which is usually prevalent in UK addresses. Also checked history in discord, only found one relevant message with no real answer: https://discordapp.com/channels/841573134531821608/841573134531821616/965985255188234240

What are you working on?
Energy data insights solutions

cursive heronBOT
#

@stoic thistle pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$stripe->terminal->readers->setReaderDisplay(...);
$stripe->terminal->readers->processPaymentIntent(...);

Question
How can I use $stripe->terminal->readers->setReaderDisplay() and then $stripe->terminal->readers->processPaymentIntent() so the customer can see the cart and pay. I can get the cart showing without the pay interface, and the pay interface works without the cart info on screen, but I can't have both bits on the screen. Using S700 terminal, PHP server side integration. The code doesn't error, but the customer experience is not as expected.

What have you already attempted?
I can get the cart showing via setReaderDisplay but as soon as I call processPaymentIntent() this vanishes from the terminal so the customer can't see it. The screenshots in docs show terminal listing the cart AND showing the "pay now" interface. Everything works fine, but the experience is not what we wanted.

See: https://docs.stripe.com/terminal/features/display

What are you working on?
Stripe terminal PHP server side

#

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

Question
Heyhey, I'm getting this error on prod:
Webhook Error: Cannot read properties of undefined (reading 'webhooks')

Related Event ID(s)
evt_1Ppej5QD41mcFCTbz9D3m5a4

What have you already attempted?
i dont know what ot attemp

What are you working on?
persona project

#

@fallow bobcat pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to implement webhooks. on my staging enviorment. My application backend is in Nest.js.
Do I need some kind of library so that stripe send the webhook response on that I can run the logic on my server

Related Event ID(s)
1

What have you already attempted?
I have created my endpoint api slug which is

/payments-management/stripe-webhook

and my staging Url is
https://backend-stage.youmakr.ai/api/v2/
which is delpoyed on aws

What are you working on?
I want to know how can I test it locally as well as on staging so I can make my logic bug free

#

@maiden blaze pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await initPaymentSheet({
merchantDisplayName: 'US Mobile',
// customerId: customer,
customFlow: true,
// customerEphemeralKeySecret: ephemeralKey,
setupIntentClientSecret,
});

Question
In the credit card bottom drawer, can we skip over country input? Like when user enters CVC it automatically moves over to country, but wondering if we can skip that and go directly to zip code bc in vast majority of cases country will be USA.

What have you already attempted?
N/A

#

@slate spruce pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expected to charge my customers when they upgrade their plans to a higher tier.

What actually happened?
The subscription has changed from "Silver" to "Gold" but the customer wasn't charged for anything.

Reproduction Steps
Just upgrade the account in subscription .

Question
If the team can look into this and guide me, If there is a setting which i may have messed up while creating the price or subscription or maybe something i changed on the customer portal.

What are you working on?
I have a MERN messaging app with 3 tiers of usage. bronze, silver and gold.

#

@unique stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've a subscription attached to a consumer with a $0 price (only to schedule invoice generation), and i'm using invoice.created to add/remove Invoice item lines with specific amount and description.

this suggestion was from previous threads to achieve my complex pricing model implementation.

But it seems, that I can't remove the line item with $0 price, because it was generated by a subscription

There is another solution ?

Related Request ID(s)
req_ftEDekXCeABcML?t=1724160273

What have you already attempted?
I also tries to unassigned instead of delete, but not working too

#

@civic hatch pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to enable Afterpay method for connected account when payment methods are configured in the Dashboard?

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

What have you already attempted?
I have tested Afterpay with account acct_1LucaUFFoWSTHsrz and that payment method coulnd't be loaded in Checkout session for some reason.

What are you working on?
Trying to enable Afterpay for connected accounts according to the doc https://docs.stripe.com/payments/afterpay-clearpay/accept-a-payment

#

@wicked tiger pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
paymentIntentClientSecret: clientSecret,
merchantDisplayName: 'Your Company Name',
allowsDelayedPaymentMethods: true,
),

Question
https://docs.stripe.com/payments/payment-methods/integration-options
also as per the above stripe doc link it seems that PayNow is payment option will only work on IOS devices using the stripe Mobile Payment Elements .
Dose Stripe Mobile elements provide PayNow Option for android devices? If so How to implement it?

What have you already attempted?
In the above code i am trying to show a payment sheet in my flutter application using the flutter_stripe package on an Android emulator. For this i created a payment intent from my backend supporting card, Link and PayNow payment methods and got the clientSecret as response and passing it to the initPaymentSheet as above . But the payment sheet had only card and Link as payment options ,PayNow option was not displayed even though PayNow was enabled in the Stripe Dashboard

What are you working on?
I am trying to use stripe as payment Gateway in the flutter application which i am developing . I want to give PayNow as a payment option to my users .

#

@ocean cradle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I am creating active subscription, it is creating initial invoice as draft. Can we make this invoice as completed or paid.

Same with future subscription, it is creating initial invoice as open. Can we make this invoice as completed or paid.

Related Request ID(s)
123

What have you already attempted?
I have tried passing some default settings

What are you working on?
I am creating subscription

#

@blazing fox pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a account with multiple custom connected accounts. Currently I trim off fees for the credit card, but mis-represented a fee and didn't take enough off for certain other platform fee aspects.

I'm attempting to create an audit log and reverse part of the transfer back to the main account which I believe I have in place. However I'm wanting to add audit information to the origianl transaction which in the custom connect account looks like: py_1PpsAm2UTQ9bHHLHMHs6jjSw

I don't know what this is though as it doesn't look like a payment id. Where can i add this metadata for a transaction?

Related Request ID(s)
'https://dashboard.stripe.com/acct_1PkTaL2UTQ9bHHLH/logs/req_9H261jRclSI4cS?t=1724161494

What have you already attempted?
Tried looking up the py_1PpsAm2UTQ9bHHLHMHs6jjSw by charge, payment intent, payment object

What are you working on?
node js

#

@red torrent pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Need a Payment request where i can sen my Network Token and cryptogram to make payment

Question
Need a Payment request where i can sen my Network Token and cryptogram to make payment

What have you already attempted?
We couldn;t find dev docs which says about the Network Token and cryptogram

What are you working on?
We are integrating stripe, and use our Network Token instead of raw card details

#

@wanton dirge pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Reader resource = Reader.retrieve(readerID, requestOptions);

			if\(resource.getAction\(\) != null && resource.getAction\(\).getStatus\(\).equalsIgnoreCase\(PinPadStatus.IN\_PROGRESS.toString\(\)\)\) {

....
}

Question
We have integrated customer present payments using the server side stripe-java library and a BBPOS Wisepos E device.

We're using the provided code to identify if the pinpad is currently "in use/busy" performing an action. Would someone be able to confirm if this is in-fact the best way to determine if a pinpad is still processing the previous action/request?

What have you already attempted?
.

What are you working on?
Ticket Sales platform

cursive heronBOT
#

@ruby pendant pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
in brazil is there a function for paying in installments? i activated the parameter (payment_method_options[card][installments][plans]=true) at the checkout, i used the cards 4000 0048 4000 0008 / 424242424242.. in the brazilian region and nothing. the option to pay in installments didn't appear in the test environment.

Related Request ID(s)
cs_test_a1M3401IVVHoJV0AKBI9JRG5KRflYfivnusR9Iq6nSCf01TDftW3jyB0X7

What have you already attempted?
paying in installments

What are you working on?
paying in installments

cursive heronBOT
#

@sinful igloo pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
A failed payment intent has a requires_confirmation status, but the page that discusses this status doesn't say it would happen that way... is requires_confirmation basically a failed state that should be displayed as such and give the user a retry option with the client_secret?

Doc/Guide Links
https://docs.stripe.com/payments/paymentintents/lifecycle#intent-statuses

What are you working on?
SAAS

#

@unique stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Follow up my last thread. Stripe team say that I can update a subscription line item from invoice, but it seems it's not the case ...

He say, it's possible to change the description, but the API respond, i can only change tax, tax_rate and discounts

There is something wrong ?

Related Request ID(s)
req_GMCKAZU3zhqr6I?t=1724165851

What have you already attempted?
Update invoice line item generated from subscription

cursive heronBOT
#

@maiden blaze pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When I purchase something with Google Pay, I don't expect to see "Secure Checkout" screen which I think comes from Stripe out of the box?

What actually happened?
When I click Checkout button on my React Native app. I see a "Secure Checkout" screen that just flashes.

Reproduction Steps
I'll attach a video!

Question
How do I remove "Secure Checkout" screen for Google Pay?

cursive heronBOT
#

@maiden blaze pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
NOT seeing the 3DS challenge page everytime I proceed with Google Pay on a React Native app

What actually happened?
seeing 3DS challenge page everytime I proceed with Google Pay on a React Native app

Reproduction Steps
I'll provide a video

Question
it seems to happen with any Gpay payment method now. I was wondering if it's expected for the same payment method to have 3DS challenge page on mobile app but not on browser?

cursive heronBOT
#

@hoary scroll pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
await stripe.subscriptions.update('sub_1PVguJDyFtOu3ZuTjZ8Np4zt', {
items: [
{
id: 'si_QhI2Md3Npm8Mh8',
price: 'price_1PigvvDyFtOu3ZuTKaF8dbKu',
},
],
billing_cycle_anchor: 'now',
proration_behavior: 'always_invoice',
});

Question
If a user has paid already for product X for $300 and then a couple days later we switch them to product Y for $500, I would like to just charge them the additional 200$. Same with switching from $500 to $300, i'd just like to refund them $200. How can I achieve this? Prorations are calculated based on time, so I'm not sure if I can use it

What have you already attempted?
the code above - but its prorating on time

#

@covert oracle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Capturing a payment using a Terminal (ServerDriven), "Customer" field in Stripe is not being populated with cardholder name

Related Request ID(s)
na

What have you already attempted?
https://docs.stripe.com/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#create-payment

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

What are you working on?
custom desktop app

#

@nimble canyon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
"The payment pi_3PprzaHorLyYqvBK0Xhv1Rml for Β£15.00 requires you to take action in order to complete the payment".

This is the message I see in the Stripe dashboard for this failed payment. If it requires me to take action, what action does it require me to take? Is there any clue to what I need to do?

Related Request ID(s)
pi_3PprzaHorLyYqvBK0Xhv1Rml

What have you already attempted?
The customer has tried with a different card which succeeded, but this is happening too regularly today.

What are you working on?
Payment for Β£15 Access Card via www.accesscard.online

#

@hoary scroll pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
If I want to programatically refund a customer $X amount from his most recent payments, what's the best way to do this?

Doc/Guide Links
Should I list the customer's successful charges (checking if paid = true) and just keep refunding each charge until it reaches the X amount?

What are you working on?
Would like to programatically refund a customer any given amount I specify (which will always be less than the amt they paid)

#

@harsh bobcat pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
The logic I am looking for is this. User has to save the payment method for monthly recurring deductions.

Question
I want to implement stripe gateway in my nextjs webapp.

What have you already attempted?
i tried going through docs but i am very confused

What are you working on?
a custom store where i am using stripe as payment gateway

cursive heronBOT
#

@proper niche pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
When sending a transfer to a Stripe account, will the amount be bound to a specific connected account? More specifically, if we've done a series of transfers in the past and the client requests a Payout, are they free to choose which connected account this Payout will be sent to?

What have you already attempted?
We are already sending transfers and are currently overhauling the Payouts portion of our platform. The idea is that the clients can freely select which of their connected accounts they should receive the payout for their whole balance to. The documentation is ambiguous in the question whether transferred balances are bound to connected accounts.

What are you working on?
Notch

cursive heronBOT
#

@sullen tusk pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a question regarding the Stripe API. Mueshi is looking to split payments between multiple linked bank accounts. For example, we would like to route all subscription payments into one linked account and have only subscription payments go there. Is this something we can accomplish? If so, would this need to be programmatically implemented, or can we set this up in the Stripe dashboard?

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

What are you working on?
We are trying to automate flow of funds to seperate bank accounts accounts

#

@glad cosmos pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Charge event object does not contain the balance_transaction id

Related Event ID(s)
evt_1PpvuYCkCC4mnept17lo4Y8i

What have you already attempted?
When we receive a webhook for checkout.session.completed after an order is placed, we query the charge event. The charge event object does not contain the balance_transaction id, it's just null.

If I click "resend" in the dashboard for the checkout.session.completed webhook, this time, when we query the charge event it does have a transaction id.

This is only happening in our staging environment after upgrading to V10.7.0

cursive heronBOT
#

@wet mesa pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello I am listening to customer.subscription.updated webhook and I want to trigger code on my end when a user actually renew the subscription and only do it when we are sure the customer paid the renewal. What is the best practice for that? Thanks for your support!

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

What are you working on?
Subscription system with a quota that reset at every subscription renewal.

#

@rose slate pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm developing a Stripe App. If a Connect Platform account installs my app, I will receive some webhooks from the Connect Platform account. Are those the same as listed here: https://docs.stripe.com/connect/webhooks

More specifically: I know my customer (who has a Connect Platform account) uses Destination Charges. I would like to receive updates about these. Also, I'd like to retrieve Checkout MetaData that my customer (the Connect account) will be passing when creating the payment link

Related Event ID(s)
n/a

What have you already attempted?
Read the docs

cursive heronBOT
#

@weak vortex pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
binding.stripeCardInput.setPreferredNetworks(listOf(CardBrand.CartesBancaires)) [com.stripe.android.view.CardInputWidget]
binding.stripeCardZipInput.setPreferredNetworks(listOf(CardBrand.CartesBancaires)) [com.stripe.android.view.CardMultilineWidget]

Question
Hi! I'm trying to enable Co-badged Cards in our Android app using the Stripe SDK (v20.37.4). According to the integration docs, the CBC dropdown should always be available in test environment, but it's not.

This is on both the com.stripe.android.view.CardMultilineWidget and com.stripe.android.view.CardInputWidget

I'm just wondering if I'm still doing something wrong or missed something from the integration guides?

What have you already attempted?
- Updated the SDK to latest (v20.37.4)
- Tried to set preferred network to CartesBancaires
- Using Stripe Test keys in dev environment

cursive heronBOT
#

@fallow bobcat pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am testing stripe webhooks locally in my Nest.js Project

This is my code

async stripeWebhook(body: any, signature: string): Promise<any> {
try {
console.log(signature, this.stripeWebhookSecret);
const event = this.stripe.webhooks.constructEvent(body, signature, this.stripeWebhookSecret);
console.log('Received Stripe event:', event);
const saveStripeEvent = await this.SrtipeWebhookResponseManagementSchema.create(body);
return {
result: 'Subscription created successfully.',
data: true,
body: saveStripeEvent,
status: HttpStat

Related Event ID(s)
1

What have you already attempted?
the register url is
stripe listen --forward-to http://localhost:3000/api/v2/payments-management/stripe-webhook

the error I am gettting is

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. \nSignature verification is impossible without access to the original signed material. \n\nLearn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing\n

What are you working on?
Working in my local test enviorment

#

@brittle garden pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i'm not sure how to ask. i got a 2x pos. a copy of each other one for testing one live. both servers are the same. stripe at one is working fine the other one is not working at all. the only difference, i did a dns a record change around 24h ago for the one not working. it points on a different ip address now. i did nslookup online at different countrys it has taken effect. the weebhook is responding but the website to pay for the customer is not accessible. im not sure if it's on my side or still some dns failure. i also noted that on stripe the weebhooks are not responding properly

Related Event ID(s)
we_1PprOjAPWFPlNAGAqpbOAxhX , we_1Ppw0IAPWFPlNAGAZAkgM9eO

What have you already attempted?
to much...

What are you working on?
POS system Odoo v.17. im trying to make online-payments over the POS, it's supported from odoo

#

@twin hamlet pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Link not showing anymore on Express Checkout Element

What actually happened?
Link not showing anymore on Express Checkout Element

Reproduction Steps
Link not showing anymore on Express Checkout Element

Question
Link not showing anymore on Express Checkout Element

#

@simple relic pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
transfer EUROS to account connect

Related Request ID(s)
Account Connect

What have you already attempted?
I need transfer 100 EUR from my root account in USD to account connect express

What are you working on?
developer

#

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

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

Question
a customer has connected to our platform using Stripe Connect. and he tried to do payment using payment element, however it failed to load the form, with bad request error, the message is "You do not have the capabilities required for payment method `transfers`". is there any further step required to fill up from customer's side?

What have you already attempted?
research based on error message

What are you working on?
resolve issue for customer who cannot load payment element form

#

@keen talon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to implement connect custom onboarding with my platform and I don't want to sue the stripe onboarding flow. I want to do it custom on my platform and using the stripe api's. How can I perfectly achieve it?

Related Request ID(s)
Connect Custom Onboarding

What have you already attempted?
I have looked into the stripe embedde dcomponents, also I have looked into this https://docs.stripe.com/connect/custom/onboarding#create-forms-to-collect-information where they say that we should create a mapping against the country and business type and then generate the form on the website using the mapping. Can anyone please guide me with the better solution? Thanks

#

@vocal wagon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import { makeApolloClient } from '@/graphql/client';
import { CONFIRM_PAYMENT_SETUP } from '@/graphql/paymentQueries';
import { getAuth } from '@clerk/nextjs/server';
import { NextRequest, NextResponse } from 'next/server';

// /confirm-payment-setup/[org]
// ?setup_intent=seti_1NBigqFIS8cxjFbAarZk8tXF
// &setup_intent_client_secret=seti_1NBigqFIS8cxjFbAarZk8tXF_secret_β€’β€’β€’g6Xs
// &redirect_status=succeeded
export async function GET(req: NextReque

Question
How do I create a custom Next.js route to retrieve the setupIntentId in order to confirmPaymentSetup?

What have you already attempted?
I'm building off of a previously created route.ts file. My current task is to build a multi-step form that collets user inputs and credit card info, then at the very end submits all that data.

I have more code, but it's too much to share. I'm just focused on creating a Next.js route file that will interact with the Stripe API so that I can get a setupIntentId in order to confirm payment with our backend (GraphQL)

What are you working on?
I'm building the front-end for a startup

cursive heronBOT
#

@lilac ingot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I use the NodeJS SDK to access the Stripe API. I am trying to create 'recipients' with the v2 API (https://docs.stripe.com/payouts-beta/create-and-update-recipients). The API key I am using is provisioned for the v2 API and I have updated my stripe node module. But when I run stripe.v2.accounts.create(accountParams) I get an error saying stripe.v2 is undefined. Is there something specific I need to do other than updating my node module and api key to access the v2 API via the Node SDK?

Related Request ID(s)
req_ire7IdPDlwLWCv

What have you already attempted?
I tried removing v2 from my request, so I run stripe.accounts.create(accountParams); (where accountParams = the example params from here https://docs.stripe.com/payouts-beta/create-and-update-recipients). But this returns a 400, as if I'm hitting the old v1 accounts creation endpoint...

What are you working on?
a platform that allows academic researchers to pay survey respondents

#

@harsh bobcat pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.retrieve(session_id);

Question
after a successful checkout, when i try to retrieve the session it gives me error

What have you already attempted?
i have done the code

What are you working on?
custom store

#

@alpine flicker pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
params: {
payment_method_data: {
billing_details: {
name: name,
address: {
line1: street,
city: city,
state: state,
country: countryCode2Char,
postal_code: zipCode,
}
}
}
},
payment_intent_data : {
on_behalf_of: 'test',
},
confirmParams: {}

Question
This is how I am generating confirmationToken for the payment element. But now I get this error while creating Payment Intent on server side (The provided on_behalf_of (acct_1PMBYBC6TOnjhsJM) does not match the expected on_behalf_of (null). Try confirming with a that is configured to use the same parameters as Stripe Elements.) I do understand that I need to include on_behalf_of param in the request being sent to server, but not sure how to implement.

What have you already attempted?
Tried i adding the missing on_behalf_of param along with other parameters, but seems not working.

What are you working on?
Stripe Integration

#

@maiden blaze pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
if (isFormRendered) {
const { stripeError: _stripeError, stripeResponse: _stripeResponse } = await handlePayByNewPM();
stripeError = _stripeError;
stripeResponse = _stripeResponse;
} else {
const { stripeError: _stripeError, stripeResponse: _stripeResponse } = await handlePayBySavedPM();
stripeE

Question
[Reactjs]
i just want to understand this piece of code that is done by somebody in my team who left the company. espeically around ```
if (stripeResponse?.status === 'requires_action') {```

What have you already attempted?
doc but havent found anything

cursive heronBOT
#

@tawdry latch pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
in production when my user goes to portal.afterpay.com i always get `Whoops, an unknown error was encountered. Please try again.` after entering any email address whether its new to after pay system or not. console says too many requests. is there a way for you to tell if their system is down, or is our site sending to many requests to them

Related Event ID(s)
1

What have you already attempted?
n/a

cursive heronBOT
#

@stray slate pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I get invoice line items available in my AWS Redshift data warehouse using the Stripe Data Pipeline?

Related Request ID(s)
none

What have you already attempted?
After setting up the Stripe Data Pipeline, I noticed this table was missing. It's a crucial piece for our data analysis. I've tried looking through the documentation, googling, and ChatGPT.

What are you working on?
Data analytics for our web platform and payments

#

@keen talon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Connect Account onboarding embedded form is opening in new browser instead of being the part of my website. How can I properly embed it in my website.

Related Request ID(s)
Connect Account Embedded Onboarding

What have you already attempted?
I have added the ConnectAccountOnboarding component from @stripe/react-connect-js.

What are you working on?
This is what I have already done.

#

@fallow bobcat pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am implementing webhooks with my nest.js.
The flow is, I subscribed a customer to trail-period subscription after the trail period the customer is charged.

How can I get that particular customer email and the subscription_id related to it so I can do some logical tasks to my application database.

Furthermore If I have 100,000 users. will stripe send me webhooks response for particular user or not or if I have multiple users with same trail_period time and when its finished how can I handle these customers to chnage their database values.

Related Event ID(s)
1

What have you already attempted?
I Successfully Implemented the webhooks and tested my registered URL.
I get body as a javascript object which has these values.

I will send it in code in my next msg

What are you working on?
I want that when my subscription status changed for example

cursive heronBOT
#

@dreamy mural pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I use Checkout Sessions and in my webhook I listen to the `invoice.paid` event. I take my purchase and create a payment record in my database with the `customerId` ... and other relevant data.

I just tested a purchase and two rows were created in my database. They share the same `customerId` and the timestamp is milliseconds apart.

How could this be... my logs from listening to the webhook events only show `invoice.paid` called once.

My webhook only logs one purchase.

Related Event ID(s)
evt_1Pq1M14SJn1Cw1IfRNp218t0

What have you already attempted?
Just basic logging of the webhook data to see what I'm receiving.

What are you working on?
Fitness app and just polishing off some new offers I want to run.

cursive heronBOT
cursive heronBOT
#

@restive rock pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
Does stripe provide commission to organization? like if a user registered to stripe through our platform

Question
Please elaborate this how commission model will work and do we get any benefit from stripe if we provide users to the stripe ?

What have you already attempted?
I don't found any relevant and precise information regarding it

cursive heronBOT
#

@sturdy bronze pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I don't know when to create different meters. Is it for each price? For each different unit (I.e., one meter for messages, one for seats, one for api calls)? How many meters do I need if I have graduated pricing on 2 sets of 3 products, those 2 sets sharing the same 3 units but different price points for those units?

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

What are you working on?
I am trying to create an saas application/product

cursive heronBOT
#

@outer oasis pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Am I doing the right thing?

I wanted to create a customer id for users on my platform. To do that, I made them purchase a product costing $0.5 by creating a checkout session which accomplished 2 things.

- verification that the details being entered are correct (because why would someone enter wrong details then)
- creation of customer id

Doc/Guide Links
I looked at many docs and developed this a long time ago so it is hard for me to list docs now.

What are you working on?
I wanted to create a customer id for users on my platform. To do that, I made them purchase a product costing $0.5 by creating a checkout session which accomplished 2 things. - verification that the details being entered are co

#

@alpine flicker pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const appearance = {
theme: 'stripe',
labels: 'floating',
variables: {
colorPrimary: '#0570de',
colorBackground: '#ffffff',
colorText: '#30313d',
colorDanger: '#df1b41',
fontFamily: 'Ideal Sans, system-ui, sans-serif,
fontSizeBase: '12px',
spacingUnit: '1px',
borderRadius: '4px', } };
const options = {
allow: 'payment *',
mode: 'payment',
amount: 1099,
currency: 'usd',
paymentMethodCreation: 'manual',
setupFutureUsage: 'off_session',
onBehalfOf: 'acct_sdsfskd4'

Question
Upon initializing the above payment element `elements = stripe.elements(options)` i get this error in console: IntegrationError: This Element has already been destroyed. Please create a new one.

What have you already attempted?
tried resetting cache in dev tools, checked for any syntactical errors :(

What are you working on?
Stripe Integration

#

@ocean cradle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When I am creating active subscription, it is creating initial invoice as draft. Can we make this invoice as completed or paid.

Same with future subscription, it is creating initial invoice as open. Can we make this invoice as completed or paid.

Related Request ID(s)
123

What have you already attempted?
I have tried 4242 card as suggested by you in previous queries

What are you working on?
I am creating subscription

#

@tropic pond pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when using a buy.stripe url from the payment links dashboard, it doesn't redirect anywhere after a successful payment. How do I set up a redirect after successful payment? I don't need to create a checkout session on my server bebause crafting the URL myself is enough for my needs (the url I get from the dashboard that starts with buy.stripe/ and to which I can append `prefilled_email` etc)
I see `success_url` can be provided on server side when creating a session to return to the frontend, but I would like to avoid doing all of this and just use the URL from dashboard with parameters.
How do I do that?

Doc/Guide Links
https://docs.stripe.com/payments/checkout/custom-success-page

What are you working on?
stripe checkout

#

@wooden axle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Wants to verify the stripe terminal url is going to be same or different in test and production.
In test I got the url
https://192-168-0-252.w243n3c27maworgizwxw.device.stripe-terminal-local-reader.net:4443/protojsonservice/JackRabbitService

Just confirm is the url going to be the same for every reader because I have to add it in csp

Related Request ID(s)
req_iL335hDvnpUINJ

What have you already attempted?
Tried payment in simulator and Test terminal.
Now going for production

What are you working on?
Integration of Stripe Terminal with our POS applications.

cursive heronBOT
#

@tender horizon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
IIs it feasible to integrate one-time purchases into subscription plans, much like the way overage charges work in a mobile phone plan?

Related Request ID(s)
Subscriptions

What have you already attempted?
Renew subscription and cancel the current one

cursive heronBOT
cursive heronBOT
#

@sonic shore pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've used Stripe Checkout for payments and have also implemented the refund functionality. However, I would like to understand how to test payment failure and pending scenarios while my Stripe account is in test mode

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

What are you working on?
"I have implemented the subscription process and added refund functionality. However, I'm facing difficulties testing the pending and failed payment scenarios. Could you please guide me on how to handle these situations?

#

@foggy wing pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question

  1. If I want to use stripe with option of apple pay and google pay, do I must to use intent flow or can it be used with old Charge::create with stripeToken frontend is giving
  2. If I must use intent flow, can I have my form for stripe card (like in stripeToken, where it uses my design for card input, holder, email, etc) ?

Related Request ID(s)
none

What have you already attempted?
I have read the docs but want make sure

What are you working on?
I have old stipe checkout with Charge::create using stripeToken. The owner of website want that form to allow google and apple pay

#

@next void pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/coupons

Question
No ways to limit coupons to be "every applicable once per customer" by config?

What have you already attempted?
Following on prev thread #1275339007651217458 message, I've attempt to create a coupon that can be used by multiple customers with duration: once. However by testing it for real. It seems like one user could have "make a discounted subscription" -> "unsubscribe when period ends" -> "resubscribe using a coupon".

Following some online posts, stripe by itself doesn't seems to have a default config to limit how many time, a single user could redeem a coupon in a shared coupon setup. I wanna know if that's true

#

@tiny estuary pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Disputes lost should cancel and expire the related subscription

What actually happened?
Disputes lost does not cancel and expire the subscription. It keeps active and will renew in next period.

Reproduction Steps

  1. Customer subscribes to a product. 2. Customer disputes the charge. 3. The dispute is lost 4. I go to the customer details, and see the customer has the subscription active.

Question
Should i programatically cancel and expire the subscription from my backend listening to the dispute lost event? Why does not stripe cancel it?

cursive heronBOT
#

@neon anchor pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We have a new errors on Android when trying to implement stripe to pay. Already tested all possible options you suggested and now we have a new error.

Question
We have a new errors on Android when trying to implement stripe to pay. Already tested all possible options you suggested and now we have a new error.

What have you already attempted?
We have a new errors on Android when trying to implement stripe to pay. Already tested all possible options you suggested and now we have a new error.

What are you working on?
We have a new errors on Android when trying to implement stripe to pay. Already tested all possible options you suggested and now we have a new error.

#

@ocean cradle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a one-off product - https://dashboard.stripe.com/test/products/prod_QbNlCpft6VzMQW?edit=prod_QbNlCpft6VzMQW&source=product_detail

and a recurring product - https://dashboard.stripe.com/test/products/prod_QbF0dyUefIwseB?edit=prod_QbF0dyUefIwseB&source=product_detail

So i want to charge the one-off product in first intial invoice only and not in next invoices. So how can I achive this?

I am passing this -

['recurring'] = [
'interval' => $product['period_unit'], // e.g., month
'interval_count' => $product['period'], // Set according to y

Related Request ID(s)
123

What have you already attempted?
I have tried to not pass recurring parameter for one-off products

What are you working on?
creating subscription

#

@warped jetty pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I assume the Merchant Adress to appear on invoices created with the on_behalf_of param set

What actually happened?
The name of the connect account appears, but the address is missing.

Reproduction Steps
- Create an connected account (with either express dashboard or stripe dashboard)
- Fill out all required data
- Create an Test Invoice or a Checkout Session with the on_behalf_of param being set using destination charges
- The address of the merchant is missing on the invoice

Question
How do I get the address of the connected account to appear on the invoice?
The branding shows the right template, yet it is missing when creating an invoice.

What are you working on?
Ticket Show via Stripe Connect

#

@gentle lotus pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
after switching to incomplete_expired subscription should not be active

What actually happened?
According to our system logs we received event customer.subscription.updated informing about switching status from incomplete to incomplete_expired (2024-07-18) but then (on 2024-08-14) we received invoice.paid (and subscription in active state on Stripe)

Reproduction Steps
see sub_1PafnLLcAUpdzXmzKwA3xIcA

Question
could you check how it looks like on Stripe side for sub_1PafnLLcAUpdzXmzKwA3xIcA (I don't have an access to our client's stripe dashboard)

#

@forest shore pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I get the customer_id and the chargeback reason from the charge.dispute.created event in a webhook for SEPA chargebacks?

When I print the data object I don't see these.

Related Event ID(s)
https://dashboard.stripe.com/test/customers/cus_QhaJ2FSWYChUre

What have you already attempted?
I looked at the data object and couldn't find dispute reason, stripe customer_id in the data. The dispute is a SEPA dispute, so the evidence portion etc doesn't apply.

What are you working on?
Trying to improve the chargeback flow

#

@grim grove pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi! Currently we have issues with the webhooks. Most of them are not received and the reason is that they time out. From our end everything looks OK. Actually, we skip most of the webhooks and just return status code 200, so that Stripe could treat them as successfully received. Unfortunately, even there are failing with 500. I will give an example with event ID.

Related Event ID(s)
evt_1PqB8TKOwOJVp8ad1zI3TjlQ

What have you already attempted?
We monitor our services and we do not see anything wrong.

#

@zealous cosmos pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to use the payout embedded component in our app. Is there a way to get the specific payout modal only and not the payout list? the one that pops up when clicking on a payout in the list

Related Request ID(s)
not relevant

What have you already attempted?
I'm trying to get the list to work locally but having issues and wanted to know if I can even achieve the final result

What are you working on?
I want to buils. a report of payouts and combine it with stripe components

cursive heronBOT
#

@heavy crow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We would like to speak with someone in charge of API integrations and connect the POLKADOT blockchain amongst the other existing projects.

Related Request ID(s)
NA

What have you already attempted?
We have attempted to reach out by other means

What are you working on?
Polkadot Asset Hub USDT / USDC payment rails which have currently 7c fees and reducing soon -

cursive heronBOT
#

@sleek peak pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
To require the direct integration API and live payment connection credentials for a gateway who help the merchants host the checkout and collect the card data

What have you already attempted?
We are serving the merchants to help them on integration with different acquirers and host the checkout to collect the card data for transaction routing to optimize the success rate, since we have PCI DSS Level 1.
Please advise how we start integration with Stripe, where we can find the API doc for direct integration and receive the live payment credentials

Thanks

What are you working on?
Integration

#

@limpid scaffold pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I pass TaxRate object to Payment Link somehow?

Related Request ID(s)
req_ESs7a4m8Z1BhOO

What have you already attempted?
We're using side service for tax calculation, and then creating TaxRate objects in Stripe to charge invoices with tax

With Checkout API it's possible to pass a TaxRate into checkout session

But is there any way to do it with Payment Link?

cursive heronBOT
#

@civic hatch pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/afterpay-clearpay/accept-a-payment?web-or-mobile=web&payments-ui-type=stripe-hosted

Question
The doc says: If you want to continue manually configuring the payment methods you present to your customers with Checkout, use this guide. Otherwise, update your integration to configure payment methods in the Dashboard.

In my opinion it is not true, Afterpay is not displayed in Checkout Session if parameter 'shipping_address_collection' is not added before. However when I add this parameter the shipping address is always required.

What have you already attempted?
I was trying this https://dashboard.stripe.com/test/logs/req_wePGXqyNK1eteq

What are you working on?
I'm trying to enable Afterpay for US customer in Checkout Session

cursive heronBOT
#

@ocean cradle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am creating a subscription schedule, and i dont want default_payment_method to be applied to the subscription and want to create subscription without card and invoice due with full amount so I am not passing default_payment_method , still it is creating scheduled subscription using default payment method of customer

Related Request ID(s)
123

What have you already attempted?
I am not passing default_payment_method when creating schedule subscription

What are you working on?
creating scheduled subscription

#

@lunar surge pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to change customer currency when he already has subscriptions ?
Is it possible to configure tax excluded or included based on billing address rather than on currency ?

Doc/Guide Links
https://support.stripe.com/questions/setting-a-customers-default-currency

https://support.stripe.com/questions/set-or-change-currency-for-an-invoice-or-customer-in-stripe-billing

What are you working on?
My customers has billing address in some UE countries, but has currency USD. After adding tax registration for EU, these customers got invoices with tax excluded from the price. And i need to fix it somehow

#

@dark knoll pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.Price.modify(
existing_prices[lookup_key],
recurring={"meter": meter_id}
)

Question
how to attach a meter to a metered pricing?

What have you already attempted?
stripe.Price.modify(
existing_prices[lookup_key],
meter= meter_id
)

#

@lucid pulsar pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/billing/revenue-recovery/customer-emails

Question
We want to use automatic email for upcoming renewals, but only switch them on for a specific subscription and not all renewals. How can we do that either through the interface or easily through API?

What have you already attempted?
Checking online

What are you working on?
Healthcare online service for 10k active users

#

@glad mirage pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Our code currently is looking for the data here payment_intent->payment_method->id (roughly) for the payment method ID that's attached to the customer, but with some of these methods, (payment method) it's actually something like payment_intent->data->payment_method_details->sofort->sofort_something_id and so it's different for each payment method so the code throws an error about payment method not being attached due to how we have it built now.

Question
Is there a different way to "check" for the payment method ID's that is valid and the same for ALL payment options that can be used with Stripe?

What have you already attempted?
see above code as a basic example.

#

@forest shore pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to create a checkout for users that had a SEPA chargeback. I want them to pay the amount they are still owed. When they paid a new invoice will be created and I can give them access to our tool again.

Is it possible to create a checkout with a specific price amount? Instead of doing a stripe checkout on a specific line item that is already created in stripe?

I need to give a specific price, because I don't know what the disputed amount is. It could be a prorated amount for example. Or do I need to do it differently?

Related Request ID(s)
https://docs.stripe.com/api/checkout/sessions/create

What have you already attempted?
I looked at the api docs for checkout and it says I need to give lineitems with a price id instead of a dollar amount.

#

@uncut beacon pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I expect not failed redirect status.
A week ago everything worked well. Code of checkout wasn't changed

What actually happened?
After I confirm alipay payment (onetime) via `stripe.confirmAlipayPayment` I always get redirect_status=failed when stripe redirecting to my return_url

Reproduction Steps
Init checkout
Confirm one-time alipay payment

Question
could you please share documentation about redirect_status=failed, why does it happen? Or help me with this issue.

What are you working on?
Stripe Checkout

#

@neon anchor pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
We have tried the recommended steps with a real device as well and we are still having errors for the stripe tap to pay. More details and screenshots below.

Question
We have tried the recommended steps with a real device as well and we are still having errors for the stripe tap to pay. More details and screenshots below.

What have you already attempted?
We have tried the recommended steps with a real device as well and we are still having errors for the stripe tap to pay. More details and screenshots below.

What are you working on?
TAP TO PAY STRIPE ANDROID

#

@obtuse yew pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<script>
$(document).ready(function() {
// Show loader initially
$('.payment-loader').removeClass('hidden');
$('body').addClass('checkout-loader')
const stripe = Stripe('{{ config('services.stripe.key') }}');
const csrfToken = "{{ csrf_token() }}";
let elements;
let clientSecret;
initialize();
checkStatus();
// Event listener for form submission
$("#payment-form

Question
how to integrate google pay for UK user

What have you already attempted?
3

What are you working on?
payment intigration

#

@dark knoll pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
stripe.Price.modify(
existing_prices[lookup_key],
recurring={"meter": meter_id}
)

Question
trying to update meter of an existing pricing object.
I get error: Received unknown parameter: meter

What have you already attempted?
different ways to pass the meter param

#

@ruby swan pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We charge customer based on the number of seats they have with us, for each seat we create a new subscription on stripe. We do not want the customer to getting separated bill for each subscription, it should always be single bill which contains sum all the subscription charges into one bill.

Related Request ID(s)
req_g8FTFwo7mIALNy

What have you already attempted?
We currently have not done anything but we want to know what can be done to resolve this issue as customer get scared to 15 invoices of 29 dollar, A single 290 dollar bill is much better.

What are you working on?
We need suggestion to solve this issue.

#

@ocean cradle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Error - The customer does not have a payment method with the ID pm_1PqDscIE5Vvk0efGVboCtAdR. The payment method must be attached to the customer on create subscription

Related Request ID(s)
123

What have you already attempted?
Error - The customer does not have a payment method with the ID pm_1PqDscIE5Vvk0efGVboCtAdR. The payment method must be attached to the customer on create subscription

What are you working on?
creating scheduled subscription

cursive heronBOT
#

@untold patrol pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
need to add code to stripe checkout to add a custom field so they can give a description

Question
need to add code to stripe checkout to add a custom field so they can give a description

What have you already attempted?
stripe helpdesk but they cant help

What are you working on?
Football club subscriptions

#

@west sable pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We got an email about ACH proof and it gave these ids like "payatt_3NTTouF6KG2nMs1l17nnLp2j". How do I find these in the dashboard?

Related Request ID(s)
payatt_3NTTouF6KG2nMs1l17nnLp2j

What have you already attempted?
Searching in the dashboard

#

@languid geyser pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
When disabling "Link" as an option on https://dashboard.stripe.com/settings/payment_methods I would expect users being onboarded not to be suggested to save their bank information with Link.

What actually happened?
During the onboarding flow, users are prompted to save bank information with Link.

Reproduction Steps
Disable "Link" as a payment option on https://dashboard.stripe.com/settings/payment_methods (for both live and test mode). Start the onboarding flow with the embedded onboarding component (in test mode). After connecting external bank accounts, I'm asked whether I want to save this information with Link.

Question
Is there some other way to not offer to save external account information in Link while onboarding? This is a confusing additional step for our use case, and I don't think it's valuable to our users.

What are you working on?
We're using Stripe Connect for an application where we're just going to be sending money, not accepting payments from users

#

@ruby swan pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We charge customer based on the number of seats they have with us, for each seat we create a new subscription on stripe. We do not want the customer to getting separated bill for each subscription, it should always be single bill which contains sum all the subscription charges into one bill.We charge customer based on the number of seats they have with us, for each seat we create a new subscription on stripe. We do not want the customer to getting separated bill for each subscription, it should always be single bill which contains sum all the subscription charges into one bill.

Related Request ID(s)
req_g8FTFwo7mIALNy

What have you already attempted?
We currently have not done anything but we want to know what can be done to resolve this issue as customer get scared to 15 invoices of 29 dollar, A single 290 dollar bill is much better.

What are you working on?
We need suggestion to solve this issue.

cursive heronBOT
#

@twin hamlet pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can i monitor my connected accounts requirements?

Related Request ID(s)
no request ids

What have you already attempted?
reading docs

What are you working on?
stripe connect for express accounts

cursive heronBOT
#

@vagrant sundial pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I didn’t expect to receive an automated text

What actually happened?
I received and automated text, and I haven’t made an account.

Reproduction Steps
I received a verification code for someone else or someone else used my credentials to make an account without my permission.

Question
Has someone else made an account on your platform with my credentials? and How can you help me if they did?

What are you working on?
I’m trying to protect my identity.

#

@forest shore pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I created a checkout with a single payment. This checkout is for customers to pay their chargeback amount so that they can access the tool again.

In the checkout I create the following line_item:

line_items=[ { 'price_data': { 'currency': 'EUR', 'product_data': { 'name': 'Chargeback'}, 'unit_amount': int(amount * 100), 'tax_behavior': 'inclusive' },

How can I retrieve the product_data in my checkout? I want to use the data to see if its a chargeback.

I get these events:
charge.succeeded
checkout.session.completed
customer.updated
payment_intent.requires_action
payment_intent.succeeded

Related Event ID(s)
charge.succeeded, checkout.session.completed,customer.updated,payment_intent.requires_action, payment_intent.succeeded

What have you already attempted?
I looked at the data_object for these events, but couldn't find information about the product.

#

@unborn tree pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello everyone, I currently use Stripe for my online payment methods on my website, currently I use proration based on unused time when the customer changes subscription, but what are the other methods to apply when they update their subscriptions? I would ideally like to calculate the difference between the old subscription and the new one, like if the first subscription is 6€ and the second is 15€, he only pays 9€ but it doesn't matter when he updates his subscription (don't take into account unused time)

```
'flow_data' => ['type' => 'subscription_update_confirm']
```

Related Request ID(s)
no

What have you already attempted?
I haven't tried anything

#

@maiden blaze pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I'd expect my Web app and React Native app behave the same in terms of 3DS

What actually happened?
on my Web app, I don't see 3DS Challenge screen when I make a payment using Google Pay.
However on my React Native app, I do see 3DS challenge screen consistently when I make a payment using Google Pay.

Reproduction Steps
these are payment method ids for the issues above. Web app and React Native app respectively
https://dashboard.stripe.com/test/payments/pi_3Ppx6qFbFOzNrsPE0zjVBCod
https://dashboard.stripe.com/test/payments/pi_3PpwvmFbFOzNrsPE0gaotWgG

Question
How do I make it so that I dont see 3DS challenge on React Native?

#

@cunning hull pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best practice flow for doing payments in 1 or 2. Like either full payment on order, or paying 50% on order and 50% the next 30 days?

Ideally I would to generate both invoices on the order creation, so we have that documented already.

Be aware that payments are going through Stripe Connect accounts, so that needs to be defined, together with a fee that my platform takes.

Doc/Guide Links
Currently I have tried generated the 1-2 invoices on order, with different due date.

Then I tried to attach a checkout session to the invoice once paid, but without luck. So currently I am voided the original invoice once paid and generating a new.

What are you working on?
Building a marketplace allowing to pay in terms, like full payment on order, or in parts (like 50% now and the other 50% within the next 30 days)

cursive heronBOT
#

@late sigil pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Rejected Payment using Stripe API with MOTO

Related Request ID(s)
A lots of Payments

What have you already attempted?
Re-send the transaction but keep failing

What are you working on?
I am looking for help

cursive heronBOT
#

@unique stirrup pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I will create multiple invoice item on webhook event invoice.created, but what is the minimal amount of a invoice item to be taken into account ?

It seems if the amount is too small, the total is always 0

Related Request ID(s)
evt_1PqGopJihFHvqYjRTDmiMVhA

What have you already attempted?
Using bigger amount seems working. But no sign of any minimun in the docs

#

@random crest pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way that I can export all sources that have created ?

Related Request ID(s)
.

What have you already attempted?
We are planning stripe credit transfer to eur bank transfer migration. So I need al created source Ids to get some meta data to update some details in my system.
So I am wandering if there is any way to export / list all sources that we have created

cursive heronBOT
#

@brazen sparrow pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have updated magento to 2.4.7-p1 and after update my stripe got tons of logs:
like this:
myUL7sP0lVc0yJYB) [] []
[2024-08-21T16:08:45.346296+00:00] webhooks.INFO: Received stripe_payments_webhook_product_created (evt_1PqH5UA1myUL7sP0NzExKbXE) [] []
[2024-08-21T16:08:45.823361+00:00] webhooks.INFO: Received stripe_payments_webhook_product_created (evt_1PqH5UA1myUL7sP0NzExKbXE) [] []
[2024-08-21T16:08:51.775807+00:00] webhooks.INFO: Received stripe_payments_webhook_checkout_session_expired (evt_1PqG9yA1myUL7sP0vItEb7vG) [] []
[2024-08-21T16:09:13.145145+00:00] webhooks.INFO: Received stripe_pa

Related Event ID(s)
stripe_payments_webhook_checkout_session_expired

What have you already attempted?
I try remove and re create webhooks in database

What are you working on?
Repairing site

cursive heronBOT
#

@clever lark pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm just getting started with Connect. In the roll out there was an issue that caused a Stripe Account to be created but the save to our database failed, and so we have no linkage between the account on Stripe and our system. Subsequently some people hit the error multiple times creating multiple unlinked Stripe accounts. What is the best practice to get rid of the Stripe accounts in Stripe that were created in error? When viewing on of the bad accounts in Stripe there is an option to "Remove" the account. My question is if I do that will the person stop being contacted to complete the onboarding for that removed account?

Doc/Guide Links
I'm googled this a lot but the results are kind of noise, with nothing specific.

What are you working on?
Connect implementation.

#

@proper bone pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const subscriptionParams: Stripe.SubscriptionCreateParams = {... , invoice_settings: {rendering: { template: 'intemp_XXX' }}}

Question
It's possible to add a invoice template when creating a subscription?

What have you already attempted?
Adding invoice_settings to the SubscriptionCreateParams type, but since that field doesn't exist in the type that give a type error.

What are you working on?
Create subscriptions via API using a previously created invoice template, with nodejs.

#

@glacial grotto pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hey, I'm integrating Apple Pay in our white-labeled bike-share app. We store customers and payment methods via SetupIntent on a main Stripe account, and create PaymentIntent (capture_method: 'manual') on connected accounts for trip holds, which are captured (if amount <= hold) or canceled and a new PI is created if amount > hold. Since these new payments used the stored Apple Pay card and we didn't re-auth on each trip we had app store rejections. My updated flow to uses a PKPaymentRequest using the Payment Intent to show the Apple Pay sheet for each trip. The PaymentIntent is requires_capture when the sheet is shown. Does this approach meet Stripe and Apple Pay guidelines?

Doc/Guide Links
Payment Intents (https://stripe.com/docs/payments/payment-intents)
Setup Intents (https://stripe.com/docs/api/setup_intents)
Apple Pay with Stripe (https://stripe.com/docs/apple-pay)
Manual Capture (https://stripe.com/docs/payments/capture-later)

What are you working on?
Have a Flutter app that uses a main Stripe acct for customers/payment methods via SetupIntents and connected accts for PaymentIntents for trip holds. Need to fix Apple Pay integration so users authorize each new hold/payment.

cursive heronBOT
cursive heronBOT
#

@lilac ingot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to hit the v2 API from the Node SDK, but whenever I try to instantiate the SDK, I get stripe.v2 is undefined. My test key is provisioned for both v1 and v2 APIs. I have my special GitHub token in my .npmrc file. I have reinstalled the sdk. No luck. Can you think of something I am missing? Is there additional context I can provide that would help you help me figure out what is going wrong?

Related Request ID(s)
NA (can't make requests because v2 is undefined)

What have you already attempted?
Described above. I asked a question like this here yesterday, but I asked specifically about a beta product (Payouts) and I know you all don't handle those questions. This question is I think more general / not beta and I am desperately hoping someone can point me in the right direction (payouts beta team hasn't responded)

What are you working on?
a platform for researchers to pay survey respondents

cursive heronBOT
#

@dense idol pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Stripe Connect - Hide application fee

Related Request ID(s)
na

What have you already attempted?
Hi Stripe Devs, I have two goals that I want to achieve with Connect:

  1. Hide platform application fee we charge that shows up on connected account dashboards.
  2. Have the connected account process the transaction (which enables us to avoid the 0.25% fees and global expansion much easier).

I am exprimenting with the former Connect Standard setup, and I can't find a way to hide the platform fee.

For destination charges, I am reading about on_behalf_of, which uses the connected account as the settlement merchant. IIUC, does this mean the platform wouldn't have to pay the 0.25% fee?

#

@willow turret pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripeAPI.billingPortal.sessions.create({
flow_data: {
type: 'subscription_update_confirm',
subscription_update_confirm: {
subscription: subscription.id,
items: [
{
id: subscription.items.data[0].id,
quantity: 1,
price: priceId,
},
],
},
},
return_url: callback,
customer: customer.id,
});

Question
I'm using Stripe customer portal with deep-links to only show the subscription_update_confirm page to the users, I want to only downgrade a subscription when the current billing period ends and I can't find anywhere in the billing portal configuration documentation how is possible to achieve it. Is there anyway to do so through customer portal?

What have you already attempted?
I've already check https://docs.stripe.com/api/customer_portal/configurations/create and also tried disabling prorata, but it does not achieve the expected behavior

#

@subtle rose pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const { error } = await connectLocalMobileReader({
locationId: location.data?.data.stripe_id,
reader: reader || (mobileReader as Reader.Type),
});

Question
When connecting to a tap to pay local reader, I get an TOC screen for tap to pay, I want to show a video after the user has accepted the TOC, is there any event that I can listen to?

What have you already attempted?
none

#

@real compass pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Add Subscription items to an existing subscription.

What actually happened?
Attempted to add more than 20 lines to 1 subscription. returned error.

Reproduction Steps
Added more than 20 lines to 1 subscription

Question
Subscription Items is Limited to 20 Items, is there anyway to increase this limit and why does this limit exist?

#

@pure locust pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can I control the billing settings(smart retries/failed payment handler/etc) for the connected accounts under my platform so that they always follow the settings under platform account?

Doc/Guide Links
https://docs.stripe.com/billing/revenue-recovery

What are you working on?
SaaS platform where the connected accounts can create/manage their subscriptions

cursive heronBOT
languid tulip
#

@lost rock promoting is a violation of this server's rules. If you do so again you will be banned.

cursive heronBOT
#

@pale tide pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am trying to mount the stripe payment web element inside a webcomponent that lives in a shadowdom root, but it fails to open and is stuck on a loading screen. I also get

Question
Is there a way to mount stripe elements inside a shadow dom? If I remove the shadow root then the element works just fine by much of my application is developed with a shadow root in mind and needs deep rearchitecting to work without it.

What have you already attempted?
Verified I was loading the element properly by repeating steps outside of shadow dom, but couldn't find a solution to do it inside of shadow dom

What are you working on?
New integration with stripe inside an application that lives in a shadow dom'ed webcomponent

cursive heronBOT
#

@glad dust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I check via the api if a connect account has already done the provide information step?

Related Request ID(s)
N/A

What have you already attempted?
I have looked through the properties on the connect account but didn't see anything that indicated the status.

#

@steady perch pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
```python
checkout_session = stripe.checkout.Session.create(
line_items=[
{
"price": getenv(
"STRIPE_PRICE_ID_TEST_6USD_3MONTHS"
), # enter yours here!!!
"quantity": 1,
}
],
mode="subscription",
success_url=(
request.build_absolute_uri(reverse("stripe_success")).rstrip("/")

```

Question
I'm following the tutorial here: https://docs.stripe.com/checkout/fulfillment?lang=python#trigger-fulfillment-on-landing-page

however when I set the payment mode to "Subscription" I get following error:

> You must provide at least one recurring price in `subscription` mode when using prices.

What have you already attempted?
I checked the Stripe dashboard and checked if the price I'm using is set to recurring, seems like it is.

cursive heronBOT
#

@grim grove pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello! Is it possible to try to charge immediately customer when creating subscription via the Stripe API endpoint if they have card on file in their Stripe account? Should I used the off_session param to indicate for immediate charge attempt?

Related Request ID(s)
I do not have any requests yet.

What have you already attempted?
I just try to understand with the Docs, but I am not quite sure that everything is clear for me?

cursive heronBOT
#

@mental mantle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can I capture a Payment Intent in the frontend that was initially created in the backend?

Related Request ID(s)
.

What have you already attempted?
I'm trying to capture an intent that was created with a flow similar to this one: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method

I cannot find a "capture" option in the Stripe Object provided by the `useStripe` hook (from @stripe/react-stripe-js)

I found this example but it assumes that it's not using manual capture: https://docs.stripe.com/payments/payment-intents

#

@dense idol pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Clone customers across accounts

Related Request ID(s)
na

What have you already attempted?
I'm extremely confused by Clone customers across accounts (https://docs.stripe.com/connect/cloning-customers-across-accounts).

I don't want to store references from platform Customer objects to connected account customer objects.

If follow the steps for cloning the customer to the connected account: stripe.Token.create and stripe.Customer.create(source=), will that create duplicates on the connected account? How do I avoid creating duplicates?

#

@brittle garden pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i have a website and i'm using oracle gloriafood with stripe as payment provider. i have also a POS from odoo what uses stripe as payment provider. Do i need to have two companies to make both work? i tried a yesterday and today to make it work with one but didn't. now i followed the wizard from odoo but this created a new company. is this really nessesary? or did my pos just fukk around

Related Request ID(s)
req_l2UNPwAaVQGzWB

What have you already attempted?
i tried to integrate stripe manualy with test api keys. i made it run on my second pos system what i use for tests. i was able to close the shop after using the wizard and use the test api keys from my first stripe company. but everything was on test api. now i made they live system work. i'm not sure if i can change that key without issues.

What are you working on?
POS System with odoo

#

@magic halo pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I am working on discovery for implementation of PayTo in Xero. I have questions around what happens after you click Pay on the checkout element with this payment method.

1) Once the payment intent has been created and is in processing state with next action of payto_await_authorization, how long is the timeout period if the payer doesn’t respond to authorize it? Does this vary by bank?
2) Can a payment intent in this state be cancelled, prior to the payer responding to authorize it?
3) Is there any mechanism to resend the authorization notification via the bank?

What have you already attempted?
I have read the docs, tried this using a test account for Xero/Stripe where PayTo is enabled, tried creating a Stripe invoice on the enabled account where PayTo was neither available nor in the unavailable payment methods listed, tried creating a payment link.

What are you working on?
Xero online invoices, adding new payment methods.

#

@latent sequoia pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Recover account with 2-step verification

What actually happened?
It didn't work.

Reproduction Steps
I tried to log in and then it said verify but when I tried to it said contact support.

Question
I need to figure out how to get back into my account.

What are you working on?
I was trying to connect Stripe to GoImagine on my laptop. I don't think I've ever used my laptop for Stripe.

cursive heronBOT
#

@pure locust pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What could be the reason that webhook event don't show up in stripe dashboard?

Related Event ID(s)
-

What have you already attempted?
logging out and back in

What are you working on?
SaaS platform supporting connected accounts

#

@weary crescent pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const options = {
mode: 'subscription',
amount: total,
currency: 'usd'
};

<Elements stripe={stripePromise} options={options}>
<PaymentElement onChange={(event) => {
console.log("here");
if (event.complete) {
// Extract potentially complete address
const eventValue = event.value;
console.log(eventValue);
}
}} />
</Elements>

Question
Can we retrieve the country and zip code out of the PaymentElement onChange handler like we can with the full address in AddressElement? I'm working on an integration with an external tax platform that takes the customer entered country and zip from PaymentElement and uses that to calculate taxes and regenerate the PaymentElement with the new total.

What have you already attempted?
It seems like this may only be possible using AddressElement (https://docs.stripe.com/elements/address-element/collect-addresses). Are there any other approaches?

What are you working on?
Working on a new FE integration using PaymentElement to collect payment details before creating an Intent

cursive heronBOT
#

@green falcon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to access the receipt_url in test mode for a test charge. The payment was made using stripe checkout, The payment was successful, I can see the receipt_url in charge.succeeded event in the stripe dashboard but when I try to retrieve it, in my firebase cloud function using the stripe api, it does not contain the charges array. I am accessing it using the correct payment intent id and I am able to retrieve the payment intent, however it does not contain the charges array (or any charge). Is this a known issue with the test environment?.. Please help..

Related Request ID(s)
req_piuUm2joGwtrvh

What have you already attempted?
I have tried logging the payment intent object (stringifying it), it doesn't seem to contain any charges in the response. However it is present in the dashboard.. I am using the test environment.

What are you working on?
I am working on a cloud function to retrieve a receipt_url for processed payments for customers (end users). We are launching soon and this is one of the final requirements left. Any help appreciated

cursive heronBOT
#

@signal ore pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Relating subscriptions: Is there a way to associate a customer id to a payment link?
My goal would be to first create a customer and associate its ID to my user account and subsequently invoke the payment link where that customerID would already be associated to.
This would also help me avoid creating duplicate customers for the same user, if accidentally they buy the same or another subscription.

Related Request ID(s)
no related request ids

What have you already attempted?
I am using client_reference_id sending my userId on the payment link, to be able to associate the different webhook calls, but it complicates my after checkout flow

What are you working on?
A/B testing platform

cursive heronBOT
#

@opal thunder pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We'd like to be able to create a purchase flow for customers to choose prices with different recurring intervals, bill them in a single transaction, and then create subscriptions for each interval (without billing them a second time).

Related Request ID(s)
N/A

What have you already attempted?
I've tried going through a lot of the Stripe docs and couldn't find an example of this. Do we create a Setup Intent and then transact from that or create separate subscriptions and combine those into a single shipment?

cursive heronBOT
cursive heronBOT
#

@tropic pond pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When using PaymentLinks for subscriptions, how to re-use the same customer as previously instead of recreating one?
E.g: if a user uses a payment link with `prefilled_email` filled and purchases a subscription, then cancels it and uses the same link again, it will create another customer. So in stripe Customer database, we end up with multiple customers with the same email address.

As I activated the option to limit customers to have only one subscriptions, if user used the same link while still subscribed, it would be prompted with a different screen. So stripe leverages `prefilled_url` to identify the user, but for new subscriptions it doesn't.

Doc/Guide Links
https://docs.stripe.com/payments/checkout/limit-subscriptions

What are you working on?
stripe checkout

cursive heronBOT
#

@uncut pollen pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How I can fix the below issue:

Exception :Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.

Related Request ID(s)
No logs

What have you already attempted?
Generating Token

cursive heronBOT
#

@tame ivy pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a webhook connected to a checkout of a platform that I use to carry out an ecommerce and I have some doubts, in events it appears that the session expired or that there was an error when making the payment, it appears at different times and dates, my question is Are those clients who tried to buy from me or what is happening?

Related Event ID(s)
my webhook events

What have you already attempted?
I still don't know, this is new for me, I want to know if this means that payments from my webhook have been rejected

What are you working on?
nothing

#

@obtuse delta pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const registerUser = async (user) => {
try {
const newUserData = { email: user.email, name: user.name, password: bcrypt.hashSync(user.password, 10) };
const newUser = await createUser(newUserData);
return { status: 200, message: 'User registered' };
} catch (err) {
return { status: 500, message: 'Registration failed' };
}
};

const createUser = async (data) => {
try {
const stripeCustomer = await stripe.customers.create({ email: data.email, name: d

Question
While trying to register a new user using the registerUser function in authservice.js, I encountered an error related to the Stripe API. The error states:

vbnet
Copy code
Error creating user: You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer [REDACTED].
This error occurs when attempting to create a new Stripe customer within the createUser function in usermethods.js. The environment variable STRIPE_SECRET_KEY is set an

What have you already attempted?
Verified that the STRIPE_SECRET_KEY is correctly set in the .env file and loaded into the application.
Confirmed that the Stripe client is initialized correctly in usermethods.js.
Ensured that the API key is not null or undefined by logging it before making the Stripe API call.
Attempted to pass the API key directly in the Authorization header when calling the Stripe API, but the issue persists.

What are you working on?
I'm working on a Node.js application that handles user registration, including creating a corresponding Stripe customer upon registration. The registration logi

cursive heronBOT
#

@ocean cradle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hello, I want to create a subscription without taking payment so initial invoice can be created with due payment and I want to set auto collection off so that it cannot attempt to charge after 1 hour. Afterward, if customer wants to add card, then the auto collection can be turned on and the due payment is taken on it for the invoice.

Related Request ID(s)
123

What have you already attempted?
I have created shceduled subscription without passing default payment method so subscription is created with draft and open status of invoice.

What are you working on?
Creating subscription

cursive heronBOT
#

@static belfry pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Current:
if (result.error) {
HandleFailure(submitButton, result.error, options);
} else {
HandleSuccess(result, submitButton);
}
example in question for improvement:
if (result.error) {
HandleFailure(submitButton, result.error, options);
} else {
stripe.handleNextAction({
clientSecret: '{SETUP_INTENT_CLIENT_SECRET}'
}).then(function(result) {
HandleSuccess(result, submitButton);
});
}

Question
While testing in test environment with card number 424242424242 everything went fine and setup intent was confirmed success. With live environment, a payment is declined due to postal code block rule in Radar (Block if :billing_address_postal_code: != 'pass'). The question is if this is a validation error, or a setup handling issue.

What have you already attempted?
Contacted support. Got answer "the RADAR rule will be applicable once the payment intent is initiated and the payment method authorization is processed. The current error reflected in the event as well as the setup intent is generic decline. Furthermore, the postal code is unchecked in the event of checking the request and the response for those checks"

cursive heronBOT
#

@errant venture pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
this.cardNumberElement = elements.create('cardNumber', {
style: elementStyles,
});
this.cardNumberElement.mount('#card-number');

Question
We are Facing an issue regarding the preferred network selection. As we have integrated a Custom payment method into our project.
I need to know that where and how we have to pass the preferred network selection. As From the front end side, We are calling the Payment_Method to get the stripe token and then pass it to the backend. And in the backend, They are calling the Payment_Intent API.

What have you already attempted?
As While calling the payment_method API from the front end we are using stripe elements to create the card number, CVV and Expiry Date.

We are directly passing the (this.cardNumberElement) in the Payment_Method API.
I need help with how to pass the preferred network selection by the user in the Payment_Method API, if we are unable to pass it in this API from the Front end side then please give some alternative solution for the same.

cursive heronBOT
#

@sour idol pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
https://api.stripe.com/v1/payment_intents

i want to use payment_method - created in one connected account &
use in another connected account

Related Request ID(s)
https://api.stripe.com/v1/payment_intents i want to use payment_method - created in one connected account & use in another connected account

What have you already attempted?
https://api.stripe.com/v1/payment_intents

i want to use payment_method - created in one connected account &
use in another connected account

What are you working on?
https://api.stripe.com/v1/payment_intents i want to use payment_method - created in one connected account & use in another connected account

#

@hearty lodge pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Trying to figure out what payment method types I can use with the SetupIntent API, getting a list from the PaymentMethods doesn't seem to work. If I try for example to use 'giropay' I get the error:

The payment method type "giropay" is invalid. See https://stripe.com/docs/api/payment_methods/object#payment_method_object-type for the full list of supported payment method types. Please also ensure the provided types are activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any features that you are trying to use.

Related Request ID(s)
req_hQLEctQ6nDh2d8

What have you already attempted?
The payment method is enabled in my account. I am not sure at this point if I am not passing correctly the payment method or what is happening

#

@cobalt mist pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Do we have stripe APIs for creating subscription?
Req: My system has products that has dynamic pricing like pricing can be increased and decrease for the subscription.

Question
Therefor, can we update that subscription by calling subscription api ?

What have you already attempted?
tried to create subscription in ui, go through the docs

cursive heronBOT
#

@trail glen pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have to make team subscription system for enterprise payment. But i couldn't find the option in stripe.

Is there any way to manage team subscription in stripe?

Doc/Guide Links
i couldn't find the API for managing group payment.

What are you working on?
I'm searching on team subscription for enterprise payment.

#

@normal forge pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/payments/link/card-element-link#test-link-in-the-card-element

Question
I connect my shop account with my stripe account. And at payment method setting for Link, I enabled the Card Element on Supported integrations of Link setting, but in my checkout page, it's not show the autofill link in card element

What have you already attempted?
https://docs.stripe.com/payments/link/card-element-link#test-link-in-the-card-element

What are you working on?
A website store

cursive heronBOT
#

@sterile knot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to send card details from backend when creating paymentIntents for example?

Related Request ID(s)
What is this?

What have you already attempted?
Not much since i dont event know if this is doable or not

What are you working on?
We are going to have QR code scanned by our customers' bank mobile app where we will receive the card information so can process a payment through it

cursive heronBOT
#

@nimble canyon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
This is a question regarding Web Elements API. My implementation has been working perfectly for over a year, and we take around Β£10,000 per day. The payment is made through our own website, using Web Elements to hook up the payment form fields.

Over the last few days, we've had a spike of failed payments. Investigating this, the failures have been due to **3DS Protection not being performed by the customers**.

Is there anything I need to know as a developer in regards to implementing the 3DS Protection within our website, or should this all be handled by Stripe and the customer's bank?

Related Request ID(s)
pi_3PptASHorLyYqvBK1j1k9ypS

What have you already attempted?
I have reached out to customers that have been having failed payments. All customers, along with the customer with the payment intent ID above assures me that **they have never received any comms from their bank, or any 3DS protection information**.

What are you working on?
Accessible tickets for events and venues

cursive heronBOT
#

@shut lotus pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
so i am integrating with stripe connect apis, in my flow, i have already done identity verification for my users, before onboarding them on stripe connect, how do i map their identity details to their connect account so they won't have to do it twice

Related Request ID(s)
none

What have you already attempted?
i have tried the identity verification and the stripe connect account onboarding differently

What are you working on?
i am working on a ride hailing application

cursive heronBOT
#

@rich thunder pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi, there
I'm using a pricing table script in my Flutter app, and now I want to send an email after a successful transaction.

Related Request ID(s)
req_fAgdyIB99tQ4Fk

What have you already attempted?
I have purchased the plan using a subscription.

#

@fresh haven pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Raising subscription invoices

Question
Is it possible through the subscription creation API, to hide the period start and end from the invoice which is created through stripe subscriptions?

What have you already attempted?
Looked at all API options and seem to see nothing

#

@azure shore pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can i get the stripe network analysis Activity on stripe network for identity variable, also in code with the api?

Related Request ID(s)
-

What have you already attempted?
I have looked at the docs.

What are you working on?
A verification system.

#

@steep summit pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am integrating the stripe apis. I have created customer, created payment method, attached payment method with customer. Then created payment intent with customer and payment method inside the body of payment intent. And then sending the client_secret to the frontend? I want to know that how can i use the client secret on frontend to make sure the payment in the PaymentElement from stripe elements will be made through the same payment method that i attached in the payment intent? Or what is correct flow for making sure the payment intent is paid from same payment method using client_secret?

Related Request ID(s)
req_3AVDommD2btE4T

What have you already attempted?
Explained in the main question

What are you working on?
I am integrating payments using payment intent from stripe. Actually our system makes payment and we need to collect card payments.

#

@meager rock pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://dashboard.stripe.com/acct_1PmizdPv7dlzSoCT/logs/req_7ua4SLWRS6Tvcb

Question
I'm trying to update connected account with an identity document which was attached to the verification session report, and has status verified. The update request failed due to the 'purpose' field not being `identity_document`. However, this file object was generated by Stripe Identity, not by a user request to the API. I want to know, why is this request failing for a US platform and not failing for an Irish platform?

What have you already attempted?
Tried the same request on the Stripe Irish platform and it worked.

cursive heronBOT
#

@digital mason pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Got error as the below one for a payment request
"The source you provided requires a valid accepted mandate to be in a chargeable state."

This error has received for one of our customer's recurring payment

Related Request ID(s)
cus_9f5a3bd703d5afde90783d90714a8f89 payment_0a7a733dcb15ce34419191f45278969c

What have you already attempted?
nothing attempted already

What are you working on?
we are developing and maintaining our customers invoices and payment through our software

#

@frozen sail pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
When testing platform pay in our react native stripe integration, our QA is using their real google pay/apple pay wallets with real cards in them in the test environment. one of our QA guys reported that he wasn't able to successfully get a topup with google pay nor apple pay but mentioned that the card stored in his wallet doesn't actually have the amount he tried to execute the topup for. my question is: is the balance checked in a test environment for platform pay topups?

Related Request ID(s)
/

What have you already attempted?
/

What are you working on?
Topup feature in our react native financial app

#

@cobalt mist pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const subscription = await stripe.subscriptions.create({
payment_method_types: ['card'],
mode: 'subscription',
customer: user.customerId,
items: [{ price: subscriptionId.pricingId }],
return_url: 'http://localhost:5173/dashboard/buy-credits',
ui_mode: 'embedded',
metadata: {
userId: req.user.id,
phoneNumber:phoneNumber
}
});
res.json({ clientSecret: subscription.payment_intent.client_secret });
} catch (

Question
do subscription have ui mode embedded?
error:
Received unknown parameters: return_url, ui_mode, mode, payment_method_types. Did you mean payment_settings?

What have you already attempted?
`

cursive heronBOT
#

@silver pendant pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

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

Question
I live in the UK and currently looking at using the Stripe Reader M2, it says it's available in the US but I'm wondering if there any way I can use it in the UK?

What have you already attempted?
n/a

What are you working on?
Point of sale system

#

@wispy nest pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
import stripe
import datetime
from your_database_module import get_pending_payments # Replace with your actual database query function

stripe.api_key = 'your_stripe_secret_key'

def check_payment_status():
# Fetch pending payment intents from your database
pending_payments = get_pending_payments() # This function should return a list of payment IDs

for payment\_id in pending\_payments\:
    try\:
        \# Retrieve the Payment Intent from Stripe

Question
i want to create a cron to check the status of transaction but how shall i do it if i am using checkout sessio

What have you already attempted?
i tried this

#

@waxen basalt pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Expect to link a connected account to a platform account via an API call

What actually happened?
Error: Please review the responsibilities of managing losses for connected accounts at https://dashboard.stripe.com/settings/connect/platform-profile.

Reproduction Steps
Can reproduce in my custom integration

Question
What does this mean and how do I fix it?

#

@nocturne saddle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My Stripe payment integration is working but ... 3dsecure doesn't work. The payment arrive in Stripe in stand by to another authentification (maybe from the bank)

Related Request ID(s)
req_r1Ch0WMX4pnrn2

What have you already attempted?
$intent = \Stripe\PaymentIntent::create([

What are you working on?
stripe online payment

cursive heronBOT
#

@high spindle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have built a partner integration, lots of functionality using the Stripe api, but also uses the Card Element. It uses connected accounts. But in the Card Element, it has now started to show "Save with link" and "Autofill link" and In need this switched off. I have tried switching it off in the Payment Methods in the account that owns the integration. I have also tried asking my connect customers to switch off the setting in their payment method, but neither seems to turn the functionality off.

Is there a way to force this to be switched off in Card Elements?

Related Request ID(s)
N/A

What have you already attempted?
Switching off the setting in my Payment Methods and the connected accounts Payment Methods.

What are you working on?
A third party stripe integration for the Microsoft Dynamics 365 Business Central ERP system.

#

@latent thorn pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Salesforce Payment - how can i get API?

Related Request ID(s)
API

What have you already attempted?
I am a Salesforce developer and I need to work with Salesforce Payment and Stripe. The task is to have a custom Salesforce Subscription object to be able to pay it in Stripe, but because of the connection via Salesforce Payments, I have no way to get an API to do the transactions. How can I get API or any other ways to send payment to Stripe?

cursive heronBOT
#

@rough needle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you help me with an issue? We are trying to request access to the Collect Inputs beta for server-driven. Can you help us with this request.

Related Request ID(s)
-

What have you already attempted?
sent email

What are you working on?
setup Stripe Reader S700

cursive heronBOT
#

@atomic rune pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am currently settling in US dollars, but I want to price in Chinese yuan. Can I know how much US dollars we can get before the user makes the payment

Related Request ID(s)
no

What have you already attempted?
I couldn't find the corresponding document. Can you help me

#

@obtuse delta pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am encountering an issue where the customer ID provided in the webhook does not match the customer ID associated with the email of the user who completed the payment. This discrepancy is causing an error when trying to update the user's subscription status. Could you help me understand why this mismatch is occurring and how to correctly identify the customer ID linked to the payment?

Related Event ID(s)
evt_1Pqac5RsJfE0QDMTBcrfaAIi

What have you already attempted?
I have verified that the webhook signature is correct and that the webhook event is being handled as expected. However, the error occurs when updating the user subscription status, which suggests that the customer ID is not matching the expected ID in our system. I have checked the logs, and the customer ID in the email does not seem to align with the one provided by Stripe in the webhook event.

What are you working on?
I am working on maintaining a subscription-based service where users are billed via Stripe. The issue is related to correctly identifying and updating user subscription statuses based on the informati

#

@gloomy arrow pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const stripe = require('stripe')('sk_test_β€’β€’β€’here');

const paymentLink = await stripe.paymentLinks.create({
line_items: [
{
price: '{{PRICE_ID}}',
quantity: 1,
},
],
});

console.log(paymentLink.url);

Question
I am struggling to figure out how to integrate stripe create payment link using Java Script and there is no docs on how to do this.

What have you already attempted?
I have attempted to use the doc, search for other manuals on Google etc

What are you working on?
for a website

#

@errant venture pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
this.cardNumberElement = elements.create('cardNumber', {
showIcon: true,
style: elementStyles,
});
this.cardNumberElement.mount('#card-number');

var cardExpiryElement = elements.create\('cardExpiry', {
  style\: elementStyles,
}\);
cardExpiryElement.mount\('\#card\-expiry'\);

var cardCvcElement = elements.create\('cardCvc', {
  style\: elementStyles,
}\);
cardCvcElement.mount\('\#card\-cvc'\);

Question
I am Facing an issue regarding the preferred network selection. As we have integrated Custom payment method in our project.
I need to know that where and how we have to pass the preferred network selection. As From the front end side we are calling the Payment_Method to get the stripe token and then pass it to the backend. And in the backend they are calling the Payment_Intent API.

What have you already attempted?
As While calling the payment_method API from the front end we are using stripe elements to create the card number, CVV and Expiry Date.

What are you working on?
We are directly passing the (this.cardNumberElement) in the Payment_Method API. I need help that how to pass the preferred network selection by the user in the

#

@sour idol pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
platform account - A
one of connected account ie X - paymentIntent Method - created customer & payment method - payment happen here
one of connected account ie Y - use above method & card info charges once again
platform account - A - will get application fee from X - $3

Real example :

$106 - to be charged to user & by connected account ie X
$3 - taken by stripe
$3 - taken platform account - A as application fee
$100 - net received by connected account ie X

now again charges $5 from one of connected account ie Y

Here i am having issue

Related Request ID(s)
above issue

What have you already attempted?
above issue

#

@stark jacinth pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We have a lot of load performance tests that create a lot of payments. What I'm seeing is each time this is creating a new payment method when I use the pm_card_visa payment Id. Is there any way I can. not attach this payment method each time? I'm hitting the 200 limit of payment methods that we have on customers.

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

What have you already attempted?
I've looked through the docs around setting up future usage and it seems that if my intent has already set this I can't then set it back to none:

https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-setup_future_usage

What are you working on?
Load tests

#

@trim crypt pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to disconnect standard connected account from platform account via node js sdk

Related Request ID(s)
acct_1PqaQ7HGvMdQKwbK Connected account id

What have you already attempted?
I don't find any method to disconnect account. Deletion is not an option as this is stripe standard connected account and stripe is liable for negative balance.

What are you working on?
I am building creator economy app where we create standard connected account for creator

cursive heronBOT
#

@dark hearth pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to have a subscription that only runs for 1 year, (so basically doesnt renew) and have the customer choose from within my billing area to opt into renewals, is this possible?

Related Request ID(s)
NA

What have you already attempted?
Looking into docs and control panel

#

@maiden blaze pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
this call is not made unnecessarily
```Request URL:
https://r.stripe.com/b
Request Method:
POST
```

What actually happened?
this call is made A LOT

Reproduction Steps
I'll share a screenshot

Question
what makes this call made? My code base is massive and I want to know what causes this

#

@normal dust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am using Payments intents API to do one time payments as well as create recurring tokens for ideal.
Looks like, I am now able to create a recurring sepa debit payment method without a customer. And the payment is also successful. This is not mentioned in the doc, and it says that the payment method should be attached mandatorily to support recurring payments.

Related Request ID(s)
N/A

What have you already attempted?
Earlier, we will not be able to make a payment using SEPA method created from ideal without attaching customer. Has the behaviour changed?

What are you working on?
Migrating Stripe sources API to intents for ideal

cursive heronBOT
#

@serene prism pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$session = Session::create([
'payment_method_types' => ['card'],
'customer' => $customer_id,
'line_items' => [
[
'price' => $subscriptionPlan->stripe_price, // The price ID of the plan
'quantity' => 1, // Typically, this is 1 for subscriptions
],
],
'mode' => 'subscription', // Set mode to 'subscription'
'client_reference_id'

Question
apple pay button is not showing on stripe hosted checkout page.

What have you already attempted?
Apple payment method is enabled from stripe dashboard and domain is verified.

cursive heronBOT
#

@obsidian ferry pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Test banks have different fingerprints in the setup_intent.succeeded event

What actually happened?
Banks I am using in Test (Success, Test OAuth, and Ownership Accounts) when the payment method is attached have the same fingerprint

Reproduction Steps
SetupIntent -> Gather Financial Connection -> Confirm Intent

Question
Is using a fingerprint to distinguish between unique external financial connections the proper way to distinguish? If so, do the Test Accounts only have a single one?

#

@valid elk pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a stripe account with connected accounts. I used a connected account to do a checkout session. The payment went through and everything seems fine, however the webhook I set up did not hit my API. I don't see the webhook trigger on the stripe dashboard either.

Related Event ID(s)
we_1PqZxWFaLfx7inrCnMqQKL4J,pi_3Pqc8uFTooKdN4Un0Fxn9PHt

What have you already attempted?
Read the docs for checkout sessions again. Webhook seems to be set correctly. Running locally with the `stripe listen --forward-to` works fine too. Just not in production, not sure if I am missing something.

What are you working on?
Building a commerce website

#

@twilit raven pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I’m working on a payment integration where our customers use Stripe to accept payments. Our current approach is to have the customer create a Stripe account and then provide us with their API key. We then use that API key to set up webhooks on their behalf to send data to our API.

Is this an acceptable practice according to Stripe's guidelines for managing webhooks and customer account access?

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

What are you working on?
ERP Accounting Management Software

#

@full sapphire pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Test payment intent `pi_3PqcprHKQ1MO1mAI0ZDsUWCa` using test IBAN `FR7920041010050500013M02600 ` should have been set to "requires_payment_method" within three minutes.

What actually happened?
After three minutes, charge has been updated as still pending.

Reproduction Steps
Create a test payment intent, charging a set up payment method with IBAN "FR7920041010050500013M02600", wait three minutes.

Question
Is that really the expected behavior ?

What are you working on?
Building a subscriptions system

cursive heronBOT
#

@upbeat hazel pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to know when Apple certificates are due for expire for Apple Pay on IOS, I have a lot of users on my ios application and there's no way to track expiry of apple certificates.

Related Event ID(s)
NA

What have you already attempted?
Doing manual entries in csv :(

What are you working on?
maintaining an app

#

@gaunt spade pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am looking to find the best stripe payment flow for my use case. I am building a ride sharing platform in the UK. It allows drivers to list a ride and riders to reserve that ride and make payment to the driver.

I want the rider to pay by card, platform can take a fee and then after a couple of days, my platform initiate the transfer to the drivers account.

Does the driver have to create a Stripe connected account? It seems a bit overkill for them to fill in all the information. I want the money to go straight to their card, like many other marketplace type apps. What is the best and simplest flow here?

Doc/Guide Links
https://docs.stripe.com/connect/collect-then-transfer-guide?locale=en-GB

What are you working on?
App for ride sharing, drivers list rides and riders pay

cursive heronBOT
#

@thorny hemlock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In create preview invoice, I would like to know whether the attributes of the returned Invoice object are nullable or not

Related Request ID(s)
req_Zvc5qpuP6MdUfz

What have you already attempted?
I make calls in two patterns and would like to know if the attributes described below are nullable.
[1] preview by an operation that specifies a subscription with a single price and replaces the item with an immediate update.
{
subscription: "subscription id",
subscription_details: {
items: [
{
id: `current subscription item id`,
price: 'new price id,
},
],
billing_cycle_anchor: "now"
}
}
[2] Switch to a lower price subscription schedule preview
{
customer,
schedule: subscriptionSchedule,
}

cursive heronBOT
#

@errant mirage pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
when i pay using a valid card using interface stripe, e receive many request at once, it comes in a specific order?

Related Event ID(s)
payment_intent.create payment_intent.succeded

What have you already attempted?
i need the answer to try somenthing

#

@spring mantle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Can you update Stripe Tax to be able to collect taxes using just the zip code?

Related Request ID(s)
https://dashboard.stripe.com/payments/pi_3PnSJoA05yHBHBKE0qtvhTjM

What have you already attempted?
My company is registered to collect taxes in Texas, and we've set the tax setting to be "Excluded". We've also set our Texas products to be taxable using the right tax codes.

Despite this, the checkout sessions still aren't charging taxes for our customers, because they require a full address verification. We don't want to require customers to input their full address, so we just ask for the zip code.

This isn't enough for Stripe Tax to apply. Can we allow for Stripe Tax to be applied just by verifying the zip code matches the registered state?

What are you working on?
EasyExpunctions is a service that allows people to expunge their criminal records for a much lower cost than lawyers. Just provide your name and DOB, and we'll take care of the rest!

#

@hexed saddle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is the API version of Payout Reconciliation (https://docs.stripe.com/reports/api) capable of returning ALL accounts like the GUI version ?

Related Request ID(s)
Dashbord > Reports > Payout Reconciliation

What have you already attempted?
Reading the API doc but there is no mention of targeting specific account(s) or ALL accounts

What are you working on?
Pulling this data via API integration to FP&A tool

#

@shadow gulch pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Hey! I reached out about this issue with the PaymentElement validations not being translated a couple days ago and y'all said the production version should be fully translated but I'm seeing the same issues

What actually happened?
Not all fields translated or translations cut off. I'll put a screenshot in thread

Reproduction Steps
Set locale as not "en" (we used "es") and Open PaymentElement to link bank account, type in search for bank account but put in a number so no bank found validation shows.

Question
How do we make sure this is translated?

#

@opal thunder pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We'd like to be able to create a purchase flow for customers to choose prices with different recurring intervals, bill them in a single transaction, and then create subscriptions for each interval (without billing them a second time).

Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements

What are you working on?
A new checkout funnel using Elements to create multiple subscriptions with a single initial charge.

cursive heronBOT
#

@robust ermine pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Add the library dependency and continue using all the text fields with TextWatcher normally, without crashing the app.

What actually happened?
The issue arises when just adding the implementation 'com.stripe:stripecardscan:version' dependency (version 20.48.3 or 20.48.0). Even without importing any module from the dependency into the project, simply adding it to the Gradle file causes all my text fields that use TextWatcher to break. Removing the dependency my text fields start working normally again.

Reproduction Steps
The crash occurs whether the text field is filled manually or automatically. For instance, in the card number field with the mask (**** **** **** ****), the app crashes as soon as the first four characters are entered.
Β 
The kotlin version is 1.9.0 and the API is 34

Question
How can I handle the integration of the the stripe card scan library for android in my project without causing issues in the TextWatcher implementation?

TextWatcher documentation (https://developer.android.com/reference/android/text/TextWatcher)

What are you working on?
I’m working on a project to scan the card number. The kotlin and the SDK version 1.9.0 and 34

cursive heronBOT
#

@tame saffron pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I would like to extend a subscription by 1 month when a user refers someone. I've read through the documentation, but the only real option seems to be to add trial time (via the trial_end attribute), which (as far as I understand it) if added to an already running subscription, doesn't actually add any time to the subscription?

I'd love to understand what attributes I need to update in a subscription to simply push the time of the next invoice back by a month basically.

The solutions I read online seem mostly like rather complicated workarounds. I imagine I will have to somehow shift the billing cycle?

Doc/Guide Links
https://stackoverflow.com/questions/76547427/stripe-subscriptions-offer-one-month-free-in-the-middle-of-a-subscription

https://support.learnworlds.com/support/solutions/articles/12000045278-how-to-extend-a-user-s-subscription-trial-period-via-stripe

https://docs.stripe.com/billing/subscriptions/overview

What are you working on?
Attempting to implement a simple referral program for a Website.

#

@manic igloo pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I am trying to write a webhook for stripe in my backend but each time i am getting this error "No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?". I tried many things but not working.

Related Event ID(s)
this is a testing event id evt_3Pqfw0CbKxPFheRp02TZnaB9

What have you already attempted?
i have tried many things found on a quick google search but not successfull for now.

#

@sturdy bronze pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to include the user's saved and standard payment methods when they go to checkout for a subscription, but I can't figure out how

Related Request ID(s)
https://checkout.stripe.com/c/pay/cs_test_b1DHcv1oWD8ofufxNuRKxg5jEo4Xn428TacA94iRg6G88mBuVC6GShCmFI#fid2cGd2ZndsdXFsamtQa2x0cGBrYHZ2QGtkZ2lgYSc%2FcXdwYCknZHVsTmB8Jz8ndW5acWB2cVowNEppaElHTzEyQT0xaVxcS

What have you already attempted?
I have tried searching through the docs

#

@short oak pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements/submit

Question
In our application, we are currently using the link authentication element in conjunction with the payment element to collect email addresses in payment. However, we would like to make email address optional. This means that if nothing is entered into the email address section, we would like to proceed to payment without validating that field when calling elements.submit().

What have you already attempted?
When creating the payment element, I have tried to add to options: fields -> billingDetails -> email as "never". This still requires the email address section to be validated.

What are you working on?
Migrating current payment system to Stripe Payment Element

#

@undone mortar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Retrieve Customer Billing Emails via API

Related Request ID(s)
req_J2tCf2RnaFTI93

What have you already attempted?
Hey! I notice that in the Stripe API, I'm unable to retrieve the customer's billing emails. Via the dashboard, I'm able to view/edit it, and I saw in the documentation that editing billing emails via the API is not supported, but is there a way to retrieve the billing emails via the API?

#

@alpine flicker pressed the πŸ“š Doc or Guide button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/update#elements_update-options

Question
How can I use setup_future_usage=off_session along with opting out of 3d_requires action triggers.

I get this error: You cannot confirm with `off_session=true` when `setup_future_usage` is also set on the PaymentIntent. The customer needs to be on-session to perform the steps which may be required to set up the PaymentMethod for future usage. Please confirm this PaymentIntent with your customer on-session.

What have you already attempted?
I am setting "off_session: true" and "setup_future_usage: off_session", for creating Payment Intent on server-side implementation.

#

@errant mirage pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i created a dispute but i cannot call my webhook where the status 'won'

Related Event ID(s)
change.dispute.create

What have you already attempted?
tried to perform a counter dispute by dashboard stripe

cursive heronBOT
#

@cloud sail pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I got an Stripe Account. When a new user signs up and creates an subscription I create a stripe customer. The customer can add more team members to the subscription. I would like to be able to transfer the subscription to another team member. For this I create another Stripe customer. I thought I could just update in the subscription the customerID to the new customer but it says it is an unknown parameter?

Related Request ID(s)
req_5MG53PCaCyntEF

What have you already attempted?
Reading documentation.

What are you working on?
Front and and backend that sells subscriptions.

#

@past epoch pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
I created a Per Seat Subscription Model in the TEST mode where a seat on a Subscription costs $200, but when I add another seat on the subscription (On a regular subscription I modify the quantity parameter to 2) I am getting a charge of $600 where in the invoice it mentions the current month and posterior month but in the same invoice billed in the current month

What actually happened?
Invoice:
Current Month: Aug 22 - Sep 22 2024
Remaining time on 2x Per-seat subscription after 22 Aug 2024 --- Quantity 2 --- Amount $400
Unused time on Per-seat suscription after 22 Aug 2024 --- Quantity 1 --- (-$200)

Sept 22 - Oct 22 2024 Per-seat subscription --- quantity 2 --- $400
subtotal : $600
Total: $600

Reproduction Steps
Having a product of recurring charges (subscription) per month, and when generating a subscription, then change the quantity from 1 to 2 (which means going from a single product of per-seat subscription to adding another one)

Question
I would have thought that the total charge would be $400 dollars but it is actually $600 in the immediate next invoice and after that one is $400 . So why is this value of $600 and what does it mean?
The subscription ID is the following: sub_1PqgY8BYrQRSoqF2w9YS5EC0 (TEST mode).
(Sorry to @jack_stripe because I missed the response he kindly asked and thread closed)

What are you working on?
Generating a subscription payment model based on seats

cursive heronBOT
#

@regal yacht pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$('#followInstructions').on('hidden.bs.modal', async function (e) {
await disconnectReader();
await reconnectReader();
});

Question
I am trying to cancel an action or payment on my terminal so it goes back to a blank screen. Right now I have a kind of mcdonalds kiosk web app. When the user adds to cart and clicks checkout a modal pops up and prompts the user to use the terminal to pay. Now when the user closes the modal before I paying I want the stripe terminal reset (still be connected) and have a blank screen again. If the user opens the modal again the terminal read the amount and be ready to pay.

What have you already attempted?
I tried disconnecting and reconnecting the wisepos e but I cant do that it will throw an error mid way through a payment. There must be a simple way to cancel the current action on the terminal but I can't find it anywhere

What are you working on?
in person reservation kiosk with intergration to stripe terminal using bbpos wisepos e

#

@hoary scroll pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to change the product on a subscription right before it renews?

Users can get on a quarterly subscription where they receive 3 physical products. If they don't check -in with us during the quarter, we want to just charge them for just 1 product when the subscription renews (so we need to modify the price_id on the subscription). However this is challenging because we only want to swap the product on the subscription RIGHT before it renews as then we know they haven't checked in with us yet. Is there a way to do this?

Doc/Guide Links
N/A N/A N/A N/A N/A N/A

What are you working on?
I dont want to use invoice.upcoming as we have it set for 2 weeks in advance for now and dont intend on changing it.

#

@plain chasm pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
In order to create a direct charge on behalf of a connected account, does the customer have to exist on the connected account?

Related Request ID(s)
req_zvhA9BEfz56hyy

What have you already attempted?
https://docs.stripe.com/connect/direct-charges?platform=web&ui=elements

What are you working on?
We're attempting update our API to move toward direct charges to reduce in house costs relating to refunds, failed payments, & disputes

cursive heronBOT
#

@fallen heron pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
My client has an existing website that was built with some home grown technology and utilized an API inteface to connect to his Stripe account for one-time purchases and the establishment of subscriptions.

The new version of the website will use WooCommerce and connect to the same Stripe account. We have a solution to re-establish the subscriptions but is it possible to re-associate the customer accounts imported into the new website with their existing payment profiles on Stripe? We have their Stripe Customer IDs and subscriptions ids available. Again - using WooCommerce with Stripe. Currently the plan is to use the same Stripe as the old site unless their is need for new

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

What are you working on?
Re-associating customers with their stripe payment profiles on a new version (new ecommerce platform) of an existing website.

cursive heronBOT
#

@frosty salmon pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://stackblitz.com/edit/stripe-element-bzeewb?file=index.js

Question
When I use the payment element with spanish language, and I type a bank account in the field that isn't found, the error message is cut off and does not include a link to manually verify a bank account, but when the language is in english, the error message can be read and the link to manually verify a bank account is there

What have you already attempted?
Nothing, I've just reproduced in a stackblitz to make it easier to help

What are you working on?
A payment portal for the company Paytient

cursive heronBOT
#

@sturdy bronze pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I want to set the billing anchor and prorate behavior for a subscription that I make through the billing portal

Related Request ID(s)
billing_cycle_anchor_config

What have you already attempted?
I have read the documentation and can't find anything that says how to do this

#

@wanton galleon pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
hi team my question is I have made a payment and payment status is already successful. later I want to update the payment amount like first I paid 100$ and later I want to update that payment from 100$ to 150$ is that possible ?

EX:-
i booked a flight and made payment of 150$ via stripe .

later I wanted to change the flight and change the flight cost and the ticket price was 50$ so I made another$ 50 payment via stripe .

now I want to update the payment intent I'd of payment 150$ to 200$ basically i want to add amount to previous I'd .
is that possible ? if yes then how ?.

Related Request ID(s)
payment intent api

What have you already attempted?
i tried to update the intent I'd payment but I got an error. Something like you can't update the amount after payment successful.

What are you working on?
flight booking and change

#

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

Code
resource_missing - pricing_template
No such pricingconfig: 'pcfg_1Pqgz7Q1keRTKc8sBK4Xq3n3'

Question
I am trying to use the Platform Pricing Tool on my Sandbox account and I am getting an error

What have you already attempted?
I tried logging in and out
I tried a different browser

What are you working on?
Connect Custom

#

@fallen tangle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How do I ensure that a subscription does not expire if it's not initially paid? What is the best way to achieve this?

I would like my subscriptions to lapse into "past due" if the initial payment is not paid on time instead of going into incomplete -> incomplete_expired flow.

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

What have you already attempted?
Read the docs; have open questions around payment_behavior

What are you working on?
Building payment system for our schools, in particular around charging for aftercare

cursive heronBOT
#

@calm zealot pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a way to remove CAPTCHA from the Dev enviroment (test mode). It causes issues while running automation scripts (Playwright/Typescript)

Related Request ID(s)
Setting a stripe account (CAPTCHA)

What have you already attempted?
I have been going through stripe docs but haven't found anything related to that.

What are you working on?
automation scripts (Playwright/Typescript)

cursive heronBOT
#

@finite cedar pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
<div id="paymentPopup" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); z-index: 1001; justify-content: center; align-items: center;">
 <div style="max-width: 400px; background-color: #fff; padding: 20px; border-radius: 10px; text-align: center;">
 <div id="payment-request-button"></div>
 <p>or pay with your card:</p>
 <form id="payment-form">
 <div id="card-element">

Question
for some reason apple pay / google pay on my stripe payment popup is only popping up on the google app on mobile, and not on chrome and safari

What have you already attempted?
have been working on this for a while but cant find any reason for why its not working

What are you working on?
Just trying to make a simple payment popup on a page that accepts cc, apple pay, and google pay

#

@bitter frigate pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I'm having problems getting webhook responses to work on my main domain (domain.com), but somehow my vercel domain (domain.vercel.app) is getting success responses. How can I resolve this issue?

Related Event ID(s)
evt_1PqMQcBnaYuHsR3ldO4kFreC

What have you already attempted?
- Double checked environment variables for webhook signing secret and STRIPE_WEBHOOK_SECRET
- Disabled domain.vercel.app webhook
- Confirmed Vercel domain setup with Valid Configuration
- Tested accessing webhook directly receiving Webhook endpoint is live status: 200

What are you working on?
A webhook to update my vercel database when checkout.session.completed is triggered.

#

@tiny rivet pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is there a webhook event (or maybe a way to fetch via the REST API) that contains the Stripe hosted page for payment failures? Specifically, https://docs.stripe.com/billing/revenue-recovery/customer-emails#link-to-a-stripe-hosted-page

Related Event ID(s)
evt_1PqkJWBmtcLNMjyBhTsFHH6O

What have you already attempted?
I've searched through all the events generated from a payment failure using a subscription with a test clock. I've also tried searching through the API docs.

What are you working on?
I'd like to be able to link to this page from other places in my app (not just the email that gets sent).

cursive heronBOT
#

@thorny hemlock pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What are the specific use cases where the value of customer.balance is positive?

Related Request ID(s)
nothing

What have you already attempted?
As above title. What is the way to make the balance positive?
https://docs.stripe.com/api/customers/object#customer_object-balance
I found that the specification is that when you switch from a more expensive subscription to a less expensive plan, this balance becomes negative and is pooled as an available balance.
The following users have realised that use case.
cus_QZ1ahW7JKznSLd

#

@trail glen pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
#dev-help message

My question was archived. So i didn't reply the comment.

what i said about team subscription means group subscription payment system. Like notion, jira or slack tools.

I need to make group subscription in our service for supporting enterprise subscription . Not personal subscription.

Is there any supported API or Best practice exist?

Doc/Guide Links
I didn't find yet about my question.

What are you working on?
I'm working on searching stripe enterprise subscription

cursive heronBOT
#

@sinful eagle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I've created my first stripe payout object using my test API key but I haven't received any of the webhook callbacks related to that request

Related Request ID(s)
"id": "po_1PqnoBCpn7O3yrRVEBi11Zlc",

What have you already attempted?
Refreshing stripe's dashboard

cursive heronBOT
#

@wispy nest pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
i am trying to integrate the stripe api yet it there were confusions regarding payload as i want to send meta data i want someone to suggest the appropriate cide

Related Request ID(s)
cs_test_a1oBDkxidrOLkzXVMovidFtfRPnU4dWeZhUADC19GMcTbBpPdkzNgQQRFx

What have you already attempted?
session = stripe.PaymentIntent.create(
payment_method_types=['card'],
line_items=[{
'price_data': {
'currency': currency,
'product_data': {
'name': 'Student Package',
'metadata': {
'package_name': student_packages.package.name,
'transaction_id': transaction_id
},
},
'unit_amount': actual_amount,
},
'quantity': 1,

What are you working on?
API integration

cursive heronBOT
#

@gloomy arrow pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
I am making my request in the body

Question
idk how to do a proper request in the body with the success and failed redirect

What have you already attempted?
I have tried adding it to the body but it did not work

cursive heronBOT
#

@cobalt mist pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
const session = await stripe.checkout.sessions.create({
customer: user.customerId,
line_items: [
{
price: subscriptionId.pricingId,
quantity: 1
},
],
metadata: {
userId: req.user.id,
phoneNumber:phoneNumber,
webhookFor: 'phoneNumberPurchase'
},
mode: 'subscription',
allow_promotion_codes: true,
success_url: 'http://localhost:5173/dashboard/phone-numbers',
cancel_

Question
can "ui-mode: embedded" work with above code? the above code is for subscriptions.

What have you already attempted?
attempted for one time payment

cursive heronBOT
#

@winter shuttle pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have enabled webook to update recurring transactions on our platform. We have 300 connected accounts on Stripe. There will be recurring transaction on each of connected account. Do I have to add webhook url to connected account or if I add to parent (main account) will hit to all connected account?

Related Event ID(s)
subscription.updated

What have you already attempted?
Documents checked

What are you working on?
Webhook intergration for subscription updates

cursive heronBOT
#

@timid rock pressed the πŸͺ Webhooks button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Hi guys,

I'm trying to integrate a price table that was created on stripe, into my website. The issue is, when I use the stripe's checkout clicked through the table to checkout a subscription, it doesn't work because stripe doesn't connect my payment to the logged in user. how do i push my client's user id through to stripe in the price table so that stripe can connect my user to the stripe subscription.

Because of this the webhooks are failing because of user not found and my customers firestore isn't updating etc etc.

Would greatly appreciate help.

Thanks

Related Event ID(s)
Dashboard>PriceTables

What have you already attempted?
Tried reading price table docs. Fiddeling with price table.

What are you working on?
Working on integrating subscriptions into my web app.

#

@ocean cradle pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How to get invoices of the future date subscription scheduled

Related Request ID(s)
123

What have you already attempted?
I have tried retrieve invoice api but it is giving error that id doen not exists

What are you working on?
retrieve invoice

cursive heronBOT
#

@coral fern pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
https://docs.stripe.com/stripe-apps/components/signinview?app-sdk-version=8#signinactionwithhref

Question
I am looking at the SigninView docs and attempt to use the SignInActionWithHref (or SignInActionWithOnPress) elements. But I don't understand how to use these (or what they do for that matter)

What have you already attempted?
<SignInView
description="Connect your account with Stripe."
primaryAction={
<SignInActionWithHref
label="Sign in"
href="https://example.com"
/>
}
footerContent={
<>
Don't have an account? <Link href="https://example.com">Sign up</Link>
</>
}
brandColor="#635bff"
brandIcon={BrandIcon}
/>

But I get errors about SignInView: primaryAction requires a label.

What are you working on?
Testing stuff for Stripes bug bounty program.

#

@astral dawn pressed the 🀨 Unexpected button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

What did you expect to happen?
Stripe Element will include Apple Pay as a payment method.

What actually happened?
Apple Pay did not show up as a payment method

Reproduction Steps
Visit the Manage payment methods for our connected accounts page in our Dashboard to configure which payment methods our connected accounts accept. Changes to default settings apply to all new and existing connected accounts.

Question
Why is ApplePay not showing up in Stripe Elements view?

What are you working on?
We are using Stripe Elements for our connected account checkout flow.

cursive heronBOT
#

@weary arrow pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to customize the invoice (sent in the emails) footer using the API when generating invoices?

Related Request ID(s)
N/A

What have you already attempted?
When you create a new invoice, Stripe automatically sends an email and the invoice has a custom (not quite sure where this text comes from, but will figure it out) I'm curious can we programmatically customize it upon invoice generation?

The use case is: If you pay for product A -> contact person A, if you pay for product B -> contact person B

cursive heronBOT
#

@sour idol pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
platform account - A
one of connected account ie X - paymentIntent Method - created customer & payment method - payment happen here
one of connected account ie Y - use above method & card info charges once again
platform account - A - will get application fee from X - $3

Real example :

$106 - to be charged to user & by connected account ie X
$3 - taken by stripe
$3 - taken platform account - A as application fee
$100 - net received by connected account ie X

now again charges $5 from one of connected account ie Y

Related Request ID(s)
NA

What have you already attempted?
NA

cursive heronBOT
#

@arctic aurora pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
if payment to be made is not subscription, and user wants to checkout somehting, pay for something, but his card gets declined, does stripe sent this declined payment attempt back to a webhook to my website? Or it just shows it on stripe form where user click pay, that his request has been declined?
Client requires me to save declined payment too. Not sure if possible

Related Request ID(s)
i dont know what is this.

What have you already attempted?
I am just asking a question.

What are you working on?
NPO

cursive heronBOT
#

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

Code
The provided payment method types (["google_pay", "apple_pay"]) do not support `on_behalf_of`.

Question
I am trying to create payment intent getting this error. Please help me on this

What have you already attempted?
Trying to pass those parameters

#

@normal cedar pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Is it possible to turn off automatic tax validation by stripe?

Related Request ID(s)
customer.tax_id.updated

What have you already attempted?
If the tax number is not valid by stripe standars https://docs.stripe.com/invoicing/customer/tax-ids#validation for eu_vat countries we are not allowed to make the update of vat number. We want the user to be responsible for providng correct tax number information

#

@thorn remnant pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
Would it be ok to create a c++ api for stripe?

Related Request ID(s)
None

What have you already attempted?
Nothing yet.

What are you working on?
I would like to know if it would be acceptable to create a c++ api to stripe using only the latest version of the standard library.

cursive heronBOT
#

@tulip pendant pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
I have a Stripe account in GB but I want to onboard Stripe connect IN accounts for my customers using Stripe API but getting an error
"Connected accounts in IN cannot be created by platforms in GB. Please contact us via https://support.stripe.com/contact if you need further assistance."

Supporting Stripe connect to onboard IN accounts is very important for my business use case

Related Request ID(s)
NA

What have you already attempted?
Used stripe.accounts.create providing country as "IN"

#

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

Code
const paymentParams: CreatePaymentIntentParams = {
amount: amount * 100,
currency,
offlineBehavior: 'prefer_online',
captureMethod: 'manual',
paymentMethodTypes: ['card_present'],
metadata: {
name: __DEV__
? `Teste IDonate Tap - ${page?.id}`
: `IDonate Tap - ${page?.id}`,
UUID: deviceUUID,
'Device Type': deviceType,
},
}

Question
Our company had two accounts, one in Ireland (EUR) and one in the UK (GBP).

and tap to pay was working perfectly that way, but we unified the accounts into one.

and now it's giving us an error when we pay

What have you already attempted?
I'm trying to find out what's going on because it connects to the reader perfectly, only to get an error

What are you working on?
iDonate

#

@cunning hull pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
$invoice = \Stripe\Invoice::create([
'customer' => $stripeCustomerId,
'auto_advance' => false,
'metadata' => [
'order_id' => $orderId,
'part' => $part,
],
'due_date' => '2024-08-24',
'collection_method' => 'send_invoice',
'currency' => 'aud',
]);

Question
1) How do I make this invoice payment go to a Stripe Connect Account?

2) How do I make the payment from the invoice not be released to the Stripe Connect Account until a certain date (like in 14 days). (Does this still work with the account setting in settings.payouts.schedule.interval = manual)

3) Where do I define the service fee that my platform charges on behalf of this invoice? Like 5%?

What have you already attempted?
Previously I tried to generate the payment separately, using Stripe Checkout Session, where I could define
payment_intent_data.application_fee_amount, payment_intent_data.transfer_data.destination

What are you working on?
Making a Stripe Invoice for a customer to pay a Stripe Connect account including a Fee for my service

#

@steel dust pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
How can i force connect account status to verified?

It seems that when using "controller.requirement_collection" as "stripe" I can't forcefully update this via the api?

Related Request ID(s)
https://dashboard.stripe.com/test/connect/accounts/acct_1PquqQFmbl8lJRIS/activity?backTo=list&tab=actionsRequired

What have you already attempted?
following the docs, doesn't seem to be anything relating to bypassing this?

What are you working on?
building with stripe connect using "controller" param

cursive heronBOT
#

@obtuse delta pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
// upgrade.tsx
import axios from 'axios';
import { useAuthContext } from '~/hooks/AuthContext';

const ProPlan = ({ isAnnual }: { isAnnual: boolean }) => {
const { user, isAuthenticated } = useAuthContext();

const handleCheckout = async () => {
if (!isAuthenticated) {
console.log('User is not authenticated.');
return;
}

try {
  const response = await axios.post\('/create\-checkout\-session', {
    isAnnual,
    stripeCustomerId\: user.str

Question
I'm trying to integrate Stripe Checkout into my web application. When a customer clicks the "Start using Pro" button, they should be redirected to Stripe's payment page. However, I'm encountering a "404 Not Found" error when the POST request to /create-checkout-session is made. I'm not sure if the issue is with my front-end code, the way my routes are set up in Express, or something else.

What have you already attempted?
I'm trying to integrate Stripe Checkout into my web application. When a customer clicks the "Start using Pro" button, they should be redirected to Stripe's payment page. However, I'm encountering a "404 Not Found" error when the POST request to /create-checkout-session is made. I'm not sure if the issue is with my front-end code, the way my routes are set up in Express, or something else. adapted the tutorial https://docs.stripe.com/checkout/quickstart

What are you working on?
I'm building a web application using React (frontend) and Node.js/Express (backend) where users can go to a checkout page based on their customer id.

#

@normal gate pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
PaymentConfiguration.init(this.stripeCardView.context, viewData.stripeApiKey)
stripeCardView.postalCodeEnabled = false
stripeCardView.postalCodeRequired = false
stripeCardView.usZipCodeRequired = false
stripeCardView.setCardValidCallback { isValid, invalidFields ->

            fields.onCardInputChanged.invoke\(isValid, stripeCardView.cardParams\)
        }

Question
If our Android application has been using the old way of integrating (CardInputWidget) and we want to move to the new way (PaymentSheet), will we need to do an API change to our backend as well?

What have you already attempted?
https://docs.stripe.com/payments/payment-intents/migration#web

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

I am reading this since i can't find its Android equivalent

What are you working on?
Adding a card to our recurring purchaseable item. We

#

@little fable pressed the πŸ§‘β€πŸ’» Code button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Code
Summary code:

We want to show an Apple Pay payment sheet with the following info:

7 days free starting now β€”β€” Free
1-month subscription starting 7 days from now β€”β€” Β£30
Pay Now Β£0

If we create a recurring subscription for the user using a price that has GBP attached to it, with a trial_period_days set to 7, the payment sheet shows:

7 days free starting now β€”β€” Free
1-month subscription starting 7 days from now β€”β€” $30
Pay Now $0

Note: currency shows USD but should show GBP

Question
In the flow in the Code section with the subscription, where is the Intent being set? Do we need to set an additional intent?

It’s previously been suggested that the currency used in the payment sheet is the one from the Intent.

We are using the PaymentElement component in React.

We are passing an ApplePay object to the options prop in the PaymentElement, which creates these line items:

7 days free starting now β€”β€” Free
1-month subscription starting 7 days from now β€”β€” Β£30

What have you already attempted?
Nothing yet, confused about the Intent as outlined above.

What are you working on?
Custom payment sheet for Apple Pay users

cursive heronBOT
cursive heronBOT
#

@drifting flicker pressed the πŸ“‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
We are using Stripe's Payment Intent API and have enable authentication rule but for some of the transactions Stripe is not triggering 3DS

Related Request ID(s)
https://dashboard.stripe.com/payments/pi_3Pkq1qFbFOzNrsPE0DUofQtC

What have you already attempted?
I can see 3DS is issued for this similar transaction https://dashboard.stripe.com/payments/pi_3PqxY1FbFOzNrsPE1keQFwOm but not on https://dashboard.stripe.com/payments/pi_3PqxY1FbFOzNrsPE1keQFwOm

cursive heronBOT
#

@tranquil anchor pressed the πŸ‘ Best Practices button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:

Question
What is the best way to support Subscription for IOT devices. One user can have one or many devices. The user pays a monthly fee per device. Users can have devices they opt not to pay for.

My current plan is to use the API for checkout sessions and create the product and price dynamically on my server so that the unique device ID can be included in the subscription.

Is there a better way to do this with prices and products defined on Stripe?

Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/build-subscriptions
https://docs.stripe.com/payments/checkout/how-checkout-works

What are you working on?
An IOT device that measures stuff and shows reports/alerts to users

cursive heronBOT
#

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

Question
Can You add information to price if this is zero-decimal-currency or not ?

Related Request ID(s)
n\d

What have you already attempted?
i hard coded currencies that are zero-decimal currencies. And i found out that there is a new zero-decimal-currency since 2023-04-14 which is ISK. https://docs.stripe.com/currencies#special-cases

What are you working on?
I need to add new currency that became zero-decimal-currency, and i'm looking for solution that i no need to keep track on that