#dev-help
1 messages Β· Page 81 of 1
@weak pulsar pressed the π API button in #help to ask a question:
Question
How do I make my customer pay for something? I read at the docs about the paymentIntent, but, the paymentIntent doesnt receive any payment info, like, credit card infos. Can anyone guide me thru that?
Related Request ID(s)
doesnt apply
What have you already attempted?
Reading the docs and executing the create paymentIntent
@austere mountain pressed the β An Error button in #help to ask a question:
Error Message
We were unable to verify ownership of <URL>. The request attempt at <URL>/.well-known/apple-developer-merchantid-domain-association, redirected to https://quiltair.cloudflareaccess.com/cdn-cgi/access/login/<URL>?kid=ebeed03d...iH5kP3r3w2ao4rUm94zYDB4brFwnbAYdM7Hp9smoisb-Hbfz8R1WrcGeDm-x2kgzvk
Question
How do I verify our staging and test domains that are behind Cloudflare Zero Trust to avoid being accessed by actors outside of our employees?
What have you already attempted?
I have used ngrok to test out my changes on my local machine. But we want to test Apple pay in our testing and staging environments whose domains are protected behind a proxy.
What are you working on?
Payment Method Domain Verification
@serene basin pressed the π§βπ» Code button in #help to ask a question:
Code
await updateProfile({ ...profileData })
const { error } = await stripe.confirmSetup({
elements: stripeElements,
confirmParams: {
return_url: url.toString(),
},
});
Error: "The code that shows the Apple Pay payment sheet must be invoked directly by a user
activation event, like a click or a touch gesture. To prevent this error make sure the code that shows the
payment sheet is at or near the top of your user gesture event handler..."
Question
I've provided very simple code above, but mainly to convey the point. We're integrating ApplePay into our payment flows, however, it's not working with the above code. We collect user information & payment information on the same page, so we need to save the profile before initiating the payment (and redirecting)
Are there any workarounds to this problem?
What have you already attempted?
We've escalated to product that we may need to split the pages, however this is effecting some of our products currently
What are you working on?
Payment flows within our healthcare applications
@tribal holly pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-line_items
Question
Why does the quickstart add a product to a checkout session like this line_items = [ {} ] and not like this line_items.data = [ {} ]
What have you already attempted?
I've tried to understand the line_items in the documentation. In the documentation it says its a nullable object with 4 different attributes and one of those attributes is line_items.data which is an array of objects. However, In the example on the quickstart page a product is simply added to line_items directly without indexing the data property, why is that?
https://docs.stripe.com/checkout/quickstart#line-items. I am new to stripe and reading documentation in general so I don't know if I'm misunderstanding something or reading incorrectly.
What are you working on?
Ecommerce page for school project
@steady tiger pressed the π API button in #help to ask a question:
Question
I working on auto payment integration and I created a plan and payment method already saved to the customer
Related Request ID(s)
I need to know how to test the autopayment manually instead of wait day or week
What have you already attempted?
How to test this
@hallow sundial pressed the π API button in #help to ask a question:
Question
Is it possible to attach a payment method to a customer with a Stripe Terminal generated Payment Method?
Related Request ID(s)
n/a
What have you already attempted?
I tried using a setup intent generated with a terminal but get this error message: `PaymentMethods of type 'card_present' cannot be saved to customers.`
What are you working on?
Trying to get a good POS terminal flow that works well with invoicing.
@vestal flax pressed the πͺ Webhooks button in #help to ask a question:
Question
So I am trying to stop customers from using multiple subscription...
Related Event ID(s)
evt_1P1f6xLvF6Jqv5mqPeL9zwFJ
What have you already attempted?
At first I was expecting the "customer.subscription.created" event to be fired at the very beginning, followed by invoice.paid.
I was hoping to keep the subscription id internally. But it seems that invoice.paid is fired first.
I was hoping to store the subscription id so that customers only can update subscription through an internal process.
A bit context: because of marketing efforts of the teams I am working on, they run different campaign at different times so we don't want to allow customers using a subscription which was not meant for them.
What are you working on?
I am building a Saas that allows access bases on subscrpition.
@coral relic pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I am trying to add metadata while creating strip intent.
Map<String, dynamic> body = {
'amount': '$amount',
'currency': currency,
// 'description': json.encode(description.toJson()), //json.encode(description.toJson()),
"metadata": metaData, //json.encode(metaData.toJson()),
};
log\('Stripe request body\: $body'\);
What actually happened?
The Paymentsheet does not initiate.
Reproduction Steps
var response = await http.post(
Uri.parse('https://api.stripe.com/v1/payment_intents'),
headers: {
'Authorization': 'Bearer ${AppConstants.stripeIntentClientSecretKey}',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: body,
);
Question
How and when do I add metadata?
@tender crater pressed the π API button in #help to ask a question:
Question
When I'm downgrading my plan from 999.99/year to 19.99/month, The first month's bill which is 19.99 has been cut down from 999.99 and credit 980.00 to customer's credit balance. I don't want it to happen, I want that from starting ,bill cuts from default payment method and credit 999.99 to customer's credit
Related Request ID(s)
I don't know what to write in this
What have you already attempted?
I don't know what to write in this
@round hamlet pressed the π API button in #help to ask a question:
Question
With respect to recurring subscriptions, in order to process transactions and create/update user account and subscription balance on my site, I need this information from stripe:
\[email\] =\> user@email.com
\[customer\] =\> cus\_PZRliTbMPGqHgD \(all objects\)
\[product\] =\> prod\_PAiFfRzyYzzby0
\[invoice\] =\> in\_1OkIrbJRE4EJdR2w3lr0HNCZ
"amount"\:
How can I retrieve this information at the time I receive the customer.subscription.updated event?
Related Request ID(s)
evt_1P1LGxJRE4EJdR2wi8sy3H9e, evt_3P1MEEJRE4EJdR2w00GP0Z5k, evt_1P1MEGJRE4EJdR2wkUUAXWa4
What have you already attempted?
Currently, I receive these events for recurring subscriptions:
9:18 pm
customer.subscription.updated
And then an hour later:
10:19 pm.
payment_intent.succeeded
customer.updated
In order to process an updated subscription when it comes in, since I only receive the customer.subscription.updated event, I am currently missing:
email address
invoice amount received
How can I retrieve this information at the time I receive the customer.subscription.updated event?
What are you working on?
I am trying to integrate Stripe payments into my Drupal website to allow users to pay for subscription and have account on my site automatically created for them.
@static wraith pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay
Question
How to enable Apple Pay for setup intents via Payment Elements. Setup Intent for future use only and for a subscription.
Some useful pointers, I can see the following as a part of json in the session request.
```
"apple_pay_merchant_token_webhook_url": "https://pm-hooks.stripe.com/apple_pay/merchant_token/xxx",
"apple_pay_preference": "enabled",
"unverified_payment_methods_on_domain": [
"apple_pay"
]
```
What is still missing?
What have you already attempted?
- Apple Pay is active on the Payment method dashboard
- In configure domains I can see the domain is configured, it helps us make Google Pay work
- Since it is a web app and uses Stripe React component, it has wallet as enabled in the `<PaymentElement />` component. I don't see any requirement of Configuring iOS certificate
What are you working on?
To Allow Apple Pay via Payment Elements for future payments via setup intents
@sweet solar pressed the π§βπ» Code button in #help to ask a question:
Code
//Setup Intent
SetupIntentCreateParams setupIntentCreateParams = SetupIntentCreateParams.builder()
.setCustomer(stripeCustomer.getId())
.setConfirm(true)
.setAutomaticPaymentMethods(
SetupIntentCreateParams.AutomaticPaymentMethods.builder()
.setEnabled(false)
.setAllowRedirects(SetupIntentCreateParams.AutomaticPaymentMethods.AllowRed
Question
This code errors out :
{
"status": "warning",
"errorList": null,
"message": "Error while creating setup intent You cannot confirm this SetupIntent because it's missing a payment method. You can either update the SetupIntent with a payment method and then confirm it again, or confirm it again directly with a payment method or ConfirmationToken.; code: setup_intent_unexpected_state; request-id: req_ugGznabT49gWNa",
"id": null
}
What have you already attempted?
Checked Documentation
https://docs.stripe.com/payments/save-and-reuse?platform=android&mobile-ui=payment-element&lang=java#flowcontroller
What are you working on?
I want to use the Stripe UI for saving card information without charging it
@vocal wagon pressed the π API button in #help to ask a question:
Question
How can I know when the billing cycle of a recurring subscription has ended? As I have a custom logic where a subscription contains multiple items from my ecommerce site and I want to revoke access to the ones he chooses to not renew.
Related Request ID(s)
None
What have you already attempted?
https://docs.stripe.com/billing/subscriptions/webhooks
What are you working on?
Ecommerce site
@tidal rose pressed the β An Error button in #help to ask a question:
Error Message
resource_missing - payment_method
No such PaymentMethod: 'pm_1P1k9dB00F13PznYLZtv1EIT'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account.
Question
we are using direct charge for multivendor environment, using your direct charge API. Money is sending successfully to both admin and vendor. But admin is getting the above error in the log. Can you please help with this.
What have you already attempted?
we have sent customer along with payment method, still the same error.
@hard tusk pressed the π Best Practices button in #help to ask a question:
Question
We want to start chargin our customers for our Saas. We are thinking of a flat monthly fee (100 uploads) and any upload over 100 must be charged at a set per upload price. Now the question is, how do we charge this to the customer, what is the best practice? Do we charge them our flat fee at the beginning of the month and any upload over the first 100 at the end of the month? Or do we charge them the flat fee and the overcharge in a single invoice? What is the best practive here?
Doc/Guide Links
https://docs.stripe.com/
What are you working on?
Building a Saas
@rancid gate pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api?lang=python
Question
I'm currently using the python stripe library, is asynchronous behavior possible? Or is there a separate asynchronous library?
What have you already attempted?
In-document search, google search
What are you working on?
developer
@fossil pumice pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
when people want to pay wuth cart it will work
What actually happened?
suddenly it wont charge the cart nor will a buy happen
Reproduction Steps
i go to checkout as usually and then proceed to pay, but after pressing pay nothing happens at all
Question
how to fix it, because it happens out of nowhere today
@viral spoke pressed the π API button in #help to ask a question:
Question
I would like to migrate data from my backend and I also saved the pi ids. Can I somehow request a bunch on paymentintents with one request instead of every single one?
Related Request ID(s)
to much
What have you already attempted?
I looked inside the docs and inside the types but couldn't find anything
What are you working on?
Migrationdata
@brisk karma pressed the π API button in #help to ask a question:
Question
We have issues with the downgrade and upgrade. In those cases, we would like to show the stripe checkout pages for users.
But we can't manage to get those page to be displayed to users.
Meaning that when he downgrades or upgrades, we want to display a checout page with the information.
Related Request ID(s)
None
What have you already attempted?
We tried implementing this, but there are no checkout pages when we do it:
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#:~:text=Credits for downgrades,account balance back to zero
What are you working on?
We are integrating stripe to a saas project. Our billing works this way : user can select the number of "accounts" he wants. 1 account = 5$ / month. So he can select 10 account and pay 50$/month.
@tawdry sable pressed the π Best Practices button in #help to ask a question:
Question
If I am using Subscriptions with Stripe, do I really need Webhooks to wait for the subscription status? If a subscription just unlocks new features for a user in my applications, then why isn't it sufficient to just call:
```
const subscriptions = await stripe.subscriptions.list({
customer: stripeCustomer.customerId,
});
```
Or am I supposed to have the subscription status in my DB so that I do not need this roundtrip to Stripe?
Doc/Guide Links
https://www.youtube.com/watch?v=pTtJjOKLYsQ&list=TLPQMDMwNDIwMjTpMHPmccKVkA&index=6
What are you working on?
Next.js Course with Stripe Subscriptions
@neat dawn pressed the π API button in #help to ask a question:
Question
How can I cancel a subscription and refund to customer a specific invoice
Related Request ID(s)
cus_Ph4nNrG3k7vpDv
What have you already attempted?
How can I cancel a subscription and refund to customer a specific invoice
@manic tundra pressed the π API button in #help to ask a question:
Question
Want to start a subscription from a specific time of day?
Related Request ID(s)
req_DmWpwgcDz1TQQX
What have you already attempted?
I tried backdating subscriptions though it is skipping one day if so If I am setting the sub to yesterday, the next invoice will be generated tomorrow.
sub_1P1jL5K8SGfgbRnhIv57GBPX
@soft lark pressed the π API button in #help to ask a question:
Question
Hi Everybody
I need help with the connect API when enrolling custom accounts. I need a way to verify their ID from our side or to be asked during the onboarding. We are providing the onboarding link, but the ID from the user is never required (mostly the company one). We have to ask afterwards to our users to provide a copy of their ID and it is quite exhausting. Is there a way to ask that during the onboard or upload them as image?
Related Request ID(s)
req_wFtkC4F5hRke5U
What have you already attempted?
Read the documentaiton
What are you working on?
Platform for different doctors
@fossil pumice pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
To clarify this is my second time opening this help, im not able to respond to the dev on my first help post.
Anyways.
Customer should be able to make the transaction at the end of the checkout when pressing the pay button
What actually happened?
When customer press Pay button nothing happens, the site reloads with no errors
Reproduction Steps
go checkout, give in detail, press pay with creditcart, nothing happens
Question
It just happened out of the blue today, and i dont know how to fix it
What are you working on?
maintaining my ecomcerce website
@vocal wagon pressed the π Best Practices button in #help to ask a question:
Question
Hi everyone, my name is Julian, and I'm new here. Happy to meet you!
We're currently in the process of implementing Stripe for a SaaS solution, and we have a few questions that I was hoping you could help us with:
-
How can users authenticate themselves on the Stripe Customer Portal? We are using Auth0 for authentication, would that mean we have to manage users in Auth0 as well as Stripe in the future?
-
What happens if a user attempts to purchase a second license for our software through Stripe using the same email address (should not be perm.)
-
Is there an "out of the box" integration with Salesforce or is the best practice automating things with e.g. make.com?
Doc/Guide Links
https://docs.stripe.com/customer-management/activate-no-code-customer-portal
https://docs.stripe.com/payments/checkout/limit-subscriptions
https://marketplace.stripe.com/apps/salesforce-commerce
What are you working on?
I am currently on the verge of integrating Stripe as the checkout and payment solution, as well as for implementing the Customer Portal self-management feature for a SaaS company.
@tender crater pressed the π API button in #help to ask a question:
Question
If Customer Cancels Subscription worth $999.99/year after using six month, I have to refund The remaining amount $499.99 , How can I get the remaining amount?
Related Request ID(s)
I don't know what to write
What have you already attempted?
I don't know what to write
@tidal creek pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/automatic-collection
Question
When the automatic collection gets disabled after the retries to a payment are over, if I enable the automatic collection again, will it start again to retry the payment automatically?
What have you already attempted?
I tried this using a test account, a subscription and changing the simulation time to the future until the automatic collection gets disabled. I was able to see that the payment retries happened. After that I enabling it again and change it to the future. But this time there were no payment retries.
What are you working on?
I want to enable automatic collection and payment retries even after the subscription gets cancelled because of not paid invoices.
@hollow verge pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
using stripe elements on a website, we are calling stripe.confirmCardPayment fn with a payment intent created on the back end. we expect the promise to resolve with or without an error
What actually happened?
the promise never resolves. the then, catch or finally blocked are not invoked at all. on top of that, the payment on the dashboard shows up as incomplete but the code works perfectly when embedded on other customer websites
Reproduction Steps
This happens only on one of the site where we integrate the CardElement, so it's hard to reproduce. the stripe sdk is available in the page and the card element displays correctly. Happy to hop on a call to show the issue
Question
We don't understand why the stripe.confirmCardPayment never resolves. we do see a request being made, but we see in the dashboard that the payment is incomplete, but we are passing all the attributes
@hearty raven pressed the π Best Practices button in #help to ask a question:
Question
Not sure I understand how the redirection works with embedded checkout
Doc/Guide Links
https://docs.stripe.com/checkout/embedded/quickstart
What are you working on?
Property Management System
@steady remnant pressed the π API button in #help to ask a question:
Question
When using the express checkout element, is there a way of collecting the users email from their selected payment method? eg, google pay or paypal
I need to gather the email so that I can associate the order against it, if the user is not already logged in.
Related Request ID(s)
N/A
What have you already attempted?
I have tried obtaining the email from the following events; click, confirm & shippingaddresschange
What are you working on?
I am integrating the Stripe express checkout element into my ecommerce website
@vocal wagon pressed the π API button in #help to ask a question:
Question
if cancelling an invoice the credit note is sent automatically by email. I did not enable that. Can I prevent it somehow?
Related Request ID(s)
req_MgPxDbmYptkawd
What have you already attempted?
checked doc and settings in stripe backend
What are you working on?
Integrate stripe into our plattform
@onyx idol pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/billing-cycle
Question
Hey I have to create products (and not Subscriptions) for my SaaS CRM. I have a subscription system but I have to create products with number of cycles. How can I choose the number of cycles on stripe products ?
Thank you
What have you already attempted?
I already created the product
@cloud harbor pressed the π§βπ» Code button in #help to ask a question:
Code
let elements = stripe.elements();
let cardNumber = elements.create('cardNumber', {
style: styleObj,
showIcon: true,
preferredNetwork: ['cartes_bancaires', 'mastercard', 'visa']
});
Question
I am trying to implement Stripe Card Brand Choices.When trying to execute, Uncaught IntegrationError: You must enable icons when using the preferredNetwork option.
And can you explain this text "If you specify a value for preferredNetwork at create time, icons must be enabled (so that the Card Brand Choice dropdown can appear) and you cannot specify payment_method_options.card.network at confirm time." in https://docs.stripe.com/co-badged-cards-compliance
What have you already attempted?
I even tried using element.update, hideIcon: false, etc.,
@carmine briar pressed the πͺ Webhooks button in #help to ask a question:
Question
for a webhook , I am able to listen to accounts events.
But payment intent are not listening/receving.
Also this are also not generating in the dasbhoard webhook.
Accoutnts are working fine.
Related Event ID(s)
evt_1P1jwBFThhxOuGM6xbjHTPVN
What have you already attempted?
Already verified the correct event name, and tried to select all events
What are you working on?
for onboarded accounts, I want to listen to account events and payment intent events.
@terse crypt pressed the πͺ Webhooks button in #help to ask a question:
Question
Unable to consume and react to webhook events with an AWS lambda script (typescript/js). The script is receiving the webhook event, but `stripe.webhooks.constructEvent` is unable to parse the event because it is unable to find the Stripe-Signature header. The constructEvent function fails with "Webhook signature verification failed: No stripe-signature header value was provided".
Related Event ID(s)
evt_3P1DvqH6CPAe6yHT1AIARkMx
What have you already attempted?
When logging out the 'event.headers', it looks like the 'stripe-signature' header is there and has a value that looks like a signature to me. Still, constructEvent complains its missing the signature.
Tried to use lower-case "stripe-signature" instead of "Stripe-Signature", which was the only suggestion we could find through Google. It did not fix the problem, same error.
What are you working on?
Listening to payment completed webhooks on AWS lambda.
@late egret pressed the π Best Practices button in #help to ask a question:
Question
Hello!
We trying to find the best way to build the app I described below, our main concern is tracking a users balance properly, we don't want to do this on our end.
We've been looking at Connected Accounts, this allows an easy Withdraw flow, since that's just a manual payout, as well as easy access to the balance.
However, according to the docs, we cannot keep funds in a Connected Account for extended periods of time.
This is important for our case, what else can we use for this?
Doc/Guide Links
- https://docs.stripe.com/connect/collect-then-transfer-guide
- https://docs.stripe.com/connect/account-debits
- https://docs.stripe.com/connect/manual-payouts
- This is where we found the time periods.
What are you working on?
We're currently building a platform with wallet functionality, essentially registered users should be able to make a deposit and get credits in return, which are 1 = $1.
@mighty hinge pressed the π API button in #help to ask a question:
Question
In Refund Scenario, does stripe it's fees too? For instance if I made a payment of $1000 and $10 was stripe fee then on refund customer will get $1000 or he will only get $990.
Related Request ID(s)
N/A
What have you already attempted?
In test mode, it is showing full amount as refunded but in stripe documents it is showing that it won't return fee on refund.
What are you working on?
Can you please confirm what is the correct behavior?
@merry cypress pressed the π Best Practices button in #help to ask a question:
Question
We're doing some subscription migration from Chargify to Stripe, and the client's question is whether we can merge or obtain the following: one customer with all payments associated with them. Currently, a new customer is created for each payment with the same email, and they want to optimize this and clean up a bunch of customers. For example, they have 300k customers, but they only need 300.
Doc/Guide Links
I don't have doc guide link
What are you working on?
subscription migration from Chargify to Stripe
@tender crater pressed the π API button in #help to ask a question:
Question
-> First I buy $269.99/year plan
-> Then I upgraded to $999.99/year plan
-> Then I downgrade to $19.99/month and give the remaining amount as refund but got this error
`StripeInvalidRequestError: Refund amount (Β£979.99) is greater than charge amount (Β£760.11)`
Related Request ID(s)
I don't know what to write in this section
What have you already attempted?
I don't know what to write in this section
@tidal ridge pressed the π API button in #help to ask a question:
Question
Can I create checkout without passing name product? Just the price and currency?
Related Request ID(s)
-
What have you already attempted?
I have tried to do create paymentintent instead but I dont think I can create checkout from it.
@wary crane pressed the π API button in #help to ask a question:
Question
field "customer" empty after use collectBankAccountForSetup()
Related Request ID(s)
req_gP4HEgbtnaxCxL
What have you already attempted?
field "customer" empty after use collectBankAccountForSetup()
@cinder jetty pressed the π§βπ» Code button in #help to ask a question:
Code
const [progress, setProgress] = useState('0')
const { } = useStripeTerminal({
onDidReportReaderSoftwareUpdateProgress(progress) {
setProgress(progress)
}
})
console.log\('READER PROGRESS', progress\)
Question
Simulador exibe progresso do leitor de cartΓ£o corretamente, mas em dispositivo fΓsico, o mesmo nΓ£o ocorre. Alguma sugestΓ£o para solucionar?
What have you already attempted?
I've checked for reader SDK updates with no success. Opened Logcat on Android device but see no changes...
@wheat sigil pressed the π API button in #help to ask a question:
Question
How can we integrate explicitly ali pay and wepay.
Related Request ID(s)
402 ERR
What have you already attempted?
Yes
@tranquil fiber pressed the πͺ Webhooks button in #help to ask a question:
Question
I have added webhook "customer.source.expiring"
so that I can get event for notifieng that my card is about to expire, but this webhook is not triggering, also monthly paymnets are deducting while my card is expire on test mode
Related Event ID(s)
POST /v1/payment_methods/pm_1P1mTIJmmr8pCWMjkyJ35HyL/attach
What have you already attempted?
I have tried to trigger webhook "customer.source.expiring" but it is not working
@short lichen pressed the π Best Practices button in #help to ask a question:
Question
I'm storing payment intent identifier on my DB for later usage but I'm wondering if intents has an expiration date or I can just assume they'll be available forever?
Doc/Guide Links
https://docs.stripe.com/payments/payment-intents
What are you working on?
Migration to payment intents
@tender crater pressed the π API button in #help to ask a question:
Question
1). customer first buys $239.99/year - charge is $239.00
2). then upgraded to $999.99/year, but the charge is $760.11
3). downgrade to $19.99/month, so the amount in customer's credit balance is now $980.00 , And then refund the amount $980, got this error:
StripeInvalidRequestError: Refund amount (Β£980.00) is greater than charge amount (Β£760.11)
Related Request ID(s)
I don't know what to write in this section
What have you already attempted?
I don't know what to write in this section
@frigid orchid pressed the π API button in #help to ask a question:
Question
How can I a paymentIntent's successful charges with JS api later than '2023-10-16'?
Related Request ID(s)
pi_3P1A1PDzlfKeVQCm1tHedLLV
What have you already attempted?
I tried to use stripe.paymentIntents.retrieve('pi_xxx), previously I can use pi.charges[0] to get it, but now its value has gone
@dense jungle pressed the π API button in #help to ask a question:
Question
The docs say I can specify a 'Stripe-Account' with the user's connected account id to make requests e.g. retrieve a list of customers for example.
What I'd like to know is how an account becomes a connected account, and also when/where I should get the account id.
I'm assuming that when a user installs my marketplace app my server will receive the
'account.application.authorized' event via webhooks. This account is now connected, and then I can store and use it in future requests.
Is this accurate?
Related Request ID(s)
n/a
What have you already attempted?
I've read the docs on
webhooks and events - https://docs.stripe.com/api/events
backend app logic -
https://docs.stripe.com/stripe-apps/build-backend
What are you working on?
A new stripe marketplace app
@rain geyser pressed the π API button in #help to ask a question:
Question
I need to retrieve the customer name (Id it's OK) from every "BalanceTransaction"(BT). Some of that BT are fees or payouts which don't have customer. But the rest of transaction types do (charge, payment, refounds...). I need to get the the customer of payments (id starting with: py), but I'm not able to find the way.
I only want to retrive a customer from a specific BalanceTransaction. There is any method to do that? And if not, how can I do it?
Related Request ID(s)
no related requests
What have you already attempted?
I tried to retrieve a charge (with the "py_..." id) to get the customer Id. But "py_..." id it's not a charge id so I got an error.
I tried to filter the invoices related to the transactions that have this "py_..." source id, but it's not possible to filter.
What are you working on?
I'm building a c#.NET application to build 100% customized reports.
@vocal wagon pressed the πͺ Webhooks button in #help to ask a question:
Question
I want to have a slack notification in case my account payment status is disabled due to verification or any reason
Related Event ID(s)
Payments deactivated
What have you already attempted?
configured the "account.updated" event with a webhook in zapier to send me a slack. But I'm not sure it will work since I have no way to test it, and I'm not sure this is the correct event.
@uneven basalt pressed the π Best Practices button in #help to ask a question:
Question
I am just wondering if I would be possible if I can see a ticket I've opened here time ago about multiple subscriptions, please.
Doc/Guide Links
I am just wondering if I would be possible if I can see a ticket I've opened here time ago about multiple subscriptions, please.
What are you working on?
I am just wondering if I would be possible if I can see a ticket I've opened here time ago about multiple subscriptions, please.
@fading stirrup pressed the π API button in #help to ask a question:
Question
We have integrated Stripe with Adobe commerce via Stripe connector but the payment method Klarna seems to not working. When we try place an order, the error we get is: The PaymentMethod provided (klarna) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "klarna". Is there something we are missing?
Related Request ID(s)
.
What have you already attempted?
We've read the documentation and tried installing also the stripe app for adobe commerce
@sweet solar pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element
Question
How can I use Stripe elements in flutter web app?
What have you already attempted?
Checked Documentation, Implemented in Android using Flutter-Stripe package (https://pub.dev/packages/flutter_stripe).
What are you working on?
A mobile/web app to save payment methods and process payments for new and returning customers
@obtuse vale pressed the π API button in #help to ask a question:
Question
When hitting the create location for Tap to pay end-point we don't see the request in the logs on the Stripe dash.
But we do see it for connection_tokens
Related Request ID(s)
Looked in Stripe API logs
What have you already attempted?
We are getting the response in postman for the create location request but its not appearing on the Stripe logs
What are you working on?
Tap to pay app using react native
@drifting delta pressed the π API button in #help to ask a question:
Question
Which API method or webhook method would return the card issuer?
Related Request ID(s)
POST /v1/payment_methods/pm_1P1mUELBDgrs2MW8v8sEDjfn/attach
What have you already attempted?
I was able to use dev-help in the past. but now it is no longer available.
What are you working on?
We want to promo on a specific card usage to qualify for the discount, e.g. citi premier miles
@rapid solstice pressed the β An Error button in #help to ask a question:
Error Message
invalid_request_error
Question
We are getting a lot of 400 and seeing invalid_request_error while connecting stripe terminals
What have you already attempted?
we have checked stripe dashboard and seen this error. This issue seems intermittent, some of our customers are facing this issue.
What are you working on?
Got escalations from customers about stripe terminals not being identified
@brittle sapphire pressed the πͺ Webhooks button in #help to ask a question:
Question
Using stripe checkout, I'm struggling to detect when the customer's first invoice failed (right after checkout). To link stripe id to my internal user store, I add the user's id to the checkout metadata. But when the payment fails, I never get a checkout.session.completed webhook, so I never tie the stripe customer to my internal customer id. Then, when I get the invoice.payment_failed, I have no customer id linked to the stripe customer, and no metadata in the webhook so I cannot update my internal state to reflect that the payment is past due. The result is a dangling customer in Stripe.
Related Event ID(s)
evt_1P1nQCLWH9R7Hhsv7Ms3erJU
What have you already attempted?
I followed https://docs.stripe.com/billing/subscriptions/build-subscriptions which does not address this use case.
What are you working on?
B2C SaaS Sports Analytics Website
@vocal aurora pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When using a test card in a production environnement, I expect Stripe to notice my backend application for this usage using my webhook
What actually happened?
When using a test card in a production environnement, stripe responses a 402 error from the request and that's all.
Reproduction Steps
- Implement Stripe
- Use a test card in a production environnement
Question
I don't get how I can handle the scenario where a user tries with a test card.
What are you working on?
Gonna explain my implementation in the ticket
@fierce whale pressed the πͺ Webhooks button in #help to ask a question:
Question
Hi,
I'm trying to manage all the data from stripe to our system, to do so, I added to each price created on the stripe dashboard a metadata.
When we receive the data in the webhook for the events subscribed after a complete checkout, the metadata on the price is empty and I don't understand why because the metadata is present on the price dashboard.
During the creation of the checkout session we send only a metadata for the subscription and not for the price, this metadata that we add in the checkout is present on the events.
So, what I'm doing wrong?
Related Event ID(s)
evt_1P1qZGFW5nc1qKRxIDGjNQlN
What have you already attempted?
I tried to do a new checkout with the same data before the update on the price was not available in all the stripe system at that time but the result is the same, not metadata for the price.
@lime garden pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
All Terminals Online
What actually happened?
Some of our terminals are currently showing as offline
Reproduction Steps
Reboot of units, ran diag tests
Question
Is there currently any outage/issue with Stripe terminals? We have a mix of some showing online and others won't show online. We've tried rebooting, Diag looks good for everything except "Terminal events connectivity" is stuck on pending
@weak python pressed the π Best Practices button in #help to ask a question:
Question
Bonjour,
Jβai dΓ©veloppΓ© un SaaS qui vend des abonnements.
Je nβarrive pas Γ paramΓ©trer la TVA.
Comment dois-je lβappliquer en France ? En Europe ? Hors Europe
Et pour les entreprises, doivent elle payer la tva ?
Je suis preneur de votre aide, expΓ©rience et toutes ressources
Merci !
Doc/Guide Links
https://docs.stripe.com/tax/products-prices-tax-codes-tax-behavior#setting-tax-behavior-on-a-price-(optional)
What are you working on?
Setting price tax
@west quail pressed the π API button in #help to ask a question:
Question
I want to work with the reconciliations.
What is the best way to retrieve charges related to a payout?
The Payout object seems to have a BalanceTransactionId, it's the same BalanceTransactionId from the charge object?
Related Request ID(s)
???
What have you already attempted?
https://docs.stripe.com/api/payouts/list
What are you working on?
Payout and Reconciliations
@quaint shore pressed the π API button in #help to ask a question:
Question
Why is the category_type not returned on the GET /v1/tax_codes endpoint
Related Request ID(s)
None
What have you already attempted?
Looked to figure out where I can get it
What are you working on?
Point of Sale application
@wooden badger pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Subscription to not cancel after 3 minutes in test mode
What actually happened?
Subscription attempts to cancel in 3 minutes
Reproduction Steps
I start a new subscription in test / dev mode. Everything succeeds with 4242 4242 4242 4242 card.
I get the standard invoice paid payment intent succeeded etc.
Then after 3 minutes i look again and i have
invoice.updated
invoice.voided
payment_intent.cancelled
customer.subscription.updated
webooks firing every few minutes . is this normal behaviour for test?
Question
I'd just like to understand if this is supposed to be happening or if something else is amiss
@brittle sapphire pressed the πͺ Webhooks button in #help to ask a question:
Question
Test mode webhook response is 200 OK with message
{ "error": "Webhook handler failed. View logs."}. Very little context to the error.
My server never receives the webhook request.
Related Event ID(s)
evt_1P1roTLWH9R7Hhsv6dIDhqhE
What have you already attempted?
Running my webhook server locally and exposing an ingress port, and deploying webhook server to cloud.
What are you working on?
B2C SaaS
@prisma dome pressed the π API button in #help to ask a question:
Question
I'm trying to retrieve subscriptions for a customer (so that I can cancel them).
Related Request ID(s)
NA
What have you already attempted?
const customer = await stripe.customers.retrieve(user[0].stripe_id)
gets me the customer data, based on the customer ID, but expanding that into the subscriptions fails:
` const sub = await stripe.subscriptions.retrieve(customer.subscriptions)`
This works from the command-line:
`stripe customers retrieve $CUST_ID --expand=subscriptions `
What are you working on?
QR Builder
@tropic wyvern pressed the π Best Practices button in #help to ask a question:
Question
How can I retrieve the payment method id by subscription? The main goal would be to update the default_payment_method field of the customer, taking advantage of the automatic implementation of the subscription object.
Doc/Guide Links
I followed the following guideline: https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements#create-customer
What I would like to do is to directly retrieve the id of the paymentMethod that was used to pay the invoice for that sub-subscription, without using the on_subscription option. This would allow me to avoid manually calling the retrieval of the paymentMethod, should that option be available.
What are you working on?
Integration of subscription
@summer oxide pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Hi devs, Recently we were looking into the "Link" for Payments and we found out that "Link" is already enabled in checkouts but is not enabled on Payment_methods, If this is same then why two different scenarios here
What actually happened?
User's are already paying through link in our website but since it is disabled in the payment methods then how is it working?
this was the chat before: https://discord.com/channels/841573134531821608/1225108233815851009
Reproduction Steps
We tried disabling the Link in Checkout and the "Link" option was not shown anymore.
Question
Since Link is already enabled at one place i.e. in link options, so does enabling it in Payment Methods provide anything extra that we are currently missing out?
@short lichen pressed the π Best Practices button in #help to ask a question:
Question
In our checkout page we first use setup intents to create a payment method and attach it to a customer. Later, we'd like to create + process payment intent in the BE. Is there any problem with that? all Stripe documentation ask for handling payment intent in the Front End so I'm not sure if there are specific callouts about taking this approach.
Doc/Guide Links
https://docs.stripe.com/payments/payment-intents?locale=es-419
What are you working on?
Migration to payment intents
@ionic cypress pressed the πͺ Webhooks button in #help to ask a question:
Question
Is there a way to narrow the focus of the account.updated webhook so that it only fires when accounts with the type: express are updated?
Related Event ID(s)
None
What have you already attempted?
I have read the webhook documentation here:
https://docs.stripe.com/webhooks#events-overview
Also, identified the account.updated event here:
https://docs.stripe.com/api/events/types#event_types-account.updated
Last, the event object found here:
https://docs.stripe.com/api/events/object
What are you working on?
I am working to add an express account status icon to our customer account pages. We will store the account status in our local db, so we can render the proper icon in the user's account details page.
@carmine lintel pressed the π API button in #help to ask a question:
Question
Hello - I am trying to figure out why my invoice items are not showing up with tax. I have a tax registration for PA and I set the tax code on each invoice item.
Related Request ID(s)
req_EjclNNaCRATaTp
What have you already attempted?
$stripe->invoiceItems->create([
'customer' => $stripeId,
'description' => $fee->name,
'unit_amount' => $feeAmount * 100,
'quantity' => 1,
'currency' => 'usd',
'invoice' => $invoiceId,
'tax_behavior' => 'exclusive',
'tax_code' => 'txcd_99999999',
], [
'stripe_account' => $teamOrder->provider->stripeAccountId()
]);
What are you working on?
Invoicing system
@naive spindle pressed the π API button in #help to ask a question:
Question
I'm trying to apply promotion code in subscription but it says no promotion_code available
Related Request ID(s)
req_3It3s6k2Tl8uM0
What have you already attempted?
I have created a verification system where it verifies whether the given code is in coupon or promotion_code on behalf I determine where i have to add the code, but it's not working
What are you working on?
Creating subscription with discounts
@warped vine pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
when creating a payment element with country: never, and postal_code: auto, i would expect that the postal_code field would automatically update the format requirements to match the country of origin of the card entered.
Example: enter a US card
postal_code field requires zip code format. 99999
Example: Enter a CAN card:
postal_code requires V1V 1V1 format
What actually happened?
the formatting of the field is locked to the country the user's IP. If I access from Canada, the field requires a postal_code in V1V 1V1 format, even if a USA credit card is added.
Reproduction Steps
```
const paymentElement = elements.create('payment', {
fields: {
billingDetails: {
address: {
country: 'never',
postalCode: 'auto'
}
}
}
});
```
Question
wondering if it's possible to have the payment element with the country hidden and the postal code shown but have the postal code formatting connected to the country of the card being entered. This is similar to how the legacy card element functions.
What are you working on?
Checkout for subscriptions. converting legacy card element to the new payment element
@lucid vortex pressed the πͺ Webhooks button in #help to ask a question:
Question
Question: Why do I get 400 instead of 200? Asp.net core web app using Razor pages. Microsoft Visual Studio 2022 Community Edition. C#.
C:\Users\timok\Downloads\stripe_1.19.4_windows_x86_64>stripe listen --forward-to https://localhost:5001/api/webhook
> Ready! You are using Stripe API Version [2022-11-15]. Your webhook signing secret is whsec_bbfffa2cfb0eaa4373d0a4c5b96beb444806e835f8f94dce7bb60a8e99bb053e (^C to quit)
2024-04-04 19:41:40 --> charge.succeeded [evt_3P1uIBGw6Tdt1GEh1qLHmu4l]
2024-04-04 19:41:40 --> checkout.session.completed [evt_1P1uICGw6Tdt1GEh7a3n46jF]
2024-04-04 19:41:41
Related Event ID(s)
Events
What have you already attempted?
Webhook does not pass through, returns 400 instead of 200.
@tropic wyvern pressed the π Best Practices button in #help to ask a question:
Question
How can I make the card save, without there being a payment? Let me explain: after sub-enrollment, I want to give the customer the opportunity to be able to enter another payment method and set this as the preferred payment method for the next invoice payment under the sub-enrollment.
Doc/Guide Links
I took a look at the following guide: https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly?terminal-sdk-platform=server-driven
But, in the third section, he refers to a physical device for capturing credit card details. In my case, I would like to leverage the same concept as the CardElement found in the subenrollment guide.
What are you working on?
Saving the credit card for a customer
@swift gulch pressed the πͺ Webhooks button in #help to ask a question:
Question
I'm trying to simulate a checkout completion event in my end-to-end tests. However, the Stripe CLI seems to only be able to simulate `checkout.session.completed` events with default values. Is there a way to set the values in the session object received by my webhook? Specifically, I want the checkout session to have some metadata + the subscription field set.
An alternative solution might be if there was some way to programmatically complete a test checkout session, and that way set the values in the checkout session object received by my webhook.
Related Event ID(s)
N/A
What have you already attempted?
Read the CLI and Webhook docs. Played around with the CLI.
@feral delta pressed the π API button in #help to ask a question:
Question
We have a Stripe integration using mounted stripe js elements. We are noticing that on sending api requests to create a payment methods for cards from regions not using postal/zip codes, the request comes back with http code 400 and an error saying `invalid_request_error - billing_details[address][postal_code`. Just wondering if this is a known issue, and if so how we should go about resolving. Thanks
Related Request ID(s)
none
What have you already attempted?
Tried reading the stripe api documentation
@rare wave pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expected Stripe Connect onboarding link to properly allow a Stripe Connect user to go through their onboarding process.
What actually happened?
Stripe Connect account is able to generate an onboarding link, but for some users, they are getting "We couldn't verify your information with {Company}" error message. With the body: "It looks like {Company} doesn't have up to date information about your account. Contact {Company} to resolve this."
Reproduction Steps
Unsure what is different about the accounts that DO work vs the accounts that experience this error.
Question
Is there any way to gain more insight into _which_ information is not up-to-date between Stripe & our system? Looking at the Connect account from the Stripe dashboard is not highlighting any discrepancy.
What are you working on?
Stripe Connect Onboarding flow
@muted wing pressed the π API button in #help to ask a question:
Question
Is there documentation anywhere for which account properties can be changed for onboarded Connect Standard Accounts?
Related Request ID(s)
req_FC2jOkJPYdcHb9
What have you already attempted?
I've tried to make changes through the Stripe CLI (for a test account) and got this:
```
{
"error": {
"code": "oauth_not_supported",
"message": "This application does not have the required permissions for the parameter 'card_payments' on account 'acct_1MemE7QJ3QVBSA1T'.",
"request_log_url": "https://dashboard.stripe.com/acct_1MemE7QJ3QVBSA1T/test/logs/req_FC2jOkJPYdcHb9?t=1712257938",
"type": "invalid_request_error"
}
}
```
@noble copper pressed the π API button in #help to ask a question:
Question
I have a brazilian stripe account.
is possible create USD payments or others currencies ?
Related Request ID(s)
pi_3P1vwZE2bd8AzXpm0OoWgCwB
What have you already attempted?
I got a brazilian card, capable of pay international payments,.
But when I tried to pay a stripe payment using USD currency created for myself , it will not accepted
But when I created a payment using BRL currency then it was accept, but why not paying in USD?
What are you working on?
I want to create payments for the currency the customer wants.
@coarse field pressed the π API button in #help to ask a question:
Question
I am trying to implement Stripe payout for that I am creating a Stripe account with "stripe.accounts.create", I want to implement in a way so if while onboarding user select "individual" so it will not ask for business detail eg. "Your Website" and not even display the professional details at the end where it display the summary of information that user provided.
Related Request ID(s)
req_RbCZSuthyfESfo
What have you already attempted?
I have tried to create account with "type = express" and provided "business_profile" information so it will not ask for it while user filling out the forms, but still it display the professional details at the end where it display the summary of information that user provided.
What are you working on?
I am trying to create a market place where any one can sell playing cards and receive payment via stripe payout.
@hardy pivot pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/checkout/sessions/create
Question
Hello, I have a question about creating a checkout session, I want to test that a purchase confirmation email reaches the user, I added the invoice_creation object and activated the email sending options in the stripe configuration but nothing is sent, Thanks in advance
What have you already attempted?
I added the object invoice_creation: { enabled: true} in the session creation:
await stripe.checkout.sessions.create({
...
invoice_creation: {
enabled: true,
},
...
});
What are you working on?
I'm creating a virtual store with Next js
@livid lantern pressed the π Best Practices button in #help to ask a question:
Question
Is there a way to backdate a subscription to last month, for example, report usage to it, and then create invoices for it?
Doc/Guide Links
- https://docs.stripe.com/billing/subscriptions/usage-based-legacy/recording-usage
- https://docs.stripe.com/billing/subscriptions/backdating?dashboard-or-api=api
What are you working on?
A subscription setup for a usage based billing
@elder heart pressed the π§βπ» Code button in #help to ask a question:
Code
get("/create-payment-intent", (request, response) -> {
response.type("application/json");
PaymentIntentCreateParams params = PaymentIntentCreateParams.builder\(\)
.setAutomaticPaymentMethods\(
PaymentIntentCreateParams.AutomaticPaymentMethods.builder\(\)
.setEnabled\(true\)
.build\(\)
\)
.setCurrency\("EUR"\)
.setAmount\(1999L\)
.build\(\);
Question
Trying to build a page for "Add Card to My Account" in SaaS application.
I'm not following this bit in particular;
.setCurrency\("EUR"\)
.setAmount\(1999L\)
1) What is the best way of determining the Currency? Note, I have already collected the Customer's Billing Address at this point in the journey, so I could always have a Country Code --> Default Currency lookup table and use that?
2) Set Amount. I don't know what amount is going to be charged?
What have you already attempted?
https://github.com/stripe-samples/accept-a-payment/blob/main/payment-element/server/java/src/main/java/com/stripe/sample/Server.java
@fierce steppe pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
expected customer email and name in dispute created webhook event but didn't receive one
What actually happened?
expected customer email and name in dispute created webhook event but didn't receive one
Reproduction Steps
expected customer email and name in dispute created webhook event but didn't receive one
Question
expected customer email and name in dispute created webhook event but didn't receive one. what can be the reason?
@tropic wyvern pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I was performing a series of experimentation regarding cards to be used within PaymentElement. So I carry out the experimentation with the following card: 4000000000000002 to carry out the simulation of the unsuccessful sub-enrollment due to insufficient funds.
What I expected is to be redirected to the page present in the return_url field, to print the error message
What actually happened?
Instead, the printing of the error message occurs directly within the confirmPayment method
Reproduction Steps
Use the card with the following value: 4000000000000002 to simulate the situation where there are insufficient funds to proceed with sub-enrollment.
Question
By reading the subenrollment integration guide, once the payment proceeds you are redirected to the page present in the return_url field. From there, you can have the following events: succedded, processing, requires_payment_method and more.
I wonder what would be the situations where you would be redirected to the specific page with the requires_payment_method event
What are you working on?
Integration of subscription
@spare meadow pressed the β An Error button in #help to ask a question:
Error Message
Keys for idempotent requests can only be used with the same parameters they were first used with. Try using a key other than 'pi_06320e88-12c9-4177-a353-c312ea2dc315_f63f206a-c295-43fa-9207-52c09be87bd2' if you meant to execute a different request.
Question
I implemented idempotency keys. Should I change the cart id on every update?
What have you already attempted?
Not sure if idempotency keys are very useful.
Reproduction Steps
Move back from checkout to the shopping cart. Change some of the products and go back to checkout.
@astral spire pressed the πͺ Webhooks button in #help to ask a question:
Question
I am using my java backend to receive webhook for the event. I want to figure out how the webhook will work at local/cloud and live/test mode.
Related Event ID(s)
evt_1P1x9GJxeN8I7MazID5Kf2Vi
What have you already attempted?
My frontend will initiate a checkout session for user to subscribe to a plan, which will create s invoice.succeed event.
@astral rock pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When customizing connect embedded components, I expect colors set for badges to be reflected on both desktop and mobile views.
This was tested on the Stripe customize docs as well as in local dev.
What actually happened?
The color overrides only affect desktop views, not mobile.
Reproduction Steps
- Go to https://docs.stripe.com/connect/customize-connect-embedded-components
- Set component to Payouts
- Override colours for success badge. You will see this reflected in the desktop view.
- Switch to Mobile size. You will see the original badge colours. If you click on a specific payout, you will see the colours correctly rendering in the payout details modal.
Question
How do I override colours in mobile views if not through the variables exposed in the docs (ie. badgeSuccessColorText, badgeSuccessColorBackground)?
What are you working on?
Payouts reporting embedded into our service
@desert crane pressed the πͺ Webhooks button in #help to ask a question:
Question
I am maintaining an internal ledger of all of my connect account transfers (we payout to service providers with connect express accounts). Since we may make manual adjustments including full or partial reversals directly in the Stripe dashboard I am planning on handling the 'transfer.reversed' webhook event. Is that the correct event for this purpose? And with a reversal is a new connect transfer created as well? Or is is only recorded in the primary transfer's list of reversals? Would I also receive a 'transfer.created' webhook event for the reversal?
Related Event ID(s)
transfer.reversed, transfer.created
What have you already attempted?
I've read through the documents on transfers and reversals as well as all of the webhook events... but this level of detail is missing.
What are you working on?
See above :)
@flint umbra pressed the β An Error button in #help to ask a question:
Error Message
The billing.stripe.com page has refused the connection.
Question
I need add the page billing.stripe.com in a <iframe> in my site web.
What have you already attempted?
<iframe runat="server" id="Iframe" src="https://billing.stripe.com/p/session/live_xxxx"></iframe>
@hoary scroll pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/js/deprecated/handle_card_setup_element
Question
How to update a subscription's payment method via the stripe card element.
What have you already attempted?
I'm so lost and dont know where to start
What are you working on?
I would like the user to be able to update their payment method on our website via stripe elements, but I'm not sure which function to use to get the payment method id for the card they inputted
@sick arrow pressed the π Best Practices button in #help to ask a question:
Question
is there a library where we can create a custom form style and accept Apple in Google pay for flutter similar to Stripe card element for JavaScript
Doc/Guide Links
https://pub.dev/packages/flutter_stripe
What are you working on?
I am trying to build a card checkout system with a custom form for my application that is written in flutter
@deep canopy pressed the π API button in #help to ask a question:
Question
```
// redirect payer to stripe
$data['success_url'] = route('checkout.from_external.return', ['flow' => $this->getAccessor()]).'?session_id={CHECKOUT_SESSION_ID}';
$data['cancel_url'] = route('checkout.from_external.cancel', ['flow' => $this->getAccessor()]).'?session_id={CHECKOUT_SESSION_ID}';
$this->getClient()
->checkout
->sessions
->create($data);
```
When payer logins to stripe and returns to `checkout.from_external.return`, payment is already captured.
I would like to check who the payer is before capturing, how do i do that?
Related Request ID(s)
n/a
What have you already attempted?
google
What are you working on?
checkout page
@zealous sorrel pressed the π API button in #help to ask a question:
Question
Uncaught (in promise) IntegrationError: No such plan: '49955bdd-cdab-455a-9bb0-c04fb7a82d46'
Related Request ID(s)
400 ERR POST /v1/payment_pages
What have you already attempted?
dont know what is there to try, i tried googling the error but none are related to my exact error.
What are you working on?
e-com app using sanity
@tepid harbor pressed the π API button in #help to ask a question:
Question
I create a PaymentIntent with an amount of $24.5. I update the amount to $50 using updateIntent due to changes made by the user in the cart. When I want to make a payment with Google Pay, the Google Pay popup continues to show $24.5, but when the payment is confirmed, Stripe collects $50 (the last updated amount). This is misleading to users. How can I update the amount shown in Google Pay?
https://prnt.sc/4TBAeqv-YDqY $24.5
but i updated %50
Related Request ID(s)
req_ODNURuuKTzmNAJ, req_93t0i0Y43sIdFS
What have you already attempted?
I tried using UpdateIntent but failed.
What are you working on?
I'm working on a food platform. Users add food to the cart and can make edits such as address and cart contents in the checkout section.
@tribal holly pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/checkout/fulfill-orders#verify-events-came-from-stripe
Question
Are endpoint secrets only available for registered endpoint urls?
What have you already attempted?
I've tested that I'm receiving the stripe events at my webhook. Now the guide has you verify the events come from stripe but says to find your endpoint secret in the webhook settings. However I don't have anything there and I'm wondering how do I get an endpoint secret to test the event's validity locally.
What are you working on?
Ecommerce page for school
@snow cargo pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
subscription update to not calculate proration at all
What actually happened?
proration is calculated
Reproduction Steps
go to dashboard, update the subscription of a customer, edit product tax, turn off proration. schedule update > end of current period
Question
please explain why is this happening and also how stripe come up with the seemingly arbitrary figure on proration
@late cloak pressed the π API button in #help to ask a question:
Question
My team is testing payout integration in Test Mode. We want to record some data whenever Stripe execute scheduled dialy payout. Currently, we only can wait for the schedule payout to trigger which is 1 day. Is it pain to wait for 1 day every time we want to test the payout. Do Stripe provide any test mode function that can make the scheduled payout happen immediately?
Related Request ID(s)
req_UwfrbmHtbWzFU3
What have you already attempted?
I have gone through the documents but no luck.
@deep canopy pressed the π API button in #help to ask a question:
Question
My accounts duplicate themselves after using the API
Related Request ID(s)
n/a
What have you already attempted?
google
What are you working on?
subscriptions
@rough yoke pressed the π Best Practices button in #help to ask a question:
Question
How do I ensure guaranteed webhook processing without dropping events?
I've linked the docs I've read, which seem to indicate sending a 200 response after processing the event? Is that accurate? Does this remove the need to store the event on my side in case of a server failure/outage since Stripe will retry the event?
I've been confused by the multiple threads that talk about using queues or using the events endpoint etc and not relying on the actual webhook for the latest state, and I am unsure what approach I should use.
Doc/Guide Links
https://docs.stripe.com/webhooks
What are you working on?
I'm building a way to handle Stripe subscriptions in my backend for an app.
@high sable pressed the π Best Practices button in #help to ask a question:
Question
I'm currently integrating Stripe with my platform that allows customers to make purchases on connected accounts (Express) based in both the US and UK. Example: when a payment of Β£100.00 (or $100.00 for US accounts) is made to a connected account, apply app fee of 1%, and I also need to calculate the Stripe fee so that the customer covers it, and make sure the connected account still receives the total $100 after app fee and stripe fee are deducted from total.
How to calculate Stripe fee considering fees vary depending on certain conditions, such as the type of card, international vs national, etc.
Thank you.
Doc/Guide Links
I have applied the formula (https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers) but when checking the pricing page the fees vary depending on certain conditions, such as credit card type, international vs national, etc.
What are you working on?
Stripe Integration
@gentle flint pressed the π API button in #help to ask a question:
Question
I'm getting this error while doing test payment through bancontact. "The PaymentMethod provided (bancontact) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card, link, sepa_debit. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "bancontact".
Related Request ID(s)
req_sOI2oPZ6tOTEs5
What have you already attempted?
I've activated bancontact from dashboard. Also turned on bancontact in the following page: https://dashboard.stripe.com/settings/billing/invoice?tab=general
What are you working on?
I'm doing payment element integration
@obtuse nymph pressed the π§βπ» Code button in #help to ask a question:
Code
maybe
'client_reference_id'
or
'payment_intent_data'
but visible directly a bit like an img src=
Question
In the receipt sent to the customer I want to display a QR code (a bit like the logo) without it being a link to click. Is there a way to hijack a "variable" to do this? a bit like the "images" for visa payment methods etc...
What have you already attempted?
I want to add a QR code stored on my server which is based on the orderid and which is visible directly in the orderid.
What are you working on?
Ticketing
@tender crater pressed the πͺ Webhooks button in #help to ask a question:
Question
If customer upgrade or downgrade subscription plan I catch It on customer.subscription.update, I want to know what is the next invoice amount.
Related Event ID(s)
I don't know what to write
What have you already attempted?
I don't know what to write
@vale trout pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/connect/connect-integration-update?program=sg-2023
Question
I see in the docs there are changes for US, Canada, and Signapore countries when performing required verification information. And this affects integration with Stripe. So why do I call the api https://api.stripe.com/v1/country_specs/(US/CA/SG) to get information about mandatory fields according to US, CA, SG countries but the required fields are not displayed? in api?
What have you already attempted?
I tried to call the api to get the required information according to the countries in the docs https://docs.stripe.com/connect/connect-integration-update?program=sg-2023 clearly stated. But don't see any change.
What are you working on?
I am re-maintaining the old integrated API
@viral spoke pressed the π API button in #help to ask a question:
Question
I would like to get the paymentmethod (with data, not only the id) from a specific customer via the stripe customer id "cus_...". How to get it?
Related Request ID(s)
All customer
What have you already attempted?
I already saw the api endpoint "Retrieve a Customer's PaymentMethod", but there I need to know both: customer id AND paymentmethod id. I could fetch the whole customer object first, just to get the id of the default payment method and then request the paymentmethod data there...
@tawdry sable pressed the π API button in #help to ask a question:
Question
Is it possible to create an upsell experience with Stripe's API? I can only find how to enable upselling via the dashboard.
Related Request ID(s)
.
What have you already attempted?
https://docs.stripe.com/payments/checkout/upsells
@neat cedar pressed the π API button in #help to ask a question:
Question
Is it possible to trigger an app install for a connected account? We'd like to offer our connected accounts an easy way to set up Xero integration
Related Request ID(s)
I'm not sure what this is?
What have you already attempted?
I've looked through the documentation
What are you working on?
We're a SaaS using stripe for subscriptions and payment links.
@uneven basalt pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/multiple-products
Question
I'm not sure if it's possible to update subscriptions with multiple products. If a user is suscribed to a base plan + add-on. Then, stops cancels the add-on, to add another different add-on.
These updates in the subcription would be possible?
- Subscription with 2 items (base plan + add-on)
- Then cancels add-on so a subscription with single item.
- Pays for other different add-on (that subscription now should be updated adding this add-on item)
What have you already attempted?
Still documenting about it, but only found how to create subscriptions with multiple items
@hexed veldt pressed the π API button in #help to ask a question:
Question
Just want to ask will there be an instance where payment method configurations response has the has_more set to true in the response? Just want to know if it also has pagination
Related Request ID(s)
-
What have you already attempted?
Tried adding lots of payment method configurations. Then, calling the get endpoint for payment method configurations but it always return all result and has_more set to false
@coarse grove pressed the π API button in #help to ask a question:
Question
I am using .NET Terminal API and want to process a simulated Card. I get the following error:
This simulated reader is not currently processing a transaction.
Somehow i believe my Setup is not in Test-Mode, but i am using Stripe.TestHelpers.Terminal.ReaderService and the
sk_test_******* API Key
Related Request ID(s)
req_nfXOGqmChS7hTz
What have you already attempted?
Setup everything i found in API documentation.
What are you working on?
a POS Solution. for veterinerians
@tender crater pressed the π API button in #help to ask a question:
Question
If customer buys subscription worth $999.99/year today, and cancels today, will the remaining amount $999.99 should credited to customer's account right?
But that's not happening
Related Request ID(s)
I don't know
What have you already attempted?
I tried stripe.subscriptions.del(sub_xxx) api
@topaz peak pressed the π Best Practices button in #help to ask a question:
Question
I am creating a custom web payment solution, and I am having trouble with how to handle discounts.
When creating a subscription with a promotion code, this counts as a redemption of the given code. So, if the customer quits the payment flow before confirming their payment, they have essentially redeemed a code without doing a purchase. Now, if this code has a redemption limit of one, and the customer comes back later to try and use this code, they will be unable to apply it.
How do I handle this?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/coupons#promotion-codes
https://docs.stripe.com/payments/payment-element
https://docs.stripe.com/payments/accept-a-payment
What are you working on?
Building a payment solution for a subscription service (with Apple Pay)
@slate raven pressed the β An Error button in #help to ask a question:
Error Message
403 ERROR - The request could not be satisfied. Bad Request in CloudFront
Question
I'm hosting a conference on sciencesconf.org where I implemented a Stripe payment link using a button. Following the button to the payment results in a white page where Stripe is not loaded or an 403 Error message by CloudFront
What have you already attempted?
AWS Knowledgebase:
The requested alternate domain name \(CNAME\) isn't associated with the CloudFront distribution. To resolve this issue, follow the steps in the Associate a CNAME with a distribution Resolution section.
@regal crest pressed the π API button in #help to ask a question:
Question
I integrated stripe gateway to my site billays.dk and configurated it succesfully. But now i noticed that its only working on desktop and not mobile version. On mobile version i get an error saying "sorry, but it seems there are no avaialbe pament methods that support subsriptions. nplease contact us if you require assaistance or wish to make alernate arrangements
Related Request ID(s)
req_4ZxYv5yUn21T2L
What have you already attempted?
i will try now to delete the plugin ans reinstall, then reconfigurate to see if its working
What are you working on?
ecomeerce
@tender crater pressed the π API button in #help to ask a question:
Question
Customer buys $999.99/year subscription, then cancel And the same day and $999.99 credit to customer's stripe account.
Now same customer buys $19.99/month plan, so the first payment fee will be 0, then so no charge and no payment_intent created, But I still want the card number which he use even the payment is 0
Related Request ID(s)
I don't know
What have you already attempted?
I retrieve list of invoices for subscription ID, but there is no charge or payment_intent
@marble gale pressed the π API button in #help to ask a question:
Question
Is it possible with Stripe Issuing API to assign a virtual card to multiple cardholders?
Related Request ID(s)
don't have any
What have you already attempted?
nothing
@hearty raven pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expect the event I tried to resend via the cli to trigger the local breakpoint.
What actually happened?
It gave me resource missing error. Invalid request error.
Reproduction Steps
I open the CLI -> specify API key for my test account when logging in (stripe login --api-key [key]) -> copy the id of an event that failed on that account -> type "stripe events resend evt_1P29h52eqw4AmjMTWb8vkD35
And it says resource missing. How?
Question
How is this happening? If I login with the SK from the test account, and copy an event from the test account, how can the resource be missing?
@neat cedar pressed the π API button in #help to ask a question:
Question
Is it possible to convert guest customers into full customer accounts?
Related Request ID(s)
n/a
What have you already attempted?
I've checked the docs but can't find anything
What are you working on?
We're working on sync'ing data from our connected account users payment links to Xero
@hoary venture pressed the π Best Practices button in #help to ask a question:
Question
How to integrate tap to pay using stripe terminal .
Alreadey i have used stripe terminal for bluetooth card reader , below attached link some methods already integrated like set token provider
Doc/Guide Links
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=ios&reader-type=tap-to-pay#create-location
What are you working on?
So what are the steps to be follow in iOS
@worldly turret pressed the πͺ Webhooks button in #help to ask a question:
Question
How can we know or get data from webhook or API call that bank account used in ACH transfer is a Business Account or Personal Account. I do get account type and account holder type but it does not help me.
Related Event ID(s)
nonw
What have you already attempted?
nothing
What are you working on?
get payment from client via ach
@ionic ivy pressed the π§βπ» Code button in #help to ask a question:
Code
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
// Customizable with appearance API.
appearance: {/*...*/},
};
// Set up Stripe.js and Elements to use in checkout form
const elements = stripe.elements(options);
Question
hi
i use https://docs.stripe.com/elements/express-checkout-element/accept-a-payment to add apple pay or google pay any idea how can I reload it after change in amount value every time
What have you already attempted?
i built google/apple pay using https://docs.stripe.com/elements/express-checkout-element/accept-a-payment
@regal horizon pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://stripe.com/guides/introduction-to-banking-as-a-service
Question
I want to create a banking app where users can create account, add bank account info, transaction history, deposit and withdraw, transfer funds, etc. Which Stripe API, features and services would you recommend to use?
What have you already attempted?
Im currently checking out the BaaS for software platforms. I also found this payment intents API, but not sure which one is best suited for my use case.
What are you working on?
Banking app
@jolly dock pressed the π API button in #help to ask a question:
Question
The site has stripe checkout enabled and 11 active payment methods in their stripe account. But the payment methods are not getting displayed in stripe checkout. Link: https://boostcraft.net/checkout/
Related Request ID(s)
req_kxZBMnWISAQsSm
What have you already attempted?
In stripe account 11 payment active.
@fierce whale pressed the π API button in #help to ask a question:
Question
Hi,
I'm trying to set the default payment details of a new customer, following the docs https://docs.stripe.com/payments/checkout/subscriptions/update-payment-details I create a webhook that manage the checkout.session.completed and correclty recevied the event.
I can't exactly do the same workflow as the docs because at the creation of the checkout the customer and the subscription are absent, they will be created automatically during the configuration of the checkout, I'm using the embedded form.
Related Request ID(s)
evt_1P2ATMFW5nc1qKRxgBX0d9Hd
What have you already attempted?
Searching on the docs of stripe but I didn't find any solution.
@wooden badger pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expected my subscription payments to run smoothly on 2 stage authentication with 3DS required payment
What actually happened?
an invoice.payment_failed webhook is triggered before you are allowed to confirm with the bank. Webhooks triggered
1)Inv created
2)Inv finalised
3)Payment intent requires action
4)Inv payment failed
5)Inv payment requires action
6)Inv updated
7)Customer updated
Reproduction Steps
Simply attempt a subscription payment with 3DS secure and it happens.
Question
Is this normal behaviour? This all comes about after attempting stripe.confirmPayment
What are you working on?
Moving my ecom website into production (hopefully today)
@soft lark pressed the π API button in #help to ask a question:
Question
Is there a way to control that connect accounts have always a minimum saldo every month? We need to deduct the membership fees from the connect accounts on our platform, so should we create a subscription for the connected accounts or is there a way to programmatically keep always a certain balance available and deduct that at the end of the month to the main account and payout the rest?
Related Request ID(s)
req_wFtkC4F5hRke5U
What have you already attempted?
Read the documentation and played with the dashboard trying to create subscription for the connected account. No success
What are you working on?
Marketplace
@pine grove pressed the π API button in #help to ask a question:
Question
Is there an alternative way to charge Stripe fees form a connected account that doesn't involve cloning payment methods and customers?
Related Request ID(s)
req_tO70V4UoiCGo0j
What have you already attempted?
My understanding is that it would be possible using direct charges in these cases instead of destination charges. I spotted the article on cloning a payment method https://docs.stripe.com/payments/payment-methods/connect#cloning-payment-methods that could help us, but seems like the customer has to also be on the connected account. At least we get an error saying "no such customer".
@vagrant geode pressed the β An Error button in #help to ask a question:
Error Message
You specified "never" for fields.billing_details.name when creating the payment Element, but did not pass params.billing_details.name when calling stripe.createPaymentMethod(). If you opt out of collecting data via the payment Element using the fields option, the data must be passed in when calling stripe.createPaymentMethod().
Question
How can i fix this error when my customers want to make an payment ?
What have you already attempted?
When my customers want to make anorder , when they press button "proceed checkout" there show that error
What are you working on?
Onojne Grocery Shop
@fair kiln pressed the πͺ Webhooks button in #help to ask a question:
Question
I'm getting the signature error when handling my webhooks all the time, i fixed the API version but i still get the message:
No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
I am using Next.js, made sure my secret is correct, and I'm not editing the data. var signature = req.headers['stripe-signature'];
Related Event ID(s)
all
What have you already attempted?
used the code from https://github.com/stripe/stripe-node#webhook-signing for Next.js, still problem..
What are you working on?
foxyapps.com webhooks handling.
@dense jungle pressed the π API button in #help to ask a question:
Question
How can I create a test connected account (as though the user had authorized my marketplace app)?
I've tried triggering events using the --stripe-account flag e.g.
stripe trigger payment_intent.succeeded --stripe-account "acct_1P2BexQkzGyrVGQ7"
However, I get an error saying -
"message": "The provided key 'rk_test_β’β’β’xxxx' does not have access to account 'acct_1P2BexQkzGyrVGQ7' (or that account does not exist). Application access may have been revoked."
Related Request ID(s)
n/a
What have you already attempted?
I suppose I need to create a connected account, but I'm not clear on how to do this.
I tried to trigger a βaccount.application.authorizedβ event but got this - The event βaccount.application.authorizedβ is not supported by the Stripe CLI.
What are you working on?
I'm writing a Stripe Marketplace app that creates and handles a webhook for my users' accounts.
@gentle flint pressed the π API button in #help to ask a question:
Question
I'm getting the following error while doing a test payment. The provided PaymentMethod can't be used with this PaymentIntent: The value provided for setup_future_usage (off_session) is not supported for klarna. Use a PaymentMethod with a type that's enabled in your Dashboard (https://dashboard.stripe.com/settings/payment_methods?platform_id=pmc_1OtT2ZF3L9Yxs6dMz3vxK4Cn) and compatible the parameters provided (card, acss_debit, link, us_bank_account, cashapp), or update this PaymentIntent to be compatible with the provided PaymentMethod.
Related Request ID(s)
req_uVdIc6F20Wnibk
What have you already attempted?
I've activated Klarna in the dashboard. Also I've turned on Klarna in the following page: https://dashboard.stripe.com/settings/billing/invoice?tab=general
What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode. How can I make this payment intent compatible with Klarna?
@north pagoda pressed the π API button in #help to ask a question:
Question
I want to stop accepting prepaid cards. I found that I can decline payments using Radar Rules, but I want to stop the user from adding a prepaid
Related Request ID(s)
none
What have you already attempted?
Read the docs but didn't find anything on this
@rare wave pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expect Stripe Hosted Onboarding to allow existing users & brand new users to both be able to go through the Stripe Hosted Onboarding flow when creating an Account Link of type `account_onboarding`
What actually happened?
Brand new users (with no extra info in their Stripe Connect account beyond `Name`) _are_ able to go through Stripe Hosted Onboarding; certain existing users are taken to an error in the Stripe Hosted Onboarding window: "We couldn't verify your information with {Company}". With body: "It looks like {Company} doesn't have up to date information about your account..."
Reproduction Steps
Unable to determine how to reproduce the scenario of getting the error message other than going to one of the accounts of a user who has reached out.
Question
In a conversation yesterday, we were informed that at least 3 fields of a list (including Name, DOB, Business Address, Bank Last 4, etc) were required to make the error disappear. However, a brand new account (with nothing more than `Name` in Stripe) is able to go through Stripe Hosted Onboarding without issue.
What are you working on?
Stripe Connect Hosted Onboarding flow
@rich valley pressed the β An Error button in #help to ask a question:
Error Message
This merchant is having trouble accepting your payment right now. Try installing the latest version of the merchant's app or use a different payment method.
OR_BIBED_13
Question
Hello!
I've seen this error before. I fixed it by configuring google pay on google side. The thing is that in my company we are updating our mobile app. We have our old app with apple pay and google pay already in production. Meanwhile we are testing our new app. BOTH apps(old and new) are using the same namespace or bundle identifier. Is it the reason of the error?
What have you already attempted?
https://docs.stripe.com/google-pay?platform=android#going-live
@glacial ridge pressed the β An Error button in #help to ask a question:
Error Message
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.
Question
Hey! I am using Firebase and NodeJS to host my Webhook.
The Firebase Framework seems to fuck up the parsing of my body and I can't seem to solve it.
What have you already attempted?
I've integrated this middleware:
app.use((req, res, next) => {
if (req.originalUrl === '/api/billing/webhook' || req.originalUrl === '/api/billing/subscriptionUpdate') {
bodyParser.raw({type: 'application/json'})(req, res, next);
} else {
express.json()(req, res, next);
}
});
However, this also doesn't seem to work. Any clues?
@merry cliff pressed the π Best Practices button in #help to ask a question:
Question
We are experiencing an issue with customers having multiple duplicate payment methods. We suspect this happens when a customer uses the hosted invoice link to pay the invoice. It seems like they are not able to choose from an existing payment method on their account and instead have to enter the payment method again even if it's the same as an existing method. Is there a way to allow customers to choose from existing methods on the hosted invoice? I know I can choose where payment method types are allowed, but I don't see a setting to allow existing payment methods to be used.
Doc/Guide Links
https://docs.stripe.com/invoicing/customize
https://docs.stripe.com/invoicing/hosted-invoice-page#set-payment-methods
What are you working on?
A SAS web app with subscriptions
@forest saddle pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
invoice in_1P11G4EEcVHNu7m8fQ0piIq0 was expected to be paid once the correct payment method is associated to the stripe customer
What actually happened?
invoice after 10 payment retry attempt was no longer able to be retried
Reproduction Steps
retry 11 times to pay an invoice failing the first 10
Question
Is there a maximum limit of retry for the invoice payment
What are you working on?
internet portal for the telecommunication business
@surreal frost pressed the π Best Practices button in #help to ask a question:
Question
I have two products (both are subscriptions with monthly and annual prices) in Stripe. One is my legacy product A and the other is my new product B. I want to get rid of legacy product A. However, I have several hundred users still subscribed to A. What is the best way to merge those products or transfer all A subscribers to B, to then delete A?
Doc/Guide Links
https://docs.stripe.com/api/subscriptions
https://docs.stripe.com/billing/subscriptions/change
What are you working on?
Learning platform with subscription via Stripe
@unique rose pressed the π API button in #help to ask a question:
Question
I'm testing eftpos for Australia using a B2 eftpos test card on an s700 terminal, and based on the docs I don't think I need to change anything, but it does not appear to be working. After handing off the payment intent to the terminal for processing (which works), it prompts for the card - entering the card shows it accepts it, but the payment intent status never changes from "requires_payment_method".
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_oroVURq8MyEKAj
What have you already attempted?
I've tried changing the payment_method_types to include "eftpos" and "eftpos_present", etc. and that doesn't work. I don't see anything in the docs that I need to add eftpos as a payment method type.
What are you working on?
making sure eftpos works in Paw Partner
@azure coyote pressed the π API button in #help to ask a question:
Question
Hi. How i can to add field "name" to the PaymentElement?
Related Request ID(s)
sd
What have you already attempted?
sd
@spare meadow pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
linkAuthenticationElement validation to be similar to payMetnElement
What actually happened?
I don't see any validation but would like the fields to be required
Reproduction Steps
remove value from fields
Question
Is it supposed to validate automatically on change similar to payment element. How do I make fields required.
@hoary scroll pressed the π§βπ» Code button in #help to ask a question:
Code
useEffect(() => {
var paymentElement = elements?.create('payment');
paymentElement?.mount('#payment-element');
}, []);
const handleSubmit = async \(event\: any\) =\> {
event.preventDefault\(\);
if \(!stripe \|\| !elements\) {
// Handle the case where the card element is not available
return;
}
stripe.confirmCardSetup\(stripeMetadata.clientSecret, {
payment\_method\: {
},
Question
I want to accept a payment method using PaymentIntent and set it to their subscriptions default payment method (I'm writing the 'update payment method' part of their account right now)
What have you already attempted?
I've tried using confirmSetup and confirmCardsetup but don't know what to pass into payment method or card
What are you working on?
Updating payment method for their subscription
@marble gale pressed the π API button in #help to ask a question:
Question
Can i manage the authorization on a transaction made with a virtual card issued with Stripe Issuing? If so, what's the time limit?
Related Request ID(s)
idk
What have you already attempted?
just speculating
What are you working on?
I need to put on hold a transaction made with my virtual card to perform other tasks on my system.
@fading walrus pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When a shipping address is not collected in the payment page, cash app and Klarna should work or provide the required fields or provide an earlier notification that shipping address is required.
What actually happened?
When I attempt to checkout using cash app I get error:
Missing required param: shipping[address][line1]
When I attempt to checkout with Klarna, I get error:
When providing a shipping address, `billing_details[email]`, `shipping[address][line1]`, `shipping[address][city]`, `shipping[address][postal_code]` and `shipping[address][country]` must be provided. I
Reproduction Steps
Create a payment element and enable cash app or Klarna. Provide a compact address ( one that only has country) and attempt to make a payment.
You can also test it in this form: https://experienced-eyraud-ztkbm.zipwp.dev/test-cashapp/ ( it is a test form so no real billing details required)
Question
Is it a hidden requirement to have a shipping address in order to use these payment methods (Cash app and Klarna)?
If so, is there. a way I can listen to changes in payment method (when someone clicks on CashApp) so I can provide inputs for one to enter their full shipping address?
What are you working on?
Building a checkout form which do not require a full shipping address
@tropic wyvern pressed the π§βπ» Code button in #help to ask a question:
Code
this.stripe.retrievePaymentIntent(clientSecret).subscribe(async ({paymentIntent}) =>{
const paymentMethodId = paymentIntent!.payment\_method as string;
const customerId = this.createAccountMediator.customerStripeId;
await firstValueFrom\(this.customerStripeService.updateCustomerPaymentMethod\({customerId, paymentMethodId}\)\)
}\)
Question
My goal is to update the customer default credit card realized during subenrollment. So I made the code that consists of calling the specific back-end endpoint, passing the paymentMethod id and the customer id, for the update.
What have you already attempted?
Although the paymentMethod is successfully implemented, I receive the following error:
[17:34:55.808] ERROR (72915): The customer does not have a payment method with the ID pm_1P2En2F07S1euBUTPUxnj3ZV. The payment method must be attached to the customer.
What are you working on?
Updating customer's default card
@restive hound pressed the π Best Practices button in #help to ask a question:
Question
We are in the US. A Canadian client is using our software to collect registration fees. They are reporting that our system is charging their clients in Canada US$, but they want it to charge Canadian dollars! What do we need to do to switch the currency charged to Canadian?
Doc/Guide Links
https://docs.stripe.com/connect/currencies
What are you working on?
Our software allows users to collect credit payments via Stripe.
@sturdy compass pressed the π§βπ» Code button in #help to ask a question:
Code
var createOptions = new PaymentIntentCreateOptions
{
AutomaticPaymentMethods = new PaymentIntentAutomaticPaymentMethodsOptions
{
AllowRedirects = "always",
Enabled = true
}
Question
Attempting to integrate IDEAL payments for a new connect client in the Netherlands. enabled in PMCs and within connect account but doesn't appear. Testing locally by spoofing geolocation I do not see IDEAL as an option when creating payment intents
What have you already attempted?
Please look at payment intent pi_3P2FEoEEh9cdAk0g1AD4EyXe to see. It is showing card/link as the only payment options but IDEAL is an enabled payment option
What are you working on?
connect account, new client needs to use IDEAL so attempting to integrate that into our existing payment element flow
@novel wyvern pressed the π§βπ» Code button in #help to ask a question:
Code
router.post(
"/stripe/webhook",
express.raw({ type: "application/json" }),
async (request, response) => {
let event;
const endpointSecret = process.env.STRIPE_WEBHOOK_SECRET;
if (endpointSecret) {
const signature = request.headers["stripe-signature"];
try {
event = stripeClient.webhooks.constructEvent(
request.body,
signature,
endpointSecret
);
} catch (err) {
console.log(`β οΈ Webhook s
Question
every time I try to make a subscription the webhooks fail. The two most persistent errors are:
1) Webhook signature verification failed. Webhook payload must be proovided as a string or a Buffer 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.
2) Error fetching user subscriptions: StripeInvalidRequestError: No such customer
What have you already attempted?
I tried :
- pass request.body,
- pass request.rawBody
- I tried creating and saving the customer before activating the webhooks.
None of my solutions seem to work.
What are you working on?
Users must be able to sign up for a subscription between: monthly, half-yearly, annual. There will be a 7 day free trial
@glad bay pressed the π API button in #help to ask a question:
Question
I'm using auto debit for my product for which I use subscription in Stripe. Now i need a scenario to be covered that is if a customer chooses to update the card detail, I need to update the detail for that customer, but how it will get reflected in subscription?
Related Request ID(s)
I don't have any id
What have you already attempted?
It's new to me, haven't attempted anything
What are you working on?
I'm using auto debit for my product for which I use subscription in Stripe. Now i need a scenario to be covered that is if a customer chooses to update the card detail, I need to update the detail for
@frozen wing pressed the π API button in #help to ask a question:
Question
I have issues of account freezing, why, how to fix? I'm writing here as issues aren't getting solved through email support.
Related Request ID(s)
don't need this stuff
What have you already attempted?
I'm trying to attempt to fix the account freeze, my account has been frozen over a month now, no one from support has provided reason, neither steps of what should I do.
What are you working on?
I'm working on making a lawsuit against this as nothing is being fixed, disrespectful.
@potent iris pressed the π API button in #help to ask a question:
Question
Hello, we're building a payment collector in the background that can create payment intents for customers with a default Payment Method. The payment method is being added via the customer billing portal by the customer itself. In the specific case of bank transfers, we are unable to create the payment intents unless we provide the `mandate_id` or `mandate_metadata`. Even tho we see the mandate ID in the payment method details we're unable to retrieve it so far using the API.
Related Request ID(s)
req_qkhiOon43taJJY req_qI425EzUYGt9gT req_1M7rxoMKKPrUyL
What have you already attempted?
I read the API documentation, and tried several attempts to create a payment intent with both credit cards and bank accounts
@south trellis pressed the π API button in #help to ask a question:
Question
what is the best api to use to create a one off fee for users in our system. would it be to append a one time line item to their next subscription payment or is there a better way to do this
Related Request ID(s)
no
What have you already attempted?
I've attempted doing a littler research but I'm not sure
What are you working on?
working on figuring out how to charge service fees either in conjunction with the subscriptions api or through a different avenue
@rancid frost pressed the π API button in #help to ask a question:
Question
My app has an option to cancel the payment inside it. It doesn't have any website, only the app. I'm using `initPaymentSheet` and the param `applePay.request.managementUrl` is mandatory, but as I said, I don't have one. What do I do?
Related Request ID(s)
Don't have one
What have you already attempted?
I was reading this doc: https://docs.stripe.com/payments/accept-a-payment?platform=react-native&mobile-ui=payment-element#react-native-apple-pay
I was thinking about putting a deep link to the cancel payment button page, but I don't know if that is adequate.
What are you working on?
I'm setting up Apple Pay in my app for recurring payments of yearly and monthly plans.
@eager rune pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
one of my connected accounts was restricted a couple days ago, I used api to create a new account link for that account to redo the onboarding process, I was expecting it will restore all the previous transfers so that I can make a report for that account
What actually happened?
all the related transfers are gone, can't pull anything from transfers endpoint
Reproduction Steps
same as previously described
Question
what's the cause? is there a way to restore the transfers of that account?
@bright blaze pressed the π API button in #help to ask a question:
Question
My company uses Stripe to process payments. On a daily basis we get hundreds of disputes that we respond to, and we were informed by our dispute specialist that answering the question "Why should you win this dispute?" is very important. Earlier this week I found out that this is not possible through the API. I'm wondering if there's any programmatic way (e.g. JS + DOM manipulation...) to select our answer to this question since manually clicking through all the disputes and submitting is not an option.
Related Request ID(s)
Not referring to a specific request
What have you already attempted?
Searched docs in https://docs.stripe.com/api/disputes/update#update_dispute-evidence but there's no section that corresponds to the question
What are you working on?
A script that automatically responds to customer disputes with their activity log and related information
@tender pawn pressed the π API button in #help to ask a question:
Question
I've created a new Product and a new Price on my Stripe dashboard. In code I create a new invoice and use this priced code ID. In the Stripe dashboard, using the Product ID, how do I find payments for this product? Am I missing something in the Api when I create my invoice or invoice line item?
Related Request ID(s)
None
What have you already attempted?
My current code creates Invoices, line items, etc... I've never seen where to link the stripe product to the invoice though.
What are you working on?
It is our site membership pages.
@prisma dome pressed the β An Error button in #help to ask a question:
Error Message
Access to XMLHttpRequest at 'https://hcaptcha.com/getcaptcha/ec637546-e9b8-447a-ab81-b5fb6d228ab8' from origin 'https://newassets.hcaptcha.com' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated b
Question
My Console is literally *filled* with these. I get multiple of them every time stripe tries to do anything.
What have you already attempted?
I'm at a loss
Reproduction Steps
I'm using an embedded form, that takes me to Stripe to process the payment,
What are you working on?
QR Builder
@mental anchor pressed the π API button in #help to ask a question:
Question
What is the flow for creating payment intents so that my stripe connect account can charge a platform fee?
Am I using the stripe keys from my connect account in the stripe library and then add the stripeAccount of the connected account to the create payment intent route?
Related Request ID(s)
pi_3P2HIVGdCMCGaWnU17R74EN7
What have you already attempted?
I created the payment intent on the connected account and it it looks correct. but then wehen I go to confirm the payment intent I get an error that it doesnt exist.
What are you working on?
This is a nodejs app where customers of a connected account can tip their service provider and then we take a platform fee.
@finite hawk pressed the π Best Practices button in #help to ask a question:
Question
Can I rely on ONLY the payment element if I need to display a sales tax calculation on my custom checkout?
Doc/Guide Links
https://docs.stripe.com/payments/payment-element
What are you working on?
Building a custom checkout using Stripe elements
@robust island pressed the π API button in #help to ask a question:
Question
I have a PHP class for handling transactions. In my class I have a method that creates a checkout session with a subscription and a one time fee for setup. **The setup fee is not always included.** I am trying to get the subscription id to store in my payments table to reference for updates or cancelation later on. If there is a setup fee included, the `mode` needs to be set to 'payment', this means `$checkoutSession->subscription;` is `NULL`. I would like so that the customer can pay for both line items at once (from stripe page) and to return the subscription id.
Related Request ID(s)
req_Y5uMW0ul80DYMK, req_ZfDGHjEqWlhdCx, req_q0mLu2RQXK7nyL
What have you already attempted?
My project does not use webhooks and I would prefer to not have to.
@fervent apex pressed the π Best Practices button in #help to ask a question:
Question
We're using Stripe Connect with Direct Payments. We want to offer some of the reports Stripe provides in our Dashboard. Is there any easy way to do this?
Doc/Guide Links
https://docs.stripe.com/connect/get-started-connect-embedded-components < This really only provides info about a small subset of that data
What are you working on?
Gitwallet - like Shopify but for Open Source Projects
@austere mountain pressed the π§βπ» Code button in #help to ask a question:
Code
<Elements options={options} stripe={stripePromise}>
<ExpressCheckoutElement className={classnames({'disabled':isSubmitting})} options={expressCheckoutElementOptions} onConfirm={expressCheckoutConfirm} onClick={onClick} />
<CustomFormComponent className={classnames({'disabled':isSubmitting})} />
<PaymentElement id="payment-element" className={classnames({'disabled':isSubmitting})} options={paymentElementOptions} />
<CustomSubmitButton />
</Elements>
Question
On clicking the custom submit button in code above, I am trying to set a state variable isSubmitting to true, do the payment method creation on client and sending request to my backend to confirm a payment intent.
While the backend process is running, I want to disable my form and Stripe Elements. I tried to add disabled classname since the Appearance API docs implied that disabled is configured. But nothing happens to Stripe Elements appearance to indicate disable status
What have you already attempted?
I looked at the console to verify that class name disabled is getting added to the parent of the Express Checkout and Payment Element components.
What are you working on?
A frontend payment form in NextJS + React to create a payment method, send the request to backend with payment method ID and payment Intent ID and keep form dis
@vocal wagon pressed the π API button in #help to ask a question:
Question
Enable Google Pay & Apple Pay in Payment Element with setupIntent
Related Request ID(s)
N/A
What have you already attempted?
I cannot figure out how to get Google Pay & Apple Pay to show up as payment options in my integration.
I have created a setupIntent with "card" payment method type, and render the PaymentElement with google and apple pay set to "auto".
I have my browsers and wallets set up properly, so that if I visit https://docs.stripe.com/stripe-js/elements/payment-request-button, I will see Apple Pay (safari) or Google Pay (chrome) show up. However neither will show up within my integration.
What are you working on?
Saas with subscription billing
@tawny pivot pressed the πͺ Webhooks button in #help to ask a question:
Question
We missed a significant number of invoice webhook updates yesterday and I need to have them re-pushed. Is there a way to bulk request webhook resends?
Related Event ID(s)
NONE
What have you already attempted?
We have been pushing them 1 by 1...
@plain laurel pressed the π API button in #help to ask a question:
Question
Is there a way to use the Payment Element type Affirm and attach the card to a customer? I have it working for card and Apple/wallet payments. But for Affirm I run into an issue since I have setup_future_usage set to off_session when creating my Payment Intent, but I need this in order to attach to a customer.
Related Request ID(s)
n/a
What have you already attempted?
- I tried creating the stripe elements with a clientSecret and/or paymentMethodCreation: manual to create the paymentMethod by stripeInstance.createPaymentMethod which was what we were doing with the card element
- migrating to confirmation token but ran into issues https://docs.stripe.com/payments/payment-element/migration-ct#conditional-options
What are you working on?
We are currently in the process of moving from Orders API(deprecated) to the Payment Intent API and I am working on migrating from the card element to the payment element.
@gusty fiber pressed the π API button in #help to ask a question:
Question
I have company subscriptions which have quantity for users that the company buys to they can use the app.
I have an issue:
- User buys quantity 2. Each subscription is 6.99 so 13.98$.
- User opens modal and he wants to change the quantit because his company hired another guy and he wants to change quantity to 3.
- User changes quantity to 3, but in dashboard instead of 20.97$ is says 27.96$, like he has 4 subscriptions. Why is that?
- I'm finding hard the subject of quantity.I see it doesn't charge imediately,he can change quantity across the month how much he wants,how is this calculated
Related Request ID(s)
sub_1P2IjSDmVlmqORBI17cpK9t2, pi_3P2IlVDmVlmqORBI4GENFJ5Z
What have you already attempted?
Changing Quantity but price is weird
What are you working on?
Company Quantity subscription buy
@faint plover pressed the πͺ Webhooks button in #help to ask a question:
Question
If charge.refunded webhook was hit does that mean that the refund was successful. Additionally, is the charge object that is returned in the webhook the original charge?
Related Event ID(s)
N/A
What have you already attempted?
Reading documentation around refunded webhooks
@soft sluice pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Be able to publish a newer version of my Stripe app
What actually happened?
In my CLI it says success but fails on Stripe Apps dsahboard
Reproduction Steps
- Run "stripe apps upload"
- See that the CLI says success.
- Open up Stripe Apps dashboard and see that the new version says - "Something went wrong on our end and we were unable to complete this upload. Please reupload from the CLI."
Question
Is the Stripe Apps service running correctly? I would like to publish my app.
What are you working on?
Trying to publish a Stripe app
@brittle sapphire pressed the π API button in #help to ask a question:
Question
How do I allow customer's to apply promotion codes to their existing subscription (e.g. $5 off) from the customer billing portal? Currently I use the code:
portal_session = stripe.billing_portal.Session.create(
customer=user_doc["stripe_customer_id"],
return_url="https://doinksports.com",
\)
Related Request ID(s)
n/a
What have you already attempted?
Followed https://stackoverflow.com/questions/73649037/how-to-allow-customers-to-apply-promo-code-on-existing-subscription-in-stripe-cu but see no features.subscription_update.default_allowed_updates
@thick trail pressed the π§βπ» Code button in #help to ask a question:
Code
first two show where the screen gets stuck, third shows the acct id change
Stripe Link In WebView: https://connections-auth.stripe.com/chase/complete?code=FNnoqYkM&authorization2=[REDACTED]&state=bcsess_1P2IeoISU2CEJv15E84W6mCc
Stripe Link In WebView: https://connections-auth.stripe.com/chase/complete?code=FNnoqYkM&authorization2=[REDACTED]&state=bcsess_1P2IeoISU2CEJv15E84W6mCc
Stripe Link In WebView: https://connect.stripe.com/setup/s/acct_1P2Iz4IKvKjZygXD/MI5O4SdILA8Z
Question
we are trying to use a webview to run the stripe verification link so that users can create a verified payment address for their events upon creatin a paid event, however when we switched over to real accounts we kept getting errors pertaining to the authentication session
- is there a way to resolve this issue or is there a more reliable stripe react native library to link our app accounts to stripe accounts without leaving our app. (ps we use postman to stripe)
What have you already attempted?
I tried saving the session which fixed the ""authentication session is in an invalid state" but then we seem to get stuck at a white screen. closing the modal the webview is in and reopening it givees us the "connect an existing account" which lets us actually verify. there are two things I noticed in the logs
- for some reason the api reads false for the account right at the white screen
- the account ID is different in the chase portion and outside the chase portion
What are you working on?
Paid events through a social coordination app
@chilly bolt pressed the π API button in #help to ask a question:
Question
Hello Stripe Support Team,
I am looking for assistance on how to automatically download Stripe fee invoices through your API. I have thoroughly reviewed your API documentation but couldn't locate an endpoint that specifically addresses this need. My objective is to seamlessly integrate these invoices into my accounting system as soon as they are generated by Stripe. Is there a way to programmatically retrieve Stripe's fee invoices? If so, could you guide me through the process or point me to the relevant API documentation? Thank you for your help!
Related Request ID(s)
none
What have you already attempted?
I have already examined the Stripe API documentation, focusing on the invoices section, in search of a method to download fee invoices. Unfortunately, I haven't found any clear guidance or specific endpoints that could fulfill this requirement. My attempts to find an existing API call or a workaround that could achieve this automatic download have been unsuccessful.
What are you working on?
I am enhancing the financial management systems of our business. A key aspect of this project is the automated integration of various billing documents into our accounting software.
@tiny wind pressed the π API button in #help to ask a question:
Question
I created a report run and have a url. When clicking the url I am presented with a username/password prompt. I typed in my credentials, but it just keeps prompting me to try again
Related Request ID(s)
event id: evt_1P2Jx0D14aVN9bWqY6sC9wQh
What have you already attempted?
Searched the documentation
What are you working on?
Creating a report that shows me payment intent metadata across connected accounts
@nova bluff pressed the π API button in #help to ask a question:
Question
In Stripe events, how can I tie events created from a payment link of a subscription to the product purchased. AKA if my product team creates a new product in the dashboard and a subscription link for that product, how do I get the UUID for that payment so I know which payments are from that product when subscribing to stripe events via a webhook?
Related Request ID(s)
N/A
What have you already attempted?
I am looking for a way for my product team to give me an ID associated with the product that they made so I know that all events incoming associated with X ID are related to X payment link
@charred crest pressed the π API button in #help to ask a question:
Question
How can I integrate 2 stripe products? One payment is a set amount and the other is an optional contribution. I want to combine the two options into one payment .
Related Request ID(s)
2 options in to 1 payment
What have you already attempted?
customer service stripe, they referred me here
What are you working on?
I have not been able to combine two payments on one form
@random merlin pressed the π Best Practices button in #help to ask a question:
Question
Greetings,
I'm curious about what the best way to manage user's checkout sessions. Currently, I have a button on our website that creates a new checkout session for that customer (using an existing Stripe customer_id that is passed to it).
Should I be storing the checkout session ID in my database so it can be accessed again instead of creating a new one every time a customer attempts to pay? I can send code snippets of what I'm referring to if needed.
Basically, would it be better to have...
- customer clicks button
- new session is created
Or...
- customer clicks button
- check if checkout session ID is stored with customer
- handle accordingly
Doc/Guide Links
https://docs.stripe.com/api/checkout/sessions/object
What are you working on?
An automated payment system for my company. Working on letting users submit and update both card and ACH payment methods.
@delicate tangle pressed the π API button in #help to ask a question:
Question
how to deduct application fee from customer, not connect account recipient?
Related Request ID(s)
?
What have you already attempted?
Currently customers pay a connect account, but connect account is deducted the application_fee_amount
βοΈ 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 developers are currently available on Discord!
@vague wren pressed the π API button in #help to ask a question:
Question
I have set up my Sanity account/dashboard, connected it to a site, and added my bank account information so that I can begin enabling users to purchase products from my site.
However, the stripe checkout page notifies me that it is still in "test mode".
On my dashboard/Developer menu, I see "Integration Status: step 3/4" and it only tells me to "Copy your live API keys into your integration to start processing live payments."
I don't understand what this means. Can you please explain where I am supposed to utilize these keys?
Related Request ID(s)
Look in Dashboard > Developer > API Integration notification
What have you already attempted?
Reading through the docs; Saved my API keys including my secret key for use, just unsure where
@burnt notch pressed the π§βπ» Code button in #help to ask a question:
Code
-- Assuming successful payments are closely tied to invoices which in turn are tied to products
SELECT
i.id AS invoice_id,
i.number AS invoice_number,
i.date AS invoice_date,
i.status AS invoice_status,
ii.quantity,
ii.amount AS item_amount,
p.name AS product_name
FROM
invoices i
JOIN
invoice_items ii ON i.id = ii.invoice
JOIN
prices pr ON ii.price = pr.id
JOIN
products p ON pr.product = p.id
WHERE
i.status = 'paid' -- Consideri
Question
we have a monthly subscription service to a few different products, I told chatgpt to give me a code that i can paste into sigma that will give the net revenue per product of succeeded payments sorted by month
What have you already attempted?
many different chatgpt variations trying to paste in
What are you working on?
we have a community that is in a monthly subscription to various different products, we need to pay out our team accordingly based on their % of each product
@vestal flax pressed the πͺ Webhooks button in #help to ask a question:
Question
How do I get the card fingerprint that was used to get a free trial subscription ?
Related Event ID(s)
evt_1P3AnALvF6Jqv5mqjfpbqNos
What have you already attempted?
I have tried listening for the invoice.paid and then retrieving the charge object..
But apparently, there is no charge for free trials or 0 dollars. Although it make sense.. looking for alternatives.
What are you working on?
So, I am building a system where we are allowing customers free trials for a subscription but wants to constrain each card to a single free trial.
@fair kiln pressed the πͺ Webhooks button in #help to ask a question:
Question
I'm getting the signature error when handling my webhooks all the time, i fixed the API version but i still get the message:
No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
I am using Next.js, made sure my secret is correct, and I'm not editing the data. var signature = req.headers['stripe-signature'];
Related Event ID(s)
evt_1P2tU9FQ18ENc13dE2FIAvye
What have you already attempted?
used the code from https://github.com/stripe/stripe-node#webhook-signing for Next.js, still problem..
What are you working on?
foxyapps.com webhooks handling
@lost pendant pressed the πͺ Webhooks button in #help to ask a question:
Question
Using webhooks api version - 2017-04-06.
I am working on partially refunds (multiple refunds of same charge).
In charge.refunded object each time when I partially refund the charge It creates new refund information object of that refund to the refunds objects.
Now, I know that the latest refund is at index 0,
But my question is - In the whole charge.refunded event It is not defined which refund belongs to this event.
Because I have multiple employees hitting the webhooks for the same charge. How would I know which refund was done in which event.
Related Event ID(s)
"evt_3P261gLBDaRl2VFf0Wi2HTIz"
What have you already attempted?
I can try looping the refunds object and match the id of my record by setting it to metadata, But I think that is not a good way. I am trying to find a better way.
What are you working on?
My application have refund functionality, where I have to refund amount in percentage, and I have multiple users who have access to refund that amount.
@dusk oracle pressed the π Best Practices button in #help to ask a question:
Question
Hello, I use Stripe Issuing with connected accounts. And I want to give some rewards to my customers: I want to transfer them some money from my parent account, directly to the Issuing balance of their connected account.
Is their an API function to do that directly, or do I need to make it in 2 api calls : a transfer to their connected balance, and then, transfer it to the issuing account using balance_transfers API ?
Doc/Guide Links
https://docs.stripe.com/api/balance_transfers
What are you working on?
I am working on Stripe Issuing
@rich inlet pressed the π API button in #help to ask a question:
Question
I have a client who subscribed to a subscription with a trial of 1 month,
The user wants to upgrade this subscription, but we want (when we upgrade we want to bill him this upgrade but since he got a trial it doesn't )
Related Request ID(s)
update subscription
What have you already attempted?
User upgrade plan , does not get charged, but the trial gets upgraded to the other plan
What are you working on?
updating subscription
@prime terrace pressed the π§βπ» Code button in #help to ask a question:
Code
const PricingPage = () => {
return (
<div>
<stripe-pricing-table
pricing-table-id={process.env.NEXT_PUBLIC_PRICING_TABLE_ID}
publishable-key={process.env.NEXT_PUBLIC_PUBLISHABLE_KEY}
client-reference-id="{{CLIENT_REFERENCE_ID}}"
/>
</div>
);
};
Question
Dear Stripe team,
We have integrated Stripe Checkout into our web platform.
What we would like to know is whether it is possible, having the user's ID available, to ask the Stripe backend if the user has actually paid for the service, so that we can activate the platform.
This is in an effort to prevent possible users from circumventing the payment page and entering the platform without actually having paid.
Is it possible to do this and how can I implement it?
What have you already attempted?
-
What are you working on?
https://dev.konnectapeople.com/home
@small sonnet pressed the π API button in #help to ask a question:
Question
Regarding the Payment Links.. (1)Is there any way to turn off the "Cards" Payment Method for creating a payment link, (2) Can I make the default qty for products as "0", instead of "1" (as it is now)
Related Request ID(s)
req_AZiN2o2Hii4Xqp
What have you already attempted?
I have tried all available options, but unable to turn off the Cards payment method (I just want to have "PayNow" as the payment method in one of my Payment links. Also unable to make the default as "0"
What are you working on?
Updating a website with some eCoomerce support.
@lavish quarry pressed the π API button in #help to ask a question:
Question
We want to make a terminal payment, the card machine to pay, but after the creation of paymentIntent, the card keeps stuck, no response
Related Request ID(s)
req_1hCwm6OmPqAGhF
What have you already attempted?
The server creates paymentIntent and waits for it to swipe
What are you working on?
developer
@placid locust pressed the π Best Practices button in #help to ask a question:
Question
We would like to update all of our prices and its subscriptions for a product. But prices can't really be edited after there is a subscription associated with it.
Is there a way to get around this or do we have to create all new prices, migrate all subscriptions and archive old ones?
Doc/Guide Links
https://docs.stripe.com/products-prices/manage-prices?dashboard-or-api=api#edit-price
What are you working on?
Migrating to new pricing model in our product.
@twilit bloom pressed the π API button in #help to ask a question:
Question
We need to force the 3ds flow from the invoice/{invoice_id}/pay endpoint.
We would like to force the 3ds if it's supported by the card. All of this works in the test environment but not in production.
Related Request ID(s)
Payments
What have you already attempted?
During the checkout process we create an invoice for the customer, we ask the payment method and then from the draft invoice we invoke the pay endpoint. The problem is that the bank blocks the payment before starting or asks for the 3ds flow, the error is do_not_honor.
@spare forge pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Stripe checkout window should open
What actually happened?
Button click does nothing
Reproduction Steps
The problem is with IOS users who are on Safari, when they click on button which should open checkout, nothing happens, but there is no problem on other devices
Question
How to fix this problem? I guess our backend is okay and the problem is on frontend side
What are you working on?
Website
@fiery copper pressed the π API button in #help to ask a question:
Question
I would like to test my webhooks with SEPA payments, but I cannot create a SEPA mandate through the API to charge the test account. How can I do this for automated tests only in go-code?
Related Request ID(s)
req_5usfaoRbru247R
What have you already attempted?
I'd like to share my code here but it exceeds the character limit. I basically create the payment method with a SEPA test account, and then create the customer with the payment method. When I try to create a subscription, I get this error:
```
"status":400,"message":"This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter."
```
@worn lotus pressed the π§βπ» Code button in #help to ask a question:
Code
account_id = 'acct_******'
stripe.api_key = "sk_test_******"
account = stripe.Account.modify(
account_id,
business_type='company',
)
Question
Hello! I'm working on automated account onboarding via python selenium tests.
Our application creates an account link for the customer to connect stripe standard account.
And I need help to understand how can I onboard a new account without UI authorization. (Because it has captcha and SMS-code verification).
What have you already attempted?
I've tried to modify() an account but looks like there is no permissions to update standard account which is already created and not onboarded. I have error_code=oauth_not_supported error_message="This application does not have the required permissions for the parameter 'business_type' on account 'acct_*******'." error_param=None error_type=invalid_request_error message='Stripe API error received' error.
What are you working on?
Account onboarding automation (Python + Selenium)
@viral spoke pressed the π Best Practices button in #help to ask a question:
Question
I would like to create a cart for a user. The user sees his products as component. There are two other components: paymentmethod and account. We will focus only on paymentmethod here. If the user clicks on it, there will be the payment elements and the user enters details. Then click on safe and a paymentmethod id should be saved inside my db. The page reloads to get the paymentmethod id and renders is correctly. But how to do this step? Inputting is fine, element rendering is also fine, but should I create a paymentmethod via the elements field then and just save the paymentmethod id?
Doc/Guide Links
https://docs.stripe.com/api/payment_methods/create
https://docs.stripe.com/payments/accept-a-payment
https://docs.stripe.com/payments/save-and-reuse
What are you working on?
Cart checkout with multiple components that uses the single responsibility principle
@leaden nest pressed the π API button in #help to ask a question:
Question
Is there a way to move funds from our platform balance in EUR to our platform balance in CHF?
Related Request ID(s)
n/a
What have you already attempted?
Attempted to top-up via the dashboard.
@deft stone pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/google-pay
Question
config = GooglePayLauncher.Config(
environment = GooglePayEnvironment.Test,
merchantCountryCode = "US",
merchantName = "Widget Store"
),
What have you already attempted?
Where can I find the values of `merchantCountryCode` and `merchantName`? Are there in dashboard? Can I fetch them from an API?
What are you working on?
Integrate google pay
@fierce mortar pressed the πͺ Webhooks button in #help to ask a question:
Question
Hello. I'm working on some new stripe integrations with our system. During local testing, my stripe listener is capturing and triggering events on my backend. However, we have a couple of other development backends that are also receiving the same events, failing to process them, returning an error and the account is getting disabled. Am I missing something to make my listener the sole recipient of my local stripe requests?
Related Event ID(s)
evt_3P3EEXJk75hPCxYy1vADeQWV
What have you already attempted?
I suspect the answer is that our backends shouldn't be returning errors due to webhook requests they don't support yet, but that's possibly a bigger job if I can avoid it.
What are you working on?
Responding to webhook requests for Payment Intents.
@nimble moon pressed the π API button in #help to ask a question:
Question
For some of our API tests we're creating mock plans/products which we'd like to cleanup at the end of the test using the product.del() method. However in some instances we're seeing we can't delete and the only option is to archive through the dashboard. Is there a API method to archive a product? Also is there a best practice for cleaning up test product/prices/plans?
Related Request ID(s)
prod_Pk7efAIu0hNu4Z
What have you already attempted?
Looking to the docs for answers
What are you working on?
Testing
@vocal wagon pressed the π§βπ» Code button in #help to ask a question:
Code
if event['type'] == 'customer.subscription.updated':
session = event['data']['object']
previous\_attributes = event\['data'\]\['previous\_attributes'\]
\# Check if 'current\_period\_end' was updated
if 'current\_period\_end' in previous\_attributes\:
previous\_period\_end = previous\_attributes\['current\_period\_end'\]
current\_period\_end = session\['current\_period\_end'\]
current\_period\_start = session\['current\_period\_sta
Question
I am trying to detect when my subscription is renewed. Does the current_period change when I cancel the renewal of the subcription and re-enable it?
What have you already attempted?
The code provided
What are you working on?
Detecting when subscription was renewed
@golden gale pressed the π API button in #help to ask a question:
Question
When I do a stripe.PaymentIntent.retrieve for the below ID, the payment intent is being returned without the charges key set - even though this is a successful payment intent. WHy are there no charges attached to it?
Related Request ID(s)
pi_3P2vx8A5RKqObLFc1xFfsgNF
What have you already attempted?
I had the same issue in my code at paymentIntent creation time - confirm was True, so it charged immediately - charge succeeded - but it had no charge object set on the paymentIntent then too
What are you working on?
and off_session=True nightly payment job
@meager hedge pressed the πͺ Webhooks button in #help to ask a question:
Question
I cant listen checkout.expired and complete because of TLS Error
Related Event ID(s)
evt_1P2ZysB4fjaL5cwe3vsAFfoU
What have you already attempted?
I create a Endpoint and my route and i can listen some events like when a session has been created
What are you working on?
nodejs/js/html
@rotund warren pressed the π API button in #help to ask a question:
Question
Want to split the payment in two steps.
Steps #1: User Enters the Card Number, Expiry and CVV,
Steps #2: Custom logic on apply discount on the basis of last 4 digits of card number provided. And Final Payment Capture with discount
Related Request ID(s)
none.... i don't see any associated event
What have you already attempted?
Two Step Confirmation
What are you working on?
Two Step Confirmation
@rancid phoenix pressed the πͺ Webhooks button in #help to ask a question:
Question
I'd like to know what IP has been used to call our webhook in order to figure out why request as been blocked by firewall. We've added IP list from https://docs.stripe.com/ips but it's blocked by firewall.
Event id: evt_1P3FoCCWiHWJJPvaGpQB4Lkm
Idempotency key: 24d2ab1d-cc18-4318-97e9-5891a1374182
Related Event ID(s)
evt_1P3FoCCWiHWJJPvaGpQB4Lkm
What have you already attempted?
Double check if IP list matches https://stripe.com/files/ips/ips_webhooks.txt
What are you working on?
Improving security
@brisk nymph pressed the π API button in #help to ask a question:
Question
How to calculate the subtotal and total for the next payment with the discount applied amount from retrieve subscription API?
Related Request ID(s)
sub_1P3EbQGVCe8mF8QWdZ9g6zBw
What have you already attempted?
I am going through this doc - https://docs.stripe.com/api/subscriptions/retrieve?shell=true&api=true&resource=subscriptions&action=retrieve
@foggy wadi pressed the π API button in #help to ask a question:
Question
why is the "Cancel Subscription" button on billing.stripe.com hidden, when there is a subscription schedule?
Related Request ID(s)
not relatee
What have you already attempted?
not relatee
@oblique wagon pressed the π§βπ» Code button in #help to ask a question:
Code
I really try to implement a stripe form to my website, but I don't succed
Question
Do you have a folder, I can download with a sample, so I can modify for my website in PHP/JS
What have you already attempted?
I tried to follow the steps of the tutorial, but it's not working
What are you working on?
Form payement integration
@rotund warren pressed the π API button in #help to ask a question:
Question
Want to split the payment in two steps.
Steps #1: User Enters the Card Number, Expiry and CVV,
Steps #2: Custom logic on apply discount on the basis of last 4 digits of card number provided. And Final Payment Capture with discount
Related Request ID(s)
none.... i don't see any associated event
What have you already attempted?
Two Step Confirmation
https://docs.stripe.com/payments/build-a-two-step-confirmation
What are you working on?
Two Step Confirmation
@limber spoke pressed the π API button in #help to ask a question:
Question
Hello, I want to add an invoice item which could negative or positive to a draft invoice generate by a subscription.
Related Request ID(s)
none
What have you already attempted?
I added an invoice item for positive items which works fine, but when add a negative invoice item , I get "Invalid non-negative integer" error.
What are you working on?
I am generating a monthly invoice (under subscription schedules) for customers which can be updated with positive (user owes us) or negative (we owe user) invoice items at anytime before payment.
@fair kiln pressed the πͺ Webhooks button in #help to ask a question:
Question
I'm getting the signature error when handling my webhooks all the time, i fixed the API version but i still get the message:
No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.
I am using Next.js, made sure my secret is correct, and I'm not editing the data. var signature = req.headers['stripe-signature'];
Related Event ID(s)
evt_1P2tU9FQ18ENc13dE2FIAvye
What have you already attempted?
used the code from https://github.com/stripe/stripe-node#webhook-signing for Next.js, still problem..
What are you working on?
foxyapps.com webhooks handling
@gentle flint pressed the π API button in #help to ask a question:
Question
I'm getting the following error while doing a test payment using Klarna through payment element. "The payment method type "zip" is invalid. Please ensure the provided type is activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use."
Related Request ID(s)
req_9AMVxTbyrd9sr5
What have you already attempted?
I've activated Klarna in the dashboard. Also I've turned on Klarna in the following page: https://dashboard.stripe.com/settings/billing/invoice?tab=general
What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.
@tender crater pressed the πͺ Webhooks button in #help to ask a question:
Question
On the upgrade or downgrade of subscription and On update of subscription's payment method Both event caught by customer.subscription.updated, Is there any diff between them so I can verify is it payment method change or subscription upgraded/downgraded
Related Event ID(s)
Don''t know what to write
What have you already attempted?
Don''t know what to write
@vocal wagon pressed the π API button in #help to ask a question:
Question
I'm currently working with balance transactions via the API. I have a transaction that is identified as a "Payment Refund". How can I access the credit note that covers the refund? I can find the invoice number, but I cannot find the credit note number. C
Related Request ID(s)
N/A
What have you already attempted?
I have attempted to use the payment Refund ID in order to find the credit note ID, but it does not seem to be working.
What are you working on?
I'm currently developing an integration between Stripe and our ERP system
@woven star pressed the π API button in #help to ask a question:
Question
I use paymentElement to make payments and subscriptions via the API. I have no problem when I make my payment with a credit card. But when I use Apple Pay, I have the option, and when I use it, it processes the payment and then cancels it. How can I resolve this issue? Yet my domain is properly validated.
Related Request ID(s)
Developer
What have you already attempted?
i have disable automatic_payment_methods but it dosen't work
@warm sinew pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/accounts/retrieve
Question
Can i somehow retrieve the taxid of the connected account business, I see that it does not show in the retrieve response
What have you already attempted?
the connected accounts retrieve endpoint
@dusky magnet pressed the πͺ Webhooks button in #help to ask a question:
Question
Is it possible to update a customer's subscription and invoice when their recurring invoice is generated?
Related Event ID(s)
in_0P3Hv93MFIk84T3n549TqhgW
What have you already attempted?
I've currently set up a webhook handler for the invoice.created event and I'm restricting the handling to recurring invoices with billing reason `subscription_cycle`. In that event, I'm checking some internal business logic and then processing a subscription update for the customer that upgrades them to a higher plan for free. I've noticed that this does not update the recurring invoice however and the update applies after the recurring invoice has been finalized
What are you working on?
I'm working on building a system where a customer is automatically upgraded at the beginning of their next billing cycle when they go over some limit in their previous cycle
@ocean mist pressed the π API button in #help to ask a question:
Question
Hello, Iβm reaching out to report an issue we've encountered with the Stripe account connection API, specifically regarding the state parameter in the callback URL when connecting a Stripe account with our product (Portal).
When we initiate a connection request to Stripe, we construct the following URL:
https://connect.stripe.com/oauth/v2/authorize?client_id=ca_P5FD9FaTJSseE66xEZ0k3y68yEKβ¦&state=xNh+sbOkt36ezHg0P+Woqw
This URL includes a state parameter (e.g., state=xNh+sbOkt36ezHg0P+Woqw) along with other user details and a redirect URL. According to the documentation, upon successful comp
Related Request ID(s)
NA
What have you already attempted?
As explained in the original question, we only have two accounts that are experiencing the state issue which we normally expect to be returned. So far everything looks good on our end.
What are you working on?
We have a Stripe integration that allows our users to collect payments from their customers for construction work.
@leaden canyon pressed the π API button in #help to ask a question:
Question
I'm using stripe API to create connect custom accounts. During my platform onboarding, i'm retrieving the person information as well as company information. I can provide most of the fields to create the custom account but not the website which is required. The documentation doesn't mention how to add the website when creating account token :
https://docs.stripe.com/api/tokens/create_account
Also, when I select business_type : individual. Is it the right type for a business which is a solo business (auto entrepreneur in France for instance)
Related Request ID(s)
None found
What have you already attempted?
I tried providing a URL parameter / website parameter but these are unknown parameters
@worn lotus pressed the π API button in #help to ask a question:
Question
What data is required during standard account creation to have details_submitted and charges_enabled with true value?
Related Request ID(s)
req_ds1IPvidcyT7tM
What have you already attempted?
I'm trying to create ready standard account via API for testing purposes.
What are you working on?
Testing
@mossy quiver pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I have lost connection with stripe
What actually happened?
Stripe\Exception\ApiConnectionException Caught
Unexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com. (Network error [errno 77]: )
user/addons/hunting_locator/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php:579
Reproduction Steps
Cannot connect to stripe
Question
I recommend contacting Stripe support directly with the following error:
Stripe\Exception\ApiConnectionException Caught
Unexpected error communicating with Stripe. If this problem persists, let us know at support@stripe.com. (Network error [errno 77]: )
user/addons/hunting_locator/vendor/stripe/stripe-php/lib/HttpClient/CurlClient.php:579
@meager crag pressed the π§βπ» Code button in #help to ask a question:
Code
Stripe offline support on web
Question
Is offline mode supported via the web sdk?
What have you already attempted?
havenβt tried
What are you working on?
https://docs.stripe.com/terminal/features/operate-offline/collect-payments?terminal-sdk-platform=android&reader-type=bluetooth. building offline mode
@gray bronze pressed the π API button in #help to ask a question:
Question
How is the bank_account object different from the payment_method object?
When is it appropriate to use the bank_accounts API instead of payment methods API?
Can Elements or Payments force the use of bank_accounts or be directed to use https://docs.stripe.com/api/customer_bank_accounts/create?
Related Request ID(s)
req_GUoYDZuCaWRfZr
What have you already attempted?
Followed https://docs.stripe.com/payments/ach-debit/set-up-payment to setup payment methods on customers so a 3rd party can perform ACH debits against them. However the object created is a pm_123 and the 3rd party is explicitly asking for ba_123. The dashboard and guides for using the js drop-ins all seem to result in pm_123's.
What are you working on?
Allow a 3rd party to process ACH debits thru Stripe
@dusky magnet pressed the π API button in #help to ask a question:
Question
How can I update the price and plan for a line item on a draft invoice?
Related Request ID(s)
req_8YsOzNzjS3GOr0
What have you already attempted?
I've already attempted to use stripe.InvoiceItem.modify to modify the item directly but that will only allow me to update `tax_rates` or `discounts`. I've also tried to use stripe.Invoice.modify but that doesn't seem to allow for updating the lines. I've tried directly modifying the line through invoice.lines[0] and saving the invoice there, but that doesn't persist the updates
What are you working on?
I'm trying to update the price, product, and plan of an invoice item on a recurring invoice before it is finalized
@rich inlet pressed the π API button in #help to ask a question:
Question
how can i pause a subscription billing for one period of billing (1month or 1 year) without using trial ?
Related Request ID(s)
create subscription
What have you already attempted?
trials , but i dont want to do that , I know also pause invoice
What are you working on?
pause subscription
@unreal valley pressed the π API button in #help to ask a question:
Question
I have Stripe/Firebase project set up. I have a problem during checkout session creation. So I can't add a free trial option.
Related Request ID(s)
Couldn't find
What have you already attempted?
I've tried adding 'subscription_data' property within 'trial_period_days'. Also tried to add' trial_period_days' property independently.
@shadow cobalt pressed the π§βπ» Code button in #help to ask a question:
Code
confirmParams: {
return_url:
Question
The code is from a web application using stripe payment element to complete a transaction.
The return_url does the client stripe library redirect me to it after success or is the server responsible or stripe?
What have you already attempted?
I just need to know the answer to solve a bigger problem
What are you working on?
ecommerce
@steady remnant pressed the π API button in #help to ask a question:
Question
When using the Express Checkout element, Google Pay returns a full billing address, but using PayPal only returns the country code.
Is this normal or am I doing something wrong?
Related Request ID(s)
N/A
What have you already attempted?
Element is working fine with other payment methods, just PayPal causing issues.
What are you working on?
I am integrating the Stripe Express Checkout element into my ecommerce website.
@green kernel pressed the π API button in #help to ask a question:
Question
Is there a way I can hide the "fees" column from stripe express dashboard?
Related Request ID(s)
not applicable
What have you already attempted?
Tried to find a column in node sdk while creating invoice and checkout session to hide this column
@mossy quiver pressed the π§βπ» Code button in #help to ask a question:
Code
Checking os...
OK: os check
Checking ip...
- curl -4 --write-out \n ifconfig.co/json
{
"ip": "*************",
"ip_decimal": 1079769590,
"country": "United States",
"country_iso": "US",
"country_eu": false,
"latitude": 37.751,
"longitude": -97.822,
"time_zone": "America/Chicago",
"asn": "AS32244",
"asn_org": "LIQUIDWEB",
"user_agent": {
"product": "curl",
"version":
Question
Connection to stripe was lost to stripwe
What have you already attempted?
The above is theb
What are you working on?
Need help
@ocean mist pressed the π API button in #help to ask a question:
Question
My last chat ended unexpectedly. We're using Auth 2.0 for connected Stripe accounts with our integration. We're not receiving the state parameter in the response for two Stripe Standard accounts. The support team asked for a working test account number which I now have.
Related Request ID(s)
NA
What have you already attempted?
NA
What are you working on?
acct_1O81DDLAy35cMRlM
@vivid rivet pressed the πͺ Webhooks button in #help to ask a question:
Question
Trying to understand some of the webhook events that are firing for a customer's subscription. We're seeing invoices created with the subscription amount, and events that say the invoice is paid as soon as the subscription starts, even though the subscription has a trial period.
Related Event ID(s)
evt_1P31k2Dl7puKas71dnPdsx6X
What have you already attempted?
Looking through events for this customer cus_PsnKJDgM3ARKnp
What are you working on?
Product with monthly subscriptions.
@versed igloo pressed the π API button in #help to ask a question:
Question
"Save with Link" started showing up in a CardField component. Is there a way to disable it for every connected account? Should I do it via API like for ApplePay. Or I could just disable it for main account?
Related Request ID(s)
-
What have you already attempted?
-
@rose smelt pressed the π API button in #help to ask a question:
Question
I have a setup with 5 products and each of the products has monthly and a yearly interval. Each of the prices is set in USD and CAD.
I'm trying to setup a subscription through the subscription API where I provide `line_item` with price X and then I also provide the currency which is CAD. For some reason the response to this subscription says that the subscription is in USD and not CAD and the price is also the one from USD.
The object I'm talking about is under `items.data[0]plan/price`. I would expect these values to be for CAD and not USD
Related Request ID(s)
Request ID => req_dFlyIjsPNYuUYw
What have you already attempted?
I tried reading your documentation which says I have to use a valid iso-3 which I do(USD or CAD) for currency.
@vital parrot pressed the π API button in #help to ask a question:
Question
I am retrieving a checkout Session with
```const session = await stripe.checkout.sessions.retrieve(checkoutSessionCompleted.id, {
expand: ["line_items"],
});
```
I would also like to save invoice number into database, even when retrieving using invoices, there is no invoice number in the response
Related Request ID(s)
req_nylGRX2UUdUbCo
What have you already attempted?
https://docs.stripe.com/api/invoices/retrieve
@vocal wagon pressed the π API button in #help to ask a question:
Question
Is it possible to use PaymentElement with PaymentIntent and line items (or invoices). I would like users to be able to use the PaymentElement with their payment method of choice (card, apple pay, etc.) and then charge them for 1 or more products, and have them display as line items.
Related Request ID(s)
n/a
What have you already attempted?
I have implemented this guide: https://docs.stripe.com/payments/accept-a-payment-deferred#:~:text=Build an integration where you,creating a PaymentIntent or SetupIntent.&text=The Payment Element allows you,methods using a single integration. with react + nodejs, and it works with paymentIntent amounts, but when i try to instead get a payment intent from an invoice being generated, I get the error "Error with automatic payment methods (using Payment Element) Stripe"
What are you working on?
custom sales flow that allows a user to buy one or more products. they can add an order bump after choosing/enter their payment methods
@bleak fractal pressed the π API button in #help to ask a question:
Question
Can I integrate TWINT with stripe? I found this: https://stripe.com/en-br/legal/twint, yet it is not written as explicit payment method, and stripe is also not mentioned on the end of twint in the list of their service providers (https://www.twint.ch/geschaeftskunden/unsere-loesungen/onlineshop/#section-integration)..?
Related Request ID(s)
-
What have you already attempted?
searching on stripe's website & diverse developer forums.
What are you working on?
Stripe API Integration for Payments
@leaden stirrup pressed the π Best Practices button in #help to ask a question:
Question
What would be the best practice to display and edit customer's payment method for their subscription without using the default customer portal in my nextjs app? note that with the custom checkout the default payment is not saved.
Doc/Guide Links
https://docs.stripe.com/api/payment_methods/update
https://docs.stripe.com/docs/api/setup_intents
https://github.com/vercel/nextjs-subscription-payments
What are you working on?
a small saas project where i offer music production tutorials. users can subscribe to different tiers.
@unique rose pressed the π API button in #help to ask a question:
Question
Is it possible to change the font size used on the terminal reader? The font size is too big and causes the price to wrap.
Related Request ID(s)
none
What have you already attempted?
I've looked through the API documentation for the terminal reader and cannot find anything.
What are you working on?
Paw payments integration
@devout pasture pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/prices/create
Question
I am trying to update a product price, but the client are still being charged with the old price.
What have you already attempted?
await stripe.prices.update(price.stripePriceId, {
active: false,
});
const stripePrice = await stripe.prices.create({
product: productId,
currency: currency,
unit_amount: value * 100,
});
What are you working on?
Update a subscription price
@static wraith pressed the π API button in #help to ask a question:
Question
"Retrieve Account Link" refers to the action of obtaining personal information from a connected account.
Related Request ID(s)
https://docs.stripe.com/api/accounts/retrieve
What have you already attempted?
I have an application that allows a user to create an account link, which subsequently enables me to implement a billing system (estimates, invoices, etc.). However, for specific cases, I need to record this personal information, such as the address they provided during the creation of their account link. However, the 'v1/accounts/{id}' endpoint only provides the email address; it does not give us this personal information like first name, last name, postal address, even though they are accessible because they can be found directly on the Stripe dashboard when accessing the connected account.
@light crescent pressed the π§βπ» Code button in #help to ask a question:
Code
import React, { useState, useEffect } from 'react';
import {
PaymentRequestButtonElement,
useStripe,
} from '@stripe/react-stripe-js';
export const CheckoutForm = () => {
const stripe = useStripe();
const [paymentRequest, setPaymentRequest] = useState<PaymentRequest>();
useEffect(() => {
if (stripe) {
const pr = stripe.paymentRequest({
country: 'US',
currency: 'usd',
total: {
label: 'Demo total',
amount: 10,
Question
I want to have Apple Pay button, but it shows Link pay button.
What have you already attempted?
I tried disabling link pay on stripe. But it didn't work.
What are you working on?
I am implementing the apply pay on subscription page
@royal citrus pressed the π§βπ» Code button in #help to ask a question:
Code
// Trigger form validation and wallet collection
const { error: submitError } = await elements.submit();
if (submitError) {
handleError(submitError);
return;
}
console.log(elements.getElement('country'));
Question
I am currently using payment element and I want to get the value of the country. How do I do that? When I am using payment request button, I was able to get the email using this object
`ev.paymentMethod.billing_details.email`
but in payment elements, I don't know how to get it.
What have you already attempted?
I tried elements.get('country') but it is displaying:
Uncaught (in promise) IntegrationError: A valid Element name must be provided. Valid Elements are:
card, cardNumber, cardExpiry, cardCvc, postalCode, paymentRequestButton, iban, idealBank, p24Bank, auBankAccount, fpxBank, affirmMessage, afterpayClearpayMessage, paymentMethodMessaging; you passed: country.
What are you working on?
I want to get the country value on payment element inputs
@open sentinel pressed the β An Error button in #help to ask a question:
Error Message
"invalid_request_error"
The client_secret provided does not match any associated PaymentIntent on this account. Ensure the publishable key used belongs to the same account that created the PaymentIntent.
Question
I would like to generate an online payment link for our connect accounts. While creating the payment intent, ran into the issue above
What have you already attempted?
We can successfully generate an online payment link using our platform account and transfer the payment to our connect account. Would like to figure out how it would work using direct charge. We have iOS and Android Apps using direct charge for our platform users already
Reproduction Steps
Using the same server APIs used for our iOS and Android Apps, we are unable to create the payment intent for our websites
@desert crane pressed the π API button in #help to ask a question:
Question
Is it possible to create a debit transfer to a connected account (express)? I know I can do a transfer reversal, but that requires a reference transfer to reverse... in this specific use case I don't have one.
Related Request ID(s)
None
What have you already attempted?
Explored the documentation
What are you working on?
Working on payment to 1099 service providers. The timing and nature of the transfers and provider obligations require occasional debit transactions that cannot be tied to any particular transfer.
@narrow vine pressed the πͺ Webhooks button in #help to ask a question:
Question
We have an integration with Everflow, who receive webhooks from stripe on our behalf. When a purcase is made the webhooks going to Everflow do not contain the SaleAmount value in the webhook payload. They are saying that they get this value with thier other merchants. Is there something that we need to configure in our products or other stripe settings to get the saleAmount value to pass in the webhooks?
Related Event ID(s)
we_1NiMiFHitOolXIfiHE0og1F1
What have you already attempted?
Reviewed product and account settings for potential information or corrections.
What are you working on?
Affiliate program with Everflow
@vocal mortar pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/disputes
Question
I'm writing a mobile game. I am currently exploring payment processors.
In this game players are able to buy access to a game, but may very well lose.
I believe a certain percentage of users will use the dispute to "cancel" losing. I will of course have information that they participated in the game, and I could also have information about things they did in the game.
I need to know clearly:
If there is a dispute, am I *always* charged?
Is there any thing I can have the user click on that will reduce the possibility of a dispute to near zero?
What have you already attempted?
I have read all of your documentation.
The fees for disputes and how exactly they are handled is not entirely clear.
What are you working on?
A mobile game.
@tropic wyvern pressed the π Best Practices button in #help to ask a question:
Question
I am trying to implement logic to distinguish, via webhook, between subscription payment and planned subscription. Let me explain: a customer subscribes, so I manage via invoice.paid. The subscription arrives at the end of the expected month, and let us assume the case where the payment fails. In this case, what webhook event can I handle, so that I can update the client, on the front-end side, to update the payment method?
Doc/Guide Links
I took a look at the following link: https://docs.stripe.com/api/events/types
and I thought I could distinguish the two cases by the following events:
- invoice.paid: This event will be used when the subscription payment is successful.
- customer.subscription.deleted: This will be taken advantage of when the subscription comes to an end.
is it the right idea? Or are there other more specific events that can be manipulated?
What are you working on?
Distinction between successful subscription payment (first time) and subscription payment for the next invoice
@elder heart pressed the π§βπ» Code button in #help to ask a question:
Code
N/A.......................
Question
Add Card to Customer - Payment Intent - Duplicate Cards?
What have you already attempted?
1) Create 4242 etc. Card
2) Do it again
3) Equals 2x duplicate Cards in Stripe Dashboard for Customer
Confused.....
@viscid sail pressed the π Best Practices button in #help to ask a question:
Question
We have noticed competitors allow individuals/companies to start selling ticketing to their events without going through the Stripe Connect onboarding process. But they are required to go through in order to 'cash out' their funds.
We are wanting to have a similar process. Here is how we are looking at doing it, but want to know if this is best practise:
Tickets sold before connect account created = Fall under our stripe account. We would move the product to their account when they have connected.
Tickets sold after connected = product created on their stripe express account.
Doc/Guide Links
https://stripe.com/au/connect
What are you working on?
We are looking to utilise Stripe Connect Express for to build out our ticketing platform. On our platform individuals/businesses will be able to create an account and sell tickets for their own events.
@boreal tangle pressed the π API button in #help to ask a question:
Question
attempting to add integrate Apple Pay into website
Related Request ID(s)
n/a
What have you already attempted?
embedded stripe interface into website
@ocean mist pressed the π API button in #help to ask a question:
Question
I am reaching out to report an issue we've encountered with the Stripe account connection API, specifically regarding the state parameter in the callback URL.
When we initiate a connection request to Stripe, we construct the following URL:
This URL includes a state parameter (e.g., state=xNh+sbOkt36ezHg0P+Woqw) along with other user details and a redirect URL. Weβre not receiving the state for these two accounts.
Related Request ID(s)
NA
What have you already attempted?
This is my 3rd chat on the issue, I've received different answers each time. I now have the affected account ids as requested. These are the ids that are not sending the state with the response when we are attempting to connect the integration with the user's Portal (our product) account.
ID1: acct_1Ox6ATCeCTomGwGE
ID2: acct_1P1uMXJBA7WYhVIc, acct_1P1v7MJULH9IYDhR
Customer 2 created two accounts, neither will connect.
@supple grove pressed the πͺ Webhooks button in #help to ask a question:
Question
I want to setup a webhook on laravel and i want to make sure a setup intent payment is successful and has reflected in the balance before i make a transfer and update my databse
Related Event ID(s)
No id currently
What have you already attempted?
I have written my webhook code and set up my webhook url its the event i want to listen to that i havent selected
What are you working on?
I am building a web platform for influencers where fans can tip them
@vocal wagon pressed the π API button in #help to ask a question:
Question
In test mode everything is working (Payment Element, which is set to card only mode, and creates an invoice -> sets future_usage to on_session), charges the user, and then sets the payment method as the default payment method. on live mode though, the payment fails, and the payment method isnt stored
Related Request ID(s)
n/a
What have you already attempted?
I have checked that my keys are all properly set, and i have tried 2 different cards to test with
What are you working on?
custom checkout flow with payment element
@light crescent pressed the π§βπ» Code button in #help to ask a question:
Code
useEffect(() => {
if (stripe) {
const pr = stripe.paymentRequest({
country: 'US',
currency: 'usd',
total: {
label: 'Demo total',
amount: 10,
},
requestPayerName: true,
requestPayerEmail: true,
});
// Check the availability of the Payment Request API.
pr.canMakePayment\(\).then\(\(result\) =\> {
if \(result\) {
setPaymentRequest\(pr\);
}
}\);
}
}, [stripe
Question
I want to have Apple Pay button
What have you already attempted?
I tried using <PaymentRequestButtonElement/> component on Safari browser on macbook.
What are you working on?
I am trying to have Apple Pay on my subscriptions
@supple grove pressed the πͺ Webhooks button in #help to ask a question:
Question
I want to know if my webhook is returning my payment intent details
Related Event ID(s)
Nil
What have you already attempted?
using my webhook to check if balance is available for transfer but the event for balance available doesnt have the metadata i added to my payment intent
What are you working on?
a web app for influencers to interact with their fans
@viscid sail pressed the π Best Practices button in #help to ask a question:
Question
Follow on question from my previous thread andrew-yk_best-practices
Question: Can you transfer a product that is sitting in our platform account to a stripe connect customer account (after the fact), or can you only transfer funds?
Doc/Guide Links
As previously discussed
What are you working on?
Ticketing platform
@boreal tangle pressed the π API button in #help to ask a question:
Question
I recently migrated servers, and I wanted to know if I would need to add new domain
Related Request ID(s)
n/a
What have you already attempted?
migrated sea panels, and wanted to confirm that I donβt have to make any changes with stripe dashboard
What are you working on?
currently, Iβm working on pointing my DNS records to new IP address as CPanel was recently migrated. I would like to know if I have to make any changes in the Stripe dashboard.
@south grotto pressed the π Best Practices button in #help to ask a question:
Question
Yo yo. Hope you are well. First post, and I've tried searching everywhere for an example of this setup. I haven't had any luck.
Ideal system, I have clientele that do many small transactions and they would like a pre-paid balance to use, however, I don't know how that will be distributed between the stripe connect accounts.
So the prepaid amount would go into my stripe balance. For it to transfer into the stripe connect account, my guess idea of how this would work is first to create a Customer Balance Transaction for the amount (checking if they have enough first).
If all goes well, then we will issue a transfer from my stripe balance into the stripe connect account
Doc/Guide Links
https://docs.stripe.com/connect
https://docs.stripe.com/api/customer_balance_transactions
What are you working on?
Marketplace, with a prepaid credit system, sellers are connected via stripe connect
@azure spindle pressed the π API button in #help to ask a question:
Question
We are c alling
stripe.SubscriptionSchedule.modify
to add a phase
We call stripe.Subscription.retrieve to get the current subscription, then we add a phase.
If we have a coupon applied to the first phase, we are getting an error:
You may only specify one of these parameters: coupon, discounts.
This is for phase[0] which we are not modifying and simply adding to.
Related Request ID(s)
req_ZfRtmmPZNtzogO
What have you already attempted?
We believe our code used to work, but are not sure.
What are you working on?
A Self Serve portal to Stripe
@torpid tide pressed the πͺ Webhooks button in #help to ask a question:
Question
I have created sessions with /v1/checkout/sessions. I am passing in two additional custom vaiables: metadata[repo_id] and metadata[entry_id]. I see them created in the checkout session in Stripe logging. After the customer uses that link to make a payment, I have a webhook setup to listen for the event. I get confirmation that the charge was made, but I am not able to get the metadata values passed back to me (I need it to track a transaction). I'd like to retrieve the metadata created in the checkout session.
Related Event ID(s)
Are you looking for the cs_test### id?
What have you already attempted?
I tried looking for the events to listen for but I cannot find a way to pass the metadata back to me. I thought this would appear in the charge.succeeded. As I am looking now I see this in the checkout.session.completed...I hadn't noticed this before. Is there where I would retrieve the metadata created from the original session creation request?
What are you working on?
I am creating a stripe checkout session. The user clicks the link to goto the stripe hosted checkout page. After payment success, I have a webhook listener to capture the result of the charge.
@naive yew pressed the π API button in #help to ask a question:
Question
Hi, i'm currently working on Stripe connect onboarding, and want to shorten the onboarding process as much as possible. I noticed that during the connect verification process (testing), it asks for the last 4 digits of an individual's SSN first, then on the second page it asks for the full SSN. I was wondering if there is a way to discard or pre-fill the field on the first page where Stripe asks for the last 4 digits.
Related Request ID(s)
n/a
What have you already attempted?
I've attempted to pre-fill the invidual.ssn_last_4 field of the Account object that's being created with 4 random digits. This gets rid of the field, but I would like to know if this is the correct way of doing so in production, or if we actually need the individual's actual last 4 digits in order to pre-fill even though they input their full SSN in the next page.
What are you working on?
Stripe connect onboarding
@olive timber pressed the πͺ Webhooks button in #help to ask a question:
Question
Dear Sir,
stripe is asked me some ID card provide
i complete that one then they are asking for company documents i provide that but they suspended my account
Related Event ID(s)
Raim Logistics LLC (account ID: acct_1NsprRD6KR7e1QWr)
What have you already attempted?
i tried to complete this process
kindly help me
@violet thunder pressed the π Best Practices button in #help to ask a question:
Question
Hello.
We're developing a subscription billing software where our employee will create the subscription for the customers. That means we do not have the payment method beforehand.
As of now we are sending with manual payment method. Is it possible to have the system automatically go from manual payment to automatic payment for the subscription after the customer paid the first time?
Doc/Guide Links
https://dashboard.stripe.com/test/developers
What are you working on?
Company Billing Software
@celest ridge pressed the π Best Practices button in #help to ask a question:
Question
I would like to know more about this upcoming feature and all the details pls.
Doc/Guide Links
https://docs.stripe.com/checkout/custom-checkout
What are you working on?
IΒ΄m trying to built up a Customize Checkout forms with Elements capabilities
@burnt notch pressed the π§βπ» Code button in #help to ask a question:
Code
-- This template returns the most recent monthly revenue by subscription item and currency
SELECT
products.name,
invoice_line_items.currency,
SUM(decimalize_amount(invoice_line_items.currency, invoice_line_items.amount)) AS last_month_revenue
FROM
invoice_line_items
JOIN invoices
ON invoices.id = invoice_line_items.invoice_id
JOIN prices
ON prices.id = invoice_line_items.price_id
JOIN products
ON products.id = prices.product_id
WHERE
invoices.status = 'paid'
Question
I am using this preset template that is available on sigma - this shows our last months monthly subscription revenue by product. I am not sure how to make it so I can see January and february of this year as well, as well as having columns for gross rev/fees/net rev
What have you already attempted?
I have played around with multiple chatgpt prompts however had no success
What are you working on?
There is many paid discord services on platforms such as whop and ternary - all of these companys dont have a way to see monthly revenue sorted by product
@tender crater pressed the πͺ Webhooks button in #help to ask a question:
Question
customer.subscription.updated webhook called in two scenarios for me.
1). customer upgrade/downgrade their plan
2). customer update payment method
Issue: I want to know when customer update payment method and not upgrade/downgrade, In customer.subscription.updated webhook
Related Event ID(s)
I don't know what to write in this section
What have you already attempted?
I don't know what to write in this section
@raw coral pressed the π Best Practices button in #help to ask a question:
Question
Can I select registered payment method (card) in Stripe payment element?
Doc/Guide Links
https://docs.stripe.com/payments/payment-element
What are you working on?
Currently, I successfully process charge by Stripe payment element and webhooks, users have to input their credit card infor every time they buy products. My customer ask me if they can register cards first, then select from them.
@turbid cedar pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
On recurring payment failures, we are identifying the last failed attempt using the `next_payment_attempt` field in the invoice update event
What actually happened?
But recently this has been updated to `null` and then a valid value with 2 events at the same time
Reproduction Steps
Creating recurring invoice with failure card
Question
What is the recent change that has effected this? earlier we used to get only one event now we are receiving 3 events.
https://connect.stripe.com/events/evt_1P30zbI5vSu94Gk8v8QJNvwM
https://connect.stripe.com/events/evt_1P30zaI5vSu94Gk8ECgXC8Ew
https://connect.stripe.com/events/evt_1P30zZI5vSu94Gk89DHZabt0
@lavish quarry pressed the π§βπ» Code button in #help to ask a question:
Code
The terminal payment authorization period is extended
Question
Hello, we want to access the terminal to conduct stripe card swiping authorization for leasing business, and to conduct capture payment after returning. Can we extend the authorization period? Access to documents such as: https://docs.stripe.com/terminal/payments/collect-payment?terminal-sdk-platform=android
What have you already attempted?
The terminal payment authorization period is extended
@pale zealot pressed the β An Error button in #help to ask a question:
Error Message
Apple Pay spins at "Processing" after calling completeMerchantValidation. We're having an issue where once we get the response from our backend with the session information and passing it into completeMerchantValidation. Basically the "Processing" spinner stays for about 10-15 seconds then just fails saying "Apple Pay Not Completed."
Question
How do I go about resolving this issue?
What have you already attempted?
Stripe gateway plugin is up to date and correctly installed. Stripe Webhooks are properly connected.
Credit card payment option processes correctly on mobile devices + desktop. Stripe is the primary payment method and ApplePay is enabled. ApplePay is displayed on PDP, Cart, & Checkout.
Reproduction Steps
Reached out to Wordpress + Woocommerce support & they couldn't replicate the issue. I deactivated and activated Stripe gateway plugin, processed Testing mode on on Stripe Credit Card works but ApplePay doesn't process payment.
What are you working on?
Website is built on Wordpress and is using Woocommerce plugin + stripe gateway plugin to process payments.
@pale whale pressed the π API button in #help to ask a question:
Question
I am creating a paymentIntent for au_becs_debit. The customer fills in details and adds payment method. I save this payment method in my db. how can i then retrieve the mandate for this payment method. I can see in API docs that to retrieve mandate you need the mandate id but i don't know where to get that. in stripe docs it says that the mandate can be found on the attached payment method, but in the PaymentMethod object in stripe api docs, i can't see any 'key' for mandate.
Related Request ID(s)
not sure
What have you already attempted?
I've read the stripe api docs with the Payment method and Mandate objects and have been following this guide
https://docs.stripe.com/payments/au-becs-debit/set-up-payment
@sterile flame pressed the π§βπ» Code button in #help to ask a question:
Code
<stripe-pricing-table pricing-table-id="prctbl_1P2TqlJWWKtHpjwk1jxt9tBt"
publishable-key="MyPublishKey"
customer-session-client-secret="@Model.CustomerSecretKey">
</stripe-pricing-table>
Question
Hi, how can i add successUrl or failedUrl parameters to stripe pricing table?
What have you already attempted?
i can add these fields from checkout Api but i cant when using stripe pricing table.
@slow nova pressed the β An Error button in #help to ask a question:
Error Message
"Klarna has failed to process your payment. If you're not sure what to do, please contact us at https://support.stripe.com."
Question
Hey team, We are in the process of providing Klarna using Stripe for our customers. While testing the integration we faced an unknown error mentioned abouve. Can you please assist on this?
What have you already attempted?
Checked your docs. No solution there too
What are you working on?
Klarna
@vital parrot pressed the π API button in #help to ask a question:
Question
When retrieving a CheckoutSession, is it possible to receive Receipt number aswell?
Related Request ID(s)
"cs_test_b1gw0uKh9lrSeIBIpBx8cnZttfpp9cosl68OrwOSs4v3mG0D0dwLsjUeAw"
What have you already attempted?
Seems like there is no receipt property in Session Object
@summer oxide pressed the π API button in #help to ask a question:
Question
In our code base when updating the cards for a customer we do something like updating the customer object source attribute. (Using the legacy code to achieve this instead of setup intent).
Now in order to make that as a default payment method we update the subsriptions object default_payment_method with this updated card info. (This was told to us by some staff here).
The issue is that it works fine but at times when I am retrieving the subscriptions object just after updating the default_payment_method what i get is null.
This happens for a few user in platform.
Related Request ID(s)
Didn't had access to prod stripe plus request ID's are not visible in logs.
What have you already attempted?
I tried finding the docs related to this but couldn't find anything helpful on the web.
I had tested this functionality on test mode before and it works. Also retrieving the subscription object just after adding the default_payment_method shows null value in this attribute. But if I get the customer object or any such request then I am able to see the default_payment_method inside subscriptions {} , updated.
What are you working on?
We are working on updating the default payment method for the users so they can use the newly added card for their next payments.
@viral spoke pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
none I am searching for one
Question
I am looking for a list to see which payment methods can be set up for future payments.
What have you already attempted?
Searching for myself, but couldnt find one
What are you working on?
Saving payment methods for the future
@hoary venture pressed the π§βπ» Code button in #help to ask a question:
Code
func checkoutAction() throws {
let params = try PaymentIntentParametersBuilder(amount: 1000, currency: "usd").build()
Terminal.shared.createPaymentIntent(params) { createResult, createError in
if let error = createError {
print("createPaymentIntent failed: \(error)")
} else if let paymentIntent = createResult {
print("createPaymentIntent succeeded")
self.collectCancelable = Terminal.shared.collectPaymentMethod(paymentIntent) { col
Question
When the time tap screen will shown , its default UI in stripe terminal
What have you already attempted?
No , i have an doupt which time the page will shown
What are you working on?
building an app include tap to pay functionality
@void jasper pressed the π API button in #help to ask a question:
Question
My developers have implemented Stripe into my website. But for some reason Withdrawing functionality keeps asking private users that want to withdraw money their "Company" details and what their Company Website is.
All of this is required information too. I dont know what to tell my developers to look into because they seem very adamant that this is the solution and that Stripe has nothing more to offer. What can I tell them in response?
Our issues are these 2 fields because they dont apply to private people withdrawing money from our website
https://imgur.com/DnN42ae
https://imgur.com/XFkQX
Related Request ID(s)
req_1rWP0znzzdN8du
What have you already attempted?
We pretty much read payouts, connect verification, kyc and alot more but still we are a bit confused.
What are you working on?
A freelancing website.
@echo coral pressed the π Best Practices button in #help to ask a question:
Question
I am creating Stripe apps. Found documentation to customise app setting page but my concern is how to add home page for my app which is going to publish in app marketplace?Any documenttaion link for app page in marketplkace?
Doc/Guide Links
Found this link for app settings - https://docs.stripe.com/stripe-apps/app-settings
What are you working on?
I am a developer of WooCommerce Stripe plugin, now we're implementing oAuth authentication using Stripe app
@vocal wagon pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Stripe Radar blocking a payment
What actually happened?
Stripe Radar initially blocked the payment for fraud, but then the customer paid again with the same details and it succeeded
Reproduction Steps
Details can be found at https://dashboard.stripe.com/acct_1Mvm0xDRvsJhDzAO/payments/pi_3P3T81DRvsJhDzAO1MpYOFgM
Question
How can this happen? Is something wrong with the Stripe Radar rule?
What are you working on?
Stripe Radar for Digital payments
@buoyant blaze pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
On prestashop integration. Everything work at each payment prestashop add a payement entry to the order.
What actually happened?
Prestashop show two same paiements with gap of 1 seconde in the order but only one payment in stripe dashboard.
Reproduction Steps
Don't know how to reproduce.
Question
How could it be ? What to test? Is that a stripe plugin bug ?
What are you working on?
It's a french store.
@vocal wagon pressed the π API button in #help to ask a question:
Question
I have a per seat subscription model and I want to use customer portal to update the number of seats. There are no problem, but I want to set a minimum quantity value dynamically (so a client can not set an smaller number than the number of seats already in use).
Related Request ID(s)
no id related
What have you already attempted?
I saw a default number can be set in the dashboard. I checked the docs for creating a portal configuration https://docs.stripe.com/api/customer_portal/configurations/object but there is nothing like that.
Am I missing something? or it is just that is not possible?
What are you working on?
Changing our pricing model
@dawn rune pressed the π Best Practices button in #help to ask a question:
Question
Do I need to do something extra just to setup the Apple Pay to process payments by my Platform and send it to Connected Account? I'm using Direct Debit.
I mean - do I need to do something extra then described in the docs? I'd like to estimate this feature
Doc/Guide Links
https://docs.stripe.com/apple-pay#:~:text=Apple Pay is compatible with,as for other card transactions
What are you working on?
I have a platform where users could donate to different NPOs. NPO is represented as connected account in Stripe
@slender comet pressed the πͺ Webhooks button in #help to ask a question:
Question
Hello,So i have a quick question,when a subscription is renewed via Stripe,which event is triggered via the webhook.
Related Event ID(s)
N/A
What have you already attempted?
payment_intent.succeeded
@woven star pressed the π API button in #help to ask a question:
Question
Hi, I have an problem when using the Stripe API to create a product that includes a subscription. So, I'm using:
https://docs.stripe.com/api/products/create
to create the product and then
https://docs.stripe.com/api/plans/create
to configure it, but when I use it, it sets up the configuration but creates a second identical product. How can I solve this issue?
Related Request ID(s)
Developer
What have you already attempted?
n/a
@rose nest pressed the π API button in #help to ask a question:
Question
We want to integrate our subscription flow with promo codes, and I wanted to ask do you have any endpoint to validate if promo code is still valid?
We will use promo code to modify subscription or add a new one.
Related Request ID(s)
req_waJ1xB48r8lrYB
What have you already attempted?
We searched API docs, and tried to validate on our side with request provided.
@brittle ocean pressed the π API button in #help to ask a question:
Question
Can you explain me my error on this "list all invoices" request ?
Related Request ID(s)
https://dashboard.stripe.com/logs/req_yTGST8gIGIL6Fo?t=1712661726
What have you already attempted?
tried with several 'created" parameter formats
What are you working on?
I'm trying to build a paid invoices recap dashboard
@cold bear pressed the π§βπ» Code button in #help to ask a question:
Code
var options1 = new CustomerCreateOptions
{
Name = "Satvik Patel",
Email = "satvik.patel@pib-insurance.com",
};
var service1 = new CustomerService();
var customer = service1.Create(options1);
var options = new PaymentIntentCreateOptions
{
Currency = "gbp",
PaymentMethodTypes = new List<string\> { "card" },
Customer = customer.
Question
getting error from stripe
β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.'β
What have you already attempted?
i want to achieve moto payments from my front end application using stripe.js , but unable to make moto payment
What are you working on?
i want to take moto payments
@fair fable pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
A cardholder should be able to provision a card on google pay
What actually happened?
The user is not able to provision card due to `missing_cardholder_contact` reason even the cardholder has his address and phone number set
Reproduction Steps
Open this card https://dashboard.stripe.com/acct_1NSG3HQiNEAV5CWW/issuing/cards/ic_1OzEqaQiNEAV5CWWvGuDZxD4, check the cardholder, every information is set. But the card is not eligible for digital wallets.
Question
How can I make this card eligible for digital wallet ?
@wise geyser pressed the π API button in #help to ask a question:
Question
Hello,
When I create a subscription through the API, it does not automatically debit thereafter. The first payment is processed successfully, but when I run a simulation into the future, the invoices switch to "draft" and then to "payment pending."
I integrate the subscription into my site using the following process:
customers->create
sessions->create
subscriptions->update
When I examine the subscription details, I see 'collection_method' => 'charge_automatically'.
Thx
Related Request ID(s)
req_WfyJ42y9RXYt6p
What have you already attempted?
I have already attempted the following actions to address the issue:
Ensuring that collection_method is set to 'charge_automatically' for the subscription, which should enable automatic charges.
Running simulations in the Stripe dashboard to see if recurring payments were automatically processed after the initial payment.
Checking the subscription's details in my Stripe account to confirm that the settings are correct and should support automatic billing.
@abstract sky pressed the πͺ Webhooks button in #help to ask a question:
Question
is it possible to have a webhook for one or a selection of products ?
Related Event ID(s)
payment_intent.succeed
What have you already attempted?
Checking the dashboard
What are you working on?
We have different products that should go to different endpoints one a order is finished
@vocal wagon pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment#web-fulfillment
Question
How can we support Stripe APMs whilst doing confirmations server-side?
What have you already attempted?
At the moment we have a client-side solution, we need to move to server-side. How do we support Stripe APMs?
The way we do it client-side is that we create the payment intent with the APM in question, then the Stripe Element handles everything else.
But in this case how can it be achieved?
@little plank pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I am integrating the Stripe GooglePayPaymentMethodLauncher in my app. When I call rememberGooglePayPaymentMethodLauncher. I expect the google pay UI to show up but instead I get a strange crash.
What actually happened?
The app crashes,
Process: co.circlemedical.patient.demo, PID: 31383
java.lang.IllegalStateException: Attempting to launch an unregistered ActivityResultLauncher with contract com.stripe.android.googlepaylauncher.GooglePayPaymentMethodLauncherContractV2.
Reproduction Steps
Follow the integration guide at https://docs.stripe.com/google-pay?platform=android#using-stripe-and-google-pay-versus-the-google-play-billing-system. Use the GooglePayPaymentMethodLauncher instead of GooglePayLauncher. Although both of them crash
Question
What am I missing in my integration steps? I am setting up the payment launcher in onCreate as instructed in the docs:
What are you working on?
I am adding google pay support to my app which already uses the customer sheet UI for collecting payment info.
@abstract dagger pressed the π Best Practices button in #help to ask a question:
Question
A user said she got a notice that Stripe will disable pausing functionality on customer portals. Will this impact our API functionality on pausing/unpausing at all?
Doc/Guide Links
https://docs.stripe.com/no-code/customer-portal
What are you working on?
Pausing/unpausing customer portal via stripe and api.
@gentle flint pressed the π API button in #help to ask a question:
Question
Can we use the payment method 'Klarna' for creating subscriptions?
Related Request ID(s)
req_mD5zYNussBc8gX
What have you already attempted?
I'm getting the following error while doing test payment using Klarna through payment element: The PaymentMethod provided (klarna) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: acss_debit, card, cashapp, link, us_bank_account. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "klarna".
What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.
@last galleon pressed the π§βπ» Code button in #help to ask a question:
Code
let stripePromise: Promise<Stripe | null>;
const STRIPE_PUBLISHABLE_KEY = process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY;
export const getStripe = () => {
if (!stripePromise) {
stripePromise = loadStripe(STRIPE_PUBLISHABLE_KEY!);
}
return stripePromise;
};
const stripeClient = await getStripe();
<Elements
stripe={stripeClient}
.../>
Question
Why is it that our Stripe Payment Element just doesn't load. No errors in the console, only this warning "v3:1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing."
Issue was encountered when clearing the browser cache and opening a new incog window. From that point on we could no longer see the PaymentElement nor the call to v1/session endpoint from Stripe. Our devs who haven't cleared the cache can still see it.
What have you already attempted?
We've attempted using other versions of the @stripe-react-js package. We've attempted checking out previous versions of both Frontend and backend code that used to work - with no luck.
What are you working on?
Implementing Stripe Elements
@oblique portal pressed the π API button in #help to ask a question:
Question
In Test mode, although our Platform account has Tax setup, we are getting the following error:
Stripe Tax has not been activated on your account. Please visit https://stripe.com/docs/tax/set-up to get started.; code: stripe_tax_inactive; request-id: req_Ht3Qrbov6n8SCS
Account id: acct_1GqhEoKL2AAUnNZP
Express accountId: acct_1Nrjgj4K0wDAyzWz
Customer: cus_Pt7nHT2hfbOJi7
Mode: Test
There is no way to setup TAX for our Express connected accounts as far as we can see.
Any guidance here would be highly appreciated.
For more info we can share also the payload we send.
Related Request ID(s)
req_Ht3Qrbov6n8SCS
What have you already attempted?
We have implemented the entire flow based on https://docs.stripe.com/invoicing/connect
Also in connection to this, we were recommended by our POC at Stripe to enable invoice_creation_param at https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-invoice_creation
What are you working on?
Creating invoices for Express Connected customers so they can charge their customers via Hosted checkout
@molten kettle pressed the β An Error button in #help to ask a question:
Error Message
Error. Received unknown parameter: recurring[meter]
Question
I'm trying to set a price to Pricing Model: Usage Based. I then want to set `Metered usage charge method` to `most recent usage value during period`. However, I get this error.
What have you already attempted?
I have existing prices with this combination. I have compared all the config between my existing prices and this one and I'm unable to see a difference.
Reproduction Steps
Create a new price with this combination.
What are you working on?
Pipedream.com
@dusky holly pressed the π API button in #help to ask a question:
Question
How to forge an oauth link for standard account that does not imply platform controls being granted?
Related Request ID(s)
none
What have you already attempted?
We want that standard accounts created using our oauth link have access to stripe connect configuration on there side. It seems impossible if our platform account was granted platform control.
We still need as a platform account to trigger direct charges on the connected account.
@violet thunder pressed the π Best Practices button in #help to ask a question:
Question
Hello. Is it possible to have customers pay their existing invoices using our system and not Stripes billing portal?
How would we integrate that using the API?
We are using Laravel Cashier.
Doc/Guide Links
https://api.stripe.com
What are you working on?
Company Billing Software
@hot heron pressed the π Best Practices button in #help to ask a question:
Question
I need to create multiple subscriptions for the same user at the same time, these subscriptions cannot just be items on the same subscription because i need them to have different billing cycles.
I know how to create subscriptions via the api, my problem is, that there does not seem to be a way to checkout multiple subscriptions at once.
What works is creating a default_payment_method first and then create multiple subscriptions with this method.
But what i want is to create multiple subscriptions, then show them to the user, and leth them decide how to pay them. So they either choose one of their payment methods or make a new one, then confirm.
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/multiple-products#multiple-subscriptions-for-a-customer
What are you working on?
Domain Registry Website
@steady remnant pressed the π API button in #help to ask a question:
Question
My express checkout takes the shipping amount from the GooglePay or PayPal popup and updates the payment intent before confirming.
But when doing this though PayPal, my payment intent fails to confirm. This only happens if I use PayPal and select a shipping option with additional cost. Every other scenario works fine.
Related Request ID(s)
pi_3P3ehvISraJyVicT1DhqLUDR pi_3P3eLCISraJyVicT0yFFTntm
What have you already attempted?
Stuff
What are you working on?
Integrating Express Checkout element into ecommerce website.
@tiny estuary pressed the π Best Practices button in #help to ask a question:
Question
I want to know the credit card country of a credit card added to a stripe elements component before the transaction (setupintent or payment intent) has been made, ideally transparent to the user.
For multicurrency stores, using the cloudflare country header i can expect the currency to show the user, but i would like to validate it when the user unfocus from the stripe elements credit card component with the information and before the submit button has been clicked, to validate or change the currency to the correct one.
Doc/Guide Links
https://docs.stripe.com/payments/elements
https://docs.stripe.com/payments/payment-element
What are you working on?
Adapt to multicurrency a single currency paywall.
@zealous pelican pressed the π API button in #help to ask a question:
Question
When retrieving an upcoming invoice, is the default_payment_method always going to be null?
Related Request ID(s)
req_yQJWWOGXfiwevz
What have you already attempted?
Retrieving an invoice
@fierce mortar pressed the πͺ Webhooks button in #help to ask a question:
Question
I have created a payment intent which is to be re-used without customer input later. The payment intent which is returned has a value for "customer_id". When I try to re-use it a short time later, I get the error "The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first." If it's returned a customer Id in the PI, isn't it attached, or do I need more? Thanks.
Related Event ID(s)
evt_3P3c5KJk75hPCxYy0pYuQskR
What have you already attempted?
Read the docs about payment intent apis. Haven't spotted anything relevant
What are you working on?
We take an initial booking payment. I'm trying to re-use the PI for the follow-up monthly subscription payment.
@timid ember pressed the π API button in #help to ask a question:
Question
We increased our Stripe version recently, now alot of our payment intents are failing with A `return_url` must be specified because this Payment Intent is configured to automatically accept the payment methods enabled in the Dashboard, some of which may require a full page redirect to succeed. If you do not want to accept redirect-based payment methods, set `automatic_payment_methods[enabled]` to `true` and `automatic_payment_methods[allow_redirects]` to `never` when creating Setup Intents and Payment Intents.
Related Request ID(s)
req_mdKCjiqqlKHiYr
What have you already attempted?
We read the documentation but are not clear what to do in our case. We do want to support payment cards that may result in 3ds. However we were handling it by allowing either the Android/IOS Stripe sdk or the Stripe.js to handle the redirects. So in the past we didn't have to pass the return_url parameter
What are you working on?
We create the payment intents server side
@brazen hedge pressed the π API button in #help to ask a question:
Question
Hi people!
I need to know the most approximate date of a money transfer from a sell (payout object), at the moment of sell.
Example: when a client pay a product, i receive a probably date of money transfer to my bank account.
How can i do this?
Related Request ID(s)
1321
What have you already attempted?
balance_transaction, charge, payout objects
@devout pasture pressed the π API button in #help to ask a question:
Question
Is there a way to remove the button to save the information for 1-click checkout on the checkout?
Related Request ID(s)
Go to checkout > Securely save my informatoin for 1-click checkout
What have you already attempted?
Searching the docs
What are you working on?
Hide this button
@undone totem pressed the π API button in #help to ask a question:
Question
Hi, I'm from Brazil and we need to collect the customer's CPF/CNPJ to issue our invoices. It is a default field when choosing "Boleto" as a payment method, but I'd like to have this field when choosing "Card" as well
Related Request ID(s)
req_2UuqAqdoJjwJc5
What have you already attempted?
I've already attempted to put `tax_id_collection: {enabled: true}` when creating a checkout session, but the field didn't appear.
I tried to create a custom field too, but it appeared when choosing the "Boleto" option, making the field duplicated. The custom field also didn't have the cpf/cnpj validation or mask that yours default field do
@smoky sand pressed the π§βπ» Code button in #help to ask a question:
Code
var parameters = new HashMap<String, Object>();
parameters.put("amount", total.multiply(BigDecimal.valueOf(100)).intValue());
parameters.put("currency", "usd");
var type = List.of("card");
parameters.put("payment_method_types", type);
try {
PaymentIntent intent = PaymentIntent.create(parameters);
...
Question
Hello, what I want to do is show/hide apple pay (or any payment method) depending on some business rules in our domain. Is it doable? I tried to update
What have you already attempted?
I tried to put PaymentIntent parameters for only enabling 'credit card'
What are you working on?
Update payment methods depending on a business rule
@abstract dagger pressed the π API button in #help to ask a question:
Question
```
Stripe::AuthenticationError: Expired API Key provided: sk_live_*********************************************************************************************NE56bg. Platform access may have been revoked.
```
One of my new users is getting this error. This usually happens when their account is connected to a 3rd party. But it's not
Related Request ID(s)
acct_1OzfhrItQfdwZVDd
What have you already attempted?
The client tried below and said it's not connected to any 3rd party softwares.
@mortal robin pressed the π API button in #help to ask a question:
Question
What property do I need to set in the `PaymentIntentOptions` to let Stripe know that the card is present or not?
Related Request ID(s)
req_e6AdmZP7GibG3B
What have you already attempted?
In the PaymentIntentOptions I see that there is a PaymentMethodOptions.CardPresent property but there is not a clear way to mark the card as present either true or false.
@hexed sphinx pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expected the correct currency symbol β¬ on checkout Pay button
What actually happened?
No matter what, the symbol is always $
Reproduction Steps
Changed the locale to βitβ in stripe.component.ts
Question
In test and live mode, the currency symbol on the Pay button is $, even though the locale is βitβ and the checkout process is in italian. I need the symbol to be β¬.
What are you working on?
Angular shopping cart app with Stripe checkout
@sand pelican pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
to create a connected account
What actually happened?
when I follow `accountLink.url` and I have to add test bank account it says `We couldn't load your account information.` and I think it's because it logs me out every time I try to set up a connected account via accountLink
Reproduction Steps
- const stripeAccount = await stripe.accounts.create({type:"express",email:user.email,capabilities:{card_payments: { requested: true},transfers:{requested: true },},});
- const accountLink = await stripe.accountLinks.create({account:stripeAccount.id,refresh_url:..,type: "account_onboarding"}
Question
Why does it happen and how do I fix it? it was working before and I haven't touched anything in that code
@slender comet pressed the πͺ Webhooks button in #help to ask a question:
Question
Hello,So i have this requirement,We need to observe a webhook event that is triggered whenever a subscription is auto-renewed in stripe.I have tried using the payment_intent.succeeded event but the problem is,this misses the metadata that is used to udpdate the records.
Related Event ID(s)
N/A
What have you already attempted?
payment_intent.succeeded
@dusky basin pressed the π API button in #help to ask a question:
Question
How can I create a stripe payment intent that is linked to a price/product that I configured in the dashboard?
I am using the stripe react payment Element, so I think I need to use a payment intent. Ideally, I would use the checkout session since this handles tax etc. as configured from the dashboard
Related Request ID(s)
NA
What have you already attempted?
The checkout session doesn't create a payment intent anymore (as of a recent API change)
@hoary scroll pressed the π Best Practices button in #help to ask a question:
Question
I need to retrieve the customer's default payment method. Currently, when a customer pays for a product on our site, we just attach the PM to the subscription and don't set it as the default payment method for them yet.
So, if I wanted to find the default PM for a customer - do I first check if there exists one on their customer, otherwise list all their subscriptions (we can assume they only have 1) and just take the PM from there?
Doc/Guide Links
Not really any docs or links
What are you working on?
Displaying default PM to the customer after they purchase a product
@blissful surge pressed the π API button in #help to ask a question:
Question
Hello! I am integrating Stripe with Spreedly and Spreedly requires an aquirer bin for each card time, a merchant mcc, and merchant id. I've been unable to obtain these through chat support. Can you please help me with the BIN numbers? thank you
Related Request ID(s)
req_PCa3ndMI7v1Y2B
What have you already attempted?
I've requested this information from chat support and they did provide it, however Spreedly has indicated they are invalid as their integration is failing with this error ""Remote Error: Intermediate layer error - error in intermediate layer (message received invalid. error in ds: 303. access denied, invalid endpoint. acquirerbin, acquirermerchantid not recognized. authentication response)",
What are you working on?
Spreedly > Stripe integration
@hollow salmon pressed the π API button in #help to ask a question:
Question
Is there a way to charge a card and know if the funds are captured in a single api call?
Related Request ID(s)
Paymentiniate
What have you already attempted?
We are seeing that the initiate only gives if the card was charged or not, we then have to call to see if it was approved.
@thorn matrix pressed the π API button in #help to ask a question:
Question
Hi there, our customers are all getting SEPA direct debit email from Stripe Automatically, we want to disable this, since the charge is the exact amount every single time. I tried disabling it email settings but this doesnt work
Is it possible to turn this off while using Stripe creditor ID?
Related Request ID(s)
pi_3OzO5oBGasr0RNIF1hdJdpty
What have you already attempted?
I tried disabling it email settings but this doesnt work
@edgy mango pressed the π API button in #help to ask a question:
Question
I am looking to use the setup_future_usage function to store customer information for future usage. Right now my API call is storing the information as a guest account so I can't charge the customer's card
Related Request ID(s)
Setup Future Payments
What have you already attempted?
I've called the support line, and read through the articles related to the setu_future_usage function and setting up a customer.
What are you working on?
My hotel's website.
@royal citrus pressed the π API button in #help to ask a question:
Question
How to only create a subscription after setupIntent has been successful?
I have a 30-day free trial. My current process after submitting the payment element form:
- Fetch Client Secret
-> Create Customer
-> Create Subscription - confirmSetup()
However, this process will always create a subscription even though the card has been declined, or there's an error to the card.
Can you give me some insights here how to create a subscription after only setupIntent is successful?
Related Request ID(s)
None
What have you already attempted?
None
What are you working on?
Free 30-day trial with setupIntent
@oblique mango pressed the π§βπ» Code button in #help to ask a question:
Code
Will share in conversation
Question
ECE button does not show up (on established domain)
What have you already attempted?
Reading the docs
@twilit viper pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/coupons#stackable-coupons
Question
Is it still the case that I can only add one discount per subscription/invoice? Docs seem to show otherwise, has this recently changed?
What have you already attempted?
Was designing with having in mind that only 1 discount can be applied to a subscription and invoice. The docs now say: "You can use coupons and promotion codes to:
Apply one or MORE discounts to every invoice, a specific invoice, or for a certain duration of time"
@rapid holly pressed the β An Error button in #help to ask a question:
Error Message
Exception has occurred.
Stripe\Exception\InvalidRequestException: You must update your Connect branding settings with business name, icon, brand color in order to create an account link. You can set the missing fields at https://dashboard.stripe.com/settings/connect
Question
I am trying to connect a standard account via the oauth flow. However, when creating the account link I am getting above error message saying I need to set icons and branding options.
What have you already attempted?
I have set up branding for my staging account. I have added icons, logos, business name, and on the Connect onboarding settings I have configured colors.
Reproduction Steps
Account link api call gives error even though my account has branding, icons etc configured.
What are you working on?
I am testing oauth flow for standard accounts via Connect. This is currently how we onboard clients in prod
@calm mist pressed the π API button in #help to ask a question:
Question
is there any api that would let me convert a payment method with the id of `pm_id` to a `card_id` ?
Related Request ID(s)
https://docs.stripe.com/api/payment_methods
What have you already attempted?
we are in the process of upgrading to payment intent but during the transition we were trying to keep a few feature behind a FF in case we wanna go back. But when I create a payment method token, that is not compatible with my legacy charge method.
For an edge case I was wondering if the PM token could be converted into a card token
@golden gale pressed the π API button in #help to ask a question:
Question
Request req_5x4UubIbJ9lM1v: This PaymentIntent requires a mandate, but no existing mandate was found. Collect mandate acceptance from the customer and try again, providing acceptance data in the mandate_data parameter.
Related Request ID(s)
pm_1P3gByA5RKqObLFcqCFnMaos
What have you already attempted?
I'm on test and have set a bank account which should fail as my payment method. I didnt get the above erorr the first time I tried to confirm a payment intent with this payment method, but it has shown up the second time. What do i need to supply for this mandata param? cant find docs on how it should look
What are you working on?
off session nightly billing job where customers are not present
@slow vault pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/coupons#promo-code-config
Question
Can I configure a coupon / promo code to be redeemable by all customers but only once per customer?
What have you already attempted?
I tried "Limit the number of times this code can be redeemed" promo code option, but it makes the code available for 1 total use. Also tried "Limit the total number of times this coupon can be redeemed" coupon option, but it does the same but only on the coupon level.
What are you working on?
I want to send the promo code by email for existing customers. I want this code be redeemable once per each customer. Is there an option to do so?
@fluid snow pressed the π§βπ» Code button in #help to ask a question:
Code
Not able to use strive classes after implementing SDK
Question
Not able to use strive classes after implementing SDK
What have you already attempted?
implemented libray in graddle file
@twin hamlet pressed the β An Error button in #help to ask a question:
Error Message
Google Pay stopped working
Question
Google Pay stopped working Google Pay stopped working
What have you already attempted?
Google Pay stopped working Google Pay stopped working
@solemn shadow pressed the π API button in #help to ask a question:
Question
We are setting up Stripe Web Elements and using Payment Intents. Everything is working fine, I just cannot figure out once payment has been completed and customer is returned to the return_url what payment type they used (card, klarna, afterpay etc). I only get back the itenent key and secret plus redirect status. I've looked at the logs and the response doesn't even show what method they selected.
Related Request ID(s)
req_U5bvf6xbr4YY4d
What have you already attempted?
Pulling the intent back and no luck
What are you working on?
Web Elements and Payment Intents.
@oblique pollen pressed the β An Error button in #help to ask a question:
Error Message
Google pay not showing up in checkout
Question
google pay not showing up anymore
What have you already attempted?
messed with configuration a bunch
@elder heart pressed the π§βπ» Code button in #help to ask a question:
Code
N/A........................
Question
Card Fingerprint - How to detect duplicates?
What have you already attempted?
Add Card to Account via API/SDK/Elements
@glad pebble pressed the β An Error button in #help to ask a question:
Error Message
Google Pay has stopped working across all of our connected accounts
Question
It looks like you have implemented a change around 6:30pm tonight which means that Google Pay requires domain verification
What have you already attempted?
Google Pay not showing up on any sites whist using Google Chrome
Reproduction Steps
Google Pay should show here https://www.chatham.co.uk/deck-g2-walnut?nosto=frontpage-nosto-1
Hey folks π
We're aware of the issue with Google Pay not showing up on checkout pages/elements and are actively working on a resolution.
@cursive palm pressed the π Best Practices button in #help to ask a question:
Question
I'd like feedback on preferences for using WordPress vs. Shopify for our website. People seem to have strong feelings either way, and our Designer prefers WordPress for all it's customization abilities, but do we really need more than what Shopify offers now?
Doc/Guide Links
2. Plugins: There are many third-party plugins for popular open-source projects, such as WordPress and Magento, if you are already using one of these for your website provider. Stripe does not build or maintain these, but you can find a list of some popular plugins at https://stripe.com/docs/libraries#third-party-plugins.
What are you working on?
Webpage redesign and new app development
@vale wing pressed the π API button in #help to ask a question:
Question
Why do our Connect accounts get paid 7 days after the money is transferred when our competitor pays their connect accounts the next day?
Related Request ID(s)
N/A
What have you already attempted?
We have payouts set to daily.
What are you working on?
A repair network for vehicles.
@elder heart pressed the π§βπ» Code button in #help to ask a question:
Code
For deduplication, you can do following:
1/ Store the fingerprint in your DB or list customer's attached payment methods using this API:
https://docs.stripe.com/api/payment_methods/customer_list
2/ You can follow this flow to render elements without needing to create an Intent first
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=setup
In step-3 of the guide though, you'd want to set paymentMethodCreation to manual & call stripe.createPayment
Question
AddCardToAccount................
What have you already attempted?
Lots
@sand bay pressed the π§βπ» Code button in #help to ask a question:
Code
loadConnectAndInitialize({
// This is a placeholder - it should be replaced with your publishable API key.
// Sign in to see your own test API key embedded in code samples.
// Donβt submit any personally identifiable information in requests made with this key.
publishableKey: env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,
fetchClientSecret: fetchClientSecret,
})
Question
Trying to use ConnectOnboarding embedded element, getting this exception
```
The provided key 'sk_test_*********************************************************************************************5F68nB' does not have access to account 'acct_1P3iNcQ9L5KFUzKL' (or that account does not exist). Application access may have been revoked.
```
What have you already attempted?
not sure how to debug this.
What are you working on?
Building real estate fintech trying to onboard connected accounts
@mint oar pressed the π Best Practices button in #help to ask a question:
Question
Extending a credit card hold of a manually made CC hold from 7 days to longer - can this be done in the web interface? I'm using Stripe on a no-code basis currently.
Doc/Guide Links
https://docs.stripe.com/payments/place-a-hold-on-a-payment-method#capture-funds
What are you working on?
A rental setup where we send people an invoice for a rental, and then put a CC hold on their card for the replacement value - but some rentals are longer than 7 days.
@clever sierra pressed the π API button in #help to ask a question:
Question
I am working on implementing RBI mandate requirement for credit cards in india. My questions is when we are creating an invoice is it required to set the mandate id if I set the payment method i want to be charged with as default payment method? ref doc here: https://docs.stripe.com/invoicing/india-emandate-guide#use-mandate-invoice . My questions arises because I have ACH implementation too which has a mandate ID but I dont send that mandate ID in invoice and it works perfectly fine.
Related Request ID(s)
N/A
What have you already attempted?
Trying setting up mandate setup for RBI Credit card requirements
What are you working on?
RBI - CC mandate requirement. https://docs.stripe.com/invoicing/india-emandate-guide#use-mandate-invoice
@outer sail pressed the β An Error button in #help to ask a question:
Error Message
"You cannot confirm this SetupIntent because it's missing a payment method. You can either update the SetupIntent with a payment method and then confirm it again, or confirm it again directly with a payment method or ConfirmationToken."
Question
If I'm using a paymentElement, do i need to submit a payment method with my confirmsetupIntent? I thought I just needed to include the client secret
What have you already attempted?
I am creating a setupIntent on my server, when the clientSecret exists, I save it in state and render the paymentElement. when the user puts in their info I call stripe.confirmSetupIntent() and pass in clientsecret. I see the failed attempt in my dashboard...I'm not entirely sure what I'm missing. thanks!
@wintry stirrup pressed the π§βπ» Code button in #help to ask a question:
Code
$stripe->checkout->sessions->create([
'payment_intent_data' => [
'application_fee_amount' => 10, //???
'on_behalf_of' => "<STRIPE_ACCOUNT_ID>"
],
'line_items' => [
[
"adjustable_quantity" => [
"enabled" => true,
"maximum" => 50,
"minimum" => 1
],
"price_data" => [
"currency" => "USD",
"product_data" => [
"n
Question
Is it possible to make the application_fee_amount a percentage? This because we ask 10% application fee. But since the quantity is adjustable while in stripe checkout we're unable to calculate the application fee before creating the sesison.
What have you already attempted?
Calculate fee before creating sessions.
What are you working on?
Application which sells items on behalf of merchants and collect 10% service fee.
@wide python pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=payment&client=react#dynamic-updates
Question
How can I enable bank transfers with server side intent confirmation? For some reason I don't see a bank transfer button on checkout form even if it's enabled in a stripe dashboard.
What have you already attempted?
I've implemented server side payment intent confirmation for making possible the customer to pay for stripe fee. Although, with that approach the bank transfer option disappeared from the checkout form. I think I either don't understand the conception of bank transfers in Stripe or there is some but in payment elements component.
What are you working on?
I am working on a marketplace where we use stripe connect.
βοΈ 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'll be back on April 10, 8:00 AM UTC
β Stripe developers are currently available on Discord!
@daring tendon pressed the β An Error button in #help to ask a question:
Error Message
class=TerminalSession
com.stripe.stripeterminal.external.models.TerminalException: Must have a country code to connect to a Tap to Pay reader.
at com.stripe.stripeterminal.internal.common.adapter.CotsAdapter.onReaderActivated(CotsAdapter.kt:230)
Question
After updating from 2.21.1 to 3.0.0 this error come
What have you already attempted?
updated below code
val config = DiscoveryConfiguration.LocalMobileDiscoveryConfiguration(
isSimulated = true,
)
@scenic swallow pressed the π API button in #help to ask a question:
Question
Payment Intent API on frontend JS SDK is giving this error, this is not the case on live mode only on test.
```Non-INR transactions in India should have shipping/billing address outside India. More info here: https://stripe.com/docs/india-exports```
Related Request ID(s)
req_b28HwHFlaxR7JI, subscription: req_do47PwWFLsvi07
What have you already attempted?
We've checked the payload, currency is going as 'inr' also set customer address is of India.
@lilac glacier pressed the π Best Practices button in #help to ask a question:
Question
How do I implement i18n for stripe products (Title, Description and Features) I saw an attempt on stackoverflow but this does not seem like a good solution for me (Placeholders for descriptions and then choose the correct text in the frontend)
Doc/Guide Links
https://stackoverflow.com/questions/76552111/stripe-product-description-in-two-languages
What are you working on?
Simple subscription based application
@hollow kettle pressed the π API button in #help to ask a question:
Question
With your help we've successfully managed to add cards without cvc number however when we come to take payment (calling your api) using them we get error "You must collect the security code (CVC) for this card from the cardholder before you can use it. For more information, see https://support.stripe.com/questions/cvc-collection-requirements".
Related Request ID(s)
PaymentAttemptID 82a0b455-8011-4d71-a2d9-ede403b245d3
What have you already attempted?
I've read through the page but this scenario is for mail order where we're not allowed/recommended to ask for cvc so I'm unsure how to proceed.
@limber spoke pressed the π Best Practices button in #help to ask a question:
Question
A user pays deposit in the first invoice when the purchase our product. When they cancel with us, we want to be able to refund that deposit back or put the amount back into their balance to refunded later. What is the best way to go about this?
Doc/Guide Links
The approach now is to find the first invoice, the deposit line item and refund that amount.
https://docs.stripe.com/api/invoices/invoice_lines
What are you working on?
An api to cancel a subscription schedule and refund user any money we owe or collect money they owe us.
@vagrant belfry pressed the π§βπ» Code button in #help to ask a question:
Code
var options = new Stripe.CustomerCreateOptions { Email = ViewBag.UserName };
var service = new Stripe.CustomerService();
var customer = service.Create(options);
Question
We seem to be getting a DLL conflict in .net sdk while running above provided code. The error message is: ``Cannot convert null to 'bool' because it is a non-nullable value type``
What have you already attempted?
To us, it seems like conflict with some dll in project. However, we are not sure about that. I can provide stack trace but it won't fit here.
@grizzled dune pressed the πͺ Webhooks button in #help to ask a question:
Question
stripe_webhook- stripe_webhook ValueError: No signatures found matching the expected signature for payload
## webhook
In the test environment, I configured the Stripe webhook as follows: http://34.125.122.121:8200/webhook The webhook works normally.
Now, I need to move the service to the production environment and configure the Stripe webhook: https://proxyshop.io/webhook However, I find that the webhook fails.
## Cloudflare DNS
Cloudflare has been configured for DNS resolution and an HTTPS certificate.
Related Event ID(s)
checkout.session.completed; checkout.session.expired https://dashboard.stripe.com/test/webhooks/we_1P3u9zKYPDm69i1aQa7npEld
What have you already attempted?
I have already tried modifying the Nginx configuration, but it was not successful.
@viral spoke pressed the π API button in #help to ask a question:
Question
I am migrating right now also to the confirmation tokens. I am coming from a direct payment method and now looking to migrate to a confirmation token. "Before" is mine right now: https://docs.stripe.com/payments/payment-element/migration-ct#server-side
I only handle payment details, so I dont need shipping details or other stuff. Right now I am collecting a payment method via the payment elements and use "setup". The client creates this payment method, sends the id to the server and this id can be read and displayed. How can I create a conf. token serverside to pass is as default in my cart?
Related Request ID(s)
None
What have you already attempted?
I tried to replace the payment method creation to a confirmation token creation. That works fine, but it does not work serverside. When I create a checkout session (not stripe checkout, I mean my own checkout) and fetch the primary payment method from the customer I get a paymentmethod id right now. This id can be saved inside my cart and this can be read serverside and clientside. But I can't create a confirmation token serverside, when the client already paid in the past.
What are you working on?
Cart checkout while migrating from payment method to confirmation tokens
@rotund dust pressed the π§βπ» Code button in #help to ask a question:
Code
const startCollectPaymentMethod = useCallback(async () => {
const {error, setupIntent} = await collectSetupIntentPaymentMethod({
setupIntent: currentSetupIntent,
customerConsentCollected: true,
});
if (error) {
Toast.show({
type: 'error',
text1: error.message,
});
setSettingUpCard(false);
dispatch(activateCamera());
} else {
const {error: errorToConfirm} = await confirmSetupIntent(setupIntent);
i
Question
I am using the Stripe React Native SDK and a bluetooth reader WisePad 3, we save our customer payment method and only charge them if they don't return our product after 7 days. When trying to collect payment method with the reader, the following error appears:
Error confirming setup intent: PAYMENT_ERROR.DECLINED_BY_STRIPE_API
Card Present and Interac Present SetupIntents can only be created with physical cards, not with mobile wallets.
What have you already attempted?
Using the Tap to Pay feature of the device everything works fine, we want to maintain our flow but using a bluetooth reader.
What are you working on?
We lend reusable food containers and collect payment methods that only get charged if the container is not returned, we don't charge anything when collecting it
@jovial lodge pressed the π API button in #help to ask a question:
Question
How to pass email ID to Payment Link button in Stripe JS
Related Request ID(s)
None
What have you already attempted?
Integrated the Stripe JS to make Link button for payment
@hard hedge pressed the π API button in #help to ask a question:
Question
Hello. I am using stripe api. I am testing subscriptions with a test card that uses 3d secure. When I try to subscribe I can't figure out how to redirect the customer to the bank page to go through 3d secure. I was expecting to see in the payment intent object in the next action field a link to redirect.
In the payment intent object I see the type field and the value is
use_stripe_sdk and the following field
use_stripe_sdk where the value is stripe object. Could you help me to understand the next steps to take?
Related Request ID(s)
none
What have you already attempted?
-
@mossy vault pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/invoices/subscription#subscription-metadata
Question
our customers create a subscription for product X for their app 'Y' in a certain quantity. A subscription is never for more than one app, so if they have several apps they create separate subscriptions for each app.
What have you already attempted?
We've seen subscription metadata, but I think we cannot display subscription metadata in the invoice to send to our customers. Is there any other workaround? Thank you in advance.
@lethal rover pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Tap to pay on iphone to be able to take a multiple consecutive payments when the phone is operating on software version 17.4.1
What actually happened?
We have a live app which has been working well which uses the the tap to pay by iphone. However now when users update to software version 17.4.1 we are noticing that the the payment will be cancelled when we try to collect payments.
Reproduction Steps
- getting connection token;
- generated a payment intent.
- then calling collectPayment
- will show the Tap to Pay UI as expected.
- cancel payment.
- close app, forcing reader to disconnect.
- reopen app, wait for reconnection
- go to payment process again.
- once you reach collectPayment the Tap to Pay tries to show up but it auto cancels all the time.
Question
Is this a known issue? Do you have any suggestions to isolate the issue? Is there any further information I can provide to help with this?
What are you working on?
We are working on a mobile application with uses Tap to pay on iphone to process in person donations
@rustic lintel pressed the π API button in #help to ask a question:
Question
How do I get tell Stripe to go to a callback URL with the transaction data via a payment link subscription.
What have you already attempted?
I can create the payment link, but i dont see the option for callback URL. Will this be accomplished with webhooks?
What are you working on?
Creating a website for a subscription based game.
@sterile flame pressed the π API button in #help to ask a question:
Question
hi. i using stripe pricing table in my project and i have a product with 3 prices and only one of them has 7 days free trail. my problem is in the checkout page users can change the prices with a toggle(switch between prices) and in this situation, the free trial has moving from price1 to price2 and i dont want this. i want the user to pay for the price1 can use the free trial. not changed price
What have you already attempted?
i did not set any upsells
@slim hollow pressed the β An Error button in #help to ask a question:
Error Message
your card number is incomplete! error stripe with woocommerce checkout
Question
I'm contacting you regarding an issue encountered during the checkout process on my WooCommerce store that uses the Stripe payment gateway. Customers are experiencing a "Your card number is incomplete!" error message.
What have you already attempted?
I verified that my Stripe account is properly configured within WooCommerce. I double-checked my API keys and other settings to ensure they are correct.
@winter tulip pressed the π Best Practices button in #help to ask a question:
Question
With connected acounts, as part of the onboarding flow if a user already has an exisitng Express/Standard Stripe account are they able to connect that account to our 'host' account?
Doc/Guide Links
https://docs.stripe.com/connect/express-accounts
What are you working on?
updating from OAuth to the AccountService.CreateAsync() & allowing connected Express/standard accounts
@cold bear pressed the π§βπ» Code button in #help to ask a question:
Code
var options1 = new CustomerCreateOptions
{
Name = "Satvik Patel",
Email = "satvik.patel@pib-insurance.com",
};
var service1 = new CustomerService();
var customer = service1.Create(options1);
var options = new PaymentIntentCreateOptions
{
Currency = "gbp",
PaymentMethodTypes = new List<string\> { "card" },
Customer = customer.
Question
my client want to make payment using moto
What have you already attempted?
i have created payment method using stripe.js and passed element card in payment intent
What are you working on?
moto payment functionality
@glad bay pressed the π API button in #help to ask a question:
Question
I am building an application for which I use Stripe for my payment integration. I use node.js code for integrating stripe. When testing the payment in the test account, i used test cards but even after creating payment intents, it shows incomplete as it requires 3D authentication from the user. How can I overcome it, since I'm using test cards and I don't have access to 3D confirmation. Can you please provide me a solution
Related Request ID(s)
pi_3P3ygJSB874IqCoz1H2d5RyL
What have you already attempted?
Tried multiple cards, but not able to achieve the payment completion
@jovial lodge pressed the π API button in #help to ask a question:
Question
what method allows us to pre-populate that email in Link method?
Related Request ID(s)
None
What have you already attempted?
Implemented Payment Request Button but this does now allow to pass email or pre-populate email in link payment pop-up
@golden gale pressed the π API button in #help to ask a question:
Question
I'm using SetupIntents and PaymentsIntents to charge my customers once per day (offsession usage) to bill them for items they ordered from me during the day. Is there any way I can give some customers credit of $1000 credit that they can only use against my stripe account? eg can i bank transfer funds to their account they have with me on stripe? or can i give them gift card etc?
Related Request ID(s)
NA
What have you already attempted?
I see there are some giftcard integrations such as gift card pro but I'm looking for something that works with little or no code changes from me
What are you working on?
an off session nightly billing job
@frigid rose pressed the π API button in #help to ask a question:
Question
I'm looking into the update subscription API: https://docs.stripe.com/api/subscriptions/update
And I only see the option to update a single subscription, is there a way to update multiple subscriptions?
Related Request ID(s)
req_IYf2x35eZfyqrR
What have you already attempted?
https://docs.stripe.com/api/subscriptions/update
What are you working on?
Updating multiple subscriptions - for price change experiments
@magic shadow pressed the π Best Practices button in #help to ask a question:
Question
Hi. We use Payment Element component for React https://docs.stripe.com/payments/payment-element to accept setup intent. We also use graphql.
Is there any documentation or npm package to allow cypress testing? If so, does it allow mocking the API calls? We already mock every response from our internal API (using Apollo graphql)?
Doc/Guide Links
The following guide doesn't match our case exactly https://docs.stripe.com/automated-testing
What are you working on?
We are trying to have automated client side tests for our form using Payment Element component
@brave basin pressed the π API button in #help to ask a question:
Question
Hi, Iβm looking to retrieve the range of transactions that each connected accountβs payout consists of. Iβm currently doing so by pulling balance_transactions list by payout id and taking the date of the first and the last transactions. But this seems very inefficient especially if payout consisted of more than 100 transactions, having the limit of 100 transactions per call in mind multiple calls have to be made. Is there a simpler and more efficient way to pull just the first and last balance transaction of a payout? For example pulling the balance transactions in reverse sort order?
Related Request ID(s)
none
What have you already attempted?
Read through the API docs, experimented with available parameters for this call.
What are you working on?
Internal dashboard to list payouts with their related payments and transactions.
@hexed harness pressed the π API button in #help to ask a question:
Question
Hello,
I'm currently doing a new implementation of Stripe with the latest integration and the Payment Methods. The problem is that our previous version was using the sources integration, so we have a lot of src_ tokens in our database.
I know that sources tokens are still supported on a payment method request but i'm still curious, is it possible to move them to a pm_ token rather than an src token prefix ? Thank you very much
Related Request ID(s)
src_
What have you already attempted?
Requests with the payment methods API
@astral spire pressed the πͺ Webhooks button in #help to ask a question:
Question
If the user has a subscription, but at the end of the period, the payment of the user fails. In this scenario, the subscription of that user should end. What events will be sent?
Related Event ID(s)
req_k45T6uCof0uRyh
What have you already attempted?
Currently I listen to invoice.succeed and customer.subscription.updated
@glossy void pressed the πͺ Webhooks button in #help to ask a question:
Question
I have a website that has stripe integrated as the main payment option , need help with getting proper payment! meaning if someone buys through stripe I need it to email the client a software key with that being said I need stripes api
Related Event ID(s)
124
What have you already attempted?
this
@wet mesa pressed the π API button in #help to ask a question:
Question
Hello. I want to retrieve a list of "Charge" matching a predicate and sum the amount of money paid after the Stripe fees.
Related Request ID(s)
None
What have you already attempted?
Using the API without any issue but the "amount" field return the total amount of money spent and not stripe fees free
@rotund dust pressed the π§βπ» Code button in #help to ask a question:
Code
const startCollectPaymentMethod = useCallback(async () => {
const {error, setupIntent} = await collectSetupIntentPaymentMethod({
setupIntent: currentSetupIntent,
customerConsentCollected: true,
});
if (error) {
Toast.show({
type: 'error',
text1: error.message,
});
setSettingUpCard(false);
dispatch(activateCamera());
} else {
const {error: errorToConfirm} = await confirmSetupIntent(setupIntent);
Question
I am using the Stripe React Native SDK and the WisePad 3 reader connected via bluetooth.
When I try to confirm a SetupIntent to collect a payment method the following error appears:
Card Present and Interac Present SetupIntents can only be created with physical cards, not mobile wallets.
What have you already attempted?
We are able to save payment methods with mobile wallets using the Tap to Pay feature, we want to achieve the same flow but using a bluetooth reader instead
What are you working on?
We lend reusable food containers, collect a the customer payment method and only charge them if the container is not returned in 7 days
@leaden stirrup pressed the π Best Practices button in #help to ask a question:
Question
How to offer a UI in your website/app where a Customer can see their saved PaymentMethods and choose a new default one, or add a new one?
Doc/Guide Links
Already had a discussion about this but it was closed https://discord.com/channels/841573134531821608/1226953402710233288
What are you working on?
a small saas project where i offer music production tutorials. users can subscribe to different tiers
@proper hornet pressed the π API button in #help to ask a question:
Question
How to simulate a failed payment ?
Related Request ID(s)
none
What have you already attempted?
I created a customer with card "4000.....0341" , subscribed, attempted to end the trial but couldn't as my card got declined.
What are you working on?
I'd like to create a subscription with status "past_due"
@bitter vessel pressed the β An Error button in #help to ask a question:
Error Message
"Reply directly from your inbox
In order to restore your accountβs ability to make charges, please check your email for next steps or reach out to our support team."
Question
What do i have to do and i couldn't contact on the web
What have you already attempted?
Research what to do but couldn't find anything
@fresh fiber pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Once an order is placed, it stays in the processing state.
What actually happened?
The order is moved to canceled after being place and a new order was created.
Reproduction Steps
I have not been able to reproduce this behavior in our test environment.
Question
We have seen several instances where an order has been moved to cancelled and a new order is recreated with the following message in the original order: "The customer details have changed, or a checkout error occurred. The order is canceled because a new one will be placed (#) with the new details. What causes this to happen?
What are you working on?
magento 2.4.6 with stripe/module-payments 3.5.1
@tribal canyon pressed the πͺ Webhooks button in #help to ask a question:
Question
What potential factors could be contributing to the failure of Stripe signature verification in the AWS production environment despite successful local tests, considering deployment on ECS "fargate" using an app LB?
PS: LB modifications are explicitly prevented, including preserving the X-Forwarded-For header, client port, and host header.
PS: SSL offloading occurs at the LB, and the policy isn't modified.
What else could be altering the request along the way, causing signature failure only in prod?
Related Event ID(s)
checkout.session.completed
What have you already attempted?
I tried everything I can to preserve the request object but still failing
What are you working on?
random app with payment
@hollow knoll pressed the π API button in #help to ask a question:
Question
i have a api call "Expire a session" and i'm trying to use this when a user goes to create a checkout, if the user has been on the stripe checkout page for say 15 minutes i want to be able to have this Expire a session api call to kick in. I guess i'm trying to figure out where developers are using this call so i can use it also
Related Request ID(s)
cs_test_b18Jo3xUFUWPZ5vGwjWRMhlPaPiIzrd0gvxO25gPfGmGFfZGJnxTpsba7B
What have you already attempted?
i read the Expire a session Stripe document but there isn't much documentation on this.
What are you working on?
creating a expiration time period for the user to make a payment
@oblique mango pressed the π§βπ» Code button in #help to ask a question:
Code
Will share in thread
Question
Google Pay (and I assume Apple pay too) do not require the customer's email. I need that....
What have you already attempted?
Expanding the payment method data within the payment intend
@twin coral pressed the π§βπ» Code button in #help to ask a question:
Code
PaymentMethodCreateParams.CardDetails.builder()
.setNumber("cc")
.setExpMonth(month)
.setExpYear(year)
.setCvc(cvv)
.build()
this is the code that we would use now to create a paymentMethod directly, which in the docs says we should use a setupIntent instead.
Question
Hi all, we are in the middle of developing our integration to Stripe. We have many different use cases most of which use SetupIntents/PaymentIntents to capture/charge payment details. There is one use case however where we do have raw pans that we need to "tokenize" and store so that we can charge it later. Our application is PCI compliant and we have contacted Stripe support and had the necessary account settings set to allow this. How do I tokenize these through stripe?
What have you already attempted?
<dependency>
<groupId>com.stripe</groupId>
<artifactId>stripe-java</artifactId>
<version>24.23.0</version>
</dependency>
I see in the docs where this could be accomplished by directly creating a PaymentMethod, but it is advised against. We were told there is a way to do this with setup intents but the maven dependency posted above that we have tried using does not seem to have these fields on the SetupIntent or PaymentIntent object.
What are you working on?
Full Stripe integration for Property Management
@pseudo python pressed the β An Error button in #help to ask a question:
Error Message
PaymentMethods of type `us_bank_account` must be verified before they can be attached to a customer.
Question
Why am I receiving this error for some users but not others ?
What have you already attempted?
- Check the documentation
- Use different test ACH bank accounts
@oblique pollen pressed the β An Error button in #help to ask a question:
Error Message
When using GooglePay, the amount in the GooglePay modal displays as $0
Question
At checkout using the Stripe Payment element with GooglePay enabled, when the GooglePay modal pops up it displays $0 instead of the price of the product
What have you already attempted?
Haven't tried anything, I'm assuming this is related to the issue yesterday and maybe on Google's end?
@solemn shadow pressed the π API button in #help to ask a question:
Question
Using Payment Intents, after confirmPayment. I am trying to get the payment_method used for the transaction. Currenly I am calling via Javascript retrievePaymentIntent and passing in the expand: ['payment_method'] to get back details of the payment method. It only passes back the id value. What am I missing
Related Request ID(s)
req_QeWoSeWLBsnKqY
What have you already attempted?
I have followed the documentation, not sure what else to attempt
What are you working on?
Integrating Web Elements and Payment Intents
@hoary scroll pressed the π§βπ» Code button in #help to ask a question:
Code
const elementOptions = {
appearance: {
labels: 'floating',
},
};
var paymentElementNew = elements?.create(
'payment' as any,
elementOptions as any,
);
paymentElementNew?.mount('#payment-element');
Question
How to hide the text labels for a payment element (the text above the input boxes like 'Card Number'), and the country, and the disclaimer text
What have you already attempted?
above solution and also read the docs but wasn't able to figure out how to implement it
@smoky musk pressed the π§βπ» Code button in #help to ask a question:
Code
<?php
session_start();
$_SESSION["product_id"] = $_POST["choice"];
?>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Accept a payment</title>
<meta name="description" content="A demo of a payment on Stripe" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<script src="https://js.stripe.com/v3/"></script>
<script src="checkout.js" defer></script>
</head>
<body>
Question
I'm attempting to build a paywall for selling Internet service. Since I have filters that block the client from getting to the Internet, I'm having trouble with the <script> tag that requests that the client download the Stripe.js object since they can't get to the Internet at that point.
What have you already attempted?
I've tried to create a walled garden, but I don't know all the possible IP addresses that js.stripe.com could resolve to in order to allow exceptions.
What are you working on?
This a paywall to be used at public events where wifi Internet access could be sold at. The patrons will get Internet access after payment.
@pearl basin pressed the β An Error button in #help to ask a question:
Error Message
they don't send me an code to login
Question
Where can i find the code to log?
What have you already attempted?
i write my gmail and i don't have a maasage from Stripe to log
@earnest lintel pressed the π API button in #help to ask a question:
Question
Trying to create a subscription via HTTP request and keep getting an error that there is no customer, but I am passing a customer param. Can you help?
Related Request ID(s)
req_CsgnI4Skydu7ja?t=1712764837
What have you already attempted?
Adding the customer to the payload.
@nova berry pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/connect/custom/onboarding#embedded-onboarding
Question
I am trying to use the embedded form for connect account onboarding, but I am being redirected to the stripe hosted onboarding flow instead. Is there a way to activate test features?
What have you already attempted?
I researched ways to use test components and could not find anything. I am new to the stripe ecosystem, so I am not sure how things like this work.
What are you working on?
Implementing a stripe connect embed form in ReactJS
@sterile flame pressed the π API button in #help to ask a question:
Question
Hi, is it possible to disable price switching in checkout page? i using stripe pricing table and stripe checkout page.
What have you already attempted?
i dont have any upsell but users can change the plan in the checkout page
@molten cliff pressed the π API button in #help to ask a question:
Question
Need to pull brand_product
Below is my use case
- Product amount is $100
- If user enter card which has brand_product = MDP, it will apply 15% discount
- User will pay for $85 for brand_product = MDP else $100
Related Request ID(s)
Could not find any relevant
What have you already attempted?
Two Step Confirmation
Deferred Payment
What are you working on?
Need to pull brand_product Below is my use case - Product amount is $100 - If user enter card which has brand_product = MDP, it will apply 15% discount - User will pay for $85 for brand_product = MDP
@tiny estuary pressed the π§βπ» Code button in #help to ask a question:
Code
Relevant parts.
let stripe = Stripe(pb);
let elements = stripe.elements();
...
let cardElement = elements.create("card", { style: style });
cardElement.mount("#premium-pay__card__input");
....on submit
const { error\: submitError } = await elements.submit\(\);
stripe
.createConfirmationToken({
elements,
params: {
payment_method_data: {
billing_details: {
Question
Why the createConfirmToken() fails with:
> Error creating confirmation token IntegrationError: Could not find a mounted element to create the Confirmation Token from.
What have you already attempted?
Ive tried to pass to the createConfirmToken() both the elements and the cardElement variables.
What are you working on?
I'm implementing a multistep validation where i can know the country before completing the transaction to validate that the user can purchase my product.
@long pewter pressed the π§βπ» Code button in #help to ask a question:
Code
return new PaymentSheetCreateResponse
{
PaymentIntent = paymentIntent.ClientSecret,
EphemeralKey = ephemeralKey.Secret,
Customer = customer.Id,
PublishableKey = "pk_test_51...",
};
Question
I've been trying to figure out the usual workflow for a customer that buys something in our store, inside our app, then pays through Stripe.
I couldn't find a simple and straight forward way to do that.
In my documentation (backend), I'm told I have to send the publishable key and ClientSecret to our app.
But in the iOS documentation, the PK is literally initialized in code as well.
Why both?
I thought the ClientSecret was a way to authenticate the backend with Stripe.
What have you already attempted?
Nothing, 'cause we are trying to figure out what goes where.
Initially, I thought the workflow was like this:
User buys item --> has to pay with Stripe. --> CC details inside Stripe.Elements (+ PK to identify App for our company) --> Stripe
Then
Stripe --> (returns) Token to App (probably session for that userId at that moment of time)
Then
App: Token + Total --> Backend (to start payment intent)
Then
all of that + secret key in a payIntent json --> Stripe
What are you working on?
Backend for a shopping cart in Android/iOS
@shut needle pressed the πͺ Webhooks button in #help to ask a question:
Question
I don't get a `customer.subscription.updated` event when a new user subscribes. This is for the live env, the test env works just fine. I'm using the same code to test both.
Related Event ID(s)
LIVE: evt_1P44ExRtWHFwXPdF8bHuKJfS is followed by evt_1P44EyRtWHFwXPdFvIKQ9j3P -- TEST: evt_1P43kEFji5jXr9CetuKDdxDq is correctly followed by evt_1P43kEFji5jXr9CeskdPXkRz
What have you already attempted?
- I doubled checked all my code, but same code works fine on test env, however not on live env
- Recreated the webhook
- Rechecked all confs on the live env (stripe dashboard)
What are you working on?
side project, simple subscription model, just move to live from local and this went awol unfortunately.
@azure lagoon pressed the π Best Practices button in #help to ask a question:
Question
In Live mode - Can I delete the associated subscription and payment on a price_id and then update the amount once the subscription and payment are deleted?
Doc/Guide Links
https://docs.stripe.com/products-prices/manage-prices?dashboard-or-api=dashboard#delete-price
What are you working on?
I created a bunch of new price_ids to act as a sort of tiered product for our subscription plan.
@hoary scroll pressed the π§βπ» Code button in #help to ask a question:
Code
<Elements
stripe={stripePromise}
options={{
clientSecret: stripeMetadata.clientSecret || '',
fonts: [
{
family: 'Tw Cen MT Pro SemiMedium',
src: 'url(/fonts/tw_cent/twc-pro-semimedium.woff2)',
weight: '400',
Question
How to set the placeholder text for the zip input in payment element?
What have you already attempted?
Not even sure where to start!
@outer sail pressed the π Best Practices button in #help to ask a question:
Question
We are trying to collect payment info, to charge at a later date. Is there (or how do we) avoid a forced redirect? I saw the ` redirect: 'if_required',` in the docs but I'm not sure how to incorporate/handle this
Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements#submit-payment-details
What are you working on?
We're building a React app and using the PaymentElement. inside an Elements Provider.
@north pagoda pressed the π Best Practices button in #help to ask a question:
Question
We're using Billing Portal Session for users to add payment methods. We want to do a charge a certain amount (say $1) and then refund them. This is to ensure that the card they add is valid.
Doc/Guide Links
I have looked at Setup Intent and Payment Intent docs but I am not sure how to use those when using Billing Portal Sessions
What are you working on?
We have been using Stripe in production.
@plain chasm pressed the π API button in #help to ask a question:
Question
Is there a way to test a negative payout ( clawback ) from a connected account's bank account?
Related Request ID(s)
po_1Obxhy2XKhWTVGMm6q9UFCeq
What have you already attempted?
Attempted to make a payout through the dashboard and trigger a payout failed event, but there doesn't seem to be an option for negative amounts
What are you working on?
Trying to communicate with connected vendors when a withdrawal from their account fails due to insufficient funds
@lime geode pressed the π API button in #help to ask a question:
Question
Is tap to pay only accessible via the IOS / Android terminal SDKs? The documentation is unclear for the JS Terminal SDK
Related Request ID(s)
none
What have you already attempted?
The website explains it is only available in the IOS sdk but this comment here suggests otherwise?
What are you working on?
Foraged.com
@stiff tangle pressed the π API button in #help to ask a question:
Question
Does it make sense that a Refund can be in "succeeded" state but it's underlying Balance Transaction is still "pending"? If so, in what scenarios does this happen? What does this represent?
Related Request ID(s)
req_2D2pltyGq0RWTy
What have you already attempted?
Tried looking at docs but couldn't fully understand
What are you working on?
I'm trying to store the exchange rate used when refunding a EUR payment method from a USD Platform account
@drifting flicker pressed the π API button in #help to ask a question:
Question
When using the Stripe charge API, it provides details like risk score or risk level for a transaction. Does this score stay the same for a particular charge over time, or can it change later?
For example, a customer makes a $x purchase at time T1. Stripe assigns a risk score of 66. Will this score remain at 10 at a later time (T2), or could it be adjusted?
Related Request ID(s)
req_HImIkPz2tFfycl
What have you already attempted?
I have performed few charges on my card and not able to see any change risk scores
What are you working on?
We want to store charge risk scores in our database so that our data team can analyze them and see any fraud transactions
@viscid haven pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/quickstart?client=react
Question
This quickstart for react and dotnet is very outdated, I am simply trying to understand how I can do this but I cannot find any decent guide
What have you already attempted?
I have looked at various tutorials and guides, but I do not understand what the frontend has to do and what the backend has to do
What are you working on?
A headless multi tenant (teams) real estate cms
@torpid lantern pressed the π Best Practices button in #help to ask a question:
Question
We want to have a monthly subscription, but we also need to charge the customer for an item on a yearly basis. We want Stripe to generate an invoice monthly, including "Item 1", but the first invoice of the year should also include an extra item, "Item 2". It's like having products with different recurring intervals. I know this is not possible, but is there a good way to approach this scenario?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules/use-cases
Maybe we can schedule an update to add a one time item to be charged on the first month of each year, but i wanted to ask you guys what is the best practice.
What are you working on?
Monthly subscription with a yearly item that needs to be paid up front
@versed salmon pressed the π API button in #help to ask a question:
Question
I create a checkout session with tax_id_collection enabled.
When my business customer from another EU country checks out as a business, tax is not collected and reverse charged on the invoice. This is correct.
However, when my customer is an individual (no Tax ID), no VAT is charged at all. This should be my local tax percentage.
automatic_tax is also enabled.
Related Request ID(s)
req_2T3RoW2a4aCZuO
What have you already attempted?
I have tried collecting their TAX id and removing it.
customer_update.address and name are on 'auto'
(p.s. once the customer submitted their tax id, they can't update it anymore - the fields don't appear on the checkout page anymore)
What are you working on?
A SAAS product that has subscriptions and payments.
@subtle scroll pressed the πͺ Webhooks button in #help to ask a question:
Question
How can I know if a payment intent hook is from a subscription?
Related Event ID(s)
pi_3P41muEPlL8JPk0A0JZiVWKf
What have you already attempted?
Parse the content of the payment intent hook from an one-payment and from a subscription.
@azure lagoon pressed the π Best Practices button in #help to ask a question:
Question
In Live mode - Can I delete the associated subscription and payment on a price_id and then update the amount once the subscription and payment are deleted?
I don't mean update a price amount, I know I can't do that for a price_id with a payment, I mean if I delete the associated data with a price_id, can I then update the amount for the price_id OR can I rename the price_id to something else so I can add a new price_id with the same id?
Doc/Guide Links
https://docs.stripe.com/products-prices/manage-prices?dashboard-or-api=dashboard#delete-price
What are you working on?
We use custom IDs for price_id, e.g. `pro-annual-v3-1` so our price ids mean something in our application. This was put in place back when plans/plan names were being used instead of price ids. It's part of our application code.
@foggy latch pressed the π API button in #help to ask a question:
Question
if disabled_reason in requirements of a connect account is listed as `requirements.pending_verification`, how long does that usually take to complete? We just want to tell our customers an estimated timeframe (like a few business days or less).
Related Request ID(s)
n/a
What have you already attempted?
no attempt
@merry cypress pressed the π Best Practices button in #help to ask a question:
Question
We have a customer that charges a one time setup fee for Subscriptions. Can this one time setup fee be part of a recurring Price model or should it be a standalone one off product/price? We need this fee automatically included w
Doc/Guide Links
I don't have doc link to provide
What are you working on?
subscriptions
@stray swift pressed the π Best Practices button in #help to ask a question:
Question
The new Stripe Element requires a publishable key to load. Using a fake key will result in a 403 when the promise is trying to load. In our CI env, we usually leverage a Stripe Mock API and this wasn't an issue with the old card element. Is there a workaround (like a special PK?) or is it mandatory to use a Stripe account? I should mention that our integration leverages connected accounts so that also means the connected accountId must exist on the account providing the PK. So ideally there would be a special PK and account id that allows the element to load even if they don't exist?
Doc/Guide Links
https://docs.stripe.com/payments/payment-element
What are you working on?
A React embedded app.
@merry cypress pressed the π Best Practices button in #help to ask a question:
Question
Is it possible to do an authorization only with Apple Pay, Google Pay, Amazon Pay, Cash App Pay?
Doc/Guide Links
I don't have guide link
What are you working on?
authorization
@molten granite pressed the π API button in #help to ask a question:
Question
we have a system where we first collect card details via setup intents for future off session payments. Iβve observed cases where no 3d secure was requested at setup intent time but then 3d secure was requested when we later made the off session payment. just wondering if this behaviour is known to happen?
Related Request ID(s)
na
What have you already attempted?
read docs
@round dock pressed the π Best Practices button in #help to ask a question:
Question
Hello! We are selling a product that is combined monthly/annual subscription and usage. The usage is tier based to include free usage per month.
We are using checkout sessions, however checkout sessions don't support annual upsells + usage based products. Subscriptions also don't support monthly usage + annual subscription.
We have opted to create a annual usage price with 12x usage included. We also decided to not show the usage in the checkout session and add it after purchasing.
We want to make it clear to users that usage will still be a line item on their invoice. We're thinking of using the custom terms in checkout sessions. Is there a better way?
Doc/Guide Links
https://docs.stripe.com/payments/checkout/customization#policies
What are you working on?
A monthly subscription + hours of VM usage
@sacred pond pressed the π API button in #help to ask a question:
Question
Hello I am trying to create a custome account. I am passing the following info "account ["type": "custom", "business_profile": ["product_description": Optional("Agricultural Cooperative"), "mcc": Optional("0763"), "name": Optional("Zacks"), "support_email": Optional("2nmsndhy99@privaterelay.appleid.com")], "settings": ["payments": ["statement_descriptor": Optional("Zacks")]], "country": "US", "business_type": Optional("individual"), "capabilities": ["card_payments": ["requested": true], "transfers": ["reque", stripe returns an array say the country is "AD" and clearly what is passed on is "US"
Related Request ID(s)
req_b61x4vK4qUjlVt
What have you already attempted?
Creating logs to see what is received in the server function and everything looks great.
What are you working on?
Help to debug the issue
@cedar gull pressed the π API button in #help to ask a question:
Question
I have a marketplace application where customers place orders with merchants. Merchants have connected accounts in Stripe in which they receive their payouts. When a customer places an order on React Native, we can show the merchant's business name by doing something like this:
await initPaymentSheet({
merchantDisplayName: merchantName,
...
});
However, when using the @stripe/react-stripe-js library in React.JS to build a custom web checkout flow using <Elements />, there is no way to pass this merchant name. When customer pay using Apple Pay, it shows the incorrect name.
Related Request ID(s)
N/A
What have you already attempted?
Attempting researching the docs to figure out how to pass in merchatDisplayName on the web side of things.
For example, a store might be called "Billy's Bike Shop", but the Stripe Connected Account is under "Billy Joseph".
In this case, when a customer chooses to pay using Apple Pay on web, it'll say "Pay Billy Joseph", when it should say "Pay Billy's Bike Shop". This functionality is achieved on mobile using the initPaymentSheet function above in @stripe/stripe-react-native, but it is not available in React? Am I missing something?
What are you working on?
An application where customers can order from restaurants through their customer websites.
@wild patrol pressed the π API button in #help to ask a question:
Question
What terminal id should be passed in reader.PresentPaymentMethod ?
Related Request ID(s)
none
What have you already attempted?
Looked in docs but didn't find which id to use.
What are you working on?
Creating test around reader payment worklfow
@brazen gyro pressed the π API button in #help to ask a question:
Question
In the stripe checkout session page, how do we remove the "Pay with link" option
Related Request ID(s)
None
What have you already attempted?
In the stripe checkout session page, how do we remove the "Pay with link" option
@cold bear pressed the π§βπ» Code button in #help to ask a question:
Code
public async Task<PaymentIntent> CreatePaymentIntent(string id)
{
StripeConfiguration.ApiKey = "sk_test_β’β’β’y9VQ";
var options1 = new CustomerCreateOptions
{
Name = "Satvik Patel",
Email = "satvik.patel@pib\-insurance.com",
};
var service1 = new CustomerService\(\);
var custo
Question
getting exception from stripe api
What have you already attempted?
moto payments
@paper girder pressed the π API button in #help to ask a question:
Question
my client who uses shopware 6 has received the following mail: [Handlungsbedarf] Zur Erinnerung: Aktualisieren Sie Ihre Stripe-Integration bis zum 15. Mai
>> is there any further information on what exactly needs to be done?
Related Request ID(s)
123
What have you already attempted?
tbd
@viral spoke pressed the π API button in #help to ask a question:
Question
How can I collect the first payment of a subscription with an extra paymentintent and then automatically?
In the field "related request ids" you can see, that the customer charged twice. One for my own paymentintent. The initial one and a second time for the creation of the subscription
What have you already attempted?
I think about setting a trail of 30? Maybe I do something with the billing anchor..? I don't know. Maybe something in this direction
What are you working on?
Collect details and first payment via initial paymentintent and after success create the subscription
@void jasper pressed the π API button in #help to ask a question:
Question
When making deposits and withdrawals from our website with Stripe Connect. We cant seem to find any documentation or API to automate the fee depending on country and other factors. Is there such a thing?
Related Request ID(s)
req_oCYQHoiHXKBotE
What have you already attempted?
I read alot of docs so far but with no luck.
What are you working on?
Freelancing website
@dull crag pressed the πͺ Webhooks button in #help to ask a question:
Question
This night I ran several report runs and have a webhook setup to be called whenever it is a success, but no events are shown. I do not see anything in events/logs I am unsure why.
Related Event ID(s)
can't find
What have you already attempted?
search everywhere, I know it has been a success because if I run it now a file that was generated when I run it is returned, example file: file_1P4DWFElj6KWosxaIlto6H8j
@storm oxide pressed the π Best Practices button in #help to ask a question:
Question
Payment for dynamic digital product.
I'm working on a project that have some digital product that are dynamic, and they change price quite often, so creating a product in the dashboard it's not ideal, I was wondering which is the best way to handle this case, I saw that `stripe.quotes.create` require a price_object that requires a product, should I create a product and a price object by api each time I redirect the user to the payment?
Doc/Guide Links
https://docs.stripe.com/api/quotes/create#create_quote-line_items
What are you working on?
I've described it above, it's a platform that sell some dynamic digital products (I can't share what it is)
@fluid juniper pressed the π§βπ» Code button in #help to ask a question:
Code
await this.stripe.subscriptions.update(req.activeSubscription.providerId, {
cancel_at_period_end: false,
items: [
{
id: subscriptionItem.id,
price: newStripePriceId,
},
],
});
Question
I get an error switching subscription prices with different cycle
"All prices on a subscription must have the same `recurring.interval` and `recurring.interval_count`."
What have you already attempted?
I tried deleting an item and then adding one (on the same request), but got same error
I read your docs, and it says it is possible: https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#billing-periods
@winter tulip pressed the π§βπ» Code button in #help to ask a question:
Code
var items = new List<SubscriptionItemOptions> {
new SubscriptionItemOptions {
Plan = planId.ToString()
}
};
var subscriptionOptions = new SubscriptionCreateOptions
{
Customer = customerId,
CollectionMethod = "charge_automatically",
Items = items,
PaymentSettings = paymentSettings,
PaymentBehavior = "default_incomplete",
Metadata = metadata,
OffSession = true,
Description = descriptionMessage
};
Question
I am creating a subscription as above, but in some cases the initial amount will be different from the remaining recurring amounts (which are the same), so e.g. if I have a total amount of Β£100, to be paid over 6 installments, the initial payment would be Β£16.70 and the remaining 5 payments would be Β£16.66. I have what a method that calcuates what the cvalues should be , but is there a way to create the subscription with the different inital payment.
What have you already attempted?
I have looked at this https://docs.stripe.com/api/subscriptions/create
What are you working on?
Creating Subscription with different initial payment value
@graceful niche pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
hello
hope youβre doing great
a support agent from my team has recovered an invoice with the customer using the invoice payment link
we expected that the unpaid invoice status will be updated
What actually happened?
the invoice & subscription status stayed unpaid
but we can see the payment issued from an invoice
Reproduction Steps
Check the first answer
Question
why it happens & how can we fix it please
@civic onyx pressed the π API button in #help to ask a question:
Question
Hi I'm reading https://docs.stripe.com/error-low-level#idempotency and I'd like to ask/confirm : when there is a stripe server errors (specifically 500s) ,
Does 500s means status code 500 only, Or does it also include 501, 502, 5xx etc ?
From the Stripe doc it looks to me that when server error happens (i.e : the 500s ), we should not retry the request with a new idempotency key, also we should not retry the request with the old idempotency key. We should just rely on webhook event in this case to reconciliate the situation. Am I correct ?
Related Request ID(s)
N/A
What have you already attempted?
N/A
@barren granite pressed the π API button in #help to ask a question:
Question
I need to have subcrpiton stop automaticllty after specied number of payment can you help me with that
Related Request ID(s)
123
What have you already attempted?
i just need help on subcrption auto matic cancel
@steady remnant pressed the π API button in #help to ask a question:
Question
When paying with paypal and updating the shipping option, the payment element fails to confirm.
If I pay with paypal but I do not update the shipping option, it confirms every time.
Related Request ID(s)
EXPRESS CHECKOUT ELEMENT
What have you already attempted?
I have tried all the payment element events including shippingratechange and shippingaddresschange.
What are you working on?
Integrating Stripe Payment Element into ecommerce website.
@vocal wagon pressed the π API button in #help to ask a question:
Question
I have this code as part of the logic for handling the payment form, but when on the browser i get a error.
```js
const stripe = Stripe(publishableKey)
// Create payment form with its functionalities
const elements = stripe.elements\({clientSecret, appearance}\)
const paymentElement = elements.create\('payment',options\)
paymentElement.mount\('\#payment\-element'\)
```
The error goes as following:
Uncaught (in promise) TypeError: o.elements is not a function
Related Request ID(s)
[wrangler:inf] POST /payments/create-payment-intent 200 OK (459ms)
What have you already attempted?
I have tried following the docs, so I am unsure what I am getting wrong.
What are you working on?
I'm using vite, Cloudflare Worker Functions (Service Worker Syntax) and nodeJs.
@finite viper pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Stripe web elements to load fast
What actually happened?
Stripe web elements loads slow. sometimes it can takes anywhere between 1.5s - 5s and in extreme cases 11s -12s
Reproduction Steps
just refresh the web app
Question
I want to know how i can load stripe web elements in a react application in the fastest way, in a simple application that only contains a fetch api for the stripe options an ExpressCheckoutElement and a PaymentElement
What are you working on?
a checkout web app with react web elements
@cerulean sluice pressed the π API button in #help to ask a question:
Question
I am using you can book me with stripe integration. I have ste the price in you can book me to include gst. However the stripe receipt does not show the gst component of the price. How do I change the settings in stripe so the receipt shows the gst component.
Related Request ID(s)
n/a
What have you already attempted?
Talking to stripe help and looking through FAQs
What are you working on?
booking system
@sweet solar pressed the π§βπ» Code button in #help to ask a question:
Code
// Confirm the card payment given the clientSecret
// from the payment intent that was just created on
// the server.
const { error: stripeError, paymentIntent } = await stripe.confirmCardPayment(
clientSecret,
{
payment_method: {
card: card
},
}
Question
I'm making a Backend request to generate payment intent and client secret and forwarding it to stripe.confirmCardPayment method. The response is "No such Payment Intent"
The payment intent id is matching the one sent from Our backend.
What have you already attempted?
https://github.com/stripe-samples/accept-a-payment/blob/main/custom-payment-flow/client/html/card.js
Checked this.
Checked Documentaion for stripe JS
What are you working on?
implementing stripe custom payment flow in html JS
@tiny estuary pressed the π Best Practices button in #help to ask a question:
Question
Does Stripe Elements Payment component allows for custom i18n text in the labels?
This is a follow up of: https://discord.com/channels/841573134531821608/1227653172747829328
- I had a Stripe Elements Card component because I can use it for non supported Stripe languages (Catalan).
- Now i need ConfirmationToken to check some information before the Intents.
- In the previous support ticket, you told me ConfirmationToken is only available to Payment Element and not Card Element. I've tried to migrate it, but Payment Element feature set is not comaptible with card, as Payment Element forces some texts from Stripe. I've found no solution to translate them.
Doc/Guide Links
https://docs.stripe.com/payments/build-a-two-step-confirmation
https://docs.stripe.com/payments/payment-element/migration?integration-path=one-time
What are you working on?
Migrating card element to payment element.
@random nacelle pressed the π§βπ» Code button in #help to ask a question:
Code
await confirmPayment(clientSecret, {
paymentMethodType: "Card",
paymentMethodData: {
billingDetails: customerBillingDetails,
},
});
Question
Hello,
I Noticed that when manual credit card details are used for payment, the customer's name appears on Stripe. This is probably because I'm using Stripe.confirmPayment API, which requires the clientSecret and paymentMethodData.
Is it possible to use the same API when for transaction via the terminal? If not, is there an alternative method to show the customer's name on the payment details?
I'm using the following terminal SDK:
"@stripe/stripe-terminal-react-native": "^0
What have you already attempted?
Updating the payment's metadata doesn't display customer information on the UI the same way the confirmPayment does for information passed to the paymentMethodData
What are you working on?
I want to display the customer information on Stripe payment details for payments made on the Terminal
@dull crag pressed the π API button in #help to ask a question:
Question
I am running a report run in the UI and I get a report with some data when I do with same parameters trough the UI I get an empty report.
Related Request ID(s)
UI Report: frr_1P4MX8GOs2bxG0RwMITb0Bv9 API Report: frr_1P4MZpQFyYqLju8yoAjL9C5x
What have you already attempted?
Don't know what to try
@vocal wagon pressed the π API button in #help to ask a question:
Question
Is there a way to enable/disable billing emails on a Customer level via API? Is it possible at all?
Related Request ID(s)
Turn on/off billing email on Customer level
What have you already attempted?
Customer support told me that there is a interface for that in my account in stripe but I can't find it and can't find in API doc something related.
@golden gale pressed the β An Error button in #help to ask a question:
Error Message
I'm trying to complete this application.
I'm on the last page, where it asks for an icon, but the icon button does nothing and the next button is greyed out until i supply an icon? https://dashboard.stripe.com/financial-connections/application
Question
How do i porgress past the last screen here?
What have you already attempted?
https://dashboard.stripe.com/financial-connections/application last page does not seem to be working
@west vault pressed the π API button in #help to ask a question:
Question
Hello, I am trying to migrate the actual confirmation method (using the PaymentMethod object) to the ConfirmationToken one - but it seems not to be working
I can't confirm a payment
Related Request ID(s)
req_m6WRomPWKLvqCt
What have you already attempted?
This is my implementation of the confirmPayment - if I remove the clientSecret (since from the docs it does not seem to be compulsory), it gives me an Integration error
stripe.confirmPayment({
elements,
clientSecret,
redirect: 'if_required',
confirmParams: { return_url: 'https://wishraiser.com/checkout/thank-you/' },
});
@covert bison pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
To get "spending_controls" reason for the decline.
What actually happened?
Instead, I got "authorization_controls" reason
Reproduction Steps
I don't have any specific reproduction steps.
I can further attach the link id for you to be able to debug on your side.
Question
Why is this happening? Is this a bug? In documentation it's written, that authorization_controls was deprecated.
@bold crypt pressed the π API button in #help to ask a question:
Question
(For now) I am using the stripe cli to get a list of "payments". Since there is no "payments" resource it seems like "charges" is the one.
`stripe charges list --live`
Does give output - but it does not include the fee or vat.
Related Request ID(s)
req_JKpBM9ItFsvTLQ
What have you already attempted?
`stripe charges list --live` and looked at the API docs at
- https://docs.stripe.com/api/charges
- https://docs.stripe.com/api/application_fees
What are you working on?
I am trying to export all stripe transactions for accounting.
@vocal wagon pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://support.stripe.com/questions/enable-apple-pay-on-your-stripe-account
Question
I'm trying to activate ApplePay for a lot of domains like shop1.example.com, how can I activate something like *.example.com so I don't have to activate all shops one by one in Stripe ? I have over 1000 shops.
What have you already attempted?
I tried to validate example.com successfully but it's not resolving my issue.
What are you working on?
Activating ApplePay for my websites
@barren granite pressed the π API button in #help to ask a question:
Question
subscription schedule giving error Received unknown parameter: iterations"
Related Request ID(s)
123
What have you already attempted?
schedule subscription
@regal horizon pressed the π API button in #help to ask a question:
Question
How can I add funds to my stripe balance through API without using stripe connect? My goal is to add funds to my current stripe balance through API.
Related Request ID(s)
None
What have you already attempted?
I read this doc but it seems like I need to use connect. https://docs.stripe.com/treasury/moving-money/payouts#top-ups.
What are you working on?
Personal Finance App
@vocal wagon pressed the πͺ Webhooks button in #help to ask a question:
Question
When creating an account on stripe connect, I don't see any webhook event, or attempt to send off a webhook via the logs at all
Related Event ID(s)
account.updated
What have you already attempted?
Creating an account in stripe connect
@zenith cedar pressed the β An Error button in #help to ask a question:
Error Message
Error processing checkout.
Question
I get a error message when submitting the order in the woocommerce checkout. "Error processing checkout "
What have you already attempted?
I have deactivated all plugins and themes. without the stripe plugin and only with woocommerce the checkout works.
The webhook at stripe is set up and activated
I have created a test environment for the problem
Reproduction Steps
Add product to cart: https://hueb.team8.ch/product/em258a/
Go to the checkout and try to buy the product
you will get the error
@harsh sleet pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I have integrated Google pay through stripe as per documents available on stripe website.
It should open gPay checkout when user clicks on pay button
What actually happened?
PayButton is getting invisible automatically because testing form india
Reproduction Steps
click on pay button, open check out activity
Question
how can i solve this, please help
What are you working on?
to integrate Stripe gateway in our existing app
@civic onyx pressed the π API button in #help to ask a question:
Question
Hello, I have some questions related to Stripe idempotency :
β¨1. Does Stripe automatically generate an idempotency key for each request if we donβt provide one key ourselves when sending the request ?
- Regarding the Stripe idempotency error https://docs.stripe.com/error-handling?lang=ruby#idempotency-errors : Does this error always mean βsending a new request with the same idempotency key, but with different paramsβ? Could this error also happen when βsending different requests with exactly the same params, but with different idempotency keysβ ?
Related Request ID(s)
N/A
What have you already attempted?
N/A
@rancid terrace pressed the π Best Practices button in #help to ask a question:
Question
Hey, we're planning to migrate some of our subscriptions to different price ids (moving from regular to tiered pricing). The way we plan to do this is by deleting the current subscriptions and recreating them with same pricing. Will this affect our churn stats or cause any other issues?
Doc/Guide Links
There aren't many resources on subscription migration/
What are you working on?
Payment system of SaaS
@tropic carbon pressed the π API button in #help to ask a question:
Question
How can I retrieve the ITEM Name from a charge
Related Request ID(s)
pi_3P3JbhH9md9B7zuY1YqD4hI5
What have you already attempted?
We tried to pull by the API but the item info (Grasshopper Masterclass) is missing
@spare meadow pressed the π Best Practices button in #help to ask a question:
Question
How do you handle devices that do not support Javascript? Is there a proposed alternative...
Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment
What are you working on?
Built a usable shopping-cart. Thinking on resorting to email instead of checkout.
@calm mist pressed the π API button in #help to ask a question:
Question
We just migrated our code to payment intent. I have auto confirm setup but clients with 3D secure generate a payment intent that hangs in the status of require_action. Is it possible to immediately confirm PI for 3Ds cards?
Related Request ID(s)
Payment intent and 3DS cards
What have you already attempted?
These are the params I pass to the payment intent creation
amount: 300,
payment_method_types: ["card"],
currency: "cad",
confirm: true,
customer,
setup_future_usage: "off_session",
description,
payment_method: source,
capture_method: automatic
metadata,
@barren granite pressed the π API button in #help to ask a question:
Question
getting issue when i try to add schedule to the subscription "You cannot migrate a subscription that is already attached to a schedule: `sub_sched_1P4PAFHDWzepBBxW2wZkQaDJ"
Related Request ID(s)
sub_sched_1P4PAFHDWzepBBxW2wZkQaDJ
What have you already attempted?
scheduled subscription
@gray carbon pressed the π API button in #help to ask a question:
Question
As I mentioned above I am working on a LMS app, we use Stripe as a payment gateway and Stripe Connect to give the direct payment option to our customers. We sell courses and the users can buy these courses lifetime or via subscriptions. We have some subscriptions in Paypal and others to our parent Stripe account. I want to migrate these subscriptions to customer's Stripe-connected accounts. Is it possible? Should I create a script to handle the migration?
Related Request ID(s)
1225720961693909012/1225745981069463634
What have you already attempted?
Ξ read the following doc
https://docs.stripe.com/billing/subscriptions/migrate-subscriptions
What are you working on?
I am in R&D phase right now
@jovial lodge pressed the π API button in #help to ask a question:
Question
How stripe deal with incomplete intent created in stripe account?
Related Request ID(s)
None
What have you already attempted?
API Integration
@stiff tangle pressed the π API button in #help to ask a question:
Question
Scenario: USD platform account, SEPA payment made (EUR), and a EUR refund issued before the SEPA payment completed. I can't find out how much USD was used for the EUR refund.
Related Request ID(s)
req_PwmYDwyevIIAvq
What have you already attempted?
I've tried fetching balance transactions for both the PaymentIntent and Refund to try and find out the USD amount used for the refund but I can't seem to find anything.
@dire star pressed the π§βπ» Code button in #help to ask a question:
Code
Stripe::setApiKey(config('services.stripe.secret'));
$paymentIntent = PaymentIntent::create([
'amount' => ($booking_total_pence),
'currency' => 'GBP',
'automatic_payment_methods' => [
'enabled' => true,
],
'receipt_email' => $booking->email,
'description' => $booking->booking_reference_formatted,
]);
Question
Why are the Owner & Owner email fields no longer being populated (some time since January)
What have you already attempted?
Updating to stripe/stripe v13.18.0
What are you working on?
A booking system which takes online stripe payments
@north pagoda pressed the π Best Practices button in #help to ask a question:
Question
We are using Billing Portal Sessions to store users' card for payments at end of billing cycle
We want to verify the card by charging $1 when the card is added
Doc/Guide Links
I have read the relevant docs but couldn't find one which suggest if there is way to do this natively.
I did see that this can be done through PaymenIntent APIs
I spoke to one of the representatives yesterday, but the discussion was not completed
What are you working on?
We have been using Stripe in production.
@cedar sail pressed the π API button in #help to ask a question:
Question
Is there a way for get payout details that include ALL the transactions that make up that payout via the Payouts API endpoints? I do not see it the documentation anywhere.
Related Request ID(s)
req_QIeiwDBfNxwbKh
What have you already attempted?
https://docs.stripe.com/api/payouts/object
I can pull a list of all payouts. and I can pull a given object. But I dont know how to see all the transactions within a payout.
What are you working on?
balancing bank transactions with our accounting system
@light crescent pressed the π§βπ» Code button in #help to ask a question:
Code
I am implementing apple pay using Payment Request Button.
Question
I was able to show Apple Pay button on UI side. At what point, do I need to create the Payment Intent on server side?
What have you already attempted?
I am not sure how the flow works
What are you working on?
I am integrating apple pay button
@serene heron pressed the π Best Practices button in #help to ask a question:
Question
Can multiple payment methods be linked to a single customer?
Doc/Guide Links
https://docs.stripe.com/api/customers/create
What are you working on?
We are adding customers for each purchase made, the problem is that the same information may be repeated such as email and so on, so we want to filter customers by email and add payment methods.
@agile dome pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I want to make a payment link, i need to click the button make link
What actually happened?
the button is disabled
Reproduction Steps
make a payment link from a product, then clicck the button create link
Question
is there a bug, or is there something wrong with my producsts?
@tardy veldt pressed the π Best Practices button in #help to ask a question:
Question
We're a 3-sided marketplace using Stripe Connect. Shoppers buy on shops and using money from that payment intent, we distribute it to the marketers and the product makers via Stripe Connect.
We've set up Stripe Connect and transfers are working well. However, I'm unsure what's the best practice to reflect the status of the transfer in our database. If stripe.transfers.create succeeds, does that mean that we can mark it as paid in our database? Should we instead listen to a webhook?
Doc/Guide Links
https://docs.stripe.com/connect
https://docs.stripe.com/api/transfers/create
What are you working on?
We're a 3-sided marketplace
@royal shard pressed the π§βπ» Code button in #help to ask a question:
Code
return stripe.balanceTransactions.list(
{
payout: 'payoutid',
type: 'payment',
expand: ['data.source.source_transfer.source_transaction'],
},
{
stripeAccount: 'accountid',
}
);
Question
how can i use this? I believe the code is according to documentation yet i am getting an error.
What have you already attempted?
Read documentation
and run code attempting to get all transtactions got error
Error: Stripe: Unknown arguments ([object Object]). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options. (on API request to GET `/balance/history`)
firebase-1 | > at getRequestOpts (/opt/gesture/functions/node_modules/stripe/lib/makeRequest.js:64:11)
firebase-1 | > at /opt/gesture/functions/node_modules/stripe/lib/makeRequest.js:91:18
What are you working on?
Stripe integration for connected accounts
@woven star pressed the π API button in #help to ask a question:
Question
Hi, I've looked at the documentation subscriptions. I've seen that the collection methods are automatic or Stripe sends a message to the client. Is it possible not to use these two options and for me to handle sending a payment link to the client myself?
Related Request ID(s)
developper
What have you already attempted?
n/a
@subtle scroll pressed the πͺ Webhooks button in #help to ask a question:
Question
How can I know the subscription id from a PI hook? Or, how to add metadata a PI created from a subscription?
Related Event ID(s)
pi_3OzKHkEPlL8JPk0A1sZKfesQ
What have you already attempted?
I read all data from PI succeeded hook object. I read docs
@vivid rivet pressed the π API button in #help to ask a question:
Question
I'm working to associate balance transactions to our internal user data. I'm seeing some transactions that don't have any associated source object so trying to understand what they are.
Related Request ID(s)
txn_1OwfnODl7puKas71oITrx56T
What have you already attempted?
Looked through balance transaction logs
What are you working on?
Monthly subscription product
@polar shuttle pressed the β An Error button in #help to ask a question:
Error Message
Cannot create top-ups on behalf of another account.
Question
Hey, I have been trying to the funding for the connect account. Following this document https://docs.stripe.com/issuing/connect/funding. I have verified the microdeposit and when I am trying to the Top-up now. I am getting the error, is there any particular reason I might be getting this error?
What have you already attempted?
I have checked the Stripe API key and connected account id properly and verified the microdeposit and I also have the source token which is correct
@light crescent pressed the π§βπ» Code button in #help to ask a question:
Code
I am integrating apple button.
Question
@koopajah_stripe you mentioned express checkout buttons are better. May i know the reason?
What have you already attempted?
I need the answer
What are you working on?
I need the answer
@gray depot pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
A transaction to go through for my connected account via stripe checkout, in a verify_challenge scenario.
What actually happened?
Transactions are failing because of an error on the POST /v1/payment_intents/pi_xxxxxxx/verify_challenge endpoint. The error says that the application does not have the required permissions for this endpoint and that read_write scope would allow it. However, I confirmed that my app does have Modify for PaymentIntents on this connected account.
Reproduction Steps
Some customers are unable to purchase from my connected accounts Stripe Checkout.
Question
How do I fix this issue? Is there a more specific permission that I need that relates to verify_challenge specifically? Do I need to update my API version? Please help, it's effecting live orders in production.
What are you working on?
I have a Stripe App
@idle verge pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When creating a session to customer portal, to be able to update a plan. The preview in stripe's dashboard shows the button correctly.
What actually happened?
It won't show the correct price and not showing the update plan button.
Reproduction Steps
We set up a pricing table and created a session logic to have our customers go to manage their subscription with one click. They should be able to update their plan (from monthly to annual billing)
Question
We are using subscriptions with a monthly/annual price and a tiered price. We created a pricing table and selected the option to allow customers to upgrade from monthly to annual. When creating the session we send PricingTable.Enabled as true. Are we missing something?
@fluid cape pressed the π API button in #help to ask a question:
Question
Hello, when a user add a new credit card to his profile for later use in the checkout, we are attaching server side the payment_method_id sent by the mobile app, like this
payment_method = stripe.PaymentMethod.attach(
payment_method_id, customer=self.stripe_customer
)
it's working, but we noticed some card when throw an error when the user tries to pay in the checkout. "Your card was declined. This transaction requires authentication."
according to doc it seems a better way than attach (european context with SCA) is to use SetupIntup and specify usage=on_session
Related Request ID(s)
id
What have you already attempted?
so we tried this server side :
# Create a SetupIntent to save the payment method for future use without immediate confirmation
setup_intent = stripe.SetupIntent.create(
payment_method=payment_method_id,
customer=self.stripe_customer,
setup_future_usage='on_session',
)
# No immediate confirmation, hence no 3DS auth at this point the customer and can be used later
payment_method = stripe.PaymentMethod.retrieve(payment_method_id)
return payment_method
But then when we pay it complain that this pm is not attached to the customer
What are you working on?
mobile app
@mossy dagger pressed the π API button in #help to ask a question:
Question
I have an account where I need to separate my clients' payment into two separate accounts. How can I integrate my application with the connect solution. your help please
Related Request ID(s)
api
What have you already attempted?
api
@hearty raven pressed the π Best Practices button in #help to ask a question:
Question
Is there a way to kill a checkout session after a time limit? Or how should I deal with prolonged checkout sessions?
Doc/Guide Links
https://stripe.com/en-se/payments/checkout
What are you working on?
property management system
@mighty vale pressed the πͺ Webhooks button in #help to ask a question:
Question
When dealing with Financial Connections transaction subscriptions, how common is the financial_connections.account.deactivated webhook? Do accounts typically reactivate and resume syncing transactions automatically?
Related Event ID(s)
evt_1P4QwSCHoi2FbAB9aHsJGoA3
What have you already attempted?
I have tried manually refreshing the account. This is ineffective because the account is inactive.
@small violet pressed the π API button in #help to ask a question:
Question
where do I have to change on Stripe dashboard to allow account creation from another's country's ip addresses
Related Request ID(s)
req_TdonxeGav09u19
What have you already attempted?
I'm trying to create custom accounts with Brazilian IP Address
@plain laurel pressed the π API button in #help to ask a question:
Question
Using the Payment Element is it possible to open the affirm or other third parties in a separate tab and/or a modal instead of redirecting?
Related Request ID(s)
n/a
What have you already attempted?
I am asking because we have additional processes (like placing an order in Shopify) that we need to run before showing the customer their confirmation page (like the Shopify Order Number).
We could return them back to the original page before the customer submitted their order but wanted to know if there was a more straightforward way instead. Thanks!
https://docs.stripe.com/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-return_url
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#web-submit-payment
What are you working on?
I am working on adding affirm option to Payment Element.
@north fiber pressed the π Best Practices button in #help to ask a question:
Question
Hey, I've been using Stripe for invoicing (self-employed freelancer). Now we are making SaaS platform. At first I thought I will just create a product but then I came across Stripe Connect. I set up a connected account (intention is to separate it from my freelancer activities) but I'm facing some issues. First, on the invoice, there are no business details (it just has connected account name on it). Second, I can't find a way how to send express dashboard link to my connected account. I found developer docs, but I was hoping to have some link same as for customer portal for example.
Doc/Guide Links
https://docs.stripe.com/connect/integrate-express-dashboard
What are you working on?
SaaS app
@grim minnow pressed the π API button in #help to ask a question:
Question
I purchased a product sold separately, created an endpoint to handle the charge.succeeded webhook and I need to locate the price of this purchase through that endpoint. I tried several ways to perform queries using the customerId, but I was unable to get the price through the webhook.
Related Request ID(s)
ch_3P45hLDrhWjWTprT1Ov7dhOp
What have you already attempted?
I have already tried to look for the price in the following calls
invoices.list({ customer: customerId });
subscriptions.list({
customer: customerId,
limit: 100,
status: 'active'
});
paymentIntents.list({ customer: customerId })
paymentIntents.confirm(paymentIntents.data[0].id)
paymentIntents.search({ query: `id:${paymentIntents.data[0].id}` })
checkout.sessions.list({ payment_intent: paymentIntents.data[0].id })
What are you working on?
When identifying purchases of the product "Mentoria de FinanΓ§as yampa"
@karmic ice pressed the π§βπ» Code button in #help to ask a question:
Code
const {error, paymentIntent} = await stripe.confirmPayment({elements,clientSecret,payment_method: {type: 'card',billing_details: {name: `${infoUsers.full_name}`,email: `${email}`},},confirmParams: {return_url: `${config.API_URL}select-product/view-information`},redirect: "if_required",
});
Question
I am having problems with the integration of stripe, I am implementing <PaymentElement>, the payment is made but the payment method is not created, I would like you to give me a guide on how to do it since I need to solve that to be able to advance in the project.
What have you already attempted?
multiple creations viewing the documentation
What are you working on?
compras
@versed patrol pressed the π§βπ» Code button in #help to ask a question:
Code
async initializeStripe {
paymentElement.mount(this.$refs.stripe)
}
Question
I am trying to figure out remounting stripe iframe in Vue.js. I have a modal that I put the iframe into. What I noticed is that when the iframe gets unmounted, it doesn't remount when I open the modal again.
What have you already attempted?
I haven't tried yet, but thinking about creating a hidden modal that never gets unmounted. However, it doesn't feel right things to do..
What are you working on?
mounting stripe iframe into a modal
@covert frigate pressed the πͺ Webhooks button in #help to ask a question:
Question
I am trying to setup a webhook to send events to a Gravwell HTTP sink in order to have long term retention of Stripe events. I am receiving a 401 error, In Gravwell Error Logs, the connection is rejected since "Token header value" is not found. It isn't clear to me that the token header value should be
Related Event ID(s)
evt_3P4RbBHxc9tHGXhd0NkhlcX3
What have you already attempted?
I have tried to add the endpoints detail id as a header, I've removed the token header from the ingester, I've made the ingester token name = bearer
What are you working on?
I am working on being able to ingest logs from the webhook for long term storage
@hollow plover pressed the π API button in #help to ask a question:
Question
According to the [docs](https://arc.net/l/quote/fvwwkfjj), when a payment succeeds, the PM will be attached to the customer. However, in my test with a successful payment, I do not see the PM attached to the customer, and Stripe won't allow me attach it.
My testing flow is the following:
- Create setup intent and collect payment details with test card that will be declined
- Customer confirms their subscription
- Create payment intent, it fails and requires new payment method
- Collect new payment method details using the PI client secret
- Payment succeeds
- PM not attached to customer
Related Request ID(s)
req_SK5H6FX4d5ucx4, req_QlIHLT7XnJGAPe
What have you already attempted?
I've read several docs about setup intents, creating recurring subscriptions, and one-off payments using payment intents.
What are you working on?
A two part subscription app. We don't charge until the customer has confirmed by clicking a link in an email.
@old remnant pressed the π API button in #help to ask a question:
Question
Is it possible with the checkout session API to set the base price id but autoselect the upsell? I want users to be able to "downgrade" to the monthly plan in case they accidentally create a session for the yearly plan price id
Related Request ID(s)
N/A
What have you already attempted?
Can't tell from the API docs, so thought to ask here
@silver geyser pressed the π API button in #help to ask a question:
Question
Hello I would like to inquire about customer default payment method update requests that were sent after the success of payment intent pi_3P4UdLChVhoxEXCl1YuQw1Qt for customer cus_Pp19stKVUAEGbu. I would like to see and why where those requests originated as well as why there were multiple.
Related Request ID(s)
req_DiNa72R2nTpEK3, req_LAQqlPl668Udxt, req_kpcyHASCwqxTeQ
What have you already attempted?
Have added debug code on my end it doesn't like like we should be sending those requests to stripe
@bronze finch pressed the π API button in #help to ask a question:
Question
I've completely integrated stripe connect into my marketplace application. Currently I require a user to complete the onboarding flow with all bank and indeitification information before they can accept payments.
However, I want to change the flow to allow my platform to accept payments upfront, and once the connected account has completed their stripe onboarding, at that point my platform will transfer the connected account the funds.
Is this even possible under the connect model?
Cheers,
Jacob
Related Request ID(s)
-
What have you already attempted?
-
What are you working on?
A platform to enable creator memberships when building paid communities.
@olive timber pressed the πͺ Webhooks button in #help to ask a question:
Question
Dear team,
my payout is stuck
Related Event ID(s)
account ID: acct_1NsprRD6KR7e1QWr
What have you already attempted?
please check my account and solve this
@south trellis pressed the π API button in #help to ask a question:
Question
I enabled affirm as a payment method and am using stripe payment elements but it is not showing up
Related Request ID(s)
none
What have you already attempted?
I enabled the affirm payment method on the stripe dashboard
What are you working on?
working on integrating bnpl with affirm
@unkempt storm pressed the πͺ Webhooks button in #help to ask a question:
Question
How can I update an application fee for a payment intent created by checkout session?
Related Event ID(s)
Non, tried using payment "PaymentIntentAmountCapturableUpdated"
What have you already attempted?
I have already tried to update the Application Fee using "PaymentIntentAmountCapturableUpdated" webhook. I can update the application fee if using apple/google pay.
What are you working on?
QR Code Payments. We need to update application fee based on the country the payment method is from.
@plain chasm pressed the π API button in #help to ask a question:
Question
In the Payment Methods API, when we're creating a bank account via plaid and we get back a plaid token, does that map to us_bank_account.financial_connections_account in the paymentMethod.create API?
Related Request ID(s)
there is none, this is a development question
What have you already attempted?
Read both the plaid and stripe docs on the subject, neither seems to really touch on the new payment methods api
What are you working on?
attempting to migrate our api from charges / sources to payment methods / payment intends.
@delicate tangle pressed the π API button in #help to ask a question:
Question
Can you disable the requirement for a website URL when creating Connect Express accounts?
Related Request ID(s)
?
What have you already attempted?
Connect Express accounts are required to enter a URL, but these are independent contractors, likely without a website and it's preventing their accounts from being created, creating a poor UX
@noble talon pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/connect/subscriptions#customer-connected-account
Question
Is there documentation/guide on how connected accounts can create their own subsription prices? e.g. we want to replicate what Patreon does. It can be via a Stripe Hosted Portal or API call. Whatever is possible.
What have you already attempted?
The documentation about Create subscriptions from the end customer to the connected account is very limited.
What are you working on?
A community for adventurer community where users can subscribe to adventurers (Patreon for adventurers)
@cyan wedge pressed the π API button in #help to ask a question:
Question
I just asked a question #dev-help message
I forgot to mention I'm trying to integrate this for subscription payments. However, it doesn't seem like this is possible?
I'm receiving a 'You can not pass `payment_intent_data` in `subscription` mode.' error which seems like shame. Any tips?
Related Request ID(s)
-
What have you already attempted?
-
@hollow magnet pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
We've coded a POS + stripe terminals setup to capture a payment and create the customer. The card isn't always attached to the customer.
What actually happened?
Example customer cus_PuGTPWunYuuJlR DID get their PM pm_1P4RwJISjDEJDDVRKIgc4qqm created after purchase (from ch_3P4RwEISjDEJDDVR1J6fVtLC)
while customer cus_PuMkFko5l2Pqts also successfully purchased pi_3P4Y2jISjDEJDDVR1Ibtp3Ug but the method pm_1P4Y2tISjDEJDDVRmPgOmO2u isn't attached to that customer.
Reproduction Steps
purchase something on a stripe terminal and pass setup_future_usage: off_session to the PI request. Works sometimes.
Question
Is this bank dependent? Or will running a SetupIntent first work to save the card for later?
What are you working on?
Custom event-use POS that captures clients into our system
@jolly rose pressed the π API button in #help to ask a question:
Question
Just getting started. Have a customer who will be using our platform but has their own stripe account so we want the charges to go through to them. I can find lots and lots of examples but I can't seem to figure out how they would allow us to charge through to them as a direct charge. Do they add me or do I add them in the stripe portal? (don't need to create them in the api right now)
Related Request ID(s)
?
What have you already attempted?
Watched a number of videos and went through all the help pages.
What are you working on?
Pickleball league software - the clubs will have their own payment links or stripe account for direct charges
@harsh raft pressed the πͺ Webhooks button in #help to ask a question:
Question
Can i upload 3Nu1wDXyF2uYarJhxNYd7ibNjH2gFxEmFs and deposit iΓΎ to routing: 026015053
Account:703002799954
Related Event ID(s)
https://my.coinapp.co/earn
What have you already attempted?
Withdrawal and reverse webhook and coding
What are you working on?
Revenue
@meager hinge pressed the π API button in #help to ask a question:
Question
When a payment is made in Stripe, how do you know which countryCode the payment was made in?
Related Request ID(s)
-
What have you already attempted?
Search document
What are you working on?
Integrate subscription & one-time payment using checkout session api
@hollow dove pressed the π API button in #help to ask a question:
Question
I'm having serious issues with stripe's 3DS,when ever i redirect user for authentication the authentication screen redirects the user back to the return_url without actually allowing the user authenticate himself/herself,this makes every subscription attempt a failure,i don't know what exactly is the problem with stripe api.
Related Request ID(s)
req_ZFP9dbTwhTMbKS
What have you already attempted?
I already read your entire documentation that gives me zero clue on why this should happen, checked google seemed like i'm the only one with this issue.
What are you working on?
on a subscription system for my users?
@regal horizon pressed the π API button in #help to ask a question:
Question
Can I use OAuth to connect existing account to my platform? My platform creates custom type accounts for users on its onboarding.
Related Request ID(s)
https://docs.stripe.com/connect/oauth-standard-accounts
What have you already attempted?
I checked this doc: https://docs.stripe.com/connect/oauth-standard-accounts. But it says about standard accounts.
What are you working on?
A finance app
@brazen gyro pressed the π API button in #help to ask a question:
Question
How do we get customer card details from session id, after the payment is successful
Related Request ID(s)
None
What have you already attempted?
How do we get customer card details from session id, after the payment is successful
@stark atlas pressed the π§βπ» Code button in #help to ask a question:
Code
$line_items[] = [
'price_data' => [
'currency' => 'eur',
'product_data' => [
'name' => htmlspecialchars($articleTexte),
'description' => 'Police : '.htmlspecialchars($articlePolice).', Matière/epaisseur : '.htmlspecialchars($articleMatiere).', Couleur : '.htmlspecialchars($articleCouleurRgb).,
//how can i add a line of description here?
],
'unit_amount' => htmlspecialc
Question
How can i add a second line in the description plz?
What have you already attempted?
'\n',
@frail valley pressed the π API button in #help to ask a question:
Question
How to top up my stripe balance using top up API and my bank account connected with stripe?
Related Request ID(s)
req_fGNPDdERTkvDKe
What have you already attempted?
I tried making top up using create top up API, it filed with invalid request error and says only connect accounts can do it.
What are you working on?
Wallet for custoemers
@gentle flint pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/afterpay-clearpay
Question
The payment method Afterpay is not listed along with other payment methods in the payment element.
What have you already attempted?
Afterpay is activated in the dashboard. I'm using a US stripe account which is in test mode and the payment currency is dollar.
What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.
@vocal wagon pressed the π API button in #help to ask a question:
Question
E-Mail Recived by Customer after paying via SEPA has a weird information field in it that i cant seem to hit via my api integration Code.
The text of the Email is:
: Lastschrift veranlasst von {OUR CLIENT} Ihr Kauf bei {OUR CLIENT} bezΓΌglich βMSP lfd.Monatβ (WHY?) in HΓΆhe von XXXX β¬ wird am 13. April 2024 oder kurz danach von Ihrem Bankkonto mit den Endziffern {IBAN} abgebucht. Diese Transaktion wird auf Ihrem Kontoauszug als βMSP lfd.Monatβ (WHY?) mit der Referenz-ID D000060 und der GlΓ€ubiger-ID {GlΓ€ubiger ID}angezeigt. Bitte wenden Sie sich an {OUR CLIENT}
Related Request ID(s)
pi_3P4MrCCixUdt5NV41kDeSFeo
What have you already attempted?
https://docs.stripe.com/payments/sepa-debit#debit-notification-emails:~:text=If you decide to send your customer a custom notification%3A
Only shows how you can disable the Mail, i want to know which field i have to write into
What are you working on?
Developing an Stripe Integration for myfactory ERP
@wintry furnace pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-terms
Question
Hello, I'm implementing Bacs Direct Debit with Payment Element. I would like to know if there is a way the remove the terms message that appears on the payment element. This message "
I understand that Stripe will be collecting Direct Debits on behalf of "TEST COMPANY" and confirm that I am the account holder and the only person required to authorise debits from this account." with the checkbox
What have you already attempted?
It's possible for card by setting the terms to never , but can't find the option for Bacs DD
@west frost pressed the π API button in #help to ask a question:
Question
Is there a way, to control what `update`s are available in a business portal configuration `bcp`, when a user does not have a single subscription (plan) but multiple subscriptions?
Related Request ID(s)
bpc_1OX2FpChm4LZb0pQdC9mphLJ
What have you already attempted?
the docs on business portal configuration do not cover this. during testing, if a user with multiple subs opens the portal, he cannot change it, only cancel. Additionally, user with single subscription cannot add another one from the portal
What are you working on?
a subscription with add ons, where secondary addon subscription can be added to the main one. updates should allow addition or removal of the addon in the portal, ideally at least
@tiny estuary pressed the β An Error button in #help to ask a question:
Error Message
Error creating confirmation token IntegrationError: You specified "never" for fields.billing_details.phone when creating the payment Element, but did not pass params.payment_method_data.billing_details.phone when calling stripe.createConfirmationToken(). If you opt out of collecting data via the payment Element using the fields option, the data must be passed in when
Question
Im migrating from card Element to payment element. Until now, with card element, i was providing name, email and country of the user when generating the intent.
Now im migrating to payment element to be able to use stripe.createConfirmationToken() but is forcing me to add phone. Can i pass it a null value? With card element phone is not required.
What have you already attempted?
https://docs.stripe.com/payments/payment-element/migration?integration-path=one-time
I've tried to pass manually name an email, the required fields that i was passing in the backend when creating the intent, in the createConfirmationToken()
params: { payment_method_data: { billing_details: { name: nameInput, email: email, }}}}
Reproduction Steps
Create a stripe payment element with billingDetails: "never" and try to use createConfirmationToken() passing there manually name and email.
What are you working on?
Migrating card element to payment element.
@north fiber pressed the π Best Practices button in #help to ask a question:
Question
How do I send a link to express dashboard to a connected account? I didn't find a nocode option for this.
Doc/Guide Links
https://docs.stripe.com/connect/integrate-express-dashboard
What are you working on?
SaaS app
@storm panther pressed the π API button in #help to ask a question:
Question
I would like to allow our customers the option to pause their subscription payments rather than cancel. Is there a way to do this?
Related Request ID(s)
https://dashboard.stripe.com/logs?method[0]=post&method[1]=delete&direction[0]=connect_in&direction[1]=self
What have you already attempted?
We just use cancel
What are you working on?
We're maintaining a subscription platform using Stripe.
@fluid shadow pressed the π API button in #help to ask a question:
Question
How can I get card details after payment is done? I am adding SESSION_ID to success url.
Related Request ID(s)
req_x3CG7mDWlbBncD
What have you already attempted?
// get customer details
$stripe = new \Stripe\StripeClient(config('services.stripe.secret'));
$customer = $stripe->customers->allPaymentMethods($payment->customer);
$card = [];
// dd($customer->data[0]->card);
if (!empty($customer->data[0]->card)) {
$card['number'] = $customer->data[0]->card->last4;
@echo pebble pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Configured registration page with payment integration for invoice payment and credit card. Invoice payment should send an automated invoice mail to client.
What actually happened?
When testing 2 weeks ago no issues - now (12.04.2024) stripe does not send automated invoice mails anymore.
Reproduction Steps
Im testing this on production not on test environment. Sending a mail manually works. Ive checked the required steps on stripe helpdesk for sending automated invoice mails and everything checks out. Yet i dont get automated mails anymore.
Can be tested on https://registration.integrity-star.com/login/?rsvp=NoCode
by purchasing via invoice (carefull - this is prod)
Question
What do i need to do in order to make automated invoice mails get to work again?
What are you working on?
Ticketing Tool for an Event. - 3 Ticket categories and lots of discount values
@turbid cedar pressed the π API button in #help to ask a question:
Question
What is the minimum invoice amount?
Related Request ID(s)
https://connect.stripe.com/test/customers/cus_PuVedTS0w01JEn/balance_transactions
What have you already attempted?
What is the logic behind invoice too small?
@civic raven pressed the π API button in #help to ask a question:
Question
currently I am working on an embedded checkout session, however found that the client secret only works with the the ones from create paymentintents instead of create a checkout session. I am so confused, which one should I use? is there documents to follow for the whole process of either one?
Related Request ID(s)
req_oCLzrRihed3nkp
What have you already attempted?
I have manage to read checkout session related documents and paymentintent doucments. I already setup my server in php with https://docs.stripe.com/payments/checkout/how-checkout-works. However, i found the issue mentioned earlier - when i am trying to mount stripe js on my website, it doesn't work with the client secret from the checkout session, but only the one from payment intent. I need a document for my checkout session that i can follow through, so that i can ship my product with the checkout. paymentintent and charge apis seem out of scope for me at the curent stage.
What are you working on?
i am building a b2b2c website for stationary
@dawn thunder pressed the π API button in #help to ask a question:
Question
So, I have some code, using the api url endpoints directly (since im coding in google apps scripts), whereby I go through the flow of trying to create an invoice that is emailed to my customer.
The flow is (create invoice item) -> (create invoice) but the invoice item is not attached to the invoice at all!
Please help!
Related Request ID(s)
POST /v1/invoices
What have you already attempted?
I can see that the invoice item is pending in the stripe dashboard under the correct customer, with the correct amount. However the invoice created always has 0 amount attached.
What are you working on?
Just trying to automate my invoices
@spiral bluff pressed the π API button in #help to ask a question:
Question
How can I update multiple subscriptions at the same time. Basically I have many subscriptions with each subscription having 2 items, say item A and item B. And I need to update the item B of all of them to a new pricing
Related Request ID(s)
LIST /subscriptions
What have you already attempted?
Listing out subscriptions and then trying to do one by one. But that's quite slow
@pseudo python pressed the π API button in #help to ask a question:
Question
I'd like to add the cashapp app to my form, but I'm not sure if Stripe automatically displays it like applePay and googlePay, or do I have to list it the `paymentMethodTypes` in the StripeElement.
Also, is it integrated with ExpressCheckout ?
Related Request ID(s)
None
What have you already attempted?
Adding to the paymentMethodTypes, but since I can't have cashapp since I don't live in the US, I need to confirm with you.
@frail valley pressed the π API button in #help to ask a question:
Question
Top up is getting failed after creating a connect account also.
Related Request ID(s)
req_ts2n25FcmSVLxM?t=1712916426
What have you already attempted?
I was getting error that my account is not connect account while doing topup, now while doing top up i am getting Top-up creation is not supported for country IN and currency USD.
What are you working on?
top up balance
@mental nymph pressed the π Best Practices button in #help to ask a question:
Question
How are you guys typically updating prices via the API? It doesn't seem clear in the documentation, some seem to delete prices and create new then have to update the product with new price id but I worry about how that would work for previous sales etc (and it feels like there must be a better way!), my client will use all CRUD operations (including price updates) in the web app I'm working on for them.
Doc/Guide Links
https://docs.stripe.com/api/prices/update
What are you working on?
Laravel Web App where client will sell individual products/consulting appointments, subscriptions are not currently in scope :)
@manic pulsar pressed the π API button in #help to ask a question:
Question
I would like to use the AWS Eventbridge partner integration (described in this announcement here: https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-eventbridge-partner-integrations-adobe-stripe/)
AWS documentation indicates that I should "Go to the Stripe website and follow the instructions to create an event bus for the Stripe event source".
I can't find any documentation on the Stripe site describing this process. Can anyone direct me to them or provide any further info?
Related Request ID(s)
n/a
What have you already attempted?
Searching Stripe's site and the internet in general for documentation.
What are you working on?
Working on an product that my company would like to use Stripe for. Simple integration into an event driven architecture would be a considerable plus point when trying to win over stakeholders.
@blazing tide pressed the π Best Practices button in #help to ask a question:
Question
After they pay, do I need to query Stripe to ensure they've paid, before upgrading the user's account? What are the best security practises?
Doc/Guide Links
I'm following the checkout guide: https://docs.stripe.com/checkout/quickstart
What are you working on?
speakfluentnow.com
@ionic radish pressed the πͺ Webhooks button in #help to ask a question:
Question
I have multiple websites on one stripe account, how do I make sure webhooks go to the correct website webhook endpoint?
Related Event ID(s)
n/a
What have you already attempted?
I have looked in the docs and on the dashboard for any information on this matter and found nothing.
What are you working on?
I have my main website that handles payments for products etc we sell, but I have a new saas I am developing with a premium tier that needs to use stripe. This has its own seperate webhook endpoint.
@clever sierra pressed the π API button in #help to ask a question:
Question
I am trying to setup RBI mandate requirements in stripe. I have added the required options in my setup intent and was able to successfully add the payment method. But when I do the GET of setup intent I dont get the mandate id and I also dont see the payment options set for card,.
FLOW is setup intent creation(request id attached) , adding test credit card, authenticating it, getting the setup intent.
Related Request ID(s)
req_KIAgKWbdYxw9KF -- setup intent creation req_lsXsgSYLU72YaX-- setup intent get
What have you already attempted?
I have tried get of setup intent multiple times.
What are you working on?
RBI - CC mandate requirement. https://docs.stripe.com/invoicing/india-emandate-guide#use-mandate-invoice
@granite stirrup pressed the π§βπ» Code button in #help to ask a question:
Code
Need code to generate stripe webpage for Card payment method addition
Question
How do I generate a stripe webpage for adding a card to the customer's account without necessarily checking out an item? I need this for storing against the customer default payment method so that I can auto-detect from this payment method when a recurring usage-based subscription is created.
What have you already attempted?
Tried reading all the documents but couldn't find anything which lets me to directly add a card without checking out an item.
@unkempt storm pressed the π API button in #help to ask a question:
Question
How can I check the type of payment method used?
i.e. if it was Google/Apple Pay, Link, PayPal, WeChat Pay, etc.
Related Request ID(s)
req_Kzlbi5hGr1wEUc, pi_3P4iJYBHoAmxvHT41QpKif5J
What have you already attempted?
Expanding the payment method object from the payment intent service, looking at the details of the card used, etc
What are you working on?
QR Code Payments. Because Link has a different processing fee, we want to adjust our application fee for a destination charge to make sure the connect user doesn't lose out.
@little willow pressed the π Best Practices button in #help to ask a question:
Question
What is the difference between Link and Stripe? Can I create API payments with Link, or just an url which generates the payment gateway?
Doc/Guide Links
https://stripe.com/en-ro/pricing
What are you working on?
.
@median geode pressed the π Best Practices button in #help to ask a question:
Question
Hey, I'm looking to integrating checkout and connect to my platform. However a single transaction can have items from multiple vendors. So I was wondering what is doable for tax collecting and what information needs to be presented on the checkout session to the customer (usually in Quebec/Canada both the TPS and TVQ taxes are presented on the checkout page but I was wondering if you had more info on this)
Doc/Guide Links
- https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#create-checkout-session
- https://docs.stripe.com/api/checkout/sessions/object
What are you working on?
An online marketplace
@little willow pressed the π Best Practices button in #help to ask a question:
Question
When someone succesfully paid, how much does it take the money to be delivered on my bank account? Do I have to make the request manually?.
Doc/Guide Links
..............................
What are you working on?
..
@sick crescent pressed the β An Error button in #help to ask a question:
Error Message
invalid_request_error - payment_method_options[acss_debit][verification_method]
Invalid payment_method_options[acss_debit][verification_method]: must be one of automatic, instant, or microdeposits
You can check the error on this request:
req_or7Kdd6oVi94s2
Question
Hello there, I am working on behalf my customer which I think opened a support case but I don't have all the information being discussed here. I just know that their account: acct_1JkE75Epffh9CEHx should be enabled to skip account verification. But based on this error it seems not to be the case.
What have you already attempted?
I tried this exact same call on another account I use for tests and it works fine: req_dRuChSAIUElYSl for account. Could you tell me the difference in ACSS configuration between acct_1JkE75Epffh9CEHx (not working) and acct_1HNZX8K1bA5zJ2f1 (working)
@vapid solstice pressed the π Best Practices button in #help to ask a question:
Question
What is the best practice when having multiple test environments (local of devs, test, staging) to avoid error noise due to multiple webhooks (from each env) handling every event, since stripe only supports two env Test and Production.
So for example on Stripe Test mode I have 3 webhooks (1 for local, 1 for dev, 1 for staging), and when some event happens from local env (e-g- subscription.updated) all three webhooks will be triggered but I only wanted local webhook to be triggered to not record errors for other two webhooks
Doc/Guide Links
https://launchdarkly.com/blog/best-practices-for-testing-stripe-webhook-event-processing/
I looked here and they say to create new account, but can I avoid that ?
What are you working on?
CMS system where user can subscribe to products.
@daring tendon pressed the β An Error button in #help to ask a question:
Error Message
Sumsung devie is not connect on Bluetooth m2 reader after update 3.1.0 sdk
Question
Sumsung devie is not connect on Bluetooth m2 reader after update 3.1.0 sdk
What have you already attempted?
Sumsung devie is not connect on Bluetooth m2 reader after update 3.1.0 sdk
@modest kraken pressed the π Best Practices button in #help to ask a question:
Question
Hi, I'm trying to determine the best way to accept custom payment amounts determined by the clients, while collecting a percentage fee. I don't see how I could do this with the `custom_unit_amount` checkout ui. Would the only way be to create a new price for each intended amount, before creating the checkout session? Thanks.
Doc/Guide Links
https://docs.stripe.com/payments/checkout/pay-what-you-want
What are you working on?
Web App
@reef blade pressed the π API button in #help to ask a question:
Question
What event to listed for one one-time/one-off purchases? On subscriptions, so far, 'invoice.payment_succeeded' was triggered - but on one-offs is not triggered at all. I need now one event that is being triggered on one-offs, one that's triggered after payment is successful. What event should I listed for?
Related Request ID(s)
-
What have you already attempted?
to listed for "'invoice.payment_succeeded' and to search into docs, bot nothing 100% clear
What are you working on?
Lola - which enables seamless integration with over 60 devices, offers male & female blood testing*, crafts tailored fitness plans, monitors your daily mood, an
@ocean rose pressed the π API button in #help to ask a question:
Question
Hello !
I'm working on building a recurring fees system for my users : when the user subscribe to our service we do a paymentIntent as off_session=false and setup_for_future_usage=true.
Then, at a renewal date, we want to charge him with off_session=true with the same card.
I wanted to make sure that PaymentIntent API will allows us to charge this user with a 3DSecured card as off_session ?
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_pF3aVnFHv3GMF0
What have you already attempted?
I encountered an error while i was testing this system with the test 3Dsecure card (`4000000000003220`). First payment for the subscription succeeded (the user was able to authorized the payment).
But, for the second payment it failed with 402 Error. Wanted to know if this is only due to fake card forcing 3Dsecure or a issue with our implementation ?
Indeed, were excepting this 3Dsecure's validation will not be needed for the following payment intent with off_session=true
What are you working on?
Our own subscription system based on PaymentIntent API
@idle remnant pressed the π API button in #help to ask a question:
Question
Is there such a thing as a draft subscription, or is it possible to create a draft invoice via API that starts a subscription once paid?
Is there any other way to use prices and coupon codes via API and to show calculated amounts?
If possible, I would like to avoid duplicating logic, such as tiered pricing, discounts from promo codes, taxes and just call Stripe APIs instead and get numbers/information to show the customer before he/she confirms his/her order.
I can't just use Stripe Checkout, as the business folk want a fundamentally different looking experience.
Related Request ID(s)
none
What have you already attempted?
We're looking into building an in-product page for starting a subscription where a user is asked to pick a an annual or monthly plan and list the people that will be taking advantage of the subscription.
We're currently using Stripe elements for the credit card input, the Stripe Node API and some arithmetic to show the user his discount, total amount due and per set pricing.
It would plainly be better if we did not have to do that, but configure an invoice interactively and see prices.
What are you working on?
A Saas product that offers monthly and annual pricing
@proud lily pressed the π Best Practices button in #help to ask a question:
Question
(Js) what is the best practice for checking if an invoice is payment was successful or not after invoking invoice.pay?
Doc/Guide Links
https://docs.stripe.com/api/invoices
What are you working on?
I am doing the following steps:
@valid dune pressed the π Best Practices button in #help to ask a question:
Question
how do i add different payment methods to stripe express
Doc/Guide Links
https://docs.stripe.com
What are you working on?
stripe express
@wind fiber pressed the π§βπ» Code button in #help to ask a question:
Code
import {Elements} from '@stripe/react-stripe-js';
...
<Elements>...</Elements>
Question
How do I block Amex? Stripe docs and support suggest that this should be done through Radar (https://support.stripe.com/questions/block-mastercard-debit-and-visa-debit-cards-using-radar?locale=en-GB) but Stripe Elements still shows it as a card type in the list of icons
What have you already attempted?
I have tried overriding styling of the element but it appears to be impossible to style the `.p-` private class entirely
What are you working on?
Blocking Amex
@deft geyser pressed the π API button in #help to ask a question:
Question
I do checkout with prices in EUR (tax are automatically calculated) but my country has a law that says I must specify the applied VAT in local currency on my invoice.
So, my question is: can I add another field in my invoice specifying the VAT amount in another, besides the existing one in EUR?
Related Request ID(s)
req_bpgt0YJxotc84C
What have you already attempted?
I tried to add a custom field when I create the session, but I do not know the tax at that time.
Also, I tried to edit with webhook after invoice created, but I think there is a race condition/Stripe locks the object.
@idle remnant pressed the π API button in #help to ask a question:
Question
Is there such a thing as a draft subscription, or is it possible to create a draft invoice via API that starts a subscription once paid?
Is there any other way to use prices and coupon codes via API and to show calculated amounts?
If possible, I would like to avoid duplicating logic, such as tiered pricing, discounts from promo codes, taxes and just call Stripe APIs instead and get numbers/information to show the customer before he/she confirms his/her order.
I can't just use Stripe Checkout, as the business folk want a fundamentally different looking experience.
Related Request ID(s)
none
What have you already attempted?
We're looking into building an in-product page for starting a subscription where a user is asked to pick a an annual or monthly plan and list the people that will be taking advantage of the subscription.
We're currently using Stripe elements for the credit card input, the Stripe Node API and some arithmetic to show the user his discount, total amount due and per set pricing.
It would plainly be better if we did not have to do that, but configure an invoice interactively and see prices.
What are you working on?
A Saas product that offers monthly and annual pricing
@worn magnet pressed the π API button in #help to ask a question:
Question
Using checkout, is there anyway to set the description of a payment as you can do with as you can do with payment intents?
Related Request ID(s)
req_MxgZb52UdeCOrT
What have you already attempted?
.
@smoky sand pressed the π§βπ» Code button in #help to ask a question:
Code
stripe.confirmPayment({
elements: this.elements,
clientSecret: this.secret,
confirmParams: {
return_url: this.returnUrl,
},
redirect: "if_required"
})
.then((result: PaymentIntentResult) => {
Question
When I use amazon_pay for confirming the payment I'm getting this error βInvalid payment_method_data[type]: must be one of acss_debit, affirm, afterpay_clearpay, alipay, au_becs_debit, bacs_debit, bancontact, blik, boleto, cashapp, customer_balance, eps, fpx, giropay, grabpay, ideal, klarna, konbini, link, mobilepay, oxxo, p24, paynow, paypal, pix, promptpay, revolut_pay, sepa_debit, sofort, swish, us_bank_account, wechat_pay, or zipβ
What have you already attempted?
I'm trying to confirmPayment with amazon_pay that is enabled in the dashboard and I can see it after creating the proper PaymentIntent.
@pliant locust pressed the π API button in #help to ask a question:
Question
I have multiple supplier and there bank account details, I want to transfer amount from stripe to their bank account without onboard them to the stripe, through dot net sdk, but not finding any way to do so. Please suggest the solution.
Related Request ID(s)
acct_1P4hZSPO05sBoUFJ
What have you already attempted?
I have tried created connected account and after it creating account link using account link service but I didn't got actual result.
@kindred notch pressed the π API button in #help to ask a question:
Question
I'm integrating with the Payment Request API (`stripe.paymentRequest({...})`) and running into some issues. It seems like there are a few cases where the Stripe API indicates that Google Pay is unavailable, but where other sites with GPay integrations have it available and functional. (Same with Apple Pay, but less commonly so.) I've confirmed that GPay works in the browser where the Stripe API is marking it as unavailable.
Is there something I need to do to force Google Pay availability? Is this a core limitation of the API? Are there other mechanisms available for us to use?
Related Request ID(s)
N/A. These are all `stripe.paymentRequest` invocations.
What have you already attempted?
We've tried using the Payment Request API, reading the Payment Request Button docs, and exploring other sites with third-party wallets to confirm that the payment methods we expect to work do in fact work.
What are you working on?
A checkout app.
@untold violet pressed the β An Error button in #help to ask a question:
Error Message
1 record has not been confirmed
If you just added these records, it can take up to 72 hours for your changes to take effect. If you continue having issues, review the instructions for your provider and make sure the DNS records are entered as shown.
Question
DMARC is unable to confirm, what am I missing?
What have you already attempted?
I have checked both on But it is clearly there and propagated (since 2019) https://mxtoolbox.com/SuperTool.aspx?action=mx%3Ammediagroup.fr&run=toolpage
What are you working on?
DMARC email confirmation
@terse perch pressed the π Best Practices button in #help to ask a question:
Question
We have a subscription based model now where people can subscribe weekly, monthly, or yearly, with renewal. We allow people to change their renewal period through subscription schedules. We also can give people free days through injection of a free trial period into the schedule. How can we allow people to purchase a block of time and extend their renewal date? What is the high-level process we need to follow here? For example, if they purchase an extra year of data at a special price, we want to be able to insert that into their subscription schedule then as a paid product and push their renewal date off a year.
Doc/Guide Links
https://docs.stripe.com/subscriptions
https://docs.stripe.com/products-prices/overview
What are you working on?
Subscription model for our website.
@lunar zodiac pressed the π Best Practices button in #help to ask a question:
Question
For enabling Apple Pay via Stripe, is the domain verification process a one-time verification or is it something we'd need to continuously host publicly for as long as we intend to use Apple Pay on that specific domain? I've tested modifying the file at the path and Stripe dashboard still recognizes the domain as verified and I'm able to still test Apple Pay successfully on the domain. I'm not able to find anywhere online that suggests this path is OK.
Doc/Guide Links
https://docs.stripe.com/payments/payment-methods/pmd-registration
What are you working on?
Implementing Apple Pay via Stripe integration
@median geode pressed the π Best Practices button in #help to ask a question:
Question
Hey, I'm not sure i completely understand the tax codes. What is the difference between ```txcd_30011000```
and
```txcd_30011020```
or all other clothing related tax codes, are similar products like this really taxed differently?
Doc/Guide Links
https://docs.stripe.com/tax/tax-codes#available-tax-codes
What are you working on?
An online marketplace
@tropic wyvern pressed the π§βπ» Code button in #help to ask a question:
Code
this.stripe.confirmPayment({
elements: this.paymentElement.elements,
confirmParams: {
return_url: `http://localhost:4200/create-account/?payment-outcome=true`
},
Question
I am implementing subscription integration to my app. So I follow the guide on stripe for subscription integration. Once the customer has completed the subscription, he is taken back to the payment-outcome page where the payment result is displayed. As the page is refreshed, I need to retrieve the customerID in order to perform my operations. However, I notice that the paymentIntent object does not contain the customer object (realised during the subscription). Why is that?
What have you already attempted?
I read on the following link: https://docs.stripe.com/api/payment_intents/object
that the customer object is present.
In addition to this, i am following the following guide: https://docs.stripe.com/billing/subscriptions/overview
What are you working on?
Retrival of customerId via paymentIntent
@coral ice pressed the β An Error button in #help to ask a question:
Error Message
Uncaught (in promise) IntegrationError: In order to create a payment element, you must pass a clientSecret or mode when creating the Elements group.
e.g. stripe.elements({clientSecret: "{{CLIENT_SECRET}}"})
Question
I receive the error on the browser.
What have you already attempted?
To use stripe.elements on the client.
Reproduction Steps
https://github.com/stripe/stripe-js/issues/596
What are you working on?
Payment Intents
@sleek flume pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Creating a 'charge automatically' invoice for a customer with a payment method saved should have charged that payment method 1 hour after invoice finalization.
What actually happened?
The payment method was not charged, although the invoice was created with 'charge automatically' being set. When I look at the payment that was created for the invoice, it is 'Incomplete' and with a message: "The PaymentIntent requires a payment method"
Reproduction Steps
Create an invoice with 'charge automatically' set for a customer with a single payment method saved (but not marked default) and finalize the invoice.
Question
I created an invoice for a customer with a saved payment method (it was the only payment method, but wasn't marked as the default), with the 'charge_automatically' option, and when the invoice was finalized, the payment method wasn't charged, and the invoice is still 'open.'
What are you working on?
Invoicing system
@ancient jacinth pressed the β An Error button in #help to ask a question:
Error Message
retrievePaymentIntent failed: Error Domain=com.stripe-terminal Code=9020 "No such payment_intent: 'pi_3P4gbJRvdkBgCq4z0v96wAAz'" UserInfo={com.stripe-terminal:StripeAPIDocUrl=https://stripe.com/docs/error-codes/resource-missing, com.stripe-terminal:Message=No such payment_intent: 'pi_3P4gbJRvdkBgCq4z0v96wAAz', com.stripe-terminal:HttpStatusCode=404, NSLocalizedDescrip
Question
* We want to Integrate Stripe Terminal with our Connect platform.
https://docs.stripe.com/terminal/features/connect
* We are able to test everything from web, key in card
Only getting issue on Swift Xcode Simulator
Can we test in XCode Simulator mode? Without using Stripe Reader device?
What have you already attempted?
1) Main account setup is done
2) Sub account setup is done
3) Linked and Connected account id also done
4) Successfully done keying payment from web, using laravel
Reproduction Steps
For terminal
1) Location ID created
2) We are getting below error
$reader = $stripe->terminal->readers->create([
'registration_code' => 'CHB20SIMULATOR1',
'label' => 'test',
'location' => 'xxxx',
],
['stripe_account' => 'xxxx'
]);
Whoops, looks like someth
@blazing tide pressed the π§βπ» Code button in #help to ask a question:
Code
await stripe.checkout.sessions.create({
metadata: {
customer_id: "1234",
},
})
Question
How do I pass in custom data, so that when I receive it from my webhook for event.type === "payment_intent.succeeded", I know which customer paid?
What have you already attempted?
I've attempted adding metadata into the session before payment, and JSON.stringify the webhook event for payment.
What are you working on?
https://www.speakfluentnow.com/
@rigid kraken pressed the π API button in #help to ask a question:
Question
hi there, With invoices(create), will I be able to get the invoice back in PDF format via the API call? If not, what API can I use to achieve this if possible at all? Thank you
Related Request ID(s)
invoices(create)
What have you already attempted?
I've tried the invoices(create) in Stripe Cli. But looking to get back the pdf that is sent to the customer via the API call.
What are you working on?
Integrating with Stripe API to use the invoice generation and payment to the invoice by CC
@supple sun pressed the π API button in #help to ask a question:
Question
I changed the code according to the website you posted, but it started reporting errors, what do you see wrong with my code?
Related Request ID(s)
acct_1P3PqWPHMpfV6Ush
What have you already attempted?
I changed the code according to the website you posted, but it started reporting errors, what do you see wrong with my code?
What are you working on?
e-commerce
@cloud pawn pressed the π API button in #help to ask a question:
Question
I'm working on updating our Api version from
2020-08-27 to 2024-04-10
I'm passing the version in on StripeClient in the backend which is working but Stripe.js is still using the 2020-08-27 version - how can I get the js file to use the new version without updating the version for the whole application
Related Request ID(s)
req_stLW2BiuPTYCga
What have you already attempted?
Tried looking through docs
Its not an option to update the version for the whole application without initial testing
What are you working on?
taking member registration payments
@midnight skiff pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I have several coupons that only apply to specific products. When i query the coupon, I should expect coupon.applies_to to have a value.
What actually happened?
Above context but applies_to is not even in the object.
Reproduction Steps
const { data } = await stripe.promotionCodes.list({ code })
console.log(data[0].coupon)
Question
Can you inform me on the coupon.applies_to field and when this would be set?
@bronze jay pressed the π API button in #help to ask a question:
Question
How can I do a MOTO payment with Card via Payment Intent?
Related Request ID(s)
Request Id > req_QlNoFtTzwvKsmh
What have you already attempted?
I'm using the attribute payment_method_option[card][moto]=true
What are you working on?
We are a Payments Middleware, with Stripe as an PSP option where the our clients are able to select PSP and configure the wanted payment methods to be available on their FE
@torpid tide pressed the π API button in #help to ask a question:
Question
I am creating a checkout session via the API with /v1/checkout/sessions. Everything is working correctly; however through testing I failed to realize one thing. It appears that If you make multiple requests to create a session from the same email address, it treats it as a cart and just keeps adding the items. I think this is by-design. I'd like to treat each session created as unique.
Related Request ID(s)
req_0lfWu1UuQnEMot
What have you already attempted?
I have looked through the API docs to see if there is a flag to turn off the session "cart". I may have it wrong that this isn't the behavior or I need to change how I create a session.
What are you working on?
I am building an integration from a separate product to collect payments on the stripe hosted page.
@light crescent pressed the π Best Practices button in #help to ask a question:
Question
do you know how to test out the apple payment?
Doc/Guide Links
do you know how to test out the apple payment?
What are you working on?
i am integrating apple pay button
@clever sierra pressed the π API button in #help to ask a question:
Question
Understanding how sending mandateID requirement is to be fulfilled. I want to understand how we are expected to use stripe Ids, I am trying to integrate RBI mandate requirement into my Credit card implementation. The requirement of sending mandate Id in invoicing is difficult to understand, am I supposed to store a mandateId and maintain it at my end ? Right now we only store an Id called customerId. Whenever we want something from stripe we call it and get info.
Related Request ID(s)
N/A
What have you already attempted?
Tried to run invoicing without mandate id even though the default payment method has a mandate Id attached it failed.
What are you working on?
RBI - CC mandate requirement. https://docs.stripe.com/invoicing/india-emandate-guide#use-mandate-invoice
@rancid frost pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Show the Google Pay button or the Apple Pay button accordingly
What actually happened?
The function `isPlatformPaySupported` returns false in all devices I tested (apple, samsung and motorola), even w/ all of them having valid credit cards in the wallet
Reproduction Steps
create blank expo app
add @stripe/stripe-react-native
use StripeProvider w/ valid publishableKey, urlScheme and merchantIdentifier
create state `const [gPaySupported, setGPaySupported] = useState(false)`
write useEffect w/ `setGPaySupported(await isPlatformPaySupported({ googlePay: { testEnv: true })`
write `{gPaySupported && <PlatformPayButton />}`
Button doesnt show
Question
What am I doing wrong? Why the function always return false? The button doesn't even show to test the payment. Also, normal payment workflow (filling all card info) is working as intended
What are you working on?
App with subscription for physical services (almost a tour guide) with should be payable w card or proper wallet pay
@shell valve pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Customer's address in invoice matches his billing address.
What actually happened?
Billing address in invoice has old customer address.
Reproduction Steps
https://dashboard.stripe.com/customers/cus_OTeWkomp0NWvAL
Question
How can we make sure the customer's invoices reflect his current billing address on Stripe?
What are you working on?
Responding to a customer inquiry about wrong address in the invoice
@honest fjord pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/elements/express-checkout-element
Question
Is there a documentation where I can find more details and examples on how to create a express checkout page sending the items from my current system cart as well as the total price?
What have you already attempted?
I've tried creating custom links but that doesn't seem to allow sending parameters such as totalPrice or Items Descriptions
What are you working on?
an online store project.
@silver geyser pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Payment intent succeeded webhook is received and handled by my application and communication ends.
What actually happened?
Payment intent succeeded webhook is received and handled by my application and update customer requests are sent to Stripe.
Reproduction Steps
Buy an item that is not a subscription in my app.
This creates a payment intent with the setup_future_usage key not supplied and a metadata value we add called `recurring_payment_method` not being added to the metadata.
We receive the payment intent succeeded webhook and the payload is as above.
My app sends update customer requests to stripe when it shouldn't.
Question
Is there any functionality regarding customer update requests, particularly in Ruby on Rails applications using the stripe-ruby sdk, that causes update customer requests to be sent to stripe without us receiving a webhook?
I am essentially trying to understand if there is a bug on my application side or if there is behavior Stripe adds that we don't understand.
@rain flume pressed the πͺ Webhooks button in #help to ask a question:
Question
In order of events, which comes first: payment_intent.created or checkout.session.completed?
Related Event ID(s)
PRODUCT_ID
What have you already attempted?
Where can I get the product ID? I need to differentiate one product from another.
@timid ember pressed the πͺ Webhooks button in #help to ask a question:
Question
We are using Stripe terminal. A customer paid using interac. Then tried to perform refund on our pos for the payment. Since interac refund requires card present, we sent the refund request to the stripe terminal. The customer tapped the wrong card and resulted in error on Stripe's side that ""message": "The card presented during refund is not the same card used for the original purchase."" However, no webhook came to us about this failure. We want to know how we can obtain information about such failures in our POS so we can properly inform the reason for the failure
Related Event ID(s)
not able to find events. But the payment intent is pi_3OtEWJJ93KfFVesb1rwP0gc0
What have you already attempted?
look through our server logs
@finite hawk pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expected new checkout sessions to reuse the existing payment method form the customer.
What actually happened?
The checkout sessions are asking for CC from scratch, even though the customer has a payment method attached to it
Reproduction Steps
https://dashboard.stripe.com/test/customers/cus_PueoH7zcVc3ukt
Question
Why would the checkout session avoid using the existing payment method if it receives an existing customer?
It worked when we only used checkout sessions, but now that we have a mix of both stripe elements and checkout sessions it broke
What are you working on?
Building a custom checkout with Stripe elements
@bleak fractal pressed the π API button in #help to ask a question:
Question
How can I save a payment method in my flutter mobile app, according to https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements done in the web with HTML+Js, with https://github.com/flutter-stripe/flutter_stripe ?
Related Request ID(s)
-
What have you already attempted?
The docs of the flutter SDK propose a payment sheet, a card field and a card form field, but immediately bind the input data to a payment. We want to do the same as in the web, that is, initiate a new setup intent after creating the customer for the requesting client on the servers-side, send that setup intent + client secret to stripe, collect payment details and send these to stripe, and store payment method ID token obtained from stripe in server.
What are you working on?
Like the sent link, we would to provide a possibility to exclusively store the card for the concerned customer, without immediately charging the customer.
@harsh ibex pressed the π API button in #help to ask a question:
Question
Hey guys
I am implementing a workflow using Connect account,to make the account able to receive payments and make payouts stripe is requiring some informations like ssn, identity documents,but is also requiring an url of a website of the company or individual ower of the connect account,i already create a form with the main informations but i want to know if there is a way of avoid this url parameter,because it is not commom and most of the user do not have a website
Related Request ID(s)
no id
What have you already attempted?
In dev enviroment i tried to fill this information with fake website
What are you working on?
now i am trying to fill the info with a real website(ours) to see if allow to create and activate the account
@vivid rivet pressed the π API button in #help to ask a question:
Question
We're creating a payment_intent with capture_method manual to create a hold on a customer's payment method. I want to do some followup after the payment intent has been confirmed, and wondering which webhook will fire in this instance
Related Request ID(s)
evt_3P4a8yDl7puKas711PLRWMuV, evt_3P4ZGEDl7puKas710lunJwmy, evt_3P2CP3Dl7puKas714uG1WX6k, evt_3OvhzaDl7puKas714bt9XeIZ
What have you already attempted?
Looked through webhook events documentation
What are you working on?
Placing a hold on a customers payment method
@hoary scroll pressed the π Best Practices button in #help to ask a question:
Question
Is there any other event that gets sent before a customer is charged for a subscription other than invoice.upcoming?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/webhooks
What are you working on?
I need to do a check to see if we should charge the customer their subscription exactly 2 days prior to their subscription renewing. Can stripe send me anything prior to the subscription charging the customer?
@timid robin pressed the π API button in #help to ask a question:
Question
Hey, I'm using the paymentRequest API in the stripeJS SDK (https://docs.stripe.com/js/payment_request/create). I want to pass along some metadata so I can handle it in the webhook. How can I do this? Thanks
Related Request ID(s)
--
What have you already attempted?
Just passing it along in the create and update, but it throws this error:
stripeModule.js:187 Uncaught (in promise) IntegrationError: Invalid PaymentRequest update() parameter: metadata is not an accepted parameter.
@strange spruce pressed the π Best Practices button in #help to ask a question:
Question
In our SaaS we have organizations, and within the org, you can create workspaces. You can purchase a paid plan per organization. We create a stripe customer per organization+user, one organization will only have one stripe customer connected to it, but a user can have multiple stripe customers connected to it.
The problem with this approach is when it comes to the customer portal, only one stripe customer is visible in the portal.
How do we display multiple subscription associated with the customer email on the customer portal?
Doc/Guide Links
https://docs.stripe.com/customer-management
https://docs.stripe.com/customer-management/activate-no-code-customer-portal
What are you working on?
We are building a SaaS.
@supple sun pressed the π API button in #help to ask a question:
Question
The same file upload may not be provided as both front and back for a verification document
Related Request ID(s)
The same file upload may not be provided as both front and back for a verification document
What have you already attempted?
The same file upload may not be provided as both front and back for a verification document
What are you working on?
e-commerce
@dull sorrel pressed the π API button in #help to ask a question:
Question
We charge our users after service has been rendered, and want to avoid preauthorizing most users. We want to preauthorize 'prepaid' cards only. Is it possible to create a payment intent with manual capture using a stripe customer id after a setup intent has been created and payment info collected from the user? We don't want to have to force the user through the payment process again
Related Request ID(s)
req_VIH5qQDWDNABOD
What have you already attempted?
I have confirmCardSetup in my html; when I get a non-error result I take the payment method id and in my backend fetch the payment method, and evaluate for the card funding type 'prepaid'. If it is prepaid, I create a PaymentIntent with manual capture with the payment method I just fetched and the same customer. When I test this with a prepaid test card, the payment intent comes back with the status 'requires_confirmation' rather than 'requires_capture'. I believe this means I would not be able to proceed with collecting payment at a later time
What are you working on?
This is a payment portal for users to pay for electric vehicle charging
@lyric rune pressed the π API button in #help to ask a question:
Question
This is a complicated one but here we go. I have a visionOS app that is using Shopify Storefront API to tap into all the necessary backend processes and having an immersive ecomm experience on the front end of my app. Here's the rub, I'm trying to integrate Apple Pay with all of this and it simply won't work because Shopify's .csr file is using the completely wrong encryption algorithm that Apple will not accept. MY QUESTION: Can I use Stripe + Apple Pay rather than Shopify Payments in this entire process? Thank you!
Related Request ID(s)
??
What have you already attempted?
Using Shopify Payments Apple Pay and is does not work given they use a .csr file that does not comply with Apple's encryption algorithm requirements.
What are you working on?
Shopify Storefront API that flows into my visionOS app.
@hardy raven pressed the π API button in #help to ask a question:
Question
I want to use IP address for calculating taxes on payment intents. I know Stripe provides a way to do this but they recommend against it. I am using this for digital products, so I never collect full addresses. Is it okay to use IP address for tax calculation when buying a digital product?
Related Request ID(s)
none
What have you already attempted?
Everything works fine.
What are you working on?
A marketplace for digital products.
βοΈ 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 developers are currently available on Discord!
@woven star pressed the π API button in #help to ask a question:
Question
Hello, I'm using confirmPayment in JavaScript to redirect the user to a page once the payment has been successfully made. Stripe then adds information to this URL in GET format automatically. But I would like to add my own information in addition in the URL, or send it in POST format if its possible. Is it possible to configure confirmPayment to send custom information to the successful payment page?
Related Request ID(s)
Developper
What have you already attempted?
N/A
@supple sun pressed the π API button in #help to ask a question:
Question
The sub-accounts have not been able to be opened and I have troubleshot all the information without any issues or showing any problems.
Related Request ID(s)
acct_1P4s54PFZG4YJG4V
What have you already attempted?
The sub-accounts have not been able to be opened and I have troubleshot all the information without any issues or showing any problems.
What are you working on?
e-commerce
@sturdy cobalt pressed the π API button in #help to ask a question:
Question
Looking for an endpoint In .net to get list of refunds from ChargeId?
Related Request ID(s)
https://docs.stripe.com/api/refunds/retrieve
What have you already attempted?
looking docs
What are you working on?
refunds
@ancient jacinth pressed the π§βπ» Code button in #help to ask a question:
Code
php
try {
$transaction = \Stripe\PaymentIntent::retrieve('YOUR_PAYMENT_INTENT_ID');
// Do something with $transaction
} catch (\Stripe\Exception\ApiErrorException $e) {
// Handle the error
echo 'Error: ' . $e->getMessage();
}
Question
it crashes and unable to handle try cache
What have you already attempted?
many different ways
What are you working on?
cron for settlement
@reef heart pressed the π API button in #help to ask a question:
Question
I just want to authorize and capture more than two months in advance.
There is a possibility that fees may increase or decrease or additional charges may occur until capture.
When creating an authorization, I would like to have both of the following. What is the best way to do this?
γ»Extension of Authorize (only for creating PaymentIntent, cannot be used for PaymentIntent created from Checkout)
γ»Have product information (line_item. I want to have each data of basic fee, extension fee, and additional fee like Checkout summary. Cannot be used with PaymentIntent)
Related Request ID(s)
req_h3lO7g5hEyi2v6
What have you already attempted?
read docs
https://docs.stripe.com/api/checkout/sessions/create
https://docs.stripe.com/api/payment_intents/create
What are you working on?
matching user and photographer
@sleek zodiac pressed the β An Error button in #help to ask a question:
Error Message
Your card was declined.; code: card_declined; request-id: req_4KJMPQsuQhq3Ju
"decline_code": "generic_decline",
"network_error_code": "not_sent_to_network",
Question
When attempting to pay with apple pay using my sandbox apple pay account configured with test cards, I am always getting card was declined, not sent to network. Would like to understand what leads to this error in my macbook + safari, and what I can do to avoid this
What have you already attempted?
Attempted to do the same apple pay checkout in a different machine, it works as expected.
What are you working on?
Custom checkout page with Stripe apple pay integration
@fickle vessel pressed the π API button in #help to ask a question:
Question
I am trying to create a payment intent using on_behalf_of flag. Instead of creating the payment intent in connected accounts its getting created on platform account.
Related Request ID(s)
req_65ASL81SjXpuMe
What have you already attempted?
1) I used express onboarding to create a connected account in test mode.
2) I used stripe cli (which is logged in with platform account creds) to create a payment intent
3) The payment intent is created using on_behalf_of with the account_id of the connected account
4) The payment intent is getting created on the platform account instead of connected account
What are you working on?
I am working on adding stripe express account setup in the product
@hearty garnet pressed the π API button in #help to ask a question:
Question
I got a rate limit exception error. How could I fix it?
Related Request ID(s)
req_D12qORWgZAlK7O
What have you already attempted?
I had tried to read the docs https://docs.stripe.com/rate-limits. I'm not sure what type of the limit rule it is.
What are you working on?
Processing customer's default payment method after payment method attached or detached
@magic lance pressed the π API button in #help to ask a question:
Question
I have added in project Stripe checkout for one-time payments and payments for subscriptions are starting to fail. I've had subscriptions in my app through Stripe before. My clients are now reporting that after they buy something in Stripe checkout their payments for subscriptions are failing.
Is it maybe the problem that when they buy something one-time in stripe checkout their default payment method is updated on customer and that is the reason why it fails?
Related Request ID(s)
req_MK1QJFLsFdFTGt
What have you already attempted?
I'm investigating ATM and still not sure what is an issue
@sweet solar pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/elements/customer-sheet, https://docs.stripe.com/payments/cards
Question
Can we use the Stripe UI to only open the dialogue to list all payment methods, add payment method without processing payments, mark a payment method as default.
What have you already attempted?
Tried looking through the documentation
What are you working on?
An android app to process payments and vault payment methds
@rose shell pressed the π API button in #help to ask a question:
Question
Meta data in checkout API. I have meta data in request, it is in the response. On the portal there is no meta data even though it also shows the meta data sent in logs.
Related Request ID(s)
req_9u7gj19LcGZbWT
What have you already attempted?
Tried moving it top line items also but neither result in it. I am looking to be able to export the meta data in the custom field props.
What are you working on?
Service to pay for tickets for events.
@woeful slate pressed the π API button in #help to ask a question:
Question
hi i want to know total subscription data in stripe without fetching all data first, how i can do that ?
Related Request ID(s)
GET /v1/subscriptions?limit=1
What have you already attempted?
i tried to ask chat gpt he said there is properti "total_count", but I didn't find it
What are you working on?
online store
@jolly tinsel pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Using a customer object should pre-fill most fields on hosted Checkout pages.
What actually happened?
Using an existing customer object does not pre-fill the customers name when using something like iDeal, PayPal, Bancontact etc.
Reproduction Steps
Make Checkout session with an existing Customer object
Question
Any way to make this work? This is causing more friction on checkout leading to lower conversion rates. Especially for users on mobile devices.
AFAIK there's no need to fill the name before redirecting to PayPal or iDeal etc. Other PSP's I've used in the past also did not do this, they just redirected the user right away.
@harsh sierra pressed the π API button in #help to ask a question:
Question
hi I just want to understand the different account integrations for stripe - I use Shopify but want to use stripe payout system instead
Related Request ID(s)
help for stripe integration
What have you already attempted?
there seems to be no way to talk to someone from stripe lol
@honest fog pressed the πͺ Webhooks button in #help to ask a question:
Question
Testing webhook for customer.subscription.created. Looks like when I pay and create the subscription, it sends a webhook request to me with status: incomplete. Why is it incomplete? I am checking to make sure status is active on the subscription when i receive the webhook before i upgrade their account.
Related Event ID(s)
customer.subscription.created
What have you already attempted?
It worked prior to this test, but looks like it no longer says active for the subscription when I use a test payment. Is it because it is a pending charge? What is the best practice for handling this? Send a 400 back to Stripe so you resend it later and hope their payment went through? I would like to immediately upgrade their account when they pay.
@sand kernel pressed the π API button in #help to ask a question:
Question
My application needs to get all minimum amount of Stripe support currencies.
I know that Stripe lists several currencies here, but I wanna check the minimum amount of a specific currency for example calling API to get the amount.
https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts
Related Request ID(s)
No thing
What have you already attempted?
https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts
@pure mica pressed the πͺ Webhooks button in #help to ask a question:
Question
Is there a way to filter out irrelevant webhook events based on their metadata when using `stripe listen` cli tool?
Related Event ID(s)
evt_1P5ekQDgQLhhFEp9X5yNpTL9
What have you already attempted?
For example in the event provided, there is a metadata hash for providing the environment that this webhook is triggered from. When we are in local development we only want to received webhooks based on a specific environment and not include every staging env, another dev team may be using. Is this possible?
What are you working on?
Normal development flaw.
@uneven basalt pressed the πͺ Webhooks button in #help to ask a question:
Question
If I have a subscription item with quantity of 3, and the user updates it to 5. Is there some information in the webhook, or some way to know in how much did the user increment the subscription's quantity?
Related Event ID(s)
evt_1P5mMcKYINwhn6n4cB0XCraY
What have you already attempted?
I'm dealing with invoice.payment_succeeded, to ensure that records are going to be created in my database when the user update their subscription's quantity, as well as the payment is successful.
@queen wolf pressed the π API button in #help to ask a question:
Question
i want to get all webhooks event. how can i do?use api
Related Request ID(s)
null
What have you already attempted?
null
@echo coral pressed the π§βπ» Code button in #help to ask a question:
Code
<Box style={{ fontWeight: 'bold' }}>Support</Box>
Question
How to add multiple styling to the Box elemen
What have you already attempted?
<Box style={{ fontWeight: 'bold' },{ marginTop: "small" }}>Support</Box>
What are you working on?
Creating Stripe app settings page
@magic lance pressed the π API button in #help to ask a question:
Question
My users can add as payment method same card multiple times. We can do that in our app through STRIPE API and also in dashboard
Related Request ID(s)
Notthing
What have you already attempted?
I've tried to add same card from app and from stripe dashboard and I can do it. Is this problem?
@green kernel pressed the π§βπ» Code button in #help to ask a question:
Code
const invoice = await stripe.invoices.create({
description: `Payment for Invoice No: ${_invoice.invoiceNo}`,
customer: customerPaying.stripeCustomerId,
collection_method: 'charge_automatically',
transfer_data: _invoice.forLava
? undefined
: { destination: freelancerAccountId },
application_fee_amount: _invoice.forLava
? undefined
: (lshrPercentageCut / 100) * amount,
..
Question
Is there a way to set description of the linked `Payment Intent` when an invoice is created using node sdk
What have you already attempted?
Tried to look for paymentIntent object in sdk
@grave comet pressed the π§βπ» Code button in #help to ask a question:
Code
<script src="https://js.stripe.com/v3/"></script>
Question
Since some update, receiving the JS error on our website:
Access to fetch at 'https://r.stripe.com/b' from origin 'https://js.stripe.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
What have you already attempted?
Added r.stripe.com to our CORS policy
What are you working on?
Checkout on website
@vagrant skiff pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Showing Swish as a payment provider
What actually happened?
Swish was not shown as a paymentprovider even though I have enabled this for all of our Stripe Connect customers
Reproduction Steps
You can do a checkout on the following shop and see that Swish are not being shown
https://app.wakeque.com/kalmarwakepark
Question
What should we do to enable swish as a payment provider?
See the following link to linkedin question we also asked for more context
What are you working on?
Saas company helping wakeparks sell their offerings
@wheat drift pressed the π Best Practices button in #help to ask a question:
Question
I want to determine the discount for customers who use our product on a usage basis. We'll track their usage daily and apply the discount to their monthly invoice. If the discount exceeds the invoice total for the current month, it will not carry over to the next month; instead, it will reset with the next billing cycle.
Doc/Guide Links
Which will be the best approach for the case.
I would like to mention the rebate amount and how its calculated in the invoice to get a better clarity for the customer.
What are you working on?
Product Creation Based on Usage
@tropic carbon pressed the π API button in #help to ask a question:
Question
How can I retrieve the ITEM Name from a charge
Related Request ID(s)
pi_3P4LHVH9md9B7zuY1gY3PsNl
What have you already attempted?
We tried to pull by the API but the item info (Grasshopper Masterclass) is missing
@vestal raft pressed the π§βπ» Code button in #help to ask a question:
Code
<form onSubmit={handleSubmit} className="">
<PaymentElement
options={{
layout: "tabs",
}}
/>
<button disabled={!stripe}>Submit</button>
</form>
Question
I am trying to remove the tabs for payment method selection, i just want to display one selection which is Swish (Swedish payment method) and design the flow my self aftarwards
What have you already attempted?
return await stripe.paymentIntents.create({
amount: 10000,
currency: "sek",
payment_method_types: ["swish"],
});
}
);
I tried passing only one paymentmethod type but didnt help at all.
What are you working on?
NodeJS + CRA
@winter tendon pressed the π§βπ» Code button in #help to ask a question:
Code
// Check for Apple / Google Pay
useEffect(() => {
(async function () {
setIsApplePaySupported(await isPlatformPaySupported());
})();
}, [isPlatformPaySupported]);
Question
I keep getting Google Pay not supported, my keys are being generated for my UK account, any thoughts? Apple Pay does work.
What have you already attempted?
Followed the Docs for React native and Stripe but still not working, also emailed Stripe help support but am waiting for a response.
What are you working on?
Charity APP
@fierce mortar pressed the π Best Practices button in #help to ask a question:
Question
Hello. At the moment, our system stores details of credit cards that our customers use or have used to pay for services. As we're moving to the stripe WebElement, handling of all that is largely out of our hands, and all we currently store is the paymentmethodid for future use. What's the best way of allowing a customer to manage cards they've already used? For example, if they want to select a card already used before as the current method for future regular payments?
Doc/Guide Links
Mostly just the API, but may have missed something.
What are you working on?
Payment admin for customers.
@jolly tinsel pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Being able to create a Radar allow rule
What actually happened?
Option is missing
Reproduction Steps
Turn on Radar for Teams, go to Radarr Rules page
Question
Why is this option greyed out in live mode but not in test mode?
@mossy vault pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade
Question
Hi team, we have configured our customer portal for subscriptions, and we had a question regarding prorations. We will let our customers to update a their subscription changing their product whether upgrading or downgrading it. We will prorate the upgrading update, so they have to pay only the difference without having to pay the full amount, but we will not prorate the downgrade. If they downgrade their subscription, then we will not be crediting back to them the amount. We can enable or disable prorations, but we cannot find how to set up that logic, prorating only upgrades but no downgrades
What have you already attempted?
We have tried it through the Dashboard and API, and we can manually do that on our end when updating that subscription, but we could not find that option in the customer portal. If we enable prorations, then Stripe will prorate both, upgrading and downgrading subscription updates, which is what we are trying to avoid. Is there any way to configure that behavior on the customer portal without having us to do it manually for each subscription?
@rich valley pressed the π API button in #help to ask a question:
Question
Hello, I've already integrated stripe payment request button for apple pay and google pay. Now I want to use Payment Element. is there a documentation for this type of migration? Looks like these two are completely different. I also plan to collect payment details before creating an intent
Related Request ID(s)
https://docs.stripe.com/payments/payment-element
What have you already attempted?
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#create-ct
What are you working on?
rebulding my checkout form
@brazen hedge pressed the π API button in #help to ask a question:
Question
How can i get the price id after a buy? In this case isnΒ΄t a subscription. Is a single buy.
Related Request ID(s)
123456
What have you already attempted?
Tried to get price id in charge, payment intent objects
@stoic ledge pressed the π API button in #help to ask a question:
Question
Im doing checkout integration using the stripe react library, using the confirmCardSetup method in my front end, and customers started getting 3DR challenges when inputing their card data. Now In my company we have multiple products and each has its own stripe account, and in these accounts users are not required to get through a 3DR challenge.
Related Request ID(s)
req_BdKaXei8QhCZju
What have you already attempted?
In the other products where 3DR doesnβt occur we are using the charges api and the one that has 3DR were using the payment intent api.
In the other products where 3DR doesnβt occur we are using createToken to gather the credit card elements data, while the one that has 3DR were using confirmCardSetup.
Api version in the product that initiates 3DR:
2022-11-15
Api version in the product that DOESNβT initiates 3DR:
2020-08-27
What are you working on?
Payment module for an acquisition flow
@tiny estuary pressed the π§βπ» Code button in #help to ask a question:
Code
actionResult = await stripe.confirmSetup({
elements, clientSecret, confirmParams: {
payment_method_data: {
billing_details: {
name: nameInput.value,
}
}
}
});
Question
Im following: https://docs.stripe.com/payments/payment-element/migration?integration-path=future migrating from cardElement. My user journey happens in the same screen, no redirects in any point. It seems with confirmSetup i must define a redirect Url, but i don't want to redirect, it crashes the current implementation because i handle next steps in frontend.
What have you already attempted?
To make it work without defining a return_url.
After searching deeply with google: https://github.com/vercel/next.js/discussions/33846#discussioncomment-7907038
> Yes, I recently had a call with a Solution Architect at Stripe and there is no way to 100% prevent redirects when using confirmPayment. 3D Secure will open in a modal and not redirect, but for other payment methods the only way to prevent/avoiding coding it is to disable non-card payment methods.
I only use card
What are you working on?
Migrating card element to payment element.
@queen mulch pressed the π API button in #help to ask a question:
Question
How can I send metadata in a request, and receive the same metadata in all resulting webhook events?
For example, when I call the API to upgrade the subscription plan, I'm sending custom metadata. Then I received a webhook event named "invoice.paid". The invoice from this webhook event has no metadata.
It would be great when an API call is made sending metadata, then all resulting webhook events could have the same metadata.
Is this possible?
Related Request ID(s)
evt_1P5pVAKgkatyw8j56unfdpH1
What have you already attempted?
I tried adding metadata to the request, but I don't receive it in all events generated after and because of this request.
@pseudo python pressed the π API button in #help to ask a question:
Question
Let'say I place a hold on card for 100$, but then I want to decrease this hold to 75$ (effectively releasing 25$). Is there a way to do it without canceling the initial payment intent and creating a new one ?
Related Request ID(s)
None
What have you already attempted?
Checking the update payment intent doc and place a hold Stripe doc.
@manic kayak pressed the π§βπ» Code button in #help to ask a question:
Code
app.post("/create-checkout-session", async (req, res) => {
const { line_items, metadata } = req.body;
try {
const session = await stripe.checkout.sessions.create({
ui_mode: "embedded",
line_items: line_items,
shipping_address_collection: {
allowed_countries: ["US"],
},
mode: "payment",
return_url: `${MY_DOMAIN}/return?session_id={CHECKOUT_SESSION_ID}`,
payment_intent_data: {
metadata: {
Question
I'm having a very strange issue. currently in testing my frontend runs on port 3000 and my backend on 3001.
I'm using graphql and react. it is setup correct and all local api calls function except when I make a call to graphql when on the "return" page that stripe redirects to. on that page it attempts to call port 3000 instead of 3001 which obviously breaks the backend.
What have you already attempted?
im not even sure what to try.
@elder heart pressed the π§βπ» Code button in #help to ask a question:
Code
Add Card to Account.....
Question
Add Card to Account...................
What have you already attempted?
Everything
@manic light pressed the π§βπ» Code button in #help to ask a question:
Code
const customer = await stripe.customers.update(
'cus_PdP1n9P4TdVORd',
{
invoicing: { emails_to: [] }
}
);
Question
Hello,
The Stripe dashboard allows us to add multiple billing email addresses to a customer.
How can I do the same via the API?
What have you already attempted?
I tried getting the customer object via the CLI in test mode and I see the emails under `invoicing.emails_to`. But this field does not exist in the update customer documentation.
@distant agate pressed the π API button in #help to ask a question:
Question
Retrieving the Connected Account's Business Profile (Address, name, ...)
Related Request ID(s)
Stripe Connect
What have you already attempted?
I tried: $stripe->accounts->retrieve($connected_account_id, []);, Support couldn't help either
@hallow belfry pressed the π API button in #help to ask a question:
Question
Hey, we wish to understand which field of the API best represents the date in which a decision for a dispute was issued. We're considering balance_transaction.available_on - can this field be indicative for a resolution date of a decision? Is there always a transaction close to the date in which a decision was reached? (or is this dependent on the result - won / lost?). Thanks
Related Request ID(s)
none
What have you already attempted?
Looking at balance_transaction.available_on and balance_transaction.created
@grim minnow pressed the π API button in #help to ask a question:
Question
Comprei um produto vendido separadamente, criei um endpoint para lidar com o webhook charge.succeeded e preciso localizar o preΓ§o dessa compra por meio desse endpoint. Tentei diversas formas de realizar consultas utilizando o customerId, mas nΓ£o consegui obter o preΓ§o pelo webhook. Preciso do valor productId "prod_PTKL4G4aYmva5q"
link prod: https://dashboard.stripe.com/products/prod_PTKL4G4aYmva5q
purchase example: https://dashboard.stripe.com/payments/pi_3P41s4DrhWjWTprT4P6sYRi8
Related Request ID(s)
I have already tried to look for the price in the following calls invoices.list\({ customer\: customerId }\); subscriptions.list\({ customer\: customerId, limit\: 100, status\:
What have you already attempted?
When identifying purchases of the product βYampa Finance Mentoringβ. Non-recurring sales.
@drowsy minnow pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Throw an error saying the card is already saved when another card with the same information is added (card number, exp, cvc).
What actually happened?
Instead, the card is added once again.
Reproduction Steps
- `initPaymentSheet` passing `customerId`, `setupIntentClientSecret`, and `merchantDisplayName`
- `presentPaymentSheet`
- Add the card information of the already saved card
Question
How do you avoid saving the same card information when using `SetupIntent` (on the server) and `@stripe/stripe-react-native` (on the React Native app)?
What are you working on?
Building my ride-sharing startup (I have applied to YC too π€). At present, I am trying to save the rider payment detail
@ruby marlin pressed the π API button in #help to ask a question:
Question
We have a platform in FR and we are implementing destination charges for AU connected accounts. Is it possible to set the application fee after the payment is captured [and we know which payment method is used]?
Related Request ID(s)
N/A
What have you already attempted?
We know that we can have a fixed rule to define the application fee but we would like to differentiate it based on the payment method [only after capture] and not when creating the payment intent
What are you working on?
We have fund flows with separate charge and transfer for european countries but we are expanding our connected accounts in AU and we want to replicate the mechanism we have in place. Thanks in advance
@uncut peak pressed the π API button in #help to ask a question:
Question
Hi, trying to redirect a 'connected' customer account to their billing portal. When I try I get the error:
"You canβt create a portal session in test mode until you save your customer portal settings in test mode at https://dashboard.stripe.com/test/settings/billing/portal."
I am still in test mode on Stripe. Everything seems ok on that billing portal page, is there some setting I've missed?
What have you already attempted?
\Stripe\Stripe::setApiKey(env('STRIPE_SECRET'));
$out = \Stripe\BillingPortal\Session::create([
'customer' => 'cus_XXXXXXX',
'return_url' => 'https://example.com'
], ['stripe_account' => 'acct_XXXXXXX']);
@brave breach pressed the π API button in #help to ask a question:
Question
I have some inquiries regarding the observed behaviour in "Already Attempted" section:
- What is the reason behind the billing status for Invoice ID "in_1" remaining unaltered despite the occurrence of Event ID "evt_1"?
- Assuming Case 1 represents the expected behavior, what accounts for the alteration in the billing status for Invoice ID "in_2" following the Event ID "evt_2"?
- In the scenario that this behaviour is deemed a defect, is there a projected timeline for its resolution?
Related Request ID(s)
in_1, in_2, evt_1, evt_2 (Dummy IDs)
What have you already attempted?
Case 1:
Did a GET /invoice/in_1 API call, got billing reason "subscription_create".
Did a GET /event/evt_1 API call gives billing reason "subscription_update" for Invoice ID "in_1".
Despite the event "evt_1", the billing_reason for Invoice "in_1" remains "subscription_create".
Case 2:
Did a GET /invoice/in_2 API call, got billing reason "subscription_update".
Did a GET /event/evt_2 API call gives billing reason "subscription_update" for Invoice ID "in_2".
Due to the event "evt_2", the billing_reason for Invoice "in_2" changes to "subscription_update".
What are you working on?
We have ETL tool Stitch which uses Stripe APIs.
@zenith bolt pressed the π API button in #help to ask a question:
Question
When is `risk_assessment` on the `Authorization` object defined? Docs: https://docs.stripe.com/api/issuing/authorizations/object#issuing_authorization_object-risk_assessment
Related Request ID(s)
https://dashboard.stripe.com/events/evt_1OyxrAKMzRtmfm5Vs1FArilW
What have you already attempted?
Nothing, just researching right now. I spot checked a few of the `issuing_authorization.request` payloads we have received like the one I linked above but do not see the `risk_assessment` map on it and so am wondering when is it passed?
What are you working on?
Trying to leverage the risk data provided by Stripe on the authorization object to potentially deny requests.
@near gale pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
We expected this to not happen because 3d secure should of came on.
What actually happened?
We have the website https://1988cultivatingspaces.com/ a wordpress website with stripe integration.
On 13.04.2024 we got an order that doubled and got the money two times.
We had a bug on the website that did not send emails but how was the user possible to do this without passing 3d secure two times?
Reproduction Steps
i dont know how to reproduce this
Question
is our 3d secure on? can we verify this?
what happened exactly because we got an intent but never got the payment receive msg:
Stripe payment intent created (Payment Intent ID: pi_3P51JJCBJmrYVfjW1XF4RcI2)
and
Stripe payment intent created (Payment Intent ID: pi_3P51JcCBJmrYVfjW1feOf3qA)
@glass umbra pressed the π API button in #help to ask a question:
Question
How i can implement afiliates in my saas
Related Request ID(s)
Afiliate stripe
What have you already attempted?
The best options in make split inside subscription or create transfer?
What are you working on?
Saas
@fervent sage pressed the π Best Practices button in #help to ask a question:
Question
Hello,
We have enabled Payments Element UI to display options to customers. This works as expected. However, when we run our Cypress tests this UI Element takes too long to render. Was wondering if there is a best practice for mocking out parts / all of the Payment Element. Thanks/
Doc/Guide Links
https://docs.stripe.com/payments/payment-element
What are you working on?
Mocking out Stripe api calls when loading Payments Element UI
@frozen jay pressed the πͺ Webhooks button in #help to ask a question:
Question
Why is account.updated not being sent on staging as well as on production, but on local it is working just fine? I want to use this webhook for the accounts that are connected using stripe connected and are eligible for payouts
Related Event ID(s)
none
What have you already attempted?
On local, with stripe CLI, it is working just fine, but on staging I also tried to see if I am listening for the event account.updated and it seems it's just fine, I checked the logs and it seems that I've got only: price.created plan.created product.created customer.subscription.updated invoice.payment_succeeded and regarding invoices.
What are you working on?
A feature that is similar to YouTube membership program. Content creators can earn money having the possibility to create support campaigns.
@elder heart pressed the π§βπ» Code button in #help to ask a question:
Code
Java SDK - ConfirmationToken Object?
Question
Doesn't seem to exist in the SDK I'm using....?
What have you already attempted?
The code from here: https://docs.stripe.com/api/confirmation_tokens/retrieve
@rich valley pressed the π API button in #help to ask a question:
Question
hello, can I use setup intent for all payments?
Before I was using setup intent for 0$ orders and payment intent for > 0$ orders. Now I want to Collect payment details before creating an Intent so I was wondering if it's ok if I always use payment element and setup intent, confirm it, then use PaymentMethod ID for ongoing charges. Even if I need to change immediately after confirming setup intent
Related Request ID(s)
https://docs.stripe.com/payments/accept-a-payment-deferred?type=setup
What have you already attempted?
Before I was using setup intent for 0$ orders and payment intent for > 0$ orders. Now want to refactor and collect payment details first
What are you working on?
rebulding my checkout form
@tawdry shell pressed the π§βπ» Code button in #help to ask a question:
Code
I have a checkout page that the user before hitting the page had created a subscription. In the page, I am rendering a payment form that is wrapped in stripe's Elements in react. Next to this payment form, I have a toggle that the user can use to change the type of the subscription. Behind the scenes what the toggle actually does is to cancel the previous incomplete subscription, and create a new one. However the Element doesn't get the the new payment intent
Question
When I try to fill out and submit the payment form, that calls payment_intents/{payment-intent-id}/confirm. I get an error that the payment intent was cancelled, meaning my Element is not getting the new payment intent id.
What can I do to force the Element to get the new payment intent on toggle change?
What have you already attempted?
I am able to force my payment form to re-render after the toggle change , and I tried calling elements.fetchUpdates(), but that doesn't work
What are you working on?
We have a subscription platform that had a two step checkout process and we want to reduce it to one page
@acoustic raven pressed the π API button in #help to ask a question:
Question
We use Stripe's `createElement` to implement a stripe form in our checkout page. In Safari/MacOS these are rendered as `type="tel"` causing the VoiceOver screen reader to read them as "Telephone number fields". How can we fix this?
Related Request ID(s)
none
What have you already attempted?
I've looked into the docs about this behavior and I couldn't find any more information. There's no way to alter this element's type from Javascript.
@strange arrow pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/invoices/upcoming?shell=true&api=true#upcoming_invoice-invoice_items-price
Question
Hello! wondering about api param limits, im using the retrieve upcoming invoice method with the js sdk and i could not find any limits for:
- invoice_items
- subscription_items
What have you already attempted?
tested up to 10 ids
@solid sigil pressed the π API button in #help to ask a question:
Question
When providing the `setup_future_usage` property for a PaymentIntent, which should we use if the user is making a one-time payment now, adding the card to their "wallet", but may later choose to use that same card for a Subscription through a subsequent checkout flow?
Related Request ID(s)
n/a
What have you already attempted?
Everything is working, as far as we can tell, this is just a nuance question.
What are you working on?
A plugin that integrates with WooCommerce adding Stripe
@signal flower pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/wechat-pay/accept-a-payment?ui=direct-api
Question
Hello esteemed Stripe experts on Discord,
We're currently in the process of integrating WeChat payment method via Stripe and are seeking clarity on the associated processing fees. Are these fees consistent with Stripe's standard rates, or do they differ? Your assistance in this matter would be greatly appreciated.
What have you already attempted?
checked the docs
@odd mountain pressed the β An Error button in #help to ask a question:
Error Message
I can't verify my identity using stripes website verification even though I allowed everything ( camera)
Question
Can I verify my identity in any other way?
What have you already attempted?
Different search engines, restarts
@cedar knot pressed the π API button in #help to ask a question:
Question
Pass customer email and name to the checkout session and let them edit both
Related Request ID(s)
req_awb8U9bz2K6JoX
What have you already attempted?
I tried to pass customer ID to the checkout session and it fills the email input but its read-only and it doesn't prefill name. The checkout session is in setup mode.
What are you working on?
Booking Website
@warm marsh pressed the πͺ Webhooks button in #help to ask a question:
Question
i have created a webhooks in stripe and is handled by the backend code create in nodejs
i want to pass some extra field in webhook
how can i do that
Related Event ID(s)
NA
What have you already attempted?
i tried to create a test app and i did not got and documentation stating the required feature.
What are you working on?
creating a stripe app
@merry cliff pressed the β An Error button in #help to ask a question:
Error Message
The connection to the user's Link account has been closed.
Question
Is there a way to determine the connection status of a Link payment method? It seems like it can get disconnected and then we get the error that the user's Link account has been closed. But it doesn't appear the connection status of the method is in the object.
What have you already attempted?
We've tried the customer payment method list and the retrieve payment method endpoints. The only thing we can see about the link method is the email.
Reproduction Steps
Have a user with a Link account that has been disconnected. Create an invoice and attempt to charge the Link account. It will throw the above error message.
What are you working on?
a SAS web app with subscriptions and one-time purchases.
@weak pulsar pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
after evoking the presentPaymentSheet() I expected the sheet to open.
What actually happened?
The sheet did not open
Reproduction Steps
Inside a function, evoke initPaymentSheet() and then, right after, evoke presentPaymentSheet() (without using useEffects)
Question
I'm trying to integrate Stripe with my React Native app. I have a "Pay now" button where a function is called where it fetches the total price from the API and creates a PaymentIntent. After it, I evoke the initPaymentSheet() and then the presentPaymentSheet() but the modal does not appear. I even tied to add a "sleep" between the two, but did not wotk
@grim minnow pressed the π API button in #help to ask a question:
Question
Preciso de ajuda com a passagem de parametro para api, endpoint: https://api.stripe.com/v1/checkout/sessions
nao estou conseguindo passando o parametrod expand para listar o price, onde preciso do priceId
Related Request ID(s)
https://api.stripe.com/v1/checkout/sessions
What have you already attempted?
curl --request GET
--url 'https://api.stripe.com/v1/checkout/sessions?payment_intent=pi_3P45hLDrhWjWTprT1PswcwJi& expand=["line_items.data"]'
--header 'Authorization: Basic TOKEN'
--header 'Content-Type: application/json'
--header 'User-Agent: insomnia/8.5.1'
@fervent sage pressed the π API button in #help to ask a question:
Question
How do we check if off_session attribute is set when creating a payment_intent? I see it being sent to Stripe in the request body. However, im not sure where it exists after? Ive looked in the events and logs with no luck.
Related Request ID(s)
req_QClkjaDDc1BFai
What have you already attempted?
Ive looked at the logs and events with no luck to determine where it lives.
What are you working on?
Attempting to charge a customer when they are not present at the time of payment.
@elder heart pressed the π§βπ» Code button in #help to ask a question:
Code
TBC.....................
Question
Add Card to Account.....................
What have you already attempted?
Lots
@regal horizon pressed the π API button in #help to ask a question:
Question
I get error using the transfer API. My use case is transfer fund from Platform to a connected account,
Related Request ID(s)
https://docs.stripe.com/api/transfers/create
What have you already attempted?
I tried this but got an unclear error saying I should contact support.
What are you working on?
Transfer fund from Platform to a connected account via API
@iron lynx pressed the π§βπ» Code button in #help to ask a question:
Code
(see referenced thread)
Question
I have a followup question to the thread nardeen_elements-update-intent. Is it possible to update the `<Elements>` component with a new `clientSecret`?
What have you already attempted?
(see referenced thread)
@green harness pressed the π API button in #help to ask a question:
Question
How to fix this issue?
I need to implement no-cost orders to a stripe checkout page using the API. I have the checkout page already created with Stripe and I want to add a 100%off coupon for students, I was informed by Stripe that the way to do that is to implement the no-cost order to that checkout page by using the API.
Related Request ID(s)
no
What have you already attempted?
no
@wicked lion pressed the π API button in #help to ask a question:
Question
We're using an OAuth integration for Stripe connect and I'm working on adding support for resuming on-boarding via account links. The `return_url` supplied to an account link seems to discard any query parameters and I'm wondering how you would recommend adding some kind of state variable like OAuth uses?
Related Request ID(s)
req_xWFhSRXTUsFS27
What have you already attempted?
Adding query parameters to the `return_url`.
What are you working on?
Connect Integration
@drowsy minnow pressed the π§βπ» Code button in #help to ask a question:
Code
Server:
if (paymentMethod.type !== "card") {
return res.status(400).json("Only credit cards can be saved");
}
if (paymentMethod.card?.funding !== "credit") {
return res.status(400).json("Only credit cards can be saved");
}
if (paymentMethod.card.fingerprint === "vxOxUrmdfHx3dY7M") {
return res.status(400).json("The card has already been saved");
}
Question
How to handle custom error from server on the confirmHandler of initPaymentSheet
What have you already attempted?
I tried setting the returned error on intentCreationCallback({ error }), but doing so crashes the app
What are you working on?
Ride sharing app
@fiery wing pressed the π API button in #help to ask a question:
Question
Hello I have a problem to resume a subscription;
When I try use something to update a subscript or resume that;
I give two errors:
When I will update
StripeInvalidRequestError: You cannot set `pause_collection` while a subscription is `paused`. Resume the subscription first before setting `pause_collection`.
for example /\
and using resume API
nothing happens
Example of request
await this.stripe.subscriptions.resume(actualSub.id, {
billing_cycle_anchor: 'now'
});
Related Request ID(s)
evt_1P5vifEN72aeOUW8U3t4UaWz
What have you already attempted?
I need resume a subscript paused because trial end; but I can't
@untold summit pressed the π Best Practices button in #help to ask a question:
Question
What is the best way to *not* collect name as part of saving an Apple Pay Payment Method?
Doc/Guide Links
https://docs.stripe.com/terminal/features/saving-cards/save-cards-directly # for saving a card
https://docs.stripe.com/js/elements_object/create_payment_element # For setting up the payment element
https://docs.stripe.com/js/setup_intents/confirm_setup # for confirming a setup
What are you working on?
Collecting payment informaiton for later.
@lime geode pressed the π API button in #help to ask a question:
Question
providing default values for the <AddressElement /> don't appear in the UI
Related Request ID(s)
n/a
What have you already attempted?
Tried conditionally showing the address element only when the fields are truthy
What are you working on?
Ecommerce
@woven star pressed the π API button in #help to ask a question:
Question
Hi, I would like to convert a price from β¬ to another currency, such as USD. I would like to do this using your API because I then use it to process the payment. However, I would just like to be able to send a price in euros to your API and have it return the requested currency, applying the exchange rate. Is it possible to do this in JavaScript?
Related Request ID(s)
Developper
What have you already attempted?
I have look documention and i don't have find
@tall knot pressed the πͺ Webhooks button in #help to ask a question:
Question
i got: stripe using react and nodejs, everything work perfect on development, but when try production error,
i didn't parse the request i use:
app.use((req, res, next) => {
if (req.originalUrl === '/webhook') {
next();
} else {
express.json()(req, res, next)
}
})
and using the standard webhook function:
Related Event ID(s)
evt_3P5uzD2L8GIq1HGT0zbevNFK
What have you already attempted?
i just trying to make the same flow i made in dev, have no sense this error in production:
also check the req.body and yes it gets to the webhook in Buffer format, so its raw, i checked keys and everything looks good so far
What are you working on?
web application, using stripe as a payment method
@hallow dawn pressed the π Best Practices button in #help to ask a question:
Question
Hello, I'm trying to create a subs with a free trial without collect cc, the issue I'm facing is how to collect the payment when the trial is ending, atm I'm listinig for `customer.subscription.trial_will_end` then I create a session to insert the cc
`checkout.sessions.create({ success_url: /success?session_id={CHECKOUT_SESSION_ID}, mode: setup })`
send the `session.url` via mail & listen to `checkout.session.completed` to set the cc as default method
`customers.update(customerId, { invoice_settings: { default_payment_method: setupIntent.payment_method }});`
this works but I'm not sure this is the best implementation as I can't authenticate the user, what should I do?
Doc/Guide Links
https://docs.stripe.com/payments/checkout/free-trials#collect-payment
What are you working on?
Saas subscriptions
@outer sail pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
when filling out payment info (ACH direct transfer) on a paymentElement, using the test accounts. I expect when selecting 'debut not authorized' 'failure' or 'account closed' 'insufficient funds' to get some kind of error or warning.
What actually happened?
the setupIntent gets created with a response back from confirmSetup as 'succeeded'
Reproduction Steps
I've tried this several times, with each of the test account options, every one seems to have the same UX.
Question
Is there a way to handle this so if a user enters an account thats closed etc, there is some feedback so we can handle those problems?
What are you working on?
We're trying to collect payment info to confirm a purchase at a later date for an insurance marketplace.
@topaz talon pressed the π§βπ» Code button in #help to ask a question:
Code
const payout = await stripe.payouts.create(
{
currency: CURRENCY,
amount: fund_received,
method: "instant",
metadata: { user_id, account_id, application_fee_amount },
},
{
stripeAccount: account_id,
}
);
Question
Hi, I want to test a failed payout using the API in test mode. I need bank details so that when I request an instant payout, the transaction will fail after a few moments.
What have you already attempted?
Right now, I'm creating a manual instant payout and then sending an application fee through the charge API from the connected account to the platform account. I want to reverse that application fee from the platform account back to the connected account via the refund API using the payout.failed webhook. However, I need to test this in dev mode. How can I simulate an instant failed payout?
@humble geyser pressed the π API button in #help to ask a question:
Question
Is it needed to implement Connected Express accounts to send payouts to US bank accounts?
In production, the bank accounts connected from my clients are being restricted (express accounts) because of different reasons, and I wanted to know if it's 100% needed to use Connect accounts to be able to send payouts to them.
All I need to do is to pay them a certain amount each month, through a bank transfer.
Related Request ID(s)
?
What have you already attempted?
I already implemented it and it was working fine in development, but finding a lot of issues in production now that my real users are connecting their accounts.
What are you working on?
Employees management dashboard.
@abstract moon pressed the π Best Practices button in #help to ask a question:
Question
Hey there, i have a question about the integration.
I'm a developer and our SaaS application is designed to work with debts and accounting.
We ask our customers to generate Stripe API token and then we pull their customer/invoices data using Stripe API.
Sometimes it takes several hours to fetch the data taking rate limits into consideration.
We firstly fetch all customers, and then fetch all customer invoices and sum them to get balances.
Is there any way to do it in more easy way?
Webhooks are not suitable because our customer can start work with us with already big amount of customers and invoices, we need to pull them as well.
Doc/Guide Links
for (const customer of allCustomers) {
const invoices = await stripe.invoices.list({
customer: customer.id,
status: 'open',
});
const balanceDue = invoices.data.reduce\(\(total\: number, invoice\: Invoice\) =\> total + invoice.amount\_due, 0\);
const customerName = customer.name \|\| 'No Name Provided';
console.log\(\`Customer Name\: ${customerName}, ID\: ${customer.id}, Balance Due\: ${balanceDue}\`\);
}
What are you working on?
SaaS
@vocal wagon pressed the π API button in #help to ask a question:
Question
How do i set a payment description on an invoice being paid using stripe.invoices.pay
Related Request ID(s)
n/a
What have you already attempted?
Ive looked at the api docs for invoices pay but i dont see a description field like there is on payment intents
im using this to charge the user:
```
const finalizedInvoice = await stripe.invoices.finalizeInvoice(invoice.id);
await stripe.invoices.pay(finalizedInvoice.id);
```
What are you working on?
custom payment flow
@meager hazel pressed the π API button in #help to ask a question:
Question
Stripe.StripeException: Received event with API version 2022-11-15, but Stripe.net 42.4.0 expects API version 2023-08-16.
"type": "customer.subscription.updated"
Related Request ID(s)
None available
What have you already attempted?
This error just started popping up. I'm on Stripe.net 41.23.0 and my API version is 2022-11-15 on the site. Not sure why events are being rejected with an API version change.
@oak nymph pressed the π§βπ» Code button in #help to ask a question:
Code
```
export async function POST(req: NextRequest) {
const { userId } = auth();
const { unit_amount, quantity, productID, eventID, creator, } = await req.json();
if(type = "payment"){
try {
const session = await stripe.checkout.sessions.create({
payment_method_types: ["card"],
payment_intent_data: {
Question
I am using the checkout button component in Nextjs, I have some products that are payments, and one that is a reoccuring subscription. My question is how do I handle checkout sessions when I have reoccuring and single instance payments, and how I can alter the endpoint/api call thats made on checkout.
What have you already attempted?
I've tried making a different route for subscriptions, which didn't quite work. I am now working on adding conditional logic to filter the api routes by query(**i.e by subscription or payment**)
What are you working on?
A marketplace
@empty mantle pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
A card (with a dynamic CVV) that was previously *successfully* saved via setupIntent, to be successfully charged.
What actually happened?
The card could not be charged, with error code "invalid_cvc".
Reproduction Steps
- Create a setupIntent
- Associate this setupIntent with a card that has a dynamically changing CVC
- Charge the card off-session
Question
Hi there. Many cards nowadays have a dynamic CVC that changes every 5 minutes. SetupIntents is not working properly with these cards.
A card can be successfully set up via setupIntent, but all future attempts at charging this card fails - the issuing bank sends a "invalid_cvc" rejection code.
Why is this happening? How do I properly tokenize this type of card?
@sacred pond pressed the π§βπ» Code button in #help to ask a question:
Code
Identity Verification iOS
Question
Do you have any example code for implementing identity verification using SwiftUI Views instead of Storyboards?
What have you already attempted?
Converting the existing code but didn't work with my limited ability.
What are you working on?
if there is a sample code that uses SwiftUI Views
@vocal wagon pressed the πͺ Webhooks button in #help to ask a question:
Question
I need help getting my Webhook signature verification to work i keep getting it failed
Related Event ID(s)
checkout.session.async_payment_failed checkout.session.completed checkout.session.expired payment_link.created payment_link.updated
What have you already attempted?
I have try to get the signature
What are you working on?
On a website
@hollow magnet pressed the π API button in #help to ask a question:
Question
How can I test "ineligible person" with Stripe+Affirm?
Related Request ID(s)
pi_3P5ybGLYbD2uWeLi1OvHsVJz
What have you already attempted?
I've built the Affirm flow, and testing in sandbox it
successfully charges. I have also tested Cancelling the Affirm process (clicking X and returns), and get back last_payment_error.decline_code = "affirm_checkout_canceled".
But how can I figure out whether the customer was ineligible / disqualified for Affirm? This is to present other options in such cases. If the user just cancels, he'd be taken back to the same order form.
Example "user cancel" pi_3P5ybGLYbD2uWeLi1OvHsVJz
and "successful" pi_3P5xTFLYbD2uWeLi0N9KiUmQ
What are you working on?
Adding Affirm as a payment options for large one-off payments.
@ocean kayak pressed the π§βπ» Code button in #help to ask a question:
Code
const account = await stripe.accounts.create({
type: 'express',
email: req.body.email,
business_type: 'company',
capabilities: {
transfers: {
requested: true,
},
metadata: {
'proid': req.body.proid,
},
settings: {
payouts: {
"schedule": {
"delay_days": 2,
"interval": "friday",
},
},
},
},
});
Question
I want to create a Connect Account and set their payout to be every Friday including all jobs completed BEFORE that Friday.
What have you already attempted?
I have been following the API document and suspect that maybe my payment block is too deep or my interval value could be incorrect.
What are you working on?
I am working on my backend server(nodejs)
@glass umbra pressed the π API button in #help to ask a question:
Question
So when i canceled my subscription inside portal of customer, dont show more plans and dont show button to renew subscription
Related Request ID(s)
Portal of customer
What have you already attempted?
So when i canceled my subscription inside portal of customer, dont show more plans and dont show button to renew subscription
What are you working on?
Portal client dont list plans
@verbal stirrup pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
getting some issue with saving payment cards
What actually happened?
our frontdesk staff tried to pay with a cc and save it. however, it didn't manage to save.
Reproduction Steps
we were able to save cards usually but temp not in this situation.
Question
Is it possible for credit card not to be saved because of the bank policies
What are you working on?
https://dashboard.stripe.com/connect/accounts/acct_1OAYmHIBEWwWbf9l/customers?starting_after=cus_PufS7hFQZYXNSG -
@wheat wind pressed the π API button in #help to ask a question:
Question
for issuing transactions, I am wondering if I can filter by a card id??
Related Request ID(s)
N/A
What have you already attempted?
I looked at the docs and I see the transactions endpoint, but no docs on filtering
What are you working on?
data validations
@lavish quarry pressed the π API button in #help to ask a question:
Question
Using terminal access, swipe card payment for rental, how to mark the user? Is there a unique way to identify the user?
Related Request ID(s)
req_DWTlxoInwcFN2m
What have you already attempted?
https://docs.stripe.com/terminal/payments/collect-payment?terminal-sdk-platform=android
@bleak vigil pressed the πͺ Webhooks button in #help to ask a question:
Question
We become indebted to.
A user whose payment failed due to credit card fraud ("reason": "do_not_honor") requests "invoice.paid" for that invoice immediately after sending a request to the "invoice.void" webhook. In rare cases, sending is also performed. The "invoice.paid" request is responded with a 400 error.
The response parameters are as follows.
{
"error": {
"message": "Voided invoices cannot be paid.",
"request_log_url": "https://dashboard.stripe.com/logs/req_9KOeLosMe8A3fj?t=1711212239",
"type": "invalid_request_error"
}
}
What could be the reason why the "invoice.p
Related Event ID(s)
evt_1OxXeHGOGj3Av1fnThu1DifJ
What have you already attempted?
Check logs and compare with other users.
This phenomenon could not be reproduced in the test environment.
If it is not possible to control the sending of "invoice.paid" requests for invalid invoices, we are considering branching the processing of this request at the webhook endpoint.
What are you working on?
This is an improvement to the subscription and item purchase mechanisms for Japanese matching apps.
@echo coral pressed the π§βπ» Code button in #help to ask a question:
Code
Stripe(publishableKey,options?)
Question
I've implemented Stripe app now, and I paste access token instead of this publishable key, but Stripe card element not visible
What have you already attempted?
Stripe( eh_stripe_val.key, {apiVersion: eh_stripe_val.version} );
@drowsy minnow pressed the π§βπ» Code button in #help to ask a question:
Code
Server:
if (paymentMethod.type !== "card") {
return res.status(400).json("Only credit cards can be saved");
}
if (paymentMethod.card?.funding !== "credit") {
return res.status(400).json("Only credit cards can be saved");
}
if (paymentMethod.card.fingerprint === "vxOxUrmdfHx3dY7M") {
return res.status(400).json("The card has already been saved");
}
Question
How to handle custom error from server on the confirmHandler of initPaymentSheet
What have you already attempted?
I tried setting the returned error on intentCreationCallback({ error }), but doing so crashes the app
What are you working on?
Ride sharing app
@bleak vigil pressed the πͺ Webhooks button in #help to ask a question:
Question
Why is an invoice.paid request being made for an invoice whose status is "void"?
I do not want to send an invoice.paid request for an invoice whose status is "void"
Is this a configuration mistake on my part?
Or is it due to the user's communication environment, etc.?
Could you please tell me how to solve it?
Related Event ID(s)
evt_1OxXeHGOGj3Av1fnThu1DifJ
What have you already attempted?
Check logs and compare with other users.
This phenomenon could not be reproduced in the test environment.
If it is not possible to control the sending of "invoice.paid" requests for invalid invoices, we are considering branching the processing of this request at the webhook endpoint.
What are you working on?
This is an improvement to the subscription and item purchase mechanisms for Japanese matching apps
@mighty hinge pressed the π API button in #help to ask a question:
Question
I want to charge processing fee from connected account in case of refund
Related Request ID(s)
N/A
What have you already attempted?
I am using reverse transfer flag in API
@normal prawn pressed the π API button in #help to ask a question:
Question
How do I automatically accept/take payment from customers attached payment methods(cards)?
Related Request ID(s)
I dont know about this
What have you already attempted?
I tried searching for relavent apis, couldnt find any.
What are you working on?
I am building uber clone in react native. I am in the process of integrating the payment flow
@muted quiver pressed the π§βπ» Code button in #help to ask a question:
Code
where do i get the link to upload to my website
Question
where do i get the link to upload to my website
What are you working on?
where do i get the link to upload to my website
@dark mauve pressed the π Best Practices button in #help to ask a question:
Question
i have a django apis backend which i used to subscription feature now i also used checkout sessions for make payments from frontend side now i wants to now how update -subscription work ???
Doc/Guide Links
dont have any links yet
What are you working on?
application
@mild zephyr pressed the π API button in #help to ask a question:
Question
I want to transfer the amount to the customer from my stripe account. Which stripe api can I use to transfer the amount(outbound)
Related Request ID(s)
Developer Dashboard -> Payouts API
What have you already attempted?
I tried using payouts api, where prior to trying it, I created a customer in stripe then added/attached the bank account to that customer, verified the bank account. I tried to transfer the amount from stripe to that customers account using the bank account id I got. All this was done in test mode. But failed to transfer the funds
@vocal wagon pressed the πͺ Webhooks button in #help to ask a question:
Question
Would it be possible to know if the subscription we receive, related to an invoice.update event, is new (it's on the first billing cycle) or has already been through some billing cycles?
Related Event ID(s)
invoice.update
What have you already attempted?
I've gone through all Stripe documentation and API documentation with no luck
What are you working on?
Ticketing app
@past robin pressed the π API button in #help to ask a question:
Question
We want to know the error response definition of Hardware Order API
Related Request ID(s)
None
What have you already attempted?
We're using Hardware Order API and we display the error message from the response of the preview API (https://docs.stripe.com/api/terminal/hardware_orders/preview). The `error` field could be JSON-parsed and the resulting `param` field indicates the invalid field. For invalid phone, the field previously has value `shipping[phone]`, but now it has value `shipping.phone`.
@devout trout pressed the π API button in #help to ask a question:
Question
terminal purchase questions terminal purchase questions terminal purchase questions
Related Request ID(s)
terminal terminal purchase questions
What have you already attempted?
terminal purchase questions
What are you working on?
terminal purchase questions
@viral spoke pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expected the correct data
What actually happened?
I haven't got the same data that I saw in my dashboard
Reproduction Steps
Retrieve the paymentintent via my app and via the stripe dashboard
Question
How to extend the charges object in my code? Example PI: pi_3Osj8PD4LgnRPd5t114tPRF2
@vernal trail pressed the π API button in #help to ask a question:
Question
Couple of subscriptions showing "past due" status so want to check if any issue with implementations?
Related Request ID(s)
Stripe Subscriptions API
What have you already attempted?
sub_1P00jGFGDujeTNL5SgG45BOi
in_1P2Y4GFGDujeTNL5YrdoJ2i4
1 user 2 accounts and 1 of his subscriptions shows status as "Past Due" and other subscription status shows "Active"
@echo coral pressed the π§βπ» Code button in #help to ask a question:
Code
How to get link to disconnect stripe app
Question
How to get link to disconnect stripe app
What have you already attempted?
not found any doc, only found a button inside Stripe account
What are you working on?
Integrating Stripe app inside a plugin
@spare ermine pressed the π API button in #help to ask a question:
Question
Since yesterday we are recenving some alert from one of our customer because he can't complete his payment. I attach the payment ID and the customer ID. In our stripe dashboard it says that is 3DS payment problem, but how can we argument the problem to our customer?
Related Request ID(s)
pi_3P667jF83rF8iubk0uwNijXQ, cus_PY4gDC1yBkwenA
What have you already attempted?
We asked the customer to wait 24h and retry
@past robin pressed the π API button in #help to ask a question:
Question
We want to know the error response definition of Hardware Order API
Related Request ID(s)
None
What have you already attempted?
This is a continuation of the thread #dev-help message.
@violet path pressed the πͺ Webhooks button in #help to ask a question:
Question
Hello,
We are actually integrating Stripe to our payment worflow.
We configurated a webhook to keep our finance tool up to date when invoices are sent or paid.
We just discovered that our customer metadata are not shared through the events.
It's only the case outside webhooks.
This metadata 'partnershipcode' is the key to identify our partner through our different systems. Can you help us to add this metadatas in our webhooks Json please ?
Related Event ID(s)
evt_1P67UnHKAGUjiNbkfJTi1OOG
What have you already attempted?
Checked Stripe API documentation
Checked Webhook properties
What are you working on?
append metadata to stripe event webhook
@bitter plank pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/no-code/tap-to-pay#accept-tap-to-pay
Question
I have a question about No-Code Tap To Pay (via Stripe Dashboard Android App) and Webhooks.
We are a platform account in Singapore. Our customers using Standard Connected Account (Direct Charges).
If a Standard connected account (live mode) creates a payment using no-code Tap to pay via Stripe dashboard app (https://play.google.com/store/apps/details?id=com.stripe.android.dashboard), can we receive the webhooks the same way like we are using Stripe API (https://docs.stripe.com/api/payment_intents/create)? And will we also be able to see the logs at https://dashboard.stripe.com/logs?
What have you already attempted?
I already email to Stripe support but no response so far.
@vocal wagon pressed the π API button in #help to ask a question:
Question
Good morning! We (Xentral ERP) have an integration with Stripe and, since November 2023, we are missing some data in the Payouts API responses that we previously used to compile booking info. More specifically, the "source" and "metadata" objects are coming as NULL from November onwards. Has something changed since then?
Related Request ID(s)
Not sure where to get this
What have you already attempted?
I've read through the API documentation and could not find any differences.
@hallow belfry pressed the π API button in #help to ask a question:
Question
We are trying to find a way to determine a date when a dispute was resolved, we are considering using https://docs.stripe.com/api/events/list and looking for charge.dispute.closed, according to the docs it's limited for last 30 days, we need more then that, is there any way to get that data?
Related Request ID(s)
none
What have you already attempted?
looking at the documentation
@oblique portal pressed the π API button in #help to ask a question:
Question
We are a platform with express connected merchants.
We are creating invoices issued by their account Id, so we can get their name and branding in the invoice generated.
The merchant name shows but we can not show address or any other info. Is it possible to show more merchant information on the invoice PDF by using issuer ?
Related Request ID(s)
req_PqHhUCNLKh5REn
What have you already attempted?
We have talked to support who concluded we should go with on_behalf_of but that changes the flow for us.
We want to use issuer field which from the documentation, regarding branding and merchant info should be the same as on_behalf_of
issuer:
-----
The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
on_behalf_of
-----
The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account
What are you working on?
Platform Issuing invoices for Express connected accounts
@hot heron pressed the π Best Practices button in #help to ask a question:
Question
My system needs to change subscriptions on certain dates.
The logic is as follows:
I have two types of domains.
New Domains which can simply be summed up as subscription items. They all have the same interval of one year.
The second type are transferred domains. Which should be free until their expiry date. Starting at this date they need to be payed for a full year.
I want to be able to check out all of the domains with one checkout session. After the expiry date of a domain is reached it should be removed from the initial subscription and moved to a new subscription that lasts a year.
How could i go about this?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules
What are you working on?
Domain Registry
@slate vine pressed the π API button in #help to ask a question:
Question
I am trying to enable bancontact and ideal payment methods. Currently in my system I have card payment and all I was listening for was ``checkout.session.completed`` which comes only when card payment succeeded.
For bancontact and ideal, when I try to checkout, I receive some instruction in my test environment that I need to listen for ``payment_intent`` event. Do I really need it? Would ``checkout.session.completed`` not be sent after the payment is successful similarly to card payment?
Related Request ID(s)
xx
What have you already attempted?
Instruction about payment_intent on my dev checkout
What are you working on?
enabling banconact/ideal payment methods
@grim grove pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions/update
Question
Hello! I am using Stripe PHP SDK and I want to know is it possible to update existing subscription item and add a new one in one API call using the update subscription endpoint instead of using the create/update subscription item endpoints.
What have you already attempted?
Currently, I am using the subscription items endpoints ,but since our team is implementing new feature with multiple in-app cart purchases, I want to do that with 1 API call.
@echo coral pressed the π§βπ» Code button in #help to ask a question:
Code
var stripe = Stripe('pk_test_51K6RgqSB9POxYCQZMg51Gs0yotqXjhWmUpCluXaf1qtxe1EUxfKuGxZBWV8uoDCrNoa0iugiJYr6nlWcmJgFfUOv00ebXo7jir', {
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
});
Question
How to pass account id along with Stripe version
What have you already attempted?
var stripe = Stripe( eh_stripe_val.key, {apiVersion: eh_stripe_val.version,stripeAccount: acct_1K6RgqSB9POxYCQZ } );
@ocean cosmos pressed the π Best Practices button in #help to ask a question:
Question
I am looking to implement a pre-paid credit billing pricing structure, similar to what Anthropic offer and what OpenAI are transitioning to (i know they both use stripe for their billing). Can i use the customer balance for this? is this common? I am also using the new usage based billing api beta for this.
Doc/Guide Links
https://docs.stripe.com/billing/customer/balance
What are you working on?
I am building a speech-to-text api and want to implement pre-paid credit billing.
@leaden stirrup pressed the β An Error button in #help to ask a question:
Error Message
parameter_unknown - expected_amount
Received unknown parameters: expected_amount, last_displayed_line_item_group_details
Question
I'm creating a custom checkout to update payment method on a subscription with mode set to "setup". these two errors don't let me submit the card.
What have you already attempted?
My session params:
let params: Stripe.Checkout.SessionCreateParams = {
payment_method_types: ['card'],
mode: 'setup',
customer: customerId,
setup_intent_data: {
metadata: {
customer_id: customerId,
subscription_id: subscriptionId
}
},
// @ts-ignore
ui_mode: 'custom',
return_url: getURL(redirectPath)
};
@scarlet kiln pressed the π API button in #help to ask a question:
Question
Is there any way in Stripe using that I can see the payment details by passing just a charge ID without any login required?
Related Request ID(s)
not found any
What have you already attempted?
I did not have idea so nothing tried yet
@slate vine pressed the π API button in #help to ask a question:
Question
https://discord.com/channels/841573134531821608/1229741020523008062
I was reading the docs provided and the thread was closed
Related Request ID(s)
xx
What have you already attempted?
xx
@drowsy cliff pressed the π§βπ» Code button in #help to ask a question:
Code
try {
// RΓ©cupΓ©rer les donnΓ©es de la requΓͺte
$input = file_get_contents('php://input');
$body = json_decode($input, true);
// RΓ©cupΓ©rer l'ID du moyen de paiement et l'ID du client depuis le corps de la requΓͺte
$payment\_method\_id = $body\['payment\_method\_id'\];
$payment = $body\['payment\_method'\];
$customer\_id = $body\['customer'\];
// CrΓ©er un abonnement pour le client
$subscription = \Stripe\Subscription\:\:create\(\[
'customer' =\> $custo
Question
I'd like to add a subscription to a paid customer, I use paymentIntent for verification by 3dsecure, but it doesn't work, it only pays the paymentIntent, the price of my subscription, but it doesn't create the subscription.
What have you already attempted?
I'd like to add a subscription to a paid customer, I use paymentIntent for verification by 3dsecure, but it doesn't work, it only pays the paymentIntent, the price of my subscription, but it doesn't create the subscription.
What are you working on?
saas
@solemn sierra pressed the π API button in #help to ask a question:
Question
There's this payment event that is causing to show two payments in my dashboard page, how do I fix this?
Related Request ID(s)
pm_1P6AXbGTrveUZjDA8eVkVJZN
What have you already attempted?
I've tried to delete the event data its for payment intent, I don't have much knowledge on this.
What are you working on?
I was just normally accepting donations, and now for every payment it is showing two payments on my dashboard for every 1.
@limpid scaffold pressed the π API button in #help to ask a question:
Question
Is it by design, that invoices that paid by `out_of_band` option - still have `amount_remaining` and no `amount_paid`?
Related Request ID(s)
in_1P6Af8KbHTyAU2ATSeoZ1Zqk
What have you already attempted?
The question I'm asking might be by design, but I didn't found any mentions of it in the documentation
@oblique axle pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I use stripe connect, i can create express account for user using create account, and user complete profile using create account link i generate from stripe connect api.
What actually happened?
I use stripe connect, i can create express account for user in test mode, but when i switch to production mode, same procedure, the account is not shown in stripe connect.
Reproduction Steps
stripe connect and create account
Question
why it is not shown the newly created accounts in prod mode?
@hidden tendon pressed the π API button in #help to ask a question:
Question
Is it possible to create a note (not a credit note) through the API?
Related Request ID(s)
xdvgx
What have you already attempted?
Looked for it in the Stripe API documentation, have not found anything.
looked at the network tab when creating a note in the dashboard and saw this:
```
await fetch("https://dashboard.stripe.com/v1/notes", {
"credentials": "include",
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0",
"Accept": "*/*",
"Accept-Language": "en-US,en-US,en",
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
"stripe-version": "2023-08-16",
"x-stripe-manage-client-revision": "00000000"..........
@trail quarry pressed the π API button in #help to ask a question:
Question
How to know when stripe (payment) elements are done loading after mounting them, when I mount the payment element to a dom element it shows a loading skeleton ui for a sec, Is there a way to know when stripe elements are done fully loading?
Related Request ID(s)
no related questions
What have you already attempted?
I tried listening to the dom element which is used for the mounting of the stripe (payment) elements
What are you working on?
svelteKit app (with csr only mode), everthing's working fine I just wanna when the stripe elements finish loading so until them I disable the "submit button"
@empty night pressed the β An Error button in #help to ask a question:
Error Message
invalid_request_error - address[city]
Invalid city: βs-Hertogenbosch
Request id: req_1ZdnMw1i2GpDCe
Question
We provide the city when creating a terminal location, we just reuse the city from account.company.address.city. However this led to an error for a user the the city is invalid (it's an actual City in the Netherlands). It seems like the validation for account.company.address.city on Connect accounts is different than on Location
What have you already attempted?
Different city's, most do work.
Reproduction Steps
Create a terminal location with city `βs-Hertogenbosch`
What are you working on?
Tap To Pay
@hard hedge pressed the π API button in #help to ask a question:
Question
How to request 3d secure only once?
Related Request ID(s)
none
What have you already attempted?
Hello. I'm testing payments and would like to make it so that 3d secure is only requested once for the first payment. But I can't understand how to do it. I tried to create payment intent with parameter 'setup_future_usage' => 'off_session', but at the next payments when creating payment intent there is still request for confirmation.
What are you working on?
I am working on a service where there is a subscription system, but also there is an opportunity to buy products one-time.
@old remnant pressed the π API button in #help to ask a question:
Question
How do create a deep link to the "Pay Failed Amount" flow in customer portal?
Related Request ID(s)
--
What have you already attempted?
We have a banner in our app if the user's subscription status changes to `past_due` which asks them to clear the due. Clicking the banner redirects the user to the customer portal. Right now I create a deep link to the `payment_method_update` and redirect them to that, but it would be better if I can redirect them to the flow that starts with I a user clicks "Pay failed amount" instead.
Is it possible to deep link to the "Pay failed amount" flow?
@shell hazel pressed the π API button in #help to ask a question:
Question
I'm integrating Portal into my SaaS platform and was wondering - can users delete all payment methods if they have active subscriptions? Or are they prevented from deleting the last one / the default one if there are active subscriptions?
I've disabled subscription management in Portal so all users can only update payment methods, billing details and download invoices.
I'm just concerned they'll be able to break subscriptions by removing all they payment methods.
Related Request ID(s)
N/A
What have you already attempted?
N/A
@fickle vessel pressed the π Best Practices button in #help to ask a question:
Question
Is there way that we can set a flat fee for connected accounts for payment processing in stripe?
Doc/Guide Links
I want to setup a flat processing fee on top of application fee.
Say I want to charge customers 2 different fees right now they only way to do that is in my system set 2 different fee and then pass it as a application fee to stripe.
Application fee doesn't have a break up. So we need to do that in our system.
What are you working on?
I am working on Stripe custom payments integration.
@vocal wagon pressed the π API button in #help to ask a question:
Question
How come the error message is "incorrect number" but you don't send any error in set up intent (200k).
Related Request ID(s)
https://dashboard.stripe.com/payments/pi_3P4KEVL9NSQkHZNx1KgeUXgc
What have you already attempted?
We are blocked
@hybrid yoke pressed the π API button in #help to ask a question:
Question
I want to know if we can collect credit card numbers then pass them onto a 3rd party POS system via API only when the card the POS system has on file fails bc it only allows for 1 card to be stored in their system at a time
Related Request ID(s)
NA
What have you already attempted?
Nothing
What are you working on?
Car wash apps built on top of DRB's API
@vocal wagon pressed the π API button in #help to ask a question:
Question
Hello again :) Reposting with an id this time. We (Xentral ERP) have an integration with Stripe and, since November 2023, we are missing some data in the Payouts API responses that we previously used to compile booking info. More specifically, the "source" and "metadata" objects are coming as NULL from November onwards. Has something changed since then?
Related Request ID(s)
ch_3P3BkKB3j83p8hea1k7bWn2N
What have you already attempted?
Read through the API documentation but didn't find something
@twin hamlet pressed the β An Error button in #help to ask a question:
Error Message
The provided setup_future_usage (off_session) does not match the expected setup_future_usage (null). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements.
Question
Why are we getting this error with payment element?
What have you already attempted?
If we create the PM before confirmation it works, but not the other way around
@obtuse vale pressed the π API button in #help to ask a question:
Question
Console error when performing any action with Tap to pay SDK:
error => 'First initialize the Stripe Terminal SDK before performing any action'
Related Request ID(s)
n/a
What have you already attempted?
Checked documentation and debugged
What are you working on?
React native tap to pay app
@sharp siren pressed the π API button in #help to ask a question:
Question
Hey, is there a reason why https://docs.stripe.com/payments/external-payment-methods cannot support custom external payment methods? This kind of steers us away from using Stripe Elements and just displaying the payment elements manually. We would love to offer crypto payments to our customers using a third-party gateway, but the limitation of allowed gateways limits that.
Related Request ID(s)
N/A
What have you already attempted?
N/A
@worthy gate pressed the π API button in #help to ask a question:
Question
I am trying to render a pricing table on the front page of a purely client-side (+firebase) react SAAS app. Currently the action buttons on the pricing table will send the customers straight to the payment portal. I need them to first sign up with us, otherwise the payments will be fore unregistered users. Is there an option to do so? If not, is there at least a way to fetch pricing table data with a publishable key, so that we could build our own pricing table?
Related Request ID(s)
n/a
What have you already attempted?
Looked at the documentation and the client-side sources of the current stripe pricing table implementation.
What are you working on?
Subscription based saas written in next.js and firebase, with minimal server side functionality.
@hard hedge pressed the π API button in #help to ask a question:
Question
3ds ΠΏΡΠΈ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠΈ ΠΏΠΎΠ΄ΠΏΠΈΡΠΎΠΊ Π΅ΡΠ»ΠΈ Ρ ΡΠΆΠ΅ ΡΠΎΠ·Π΄Π°Π²Π°Π» ΡΠ°Π½Π΅Π΅ paymentintent
Related Request ID(s)
1229780727508504617
What have you already attempted?
Previously I contacted support to figure out how to make payment intent so that 3ds is not requested every time. Is it possible to realise this with subscriptions. At the moment I managed to create a paymenintent so that the 3ds would not be checked at the next creation. But after I tried to subscribe and 3ds is still requested.
@half vine pressed the π API button in #help to ask a question:
Question
Resource missing error comes up in production but doesn't popup in local dev environment
Related Request ID(s)
Here is the related request. -> req_W0dM8YXq5HIBJW
What have you already attempted?
Tried the same thing locally which works but in production it doesn't seem to be working
What are you working on?
Trying to issue 0$ invoices to user
@blissful bluff pressed the πͺ Webhooks button in #help to ask a question:
Question
What is the webhook event that will be fired if the requirements of a connected account change?
Related Event ID(s)
noe
What have you already attempted?
looking through the available events list
What are you working on?
want to inform users if the requirements of a custom connect account change,e.g., due to the account volume
@dark kiln pressed the π API button in #help to ask a question:
Question
I'm developing an app in which I need to show spending limit for an issuing card and how much money is left for that card how can I achieve it ?
Related Request ID(s)
a
What have you already attempted?
I get the issuing card and there's only spending limits but no balance
@verbal stirrup pressed the β An Error button in #help to ask a question:
Error Message
the client said they paid with credit card and saved it in the system but on stripe's record, it's apple pay which the client said wasn't
Question
we are having issues saving credit card info for pi_3P5oxcIBEWwWbf9l1VjgifbF. can we get data on the type of payment for this transaction
What have you already attempted?
tried checking the type of payment.
What are you working on?
https://dashboard.stripe.com/connect/accounts/acct_1OAYmHIBEWwWbf9l/payments/pi_3P5oxcIBEWwWbf9l1VjgifbF/
@torpid juniper pressed the π API button in #help to ask a question:
Question
Hi - i have a customer who is trying to sign up to create a connected account but they have tochange the email address...is there a way i can do that?
Related Request ID(s)
n/a
What have you already attempted?
n/a
@silk python pressed the π Best Practices button in #help to ask a question:
Question
I'm currently using WooCommerce to manage orders, and I have a scenario where an order contains three items: a simple one-time purchase, a monthly subscription, and an annual subscription. I'd like to use Stripe to handle the renewals for these subscriptions.
Normally, WooCommerce processes orders with a single transaction ID. However, in this case, there will be an additional two transaction IDs generated for the initial payments of the subscriptions.
I have a couple of questions regarding this scenario:
What would be the best approach to handle processing this type of order effectively?
Would it be advisable to process the order with a single subscription ?
Doc/Guide Links
https://woocommerce.com/
https://woocommerce.com/products/woocommerce-subscriptions/
What are you working on?
I am building a WordPress plugin to process payment for the WooCommerce order.
@dire adder pressed the π API button in #help to ask a question:
Question
Is it possible to create a valid/usable non-US-based Stripe Bank Account Token from a valid non-US-based Plaid access token?
Related Request ID(s)
None
What have you already attempted?
I have read this docs: https://docs.stripe.com/ach-deprecated#using-plaid
But am unsure, cause the docs says it's for ACH. So maybe non-US bank account is not supported?
@dusky magnet pressed the π API button in #help to ask a question:
Question
How do I schedule a subscription change (through SubscriptionSchedule) for multiple subscription items and preserve the line item discounts associated with each?
Related Request ID(s)
https://dashboard.stripe.com/test/logs/req_KRKgdZ7UeOcaGt
What have you already attempted?
I'm trying to use the SubscriptionSchedule API to schedule a subscription update for a subscription with multiple line items. One of the line items has an existing discount on it (that only applies for a limited time), and I'm trying to carry over that discount to apply for the next phase. Currently, when I create the neck phase and pass the existing discount ID, I receive an error that the discount can't be reused on a new item. I've tried passing in a subscription item ID to reuse the item, but that's not allowed. I could pass coupon, but won't that reset the line item discount's duration?
What are you working on?
I'm working on building out a scheduled subscription flow that allows for scheduling changes to a subscription with multiple line items
@hearty karma pressed the β An Error button in #help to ask a question:
Error Message
This application does not have the required permissions for this endpoint on account 'acct_xxxxxxxxxxxxxxx'.
Question
Back in 2019ish when our clients' websites connected to Stripe via API keys, we had a system where we would set up their webhooks for them via API calls. Since then, we have began authenticating with Stripe Connect Standard accounts and have lost this functionality. We want to know if there is now any way to automatically create webhooks for our clients via the API.
What have you already attempted?
Since we could not find a way to create or check webhooks with the API, we have built out a system to compare the last webhook received by the site to the last event created in Stripe to take a guess at if webhooks are set up correctly. This is not perfect as it is a "retroactive" solution instead of proactively setting up webhooks correctly for our clients
What are you working on?
Paid Memberships Pro - A membership plugin for WordPress allowing clients to charge customers for site access
@brazen hedge pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/js/elements_object/create
Question
How can i pass the subscription data, price id and product id to elements?
What have you already attempted?
I'm implementing the code and reading the documentation
@halcyon cairn pressed the π Best Practices button in #help to ask a question:
Question
When a redirect payment is used in our app, after being redirected back, we make a request to get the intent data, check if there is an error, and display a generic error message. We want to display an error message explaining what went wrong, but the `code` is always `payment_intent_authentication_failure`, and `type` is always `invalid_request_error`. The `message` is closer to what we want to display, but it talks about the customer in the third person. What are the best practices for displaying an error message to customers when they return from a redirect?
Doc/Guide Links
https://docs.stripe.com/error-codes#payment-method-microdeposit-failed
https://docs.stripe.com/error-handling?lang=php
What are you working on?
Handling redirect payment errors
@true pendant pressed the π API button in #help to ask a question:
Question
Hello,
Is there anyway to transfer funds that are pending in a connected account using the API to a platform account if the funds are pending in the connected account, or do I have to wait for the funds to clear before they can be transferred? In test mode it allows me to reverse transfer pending funds from the dashboard but not programmatically.
Related Request ID(s)
Not applicable to this question
What have you already attempted?
Reverse transferred pending funds from dashboard
@wet umbra pressed the π API button in #help to ask a question:
Question
I have the following implementation (Next.js project): an API endpoint that queries the Stripe API to create a checkout session with specific metadata I will need later, and a webhook that listens for successful payments. For some reason in test environment it worked perfectly but today we started to see that the metadata is not being sent with the webhook, thus breaking our integration.
Related Request ID(s)
req_UzpLDqqSt1Dk2W, evt_3P6Bl5P7azMwZwRP0ri4yRfa
What have you already attempted?
I verified that the necessary metadata is being passed when creating the session (using the information available on Stripe), re-reviewed the docs, but I must say that my implementation was working in test mode (didn't do any change apart from the keys to upgrade to a production environment)
What are you working on?
Online courses platform/marketplace
@north pagoda pressed the π API button in #help to ask a question:
Question
We're using the React PaymentElement to allow users to add card
The first card that they add is not being set as default card for that customer
Although it does when adding it through the Billing Portal Session
Why these two behavior are different?
Related Request ID(s)
none
What have you already attempted?
We've set the save_default_payment_method field to on_subscription when creating the subscription
@cerulean pasture pressed the π API button in #help to ask a question:
Question
Is there a way to read custom mag strips, specifically for gift cards, to allow our pos integration to read that data from the terminal?
Related Request ID(s)
none - outside request
What have you already attempted?
I have read the terminal api and found a way to have customers use their email and phone numbers for interactions, but, I do not see a way to read mag stripe so we can combine physical giftcards.
What are you working on?
nerdslice point of sale for comic and game stores
@proud lily pressed the π Best Practices button in #help to ask a question:
Question
Can I change the renewal date of a subscription by adding 7, 14, etc days??
Doc/Guide Links
https://docs.stripe.com/api/subscriptions/update
What are you working on?
Stripe Javascript - trying to change the day that the subscription will renew
@limpid scaffold pressed the β An Error button in #help to ask a question:
Error Message
[object Object]" is not valid JSON
Question
We're tracking our application errors through Sentry
And for some period of time we have that error coming from stripeJS.
The only stack trace that we have - that error is coming on stripeJS load, from that code
ll===(t=n.frame)||void 0===t?void 0:t.contentWindow)){var r=JSON.parse(e.data);if(r.channel===n.channel){if(!("initMessage"in r)){var o=n.ge
What have you already attempted?
I attempted to debug it through debugger, have only found that message coming to that code:
"{"initMessage":true,"channel":"hcaptcha-invisible"}"
The only concern we have - would it break mounting the card element / proceeding the registration or not
@normal osprey pressed the β An Error button in #help to ask a question:
Error Message
transfer_not_allowed
Question
Getting this error for transferring money to a seller account. It says to contact stripe customer support. Can you please help?
Here is a link to the log: https://dashboard.stripe.com/logs/req_U1EMTODEUCTCh7?t=1711687389
What have you already attempted?
Looked at the docs here: https://docs.stripe.com/error-codes#transfers-not-allowed
@gaunt seal pressed the π API button in #help to ask a question:
Question
I would like to expand the property `applies_to` when I use `$stripe->coupons->retrieve()` and `$coupons = $stripe->coupons->all();` but it does not work
Related Request ID(s)
req_mcifbjXzyQxq8i
What have you already attempted?
I have tried expanding this property like so:
`$stripe->coupons->retrieve($coupon_code, ['expand' => ['applies_to']]);` and various other ways.
@safe fiber pressed the π§βπ» Code button in #help to ask a question:
Code
stripe_object, response = Stripe::StripeClient.new.request(&b)
Question
When i run this code in rspec tests response is nil
What have you already attempted?
i can definitely run the exact same code in the console in development mode and response is not nil
@maiden blaze pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
payment intent should have gone through without the 3ds auth.
What actually happened?
Payment intent got stuck at requires_action even though we're using apple/g-pay.
Reproduction Steps
Randomly occuring when checking out using apple/g-pay
Question
we're getting 3D Secure attempt incomplete when using google pay on our test env. why is that and how to fix this?
@kind jacinth pressed the β An Error button in #help to ask a question:
Error Message
"code": "payment_intent_invalid_parameter"
"message": "The shipping information on this PaymentIntent was last set with a secret key and therefore cannot be changed with a publishable key. Please use your secret key instead."
"type": "invalid_request_error"
Question
Could we get some help looking into the exact original error in the Stripe API backend for this error? We tried double checking the information being sent to the API to make sure the shipping information and keys are the same and are at a lost for what might be the issue causing us to get a 400 Bad Request error
What have you already attempted?
We double checked to make sure that the shipping address is the same for the payment intent created as the address passed in when confirming the payment intent. We also checked to make sure that the secret key that we were using was valid and the same across all of our calls to create and confirm payment intents. The client secret for the payment intent is the same
Reproduction Steps
This is an example of a payment intent where we are experiencing this error:
https://dashboard.stripe.com/test/payments/pi_3P60NUFdV4bT3T5
This is only happening when we call the react-stripe-js SDK (v2.1.0) on our web app to do an express checkout and not for the stripe-react-native SDK (v0.29.0) in our react native mobile app when using google or apple pay
What are you working on?
Ecommerce site
@proud lily pressed the π Best Practices button in #help to ask a question:
Question
Is there a clean way of telling which index item of phases[] in subscription_schedule object is the current phase?
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/subscription-schedules
What are you working on?
(stripe js) My goal is to add a trial period to the subscription schedule's current subscription on-demand and I wish to use something similar to the code below to accomplish that.
@trail quarry pressed the πͺ Webhooks button in #help to ask a question:
Question
How to obtain the stripe processing fee (in test mode) for a "payment_intent.succeeded" webhook event of a connect account direct charge (payment) flow?
Related Event ID(s)
evt_3P6EgeQqBknJg87a0xvdODCY
What have you already attempted?
I have tried this code ```ts const charge = await stripe.charges.retrieve(
paymentIntent.latest_charge as string
);
const balanceTransaction = await stripe.balanceTransactions.retrieve(
charge.balance_transaction as string
);
```
and these cli commands
stripe charges list --payment-intent=pi_3P6IagQqBknJg87a0aIvNrhP
or
stripe charges retrieve ch_3P6IagQqBknJg87a0kRiJlTu
@drowsy cliff pressed the π§βπ» Code button in #help to ask a question:
Code
$customer = \Stripe\Customer::create([
'email' => $body['email'], // Customer's email
'name' => $body['name'],
'address' => [
'country' => 'FR',
'postal_code' => '75000',
],
'expand' => ['tax'],
]);
Question
Hey there, i would like to know why this code doesnt work, i would like to include taxes on my subscriptions, i live in france, and the rate here is 20%, and i would like this rate on all of subscriptions.
What have you already attempted?
Actually, just the code at the top.
What are you working on?
saas
@oblique pollen pressed the π§βπ» Code button in #help to ask a question:
Code
element options:
appearance,
locale: locale.language,
currency: locale?.currency,
mode: "subscription",
amount: state.totalDueToday,
setupFutureUsage: "off_session",
paymentMethodCreation: "manual"
on confirm purchase -> elements.submit() ->stripe.createPaymentMethod() -> createSubscription with
{pay_immediately: false,
payment_settings: {
save_default_payment_method: "on_subscription" },}
in the options, then confirmSetup
Question
Using Stripe Payment element and creating the elements object without an intent - about 50% of the time the customer.subscription.updated doesn't fire to update the payment method on the subscription so the subscription is created successfully and the payment method is attached to the customer successfully but the payment method isn't attached to the subscription so the payment never processes
What have you already attempted?
On purchases where the payment works, the subscription is updated with the payment method and when it doesn't work, that event never gets fired but I haven't been able to figure out why that would be happening, it seems to be completely random so I'm not sure how to go about debugging
@winter holly pressed the π API button in #help to ask a question:
Question
I hope this message finds you well. We are currently in the process of integrating Stripe into our mobile app and require some guidance on setting up our payment flow, especially concerning the tax calculations based on the credit card billing address.
Payment Flow Overview:
Checkout Page: Users see the total payment amount, with tax to be determined post credit card entry.
Payment Method Selection: Users select and save their payment method.
Return to Checkout: After saving the payment method, users are directed back to the checkout page where the tax is then calculated using the Stripe Tax
Related Request ID(s)
API, Payment
What have you already attempted?
other ways with out calculating TAX
What are you working on?
An app for a golf tee time sharing platform
@topaz talon pressed the π API button in #help to ask a question:
Question
Hi, i want to charge fee from connected account of each payout and if payout will failed i want to refund that fee
Related Request ID(s)
req_S0BmwuTo9VRoyU
What have you already attempted?
.
@atomic olive pressed the π§βπ» Code button in #help to ask a question:
Code
https://docs.stripe.com/elements/appearance-api?platform=web#code-input
Providing override styles for the code input by customizing the rules property. E.g.
<Elements options={{ appearance: { rules: '.CodeInput': ... }}} />
Question
I am able to provide a whitelist over styles to the CodeInput component of the Stripe Payment element by providing appearance rules for the <Elements> component. These work pretty well in the sense that I can customize the resulting UI elements text color, background color, border etc.
One of these customization I have made is to change the background color of the individual CodeInput boxes. I have set a light color but the caret color does not change to reflect this
What have you already attempted?
In the browser dev tool i can identify the <input> element that Stripe uses to get user input for the CodeInput. The css color of this is set to the css variable var(--colorText). This style is also used for body text. I cannot change this as it will also change text throughout the Stripe checkout.
What are you working on?
Stripe checkout using the react stripe library.
@shell raven pressed the π API button in #help to ask a question:
Question
With Stripe Connect you can set an application fee to collect part of every payment from your connected accounts to your main account. The problem is this fee can only be set via API calls. My clients want to use the Stripe Dashboard to create and manage subscriptions and invoices so my idea was to use webhooks to update these objects. However setting the "application_fee_percent" for a subscription does not automatically charge an application fee to any invoices or payments for that subscription.
Related Request ID(s)
evt_1P6KrRITft8TrCpCyvjzY8xO
What have you already attempted?
I tried to also update any invoices that get created and change the application_fee_amount for each but sometimes the invoice is processed before it can be updated via the webhook event. What is more sometimes webhook events for invoice creation come after the invoice paid events...
@proud lily pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Subscription to update the renewal date by 14 days into the future. The customer will be charged the same amount they were originally to be charged, but 14 days later than expected + billing anchor to extend 14 days into the future.
What actually happened?
The invoice now is getting ready to charge $0 on the SAME day that they would have renewed ORIGINALLY
Reproduction Steps
I'd rather look for a solution, but you can check sub_sched_1P0deyDyFtOu3ZuTq4oFAvwJ for an exact JSON I sent.
Question
This happened in LIVE mode after I tested this working properly in TEST mode. How can we revert this change first of all, and then i'd like to explore what actually happened.
@feral delta pressed the π API button in #help to ask a question:
Question
Hi I use the Stripe Balance transactions api to reconcile payments and I am not quite understanding the available_on field as it pertains to refunds. Available_on for refunds seem to always be identical to the creation date. On the Stripe portal however, the payout which the refund shows up under is available several days later. Just wondering how this availalbe_on field is interpreted in these cases? Or should i ignore it entirely?
Related Request ID(s)
Na
What have you already attempted?
Read docs, play with api
@midnight bear pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Afterpay is enable (never been utilized before) but any invoice (per the correct parameters// US Based, USD Currency, etc) will say that AfterPay is not available "for this invoice" (on any invoice)
What actually happened?
Afterpay is not showing as a payment method for any US based invoices
Reproduction Steps
Create an invoice and see the available payment methods except Afterpay (Again, have confirmed it's enabled in the account)
Question
What are we missing. Everything appears to be enabled correctly.
@oblique pollen pressed the π§βπ» Code button in #help to ask a question:
Code
element options:
appearance,
locale: locale.language,
currency: locale?.currency,
mode: "subscription",
amount: state.totalDueToday,
setupFutureUsage: "off_session",
paymentMethodCreation: "manual"
on confirm purchase -> elements.submit() ->stripe.createPaymentMethod() -> createSubscription with
{pay_immediately: false,
payment_settings: {
save_default_payment_method: "on_subscription" },}
in the options, then confirmSetup({options, elements, ...})
Question
Using Stripe Payment element and creating the elements object without an intent - about 50% of the time the customer.subscription.updated doesn't fire to update the payment method on the subscription so the subscription is created successfully and the payment method is attached to the customer successfully but the payment method isn't attached to the subscription so the payment never processes
What have you already attempted?
On purchases where the payment works, the subscription is updated with the payment method and when it doesn't work, that event never gets fired but I haven't been able to figure out why that would be happening, it seems to be completely random
customer: cus_PwBMDlU1hIHrY1
subscription did successfully have the payment method added: sub_1P6IyIAFQUUIWEfkRb6bUcTp
subscription where payment method wasn't added: sub_1P6JKNAFQUUIWEfkGZol
both purchased the exact same way
@lilac smelt pressed the π API button in #help to ask a question:
Question
Hi there, How can we get the list of payments included in the payouts ?? Is there any API call for that ?
Related Request ID(s)
Payments in payouts
What have you already attempted?
When I do the Balance Transactions API call with PayoutID , It is returning the all charges, transfers, refunds, fee and adjustments. How can I get the Only payments and refunds ?
@ornate cloud pressed the β An Error button in #help to ask a question:
Error Message
On April 5th, 2024, we changed Stripe CLIβs GPG key to install the Stripe CLI through apt. If you configured the public key before April 5th, youβll start to encounter an error that resembles the following:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.strip
Question
https://docs.stripe.com/stripe-cli
On the Stripe CLI docs APT installation, there's a warning message about updated GPG key. What should I do to get these keys updated?
What have you already attempted?
Searched for existing solutions on the web and came across this issue on Github.
@lilac smelt pressed the π API button in #help to ask a question:
Question
How can we get the PaymentIntentID when we have the paymentID ?
Related Request ID(s)
How can we get the PaymentIntentID when we have the paymentID ?
What have you already attempted?
How can we get the PaymentIntentID when we have the paymentID ?
@frozen bloom pressed the π§βπ» Code button in #help to ask a question:
Code
const dateNow = new Date();
const totalPayments = payment === 'monthly' ? 12 : payment === 'weekly' ? 52 : 24;
const cancelAtDate = new Date(dateNow.getTime() + totalPayments * intervalDays * 24 * 60 * 60 * 1000);
const cancel_at = Math.floor(cancelAtDate.getTime() / 1000);
const date = new Date(dateNow.getFullYear(), dateNow.getMonth() + 1, dateNow.getDate());
const billing_cycle_anchor = Math.floor(date.getTime() / 1000);
Question
Why is it that when the first and last payments of my subscription are made, it seems that money is deducted based on the monthly, bi-weekly, or yearly product price?
What have you already attempted?
I'm trying to set up a subscription for the user. I've already checked the corresponding documentation, but when I start the subscription, the first and last payments aren't based on the product's cost, and the price decreases.
In the end, all I need is to charge the user over the course of a year (hence the payment being canceled in a year) and have it total 12 payments of a fixed price depending on the product's rate.
What are you working on?
I am working on a monthly, weekly, and bi-weekly payment method over the course of a single year
@pallid fern pressed the π§βπ» Code button in #help to ask a question:
Code
PrivacyInfo.xcprivacy is still not found in the StripePayments framework
Question
Apple require privacy manifest in Stripe SDK, but PrivacyInfo.xcprivacy is still not found in the StripePayments framework on the latest version
What have you already attempted?
Have updated Stripe SDK to latest version 23.27.0,
What are you working on?
Maintaining Stripe integration through mobile SDK
@echo coral pressed the π API button in #help to ask a question:
Question
I have called refresh token API to get new access token, but received the error
{
"error": "invalid_grant",
"error_description": "Refresh token does not exist: rt_PwJBrF04FwigAxdJ2hMVXuswE9RrACJ7LVikQnjWIsixHuNa"
}
Related Request ID(s)
req_BNLwZdko4tGb0I
What have you already attempted?
I've passed the refresh token I received when call access token API
@frozen ivy pressed the π API button in #help to ask a question:
Question
I use a webhook listening to payment_intend.succeed event to confirm the product purchase on server side. But looking into the webhook payload I couldn't find out how to get the product/productId of the purchase.
Related Request ID(s)
N/A
What have you already attempted?
Tried to look for the retrieve product API, but it takes product id as argument, and the payload doesn't contain that
What are you working on?
Running JavaScript serverless function to receive webhook from Stripe and process the payment before updating user info in our service
@boreal star pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/subscriptions
Question
I'm trying to create an app with a ChatGPT integration and I've added a Stripe subscription to it. Now, I want something like a quota system, where if a user has paid $5 for a subscription, they are only allowed to hit the API 5 times a day.
Now, I'm not sure if Stripe has this kind of feature where it can prevent users from hitting the API further once they reach their daily quota, or if I have to handle it manually.
What have you already attempted?
I have already integrated subscription and cards API so user now can subscribe using his card.
@cold blaze pressed the β An Error button in #help to ask a question:
Error Message
Stripe Payments v4.0.0 depends on Stripe PHP library v12.7 or newer. Please
upgrade your installed Stripe PHP library with the command: composer
require stripe/stripe-php:^12.7
Question
I run the command
command: composer require stripe/stripe-php:^12.7
without success
What have you already attempted?
I followed the instructions found here https://docs.stripe.com/connectors/adobe-commerce/install
I tried to uninstall the module and installed it again but no success.
On top of that stripe disappeared from magento admin!!!
@cold bear pressed the π§βπ» Code button in #help to ask a question:
Code
"Your platform is not allowed to use the `payment_method_options[card][moto]` 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."
Question
"Your platform is not allowed to use the `payment_method_options[card][moto]` 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."
What have you already attempted?
"Your platform is not allowed to use the `payment_method_options[card][moto]` 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."
What are you working on?
"Your platform is not allowed to use the `payment_method_options[card][moto]` parameter on connected accounts in requests like this one. If you believe this req
@vocal wagon pressed the π Best Practices button in #help to ask a question:
Question
How does stripe scale globally? Do I need to create a new stripe business profile for each region to avoid paying the international payment processing fees?
Doc/Guide Links
https://stripe.com/au/guides/best-practices-for-launching-and-scaling-platform-payments
What are you working on?
A secondhand marketplace
@cloud harbor pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/js/element/other_element?type=card
Question
Is there any way to get issuing country code after card number is entered.
What have you already attempted?
I am using Stripe card elements for processing payments. I wanted to know if the card is domestic or international?
is there any way?
@neat current pressed the π API button in #help to ask a question:
Question
Create a session and attach some metadata to the lineitems -> price_data -> product_data -> metadata.
When retriving the line items by session id, nothing appears in the metadata field - just empty {}.
const lineItems = cartDetailsArray.map((item: CartItem) => {
return {
price_data: {
currency: item.currency,
product_data: {
name: item.name,
images: [item.imageSrc],
metadata: {
hello: "world",
},
},
.......
Related Request ID(s)
..
What have you already attempted?
// Make a call to the Stripe API to retrieve the line items from the session id
let lineItems = await stripe.checkout.sessions.retrieve(
checkoutSessionId, {
expand: ['line_items']
});
What are you working on?
attempting to attach custom metadata to the product_data in lineitems.
@twin obsidian pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/payment-element
Question
I have a query, i have implemented stripe payment element. is Cash App Pay or US bank Account payment saves on vault. or vault is only for credit card?
What have you already attempted?
I have a query, i have implemented stripe payment element. is Cash App Pay or US bank Account payment saves on vault. or vault is only for credit card?
@fierce mortar pressed the π API button in #help to ask a question:
Question
I want to capture payment details to be used later, but not for taking a payment at this moment in time. However I get an error trying to create a payment intent with 0 amount.
Related Request ID(s)
NA
What have you already attempted?
Trying to create a PI the normal way with 0 amount.
What are you working on?
Taking no payment for an initial trial period which will be automatically charged later, or to pay for a subscription once their current credit has run out.
@vocal wagon pressed the π Best Practices button in #help to ask a question:
Question
Looking to create destination charges whilst in test mode so I can see where I need to do things, unable to proceed as of right now. Is it because I need verification to proceed?
Doc/Guide Links
https://docs.stripe.com/terminal/design-multiparty-platform
What are you working on?
Connect Express account where terminal will be used on the premise
@neat current pressed the π API button in #help to ask a question:
Question
This is a continuous question to the msarheed_api regarding retrieving the metadata of a product from the checkout session.
In the Stripe CLI I am able to retrieve the metadata when expanding like this: stripe checkout sessions retrieve cs_test_b1vuZboGjTXf6NBiPzpeDnt1wHxhsMgsk58Nc6fyRcQ47oAMnEm1DwvK70 --expand=line_items.data.price.product
However, when making a regular API call in my nextjs app, it just returns product: [Object].
let lineItems = await stripe.checkout.sessions.retrieve(
checkoutSessionId, {
expand: ['line_items.data.price.product']
});
Related Request ID(s)
..
What have you already attempted?
..
@cloud harbor pressed the π§βπ» Code button in #help to ask a question:
Code
var elements = stripe.elements();
var cardNumberElement = elements.create('card', style);
cardNumberElement.mount('#card-number');
Question
When using Card elements, Postal code is asked by default. But when international cards are used, '4000007840000001'. Postal code is not required. How is this validation done? So postal code is not required for international card payments. If so, How do we know a particular card is an international card when using element.create('cardNumber') for processing payments?
What have you already attempted?
var elements = stripe.elements();
var cardNumberElement = elements.create('card', style);
cardNumberElement.mount('#card-number');
@waxen yacht pressed the π Best Practices button in #help to ask a question:
Question
Leaving an upaid invoice at the end of a free trial when no payment method has been added is great, but if the user wants to switch from the annual recurring price to the monthly recurring price, the customer portal will not let them ( i assume, due to the unpaid invoice). I tried to update the subscription via API prior to creating checkout session, but it causes a proration of the annual rate minus the monthly rate, leaving them with a credit on their account when they have not paid anything yet. It feels like I am approaching this wrong. Thanks in advance!
Doc/Guide Links
https://dashboard.stripe.com/test/logs/req_uF3mjfV7FJuT2t
What are you working on?
I have an application which lets users sign up for subscriptions with free trials. I have settings configured so that an invoice gets created at the end of the trial, and if no payment method has been added by that point, the invo
@vocal wagon pressed the π API button in #help to ask a question:
Question
We are currently pulling invoices and products with the API. When we import an invoice we also import the products in the invoice.
We have a customer that has a small list of usage based products, but they have a lot of invoices with lines like Unused time on XXX after 27 Apr 2020 or Remaining time on 24 Γ XXX after 11 Jun 2020 . These lines are one off products unrelated to the original product, so we are importing them and we end up with a huge list of products on our side.
Is there a way to identify this one-off products? Is there a way to related them to the original product?
Related Request ID(s)
Not a request id, but an example of one-off product: prod_NiGdhDk3akAmhz
What have you already attempted?
I don't see anything in the https://docs.stripe.com/api/products/object doc, and looking that requests in the stripe Dashboard I also don't see anything that could help me relate the product to the original one, or that is a one-off product.
What are you working on?
Importing invoices and products from stripe into our system
@magic shadow pressed the π API button in #help to ask a question:
Question
When using Web Payments Element with ACH, is it possible for FE to have access to bank connection failure? This is an error that can happen when stripe fails to connect to a bank and we wish to display additional info to help our users (i.e. Failed to connect to bank please reach out to `xxxxx@mail.com`
Related Request ID(s)
req_TD6CeCdVyrP1CY
What have you already attempted?
```tsx
<Elements options={{clientSecret}} stripe={stripePromise}>
<PaymentElement
onChange={{event => ... }} // event does not contain an error field
options={{
wallets: { googlePay: 'never', applePay: 'never' },
}}
/>
</Elements>
```
What are you working on?
We are rendering a payment form for users to save their payment info details with US bank accounts. Another goal is to inform users of an error, such as the one mentioned already..
@astral talon pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Using test clocks from the dashboard to advance time for a subscription with collection method "send invoice" in test mode, I was expecting the invoice email to be sent. I have setup a custom domain and tried sending the invoice manually, which works.
What actually happened?
The email with the invoice is not sent, not allowing me to test that invoices are sent when the subscription billing cycle should trigger it. I can see that it says "invoice sent" in the events but I'm not actually getting the invoice via email (I've checked the spam folder).
Reproduction Steps
Create a new subscription for a customer with a billing email to which we have access, with collection method "send invoice" and billing cycle one month in test mode, setup test clock for the subscription from the dashboard, advance time until one month later, wait for the invoice to be sent to the email address.
Question
How can I test sending invoices via email for subscriptions with collection method "send invoice"?
What are you working on?
I'm integrating with stripe in the backend for the self service portal I'm building for my company
@snow cargo pressed the πͺ Webhooks button in #help to ask a question:
Question
i am getting TLS error on my webhook
Related Event ID(s)
evt_1P6PqAEhbOpKCMZoPCduIVQF
What have you already attempted?
https://support.stripe.com/questions/webhooks-how-to-investigate-and-fix-tls-error
What are you working on?
make webhook work
@native moth pressed the π API button in #help to ask a question:
Question
Hi, we're having issues with billing email addresses and your API. On a customer object the entire billing address and email section is missing. It's only available on in the UI.
Related Request ID(s)
evt_1P6SZ0Guhe4aTlcF9lLkRtIc, in_1P6SX4Guhe4aTlcFGaaBP3po,
What have you already attempted?
I've read all docs regarding customer, billing, invoces. Tried all ui settings. Tried triggering multiple different webhooks and api endpoint. I've contacted the stripe support but i've spent an hour now tried explaining that i cannot access billing email address in the API, but they don't understand and i'm getting really frustrated so I'm trying my luck with an actual developer here.
What are you working on?
Work order system for Tradesmen, like plumbers, electricians etc. We have multiple integration to economy systems and wholesalers.
@simple forge pressed the π API button in #help to ask a question:
Question
Hi I'm just new here, I just want to know I need developer access to integrate stripe to another platform?
Related Request ID(s)
None
What have you already attempted?
None
What are you working on?
Trying to connect it to ghl
@lilac bay pressed the π Best Practices button in #help to ask a question:
Question
If a customer has a PaymentMethod of type 'link', is there any way I can the details of the original PaymentMethod it's linked to?
Doc/Guide Links
https://docs.stripe.com/payments/link
What are you working on?
Payments
@winter tulip pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
After creating a scheduled subscription with a start date of utc.now, & then entering card details, I expected to receive the invoice.paid event to the webhook shortly after
What actually happened?
The invoice.paid event occurred an hour after entering the card details.
Reproduction Steps
Created the schedule with the following settings:
var subscriptionScheduleOptions = new SubscriptionScheduleCreateOptions
{
Customer = customerId,
Metadata = metadata,
EndBehavior = "cancel",
StartDate = DateTime.UtcNow;
... and then the phases
};
I then updated the associated subscription with metadata & to get the client secret to pass back
Question
How can I get the invoice.paid once the user enters the card details like it was behaving before. Maybe the settings I updated the subscription with are incorrect:
{ Metadata = metadata,
PaymentSettings = new SubscriptionPaymentSettingsOptions() { SaveDefaultPaymentMethod = "on_subscription" },
PaymentBehavior = "default_incomplete",
OffSession = true};
@neat dawn pressed the π API button in #help to ask a question:
Question
I have a couple of cuestions about invoices
Related Request ID(s)
we_1P6U7nB2BzF6ryrobfExJ5gp
What have you already attempted?
I have a couple of cuestions about invoices
@vital parrot pressed the π API button in #help to ask a question:
Question
Checkout session with expanded line_items and invoice is missing line_item metadata
(const session = await stripe.checkout.sessions.retrieve(checkoutSessionCompleted.id, {
expand: ["line_items", "invoice"],
});)
Related Request ID(s)
req_PgB018yGeIkvFi
What have you already attempted?
Line item should have metadata object according to https://docs.stripe.com/api/invoices/line_item
@unreal mesa pressed the β An Error button in #help to ask a question:
Error Message
Internal error: Error: Not a valid URL
at StripeError.generate (./node_modules/stripe/esm/Error.js:23:20)
at res.toJSON.then._Error_js__WEBPACK_IMPORTED_MODULE_0__.StripeAPIError.message (./node_modules/stripe/esm/RequestSender.js:109:82)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
digest: "1661228075"
Question
stripe checkout not working in test environment, runs correctly in live
What have you already attempted?
i've confirmed i'm using the correct test key.
i'm using valid url for success and cancel
@orchid matrix pressed the π API button in #help to ask a question:
Question
Why dose my Stripe account call api to confirm and get response that payment intent not found ? I attaches curl bellow
Related Request ID(s)
Non
What have you already attempted?
curl 'https://api.stripe.com/v1/payment_intents/pi_3P6UwBCap6eoiy2d0kV7gm0E/confirm'
-H 'accept: application/json'
-H 'accept-language: en-US,en;q=0.9'
-H 'content-type: application/x-www-form-urlencoded'
-H 'origin: https://js.stripe.com'
-H 'referer: https://js.stripe.com/'
-H 'sec-ch-ua: "Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"'
-H 'sec-ch-ua-mobile: ?0'
-H 'sec-ch-ua-platform: "macOS"'
-H 'sec-fetch-dest: empty'
-H 'sec-fetch-mode: cors'
-H 'sec-fetch-site: same-site'
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac O
@light bough pressed the π API button in #help to ask a question:
Question
I'm calling the report run API to generate a report based upon balance transactions between a date range, however the report is never generated.
Related Request ID(s)
req_7fiWK5tlQBP8HU , frr_1P6VLeAMTZO1JfZxTknge7eO
What have you already attempted?
Tried to call the report run API to generate a report based upon balance transactions between a date range. Checking the report run API every 30 seconds to determine if the report has been generated.
Previously this report would take 2-3 minutes to generate, but since Monday 15th April, all reports are failing to generate. Even if requesting a report through the Dashboard and email when complete - I receive an email indicating the report failed, so I'm assuming here these are related.
@ionic radish pressed the πͺ Webhooks button in #help to ask a question:
Question
How can I re-run a webhook event without having to go into the dashboard, cancel it and re create it over and over?
Related Event ID(s)
n/a
What have you already attempted?
I dont know because I run a create session, complete it and it passes the event to the backend webhook, but I cannot test the integration because it requires me to go and cancel the previous test sub and remake it, instead of being able to send the test data to my backend again.
What are you working on?
A SaaS app within nextjs
@sharp siren pressed the π API button in #help to ask a question:
Question
Hi, is there a way to change the currently active tab of Stripe Elements via code?
Related Request ID(s)
N/A
What have you already attempted?
Tried to look for available methods, but couldn't find any
@celest seal pressed the π API button in #help to ask a question:
Question
Users can purchase single-time-purchase products in my app, as well as subscriptions which are paid for monthly. I would like my app to monthly gather a summary of all created/extended/canceled subscriptions to print a summary. What endpoint(s) could I use to fetch the required data?
I would need something like:
New subscriptions: 10
Canceled subscriptions: 1
Extended subscriptions: 5 (people who did not cancel and keep paying for a new period).
(all single buy products listed down here with how often they are bought)
Related Request ID(s)
Not applicable.
What have you already attempted?
Tried to look through the docs but couldn't really find what I was looking for. I can query subscriptions and invoices or something, but it is not really clear to me.
What are you working on?
An app which can print a summary of alterations in subscriptions or purchased products per month.
@leaden stirrup pressed the π Best Practices button in #help to ask a question:
Question
How to update default payment information on subscription when checking out with a custom checkout, just like the stripe default checkout seems to be doing by default.
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/trials
What are you working on?
a small saas project where i offer music production tutorials. users can subscribe to different tiers.
@fickle vessel pressed the π§βπ» Code button in #help to ask a question:
Code
<ConnectComponentsProvider connectInstance={stripeConnectInstance}>
<ConnectAccountOnboarding
onExit={() => {
console.log('The account has exited onboarding');
}}
// Optional: make sure to follow our policy instructions above
// fullTermsOfServiceUrl="{{URL}}"
// recipientTermsOfServiceUrl="{{URL}}"
// privacyPolicyUrl="{{URL}}"
// skipTermsOfServiceCollection={false}
// collectionOptions={{
// fields: 'eventually_due',
Question
I am trying to use stripe embedded onboarding form in my signup flow. When I tried to integrate the form. Its opening up the form in a new popup window. I want it as an iframe embedded in my signup flow.
What have you already attempted?
None
What are you working on?
Custom Connect Onboarding with Embedded forms
@rich valley pressed the π API button in #help to ask a question:
Question
hello, I use PaymentElement for my checkout form. After user paid using Google Pay or Apple Pay, how can I retrieve billing address from confirmed setup intent or payment intent? Is it even possible?
The idea behind this is to hide billing address field in my checkout form, but retrieve it from GPay or APay.
Related Request ID(s)
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=setup
What have you already attempted?
I was able to retrieve billing address using PaymentRequestButton, but I don't want to use it. I'm gonna use PaymentElement
What are you working on?
rebulding my checkout form
@dark kiln pressed the π API button in #help to ask a question:
Question
getting reader error: payment intent id can't be null while calling terminal.collectPaymentMethod(clientSecret)
Related Request ID(s)
a
What have you already attempted?
terminal.collectPayment used to work but suddenly stopped working
@obtuse vale pressed the π API button in #help to ask a question:
Question
We are a connect partner working on a Tap to Pay app, how can we pass the stripe acc ID to distinguish between our connect accounts?
Related Request ID(s)
n/a
What have you already attempted?
Currently only passing the clientSecret as mentioned in the docs.
What are you working on?
Tap to pay app - react native
@fierce mortar pressed the π API button in #help to ask a question:
Question
Hello. Trying to use a SetupIntent to capture payment data. I got PaymentIntent working, so I thought this was going to be largely the same. I create a SI. pass the details (client_secret etc) to our frontend. Frontend uses the WebElement to take card details, apparently successfully. I expected to receive a PaymentMethodAttached event back so we can capture the id, but the only event we received is SetupIntentCreated.
Related Request ID(s)
evt_1P6V8aJk75hPCxYyjrffzp8y
What have you already attempted?
Mostly a copy of PI code, but stripping out details the SI doesn't need (as far as I can tell).
What are you working on?
Capturing payment info for future subscription payments.
@surreal frost pressed the π API button in #help to ask a question:
Question
I am trying to update subscription (delete and old price and attach a new price), but I want to do it without proration via Python library for Stripe API. I use `stripe.Subscription.modify` method where as `**params` I pass `proration_behavior='none'`. Yet proration happens , and when I look at logs, I don't see this field in my request
Library version:
stripe = "5.4.0"
Related Request ID(s)
req_kev9lzJxKzMnaJ
What have you already attempted?
I've read the docs on updating subscription, and everything works fine with direct request, but I have problems with stripe library
@vocal wagon pressed the π Best Practices button in #help to ask a question:
Question
Is a user able to create an express account that they are connected themselves to a different Connect account?
Doc/Guide Links
https://docs.stripe.com/connect/dashboard
What are you working on?
Connect account
@hollow shard pressed the π§βπ» Code button in #help to ask a question:
Code
return await this.stripe.paymentIntents.create({
amount: amount,
currency: currency,
customer: customer,
setup_future_usage: 'off_session',
off_session: true,
description: description,
metadata: StripeService.limitMetadata(metadata),
confirm: true,
});
Question
I'm trying to charge a customer (payment method was added previously) but I haven't found a configuration that works. What should I change in the paymentIntents.create function? If I create the charge manually from stripe console it works. The error I get after running the paymentIntents.create is authentication_required
What have you already attempted?
I've been changing the paymentIntents.create config but I haven't found the right one. I've tested with and without:
- automatic_payment_methods: {
enabled: true,
},
- setup_future_usage: 'off_session',
- off_session: true,
@signal flame pressed the πͺ Webhooks button in #help to ask a question:
Question
Hi. I set up a checkout.session.completed webhook a few days ago. I've since had purchases, but I'm not getting anything on Webhook.
Related Event ID(s)
we_1P5nLZIDrgNx9eJy9Tq4AgSs
What have you already attempted?
I opened the webhook just like previous times I opened webhooks
What are you working on?
Post-purchase automation processes (on MAKE)
@vocal wagon pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/paypal/connect-your-paypal-account
Question
I want to know which should i choose if i want paypal payments to go directly to my stripe account without extra work and if i need to add something to my code. I'm using the PaymentElement element to accept payments in frontend using payment intents provided from the application backend
What have you already attempted?
I'm trying to connect paypal to my stripe account to accept paypal payments. I already turned on PayPal in wallets section in payment methods, added my PayPal account and got a page that has two options: 1-Go back to stripe page 2-Set up automatic transfer
What are you working on?
An e-commerce web application
@vivid ocean pressed the π API button in #help to ask a question:
Question
How can I query by invoice number? Ie the invoice number that is given to the customer? Currently I can only find a way to look up invoice by the stripe invoice_id, but this is not what is provided to the customer. The Invoice number shows up as the name of the invoice. I thought I would be able to query for this field easily, but it seems omitted from the API docs.
Related Request ID(s)
n/a?
What have you already attempted?
Tried to build a query that looks up invoices based on invoice number. Field is not available for querying
What are you working on?
Get invoice by invoice number, then update the invoice
@worldly yoke pressed the π§βπ» Code button in #help to ask a question:
Code
await this.stripeClient.subscriptions.update(eventObject.id, {
metadata: {
keySent: 'true',
},
});
Question
Problem is that i get the below error in both production and local:
production:
Failed to forward request to http://169.254.129.2:8080. Encountered a System.Net.Http.HttpRequestException exception after 4880.048ms with message: An error occurred while sending the request.. Check applicatio
local:
[ERROR] Failed to POST: Post "http://localhost:8080/api/stripe/webhook": dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.
What have you already attempted?
This code was working without any issue, there was no problem but all of a sudden the error started to appear.
@neat charm pressed the π§βπ» Code button in #help to ask a question:
Code
const terminal = StripeTerminal.create({
onFetchConnectionToken: fetchConnectionToken(//...),
onUnexpectedReaderDisconnect: () => { },
onConnectionStatusChange: (data) => { }
})
terminal.discoverReaders\(\).then\(discoverResult =\> {
const reader = discoverResult.discoveredReaders.find\(...\)
terminal.connectReader\(reader\).then\(connectResult =\> {
}\).catch\(error =\> {
}\)
}\).catch\(error =\> {
}\)
Question
I'm connecting to a stripe terminal with the javascript sdk, which works fine.
But then turning the terminal off, will result in a timeout, which then results in an error: "v1/:1 Unhandled promise rejection Error: Could not communicate with the Reader.".
It appears that this happens in the stripe SDK, which i can't handle, this then crashes my react app.
Am I missing something, or what can I do to prevent this from happening?
What have you already attempted?
Catching all errors where possible.
What are you working on?
A stripe terminal backend
@idle solar pressed the πͺ Webhooks button in #help to ask a question:
Question
I am listening to webhooks locally `with stripe listen --forward-to localhost:8080/status/stripe-webhook`. I am seeing multiple webhooks being sent/processed simultaneously when I don't believe they should be.
Related Event ID(s)
evt_0P6Yo83MFIk84T3ncX5AHPE9, evt_0P6YoK3MFIk84T3niBkynFIX
What have you already attempted?
I've tried searching to see if this is a known stripe cli bug.
@shell valve pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Test invoice line items to be grouped based on metadata field.
What actually happened?
No grouping occurs in a template that has a grouping rule based on metadata field that is evidently in the invoice items.
Reproduction Steps
Environment: Test
Invoice: in_1P6RZfF5n5KjLa7RvWdZc4VK
Question
I'm trying to test an invoice grouping rule and it doesn't seem to work even though the invoice line items have the metadata I am trying to group by.
What are you working on?
Grouping line items in an invoice
@ionic radish pressed the π§βπ» Code button in #help to ask a question:
Code
too long for this input box... see second message in thread
Question
How do I get the features of the subscription plan/price to display in the checkout?
What have you already attempted?
I have read the docs and looked at the reference but inside subscription_data I only see description which is already populated automatically from the product information in the catalogue on the dashboard.
What are you working on?
NextJS SaaS app.
@wide python pressed the π API button in #help to ask a question:
Question
I am trying to show the approximate amount in USD for customers paying in EUR. I want to use exchange_rates api but it returns me not found. Why I see not found in response?
Related Request ID(s)
I don't see any
What have you already attempted?
I was trying to hit the api but it doesn't work. I don't know why.
What are you working on?
a marketplace where we leverage stripe connect
@idle sierra pressed the π§βπ» Code button in #help to ask a question:
Code
BillingCycleAnchor = new DateTime(DateTime.UtcNow.Year, DateTime.UtcNow.Month + 1, 1),
Question
Here is what we are doing: 1. We have a custom invoice built on Site. 2. The Invoice include subscription of Product and one time payment free in Subscription 3. We want the payment cycle to be from 1st of month to end of month. So if custom subscribe on other day other than 1st ( DAY 18 of Month), we prorate the price 4. So when setting up subscription, we want to provide prorated prices for the first month if user does not subscribe on 1st of month. We also add one time
What have you already attempted?
Scheduled Invoice, Prorate Prices
@merry cypress pressed the π Best Practices button in #help to ask a question:
Question
Stripe Express Onboarding Industry
Doc/Guide Links
https://docs.stripe.com/api/accounts/create#create_account-business_profile
What are you working on?
Is it possible to prefill industry type while creating account through API?
@hollow shard pressed the π§βπ» Code button in #help to ask a question:
Code
return await this.stripe.paymentIntents.create({
amount: amount,
currency: currency,
customer: customer,
off_session: true,
description: description,
metadata: StripeService.limitMetadata(metadata),
confirm: true,
});
Question
I'm trying to charge a customer (payment method was added previously) but I haven't found a configuration that works. What should I change in the paymentIntents.create function? If I create the charge manually from stripe console it works. The error I get after running the paymentIntents.create is authentication_required
What have you already attempted?
I've been changing the paymentIntents.create config but I haven't found the right one. I've tested with and without:
- automatic_payment_methods: {
enabled: true,
},
- setup_future_usage: 'off_session',
- off_session: true,
@regal horizon pressed the π API button in #help to ask a question:
Question
Error using transfer API. My connected account is custom, payout is manual, tos acceptance is full, and country is US. Not only in API but in dashboard as well. It throw error when I try to add fund to a connected account
Related Request ID(s)
none
What have you already attempted?
Tested the transfer API
What are you working on?
Transfer funds through API from platform to a connected account
@vital parrot pressed the π API button in #help to ask a question:
Question
In invoice object, what is the difference between shipping_details and customer_address? They are the same for one-off payments?
Related Request ID(s)
req_JmowRZwOfq6zr0
What have you already attempted?
..
@eternal basin pressed the π§βπ» Code button in #help to ask a question:
Code
def add_registration_for_tax(data: dict):
stripe = get_stripe_instance()
registration = stripe.tax.Registration.create(**data)
return registration
Question
I just want to register province_standard type for canada here is my payload:
payload = {
"country":"CA",
"country_options":{
"ca": {
"type": "province_standard",
"province_standard": address.province,
}
},
"active_from":"now"}
add_registration(payload)
What have you already attempted?
I am getting this response in stripe logs:
{
"error": {
"message": "Invalid object",
"param": "country_options[ca][province_standard]",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_itfxhoM4jSdSgE?t=1713365173",
"type": "invalid_request_error"
}
}
What are you working on?
I want to calculate tax for my payment intent cause stripe does not provide tax calculation for low level transactions I am not sure what I am missing here
@unique cedar pressed the π API button in #help to ask a question:
Question
We are working on a flow for customers to pay for `past due` subscriptions. Payment is successful at the moment.
However, the card used to settle the bill is not getting marked as default when the payment intent is successful, which leads to subscription becoming past due again on the following billing cycle.
Could you please help me out on how to do it? Can I set any flag on the intent to link the payment method?
Related Request ID(s)
req_CuTxbZUJqc9xjO
What have you already attempted?
- Read documentation
- Check for examples
- Ask Stripe documentation AI
@viral spoke pressed the πͺ Webhooks button in #help to ask a question:
Question
How to retrigger a payment_intent.succeed webhook, when the input from my side is a charge id?
Related Event ID(s)
None
What have you already attempted?
I looked for an api to find something like that, but couldn't find how to retrigger a webhook event via the api
Hey all, apologies for the delays. My colleagues and I are pretty busy right now but we are getting to questions as fast as we ca
@gloomy glen pressed the π Best Practices button in #help to ask a question:
Question
My country's (EU/Bulgaria) regulations require that invoices have a 10-symbol number (only numbers allowed ). The numbered needs to be left zero padded. How can we achieve that with stripe's invoice numbering schema, given that invoice numbers are generated when the invoice is finalized, and by that time we can't change the invoice and create a custom field with the correct number format. What would be the best approach to comply with those rules.
Doc/Guide Links
https://docs.stripe.com/invoicing/customize#invoice-numbering-schemes
What are you working on?
An app with a subscription based paying schema.
@jagged plume pressed the β An Error button in #help to ask a question:
Error Message
I am not able to install RevenueCat App from market place in test mode.
Question
Are Stripe's marketplace app specially RevenueCat not installable in Test/Dev mode ?
What have you already attempted?
I have tried to install and uninstall multiple times.
What are you working on?
I am trying to test RevenueCat app from marketplace with test data in test mode.
@rotund fractal pressed the π API button in #help to ask a question:
Question
Is it possible when creating a checkout session through api to give a true or false to determine wether we want to collect tax or not. I saw some things about the automatic_tax etc. but nothing got us were we wanted yet.
Thanks
Related Request ID(s)
req_KhtCr9UHJwtdm5
What have you already attempted?
Tried with a bunch of the automatic_tax and other params but it does not behave like I would expect
What are you working on?
we use stripe for our subscriptions of our B2B users
@foggy salmon pressed the π API button in #help to ask a question:
Question
I am currently getting the card brand of a payment method via the api, but is it possible to get the card brand? For instance, I can see the card is Mastercard, but I would like to display that it is from Monzo.
Related Request ID(s)
pm_1OzIMwBMYVWS7uN7RpjYmuu7
What have you already attempted?
Looking at the API docs for what I assume to be relevant
@golden gale pressed the π API button in #help to ask a question:
Question
I'm using stripe web elements with a SetupIntent in the backend to get a customer to register a bank account (live system - all tested and working on test system). When the customer clicks "connect account" having selected their account, I just get a generic failure message. Nothing on the stripe dashboard to indicate what has gone wrong?
Related Request ID(s)
seti_1P6a4LA5RKqObLFczoXrEyoz for cus_PwT0IQKEIEfcxs
What have you already attempted?
screenshots to follow to show the flow....
What are you working on?
capturing payment method (bank account for ACH direct debit) for later off session usage
@slim heron pressed the π API button in #help to ask a question:
Question
Transfer money from stripe account to a customer
Related Request ID(s)
none
What have you already attempted?
i didn't find any api that could work for my case
What are you working on?
i have an app that sometimes users tip each other i send the money to my stripe account ,and i keep the users sold in database but there is an option the user can get his money
@cyan wedge pressed the πͺ Webhooks button in #help to ask a question:
Question
I've got webhooks working perfectly in my test environment locally. I've now got my backend and frontend hosted for production and imported the exact webhook setup within Stripe, added the production secrets etc.
I've done multiple successful connect subscription payments and I can see the successful payments come through in the production stripe interface. I'm listening for customer.subscription.deleted, invoice.payment_failed &
invoice.payment_succeeded. None of these webhook events are firing.
Related Event ID(s)
Here's a successful payment intent id you can check out on my production account: pi_3P6abwE0h8bW17U61XHhwULi
What have you already attempted?
Adding / removing webhook URLs multiple times. Adjusting secrets. The webhooks are not evening firing and failing. They're simply just not even firing.
@idle sierra pressed the π§βπ» Code button in #help to ask a question:
Code
var options = new CustomerPaymentMethodListOptions { Limit = 3 };
var service = new CustomerPaymentMethodService();
StripeList<PaymentMethod> paymentMethods = service.List(stripeCustomer.Id, options);
Question
The type or namespace name 'CustomerPaymentMethodListOptions' could not be found (are you missing a using directive or an assembly reference?)
Why is error is coming ? Is CustomerPaymentMethodListOptions and CustomerPaymentMethodService is not available in Assembly, but I see them in documentation.
What have you already attempted?
Trying to retrieve customer payment method
@fervent sage pressed the π API button in #help to ask a question:
Question
How come if my setup intent is set to "off-session" and then when i attempt to use one of the Stripe test cards that should accept payment does not get accepted.
I am also using setup_future_usage when creating a PaymentIntent.
Related Request ID(s)
req_IltaMBVT8E6PIy
What have you already attempted?
see my question above
@hushed summit pressed the β An Error button in #help to ask a question:
Error Message
No such promotion code: '{{PROMOTION_CODE}}''
Or
No such promotion code: '{{COUPON_ID}}''
Question
I try to allow my Checkout-Sessions for "payment" and "subscription" mode to activate coupons.
What have you already attempted?
i checked the docs for activation coupons. this is how my options look like : (.NET backend)
Mode = "payment",
Discounts = new List<SessionDiscountOptions>
{new SessionDiscountOptions{
//Coupon = "{{COUPON_ID}}",
PromotionCode = "{{PROMOTION_CODE}}",
},},
Reproduction Steps
the error just occurs when i create the session with these options. not when i create the option itself
What are you working on?
implement stripe into a enterprise app (.NET)
@cosmic anchor pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/checkout/embedded/quickstart
Question
When we have a return url, anyone can just paste it to see the checkout msg. However, what if the session_id given is not valid. What does ` const session = await stripe.checkout.sessions.retrieve(req.query.session_id);` return if session_id is invalid?
What have you already attempted?
I haven't tried to do this yet, i'm just looking at the docs and planning everything out before I start working on it.
What are you working on?
I want to make a subscription based system that links to your discord account
@honest fjord pressed the π API button in #help to ask a question:
Question
Is there a Secrets Scanner functionality?
Related Request ID(s)
N/A
What have you already attempted?
Researched on google, docs.
What are you working on?
Online Ecommerce
@royal shard pressed the π§βπ» Code button in #help to ask a question:
Code
https://dashboard.stripe.com/apikeys
const stripe = require('stripe')('key');
const charge = await stripe.charges.create({
amount: 10000,
currency: 'usd',
source: 'tok_visa',
transfer_group: '{ORDER10}',
});
const transfer = await stripe.transfers.create({
amount: 7000,
currency: 'usd',
destination: '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
transfer_group: '{ORDER10}',
});
const secondTransfer = await stripe.transfers.create({
amount: 2000,
currency: 'usd',
des
Question
when we do stripe.transfers.create to trasnfer money to the connected account, can we also set the statement_descriptor_suffix to merchant's information to be displayed on the user's cc card statement
What have you already attempted?
read documentation
What are you working on?
Stripe integration for connected accounts
@scarlet agate pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Some users would like to fix their physical address in the Stripe onboarding after entered a PO box address.
What actually happened?
Some users on our platform can't finish their Stripe onboarding because of a bug on the address input.
They entered a PO box input with a flat number and then they cannot fix and remove the PO box address.
The error message: "Invalid address. Your business address must be a valid physical address from which you conduct business and cannot be a private mailbox"
Reproduction Steps
First they enter a PO box with a flat number in the second address input. Example:
Address: Po Box 300
Flat, unit or other: PMB 100
NY
10001
Submit.
You will see the error message, it's normal.
But after it's impossible to fix the address and remove the flat number. Each time I try, I have the same error message even if I enter a valid physical address.
Question
Is it a bug on Stripe ? If yes, will it be fixed soon?
What are you working on?
A free fundraising platform for nonprofits
@warm pagoda pressed the π Best Practices button in #help to ask a question:
Question
i am lost about how to do to save and reuse.
On your doc, i have to let the user add his card via the stripe js form before to be able to check if the card have already been added
Doc/Guide Links
https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements
What are you working on?
i want to save Credit card for an potential use after
@blissful patio pressed the π API button in #help to ask a question:
Question
We need to know what are the limits on a customer level, for the maximum amount of active subscriptions a customer can hold at the same time.
Also, what is the maximum amount of active valid payment methods (different cards and/or banks for ACH) a customer can hold at the same time.
Related Request ID(s)
-
What have you already attempted?
I read in the error codes that Stripe has these two errors, but no information on the limit is provided.
`customer_max_payment_methods`
`customer_max_subscriptions`
Is there a page where Stripe discloses all the limitations?
What are you working on?
We need to support the ability of a customer to have multiple subscriptions (50+), and in those the customer should be able to select a different payment method (or use the default instead)
@reef kestrel pressed the π API button in #help to ask a question:
Question
Is it possible to preview a prorated refund that would be given to a user if they were to cancel their subscription mid billing cycle? I want to be able to display this amount before initiating the refund
Related Request ID(s)
1224807539644829848
What have you already attempted?
https://docs.stripe.com/billing/subscriptions/prorations
https://support.stripe.com/questions/refunding-credit-balance-to-customer-after-subscription-downgrade-or-cancellation?locale=en-GB
https://docs.stripe.com/api/refunds/create
@timid phoenix pressed the π API button in #help to ask a question:
Question
is it possible to integrate with Stripe only backend, no front end SDK
Related Request ID(s)
developer
What have you already attempted?
developing applications on chain, I have no possibility to integrate front end
What are you working on?
dev on chain
@tired night pressed the π§βπ» Code button in #help to ask a question:
Code
I am using the custom payment flow using react and node according to the code shown in this doc
https://docs.stripe.com/payments/quickstart
Question
Whenever the payment element form is mounted on the screen along with card details it asks for the optional details of email and phone number. I dont want payment element form to ask for this optional details. payment element should just ask for card details
What have you already attempted?
<PaymentElement
id="payment-element"
options={{ wallets: { applePay: 'never', googlePay: 'never' } }}
/>
What are you working on?
trying to add a stripe payment element in react app
@outer sail pressed the π Best Practices button in #help to ask a question:
Question
If I am successfully creating a setupIntent, and then attempting to create/confirm a paymentIntent at a later date server-side in our app and we're only accepting ACH direct debit and Cards. Can we avoid redirects?
Doc/Guide Links
https://docs.stripe.com/api/payment_intents/create
What are you working on?
an insurance marketplace.
@vocal wagon pressed the π§βπ» Code button in #help to ask a question:
Code
const price = await stripe.prices.retrieve
Question
When I use "const price = await stripe.prices.retrieve", how do I obtain the number of units for the quantity when I have defined it on the Stripe side to be "package pricing"? Specifically, I want to increment by the number of units at a time that would be defined on the Stripe side.
What have you already attempted?
Looked at the docs.
What are you working on?
Stripe Elements, Nodejs, Vite, Cloudflare Workers, Normal JS
@fossil mortar pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Updating a subscription to a different plan should prorate for the unused portion and then bill for the new plan. Caveat: the subscription currently has remaining trial days.
What actually happened?
An invoice was created for the new plan with no proration of the old plan.
Reproduction Steps
Customer has an invoice for Monthly Plan A from 3/27 thru 4/27. The subscription has trial days that push the next bill date to 6/27. Visited the generated Stripe session URL for the customer and tried to switch the customer to Monthly Plan B. It attempted to bill the customer the full amount for Monthly Plan B, with no credit of the unused portion of Monthly Plan A.
Question
Is this expected behavior? I would assume a credit would be generated for Monthly Plan A from today thru 4/27. If there was no trial on the subscription, this works as expected.
What are you working on?
Newsletter Creation Platform
@fringe spoke pressed the π API button in #help to ask a question:
Question
I need to be able to loop through a JSON set of account numbers and retrieve the payment method ID so I can run the update to on the payment method domain. Doesn't seem possible with the Stripe library. Using cURL you can get the payment method domain with the account number. Any suggestions?
Related Request ID(s)
NA
What have you already attempted?
I attempted to use axios and just build the request, deconstructing the curl and adding the cURL parameters as headers and the account info as the data. Didn't get any errors. Didn't get a response back. Doesn't look like it did anything.
What are you working on?
I'm trying to automate updating payment method domains (apparently registered domains need to be all lowercase) with node.js.
@sweet palm pressed the π API button in #help to ask a question:
Question
I want to create a payment intent on behalf of connected account. I use stripe-account to achieve that but it gives me "No such PaymentMethod: 'pm_xxx'; OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account." When i dont pass stripe-account it works but then the webhook that i created for connected accounts doesnt work with response "Ignoring webhook with unknown target acct_1IgvgTHKGP6sldpt". Not sure why it doesnt trigger webhook as i send on_behalf param.
Related Request ID(s)
req_ZBz5R9Z4FfJ4qS
What have you already attempted?
I tried to change the webhook type work on "events on your account" and it actually works. Note that even with the working api call i use "on_behalf" which still doesnt trigger webhook for connected accounts.
@rain elbow pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/invoicing/automatic-collection
Question
i want some clarification.
- is it possible to create one-off invoices if i don't have product catalog in stripe
- invoices create payment intents and would therefore not work if i am still on legacy charge API
What have you already attempted?
doing a discovery to understand if i can use auto-collection feature and have therefore not made any implementation. i am trying to understand any limitations around my current setup
@oblique pollen pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
following docs to collect payment details before creating an intent (Create a subscription) in test mode with a test payment method (pm) (google pay with my credit card information) should successfully: create a subscription, attach the payment method to the customer, have successful payment on the subscription invoice, attach the pm to the sub - 100% of the time
What actually happened?
50% of the time the subscription is created, the payment method is added to the customer, the payment on the first invoice is successful, the default_payment_method is updated on the subscription
50% of the time the subscription is created, the pm is attached to the customer, the payment on the first invoice fails, the subscription does not have a pm on it
Reproduction Steps
you won't be able to actually reproduce because this is only deployed to a test env protected by VPN but I went through and created 2 new customers back to back, entered the same address information and same payment information without making any changes to the code and one failed while the other succeeded
fail: `cus_PwWXoW3Rj40pDZ`
success: `cus_PwWWgRElv0OhHi`
Question
I can't figure out why this is behaving erratically, it seems like it should just work every time following these docs https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription#confirm-the-subscription
our code is setup exactly as described in the docs so I am completely befuddled
@elder heart pressed the π§βπ» Code button in #help to ask a question:
Code
N/A..........................
Question
Best practice re. SaaS App for List Cards on Account?
What have you already attempted?
Just reading docs at the minute, but 2 minute conversation with you chaps usually salves me 100s of hrs.
@stray plank pressed the π API button in #help to ask a question:
Question
Hello guys,
I'm working on a box office application that we use to manage orders that are processed through Stripe.
We, on our end, save the customers' card fingerprint so we can find his order just by tapping his card on the M2 Reader.
So I'm creating a PaymentIntent, collecting the payment method and manage to get all the informations I want (without executing the payment itself), but the fingerprint I get from paymentIntent.cardDetails is redacted. How can I make it visible so I can access it ?
Related Request ID(s)
no request ids
What have you already attempted?
I read every single page of Terminal / Android docs, contacted the support twice too
What are you working on?
Box Office / Manage Order application
@delicate tangle pressed the π API button in #help to ask a question:
Question
Enable instant payouts when creating Connect Express accounts?
Related Request ID(s)
?
What have you already attempted?
A connect account user wants instant payout, but I don't see a way to do it via the dashboard. Can it be done through the dashboard? Can I enable this when they first create an account?
@gleaming vine pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/elements/address-element/collect-addresses?platform=web#web-collect-address
Question
Is there a way to collect just the billing address of a customer through the elements.confirmSetup() method without needing to also update the payment method itself?
What have you already attempted?
We're using stripe elements to collect billing address and payment method in one form. I'm looking for a way to let the user update just their billing information through this method, but am getting "Invalid value for stripe.confirmSetup(): elements should have a mounted Payment Element" when I don't add the payment element. Was wondering if there's a way to update this information without having to create another server side endpoint.
@atomic olive pressed the π§βπ» Code button in #help to ask a question:
Code
I am overriding some of the appearance options for the <ELements> react component. I am doing this to cusomtize the look and feel of the Stripe <Payment> element. E.g.
'.Input': {
backgroundColor: 'white',
borderColor: 'white',
borderStyle: 'solid',
borderWidth: '1px',
color: 'black',
}
This code is passed in as an option to the <Elements> component. I.e. options.appearance.rules
Question
The result of this customization is that the Input fields in the Payment element are white with black text. What is not expected is that the Link element that is rendered when Link is disabled inherits the Input styles but overrides the background color. The issue here is the text color of the Link input element is the same as the Input overrides (black) but the background is transparent (added by Stripe as a non-override). This causes UX issues (see screenshot)
What have you already attempted?
I have tried to find a way to customize the Link element but the only way I was able to change the background color was to set the Clock background which breaks other areas of the app.
What are you working on?
Stripe checkout with a custom theme
@viscid haven pressed the πͺ Webhooks button in #help to ask a question:
Question
How does my system know which local userid in my system the successful subscription belongs to?
Related Event ID(s)
checkout.session.completed
What have you already attempted?
passing the tenant id as meta key
What are you working on?
a headless multi tenant real estate cms
@languid sun pressed the β An Error button in #help to ask a question:
Error Message
the code that shows the apple pay payment sheet must be invoked directly by a user activation event like a click or a touch gesture to prevent this error make sure the code that shows the payment sheet is at or near the top of your user gesture event handler before any async or long running code
Question
We are getting these errors coming back from calls within stripe js react. The payment logic is entirely within stripe's code, so we are unsure what to do to help resolve, this appears to be stripe internals? Unsure if this is totally blocking payments or just a warning/error being logged before proceeding
What have you already attempted?
Bumping to the latest versions of stripe-js and react-stripe-js
@errant vortex pressed the π API button in #help to ask a question:
Question
Is a mandate required for creating a CashApp setup intent when the confirm param set to true? If so, why? How explicitly does this mandate have to be shown to the customer for them to agree on it? Would it be implied that they agree to the mandate when they click on the button on our app to add cashapp as a payment method?
Related Request ID(s)
none
What have you already attempted?
Context: I am setting up a mobile CashApp integration. We have the integration set up properly on web, where we create a setup intent for the customer and have them confirm the setup intent via the stripe JS web element (stripe.confirmCashappSetup). However, this element is not available on flutter, so the workaround is to set "confirm" to true upon creating the setup intent and provide a return url, then have the response return a redirect url that we can show in a webview to have the customer confirm and finish. The stripe web element does not require a mandate - why does the workaround?
@kind jacinth pressed the π§βπ» Code button in #help to ask a question:
Code
const onClick = ({ resolve }: StripeExpressCheckoutElementClickEvent) => {
resolve({
emailRequired: true,
});
};
This is the onClick method I am passing in for the react stripe js ExpressCheckoutElement
Question
Earlier I was getting a 400 error confirming payment intents with shipping info that already had shipping. The fix I got was to remove the shipping options from Express Checkout. The problem now is that the total payment is not the right value because `onShippingAddressChanged` is not being called since there is no change in shipping address. Is there a way to trigger ExpressCheckoutElement to call `onShippingAddressChanged` from my `onClick` method if I have the address?
What have you already attempted?
I tried looking through the documentation for a way to trigger the `onShippingAddressChanged` method to be called
What are you working on?
eCommerce Site
@stray swift pressed the β An Error button in #help to ask a question:
Error Message
Your ZIP is invalid.
Question
We have a few test that load Stripe Elements to do E2E testing. They always work from a local machine but in our CI environment, Stripe Elements will often return "Your ZIP is invalid" error. We've had instance where 12345 would work and the wouldn't work. Always using 4242 card. How can we make it work consistently?
What have you already attempted?
Tried different ZIP codes or faker generated codes.
@noble talon pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/connect/express-accounts
Question
I am passing individual as business_type however during onboarding, it is asking for business details ie website. Is it possible to not have this page?
What have you already attempted?
Read docs but doesnβt say if we can make this page non mandatory.
What are you working on?
a marketplace where individuals can provide a service
@wheat sonnet pressed the πͺ Webhooks button in #help to ask a question:
Question
I am having difficulty creating and verifying a stripe signature header so I can run automated tests on my local machine.
I am getting SignatureVerificationError when I create a signature and send it with the data to my endpoint.
Error: Error verifying webhook signature: No signatures found matching the expected signature for payload.
Related Event ID(s)
None
What have you already attempted?
I have generated a header like the one recommended here: https://github.com/stripe/stripe-python/blob/master/tests/test_webhook.py#L17
And that works. But as soon as I call the endpoint passing that header and data, I receive the SignatureValidationError
One thing data I notice is request.data from my endpoint is in bytes, and the actual data that I have on my payload when creating the header is a Literal:
payload_to_sign = "%d.%s" % (timestamp, payload)
signature = stripe.WebhookSignature._compute_signature(
payload_to_sign, secret
)
What are you working on?
I am working on implementing tests for webhooks in my web application (python backend)
@open dagger pressed the π API button in #help to ask a question:
Question
how can I create a manual payment intent with a 1 hour capture window? I want a shorter window than the default of 7 days
Related Request ID(s)
n/a
What have you already attempted?
creating a payment intent with manual capture method
What are you working on?
point of sale
@valid python pressed the π API button in #help to ask a question:
Question
having trouble processing payments upon normal checkout proceedures unless clients create their account first then store their credit cards on file prior to check out
Related Request ID(s)
req_zSKLBMSQtFAiw7
What have you already attempted?
reissue api key
What are you working on?
im using stripe as my payment gateway for selling game servers
@shy shore pressed the π API button in #help to ask a question:
Question
We are attempting to update some billing addresses for cards on file. We are getting the repsonse: "Your Card Was Declined. Why are we getting declined card on updating a billing address? We are not attempting to charge
Related Request ID(s)
General Question
What have you already attempted?
Here is the code + request:
here is the Stripe API we're calling when updating the billing address for the payment method:
stripe.paymentMethods.update(paymentMethodId, { billing_details }, { stripeAccount }).
And here's the response we received:
status Code: 402
status_text: PAYMENT REQUIRED
error_message: Your card was declined
What are you working on?
Subscription payments that are failing, updating billing addresses to successfully charge cards on file.
@waxen yacht pressed the π Best Practices button in #help to ask a question:
Question
If, during a trial, a user tries to switch from an annual billing interval to a monthly one, I dont want them to have to pay immediately and lose their trial. Can I initiate the new subscription at the monthly price with a free trial that has X remaining days, where X is the remaining days they had left on the original trial? Will this work? Any gotchas I should know about with this? Also, how do I find the thread I created yesterday? :)
Doc/Guide Links
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade
What are you working on?
Subscription Web App with Free Trial
@winter shuttle pressed the π API button in #help to ask a question:
Question
I have created connected account link for Stripe standard account. But I have not finished onboarding process. If some transaction happens then where the payment will go?
Related Request ID(s)
No id
What have you already attempted?
I have checked but payment is not showing
What are you working on?
Stripe connected account Standard
@brisk nymph pressed the πͺ Webhooks button in #help to ask a question:
Question
How to differentiate the cancel subscription event is raised from stripe due to non-payment or subscription is canceled via api
Related Event ID(s)
evt_1P6lk6EhHWWFzWaMwgf9FjjK
What have you already attempted?
Tried to inspect the webhook payload
@cold bear pressed the π§βπ» Code button in #help to ask a question:
Code
var options = new CustomerCreateOptions
{
Name = stripePaymentRequestViewModel.FullName,
Email = stripePaymentRequestViewModel.EmailId,
};
var service1 = new CustomerService();
var customer = service1.Create(options, requestOptions);
var paymentIntent = await service.CreateAsync\(new PaymentIntentCreateOptions
{
Amount =
Question
getting error
{error: {code: "payment_intent_unexpected_state",β¦}}
error
:
{code: "payment_intent_unexpected_state",β¦}
code
:
"payment_intent_unexpected_state"
doc_url
:
"https://stripe.com/docs/error-codes/payment-intent-unexpected-state"
message
:
"You cannot confirm this PaymentIntent because it has already succeeded after being previously confirmed."
payment_intent
:
{id: "pi_3P6o26JnIVON3K7u1acEbern", object: "payment_intent", amount: 10752, amount_details: {tip:
What have you already attempted?
moto payment
@waxen yacht pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I create a checkout session via api with mode: 'setup', with a single line_item present with a price and quantity, the checkout url is returned
What actually happened?
The API returns: "Mode cannot be `setup` when using prices". When I remove line_items, I get "Could not create checkout session -- no line items present"
Reproduction Steps
Create subscription with 30 day free trial, try to submit create checkout session with the following keys in the request: customer, client_refernece_id, line_items, mode (setup), success_url, cancel_url
Question
I want to be able to create checkout sessions that just store payment info while user is trialing, but captures a payment when they are not trialing
@frozen ivy pressed the π API button in #help to ask a question:
Question
How to retrieve the product object when receiving webhook event from pricing table checkout completed?
Also the metadata is empty despite I have set metadata key-value pairs in the product catalog.
Related Request ID(s)
N/A
What have you already attempted?
I used the checkout_session.completed event. When user purchase one-off product from the pricing table, the received webhook payload contain no info like line_items, price object, or product object, only payment intent id and I don't know how to retrieve the product object from the event.
What are you working on?
Build a serverless Javascript function to process the Stripe checkout complete webhook event
@scarlet kiln pressed the π API button in #help to ask a question:
Question
Hey there, I am accepting payments via stripe API yesterday one of my client's customer made payment and the auto generated receipt from stripe is showing wrong date and time, Is there any specific reason for that?
Related Request ID(s)
not found any
What have you already attempted?
Does not have any idea so nothing tried
@tender crater pressed the π API button in #help to ask a question:
Question
Hello How can I send my user to billing.stripe.com ? In which they can verify their email and then see all their invoices or update billing method etc.
Related Request ID(s)
I don't know
What have you already attempted?
I don't know
What are you working on?
NodeJS + Stripe Project
@severe leaf pressed the π API button in #help to ask a question:
Question
stripe provide any react sdk for dispute evidence
Related Request ID(s)
frontend
What have you already attempted?
Dispute evidence
What are you working on?
working on stripe api
@warm marsh pressed the π§βπ» Code button in #help to ask a question:
Code
"content_security_policy": {
"connect-src": [
"https://xyz.example.com/"
],
"image-src": null,
"purpose": ""
}
Question
above is the snippet from the stripe-app.json
it is working in the local using stripe cli and gives error
if try to upload the app
invalid stripe-app.json:
found violation for connect-src "https://xyz.example.com/": path cannot be empty
invalid stripe-app.json:
What have you already attempted?
try to provide a specific endpoint then the build is successful
if endpoints exceed more than 8 then last endpoint doesnt work
What are you working on?
creating a stripe app
@ocean badge pressed the β An Error button in #help to ask a question:
Error Message
This account requires further intervention to perform certain actions. Stripe will have recently reached out to resolve this, but if you require further assistance please contact us via https://support.stripe.com/contact
Question
Why am i getting this error while creating a payout using API against a connect account whose PayoutsEnabled flag is true?
What have you already attempted?
Tried to flag this action in our db model at first occurrence of this error and generate Express dashboard login link to update the account if required. Though, expecting some action from stripe end for this. Probably making PayoutsEnabled flag false.
Reproduction Steps
- Onboarding a connect account of type express
- Business type Individual,
- Provide all needed success triggering informations except DOB,
- Provide test DOB as 01-01-1900, which triggers Office of Foreign Assets Control (OFAC) alert.
What are you working on?
Building an UGC platform, where content creators are expected to payout their balance to connected bank account or card.
@winter tulip pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
On creating a future dated subscription schedule, the schedule returned would have a subscription Id
What actually happened?
schedule created without associated subscription details, or a way of getting the setup intentclient secret
Reproduction Steps
Create future dated subscription schedule
Question
I was using the subscriptionId to to get the setup intent client secret to pass back to the front end. So that I could load the elements and the user enter their card details, is there another way of doing this when creating future dated subscription schedules
What are you working on?
Future dated Subscription Schedules
@frail valley pressed the πͺ Webhooks button in #help to ask a question:
Question
I want to get the reciept url from the webhook, or the URL which comes when we open an invoice, and click on the pay online link.
Related Event ID(s)
evt_1P6qgCJX5V9XswsNXI5LmN2R
What have you already attempted?
I have the URL for the invoice, but I need to provide the option for receipt, I want the receipt URL of the particular invoice payment.
What are you working on?
transaction history
@fierce mortar pressed the πͺ Webhooks button in #help to ask a question:
Question
Trying to capture the payment method attached webhook that comes with setup intent successful. When creating the setup intent, we include some metadata. When the payment method is attached, there is no metadata. How do we get the metadata from the setup intent to be included in the payment method attached webhook?
Related Event ID(s)
evt_1P6qjQJk75hPCxYyKxWOXrmI, evt_1P6qjfJk75hPCxYyNytp1T8A, evt_1P6qjfJk75hPCxYy9B3T1ecH
What have you already attempted?
Apart from adding metadata in the usual way, can't see what else would apply.
What are you working on?
Capturing payment information for future use and attaching it to our customer.
@cloud lotus pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
We implemented Tap to Pay on iPhone using , and for devices that onboarded successfully we expect our users to be able to accept payments
What actually happened?
Sometimes we get an error;
code: commandNotAllowed
domain: com.stripe-terminal
message: Operation not permitted. Verify the app has the necessary entitlements and that the application bundle is valid.
But this is only incidental, so it can't be that the app bundle is invalid, or that the entitlements are missing, because the same installation did work before.
Reproduction Steps
There are no clear reproduction steps, it just happens randomly.
Question
We would like to know how we can prevent this error, and this seems to be an error in the Stripe SDK, and not at Apple, since the error code only exists in the Stripe's documentation, and not in Apple's
What are you working on?
The Vev app, we're a launch partner for Tap to Pay in the Netherlands
@shy vault pressed the πͺ Webhooks button in #help to ask a question:
Question
I was wondering if there is any documentation on how Stripe derived the invoice "failed" and "retrying" states? It seems to be some combination of looking at data on the Invoice and data on the PaymentIntent - but I'm not 100% sure what. I need to get something consistent so it'll give me the correct derived state regardless of whether it's card, bacs, sepa etc.
Related Event ID(s)
evt_3P6A7nB3t6gffdAg12UaATfD
What have you already attempted?
I've tried a few methods - but I don;t think they're correct. Here is the Ruby code:
```ruby
def retrying?
if default_payment_intent.present?
status == "open" && attempted? && default_payment_intent.processing?
else
status == "open" && attempted? && next_payment_attempt.present?
end
end
def failed?
return false unless default_payment_intent.present?
has_failed_payment = !default_payment_intent.succeeded? && !default_payment_intent.canceled?
status == "open" && attempted? && has_failed_payment
end
```
What are you working on?
Building a app to help self storage companies manage their business. Makes use of Stripe Connect and relies heavily on Stripe Billing.
@magic lance pressed the π API button in #help to ask a question:
Question
Stripe Invoice for one-time payment in stripe checkout in test mode?
I don't see them at all in invoices in stripe
I am using stripe "stripe": "8.69.0",
Related Request ID(s)
pi_3P6r66C4aQ7SQOwJ147qgKwN
What have you already attempted?
where can I find invoice for pi_3P6r66C4aQ7SQOwJ147qgKwN
@fierce mortar pressed the πͺ Webhooks button in #help to ask a question:
Question
I'm looking at updating some of our backend data regarding payment methods. The payment method events have the customer id, but our customers are spread across multiple databases. With other events like PaymentIntent and SetupIntent, we use metadata to tell us which database to look in. The PaymentMethod events don't include that metadata. Is there some other approach I should be considering?
Related Event ID(s)
evt_1P6qjfJk75hPCxYyNytp1T8A
What have you already attempted?
Haven't attempted anything, just exploring the options.
What are you working on?
Capturing extra PaymentMethod data.
@fallen comet pressed the π API button in #help to ask a question:
Question
The documentation wants [bancontact][preferred_language] but it seems to throw errors for me
Related Request ID(s)
req_odQ7IJ8f1wzoq8
What have you already attempted?
Following the API:
https://docs.stripe.com/payments/bancontact/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api
What are you working on?
Bancontact integration
@arctic minnow pressed the β An Error button in #help to ask a question:
Error Message
failed to generate attestation
Question
I was informed by stripe terminal team, that we can use Sunmi v3 Mix with stripe Tap2pay solution. But i am getting failed to generate attestation. How can i resolve this?
What have you already attempted?
Works when i use simulation
Reproduction Steps
Integrate android ttp sdk in our app and try to take the test payment.
What are you working on?
POS
@woven star pressed the π API button in #help to ask a question:
Question
Hi, I would like to convert currencies to make a payment. So, I would like to use your API to get the same exchange rate as yours. I'm developing in PHP, which function can I use?
Related Request ID(s)
Developper
What have you already attempted?
n/a
@dreamy burrow pressed the π Best Practices button in #help to ask a question:
Question
We're releasing a new product and as part of that we are migrating customers from another stripe account that belongs to our customer. I need to be 100% sure of a few things.
- When we copy the customers, its a COPY meaning they still work on the sending account. Correct?
- We would like to do a dry run of the migration, meaning copy the customers and their card + charge them in test mode. Is this at all possible, and if not, do you have any tips on how we can get as close as possible?
Doc/Guide Links
https://docs.stripe.com/get-started/data-migrations/pan-copy-self-serve#share-customer-data-with-the-recipient
What are you working on?
News Subscriptions
@frail valley pressed the πͺ Webhooks button in #help to ask a question:
Question
How to expand a payment_intent when doing subscription to get the fee in the balance transaction in the latest charge object.
Related Event ID(s)
evt_3P6rvUJX5V9XswsN0kQMQSfQ
What have you already attempted?
I dont know how to expand this, i am using subscription.create API in python.
What are you working on?
subscription
@reef shell pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
my account had a negative balance because of a refund and i topped it up with the exact amount that was missing
What actually happened?
but it says my balance is still negative for some reason
Reproduction Steps
my account had a negative balance because of a refund and i topped it up with the exact amount that was missing but it says my balance is still negative for some reason
Question
what am i to do? can you check it out and tell me if i did something wrong
@brisk nymph pressed the πͺ Webhooks button in #help to ask a question:
Question
How to test for subscription canceled due to 'payment_failed' reason, how to trigger the cancel event with reason.
Related Event ID(s)
evt_1P3zp7EhHWWFzWaMbPwVrUha
What have you already attempted?
I am getting the canceled events but not able to create the cancel subscription event with payment_failed reason
@gentle flint pressed the π API button in #help to ask a question:
Question
I'm getting the following error while doing a test payment with Link through Payment element: "The PaymentMethod provided (link) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment_method_types for this PaymentIntent to include "link"." It's a subscription plan with trial days and setup fee. The Link is working with normal subscription plan.
Related Request ID(s)
req_ca0Gpz32uzmg5P
What have you already attempted?
I've turned on Link in dashboard and in the following page: https://dashboard.stripe.com/settings/billing/invoice?tab=general
What are you working on?
I'm integrating Stripe payment element in my application. It's in testing phase and the stripe account I'm using is in test mode.
@frail valley pressed the π API button in #help to ask a question:
Question
I am using expand=latest_charge.balance_transaction in the payment_intent.create api call
Related Request ID(s)
evt_3P6t5QJX5V9XswsN1bt6O4tt
What have you already attempted?
I am not getting the expanded balance transaction in the webhook event.
What are you working on?
adding funds
@hidden moss pressed the π API button in #help to ask a question:
Question
An invoice line item with the type as `subscription` doesn't have the subscription item's metadata. Instead it has the metadata of the `subscription`
Related Request ID(s)
A placeholder request
What have you already attempted?
I saw this doc (https://docs.stripe.com/billing/invoices/subscription#subscription-metadata) where Stripe mentioned that a subscription item's metadata doesn't reflect in its corresponding invoice line item metadata. And on the PHP client there is also no way to update a line item's metadata. I am stuck and there is no way to add metadata to line items with type `subscription`. Please help me here
What are you working on?
I am trying to add sorting related fields to metadata to sort the line items based on the amount
@twilit bloom pressed the π API button in #help to ask a question:
Question
How can I create a note for an invoice via api?
Related Request ID(s)
Dashboard -> invoices -> add note
What have you already attempted?
I cannot find any endpoint to create a note via api. The only api I can find is credit_note but it's not what I need.
Throw the dashboard when you select an invoice there is a button "add note". I would like to add a note via api!
What are you working on?
I'm building new payment flow, backend side
@tender crater pressed the π API button in #help to ask a question:
Question
When I upgrade subscription from basic to advance in stripe dashboard the invoice paid successfully, but when I do that from API the invoice gets failed, why?
Related Request ID(s)
I don't know
What have you already attempted?
I already did this in my previous project but this time only it's happening
@idle gale pressed the πͺ Webhooks button in #help to ask a question:
Question
How to get whsec_ key while setting up Webhook
Related Event ID(s)
null
What have you already attempted?
Setup in Test a long back ago... But now need to setup in Prod
@west vault pressed the π§βπ» Code button in #help to ask a question:
Code
elementsRef.current.update({ customerSessionClientSecret: user.customerSessionClientSecret });
Question
Can I focus a precise payment method, in the PaymentElement after the update call is finished?
What have you already attempted?
I tried to put a listener on change, but it does not show when update is called
@sick dirge pressed the π Best Practices button in #help to ask a question:
Question
When using Stripe Elements with PaymentIntent flow, from what I'm understanding we don't pass priceIds like in the Stipe Checkouts?
If this is true doesn't that mean when a payment is made with Stripe Elements the payment fully relies on meta-data to know what product was purchased?
Doc/Guide Links
https://docs.stripe.com/payments/accept-a-payment-deferred?type=payment
What are you working on?
Building custom checkout flow.
@ivory edge pressed the π§βπ» Code button in #help to ask a question:
Code
appearance: {
theme: 'flat',
labels: 'floating',
variables: {
borderRadius: '0.25rem',
fontFamily: 'Poppins, sans-serif',
fontLineHeight: '1.4',
fontSizeBase: '16px',
fontSmooth: 'always',
iconColor: '#eb601a',
tabIconSelectedColor: '#eb601a',
itemSelectedColor: '#eb601a',
},
rules: {
'.Input': {
backgroundColor: '#fefefe',
border: '1px solid #555555',
Question
Attempting to customize the web elements accordion icon for the card option
What have you already attempted?
Cant see an entry for this in the appearance api reference, we've tried setting `iconColor` and `itemSelectedColor` but these don't seem to affect it
What are you working on?
Migrating our existing stripe integration over to web elements
@finite socket pressed the π API button in #help to ask a question:
Question
Is there API call to get metrics/analytics for total income from stripe?
Related Request ID(s)
https://support.stripe.com/questions/billing-analytics-dashboard
What have you already attempted?
I have tried calculate in my side but it took a long time
What are you working on?
dashboard analitycs
@opal wadi pressed the π API button in #help to ask a question:
Question
hello everyone, I am working on stripe charging. I want to handle following stripe card errors when charging failed:
06 - Error
54 - Expired card
05 -Do not honour
82 - Negative CAM, dCVV, iCVV or CVV results
97 - Invalid CVV
1a - Additional customer authentication required
I want to handle these card error codes, need these error codes from api request of charge failed.
Related Request ID(s)
NA
What have you already attempted?
this is the code:
data = Stripe::PaymentIntent.create({ amount: value,
currency: 'cad',
description: description,
customer: from[:stripe_id],
payment_method: from[:source_or_pm],
off_session: true,
confirm: true,
})
error does not return any status code mentioned i.e 06, 94, 57, 1a.
@vocal wagon pressed the π§βπ» Code button in #help to ask a question:
Code
I tried to modify the cancel_at value with subscriptions update with a timestamp but the value is not correct on Stripe
Question
What am i suppose to set in order to change the cancel_at
What have you already attempted?
Set a specific timestamp
@torn rapids pressed the π API button in #help to ask a question:
Question
Hey Im looking to set up the invoices generated from subscription + paymentIntents to display the nicknames of the price objects.
Related Request ID(s)
Dashboard + API
What have you already attempted?
Attempted reading docemnetation
@fair fable pressed the π API button in #help to ask a question:
Question
issuing_card.updated is not triggered when the eligible status on wallets attribute changes
Related Request ID(s)
https://dashboard.stripe.com/acct_1NSG3HQiNEAV5CWW/issuing/cards/ic_1OzEqaQiNEAV5CWWvGuDZxD4
What have you already attempted?
We are thinking about fetching the card in real time when needed but we would like to be able to cache the correct value from the webhook instead
What are you working on?
We are issuing cards for around 100k persons in France.
@proud lily pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expected the subscription renewal date to become May 15th, by adding a 14 day trial period to this subscription to push out the renewal date. The amount charged to the customer at May 15th should not change.
What actually happened?
The customer was given prorated amounts of money for the current period and is set to be charged extra for the next period. The trial has changed the payment structure of the subscription even though I put proration behavior 'none'
Reproduction Steps
I sent a JSON POST to stripe with the following event request: req_R2iZDIem97UYaJ
For subscription: sub_1P0deyDyFtOu3ZuTmcr5Xwev
Question
How can I push the renewal date of my subscription schedule such that the customers get X extra days in their subscription free of charge.
What are you working on?
We provide products to the customers not services, therefore we do not wish for the amounts paid to change.
@brisk nymph pressed the πͺ Webhooks button in #help to ask a question:
Question
Can't simulate 'customer.subscription.deleted' event with reason payment_failed
Related Event ID(s)
evt_1P6v1nGVCe8mF8QWEwPpLgwN
What have you already attempted?
Tried to simulate the clock to cancelation date
@fierce mortar pressed the π Best Practices button in #help to ask a question:
Question
Hi, quick question, if we trigger a process in Stripe, an one of the stripe events that's fed back to us causes an error returns an error to Stripe, will that stop the rest of the process from continuing on Stripe's end, or will it continue to completion?
Doc/Guide Links
Been looking through the API docs.
What are you working on?
General booking process question.
@little shadow pressed the π API button in #help to ask a question:
Question
We download an app which does a personalization with payments methods to customize our store. We Will have two payment methods, nacional and internacional. But, we are trying to show only Stripe in our international checkout, but it's not working. When we hide our national payment, any method is showed.
Related Request ID(s)
Payflow
What have you already attempted?
I already tried differents rules and names for stripe payments, because in our checkout, the Stripe method appears as ''Credit card'', not as ''Stripe'' with a logo.
What are you working on?
We will have two payment methods, nacional and internacional
@tiny mauve pressed the π§βπ» Code button in #help to ask a question:
Code
ConfirmationMethod= "manual"
paymentMethodTypes ="['paypal']"
Question
I created a setup intent in my backend and forwarded the clientSecret/payment intent id to the frontend.
How to go further in the frontend? How to redirect the user to paypal to get the payment method, so I can confirm my payment intent?
What have you already attempted?
Using stripe.js confirmPayPalPayment, but this doesnt seem to work with manual payment workflow.
What are you working on?
Trying to implement paypal manual payment workflow
@mental pier pressed the π§βπ» Code button in #help to ask a question:
Code
aria-label="link"/aria-label
Question
how to apply aria label attribute in Email textarea of link element ?
What have you already attempted?
document.querySelector("#id").setAttribute("aria-label","Email")
@glass umbra pressed the π API button in #help to ask a question:
Question
Its possible show features of plans inside portal client?
Related Request ID(s)
Porta client
What have you already attempted?
I am try to use portal client, when user already is authenticated to create a subscription, but its possible i show features of each plan inside portal?
@austere monolith pressed the π API button in #help to ask a question:
Question
I am testing payment intent events. I received a different intent data compared to what I see in dashboard. When I check this even on dashboard, status is succeeded. But I received webhook with status: confirmation_required
Related Request ID(s)
evt_3P6wC7Cu8ka7WPnc1PlWw8rQ
What have you already attempted?
Nothing
What are you working on?
callback handling of payments
@silent lava pressed the πͺ Webhooks button in #help to ask a question:
Question
For Stripe Payouts, when new Payouts occur on a connected user's account, if the user's deposit account / card is set incorrectly or expired there will be repeated payouts until this is corrected.
Using the connectedapppayoutpaid webhook event, we're currently trying to retrieve the associated transfer from the first payout attempt that we created since it contains the metadata we need to link up to aspects of our API. Is there an easier way to get the source_transfer / source_transaction without repeatedly querying the Balance Transactions from the repeated, re-initiated payouts?
Related Event ID(s)
evt_1P35eFQoLNxisuJmFBRKuPPM, evt_1P20HdQoLNxisuJmAyup6xzs, evt_1P1dr0QoLNxisuJmxAU9hVLm
What have you already attempted?
Currently we've tried the method of retrieving the balance transaction of the payout in connectedapppayoutpaid and using the 'source' value (another payout) to work backwards until we get a object of type 'transfer' that has our metadata. This seems like the only way but it seems like there might be a better option.
What are you working on?
Job / Payment middleware api for a gig platform
@austere pawn pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
we should receive one webhook from stripe for refund transaction
What actually happened?
we are connected to Stripe and when customer makes are refund from stripe dashboard, we suddenly start to create two duplicated transactions on our system which seems like we receive two transactions. normal behavior is to have one transaction (refund)
Reproduction Steps
create a refund from stripe dashboard for a paid invoice
Question
the payment_ids are
pi_3P6w0BLOFmVUUygj0fjYJ4hY
What are you working on?
can we check if stripe sends two refund webhooks for this payment
@vital slate pressed the π API button in #help to ask a question:
Question
I am using the checkout session API. It all works, but I have a question about the following two events.
I am listening to the webhook event `checkout.session.expired`. I am doing that to cleanup an data that should be deleted based on this session in case the user didn't pay. I noticed that after this event Stripe also sends the event `checkout.session.completed` with the payment_status: `unpaid`. My question is, does Stripe always send `checkout.session.completed` no matter what? And if so, why would we need a `checkout.session.expired`?
Related Request ID(s)
req_tWAthORlDX0AAT
What have you already attempted?
I currently am listening to both events, since I thought `checkout.session.completed` would not be send if a checkout session expired.
What are you working on?
Paid signup/content creation form.
@royal shard pressed the π§βπ» Code button in #help to ask a question:
Code
stripe.balanceTransactions.list()
Question
when we are using stripe.balanceTansactions.list() to get list of transfers that were included in the payout by passing payoutId, type:"transfer" and connected Account id. we are getting empty results. it seems like transfer to connected account is recorded as type:"payment" not type:"transfer" what is correct type.
What have you already attempted?
read documentation, contacted support, coded and run code.
What are you working on?
Stripe integration for connected accounts
@supple sun pressed the π API button in #help to ask a question:
Question
Subaccounts created through the api are always restricted.
Related Request ID(s)
acct_1P6wrvPLHGWdUBw8
What have you already attempted?
I contacted your support team and they told me to look you up on discord.
What are you working on?
ecommerce
@cloud hound pressed the π API button in #help to ask a question:
Question
How can I setup a subscription through checkout sessions with a trial duration and a billing cycle anchored to the 1st of the month midnight UTC?
Example desired output for Jan 28th: Checkout session that creates a subscription on Jan 28th, 7 day free trial ends midnight Feb 4th, billing cycle is anchored to March 1st midnight (or Feb 1st midnight).
Related Request ID(s)
req_VJ5qPmQp8cpvRg
What have you already attempted?
I cannot set the billing cycle anchor (must be midnight, 1st of the month UTC) and provide a trial end date (ie 7 days later). API response "You may only specify one of these parameters: billing_cycle_anchor, trial_end."
What are you working on?
Subscription creation through checkout sessions with trials
@stone urchin pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/apple-pay?platform=react-native
Question
I cannot get ApplePay to display in the Mobile Payment Element. Do I need to do the Integrate with Xcode step when using Expo?
What have you already attempted?
I have followed the guide to integrate the Stripe Mobile Payment Element, which is working well with card payments, but I cannot get Apple Pay to display
@rancid frost pressed the π API button in #help to ask a question:
Question
I'm making subscriptions with code using the API. There is an option to the user to use a promotional code inside the app to get a discount. However, coupons w/ more than one code aren't tracking the uses separated by code on the dashboard, which is one information that I'll need.
Related Request ID(s)
-
What have you already attempted?
I'm creating the subscription with the coupon code. If I create the subscription with the promotion code instead, will it be tracked?
What are you working on?
App with subscriptions
@jagged plume pressed the π API button in #help to ask a question:
Question
When fetching Invoices search from node js, how can I include/expand the product detail in same list item through stripe.invoices.search method ?
Related Request ID(s)
stripe
What have you already attempted?
Tried to use following, but didn't work.
invoices = await stripe.invoices.search(
{
query: `customer:"${customerId}"`,
page,
limit,
},
{
expand: ["customer", "payment_intent", "product"],
}
);
What are you working on?
Getting Invoices along with the product detail it is attached to.
@ancient jacinth pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://support.stripe.com/questions/register-domains-for-payment-methods
Question
Register same domains for payment methods in multiple stipe account
What have you already attempted?
Not tried, because its currently working
What are you working on?
Building
@lime sierra pressed the π API button in #help to ask a question:
Question
Hello, what could be the reason of customer sources property being null in one Stripe account, and a proper object in another, both in the same app, but just using different API keys?
Related Request ID(s)
cus_PwrFfWyN7GSOgl where sources is empty, cus_PwrMEWy0IC89f5 where it's not.
What have you already attempted?
I'm switching between two Stripe keys. One is for a dashboard I don't have access to, and for that key the app is working fine. However, in my personal Stripe dashboard, the app is not working because the customer sources object is empty. I wonder if there is some dashboard-related setting that prevents the sources to be filled in my case.
The app creates a customer using the customer API, providing customer name and a Stripe checkout token (tok_xxx).
@winter shuttle pressed the π API button in #help to ask a question:
Question
I want to do first normal transaction but after one month I want to start recurring to user. Can I do both normal transaction and recurring start in one request?
Related Request ID(s)
NO id
What have you already attempted?
I have not tried yet
What are you working on?
Subscription
@stoic wasp pressed the β An Error button in #help to ask a question:
Error Message
Could not communicate with the Reader. Please make sure your reader is online and on the same network as your device, and that the host 'https://192-168-1-37.nnrrkrtusdoaa4vdv7v2.device.stripe-terminal-local-reader.net' is resolvable by your DNS provider. See https://support.stripe.com/questions/terminal-connectivity-issues for more details.
Question
Hey there, one of our customer is having connectivity issues with their Stripe Terminal WisePOS reader. Could you advise on next steps?
What have you already attempted?
The reader has been wired via ethernet and does not use wifi.
@timid ember pressed the π Best Practices button in #help to ask a question:
Question
We use Stripe's payment terminals in Canada. We are active in the restaurant industry. We want to implement tip on receipt feature so we looked into both overcapture and incremental authorizations. However we found two different documents on overcapture that details 20% and 50% as the maximum overcapture rate. That's a huge difference which we need clarification on. Also, we cannot decide whether overcapture or incremental authorization would be better for us, since both seems very similar in that they require the initial charge to be only authorized, then an additional API is made later to increase the capture amount. For IC+ rates, would one or the other incur
Doc/Guide Links
https://docs.stripe.com/payments/overcapture
https://docs.stripe.com/payments/incremental-authorization
https://docs.stripe.com/terminal/features/collecting-tips/on-receipt
What are you working on?
We are trying to implement a flow whether the end user taps their card for the initial bill amount, then a receipt is given to them where they can write the amount of tips they wish to give. This tip is captured later on the Payme
@little orchid pressed the π API button in #help to ask a question:
Question
Tax rate showing as active, even though, on stripe it is archived.
Related Request ID(s)
N/A
What have you already attempted?
I archived the tax rate on stripe, and it is still showing up as active on my stripe api call using the php sdk.
What are you working on?
Creating api endpoint for checkout urls passing in the tax code for the user to have.
@dawn galleon pressed the π API button in #help to ask a question:
Question
"no such coupon" on create session API for subscription with coupon ID
Related Request ID(s)
req_mt9LulsY7Cuquf
What have you already attempted?
I have created a coupon and applied to a subscription product. I use postman to create session (subscription) with discounts[0][coupon] = {coupon_id}.
What are you working on?
A membership subscription with a coupon code for discount.
@timid niche pressed the π API button in #help to ask a question:
Question
https://api.stripe.com/v1/country_specs has been slow for a long time, but I think it went from taking 11s to fetch all country specs, to 15s. This is getting to be a lot. Any chance you can look into caching the results or improving performance here?
Related Request ID(s)
None
What have you already attempted?
This is working, it's just very slow.
What are you working on?
A donations service, when we onboard new users, we fetch all country information for them.
@upper hedge pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Create a Subscription with an Invoice with a PaymentIntent with only the Payment Methods enabled on the Stripe Dashboard
What actually happened?
A Subscription is created with an Invoice and PaymentIntent but with disabled Payment Methods, specifically Cash App and SEPA Direct Debit.
Reproduction Steps
We send a Stripe Subscription Create request, I can provide the parameters if needed. The response includes the unwanted payment methods in the "latest_invoice.payment_intent.allowed_source_types" field.
Question
What determines why a payment method is an "allowed_source_type"? And how is this different from the payment methods configured on the Stripe dashboard?
What are you working on?
Our custom checkout page using Stripe Payment Elements for recurring subscriptions.
@brazen hedge pressed the π API button in #help to ask a question:
Question
I'm trying to implement this tutorial in test environment, but i don't get the client_secret from payment_intent when create subscription. IΒ΄m using insomnia to create subscription.
Related Request ID(s)
https://docs.stripe.com/billing/subscriptions/build-subscriptions?platform=web&ui=elements
What have you already attempted?
curl --request POST
--url 'https://api.stripe.com/v1/subscriptions?expand[]=latest_invoice.payment_intent'
--header 'Authorization: Basic api_key
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'User-Agent: insomnia/8.5.1'
--data customer=cus_PwsbiXEcRf1hI2
--data payment_behavior=default_incomplete
--data trial_period_days=30
--data 'items[0][price]=price_1ONECrDrhWjWTprTeNexCjhn'
@outer quail pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/terminal/references/testing#simulated-reader
Question
I'm trying to troubleshoot Stripe terminal connectivity issues and I'm wondering if it's possible to mimic reader failures using the simulated reader and if it's not possible is there any other way we can do this without using a physical reader?
I'm using Stripe Terminal Javascript SDK to integrate readers with application.
What have you already attempted?
Not much since I can't find a way to configure simulated reader's network
What are you working on?
Investigating readers connectivity issues
@winged mica pressed the π API button in #help to ask a question:
Question
How do I update stripe objects with the `py_` prefix using the node sdk
Related Request ID(s)
req_kvDdOiT42xdmae
What have you already attempted?
I have tried using stripe.charges because that works with curl.
What are you working on?
Trying to update the description to improve internal reporting.
@viscid haven pressed the πͺ Webhooks button in #help to ask a question:
Question
How would my subscription process know what tenant (team) the subscription belongs to after the subscription payment is completed
Related Event ID(s)
checkout.session.completed
What have you already attempted?
Passing the tenant id as meta key
What are you working on?
Multi tenant Saas platform which is a headless real estate CMS
@earnest forum pressed the π API button in #help to ask a question:
Question
Can you attach documents to an invoice. eg a bill of lading
Related Request ID(s)
none
What have you already attempted?
Dug through docs but didn't see anything obvious. We already use programmatically generated invoicing.
What are you working on?
We have bills of lading that include event data (signatures, etc) and would like them attached to our automated invoices
@uneven basalt pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/customers/update
Question
Is it possible to update customer's tax id VAT number?
What have you already attempted?
Due to my country requirements, I need to collect tax id from our customers as mandatory. I have added tax_id_collection enabled as true. But the checkbox in Stripe Checkout is optional.
I need it mandatory to appear in the invoices. So I'm thinking to add a custom field in the checkout for the first payment where they can write their VAT Number as mandatory, and then update the customer via API. Is this possible? Is another way to handle this?
@verbal stirrup pressed the π§βπ» Code button in #help to ask a question:
Code
utilized this stripe.Webhook.construct_event(
payload,
stripe_signature,
settings.stripe_test_webhook_secret,
)
Question
getting pin_try_exceeded error from using test function
What have you already attempted?
checked the docs
@vapid spear pressed the π API button in #help to ask a question:
Question
What is the precedence of the search operators in the Stripe search API??
Can I do something like `(A OR B OR C) AND D` in the search queries?
I basically want to find all *active* products matching any of the required filters
Related Request ID(s)
-
What have you already attempted?
https://docs.stripe.com/search
@hallow dawn pressed the π Best Practices button in #help to ask a question:
Question
I'm looking to use the customer portal in my app as it would remove a lot of work but there is something that doesn't convince me 100%, once a link is created (once the user is logged) anyone with the link can use it, I know it expire after 24h but if for some reason the link is leaked a lot of damage can be done, is there a way to make the link expire after the first usage?
Doc/Guide Links
https://docs.stripe.com/no-code/customer-portal
What are you working on?
saas application
@pulsar bough pressed the π API button in #help to ask a question:
Question
We are trying to implement Pre-authorized debits with the Stripe Payment Element. We've previously implemented it with a standalone form, but are struggling to make the transition to the Payment Element. How do you pass the information collected inside the Payment Element to the stripe.confirmAcssDebitSetup() call?
Related Request ID(s)
req_wNnoSEdrBZ2VOW
What have you already attempted?
We've using the same flow we already have working with a standalone form, to which we have access and can collect the name and Email of the person setting up the PAD. However, we do not know how to access those fields that are built into the Payment Element, and as a result when we call stripe.confirmAcssDebitSetup() it complains about those missing values. We had assumed the Payment Element would pass those automatically since it collects it, but that does not appear to be the case. Any guidance on this would be appreciated.
What are you working on?
Platform integration
@safe fiber pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I expected `stripe_object, response = Stripe::StripeClient.new.request(&b)` to not return a nil response
What actually happened?
i got a nil response
Reproduction Steps
stripe_object = Stripe::Subscripion.retrieve(...)
Stripe::StripeClient.new.request { stripe_object.save(...) }
Question
The reason it appears to be happening is because Stripe::StripeClient.new.request captures the response based on the StripeClient object id. but when using the instance methods on a stripe object in the block, the requests use the stripe client object they were initially retrieved with. and so the response is never captured
@fervent quiver pressed the π API button in #help to ask a question:
Question
I'm confused by conflicting verbiage and behavior when applying discounts to a Quote.
The api parameter is called "discounts" (plural). The parameter is also an array, meaning I can pass multiple discount objects.
In practice, it works. When I pass multiple discounts, they all get applied to the Quote.
HOWEVER, the api docs also state that " You can only set up to one discount.". This is enforced in the admin UI for Quotes as I can only add one discount.
Am I safe to proceed with the assumption that I will be able to set multiple discounts for a Quote?
Related Request ID(s)
https://docs.stripe.com/api/quotes/create#create_quote-discounts
What have you already attempted?
I've read the docs on creating/updating Quotes. I've created Quotes via the API and via the admin UI. The API behavior is clear but conflicts slightly with the documentation.
@earnest wharf pressed the β An Error button in #help to ask a question:
Error Message
http://localhost:4242/checkout.html
Cannot GET /checkout.html
Question
I followed the https://docs.stripe.com/checkout/embedded/quickstart?lang=node
without modifying any code
What have you already attempted?
Not much considering its the getting started tutorial
What are you working on?
Embeded Stripe payment
@bleak fractal pressed the π API button in #help to ask a question:
Question
When creating a setup intent to setup a method for future payments, I want to manually list the payment method types according to https://docs.stripe.com/payments/save-and-reuse?platform=web&ui=elements. I want to enable credit cards, google and apple pay. So I have to provide 'card' and what else to the https://docs.stripe.com/api/setup_intents/create#create_setup_intent-payment_method_types ?
Related Request ID(s)
-
What have you already attempted?
I've searched extensively and understand that Google and Apply Pay are both wallet methods, yet they're also cards, so I'm not sure how to proceed.
What are you working on?
API integration
@turbid hornet pressed the π API button in #help to ask a question:
Question
Hi, I would like to know the APIs
- To register an EXTERNAL network token
- Attach it to a customer
- Pay an amount using the EXTERNAL network token
Related Request ID(s)
N/A
What have you already attempted?
I haven't found any public documentation on usage of network tokens.
@solemn otter pressed the πͺ Webhooks button in #help to ask a question:
Question
I'm testing the account onboarding process. the account stripe ui says the account is onboarded but the webhook event received indicates the account status is still `action-required`.
Related Event ID(s)
acct_1P72xZ2QWUOtEAHc evt_1P74Q92QWUOtEAHcpFI91ouE
What have you already attempted?
i've tried to check the account in stripe.
@old plinth pressed the π API button in #help to ask a question:
Question
https://docs.stripe.com/api/accounts/retrieve
under `response. external_accounts` there's no indication of which account is set to default. Is there a way to get info regarding default external account?
Related Request ID(s)
n/a
What have you already attempted?
checked the api documentation
What are you working on?
payment system for workers
@median dew pressed the π API button in #help to ask a question:
Question
I am trying to integrate embedded components into my react web application. I was wondering if it was possible to change the width of the account onboarding embedded component as it seems it is only optimized for mobile. Additionally, the it forces a scroll downwards on the website when navigating between scrolls. Is this an issue anyone else has dealt with?
Related Request ID(s)
i dont know
What have you already attempted?
I've attempted rearranging the placement of the component in divs, playing with css styles such as min height, overflow-y: scroll/auto, etc but no matter what it is the scroll is forced upon navigation of the component.
@jovial arch pressed the π API button in #help to ask a question:
Question
I am creating a Subscription via the `stripe.checkout.sessions.create` method. The Subscription has a free trial period, and I'm creating an invoice upon end. I want the invoice to be `collection_method: send_invoice` instead of `charge_automatically`, since the trial doesnt require payment information, but there's no where in the `checkout.session` object to include a `collection_method` change.
Do I need to update the subscription separately after creation during the session?
Related Request ID(s)
N/A........................
What have you already attempted?
Adding `collection_method` to the `checkout.session.create` - gets an unknown parameter error.
What are you working on?
Saas app with flat rate & per seat subscriptions.
@cyan wedge pressed the π API button in #help to ask a question:
Question
Stripe express is forcing my connect users to use NZ as their billing country (eg bank accounts etc). I have not prefilled the country but my default parent account is setup in NZ for connect. How can I allow the user to select their country in the onboarding flow?
Related Request ID(s)
-
What have you already attempted?
-
@wary bane pressed the π API button in #help to ask a question:
Question
create a domain with /v1/payment_method_domains or /v1/apple_pay/domains is not work when i test the applepay payment
pmd id : pmd_1P6reaHv726MzAnz1Pl6oxR5
stripe account: acct_1BklElHv726MzAnz
warning "You have not registered or verified the domain, so the following payment methods are not enabled in the `paymentRequest`:
- apple_pay
Please follow https://stripe.com/docs/payments/payment-methods/pmd-registration to register and verify the domain."
Related Request ID(s)
req_9Z8EhqRH0G9xvD
What have you already attempted?
https://docs.stripe.com/api/payment_method_domains/create
https://docs.stripe.com/payments/payment-methods/pmd-registration
@open pewter pressed the π API button in #help to ask a question:
Question
I set up the stripe and firebase extension and I am trying to figure out how to set up license allocation within this construct. For example, a user buys 3 licenses which is stored under the customer > subscriptions object and now I want to say which other users in firebase are being granted those additional licenses. Are there any examples of how to manage this in firebase?
Related Request ID(s)
n/a
What have you already attempted?
I set up the stripe and firebase extension and now I'm looking for the best approach on how to append this additional functionality.
@turbid glade pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
There is a pop-up window for inputting information during 3DS verification.
What actually happened?
There is no pop-up window to fill in the information for 3DS verification, but a callback is received after the 3DS verification is completed, and the query interface has a result of 3DS verification failure.
Reproduction Steps
It cannot be reproduced at the moment. Provide the following order number: pi_3P73jmEmZ3YgtBNv0PJrfXt6
Question
Why is there no pop-up window for 3DS verification, but there is a callback?
@bleak fractal pressed the π API button in #help to ask a question:
Question
How can I safely delete a payment method? We want to provide a way to add more than just once payment methods for our customers in our app. The only request we can find that goes into the direction of a deleted payment method is https://docs.stripe.com/api/payment_methods/detach. But we have to assure that no payment method that has pending payments (e.g. in status 'requires_capture') are detached, correct?
Related Request ID(s)
-
What have you already attempted?
Currently we think that the way to go is: If customer with ID 'cus_xyz' requests to detach the payment method 'pm_abc' -> Search for all payment intents of 'cus_xyz' whose status is 'requires_capture' via https://docs.stripe.com/api/payment_intents/search, and iterate through the obtained results, and of these, check if any of them has a https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method 'pm_abc'. Only if that's not the case, allow the detachment. Correct ?
What are you working on?
API integration
@green kernel pressed the π§βπ» Code button in #help to ask a question:
Code
await stripe.invoices.finalizeInvoice(invoice.id);
Question
I want to update the description of the transfer(stripe connect) object created when invoice is paid and also when someone pays using checkout session
What have you already attempted?
Tried to access `transfer_data` but it only provides `amount` and `destination` but no id to update the object. I get a webhook but it has no metadata to work with.
@devout surge pressed the π§βπ» Code button in #help to ask a question:
Code
checkout_session = stripe.checkout.Session.create(
payment_method_types=['card'],
line_items=[{
'price': data['price_id'],
'quantity': 1,
}],
mode='subscription',
success_url=''
cancel_url='')
event = stripe.Webhook.construct_event(
payload, sig_header, endpoint_secret
)
Question
I am using stripe.checkout.Session to do the transaction as I am using the stripe hosted web page for transaction, the return data of checkout does have the url with the session id, but the client id or payment id is null,
on my webhook, i need to update the db once the payment is successful, so i cant find a unique key to match which webhook, so what i can i do for it?
What have you already attempted?
tried adding a client_rederence_id but didnt work, tried to do a subscription, but needs a default payment for customer, since i am using stripe checkout i wont be having any card details.
@cold dragon pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I was setting up stripe from scratch
What actually happened?
At webhook setup, created two webhook end points as type Account and other as type Connect.
But at the dashboard there it shows both as Account
Reproduction Steps
Started from clicking Add endpoint button
and selected events on connected account on listen to section
Question
After selecting events on connected account, does not it supposed to be created as Connect type on the listing of the webhook page
What are you working on?
Asking query
@raw coral pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/payments/save-and-reuse?platform=react-native&mobile-ui=payment-element#test-the-integration
Question
How can I bring customer back on session to complete confirm payment with 3d saved cards?
What have you already attempted?
First I create payment method by setupIntent, then use these payment_methods to create payment_intents
I success on confirming payment with card 4242 4242 4242 4242 but fail on card 4000 0027 6000 3184.
@mighty hinge pressed the π API button in #help to ask a question:
Question
I have to add description in transfer account when making payment
Related Request ID(s)
N/A
What have you already attempted?
SubscriptionUpdateOptions.TransferData = new SubscriptionTransferDataOptions()
{
Destination = StripeConnectedAccountId,
AmountPercent = stripeplatformpercentage,
};
This is what I call
@shell stratus pressed the π API button in #help to ask a question:
Question
I am implementing Stripe's openPaymentSheet in a React Native Expo app. While PayPal as a payment method appears correctly on Android, it does not show up on iOS. I have followed the integration guidelines but seem to be missing something platform-specific for iOS. Can you provide guidance on why this may be happening or if there are additional steps required for iOS?
Related Request ID(s)
N/A
What have you already attempted?
I have thoroughly read the Stripe documentation, specifically at https://stripe.com/docs/payments/save-and-reuse?platform=react-native&mobile-ui=payment-element. However, I could not find any information related to the issue of PayPal not appearing in the PaymentSheet on iOS. No errors are thrown, and the functionality works as expected on Android.
What are you working on?
I am working on a React Native Expo application that integrates Stripe for payment processing, aiming to support multiple payment methods including PayPal.
@patent sierra pressed the π API button in #help to ask a question:
Question
My site has had access to stripe subscriptions since 2021, and now I have a requirement: can you realize that you can only pay for one trial subscription with one card?
Related Request ID(s)
1
What have you already attempted?
1
@vocal wagon pressed the π API button in #help to ask a question:
Question
At the moment we are experiencing some problems, when customers want to pay: The actual step of paying is working, but the popup, that is generated through the communication between stripe and the bank is always showing 0,00 as the amount of money that will be deposited. Therefore, customers don't finish the payment procedure. If you finish the transaction (out of the customer perspective) the transaction works with the right amount
Related Request ID(s)
req_AwP1lczl0i2THT
What have you already attempted?
I tried to implement correct content security policy, check api keys,
What are you working on?
SaaS
@uneven basalt pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I'm creating a checkout session to allow my customers to subscribe. I pass as options 'billing_address_collection' => 'required',
I want that the address the customer put, then, appears in the invoice.
What actually happened?
It appears to write customer's address, but then when creating the invoice, it does not appear there.
Reproduction Steps
Stripe Checkout > Fill data for payment (card, address, etc) > Customer details > There is not the address
Question
I would like when customer pays in Stripe Checkout it saves address and show it in invoice. I don't know if when creating tax ID, the address resets.
What are you working on?
I don't know if it's possible to update customer's address via API
@vocal wagon pressed the π API button in #help to ask a question:
Question
How can I generate a dispute using Klarna payment method in a test environment ? I have been told that I need to fill the email "customer+disputed-unauthorized_purchase@email.fr" with the phone number "+33656194345" so that Stripe create a dispute automaticaly but I can't make the phone number appear in the charge no matter what I send during the checkout session creation
Related Request ID(s)
req_gwLI1a8lN5TL5D
What have you already attempted?
Adding a Shipping object in the PaymentIntentData of the SessionCreateParams with the phone number in it. Enabling the phone number collection.
@errant hinge pressed the π API button in #help to ask a question:
Question
If a standard connected account does not have enough funds to cover a refund, what error codes can I expect Stripe to return from the API?
I understand in some countries, Stripe will automatically debit a bank account to cover a negative balance. In this scenario, would it be safe to assume Stripe would not return an error when initiating a refund that will result in a negative balance?
Related Request ID(s)
none
What have you already attempted?
It's difficult to simulate a refund on an account with insufficient funds in test mode.
@hard shadow pressed the π§βπ» Code button in #help to ask a question:
Code
Can we create custom ui for credit card on stripe
Question
the stripe card element not allowing custom credit card ui
What have you already attempted?
the stripe card element not allowing custom credit card ui
@regal horizon pressed the π API button in #help to ask a question:
Question
We want to implement the Auth system using node appwrite SDK. For that, we used the bcrypt method to create a user using an email password. And it worked perfectly. Now, we want to create a session for this user, but we couldn't find a way to do that through docs. We're also unsure about how to do JWT login using node appwrite SDK. So any guidance on how we can create a session using node appwrite SDK would be helpful.
Thank you!
Related Request ID(s)
Mone
What have you already attempted?
We want to implement the Auth system using node appwrite SDK. For that, we used the bcrypt method to create a user using an email password. And it worked perfectly. Now, we want to create a session for this user, but we couldn't find a way to do that through docs. We're also unsure about how to do JWT login using node appwrite SDK. So any guidance on how we can create a session using node appwrite SDK would be helpful.
Thank you!
What are you working on?
Create and app that allows user to create user and login using node-appwrite
@red wedge pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Stripe Element to load
What actually happened?
Stripe Elements not loading rarely, shows grey box that says 'the connection was resetβ when hovering.
Reproduction Steps
Unable to reproduce, has happened for a few customers.
Question
Why is it happening, how to prevent?
What are you working on?
Stripe Payment Element
@signal dragon pressed the β An Error button in #help to ask a question:
Error Message
Iβm using Stripeβs βset future paymentβ feature. Users should have already entered their credit card information and passed verification before using my appβs services.
Question
However, in one instance, after I provided charging services, the customer did not complete the automatic payment deduction. The reason given was: Your cardβs security code is incorrect.; code: incorrect_cvc; request-id: req_6EADr5idSPmq5Oβ
What have you already attempted?
no attempt now
@wispy grail pressed the π Best Practices button in #help to ask a question:
Question
Is there an integrated Stripe service to manage Stripe Connect <> Stripe Customer affiliation ?
I would like to give an Coupon Code to a Stripe Connect Account.
Then When a Customer will use this Coupon Code,
- the Customer get a % on his purchase
- The connect Account get a % on its Platform's fees
Thank you for you reply π
Doc/Guide Links
https://marketplace.stripe.com/apps/trackdesk
What are you working on?
Stripe Connect to Customer Affiliation
@vocal wagon pressed the π API button in #help to ask a question:
Question
For proration invoices, we see that the proration lines for old invoices don't have the proration field set to true and the price.product is a one-off product, but newer invoices have the proration as true and the price.product has the original product. Can you confirm that new invoices will always have the proration field to true and the price.product will be the original one? If that's the case, can you provide the date at which point the API migrated to start returning the lines as proration true?
Related Request ID(s)
https://dashboard.stripe.com/acct_19BAuIB78pGGtXVg/invoices/in_1MwqWSB78pGGtXVgR8jIfM9P
What have you already attempted?
When through different invoices in the stripe dashboard, and it looks like older return proration as false (eg, https://dashboard.stripe.com/acct_19BAuIB78pGGtXVg/invoices/in_1MwqWSB78pGGtXVgR8jIfM9P line ii_1Mwq5qB78pGGtXVgqG03yq9A) and newer return it as true (eg https://dashboard.stripe.com/acct_19BAuIB78pGGtXVg/invoices/in_1P1cMyB78pGGtXVgxM6zzsYM line ii_1P13gmB78pGGtXVgO1JBnGzw)
What are you working on?
Identifing proration lines
@fierce mortar pressed the πͺ Webhooks button in #help to ask a question:
Question
Hi. I've got a strange issue. We create a transfer between stripe accounts and that triggers a "transfer.created" event. Something unexpected has changed though, and the transfer isn't actually occurring.
Related Event ID(s)
evt_3P7DnFJk75hPCxYy0O6Rk2iE
What have you already attempted?
https://docs.stripe.com/api/transfers/create
What are you working on?
Money transfers between connected accounts.
@sand kernel pressed the π API button in #help to ask a question:
Question
I read the document and Stripe told that:
`During that time, we wonβt attempt to charge the customer unless we receive a successful response. We also send you an email to notify you that the webhook is failing.`. Because of Baremetrics DNS downtime today, every webhooks sent to Baremetrics were failed and returned the 503 status code.
But I took a look a payment and found the finalized webhook was failed but Stripe still charged our customer.
Does the document correct?
When I have multiple webhook endpoints, and if one of them failed to deliver finalized event, does Stripe stop to charge?
Related Request ID(s)
https://dashboard.stripe.com/payments/pi_3P70tXKS8TSoP9bD1AhD2v24
What have you already attempted?
Read the document https://docs.stripe.com/invoicing/integration/workflow-transitions about invoice finalization and compare several payments.
@stone urchin pressed the π Best Practices button in #help to ask a question:
Question
How do you test a React Native Payment Element redirect?
Doc/Guide Links
https://docs.stripe.com/testing
What are you working on?
I'm trying to test an integration and cannot work out how to test the scenario when a user is redirected to their banking app to confirm
@vale wing pressed the π API button in #help to ask a question:
Question
I have connect accounts that are being paid 7 days after they have done their job, which they're not happy with. When I look at the Dashboard on each account there's a dropdown on daily automatic stating delay by minimum 7 days. The other option is manual via the API, if I do this through the API, can I accelerate the payouts to my connect accounts?
Related Request ID(s)
N/A
What have you already attempted?
N/A
What are you working on?
A vehicle repair network
@primal peak pressed the π Best Practices button in #help to ask a question:
Question
Is the last payment method suitable for the subscription method using Python? Additionally, can you create the product and price based on the payment received from the frontend?
Doc/Guide Links
https://docs.stripe.com/api/subscriptions/create
https://docs.stripe.com/api/products/create
What are you working on?
working on one-time payment with the stripe. Also want to integrate the subcription
@latent thistle pressed the πͺ Webhooks button in #help to ask a question:
Question
Issue: Stripe is making duplicate webhook calls for the same checkout session which results in duplicating the records in database
Related Event ID(s)
evt_3P5RxSAotqhqkVaW1M5ogKCg
What have you already attempted?
Example: User creates a checkout session of $1000. after successful checkout session i.e., when "checkout.session.completed" event is triggered the server catches the webhook and updates the details in database. After some time (minutes or few hours later) stripe triggers another webhook call for the "checkout.session.completed" event of that checkout session
What are you working on?
Business Logic : User creates a checkout session. While creating checkout session user provides necessary details like idempotency key, unit amount, customerId etc. stripe returns a session url. User
@ember yarrow pressed the π API button in #help to ask a question:
Question
Is there a way to retrieve multiple price objects with an array of price ids opposed to performing multiple retrieve POSTs
Related Request ID(s)
prices API
What have you already attempted?
Reading docs.
What are you working on?
Private company projects
@glass umbra pressed the π API button in #help to ask a question:
Question
Payment method, what the data i need storage?
Related Request ID(s)
Payment method
What have you already attempted?
I want storage a default payment method
@hot heron pressed the π Best Practices button in #help to ask a question:
Question
I want to create subscriptions with my backend.
I want to give the customer the possibility to either use a card or a one time payment for this subscription.
I already created the default case with a checkout session where i can use a card.
I also want to make it possible to use for example EPS payment or SEPA for these subscriptions and when the billing period ends send an invoice.
I always want the user to have a checkout session.
Doc/Guide Links
https://docs.stripe.com/api/subscriptions
What are you working on?
Domain Registry
@primal peak pressed the π Best Practices button in #help to ask a question:
Question
i want to integrate the stripe subscription with python. Right now i am creating the product and price from the stripe i want to create the price and product according to the dynamic price from the request
suppose:- on stripe i have created the product with price ($10) but sometime i want the product with price($100), sometime product with price($200) and so on.. as the dynamic payment from the request
Doc/Guide Links
https://docs.stripe.com/api/subscriptions/create
What are you working on?
working on one-time payment with the stripe. Also want to integrate the subcription
@wintry stirrup pressed the π API button in #help to ask a question:
Question
What are the supported countries for application fees with a platform in NL vs in the US.
It's very unclear for us what to do, now we get this error: Stripe doesn't currently support application fees for platforms in NL with connected accounts in MX.
Related Request ID(s)
req_TQTEhqb1NkpXjp
What have you already attempted?
I looked into the docs but coudn't find it.
What are you working on?
A platform which connects accounts across the whole world selling services at our marketplace
@wide loom pressed the π§βπ» Code button in #help to ask a question:
Code
Test Customer Emails by Settings->Customer Emails ->Send a Stripe-hosted link for customers to confirm their payments when required, in Test Mode, when user fails 3D Secure Authentication
Question
Hi,
we're trying to test failing a 3D Secure Authentication in Test Mode on Stripe, and sending an email to the user through the setting in Stripe Dashboard as described above. Is the email sent out immediately upon failing 3D Secure? Is this email included in test emails sent to member of team with same email address as in the Customer object?
What have you already attempted?
Team member does not receive this email, even though email in Customer object and team member email match, in Test Mode.
We've read the docs regarding 3D Secure Authentication, Customer Emails, Subscription retries for failed 3D Secure Authorizations.
What are you working on?
Subscription payment on gaming console device using built-in older browser, where INTL namespace is not supported, causing issues with 3D Secure.
@slate moss pressed the π API button in #help to ask a question:
Question
Need To Hide a checkBox that come on payment-ellement
Related Request ID(s)
NaN
What have you already attempted?
Need To Hide a checkBox that come on payment-ellement
@radiant jacinth pressed the π API button in #help to ask a question:
Question
Is is possible to retrieve Payout Trace ID using C# PayoutService or any other C# service?
Related Request ID(s)
I don't have a request id
What have you already attempted?
I have tried looking at the Metadata property for the Payout object, but it doesn't have 'trace_id' available
What are you working on?
I am trying to confirm payout was received in platform bank account. I need to confirm payout by either bank trace id or bank transaction id. I am connecting to bank api to ensure success
@past charm pressed the π API button in #help to ask a question:
Question
How to re-connect Stripe Reader M2 when the iOS app launches by using a previously saved serial number?
Related Request ID(s)
A
What have you already attempted?
I am trying to connect by SCPBluetoothConnectionConfiguration but it has nothing that can be passed as a serial number.
What are you working on?
I am integrating Stripe Terminal iOS SDK.
@bright stream pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/api/payment_methods/object
Question
Regarding moving to the sources api to the payment method api. I listed all the sources with the customer.listPaymentMethods, but it seems the type: ach_credit_transfer is no included in there. Is this an incompatibility with the sources api becasue they do show up with customer.listSources
What have you already attempted?
Read the docs
@glacial gorge pressed the β An Error button in #help to ask a question:
Error Message
500 internal server error on creating express portal in prod, but success in dev
Question
500 internal server error on creating express portal in prod, but success in dev
What have you already attempted?
stripe.accounts.create({
type: 'express',
metadata: xprsAcntMetadata,
});
const accountLink: Stripe.AccountLink = await stripe.accountLinks.create({
account: user.payment.expressAccountId,
refresh_url: returnUrl,
return_url: returnUrl,
type,
});
@vocal wagon pressed the π API button in #help to ask a question:
Question
Hey, we have switch the payment methode from payment elements to the checkout page. Before the switch I was able to retrieve the invoice through the API and provide it to our customers within our App. No I am facing the problem, that the invoice is solely in the Stripe Account and is also send to the customer via Mail. But unfortunately I am not able to provide the invoice directly in our app. Is there the possibility to receive the invoice directly after the payment succeeded via the API to provide it in the App automatically?
Related Request ID(s)
before: pm_1P7E7kAsvc4jfrbXtzIKEwCt, after: pm_1P7H5GAsvc4jfrbX8mWSXuci
What have you already attempted?
We tried several ways to receive the invoice through the API
@normal yoke pressed the π API button in #help to ask a question:
Question
I am not sure what is the most way of payout to sellers on our marketplace system. The buyers buy first hand items on our marketplace and may choose to sell them out, at higher or lower than original price.
Related Request ID(s)
N/A
What have you already attempted?
I have attempted to use stripe refund, but found out that the refund functionality only works when seller sells out their item at either same or lower to the price they original purchased the item at.
What are you working on?
Ticketing marketplace
@leaden stirrup pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
Expected result: stripe should make invoice to the latest added card on customer (not the default one!)
at least that's what i understand from stripe docs: https://docs.stripe.com/api/cards/delete
What actually happened?
It charges the card marked as "Default" in customer page.
Reproduction Steps
(1) no default payment method on subscription
(2) default card set on customer
(3) customer has other cards they added more recently (not set to default)
Question
Is there a way to detect the card the customer will be charged if they have no default payment on their subscription? I tried listing payment methods on customer but it has no data about which one is default (if there is a default)
@gentle kindle pressed the π API button in #help to ask a question:
Question
when i place an order. that order contains 2 subscription items and 2 one time payment at the time how can i create payment ?
Related Request ID(s)
API
What have you already attempted?
I didn't any attempt.
What are you working on?
Ecommerce app
@glass verge pressed the π API button in #help to ask a question:
Question
I am using stripe checkout session apis. I want to create a subscription that
- captures a payment at the time of finishing the checkout
- and then starts at a later date in the future and get payment monthly
For example, a user tries to buy a class that starts on June 1, 2024 on our storefront with price 100 per month. Then, they will be charged 100 now and then 100 every month from June 1, 2024.
Related Request ID(s)
- -
What have you already attempted?
I tried using setup mode, so I can get the payment method and use session line items to create a subscription schedule. But As I can't pass line items when using set up, I got an error
What are you working on?
A checkout flow for a storefront selling classes
@full ingot pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
When I call `stripe.checkout.sessions.create` API for a customer with trialing subscription I expect to lands in checkout where they can add card and add promocode and pay for a plan.
What actually happened?
When I call `stripe.checkout.sessions.create` API for the customer that has trialing active plan he lands at checkout which says `You already have a subscription with us` and there is pre-filled email input with user email and action to continue which sends user an email to log in.
Reproduction Steps
Create a user with active trialing subscription and call the `stripe.checkout.sessions.create` API with the parameters above.
Question
Which API / parameters should I use to achieve the expected behaviour?
What are you working on?
Checkout for Langtail product
@jolly flame pressed the π API button in #help to ask a question:
Question
From Invoice object, I was able to grab inovice_pdf for pdf downloable link. This is good but when there is refund made for the invoice, the pdf doesn't show anything about refund. I also need refund invoice pdf link but couldn't find anything in api.
Related Request ID(s)
req_wxOAD8CMDzyCpG
What have you already attempted?
tried with different objects like refunds, payment_intent.
What are you working on?
working on a page to show detailed billing history
@sharp aurora pressed the π API button in #help to ask a question:
Question
Hi, I am looking for the appropriate way to trigger a receipt email to be resent. I have `pi_3P2GYVJJlPLJUaju0RR9QBBF ` (an actual payment from me to my company for an employee order) in live mode (since you can't test emails in test). I tried triggering two emails to be sent. The first one when updating `receipt_email` went through. The second did not.
Related Request ID(s)
req_sByQpuJgU4oDAo, req_XXsXTsJ5HBU1Yj
What have you already attempted?
I've read the docs that it's supposed to send out an email when updating the `receipt_email`. It appears it will not send it out if you update it to the same value. How does Stripe achieve this within the dashboard (specifically resending)?
What are you working on?
Terminal integration
@cyan wedge pressed the β An Error button in #help to ask a question:
Error Message
Funds can't be sent to accounts located in US because it's restricted outside of your platform's region; please contact us via https://support.stripe.com/contact for details.
id: req_hZxAbkF2YS5diN
Question
I've just had a USA based customer create a Connect account and try to initiate a checkout payment on my platform. There's an error: 'Funds can't be sent to accounts located in US because it's restricted outside of your platform's region'
My platform is based in NZ. What on earth does this mean? Can the platform not accept payments except for NZD?
What have you already attempted?
-
@vocal wagon pressed the π API button in #help to ask a question:
Question
I got an error "Missing required param: payment_method_data[type]." in response to my request
Related Request ID(s)
req_SMsE9yPbiClcE9
What have you already attempted?
To add the field βpayment_method_data[type]β: βcardβ, but it failed because there is no card passed in request. This is a subsequent payment with the usage of stored payment method
@fleet thistle pressed the π Best Practices button in #help to ask a question:
Question
Suppose a customer purchases a subscription with a 3D Secure credit card.
Is it possible for that payment method to become un-authenticated for future subscription renewals? Maybe the subscription product has a price change, etc.
If so, what's the best practice when that does happen. Can you have the user re-authorize that same payment method? Do you need to have them re-add a payment method (even if it would be the same card)?
Doc/Guide Links
https://docs.stripe.com/payments/3d-secure/authentication-flow#when-to-use-3d-secure
What are you working on?
A subscription app for a news website
@stoic wasp pressed the π A Doc or Guide button in #help to ask a question:
Link to the Doc/Guide in question
https://docs.stripe.com/terminal/references/testing#interac-test-card
Question
Our team is working on supporting EMV payments for Interac. We are looking at validating our integration and would like to get some Interac Test Cards.
What have you already attempted?
Upon reviewing the options on the Stripe dashboard, I noticed that Interac Test Cards are available with shipping restrictions to Canada. Given the critical nature of these test cards for our validation process, I was wondering if there might be a way to have them shipped to us in the United States.
What are you working on?
Interac Support
@barren cargo pressed the π API button in #help to ask a question:
Question
How can I relate a payout with charges?
Related Request ID(s)
-
What have you already attempted?
-
What are you working on?
Dashboard
@median dew pressed the π€¨ Unexpected Behavior button in #help to ask a question:
What did you expect to happen?
I'm trying to use the Connect account onboarding embedded form for my website, expecting for it to seamlessly integrate with my site
What actually happened?
when rendering the longer sections of the form, such as the review and submit page, or other information collection pages, it forces a downward scroll.
Reproduction Steps
I have rearranged css / react.jsx styles by placing the component in divs, enabling scroll, trying to make the form smaller, but the same two sections always force a scroll.
Question
I am wondering if this is a common issue with this embedded form and if it can be fixed in some way.