#dev-help

1 messages · Page 60 of 1

violet mantle
#

Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing

import Stripe from "stripe";
import { buffer } from "micro";
import Cors from "micro-cors";
import prisma from "../../utils/prisma";
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY);

const webhookSecret = process.env.STRIPE_WEBHOOK_SECRET;
//const webhookSecret =  OLDKEY

// Stripe requires the raw body to construct the event.
export const config = {
  api: {
    bodyParser: false,
  },
};

const cors = Cors({
  allowMethods: ["POST", "HEAD"],
});

const webhookHandler = async (req, res) => {
  if (req.method === "POST") {
    const buf = await buffer(req);
    const signature = req.headers["stripe-signature"];
somber glade
#

Hello! I’m needing a copy of my 1099 and Schedule C from last year emailed to me.

silver canyon
#

Hey!

I'm using a Stripe payment link to sell gift cards for my application. When users make a purchase, Stripe redirects them to my custom page. Additionally, I listen for the invoice.payment_succeeded event on my webhook.

For some reason, Stripe doesn’t immediately send data about this single item purchase on webhook. However, when users go through the same flow for a subscription purchase, it works as expected, webhook recives data instantly.

Could invoice generation take longer for single items compared to, for instance, subscriptions?

ocean kayak
#

Hello I have 2 webhooks(one for customer and one for Connected Accounts) is there a list of what events i should be listening to for task? I am trying to get alerted when a Connect Account completes the on board process

dense rain
#

Hi, I am making an ecommerce website with nextjs and strapi and need to integrate stripe for payment gateway, but I get this error and I tried another way of integrating it as you can see in the commented section from line 3. However, when I try using that method I get an error while launching the server saying I can't import outside a module, can someone please help me I am just starting coding and I basically just followed documentations and templates and don't have much knowledge.

compact otter
#

working with payment intents. Some of my ACH payments are being refused because of mandate issues. I can't figure out how to retrieve mandates so I can figure out what is wrong.

wind creek
#

Hi there! Appreciate the help in advance. Is there a way to limit the amount of supply available for a product on Stripe?

#

I'll selling tickets to an event and would like to limit it to 8 available total

#

I'm...

#

for one of my product options..

random merlin
#

Does anyone know what causes an "inactive mandate" flag to appear on a payment method? I've only seen this appear for one customer, and I was wondering if it was something I could remedy by creating a new mandate request through the API or something.

fiery stirrup
#

Hi all. When trying to create a payment intent, I am getting the following error: {"code": "PAYMENT_METHOD_TYPE_NOT_FOUND", "message": "Payment Method type could not be resolved", "param": "payment_method", "type": "HTTP_CODE_400"}. Nevertheless, this is our configuration for the connected accounts. Are we missing something?

keen pond
#

Hi, can someone call me please.

silver canyon
#

Hello again! Thanks a lot for the previous response!

Did I understand correctly that in any payment flow - be it a one-time purchase, subscription, or custom checkout session - the checkout.session.completed should be used on webhook to validate successful payment and provide goods, and not invoice.payment_succeeded? What are the downsides of using invoice.payment_succeeded?

oak raptor
#

If I am previewing an upcoming invoice to get a tax estimation, does that count as a transction and will I be charged?

limber bane
#

Hi, we use connect so that our customers can create invoices and such from our platform. Our customers are 'express' connect customers and therefore have limited access within Stripe to make changes. One of our customers has asked to include their mailing address on all invoices created from our platform. Would this be achievable via the api or is it not allowed on connect 'express' accounts?

soft lintel
#

Hi! I'm using connect express accounts. In code when I pay users, I create a transfer and add a description to it. However, in the express dashboard, the user only see's the Payment object which doesn't have the description. Is there any way I can create a Payment Description that the user can see?

drifting needle
#

Hello We have a client who is needing to setup Static IP addresses for the Terminal as thier network does not use DHCP. When they setup the static IP on wireless, and then connect to the dock the Ip changes. Is there a way to do this so the Static IP is on the dock?

pliant path
#

We have a customer in Canada who wants to add a debit card to the connected express account in order to do an instant payout -- when they edit their account details in the express UI, there's no option for debit cards. Is there some API we can use to enable this? Some technical aspect in the way? Stripe's front line support has been unhelpful

pliant path
empty mantle
#

hi i have a question about webhooks and routing. is it possible to inject something into the webhook url? if not, would it be possible to inject something into cgi params?

untold nexus
#

Can I get the documentation and implementation references to allow the following "escrow-ish" behavior, from Stripe Connect and others:

Company operates a marketplace allowing Customer to inspect item before payment to Vendor completes.

  1. Vendor registers for Strip connect to accept payments
  2. Customer initiates intent to purchase from Vendor using "auth and capture," 3 months before the delivery date. Customer can cancel the order up to 28 days before the delivery date.
  3. "Auth and capture" ar renewed every 7 days (per Stripe sales rep), without requesting re-entry of the credit card number.
  4. On the delivery date, Customer inspects the delivery and may accept or reject the order.
  5. If Customer accepts the delivery, Customer can get charged on Stripe Connect, without inputting the credit card number again, and Vendor is paid. Customers could also choose to complete the purchase using ACH for a discount.
little vigil
#

Hi,

I've setup an Express Checkout Element (https://stripe.com/docs/elements/express-checkout-element) on a site. We've configured this to always show applePay if supported:

const expressCheckoutElement = elements.create("expressCheckout", {
layout: {
maxColumns: 2,
overflow: 'auto'
},
paymentMethodOrder: ['apple_pay', 'google_pay', 'paypal', 'link'],
wallets: {
applePay: 'always',
googlePay: 'always'
}
});

However, our client is noting that Apple Pay is not showing on their iPhone with Apple Pay configured, while Google Pay is.

It's a little unclear from the documentation, are there cases where applePay will be hidden regardless of our setting? Even if checking out in a supported browser and OS?

Thanks and appreciate the help in advance!

distant notch
#

We have customers that have 1 year, 2 year, or 3 year terms. Currently we manage the differing term lengths with product prices and auto invoice yearly. However, I intend to pause the collection at the end of the customer term which is beyond Stripe's 12 month max period. Is there a better way than to set the cancel_at date when the subscription is created?

stoic heart
#

Been reading the API docs for prorations/subscription updates and can't find a clear answer to this situation:

  1. A user is currently subscribed to a yearly plan
  2. We want to move them to a cheaper price on the same interval, ideally without changing their billing date

It seems that doing this will trigger a proration - but that is presented as a credit on their next invoice. Is there any way we could immediately just process a refund to their credit card instead of adding balance to their customer profile?

tired geode
#

why this error if i am when i am using mode => payment but with mode => subscription is fine

umbral thunder
#

I am using the payment element with only the card payment type. I am trying to take a card payment so I am trying to use the stripe.confirmCardPayment() function but I am receiving an error that a payment method wasn't provided, which it wasn't, and I could provide one or provide the payment_method_data paramters , but I am not sure where I can find the latter. TIA

tidal reef
#

Is there any way to have my app run some code during stripe Checkout? Specifically between the user pressing the subscribe button, and before they actually get charged?

solid glen
#

Hi! I'm having trouble getting a webhook with checkout.session.completed to work. My function somehow doesn't get called. The payment is received in the Stripe dashboard but nothing is happening with the webhook. I implemented a test webhook, added the correct secret key and implemented the correct endpoint.

What can be another reason that I'm missing that the function doesn't get called?

dire brook
#

Hi - I currently bill my clients through Moonclerk and wanted to see how I can transition those subscriptions to Stripe?

Thank you

cerulean pineBOT
#

This channel is closed, but we'll be back at 8:00 AM UTC. We look forward to helping you when we return, but if you need assistance sooner please contact Stripe support: https://support.stripe.com/contact/email

cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

charred vortex
#

Morning! I am seeing a behavior difference in test and production environments with subscriptions. Customer.subscription.created status is never at first active, in production it seems to be active immediately. I built my app to handle new customer behavior in customer.subscription.updated, but now it seems for production it should be handler in customer.subscription.created. Is this a known thing? I also saw people handle new subscriptions in checkout.success, what's the conventional way to do this?

barren dagger
#

https://stripe.com/docs/billing/revenue-recovery/smart-retries
Automatically retry failed payments,
Please I have a question here , if I have a subscription object and on the renewal date the an new invoice was generated and the payment fails, when payment is retried will a new invoice get created? or new payment intent will be created and will be under the same invoice ?
I need to keep track of the payments tried, and have them linked to the subscription renewal

Automatically retry failed payments and reduce involuntary churn.

true jungle
#

I sometimes find myself in a need of an overview about how the different components in the Stripe API relates to each other. For instance will there always only be one payment intent and charge for an subscription or can there be more than one? Also the card object ic_1 and cardholder ich_1, what object can I use to find these? I can't see references to those in either invoice, payment intent or charge.

drifting tiger
#

Hey,

The summary question would be - Is there a way to get the stripe fees for a charge before making that charge?

More context:

We are using Connect with Express accounts + on_behalf_of (such that the clients are the merchants of record). We are trying to add an application fee that should be on top of stripe's fee.

As an example, say our rate would be 1% and 20 p / c.

Connected account from GB -> stripe fees 1.5% + 20p -> we want to end up with 2.5% + 40p
Connected account from US -> stripe fees 2.9% + 30c -> we want to end up with 3.9% + 50c

Is there a way to get the above without actually manually mapping & keeping the stripe fee's in our application? (and then keep them in sync)

Any help would be appreciated! Thanks 🙂

frigid locust
#

Why is the webhook event invoice.payment_succeeded is called when a subscription is created with payment intent that has not received any payment? What webhook is appropriate to use when a subscription is successfully paid with/without trial

hoary belfry
#

Is it possible to authorize the payment in the 'capture later' function by initially charging a small amount and then capturing the full amount later?

compact mist
#

Is it possible to simulate escrow accounts using stripe connect?

finite jetty
#

Hello all, I am using Stripe and I created a coupon and promocode, I want it to be used in general for all Checkouts (not limited to a product) but I cannot find a way how to add thet field in Checkout that allows people to wrtie the promocode and get that dicsount. Documentation says this: https://stripe.com/docs/payments/checkout/discounts but I am not a developer! I have no idea how to set it, where to set it... anyone can help out, is there easier way? Thanks

Discounts in Checkout allow you to reduce the amount charged to a customer for one-time payments by discounting their subtotal with coupons and promotion codes.

crude ore
#

Hi guys, is there any test card that will allow to pay for subscription only once (for the first billing period), and during second attempt it will be declined? I need to test such scenario but not sure how

haughty garden
#

Hi team stripe. I just received a error that is new to our .net implementation. When calling Stripe.BalanceTransactionService.GetAsync() in .net.

gentle flint
#

Hi, I'm doing the fixes for India recurring payments with Stripe. Now, it's working fine with Indian Stripe account. And I have another test US Stripe account. When I integrate the application with test US Stripe account and purchase a subscription using an India test card, the recurring payments are not happening. It says the payment is incomplete(The customer hasn't attempted to pay this invoice yet.). It shows PaymentIntent status:
requires_confirmation. How can I fix this? Or is it like every recurring payment needs to be authenticated?

silk ice
#

hello how can we do subscription using payment element for wallets like gpay or applepay and card.

sinful bridge
#

Is it possible to simulate charge.dispute.created event on test environment?

late yoke
#

Two questions about Connect oauth:

  1. What is no_deauth_on_controlled_account in deauthorize documentation https://stripe.com/docs/connect/oauth-reference#post-deauthorize ? I cant find any reference to it
  2. Is there a way to get account_id before completing oauth authentication (/oauth/token)? We want to avoid the same account being used multiple times.
lyric viper
#

hi

#

need help to stripe integration with 3d secure

buoyant vale
#

Hi there is question regarding financial connections, if we are using some other ach payment gateway and we want financial connection from stripe. For example using stripe financial connection customer will verify their bank and we will get account number and routing number and based on the information we can charge the customer with other ach payment gateway

hasty tapir
#

I'm changing my webhook code and so going back to use Stripe CLI in my test environment. In my code I've changed the webhook secret to the one supplied to the CLI, but I'm getting a 500 when I run stripe listen --forward-to localhost:8080/webhook and stripe trigger payment_intent.succeeded. Is there something else I need to change to get that working again?

south grail
#

Hi, I'm trying to run a report run (balance.summary.1) for a connected account using the /v1/reporting/report_runs API with the Stripe-Account header. All I am getting is 0 values. If I run an identical report without the connected account I get the expected data for my platform

pseudo maple
topaz talon
#

Hello,
i want to pause custom connected account payout until account is completely id verified.

main dragon
#

HI guys! Can I use stripe without bank account?

dense rain
#

Hi, I wrote a request yesterday but couldn't follow up because my internet went out so I am asking again with a problem that I am getting while trying to integrate stripe in a nextjs application with a strapi backend

foggy oak
#

Is there a way to reload/rerender stripe elements and give it a different clientsecret?

vocal wagon
#

Hi guys! I have a stripe pluggin in my wordpress, and it's not working lately. If you press the buttons, they show a "stop" or "undefined" line in red. Have been using it for 3 years nad never had this problem. Any thoughts? Thanks

weak light
#

Hi, i integrate Express checkout element and i only want show one button (link/google pay/apple pay). How to do it?

zealous pelican
#

Hello, I'm trying to wrap my head around how to handle different tiers with Stripe?
I've seen this https://stripe.com/docs/products-prices/pricing-models#flat-rate and the good-better-best model.
That's exactly what I'm after. Let's call it bronze, silver, gold model here.

But I thought I'd rather have to use prices rather than different products.
What's not specified in the link above is how one user could go from bronze to silver OR bronze to gold directly for example.
Would that be done with cross sells? But there are quite a lot of constraints on cross sells from what I read in the doc so I'm not sure really, any help would be much appreciated. THanks

mossy vault
#

Hi team, I hope you are doing well.

Just a very quick question. When talking about the connect onboarding, once our connected accounts completes the input of the data they recieve an email notification that everything is ready to start get paid by us. Some team members are wondering if we could disable that email notification, wether through the Dashboard or maybe modifying a specific parameter in the onboarding. We are talking about Express Connect, using the Stripe Connect Onboarding.

Is there any way to disable that or it´s the case that email is automatically sent and we cannot disable it?

Thank you as always!

haughty garden
#

HI Karlekko - could we reopen the thread from earlier?

faint sundial
#

hi i have created two pricing table also i need create two webhook event

frigid locust
#

is it unsafe to expose subscription object created from stripe.subscriptions.create to the frontend?

frigid locust
#

What should be the correct status of a subscription that has a trial period and is just created with a pending intent and property payment_behavior: "default_incomplete"

sonic fulcrum
#

,hi, in my country stripe has launched a new payment method ''link'' but for some reason it doesn't show on my checkout page

tired geode
#

how we can create product and set it under connected_id ?

obsidian epoch
#

app.get("/r/:amount", async (req, res) => {
const product = await stripe.products.retrieve('prod_OiLYlmBJwmyG0e');
const { amount } = req.params;
console.log(product, amount);
const session = await stripe.checkout.sessions.create({
mode: "payment",
line_items: [
{
price: 'price_1Nuur7SDX4ipoJLQVGNTx6UE',
quantity: 1 * amount,
},
],
// ?session_id={CHECKOUT_SESSION_ID} means the redirect will have the session ID set as a query param
success_url: https://minihearts.org,
cancel_url: https://minihearts.org,
// automatic_tax: {enabled: true},
});
return res.redirect(303, session.url);
});
this is my code is working fine but i want to add google pay and apple pay . how i do this ?

timber field
#

Hello.

trim steeple
#

Hi All, We are implementing a Terminal to our systems.
We have an online store which we are also going to be implementing a in-store payment system.
I am currently adding in a terminal integration with our platform and we have 2 terminals on order. Is it possible to set up those terminals to be used with the Development Keys by attaching them to a location set up within the test mode?
If we do set them up this way is it possible to also attach them to the Production locations also?

jagged laurel
#

Hi, can you tell me how I should configure adding payment methods for further use without the presence of the user?

// server
cont setupIntents = await stripe.setupIntents.create({
customer: stripeCustomerId,
description: 'Add Payment Method',
payment_method: paymentMethod,
usage: 'off_session',
});

// FE react
const paymentMethod = await stripe.createPaymentMethod({
    type: "card",
    billing_details: {
      name,
    },
    card,
  });
  
const response = axsios('create-setupIntents'); //api request server

const confirmPayment = await stripe.confirmCardSetup(
    response.clientSecret,
    {
      payment_method: paymentMethod?.paymentMethod?.id,
    }
  );


// then I used the id of the created payment method to create paymentIntents
await this.stripe.paymentIntents.create({
  amount: 10099,
  currency: 'usd',
  description: 'Test',
  customer: stripeCustomerId,
  payment_method: paymentMethod,
  off_session: true,
  confirm: true,
});

And I got an error: "Error: Your card was declined. This transaction requires authentication."

Used the card: 4000002760003184
tribal hollow
#

Hi Stripe,
public async Task<ApiResponse<SetupIntent>> Handle(Request command, CancellationToken cancellationToken)
{
var options = new CustomerCreateOptions
{
Description = command.DescriptionAboutCustomer,
Email = command.Email,
Phone = command.Phone,
Name = command.Name
};
var service = new Stripe.CustomerService();
var customer = await service.CreateAsync(options);
}
i am using above code to create the customer but i see even if i pass he same email multiple times, stripe is creating multiple customer with same email id but assigning different customer id

#

Can you explain why?

worldly gorge
#

Is that dynamic payment methods enabled by default on the stripe account dashboard or do we need to do it ?

solid glen
#

Hi! I just switched to live mode to accept the first payments but when I'm trying to buy something I get this error in my firebase log:

Error processing request: The provided key '...' does not have access to account '...' (or that account does not exist). Application access may have been revoked.

But the secret key and the account are both correct and the account is correctly connected as a standard account. What could be a reason for this? In test mode everything works perfectly.

woven frigate
#

Hi i have a use case in which

Product 1 - Monthly recurring - $19
Product 2 - Monthly recurring - $39

i want to be able to upgrade my subscription from Product 1 to product 2 and the credits of days being added to the new subscription

for example i bought a subscription of product 1 and 10 days later i decide to upgrade to product 2 because it has more features so i want to be able to get the 20 remaining days as credit (calculated against the product 2 price so the actual credit might be 10-12 days or less)

Things i tried:

  1. Cancel the previous subscription and change the billing cycle anchor of the new susbscription to 30 + credit days but this gives an error saying "billing_cycle_anchor cannot be later than next natural billing date" same issue as https://github.com/stripe/stripe-java/issues/454.
  2. Thought of using trial and pass the credit days as trial days but that will not work because we want to charge the user at the beginning and not after the trial

Question
How can i solve this using stripe?

GitHub

Java library for the Stripe API. . Contribute to stripe/stripe-java development by creating an account on GitHub.

rocky turret
#

Hi Stripe Ninjas

how can i get the Tax ID of my Express connected account ??

craggy badger
#

Hello team, i am trying to connect NFC in iphone through stripe. it is showing me the following issue. Any quick replies most appreciated.

elfin valley
#

Hi, I want to order a BBPOS wisepad 3 reader to Norway. Does this reader work in Norway and where and how do I buy it? Can you also connect it with your stripe account?

idle light
#

Hi. I am trying to use the Update Price call. from the docs, as I am updating a price and not creating one I need to use the currency_options. however this gives me the following error that I do not understand
You are specifying an update to a currency option that matches the top-level currency for this price. Please remove this currency option and update the top-level params instead. I can not see another way form the docs o update a Price. Also, when creating a Price you can set the recurring options. Is this not possible with Update?

flint compass
#

Hi, I have a question on payment links and events :
https://stripe.com/docs/payment-links/api
Indicate that we receveid a checkout.session.completed. But when a client pays I receive one checkout.session.completed with metadas I filled and one payment_intent.succeeded without metadatas : is it normal ?

Create a custom payment page with the API and share a link to it.

rotund marlin
#

Hi Team, I'm having a restaurant website where I want the customer to be able to modify the order after a successful payment, that is he/she should be able to add items in that case pay for the extra added items and in cases where he removes items he should get a refund. Could you provide me a link/guide in stripe documentation which I can follow to implement this?

white drum
#

Hi, I am currently developing an app with react native where one user can send another user money for a certain service. Is this possible with Stripe and does the payment have to go through an account in the middle? What are the fees for every transaction?

#

Thanks in advance for your help!

left gale
#

Hello. I have come across problem of transferring money on each payment of subscription. Is there any way to add fixed amount to transfer_data in subscription in addition to the percent value? I would like to avoid using webhooks to change it and make sure it is set during subscription creation.

mossy crystal
#

Hello.I want to invoice my customer in Montenegro. I couldn't find which tax number should I choose?

paper plank
#

Problem:Unable to create connected (express) account in India even if the platform account is in US
got this error when creating a connected account:
Error creating Express account: StripeInvalidRequestError: IN is not currently supported by Stripe

ruby marlin
#

Hello team, I want to change the settings of accounts for negative balance => -d "settings[payouts][debit_negative_balances]"="false"
How long does it take to take it into account. Is it immediate or not?
We want to be able to change from false to true and then change it back to false.
Thanks in advance!

crystal quail
#

Hello Stripe team, I would like to ask if Stripe processes a payment for a fee on behalf of my business, does stripe return the processing fee if that item is returned by the customer?

limpid scaffold
#

Hello

Is there any possibility to check / block registration if customer with such email already exists?
I see the option for allow only 1 subscription per customer , but if subscription on canceled state we still want to handle customer as existing one. Is it possible?

Thanks

vocal wagon
#

Good afternoon guys. I'm trying to capture a PaymentIntent related to my connected account. I tried the stripe API stripe.PaymentIntent.capture(<pi_id>), but i've an error message saying "No such payment_intent", Anyone knows how can i capture a payment intent with status 'requires_capture' for one of my connected account?

rotund marlin
#

'PaymentIntentCreateOptions' does not contain a definition for 'AutomaticPaymentMethods'

steel pecan
#

Hello Stripe team,
Are there any issues with Direct Charges and LineItems?

I had Express accounts and I created Destination charge with Line Items that have a list of Price Ids - Using Checkout Session -that works as expected.

I changed Express account into Standard Type and using Direct Charge instead of Destination, now I am getting Error: No such price - despite that I find that Price Id in my stripe dashboard.

maiden beacon
#

Is it possible to extend a checkout session to expire after more than 24 hours?

vocal wagon
#

Hello

Does payment succeeded webhook will always be sent after subscription period end?

pastel harbor
#

Hey, I have a question about webhooks. Is it possible, that event id in the webhook is not uniqe? I want to generate and uuidv5 from it to use as event id in the db, so trying to understand probability of collisions.

worldly gorge
bitter blade
#

Hi team, hope you're doing well. I have an error I don't understand : I manage to connect my reader and then I have this error when trying to create payment intent : upstream connect error or disconnect/reset before headers. reset reason: protocol error

ionic lagoon
#

Hello Stripe team,

#

How I can get transaction id ?

timber knoll
#

Hello Dev of this world,
sorry..i swear that i'm reading the doc..but 😞
i search to create/send Invoice automatically AFTER all process PaymentIntent ( so PAyment is successfull and it's a invoice payed ).
It is possible with stripe ? maybe associate paymentIntent id to invoice object ? or other ? .

vocal wagon
#

@copper reef I've sent a message in your DM, if that's okay

lament yacht
#

How can I integrate stripe with next js for one time payment? I want to make user to able to update their free token using stripe and when user make a successful payment I want to increase their db token.

merry zenith
#

Hi im using the stripe element on my front end, if there is a customer with a default payment method is there a way to have an option to just use previous default payment option like on the stripe checkout screen?

silk spire
#

What do I put here if I don't have webs

ornate oyster
#

I am using stripe create tokens api to create tokens against credit cards but I am facing errors. Need help in this regard

vocal wagon
#

Hello I have a question I want to add ideal payment to my paypage, can anyone help me?

arctic glen
#

Hi friends at Stripe,

The Stripe API is telling me "You cannot accept the Terms of Service on behalf of Standard and Express connected accounts."

How can I accept the TOS programmatically for test accounts?

We need to be able to simulate a whole bunch of users having already set up their accounts and wouldn't want to need to do that manually, especially since sometimes we might need to reset our Stripe Test data.

Thanks.

sudden yoke
#

is there a test card that has cvcCheck!=pass

vocal wagon
#

Hey, is there a way to invalidate or set the expiration time for client secret when creating payment intent? I need to cover the edge case when multiple users try to buy the same product, but only one is available. My plan is to create an order on our side (which creates payment intent too) and prevent other users to create an order for the same article within, say 5 minutes.

After those 5 minutes I would destroy the first order to let others create an order. However I want to make sure that the first user cannot complete the payment after the 5 minutes, but needs to go through the whole flow again.

shrewd valve
#

Hi guys, After successful completion of subscription payment, I want to set that card as the default payment method for the charged customer.

keen falcon
#

Hi there,
I have a hard time understanding an issue I have come across:

I use a CheckoutSession to create a PaymentIntent that is to be charged manually. If I use the test card number that always requires 3DS to be completed, the PaymentIntent fails with a next_action of use_stripe_sdk and I do not know what to do, since I do not use any Stripe SDK except on server side and cannot find any documentation on what types of next_action there are.

Best regards,
Stefan

zinc oxide
#

const customer = await stripe.customers.update(
customerID,
email,
name
);
while using this api to update customer why is creating new customer and not updating old customer email and name?

frigid current
#

Hi there,
I want to use the quote feature for our sales team. But we have a small issue with the product description. We need to make line breaks in the product description for the quote PDF, to visualize this better for our customers. I tried to use some chars like \n, \r or <br /> but this was not working. I found a very hacky solution with some invisible special characters to this, but I'm not sure. Any ideas? 🙂

mint shard
#

Hey guys,

I'm relatively new to Stripe Connect, having previously used Stripe with simple Product/Subscription webhooks. I'm looking for documentation or resources that can help me with a specific scenario.

Specifically, I'm interested in understanding how creators on our platform can set prices for their products/subscriptions and enable users on our platform to purchase them.

One interesting question is how creators can set up a subscription price without having access to the stripe admin panel or manually creating a subscriptions in the stripe admin panel.

To provide some context, imagine our platform is similar to Patreon. Creators on our website want to establish subscription pricing for their offerings, but they don't have individual Stripe accounts. We'd like to enable creators to request withdrawals based on their earnings, and we need to generate reports for bookkeeping purposes, which will be essential when our company declares taxes to the IRS.

Could you please guide me to the relevant sections of the Stripe documentation or any resources where I can find detailed information about setting up this kind of system?

hallow wadi
#

Hi, I would like to have a subscription wherein upon creation, an invoice is not sent immediately. Instead, only at the end of the billing period. The subscription will have some fixed prices, as well as metered prices.

At the end of each billing period, I would like once invoice to be sent that contains the sum of metered usage and all fixed costs.

Currently this is what I see happening:

  1. Subscription is created
  2. User is immediately sent an invoice for the fixed costs of the subscription.
  3. User is sent an invoice at the start of next billing period that includes the metered usage from the previous billing period, and the fixed costs of the current billing period.

In other words, currently what I am seeing is invoices that contain fixed costs of the current billing period and metered costs of the previous billing period.

For our customers, this is sub-optimal.

Does this question make sense? Thanks for any help!

north wigeon
#

Hi I'm curious if there is a way to turn off "hosted_invoice_url" via the API? I can't seem to find it/ figure this one out. I want to do this at the invoice level. It seems there is a way because the Stripe dashboard has this feature

ionic lagoon
#

Hello Stripe team, how I can enable UPI payments ?

lament kettle
#

Hi, can you please help us understand the error at req_VBPz8jD50sFAXA

echo tapir
#

Hello ,

Its possible to integrate stripe connect on a Web site build with wix?

north wigeon
# north wigeon Hi I'm curious if there is a way to turn off "hosted_invoice_url" via the API? I...

I should add - It's fine if it has to be a workaround with webhooks and later updating the invoice after it's finalized. I couldn't see how to edit this option in the send email call, the finalize invoice call, create invoice call, or the update invoice call.

I'd like the default option in my settings (And settings for connected accounts) to stay as "including" the link in the email. But I have a use case where I want to ovrerride the default by excluding the link in the invoice email template. And just can't seem to find how but feel like there's gotta be a way... there's always a way with this awesome API

sonic charm
#

Creating an payments link in test mode i only have 2 choices, "products or subscriptions" or "customer choose what to pay" but im building a services platform where billing is dynamic and my backend make the calculation and set the price ?

sinful bridge
#

Can we configure webhook to retry automatically if the webhook failed with this error "Failed to POST: Post "context deadline exceeded (Client.Timeout exceeded while awaiting headers)"

vale mantle
#

Hello, is there currently an issue with the identity Identity Verification for Connect in Test Mode? Currently new Connect accounts on our platform have 'pending' Identity verification sessions after submitting test documents during the Stripe hosted account onboarding. Thanks!

rose smelt
#

Hello 👋 I was wondering if it's possible to set up the Customer portal to use the proration on upgrade, but on the downgrade it doesn't prorate if the proration would cause a positive balance. e.g. I have 2 plans: Basic monthly 10$ and Pro monthly 20$.
Upgrade scenario:

  • User buys Basic and pays 10$. Then they decide to upgrade right away to Pro. This would mean an immediate proration and the user would need to pay an additional 10$.

Downgrade scenario:

  • User buys Pro and pays 20$. They they decide to downgrade to Basic right away. The way customer portal is setup would mean that the user would be left with a positive balance of 10$ because the Basic costs 10$ and Pro costs 20$.
    The desired behaviour would be that the user can downgrade, but the downgrade doesn't happen right away. It only happens after the billing period for the current plan. Which in the above case would be after 1 month. This way the users don't get any positive balance.

Is the downgrade scenario as described possible through Customer portal or do we need to have custom implenetation?

Thank you

zinc oxide
#

const customer = await stripe.customers.update(
customerID,
{
description: '(created by Stripe Shell)',
name: 'Jenny Rosen',
email: 'example@website.com',
}
);
i am using this api for updating customer details but its not working.

torpid plank
#

Currently I'm using stripe checkout with subscription items. What I'm looking to do is charge the monthly subscription fee and API usage. Is it possible to keep my stripe checkout for subscriptions and then charge them periodically through another api endpoint (I'm keeping track of usage through my application)?

Or will I have to ditch Stripe checkout and use a different method?

tired crater
#

If I'm looking to update a customer's address, but some fields already exist, is it possible to only update a few fields? or do I need to send the entire address block when updating the customer?

swift cape
#

Hey, I think the answer here is to talk to our account exec but I want to confirm first this isn't a dev mistake on my end. I'm working with the tax_id additional verification field, which I understand is a beta/gated feature.

req_QWuC75n47SQPaF failed because tax_id is an unrecognized field in additional_verifications. however, I've been able to add the address additional verification field following these instructions: https://stripe.com/docs/connect/set-additional-verifications?account-type=express#address
and tax_id is also listed here.

Meanwhile, taking for example req_NjY9aYu5YUF86G , this request succeeded with a tax_id field in additional_verifications. is this because my gate isn't set up properly, allowing me to set tax_id on account creation but not on account update? I previously had this issue with additional_verifications as a whole, but now the issue seems localized to tax_id (e.g. address and us_w8_or_w9 are both updateable)

surreal ermine
#

i lost my phone can someone help me

pearl breach
#

Hey!

patent turtle
#

Hey folks. Yesterday we discovered that my required flow (which is not uncommon) isn't supported by stripe react native because when I clone a payment method and finally return a clientSecret from a paymentIntent created on a connected account, it will fail the check of intentCreationCallback. I was able to override it by providing a client_secret of a pas payment which then resolves the payment sheet. I can certainly keep doing that, but I would like to create a patch to the library to automatically return a success from intentCreationCallback. Could you please help me do it?

pearl breach
#

Question, how can we test the event payment_method.automatically_updated when a bank updates the info for a credit card and then Stripe updates the object in that webhook

opal shell
#

heya, I'm seeing my app can get notified when my users with standard connected accounts need to upload a document for ID verification based on the requirements from the account.updated event. e.g.

"currently_due": [
                    "individual.verification.document"
                ]

Is it possible to get stripe to email the connected account user to their email to let them know? Ideally with a link to the verification page

wispy fox
#

Hello, if we use payment links -> does the client / user that pays -> needs Stripe account to execute payment through Card or Bank Account?

Or they just use the link we provide and pay without Stripe account?

And Stripe fee says: 2.9% + 30¢ per successful card charge -> does this mean that if the client pays through Bank account, there is not gonna be any fee? Only Credit cards?

glass umbra
#

Guys i need implement stripe subscription, when i create checkout, after that if payment is sucess already create payment intent?

balmy crypt
#

Guys does anyone know if we can use custom input fields for card details in angular/react ? as opposed to using stripe elements (I dont like the look of them) ?

steel pecan
#

Hello Stripe team,
I am trying to find api call for Standard Stripe to access their dashboard. But I can only find the one used strictly for Express Account types (stripe.accountLinks.create)

is there an api call to get url or do they need to log into stripe themselves?

Stripe docs say that Standard accounts can access full dashboard

lament lynx
#

Question about balances: why when I pull instant payouts on subscription payments does my balance go to negative? I'd like to paydown a loan I have in there but the stripe balance says it's negative for some reason?

patent patrol
#

So I know when subscriptions are created using "send_invoice" for collection behavior, the subscription starts in the active state. But I want to optionally collect a "setup fee" for this customer prior to activating the subscription. Is my best option to just create a "setup fee invoice" and listen for that invoice to be paid before I fully activate the subscription on my end?

crystal imp
#

Hello! We have integrated the payment element with our checkout page, and if a customer closes an Apple Pay or Google Pay interface without confirming the payment, and then attempts to change the amount of the purchase, we are getting an error in the console Uncaught IntegrationError: You cannot update Payment Request options while the payment sheet is showing. and even though the amount we pass into the options of the elements instance is correct, it does not change in the Apple Pay or Google Pay interface when it is reopened. I am confused as to how to address this because we do not explicitly use a payment request or payment sheet.

topaz talon
#

hello,
how to pause custom connected account automatic payouts using api

verbal marten
merry zenith
#

Hi is there any way to get the stripe checkout to run in an iframe? i need it for my specific project

iron jungle
#

hey gang is there anyone in here that knows how/if there is a way to speak with Stripe Atlas team? Or is it always something to be done via some consultation from a 3rd party that is an expert in the subject matter?

hearty goblet
#

Hello Stripe friends.

We're planning on transitioning our platform into a marketplace and utilizing Connect. However, we have some questions:

Is it mandatory to have a US-based company via ATLAS to fully utilize all features of Connect?
When using Connect to sell on behalf of third parties in our marketplace, can we manage sales and subscriptions using the existing "Customer" profiles already linked to our current customer base? Or will a new "Customer" need to be created for each third-party author?
In the context of selling third-party products, how are these products created and managed, and who is responsible for the taxes related to the transactions?

  1. Rewardfull: We aim to use the affiliate service of Rewardfull. We would like to know if the fees and taxes from this service can be deducted from products sold on behalf of third parties through our marketplace.

Thanks in advance.
Rubens Nobre

midnight gate
#

Hello, do PaymentIntents automatically create a Payment on Stripe ? Once I'm redirected in the page containing the PaymentElements, this line is created on Stripe. I want to know if it's normal, or if something is wrong in my code

twin moss
#

'm trying to create a simple function that takes the requirements and future_requirements JSON data from the Stripe accounts API call. I want to easily classify the different requirement codes in human readable language to tell our users some stuff they need to change currently or soon. Where can I find a mapping on Stripes docs of all of these different requirements and what they mean?

frail wolf
#

is there a way to create interac payment type charges? I couldn't find that type of card in the test cards for stripe. The visa debit cards still come back as a Visa.

cold cedar
#

Hello if I use stripe atlas to open an llc as a foreigner how long it will take to get the ein number or you’ll let me open a bank account via mercury before I get it ???

paper python
#

Hi, I'm sorry I took too much time to answer on a thread and it got closed 😓
The question was if there's a way to programmatically transfer ownership of a connected account to another of our user?
I understand we can simply update a connected account fields.
That being said, we're still blocked by the onboarding account link process where the merchant who opened the onboarding UI the first will set the email or phone number to use to be authenticated.
This means that the new merchant we're transferring the store to cannot authenticate to the account link UI.

tardy jungle
#

I need to update the text under the green subscribe button. I need to remove the cancel at anytime text because after x amount of days you cannot cancel at anytime

torpid plank
#

Not sure why my question was locked but I had a follow up question regarding usage billing. I've read: https://stripe.com/docs/billing/subscriptions/usage-based

Do you have to use a tiered pricing model? What I want to do is keep the flat monthly subscription rate and then add charges on top of it. I guess my issue is my API calls don't really have a "set" pricing structure. It's completely dependent on how complex the user makes them.

However it looks like to report usage you need to send a quantity of a specific subscription item?

Is it possible to use subscriptions with stripe checkout AND THEN charge users based on their custom usage (without tiered models)?

merry zenith
#

Hi how would I pay with cashapp on test mode, i open cashapp and scan and nothing happens

supple ermine
#

Hello, i wish for my users to pay me for a product another user posted
how could i go about making it so i dont have to set a product on stripe for each item listed

chrome solar
#

Is there something about a test clock customer that will cause it not to be returned when querying list of customers via email?

safe nest
#

Hi, any body knows a way to contact stripe team? My funds are held up even though we have documentation to proof the consent of the payment from our client

bleak sapphire
tawdry wagon
#

java issue Charge charge = details.getLatestChargeObject(); is returning null from a valid paymentIntent from a direct payment.

solar swift
#

I discussed with my accountant and apparently we only need to charge tax (VAT) for Belgian users that are using our service as a business.
So my questions is:
How can I use Stripe Checkout that only charges tax for Belgian users registering as a business and not for normal users?

past swallow
#

Hola!

livid zephyr
#

Quick question about international payouts using Connected Accounts. The documentation found https://stripe.com/docs/payouts#adding-bank-account-information states the required bank information for the Dominican Republic will be a bank code (1-3 characters), branch code (0-5 characters). The issue i'm running into is majority of banks don't have this information, instead they usually have SWIFT codes.

Now, a SWIFT code resembles AAAA BB CC DDD where AAAA is the bank code, and DDD is the branch code. Example, the SWIFT code for the BANCO DE RESERVAS DE LA REPUBLICA DOMINICANA is BRRDDOSDXXX. This would mean the the Bank code is BRRD and the branch code is XXX. However stripe does not allow us to enter 4 digits into the bank code (its 1-3 as stated above) and the same for branch code of XXX (its 0-5 as stated above).

Is it possible that the documentation in stripe could be backwards? Meaning the branch code and bank code should be reversed?

Set up your bank account to receive payouts.

sharp pagoda
#

Hello everyone! 😁

#

Can someone help me with this integration error:

message: 'No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?

#

This happens when I'm trying to listen the events from webhooks

crystal glacier
#

Are you using express?

foggy vault
#

Hi, I am was using stripe on nodejs to create intent using "Stripe.paymentIntents.create" and then send money to connected and charge platform fee.
Now, I want to send all money to platform for a specific usecase. How can I do that using Stripe.paymentIntents.create

plucky lynx
#

when someone paid and it has metadata in here how can i save that metadata to the customer on stripe (customer_id) and fetch from the customer_id their meta data using python

storm imp
#

For a customer invoice, we typically add additional line items while the invoice is in a draft state (taxes). However, when a subscriber has a credit, we find that it automatically applies to the invoice before we have a chance to add the line items. Is there anything we can do to ensure that the invoice doesnt automatically get paid before we edit the invoice?

sharp pagoda
frail wolf
#

I'm trying to create interac payment type charges? I don't have a terminal. But it seems like a terminal id(for example: 'tmr_2FqXVgG7TdBRpg3nOuTfTwLp') is required base on the doc. Is there a 'fake' terminal id i can use here? or is there a way around that?
https://stripe.com/docs/api/terminal/readers/present_payment_method?lang=nodeI

analog mulch
#

Is it possible to add a custom object to my checkout with Laravel Cashier? Which I can later retrieve in the webhook.

 $sub = $sub->allowPromotionCodes()->checkout([
      'success_url' => config('stripe.callback.success'),
      'cancel_url' => config('stripe.callback.cancel'),
      'tax_id_collection' => [
        'enabled' => true
      ],
    ]);
dusk zephyr
#

Hello, when directing someone to the connect oauth form is it possible to specifiy the default language? If I have a spanish speaking client I would like to redirect them to the form in spanish without having to show them how to change the language manually.

lament kettle
#

hi, do you havve a way of testing for a GB credit card that will produce a generic error when attempted to be used with a PaymentIntent

blazing aurora
#

Hi my account was inactive I already send and complete all the documents that app request me

astral moss
#

Getting an error on Payment Element attempting to confirm a payment intent.

The Payment Element doesn't seem to be setting the payment_method_data[referrer] so we are getting an error related to the referrer.

Locally it is being sent (localhost) but in prod it is not. We do not set this directly, this is all retrieved by the Payment Element.

We have multiple instances of the Payment Element throughout our application, but the only ones failing use the paymentMethodConfiguration to limit payment methods in certain areas. We were added to the beta and it does work locally, just not in our production environment

vagrant gulch
#

Hi, we use Stripe to let our clients store their credit card, and use it later for payment. We capture the credit card details using a mobile web page (with Stripe elements). All works well.
We would like to speed up the card detail capture, and we would like to see if Stripe provides or recommends a (web/javascript) library to use the clients mobile camera to scan the credit card, and speed up the capture of the credit card details.

I have seen Stripe Card Image Verification in Radar, but it is not clear to me if it is already available (Radar documentation does not mention "Card Image Verification") and if it would help with our case, as we capture the card details before any purchase.

Does Stripe offer a way on mobile (web) to scan a credit card to capture the card details, without having to type all the details ?

lusty halo
#

hello i have a question about data pipeline

tawdry wagon
#

java PaymentIntentCreateParams createParams = new PaymentIntentCreateParams.Builder()
.setCustomer(stripeEntities[0])
.addPaymentMethodType(type)
.setCurrency("usd")
.setAmount( Math.round(Double.parseDouble(amount) * 100)) // amounts always in cents
.setPaymentMethod(stripeEntities[1])
.setConfirm(true) // indicates to authorized right now
.setOffSession(true) // indicates to authorize right now
.putMetadata("reference", reference) // this metdata will contain the account number
.putMetadata("direct", "true") // need this later in webhook processing to ignore the charge from webhook
.build();

         PaymentIntent paymentIntent = PaymentIntent.create(createParams);
         PaymentIntent details = PaymentIntent.retrieve(paymentIntent.getId());

         //extract the charge details.  There will always be only one charge object
         Charge charge = details.getLatestChargeObject();
#

charge object is returning null

analog quartz
#

Hello, I am new here but not new on stripe… I would ask, Klarna show my company name on Stripe wrong what should I do please?

random pawn
#

Trying the stripe.charges.list api in nodejs and was wondering if I can filter by status? I only want the charges that succeded for a specific user.

candid gate
#

Hello

#

I am unable to log into my stripe account even though I was able to reset my password

#

is your support team on discord . I already reached out via email and they pointed me to discord for help

daring lodge
#

We cannot assist with account access issues here.

#

Yes, I looked up your support messages. As the message says:

You’ve sent an email to an inbox that isn’t actively monitored.
It looks like you're trying to email support. You need to go to this site instead: https://support.stripe.com and click "contact support" as it says.

cold ibex
#

I have a question about the Card object. If when creating a Card, I am passing in only address_line1, but I put the Apt/Suite/Building/Unit number in there as well and the street address matches, but the Apt number does not, what would the result of the address_line1_check? For example: address_line1 = 123 Test Dr Apt 888, but in my bank, my billing address is 123 Test Dr Apt 999. Thank you

rancid nebula
#

Hi,
I need your advice and guidance.
In our account we have a mixed of subscription alone and subscription with schedule on them.
We want to migrate all the subscriptions to a new product starting the beginning of the next month. the new subscriptions will not have any subscription schedule on them.
We have two options,
1- Set the ending date on all the current subscriptions (with or without subscription schedule) and create new ones. When we create new ones, we receive the webhook and we assign the subscription to the respective customers.
2- Our marketing team can do the migration for every client (we have limited clients and each has their own contract with us with customized coupons and ....). Then they need to remove the schedule from all the subscriptions, change them to normal subscriptions and then we receive the subscription update in our end and update our record.

In the first approach, if we list all the subscriptions and set the end date like this:

sub.update(SubscriptionUpdateParams.builder().setCancelAtPeriodEnd(true).build());
```
will it do the job for both types of subscriptions (with or without schedule)?

In the second approach, will our marketing team be able to change the subscription 
by removing the schedule and test the respective coupon and preview it and if it was all good, apply it (all in the Stripe dashboard)?
shy steeple
#

Good day. I am working on a react native application and using the set up intent route of things you a bottom sheet. I am able to add my card and I see in my stripe dashboard that the card is their but I am unable to get a payment method id as I use that ID for future payments. Any ideas on how I can get it?

stoic heart
#

quick question about the starting_after param in stripe.Subscription.list. Is the value we should pass to starting_after just the subscription id sub_xx of the last subscription returned in the previous call? The docs mention an object ID but it's not super clear what it is, and I don't have a 100+ list of subscriptions in staging to test on

prime cedar
#

Question regarding concurrent webhook events:
We're using the node integration as described in the Stripe webhook documentation (https://stripe.com/docs/webhooks) to create and update invoice & subscription records in our database.

We noticed during testing that some events, specifically invoice.created & invoice.updated, appear to be sent near-simultaneously, so that our node service actually receives the invoice.updated event BEFORE invoice.created, which causes an error as we try to update a non-existent record.

Is this a known issue with the webhook integration, and are there any recommendations for handling it?

split wind
#

Hi, I have a question about invoicing. I currently have a price setup for one of our products. It is graduated pricing and billed on a monthly basis. The first x units are free, then after x units we we charge y amount per each aditional unit. Normally we could use usage based reporting for this but we would like to charge overages on a daily basis but bill on a monthly basis. I don't think this can be done with the usage reporting apis, I heard that this should be possible using invoice items. However, when trying to create an invoice item for this price I get 'The price specified is set to type=recurring but this field only accepts prices with type=one_time', am I doing something wrong or is this type of usage not supported? Any help would be appreciated, thanks!

brisk elk
#

Hi there. I am using the stripe checkout element in my web app. I am trying to test it but running into the problem that the element doesnt render because my local host is not ssl certified. Is there any way to work with stripe ui elements without ssl ceritification? I can deploy my code on a dev static site and it shows up fine but this isnt optimal for testing and debugging.

rigid oasis
#

Does the BBPOS device support Stripe Connect service?

patent turtle
autumn spindle
#

Invoices get auto created and sent when a completed checkout session occurs for ‘subscription’ mode. Can you set something so it also does the same for completed checkout sessions where mode is ‘payment’?

lapis forum
#

Hi, I have an question regarding subscription webhooks and scheduled subscription updates;

Currently we are listening for invoice.paid events with a billing reason of subscription_cycle to trigger specific logic for when a subscription has been successfully renewed. But if a customer has had a subscription update scheduled for when the period ends, we seem to get an invoice paid event with a billing reason of subscription_update when the subscription cycles.

Is there any way to tell if an invoice paid event with a billing reason of subscription_update was because of a scheduled update so we can treat them like they are subscription cycles (renewals)? (As opposed to a subscription update that might occur mid-cycle). Or is there something else we can listen for? An example event id for our account is evt_1Nul2gAlWOZ9EtFQVjKP0GKO

hybrid stirrup
#

Hi there! I offer yoga classes and would like to setup a subscription for 12 classes to use over a year. Is there an option to keep track how many sessions my client have done?

tepid dune
#

Hello everyone. I would like to know how we can limit the acceptance of certain types of cards (for instance prepaid cards and debit cards) in Payment Links ? We would essentially like to accept solely credit card for the subscription we are offering.

fleet spire
#

What is this

lilac ingot
#

Hi guys, I'm on-boarding a ton of Connect accounts via the API. Most of it is going pretty smoothly, but I've gotten a bunch of people complaining they're not getting the 2FA code via SMS when they authenticate their stripe accounts with their cell. I know from (separate) recent experience that wireless carriers are throttling SMS sent programmatically (I have an app that uses SMS for authentication and it was a major issue until we registered with the new registrar). Are you aware of issues with SMS authentication on Stripe -- and any workarounds? The screenshots I'm getting do not seem to show any alternative other than 'resend code.'

rancid nebula
#

Hi, a silly question. I tested it and we are using it for a while but i never checked it by the second! whenever we receive an object from Stripe and we need a date like start date of a subscription, we convert it to LocalDateTime in java like this:

subscriptionEntity.setStartDate(LocalDateTime.ofEpochSecond(activeSubscription.getStartDate(), 0, ZoneOffset.UTC));

Is it the correct way? I mean the Zero for the nanoOfSecond in the second parameter?

deep forge
#

Hello Stripe Team, How can I receive payments quickly to my account at Wise

last plaza
#

Hello, how I can whithraw funds to my account wise ?

cerulean pineBOT
#

This channel is closed, but we'll be back at 8:00 AM UTC. We look forward to helping you when we return, but if you need assistance sooner please contact Stripe support: https://support.stripe.com/contact/email

cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

sleek spindle
#

Hey Stripe Moderators,
Had a question around Payment Element and wallets.
I want to display just Google Pay in my payment element. Since Google pay is not a payment method as per the payment element api how do I implement this?

vocal wagon
#

Hello, I'm new in stripe. I have dev account and node.js app with stripe implemented (checkout method). I've auto invoice generation configured in the app. But how can I test if the mails are really being sent? Mails ale not send from test env, and I also haven't found something like "sent mail history" in stripe dashboard.

strong pasture
#

Hello. Trying to implement a support for Stripe Terminal on our website. I encounter this error while processing a payment intent : Stripe::InvalidRequestError (The server-driven integration is currently only available in certain countries. For more information, see https://stripe.com/docs/terminal/choosing-reader-and-integration#availability.)
The Stripe account accepts GBP. The terminal is linked to a location in GB. But is currently physically in France for the development process.

wind summit
#

Hello Stripe Team, I have a question regarding to apple pay wallet payment implementation. We are currently using payment element to integrate stripe. The current flow works for normal card payment, google pay and klarna perfectly. After we fulfil domain registration requirement for apple pay in stripe dashboard, we could see apple pay option available in element UI tabs. Somehow when we submitted the request, apple pay popup never appears in either desktop or mobile safari. In console we could see there is one error called *Event Name: elements.confirm_payment_intent.validation_error * And Error Message: 'Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again'.

zinc oxide
#

How to get username in card and cvc number?

zinc oxide
# zinc oxide How to get username in card and cvc number?

const cards = await stripe.paymentMethods.list({
customer: customerID,
type: 'card',
});
i am using this function
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "pass"
},
"country": "US",
"exp_month": 11,
"exp_year": 2029,
"fingerprint": "hpxT9s6BC5uhUy15",
"funding": "credit",
"generated_from": null,
"last4": "4242",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1695888748,
"customer": "cus_OiftGdRixhmwzd",
"livemode": false,
"metadata": {},
"type": "card"
}
i am getting this response

upbeat cloud
#

hi i integrate webhooks but dont know why i didnt get the correct responses why?

frigid locust
#

Is there a way to avoid/restrict starting a trial subscription without entering payment details?

old bramble
#

I am facing issue when integrating applepay stripe with reactnative
It's working in simulator but not in real device

#

I have setup all the required things for applepay setup and testing the same with real device and real cards adding to wallet
but showing {"code": "Canceled", "message": "Apple pay is not supported on this device"} error

#

I have checked with iPhone 13 and iPhone xs

barren grove
#

Hi,
I am using payment option to create card,
But now I want to use currency depends on location. How we can use that instead of usd-dynamic one need to use

keen falcon
#

Hi there,

I have a question about the documentation of confirming PaymentIntents. In the API docs it says that you can confirm PaymentIntents with the value of payment_method being pm_card_visa. Exactly what effect does this have, especially when paying with Amex or MasterCard?

daring patrol
#

Hi Stripe team, we received an email last night (id : em_xo9xxcvbcf6ezzjghd6few9c22unbe) but we don't understand what is wrong with our integration. We never send card number to API because we are using Stripe.js for that with the built in form. In logs we only see 2 requests (ids : req_WJvO4Uj3jB7yHa and req_fNI0h2JSQptGXr) but this is not from our server and we never make this kind of request. Can you help us ?

worldly gorge
#

HI team ,need some support related to the dymanic payment integration in my stripe accounts

true saffron
#

Hi, I have created a tax rate using stripe dashboard (e.g GST: 5% ) , i am also able to pass this tax rate id to stripe checkout session, is there any way to override tax rate percentage, e.g in some scenario, i want GST to be charged 10% )

fallen tangle
#

hey stripe - i am working with my finance team and trying to generate some report in sigma.

i'm looking to map the invoice items to the corresponding subscription line items; and have some questions about the relationships between the tables

i'm looking at the invoice_line_items table - what does the source_id column represent there? sometimes the value starts with sli_ - what does "sli" stand for?

tired geode
#

How can retrive the price id by account stripe id please ?

#

yep

crude harness
#

Hi,
Is there a way to get client_secret for 0 amount payments without free trial or coupon, to store payment intent for renewals with non-zero amount

trim grove
#

hi team, i received this error message, would you pls help

zinc oxide
#

How i can update card details using pmID ?

plucky seal
#

Hi stripe team, how should I check what webhook is being send from stripe when I fast forward the test clock? Is there an eazy way to check it on the stripe dashboard?

quartz aspen
#

Hi does pricing table support nextjs as well?

vocal wagon
#

Hello I am using accountLink = await stripe.accountLinks.create({
account: account_id,

  refresh_url: "https://www.gocrowdera.com/profile?stripe=refresh_url",
  return_url: "https://www.gocrowdera.com/profile?stripe=return_url",
  type: "account_onboarding",
});
keen ginkgo
#

Hi! I use the PaymentElement in ReactApp. The backend uses the create subscription method https://stripe.com/docs/api/subscriptions/create and returns me a client_secret. I see different payment methods in PaymentElement but I can't understand how to disable the US Bank Acc method. In Stripe dashboard I can't see any settings that can enable/disable this payment method.

lyric viper
#

hi

cosmic iron
#

Hi,
When I am trying to change the stripe account credentials to another account, all the transactions are going to incomplete mode instead of success mode, need assistance for the same?

carmine hedge
#

Hi. Some of my shoppers are receiving error that empty field referrer was sent during creation of source. Is this some active issue or?

sleek spindle
#

Hi, was just wondering if we were able to detect the type of card and card provider that a user is choosing to pay with, whilst they are entering their card details (before they have clicked pay) in either Stripe’s card element or the card component of Stripe’s Payment Element on our checkout page.
E.g. When a user is half way through entering their card details in the card element component on our checkout page, can we detect that the card they have chosen to use is a MasterCard and a credit card?

uncut vale
#

Client Secret provided does not match

weary abyss
#

Hello Stripe Team,

Is there a way on how to check who modified or update a product? in stripe dashboard?

gloomy charm
#

Hi there,

How can I pass UTMs through the Stripe integration back to a thankyou page?

For instance, anyone clicking an ad will have utm_source=facebook. But on the landing page, the Stripe buy button doesn't have any UTMs. How would they pass through? Thanks

tepid gust
#

Hey folks I'm going kinda crazy, trying to debug issues for a large stripe user. The user is getting lots of lock_timeout errors and those are only happening on GETs. Here is an example request: req_umZadhR2VOhVAu -- i can't identify what is triggering it in the code. I'm starting to think this might be eg. one of the connected apps (intercom, chartmogul…) trying to access the data and not their code causing the error? It's hard to tell on my end at this point.

late basin
#

Hey! I have a question regarding proration_behavior. We are using a subscription for a user to get access to a license in our software. Meaning one (1) subscription = one (1) license to use. They can of course swtich this between different teirs that we handle with the proration_behavior depending if the "value" of the subscription is going up or down, e.g. if they move from a low tier to a higher one we recalculate the difference in price and charge that until the next period charge is being made. No biggie!
BUT! Now we also want to introduce a number of seats that a user can have on that said license, pretty much like an Office subscription where they can add 10 users by raising the quantity of the subscription at checkout. This in itself is not the issue but rather what happens if the user in the middle of the period raises the quantity to 15. What will happen then? Can we arrange for a payment that is (0.5 x period cost) x 5 and then at the end of that period charge for all 15? Is this even possible?

winter tulip
#

Hi have a question regarding the redirect-url passed into Stripe Library's confirmPayment().

I am using a hashed url in Vue 3, so it has the following format 'https://mywebsite.com/sitename#/PaymentConfirmation/1000' where 1000 is the id of my transaction.

However on return Stripe seems to truncate the url from the #, so instead of returning to:

'https://mywebsite.com/sitename#/PaymentConfirmation/1000?payment_intent=pi_3NvGeNKSjo69sG6a1XxmLCsq&payment_intent_client_secret=pi_3NvGeNKSjo69sG6a1XxmLCsq_secret_tGQiyThAzea4fwuQbO46d7TD3&redirect_status=succeeded'

it's going to:

'https://mywebsite.com/sitename?payment_intent=pi_3NvGeNKSjo69sG6a1XxmLCsq&payment_intent_client_secret=pi_3NvGeNKSjo69sG6a1XxmLCsq_secret_tGQiyThAzea4fwuQbO46d7TD3&redirect_status=succeeded'

which is not a route. Is there a way of escaping the hash so that Stripe doesn't truncate the Url, and just appends the query params to the full route passed in? Really appreaciate any help with this, thanks

vocal wagon
#

Hi, I've come across an issue, where all of the sudden my app connection to stripe was revoked, and the console showed this error StripePermissionError: The provided key 'sk_test_N7******************kzbX' does not have access to account 'acct_*****' (or that account does not exist). Application access may have been revoked.

cosmic iron
#

Hi,
When I am trying to change the stripe account credentials to another account, all the transactions are going to incomplete mode instead of success mode, need assistance for the same?

modest tree
#

Hi, when we were loading the stripe element, we got an error of minimum amount issue even though we passed the amount as $289. Here is the error message

"No valid payment method types for this configuration. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) and invoice settings (https://dashboard.stripe.com/settings/billing/invoice) and that the amount (28900) is not lower than the currency (usd) minimum: https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts."

upbeat cloud
#

webhook delivery failure?

tired geode
#

this is correct to retrieve checkout->sessions ? under stripe account

frigid locust
#

Why is the customer's defualt payment method not showing up in the stripe dashboad? I've passed default_payment_method from setup intent when creating a subscription

vocal wagon
#

can I ask here to enable card raw numbers saving for my test environment? It used to work on other stripe account, but now it isn't and I can't create fake test accounts using my scripts

lyric viper
#

I need support again

obsidian epoch
#

Hello team,
I want to integrate google pay and apple pay to our platform. Our stripe account is located in Australia. Wanted to confirm what would be the potential changes required on backend in existing payment intent code in order to support apple and google pay. Below is the existing code taht is working fine on production:

await stripe.paymentIntents.create({
    amount: amount * 100,
    currency,
    payment_method_types: ['card'],
    payment_method: source,
    description: 'Donation',
    confirm: false,
});
tepid gust
#

@waxen spindle re thread from before (lock_timeouts) -- i am still seeing errors, cf. req_umZadhR2VOhVAu. this one is on customer.updated. (nvm! misread timestamp)
Something comes to mind. The API version is 2020-08-27 -- do you think the api gateways might be causing locks?

zinc oxide
#

How to get subscription of customer?

lyric viper
#

can i open checkout session stripe redirect url to i-frame?

queen peak
supple niche
#

quick question - can we prefill this data through api ?

old bramble
#

I have implemented apple pay stripe with react native but

Applepay not work with real iOS devices but works in Simulators.I have followed all steps and checked in real device by adding real cards to wallets but showing error like {"code": "Canceled", "message": "Apple pay is not supported on this device"}

hearty fractal
#

hello i had query im working on hotel booking portal is it possible that i can make payment in splits like installments using stripe ?

balmy crypt
#

Can anyone help me with raw card data API? @meager hawk

patent grotto
#

I want to track a summary of customer subscription charges in my local database so that I can analyse and report on the effectiveness of individual advertising campaigns. Can anyone suggest a strategy to achieve this? I think that I want to keep a copy of the Stripe charges locally so that I can report which customers that were driven by advertising to my site signed up and paid which subscription fees. How could I use the Stripe API to extract a history of all charges and refunds for each customer to populate my local database with historical information? Should i use the Charges table or payment_intents or invoices or even balance_transactions (which would give me the currency conversion to my account currency)

lyric viper
#

hi

#

how to get stripe log from success page

glass umbra
#

Hello, guys how i can delete data test, because i am using the library in django that make sync models, but have a loot test, and it's taking a long time to sync?

lilac hill
#

Good morning! Do you know if the installment method is available in Brazil?

still mica
#

Hi everyone,

I am trying to add the basic Stripe element following exactly what is in this documentation: https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet

and through the video on the Stripe channel: https://www.youtube.com/watch?v=O6TWFuZw2uk

However, even though I am receiving the correct return in Postman, I am receiving the following in the fetchPaymentSheetParams function: {"_h": 0, "_i": 0, "_j": null, "_k": null}

What could cause this unsuccessful return? Thank you for your help.

pastel harbor
#

Hey! Where I can find examples of stripe webhook events to use in tests?

worn sonnet
#

Hi, i would like to integrate stripe Checkout instead of Element but we need a custom field so that customer can enter their VAT number. It makes the price integrate VAT or not if company in Europe

rotund palm
#

Hello, we have many stripe account and our product supports API version 2018-05-21 and 2020-08-27. Is it possible to upgrade a stripe account to the version 2018-05-21 and not the version 2023-08-16 ?
Well I already know the answer (it's no), but can you do it on your side ? 🙏

boreal ember
#

Hi One of our connected account used a wrong email id while registering. But she forgot the registered password and unable to login to change the email address. Is it possible to update the connected accounts email address from platform account?

vocal wagon
#

Hello 👋 As always, thank your for your help with Stripe !
My question this time: I saw that upon cancelling a subscription with a metered price, it is possible to invoice for still un-invoices usage. Is it possible to do the same when cancelling just the subscription item with the metered price, and not the whole subscription ?

lyric fractal
#

Hello i need help logging in to stripe to change the number in the account to receive the verification code

mental island
#

Hi team! I integrate stripe subscriptions and test their behavior with test clocks. I noticed when subscription is created with payment_behavior='allow_incomplete' and default payment method test card ('pm_card_chargeCustomerFail') it eventualy expires even if I change default pm to ('pm_card_visa') withing 23hr. Could you please help with proper configuration where Stripe tries to make payment when default source is changed automatically?

serene copper
#

Hi, I have a question regarding implementing our pricing model. It’s based on a per-seat model (let’s call the product P1), where each seat has a fixed price (either monthly or yearly), and for each seat there is another product (P2) which has a metered usage with Graduated pricing where the first X amount is free (this is also either monthly or yearly for compatibility with P1). Our goal is to have a single subscription for each customer, with N seats of P1, and with N * X free amount for P2. Obviously the number of seats can change as customers purchase more. So for example:

P1 has a yearly recurring price of $100
P2 has a metered, graduated, yearly recurring price where the first 20 is free, and then the remaining are $2 / unit

When a customer subscribes for 10 seats, then they would have a total of 200 units of P2 free, then the remaining is $2 / unit, and their total costs for P1 would be $1000. Everything in a single subscription, so a single invoice is generated.

How would we model this in Stripe, does it have mechanisms to support this, or we need to implement things on our side for this to work? What would be the steps for that? Thanks in advance.

trim steeple
#

Hi There,
We have just recieved our new terminal. We have a web application that shall be acting as a POS Terminal in a location. The web application is hosted on an AWS EC2 instance and the Stripe terminal shall be connected to the relavant WiFi. I am getting issues when attempting to connect to the terminal and its stating that this should infact be on the same wifi as the Application (Which is not possible) Is there a way to make this work?

jovial ice
#

Hello, What webhook event should I listen to when the subscription expires or is canceled via the Stripe dashboard?

still mica
#

I have a React Native application that uses the CardField component to allow users to enter their credit card information manually.

I would like to add the option to pay through Google Pay and Apple Pay to my application. I have found documentation on how to do this for the web version of Stripe, but I cannot find any documentation on how to do it for React Native.

Can you please help me with this? Thank you in advance.

tawdry wagon
#

HI I posted yesterday about java program where getLatestChargeObject returns null. how do I attach zip file of example?

hexed thicket
#

Need help updating contact info and password for stripe account

#

Need help updating contact info and the password

#

Update the password and the contact info

#

Is anyone there

languid tulip
terse shale
#

Hi awesome Stripe Support Team,
In my application we facilitate payments between businesses and their customers through stripe connect. In the checkout session where customers pay, I added this application fee amount. Where in the stripe dashboard can i check whether this payout has correctly happened? Thanks for your help.

pine plaza
#

Hi,
I’m having issues with my webhook. I’m implementing a recurring payment, at first the webhook sends to all the events I make use of the checkout.session.completed and invoice.paid, so it creates the transaction twice on my backend.

I switched it up to use only just invoice.paid but the webhook fails when it reoccurs

vocal wagon
#

Hi, we are having issues with 3DS authorization failing in production. When doing 3DS authorization "/v1/3ds2/authenticate" is called twice. In our production environment we get 400 bad request on one of these and 200 OK on the other one, compared to in our test environment both return 200 OK. Can share PaymentIntent ID etc if needed.

ancient tusk
#

Hi, I am trying to migrate from one stripe account to another and wish to recreate all my prices. I have close to 100 prices. However it seems like you can't copy over and overwrite the price_ids when you create new prices via the api. The older plan object could have their plan ids overwritten. https://support.stripe.com/questions/recreate-subscriptions-and-plans-after-moving-customer-data-to-a-new-stripe-account does seem to recommend specifying the same plan id, but that was for the legacy plan object. Do I just have to manually track both price id versions until the migration is done?

empty ether
#

Why don't i see Klarna on my Shopify Checkout even tho it's active in Stripe?

somber bear
#

HI Team - I am trying to test apple pay via accept a payment client - But i am not able to see the apple pay button on my client, I have regetered webend point created by ngrox and i have added my card to apple wallet but still i am getting -

#

screen

#

I am expecting apple pay button after i click on Apple Pay

plucky lynx
#

Is it possible to text with a support agent? I got quite a lot of questions and some details are private.

paper python
#

Hi, when a partial refund is issued, with a flat amount for instance, a charge.refunded webhook is triggered with the object being a charge. The API doc is not clear about how to find the amount refunded.

  • Is it the amount_refunded field of the charge? This seems to be the total amount refunded so far.
  • Is it the first or the last element of the refunds list property of the charge?
still mica
#

I am trying to import the usePlatformPay function from the @stripe/stripe-react-native library to check if the device supports Google Pay. However, I am receiving an error that the function does not exist. The useGooglePay function does exist, but I am not sure if it will do the same thing as usePlatformPay.

Is the usePlatformPay function still supported? If not, how can I check if the device supports Google Pay in React Native?

hasty tapir
#

I am retrieving a checkout session and trying to access the metadata in the following way:
foundSession = sessions.getData().get(i).getMetadata();
emailValue = sessions.getData().get(i).getCustomerDetails().getEmail();
tokenValue = foundSession.get("token");
But token value is consistently null, even when I log the checkout session and can see the token value there. This only happens in live mode, and works correctly in test mode. Why might this be?

bold musk
#

I entered credit cards for people through my companies website. For some reason stripe now identifies me as one of the people whos email address I entered a card for and has saved them. Now this person gets an email every time i enter a new card, even though I put in different emails. How do I change or delete that email ?

fossil marten
#

Is there a way to add a tip (not taxable or discountable item) to an invoice

crystal gust
#

Hello, how are you?
I'm developing a platform that allows creating connected accounts from different countries. My question is whether the bank account of the connected account can be located in the US even if the onboarded account is in a different country than the United States. Basically, I want to know if it's possible to onboard from different countries but still be able to make payments through US banks.

hearty goblet
#

When I create a new product with multi-currency price.
If inside my App I know the currency of my customer, is it possible to retrieve, display and charge my customer in his own currency. managing one single Product and Price (with multi-currency), or I'll have to create multiple prices, one for each currency?

brave fossil
#

Good morning all. I have a question about the 3DS flow:
We are a platform that offers a sampler/ trial with a discounted value to the customer once they subscribe. This manner, we collect their credit card using SetupIntent for future usage (using Stripe Elements).
As soon as they confirm the subscription, we use the paymentIntent with the given credit card (attached to the setupIntent) (this process runs in our backend).
Everything works fine.

The doubt is related to 3DS.
If the informed CC requires 3DS, Stripe is openning a popup to simulate the 3DS bank account - related to the SetupIntent.
But, once our backend tries to use the paymentIntent with the informed SetupIntent we are getting a requires_action from the PaymentIntent object.
I didn't get why, because we already have the SetupIntent approved in the previous step, right?
Will the customer face the 3DS twice - one for SetupIntent and another one to PaymentIntent?

What should be the correct flow for this scenario?

dapper moth
#

Does Stripe support using Android Tablets/Phones with built in NFC Reader for Tap to Pay?

tawdry dome
#

How do you get same day payout because in my dashboard I set it to automatic daily payouts and it just pays weekly

outer rampart
#

Hi,
I have issue where on stripe it is creating a new user for the same email .

winged wave
#

Hello,

I'm using the Payment Element for subscriptions and when using Card or Wallet (Apple/Google Pay), I am able to correctly calculate tax because the Card payment element collects the user's postal code + country, and Apple/Google Pay automatically populate the paymentMethod.BillingDetails.Address from the saved wallet's address. However, with other payment methods like CashApp and US Bank Account, the payment element does collect the country or postal code and the CashApp/Bank providers do not automatically populate the address data. I also can't manually make the postal code and country fields show up in the payment element because you can only set them as 'always' | 'never', which ends up never showing it for CashApp/BankAccount.

A work around is to also mount the Address Element separately when needed but this ends up being a bad experience because it either asks for the same data twice or requires us to collect more data than we would like (slowing down the checkout process for our users).

Why isn't the billing address automatically pulled from the provider when using CashApp or US Bank Account? If it works for Apple/Google Pay, I would think it should work for those as well?

Any help here would be very appreciated!

daring patrol
#

Hi, Our stripe account is based on from UK, But we do transactions in USD, But while onboarding our customers to connect ed accounts, stripe country selection drop down is disabled & users were not able to change the country

trim steeple
#

Hi There,
After a payment Intent has been created and then captured. Is it possible to use the API / JS SDK to then add an email address to that PI to automatically send an Email?

nova oar
#

Hi there, I looked everywhere but cannot find the answer.
I think I leaked my Stripe CLI webhook secret for testing my endpoint locally.
Is there a way to change that key ? When I type 'stripe listen' in my CLI, it always show the same key, and I see no commands to change the key. Thankyou.

opal shell
#

hi, i believe i can see the answer here #dev-help message but want to double-check

If I set the payout schedule for a payment to a connected account to "daily" with a "delay_days", are they still able to trigger the payout manually? Or is that blocked?

I'd like to block it, because during the "delay_days" I want the funds locked there

tiny stream
#

Hi, I'm integrating the Buy Button into app and i try to use client-reference-id="ClientId" parameter to update existing customer, but it keep on creating new customers. how to make it update the costumer provided in client-reference-id. Is there a thread or something else i can read cuz in the docs the info is limited.

crystal gust
#

Hi, i have another question: can i have a US bank account connected to express account in Argentina?

fossil robin
#

Hi I am implementing the 1099K e-delivery for US taxes this year. Doc I am referring: https://stripe.com/docs/connect/deliver-tax-forms we are a part of this beta but I am getting errors seeing this call pass in staging environments: {
"error": {
"message": "Invalid Stripe API version: 2023-08-16; retrieve_tax_forms_beta=v1;. You do not have permission to pass this beta header: retrieve_tax_forms_beta. If you have any questions, we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}

balmy crypt
#

I'm trying to create a token for raw card info to be passed to my backend server from my angular front end with this code:

|| ```handleSubmit() {
const cardInfo = {
number: this.cardNumber,
exp_month: this.expMonth,
exp_year: this.expYear,
cvc: this.cvc,
};

this.stripe.createToken(cardInfo).then((result: any) => {
  if (result.error) {
    // Inform the user if there was an error.
    console.error(result.error.message);
  } else {
    // Send the token to server.
    this.sendTokenToServer(result.token);
  }
});

}```

-I have raw card data api enabled for my account.

I just receive this error when trying to get a token

IntegrationError: Invalid value for token type: value should be one of the following strings: account, bank_account, person, pii, cvc_update, apple_pay. You specified: card.```||
formal crater
#

Hi all, I am working on an server-side rendered UI that uses Payment Intents and offers the user the choice of using a saved card payment method or to enter a new card. I can easily create a user experience for selecting a saved card from the SDK and generating a select box, as well as separately create an experience using Stripe Elements to auto-generate the form to capture a new card.

Does anyone have a good pattern for a form that mashes the two concepts together? Or am I crazy to think that Elements should offer that out of the box for the form they generate?

terse shale
#

Hi stripe Support team!

I have a nextjs application which has a stripe webhook endpoint. In my application we facilitate payments between businesses and their customers with stripe connect. On my local machine, it works perfectly fine to listen to the account.updated event in order to see whether and acc.charges_enabled is true after they complete the onboarding. I just deployed the webhook to a different domain, which initially didnt get "account.updated" events sent to it. I clicked on the webhook and clicked "Update details", and then added the account.updated event. However when I check the events being sent, it still doesn't send the "account.updated" event. Even though I completed a full onboarding from a to z. What could be the reason for this?

turbid briar
#

hello i need help accessing my secret key

#

i can only see a couple digits followed by ....

idle light
#

Hi, I am trying to process a Refund form out Platform account to a customer that is linked to a Connected account. The refund looks to be working correctly, however the call to transfers->createReversal is failing when trying to get the money back from the connected account to our platform account. The error I am getting is No such transfer: 'trr_XXXXXXX

#

Also, the transfers coming back from the refund call are starting with trr should it not be tr_

vocal wagon
#

hi, I configured stripe with wp amelia on worpress. I'm in tes mode and I have an error displayed... I don't know how to solve my problem : invalid_request_error
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.

dire sierra
#

Can you help me with Stripe Tax Integration questions?

rigid stag
#

Hi! Is there an alternative option for cardholder authentication using 3D secure? I am interested to implement confirmation inside mobile app, but can't find in the docs https://stripe.com/docs/issuing/3d-secure

weary crypt
#

Hi, I have a question about Stripe's API.
I want to create a TaxRate object with a 100% inclusive tax rate and apply it to a specific InvoiceItem within an Invoice. However, when I look at the taxable_amount of the InvoiceItem to which the TaxRate has been applied, it becomes half of the original amount (I set it to 100%, so I am expecting it to be the full amount).
How should I call the API to achieve this?

fiery stirrup
#

Hi all... I am following the process on this page: https://stripe.com/docs/payments/build-a-two-step-confirmation#web-collect-payment-details. Now, I can see how you can create the payment method, collect the payment method information to show it to the customer but on Step 6 I can see that a payment intent secret is used but no reference to the created payment method is included. How is the payment intent and the created payment method related? Am I missing something silly?

south urchin
#

I've been developing an app and I can't checkout, "error Error: Make sure the path found and rescued does not match the collateral type (pages/application)" sometimes works, but I don't know why. This happen when i generate the session for the cheakout.

arctic aurora
#

Hello, user creates a subscription with 3 days of trial. He cancels it immediately, and then immediately trying to purchase it. I get error: Unable to resume subscription that is not within grace period. What shall i do to solve it?

spice wedge
#

We've connected Affirm and Klarna to Stripe. Our checkout pages are housed in ThriveCart. When customers go to process

  1. A Klarna Payment, they get the error - Family Name invalid
  2. An Affirm Payment, they get the error - shipping[name] param invalid

I've tried adjusting required fields, adding custom fields to ThriveCart to match the metadata tags from Affirm and Klarna, but nothing seems to be working. Any ideas?

half dock
#

Hi, i'm trying to save a credit card for future uses, im using

#

stripe.confirmCardSetup(this.client_secret, {
payment_method: {
card: card,
billing_details: {name: this.name_on_card},
},
})

dark kiln
#

hey there

#

I want to develop an application like Pleo which would include some features like , showing cards, pin for cards, last transactions, etc. based on the docs we can use stripe.js to create ephemeral nonce key and elements to show pin inside Iframe but I didn't found any docs to do the same procedure in React Native app, do you guys have any solutions for that ?

#

thanks

hallow gull
#

Bonjour, un soucis en francais ? peux t'on en parler en FR pour savoir comment cela se passe lors d'un changement d'url d'une boutique presta-shop / ou modifier l'url du site ou panier

foggy dawn
#

@dark kiln please respond in the thread I created for you

tropic bridge
#

Hello folk, I'm having an issue with free-trials in my integration. Basically for some users the subscription gets created even if their payment method is successfully attached. I really don't understand why is that and how to prevent it.

still mica
#

I am passing this function for the request:

useEffect(() => {
const fetchPaymentSheetParams = async () => {

try {
  const response = await axios.post(`${API_BASE_URL}/payment-sheet`, {
    headers: {
      'Content-Type': 'application/json',
    },
  });
  return await response.data;

  
} catch (error) {
  console.log("ERROR-AXIOS:", error)
}

};

const axiosTest = async () => await fetchPaymentSheetParams();
console.log("AXIOS-PAYMENT:PQP", axiosTest());
}, []);

However, I first receive the console of axiosTest = {"_A": null, "_x": 0, "_y": 0, "_z": null}

Then I receive the console of the catch error message giving 401 even passing everything the server expects to receive in the headers.

Why is the request not being successful and what suggestion would you give me to solve it? Thank you for your help in advance.

pale garden
dusty solar
#

Hey there, I am using you Checkout session API using C# and ASP.NET Core. I must send audit XML file to National Revenue Agency (NRA) here in Bulgaria every month for all payments and I must send virtual POS terminal number in the XML. Can you tell me what is that number id because I can't find it?

buoyant vale
#

Hi, if I provide you guys a req_xxx, would you please tell us what will be showing on the bank statement of the customer?

blazing citrus
#

Hello! A couple of months ago I asked if it was possible with the express-checkout-element to show both the apple and google pay buttons at the same time. At the time it was not, but the docs look like they have been changed and if on the supported browsers then you could possibly see an apple and google pay button at the same time. Is this true? Did something change recently?

tardy palm
#

Customers want to pay for services in USDC as well as typical credit card. Is there a service to accept crypto payments? Can I set up a subscription for USDC? (ex: $1,000/mo USDC)

vestal mesa
#

I am using subscriptions api and am unable to confirm a payment intent. I did a console.log and I get a 404 error which says
"No such payment_intent: 'pi_[the payment intent here hidden for privacy]'"

empty mantle
#

hello, i have a one time invoice that i'm testing with test card 4000000000000341 .. but somehow whenever the payment fails, the invoice gets marked as uncollectible right away, i dont think i am explicitly doing that in my code, and from the docs https://stripe.com/docs/invoicing/overview it doesn't suggest that stripe does it automatically either, so i'm wondering if there is any way i could see how it gets marked uncollectible right away?

jovial ice
#

Hello Can you add a negative price amount when create a subscription?

chrome solar
#

I'm trying to resend a webhook event via stripe-cli for a test account locally but I'm getting a "resource missing" error and having a hard time figuring out why, may I get help understanding why it's throwing this error?

fierce stirrup
#

Hi team! Is it possible to edit pdf invoices so that the "Applied Balance" label says something different?

stone jolt
#

Hello. I'm new to the API. How do I add properties such as size and color to line_items when creating a checkout session via the API? I'd like them to show up on the payment UI

agile token
#

We have a data migration contract from our current vender and submitted the paperwork for STRIP to sign to move the data migration forward. It's been weeks with no contact - is there a phone number or Data Migration email? Just need a signed contract from STRIPE to move forward

#

That option has not been available for WEEKS

tropic adder
#

Hi, I’m having trouble with testing a webhook for issuing_authorization.request where stripe dashboard shows that stripe is receiving my response correctly with a 200 status code and {approved: false} but the status tag shows that the webhook delivery “Failed” and the response is not used.
Event id evt_1NvPZZQsPe6Gp6QJKnUpnY84

glacial glade
#

Hi, I’m trying to update the business logo on a connected account (standard) via the api. I can upload the file (and re-download from a link) so that bit works. However, when I use the id of that file to update the logo I get a “No such file upload” error back. Not sure why?

paper oak
#

Hey, I am using Java and I am trying to complete a paymentintent directly. I have the card number, cvc and expiration date. I got an E-Mail from Stripe that I shouldn't pass an full card number how else could I do it?

acoustic crag
#

Hey Stripe Devs! I have issue with Stripe connect:

  1. Users of my app connect their Stripe accounts via my app and I want to give them a Test environment to test my tool before pushing to prod.
  2. I use this link https://connect.stripe.com/oauth/v2/authorize?redirect_uri=http://localhost:3000/stripe/connect&client_id=ca_BLABLABLAneERgcjPnhdTP7PRC42hoaBLABLAS&response_type=code&scope=read_write&test_mode=false and they connect a Live account, no problems so far. The test_mode params is something I use to know which type of account they want to connect.
  3. But when I fetch the Account they connected, I always get the Live account, never the Test one. What am I missing? I'm on Ruby on Rails 7 and I suspect it must have to do with how I initialize Stripe.api_key ?
    Any clue to helping me get this fixed would be greatly appreciated, thx!
balmy yacht
#

hello - is there any easy way to identify if a charge/payment intent was succeeded from the credit card reader hardware?

grand grail
frank falcon
#

Question. Can we open a stripe checkout session (hosted page) in a new tab or does it have to be the same tab / window of my application?

winged wave
#

Is there a way to create a test Financial Connections account in the test environment via the serverside API? I would like to have a server side unit test with a US Bank Account Financial Connection but I can't figure out a way to do that. Is there a way to create one via the API (without using the client UI)?

mental island
#

Hi team! Is there a way to void/delete subscription invoice with draft state? I canceled subscription but invoice remains in draft status anyway.

ivory prawn
#

Hello, how do I add new products to the active subscription of this customer cus_Ogdlklq5JVxRIt, but only if their payment method is correct

devout night
green dagger
#

#dev-help Could you list me best ways for stripe fee optimization?

iron tree
#

Hey there! How can I set the day of payment while creating a subscription via API?

tired crater
#

Hello, on the stripe gui, I can see a value called "total spend", but I cannot seem to find that on the customer object in the API. I'm looking to basically get a list of all user IDs who have ever paid us more than $0. Is there a path recommended here?

brisk elk
#

Hi everyone. I am in the process of integrating an express checkout element (for apple pay). I already have that and a payment element integrated. I just need to conditionally render some ui depending on if the express checkout element shows up (using any wallets). Is there any way I can do this? Btw, I only create payment intent after the user submits the payment form.

hearty goblet
#

I have a desktop app and all my current users already have a Stripe Customer Id created via API in the moment he confirm his account.
Is it possible send this user to a embedded pricing table in my website to finalize purchase and use the same Customer already created for him, in moment of his signup?

sinful sphinx
#

Hi everyone, I'm using the Stripe API in my project with Nuxt. I have a problem with a customer when he tries to enter his credit card information. Specifically, the issue arises when I use the "createToken" function. He receives the error "card declined". This is strange because he has been using the same credit card on our site for years. Does anyone have an idea of what else I should review? I also checked the logs in the Stripe account using the request_log URL returned by Stripe in the JSON response, and there was nothing there.

mossy bison
#

Quick question: If I do customers.retrieve(customerId, { expand: ['subscriptions'] }) does the subscriptions field return all subscriptions associated to this customer, or only some of them? (perhaps it excludes the canceled ones?)
The docs say: "The customer’s current subscriptions, if any." - but I'm not sure what current means.

ancient grove
#

Quick question, I'm trying to integrated Stripe with my client's booking program but whenever I try to reveal his secret key it gives me a try again error or just loops me back to the 2FA prompt.

harsh galleon
#

Hello team, we have an interesting issue, we are using Stripe SDK with React library. We got in production a 3d secure confirmCardPayment() that is in requires_action status, if 3d secure is triggered then confirm should return with an error, but we think that it returned without an error and in our system, and it continued because of it.

The stripe SDK version we are using is 1.47.0.

Is there a possibility that a card that was supposed to trigger 3d secure returned first as successful in the promise for confirmCardPayment and then later on stripe recognized that there was a need for 3d secure?

vestal mesa
#

Hi, im trying to use promotion codes in the subscriptions api. However, I get an error if the promotion_code is empty or if that particular promotion code does not exist. How should I go about checking if the promotion code is valid? How to do this efficiently

brisk elk
#

Hey. Should be my last question in this chat 😂 . Does the express checkout element allow for us to collect shipping address? I want apple pay to request the shipping address of the user.

cerulean pineBOT
#

This channel is closed, but we'll be back at 8:00 AM UTC. We look forward to helping you when we return, but if you need assistance sooner please contact Stripe support: https://support.stripe.com/contact/email

cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

buoyant widget
#

Please I have problems

#

With my stripe account Please help me and resolve it

true saffron
#

Hi, How can i get taxes deducted on a transaction using API, this is a screenshot from stripe dashboard:

buoyant widget
bitter blade
#

Hi team, is it possible to switch on the BBPOS WisePOS E appart from clicking on the side button ?

frigid locust
#

when a user subscribes to a plan:

  1. can I setup a card using setup inent api and then,
  2. create a subscription without using payment_behavior: "default_incomplete" and going through the paymentIntentFlow?

Will this be compliant with SCA regulations?

autumn creek
#

when using web elements is there a way to disable console debug outputs for google pay?

true saffron
#

How to get checkout summary via Stripe API ( including sub total, taxes, total )

wispy crow
#

Good morning, I'm setting a checkout session of type subscription, and I'm passing the customer id with just the name and email set. So I want that the checkout session sets the billing address details and I would like to attach the payment method id too. But I'm looking that the payment method it's not attached to the customer, how I can achieve that?

rotund marlin
#

The payment pi_xxx for ₹0.82 requires you to take action in order to complete the payment. Timeline says that the 3D Secure attempt incomplete The cardholder began 3D Secure authentication but has not completed it. How to do this in the server side instead of sending the clientSecret to the client side and make the payment successful? I'm doing this for testing purposes as I don't have the client at the moment, so I'm sending a request to create and confirm a payment in my Web Api Controller

upbeat cloud
#

doubt regarding webhooks?

sturdy venture
boreal narwhal
#

this is the javascript for laravel blade. all works, but i want to add the client e-mail, so i can send the receipts. stripe.createToken(card, {name: fullName.value}).then(function(result) {
if (result.error) {
// Inform the user if there was an error.
var errorElement = document.getElementById('card-errors');
errorElement.textContent = result.error.message;
} else {
// Send the token to your server.

        stripeTokenHandler(result.token);
    }
});

} else {
form.submit();
}

fathom fiber
#

Hi Stripe Devs, The invoice object has a property - invoice_pdf to download an invoice. Do we have something similar to download receipt?

keen ginkgo
#

Hello! I reached out to this chat yesterday with a question related to payment method management at #dev-help message.

Today, I have a question related to my custom checkout implementation. I've encountered an issue where, when making a card payment through the custom checkout (using PaymentElement and the stripe.confirmPayment() method, on the backend, it's createSubscription()), Stripe processes the payment but doesn't set the card as the default payment method. This can be seen in the screenshot I took on the billing.stripe.com page after completing the payment through my custom checkout.

frigid locust
#

@waxen quail can you please reopen my previous thread.

#

I don't have permission to send message on that thread @waxen quail

frigid cedar
#

Hi, I'm having strange connection issue with stripe. This just started a few weeks ago. Using stripe-node client (13.7), I am getting StripeConnectionError when attempting to do requests (specifically identity.verificationSessions.retrieve). The error shows that it can't connect to stripe's server (Error: connect ECONNREFUSED 35.209.233.84:3128). This IP appears to be external gcloud IP that I assume is Stripe's. I have spent lots of time debugging client side, but it appears to be an issue on Stripe side. This request does use "restricted key" access with IP whitelist, but whitelist issue usually shows as an API error, not a TCP connection error. This is happening for multiple devs on the team (on different ISPs), who are being blocked by this issue. Any thoughts?

vale raven
#

i know there cancelling refunds is possible for those triggered via API. However, is it possible to cancel pending refunds via Stripe customer support. I had an issue where my integration has refunded full amounts instead of partial for vast amount of customers causing the account to run out of money. Wonder if there is an option to cancel those still pending due to lack of money?

ancient plume
#

Hi! We are launching a small website where people can pay for a street newspaper with a credit card. It is not strictly technical question but I'd appreciate an advice on what do we need to have on the website in terms of legal documents (we are in the EU)? Should it be just about cookies that Stripe.js uses or something else?

autumn creek
#

@waxen quail any chance you can reopen my previous thread?

timid furnace
#

Unable to add card in Stripe

fallen willow
#

Hi i have an issue with respon Stripe webhook. i allways get err 500 even though everything is successful

ancient socket
#

Hi! I found a strange cancelAt in subscriptions.

// The public API key found in https://stripe.com/docs/api/authentication
final String API_KEY = "sk_test_...";
final RequestOptions requestOptions = RequestOptions.builder().setApiKey(API_KEY).build();

final SubscriptionListParams params = SubscriptionListParams.builder()
  .setLimit(100L)
  .setCreated(
    SubscriptionListParams.Created.builder()
      .setGt(Instant.now().getEpochSecond() - 10 * 86400 /* 10 days */)
      .build()
  ).build();


for (final Subscription subscription : Subscription.list(params, requestOptions).autoPagingIterable()) {
  final Long cancelAtInSeconds = subscription.getCancelAt();
  if (cancelAtInSeconds != null) {
    System.out.printf("cancelAtInSeconds=%d, cancelAt=%s, id=%s\n", cancelAtInSeconds,  Instant.ofEpochSecond(cancelAtInSeconds), subscription.getId());
  }
}

The output is

cancelAtInSeconds=20231026235659, cancelAt=+643065-09-13T05:54:19Z, id=sub_1Nuj7i2eZvKYlo2C78CMCbwc
cancelAtInSeconds=1698356617, cancelAt=2023-10-26T21:43:37Z, id=sub_1Nuj2c2eZvKYlo2Clfe03BKY
cancelAtInSeconds=1697889422, cancelAt=2023-10-21T11:57:02Z, id=sub_1NslVC2eZvKYlo2C82WYCWUU

The year in the first output is 643065 not 2023. The epoch seconds 20231026235659 seems to be 2023/10/26 23:56:59.

prisma sphinx
#

hello Stripe dev team, can someone help with queries regarding

  1. Subaccount structures, and
  2. Merchant of record?
cyan swan
#

Hello team, I have query on downgrade subscription

violet oasis
#

Dear dev support, I have switched to live mode after testing and everything is good. However, is there a way to continue testing new payment methods after switching to live mode? Or is there another work around for this scenario? Thank you

surreal otter
#

I currently have a mobile app where i create Payment Intents and the user can pay, I want to be able to charge them a overcharge without them to their card later, I understand i need to use setup_future_usage to off session on the autorized payment intent, then with the future amount i want to charge to their payment method when they are off session, how can i go about doing that, do i need to adjust that original payment intent, or can i create a new one with the same customer and payment method from the first payment intent. Then how can i confirm it

fallen marsh
long oxide
#

I need to know if my suscriptions are configurated ok

#

where can I ask?

astral halo
#

I’m trying to cancel a refund via api but I can’t find the write code to use on CLI

fallen marsh
#

Hello Stripe developers, I'm looking for an answer regarding webhook behavior. I have a case involving a subscription with an incomplete status. When I delete/cancel the subscription through the dashboard, Stripe fires a subscription_updated event instead of a subscription_canceled event. Why is this happening? Moreover in tab logs I see that API statu was DELETE -> 200 OK
DELETE /v1/subscriptions/sub_1NveCsHYW0GgASNt2tngD5nW

minor fulcrum
#

Hello,
I am getting an error in the client-side 'Initialize' function.
The error caught by the try catch is Unexpected token '<', " but I cannot find the wrong token. Is it possible to see a log? I'm in Live.

vocal wagon
#

Hi there, right now my billing works like this (example): Customer subscribes to plan on 3rd of november (via Billing portal). Subscription is valid until 3rd of december. Receives bill on 3rd december. So the basic setup i think. Is it possible to change it like this:

Every subscription date should end on last of month. So for example its possible that the customer subscribes september 29th and subscribtion is valid until sept 30th. On october 1st a new month starts. So every bill has the date of the last day of the month.

steep pecan
#

hello i have a payment intent that is coming through on the api as suceeded but it wasnt, causing a problem

frosty phoenix
#

Hello, guys. In our company we have a situation where we need to update the billing cycle anchor of all our subscriptions, some are active, some are trialing and some are unpaid. Currently, our subscriptions are billing at 12 AM EST (04 AM UTC), but we need to change it to depend on the timezone of our users. For instance, clients living in America/Los_Angeles must be billed at 12 AM UTC-7 (7 AM UTC) and those living in America/New_York at 12 AM UTC-4 (4 AM UTC). Reading the docs the simplest way I find to do that is to set the trial_end property of the subscriptions to those dates, but that turns the subscription itself back to the trialing status, which for already active or trialing subscriptions is not a big deal, although we would like to keep their original status, but for the unpaid subscriptions, its a problem, because the unpaid invoices will be forgiven / forgotten, so users will continue to have access to the system. Whats the better and safest way to reset the billing period without loosing the original status of subscriptions?

frigid locust
#

is customer.subscription.created triggered even when a subscription is created with payment_behavior: "default_incomplete"?

rare marsh
#

Hey I am having issues with my terminals I was just wondering if there is a key combo I could use on my terminal to get to the admin page as the swiping from right to left or left to right doesnt work

lapis egret
#

Hi! When using the Dashboard to view a Payment Intent, the “Payment details” section shows the amount converted to USD. Is this available in the API? I took a look but could find it. Thanks.

gloomy kite
#

Hello, recurring subscription payment which event use for paid in webhok

vagrant steppeBOT
#

chiefwhitecloud

#

dineshkumar6419

spice dragon
#

Hello, I would like to know if link by stripe holds funds at all. I was refunded over 2 weeks ago and didn't receive anything. I have invoice # if you need that.

vocal wagon
#

probleme nous ne recevons pas de notification sur la boite mail

cerulean pineBOT
#

This channel is currently closed. Please be aware that Discord is currently experiencing issues, which are impacting our ability to provide support through this channel. See https://discordstatus.com/ for the latest information. We ask for your patience at this time, while Discord resolves these issues. We will return as soon as the platform stabilises. If you need help before we return please contact Stripe support: https://support.stripe.com/contact/email?topic=api_integration

cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

fathom grotto
#

Hi

#

we have a customer says she putting correct cvc on payment form that issued by bank bu ton stripe side that payment blocked because if wrong cvc. how it possible if customer put correct and stripe says wrong

#

can some oen help me on this

rose otter
#

Hi all 👋 discord seems to have stabilized and we've reopened the channel. We will keep an eye out for further interruptions.

vagrant steppeBOT
#

lugi_43690

tiny stream
quick mango
#

When creating a Charge, or Payment Intent, is it possible to specify which Bank Account it should be routed to?

Use case is a customer wants payments for certain products to go to Bank Account A, but others go to Bank Account B.

hasty tapir
#

I'm calling all customers with a given email, but get the following response. What does it mean?
: Type definition error: [simple type, class com.stripe.model.Customer$TestHelpers]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.stripe.model.Customer$TestHelpers and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: java.util.ArrayList[0]->com.stripe.model.Customer["testHelpers"])

bleak frost
#

how to change subscription status to unpaid after the first unpaid invoice
I noticed that stripe changes the subscription to unpaid after the second invoice is not paid, in my use case, which is charged per month, it would only block access to the customer in the second month without payment, would it be possible to change this to happen soon after of not paying the first invoice?!

steady flame
#

Hi

Is there anything related to grouping customer in stripe.

hearty goblet
#

Hi. If I open a Atlas Company in USA can I migrate all my products and customers from my Stripe Account in Brazil, to the New Stripe account in USA (including same customerID, Products and Active Subscription?)

keen ginkgo
#

Hello! I use Address Element to collect billing data on my checkout page in my ReactApp
1 - But I can't understand how to add this information to the invoice file in stripe dashboard. Can u help me?

2 - I want to collect custom data, such as VAT, in the address element, but I can't find a way to do it in the documentation

vagrant steppeBOT
#

weellingtonc

sinful quiver
#

I sent an email to the support link, what's the usual turn around time for a trouble ticket?

vivid sedge
#

stl-patrick

vagrant steppeBOT
#

wizzmotion

#

_andriiko

#

ragnabear

pseudo python
#

Hi,

is there a way to export from the dasboard or retrieve by API all payouts done to all Connect accounts at once ?

Thanks

autumn halo
#

what is the difference between stripe.account.create versus stripe.customer.create(stripe_account=<accountid>)

empty night
#

Hello there! Is there a way to apply a coupon to a subscription to build a flow to support 'get 15 months, pay for 12 months when getting a yearly'? Meaning the recurring interval is a year, but because of a coupon you get 3 additional months extra.
I see a coupon is valid for 3 months, but only applies to invoices during that period. With a yearly the invoice will be created once, and thus the repeating interval seems to not matter

still mica
#

Hi everyone, I have a doubt... I followed the necessary changes to display Google Pay, but the button is not being displayed:

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

const { error } = await initPaymentSheet({
merchantDisplayName: "Blist, Inc.",
googlePay: {
merchantCountryCode: 'US',
currencyCode: 'usd',
},
applePay: {
merchantCountryCode: 'US'
},
customerId: customer,
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: paymentIntent,
allowsDelayedPaymentMethods: true,
defaultBillingDetails: {
name: 'Jane Doe',
}
});
if (!error) {
setLoading(true);
}
};

I am using version 0.19.0 of @stripe/stripe-react-native and I have not updated to the latest version because this will imply many changes in other application dependencies. Is the display of the Google Pay button compatible with this version that I am using?

silent eagle
#

Hello bro

dire snow
#

Hello, im looking to create subscription invoices that require the customers to save their card for autopay. so they do not need to enter their card in every month. I've been able to make the invoices but im not able to find any way to make saving card data a requirment through any FAQ. if anyone is help to help, thank you!

silent eagle
#

I need phone number for stripe

south urchin
#

Hi, i been trying to add a dropdown in my cheakout, but when i do the cheakout, i dont find in stripe de info, where is it

oak raptor
#

How do I get taxes to appear on stripe.paymentRequest({ api

balmy crypt
#

How do I customize stripe elements to look like a material input?

sonic charm
#

i am getting sucessful 200 OK POST /v1/checkout/sessions but the page stay the same and i get no redirect to stripe domain, can i show some snippet, i am not sure im using stripe-js lib the right way ?

dark kiln
#

Hello stripe devs, I have a question regarding card issuing and showing card pin

fiery surge
#

Hi, How can I use Stripe to automatically send the following invoice?

ivory marsh
#

I want to hire a develop to setup my strip account in API to accept instant payments plus hook it to my website

radiant jacinth
#

How do I check the bank arrival date for a manual payout to a connect account?

echo pulsar
#

Is it possible to ask wether a payment method supports off_session payments. I want to check when i receive a webhook for a card attached, This off session is on payment intent or setup intent. I can see that it seems to be included in an request for payment methods made by the Stripe website dashboard but can't replicate it myself. Here its refered to as setup_by which links to a payment intent or setup intent

wooden quiver
#

I have a question, is it possible to make transfers to your users? I think so but is it possible with users all over the world? I am in France and I did not understand the doc very well (for the purposes of a project I need to collect the money and then redistribute it to my clients in France)

waxen saffron
#

Hello, where can I find info about these extra fields

"payment_method_details": {
    "card": {
        "amount_authorized": null,
        "brand": "visa",
        "checks": {
            "address_line1_check": null,
            "address_postal_code_check": null,
            "cvc_check": "unavailable"
        },
        "country": "US",
        "exp_month": 11,
        "exp_year": 2027,
        "extended_authorization": {
            "status": "disabled"
        },
        "fingerprint": "xHcbIInTcfwKVAsQ",
        "funding": "debit",
        "incremental_authorization": {
            "status": "unavailable"
        },
        "installments": null,
        "last4": "2960",
        "mandate": null,
        "multicapture": {
            "status": "unavailable"
        },
        "network": "visa",
        "network_token": {
            "used": false
        },
        "overcapture": {
            "maximum_amount_capturable": 110,
            "status": "unavailable"
        },
        "three_d_secure": null,
        "wallet": null
    },
    "type": "card"

overcapture, incremental_authorization, extended_authorization, multicapture

normal kernel
#

Hey, quick question about Connect onboarding via the Stripe hosted AccountLink

timid furnace
#

Stripe could not find customer id while it is present in stripe account

rare belfry
novel obsidian
#

I used the subscription editor in the UI to remove a future phase on sub_0LxFMk4rOYBvHyzsF404A86P. Now it changed the current_period_end from Oct 26 to Oct 1st for some reason. How can I set the current period to renew annually again (it should be 1698348888 )? I essentially need stripe.Subscription.modify("sub_0LxFMk4rOYBvHyzsF404A86P", current_period_end=1698348888) but that's not a valid API field.

balmy crypt
#

What level of PCI compliance would I need for raw card data api?

violet mantle
#

In Revolut when a user pays with stripe how can I get my logo to show up?

craggy scaffold
#

Hi need help)

autumn spindle
#

Webhook Event Question: I'm in test mode, testing Stripe webhook events. I just tested using the dashboard to issue a refund for an invoice. This created a charge.refunded event immediately but not a refund.created event or refund.updated event. Is this appropriate behavior? When should refund.created or refund.updated events occur?

lavish tapir
#

Hello 👋🏿 I have a question about cancelling subscriptions. In our use case, we have monthly subscriptions connected to a product with a volume-based pricing model. The subscriptions are paid via ACH debit, and we've enabled the smart retries option for failed ACH debit payments.

Let's say that we update a subscription so that it will be canceled at the end of the billing period. We can expect that the final invoice for the usage accumulated during the billing period will still be generated and a charge will be attempted, correct? But what happens if the payment attempt for that final invoice fails? Is it even possible to update the payment method used for the invoice at that point?

gloomy frost
#

Hi, I'm having trouble getting Cash App destination charges to process. The only error that I'm seeing StripeInvalidRequestError: The payment failed. with a code 'payment_intent_payment_attempt_failed but last_payment_error is null

narrow gazelle
#

Hi. We are having trouble changing our integration to direct pay. I need an expert engineer in integration with partner direct payments.

outer carbon
#

Hey, does Stripe have a solution that allows for attribution source tracking on a hosted checkout page; i.e. "what % of our google ads are converting, etc."? Sounds like this would be different than rev recognition/sigma

paper python
#

Hey. We're using the Stripe Tax API, and the CreateReversal api on a tax transaction is asking for a mandatory refence field.
The references we set look like this:

  • For a tax transaction created from calculation -> order_{order_id}
  • For a reversal on the above transaction -> order_refund::{order_id}::{refund_timestamp}

However when we retrieve the reversal by id, the reference looks like refund_order_{order_id}. It's like stripe overwrote our own reference by just prepending refund_ on the original transaction reference.

Is that an expected behavior? If yes, why is reference a required field on a reversal?

quiet fable
#

we currently use Stripe as a payment form through our online shopping ap (freshop) we are located in Illinois and would like to add EBT/SNAP payment options for our customers. Is this possible through stripe?

iron tree
#

Hey there!
I've created a Subscription, but when it's created it automatically generates an Invoice. I want it to generate an Invoice only at the billing cycle anchor date, not when the Subscription is created. How can I do it?

open island
#

I can’t setup my STRIPE because I’m not sure what bank account information I used to begin with

half spear
#

Hello everyone, we're trying to implement ApplePay with stripe in our swiftUI app but we're running into a few issues, namely whenever we call our function that handles apple pay it works perfectly if the app is on the initial screen from when the app opened, but on any other screen the ApplyPay view will be presented but then the func applePayContext(_ context: STPApplePayContext,
didCreatePaymentMethod paymentMethod: StripeAPI.PaymentMethod,
paymentInformation: PKPayment,
completion: @escaping STPIntentClientSecretCompletionBlock) never gets called and then after a long loading time we end up with the ApplePay view saying "Payment not completed" and dismissing itself

compact mist
#

I am using Connect to onboard my users.
Users are platform customers at the same time.
Can I use payment method they enter when onboarding and attach it to a customer object somehow?

hushed orbit
#

Alguien ayuda en español?

west spear
#

Since late last evening all our Stripe transactions in our web app are hanging indefinitely if the user is entering a new card. If they use a saved card it processes successfully.

steel umbra
#

Hi there, I'm testing out some 3DS flows and encountered some unexpected events. When the payment intent (pi_3NvkXXCcKlYJxALV1ElXNntI, test mode) transitioned to requires_action, it seemed like there were two invoice events emitted: invoice.payment_action_required (expected) and invoice.payment_failed (unexpected). Is that the correct behavior?

Is there some reference for which events are emitted when? I was also recently surprised that a subscription transitioning incomplete->incomplete_expired triggered customer.subscription.updated and not customer.subscription.deleted. I understand this in retrospect, but I didn't expect it (incomplete_expired is treated like canceled in other places), and it caused a bug in our system.

sudden star
#

Hi guys, I noticed an issue today where a user started payment, it failed, but the subscription was created in stripe. Our webhook uses the subsciption created event to update users, so when the subscription was created, even though payment failed our system updated the subscription. I'm curious what the best way is to handle new subscriptions or failed payments on new subscriptions?

paper python
raven barn
#

Hi devs, I need your help, I have an endpoint that is responsible for creating the stripe account of a user, the problem is that according to me, I'm telling it to be of type "recipient" and it creates it as "full service"
**{ type: 'custom', country: 'MX', business_type: 'individual', email: email, individual: { email: email, id_number: rfc, first_name: first_name, last_name: last_name, phone: phone_no, address: { city: city, country: country, line1: line1, postal_code: postal_code, state: state }, dob: { day: day, month: month, year: year }, verification: { document: { front: id_front, back: id_back } } }, company: { address: { city: city, country: country, line1: line1, postal_code: postal_code, state: "NL" }, }, business_profile: { mcc: , url: "" }, capabilities: { card_payments: { requested: false }, transfers: { requested: true }, }, external_account: { object: 'bank_account', country: 'MX', currency: 'MXN', account_holder_name: username, account_number }, tos_acceptance: { date: Math.floor(new Date().getTime() / 1000), ip: "", user_agent: "Website", service_agreement: "recipient" }, }**

bleak frost
#

want to continue this topic: ⁠https://discord.com/channels/841573134531821608/1157311205954826330 is that possible? i have i final doubt
My doubt is : So, if I configure it to try to charge just one more time in 3 days (as in the image) then after it tries for the second time in 3 days it will change the subscription status to unpaid?

gleaming vine
#

Hi Team, this is likely a silly and simple question. I am trying to create an onboard link for customers to create customer accounts so that they could then login to the portal to maintain their billing details. All payments are showing as guests. So I am missing something pretty simple here?

patent turtle
#

Is there a way to simulate an error or cause a PI to return an error in development?

humble shuttle
#

Hello, is there anyway I can create a card token that can be used for recurring charges? The API doc only showing how to create a single use token. The use case here would be, when customer signing up for an account, we tokenize the card info and use the token to charge later on when the service is fulfilled...the charge could come in months later from account sign up.

glad cosmos
#

Hi devs - I'm new to the discord! I have a question about direct charges. We are switching from using on_behalf_of to direct charges and when testing the new code, we do not get a webhook. For failed or successful webhooks for checkout.session.completed we get a webhook when using on_behalf_of but that's seemingly not the case for direct charges. As the connected account holder (my test account) I can see that the checkout session was completed and its "Pending webhook response" but I see nothing on the platform side to process or debug. Any thoughts here on why that would be?

wind fiber
#

Is it possible to see the payment method issuer, through the Stripe API? I can see the value in the Stripe Dashboard, but it's not coming through in any API call I can see

gloomy carbon
#

Hi guys, I'm doing some research for a new platform idea. The main premise for this platform is to be like an escrow system.

Ex. A provider and a client agree to perform a job (let's say a website), the client needs to fund the job via the platform and the funds are frozen until the provider finishes the job; the client releases the funds, once the funds are released we sent the money to provider's account, if the job is not completed the funds are refunded to the client.

I know that I can use Connect to:

  1. Collect the payment from the client.
  2. Create a new Connect account for the provider.
  3. Use Connect to send the money to the provider.

What is not clear to me is if we can hold the money until a condition is met (in this case, the client saying the job is done). Once the condition is met, then make the transfer to the provider's account.

The holding time could be from hours to months, depending on the complexity of the agreed job.

Is this something that I can do using Stripe Connect?

novel obsidian
#

Is there an API to query Stripe events and/or logs?

drowsy moon
#

Hi! I am using readymag and i want to seperate it from readymag. is there somekind of app i have to uninstall?

warped wing
#

Hi everyone, is it possible to get reports for a financial account? https://stripe.com/docs/reports/balance. We have a few connect accounts. I want to get the report for the financial account related to the connect account

patent turtle
#

Just double checking here... I have an error from a declined test card. I pass it to intentCreationCallback and it shows "An unknown error has occured" instead of the actual decline message. Is this normal?

west spear
#

Customers unable to make payment unless their card was previously saved. Web app hangs indefinitely. We have not changed any code on our side. Started happening yesterday and has not resolved.

low temple
#

Hello, looking for some guidance on if this is possible or not. We have a 3rd party platform that send payments directly to a Standard connected account. Looking for some way to collect an application fee after the payment to the connected account to get our fee amount of the payment. I dont see a way to collect funds from the standard connected account. I looked into updating the paymentIntent but cant do that after it is confirmed. Cant do transfers or separate charges. Not sure if it is even possible via the API. Any guidance would be appreciated.

rigid geode
#

Hi all, not really a dev here, but somoene using a stripe payment page.

I am trying to pay with Google Pay but the option doesn't show up for me, only "link" and creditcards show up.
Is there certain requirements to make the google pay option show up (must I be in America, ...), I know for certain that the google pay option is there because the developers told me so but I can't see it?

jade trench
#

hello, looking to create a report of all customer's between a time frame (2019 - 2023), my guess would be to list all customers and based it on the created date

marsh nexus
#

Hi, I'm trying to do a simple API call in javascript to get the total number of subscriptions but it refuses to work and I can't figure out why.

const stripe = require('stripe')('api-key');

const subscriptions = await stripe.subscriptions.list({
  price: "price-id",
});

var subscriptionType = subscriptions.length;
oak raptor
#

when subscribing a user with apple pay, I am getting "unrecongized location" for tax location status despite it recording the billing details from the card in the payment method in the dashboard

fallow shale
#

We have not recieved a payout in a month when payouts were getting paid within 48 hours of transaction dates. Who can I contact?

brisk elk
#

Hi. I am trying to test apple pay with my web app. I have followed the instructions for testing in test mode but when I use a real card, i get 'payment failed' in apple pay. Not sure how to go about testing this. I also had someone with a mac try on their mac and their iPhone but got the same issue.

languid rune
#

Hello, my client would like to build out a custom integration in Salesforce so we can embed the payment process directly within the checkout flow in our Salesforce B2B storefront instead of using a separate link. For a custom solution, it looks like you guys recommend using Stripe JS for React to handle the UI of the payment screen (front end) and to tokenize the credit card and then pass that information to Node JS (back end) in order to send the tokenized CC information to Stripe to create the credit card. From your Salesforce API docs: "Tokenization is the process Stripe uses to collect sensitive card or bank account details, or personally identifiable information (PII), directly from your customers in a secure manner. A token representing this information is returned to your server to use. You should use our recommended payments integrations to perform this process client-side. This ensures that no sensitive card data touches your server and allows your integration to operate in a PCI-compliant way."

I don't see a way to handle the tokenization process client side in Salesforce though which is what Stripe says has to be done. How does Stripe recommend handling this in Salesforce?

plain sail
#

My account is lock with my funds in it

fathom grotto
#

hi can some tell me whats going here . i am trying to make payment with stripe elements and its give me error like this card expiration date incomplete

sage pike
#

hello...I got some questions.

#

I would like to know if for Brazil...my product is permitted...before filling the form by Stripe..

mighty hill
torpid warren
#

Im having trouble creating a price/product on behalf of a connected account. but the products are still being made on the platform (seen in the platforms product catalogue) and not on the connected account (going into their products, its empty). If anyone has any insight id deeply appreciate

const product = await stripe.products.create({
name: "name",
}, { stripeAccount: "theStripeAccountId" });

let newPrice = await stripe.prices.create({
  unit_amount: 123,
  currency: "nzd",
  recurring: { interval: "week" },
  product: product.id,
}, {
  stripeAccount:  "theStripeAccountId",
});
woven scaffold
#

hi there, we have set up a subscription schedule but are seeing inconsistent data in the customer's subscription. can someone help us confirm if we've sent the right payload?

novel obsidian
#

My subscription sub_0M2CEb4rOYBvHyzsiyktU16e should be canceled at the period end, as per the schedule. Is that correct? But why is the cancel_at field not set in this scenario?

uneven stratus
#

Hello! Is it possible to use the Stripe API to automate Payment reports to download every month? Currently I'm having to export these from the Payments tab in the Dashboard manually, and it can take hours for reports to run and be exported. I need to export all 59 columns. I have a potential Python script that may work, but I'm unsure of the report_type for Payments.

glad cosmos
#

Hello! Question here 🙂 We need to know the net payout for a merchant using direct charges and it seems like we can't. stripe.BalanceTransaction.retrieve fails because the BalanceTransaction is not associate with our account and there doesn't seem to be a Webhook we can listen to.

We used to be able to use stripe.BalanceTransaction.retrieve() because we were leveraging on_half_of instead of direct charges. Is there a work around for getting the BalanceTransaction information for direct charges?

merry zenith
#

hi for a subscription payment with elements is there a way for use to show subtotal, tax, and total?

silent eagle
#

Guys i need phone number support stripe

cerulean pineBOT
cerulean pineBOT
#

This channel is closed, but we'll be back at 8:00 AM UTC. We look forward to helping you when we return, but if you need assistance sooner please contact Stripe support: https://support.stripe.com/contact/email

cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

forest peak
#

Hi there i have an issue verifying the webhook sent. I have set the webhook url and also copied and set the signing secret from my app. this is my code ```@router.post(
"/completed",
description="transaction webhook",
status_code=status.HTTP_202_ACCEPTED,
)
async def completed(
request: Request, stripe_signature: str = Header(), db: Session = Depends(get_db)
):
payload = request.body
sig_header = stripe_signature

endpoint_secret = os.getenv("ENDPOINT_SECRET")
event = None
try:
    event = stripe.Webhook.construct_event(payload, sig_header, endpoint_secret)
except ValueError as e:
    raise e
except stripe.error.SignatureVerificationError as e:
    print(stripe_signature,endpoint_secret)
    raise e``` 

but i keey getting stripe.error.signatureverificationerror: no signatures found matching the expected signature for payload line

scenic swallow
#

Hi, I've got a query regarding the Update payment method link that the customer receives via the email using Use your own custom link option. I would like to know if we can have any information about the customer or not with that link. If not then how we can update the customer payment method on our self-hosted page assuming we need to attach payment method generated by Stripe Elements?

candid elm
#

Hello,
I am having issue of payment method not found
when i try some of times then it works fine

i am creating payment method using connected account with this
javascript

var stripe = Stripe( eh_stripe_val.key, {apiVersion: eh_stripe_val.version,stripeAccount: eh_stripe_val.stripeAccount
} );

I am creating customer in connected account

i am creating payment intent in connected account

i am passing stripe_account as header

vocal wagon
#

Hello, is it possible to require a tax ID on checkout/in a checkout session (i.e. allow only business customers)?

errant spear
#

Hello, question on invoices: if an invoice is marked as paid out of band, is there a possibility to still send the invoice to the customer?

candid elm
#

yes i am sending

waxen quail
#

@candid elm Let's use the thread I opened for you

mossy vault
#

Hello there team, I hope you had a great weekend.

We would like to know if we are using Stripe Elements, it’s possible por us to add custom fields when creating our payment form? Or we can just use the elements you provide to us?

Thank you in advance!

keen blaze
#

Hello,

We are using stripe-hosted Pricing tables. These are color settings and preview.

Now, after integration and using it a few times the tabs at the top fail to maintain the blue background with white text

Can someone please suggest a way to fix this?

prisma sphinx
#

hello Stripe dev, is there someone we can jump on a call with to discuss on

  1. Subaccount structures, and
  2. Merchant of record?
ancient plume
#

Hi! Can someone give an advice on how to get all transactions for a particular payout using API? There appers to be some sort of connection as transactions (charges) are listed for every payout in the dashboard.

vocal wagon
#

Hi, I need to configure a paymentIntent per card where it is then possible to increase authorization. I tried 15 days ago and the option was available, now it doesn't even appear in the docs anymore

long idol
#

Hello, can you help me please, I installed your API, everything works fine, but I am encountering a problem, I use stripe connect and when a customer pays to one of the professionals who uses stripe connect, the professional does not receive all the funds, apparently the VAT is sent to our administrator account. Can you help me so that 100% of the funds are sent to the professional, thank you

simple glacier
#

Hello,
I have a button which is "Submit and Pay" . When user submit successfully then and only then user will be redirected to payment screen
but the thing is, window.open and window.location.href is not working due to security reason. So how Am I goint to redirect?

ornate oyster
#

do stripe is offering credit/debit cards scanner in mobile ?

glass oriole
#

Hi, I'm trying to find out what we should expect to happen event wise when a customer moves bank accounts as a result of a Current Account Switch. I've had an ongoing support ticket for a month now but they have been unable to answer the technical implementation of what events we will be sent and how we should handle it.

We take payments via BACS direct debit and in the UK we have something called the Current Account Switch service. This allows customers to switch their account to another bank easily. When a customer initiates a switch they have no communication with us, it is all done via their bank. What we are finding when this happens is we don't get any events which show the mandate has been updated and the first time we know about it is when we try and take a payment via the payment method and we then get a mandate.updated event which shows the old mandate as revoked. The payment normally completes successfully and the payment method itself is updated with the new bank details. However we don't then have a way of getting the new mandate details, as payment method doesn't have a mandate id on it (mandate belongs to payment method) and we normally get the mandate id from the setup intent but there isn't one in this case because the new mandate setup wasn't initiated by a setup intent. We need the new mandate to know in future if it gets cancelled so we can reach out to the customer to setup a new one.

The documentation https://stripe.com/docs/payments/payment-methods/bacs-debit?locale=en-GB says we should get a payment_method.automatically_updated event when this happens but we have never received this event. I asked the support team several months ago and they told me that page was out of date and on their list to be updated (but this was over 3 months ago and its still in the docs). We really want to know what events we should be listening for in order for this process to be seamless to our customers like its intended.

old bramble
#

I have implemented stripe applepay with react native,but getting error like {"error": {"code": "Failed", "declineCode": null, "localizedMessage": "Payment not completed", "message": "Payment not completed", "stripeErrorCode": null, "type": null}}

inner barn
#

Hi! Can I have more explanation on what exactly to do when encountering such error on terminal ? Error M1-R5 https://support.stripe.com/questions/bbpos-wisepos-e-connectivity-error-codes

torn vortex
#

Hey everyone how can I show different images per the same product/price in the checkout page?
Im creating checkout session on the server side using await stripe.checkout.sessions.create({ ?

Im selling different pictures for the same price, so would love to show the specific picture image on the checkout page

pine plaza
#

Hi,
If a user subscribes to a payment plan with me and he wants to upgrade it, how can I increase the amount stripe changes him each interval and can stripe prorate the price he has to pay if his half way through his current monthly

grizzled pagoda
#

Hey,

Can I do stripe checkout in a popup?

keen needle
#

Hey team!
I am writing on behalf of our e-commerce platform (Ecwid by Lightspeed) – we have an integration with Stripe and with Klarna (via Stripe). Some of our merchants have reported an issue with Klarna and I'd like to get some help here, if possible.
I will share more details in the thread.

austere holly
#

Hello, little question, when doing

        account = stripe.Account.create(
            type='express',
            country="FR",
            email=user.get("email"),
            business_type="individual",
            capabilities={
                "card_payments": {"requested": True},
                "transfers": {"requested": True},
            })

This will pre-create an express account.

My question is can I send money to that account, right after this command? Or do the user have to validate his account with the link thing? Thank you!

merry cypress
#

Hi folks,
Is it possible to delete applyed coupon on Invoice via API?

rustic phoenix
#

I have some privacy questions that I would like to inquire about. Who can I DM? (or who DM me)

molten cliff
#

Need to pull all the transactions/charge requests which failed

steep crystal
#

Is it possible to hide the postal code in the payment element? I would like to use my own address component where postal is included in that.

barren dagger
#

I am integration my django app with stripe and some of the unit test cases create some test data on stripe, I made a script to clean the created data after the tests are completed, but some of the objects do not get deleted, for example subscriptions, is there a way to clean the session data without deleting the whole test data ?, also what is special about subscriptions objects, why can I delete them ?

chilly pendant
#

hello how can set my stripe to instant payout or 1day payout

vocal wagon
#

I can't find in the docs what is the case when payment intent's client_secret is null, but the code shows it returns either string or null. I would like the cover such edge case if necessary.

hardy fern
#

Hi there ! I'm looking at implementing SEPA Direct Debit and I was wondering how mandate works. The doc refers to an acknowledgment text to implicitly sign the mandate. So if I create a setup intent for sepa_direct, I guess that the mandate will be between the customer and the platform business. Now If I create a setup intent on_behalf_of a custom connected account, will the mandate be between the customer and the connected account business ? If true, does it mean that a customer has to register the same IBAN multiple times in order to create payment intents on behalf of different custom connected accounts ?

zealous cypress
#

Supposing we have a subscription model that charges a restaurant user a fee based on the number of tables they have.

Example:
Subscribe to Plan A charged at $1 per table.

A 10 table restaurant would be charged $10
A 30 table restaurant would be charged $30
etc.

Do you have any suggestions on how to set this up on Stripe?

frigid locust
#

how to find out if a stripe user has atleast one payment method attached to them.

fresh heath
#

Hello, I'm trying to test some off-session payments with cards. I want to find a test card which will succeed when used on-session, but will decline when used off-session. Does such a card exist?

torn vortex
pine plaza
#

Hello,

I’m trying to update user subscription

const subscription = await stripe.subscriptions.update(
'sub_xxxxxxxxx',
{
items: [
{
id: '{{SUB_ITEM_ID}}',
price: '{{NEW_PRICE_ID}}',
},
],
}
);

Can I pass the price a value of my own rather than the price ID

frigid locust
#

what would happen if I update/change a subscription plan but lets say all the customer's payment method has already been removed?

I know the update goes through. But how will the payments be handled?

smoky geyser
#

hello, our client get's mails from stripe that say "Webhook Stripe désactivé"
but according to my tests everything seems fine, can you confirm and elaborate why they get this notice.
also, the mails they receive are in french (that's fine, they speak french) but can i have them in english?

queen rock
#

Hi, I'm having a problem on my WooCommerce website, all of a sudden for no apparent reason my keys are "no longer valid" and the connection just times out, I have tried creating a new secret key, deactivating all plugins but Stripe and WooCommerce, nothing works. I have a cURL error 28 saying the connection to api.stripe.com failed on port 443 and the connection timed out. Is there any solution for this please ? (When I try changing the keys in the admin dashboard I get an error message)

vocal wagon
#

Salve, apple pay don't work with connect account

simple olive
#

In my integration PHPUnit test, I got

Stripe\Exception\CardException: Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see https://stripe.com/docs/testing. To enable raw card data APIs in test mode, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.
But I tried to use a token

$token = \Stripe\Token::create([
        'card' => [
          'number' => '4242424242424242',
          'exp_month' => 12,
          'exp_year' => (int) date('Y') + 1,
          'cvc' => '123',
        ],
      ]);

But it does not succeed either. How can make it work safely?

glass umbra
#

Hello i am try to use stripe in my application, so what models i need have in my database, i was think in have a Customer, Subscription, Product and price, this is enough?

arctic aurora
#

Hello good people! I am a little bit confused around subscriptions. I have two kind of subscriptions- one is Monthly, and another is Annual. I want to achieve following:

  1. On 01 October, User subscribes to monthly subscription. We charge him 5 usd. (ALL CLEAR)
  2. user cancel subscription. We cancel subscription (ALL CLEAR)

Lets say , a very next day, 02 October, User wants to change to another subscription, Annual Subscription. So, he still have Monthly Subscription active. How we do that?
a) Do we cancel active subscription(Monthly) and then create a new subscription (Annual)
If, we do, what happen with 5 USD he just was billed 2 hours ago, earlier?

autumn halo
#

in stripe connect i need a way via the api to see if the connect account successfully completed onboarding. How do I do this?

olive heron
#

Hey I want to give the user the option to pause his subscription within the cancellation process for a reduced price. So that means

  • We’ll keep all of his data
  • He cannot use the application while he is on pause
  • instead of 99€ per month he would pay a reduced price of 20€
  • He can resume the subscription at any time

Is this possible with Stripe? If so, which API endpoint(s) would I need for that?

I’m also wondering how we can collect cancellation reasons. We don’t use the Stripe dashboard. I read this post https://stackoverflow.com/questions/71253221/is-there-a-way-to-request-stripe-for-the-cancellation-reason-of-a-subscription-v and it seems like this is not possible with the Stripe API. Is this information still up to date?

Thanks in advance

zealous cypress
#

Supposing we have a subscription model that charges a restaurant user a fee based on the number of tables they have.

Example:
Subscribe to Plan A charged at $1 per table.

A 10 table restaurant would be charged $10
A 30 table restaurant would be charged $30
etc.

Do you have any suggestions on how to set this up on Stripe?

The previous recommendation from Stripe was to look at per seat pricing, but we're not really charging per user in this case.

There is only one user account, but that account could create a speicific number of tables (for a restaurant) and then we charge based on how many tables they create.

swift mist
#

Hello everyone,

I am working on Stripe Connect (Custom Account) creation though api in PHP.
I want to know if there is a way to differentiate those status

  • pending: stripe is verifying the account
  • unverified: stripe has verified the account, but there is some verifications disabled reason feilds needed until the due date (suspend temporary)
  • unverified: stripe has verified the account, this account is not a good account and never will be (suspend forver for fraude or others bad reasons)

Thanks for your help.

swift mist
pulsar sorrel
#

For some reason when I create a pricing table like so...

<stripe-pricing-table
          pricing-table-id={{table}}
          publishable-key={{pk}}
          client-reference-id={stripeCustomerId}
></stripe-pricing-table>

The event that goes into my webhook does not have a client id attatched to it, and the customer is different than the id that I passed in.

I'm also looking for a way to redirect to my site after visiting the payment link generated by the stripe-pricing-table element

shell oriole
#

How can I do this in Stripe, set up a referral program, not an affiliate one

I want to set up bonus credits of say 100 (every user in my app needs credits to run workflows on the app) that say user A gets if user B buys a subscription with a referral from A.

What's the most efficient approach to do this engineering wise.

Have a referral/[id] link won't work for me, as user B might not straightaway buy the subscription but try out the product first and then go to pricing plans and pick one and then go to billing

In this process the initially shared link by A gets lost and isn't used. A doesn't make credits even if they eventually buy the subscription.

One way is to give a referral code and incentivise B with extra credits for B as well.
But is there any way other than that.

broken tartan
long idol
#

(Hello, I am contacting you again because my developer is unable to modify the API, he tells me that it is woocommerce which manages this, can you help me) , can you help me please, I installed your API, everything works fine, but I am encountering a problem, I use stripe connect and when a customer pays to one of the professionals who uses stripe connect, the professional does not receive all the funds, apparently the VAT is sent to our administrator account. Can you help me so that 100% of the funds are sent to the professional, thank you

smoky geyser
#

sorry, was distracted by client calls, can you reopen my ticket?

rotund lava
#

Can anyone help me for setting up subscriptions for platform connected account? I'm able to setup for the normal use case, but I'm not getting what to do after creating a customer for connected accounts.

vocal wagon
#

Hello, can you help us set up Stripe Connect for our application? We've developed a product-selling platform in the United States, but we'd like to enable purchases from Spain as well. We've configured Stripe Connect in our dashboard using this link (https://dashboard.stripe.com/settings/connect), but when I register from Spain, I don't have the option to include any country other than the USA, which is pre-selected by default. Any ideas? Thank you very much.

verbal umbra
#

Hi,

#

On checkout page no input field to input card information how can i solve it?

timber field
#

Hello. I need help for integration Apple and GPay.

pseudo python
#

Hi,

Is there a way to fetch the gross volume of connect accounts using the API without having to compute it manually from balance transactions ?

Thanks

verbal moon
#

Hi, how can charged customer based on days of usage of product on period end. for example if user has montly subscription of 200 and he use product for 5 days with chanrge of 5 per day a. How to charge him 200+5*5 at the end of period

gray current
#

Trying to submit a payment through an App using Stripe. and received the following message: "This charge would cause your account to exceed its volume limit for acces_debit payments. If you are new customer or plan to process a high volume of transactions please request a review: https://support.stripe.com/contact . What do I need to have reviewed in order to be allowed to apply a pre-auth debit payment?

light ocean
#

Hi, I want to ask that suppose Stripe failed to charge the user for subscription at first attempt and Stripe has called our webhooks of charge failed, invoice failed, etc. On 2nd attempt stripe again failed to charge us will they again trigger the webhooks? And after how many days Stripe re-attempt to charge user for subscription?

autumn halo
vocal wagon
#

Hello, I want to try using Card Image Verification feature. In the README file, it says this module is currently in private beta. How can I set up the permission to use this flow?

mint zodiac
#

Can you confirm the procedure for cancelling a subscription? I have a monthly subscription with payment date 1/09. The customer wants to cancel the subscription after payment of 1/10, I set cancel_at_period_end=True and Stripe will send the event of cancellation.subscription in 1/11?

soft gyro
#

Does anyone know if instant payouts are not working right now? I’ve tried 3 days in a row and it acts is if I didn’t do anything in stripe. I can still select instant payout over and over. Maybe it’s not just my accounts that this is happening to.

thick vine
#

Hey all, the app I am building has a sign up page where users can input their personal details as well as credit card details through the Payment Element of react-stripe-js. I would like to take these details to create an on going subscription that deducts from their card monthly. I have already watched the stripe tutorial that demonstrates this with a one off payment and payment intent. How would I go about doing this?

gleaming patio
#

Hey just seen that Stripe do a pending refunds thing, any chance you can give me more info on how that works, like is there a setting we have to toggle on for that or is it automatically on by default? Do we have to set a value that we can drop down to or is it a set value?

vocal stump
#

Can someone tell me why pi_3NwkURIFDslEWhBA0timjf3g was moved to canceled by Stripe? This just broke this payment on our live environment.

mossy vault
#

Hi there Team, I hope you are doing well.

A quick question here. Is there any other way to create subscriptions in Stripe without charging our user for 1 month, apart from creating free trials? We are using Checkout and we need to use Billing Cycle Anchor, and then bill our customers 1 month after the creation of the subscription in the specified date. I found this documentation ( https://stripe.com/docs/payments/checkout/billing-cycle) where is exactly what we want, but we found there that one limitation is that we cannot use free trials.

Do you know how could we achieve that? Or is the case free trials is the only way?
Thank you as usual!

lapis jackal
#

I sent an ach transfer to pay for a debt on the 26th. Still hasn’t appeared

vocal wagon
#

Hi there, is there a reason there no value for default_payment_method in invoice.paid ? I checked for many customers, and this field is never filled

little void
#

Hello there

Is it possible to initiate a money transfer from one connected account to another connected account?

stiff lichen
#

Hello, A quick question.

How to change the Bank Details in the Invoices?

tender mist
#

Hi devs, I'm trying to test Tap to Pay on iPhone with a physical Stripe test card and the stripe terminal SDK(https://github.com/stripe/stripe-terminal-ios/releases) 2.23.0. Normal transactions ending in decimal "00" are completed successfully on the application but I'm using amounts ending in "02" as the documentation suggest(https://stripe.com/docs/terminal/references/testing#physical-test-cards) in order to test pin transaction, instead of asking me for the pin code I got the error "This transaction requires chip and PIN. In testmode, using a physical test card with designated amount ending values produce specific decline responses. See https://stripe.com/docs/terminal/references/testing#physical-test-cards for details.". Thanks in advance!

wet garnet
#

I'm having an issue with my stripe connect implementation. I'm in test mode, and I've gone through every field in the onboarding page, putting in the valid test helper on the stripe docs. It works for a few minutes, and then when I visit the accounts page in stripe, it says restricted for most of the new accounts. What confuses me is I have a few accounts that are complete where I didn't use the test helpers at all. I've logged the reason for the restriction, and I get:

"disabled_reason": "requirements.pending_verification",

does anyone know what's going on?

lime pollen
#

Hi, I want to know if there is a date for the release of PIX payment method for everyone in Brazil. Also, I want to know about the installments feature. On the Brazil homepage it says it will be delivered this year. Do we have more info about a release date or how it will work?

wheat summit
#

Hello, I built a Stripe Checkout plugin for a friend using PHP and the Stripe PHP Library v12.0.0
When we tested it, it worked fine but now it's throwing an error claiming the signature from Stripe doesn't match. We reset the webhook key but it's still saying that.

Code:

$endpoint_secret = $gatewayParams['webhookSecret'];

$payload = @file_get_contents('php://input');
$sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE'];
$event = null;

try {
  $event = \Stripe\Webhook::constructEvent(
    $payload, $sig_header, $endpoint_secret
  );
} catch(\UnexpectedValueException $e) {
  // Invalid payload
  http_response_code(400);
  echo json_encode(['Error parsing payload: ' => $e->getMessage()]);
  exit();
} catch(\Stripe\Exception\SignatureVerificationException $e) {
  // Invalid signature
  http_response_code(401);
  echo json_encode(['Error verifying webhook signature: ' => $e->getMessage()]);
  exit();
}
abstract dagger
#

Does certain stripe connect accounts access_token expire earlier than usual? we've noticed certain access_tokens being revoked while others not needed to be refreshed.

vestal mesa
#

I want to test my live stripe integration. How do I do that/

glass umbra
#

I am using custom portal client to user manage your subscription, but in the case when user cancel plan send a webhook ```python
customer.subscription.updated

violet spruce
#

Is it possible to use promotion codes instead of the coupon id when trying to create a subscription via the stripe api?

mighty lark
#

Hey, is there a way to retrieve a payment id with the stripe API using user email & order date from a database?

small oracle
#

Can someone help me out I am wanting to setup packages for my coaching service and am struggling.

spring oxide
#

I am looking at the customer portal stripe feature. In test mode, I activated it to see how it works. The customer portal presented itself with a cancel button (my product is a subscription). When I clicked it and cancelled the subscription, I expected an event to be set to my webhook. No event was sent. I expected a Events.CustomerSubscription??? event (there is no Canceled event). Since the message associated with the cancel button said that the cancellation would not occur until the end of the current subscription period, I'm assuming that is the reason why I'm not seeing something immediately.

My questions are:

  1. Is the above assumption correct?
  2. What Event.CustomerSubscription.xxx will be sent? or rather, how will my app be informed?
  3. What Event will be sent should the customer choose to renew the subscription? before the subscription is actually canceled (is there even a need for an event to be sent)? What about after it is canceled?
  4. The customer portal activation link; is that something that will persist for the life of my subscription product? (Can I include that link in my documentation or a button in my app?). It looks like it will work for all my subscribers since they each have unique emails.
fervent sage
#

hello, was wondering what action would trigger the refund.created event? I have it setup in my webhooks to be accepted but when i run stripe refunds create --payment-intent=pi_zzzzz or stripe refunds create --charge=ch_zzzzzz it only captures the charge.refund.updated event. Any recommendations?

silk vault
#

We are trying to create a recurring subscription using the iDEAL payment method, but we're having some issues. Since we can't use the ideal payment_method_type alongside charge_automatically, we instead use sepa_debit when creating the subscription, and we then modify the pending setup intent to include iDEAL. While this works well for subscriptions including a trial period, it doesn't work for ones that require paying immediately, since it looks like you can't modify the payment methods for invoices that have been already created. What is the correct way to go about doing this?

sleek portal
#

Hi, we have a international customer at our online shop who tried to pay with mastercard. But the payment wont go trough. All our national customers can pay, but not the international. Have some of you a solution?

torn vortex
#

after a successfull payment completed i want to mint an NFT on the blockhain to the user's address, and instantly show the NFT data to the user. However the minting transaction can take smth about 15-20 seconds to be completed. How should I handle this case? What should the success url direct a user to? and how should i show/redirect an NFT minted to the user ? What would be your approach to this in terms of good user experience?

earnest lintel
#

Hi there -

When a customer portal configuration is created, can you create it to include just one (specified) subscription from the customer? I can't tell based on the documentation.

loud ember
#

Hi everyone,
In case of connected account I cannot over capture a payment intent due to MCC being not on list of eligible to collect tips using over-capture so it is giving me this error (The payment could not be captured because the requested capture amount is greater than the amount you can capture for this charge and MCC (5499). But even after changing the MCC (that is in list of eligible) in connected account using API, I am still getting the error. Do any of you have any idea regarding this?

limber yarrow
#

I can't log into my stripe account to change my banking information

vocal wagon
#

Hello there, we have a customer (https://futura-services.com/) that is using our solution (standard connect).
On Safari, when a payment is created, the Apple Pay option does not appear even if everything is configured as by the documentation.
However, it appears when using another domain (like https://embed.sellix.io). Any reason why?

hot tree
#

Hi, i'm trying to create a custom screen for saving the user payment information so a place where the user can type in the CC number, postal code, cvv and expiration and send that to the sdk to add the card to that user payment method but i do not find a method on the docs to be able to create the card with that details

mossy pawn
#

Hello,

We have a Stripe setup where we use Standard connect accounts in the UK, and Unified connect accounts in the AP.

Everything is working as intended with the AP account so far, but in altering the main line to use a custom HTTP client with beta headers, we noticed that if we try and onboard accounts using our older UK account using the beta headers, we get the following API response:

{
"error": {
"message": "Invalid Stripe API version: 2022-11-15; unified_accounts_beta=v1. You do not have permission to pass this beta header: unified_accounts_beta. If you have any questions, we can help at https://support.stripe.com/.",
"type": "invalid_request_error"
}
}

We do not get this trouble on our newer AP Unified Accounts.

Do I need to request permission to use these beta headers on our UK Account specifically in order to use the same code path for both the AP and UK region? I was under the impression that if we used the beta header, it would continue to make standard accounts in the UK and make unified accounts in the AP. And we wouldn't need to remove the header in the case of calls to our UK platform account.

Or do we need to continue to use the old method of creating these accounts without the beta header? And conditionally use the header just for the AP accounts or something?

silk vault
#

How would we go about creating a paymentintent for a given subscription price and coupon combination? Do we have to calculate the amount manually?

vocal wagon
#

Hey, Im pretty sure this question got asked already like a million times, but I got a next js 13 application running with stripe and stripe/react-stripe-js.
Im fetching the client secret for the <Elements stripe={getStripe()} options={{ clientSecret }}> component which then renders all the other component inside. But my <PaymentElement /> and <AddressElement />persist in this skeleton state. No error in the consoles...
Also I set the CSP header in my next js app.

queen thicket
#

Hello everyone!

To provide some context, I have successfully integrated Shopify as my e-commerce platform, and I am using Stripe for payment processing. Overall, the setup has been working smoothly. However, I have encountered a challenge during the verification process for Apple Pay.

As part of the Apple Pay verification process, I am required to place a verification file in the .well-known/apple-developer-merchantid-domain-association directory of my website. Unfortunately, Shopify does not provide direct access to this directory, which has posed a challenge for me.

I am eager to enable Apple Pay as a payment option for my Shopify store, as I believe it can enhance the shopping experience for my customers. However, without the ability to place the required verification file in the specified directory, I am unable to complete the verification process.

I kindly request your guidance and support in resolving this matter. Specifically, I would like to know if there are alternative methods or workarounds that would allow me to successfully verify Apple Pay for my Shopify store. Your expertise and assistance in navigating this issue would be greatly appreciated.

I understand the importance of providing secure and convenient payment options to my customers, and I believe that Apple Pay integration can contribute to that goal. Therefore, any insights or solutions you can provide will be invaluable to me and my business.

Thank you in advance for your prompt attention to this matter. I look forward to your response and guidance on how to proceed.

sacred gorge
#

Whats the best way to check if a customer has an active subscriptions. Active meaning they are still able to use your product even if they have cancelled?

lilac oasis
#

oi, boa tarde

coral estuary
#
const express = require("express");
const stripe = require("stripe")("key");
const cors = require("cors");
const allowedOrigins = ["https://freelance-app-nu.vercel.app"];
const corsOptions = {
  credentials: true,
  origin: allowedOrigins,
  methods: "GET, POST, PUT, DELETE",
  allowedHeaders: "Content-Type, Authorization, Cookie",
};
const app = express();
app.use(express.static("public"));
app.use(cors(corsOptions));
app.use(express.json());

app.get("/api/success", (req, res) => {
  res.send("Payment successful!"); // You can customize the response as needed
});

app.get("/api/cancel", (req, res) => {
  res.send("Payment not proceed."); // You can customize the response as needed
});

app.post(
  "/api/stripe-webhook",
  express.raw({ type: "application/json" }),
  (req, res) => {
    const sig = req.headers["stripe-signature"];

    let event;

    try {
      event = stripe.webhooks.constructEvent(
        req.body,
        sig,
        "key"
      );
    } catch (err) {
      return res.status(400).send(`Webhook Error: ${err.message}`);
    }

    if (event.type === "checkout.session.completed") {
      const sessionId = event.data.object.id;
      // Save payment data to Firestore here
      console.log(`Payment completed for session: ${sessionId}`);
    }

    res.json({ received: true });
  }
);

app.get("/api/get-session/:sessionId", async (req, res) => {
  try {
    const sessionId = req.params.sessionId;

    // Retrieve the session from Stripe
    const session = await stripe.checkout.sessions.retrieve(sessionId);

    res.json(session);
  } catch (error) {
    console.error("Error:", error);
    res.status(500).json({ error: "Error retrieving session" });
  }
});
app.post("/api/create-checkout-session", async (req, res) => {
  try {
    const { price } = req.body;
    console.log(req.body);
    const session = await stripe.checkout.sessions.create({
      payment_method_types: ["card"],
      line_items: [
        {
          price_data: {
            currency: "usd",
            product_data: {
              name: "Product Name",
            },
            unit_amount: price * 100,
          },
          quantity: 1,
        },
      ],
      mode: "payment",
      success_url: "https://freelance-app-nu.vercel.app",
      cancel_url: "https://freelance-app-server.vercel.app/api/cancel",
    });

    console.log(session, session.payment_status, "session");
    res.json({ sessionId: session.id, success: true });
  } catch (error) {
    res.status(500).json({ error: "Error creating checkout session" });
  }
});

app.listen(5000, () => {
  res.send("Server is running on port 5000");
});
``` This is the code I’ve got, how can I make the payments split between my company and the seller? Like 15% to us, 85% to the freelancer.
rustic flare
#

Hi, i need to implement 3dSecure. I only want to add the card, without any charge as I'm working on a Pay As You Go Solution. I can check the card by charging $1 and then refund, but thats not really elegant. I can't find any other solution. Any help is much appriciated.

true moon
#

Hey folks. Today I wanted to create an invoice for instalment in my test account. I just can't see the option " Request in Multiple Payments under Payment Collection" in order to create due dates. Any ideas?

signal haven
#

Hi

tepid lark
#

Hello everyone,

I'm adding a user payment method using setup intents on iOS via the StripePaymentSheet; however, I'm noticing there's maybe a ~20-30 second delay between adding and fetching valid payment methods for the customer via the customer context (It is returning empty even though I had just added a payment method via setup intent). Are there recommendations you can provide to not have such a great delay?

high trench
#

I want to create charge using cutomerId.
Is it possible?

warped mesa
#

I'm setting up a server to be able to handle webhooks. I noticed that this link (https://stripe.com/docs/ips#webhook-notifications) has a list of IPs from which the webhooks could originate. Are these IPs the same for both test events as well as live events? Please attached screenshot for the list of IPs.

patent turtle
#

With a payment intent, we can pass the customer email, which appears on the customers dashboard. How do we pass the customer name?

fiery stirrup
#

Hi all. I am getting the following error when trying to create a Payment Method using Stripe Elements: IntegrationError: You specified "never" for fields.billing_details when creating the payment Element, but did not pass params.payment_method_data.billing_details.phone when calling stripe.createPaymentMethod(). However, I am sending the billing details according to the documentation. I am attaching a screenshot of the docs and my code for reference. Am I missing something silly?

left root
#

Is there a way to monitor/set rules on max transfer to a stripe connect account (express)? I know I can do it via webhook, but wondering if there is a way to setup some sort of security rule which doesn't not allow transfers after some limit

glossy delta
#

Hi folks, I am looking to programmatically update an account to restrict it. An account object has "charges_enabled" and "payouts_enabled" fields, however these are not part of AccountParams (since there is the POST call to update an account). Is there another way to do this? Thanks!

wintry wren
#

Hey there i am looking for some help in regards to a subscription service that i am creating. Will provide details in the thread.

tepid lark
#

Hello, question related to my previous thread, is the delay I'm experiencing possibly related to me not setting a return url or not setting confirm?

vocal wagon
#

I have a question about Stripe API...

#

I've got a static website hosted on AWS. It's working great but I want to add Stripe for monthly subscribers. I have my account set up with Stripe with my one product listed. I also have the link to the Stripe-hosted payment page. I'm just unsure of how I check for paid-up subscribers? Also, I hope I don't have to set up individual customers do I? Don't they just get added to the customer list whey they pay?

prime agate
#

Hey. How can I add a text below the price?

tacit plover
#

what will happen (on existing subscriptions) if I remove the trial period from plan?

spring oxide
#

I am trying to create a portal session per the documentation at:
https://stripe.com/docs/api/customer_portal/sessions/create?lang=dotnet
It looks like:

    StripeConfiguration.ApiKey = StripeKeys?.SecretKey;
    var options = new SessionCreateOptions
    {
        Customer = acct.StripeCustomerId,
        ReturnUrl = $"{Utils.RootURL}/FTN/PortalSuccess.html"
    };
    var service = new SessionService();
    Session session = service.Create(options);

CS0117 is telling me that there is no ReturnUrl in SessionCreateOptions. I tried using SuccessUrl instead, but Postman is telling me:

Stripe.StripeException: You must pass either `subscription_data` or `line_items` or `mode`.
vocal wagon
#

hi

#

i have a issue with the payment receive from the client

tardy grove
#

I need some help with webhooks. I had mine working locally through the cli but now I am getting Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? https://github.com/stripe/stripe-node#webhook-signing in my error log on my live server

tired crater
#

With the stripe "pay invoice" api endpoint (api.stripe.com/v1/invoices/id/pay) I'm noticing that payment_method and source are both optional. How will this behave if I do not pass this ID in, will it just find any payment method or source on file?)

chrome whale
bitter marsh
#

Hi all. I have a question about metadata for prices. I see that I can put metadata on a price through the API or in the console. I'd like to specify the metadata in the PriceDataOptions before the price is created, but the price options object does not have a metadata field.

var subscriptionOptions = new SubscriptionItemOptions();
subscriptionOptions.PriceData = new SubscriptionItemPriceDataOptions()
   {
       Product = productId,
       Currency = currency,
       UnitAmount = subscriptionPrice.GetPriceInCents(),
       Recurring = new SubscriptionItemPriceDataRecurringOptions()
       {
            Interval = subscriptionPrice.GetPaymentInterval(),
            IntervalCount = subscriptionPrice.GetIntervalCount()
       }
};

I noticed that the SubscriptionItemOptions is IHasMetadata. If I specify the metadata for the subscription item, does it also get copied over to the price metadata?

What is the recommended way to set the metadata on the price? The requirement is to configure the price metadata based on certain criteria (e.g. a subscription, a widget, or a meeting) before any sync tool can see the price.

vagrant steppeBOT
#

obo

#

a.r.1

#

danielky2

vocal wagon
#

can i integrate stripe in greece at my shopify store ?

warped mesa
#

I'm trying to handle webhooks on an ec2 instance. In test I was able to use just the ip and port via http. But in live mode, we need to use https. So do I need to get a certificate myself to enable tls on my ec2 or do you have the certificate already? Can we get the cert from somewhere on stripe and add it to our servers?

gray dawn
#

hello i have a question about a stripe api query

patent turtle
#

When I do:

const clonedPaymentMethod = await stripe.paymentMethods.create({
  customer,
  billing_details: {
    name: "Joe Shmoe"
  },
  payment_method,
}, {
  stripeAccount: connected_account_id,
});

I get Received unknown parameter: billing_details
Is it because I'm using a payment_method in the call?

vagrant steppeBOT
#

angelstavr_69861

old remnant
#

Does the state of the subscription immediately turn to canceled even when cancel_at_period_at is true? Or does it remain active until it is finally canceled at the end of billing period?

subtle shell
#

Hey guys, I created a sub-account (connected account) using api and then I created products on the sub-account and then the descriptor on credic card app shows www.facebook.com do you guys know where I can change it?

topaz talon
#

hello,
how to enable debit negative balance for custom connect account

mortal flax
pine plaza
#

Hi,
I’m trying to update a subscription a user is one but I keep getting an error

"Error: The product prod_OkFwOttW2bTFpZ is marked as inactive, and thus no new subscriptions can be create to any plans of this product. You provided the plan price_1NwuQmJqiiPhMfSdADSY93l6

My code:

export async function updateBillingCycle(
amount: number,
duration: IntervalEnum,
subscriptionId: string,
productId: string,
subItemId: string,
) {
const stripe = new Stripe(config.stripe.secretKey, {
apiVersion: '2022-11-15',
});
await stripe.subscriptions.update(subscriptionId, {
items: [
{
id: subItemId,
price_data: {
currency: 'usd',
product: productId,
unit_amount: amount,
recurring: { interval: duration },
},
},
],
proration_date: prorationDate,
});
}

mossy pawn
#

I was curious, for refunds using the PaymentIntents API, when no application fee is originally collected, but we choose to have refunds refund the application fees, I get the following error:

Attempting to refund_application_fee on ch_3NwulrPU2kYygNpd00WcMDoC, but it has no application fee

Is there a generally accepted way of handling this gracefully? Perhaps requesting first if the payment has application fees or something? I am thinking the only other alternative is to catch the bad request, and attempting to do it again without refunding the fee 😄 but that seems bad.

vocal wagon
#

Hello, I want to open a sales portal in Moldova and I would like to know if businesses there can open an account in stripe to be able to charge their clients. Thanks

chilly oracle
#

Hey I have a question about payout out, my account is based in Australia and in Australian dollars, I have a us bank account in USA, can I get paid into my USA account?

sharp pagoda
#

Hello team

winged geode
#

Hi, I have created a Webhook which is listening for the subscription events. How do i set up a power automate flow to use HTTP to receive the data?

native canyon
#

After reviewing Stripe support on the site, I can't find a solution I'm hoping will help secure my client's website. I use Woocommerce Stripe Gateway, and I want to send a custom cookie that's unique to the website. Stripe would then look for this unique cookie and determine if the charge attempt is legitimate. In just one day, a malicious Python script has submitted over 6,000 failed orders. Any idea if this is something Stripe can do?

cerulean pineBOT
#

This channel is closed, but we'll be back at 8:00 AM UTC. We look forward to helping you when we return, but if you need assistance sooner please contact Stripe support: https://support.stripe.com/contact/email

cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

austere holly
#

Hey, is there an API call possible to know if an user as finished an onboarding right after using stripe.Account.create(type='express',...) ?

eternal nexus
#

Hi, we have an E-commerce website https://www.smartbox.com/fr/ for our business, the thing is, right now we are not able to control which countries we deliver to via Apple Pay or Google Pay as the address is filled on Apple Pay/Google Pay payment form, not from our website.
This is causing VAT issues at the moment for outside of EU orders, we also have a higher price when delivering to other countries. My question is: Is there any way that I can setup country restrictions so I can prevent customers from choosing a country that we don't want to deliver to? If not, could you suggest some solutions for this issue?

vocal wagon
#

Hello, could you please tell me how export in excel doc or csv the "checkout sessions" in the status successfull?

hallow bramble
#

Hi. In my app I create a payment intent and in some cases I update the amount/transfer_data.amount properties.
If I pay with a credit card, it uses the updated amount correctly.
If I use Google Pay it opens a popup with the old amount (before I updated it). To make things weirder, if I go ahead and pay the incorrect amount that is displayed, the correct amount that was updated is actually processed.
What am I doing wrong? Did anyone run into this issue before?
Thanks!

lavish gorge
#

Why is initial_billing_cycle_anchor not available from the API? Is there any plan to open it up to the public?

worthy path
#

greetings! @hollow prairie @waxen quail I'd like to ask you a question regarding Stripe:

My clients pay me a monthly subscription, and I'd like to introduce an Affiliate program, giving a fixed percentage each month to an affiliate.

Is there a way from Stripe to automatically transfer a percentage of the payment towards my affiliate's account and the remaining to mine?

Thank you soo much!🤗

vocal wagon
#

Hello, I've some issue with tax calculation, for some payment tax calculation is "manual" and others, it's automatic I'm not sure to understand why and how to calculate the right tax amount for my customer.

keen ginkgo
#

Hi! I use AddressElement in my React App. By default I can see just 3 fields (pic1). Can I do something to expand AddressElement to see other fields by default (pic2)?

buoyant vale
lament sail
#

Hi, there. We have a question for payout, we sometimes received negative amount for payout, may I know for what scenario we will receive a negative amount?

granite basin
#

Hello Team
Can we create an invoice for customer where we could mention when this invoice should be charged and we should have flexiblity to update this particular date ..
what possibility have stripe to achieve this kind of requirement

weary abyss
#

Hello Stripe Team,

how to set a subscription to be effective in next month after the active subscription expires? Via API/postman

smoky pasture
#

hello all

#

I have a problem with balance transactions' limit

#

to 100 when pulling them through API

frigid locust
#

When purchasing an item using the paymentIntent flow, I create a customer on backend once the payment is successful from the frontend.

I'm receiving the following error when creating a customer:

This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again
wispy crow
#

Hi! is there any way to stop resending a webhook? Because I just have an error with that endpoint I solved it, then I resend the webhook and it works, but it follows sending and then I want to change my logic again

sturdy widget
#

if we would like to let the user can pay by transfer, where can i get the information from Stripe?

meager hawk
#

@manic elbow I deleted your post because it contained a raw credit card number in the screenshot, please don't post it again that way.

#

@manic elbow same thing ^^ .

manic elbow
#

Why the customer facing this issue? (cus_bR7wZEzUpTRzOLJhQtE6KAMmbny2)
Price Id: price_1KWkawLJgwSSNK7BSec5u2QY

pine plaza
#

Hi,
Is there a specific response on the invoice.paid event that specifies that it’s a recurring or a new subscription

upbeat aurora
#

Hi everyone 👋
I can't find a way in the documentation to remove "1-click checkout with Link". I don't want to have it.
I only want Card number, expiry, cvc and country. Is it possible ?
I am using PaymentElement

stray jolt
#

Hi, I have done React integration for payment request button element, had added/saved card as well in Chrome but still Google Pay and Apple Pay buttons are not appearing in UI. Also, canMakePayment returning false for applePay and googlePay

worthy path
#

greetings! I'd like to ask you a question regarding Stripe:

My clients pay me a monthly subscription, and I'd like to introduce an Affiliate program, giving a fixed percentage each month to an affiliate.

I just need to setup a sort of split payment in Stripe, can someone help me to configure this feature?

Many thanks!

stuck nest
#

I need help on API base onboarding

willow gorge
#

Hi, I would like to ask about this proration price that display on dashboard as picture, what API that calculate this price.

oak oasis
#

Hi,
my name is Simon and I am CTO at a german SaaS-Startup trying to digitize forms for our customers.

We are currently trying to implement payment processing with stripe and stumbled across a problem:

Our customers create a workspace in our software. A Customer can create several workspaces, if he wants to, for example for all of his departments. For every Workspace, a Payment Plan has to be chosen, e.g. monthly or per year. I embedded a stripe payment table with our subscription models into our Web-Application, where the customer can choose his plan. He clicks on the link and then proceeds to the Checkout-Page. The Checkout Page was created by us with the No-Code Option.

When the checkout Session completes, our webhook is called with the customer data.

I embedded a custom field in the checkout page, where the user has to insert his workspace Id for us
to assign the subscription to the specific workspace. We really dont like this solution though,
as it's error prone and you have to rely on the customer inserting the id correctly.
We have to use the workspace Id though to do so, as a customer email or company Name is not unique across our workspaces.

How do we know, for which of our workspaces the subscription is, without using the custom field ?

Is there any way to pass a url-parameter to the checkout page, which is then included in the checkout.Session.Completed event (or any other event) for us to handle in our webhook? (Preferably with the No-Code Option)

Or is this not possible at all and we have to implement the entire checkout process ourselves with the stripe.js sdk?

What is the best practice on this? I can imagine we are not the only company with this problem. (Or is everyone else building a custom checkout page?)

vocal wagon
#

Hi, I wanted to ask if Stripe currently allows you to manage crowdlending projects

worthy path
#

Hi, in order to have a Destination Charge I need to set this up with a developer?
Is there a no-code way?

vocal wagon
#

Hi, How do I set up that when the link between webinairgeek and stripe is active, the viewer has to fill in their contact details on the stripe payment page when signing up and that an automated invoice is sent

languid spindle
#

Hello, I'd like to change the price of my yearly plan but only for new clients. Existing clients should maintain their current pricing, including upon renewal. What is the best way to achieve that? Should I create a new price in the same Product?

glass umbra
#

Guys I have questions about changing plans

carmine hedge
smoky pasture
#

I have another question regarding the API for balance transactions, especifically ASC and DESC order.

lost veldt
#

HY

autumn creek
#

i am using the checkout session and redirecting the user to the checkout URL, after successfull completion, stripe doesn't seem to append the payment info to the success url

gloomy girder
#

Hi! I have a working Stripe Checkout integration. As the app is growing, we're looking into launching it in another country with a different business entity. I discovered that it's possible to do it with multiple accounts in Stripe. However, I couldn't find any additional information as far as the API integration is concerned. Will there be a different API key per account? Will the product IDs be different per account?

rich inlet
untold saddle
#

Hi Stripe , I'm setting up stripe with Launchpass/AccessDock for one of my client discord server . However, i noticed that FPX Payment are only allows for 'payment mode' . Most of our customer prefer FPX Payment here . Any solutions i could try?

hollow dust
#

Hi, a couple months I was trying to test the Payment Request Button Element using Standard Connect + Destination Charges. However, it was not possible to register the Apple Pay domain on a Test Mode connected account, as you were forced to use the LIVE API key to register it. (context in this question from a different person: #dev-help message)

The docs (https://stripe.com/docs/payments/payment-methods/pmd-registration?platform=api#register-your-domain-while-using-connect) use to literally say you couldn't add a domain in test mode, but it seems that part has been deleted since. Consequently, I've attempted to register a domain using my test API key and a test connected account using the endpoint outlined and it does work (i.e. it does not return any error) - however I cannot confirm 100%, as I don't actually have an endpoint with the Apple Pay domain verification file. Could you confirm if its now possible to register a domain for a test standard connected account using the test API key? I'm positive that the docs were edited to remove that line about it not being possible.

summer oxide
#

Hello Devs, my user want to get the invoices with a different email mentioned in the invoice, which is not the email they used for subscription, I tried adding the email in the billing email but it is not shown in the invoice generated, is there a way to do that?

granite basin
#

Hi Team
when we are creating the invoice
const invoice = await stripe.invoices.create({
customer: 'cus_OZjPR9byKLQiWI',
default_source: 'card_1NmZx7GXlQ7PG1undd66ldEj',
collection_method:'send_invoice'
days_until_due:30
});
inside the customer we can see the Due Date field coming properly ..But when we are updating the invoice with different due date .. Dash Board ,Due Date is empty However we can see date is getting updated inside Invoice ..( is this any bug or expected behaviour

rotund marlin
#

Is there any other way I can test payouts in test mode without linking my bank account?

vagrant steppeBOT
#

thomasnevink

cold dragon
autumn creek
#

can the last thread be reopened? Thread Id 1158741172529942578

mossy pawn
#

Hello, We are working on a Unified Connect Beta integration, but I think these questions will be similar to the way custom accounts work perhaps...

I was wondering if there is a way to configure the application fee rate on all payments via the platform account's dashboard, or if this all needs to be done on our application / logic for every payment intent created? We would really like to have this all set centrally with Stripe rather than maintaining all of this infrastructure.

In a similar vein, is it possible to configure Stripe to refund any and all application fees in the case of a user refunding via the platform account's settings? Or does this need to be in our specific code and logic of our application?

I really appreciate it! 🙂

glad cosmos
#

Please help 😦 how do you delete a stripe.Coupon that was created for a standard connected acoount? It doesn't allow me to pass stripe_account_id

sinful bridge
#

Need clarification

remote verge
#

Hi everybody.
I use checkout to pay by card
https://stripe.com/docs/api/checkout/sessions/create
And you can pass tax_rate and line_items there

And to pay with a saved card, I use PaymentIntent
https://stripe.com/docs/api/payment_intents/create
I pass customer_id and payment_method_id to it
But you can't pass tax_rate and line_items to it

Can you tell me which method and which fields should I use to make a payment with a saved card?
It is important to me that the data about tax_rate and line_items are transmitted.

slender oasis
#

Hi Everyone!

We have recently integrated Stripe in the US, connecting both Affirm and Klarna. We have gone live with both payment partners but are struggling to get successful payments in. So far, these our are stats:

  • All "payment" intents: 513
  • Total payment intent "volume": $253,000
  • Most are Incomplete, some Failed
  • Succesfull payments: 1...

Can Stripe help us here to identify the issue? Both payment partners are toggled "on", and I can recreate the flow on our app.

paper python
#

Hi, I'm trying to update a connected account individual information. This can happen when a store change ownership and we're trying to reset the informations we don't collect so they're asked again by stripe.
We're using a custom account.

Everything works fine except for an individual date of birth. When I set the field to null, it's ignored during the update, as intented. If i provide a dob object with null fields, they're also ignored and when I provide 0 to every field, i have an api error.

Same when updating an indivudual registered address. Empty fields are ignored si I can't reset the individual address either

uneven stratus
#

Hello again! I previously asked about using the Stripe API to automate exporting of reports. I've got a script downloading a CSV, but the CSV has this error:

{
"error": {
"message": "You did not provide an API key. You need to provide your API key in the Authorization header
"type": "invalid_request_error"
}
}

I've loaded my API key into a .env file and the script is loading the .env file correctly because it seems to be generating a CSV report.

Any ideas how to fix/what this error means?

swift monolith
#

Hi, I have created a simulation (clock_1NwHO0DI89yB3Ecwog18VqJm) from https://dashboard.stripe.com/test/test-clocks. There, I created a customer (cus_OjkuhUnNo5Ger8). Added a payment method for customer (card_1NwHQqDI89yB3Ecw8euQYFX3). Finally, I went to products and added a new one (prod_OjioSItaut1ZxU). This product has 5 different prices. $25/mo (price_1NwFN5DI89yB3Ecw8cM50MRE), $50/mo (price_1NwFOvDI89yB3EcwcWIvL37S), $100/mo (price_1NwFOvDI89yB3EcwLSjGkbfo), $150/mo (price_1NwFOvDI89yB3Ecwsk2TtHpa), and $200/mp (price_1NwFOvDI89yB3EcwcL5FAtG4). $200 is the default price.

Then I tried to set up the subscription for the customer by issuing the following command in Stripe terminal:

stripe subscriptions create --currency="usd" --description="(created by Stripe Shell)" --customer="cus_OjkuhUnNo5Ger8" --default-payment-method="card_1NwHQqDI89yB3Ecw8euQYFX3" -d "items[0][price]=price_1NwFN5DI89yB3Ecw8cM50MRE"

Finally, I advacned the clock to two years. I am seeing hte last invoice in draft mode. But, past in "paid" status. Do you know why? Also, I would like to confirm that subscription is setup accurately and I am simulating time in expected fashion.

autumn creek
#

is there a way to add a checkbox for accepting terms on the checkout session?

open hamlet
#

I'm trying to use the PaymentElement in the UI, and it doesn't seem to be loading my default payment methods. I only see card.

flat flint
#

Hi guys, I have a question, I have a custom flow where I compute myself the tax in the Front-End and on the Back-End side, I create a Customer, I have the list of prices that I want to add to an Invoice and I want to create an invoice. Now, I don't want to use the automatic_tax feature for Invoices since I think 0.5% is a bit too much for what I'm currently selling, is there a way I can specify the amount and the tax that I get from the Tax Calculation API to the invoice?

uneven stratus
#

I got locked out my message thread, can a mod please unlock?

undone heath
#

Hey gang,
Im an Android dev, we are experiencing a weird issue where the cardScanner sdk crashes the app. For context our app is 100% Jetpack compose. Seems to kick the bucket when closing the activityForResult. Are we doing something wrong or is it just not very compatible with jetpack compose? I can get the error log in few and post in the thread.

main perch
#

Hello,
I am working on Stripe and I am not sure if it’s bug or something I am doing it incorrectly. I had a user who purchased a subscription of 300 USD. Than after 5 days he downgraded to 15 USD. Then after a day he upgraded to 600 USD. As I am using proration user gets the unconsumed amount 250 USD but when he changed to 600 USD a prorate cost of 480 USD invoice is created and payment intent of 230 is created which is paid too. But the 250 USD still shows in customer credit balance and never adjusted whereas invoice shows the removal of 250 USD as customer balance.

worldly bobcat
#

Hello! Hoping for some advice here please. What we want to model

  • For now, a customer has one subscription with a single renewal date
  • The customer will have a quantity of the SaaS product - one per business entity that they manage within Discern. They will add an initial amount of entities and then add more over the course of the subscription period. However, this is something that may happen 5-10 times a year as opposed to very regularly.
  • Additions should be pro-rated.
  • They customer pays once a year.
  • There are no pro-rated discounts if the customer reduces the amount over the course of the year. However, if they reduce the amount over the course of the year, we will want the reduced amount reflected when they renew.

We believed that the Stripe recurring pricing model that best mapped to our scenario was ‘Per seat’ so we followed the steps here: https://stripe.com/docs/products-prices/pricing-models#per-seat

  • We have created a single Stripe subscription product to represent our SaaS product. We specify the quantity when creating the subscription, We update the quantity when the customer adds more business entities.
    Question
    We have an issue when we update the quantity. The invoice that is generated is confusing because as opposed to declaring the additional quantity and charge, it cancels the original amount and creates a new one - see the attached image. This behavior leads to confusing invoices and auditing in the Stripe console.
    Is it possible to change this invoice behavior to be less confusing i.e. do not cancel the original subscription amount but simply add the new one as a new line item or something? Perhaps we should be modifying the subscription in a way different than this?
    POST /v1/subscriptions/sub_...
    {
    "proration_behavior": "always_invoice",
    "coupon": "oZ0qipKt",
    "items": {
    "0": {
    "quantity": "4",
    "id": "si_OkIPbwtkrqpmFs"
    }
    }
    }
worn tundra
#

Hey
we developing checkout page and using coupon , we create a coupon for first time order , but when a user who already had payment redeem the coupon it get a sucsess message, and get the discount,
What can be the issue

dawn sky
#

Hello, I had a question about PaymentIntents and Capture. I was looking through the documentation and was not able to find where I could get the 'Captured On/Capture Created On' date. Is that not available in the response?

uncut fractal
#

Anyway to edit a price after it is live and cart URL has been created? It's grayed out for me in the admin panel of Stripe - I assume not if there have been transactions against it in the past.

rich inlet
#

Hey stripe dev , do we have a api request to retreve all customer subscritpions ?

open hamlet
#

I'm using PaymentElements, and I'm wanting a way to collect the customer email address in the same form. Is that possible?

hardy gate
#

Hello

#

So I have a widepos E I’m trying to open the back to put the battery in how do I get this little corner door out exactly ? I seen your manual on your website it was no help plus I’m hoping the chip is in there since there wasn’t one in the box

vocal wagon
#

Hi I'm trying to find where to change my bank account details for the account that I am paid into. Please can you help?

rare belfry
#

hey, im trying to implement Apple Pay via react native and I'm having issues updating the Payment Intent object after user triggers onShippingContactSelected.

specifically, the issue im facing is when the onPress event via the button press is triggered on PlatformPayButton I

  1. Create a PaymentIntent via our BE endpoints and return the clientSecret.
  2. Call confirmPlatformPayPayment like so
    const { error, paymentIntent } = await confirmPlatformPayPayment(clientSecret, params)
    and then want to update the paymentIntent obj down the road with tax calculations, but returned paymentIntent is empty from confirmPlatformPayPayment, and I instead just see this console logged error undefined
fluid grove
#

Can I use Stripe Pricing Table with a product that has a free trial and not require a credit card?

jovial ice
#

Hello, What's the best way to create a subscription that's greater than one year and, when it expires, roll back to a yearly basis?

steady epoch
#

Hello

** Issue:** collectPaymentMethod Issues after iOS Tap to Pay Update

SDK Version: ^0.0.1-beta.13

Devices: iPhone 12 Pro, iPhone 15 Pro
OS Versions: 16.6.1, 17.0.2

Summary:
After updating the SDK to support iOS Tap to Pay, we're encountering errors with the collectPaymentMethod function. The method is throwing errors on optional parameters.

Details:

Previous code:

let paymentCollect = await collectPaymentMethod({
paymentIntentId: paymentIntent.id
});

AND

let paymentCollect = await collectPaymentMethod({
paymentIntentId: paymentIntent.id,
skipTipping: true,
tipEligibleAmount: 1500,
updatePaymentIntent: false,
});

Using tipEligibleAmount: 1500 returns:
Error collecting payment: {"error": {"code": "FeatureNotAvailableWithConnectedReader", "message": "This feature is currently not available for the selected reader."}}

Removing tipEligibleAmount: 1500 results in:

Error collecting payment: {"error": {"code": "InvalidRequiredParameter", "message": "A required parameter was invalid or missing."}}

Reproduction Steps:

Connect Tap 2 Pay reader on iOS using connectLocalMobileReader.
Set up payment intent using createPaymentIntentFunction and retrievePaymentIntent.
Call collectPaymentMethod with the parameters mentioned above.
Observe the aforementioned errors.
Expected Behavior:
The collectPaymentMethod should gracefully handle the absence of optional parameters and allow the payment to proceed.

Anyone able to support on this please?

Thanks

split cargo
sonic charm
#

upon checkout session i have a hard time redirecting the user to stripe session URL while stripe log is ok and also the URL stripe session is ok in my backend.

undone torrent
#

Hi, we are making some updates and I was instructued to test in our dev environment. We created an additional webhook in test mode to hit our dev endpoint. For whatever reason the stage endpoint still works fine, but the dev endpoint is failing. "evt_1NxBgGBdDrchzztVJgKQzeco" I checked our logs and it looks like we are checking the correct stripe secret with the EventUtility.ConstructEvent method. Can sombody give me any idea why this event is failing?

cunning nest
#

hello guys

#

Does anyone know if it is possible to test the API with a real card?

#

Do you need to enable something in the testing environment? Or can you only use the test cards available through Stripe?

plucky lynx
#

I am trying to build an affilaite system, whenever someone checks out ref_id gets added on the payment url and then also to the customer_id on stripe, how can i check how many people have ref_id = etc etc and get more infos out

wooden sand
#

Hello. I'm working on a Stripe App. I'm getting an odd error about a script being corrupt with zero helpful hints. Is there anyone that can help me decipher what is going on here?

opal sun
#

whats stripe fee when we transfer amount from one connect account to another connect account

vocal wagon
#

Hi there, for our German App the stripe checkout for PayPal is not working on all android devices. On my android 13 devise it is not working but on the 12 it does

autumn creek
#

when using the checkout session, is it possible to show the existing payment methods of a customer if there is already attached to their customer profile?

buoyant vale
molten anvil
#

Guys, I have a NFC reader and my own hardware. I need somehow to accept payments by PROXIMITY using my own hardware and stripe. Is there any product/service available for doing it? I understand I would have to do something with a TAG ID read?

midnight charm
#

Hello, I'm trying to link my payment link to with a customer_id but it is not working. I'm wondering if im doing it right.
"buy.stripe.com/test_00g02S5Fegyo5aM289?client_reference_id=cus_OkiEv276yzfmUl"

it saids client_reference_id could be customer id but when i test it out, the payment does not link to a cusomter but instead creates a new customer. seems like it is still getting associated with email?

spare grotto
#

Hi! If a customer add a 'new' paymentMethod (added to customer through setupIntent) - can I test if the payment method's fingerprint exists before adding it? Currently I am adding a duplicate method, and I'd rather let the customer know it already exists and avoid duplicates - thanks

fluid grove
#

On a stripe pricing table if you are already subscribed to the same product (trial or not) what shows on the "Start Trial" button and can you change the language on that button?

foggy dawn
#

@vocal wagon I appreciate the added attention to the threads, but we Stripe developers are here to handle the questions and a lot of your answers are cluttering the threads. Really do appreciate the willingness to jump in, but please allow us to work through the questions so as not to confuse folks with multiple different answers.

pulsar shuttle
#

Hi I am wondering if anyone can help me. my Stripe account has been hacked and I cannot contact Stripe customer service as I cannot access my account. I am not a developer but hoping somone out there can point me in the right direction. I am basically helpless here. I have tried 3 times to contact via their support page but nothing has come back in the last 24 hours.

astral moss
#

On the Element wrapper options, setupFutureUsage does not set from 'off_session' to undefined which prevents affirm from reappearing if the user goes from wanting to save the card on file to not wanting to save.

umbral birch
#

Can someone help me integrate Affirm

vocal wagon
#

I have a question about monthly subscriptions...anyone?

undone heath
#

I have a question about the Android SDK. I have the card Pan number from scanning the card. However, I dont see a way to update the CardFormView cardnumber edit text to show the result from the stripe card scanner

wintry wren
#

Question when setting up a sub that has graduated pricing. When i am pull the items from stripe, i get
no unit_amount, as opposed to a standard pricing item, where i get the unit amounts. I am wondering how to handle this when displaying different subscrpition information to users.

royal dune
#

Hey guys... question for you. I'm using Stripe for my web subscriptions and due to Apple's restricitons we need to use the App Store subscriptions for our Apple app. Is it possible to connect my Apple subscriptions to stripe for revenue recognition? So I can see all of my revenue in one place? Most of my customer subscriptions are handled by stripe. Or maybe there is another tool I can use to cosolidate everything?

worldly bobcat
#

Is there a way to pass an Invoice Memo when creating and updating a Subscription via the Subsciption API?

slate swift
#

I'm trying to update the default payment method for a customer:

    await stripe.customers.update(account.stripeId, {
      invoice_settings: {
        default_payment_method: paymentMethod
      }
    });

That doesn't throw an error but it doesn't seem to be working either. The default payment method stays unchanged.

humble coyote
#

hi, i'm trying to report gross charges by month. is the only way to do that to list transactions and group by date? i've tried creating and retrieving report runs, but it seems like it simply spits out a URL that you need to download in browser, whereas i want to automate the whole process.

sacred gorge
#

what is the best way to validate a promocode for subscriptions?

rare belfry
#

Hi, had some questions regarding setting up Apple Pay on Expo

silver delta
#

Is it possible to export ALL successful payments with the following included:

  • name of product purchased
  • quantity
  • statement descriptor
    -description
final nacelle
#

Is it possible to update a subscription line item's amount on an invoice?

crystal imp
#

Hello! If a user selects apple pay/google pay as their payment when using the payment element, and then they dismiss the pop up modal without confirming, we are finding that the user has to click on another payment method (such as credit card) and then click back on google pay or apple pay in order to get the pop up to appear again. Is there a way to avoid this?

lime geode
#

Is it possible to add dynamic shipping to Stripe's Express Checkout web component?

vocal wagon
#

How can i delete my account when i am locked out my authentication app doesn't work anymore and i dont have my backup code
what can i do ?

lusty needle
#

Hi there. I'm having dificulties using the new Stripe connect components. More specifically, Trying to include the library without success. I use it on a Rails project, and according to the documentation of connect-js here: https://github.com/stripe/connect-js#manually-include-the-script-tag, I'm trying to include it manually, the same way I already use with stripe.js. but I'm not sure if I'm doing it correctly because I get a error "ReferenceError: loadConnect is not defined". It's an older Rails project so still using the assets pipeline (no Node modules).

alpine ledge
#

Hi - is there a way to add a credit card to a customer to test a failed payment during a charge? Right now Im not able to add a payment method to the customer without it producing the error/decline. I am hoping to add a credit THEN have it fail during a charge attempt later on

glass umbra
#

I need help with product create features

edgy delta
#

Hi. I'm building a full Connect "custom" integration for a platform. I need to access the balance of a connect user account to display the balance in our dashboard. How can i do that?

viral vector
#

hello

#

my account is getting shut down for resctrictive product but the product are just workout suplements

gentle ore
#

Hi! So tried addding a shipping cost/rate to a checkout session where I have a recurring price and a one_time price. But looks like that's not supported. Is there a good work around? I know one time prices will be added to the underlying invoice generated from the subscription. Wondering if there's a way to add it there. Any thoughts?

desert juniper
#

Hi folks - I have a subscription product, and I'd like to be able to gift others a month or year to either new or existing subscriptions. I'll provide more details in the thread.

hasty maple
#

Hello folks - Hope you're doing all right.
I have an small question regarding stripe taxes in Atlanta.

According the regulations the tax should be 8.9% but stripe is using 7.75%, my product is on road food. Thanks in advance

glass umbra
#

how i can discompact features in my product list?

warped mesa
#

Can we delete transaction data in test mode?

woven tide
#

Hi! Have a couple of questions regarding Financial Connections. We are using Express Connect accounts on our platform at the moment. We want to have our users link a bank using Financial Connections when onboarding and in the docs, we saw steps on how to do this using a Custom Connect account. My question is, is it possible to use Express Accounts and Financial Connections during onboarding? Or do we have to switch to Custom Accounts?

quaint flare
#

I tried to integrated Radar for Fraud Teams but it doesnt work

quaint flare
#

i get this message

void fjord
#

Hi, whe creating an invoice via API is there a recommended order for creating invoice items vs the invoice object? I'd prefer to create the invoice object first and then attach items to it individually but this article https://stripe.com/docs/invoicing/multi-currency-customers says you should create the items first. Is this articles instructions only for the multi currency customer usecase, or should you always create th einvoice items first?

Change the billable currency for any customer to accept multiple currencies.

past bone
#

Hi, trying to update the default payment method for a subscription on a Connect account. I get a token from the FE and then i've tried to create a payment method but get invalid token id

warped mesa
#
  1. If a customer requests a transfer from our stripe account to their stripe account, do they have a fee if they try to move money from their stripe account to their bank account? If so, how much is that fee?
  2. How are fees calculated on payouts and transfers?
vagrant steppeBOT
#

fluxorg

pine plaza
#

Hi,

Can stripe store more than one card details for a recurring billing

celest thistle
#

How can I trigger a payment_method attached event and have the type set to us_bank_account using the stripe trigger cli?

earnest sand
#

Hi All. I'm using the scheduled subscriptions API in Flutter to setup 36 monthly payments. I setup adding a customer and creating the schedule, but not sure which API call/property to use (payment intents, checkout, subscriptions, etc.) to collect the credit card info and associate that payment method with the customer so all 36 payments would be billed on it.

mighty hill
#

So someone typed something, then deleted it. I'm not sure who that was, but if you have a question now's the time to ask. We're closing Discord in about 10 minutes. 🙂

#

@hollow zinc I think it was you? 🙂

devout night
#

Hi! Can we completely turn off Stripe retires for the failure payment for subscription? So Stripe will try to charge the user, if fails, then immediately cancel the subscription.

cerulean pineBOT
#

This channel is closed, but we'll be back at 8:00 AM UTC. We look forward to helping you when we return, but if you need assistance sooner please contact Stripe support: https://support.stripe.com/contact/email

cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

viral spoke
#

Hey, I would like to create a deffered intent. I followed the guide https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment#web-collect-payment-details
but now only the IDeal payment method is there. Normally I have others there as well, but in this case not. How to created a deffered intent but with all the paymentmethods I activated?

Build an integration where you can render the Payment Element prior to creating a PaymentIntent or SetupIntent.

late basin
#

Hi! How can I use a coupon code to get a correct number out of a qoute? The documentation mentions "discounts" but I'm not sure how they are to be used. For example, when using the PYthon SDK kind of like this. Is it possible to add a coupon code to it?

q = stripe.Quote.create(
customer="cus_xxxxxxxxxxx",
line_items=[
{
"price": "price_xxxxxxxx",
"quantity": 2,
},
],
)

remote verge
#

Hello)
Yesterday I asked such a question:

I use checkout to pay by card
https://stripe.com/docs/api/checkout/sessions/create
And you can pass tax_rate and line_items there

And to pay with a saved card, I use PaymentIntent
https://stripe.com/docs/api/payment_intents/create
I pass customer_id and payment_method_id to it
But you can't pass tax_rate and line_items to it

Can you tell me which method and which fields should I use to make a payment with a saved card?
It is important to me that the data about tax_rate and line_items are transmitted.

I was offered to use https://stripe.com/docs/api/invoices
with the charge_automatically flag

But the documentation says that
Note that finalizing the invoice, when automatic, does not happen immediately as the invoice is created. Stripe waits until one hour after the last webhook was successfully sent (or the last webhook timed out after failing)

And I need the write-off to happen right away.

Is there any other way I can arrange payment with a saved card?

Maybe you can tell me flow?

I need:
1)At the first payment, use checkout with the parameters:
customer_creation: "always",
payment_intent_data: {
setup_future_usage: "off_session"
}
2)I save the customer_id, payment_method and the last 4 digits of the card in my database.
3)Then I need the user to pay for the next order using the saved card.
So that tax_rate and line_items are passed
4)How to do it right?
PaymentIntent doesn't look like it to me, since you can't pass tax_rate and line_items to it
Invoice too, since you have to wait an hour. And you can't pass the product name to it
How do I do what I described?

winged crater
#

Hi ! I have an active monthly subscription (Billing) with a customer using Sepa Direct Debit, but I need to execute an extra one shot payment using its IBAN (mandate already signed) - How should I proceed ?

arctic aurora
#

Good morning. I am getting emails from stripe telling me that my webhook have issues. I checked and i see that it says 403. However, when i create subscription on my dev server, i get user properly on Stripe and stripe response sent to my dev site endpoint, works, and data are saved in Db. WHy i am getting webhook issues mails? WHen i started project, i had one dev server and meanwhile i switch to another webserver, but old and one use same address dev.invoicing.com ...

lyric coyote
#

Hi
I need help with my woocommerce based site.
I have recently attached the stripe based checkout method, but the data is obviously going to stripe server. How can i fetch it through woocommerce, and have the trigger everytime when someone makes an order?

brave jungle
#

whats the best way to determine if a payment_intent is invalid? for instance user goes to checkout, and pays but closes window before return_url extecuted, so cart event to empty cart on payment isnt fired. I cant wait until webhook is recieved as user could go back to checkout with same cart before then, so how can i check if payment_intent is used and or invalid?

timber field
#

Hello.

opal wing
#

Good morning, When creating a subscription, an invoice will automatically be generated. After 1 hour, the status will change from "draft" to "open". how to keep status = draft and not allow stripe auto change status to open? Thanks

noble raptor
#

Morning, need some help

vital bloom
#

Hello, I need some help with a subscription model for a saas we're developing

unreal garnet
#

Hello, I need to use receipt number in a flow, but when I receive webhook triggered by charge.succeeded event, receipt number is null as mentioned in the documentation (https://stripe.com/docs/api/charges/object#charge_object-receipt_number).

I just wanted to know how much time Stripe takes to send a receipt to the user, so that I can use receipt id post that.

tacit plover
#

Hi, Can anyone help me? subscription invoice's period start , period end date is wrong

zinc oxide
#

const options = {
// passing the SetupIntent's client secret
clientSecret: clientSecret,
// Fully customizable with appearance API.
appearance: {/.../},
};
i there any way i can show card name on payment element?

winged crater
#

I would like my customer to pay with Apple pay, which payment method I should use in create checkout session ?

cyan swallow
#

Hey had a question, Using the the payment component, should google pay appear on macs ? is this browser or os dependent?

bright python
#

How can I payout to a debit card

fringe quartz
#

Hey guys, I have a customer (that I could finally charge manually) had few DRAFT invoices after his first invoice has failed because the first added pm was not working, how can I automatically turn on the automatic collection? Thanks a lot!

weary abyss
#

Hello Stripe Team,

We are planning to have Upgrade and downgrade of subscriptions.

For example, the customer buy a monthly subscription and the end date is forever.
after some time, the customer decides to upgrade the current subscription to Yearly.

Question are:

  1. Is there a way to set the end date of the monthly subscription in just 1 month?
  2. and will the yearly subscription starts after 1 month?
  3. Can the customer pay the upgrade of subscription via stripe checkout? how?
smoky pasture
#

Hello, I am still having issues with pulling more than 100 balance transactions in the order of older first to newer last. I need to print them in PDF as tax invoices, but I cannot seem to achieve to print them in the right order. I am using autoPagingIterator() to get more than 100 results

remote verge
#

Hello everyone.
I made the code:

const invoice = await stripe.invoices.create({
    customer: 'cus_Okc3P4Y10o8Ajv',
    collection_method: 'charge_automatically',
    default_payment_method:'pm_1Nx6p0GQft9ImbOa1SsZRkOs',
    currency: 'USD'
});

const product = await stripe.products.create({ name: 'pizza'});

const invoiceItem = await stripe.invoiceItems.create({
    invoice: invoice.id,
    customer: 'cus_Okc3P4Y10o8Ajv',
    price_data: { product: product.id , currency: 'USD', unit_amount: 100},
    tax_rates: ['txr_1NvdpiGQft9ImbOabWkvP8Mp'],
});

const result = await stripe.invoices.pay(invoice.id)

But if you look at payments in the panel, then tax and line_items are not displayed there.

For example, they are displayed in checkout.
How do I make sure that when using invoice, it was the same?

empty cobalt
#

👋 This seems a bit basic but trying to find the easiest to find all the invoices paid in a specific range, currently fetching all the invoice created in that range with status paid but doesn't work if invoices is created before the start of the range.

So wondering which ressources I need to fetch that might be link to the invoice (charges? paymentIntent?)

astral canopy
#

Hi, is it possible to migrate subscriptions without a default payment method. I will ask users to enter their payment information again instead.

sinful hawk
#

Hey,

I just read about how to manually create a Payout to a connect partner here in the docs: https://stripe.com/docs/connect/manual-payouts

The example shows
stripe.Payout.create(
amount=24784,
currency="eur",
source_type="bank_account",
stripe_account='{{CONNECTED_ACCOUNT_ID}}',
)

But in the related API for the Payouts docs there is no stripe_account param listed. Is this undocumented or am I looking at the wrong spot?

weary cypress
#

Hello, for the Payments search, is there anyway to search for customers that had tried more than 3 cards in the past?

vocal wagon
#

I've been running into an issue with reversals of transfers on one of our connected Stripe accounts. I'm getting the error message "The recipient of this transfer does not have sufficient funds in their Stripe balance to reverse this amount."

Normally, connected accounts can have negative balances, so I'm a bit puzzled by this error. Is there a hidden limit on how much connected accounts can go into debt? And if there is such a limit, how can I manually or programmatically check it?

Any help or insights would be greatly appreciated!

Thanks in advance!

pine plaza
#

Hi,

On stripe when you perform a checkout session it creates a customer, does it save the card details too?.

I want to collect user card details and save on stripe so I can bill those details if the user has already added those details, I’m assuming saving just card details creates a customer on stripe

thin flume
#

Can I somehow retrive product with payment link via API call? I want to attach payment link to Subscribe button for product on my website.

obtuse ginkgo
#

Hello, I hope you are all well. I use Stripe on WooCommerce. Sunday I had a big sale with 300 visitors to my site, and so all these people were trying to buy at the same time. I had some problems with Stripe payments which did not go through, others which went through but remained marked "pending". And so in the Webhook > Failure part, I have a lot of failures. Do you know how to resolve the problem please?

honest skiff
#

Good morning folks! I have an issue with a payment that was marked as failed. I got an error 500 in the API, with the description "An unknown error occurred", however in the dashboard I see that the error implies the request was bad (so 4xx?)

hidden tendon
#

Hello Stripe team, when the default source is a credit card and that this one expires, does Stripe automatically set another credit card source as default source?

sinful bridge
#

Hello

hardy swift
#

Hello team. I would love some help with trying to figure something out. I am creating a stripe checkout using the node stripe package by doing something like this:

  const session: Stripe.Checkout.Session = await stripe.checkout.sessions.create({
    mode: 'payment',
    expires_at: createEpochTimeStamp({ extraSeconds: 60 * 30 }),
    client_reference_id: sessionId,
    customer: stripeClientId,
    line_items: [
      {
        price_data: {
          currency: 'usd',
          product_data: {
            name: 'Session',
          },
          unit_amount: amount,
        },
        quantity: 1,
      },
    ],
    success_url: `${publicAppUrl}/payment/success`,
    cancel_url: `${publicAppUrl}/payment/fail`,
    metadata: {
      your: 'mom',
    },
  })

I then use the url that is returned to me to redirect the user to stripe where they do their payment. Now I can see the metadata in my
checkout.session.completed webhook, so I know it is being seen, but if I look at the payment on the stripe dashboard the metadata field is empty as seen in the image. Why? And how can I ensure this metadata finds it way to this payment so that an admin user can reconcile payments?

earnest stream
#

Hi,

I am implementing the 'Set up future payments' flow described here: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method
I have a question about section 7 - "Charge the saved payment method later". I am using .NET on the backend, and I am calling PaymentIntentService.Create() to create a payment intent. Can I assume that if this call is successful and the created PaymentIntent has a "succeeded" status, then the payment is fully completed, and I can mark it as such in my system? In other words, in case of a "succeeded" PaymentIntent, I don't need to wait for a webhook to see the 'final' status of the payment? (I am only using card payments)

Learn how to save payment details and charge your customers later.

manic elbow
steady flame
#

get receipt of paid invoce stripe in c#

stark atlas
#

Hello,
Do you have a link to see what can i add to the page "create-checkout-session.php"
I would like add my Logo and a picture of the product and maybe some other details.
Thx : )

hidden mantle
maiden crater
digital trail
#

Hello, I've set up stripe in my store but I didn't receive a feedback from stripe about the check of my store and I don't know if my stripe account (dimitri.tsatchou@gmail.com) is validated.

tender wharf
#

Hello , How we can pass dowble value in google pay launcher using strip?

valid swan
#

Hi am stripe implementaion in angular facing below console not loaded stripe element
scriptoader.service.ts:54 ERROR Error: Uncaught (in promise): IntegrationError: Invalid value for elements(): clientSecret should be a client secret of
IntegrationError: Invalid value for elements(): clientSecret should be a client secret of the form

worthy path
#

hello everyone, I was in a conversation in my last Thread, would it be possible to re-open it, as we were about to find a solution to a problem I have🤗 Thanks!

upbeat cloud
#

If stripe balance is insufficient, then we top up account from Bank account…
how much will be withdrawn from the bank?
Is there a minimum withdrawal amount?
How long does it take for that transfer from the bank to be available in stripe?
If the transfer takes 2 business days to top up stripe

rigid wyvern
#

Hello
Currently I am using stripe payment gateway in my Flutter app,

this is plugin details: https://pub.dev/packages/flutter_stripe

But when I use custom flow as a true in iOS facing below error,

Payment exception:StripeError<PaymentSheetError>(message: Unknown result this is likely a problem in the plugin {paymentOption: null}, code: PaymentSheetError.unknown)#0 MethodChannelStripe._parsePaymentSheetResult (package:stripe_platform_interface/src/method_channel_stripe.dart:292:11)
#1 MethodChannelStripe.initPaymentSheet (package:stripe_platform_interface/src/method_channel_stripe.dart:212:14)

fathom fable
#

Hi, Why stripe is not replying to my emails. I have sent an email 48 hours ago and still no fuckign reply from them.
Why are you delaying the refund

hidden tendon
austere fiber
#

I am using Stripe API to create a Stripe Product which is recurring monthly, can I update the price of the product using the Stripe API ?

boreal star
#

#dev-help
While making payments to multiple Stripe Connect accounts using separate charges and transfers, as described in the Stripe documentation (https://stripe.com/docs/connect/separate-charges-and-transfers), I have a scenario where there are three transactions to be made. If two of them are successful and one fails, I want to be able to revert the first two successful transactions and also fail the entire API call responsible for creating a show. Is there a feature or functionality in Stripe that allows for this kind of behavior?

hardy fern
#

Hi there ! I'm trying to get my head around subscription/invoice status with the doc but I'm a bit confused on how to get my use case to work. What I'd like to do :
1- a sub has an active status
2- a due invoice’s payment fails
3- the sub goes to "unpaid"
4- the next invoice is due and is charge automatically
5- the payment fails (so last 2 invoices are unpaid)
6- the user has to pay the two invoices for the sub to be active again
For now, sub invoices after the first unpaid one are kept in draft because collection_method is not set to charge_automatically, so what I did is listening to webhooks to update invoice collection_method on creation event if not set to charge_automatically. So now next invoices are set to unpaid when payment fails, but when customers through customer portal pay the last unpaid invoice, the sub status is back to active whereas there are still unpaid invoices.

vocal wagon
#

Hello,
The fonction this.terminal.connectReader(reader)crash on front side.
The « connectReader » (this.terminal.connectReader(reader)) from SDK Javascript is not working.
Do you know what is the action to correct it?
Tks in advance

wind dune
#

Hello, with the PHP api I use \Stripe\Subscription::create to create a subscription with the following options.

'customer' => $customer,
'items' => [
    [ 'price' => $price_id ],
],
'payment_behavior' => 'default_incomplete',
'expand' => [ 'latest_invoice.payment_intent' ],

As you can see I request a payment_intent for the latest invoice to send to the browser for payment.

Now I want to transition to schedules with \Stripe\SubscriptionSchedule. I
assume that in that case the first intent would be related to the subscription of the
first phase. But I would I go about getting that and also have the same default_incomplete behavior?

Thanks

stark atlas
#

i try to intégrate a picture to a product with checkout.
On your documentation it say up to 8 URLS :
" line_items.price_data.product_data.images
A list of up to 8 URLs of images for this product, meant to be displayable to the customer."
So i add this line on my "create-checkout-session.php"

'product_data' => [
        'name' => htmlspecialchars($verifArticle['produit_nom']),
        'images' => htmlspecialchars($verifArticle['produit_image']),
      ],

I don't know if i do wrong but it doesn't work.
Fatal error: Uncaught Error sending request to Stripe:
This happened since I added this code
'images' => htmlspecialchars($verifArticle['produit_image']),

Thx for help

olive musk
#

hello

wind dune
#

Hello, I would like to create a new Subscription Schedule with payment behavior default incomplete, but that has shown by @undone hinge is not possible apparently. So I create a normal subscription, but how do I select for how many iterations this should last?

ornate turtle
#

Hi,
Is it possible to retrieve the issuing bank's name or identifier from a card's PaymentMethod object?

autumn wedge
#

Hello, I haven't looked at stripe in a while but I was wondering if there is an easier way to get different publishable keys for different products - all within the same Stripe account ( and not need to create a new stripe - business account) for each product/ service - so I can manage all my payments within one dashboard?

winged crater
#

I would like to setup a webhook to be informed when a sepa direct debit in a subscription billing has been executed. Which webhook should I use ?

shell ruin
#

Hi everyone, we have some issues of payments being taken twice sometimes. To resolve this I was thinking about using idempotency_key, using a composite key such as <merchant_id>+<order_id>. This works perfectly and obviously prevents payments to be taken twice if for any reason the front send 2 payment requests for the same order. However, when a payment fails (3DS failure), this composite key is preventing from retrying the payement. Is there a solution using Stripe only or do we have to go through DB storage?

harsh grove
#

Hello, we use invoices in our stripe integration, and would like to take advantage of the statement_descriptor_suffix field on the payment intent. When we try to update the field on the PaymentIntent object we get this error: "Some of the parameters you provided (statement_descriptor_suffix) cannot be used when modifying a PaymentIntent that was created by an invoice. You can try again without those parameters" Is there a pattern I'm missing here with invoices, or is this just not available for invoices?

rare belfry
#

While setting up Apple Pay on RN Expo, I ran into this error.

Stripe Apple Pay Error {"code": "Failed", "declineCode": null, "localizedMessage": "The data couldn’t be read because it isn’t in the correct format.", "message": "The data couldn’t be read because it isn’t in the correct format.", "stripeErrorCode": null, "type": null}

What does this mean exactly? the paymentIntent.id and clientSecret is present

slim nebula
#

Hi,
I'm using stripe connect (Express).
Do I need to use "on_behalf_of" to see the company name's and not mine when I create a paymentIntents because I have an error
Thanks a lot

await this.client.paymentIntents.create( { amount: stripeAmount, customer: stripeCustomerId ?? undefined, currency, description, automatic_payment_methods: { enabled: true, allow_redirects: "never", }, capture_method: "manual", receipt_email: receiptEmail, application_fee_amount: stripeFeeAmount, setup_future_usage: setupFutureUsage ? "off_session" : undefined, metadata: { sessionId, stripeCustomerId: stripeCustomerId ?? null, isStandalone: isStandalone ? "true" : "false", }, }, { stripeAccount: this.account, } );

thick vine
#

Hey, I have the following sign up form in my react application. The idea is that the user sign ups to the platform paying an ongoing monthly subscription. The monthly rate can be reduced by a discount code. Business users will also have to pay a premium based on how many ‘practices’ they own. I.e (num_practices * BASE_PRICE). I simply want to sign up a user to an ongoing monthly subscription of price (calculated based on certain variables). My issue is you can’t seem to render the <PaymentElement/> without a valid stripe promise and client secret. I suppose I’ll have to seperate this form across two pages? Or is there a way of doing it as is?

open hamlet
#

I'm using the subscriptions with the PaymentElement, and I'm unsure how to get the payment methods to load automatically like they do with PaymentIntent with automatic_payment_methods: { enabled: true }

fringe quartz
#

Hello, can we open this thread please? #dev-help message I was in a meeting :/ thank you guys!

tender totem
#

Hello friends, I need to verify my address, but it tells me that it is not an open source address. When you say open source, how can I do it? Can you help me?

hidden mantle
#

Hi! I have a question about a failed payment of an indian customer https://dashboard.stripe.com/customers/cus_OYF80lKSTfFwqQ

The payment intent was created here https://dashboard.stripe.com/events/evt_3Nw26WIYOry9WQXw25MOliMr
and then, the invoice charge happened at the same exact time. 30/09/2023, 14:17:06

This caused the payment to fail, because the PI needed confirmation from the user, which led to the cancellation of the subscription.
Why the invoice charge happened at the same time? Shouldn't it have happened after the 3DS challenge finished? Or was it something wrong with the Payment Intent created?

mellow glade
#

Hey where are we able to pull stripe fees from connect express accounts - a cumulative total per checkout

vocal wagon
#

hi devs. Does someone know why MOTO has been disabled on Stripe Connect Test Accounts? We had it working fine up until recently when MOTO started failing with "Received unknown parameter: payment_method_options[card][moto]"

wintry wren
#

Sorry trying to continue a conversation i had yesterday, im having issues getting the expand to work on pricing tiers that is graduated pricing.

shy vault
#

We have an app which makes use of Stripe Connect to allow companies customers to set up subscriptions for products that they offer. These companies would like us to provide a way (via our app) to charge their customers a deposit amount (sort of like a security deposit) , which may or may not be refunded down the line.

First of all, are Stripe ok with us providing this service of deposits/refunds? And second, is there a built-in way to do this - or do we need to just roll our own using payments?

hearty fractal
#

Hi,

We are facing some issue with Stripe. Can anyone please help us with solution here

We have Rental booking website where we want that if user book a property for more that 2 months then user has to pay amount for 30days as first then second paid after 30 days

Here is an example:: Suppose user booked Property for 99 days

We want first payment of 39 days
Second Payment of 30 day
Third Payment of 30 days again

Can you please suggest us, how we can achive this with Stripe

carmine mulch
#

Hi All, I'm having difficulty with split payments if anyone can advise. All of the below is in Test mode...

I've managed to setup the payment intent, complete the payment, setup the transfer and I can see that transfer in my Dashboard, so far so good BUT I see no indication of whether or not any money was actually transferred to the connected (test) account.

Secondly, when I look at the Dashboard of the target connected account, which I have developer access to, I cannot find any record of the transfer arriving.

It's like, I've got it all working, no errors...but then it just never actually does the transfer. Not in any way I seem able to verify.

Any help would be much appreciated, thank you.

vocal wagon
#

Hello,
We have a very unpleasant situation here - we were using Stripe as our payment processor, but then out of a sudden they sent an email that they no longer will do business with us and that there were many (all) unauthorized transactions, even though we know it is not true at all. They will send refunds to all of the clients, even though we have already delivered them the products. We basically lost A LOT of money on this, and Stripe is no longer answering our support requests. What should we do?

#

hello, I have a question I have a reservation site, I would like to put stripe as a payment solution, my client adds a card without making payment and then makes a reservation but on an estimated amount I do not want to capture the funds just check that he has the funds. and when he receives his product I would like to charge him with his card without asking him, is this possible with stripe

raven summit
#

Hello , i have an issue to create a customer using stripe API , no value can be setted to the currency when create via POST API

mild finch
#

#dev-help Hello, I have an issue in apple pay payment in safari web view, domain and apple pay is enabled both stripe dashboard and apple pay wallet. it's redirecting to link.com

jovial holly
#

Hey all- I'm integrating the PaymentElement into my site and I've set the option on that element to never collect billing details because I'm collecting billing details separately with the AddressElement. However when calling createPaymentMethod it throws an error specifying that billing email is required. What is the billing email here used for?

elder quiver
#

Hello I'm not sure if I have right place but I have locked myself out of stripe and need to change my telephone number. My stripe account is password verified

vocal wagon
#

Hello !
We are experiencing problems with using payment terminals via API.
80% of the time no problems to report, but time to time we are faced with two disctinct errors:

  1. The fonction this.terminal.connectReader(reader) crash on front side. The « connectReader » (this.terminal.connectReader(reader)) from SDK Javascript is not working with the error : CONNECI-I'message: could not connect to stripe. Please retry., code « reader_error »
  2. The transaction is completed successfully but the payments on the Stripe dashboard has the status «Not captured».

I specify that errors happen randomly without apparent reason.

Thanks in advance!

grave agate
#

hello, I need help. I set up a customer payment element, and then I call the "confirmPayment" function. can it not redirect to 'return_url'?

Because I'm using a framework, and it's navigating without refreshing the page. Which if we redirect through 'return_url' it will refresh the page.. thank you

crystal imp
fringe quartz
#

Hey guys, I have a customer that has failed to pay a sub with her card but could pay with SEPA, right now the sub is charged, but will it be charged twice because of the other invoice? here's her customer id cus_OVJpX1ivNZ6KQu, thank you!

remote pumice
#

Hi Stripe, we have Payment Intents that are serviced with a "Cash Balance" (by making a payment to a virtual IBAN), now it is the case that, for example, the Payment Intent is subsequently cancelled by a credit to us and should be offset against another Payment Intent. How do we proceed here? An update of the payment intent does not work directly:

"You cannot cancel this PaymentIntent because it has a status of succeeded. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action, processing."

You could of course refund the Payment Intent, but we want to offset that and not refund the payment.

Our business logic is based on: 1 Invoice = 1 Payment Intent

vocal wagon
#

Hi im having issue of getting returned null when looking for a checkoutSession

glass umbra
#

Hello i am with problem to modify and create price

nimble kernel
#

Hi team, I seem to be having an issue with connectivity while testing Stripe on my local server. I am implementing a custom payment flow according to the docs (https://stripe.com/docs/payments/quickstart") and followed the template code to the T. Yesterday, I had the PaymentElement displaying on the page and working fine. Made no changes since, but when I ran my localhost this morning, the PaymentElement will not render.

Also, my payment_intent.succeeded webhook will send to Stripe (test charge visible with 200 OK on dashboard), but I'm getting no response. I get an error when triggering the intent with the CLI saying "Failed to POST: Post "http://localhost:4242/webhook": context deadline exceeded (Client.Timeout exceeded while awaiting headers"). Confirmed that my CLI login is valid and that Stripe is listening to my localhost:4242/webhook.

Code for server.js attached. Thanks for reading!

muted chasm
#

Over past 48 hours there were attempts at using our account to process unauthorized .50 cent transactions. Luckily, stripe declined them all, and seems my customers were not affected.
Ip address on charges is from Singapore, but charge cards are from multiple countries.
Any insight on how someone used my account to perform this fraud?

vivid sedge
#

I would like to schedule a one-time future payment for a defined date in the future. I have worked through a flow that let's me use InvoiceItem, Invoice, and invoices pay. This works fine, but I have to initiate the call to pay. I would rather it all happen on it's own unless I cancel. Is there a way to do this?

main perch
fresh turtle
#

Hey Team,
I was using checkout sessions for the payment process. Now, for each checkout session which will be created, the price is dynamic, i.e. it is not present in the stripe dashboard, neither do I want that users can enter price. Basically a dynamic price set up me for each checkout session. There was usage of price_data to dynamically create prices on the fly but this would lead to creation of a very large number of prices for a particular account. Is there any way to achieve the required without creating the price.
One can assume similar to creating payment intent where only price amount is entered and currency.

wind dune
#

Hello, in subscription sub_1NxX3jDXrtmYDULgVl3E020T you can see an event that changed its schedule. The intent was to set the current phase from unlimited time to one that stops at 12 iterations. Yet it still seems to be unlimited?

normal kernel
#

Hello, I've got a question about the Stripe hosted KYC process

fierce stirrup
#

Hi friends! I'm looking for docs on how to apply a debit to an invoice and if that happens automatically or if that's something we have to do manually. I can't find information about this in the docs. Any ideas?

dense plinth
#

Hi guys sorry asking this here but i really could not find any answer on web. is it possible to create sole proprietorship account in turkey?

wheat python
#

Hi, how to use Apple Pay for monthly subscription in stripe. React Native and NodeJS. Please guide me. Thanks

warped mesa
#

Hi, we have set up a way for customers to be able to receive payouts as rewards for certain types of activity. We are making this happen through connect however we're seeing an error. The full text reads, "We need a valid identity document for <user's name> to use Connect and create live connected accounts." Do we as the business need to provide proof or does the customer trying to use connect need to provide proof of their identity? Is there way for us to integrate this via code?

rare belfry
#

Hey, I'm using Apple Pay on RN Expo, and for some reason its creating two payment intents and then successfully authorizing the first one.

the documentation suggests I create the paymentIntent via the BE inside the pay onPress function [1], while the stripe-react-native examples dir suggests triggering it on component mount. [2]

[1] https://stripe.com/docs/apple-pay?platform=react-native#present-payment-sheet
[2] https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/ApplePayScreen.tsx#L34

what should I be following and how can I fix this issue? thank you

umbral birch
#

is there anone who can help me set up Clara or Affirm on my stripe account? Stripe Customer support is not availilbe

final nacelle
#

Is it possible to create a subscription schedule that changes the quantity of a line item without passing an explicit price?

My use case: scheduling quantity changes of a subscription that could have its price increased/decreased between now and when the quantity change takes effect. I don't want to overwrite the adjusted price, but instead only want to update the quantity. Is there a way to reference a line item in a subscription schedule phase without explicitly identifying the price?

astral owl
#

Hey, does anyone know if it is possible to gracefully change a customers subscription product? It does not appear possible to display the price description on the invoice, only the subscription product description. On this basis, as we need to display different wording, we can only see the option to change the product. If I am mistaken, any insight would be welcomed

analog mica
#

Is there any possibility to pass authentication (card with 3ds), but not make a purchase; the purchase will happen after some time, in a month for example, but without user participation? Is it possible to leave a payment intent in the “uncomplited” status and then reuse it, what is the lifetime of the payment intent? Or are there any ready-made solutions for such situations?

elfin hull
#

Hey, everyone!

Does anyone know if the React Native SDK works on the MacOS and Windows environment?

Thanks 🙂

faint plover
#

Hello. Can you tell me if a webhook notification for balance.available (returns a balance object) can be tied back to the charge that made the funds available?

hexed moss
#

I just noticed that Link was enabled in our checkout flow. Is there any way for me to see exactly when that was enabled in our application? Is there a way to dynamically disable/enable it? We would like to be able to measure the effect of that feature for ourselves if possible before showing it to all of our customers.

thin fern
#

Hi team, according to this documentation there is some limitation of read write operations https://stripe.com/docs/rate-limits . As my project is undergoing performance testing so this causing an issue. Is there any way to increase the limit for specific account?

vivid creek
#

Hi! I configured a few weeks ago Apple Pay on our Payments in a Nextjs app. I configured it with my domain and added the file apple-developer-merchantid-domain-association into the public/.well-known folder. Apple pay was working fine and suddenly stopped working and gives an error when trying to pay with it. Any help?

turbid kelp
#

Hello, We are ingesting Invoices and Invoice Items via the API. However, the invoice ID started populating with NULL values for the recent month. Any ideas on why this might happen? (We use segment to data from stripe into snowflake)

hasty flicker
#

Hello,

I'm trying to upgrade a user's subscription to a whole new Price ID (new product). This should reset the user's billing cycle to today, and any prorations will be applied.

Here's what I have:

await this.stripe.subscriptions.update(subscriptionId, {
  proration_behavior: "create_prorations",
  billing_cycle_anchor: "now",
  trial_end: "now",
  items: [
    {
      id: newSubscriptionId, // New Subscription ID
      price: newPriceId // New price ID
    },
  ],
});

This works great unless the user's current subscription is schedule to cancel. If my subscription ends on 10/10/23 and I choose to upgrade, I'm getting billed the prorated amount until 10/10/23 and then my new plan would be canceled on 10/10/23. How do I modify the code snippet to undo the subscription cancelation so that the upgraded subscription would start right now?

trim yacht
#

Hello, I'm trying to get Affirm working in our checkout. I'm using Stripe's "Elements" API and I thought it would just work based on the documentation I was reading.

You don’t actually have to integrate Affirm and other payment methods individually. If you use our front-end products, Stripe automatically determines the most relevant payment methods to display.
But after enabling Affirm in the dashboard, it's not showing up as an available method. After finding some more documentation about accepting an Affirm payment, it looks like there are additional things we have to do. Can someone confirm that the affirm checkout requires this additional work from our side, requiring us to handle the client being redirected away and then back to our site?

celest thistle
#

How can I trigger an event for when a us bank account payment method is detached from stripe cli

vocal wagon
#

Hey guys!

I have recently integrated the "multibanco" payment method into my online store. However, I've noticed that the payment codes are only displayed on the page after clicking the "payment" button. Also, these codes are not included in the order confirmation email.

I would like to make changes and have the payment codes displayed on the checkout page and included in the order confirmation email. Is this possible?

delicate dagger
#

Hello, how can I onboard a user to Stripe Connect if they are an international student on a visa and does not have a SSN? I've attempted to use their government issued ID (Moroccan - MA) from the connect dashboard, but I receive this error - "The information you provided couldn’t be verified with the IRS. Make sure your legal name and TIN match the IRS documents for your business." Is it possible at all to navigate this situation without the users' SSN or the personal ID number?

rapid garden
#

wan to activate gpay on my stripe account

#

HOW CAN I CONNECT GPAY

frail folio
#

Hello, I am trying to implement subscriptions.

When the user enters his card information, he successfully subscribes to the customer information and subscription.

But the payment method is not added to the customer information and the first payment is not completed.
Can you give me some advice?

glad cosmos
#

I am testing our support for a new currency (GBP) and I am seeing some conflicting information after checkout that I don't understand. Can anyone shed some light on what's happening here?
Our order's Subtotal is £12 . Our application fee is 2% so we should receive £0.24. At the bottom of the Payment details says the correct Collected fee amount but Fee listed says £0.27. When we query the BalanceTransaction it says our fee was £0.27 so Im very confused by this.

abstract yacht
#

Hey guys, I am new to the Stripe platform and need help on getting started, first I need to decide which product to use - here is some info on my webpage:

I am selling grids/pixels on my website, and there is only 1 item, but the user can select particular grid positions to buy, and buy them in bulk- so let's say the user selects 4 grids and clicks buy, I want the user to be directed to the stripe checkout where they just enter their payment information - I was initially considering stripe checkouts but it doesn't seem to allow me to tailor the quantity the way I want (it only allows either a fixed pre-determined quantity, or a variable quantity set by the user, whereas I want the user to select the quantity before clicking the buy button; any suggestions on this?

quartz rover
#

Is there anyway to receive instant payout or access to funds faster ?

swift cape
#

A month ago, we transferred $8.07 to a connected Express Stripe account (acct_1NcpaeRlIZcNKxIR), and this was converted into $10.97 in CAD. Today, I reversed this transfer in anticipation of deleting this account. Due to minor currency conversion changes, their Stripe account now has -$0.09 CAD in balance. What will happen to this negative balance once I delete this Express acct, or am I even able to make this deletion?

warped jungle
#

I recently had fraud on the debit card that was connected to my stripe account so I had to cancel the debit card. Since, all my clients' payments have been declined for their monthly membership to me on Trainerize. I am needing to update my card and banking on my Stripe account and have stripe charge all of my clients again.

fiery stirrup
#

Hi all. I am following this doc (https://stripe.com/docs/payments/build-a-two-step-confirmation#show-details) and at that point in the process where the payment intent is created, I am getting the following error: No such PaymentMethod: 'pm_1Nxa7NRLMLVyikfkd1zP5s7w'; It's possible this PaymentMethod exists on one of your connected accounts, in which case you should retry this request on that connected account...

Am I missing something when creating the payment method? This payment intent is for a connected account. Maybe I need to specify that the payment method is also for that specific connected account when creating it? This is the request returning the error: https://dashboard.stripe.com/test/logs/req_McpBGygh3Jkr7R?t=1696445305

elfin hull
#

Hey, Stripe Team!

[RE]: React Native + Stripe SDK

Question, what are the options I have for using my own UI form, or thoroughly style the one included in the SDK?

Considering I want stay PCI Compliant

fringe relic
#

Hi guys!, for some reason the webhook that I configure doesn't call my local end-point

#

I use the CLI tools for create the event

umbral gate
#

Hello ! I have a problem with a specific connect account. It’s says that I’m missing data but I have sent the data 😦

vocal wagon
#

Hello, stripe is conflicting with woocommerce, has anyone had this problem?

upbeat aurora
#

Hi guys. I can't find my webhook secret ? I am trying to test some things locally but I am not successfuul

glacial gorge
#

Hello Stripe Dev Team,

My web app (Node.js) is a creator platform. I want to have viewers to support financially to each content creators created with one time or recurring self defined amount. (Note, viewers pays to support. content only, and each content is updated by author and its contributors)

Please correct me if I'm wrong. I think I need 3 features

One is creators onboarding, that is through Stripe Connect.

Second is viewers onetime or recurring payments to an kept-updating content creator creates. Since the user could customize the amount, I don't think the Stripe Subscription would work in my case, is the Inline payment the right way?

Third is the creators payouts. After a user pays for a content, or after some scheduled intervals. For each content viewers paid, I need to collect them and split the payments for creators who create this content. (Author + contributors). That is through Stripe Payout.

In addition for clarification for the three products I've mentioned. Do you have concrete examples and reference for those three products with API integration, or all of the steps could be done in no-code.
And do I need customer portal, so that they could change inline payment amount, or change intervals like one time, monthly, yearly.

Thank you
Dan

fringe relic
upbeat aurora
fringe relic
#

create a new endpoint, and there show the api key again, is the same, for testing

daring lodge
#

Hey @fringe relic & @upbeat aurora please try to keep discussion in the threads I made for each of you 🙂

inner pumice
#

We have a customer who has gone through Stripe Checkout.
But the payment has not completed.
The payment status is "Incomplete"
The last activity was "PaymentIntent status: requires_action"
pi_3NxYQeBphWvjXVvn2w8t5xxz
This is the first time we've seen this.
Any suggestions on how to handle this?

blazing flame
chrome solar
#

Hello, is there a way to prevent a Stripe request from throwing an error? For example when I try to retrieve an upcoming invoice I get the "Stripe::InvalidRequestError (No upcoming invoices for customer: cus_", is there a way to make a request that does not throw an error or is catching the error the only way?

amber topaz
#

Hi, I have a question about refunds. In live mode, one of our connected accounts did a partial refund and we passed in the "reverse_transfer: true" parameter, but no reversal was created. This isn't the first time this has happened, but hundreds of other refunds created the same way have created reversals

upbeat aurora
#

When using CLI and eg. sending
stripe trigger invoice.paid

It gets triggered for some random user, what is the mechanism to say what exactly I want to trigger, which user, which subscription etc...

split cargo
oak raptor
#

If I have a customer sign up for a recurring subscription, is there a possibility that 3DS is triggered if I create an auto-paid invoice for an "extra" item within the app if the user decides to buy it?

cerulean pasture
#

I am trying to verify the payment from a terminal at time of swipe and not waiting for the webhook for a connect account. I am attempting to use retrieve or confirm, but I am not receiving any data. Here is my code for that and wondering what I might be missing

$payment_Intent = $stripe->paymentIntents->confirm( $paymentIntent['id'], [], [ 'stripe_account' => $team['connect_id'], ] ); $amountReceived = $payment_Intent->amount_received;

languid rune
#

Does Stripe JS not offer a way to mask the credit card number after entering it and going to the next input field? I can't find anything online and the input fields it generates are locked down.

vocal wagon
#

Hello im from slovakia and we have flipped day and month on ids and i cant verify my account 😦

void loom
#

I wanna ask to friendly developers my isuue.

calm zephyr
#

Hi, regarding Stripe connect - is it possible to set up an end-client (group that we would normally pay with our existing Stripe model) directly? We would stay merchant of record. If this is possible, does the end-client need to submit anything outside of standard banking information to make that happen?

I perceive that all we would change on our end then is the destination_id?

burnt linden
#

Hello. Is there a way to change the global branding for different products within the same account for customer invoices, payments links, tables, etc.?

upbeat aurora
#

For one invoice.paid event my webhook was triggered exactly 7 times. And it varies between 6 and 10 times. Why ?

open hamlet
#

Is there a coupon field for the PaymentElement?

old remnant
#

When customer balance transaction is created (debit/credit), is there an event that's triggered other than customer.updated? I want to run some code when a debit transaction happens, which event should I rely on?

fathom fox
#

Is there a way to send "Pay in 3 or 4" (Klarna) information via a payload in an API?

uncut bison
#

Hi folks! I was wondering what's the best way to create a relation between the payment intent when is success and the data stored in my DB. I mean, once the payment is done and correct which ID I should take? the pi? pm?
Thanks!

dusk mauve
#

Hello, I have some questions:

  • is it possible to create or update a customer specifying the currency through the APIs? I don't see a way to do it in the docs
  • I can see that I can specify the currency on a Stripe Checkout page, and this determines what the currency of the subscription created from there is going to be, this also changes the currency on the customer, after this all the prices are going to be shown as the selected currency because the customer object has inferred which currency they are actually using at the moment
  • considering the point above, how can I tell Stripe to show a price for a product in a specified currency? I have created a price through the dashboard with a bunch of different currencies, however, when I retrieve the price, I can only see "usd", even if there are more in the dashboard. We would prefer to not add one price per each currency, but instead use the currencies list inside a price
  • On the same note, how do I create a quote, by telling stripe to use a specific currency for the customer, if the prices included in the quote support other currencies?
hybrid scarab
#

My stripe account has locked my payouts for verification, however i dont have a business account. Im a sole proprietor in the field of market education. I simply use stripe to process people’s payments. My bank account is in my own name . What can be done?

split wind
#

Hi, we currently have a monthly subscription setup with a metered price. We use the usage reporting api to report our usage, we report the usage on a daily basis. The usage is api query based so we need to aggregate that usage on our side then send it to Stripe. The issue is when the billing cycle ends we need some time to aggregate the usage to send to Stripe. However, once the invoice is created by the subscription it looks like we are no longer able to report usage. Since the invoice first goes into draft state for ~1hr we can add an extra invoice item during that time but I'd like to be able to just report the usage. Is there any way we could do this? I know there is a short grace period once the invoice is created but the docs say to not rely on that.

valid hound
#

I'm seeing frequent issues with 429 lock_timeout errors when creating a person and account links for newly created connected accounts with the Go SDK, a couple of example requests: https://dashboard.stripe.com/logs/req_bUElyuIp9UpsbS and https://dashboard.stripe.com/logs/req_sgXkblT0pd9vhD. We do have a retry policy in place for these but it seems like the first request can take 20+ seconds before we get that 429 lock_timeout response which goes over our request timeout window which doesn't allow for retries.

honest tree
#

Someone has hacked my account, HELP

vocal wagon
#

When it says expected payout date , that’s the date I’ll receive my payout correct ?

lime marsh
drifting ice
#

Hello! I am wondering if it's possible to include my own data in a line_items data attribute in a checkout session object? The ID is automatically generated but I'm trying to find a way to persist data across different payment systems.

wintry falcon
#

I need someone to mimick Stripe services to my Stripe Connect Account using there API.

meager fiber
#

Hello, I'm trying to integrate checkout through a Formstack for Salesforce form with an existing stripe account. Every time someone goes to place an order, this error message appears: Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.

gloomy gale
#

Hello, I just wondering if anyone knows how can I disable Google Pay and Apple Pay from the "pay with credit card" form? I am using Woocommerce > Stripe for Woocommerce plugin

hasty flicker
#

Is there a way to prevent the webhook "customer.subscription.trial_will_end" from firing when I immediately end a trial?

I'm using that webhook to send an email to notify users that their trial is ending soon. But there are situations where a user can upgrade plans before their trial ends, so when I udpate the subscription I set: trial_end: 'now' but it still fires that webhook and sends an email which is a little confusing.

cerulean pineBOT
#

This channel is closed, but we'll be back at 8:00 AM UTC. We look forward to helping you when we return, but if you need assistance sooner please contact Stripe support: https://support.stripe.com/contact/email

cerulean pineBOT
#

We're back! The channel is now open and we're ready to help you with your technical and integration questions!

thin fern
#

Hi team,
We are using confirmPayment function of stripe to confirm a payment of apple pay but it always throw an error , and it is working fine for cashapp, google pay and card payments

tidal creek
#

Hey 😄
I would like to know if there is an specific webhook event when a subscription schedule phase is applied? So far I noticed that customer.subscription.updated is generated but I wonder if there is a subscription_schedule.applied event happenning

worthy path
#

Hello team, one question: I have a paying customer with a Monthly Subscription active.
Is it possible to edit the subscription in order to split the payment I receive from the client, with another Stripe account of my partner who's already connected to mine?

Thanks🙂

autumn creek
#

when using checkout session an on completing the transction, there are 2 webhooks triggered. payment_intent.succeeded and checkout.session.completed what is the purpose of both these triggers?

livid reef
#

we have subscriptions with 1 day free trial. is there any way to get a webhook event maybe like 1-2 hours before a trial ends, to send a reminder to the user that their trial is about to end? i guess maybe using the draft invoice event would work, or is there any better alternative?

cobalt spade
#

Hi All, I'm using the stripe create payment method api. But been unable to attach payment methods. So I can actually make the payment methods but when attaching getting "your card was declined" error.
The card shouldn't really be declined though since all the information is entered correctly, and I have tried many different cards to no avail. And this happens sporadically, sometimes the cards all work and other times they all don't.
Anyone have any clue as to what's going on?

rancid rover
#

hello, 4000000000003063 when I use this 3DS test card , the modal for autentication is not get triggered

tidal creek
#

Hello 👋 is there a way to add a coupon to a subscription but not displaying it into the invoice document?

ruby wasp
#

For best practice, would you host your products directly on stripe (whereby hitting Stripe API for get), or a local DB and sync with stripe products/pricing ?

cold dragon
#

Hello, After integrating stripe in react application, I am always getting call to https://m.stripe.com/6 whenever i switch to different locations from menu like moving form home to about page. Is it intended from stripe or I am doing something wrong

Stripe is a suite of APIs powering online payment processing and commerce solutions for internet businesses of all sizes. Accept payments and scale faster.

rigid stag
#

Hello! What is the maximum amount a customer can deposit to a stripe issuing wallet (GBP wallet, and EUR wallet)? Is it 100K?

faint imp
#

Hello , I want to make this check from apple docs

   var merchantIdentifier = 'example.com.store';
   var promise = ApplePaySession.canMakePaymentsWithActiveCard(merchantIdentifier);
   promise.then(function (canMakePayments) {
      if (canMakePayments)
         // Display Apple Pay button here.
}); }

Where I can find the merchantID in the stripe dashboard ?
I see there only the domainID is it the same ?

cobalt spade
#

Hi All, I'm using the stripe create payment method api. But been unable to attach payment methods. So I can actually make the payment methods but when attaching getting "your card was declined" error.
The card shouldn't really be declined though since all the information is entered correctly, and I have tried many different cards to no avail. And this happens sporadically, sometimes the cards all work and other times they all don't.
Anyone have any clue as to what's going on?
Sorry earlier I didn't expect the quick reply.
For context :

Request ID : req_hibrHXwi0vuJvr

hoary bridge
#

Hello all, Good day. I am trying to implement tap and pay in Flutter. Can anyone guide me on how to implement it? I can't find any package related to it. If anyone knows the package or a way to implement it in Flutter will be very helpful. Thanks.

green hare
#

Hi Guys , what is the best method to recover all payments made by a client? Now I make a stripe.Invoice.list(customer=cus.id) for that , but is it also possible to use stripe.PaymentIntent.list(customer=cus.id), what do you think is the best method?

tidal creek
pine plaza
#

Hi,

I’m trying to create a payment method using stripe

await stripe.paymentMethods.create({
type: 'card',
// card: {
// number: '4242424242424242',
// exp_month: 12,
// exp_year: 2034,
// cvc: '314',
// },
payment_method: 'pm_card_visa',
});

I tried with the test card details but stripe denied it saying “Sending credit card numbers directly to the Stripe API is generally unsafe”

So I tried adding the payment_method: pm_card_visa, it sayings Received unknown parameter

How can I create a payment method for test purposes

barren pumice
#

Hi, I am not able to get Payout trace ID in the payout api, can anybody help me to get this from api

cyan swallow
#

Hey , I have a question regarding the paypal button in my payment compoent, my paypal bussiness account is registered in the Uk, should the paypal button appear for all users from all countries?

rich hedge
#

Hi, I'm adding shipping options from our TMS into the Checkout session. I'm using Stripe.Net and are adding these options in the ShippingRateData object. On each shipping option I've added MetaData information but can't seem to access this information when the payment completes. The session includes a selected shipping option with a rate id, but since I've just added these options in SessionRateData and not created them, I'm not sure how to access the MetaData?

delicate dawn
#

Hi, i've found a little problem with the sdk terminal android Stripe. For a little bit of context i'm using a WisePad 3 and My objective is to accept offline payment. When i do this process : - Online connection of the reader

  • offline mode then close the app
  • Offline connection of the reader
  • online mode (while i'm connected to the reader)
  • back to offline mode (while i'm connected to the reader)
  • location of the reader no longer exist (payment and connection impossible).
    Here is what i found :
  • When the updateReaders is called in the ReaderAdapter by going online (when we connect in offline mode) it delete the reader information.
  • The local data are still in the local storage, this probleme is from the “FragmentDiscoveryBindingImpl” (fun RecyclerView.bindItems(items: List<Reader>) file called with this function) which no longer provides Location data. Knowing that this file is not editable.

For me the problem really comes from FragmentDiscoveryBindingImpl which does not provide the Location of the reader. I have already encountered problems from this area and it came from a feature/setting that was not activated on my account. So I think the problem comes from you. If you ever need an piece of code or if you have question with the process, I am at your disposal.

granite basin
#

Hi Team
what are the options in stripe to charge the customer if we have customer and valid payment method and we want to charge in future date

zenith gull
#

Hi!

We are working on update reservation functionality now and I have a question about refunds. While update reservation we would like to know is it possible to check connected account has enough money on the balance to process refund? In common the flow on update includes two steps:

  1. Charge new amount
  2. Refund
vocal wagon
#

Hello, I'm trying to implement a VAT field in my SaaS service, but I couldn't find any references to it on the https://stripe.com/docs/payments/elements page. Have I overlooked something, or is it not possible to integrate the same element that's present on the checkout pages?

Create your own checkout flows with prebuilt UI components.

fresh sable
#

Heyyo!

I'm calling disputes.update to update the metadata on an a payment, and although I can see the charge.dispute.updated event in the logs, the meta data on the payment itself is not updated, am I looking in the wrong place?

Thank you!

autumn creek
#

when using stripe checkout is there a way to know which particular payment type was used to make the payment? Link, Apple Pay. Google Pay, Card, CashApp?

barren vortex
#

Hii i have one doubt in stripe payment

honest relic
#

We are no longer getting the issuing balance in balance API ({{baseUrl}}/v1/balance) for connected account(Added Stripe-Account in header)

loud lake
#

Hello, is there any documentation for what permissions are required for certain features when creating restricted keys? It's kinda frustrating getting a permission error in the API with a particular ID like rak_accounts_kyc_id_numbers_read but not having any way to check what this relates to any of the docs. Thanks!

rotund marlin
#

Hi I have a created a .Net web api endpoint in swagger which currently accepts test cards as inputs which are strings and successfully processes the confirmation of payment. What code modification must be done so that it accepts real word card input(card nos, cvv, zip,etc) so that I can keep this as standalone and not tightly coupled with my frontside which is implemented in Angular?

visual obsidian
#

Hello, when a subscription invoice is unpaid what's the behaviour afterwards & is it possible to keep track of whether a subscription is paid or not after the initial invoice payment failed hook?