#dev-help

1 messages · Page 42 of 1

twin moss
#

I'm working to create a tool that uses the disputes API endpoint to list all active disputes. However, we use meta data on purchases to store helpful info. When I GET the "all disputes" list, there is a meta data object but it's empty. However, on the stripe dashboard the metadata shows plenty of data. What am I doing wrong?

lavish gazelle
#

Is there any way to collect the full billing details when the address element is in shipping mode and the customer unticks 'billing is same..'

young gate
#

Hi, new here. I'm using test mode from my Softr page to Stripe and using data fetcher from an Airtable base. I cant seem to figure out how to fetch Stripes test data, any ideas?

versed radish
#

How can I prevent a user with the same email to take a free trial 2 time ?
Using checkout with subscription

fallen lotus
rotund sun
#

I'm seeing apply pay button on private safari window but not on the regular window ? Am i missing something ?

trail mantle
#

Hi,
Is it possible to clone customer data from platform account to secondary platform account through Stripe API ?

trail mantle
lament inlet
#

Hi all, I have a problem on Apple Pay payments. If I try to pay, even in testing and in live environment, i receive the error "Payment Not Completed". And I not receive any log of failed attempts.

next tusk
#

When monitoring Stripe webhooks for subscriptions is there a list of the specific ones to look for when a customer fails to pay and or cancels the subscription? I just don't want to miss any. Thank you

trail fractal
#

Heya guys! Regarding transaction ID's. We'd like to save unique IDs in our billing database for charges and refunds. But as I see there is actually no unique ID. The charge ID is the same when performing a refund, so there's no unique ID. Would be the unique ID only the balance transaction txn_ ID? Hence if we would want to save truly unique ID's for charges and refunds we'd need to save the txn_ ID, right?

final walrus
limpid meteor
#

HI all. We have an issue with 3ds2 payment on wordpress/woocommerce using Stripe plugin. The challenge popup doesn't appear on the website after the card details are sent to the bank. The payment intent is created but then the api waits for the confirmation that never arrives. Some pi in error: pi_3N8Vh8CnGMIyLrAr0yma7KWk (requires_action) , pi_3N954JCnGMIyLrAr0N5HhY1T (requires_payment_method). Other card payments go fine but all transaction over 250/300€ (which require 3ds or 3ds2) fails, a part one or two like this one: pi_3N8gvFCnGMIyLrAr1cA9Sd64. We updated the plugin, the API version but the problem persists. Any idea where to look for? thanks

vagrant pulsar
#

i need help to add promptpay in my website by Shopify Don't have option .

#

Don't have this option i have Thailand stripe

#

have

#

also it's live inside stripe

vocal wagon
#

I have created a product with a price 0 usd and also added another currency 0 inr , I was testing the product checkout page in india , but the currency is in usd in checkout page.

quasi plaza
#

Hi I have a refund come back to either stripe or link from switchboard free and don’t know how to claim the refund

vagrant pulsar
#

it's work only in thai bath , but in shopify don't have how to enable and wocommerce to like not updated

rose otter
ruby walrus
#

I see in the stripe API a way to read webhooks and events. I was hoping to find a way to trigger the "resend" event for an event webhook via the API, but I don't see anything like that. Is that correct?

thorny zinc
#

Hi, all. I have a question about whom I can pay out money. I am aware that using the Stripe's Connect feature, developers can pay out money to multiple sellers or service providers. But, what if developers want to pay out money to general consumers? To give you more background about this question: I am trying to make a mobile app that provides reward points to our users. I would like to offer an option to users to cash out these reward points when they accumulated to a certain amount. So, when users choose to cash out their reward points, we need to pay money to them. And I am wondering if paying out money to a user that doesn't have a Stripe account is possible or not. Do they need to set up their account in Stripe in order to receive this money from us?

vagrant pulsar
#

look promptpay it's work inside stripe and can generate by checkout stripe but with connect or api like not updated support say can see devlp help

rose otter
grizzled ice
#

Hi all. I have a question about realtime pricing updates. We're using Stripe Connect and Stripe Elements, and the price of our products changes frequently enough that it could change midway through the checkout process.

We asked over email and received this information:

"Broadly speaking, you can use webhooks to listen for pricing changes on your side, and to update pricing within the Stripe Payment Element in real time. You can update a variety of objects in the Element -- payment amount, adding or removing payment options, or including any relevant tax or shipping calculations."

How would we go about implementing that? We currently have a database storing the pricing details, and a GraphQL API in front of it.

bold herald
#

Hi, I am getting the "current_period_end": 1687182968, after creating a successfull subscription, but when I am formatting this date, by using moment library: - moment(1687182968).format("MMMM D, YYYY hh:mm A") getting this date January 20, 1970 06:09 PM, but the acutal date is June 19th 2023, 9:56:08 PM
How to get the correct date?

autumn creek
#

If a customer has an ACH attached to their customer object, is it possible to transfer funds to them?

violet patrol
#

Hi, How many customers I can create in stripe for free?

carmine lintel
#

I am having an issue with one of my card readers, WSC513124019383. The dashboard is showing as 'Offline' but it has an ethernet connection and I see the ethernet symbol on the reader screen. The logs show a mix of busy and unreachable errors

eternal rune
#

In case of Subscription products and async payments, can the checkout.session.async_payment_failed be triggered for subsequent payment? Even if the first has succeeded ?

final walrus
#

I need some help for our workflow. I want anonymous user who came to our website to pay for a monthly subscription. As they are anonymous user, we start creating it using customer = Stripe::Customer.create(user_StripeObject)

then trying to create Subscription like this:

# Create Subscription
    subscription = Stripe::Subscription.create(
      {
        customer: customer.id,
        items: [
          {
            price: product.price_id,
          },
        ],
        payment_settings: {
          payment_method_types: ["card"],
        },       
      }
    )```
but in this case, when trying to create Payment Intent we got this error: ```Stripe::InvalidRequestError (This customer has no attached payment source or default payment method. Please consider adding a default payment method. For more information, visit https://stripe.com/docs/billing/subscriptions/payment-methods-setting#payment-method-priority.)``` 

Of course I don't know by advance what card user is going to use!
chrome bear
#

Getting 400 Bad Request Error. In the Network Error Message is:
message
:
"Received unknown parameter: payment_settings[payment_method_type]. Did you mean payment_method_types?"

I'm using React.js

The error points to the following code in the FrontEnd PaymentForm.jsx

const createSubscription = async () => {
try {
const paymentMethod = await stripe.createPaymentMethod({
type: 'card',
card: elements.getElement('card'),
});

        const response = await fetch('http://localhost:1447/create-subscription', {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json',
            },
            body: JSON.stringify({
                name: name.name,
                email: email.email,
                paymentMethod: paymentMethod.paymentMethod.id,
            }),
        });
        // get clientSecret and conform the payment. If the payment is not already confirmed on the backend, it will be confirmed now.
        if (!response.ok) return alert('Payment unsuccessful! Response not ok at paymentform.jsx line 42');
        const data = await response.json();
        const confirm = await stripe.confirmCardPayment(data.cleintSecret);
        if (confirm.error) return alert('Payment unsuccessful! confirm.error at paymentform.jsx line 45');
        alert('Payment successful! Subscription is active');
    } catch (error) {
        console.error(error);
        alert('Payment failed, ' + error.message);
    }
};
crude abyss
#

While trying to confirm i payment method i got this error. "A mandate is required. Please either provide the id of an existing mandate on confirmation, or provide payment_method_options[acss_debit][mandate_options]." but then i added a mandate and it didn't like that either, here are the 2 request:req_xPGvzOlnkkmyNR, req_j0Ie6iOVUQxAXA

glacial bone
#

Hi. I have implemented stripe in my Flutter app. Basically, buyer pays the amount and then with the help of connect, seller recive the amount. There is stripe fee on each transaction. For example whenever buyer pays 100$ then seller should receive this total ammount and buyer should pay the extra transaction fee rather than seller receives the less amount. How can we do this?

junior carbon
#

Hey, I would like to use the pricing table (no code) adding a free product with CTA (text custom) redirecting to connection.

Is it possible ?

dawn stump
#

Quick question regarding Standard connected accounts on-boarding. During the Stripe on-boarding process, Stripe asks the connected account user for a phone number to put on invoices, and this can't be skipped. Is there any way to change that input to a helpdesk URL or email address? Phone numbers are not really desirable for small businesses or individuals 😅

grave lion
#

Hi is there a max limit days before the funds in the Stripe accounts get flushed to the Bank automatically? (If manual flush is enabled)

twin moss
#

I'm doing an API call for listing all disputes - but I also want the ones that are "needs response" - how can I filter that in the initial call?

violet patrol
#

Hi, during checkout creation can I use client_reference_id to adjust userId (from my web app) with customer? Or only metadata is the only one solution for this? I want to know about user's payments (but user and customer are two different things)

tropic bridge
#

hello folks, for some reason when trying to create a subscrition with an initial free trial pending_setup_intent is null, before I was using that to extract the client secret to save the payment method. Why is that?

jovial kestrel
#

hello 👋
I have an application in React Native using Stripe. I tried adding Bancontact as a payment method from the Stripe dashboard and I can only see this option on the payment sheet on Android. Is it a known issue/feature that Bancontact isn’t showing on iOS or am I missing something? Thank you in advance!

floral canopy
#

Does invoice.paid event run on every monthly payment of a subscription?

full fractal
#

Hello Stripe Team! I have a question regarding subscription invoices with an add invoice item. So here is the background of this invoice. I created it with trial days until the specified date. Then after the fact, I updated the subscription to add a one-time invoice item. The reason I did it after creating the subscription instead of during was I wanted the invoice to be all together instead of the one-time appearing on the trial invoice. I was wondering if there was a way to remove this date on the add invoice item description.

tame forum
#

Hey, guys!
I created a list of webhooks to listen to payouts statuses. We withdraw funds from Stripe to Wise using Wise bank account details. I want to confirm, that if payout changed status to "PAID" - funds are 100% transferred to our Wise account or whatever payout method. Please let me know if my assumption is correct

fringe scaffold
#

Hey, is it possible to create a subscription with monthly payments and a mandatory duration of a year? If the subscription gets canceled the cancel date should be set to the end of the current year cycle

buoyant lotus
#

Hi all - curious about Metadata on line items in a subscription object. When I update a subscription with subscriptionItems.create(), I can add Metadata to the object. However, when I am creating a subscription, I get an error back that metadata is an unknown property. Is there any place to attach metadata specifically to a subscription item when creating the subscription brand new (as opposed to the subscription object itself)?

versed radish
#

Hey,
Is it possible to have a staging env on stripe ?

young gate
#

picking up old thread

#

Hi, new here. I'm using test mode from my Softr page to Stripe and using data fetcher from an Airtable base. I cant seem to figure out how to fetch Stripes test data, any ideas?

ebon gale
#

Hi, when validating postalCode, does Stripe automatically provide protection against brute force attacks? Eg, against an attacker with a stolen card who doesn't the cards zip, who will simply try all postalCodes, or all postalCodes in the area where he knows the stolen card is from? Or do we need to implement this kind of protection ourselves?

rose condor
#

hello, how do i add my custom fields (on my payment link) to my webhook endpoint?

vast estuary
#

i have a product that had a pricing depending on the quantity, ex: 0-10 $1/device 11~100 $0.5 per device. I want to update the pricing so that everything will always cost $1/device, what's the best way to update with minimal rework on the code?

wild sand
#

Hlo

#

Thank you for following up. Unfortunately, after conducting a further review of your account, we’ve determined that we still won’t be able to accept payments for your business moving forward.

Stripe can only support businesses with a low risk of customer disputes. After reviewing your account, it does seem like your business presents a higher level of risk than we can currently support.

Payouts to your bank account have been paused, and we will issue refunds on the affected card payments in 5 business days from the account closing day, although they may take longer to appear on the cardholder’s statement. If there are insufficient funds on your account to cover any refunds, these refunds will not be processed and any outstanding funds will remain on your account. Please refer to your Dashboard ( https://dashboard.stripe.com/balance ) for a list of the charges to be refunded. You should have received a separate email from Stripe explaining the details of this as well.

We’re sorry that as of now we can no longer offer our services to you, and we wish you the best of luck with your business.

outer garnet
#

hi, i have a problem regarding wordpress. After I made the upgrade two days ago, I can't make the test payment anymore, I always get the message with payment processing failed. how could I do it?

zealous geode
grim aurora
mental shoal
#

If I use stripe connect and checkout how much is the stripe fee? It’s more or it’s the same ?

supple socket
#

Hey Team,

We are using standard stripe connect accounts for fund transfers and we need to upgrade to express stripe connect so that we can transfer funds internationally. We are using Oauth currently so i've tried updating the url to O-auth one and i was able to successfully generate the connect link with which user can create Express accounts. I even tried payment with test cards and it was successful.

Now the question is What other changes i need to make to support international payments OR express connect supports international fund transfers by default ??

iron storm
#

I have a problem with my stripe, have banned me without reasons pls help me

violet patrol
#

Hi, after payment and before success_url redirect in checkout session - can I do some backend stuff like save data to db - and when it's done then redirect to success url? So after payment and redirection, I will be 100% sure and the user data in the web app will be correct.

spring tree
#

Hello! 👋
quick question about the payment_method.detached webhook event:
Is this event sent strictly only when the api for detaching a payment method is called?
Can the payment_method.detached event also be triggered by a user's card being closed (for instance if the user completely cancels their card)

crude abyss
open frost
#

Information requested for my account?

tropic bridge
#

Hey folks i'm having a problem with pending_setup_intent when creating a subscription with an initial free trial. Can somebody help me?

frank heart
#

all our transactions are merchant initiated. buyers only have the ability to check out but the actual auth/capture is done on the merchant side when they get the order details and are ready to ship out. what we want to know is if we could, at the time merchants are ready to ship out, can we send a payment link of some sort that autogenerates/auto-fills the specific order info pertaining to that order with 3ds attached so the buyer can confirm and transact with auth/capture and authenticating with 3ds?

hasty tundra
tired night
#

I'm unable to figure out how to exactly implement webhooks. I have react node js app. Lets suppose in the frontend im displaying status of the payment intent. in the backend webhook is implemented which send the payment intent status, lets suppose at one time payment was done, so now webhook will return different status and that status will be shown in frontend. i want to implement something like.

Please help in directing how to implement this in both frontend and backend.

vocal wagon
#

Hello. We are using "Stripe Checkout". Is there a way to have one time charge with trial before it? (for example $37 charge after 7 days).

ornate lantern
#

I'm trying to automate some SCA flows for backend testing. We are initiating the 3DS challenge on the front end after receiving a "required actions" response from the SetupIntent API. For backend automated testing, however, I need to be able to receive the SCA response from SetupIntent (via the SCA test cards) but then have a non-frontend way to complete the 3DS authentication (i.e. via some API) so that the card is attached to the customer. Is there a way to do this? I haven't found anything in the documentation.

open frost
#

someone spamming my account with failed payments

tropic venture
#

What is the phone number for stripe customers

rose condor
#

hello, for my payment link copied url, how do add an argument to that url to fill in a custom field? I know i can fill in the email field by adding ?prefilled_email=donkey@kong.com but if i have another custom field how do i add that one?

timid horizon
#

"A PaymentIntent using type card must be confirmed with either return_url set to the desired URL or use_stripe_sdk set to true (if using Stripe.js or the mobile SDKs). Please try confirming again in one of these two ways."

I am getting that issue when using the Payment Method off_session

shell jewel
#

When canceling a user's subscription, do I simply update the "cancel_at_period_end" to "true"? Below is what I have at the momonet but I am not sure if this is the correct way of doing it. Any help is appreciated.

def cancel_subscription_route():
    try:
        data = request.get_json()
        tokenId = data['token_id']
        subscription_id = data['subscription_id']
        if tokenId is None:
            return Response(u'Missing token_id', mimetype='text/plain', status=400)
        decoded = authenticate.authentify(tokenId)
        if decoded is None:
            return Response(u'Unauthorized', mimetype='text/plain', status=401)
        if not subscription_id:
            return jsonify({"error": "Missing subscription ID"}), 400
        
        stripe.Subscription.modify(subscription_id, cancel_at_period_end=True)

        return jsonify({"message": "Subscription canceled successfully"})
    except Exception as e:
        print("Server Error:", str(e))
        return jsonify(error={'message': str(e)}), 400```
cloud marsh
#

hi, is there any field on the Charge or Payment Intent resource that would tell me roughly when an ACH payment is expected to go from pending to succeeded? I don't need an exact time, just an estimate

hearty raven
#

If ive created a stripe Account object on hte backend with some basic kyc info but the user hasnt onboarded yet...

  1. Will this account creation trigger Events.AccountUpdated?
  2. What will happen here to account.Requirements.CurrentlyDue list?

The code looks like this and im curious what happens with the deadline. Is there a deadline at this point when they havent even onboarded? And what happens if they dont finish the currently due requirements before the deadline (both before onboarding and after theyve finished some onboarding steps/finished fully and new requirements come in and they miss them)

if (account.Requirements.CurrentlyDue.Any())
            {
                // Unix time stamp. 
                var deadline = account.Requirements.CurrentDeadline;

                if (deadline.HasValue)
                {
                    host.StripeConnectRequirementsDeadline = _clock.Now();
                }

                host.IsEligibleForPayouts = account.PayoutsEnabled;
            }
tropic bridge
#

how can i test a past_due subscription? I'm using a Decline after attaching card, but i can't remove the free trial to trigger a payment.

junior carbon
#

How to delete pricing table ? I am not able to find it !

zealous geode
#

codingHello, can I delete by code a product with an archived price?

meager hedge
#

Hello! I am trying to figure out why updating a subscription schedule's quantities is trying to prorate when I am explicitly saying not to prorate the change. The subscription in question is sub_0N9UpfCOzreAJaTW8OuW8spp. The last request is req_eNM95zwHZOnMll. Which should have updated the quantities from 4 to 3 in the current and all future phases without creating any kind of credit.

quiet sedge
#

I am unable to get custom payment flow working in NextJS 13 using app directory with route handlers. This is the error I am getting:

StripeInvalidRequestError: No valid payment method types for this Payment Intent. Please ensure that you have activated payment methods compatible with your chosen currency in your dashboard (https://dashboard.stripe.com/settings/payment_methods) or specify payment_method_types
south epoch
#

Hi. We have a stripe mechanism in place which works as 1 product per subscription. Now the client wants to keep the same rule of 1 product per subscription but wants to keep the payment of all the selected products to be charged only once. Is that possible to do?

violet patrol
#

Hi, stripe.checkout.sessions.create - is it the only way that can redirect me to the stripe checkout page? Or are there any other ways to do this from the code point of view? Some other API maybe that I miss in docs. Thanks!

bold herald
#

Hi, While putting the stripe checkout hosted URL inside the iframe then it's height is significantly less how to increase the height of the iframe so that we have the whole window of the checkout inside my own website?

iron jungle
#

hey all, I can't seem to figure out what is required to be able to store a payment method for offline use, but also be able to require a customer to provide ccv verification before using a payment method, does anyone know how this can be achieved?

latent plover
#

Stripe.Terminal-Android v2.20 getting error: FATAL UNHANDLED EXCEPTION: Java.Lang.NoClassDefFoundError: Failed resolution of: Lcom/stripe/jvmcore/logging/terminal/log/Log;

Background: My team maintains a Xamarin-compatible .Net binding (interop) wrapper library for Stripe-Terminal for Android & iOS.

We're trying to update from 2.19-2.20.0 android SDK, and get the subject error @ runtime. v 2.19 runs at least, and working, nominally (we just got it updated when 2.20 was released 🤣 ). We've had Android v 2.4 in production since it's release. This appears to be a missing dependency jar/aar that contains the base Logger class?

We can't find that type in any of the aars/jars.

fiery stirrup
languid hearth
#

Is there a way we can listen to Webhooks for capital transactions (cptxn_) or balance transactions in general?

forest goblet
#

Can you confirm that using stripe checkout with the mode="setup" should end up creating a customer_id and payment_id? When I try to do this "setup" request, I am given a stripe page that can be fillied out with CC details. However, once the success url is triggered, I can retreive the "checkout" object and it does NOT contain a customer or payment_id.

How can I go about using stripe to collect payment details then some time in the future run an payment intent authorization against these details?

tall bay
#

Is there a way I can access the Stripe Prebuilt Checkout page from an AWS Lambda function with redirection?

snow cobalt
#

Hi, I own a business in Wyoming, but I'm not a US resident and I'm not American. I am from Yemen, but I am a resident of the Kingdom of Saudi Arabia and I have a Saudi residency. Can I make a Stripe account?

My LLC is engaged in providing marketing services.

rain grail
#

Getting Webhook signature verification failed. SubtleCryptoProvider cannot be used in a synchronous context errors

together with Unhandled event type undefined

graceful dock
#

Hi, I'm having an issue on the front end. The call to create a payment intent is firing multiple times when I only want it to fire once.

twilit cloud
#

Hello guys!
I call the endpoint: https://stripe.com/docs/api/invoices/pay to pay an invoice using the option paid_out_of_band=true .. But, when I checked the response payload, the amount_paid property is equal to 0.. Is there a way to update this property?

scenic hound
#

can a customer of a connected account subscription have access to the customer portal?

cerulean loom
#

This seems like an obvious answer but just wanted to know where I can enable extra fraud prevention, I have fraud radar enabled

grim isle
#

Pls resolve

#

I’m getting this error when i want to use the same payment method

ancient shuttle
#

Hello, do y'all have any sort of api to check on webhook events? We had a firewall issue treating the events from Stripe as DOS attack and we didn't get the notification from Stripe which I'm guessing because the errors didn't hit a certain threshold.

So the question is if there is an API we can poll every few minutes to check webhook error rates to find any issues faster.

uneven flint
#

Hi I have a general question. Is there a way to set up a cheaper price for one time payments vs people that choose BNPL ?

coral summit
#

Hello,
Trying to connect stripe with 3rd party software fluidpay, and have made proper connection

#

but my processing is failing

brittle galleon
#

Hello, I have a question, does anyone know why stripe does not let me accept payments on my page, I am testing with a couple of my cards and they are all rejected

forest goblet
#

When using stripe checkout mode="setup" is it possible to have stripe automatically append some data (like the setup_intent_id) to the success or failure url?

vocal wagon
#

Hi, I am wondering about how long it would take to replace an existing checkout system by implementing the customizable Stripe Elements for a desktop platform with .NET backend and JS frontend. Would it take longer to add more payment options such as Apply Pay and Google Pay? Thanks.

idle furnace
#

Hello, at this moment I have an integration with segment that takes my data in stripe and sync them against a data warehouse. Also I have a stripe checkout session feature to allow my customers to purchase multiple products and in my data warehouse I have a table that store the payments/charges, but I can't look for the individual products that my customer purchase in a single payment from the checkout session.

Which table should I check?.

sand raptor
#

How can I change my payment?

#

I have been tryin but it says u need to update my birthday so I added it but it still says I need to ass my birthday

sullen kayak
#

Is it possible to assign a nickname to a saved payment method ? Or should we use a custom Metadata?

vocal wagon
#

Hi, I have a general question about the implementation of Stripe products into my platform. Are there any additional fees or expenses that come about by implementing and using Stripe Subscriptions, Stripe Checkouts/Elements, or Stripe's Revenue and Finance Automation stack? Thanks!

quaint stirrup
#

I am having an issue with universal links with the iOS SDK, specifically with the account_links endpoint. I'm hoping someone can help me out

south barn
#

Hi! When you click 'Update Subscription' in the dashboard, you can specify an 'Invoice memo' that is added to future invoices for that subscription. How can I also set this programmatically for the subscription using stripe.subscriptions.update api call? It seems like this field is maybe called description when dealing with the invoice api namespace, but i want to make sure it is applied to all future invoices, not just one.

grim isle
grim isle
#

I also get this warning when I want to make a payment

lyric linden
#

Hello I currently have an Action Required on my dashboard, its asking for additional information. However I have already gone through this process before, confirmed my ownership of my website, and gotten it fixed. However some short time passed and it has come back. I have worked with Stripe support through a very long email chain and was interested in fixing it again.

ebon gale
#

Question about how multiple rules work. Pretend all of these are on, rather than grayed out. Will each rule be evaluated in turn, and then if it results in a "yes, request 3ds" -- remaining rules are irrelevant and 3d secure will be requestd?

autumn pulsar
sharp valley
#

Hey, Im after some clarification and help if need be regarding Stripe webhooks in nextJS 13 (app router)

below is my API route which the stripe CLI forwards all webhooks to however I am seeing no response/logs anywhere. Hopefully its just a type or small error

import { auth, clerkClient } from '@clerk/nextjs';
import { NextRequest, NextResponse } from 'next/server';
import { buffer } from 'node:stream/consumers';
import { handleWebhook, stripe } from '~/lib/stripe';

// stripe listen --events checkout.session.completed --forward-to localhost:3000/api/stripe/webhook

export async function POST(req: any) {
  const rawBody = await buffer(req.body);

  let event;
  try {
    event = stripe.webhooks.constructEvent(
      rawBody,
      req.headers.get('stripe-signature') as string,
      process.env.STRIPE_WEBHOOK_SECRET_KEY as string
    );
  } catch (err) {
    console.log(err);
    return NextResponse.json(
      {
        message: 'Webhook signature verification failed',
      },
      {
        status: 400,
      }
    );
  }
  handleWebhook(event);
  return NextResponse.json(
    { message: 'successfully received' },
    { status: 200 }
  );
}
supple breach
#

Hello! When calling the stripe charge API, I came across this error stripe.APIError in datadog. I was wondering if these requests and the subsequent idempotent requests are still charging the customer in any way

ebon gale
#

@halcyon matrix I am developer and that was a technical question. I don't understand why you just closed that question without discussion.

vocal wagon
#

Hello, when I make test initial payment for subscription, in my webhook, I handle invoice.created event. The event contains invoice already with status "paid". I would like to make some changes to invoice before it is paid, which I could if invoice was of draft/open status. For recurring payments I have no problem, as invoice draft is created hour before actual payment.

Why I need that:
In my app, I store special credits balance of my users in external source, outside of Stripe. When user makes a payment, I want to reduce % of invoice amount, as it is covered by these credits.

ornate kiln
#

Hi team, one of our users is trying to pay us but we're getting the bug in the screenshot above. We couldn't find anything through our bug tracker (sentry) and the key was used just 7 seconds ago so it doens't seem expired? Any guidance here would be helpful.

hollow magnet
#

Hi there, we're preparing a new system to handle periodic large influxes (flash sales). My initial idea is to buffer all purchase requests, and space them out to Stripe through an active rate limiter (Token bucket). This way we can hopefully keep the number of purchases about say 80-90 requests per second to avoid hitting the rate limit.

I'm here assuming the rate limit mentioned in the docs is per api key or per account right?

By doing this, the only unknown we have here is the public facing CardElement (which runs in clients' browsers). Do requests like createPaymentMethod (when adding card details) count against that rate limit? We're hoping not 😁

shell jewel
#

I want to delete this produce but I am not able to. I have not deployed my app yet so I don't care if the product is delted. Is there a way I could force delete it?

flat escarp
#

I know stripe.order API will be deprecated soon. I want to implement one time purchase with stripe. is there any alternative API in stripe?

cerulean pineBOT
cerulean pineBOT
#

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

velvet bane
#

Weird issue here. This request looks like it was paused or re-started by Stripe and then moved into another request.

req_oJofDf7RbgmJmk, req_GdG7PEqTfLNXTS.

The Idempotency keys are the same for each request, as well as the payload bodies: bdd1dafc-b390-4f3c-bcc6-55d927d9003b

What would be the cause for this behavior? Also, on the second request ID it points to the original request ID.

ocean kayak
#

I am developing a mobile app in Xamarin. I am unable to use your Android sdk because I don't have a gradle. I am trying to redirect the user to a webpage in order to user the node js sdk to complete the payment before returning the user back to the app. My question is: Is this possible while remaining pcl compliant?

slate plover
#

Who can help me with my Striper? I opened it, I made a payment with one of my cards to try and they put it under review

shut spruce
#

Hello, has there been a recent change to the payment intent update requirements? As of a few days, getting many errors when trying to update simply the metadata of a payment intent.

The error is:
"message": "This PaymentIntent's payment_method_options could not be updated because it has a status of succeeded. You may only update the payment_method_options of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action."
"type": "invalid_request_error"

THis is happening sporadically...not on all charges....and to clarify, we're not updating payment_method_options, just metadata or description. Any ideas?

dense ridge
#

I can now make payments using this GitHub code.
https://github.com/stripe-samples/subscription-use-cases/tree/main/fixed-price-subscriptions

And, I added an address element to the payment page, and the address input screen now appears.(I am using card element, Node.js)

Collect customer address information | I don't understand "3. Retrieve address details" in Stripe's documentation.
What should I insert where?
please help me.

iron pulsar
#

not relevant to dev, but i do not see any appropriate contact email on the stripe website, where would I report a website that is unintentionally exposing their stripe private key (Had random charge $1 USD transaction from my card to this website, never used it or heard of it before, I'm guessing you can steal the key and use the it to maliciously test validity of credit cards or something)?

quaint stirrup
#

I’m creating an eBay-like marketplace, and I was hoping someone could take a look at the flow I have outlined just to double check that it’ll work as expected. I’m developing the app natively for iOS and using connected accounts

summer lantern
#

What is identity.verification / VerificationSession and when do I need to worry about it?

Before going live: "Provide an alternative verification method"
^ is this only important for Stripe Identify

fallow pilot
#

Hi, both of our projects are using checkout with stripe. how do we distinguish how much money the two projects receive from users via stripe, respectively

vagrant steppeBOT
#

HarrisonResnick19779

#

Jonah Librach

#

Ivy Wen

fathom cloud
#

Hi, I use low-code to complete my subscription module, and I have a problem with Webhook event. There are several checkout.session.completed, invoice.paid, payment_intent.succeeded, in my situation which one is really payment success.

vagrant steppeBOT
#

cgy

timber panther
#

Hello,

I'm creating the subscription using the PHP library. I have fields for the years like how many years I want subscription. If the user selects 2 then the subscription end in 2 years automatically. In the invoice, I want to show that 2 years gap like SEP 15, 2023 - SEP 15, 2025 this currently showing like this SEP 15, 2023 - SEP 15, 2024. And I want recurring payments in that year with the actual price. If I select 2 years and the price is $240. then splits the price into 2 parts like 1st year is $120 and the second year is $120, showing subscription time like this SEP 15, 2023 - SEP 15, 2025.

Here is my code which I'm trying now
$subscription = \Stripe\Subscription::create([
'customer' => $customer->id,
'items' => [
[
'price' => $price_id,
'quantity' => $quantity,
],
],
'collection_method' => 'charge_automatically',
'trial_period_days' => $trial_days,
'proration_behavior' => 'none',
'payment_behavior' => 'default_incomplete',
'expand' => ['latest_invoice.payment_intent'],
'metadata' => [
'payment_splits' => $payment_total_splits,
'price' => $price_id,
'quantity' => $quantity,
'maintenance_period' => $maintenance_period,
'num_years' => $num_years,
],
]);

Can anyone help me with this and modify my code based on requirements?

grim briar
#

Can someone take a look? I've set up other payment methods in dashboard but the payment page doesn't change at all? and should i change my payment methods in request?

pallid crane
#

Hi! It’s been over a week and a half now waiting for support to help me with this issue and I only get circle answers directing me to the documentation, however, the documentation completely contradicts what I’ve heard from support.

Here are the 2 issues I have. For context, I am creating a marketplace through Connect. Our main market is Costa Rica so this pertains to Cross-Border Payouts as well.

  1. When trying to create Express accounts on my platform I get the following API-response error when trying to retrieve the account onboarding link:

"You are trying to create an account link for a connected account in a country that Connect Onboarding does not yet support."

Stripe support has told me that Costa Rica is supported for Express accounts but I cannot find that anywhere in the documentation. Are all Cross-Border Payout countries supported by default? Or is support just wrong and I have to create custom accounts for that country? As a side note, it does let me create the account through the Accounts API but gives me the error above when I try to retrieve the link through the Account Links API.

  1. When I try to create Custom accounts for users in Costa Rica I get this API-error response from the Accounts API:

“Your platform needs approval for accounts to have requested the transfers capability without the card_payments capability. If you would like to request transfers without card_payments, please contact us via https://support.stripe.com/contact.”

Regarding this issue at first support told me that they had approved my account of transfers without card_payments but it still didn’t work. Then I followed up by bringing up the issue again and they said they are looking into it. That was over a week ago. I can’t seem to understand how it would take that long.

Has anyone else encountered this issue? Am I doing something wrong? Is the support team not seeing something that someone here might see?

Really appreciate any advice or feedback.

soft juniper
#

Hi, I am trying to use prebuilt checkout page,
I have created a button and i want to call the api onClick its giving me the cors error. Can anyone help me.?

sleek spindle
#

Hi stripe moderators.
Have a few of quick questions about 3DS authentication.

quasi orchid
#

Hello developers. I am trying to implement stripe in my angular + asp.net core application. It is working fine. But I need to implement discounts using coupon codes. I am not finding way to show discount, coupon codes in stripe popup window. Can someone help me how can show discount amount, sub-total in stripe popup window ?

gaunt gust
#

Hi, I'm trying to create a payment system using stripe connect on React and struggling with a warning: supported prop change on Elements: You cannot change the 'stripe' prop after setting it. .
Can anyone help?

export const PaymentContainer = ({
  stripeAccountId,
}: {
  stripeAccountId?: string;
}) => {
  const stripePromise = useMemo(
    () =>
      loadStripe(process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY, {
        stripeAccount: stripeAccountId,
      }),
    [stripeAccountId],
  );

  return (
    <Elements stripe={stripePromise}>
      <Payment />
    </Elements>
  );
};
compact jay
#

Hi, I've found a bug in the mobile app

bitter flint
#

Hello, I need that after successful payment is send Invoice to specific user email. I was wondering why i always get customer.id None. Chatgpt suggested me this kind of solution, but I am wondering if I should put this into webhook or /checkout api? Also why is invoice id or customer id always none ? Not sure what to put into ?

uneven haven
#

hi when i do card payment why the customer infor is not taken in payment it is showing empty how do we fix this we need to know which user paid

unreal ocean
#

Hi
I have a problem with android SDK, the EphemeralKeyProvider > createEphemeralKey provide a api version 2020-03-02 but the current version that I need is 2022-08-01.
The SDK implementation is:

#

dependencies {
  implementation('com.stripe:stripe-android:20.17.0'){
    transitive = true
  }
  implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2'
  implementation "androidx.lifecycle:lifecycle-livedata:2.2.0"
  implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
}
craggy badger
#

Hello Team, i am really facing this issue since last 1 week, as apple pay token generation is not working and throwing me this following error, can anyone help me with it, any sooner fix most appreciated. i have even tried with #flutter_stripe example code. it is giving me the same error.

#

final token = await Stripe.instance.createApplePayToken(paymentResult);

#

i am getting that error at above line.

grim briar
#

Set up Affirm in dashboard but the payment page doesn't change at all, can someone take a look?

zenith quarry
#

Hi,

I want to know if the Stripe Fee is the same when paying online using a BECS Direct Debit

undone narwhal
#

Hello, we're using Stripe Checkout Session to collect payments from customers, sometimes we see the customer being created as guest but with payment method visible/saved, and sometimes customers being created properly (cus ID) but no payment method, what makes these two types of scenario? TIA!

glad shoal
#

Hello, we are planning to integrate stripe issuing balance and virtual cards feature for our customers , just wanted to know that do we have to add spending limit for every virtual card generated, since all the cards are being funded by amount in issuing balance?

tranquil escarp
#

Hi Team

i not able to setup connect account based on african countries (i know it does not support african countries for now ) any alternative for to create african connect account and get payments form customer

fathom cloud
#

Hi, Stripe team. I create two subscription, and I use Customer portal link to let our customers to handle their own. I expect the link show all customer sub while it only show one subscription. What shoul I do

rocky geyser
#

Hey, Is there anyway I can recive money on a stripe account without having a registered business? Thanks!

tame forum
#

Hey, is there any change I can retrieve a Payout trace ID via API? I need to check that the payout has been fully transferred into the bank account.

zenith quarry
#

Hi,

I want to know if the Stripe Fee is the same when paying online using a BECS Direct Debit?

glossy totem
#

Hello, I have received some high-risk payments, and there are many similar payments like that. With such payments, I often have to refund the amount. How can I obtain similar payments to the one I currently have? Thank you very much.

glad shoal
#

Hello,Is there any way to get the transaction list linked to a virtual card?

rain stream
#

When adding a taxId to a customer https://stripe.com/docs/api/customer_tax_ids/create, I'm supposed to fill in type (required field). How do I tell the correct type? So far I've always filled in eu_vat, but from what I understand, I should be selecting appropriate type (US customers do not have eu_vat 🤷‍♂️ ). But how do I tell? Do I have to make address required to have a country of origin to assign appropriate type? And even then - I'd have to parse and "know" which type of taxId is relevant in such country 😕

vocal wagon
#

Hi, I'm having trouble figuring out how the refund webhooks are working. On one account I'm getting only charge.refunded, on the other one charge.refunded and charge.refund.updated right after it. Is this something I'm doing differently or it is because of the account configuration?

final walrus
#

Hello there I'm using Rails and try to create a subscriptions for anonymous user (not yet logged user on our platform). According to the help I already received from here, this is what I do :

          {
            customer: customer.id,
            items: [
              {
                price: price_id,
              },
            ],
            payment_behavior: "default_incomplete",
            payment_settings: {
              save_default_payment_method: "on_subscription",
            },
            expand: ["latest_invoice.payment_intent"],
            coupon: params[:coupon_code],
          }
        )```
We have a webhook set for event `invoice.payment_failed` which is calling our API `/v1/stripe/payment_fail`. Why when we are doing `Stripe::Subscription.create` the Webhook  `invoice.payment_failed` is triggered ?
gusty locust
#

hello I need help. Im getting this error in my project and I dont understand what I need to do 😦 My keys already up to date and not expired ? :/

vocal wagon
#

Hi Is there any api for stripe upsells ?

tranquil escarp
#

@misty hornet
hi i have create an test us platform and i am not getting any african country

grim briar
#

We include the Stripe.js script on the payment page of our site, specifically collect payment details before creating an Intent. Now it only has Card, how to accpect Google pay, Apple pay, Affirm?

dusk swift
#

Hi, guys!
I'm solution analyst at ePlane.com. We are working on improving on-boarding flow for Stripe connected accounts with our back-end team, but looks like we are stuck. Could somebody help me?

strange widget
#

Hi Team,
Is there a way to make a cross-sell item with adjustable quantity in a checkout session while leaving the original product restricted to a single item?

fair lichen
#

I want to generate a Stripe invoice for a connected account and send that connected account's customer an email containing a link so that they can pay the invoice. So far, I can create an invoice and add an invoice item OK with this code:

<?php
//Set up Stripe connection
$stripe = yhh_Stripe::getAPIClient();

//Build data for the invoice
$arrData = array('pending_invoice_items_behavior' => 'exclude'
,'currency' => 'gbp'
,'description' => 'Invoice reference #1234'
,'application_fee_amount' => 5
,'auto_advance' => true
,'customer' => XXX);

//Make the invoice
$invoice = $stripe->invoices->create($arrData, array('stripe_account' => YYY));

//Build data for the invoice item
$arrData = array('amount' => (123.45 * 100)
,'description' => 'Job #123'
,'invoice' => $invoice->id
,'customer' => XXX);

//Make the invoice item
$invoiceItem = $stripe->invoiceItems->create($arrData, array('stripe_account' => YYY));

...but when I try to access the "hosted_invoice_url" property of the invoice, it just returns null.

Anyone know how I can achieve what I'm after?

mental oxide
#

Hi team. I am using the Stripe Connect API. I send a request to create an 'Individual' account, create the account link, and get redirected to the onboarding 'wizard'. Even though I set the type to be 'Individual' I see that the onboarding form still asks for a 'Business Name', 'Website' etc. Is this the correct behavior and is there any way to omit the "business" details for an individual?

bronze kestrel
#

hello 🙂 are these emails triggered only in livemode? "Send SEPA debit initiation emails"

hollow belfry
#

Hi,
I’ve added Stripe Connect to my project, Set up the onboarding link and everything is working fine.
but when I try to payout to one of the accounts, i’m getting an error saying that funda can’t be sent to accounts outside the region of my platform. the platform is in CA and the accounts could be either in US or CA(for now). are there any alternatives to payout to the customers outside CA?

lavish gazelle
#

How do I get PayPal to send the billing address to Stripe via express checkout? It's not stored against the payment like Link/Google Pay? Also when you requestShippingAddress (which makes shippingRates mandatory), it doesn't pull the shipping rates in when you checkout as a guest via PayPal, but if you're logged in it does?

hearty jewel
#

HI we have a payment intent that failed and we don't know why, can someone help?

lyric cedar
#

Is there any way to resend aged out events via CLI/dashboard? Currently trying to resend event evt_3MuBGVBVfuMTCR401VsUNPU0, but I get these errors.

full wing
#

Hello, sorry for the question, maybe it's stupid. I would like to put stripe checkout inside my Shopify store and use it instead of the standard checkout that is in shopify. can you help me?

vocal wagon
#

Hello there, In which circumstances does Stripe set invoices on void ?

jagged bobcat
#

When making payments through Apple or Google pay and querying info of payment method it is always returning Card how to get exact payment method? And what is the process of recurring transactions handled by our own system is it similar to card payments or some special steps are required?

wintry furnace
#

Hello ! I would like to know if there is an amount limit for card payment. I know that there is a limitation of 10,000 EUR for SEPA payment. Is it the same for cards ? thanks

bronze kestrel
#

hello 🙂 is it possible to save more than one payment method in a setup intent?

buoyant vale
#

Hi Guys

#

We are using create account APIs and we added webhook for accounts.update but we are not getting any webhook

dusk swift
#

@tacit ridge could you give me permissions to answer in my thread.&

fair lichen
#

I want to generate a Stripe invoice for a connected account and send that connected account's customer an email containing a link, so they can pay the invoice. This is my code, which creates the invoice OK but doesn't let me finalize it:

<?php
//Set up Stripe connection
$stripe = yhh_Stripe::getAPIClient();

//Build data for the invoice
$arrData = array('pending_invoice_items_behavior' => 'exclude'
,'currency' => 'gbp'
,'description' => 'Invoice reference #1234'
,'application_fee_amount' => 5
,'customer' => XXX);

//Make the invoice
$invoice = $stripe->invoices->create($arrData, array('stripe_account' => YYY));

//Build data for the invoice item
$arrData = array('amount' => (123.45 * 100)
,'description' => 'Cleaning work for job #123'
,'invoice' => $invoice->id
,'customer' => XXX);

//Make the invoice item
$invoiceItem = $stripe->invoiceItems->create($arrData, array('stripe_account' => YYY));

//Finalize invoice
$stripe->invoices->finalizeInvoice($invoice->id);

When I try to finalise the invoice, I get this error " Uncaught (Status 404) (Request req_IHWInpRPn3Rob4) No such invoice:"

timid thistle
#

I use $stripe->checkout->sessions->create - how can i implement a return?

ivory sail
#

Hello, we have our main Stripe account (let's call it X with customer Y ) and Connect account ( called Y ) that create direct charges on the Connect account ( we are the merchant of record )

We currently create invoice items for every purchase on account X for all customers and send an invoice at the end of the month

is there a way not to include confirmed payment intents that are confirmed/paid on the Connect account Y in the invoice ( or pending invoice items ) of customer Y under our main account (Account X)?

valid lion
#

Hey guys,

#

I'm wondering where we can manage any payments taken through Klarna. Someone is asking to be refunded but I can't find where to do so as we moved over to sampay last friday?

wind halo
#

Hey guys- We are trying to troubleshoot an issue we're having with 3DS2. In order to do that we've created a new account in test mode to debug the problems. The issue we're facing now is that the new account is using a different version of the API. Is there a way to downgrade the API version of the new account?

gaunt karma
#

is there any api developer

vocal wagon
#

which webhook event is triggered if customer does not pay bill on renew subscription date

dusk swift
#

@waxen quail @tacit ridge guys, I can't unswer you in threads for some reason. Please check my permissions in this channel from your side. Here is what I see in threads, and no options to input text (field is disabled). I can't continue any of threads I've started. Please help!

woven quail
#

got the error in stripe webhook call
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>

shadow iron
#

Hello together,
Is it somehow possible to allow PayPal payments on Connected Account for later use? Actually I'm trying to do the following steps:

  1. The server creates a checkout-session in "setup"-mode, like the guide https://stripe.com/docs/payments/paypal/set-up-future-payments says
  2. The payment method type is set as paypal, success and cancel_url are also provided,
  3. I want to set the setup_intent_data.on_behalf_of with the connect-account-id, this should be allowed according to the docs https://stripe.com/docs/api/checkout/sessions/create

Now if I try to create the session with the setup above, I get an InvalidRequestException ````on_behalf_ofcannot be used with thepaypal` payment method.;```.
We really want to add the oportunity for users to pay also with PayPal on Connected Accounts. What am I doing wrong? Or is there an other way, to setup future payments with PayPal on Connected Accounts?

fierce knoll
#

Hi we are having an issue where we are trying retrieve the default payment card from customer, expand invoice_settings.default_payment_method. However it is not always returning a value. Could you look at this customer, from the dashboard the appear to have a default payment method but it is not returned in the request - customer id - cus_N9QZcORFXZKiVr

gusty trellis
#

hello , is it possible to add captcha and rate limit to stripe checkout?( checkout which is hosted on stripe domain)

crude abyss
#

Is there a way to charge iterations of a scheduled subscription up front? For example in a 1 year subscription where I want to charge 3 months up front, 2 months from the beginning of the subscription and 1 month from the end so if it 06/01/23 - 06/01/24 on at $100 a month, 06/01/23 I would charge for 06/01/23, 07/01/23 and 05/01/24 which would be $300 up front

floral canopy
#

how am i able to hide the US Bank Account option from the <PaymentElement /> component with react elements? I've disabled all payment methods except for google pay/CC/ apple pay within the dashboard (on both test mode and live) and still see this option. is there a prop that's needed?

proud kelp
#

i would like to display this kind of UI, but i'm not able to find logo icons anywhere in stripe documents.

untold torrent
#

hi any one there??

#

hi vanya hope you are fine

#

actually i am implementing the NFC contactless payment means tap to pay can you help me out ?

undone hinge
neat sinew
#

Hi Team ,
I want to reverse a Payment either through the dashboard or API.
To brief you about the scenario, a payment of 2500 was initially refunded. However, my client won the dispute and the refunded payment needs to be reversed

vocal wagon
#

Hi all, do you know how i can translate my product name for international in stripe checkout ? Thanks !

#

Hey i lost my email adress and i can't change it because the email sends to the old one help? I still have phone and dashboard access

supple socket
#

Hey Team,

how can i check what all charge type i am using for my connected accounts ?

vagrant ibex
#

hello! is that possible to set receipt product title dinamically? we are selling different subscriptions plans right now. subscription are based on user genome. So, can the receipt product title be something like Premium subscription for genome A?

rich flame
#

hello stripe :), is there any way to implement coupons in the payment links? Other than adding the field "allow_promotion_codes" but from my own of my page. I have tried to change the amount with the percentage of the coupons but I have had no solutions, could you help me pls?

vocal wagon
#

Please reopen this thread 1110159451966689390

jagged bobcat
#

When trying to charge recurring payment using our own recurring system getting this error: Uncaught (Status 400) (Request req_MSF0ZyHiXZDyJu) You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method.

toxic lark
#

Hi, I had recently setup my account in the US via Atlas, I would like to onboard users for cross boarder payouts in these supported countries as per the Stripe cross boarder payout doc https://stripe.com/docs/connect/cross-border-payouts

when I set the country in the Account::create options, I don't see the list of the supported countries during the onboarding. Am I doing anything wrong?

$account = Account::create([ 'country' => 'US', 'type' => 'express', 'capabilities' => [ 'card_payments' => ['requested' => true], 'transfers' => ['requested' => true], ], 'business_profile' => ['url' => url(Auth::user()->slug)], ['settings' => ['payouts' => ['schedule' => ['interval' => 'manual']]]], ]);

quasi nimbus
#

Hello Stripe, I having problems with payments in my woo commerce platform,
I'm using test mode and when I process the payment it works but when I go back to the store's dashboard the order stays in pending payment, which doesn't allow us to send our virtual product automatically.
Thanks.

rotund sun
#

I have called this before PaymentIntent Api
Stripe::ApplePayDomain.create({ domain_name: 'domain.com' }, stripe_version: '2022-11-15')
But still not seeing apple pay button on safari.

rotund sun
vagrant ibex
#

hello! is that possible to set receipt product title dinamically? we are selling different subscriptions plans right now. subscription are based on user genome. So, can the receipt product title be something like Premium subscription for genome A?

meager charm
#

I'm creating a session using python stripe.checkout.Session.create. When the user is directed to stripe, every line item has a name, but I would like to provide a title for the order itself, is there a way to do that?

vocal wagon
#

Customer want to avail the free subscription , How can i create the subscription using stripe api without having any payment methods?

lost nymph
#

Hi guys. I'm listening to the "customer.subscription.deleted" webhook event in order to cancel memberships on our side. How do I differentiate the reason why that event happened? In our case, it can either be due to non payment (after Stripe does all its retries), or due to member cancelling "at period end" and that time actually coming, or even our admin immediately cancelling a subscription in the Stripe portal.

urban summit
#

Heya ! Is there a way to reactivate a "cancelled" subscription. Assuming "unpaid" is continuously generating invoices

silver heron
#

Hi everyone. I can`t access files.stripe.com to get the file_id which is responsible for my sigma code results. I am trying to schedule my code via creating webhook. Can someone help me ?

odd gale
#

Hey guys, there is a way to create metadata for PaymentIntents when I am creating a PaymentLink? I am only receiving those metadata over the checkout session, but I need it on the PaymentIntent.

drifting delta
#

hi I have a question regarding the has an upcoming invoice scheduled for automatic payment in 7 days

bold herald
#

Hi, I want the receipt after successful payment, I attach it in my website to give the users to download. In which webhook event I will the successful payment receipt, so that I can save it in my database and give the user to the facility to download any particular invoice receipt when they are viewing their transaction history.

charred vortex
#

Using refund = Stripe::Refund.create({payment_intent: order.payment_intent_id} ) what is the most likely status of the returned refund object? It says the Refund is async, but I have some update logic based on the status for example.

      if refund.status == "succeeded" && role == "customer"
        order.update!(status: 1)
      end

      if refund.status == "succeeded" && role == "business_manager"
        order.update!(status: 2)
      end

I wanna know what other statuses I should handle, since I assume the rails call is not awaited until it succeeds?

vocal wagon
#

hi team,
maybe a dumb question but where is it possible to find charge (pre-authorization) type transactions in the Stripe Dashboard? I can only see collected payments in the Dashboard. thanks

sturdy barn
#

Can you no longer specify the ID of a price object when creating one through the API? We definitely have prices created in the past with a specific ID, but when I try to create one now, I get an "unknown parameter: id" error

lost nymph
#

@stray oxide, regarding the "cancellation_details.reason" enum, what's the difference between "payment_failed" and "payment_disputed"?

empty quail
#

Hi, when a user update their payment methods, will the latest failed invoice of the recurring subscription he subscribed automatically retry? If not then how can I do it using API?

lime geode
#

Hi, I'm creating a SetupIntent object to use to save a user's payment method to charge in the future. Do I first have to create a user with stripe, then save the card using the SetupIntent object, then use the returned setupintentid value and attach it to the customer to charge that specific customer later?

bronze kestrel
#

where can I see examples of the emails for

  • Send SEPA debit initiation emails
  • Successful payments
    ?
south elk
#

hi ppl
which is best way to apply new price for product for current active subs ?
Update sub e.g. delete old and add new product price (new phase?) *OR *cancel and create new subscription ?

I have product with volume based price and monthly bills. Need to change price - all tiers get up/down for example 1-500 from .5 -> .6

glacial crystal
#

Hello Stripe, how can I know if payment method is default for user while retrieving list of payment methods ?

barren sierra
#

Hello i have a question i used one of the templates from stripe for checkout but i want to be at the checkout price from my code but i dont know how to do that

Thanks for your help

rain narwhal
rain narwhal
vocal wagon
#

Hi all!

I have an issue with the payment. So the payment method done successfully which means in WP i see the purchase and in stripe i can see the payment. Also the bank account charged correctly but from the payment screen it leads to this screen.

dusk swift
#

Hi Guys! We need help with implementing Custom Onboarding Flow. But I have no permission to answer in threads. Could you check my permission and give access so that I could provide the details?

grizzled ice
#

Hi, we are trying to create a payment flow that supports pre-payment validation of an order using Stripe Elements. For example, a user might create an order, go to the checkout, view the quote, and fill in their payment details. However, upon clicking "Pay"/"Submit", we need to validate via our API that certain business-specific things haven't happened between them arriving on the checkout page and submitting their payment.

One option for doing that is to delay creating a payment intent until the user clicks a custom "Submit" button. However, by creating the Elements instance without a client secret, I believe we then lose the ability to load in saved payment methods for that customer?

Is there a way to have both supported? Saved payment methods AND validation of a few things API-side at the point of completion?

meager hedge
#

Hello! I think I've completely misunderstood something important about subscription schedule phase items. I think I've misunderstood that I don't actually need all the info in each phase. If I have a current phase that has an item with price pro and quantity 2, then I want to schedule a phase with price starter... do I also need to specify the quantity? What if I need to change the quantity on the current phase? Will that change propagate to the subscription? So can I have a process that looks like this?

phases: [
  {
    // current phase
    items: [
      {
        price: 'pro',
        quantity: 3,
        ...
      },
    ],
  },
  {
    // future phase
    items: [
      {
        price: 'starter',
      },
    ],
  },
]


// user then upgrades quantity to 4

phases: [
  {
    // current phase
    items: [
      {
        price: 'pro',
        quantity: 4,
        ...
      },
    ],
  },
  {
    // future phase
    items: [
      {
        price: 'starter',
      },
    ],
  },
]
winged ridge
#

Good morning! I need to get Apple Pay verified for a staging server that can only be accessed by IPs on an Access Control List, so I'm trying to figure out what IP the Apple Pay verification request comes from. I've already tried adding the IPs from https://stripe.com/docs/ips to the Access Control List and the verification request is still getting blocked.

Ensure your integration is always communicating with Stripe.

unborn wren
#

Hi! I have a question regarding Stripe Connect and payouts to connected accounts.

We use destination charges to transfer money from customers to merchants, and we set specific amount that should be sent to a merchant in the transfer_data property of a payment intent. No application_fee is specified. So these amounts are accumulated on the merchant's connected account balance, and then they receive funds via payouts. The question is who pays for the Stripe payout fees - the merchant or the platform?

turbid delta
#

I hv a question

#

To do a payout from UK platform to a US connected account is the first step to change legal entity?

fair lichen
#

If I want to setup a webhook to capture the event when a connected customer completes their onboarding process with Stripe, should I listen for the account.updated event? If so, what specifically within the account data that I pick up in the webhook tells me that the connected customer completed onboarding successfully? Would it be details_submitted?

drowsy raven
#

Hi, when I create a subscription and not pay for it yet, what is the longest I can keep the invoice for that subscription open? I want to give plenty of time to pay that subscription.

craggy vigil
#

👋 ❓ Does creating a subscription always create a pending_setup_intent? If not, when does it? (Or point me to documentation 🙏 )

buoyant vale
#

Hi Guys, could you please help with apple pay button, which is not responding.

rich jewel
#

Hello, I have a quick question. I am just getting familiar with Stripe, reading through the developer docs, and I cannot find an answer to something I have been wondering.

On the Customer Portal on Stripe you can allow the users to manage their reoccurring payment, manage billing, etc. I was just wondering if you can allow users to see one-time payments and reoccurring payments on the Customer Portal.

Here's the use case: On our website we allow users to set up a reoccurring payment to receive access to a page that has exclusive content. But, we also want our users to be able to select a one-time payment to receive access as well. (If they exceed the amount required to access the page, they can have access as long as the minimum payment is received.) On the Customer Portal we want our users to be able to view their one-time payments and if they decide to switch over to reoccurring, they can do that on the Customer Portal. Let me know if that makes sense.

If there are any docs that you can send to me to help, please do. Thank you for your time.

empty quail
#

Hi, if I create a subscription schedule, will its all the invoices (except the last one of an unpaid subscription) auto advance by default?

rustic token
#

hello

vital rover
#

Hi team! I have some doubts regarding workflow of how we can autorize a payment and capture later

rustic token
#

can anyone help me with setting up stripe link

dark moat
#

The Stripe Website is not working on three different devices that I have tried. I cannot setup an account.

barren sierra
grizzled quail
#

Hi,
My product is a subscription which offers a free trial for 3 days but card details are required upfront. I have successfully achieved this by creating a customer then setup intent then confirming the setup intent, then finally on setup_intent.succeeded I create a subscription that sets the default payment method, the customer id, and the trial end date. The problem I have is when someone cancels their subscription then re-subscribes using the checkout I have no way of immediately charging them. I tried setting the trial length to zero but this did not work. Is there a better way to do this, where to immediately charge prior customers, I wouldn't have to change the checkout flow? Additionally, I have had a lot of issues with failed payments from my reading of the stripe docs that's not likely due to our integration and more on the banks' side.

vocal wagon
#

Hello, after a lot of reading of the documentation and sample code I am still a bit lost and confuse about how to proceed and would appreciate some guidance. The context is an android application where the client would like a checkout page to sell subscriptions for recurring payment of a service (2 options: monthly or annually). There is no backend server, the app can only use firebase services (cloud functions, realtime database, auth, ..). I would like to use the basic Stripe UI for the payment on the app. But I struggle to find sample code about how to do this for subscriptions. For one time payment there is a clear guide on how to use the android sdk and the interaction between it and the server https://stripe.com/docs/payments/accept-a-payment but not for recurring payment : https://stripe.com/docs/billing/subscriptions/build-subscriptions. How should I use the sdk in this context ? 1 step a pay button on the app that calls a cloud function that create a checkout session but then after what are the next steps ? present the paymentSheet ? are all the steps of one time payment, like the ephemeral key and so on, necessary also in this context to setup the sdk ? thanks

south elk
#

hey
my previous question topic already closed, so I ask here.

If I create schedule for subscription update and sub have metered products, how I can create invoice before?
When I try to delete old price system will delete all current usage, but it is for future update, and I check Reset billing cycle.
I think it's clear that you first need to invoice before deleting old price

hexed mirage
#

Is there a tutorial to setup a payment element from scrach? I've only fond a documentation how to switch from "card" Element to "Payment" Element.

pseudo python
#

Hi,

For ACH payments, when specifying a transfer_data when creating the payment intent, why is the transfer to the connected account made when the payment transitions to "processing" instead of when it succeeds ? Is there a way to specify the transfer only when the payment succeeds or does the transfer need to be done manually ?

grim ivy
#

Hi there, quick question. If I wanted to collect bank account information for a custom connect account's external account/payout method, can I do thank manually via stripe js elements without using stripe financial connections? I do not need the account verification but do not want PCI compliance implications

vital rover
#

Hello! A couple of error creating a payment I would like to check with you: "You must pass in a clientSecret when calling stripe.confirmPayment()" and "The provided capture_method (manual) does not match the expected capture_method (automatic). Try confirming with a Payment Intent that is configured to use the same parameters as Stripe Elements."

light crow
#

Good morning! I was looking at the subscription API related endpoints and was curious about which endpoint Stripe recommended for pausing a subscription by one interval. Do you have recommendations for that?

latent pollen
#

hey team ,

grim ivy
#

Hi I'm trying to use an undocumented parameter via the Stripe Go SDK as described here: https://github.com/stripe/stripe-go#how-to-use-undocumented-parameters-and-properties. But I'm getting an error when attempting to do this. Can anyone help point me in the right direction?

My code looks like this
params := &stripe.CheckoutSessionParams{...} params.AddExtra("secret_feature_enabled", "true") params.AddExtra("custom_text[terms_of_service_acceptance]", "...")

verbal plank
#

Hi! I am integrating the Stripe API to create stripe connected accounts and reading the documentation I found that you need to pass as a parameter
tos_acceptance: { service_agreement: 'recipient', },
for currency exchange reasons.
The question is that I am creating Stripe accounts of type EXPRESS and not custom, is this really necessary in my case?

ancient tusk
#

is it possible to upgrade a subscription through the checkout page? i want to automatically apply a sale coupon and prefer to not to need to display the coupon somewhere and have the users ask how to apply it through the billing portal. I also don't want to just upgrade the user's sub without them going through a checkout procedure to confirm they agree to pay the new price

sly trench
#

It's telling me I can not run a Discover Card....any reasons why? It's never been an issue.

obtuse crown
#

when making payout to connected accounts. which events confirms payment has left our platform

lethal pebble
#

Hello I have an issue I have an order with 2 product : alpha from connected user1 and beta from connecteduser2
My order is 1000 300 from alpha and 700 from beta

I don t know how to create the paiement and transfer money to user1 and user2 account.

Back node front react native
Any advise or tuto ?

lyric pine
#

Hi team!
I am migrating to PaymentMethod from the Sources API. What's the equivalent of the "chargeable" status that a Source has? I couldn't find something similar in the PaymentMethod API.

sour stirrup
#

Hi Team,

I want to update amount of already created price object . from stripe dashboard, i am able to update . but through API can't able to update

remote wasp
#

I'm hoping somone can assist us. We're doing financial connections into our accounting program. We are trying to figure out how to do step 1 of the process where we connect the account llike shown in this photo.

rich flame
#

hey stripe, is there any way to add coupons to the payment links? Something similar to how it is done with the checkout sessions using the API.

lapis breach
proud dawn
#

Hi there -- I have a question about how failed payments on subscriptions should be handled, we are using subscriptions with usage based billing. We have our subscriptions setup so that they go to past-due if they are not payed on time. In previous months, we had issues where if an old customer who had not paid had a $0 invoice for the month, their subscription would go back to "active" once the $0 invoice was marked as paid. In trying to re-create this using the test clocks, the $0 invoice is remaining as a draft, and says "This draft invoice was created by an unpaid subscription. Therefore, automatic collection was turned off." -- did something change in our settings?

kindred grove
#

Hello, what method would you recommend in the following scenario: my service charges users on a per-use basis. Users are billed every 2 weeks. The number of times the user uses the service is counted, and then the user's credit card is charged for that amount. I would like to:

  1. collect a user's credit card information, but do not charge them immediately
  2. later (biweekly), charge the credit card for a particular amount (this amount will vary from bill to bill)

I am using React + Firebase. Your guidance is appreciated.

sour stirrup
#

a subscriber has subscribed to $10 price . since price amount is immutable . but it is possible to update it from stripe dashboard and not via API.

if i make $10 price to $20 price . then from next month .. does the subscriber is charged with $20 ?

hexed mirage
#

Is it possible to add the Field ZIP-Code to the Payment Element?

latent pollen
#

hi, Is there a way that I can skip the minimum 10 MXN so I can give a 100% discount in my product?

civic tulip
#

for stripe subscription if I want to upgrade downgrade terms for example switching from monthly to yearly vs yearly to monthly

#

should I create new subscription and cancel

#

or there is way to do automatically

pastel stone
#

How come my subscription goes straight to cancelled after a failed payment rather than past_due. I am using the attached details (is it because the first payment was never taken)

split cargo
#

Hello 👋

We recently got anissuing_authorization.request event in live mode. The event ID is: evt_1N9CU8Qs8t94ZQUFso1ooYN7. Do you know why the merchant_data city is a phone number?

tame geyser
#

What is the best api call for one-time payments?

narrow thistle
#

Hi, is it safe to return a Stripe.PaymentMethod object in an API response from our backend, or do any properties need to be kept secret? I'd be using it on the frontend to display info about the user's current payment method

barren sierra
#

hello how can i reopen my thread ? i wanna talk about it

gritty anvil
#

Hello!

I'm currently implementing Stripe Tax into my platform via the API and I have a quick question.

Our platform creates PaymentIntents sometimes weeks/months after checkout (but captures payment within a week of that authorization).
My plan was to call the tax API to collect a rate, then when the funds are eventually captured, create a transaction for the amount of tax that was captured.

The problem is, it looks like you can't create transactions unless they are tied to a calculation (which expire after 48 hours). Which is a problem as the amount we agreed upon to collect via the initial tax calculation could differ if we create another one during PI capture. Is there a way around this, or a way to create a transaction w/o a calculation?

next tusk
#

Hello, what is the best way to dynamically implement shipping rates during a checkout session? Is it even possible in a checkout session to hit an api mid checkout? I would like to calculate exact shipping after address collection and display it to the customer.

lime geode
#

I am using the payment element in react. everything works fine on desktop but when I resize for a mobile device I appear to be having some issues in development. Has this been an issue before?

tame geyser
#

I need help getting Quantity

carmine swift
#

Hi, i need to create thousands of unique codes for 1 coupon, can I import a CSV to do so?

light crow
#

If I follow the advice given in this thread (#1110252202192277514 message), when I pause the billing for a subscription, will this suspend or stop the customer from receiving anything subscription related until the specified timestamp?

Discord

Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.

normal sluice
#

I have a BBPOS Chipper 2x BT that I would like to give to a volunteer to use for payments. How do I get a guest login for this person so they can not see all of the people who have or are making donations? (Think church volunteer - they don't need to see everyone's giving totals.)

empty granite
#

Is it possible to set up multiple payout bank accounts and delegate percentages for each? Like, say I wanted to automatically send 30% of all transactions into a separate account for tax purposes. Possible?

limpid summit
#

Hi stripe team,

I am trying to do a Stripe demo presentation for my team on Stripe basics concepts and tutorials, do you have any good materials to recommend?

limpid summit
solemn kraken
#

Hi. We have a custom onsite checkout integration, for both one-time and recurring product purchases. We want to allow customers to use promo codes on one-time purchases, and it’s very important for us to be able to track promo code redemption totals. However, I’ve tried a few things, but I don’t see any way in the API to track promo code uses for one-time product purchases. Are there any ways that it is possible to do this through the API? Thanks!

chrome bear
#

So for example, among others at this link: https://stripe.com/docs/billing/subscriptions/build-subscriptions it is suggested to include the publishable key in the React component. Isn't it unsustainable as the key would be discoverable?

// Set your publishable key: remember to change this to your live publishable key in production
// See your keys here: https://dashboard.stripe.com/apikeys
const stripe = Stripe('pk_test_XEzHA2tiLmSdW9kfczbymQTU');

How can I use the .env file on/from the server/backend to loadStripe into a const stripePromise - const stripePromise = loadStripe(process.env.STRIPE_PUBLISHABLE_KEY);

without getting the: Uncaught ReferenceError: process is not defined error?

vocal wagon
#

We have a Stripe Connected Account that is no longer doing business with us. We'd like to turn off their connected account. How do we do that?

One option is to "Reject" the connected account, but stripe says that should only be used when you think they're committing fraud or violating the ToS.

The other option is to "Delete" the connected account, but that will remove the account entirely from Stripe and we've then lost all papertrail. What should we do?

Neither options really fits with what we want to accomplish

bitter harbor
#

For some connected accounts, we are receiving payloads from the /v1/accounts/:id API endpoint that have no external_accounts field. Why would that be? In the dashboard, I do see an account under the External Accounts section. And also, would it be possible to create test data that has this condition?

fiery stirrup
#

Hi all. Does Stripe JS support offline payments at all?

chrome bear
#

Can you guys point me to an API guide where I can mimic the checkout.stripe.com product/plan/subscription description on the left side of the image. I need to build a custom one by pulling the data from a product I guess?
I'm using React.
Server side code:

// GET PRODUCT DETAILS
app.get('/get-product', async (request, response) => {
try {
if (request.method !== 'GET') return response.status(400);
const productId = 'prod_NuDPcBmwNwDyAc'; // Replace with your actual product ID
const product = await stripe.products.retrieve(productId);
response.json({ product });
} catch (error) {
console.error(error);
response.status(500).json({ error: 'Failed to retrieve product details' });
}
});

Front end code:

<div>
{product ? (
<div>
<h2>{product.name}</h2>
<p>{product.price}</p>
<p>per {product.interval}</p>
<p>{product.description}</p>
<p>{product.billingInfo}</p>
<p>{product.subtotal}</p>
<p>{product.tax}</p>
<p>{product.totalDue}</p>
</div>
) : (
<div>Loading product details...</div>
)}
</div>

modest frigate
#

Hey! I know stripe prorates based on seconds, I have copied this behavior, because I cannot use the upcoming invoice to preview the price customer is going to pay for upgrade.

While it works, I have noticed that after a couple of minutes my calculation is already $0.01 lower, but when the payment is processed by stripe the amount is charged in full, this only happens with very low prorations, e.g. update very soon after the intial subscription update.

Is there any grace proration? e.g when the prorated amount is < $0.05 just charge the full price?

meager hedge
#

Hi there! Having trouble understanding what just happened to some prorated charges that disappeared when I updated a subscription schedule then tried to create an invoice. The sub in question is sub_0NAexICOzreAJaTWVGrJNgI2

tight delta
#

Is there an API request I can make to validate that a payment method belongs to a customer, without taking any action?

vocal wolf
#

Does anyone know where I can find my API Keys for an connected account recently created with Stripe Connect? If I do "View Dashboard as ..." on the connected account, there is no "API Keys" section when I click "Developers".

frank basin
#

What event do I have to listen in the API to know the update of this field "next_payment_attempt"?

lime geode
#

is there anything wrong with including the AddressElement and PaymentElement in the same form?

vocal wagon
#

The payments do not go through even though I have followed all the stripe payment steps What should I do please?

sacred blaze
#

We have a payment page where the ACH debit is labeled as US Bank Account. Is there a way to change the label? This is not on the standard form but a custom API form.

civic tulip
#

when doing upgrade for subscription does user need to be active on session, for example if card fails etc or no?

last yew
#

Hello Stripe team!

I currently have endpoints set up to listen for webhook "invoice.upcoming" (a.k.a Upcoming renewal events) on Stripe to be sent 30 days prior. This webhook event fires when an invoice is created on Stripe side.

If I set a subscriptions to cancel at end of their billing period, would it still create an invoice ? I would like to re-use this webhook to notify users they will no longer be auto renewed 30 days prior.

ancient shuttle
#

Hi folks! I'm looking for a way to find refunds associated with a PaymentIntent. I've looked at the PaymentIntent(and Refund) documentation(https://stripe.com/docs/api/payment_intents/object) and I'm not seeing anythig that helps out.

I'm using the latest stripe-go library and don't see anything there either(https://github.com/stripe/stripe-go/blob/master/paymentintent.go#L2593). However, when I do a manual GET to /v1/payment_intents/pi_abcdefg on a PaymentIntent via cURL or Postman, I see a nested charges list of charges associated with the PaymentIntent and the refunds associated with that charge which is exactly what I need.

Is there a reason that isn't in the documentation or in the stripe-go library? Is there a better way to get refunds associated with a PaymentIntent?

I've thought about using the LatestCharge field on the PaymentIntent object and then do a get on the Charges API to retrieve the data and that should work but I'm wondering if there could ever be a case with multiple charges on a single PaymentIntent or will a PaymentIntent only ever have a single Charge associated? The response I'm seeing from my cURL GET seems to imply multiple charges per PaymentIntent is possible and I want to make sure I'm going in the right direction here.

vocal wagon
#

Hi, does payment links work with usage-based billing

vagrant steppeBOT
#

rlindsey

hazy holly
#

When updating a Stripe subscription to a new plan, the proration_behavior parameter can be set to always_invoice to force a new invoice to be generated. However, this new invoice doesn't appear to have any of the pending line items associated with the subscription - just the line items for the subscription change. Is there a way to include those somehow?

pallid crane
#

Hi, quick question regarding fee distribution through the API. When manually transferring funds to a Connect account there is an option to take out the fees from the sent amount instead of taking it from the platform. Is there a way to do this through the Transfers API? I couldn't find the option anywhere in the docs.

candid vault
#

Hey guys, I am trying to understand how coupons/promo code works. When I'm creating 2 coupons with the same promo code, it gives a 400 error, but the coupon still gets created.

lime geode
#

I am using the SetupIntent object to collect the amount a customer is willing to bid, save their card, show them the tax on their (and total), and then saving this information to charge later.

How can I show the correct tax amount based on a price?

rose condor
#

Hello, is there a way to get payment method used (example cashapp or credit card) in the event checkout.session.completed ?

grim briar
#

can someone have a look? we use check out element API, but the the input box for Affirm didn't show up?

vagrant steppeBOT
#

mothmaniam

dense ridge
vagrant steppeBOT
#

hana ito

clear orbit
#

can I ask something about stripe

#

any online ?

gaunt gust
#

Hi, I'm trying to implement a payment system using CardElement with some inputs and I couldn't find any way to check if the CardElement is left empty when the user clicks the submit button.
I can check the invalid value with the onChange handler for the CardElement component, though.
Here's a codesandbox to indicate the situation: https://codesandbox.io/s/kind-sun-svk025?file=/src/checkout.tsx.

tribal cloud
#

Hi all, I am trying to understand if stripe card issuing and bank transfers is right for me. But no one from support can talk to me, what can I do in this case?

glossy totem
#

Hello, Is there any API that can assist me in retrieving this information for a payment intent?

fierce storm
#

I am trying to set up webhooks for a subscription. I am creating a subscription with

"payment_behavior":"default_incomplete",

Therefore, I am just ignoring the "type": customer.subscription.created message.

Then if the payment is complete I believe I get a "type": customer.subscription.updated

After that, if I want to change the term from yearly to monthly, then I would like the yearly subscription to finish with no proration and the user to be charged for the monthly subscription at the beginning of the first month. I believe I am accomplishing this with:

data = {
'cancel_at_period_end': False,#don't cancel
'proration_behavior': "none",#since we are only allowing downgrades, don't do any prorations. This will mean, we don't discount old plan until end of billing
"items[0][id]": orderID,
"items[0][price]": priceID,
"metadata[users]":json.dumps(users)
#need new set of users too
}

This will trigger another "type": customer.subscription.updated with the information for the monthly subscription (even though the yearly subscription is still active).

My server is listening for webhooks with "type": customer.subscription.updated. My questions are:

  1. Is there a webhook for a new term starting
  2. How do I get the current subscription product when I get a "type": customer.subscription.updated (because I believe currently I will see the updated and not the current product).
vagrant steppeBOT
#

xqprtzcv

stark star
#

Hi
I am using stripe in my flutter application

ISSUE
When user taps on applePay bottom sheet of payment is opening in loop.
Process is not going further for payment.

Please help me with this

teal sable
#

What determines id stripe uses a small or large product image on the generated checkout pages?

quartz lantern
#

Hey there, I understand I can reuse the same payment intent if it fails. Where are the docs about reusing a payment intent and how to reuse it?

I would like to send the user an email with a link to try to pay that same payment intent again

noble imp
#

can someone help on how to report a website that make a copy of my ecommerce and its using stripe to make fraudulent sells?

untold torrent
#

hi anyone help me out?

uneven haven
#

does stripe support connecetd account in india ?

turbid raft
#

Once the payment is completed, is there any api/event where we can get access to bank name of the card used?

compact jungle
#

When using stripe jssdk v3, Apple Pay is enabled in the account, and Apple Pay can be displayed in the incognito mode of the browser, but it is not displayed in the normal mode of the browser. Does anyone know why?

vocal wagon
#

I have added multi currency in a price , how can i fetch all currency with unit amount in price api

thin fern
#

Hi all, I have enabled cash app in my stripe settings but not able to see the button when I am doing payment, what is the possible reason?

deep canopy
#

hi, can the stripe API session->create(...) handle both payment and subscription at the same time?

maiden sable
#

Hi I have some doubt regarding ach payment

upbeat kettle
#

And today's topic - discounts

Hello everyone,
Is it possible to give a discount to a customer without entering a promotion code?
I want to set up subscriptions and discount the customer on the payment page. But without him typing the code. Is it possible?

safe hinge
#

Hi

Is this possible to show how much tax calculated while creating PaymentIntent?

stark star
#

Hi
I am using stripe in my flutter application

ISSUE
When user taps on applePay bottom sheet of payment is opening in loop.
Process is not going further for payment.

Please help me with this

vocal wagon
#

Hi Team! How does Stripe adds additional charges to the customers (VAT, GST, TAX) and in which cases?

wanton rock
#

Hi , i have problem when user use order and stripe management page is changed to "guest" , i am currently upgrading stripe to the latest version using test mode , looking forward to your help

zenith quarry
#

Hi im trying to test payouts in a test account, is there a way that I can generate the payouts instantly and not wait for another day??

ocean cosmos
#

Hi, my pricing table does not show my local currency, eventhough i have setup this currency

#

also does not show correct currency at checkout

#

oke nvm, just make sure all your prices are inclusive tax

white dust
#

Hello . I just register on stripe couple days ago . And i have to activate my acout for affiliate bussiness . Are you know how to do that ?

solar cedar
#

Hi, I'm from australia and i have ABN number but don't have ACN number. How can i open a stripe account on ABN only

untold torrent
vocal wagon
#

Hey I have issue that my 2 cards got declined for specific shop (for no reason) that is using stripe (it was working fine with stripe before). Who do I need to contact as a customer? Thanks in advance

pseudo python
#

Hey, had to disconnect yesterday, so following up on this message #1110244478217900153 message, you can check the payment on our US account pi_3MuS3PH5tvrIOuhg0bTMqa4D | transfer destination acct_1MOOxDHDGAccesyM. The transfer was made the same day it transitioned to processing instead of succeeded, and they managed to trigger a payout po_1MxJyvHDGAccesyMsKNv10O5 including this payment before the payment succeeded.

native bolt
#

Hi I am not a developer but trying to work out how much we are being charged for refunds. We anticipate doing refunds at scale so I need to be able to forecast the extra costs associated with a [refund and payment] vs a payment. When I look at a given charge_id the only event_type associated will be refund. There are usually multiple lines for each including network_cost and stripe_fee. My question is are those the total fees for the payment AND the refund. Or is this just the fees for the refund and the payment was taken under a different charge_id somewhere? I can never find the charge_id without refund in the event_type column

azure spindle
#

Hey guys, thanks for any help ahead of time 🙂

I'm trying to work out invoicing rules work for the status of a subscription for a customer.
Specifically, we want to send an invoice say 5 days BEFORE the due date of the billing cycle end, and to set over due on the due date ...
Can I configure this in the admin portal?

pallid sparrow
#

Hi everyone! I hope you are having a good starting for the week. I have this scenario and I'm looking for a good approach:
One account on Stripe.
2 different projects that will use the same Stripe Account.
In both projects I need to check with the WebHooks.
Is there any way to know on my backend which requests belong to each project?
I had the idea to create a new account with the same data of my current business but I don't feel it is the right path to follow.
Thank you very much for reading these lines 🙂

molten tundra
#

Hi, Everyone. I am sending metadata in flask backend like this.

@app.route('/create-checkout-session', methods=['POST'])
def create_checkout_session():
    metadata = request.json["metadata"]
checkout_session = stripe.checkout.Session.create(
            line_items=[
                {
                    'price': price_id,
                    'quantity': 1
                },
            ],
            metadata = metadata,
            mode='subscription',
            success_url='http://localhost:3000/settings' + '?success=true',
            cancel_url='http://localhost:3000/settings' + '?canceled=true',
        ) 

But in the webhook response object, metadata is empty "metadata": {},.
How can I send metadata?

bold herald
#

Hi I am added the feature into my subsctiption plan, How can I get this into the frontend.

When I am doing get request for plans, prices or products , the features key is not coming

verbal olive
real urchin
#

hi guys, Do you have a list bank which requires 3d secure when payment with stripe

queen wren
#

Hello, I have a very simple admin dashboard written in React which is running on localhost and I want to generate Stripe reports from it for particular month. Everything is fine, report is generated but I cannot download it from the code because I'm receiving cors issue:

"Access to fetch at 'https://files.stripe.com/v1/files/file_XXXXXXXXX/contents' from origin 'http://localhost:3006' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

Is it possible somehow to download it from the code instead of using CURL? - I guess that I should whitelist localhost but I can't see that option anywhere.

sonic arch
#

Hello, I have seen that a recipient type connected account can create coupons under the products tab (in his dashboard).
I wonder how it works since the payment is to the platform.
The question is, can a recipient type connected account create discount coupons to be redeemed at purchases to the platform?

azure spindle
#

Sorry guys, I was away doing chores and chat was closed.
I apologize for not responding.
The conversation is in the attached image.
In response to Jack's comment., I can see how to send an invoice x days before it's due ... but I'd like to know if I can set the behaviour when they haven't paid that. We want the status to be overdue if they don't pay by the very due date. In my example, 5 days after the invoice has been sent.

Thanks for any help!

rugged fractal
#

I am working on expo based react native app. I am implementing apple pay in my app via stripe. The main problem is i am able to pay on simulator but i get this error on real device. I am trying to figure it out from hours but all in vain. You help would be beneficial for me.

i am getting this error on apple pay. Client secret, payment intent everything is generating successfully. But i get this error while trying to open apple pay popup.

{"error": {"code": "Failed", "declineCode": null, "localizedMessage": "Payment not completed", "message": "Payment not completed", "stripeErrorCode": null, "type": null}}
iOS Bundling complete 160ms

woeful portal
#

Hello, I would like to know how to establish an initial fee for recurring payments during the checkout process. I tried using:

  1. trial_end field but it won't show the exact date,
  2. billing_cycle_anchor but it won't let me add trial_end so the initial price is incorrect.
    Thank you in advance.
maiden sable
#

How to integrate ach credit transfer in my website?

strange widget
#

Hi Team,

Is there a way to offer a specific money off a checkout session that isn't setup as an existing coupon/discount? We want to allow our members to use their account balances towards payments.

So if they have $4 in their account balance and want to buy a product for $15 or sign up for a $15 subscription I'd like the checkout session to be for the product/subscription at the $15 price but take $4 off the initial payment as they would use their $4 in-house balance towards the payment.

untold torrent
#

hey i need help regarding nfc tap to pay

#

i need to implement nfc with stripe and react native

vocal wagon
#

Hey I'm having trouble changing my address country on Stripe hence cannot confirm my business and recieve payouts. If this isn't the right place to ask for help please refer me elsewhere. Stripe support didn't have a section for my need,

deep canopy
#

i want my subscription renewal dates to all fall on the 1st of the month, so i need to charge prorated fees if people sign up in the middle of the month

but i have customers who try to outsmart me by signing up near the end of a month to pay just fraction of the fees and cancel their subscription

assuming $10/month, is there a way to ask Stripe to charge:

  1. $10 on 18th Jan
  2. on 18th Feb (1 month later), charge $4.5 for the remaining of Feb
  3. 1st Mar, charge $10
remote rover
#

Hi there, good morning. I need help integrating Paystack to my Stripe account?

vocal wagon
#

Hi

I'm trying to retrieve stripe account but I have been getting an error

The provided key 'stripe_test_key*********************************************************************************************key' does not have access to account 'account_id' (or that account does not exist). Application access may have been revoked.

Are there any other actions I need to put in please before retrieving an account.
PS: I'm using stripe package for node js

clever widget
#

Stripe Promised Payout on 14 May via email , Today is 23 May and more than $100,000 still unreleased

I need urgent response from Stripe.

Already send them email but since this is a huge amount of money appreciate if someone can look into this or share your experience.

tired night
#

Hi, I want to list all the transactions and found this api. https://stripe.com/docs/api/issuing/transactions/list but this api is responding with the IDs of cardholder. Is there any way in which data(name/email) of the card holder is directly provided for all the transactions list? or do we need to hit another api to get card holder details?

granite swallow
#

Hi Team this is Arvind here. Need some info regarding Stripe ACH microdeposit verification

wraith phoenix
#

does anybody know how to implement stripe hosted checkout flow in medusajs?

#

I need sessionId for redirectToCheckout method inside stripe, I can't figure out how do I get it from medusa

deep canopy
#

what's the difference between checkout and subscriptions? or are they just abstractions but calling the same API at the backend?

toxic lark
#

Hi, is it possible to have a US account but connected to a bank in the UK?

sand lichen
#

Hi, is it possible to only set recurring subscriptions Overdue after the first retry attempt? Or after a certain time period such as 12 hours?

pastel stone
#

Hi, I just want to clarify something with subscriptions. Should I only allow failed payment customers to reactivate a subscription if the status is 'past_due'. And do I do this by paying the latest invoice? If a subscription is status 'canceled' and my customers lands in my reactivation flow should I make a new subscription instead

vocal wagon
#

Hi there I have a question regarding subscriptions. I have a product that has a trial phase for 2.99 for two weeks. After that the normal price of 14.99 should be in the subscription. So far what I have done: Create a plan with interval of a year of a product and then create with this plan a checkout session. Works perfect. What I am pnly missing is this "trial phase".

charred vortex
#

@copper reef mentioned that charge.refund.updated should reflect the latest status of a refund. Is that true even if refund is issues using payment_intent_id instead of a charge id? The charge in the event name threw me off. There is also refund.updated

deep canopy
proud kelp
#

Hi Team, i'm using setup intent to enable payment options.

i would like to have a coupon field there and coupon should auto apply with my payment

magic lance
#

I am taking user's personal data in my website like: city,country and address. After that user goes to checkout. Can I pass user's selected city and country and that country is auto selected on checkout.

timid pond
#

Hi, im intersted in using stripe checkout to build some customer features. I'm not clear where I use this - is it already a tool in my existing developer section of my Stripe account or a new tool I have to subscribe to?

summer kayak
#

Hey,

I want to monitor data discrepancies between my data in Postgres and Stripe data, so most preferably do some JOINS on them.
What would be my best strategy? I see you offer way to dump data, but only into two databases?
Is there a way to automate syncing stripe data into a custom data source like Postgres?

slender wind
#

Hey guys, I'm integrating stripe payments in go, just a flow question, for deposits, I create a connected account for each client using the service, then I attempt to create a payment intent, but how do I do this without having a payment methodID specified or do I have to create the paymentMethodID before creating the payment intent?

past zenith
#

Hey guys, I turned on the payment method of Alipay
The Recurring payments needs to "Requires approval"

how i can get approval? i can't find more detailed description

crimson hull
#

Hello, I want to transfer payment to user's bank account from merchant's Stripe account. For that I'm using payout apis. But I'm getting following error when creating payout.

"No such external account: 'account...'"```
Can anyone have solutions? Thank you.
deep canopy
#

i have get this bunch of data returned from the API call, which one should I use as a unique reference for the one time payments and also for the subscription in order to issue refunds and cancel renewals?

forest shore
#

Hello, what is the best strategy for dealing with incomplete payments? For example, a customer starts an ideal payment but doesn't finish it (maybe because he made the wrong choice) and then he choses another subscription which he finishes with ideal. Now I have 2 subscriptions in my customer account, where the incomplete subscription automatically fails after a certain time it overwrites my active subscription in my database.

manic ruin
#

Ok — I was able to finally create a card on one of our connect accounts, but how can I get it to return the card details via the issuing API? What is the point of generating cards if we can't see the card numbers via API?

potent needle
#

I have this usage based plan, where I give

5,000 contacts + 15,000 marketing emails/month = $15 flat rate
$0.004 per additional contact or email

I'm confused on how should create my graduated pricing.

Problem is, its $0.004 either contacts or emails exceeds. So i'll be reporting both contacts and emails

so should I set the inital quantity of gratuated pricing to 15+5 = 20,000 flat rate $15 and after 20K its $0.004,
or what I have currently set it as of right now is 5,000 flat rate of $15 and after 5,000 its $0.004 , and I thought I'll send the usage reporting after 5K contacts exceed and 15K emails

or can I just intially send the report from contact 1 and email send 1 if it was set to 20K quantity.

Yeah this question is confusing, if you wan more calirification pls ask me more questions.

grizzled saffron
#

hiii

#

Anyone online to help ?

safe quartz
#

Hello, we are running into an issue where when our clients upgrade their subscription it makes another customer in our system (even if they share the same email). Is there a way to prevent this from happening?

untold torrent
#

hi

#

i have added sdk in my android app react native and i want to add tap to pay in my app without connecting to any reader can you please help on it

stone lichen
#

Hi any admins?

#

any reason why my transaction on Kaiber.ai are failing? all I am getting is card has been declined

vocal wagon
#

Hello everyone, I need some help about the integration of Google/Apple Pay over a Woocommerce website. Seems shipping options are not declared on my backoffice, so the paiement can't proceed

sinful bridge
#

Hellow Everyone,
I am working on a experiment to integrate our existing application with stripe for payment.
We have already existing payment provider (Buckroo) which sent notification to Zuora to create invoice. Can we do the same with stripe?
We also have recurring payment so we collect money from the user during renewal. If user unable to pay we send 3 reminders. I am not sure if I can do the same with Stripe? Need your advice

winter forum
#

Hi all, I had some questions about how payout IDs are generated. Let's say for example, if I get 1 order today and that order is fully refunded, and I had just the right amount of funds in my balance to cover the fees on that payment, will that order and that refund, have a corresponding payout ID generated?

stone rover
rapid shard
#

ared-3d9dd8b46352b30079e04761ef7878ee.js:1 POST https://r.stripe.com/0 net::ERR_BLOCKED_BY_ADBLOCKER
Why is stripe being blocked by ADBLocker ?

merry saddle
#

Hi, I need help for graduated prices for one-time payment and using Session Checkout. I know it's not something that Stripe is not supporting right now, so I'm doing it on our end, but I have a few questions.

vocal wagon
#

Hello, when new invoice is created, I use webhooks to catch an event and have access to an invoice draft. What I would like to do, is to lower invoice's amount. I could achieve it with creating one-time promo code on the fly and apply it, but can we do it other way? When I tried to directly change price of invoice or invoice items, I get the following error:

When passing an invoice's line item id, you may only update tax_rates or discounts.

earnest lintel
#

Hello. I'm trying to create an integration that debits our partner's connected account. In test mode we have a test connected account setup, but when we try to debit it, we get an error that we cannot create a debit on the connected account. (see screenshot)

We do have debit negative balances on already.

What do you say?

vocal wagon
# vocal wagon Hello everyone, I need some help about the integration of Google/Apple Pay over ...

Refused to connect to 'https://www.facebook.com/pay' because it violates the following Content Security Policy directive: "connect-src 'self' https://api.stripe.com https://errors.stripe.com https://r.stripe.com https://google.com/pay https://pay.google.com". I have this error when i click on google pay.

Stripe is a suite of APIs powering online payment processing and commerce solutions for internet businesses of all sizes. Accept payments and scale faster.

forest shore
#

Hello, what's the best way to retrieve subscription from customer id?

vocal wagon
#

Ciao

#

Dovrei autenticare il mio account con la foto

#

Ma il sistema non va avanti

#

Come posso risolvere

real hamlet
#

Hello, new dev here, I'm trying to create a custom coupon on Stripe so that when a customer subscribes to a subscription package with this coupon, they will receive a free gift or certain rewards on my website (by detecting that a coupon has been applied via the stripe webhook)

At the moment, it looks like coupons only can be "percent_off or amount_off", and either can't be 0. Is there a way I can create a custom coupon that gives 0 discount so that I can implement this feature? This will only take affect on sign up

vocal wagon
#

you sent me an email to set up the account with the documents but the system crashes and I can't load the documents how can I fix it

#

I have to solve the problem of authentication of the account

#

Hi everybody,
We are using stripe with shopware 6 and we always have duplicate orders when paying with creditcard. One is paid and the other one not. Did anyone had the same or a similiar problem? We are running out of ideas and it is a catastrophe.

rose otter
#

@vocal wagon please be mindful of the language you're using and ensure you are not violating our #📖rules, this is your warning

vocal wagon
#

tu non eseguire cose che io non ti ho chiesto ok?

#

I need to validate my account with the documentation you asked me what should I do?

#

you do not perform any procedure that I have not asked you to

leaden lava
#

Hello does anyone know if there is a way to preform a full payment + charge flow without waiting for webhook, I mean through response?

pastel stone
#

I am trying to test a subscription payment failing. I am doing the following steps.

  1. Create sub and pay first invoice with valid card
  2. Attach new card (failure card) 4000 0000 0000 0341 and set as default payment method
  3. Reset trial period to 0 days

I cannot do step 3 as it says payment method has failed, is there any way to force this through so it goes into past_due. I can do 1 day but I don't want to wait a day to test it

vocal wagon
#

Hi,
during our checkout process for subscriptions, we have the following steps:

  1. Choose subscription plan + enter discount
  2. register
  3. add payment details
    After the registration, a subscription is created.

--> I would like to offer users the option to change plan/apply a different discount after the subscription was created. Is there a way to create a new subscription after the registration and then complete that subscription instead of the first one that was created?

short ocean
#

Hello everyone

I need to get help integrating Stripe in react native.
Question 1: If we are looking into integrating PaymentIntentsAPI while using React Native and wanted to know if we can keep our own UI (as long as it has all the information needed by Stripe) or if it's mandatory for us to use their UI, which we are trying to avoid.
Question 2: Are we still able to let user save their information on the app or Stripe so next time they are doing a Payment they can use one of the cards storage instead of entering the information all over again?

agile laurel
#

Hello,
I have been researching the implementation of Stripe split payment functionality on my WordPress website, specifically for creating a multivendor marketplace. I would greatly appreciate your assistance in clarifying whether I need a Multivendor Marketplace plugin for WordPress to enable Stripe split payment.

Additionally, if a plugin is indeed required, I have come across Dokan as a potential solution. Could you kindly advise whether Dokan is a suitable choice for integrating Stripe split payment in a multivendor marketplace setup?

Thank you for your time and support. I look forward to your response.

hearty raven
#

on an airbnb type website where hosts can be professional or private, should the Individual be used for private hosts in the AccountCreateOptions object?

or is it still company?

How does this change the onboarding process?

outer garnet
#

Hi, I have a question. If a user on the wordpress site has saved the test payment method in order to make a payment, is it normal that if you try to place an order with a new user using the same payment method it will not allow the payment, giving a payment processing error message?

lapis tinsel
#

Hello everyone using Stripe

#

I have a big issue for now, my company was using stripe for 7 years and then we got closed recently. There is any way to reactivate my account?

zealous geode
#

Hello, I need to save data payment but not charge the amount. is it possible?

timid horizon
#

I am trying to test handleNextAction what card could I use to trigger those workflows?

const handleServerResponse = async (response: any) => {
    if (response.error) {
      // Show error from server on payment form
    } else if (response.status === 'requires_action') {
      // Use Stripe.js to handle the required next action
      const { error, paymentIntent } = await stripe.handleNextAction({
        clientSecret: response.clientSecret,
      });

      if (error) {
        // Show error from Stripe.js in payment form
      } else {
        // Actions handled, show success message
      }
    } else {
      // No actions needed, show success message
    }
  };
glass warren
#

Hey there, trying to automate the 'blocked' list in the Identity Dashboard. I don't see any API documentation for this list, could this be a renamed radar list somewhere? Or is there a way to interact with this identity document list via API that I have missed?

uncut lotus
#

Hi All. I'm looking for information on how to pass the CC processing fee as a surcharge within the payment intent. When I add the processing fee now it just adds it to the total and Stripe calculates a processing fee to that.... Hope this makes sense.

sand tusk
#

When we process a transaction the customer pays, we create the order, we send an update request to annotate Stripe meta data with the order id. For card present transactions the update portion is not being allowed. I spoke to someone last week and at the time I got the impression that updating after the fact for card present just wasn't possible. Now I'm looking at what likes two separate CP Discover transactions where one is successful and one is not. Can you help bring some sanity to CP transactions?

timid horizon
#

What I suppose to do after I handle handleNextAction ?

const { error, paymentIntent } = await stripe.handleNextAction({
        clientSecret: response.clientSecret,
      });

      if (error) {
        // Show error from Stripe.js in payment form
      } else {
        // Actions handled, show success message
      }
    } el

Do I need to resend the payment intent to my backend? Or just show a success message?

narrow latch
#

When I am creating a new account for connect - can I pass through the associated customer programmatically, or is it a separate module?

naive stag
#

Hello Guys! Someone can give me a hand to understand why I didn't receive some payout.created in my webhook?

uncut lotus
#

I have question regarding saving payment information within the payment intent. I have added the "setup_future_usage" "off_session" when a customer pays ... but when the customer comes back and goes to pay on a new intent there are no options for either ACH or CC.

pallid smelt
#

Hey we are seeing that authorize calls take up to 30 seconds in test environment, is everything ok there?

narrow latch
#

I am getting this error message "message": "Connect platforms cannot create new accounts on behalf of their connected accounts.", but according to documentation, With Connect, you can create Stripe accounts for your users. To do this, you’ll first need to register your platform.

lime geode
#

running a test on my server using the following

  const calculation = await stripe.tax.calculations.create({
      currency: "usd",
      line_items: [
        {
          amount: cost,
          reference: "bid",
        },
      ],
      customer_details: {
        address: {
          postal_code: "10002",
          country: "US",
        },
        address_source: "billing",
      },
    });

for whatever reason the response is giving me a tax amount of 0, even when I change the postal address. why is this?

pastel stone
#

Is amex the same stripe fee as visa and master (UK)?

zealous geode
#

Hello, I create a code to create a link to a payment for a subscription, but the URL link is very long nearly 195 characters, can I shorten it?

noble raptor
#

Hi, need some help

normal sluice
#

How do you create a user who can take payments, but not see account information?

#

This is an account for a church. I'd like to create a user login for a volunteer to take payments using our bbpos chipper. The volunteers are not allowed to see info from other people making donations

#

I can not find a user role that doesn't let people sign into the account

rain maple
#

Hello. I can't configure Sofort and Giropay in my stripe. Can you guys help me?

remote pumice
#

We have a payment intent which throws an "An unknown error occurred" (500) when confirming. Can you help me or should I contact support? Request ID: req_g9PEkFIE90RQaa

vital rover
#

Hello Team! I have a question related to how we can accept a payment without creating and confirming the payment itself in our server side where we have control about our next steps. Could someone help me? I can provide further details

hexed mirage
#

After upgrading to stripe/stripe-php ^10.13 I get the error "Fatal error: Uncaught Error: Class "Stripe\Apps\Secret" not found"

hearty raven
#

when I register an individual account in AccountCreateOptions, does it need both a first and last name?

I have a "Doing Business As" property in my db, it's just one name.

Can I set this to first name and leave last name empty?

pastel stone
#

Hi, I am testing paying for a past_due subsription using the latest invoice, but for some reason when the payment element loads it doesn't show bacs_debit as a payment option? the original subscription is gbp so it should show I think

bold herald
#

Hey every time the customer is coming on the my website then in the pricing table it is always showing the defaullt opion, but I want the if the customer has already taken that plan then it should show the that plan as a active plan and other plan as the the upgrade option instead of subscribe option. is there any way to achieve this.

dreamy tartan
#

Hey, Im trying to connect a third subscription payment handler to Stripe so i can keep using Stripe as my main payment handler on my online shop but so that the other payment handler can collect the money from my customer monthly. the other payment handlers readme tells me : For recurring payment handling, payment providers should add the new recurring function in their Payment HandlerIdentifier file for process the recurring payment.
I know which function I need, I just have no idea where to put it.
Can anyone tell me where I can find the corresponding config file in my Stripe account? I cant seem to find it anywhere.

vocal wagon
#

Hi everybody ! 😃 I'm looking for people who are really good with stripe. We have big problems with accounts they close and we can't figure out why

rotund sun
#

Hi - I'm not able to see apple pay button even GPay is working fine .

last yew
#

Hello Stripe team! I currently have two types of billing periods for plans: monthly and yearly. I would like to send "Upcoming Invoice" events to my web-hooks on a separate reoccurring basis. For instance, for monthly plan, I would want this event to fire every 7 days. For annual, I would like to send the event every 30 days. Is this possible ? I saw under "settings/billing/automatic > Prevent failed payments" you can customize the amount of days, but this seems to be for the overall plans ?

meager charm
#

Good morning Stripe. When we go live is there a way to test stripe without an actual purchase, for instance using the fake CC # 4242... to test that everything works as it should?

tall trench
#

Hey Stripe, I want to start selling digital goods but I've seen a few of my friends get locked even with full verification. What are steps I can take with stripe to avoid having my account locked.

vital rover
#

Hello Team! can I add Klarna as payment method to a setupIntent?

remote pumice
#

@copper reef Since our thread has been archived, the ticket is now open. So you can now find and link it.

remote wasp
craggy vigil
#

👋 Hello! Team and I are implementing a custom subscription checkout flow and we're following suggested details of using stripe elements and confirmPaymentIntent. What's the suggested practice for displaying promotion code fields and attaching that to the subscription before it transitions to active (the subscription is currently in an incomplete state)

trail flame
#

Hello!
I'm trying to adjust the radar risk controls and it says I need to contact support to initiate a manual risk review.

remote pumice
#

We are testing different transfer scenarios for Connect in test mode and don't have enough balance. I have already topped up the balance, but I get "(Status 400) (Request req_m3WOWg8uA8uWzb) You have insufficient funds in your Stripe account. One likely reason you have insufficient funds is that your funds are automatically being paid out; try enabling manual payouts by going to https://dashboard.stripe.com/account/payouts.". However, I don't see an option to switch payouts to manual in test mode only? It seems that is in the live account then too? There I would like but the automatic payouts continue. How do we have to proceed?

dull arch
#

Hello I am a new stripe developer developing for a store. Can I change the price of an order after the order has been placed?

grand moss
#

I've been consistently getting 403 errors when trying to install the stripe CLI RPM on a RHEL based platform at specific times of the evening, around midnight Pacific. Is this the right place to report this kind of issue?

mighty oak
#

Hi, I'm trying to configure border payments to send payments to banks in the Dominican Republic, what are the routing codes for the Dom Republic banks that I should put in my app?

fair lichen
#

When I call cardElement.mount("#cardElement"); in my JavaScript to mount the card element from Stripe's JavaScript SDK, I get a fairly plain-looking set of boxes for card number, expiry date and CVC number. Am I able to style these at all to include a text label above? Can I control the appearance of those boxes in any way?

true nexus
#

Hello!
We are using Stripe Connect in our app.
I have a question, how does Stripe understand what type of charges is recommended for me?
When the team only started developing the project, they used Direct Charges, but later Product Owner had a meeting with somebody from Stripe and they told us to use Destination Charges.
Right now I think that for our purpose using Direct charges will be better.
How I can check it?

earnest lintel
#

Hi there.

If I have a customer with a credit, but no payment method on file... How can I create a subscription via API? It allows me to do this in the UI but when using the API I get the following error:

lucid spear
#

Hi everyone, I have some questions about how to prevent card testing. Can someone help me with that?

solar solstice
#

Hi, we are trying to publish an app to the Stripe App Marketplace, it seems that the option to do so publicly is greyed out for us. What does my team need to do to make this available to us? Any guidance would be greatly appreciated!

winged ridge
#

Is there any way to get a custom local domain approved for Apple Pay on a Stripe test account? Everything I see references using ngrok for testing, which isn't really viable for our dev team when local ssl certs and all the setup for both the frontend & backend are using a custom domain.

ashen hornet
#

I read the documentation on rate limits but can't find the answer to my question so here it is: Let's say a marketplace has a Stripe Connect Marketplace account and is onboarding merchants. Is the rate limit of 100 req/s when live per merchant account or for the whole marketplace (shared by all the merchants under the marketplace account?

sinful eagle
normal arch
#

Your platform will not send a verification # to my phone for the final verification so I'm able to complete the payment setup... also the stripes main platform will not allow me to sign in so I would able to obtain customer support...

#

For some reason the stripes platform refuses to send me a verification code an order for me to sign in so I'm able to address the technical issue...

dim hearth
#

@normal arch I responded in the thread I created for you - please don't respond in the main channel

normal arch
#

For some reason it just will not send me a verification code...

small ginkgo
#

I get this is an example of Connect Custom? 😅

final nacelle
#

Is there a way to suppress sending invoice emails to customers when creating a subscription? I have customer emails enabled for my whole account in the stripe settings, but hoping to override that for a specific subscription when creating via the API. Is this possible?

gritty galleon
narrow latch
#

Ok, asking again. I can get an Account set up on Connect. How do I link a customer to an Account programmatically? when I am logged into stripe and looking at an account, I can see customers as a resource, but am not sure how to link them? It seems i can clone customers to various accounts, but not sure how this flows. Thanks!

final nacelle
#

How would I go about creating a flat-rate subscription via the API that bills in arrears (doesn't pre-pay for a billing period but rather charges at the end of the period)?

half bane
#

Question about the TermText which is part of the Payment Element. Is it OK to hide it or is there a requirement to show it? (This is the text I'm referring to: )

toxic wagon
#

Hey i am implementing stripe fields in react using material UI theme but can someone help me with how to add custom validation to stripe fields such as cardElement , addressElement etc

frosty sierra
#

Question about promo codes and minimum-amount requirements: We have a subscription for $249, with a $50 off coupon, and there's a promo code for that coupon that stipulates a minimum amount to be paid of 199. However, when we go through our payment flow and try to create a subscription via the API at point of payment, we get an error from the create-subscription call reading "This promotion code cannot be redeemed because the associated purchase does not meet the minimum amount requirement."

We do have a trial period of 7 days, so is this because of our trial phase before first payment? Are we trying to redeem a minimum-amount promotion code at a point when the amount is actually still zero?

elder pier
#

hi
i need help

iron jungle
#

hey all, quick question regarding connected accounts, I just want to ensure the path I am taking is the correct one as it seems there are a lot of options.

  1. I want to process payments on my platform for my clients who can or might not have a stripe account.

  2. we are offering a platform for our customers to sell tickets/merch etc, and we want to process payments and pass along a small service fee on top of the stripe fees we'd pay.

is this the correct api documentation for that approach? https://stripe.com/docs/connect/enable-payment-acceptance-guide

fierce storm
#

Hello! I am running a simulation for a subscription with a test clock. for some reason when the first term ends on the subscription, I am getting a payment failed. Could you tell me why the payment is failing? Here is my subscription: https://dashboard.stripe.com/test/subscriptions/sub_1NB0ewHtzQiUYLb0rX9cXKnX

hearty raven
#
 var options = new PaymentMethodListOptions
        {
            Customer = customerId,
            Type = StripePaymentMethods.Card,
        };

        var service = new PaymentMethodService();

        var paymentMethods = service.List(options);

there wont be any exceptions here right if the customer has zero paymentmethods? only an empty list?

dull arch
#

I am trying to add Customers to my payments everytime a new payment comes through. I am getting this error:An exception of type 'Stripe.StripeException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again.'

lament agate
#

hi, are there any docs or recommended resources around security best practices with using a Payment Element? I'll thread more details

polar hedge
#

Hello, we are building a terminal solution for a client in Canada, and currently it is server-driven. Unfortunately, in order to handle refunds, the function needed is not available in any stripe libraries (except cURL?)

https://stripe.com/docs/api/terminal/readers/refund_payment?lang=node

Is there any ETA for this? Looking at NodeJS specifically

pastel stone
#

When does cancel_at_period_end get set? I am testing failing payments on subscriptions and once it is set to past_due after a failed payment I'd expect to see that field populated with the end of the cycle, could you clarify this please

spring tree
#

hello 👋
is there any extra cost associated with stripe auto-updater? For instance, is there a cost per auto-update?

distant notch
#

Is there a way to send a subscription invoice when the subscription starts in the future? I know you can do pre-bill before a renewal but wasn't sure how to send an invoice in advance of a scheduled subscription.

copper zodiac
#

Hello, I'm implementing Apple Pay on the web. From the docs it appears that Stripe only supports Apple Pay if the user already has a card in their wallet. Is it possible to let a user do the Apple Pay card/wallet setup before paying from a web client?

vagrant osprey
#

Hey all!
I'm having issues with Updating a Subscription via API. My desired goal is to charge any changes to qty immediately.

I'm using the always_invoice behavior and invoice interval to "day".

The issue is that the first change to qty I do to a test sub goes into the Pending Invoice Item list and is not billed.
If I do another update, then that one is billed immediately.

What am I doing wrong?

sharp vector
#

Hello,

I'm currently working on creating a one-time payment link using the Stripe SDK. I would like to make the billing address collection optional for users who are not purchasing as a company, but required for those who are, because i need this billing address on invoice. However, using the field "billing_address_collection: 'required'" in Stripe SDK makes the billing address collection required for all users, which is not my desired outcome.

Could you please assist me in understanding how to make the billing address collection optional for all users or required only for those purchasing as a company?

Thank you for your help!

vocal wagon
#

@Natan Mercedes#8699

sour atlas
#

hi, i currently have an application where our customers are connected to our platform account using an express connect account. They create this after signing up to our service. We now want to start charging for our service and any new customers will go through a flow as follows: Sign up to service with personal details etc., they choose their subscription package and then they can setup their connect account. We wanted to have the user setup the connect account later on as they may not have bank details etc. to hand but we still want them to subscribe as easily as possible.

My question is firstly is the the correct flow that we can expect to have/is it possible? secondly how do i "link" the subscription to the connect account since the connect account is created later in the flow?

hazy holly
#

Hi! I had a question about auto-deletion of subscriptions on test accounts per the data retention policy (https://support.stripe.com/questions/test-mode-subscription-data-retention). Specifically, when a subscription is canceled (example: https://dashboard.stripe.com/test/events/evt_1N87FfH2k4SQrn57SDFiSiYb) it looks like the cancellation_details -> reason field is "cancellation_requested". This is a bit misleading since I'd expect that reason to be reserved only for manually requested cancellations, not something automatic like this. Is there a way to know that the subscription was canceled automatically due to the retention policy?

dull arch
#

Is there a way I can update a customer that is created in my stripe account while they are creating a payment?

umbral stump
#

Hello everyone, I'm from Mexico and I want to implement payments with Swift and Aba. Can someone tell me how I can do it? And where can I obtain the workflows for each time a client wants to make payments through this method?

lucid spear
#

Hi there, I have some questions about generating stripe payment element?

vocal wagon
#

Was wondering if someone could provide some information, I want to verify the users payment before sending the software to the email.

def check_payment_status(purchase_id):
    try:
        charge = stripe.Charge.retrieve(purchase_id)

        if charge.paid:
            print("Payment is successful.")
        else:
            print("Payment is not yet completed.")
    except stripe.error.InvalidRequestError:
        print("Invalid purchase ID.")

this function takes in the Purchase ID of the payment

this is what I'm planning on implementing into the account model is this a good idea?

wooden loom
#

Simple question... i cant get subscriptions filtered? i need get all yearly subscriptions that is about to be renew cant find anything in the docs to do that... cant pass parameters to it to list and cant get more than one in retrieve there is anyway to achieve it? or i really need to go over all subscriptions usinggt and lt?

zenith quarry
#

Hi team,

Is there an API or something existing right now, where I can get a computed Stripe fee while creating a payment.

Want I'm trying to achieve here is that I want to pass the fee to the customer but I don't want to compute the Stripe fee manually since there are many payment methods.

south trellis
#

im using typescript and im trying to access subscription.plan.product from calling subscription.create but im getting an error plan does not exist on subscription. the picture above is the actual object i get back

cloud marsh
#

hi, I'm looking at this invoice: in_1MS5JMGn5V9HebEDmPs5g9p3

I'm trying to understand how it was possible for this invoice to get paid on Jan 25, but then get voided on Feb 21. when I try to reproduce the same behavior in my test account, I get the error message that I expect from Stripe ("You can only pass in open invoices. This invoice isn't open.")

thin quest
#

Hello! I'm interested in Setting up a Stripe connect express account to allow vendors to sell products on my website.

Those vendors would be able to define products and prices from our website. Where is the API documentation that shows how to programmatically create products & attach products to a vendor so they get paid out via Stripe connect functionality? Thanks!

chilly bison
#

hello, i have a question about when a customer creates a connected account, in the drop down for currencies it only has a few options. is there a way to increase the number of available currencies?

fierce storm
#

Hello, I am creating a customer like this:

    url = '/v1/customers'
    data={"email":email,"name":name,"tax[ip_address]":ip}

Then creating a subscription like this:

        url="/v1/subscriptions"
        data={
            "customer":cid,
            "items[0][price]": priceID,
            "metadata[pk]":pk,
            "metadata[users]":json.dumps(users),
            "payment_behavior":"default_incomplete",
            "payment_settings[payment_method_types][0]":"card",
            "payment_settings[save_default_payment_method]":"on_subscription",
            "expand[0]":"latest_invoice.payment_intent",
            "expand[1]":"latest_invoice.total_tax_amounts.tax_rate",
            "automatic_tax[enabled]":True
        }

Then I am using stripeJS elements to pay for that subscription. When I am simulating this, if I pay with a credit card with a billing zip code, the first invoice is charged tax based on the ip address, and the second invoice is charged tax based on the billing zip code. I thought the billing zip code would overrule the ip address for the first subscription charge based on this: https://stripe.com/docs/tax/customer-locations#address-hierarchy
Is that how things are supposed to work?

Here is my subscription example:
https://dashboard.stripe.com/test/subscriptions/sub_1NB3yEHtzQiUYLb0hYPA4iPS

pallid crane
#

Hello! Quick question. I'm trying to generate an API request to initiate a transfer but I wanted to only happen once the funds for a corresponding payment become available. Is this possible? I know about the source_transaction parameter but it looks like that is only for charge objects and those are being deprecated. Is there something similar for Payment Intents?

spark cloak
#

I have a form that collects payment methods with the card element, and then creates/confirms payment intents server side. I'm looking at the payment element migration guide (https://stripe.com/docs/payments/bacs-debit/accept-a-payment?platform=web#web-test-integration) and see some test bank accounts. Is there any test data for Bacs bank accounts available in payment method form (pm_*) similar to test cards (https://stripe.com/docs/testing?testing-method=payment-methods#international-cards) ? So I can test and continue creating those payment intents on the server side?

pastel stone
#

How do you save a payment method to a customer during stripe.confirmPayment? I can't seem to find it in the docs

crude abyss
#

It seems like after a month or 2 the subscription cancels it self, is there a way to change that?

opaque yacht
#

When using stripe.redirectToCheckout with the stripe firebase extension is there a workaround or suggestion to be able to use payment_method_collection to be able to have a $0.00 subscription / trial without requiring to collect their credit card details right away? It's a known issue: https://github.com/stripe/stripe-firebase-extensions/pull/516

silver cradle
#

I am trying to reset password and it is not sending me the email

crude abyss
#

This subscription: sub_1NB5P0Aq6ReFUKV8FUGFyLWE started creating invoices for the beginning of the month (as it should) and the mi way started creating the invoices for the end of the month which os weird

turbid raft
grim briar
#

does link payment method mean apple pay & google pay and other wallets payment methods?

ornate pollen
#

Hi, what is the maximum number of credit cards that can saved against a customer?

past blade
#

hi, is there a payment element field that corresponds to the name on card of the CC?

grim briar
#

According to the stripe document, we need to host domain association file on our site (which is salesforce in our case), however, it might be difficult to do that. Is it a must? Any substitute solution?

molten basalt
#

Can someone please help how I can deploy my webhook project to a prod server and get the righ Endpoint URL?

timber panther
#

Hello,

I'm fetching products using stripe API but I got only 10 products in the response.

Here is my code
function get_stripe_product(){

        \Stripe\Stripe::setApiKey('sk_live_51ICF3aBn72Z****');

        $products = \Stripe\Product::all(['active' => 'true']);
        $response = json_encode($products);

        // Send the response back to the client
        header('Content-Type: application/json');
        echo $response;
 die();
}

I want to get all published products. please help me with this.

fierce storm
#

I am trying to setup a situation where a user has a pro subscription for $100, and half way through the year, downgrades to a mini subscription for $10. I would like the mini subscription to go into effect only after the yearly subscription runs out. In my simulations, when I change the user to a lower subscription, they are charged immediately. Here is what I am using:

url = f'https://api.stripe.com/v1/subscriptions/{subscriptionID}'
data = {
'cancel_at_period_end': False,#don't cancel
'proration_behavior': "none",
"items[0][id]": orderID,
"items[0][price]": priceID,
}

vagrant steppeBOT
#

developer.designer

maiden sable
#

How can I see the logs using request id

red prism
#

Hello,

I would like to inquire if it's possible to obtain the payment interval enum from the stripe.net NuGet package for creating a Price object. Specifically, I'm interested in intervals such as:

"day, week, month, year"

If the stripe.net package does not provide an enum for payment intervals, would it be recommended to create a custom enum for this purpose?

I would appreciate any guidance or recommendations you can provide. Thank you!

fathom cloud
#

Hello, I consider one situation which when I create a product on my Dashboard and one customer subscribe this product monthly, but next month I want to raise the fee, I find that I can't edit the price om my Dashboard, so what can I do ? Create another product ? If I create another product will the existing subscriptions stop? And in this situation how Webhook act ?

maiden sable
#

Hi,
I have requirement to do payment integration using ach ... So I read the documentation but not get clear picture about this...for my website I want to do this integration ..if any one can simply tell me the steps to integrate this one

turbid raft
proud kelp
#

Hi Team,

I'm trying to retrieve payment intents using client secret but its returning me wrong payment_method.

The payment_method which is returned by stripe.setupIntents.retrive doesn’t exists in my account.

late elk
#

Hi, when we try to let users pay with stripe, we don't want to pass the user's card information within our product
For example, let the user verify the card number and pay directly with stripe without going through our server , where can we have the relevant doc?
Please let me know

bitter flint
#

Hello, I config webhook we have configured 2 products and if our product pay we got succes link, but If the payment happen from another product we got error 500, and cannot identify whats going wrong. I have webhook coded like in example, but not sure how to handle this that we avoid retrying

worthy spear
#

Hi everyone
I'm looking to implement a modal window for Stripe Checkout, but it seems that direct integration isn't possible. Instead, I've discovered that using Stripe Elements is the recommended approach. I have specific requirements, such as the automatic display of tax calculations and support for business purchases. Is it possible to have those things with stripe elements?

mystic mulch
#

Hi Everyone,
Develop stripe checkout function after some time it shows something went wrong page when checkout how to solve this error currently it's on test phase

vocal wagon
#

Hi,

I'm looking to update payment method of a subscription in my app and I'm using "com.stripe:stripe-android:16.0.0"

I have found a way to update it using below.

Stripe stripe = new Stripe(context, "YOUR_STRIPE_API_KEY");

PaymentMethodUpdateParams params = PaymentMethodUpdateParams
.createWithPaymentMethodId("NEW_PAYMENT_METHOD_ID");

stripe.updatePaymentMethod(
"SUBSCRIPTION_ID",
PaymentMethod.Type.Card,
params,
new ApiResultCallback<PaymentMethod>() {
@Override
public void onSuccess(PaymentMethod paymentMethod) {
// PaymentMethod updated successfully
}

        @Override
        public void onError(@NotNull Exception e) {
            // Error occurred during PaymentMethod update
        }
    }

);

But the thing is I'm not able to call PaymentMethodUpdateParams and stripe.updatePaymentMethod()....Do you know how I can call these objects using my current stripe SDK version ?

cloud forge
#

Hi, Stripe. Which field can we find the "Authorization response cryptogram" of the bank card? Do you have an "Authorization response cryptogram" in the test card you provide?

pastel bison
#

Hi every one. i use iphone and payment with apple but i got error message: "apple pay is unvailable", how to resolve it?

digital bramble
#

Hi Stripe. I subscribed to EasyCode - GPT-3.5 Pro with Stripe today, but I only subscribed to my card without logging in, so I don't know how to unsubscribe. I'd appreciate it if you could tell me

unkempt gale
#

After I added dependencies, this class could not be found

#

But your official document has this class

dreamy snow
#

Hi everyone, I've added PayPal to my payment methods but when a customer tries to start a subscription via PayPal the following error is shown:
setup_future_usage cannot be used with one or more of the values you specified in payment_method_types. Please remove setup_future_usage or remove these types from payment_method_types: ["paypal"].

I didn't define setup_future_usage in my code so how do I go about this?

austere monolith
#

After endless nights of working on this project and processing good volume, Stripe has suspended my account on a 14 day notice with a generic email message. They have disabled chat/phone contact support. What are my options now? 🙂

zealous geode
#

hello, can I add a "refresh_url" in a checkout?

vocal wagon
#

Hi, I hope you're doing great! Using the API, how can I check if a card/payment method is default?

dawn sentinel
#

Hi, Stripe!
I'm trying to manage our cash flow schedule and I found this button.
I'm wondering this button is for setting the payout schedule for platform(us)?
Don't I need to do something with api for that?

bold herald
#

hey if I set the custom domain for the for the checkout and billing like then only url wil change or my website Nabvar will also appear on the checkout page.

maiden sable
#

ACH debit is used to accept the payments directly into bank account right?

azure spindle
#

Good afternoon good support team
I was running a test clock on a year long subscription with the year end being a cancellation date.
The subscription was being charged monthly, and when the subscription finished and was cancelled, the test customer was rebated $2417.xx dollars.
I was wondering why the rebate was applied ...
This is the subscription running on the time clock:
https://dashboard.stripe.com/test/subscriptions/sub_1NB91nDBF4LGcRTgXhR73mBy

Thanks for any help, guys!

maiden sable
#

How can I integrate ach direct debit in my website?

upbeat kettle
#

subscription creation process

Sorry for the question, but I need to get my thoughts in order...
I want to start the process of creating a subscription for the first time. I want to know what is being done on my side and what is being done on Stripe's side.
I set up the products and prices in Stripe. Right?
Basic customer information will come from my system. Right?

Now, what is the correct flow process? To present the products to the customer, I turn to
https://stripe.com/docs/api/products/list
Right?
Then, I present the products and prices to the customer on my website. The customer chooses product X. And?
what is the next step? I apply to create a** payment link** in Stripe? Do I first apply to create subscriptions?

  1. When do you create the customer?
  2. How is the process of creating the discount and payment carried out?
  3. When is the payment made?
  4. When is the subscription created?
elder gulch
#

I am trying to confirm a payment intent:

$stripe->paymentIntents->confirm(
     $paymentIntent,
     ['payment_method' => 'pm_card_visa']
);```

But I get the following error:

```You must provide a `return_url` when confirming using automatic_payment_methods[enabled]=true.```
spice shale
#

Hi Team, I am using the woocommerce stripe payment gateway plugin, now the issue is, when i updated the latest version of the plugin the stripe card details are not saved and also saved card details not showing in the checkout page also. is there any solution?

grave agate
#

hello, does charge.dispute.funds_withdrawn event only occur only when dispute is lost ?

vocal wagon
#

Hi, I have one more question about the default payment methods. I have this test customer (cus_Nx4a3Sgq3lREsH) and in the dashboard, I can see that they have a default CC, but when I fetch customer.invoice_settings.default_payment_method I see ```#Stripe::StripeObject:0x28c08 JSON: {
"custom_fields": null,
"default_payment_method": null,
"footer": null,
"rendering_options": null
}

strange widget
#

Hi Team,
What's the recommended way to get the product from a successful checkout session one-off payment? I can't see anything relating to the product in checkout.session.completed. Do I have to include it in the metadata for the checkout session or is there a different event I should listen for?

grim briar
#

can someone tell me if the domain verification success or not?

pastel bison
#

Hi. I have paid with apple pay but after i confirmCardPayment it says successful but my google payment screen still shows processing. Do I need to do anything more?

slender wind
#

Hey guys, I've made a switch from deposits going straight into our stripe account and instead into connected accounts, now it isnt asking for mobile authentication, is this normal stripe behavior or is this a code flow error?

haughty silo
#

i am creating a standar account , can i know from the account id that is the onboarding is completed or not ?

dark hearth
#

Hi All - when a customer creates a subscription using a payment link, they get their own customer portal link where they can edit details, how do they get access to the link? does site admin have to email the link over? ideally i would like to have this sent as part of a webhook to my cms that i can then store against their user account for them to click on, is this possible?

frozen pond
#

👋 when using the ruby sdk, is it possible to get access to the underlying request and response? i see that the return value from, for example, Stripe::PaymentIntent.create doesn't allow access to response headers.

#

i need to write the request ID to disk, just in case i need it later for customer support. i don't see it--only cursorily looked--in the returned object of any call.

frozen pond
#

@hollow prairie i missed your last message before the thread closed. to answer: i need to write the request id because it uniquely identifies the request, in case in need dev help.

ruby walrus
#

We've "finished" converting our saved credit card payments from one provider to another, but we have a significant portion that are accepted by the previous vendor and declined by Stripe during setup. Is there anything we can do to reframe the request to increase the chances of successful setup? (have an example request)

safe vortex
vocal wagon
#

Hi there everybody. I hope somebody can help me.

I want to move customers from a subscription plan with the currency (USD) to another subscription plan with the currency (GBP) using the API.

Since the existing customers are already set up to USD it's not possible to change the plan. Therefor I tried to clone each customer and attach the PaymentMethod to the cloned customer. When I do that I get the following error message:

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

Seems like this isn't the way to do it.

How can I move customers from one subscription plan with one currency to another subscription plan with another currency without getting this error?

raw crescent
#

Hi,
I am using Checkout session in my code to subscribe a user but my doubt is when that customer is coming and updating that subscription product with a new price then how do I integrate it with that checkout session or do I need to cancel the subscription with that price and do a checkout session with the new price. I need flow for the update of a subscription.

fringe narwhal
#

Hello, everyone, I hope someone can help me, I have a problem, I want to modify my email after I failed to pay midjourney subscription, but I seem to have encountered difficulties, there is no way to modify the email, how can I modify it my email?

fast isle
#

Hi Team, we are currently supporting Express account onboarding for US, Canada & Mexico. Now we need to roll out for Bahamas, Dominican Republic, and Cayman Islands. But I do not see these countries selection in Stripe. What should we do to support these countries?

vocal wagon
#

Hi I want to activate payments on stripe, but I got information from the site that my account number is not correct can anyone help me?

primal sail
#

How to connect stripe to shopify? I have US store from India.

#

But not able to find an option to connect

dull oak
#

Hi everyone,
I'm using stripe payment link (https://buy.stripe.com/test_aEUfZA1i65zrbTy8wF) this was built in test mode and call back is sending the response to my website.
I am getting this error

stripe.error.InvalidRequestError: Request req_O9Z4nSQvSbzWgO: No such checkout.session: cs_test_a1pCLExSzZr3iAAWd0ci51hFBJOvUkV7OOyaiC3KV8SQW1WK2bJWBVagLP

Can anyone help identify the issue

Thank You

summer kayak
#

Hey,

My flow depends on events involving creation of subscription via UI. The issue is that I also depend on metadata key, but I can only add it after creating a subscription. Is there an option to add metadata key directly upon creation?

rugged jetty
#

bonjour

#

y a t il des français par ici ?

#

ok sorry

uncut lotus
#

I added the linkAuthenticationElement as show in the documentation but now I get two email fields? any idea on what I'm doing wrong?

var linkAuthenticationElement = elements.create("linkAuthentication");
linkAuthenticationElement.mount("#link-authentication-element");
linkAuthenticationElement.on('change', (event) => {
emailAddress = event.value.email;
});
rugged jetty
#

Is there a French phone number to join stripe?

waxen quail
#

@rugged jetty let's chat in the thread I opened for you.

abstract violet
#

Is there a way to connect Stripe with SAP invoices? Or would that be a connection of a hook to stripe through for example Zapier and then send the captured payment details to SAP?

vocal wagon
#

hello I cant register new account can someone help me?

desert vigil
#

Hi,
Webhooks events are not working in development mode on stagging server. Also it was working before the implementation of SSL. Currently It's working on my local machine with the developer credentials.

sturdy barn
#

Morning. I'm wondering what the best way is to show discounts set on products (subscription products) within the customer portal? In the checkout session, you are able to set a discount for the product chosen, but there seems to be no way to set discounts for certain products in the portal configuration. I would expect it as an option for each product within the portal.features.subscription_update.products list. How is it expected to show a discount for a specific product within the portal, especially if I want to show discounts set on multiple products?

grizzled turtle
#

Hi, can we hold payment as uncaptured for more than 7 days?

languid blaze
#

Hi,

I'm trying to retrieve the count of usageRecords for the current period only, the below retrieves all billing periods for my subscription item:
$this->stripeClient->subscriptionItems->allUsageRecordSummaries($subscriptionItemId);

Looking at the docs (https://stripe.com/docs/api/usage_records/subscription_item_summary_list) I can see that we can filter by ending_before and starting_after however these are based on an object ID which I would not have access to unless I first retrieve all entries.

Is there a way to return only the current period? Ie where period.end and period.start are null?

ruby walrus
#

We have subscriptions in another processor that we are planning to migrate. However these are for "products" that don't have unified pricing; ie. each subscription has its own price per customer. What's a good way to approach setting up subscriptions like this assuming migration of customers and tokens succeeds?

slender wind
#

Hi, if i'm collecting a payment+stripe fee from a client to a connected account, does stripe automatically take the fee from the connected account or do I have to create a transfer from the connected account to our stripe balance to then let it be taken from there?

pallid hamlet
#

Hi guys, I am using .NET Framework 4.6 and I want to listen to a checkout.complete Stripe Webhook. Everything works fine, up until I need to return an OK Http Status to Stripe. In the documentation .NET Core example, 'Ok()' is returned. What do I need to return in .Net Framework 4.6 ?

ancient shuttle
sick vault
#

Hi all, is there a way to create a product in stripe that's a single price and then after a set duration it renews on a different price? Example, $1 for one year, and then $29.99 per year thereafter? Couldn't find anything in the support docs.

wide helm
#

Hello there, I am having trouble verifying my domain with DNS

past wing
#

Hello everyone, today's questions are:

Context: We have the 3DS verification system in place and it is working in order to allow the user to configure, add a card, verify it and we are able to charge the customer later off_session. However, there are some credit cards that always require the 3DS verification (test card: 4000002760003184) and cannot be used in off_session mode for future payments (because they will fail since the user is not there to continue with the 3DS verification process, that is required for every payment intent).

Objective: Minimize the likelihood of dealing with these cards and have off_session payments rejected

Question1: Is there a known percentage of these cards (for example these are the 2% of cards in europe, america, etc)? Is there a brand of cards (for example AMEX) that are more likely to need for this continuous verification and there fore are less likely to be used in off_session mode?

Question2: Are these cards (test card: 4000002760003184) that always require 3DS verification compatible anyway with the "authorization first, capture later" mechanism? https://stripe.com/docs/payments/place-a-hold-on-a-payment-method

ocean cosmos
#

Hi, my product in stripe (one time payment) used to auto create a customer and invoice in stripe. my new products don't, how do i fix this?

viral spoke
#

Hey, I would like to use a stripe-buy-button. I added the script in my index.html and the stripe buy button in my js file. But I get an error Uncaught TypeError: Cannot read properties of undefined (reading 'payload') at s.value (buy-button.js:1:6756)
How can I resolve this error?

west sable
#

is it possible to prevent fraud using radar for payment methods like SEPA and ACH? We switched to the Payment Element recently and have since seen a bunch of fraud coming from people using those payment methods. I don't see anyway in the radar rules to create a rule for those payment methods.

forest goblet
#

When creating a checkout session I have the ability to set the success url and include 'checkout_session_id' as part of the return url. Is there a way to "retreive" the checkout session by using the Stripe.js object?

rich jewel
#

Hello, I have a quick question about a payment flow with Stripe, to make sure that what our company is thinking is possible with Stripe.

  1. We want the user to be able to select a one-time payment or reoccurring payment to have access to an online portal, paying a minimum of $100/per month.
  2. Once they select a payment, they enter in payment details (email, billing info. credit card info) and we send them an email to create their account for the online portal.
  3. After creating their account, they can see their Customer Portal, if they made a one-time payment of $100 or reoccurring payment of $100.
  4. If they made a one-time payment they can change it to reoccurring. If they made a reoccurring payment they can change it to a one-time payment.
  5. Also, the user needs to be able to view past payments that they have made in their account.

Would this flow be possible with Stripe? Also, if you can send me to some docs that explain the things I am asking I don't mind viewing it there. Thank you all! You guys are very helpful on here. Appreciate it.

zealous geode
#

hello, if I use stripe.createPaymentMethod can I add connect id about account connect?

covert oracle
#

Hey, All - I'm working on updating an old, inherited desktop .NET application that was using an old card reader and sent the card info to Stripe for processing. The old card reader did NOT encrypt the data, and I'm needing to update the reader to support chip as well as swipe transactions. Looking at this page: https://stripe.com/docs/terminal/payments/setup-reader I'm assuming I'll need a server-driven card reader (either the S700 or WisePOS E), but am curious how / if this works with a .NET app

final walrus
#

Hi there I got a issue while trying to retrieve my price list

      limit: 100,
    })[:data]``` shouldn't send us the whole price list including various currencies set for each products?

It seems I have manually to request each currency :

```Stripe::Price.list({
      limit: 100, active: true, currency: "CNY"
    }).count```
simple star
#

Is it possible to query WisePOS E to know when it’s doing a firmware update? have a few retailers that are getting caught out during the firmware updates with queues of customers

sturdy barn
#

Hi again.. can users manage their wallets through the customer portal? I don't see any options in the portal configuration for wallets. I see you can enable a payment method update, but does that include wallets like apple pay?

slow cloud
#

Is there a way to get the proposed price changes to a subscription?

For example a user has a subscription with

  • Basic / monthly
  • 2 Extra Seats / monthly

If they upgrade to yearly then I'd prorate their usage so they'd get back the remaining time on the monthly price as credit and then that gets applied immediately to the yearly and I wanna figure out what that delta is to show a customer what they'd actually be charged today

whole quiver
#

Hello , i have query regarding payment links

dull arch
#

Hello I am trying to save my customers payment method along with their payment after it is successful I was told in here that SetupFutureUsage = "off_session" would do that but it is not saving the Customers payment methood

languid blaze
#

Hi,

I am using Elements for Bacs DD.

When the confirmation modal loads, there is a link that is auto-generated by Elements for the Direct Debit guarantee and it does not work (https://stripe.com/bacs_debit/direct-debit-guarantee).

Is there a way I can override this auto generated hyperlink?

solar solstice
#

Hi Stripe, #1110615086961279088 message So we've followed the link you provided but did not find any answers. We've looked through the documentation but nothing mentions the option to publish to the Stripe App Martketplace being greyed out. Could someone reach me with an answer directly please? Thank you.

brittle stump
#

During the Smart Retry process, does Stripe try all payment sources on an account or just one payment source?

pastel stone
#

I'm just wondering about a subscription with incomplete status, should I create a payment link for this customer or should I just use the hosted invoice payment page to allow them to recover the same checkout?

winged ridge
#

Is there a good example anywhere of a checkout form that displays both a credit card form and a Apple Pay button, and lets the customer choose? All the examples I see talk about rendering a checkout form OR a payment request button.

wispy quarry
#

Good morning, is it possible to test the Stripe AVS ? Am I able to submit a test card that would fail AVS?

lean zinc
#

Hey, I need to create a failed charge in test mode a payment intent. Can someone tell me how or point me to some helpful docs? Thx!

final nacelle
#

Can we use Stripe Checkout to set up a Usage-Based subscription?

fierce storm
#

I have a customer that currently has a price "price1" (this is for a yearly subscription with id "sub1"). Customer 1 is currently 5 months into their yearly subscription. They would like to downgrade to a different subscription with price "price2". I would like to give the user access to price1 for the remaining 7 months, and then have their subscription renew at "price2" forever after that. Here is how I am trying to implement it, but after I do this the user has two active subscriptions. What is the preferred method to implement this?

url = f'https://api.stripe.com/v1/subscription_schedules'
data = {
'customer': customerID,
'start_date': subscriptionData['current_period_start'],
'end_behavior': 'release',
"phases[0][items][0][price]": price1,
"phases[0][iterations]": 1,
"phases[1][items][0][price]": price2
}

Here is the actual customer that I am working with:
cus_NxEJeEkPI0hLHG

pallid crane
#

Good day! Quick question on payouts. I have built a UI in my application where my users can initiate a payout of the balance they have accrued in their connected account (custom) but I don't see a parameter to define what connected account to target and I don't see anything in the docs about it. Am I understanding something wrong here?

uncut vale
#

Hi, looking at a curious case of working with connect accounts and cloning customers/setting up subscriptions

drowsy kindle
#

Hi! I am hoping I can get some clarification on some inconsistent event logs...

dark quarry
#

Doing some testing with the Next.js Stripe Checkout sample code. Working fine for the most part but can’t seem to pass metadata. This is the boilerplate code I’m using -

const session = await stripe.checkout.sessions.create({ line_items: [ { // Provide the exact Price ID (for example, pr_1234) of the product you want to sell //price: 'price_1NAu8QHIJxrJQ2RfCyZVJB4q', quantity: 2, price_data: { currency: 'eur', unit_amount: 400, product_data: { name: 'My Product', description: 'My Product Description', images: ['https://placehold.co/600x400'], metadata: { 'order_id': '6735', } } } } ], mode: 'payment', success_url: ${req.headers.origin}/?success=true, cancel_url: ${req.headers.origin}/?canceled=true, });

Have set up a web hook on request bin to trigger on payment_intent.succeeded. When I inspect that the only metadata key I can see is blank

"charges": { "object": "list", "data": [ { "id": “XXXXXXXX”, "object": "charge", "amount": 1400, "amount_captured": 1400, … "metadata": {},

Looking at the payment in the Stripe dashboard I’m not seeing any metadata in there either.

What I’m hoping to achieve is for the web hook to receive the metadata so I can post-process the payment.

Would appreciate any insight into what I’m doing wrong.

clever pendant
#

How do I schedule a payout using stripe connect on a certain day like 30th June 2023 to a connected express account? is there anything that needs to be done using the api?

inner barn
hexed cove
#

We use Connect to help facilitate rent payments from tenants to landlords. Issue is the statement descriptors are showing our company name. For a connect transaction, we need to be able to change the statement descriptor for a charge. How do we do this? We allow for both ACH as well as Credit card charges.

remote wasp
#

Hello I need to access financial connections transactions.
Still working in test mode. No matter the finance institution I choose, I keep having this same message: "There are no transactions to retrieve for this account. Refresh or subscribe to transactions to initiate a transaction refresh."
Can you please help?

dreamy oriole
#

Hello! Is there a way to override the account API version for a particular webhook without upgrading the whole account?

woven geyser
#

How many times a day does Stripe update its exchange rates?

grand ibex
#

Hey guys, could you please help me? I am using Next JS application where i want to configure ACH payment Element like first i will take ACH required details then tokenize it, and after that i will send token id to backend to create customer ID. So i can charge my customer with this detail in future.

I have implemented card detail option with Card Element (Card Number, CVV, and Expiry date). But for ACH i am unable to find any Element. IS there any option to handle it?

lime echo
#

Hi guys, is there any such feature provided by stripe subscription api in which I want to configure the users billing date of the month accordingly even if users subscribes at any day of the month.

nova bluff
#

Hello, I am building out stripe checkout for a react native app. I use checkout sessions on the website but there seems to be a different set of requirements for using stripe checkout sessions on the app. This guide (https://stripe.com/docs/payments/accept-a-payment?platform=react-native&ui=payment-sheet) references creating PaymentIntent objects rather than checkout sessions. Should I be using payment intent for this flow, or does mobile payment replace checkout sessions for an app stripe checkout flow?

fierce storm
#

I am trying to implement a downgrade subscription schedule. I am getting the following error when I try to do a second downgrade after the first term has ended:

{
"error": {
"message": "You cannot update a subscription schedule that is currently in the released status. It must be in not_started, active status to be updated.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_Tl1c1MW6zrjIi3?t=1684947672",
"type": "invalid_request_error"
}
}

sullen parrot
#

Hi There, is there a way to create a Customer with custom IDs? (Don't want to utilize system generated IDs created by Stripe for a customer).

abstract violet
#

@waxen quail thanks for the article! was able to build an automatic SAP connection that captures payments through the api 🙂

vocal wagon
#

Hi, I have a question concerning promotion code for monthly subscription: I would need to give th epromotion to the customer "pay for 1 month and get 2 months gratis" that means 3 months in 1 month price. I cannot find that option in the dashboard > coupons. Pls help.

red prism
#

Hello.

I'm working on a subscription system and have a question regarding price updates in Stripe. Specifically, I'm curious how changing a subscription price affects current subscribers.

If I update a product's price by creating a new Price object in Stripe, and then apply this new price to individual subscriptions, how does this change impact current subscribers?

My questions are:

When does the new price take effect for current subscribers? Will they start paying the new price immediately, or will this occur after their current billing cycle ends?

What's the recommended way of notifying subscribers about this change? I understand that I need their consent for the new price, but what mechanisms does Stripe provide for managing this process?

Thank you in advance for any clarification on this issue.

dull arch
whole quiver
#

Hello, i have some query regarding payment links

pulsar hull
#

Hello, everyone. I'm facing difficulties with the Stripe commission when setting up and processing a payment intent. I'm attempting to send $100 to a user's connected account for a specific purpose. The user is expected to pay a Stripe commission of $2.9 + $0.3, totaling $3.2, and an additional 3% fee for my application, which amounts to $3. The total amount should be $106.20. However, I've noticed that Stripe is deducting an extra $0.18 per $100 in the payment intent. I would greatly appreciate any assistance or support.

vocal wagon
#

Hi, seems we are receiving any payments or at least some payments. Our payments we do as a test payments comes normally. I can see 300-200 payments in Stripe dashboard which are incomplete or canceled. Stripe conncet webhook stopped working when we started to use Stripe payment plugins

sullen parrot
#

Hello! just a quick question, what is the format of the value of customer ID (Meaning, what is the basis on how is it structured and generated)? Thank you for this!

grizzled sentinel
#

I'm in the process of impelmenting metered subscription billing. However for my application, it's not quantity based but percent based with a flat fee. It would be something like 2% of a user's integration's monthly spend.

So I've created a "Graduated pricing" with flat fee and $0.02 per unit for "For the first" section. I'm panning to report usage from my backend regularly, fo example in the month's end, the final invoice would be Flat fee + 0.02 * (user's integration's monthly spend).

However in the customer portal and invoices it would say "$0.02 per", hopefully would not cause confusion to users.

Is this correct approach or are there better implementations for percent based metered billing?

floral canopy
#

if i use the .pause() function on the subscription object, that will set the status to "paused", however will this automatically stop future invoices/payments?

chrome spruce
#

Hello, we are in the process of migrating subscriptions from an external platform into Stripe. (Membership products). There are varied, negotiated discount rates on the memberships. The discounts expire at different times for different customers. If the discount amount is the same % or value, but it expires at a different time, do we have to create individual coupons for each person who gets that discount? Or can we apply the variable discounts and their related discount expirations through the API?

gentle vessel
#

Hi there folks! Anyone able to help out with a stripe.js/react issue. Basically if i submit a setupIntent with a stripe.confirmSetup(elements, {etc}) and then say the user updates their card number and i want to submit another one, I'll get a setup_intent_unexpected_state error because the setup intent was already created successfully. How can i reset the stripe or elements state to allow me to submit another setupintent?

flat escarp
#

I want to get SubscriptionItem.price.product object while I retrieve the Subscription from stripe. But it says it cannot expand more than 4 level. Is there a work around

scarlet walrus
#

Hello, hope you are doing well, I'm working on an e-Commerce web app, I integrated the Connect account and everything went well, but we are now in production testing that certainly everything go well, but we get to this situation:
The Connect account reach a step on the verification proccess where the Connect account is not able to provide the Due information in the stripe link, I tried with the "collect" parameter giving values of "currently_due" and "eventualy_due" none of those worked. Any suggestion?

autumn geyser
#

We migrated from the CardElement/Charges-API to PaymentElement/PaymentIntent.
In the old flow of CardElement/Charges-API, we had used Stripe Tokens.
In the new flow of PaymentElement/PaymentIntent, we use Stripe Payment Methods.
How do we migrate those tokens to Payment Methods?

maiden sable
#

I have some questions regarding ach payment

empty wedge
flat perch
#

Howdy! I'm implementing subscription management using Stripe's NodeJS library / API and have run into a point of confusion in the docs... when using the API to cancel a user's subscription, the regular Stripe docs suggest using: js await stripe.subscriptions.cancel('sub_ID_STRING'); - https://stripe.com/docs/billing/subscriptions/cancel?dashboard-or-api=api#canceling - BUT the API docs suggest using ```js
await stripe.subscriptions.del(
'sub_ID_STRING'
);

nova bluff
#

@languid tulip hi can you re-open my thread, I didn't get a chance to respond

dull arch
#

Is there a template that I can look at that will allow me to create a payment for a customer with passing in their CustomerID and their PaymentMethodID? And does this require having the PaymentElement filled out?

harsh mesa
#

how do i cancel discords that i signed up to?

zealous geode
#

Hello, I need save data IBAN for charge in future

#

i see stripe.createSource

wheat tulip
#

Hey guys! someone know if is possible to add a placeholder for the e-mail input?

sturdy swift
#

What is the maximum number of card payment methods a customer object can have in stripe?

final walrus
#

I try to create a PaymentIntent for various kind of customer, for exemple in Japanese customers. When building the Payment intent https://stripe.com/docs/api/payment_intents/create I don't see how to set the language of the form:

          amount: calculate_order_amount(subscription_product),
          currency: subscription_product.currency.downcase,
          automatic_payment_methods: {
            enabled: true,
          },
          statement_descriptor: "STL",
          statement_descriptor_suffix: "STL",
        )

any advice ?

molten mango
#

Hi,
I am trying to deploy a staging webhook and live webhook to my api environments, but I'm having trouble. My api has set my secret keys correctly, but the events are getting denied against the webhook. Is there a step I missed in adding a certificate or value to my stripe environment or my api to verify webhook events?

grim ivy
#

hi is it possible to collect us bank account and routing numbers using stripe elements?

lone nymph
#

How do we test webhook events using stripe cli?

#

I am able to test them, but I cannot view anything in the webhooks dashboard

pastel moon
#

IS it possible to redirect a user to their customer portal using stripe-js?

fathom meadow
#

i need help asap.

vocal wagon
#

When we create new subscription for customer manually in dashboard, the charge is immediate. Can we delay it by for example an hour, so the invoice draft is created in the first place? We have a webhook for invoice.created event, that deals with invoice - and there we need access to status=draft, but we get status=paid

crystal imp
#

Hello! We are switching over from using the card element to the payment element and previously we used the card's country code, from the response when we create the payment method, to calculate taxes. With the payment element, we still have this information available, but we also have the billing details that appears to be populated with the country selected in the dropdown in the payment element. These two countries do not have to match. Do you have a recommendation on which country should be used to calculate taxes?

flat sage
#

Hello! Quick question, my company is trying to enable Cash App pay. The Stripe docs say the following about determining account compatibility (link) :

Supported currencies: usd
Presentment currencies: usd
Payment mode: Yes
Setup mode: Yes
Subscription mode: Yes```
However, I tested in the QA environment with a German Stripe account, and the CashApp pay is still showing up in the Checkout session. Do developers need to manually filter out non-US connect accounts when specifying the payment method?

i.e. Only do this: ```payment_method_types=['card', 'cashapp'],``` for US accounts?
deep canopy
#

hi, do all live accounts get access to the Connected API by default?

gentle vessel
#

Hello! The stripejs docs seem to indicate there is a way to pass a clientsecret directly to stripe.ConfirmSetup but it doesn't seem like there is an option to pass a clientSecret to confirmSetup in the stripereact lib. Is there a way to do that with stripe react js?

versed radish
#

On mobile react native
When creating a checkout session with a webview I dont want to use redirect url, but I want the user to close the webview and come back to the app
How do I acheive that since the success and cancel url are mandatory ?

zealous geode
#

Hello, my account I have $paymentMethodID and $customerID (SEPA). Can I use PaymentIntent to send an auto payment?

sick wadi
#

Hi, how can I set the metadata for a price created automatically using InvoiceItem?

winged ridge
#

I'm using the React paymentElement component , does the payment form need to be secured with additional recaptcha to help limit card-running & other fraudulent use, or is that security built in to the component and/or to the payment process?

lean zinc
#

When I refund a customer, I reverse the transfer from the host's connect account, to the customer. Question: Does the money coming from the connect account to the customer, come from the connect acct's balance or from their connected bank account?

idle furnace
#

Hello, I have a question, is there a way to refund multiple charges in one transaction? Bearing in mind that the available balance of the account may be negative.

empty wedge
#

Hi guys, I have another Q - when calling the stripe Product.create API, what's the easiest way in python to turn around and insert the new product's default_price parameter into a call to PaymentLink.create using that price as a line item?

honest rain
#

Hello, I have a question. How do i get the IAC/IAT codes for donations on Stripe?

true thunder
#

does anyone know about the 0.5% fee that is for recurring transactions?

I am currently using stripe connect. and we want to include the 0.5% transaction fee for subscriptions in the invoice so the payer is paying that fee.

I believe that I have the calculations correct, but I am not seeing the subscription fee coming out of the first invoice when the subscription is created.

azure spindle
#

Hi guys, apologies, again I was away after I asked a question.
I've attached the question I raised so as not to be difficult:

This is the subscription again:
https://dashboard.stripe.com/test/subscriptions/sub_1NB91nDBF4LGcRTgXhR73mBy

Is it the time difference ... I can see it ended at 2:00 PM May 23, 2024 UTC and started at 4:08 AM May 24, 2023 UTC

hollow meadow
#

Hello guys same one can help me for "active" my account of Stripe ?
im tryng active at 4 days and i cant say dont have dades of my "company" same one have time for me ?

please...

pearl yew
#

Hey guys, we have two companies under the same umbrella business (something like Meta with facebook and instagram) how should I proceed to setup the account?

spark cloak
graceful dock
#

For a react application, is it secure to store the client_secret in state so I can pass it down as props?

last yew
#

Hello Stripe team! Are "Webhook Events" different than the "Events API" ? There was a Stripe outage on May 12th at 20:37–22:24 UTC regarding the Events API (/v1/events & /v1/events/:id). I am trying to clarify if this impacted my system or not bc we listen for webhooks that contain event objects and not api when syncing our database to stripe.

autumn pulsar
#

Hi, I saw a thread above in which says, US platforms cannot process bacs debit payments on behalf of connected UK accounts.
#dev-help message

With regard to that, I found that backs_debit is not listed as an option for paymentMethodData, but au_becs_debit and sepa_debit are. https://stripe.com/docs/js/payment_methods/create_payment_method

Does it mean that a US platform can process au_becs_debit payments on behalf of connected Australian accounts?
Likewise, can a US platform process sepa_debit payments on behalf of connected European accounts?

late yacht
#

Has anyone encountered an issue with Stripe's integration with Xero where it has stopped marking invoices as "paid" when the payment was received? This happened to one of our clients last week, then it started working again. Are there any known bugs?

ruby sequoia
#

can i show google pay and apple pay in this section?

languid hearth
#

Good evening! I am wondering where I can find what is attached to a Stripe payment (ex. py_1NBNVyAciHkFxgYSswTfnNcy). I store a charge and payment intent, but both the charge and payment intent never have a py_123 attached. Where is this py attached on a Stripe level, is it like one step below charges?

grim briar
#

Hi team, we use Stripe check-out element API on our check-out page, we have two questions: 1. how to change the default value for the card country? (We want it to be the US instead of sg.) 2.Is there a way to display the payable amount on the check-out page via the Stripe check-out element API?

fathom blade
#

hi,team. a proplem for the stripe go-sdk api:
we used the express account capability, which means stripe will provide the page and handle onboarding.
We used api (LoginLinks.New) to handle the express account update process. This api needs us to provide the RedirectURL with the old sdk(v71.39.0), but in the new version(v74.18.0), I don't find this para, And other stripe colleagues say that this parameter has since been removed since v73.0.0 released in Aug 2nd, 2022.
so my question : when we create a login link and return it to the user, if the user finishes the update with the link, how will he redirect and return to his last page?
Hope to get your reply,thx

#

hi, another test problem : i have set the idempotency_key when i create setup intent,but when i completed the 3ds and received the callback from stripe, i found the idempotency_key in callback was changed by stripe, but the idempotency_key in previous callbacks were the same and expected. Only the last one is different. can anyone help me check it?👍
account: acct_1M1MpqCxdo2buHfr
setup intend id: seti_1NBALlCxdo2buHfrrUb21BDw
event: setup_intent.succeeded
expected: lzf_clover_zero_auth_03
unexpected: setatt_1NBALlCxdo2buHfrnK47VeN9-src_1NBALlCxdo2buHfrE4IkOWMU
last callback eventid:evt_1NBAc5Cxdo2buHfrQ2qcY93y

mossy kiln
#

Hello, I would like to ask a question about Apple Pay domain verification.

First of all, I am using the connect mode. Through the Stripe API, the merchant account's acct_xxx and the platform account key sk_live_xxx are verified by the Apple Pay domain name, including its top-level domain name and the corresponding www. subdomain name, and the result is returned None abnormal.

But when actually making payment on the web side, it will crash immediately after the pop-up window of the Apple Pay channel pops up. Check the network exception information is the domain name verification problem of /apple_pay/sessions interface: https://dashboard.stripe. com/acct_1D58c0FWmrFHVcd4/logs/req_SXSteDAFQmsAZW?t=1684924339

FYI: https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-using-with-connect

Collect payment and address information from customers who use Apple Pay, Google Pay, or Link.

cobalt shell
#

If I don’t want to use my personal address on stripe for the customer support address what should I use? My store is online and I don’t want my address out there on peoples statements.

fathom elbow
#

can someone help me through the steps of adding shipping rates and collecting shipping addresses to my checkout? i read this page a few times and have no idea how to do it myself. https://stripe.com/docs/payments/checkout/shipping

Learn to use shipping rates and collect shipping addresses with Checkout.

alpine osprey
#

Hi, I want to use customer address instead of colllecting address during checkout when the item line have tax. You can show me how can i hide billing address via Stripe API

languid hearth
#

I am trying to debit an account for the amount available in the Stripe balance, and I'm getting a "You have insufficient funds in your Stripe account for this transfer.". I debit the account a fee, then submit a payout for the remaining balance and I keep getting an error even though there is plenty of balance.

Balance Object

{
  object: 'balance',
  available: [ { amount: 3188087, currency: 'usd', source_types: [Object] } ],
  instant_available: [ { amount: 98712, currency: 'usd', source_types: [Object] } ],
  livemode: true,
  pending: [ { amount: 625, currency: 'usd', source_types: [Object] } ]
}

Account Debit (req_HqDRi6M0H9E0Cf) - 7995
Payout Attempt (req_uDlV00j4Eitqbt) - 3180092

grim briar
#

have a question, for production environment, the file we need to host is the same as it's in test mode?

grave agate
#

hello Stripe team, so I use a test customer and simulate a lost dispute from stripe dashboard. When I see the activity... it doesn't trigger charge.dispute.funds_withdrawn. Why it doesn't trigger it? payment_intent_id : pi_3NBUs1BBuNcFsmgM1rS2K55t

chrome jetty
#

Hello, stripe apps developer here, is there a way to store data on the user? Like the Todo list example (which is similiar to my use case), obviously using an external API & Database is the best bet, but without that could I do it using the provided API? Or is it very much recommended to use an external API?

acoustic portal
#

Hey i need help

#

I want to know what’s wrong with my payouts on stripe

#

No one answers messages

#

On stripe

fierce storm
#

Hey, when I get a subscriptions info, is it possible to get the metadata for the subscription schedule phases that are associated with that subscription?

url = f'/v1/subscriptions/{sid}'
subscriptionInfo = get(url)
rain grail
#

I cannot change currency of product to $ from Euro, Stripe does not let me. What can I do?

rocky turret
#

Hi Stripe Devs,
we are using Stripe Payment Link
it is not allowing us to checkout from Canada, while documentation says it's enabled in Canada

slate jungle
#

hello Stripe team, I need help
I am tring to updating subscription settings.
I already changed the trial_end setting.
On the other hands, I tried to change the fee but I can't .
API connection is done with PHP's associative array.

    $stripe->subscriptions->create([
      'customer' => {cus_id},
      'items' => [
        ['price' => {stripe_price_id}],
      ],
      'trial_end' => {TIME},

    ]);
quiet sedge
#

Using NextJS 13 App directory API routes for a webhook integration. I am following the Next Stripe tutorial and getting this error: ```error HttpError: Invalid body
at createError (webpack-internal:///(sc_server)/./node_modules/micro/dist/src/lib/index.js:33:17)
at eval (webpack-internal:///(sc_server)/./node_modules/micro/dist/src/lib/index.js:129:47)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async POST (webpack-internal:///(sc_server)/./src/app/api/stripe-webhook/route.js:28:23)
at async eval (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/module.js:244:37) {
statusCode: 400,
originalError: TypeError: stream.on is not a function
at readStream (webpack-internal:///(sc_server)/./node_modules/raw-body/index.js:143:12)
at executor (webpack-internal:///(sc_server)/./node_modules/raw-body/index.js:80:9)
at new Promise (<anonymous>)
at getRawBody (webpack-internal:///(sc_server)/./node_modules/raw-body/index.js:79:12)
at eval (webpack-internal:///(sc_server)/./node_modules/micro/dist/src/lib/index.js:118:39)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async POST (webpack-internal:///(sc_server)/./src/app/api/stripe-webhook/route.js:28:23)
at async eval (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/module.js:244:37)
}

rain grail
#

does stripe web hook expect the http web hook route to be on port 4242 or it can be 3000?

golden cosmos
#

@rain grail lets continue the conversation in your thread

last bramble
#

Hey folks, facing a strange issue with our stripe checkouts where some customers are unable to receive the checkout URL and thus will be stuck waiting to checkout. Would love some guidance (Can provide more context in a thread)

maiden sable
#

I have an in sufficient balance but actually there is amount in card

#

The y this error

#

Am using test mode now

restive kiln
#

Hi Team, how can I integrate an SDK for payment method (card) which can be implemented using react.js. Thanks.

neat nebula
#

Hey! Does anyone know how to integrate the MSI (meses sin intereses) payment method with PaymentElement? I have tried in various ways, but none seem to work. I have been reading the previous responses, but there is no concrete information. Thanks

half sundial
#

Hey everyone!

I have a question regarding the Stripe portal. I'm currently working on creating a portal session for our users, and I would like to hide the current subscriptions in the portal. However, I still want users to be able to update their payment details and download their invoices. Is there a way to achieve this? I'd appreciate any guidance on how to accomplish it.

Thank you in advance!

vocal wagon
#

Test clock advancement underway - cannot perform modifications: clock_1NBXJnSEDjAlhmdiDKRZutN3

sturdy widget
#

Hi, I'm trying to send the attached "receipt" mail to the paid user but it seems not to trigger sending mail in test mode.
Or can I only manually send mail by Stripe dashboard? Thanks.

ruby sequoia
#

Hi , how could i test sandbox with HTTPS ?

ruby sequoia
vocal wagon
#

How to restrict customer to cancel subscription for specific plans.
For ex: User is in free plan , so they can't cancel the subscription in customer billing portal.

golden cave
#

Using the LinkAuthenticationElement, is there any way to make the input read-only when providing a default email value (e.g. for a shop's logged-in customer)?

blazing sigil
#

HI, stripe google pay have a error ,but we dont know why!!! error message is An unexpected error has occurred.please try again later.[OR_BIBED_07]

charred vortex
#

https://stripe.com/docs/testing?testing-method=card-numbers#refunds how long is "after some time"? I am trying to test async refunds, but the webhook is not triggering. I have charge.refund.updated set as an event.

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods.

late elk
#

Hello, we would like to use PaymentIntent to ensure that users’ card information does not enter our own server;
The response I got from the chat GPT is:
after the web end performs confirmCardPayment, it sends the payment_method_id to the server side. The server side attaches the payment_method_id and customer_id using PaymentMethod.attach, and then directly proceeds with Subscription.create. This seems to be a synchronous process.
However, in the documentation at https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements under “Custom Payment Flow”, I see that the process is asynchronous.
Which method is the best practice recommended by Stripe for create the subscription without through own server?

Securely accept payments online.

thin fern
#

Can we use paymentElement in Stripe to add a new payment method?

wise copper
#

I have some queries!

vocal wagon
#

Hi Guys! Is it possible to charge a fee on payout (connect -custom)? I can see from payout data that is present the label "fee" but we don't know how to add it.

glad owl
vocal wagon
#

Hello 👋
I'm starting a development using stripe to be integrated with .Net Core. Is there a nuget that can be used. I didn't saw anything on the official Stripe page. Any help or comment would be appreciated
Thanks 🙃

grave agate
#

Hello, in the payment details. there's an amount and refunded. what are the difference?

winter shore
#

Hello,
is it possible to call the "Invoice now" on pending invoice items over the API? could not found anything in the docs how to do this.
Thanks in advance 🙂

tardy spade
#

im getting StripeConnectionError while canceling scheduled subscriptions
but it is not happening while creating subscriptions
can anyone help here?

untold torrent
#

hi i need an help?

fluid salmon
#

Hi

orchid sequoia
#

hi

#

Can we have stripe checkout screen while updating subscription

fluid salmon
#

I have a problem with the webhook when the url opens on chrome android the 3D secure 2 remains in loading mode but with firefox and firefox focus it works

orchid sequoia
#

When user upgarde or downgrade subscription

sacred tree
#

Hello. I am trying to create a non-trialing product that charges a low starting fee for the first recurring payment period, followed with regular recurring payments.

e.g. Prospects pay $1.00 immediately to access the product during the first month, then pay $10.00 starting from the second month and beyond

I was initially reading the approach from here (https://stripe.com/docs/billing/invoices/subscription#first-invoice-extra), but realized this will incur an additional payment, resulting users to pay $21.00 instead of $1.00 for the first month. Can we set add_invoice_items as a negative value, such as -$9.00, so cost for the first-month access would be brought down to $1.00 ? If not, is there any easier approach for this scenario? Thank you!

Learn how to manage subscription invoices.

fluid salmon
azure spindle
#

Thank you to @midnight marlin for answering my question, I aplogize for not responding in the question thread before it was closed.

timber panther
#

Hello,

How can I fetch the card information? I'm using stripe elements here.

summer lantern
#

Hello!
Can't proceed my payment through Stripe system and it just banned my card for 24 hours after a few tries. Called my bank and they don't even see that I wanted to pay for something. Card limits are fine

daring forge
#

Hello, how to do setup for email notification in stripe when subscription is about to end or renew ?

past blade
#

hi good day, is it possible to determine if payment method to be attached already exists in the customer (same card, expiry, cvv)?

grand ibex
real urchin
#

Hello, I want to ask about 3d secure. In normal case, when i payment a subscription first time, there will have webhook event (invoice.payment_action_require). So in the next payment due date, if the transaction require 3d secure again, what webhooks will return again ? . I check log and only see one invoice drafe was created

proud kelp
#

Hi Team, for me apple pay and google pay option is not visible to my customers.

red python
#

Hello, I want to ask about 3DS, I have a case that i requested payment with a test card that requires 3ds auth, the payment intent was created successfully, and it return the stripe next_action with the authentication URL. finally, I confirm from the window and it will redirect me to the redirect URL I provided
in the previous case the payment should be completed successfully, but in the dashboard it says that the payment still requires action

grave agate
#

hello, I have a question about dispute fee. In my dispute object the exchange rate is null, and there's a fee in there. But in the stripe dashboard it's converted to another currency, while the exchange rate is null. How is the calculation exactly?

shell ruin
#

Hi guys. Hope you are doing great.
I want to retrieve charges we make on behalf of connect accounts, but i only need to retrieve the oldest successful one.
However,
charges = stripe.Charge.list( on_behalf_of=account_id, limit=100, expand=["data"], status="succeeded" )
returns the 100 most recent.
Is there a way to get them from oldest to most resent instead? the order parameter seem deprecated.

vocal wagon
#

hello!
i am using stripe for my ecommerce app, and when a customer registers an account in stripe, i would like to retrieve the billing address the user entered. I am using webhooks, but when i forward the webhook to my local server and i look up the object structure retrieved associated to the event, i dont see any field for the billing address. Is it normal ? Is it possible to retrieve the user's billing address ?

fair lichen
#

I'm using Stripe.js on the front-end of my site and I have this code which runs when the customer has entered their payment details:

stripe.confirmCardSetup(client_secret, { payment_method: { card: cardElement, billing_details: { name: data.customer_name, email: data.customer_email, }, }, }).then((data) => etc.

I've just changed the way I create the inputs for the payment details though: previously, I created a card element like this: let cardElement = elements.create("card"); but now I create the card number, expiry date and CVC number as separate elements:

var cardNumber = elements.create("cardNumber"); cardNumber.mount("#stripeCardNumber"); var cardExpiry = elements.create("cardExpiry"); cardExpiry.mount("#stripeExpiryDate"); var cardCvc = elements.create("cardCvc"); cardCvc.mount("#stripeCVC");

How should I pass the cardNumber, cardExpiry and cardCvc elements through to stripe.confirmCardSetup method instead of the cardElement?

hot kestrel
vocal wagon
#

Hi, I hope you are well. How can I check via the API if a coupon code if valid for a plan? Only using the invoiming invoice endpoint, or is there another way to do it?

rapid basin
#

Hi,
We are creating a subscription for our connected accounts using STRIPE API, as destination charge.
The invoice is generated automatically on behalf of the connected account and sent to the customer.
It is a legal requirement that the invoice will include the connected account's Tax ID. We are looking to a way to include it in the invoice upon subscription creation.
I tried the following approached to do that, but unfortunately with no much success:

  1. Retrieving the invoice right after subscription creation and setting invoice.setAccountTaxIds with the connected account tax Id. I got an error that the tax Id is not allowed, so I guess this tax Id should be our tax Id and not the connected account tax Id
  2. Retrieving the invoice right after subscription creation and setting invoice.setDescription with the connected account tax Id, hopping the description will be displayed in the invoice. I got an error Finalized invoices can't be updated in this way. Not hint if/how to update a finalized invoice.
  3. Adding the connected account tax Id to the subscription metadata, but the metadata is not shown in the invoice. I couldn't find if/how the metadata can be shown in the invoice.

Can you please let me know how can I add the connected account tax Id to the subscription invoice sent to the customer?

vocal wagon
#

How do I get the payment intent from stripe elements during checkout?

broken scarab
#

im creating a webhook, and when a purchase is finished i get this:
{
"id": "we_1NBb7hLAOCvZNGOdiw7LifFU",
"object": "webhook_endpoint",
"api_version": null,
"application": null,
"created": 1685009421,
"description": null,
"enabled_events": [
"checkout.session.completed"
],
"livemode": false,
"metadata": {
},
"secret": "whsec_Yn***********************sJZN",
"status": "enabled",
"url": "
/webhook.php"
}

so i need in some way to store the email, name, amount and id to send an email when the payment succeded, in this webhook i only have the ID.

gentle flint
#

I am creating a subscription for recurring payments using api. How can I attach a card with the customer in order to abide by the new regulations of RBI for Indian users

elder gulch
#

Hi, I am getting a CORS error after clicking confirm or fail on the test 3DS popup:

Access to fetch at 'https://api.stripe.com/v1/payment_intents/pi_3NBbkbGg8AEylvyj1PgOrIdU?key=pk_test_51MlB5bGg8AEylvyjOXUb4jcNH5CMeonQR3vDehrNUJsJzGRSxRFnrV4NcI7qrBqg01e81jSjJa3fxuXEDTE5CJzc00jO9C0cxK&is_stripe_sdk=false&client_secret=pi_3NBbkbGg8AEylvyj1PgOrIdU_secret_vZ20UvP6ynmMis4NpYeevQJSS' from origin 'https://js.stripe.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://stripe.com' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

vocal wagon
#

Is it possible to generate fake invoices for connected account in test mode?
I am doing some stuff with the stripe connect oauth api, in a nextjs application. I need to make an overview of different previous invoices. Is there any way to "generate" fake invoices in test mode, so I can make the UI for the application? Right now the api just returns no invoices.

rancid bone
#

Hi, for Stripe payment links API. Can I make stock? I mean I want to create links automatically for unique products that I have just in one type. So I want once the client pays for the product the links to redirect to my website or shows. It is possible ?

past blade
#

Hi, good day. How can I set payment_method_data[billing_details][email] when using payment elements? I tried to pass it alone but it seems to require me to manually fill-up other card details which is undesirable in my case.

untold torrent
#

hi i ma back i asked sir to i implement the provide sdk of RN i implement its 100 bulid after that they give us error

vocal wagon
#

Hi, I'm making the following call "Stripe::Coupon.retrieve({ id: id, expand: ["applies_to"] }, stripe_key)" If a coupon is limited to a product, it's listed in applies_to array. If coupon works for all products, applies_to is missing from Stripe's response, correct?

Is there a way in Ruby to check if response has applies_to field? I tried key? but got error saying it does not work for Stripe::Coupon

blissful bone
#

Hello, we create subscription for our clients who use card to pay - We have a lot of "Subscription creation" Incomplete payments and I just want to make sure if it is because the charge didnt go through (lack of money?) or we did something wrong - where should I look?

final wing
#

Hi... We need to publish stripe app on exiting account(currently we are using Extension on it) but i am getting below message and publish button is disable .please help on this...I have followed steps as per documentation**.Because your account is a connect platform, you cannot choose the public distribution at this time.**

tight lance
#

I would like to create a Dutch account but this does not work for woocommerce payment can someone help me?

vocal wagon
#

Hi fellows, I have this use case: Have a Czech company with UK VAT ID for UK customers, and same Czech company with Czech vat ID for rest customers. How can I send to UK customers an invoice with UK vat ID, and for rest customer with Czech vat ID?

rich holly
#

Hey everyone. I want to create a text file that contains structured data of the contents of the following site: https://stripe.com/docs/api

Which approach should I follow?

echo coral
#

How to remove the text below the Pay button in Stripe hosted page?

faint cypress
#

Hey everyone, I have a graduated price with multiple tiers, when I'm creating a checkout session with this price id, checkout page which is displayed didn't consider at all the graduation it's just creating the checkout session for the first tier from graduation of this price.

thin cedar
#
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Promise.all (index 0)
- error Error: The default export is not a React Component in page: "() => Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./src/app/api/stripe/checkout/page.ts */ "(sc_server)/./src/app/api/stripe/checkout/page.ts")),/home/koesterj/lolboosting/src/app/api/stripe/checkout/page.ts"
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Promise.all (index 0)
digest: "3945980100"``` im using next with the app directory. As soon as i hit ```import Stripe from "stripe";

export async function POST(request: Request) {
  const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
    // https://github.com/stripe/stripe-node#configuration
    apiVersion: "2022-11-15",
  });

  const session = await stripe.checkout.sessions.create({
    line_items: [
      {
        price: "10",
        quantity: 1,
      },
    ],
    mode: "payment",
    success_url: "http://localhost:3000",
    cancel_url: "http://localhost:3000",
  });

  return new Response(JSON.stringify({ id: session.id }), {
    headers: {
      "content-type": "application/json",
    },
  });
}
``` i am getting the above error
gusty river
#

hey all, I am using Stripe connect on my platform to transfer funds between customers and merchants. However "Refund" through my app doesn't work and i get the following error {"code": "resource_missing", "doc_url": "https://stripe.com/docs/error-codes/resource-missing", "headers": [Object], "message": "No such payment_intent: 'pi_3NBbqzQoK09Asdeh1j7b4TFd'", "param": "id", "requestId": "req_RlsLvd6tDTgRbo", "request_log_url": "https://dashboard.stripe.com/test/logs/req_RlsLvd6tDTgRbo?t=1685016148", "statusCode": 404, "type": "invalid_request_error"}. When I try to refund from the console it works fine. I am using the Checkout page hosted on stripe for the customer side.

carmine herald
#

Is it possible to configure webhook retry frequency to make it more frequent at first?

I am in a time sensitive business, and if there is a short network interruption or similar, the webhook retries just come too late to be useful, which is perceived by users as chaotic system performance caused by bugs.

jagged seal
#

So i have a Little problem I created an account like a year ago and never continued to setup it now I was trying to login again but the 2FA number is old and I don’t have it anymore is there another way to get in ?

river gorge
#

Hello #help i have an issue with WISETransfer and im working on it but there is a payment sent from strip to wise and now its refunded because the issue in WISE still in processing , what will happened to the payments now , stripe will send it again when received or will be refunded to the card or what is going to happened , need to know what to do ? . Regards

iron valley
#

Hi All I am testing recurring payment integration with Stripe. Our application is making API calls to Stripe....I created a customer and monthly subscription for a product...I attached the test clock to the customer....Now I advance the test clock to next month todays date....The recurring payment should occur....But I am unable to see a recurring payment in the payment section

#

Can someone help me here

thin zephyr
#

Hey, I got a quick simple question, on the amount parameter in the payment intent.

iron valley
rancid bone
#

Hi everyone. I love this group. Thanks to everyone who contribute

#

I have questions related to CheckoutSessions. Anyone with knowledge of this topic can advise me ?

hearty raven
#

It's not possible to make bulk payouts, right?

For example, if my user has 10 different purchases he can get a payout for...

to track accurately in my own system how much I owe him, it needs to be a either htat he requests payout for one purchase or all of them. never an optional amount, because then I can't really track on a purchase to purchase basis which payouts are resolved and which are not.

So what should I do? if it's 1: just payout based on that amount... and if it's multiple, aggregate the amount and one payout?

thin cedar
#
HttpError: Invalid body
    at createError (webpack-internal:///(sc_server)/./node_modules/micro/dist/src/lib/index.js:33:17)
    at eval (webpack-internal:///(sc_server)/./node_modules/micro/dist/src/lib/index.js:129:47)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async POST (webpack-internal:///(sc_server)/./src/app/api/stripe/webhooks/route.ts:35:21)
    at async eval (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/module.js:242:37) {
  statusCode: 400,
  originalError: TypeError: stream.on is not a function
      at readStream (webpack-internal:///(sc_server)/./node_modules/raw-body/index.js:143:12)
      at executor (webpack-internal:///(sc_server)/./node_modules/raw-body/index.js:80:9)
      at new Promise (<anonymous>)
      at getRawBody (webpack-internal:///(sc_server)/./node_modules/raw-body/index.js:79:12)
      at eval (webpack-internal:///(sc_server)/./node_modules/micro/dist/src/lib/index.js:118:39)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async POST (webpack-internal:///(sc_server)/./src/app/api/stripe/webhooks/route.ts:35:21)
      at async eval (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/module.js:242:37)
}
``` i receive this if i try to call my webhook from stripe
charred vortex
#

Quick question, I want to implement a payment model similar to chatGPT's except charge per message. Would I use Payment API and try to batch up the charges or is there a better way to do this?

elfin kraken
#

Hello,
Is there any way to get the a one-time product object from a charge.succeeded webhook event? Or from other event when payment is confirmed?

serene trail
#

Hi there, how can i request a card payments on identity verification?

unkempt berry
#

Hello just wanted to ask if stripe offers coupon with max amount off. Like 20% upto 100$.

timber gorge
#

Hello! I have an account that I'm attempting to retrieve data for. That account has several subscriptions that have plan id's that are not retreivable, and don't appear in the UI anywhere. The id is strangely formatted, example: plan-7ZSu-18B15drBZE. Is there any way to get any data about these objects?

timber gorge
# timber gorge Hello! I have an account that I'm attempting to retrieve data for. That account ...

Example of the behavior I'm seeing, the data is on the subscription, but not retrievable through the API.

[11] swarm@production:pry (main)> plan_id = Stripe::Subscription.retrieve(sub_id, {api_key: api_key}).plan.id
=> "plan-eWcH4-2VGJblDGDl"
[12] swarm@production:pry (main)> Stripe::Plan.retrieve(plan_id, {api_key: api_key})
Stripe::InvalidRequestError: No such plan: 'plan-eWcH4-2VGJblDGDl'
from /app/vendor/bundle/ruby/3.1.0/gems/stripe-5.55.0/lib/stripe/stripe_client.rb:714:in `handle_error_response'
#

The reason this is important, is that I need to find all subscriptions on each price point. When attempting to list subscriptions for one of these prices, it returns the No such plan message. Ex: Stripe::Subscription.list({plan: "plan-eWcH4-2VGJblDGDl"}, {api_key: api_key})

iron valley
#

Can you please tell me a payment method? It is not accepting pm_card_visa

blissful bone
#

Is there a way to get all customers that have any payment method but dont have default one set?

vocal wagon
#

Hello, I have this use case: Have a Czech company with UK VAT ID for UK customers, and same Czech company with Czech vat ID for rest customers. How can I send to UK customers an invoice with UK vat ID, and for rest customer with Czech vat ID? I'm using a subscription for issuing invoices.

smoky moon
#

When using the Payment element is there a way to request "Email" and "Phone Number" like you can through the PaymentRequest element. I don't see a way to set this in the JS API in order to capture this from ApplePay or GooglePay

serene hare
#

hey all just wanted a quick confirm -

for my use case i want to allow end users to modify the date of their next upcoming invoice. i dont want to change the price of the invoice, just to bill now, or earlier, or later than the current schedule. i also do not want to use trial functionality. do i use subscription schedules for this (add a phase)? or is it sufficient to simply modify the billing anchor (for all three use cases, now, earlier, later)?

bold eagle
#

Hello! I need to create a price for a recurrent product plan, in LBP (lebanese pound), for yearly period... the amount will be 1.100.000,00 LBP, (about 73 USD), but the interface not allow me to input this value, saying the limit is 999.999,99. Anyone already dealt with this issue and could suggest what I can do resolve this? Thank you in advance

modest bear
#

Hello, I'm currently trying to integrate a payment method into my website. I need to send information to Stripe using metadata.

For the payment mode, I have implemented it as follows:

    const session = await stripe.checkout.sessions.create({
        submit_type: 'donate',
        line_items: [
            {
                price_data: {
                    currency: "eur",
                    unit_amount: amount * 100,
                    product_data: {
                        name: productSentence,
                    },
                },
                quantity: 1,
            },
        ],
        phone_number_collection: {
            enabled: collectPhone,
        },
        payment_intent_data:{
            metadata:{
                campaignName,
                campaignMedium,
                campaignSource,
                campaignAttribution
            },
        },
        locale: 'fr',
        billing_address_collection: collectAddress? 'required': 'auto',
        customer: customer.id,
        mode: 'payment',
        success_url: process.env.CLIENT_DOMAIN + process.env.SUCCESS_URL,
        cancel_url: process.env.CLIENT_DOMAIN + process.env.CANCEL_URL,
    });
#

However, when I attempt to do the same thing in subscription mode, the following code:

    const session = await stripe.checkout.sessions.create({
        customer: customer.id,
        billing_address_collection: collectAddress? 'required': 'auto',
        locale: 'fr',
        payment_intent_data:{
            metadata:{
                campaignName,
                campaignMedium,
                campaignSource,
                campaignAttribution
            },
        },
        phone_number_collection: {
            enabled: collectPhone,
        },
        line_items: [
            {
                price: price.id,
                quantity: 1,
            }],
        mode: 'subscription',
        success_url: process.env.CLIENT_DOMAIN + process.env.SUCCESS_URL,
        cancel_url: process.env.CLIENT_DOMAIN + process.env.CANCEL_URL,
    });

gives me : You can not pass payment_intent_data in subscription mode.

returns the error message: 'You cannot include payment_intent_data in subscription mode.'

Is there any way to pass metadata to Stripe in subscription mode? I would greatly appreciate any guidance or assistance on this matter."

kind mountain
#

is it possible to retrieve all payments from a customer no matter what kind of payment it is?

thin trail
vagrant steppeBOT
#

ProfChen

hidden tendon
#

Hey Stripe team, in the Price creation UI, sometimes it is possible to set the ID of the price to create, sometimes it is not. Any idea when it is?

vocal wagon
#

No such customer: 'cus_NxZyLM9kvDZY1E'
while i am fetching billing portal using api

severe gazelle
#

Hi there,

I'm using Terminal SDK to recover the terminal status in my front-end, however terminal.discoverReaders() always returns empty.

When testing the request as cURL in Postman, if I disable the compatible_sdk_version the readers are listed.

Any suggestions?

unborn wren
#

Hi!

Is there a way to query failed webhook events and resend them via webhook programmatically, like we can do it by clicking on the "Resend" button?

grand ibex
lime cloud
vocal wagon
#

Why does my API keys keep changing?
Everytime i want to develop on my nextjs application with stripe api, i find that the api keys have changed? I have to update my env file with the new api keys every single day (Sometimes multiple times a day). I only have one stripe account, and I am in test mode. I am pretty new to stripe api, so maybe i am missing something?

dense badge
#

Hi there, I want to investigate if there are any notable trends in declined payments for our service. I'd like to check whether there are any card issuers that stand out. I'm able to get a card issuer for a payment method from the Stripe dashboard, but I don't know if and how I might be able to get that information directly from the API. It seems that 'issuer' is not a field in the PaymentMethod API. Please advise.

olive bluff
#

hello why are 10% of my funds getting reserved? how can i change this?

broken scarab
#

hi, we have as currency CLP (Chilean Peso) but in our account we get euro, what conversion rate does stripe use so i can get the amount we gonna get on our account

iron valley
#

I am simply unable to get my recurring payment by advancing the clock

still vine
#

Hey there,
I'm currently trying to find a way to store the billing information of a client inside a Checkout session entity. I've tried to fill customer_details, but I get an error message when I do. Setting billing_address_collection just asks for the billing address to be refilled by the customer, and this is not what I'd like to do. Any workaround?

deep plinth
deep plinth
gray cloak
#

I am working with Stripe Connect. Under Settings > Connect > Payment Methods I have two issues. First, I have Apple Pay set to "On by default". Second I have LINK set to "Off by default". However when I get to the Stripe payment screen LINK is show as a payment option and Apple Pay is not. All my other payment options (Card, Google, ACH and Affirm) are shown. Can someone please explain why this is happening so I can remove LINK and get Apple Pay to show?

sour stirrup
#

I have few question around subscription, Assume , i opt for monthly subscription

  1. Is it possible to set next charge date . like i subscribe today - 25 May 2023 and money charge date should be 25 June 2023

  2. How to test monthly/yearly subscription payment success. Is there any way stipe can inform me

violet nymph
#

Hello!

I have a quick question about searching in the Stripe dashboard. Is it possible to search for charges that have come from apple/google pay? like is:charge method:apple_pay or something like that?

grand ibex
#

Hey there i need to ask about ACH future payment. IS there anyone to help?

flat perch
#

For subscription-focused implementations, what is the best way to test an existing customer for a valid payment method?

mental shoal
#

I have a problem in my backend using stripe SDK for typescript and confirming on remote the payment method.

remote wasp
#

Hello Team,
I am having an issue with financial connections transactions API.
I have my account approved for financial connection
My application is in live mode and I was able to link my bank account.
Issue is when I try to load transaction, I keep having this error: Registration is required to refresh Account Transactions in livemode. Please submit your registration at https://dashboard.stripe.com/financial-connections/application
Please for help

deep plinth
#

who can help?

#

Verify domain ownership

vocal wagon
#

hey I have a couple questions will the checkout.session.completed event only be sent when a customer manually completes a purchase on the checkout page or will it also trigger when a subscription auto renews?

midnight notch
#

Hi! If our client will implement Apple Pay through Stripe - how much the commission will be? 2% or 4% (2% Stripe fee+2% Apple fee)

grim mulch
#

Hello, I have a website with Pretashop 1.7.8.9 and the latest version of the Stripe module. Sometimes the module charges twice for the same purchase and Prestashop does not detect the purchase. I receive the payment correctly but the prestashop doesn't even know. And this is a big problem. I have nothing in the error log, I have tried it and it has worked all three times, but I think that by taking too long to process the purchase, some customers may "touch something" or exit that screen prematurely.
I would like some help, thanks

rapid ferry
#

Hi, do you guarantee that an idempotency key is stored for at least 24 hours?

carmine temple
#

Hi there! I am trying to set up a monthly subscription plan and a one time payment done at the same time. How do I know if it's working in the backend. Is there a place where I can see customers who have subscriptions and for how much?

carmine lintel
#

Hello - when I am accepting tips at a terminal, the payment won't process unless a tip amount is selected, even if the tip is 0. Is there a way to set the default tip to 0 to skip the selection process if a customer is trying to pay?

orchid sequoia
#

when any user upgrade or downgrade subscription then ols subscription show active.So it is correct?expire_at_end is true

low gale
#

Hello! I'm having an issue trying to access payment methods of customers on the dashboard. Every time I attempt to expand it, the browser page crashes. I know it's not related to the Stripe API, but I thought I'd ask here first before I contact Stripe directly. Using Microsoft Edge (the Chromium version)

sour stirrup
#

Is it possible to update subscription price without passing mySubscriptionObj.items.data[0].id , here in below code ?

stripe.subscriptions.update(mystripeSubscriptionId, {
items: [{
id: mySubscriptionObj.items.data[0].id,
price: 'priceId',
}]
});

my subscription should always have 1 price id

bleak frost
#

Is it possible to create a coupon that unlocks the minimum quantity of an product?
I have a sass that hires users through the stripe, I would like to increase the minimum number of users hired to 3 (I will do this when creating the checkout, leaving the minimum amount to 3) but I have a partnership with some agencies that only buy 1, is this possible?

ocean jolt
#

hi! after a checkout session is created and paid for (via a connect account). Is it possible to upcharge/surcharge them.

For example we have a consumer that will pay for a burger. They'll then call the restaurant to add fries. We want to be able to add a surcharge without the consumer having to checkout a second time. Is this possible?

dreamy oriole
#

Once a payment_intent object has been paid and succeeded, I would like to have the stripe fee deducted from the charge amount. I see it in the dashboard, but don't see it in either the payment_intent or charge object.

thin fern
#

Hi, I am working on payment_intent, where I am confirming the payment by cashapp payment method, but for this I have to declare mandate_data, so what does it mean how I can declare that through params in my payment intent?

sacred tree
#

Hello. I am trying to create a coupon for a monthly, non-trial subscription that applies a discount on the first month/recurring-payment-period (users cannot access the product without an immediate, discounted payment, followed with a regular payment starting from the second month/period).

For this scenario, should I set Duration as "Once"? If I've created the coupon via the Stripe Dashboard, can I skip the creation within the API dev, e.g. running something like:

stripe.Coupon.create( percent_off=20, duration="once", )

Thank you!

narrow thistle
#

Hi, I'm using the Elements Appearance API to style the Payment Element. Is it possible to adjust the position of the floating label inside of an input field? I'm trying to override the default transform for .p-Field--labelFloating .p-FieldLabel which Stripe sets to var(--c-labelFloatingTransform)!important. Is there a way for me to either change the transform property directly, or set the --c-labelFloatingTransform variable? My goal is to move the floating label ("Card number") down by a few pixels

azure roost
#

Hello, can I use the charge API to create a charge using a payment method ID instead of a card ID?

spare ridge
#

Hi folks! I am stuck on Invoice.create() with invoice_no_customer_line_items error but InvoiceItem.create() is called before and I can really see 200 OK for /v1/invoiceitems and 400 ERR for /v1/invoices aftewards. What could be a reason?

desert vigil
#

Hi,
The webhooks events are not working. (evt_1NBjZzFmM52WOkSobX6ljhxX)

scenic hound
#

Hello, what is the best way to create a call that encompasses a 1 time payment and a subscription? I know the subscription api call doesn't allow a non-recurring price listed in there. So do I have to create two calls? One for Payment Intent and one for Subscription? How can I confirm these two call with the same payment element? Or will I have to confirm the Subscription call and use the payment method ID returned to confirm the payment intent? Will this show up as two charges in the end customer's bank statement?

azure roost
#

I am creating a stripe payment method ID using the <PAymentElement> component on the frontend side (reactjs). I also need to create a Card ID for backwards compatibility with Charge API... what is the best way to do this?

real sedge
#

Hi! What are the impacts to subscription apps if a business is migrating from Stripe to Shopify Payments? I was told that the merchant would have to retrieve the Stripe customer ID and Stripe payment method ID. And then, they would have to either manually migrate these payment methods from Stripe to Shopify Payments through our app OR migrate them with bulk import functionality to Shopify Payments. Is there any easier way to do this?

west saffron
#

Hi #dev-help , im looking into pending updates for subscriptions. If im updating the subcription item quantities, that seems okay to use pending updates, but when switching which prices are on the subscription (moving from price A to price B), how would you using pending updates there as we need to mark the item for price A as deleted and add the new item for price B)

wise shard
#

Hi #dev-help I could use help with the following question. I have an app that will be storing will need the ability to have a tip option where the tip would go to a separate bank account than the regular products. What is the simplest way to do this in stripe? I’m considering using a payout functionality with the separate bank account as a connected account does that make sense? Follow up would be best way to calculate how much tip to transfer based on stripe fees (not hard coding the pricing which could cause issues if that ever changes)

narrow thistle
#

Hi, I'm setting up Payment Element (with React) and planning to accept card and link payment methods. It looks like when I render PaymentElement by itself, I do get the option to use Link, but when I render PaymentElement and AddressElement, the Link UI disappears. Do I need to do anything to get Link to appear when using the Payment and Address elements together?

silver pendant
#

Am I able to view/have access to a payment's IP address?

#

from the API

#

I'm able to view it in the Dashboard but not in the API

jagged ibex
#

Hi are the fees from stripe taxable (Im from quebec)

signal timber
#

Hello! We are running into a very specific problem with regard to Wallets. In our flow on client side, we allow the user to pay with Apple / Google Pay without first creating the customer object. After the payment processes, we create the customer object after extracting the name and email attributes from the billing details of payment_intent.succeeded object. However, because the customer object is not available when Stripe processes the payment, we're noticing that a guest account is created. How can we have Stripe create a normal customer account and attach the payment method used (Apple / Google Pay) to that customer account?

versed radish
#

How can we protect the user to have the same subscription plan twice ?

sacred tree
#

Hello ,I am wondering if it is possible to add 2 coupons for different stages of time. For example, I have product A, B, C that each costs $10.00 without trial (requires immediate payments for access). I am trying to offer a promotion where subscribing all 3 would cost only $5.00 on the first month, followed with $20.00 per month (instead of $30.00 per month from the beginning).

If this is not possible, is there a different approach to achieve this? Thank you.

plush meteor
#

Hi everyone! I have a question about Subscribtions:

How to set proration_behaviour to none when upgrading/downgrading subscriptions via Customer Portal?

grizzled elm
#

Hello, I have a quick question. So, for my company, we most likely plan on using the checkout session to have people sign up for a subscription.

Afterwards, there are other items that one might be able to add to their subscription. Is there a UX experience that Stripe provides that we can leverage to add a subscription item to one's subscription? Or would this primarily have to happen via the API

rocky cloud
#

Hello. From stripe docs here: https://stripe.com/docs/payouts/alternative-currencies

"...you can enable your connected accounts to pay out in alternative currencies using the toggle under Alternative currency payouts in your Connect Settings"

I can find no such toggle in my Connect Settings

last bramble
#

Hey folks, How can I disable prorated cancellations by default?

vague cloak
#

hello, when is stripe gonna lunch in israel, and there are people who are working on it?

hearty raven
#

hello, im having some issues with CSP and I have no clue how to solve it as i've never had to deal with csp before

meager sage
#

Hi there, I'm trying to figure out if there is a way on Stripe to hold a security deposit (or an authorization hold), can anyone help point me in the right direction? I couldn't find anything in the help docs that was current.

flat escarp
#

Can I add a complex object into Stripe.subscription.metadata?

plush meteor
#

Quick question about Billing Portal:

I am trying to create a custom Billing Portal configuration. The configuration is the same as default (dashboard) one, with one additional parameter ('proration_behavior' => 'none').

Is there a way to just pass that additional parameter and keep the default settings, or do I need to fully populate the configuration array with subscription_update products, prices, business_profile etc?

glossy plume
#

Hi all, question about transfers & payouts in Connect -- is there any delay between an amount being transferred to a connected account and that amount being available to pay out to that connected account's bank? e.g. could you do something like (simplified):

await stripe.transfers.create({ amount, destination: 'my-account' });
await stripe.payouts.create({ amount }, { stripeAccount: 'my-account' });

Without issue?

modest frigate
#

Hey, I just want to do a quick shout out to Stripe for being super helpful here! Obviously followed by a question 😄

Does creating subscription schedule remove the default_tax_rate on the subscription ?

dim condor
#

hey could anyone help me out? I need a list of my billing descriptors

limber gate
#

Hi

#

How i create a credit card to use for my company online purchases on stripe

#

its been allowed in test mode and wont let me to go live

mighty hill
ocean kayak
#

Hello I have a question. I am making a non-native app so I have to send the user to a website to make a purchase. Do I need to send the customer id to attach the payment to the user or can I just use the email?

flat perch
#

I got an unexpected error when trying to change a user's subscription, can someone review a reference ID and look for any obvious errors?

ebon gale
vague cloak
#

Is it possible to get speical permission to use stripe because i dont want us company for 500$

ebon gale
#

We are tracking our users results with 3d secure by setting up a webhook to track the lifecycle events:

payment_intent.created
payment_intent.payment_failed
payment_intent.requires_action
payment_intent.succeeded

It has been working so far in our tests for successful and failed payments. However, we also want to track when a user abandons the process of 3d secure.... we were expecting to get a webook event after a timeout period, but it doesn't seem to be working. How can we track this case?

jovial arrow
#

hello, what is the best approach if I want to do both subscription and one-time payment. I am using stripe payment element to do the one-time payment.

lime bear
#

Debit as well as credit customer bank accounts? At this time afaik the only way to credit a bank account is to create a connected account with an attached bank account. Is there any feature or planned feature to allow both debit and credit of a customer bank account?

plush meteor
#

Are 'invoice.paid' and 'invoice.payment_succeeded' webhook events the same for subscribtion renewal? Which one to use for subscribtion renewal processing?

cursive schooner
#

I'm implementing one time payments and was trying to figure out which event i should listen for in my webhook (paymentintent succeeded or checkout succeeded). As far as I understand, if a customer goes through checkout and event checkout succeeded occurred so will paymentintent succeeded right?

Then I also came across handling delayed notification payment methods, I don't quite know if many of our users will use them but was thinking of handling those cases just to be safe. Reading the docs https://stripe.com/docs/payments/checkout/fulfill-orders#delayed-notification, my main question is does that provided code handle both delayed and non delayed? Does the if statement in the code that checks whether the payment status is "paid" handle the non delayed payments, implying for those payments, the payment status will be paid as soon as customer finished checkout successfully? Also would I be correct to assume if the checkout.session.async_payment_succeeded event occurs then the payment_intent.succeeded would not as it would only occur for sync payment methods, or would the latter event occur in both scenarios? Similarly for the failure events?

little sluice
#

Hello, I live in Iraq. I have big businesses there. I want to create Stripe Atlas. Can I do that?

amber inlet
#

Hi there, I have been trying to set up a US bank account for payments. I tried to connect few US bank accounts but still getting same error. Could someone help why is this error coming... { "error": { "message": "This bank account is not a valid source for payments. Only valid sources can be attached to a customer. You can validate a bank account at creation time by passing the parameter usage='source'. The particular issue is: ACH payments are not supported for this account.", "param": "source", "request_log_url": "https://dashboard.stripe.com/logs/req_oHtVEAaCkeZU9B?t=1684476603", "type": "invalid_request_error" }

bold herald
#

Hi, I have enabled Google Pay and apple pay in Live mode but during checkout, the google pay option is not coming.

plush meteor
#

Quick question about Clock and Subscription renewal:

I’ve read there is 1 hour delay after responding 200 to ‘invoice.updated’ in order for ‘invoice.paid’ event to be generated.

However, when I do a Clock simulation, I receive ‘invoice.updated’ on the renewal date, but I then have to advance the Clock ahead for 2 more days in order to see the ‘invoice.paid’ fired.

When I inspect the delayed ‘invoice.paid’ object, ‘created’ property shows the correct renewal date, even though the event was fired after a 2 days delay.

Is this something related only to Clocks behavior, or is this how it works in live too? Or maybe I am missing something here?

chilly patio
#

Hello

#

Anyone Help me

rocky cloud
#

Scenario:
US Based Stripe Platform
Seller / Connect Account in Japan
Connect Account type: Custom
Present Currency to customer in Japan: JPY (Japense Yen)
Seller / Connect Account desired settlement currency: JPY (Japense Yen)

Can the US Based platform avoid converting this currency twice to pay the Connect seller? If so, how?

hearty raven
#

does the payment element really need a client secret to be rendered?

My flow was supposed to be like this:

A form is rendered (with different payment options... card, klarna, whatever)

interact with form > press submit/pay now, stripe verifies card or payment details and returns paymentmethodid(?) and i pass this into my backend to create and confirm payment intent in the trip to the server.

If card an action_required we return clientsecret for further validation. if klarnma... always return clientsecret so they can finish with confirmKlarnaAsync.

But it seems I actually need to create the paymentintent first and then return the clientsecret for the form to evne render, why?

vagrant sonnet
#

Hello there, Can someone helpme? I created a product and I have 2 active customers subscribed to it. However I forgot to enable the tax exclusive behavior. If i am trying to edit the price it doesnt let me. any idea how to?

dim condor
#

ARNs (Acquirer Reference Numbers) How do i find them?

kind jungle
#

Hi, how to charge the connected standard account directly for service?

pallid helm
#

Hi there, I know Stripe has a Buy Now Pay later option or any payment plan. I am currently using it on Acuity Schedulling for my business and would like to know if I could offer this to my clients

high coyote
#

In stripe connect API i am getting this error - Your platform needs approval for accounts to have requested the transfers capability without the card_payments capability. If you would like to request transfers without card_payments, please contact us via https://support.stripe.com/contact. I am trying to explain stripe support about this. Can some help me out with the best explanation for this issue that i can provide stripe support to get this resolved

glossy totem
#

Hi, I have a list of orders that need to be refunded. What is the best way for me to handle this?

frail ermine
#

Are there any advantages creating your product (In the dashboard or through API) to use in stripe checkout as compare to just specifying the product details inline during stripe checkout?

grim briar
#

Hi team, i have a question about apple pay. we use check-out element on our page. And Apple require domain verification so we did it. The check out api looks fine in test mode so we go live. But in fact it failed in live environment and when the apple pay is on, it can't create the payment intent at all. When it's off, the intent could be created.

deep canopy
#

is there a quick way to create all types of sandbox accounts? e.g. seller, buyer, and multiparties?

grim briar
#

amount=26&currency=USD&metadata[sfid]=a234x000000Sf13AAC&automatic_payment_methods[enabled]=true

misty hornet
#

@grim briar I've created a thread for you let's discuss there

grim briar
#

ok

gaunt dock
#

I have a noob stripe table pricing coding question, (which may be tied to my Shopify store theme file, but...) I'm hoping we can adjust the embed code to acommodate. I'm trying to NOT have the pricing table show vertically on this page. https://showcasebox.co/pages/subscribe Is there a code that I can add to the embed code to make it "fit" better?

blazing sigil
#

Hi, stripe google pay of android native pay is GooglePayLauncher.Result.Failed is back error is your card was declined

real urchin
#

Hi !. I have a question about 3d secure. How long will Stripe cancel pending payment_intent after invoice.payment_requires_action for subscriptions was created

urban grotto
#

Hi ! I am new on stripe and I was tasked to add "Place a hold on a payment". Hoping someone can help me since I do not know where to put the codes.

vast wigeon
#

Hi

#

I have a question on payment integration with Stripe

#

i am not able to see India specific payment types like Net Banking, Credit Card, Debit Card, Google Pay, Other UPI Payments

#

how to enable these in test account and later in production

misty hornet
#

@vast wigeon I've created a thread for you, let's discuss there.

summer lantern
#

Is there an offline CLI that can be used for stripe testing integration or mocking?
The parts that I'm trying to test are the response to webhooks and I have a couple different cases that I'm looking at.

jaunty zinc
#

Hello

#

Guys I need help

echo coral
#

Why some payment via Google pay integrated using Stripe payment request button doesn’t return email in payment method ?

undone narwhal
#

Hello, I'm integrating Stripe Checkout Session to collect payments, now I see there are a lot of events to choose from, which ones should I select for my webhook endpoint? thanks!

rich holly
#

Hey everyone. I want to extract the contents of stripe API: https://stripe.com/docs/api to feed it to my AI model. Can anyone suggest how to do it?

rich holly
distant pilot
#

hello, i am integrating Stripe Terminal for Android tap to pay and see error 'Can not add resource (com.android.aaptcompiler.ParsedResource@42cb00d2) to table' after i added
dependencies {
implementation "com.stripe:stripeterminal-localmobile:2.20.1"
implementation "com.stripe:stripeterminal-core:2.20.1"
...
}

sonic arch
#

hello, is it possible to transfer a customer that has created on the platform to a connected account?
I have mistakenly created a few customers on the platform instead on a connected account.

sweet fjord
#

Hi, a customer cus_LidPgQ1oOM65X9 made a payment of $70,470 on 12, Jan, 2023 (This can be viewed in event evt_1MPi7RBD6kZ350ZVRAf94CYs). However the balance was not applied to customer on same day. It appears in customer's balance on 14, March, 2023 (py_1MlhuUBD6kZ350ZVKPKBsFAE), and the deficit of $2,370 . I would like to know which invoice was this deficit used for? Is it in_1MLLWtBD6kZ350ZVldBsgfv3 generated on Jan 12?

bold herald
#

Hi, how to pass proration in the checkout session?

session = await stripe.checkout.sessions.create({
payment_method_types: ["card"],
customer: customer.id,
line_items: [
{
price: prices[payloadData.subscriptionType],
quantity: 1,
},
],
mode: "subscription",
allow_promotion_codes: true,
success_url: http://localhost:3000/success?session_id={CHECKOUT_SESSION_ID},
cancel_url: http://localhost:3000/failed,
});

clever pendant
main niche
#

When i have added a credit card to stipe. When I do a

Stripe.instance
.confirmPayment(
paymentIntentClientSecret)

And wait for the response a get a RequiresCapture, should i then do a handleNextAction?

obtuse crown
#

is there one way to restict 1 sub for each customer

frail ermine
#

Is there anyway to specify invoice metadata during stripe hosted checkout in subscription mode? I noticed we can only specify metadata for the invoice when its in payment mode.

whole swan
#

Hi Team
We are trying to implement Stripe Tax for custom payment flow using our Platform Account. So have couple of tech doubts.

  1. Will tax API work same for our connected Account using platform account as how other API works?
  2. How tax API pricing works? It will be charged from connected Account or Platform Account? Is there any option to turn on/off option to use tax API using API or Stripe Dashboard?
  3. How tax API works with subscription?
delicate gull
#

Hi there. Thanks for your product.
I have a problem: I see a lot of payouts initiated manually on my Stripe dashboard. But on webhooks section I see only six payouts, the earliest one was processed on 11th of May. Why it is so? I have a payout in my database initiated on 6th of April with amount of 1166.62 usd, it is still in progress status, that means, the webhook didn't work for that payout. But as I said, I can't find it on webhooks section, I can't figure out what's going on.

wary wing
#

Can I set the customer.subscription.trial_will_end event to be triggered before 24 hours only ?

thin fern
#

Hi Team, Why I am able to add same credit/ debit card or cashapp multiple times in my account?
Is it because I am in test mode? If yes,This won't happen in live mode?

robust rampart
#

Hi Team,

Is it possible to generate single invoice combining multiple subscriptions?

vagrant surge
#

Hi, I want to know if I could have a coupon that will apply for all cycle of subscription (each month for monthly subscription) ?

lucid horizon
#

Hi Team
we have done Googlepay Integration through stripe using payment request button, but we are unable to see the active subscriptions in subscriptions&services tab in google account? can you please help on this issue?

pine lintel
#

Hi, I would like to know if there is any possibility to make payouts and receive it in the same day, and not in 5 days.

vocal wagon
#

Hello 👋
I've some questions regarding Typescript types for the Stripe API.

Can you tell why the price property of LineItem of a checkout session could be null ?
Is there any way to setup an item without a price ? 🤔

const { data } = await Stripe.checkout.sessions.listLineItems(sessionId);
const item = data[0];

const id = item.price?.product; // Why can price be null here ? 
gleaming jay
#

Hi, I currently use Stripe through Team Up and have subscriptions through the CMS/Booking system. I'm removing Team Up but don't want to have to re-create the Subscriptions though stripe again. Is there a way to do this.

wintry creek
#

Hello Team,

I have a specific requirement to merge invoices across subscriptions. Payment link would be single but payouts needs to be split across subs.
We are on Stripe Connect.

Can you suggest any ideas around this?

remote pumice
#

What is the best way to work with multiple developers in stripe? Each developer in his user an own account and there use the test mode?

distant pilot
hollow prairie
#

I've re-opened the thread

thin fern
#

Hi Team,
We are confirming through cashApp from UI, by using this code:
await stripe.confirmCashappPayment(props.clientSecret, {

payment_method: props.paymentId,

return_url: <any>

});
but getting an error

hasty aurora
#

Hello Team, I am beginner of using react native expo project with stripe. I am using physical android device and testing stripe payment with testing account. After entering card details and click pay button, in the middle its redirecting to hooks.stripe.com. After closing this , payment got success. how to fix redirecting to hooks.stripe.com website.

lucid horizon
#

Hi Team
we have done Applepay Integration through stripe using payment request button, but we are unable to see the active subscriptions in transactions tab in Apple account? can you please help on this issue?

vocal wagon
#

How do i safely use the stripe object in NextJS?
I currently use the following code to create a stripe object: ```tsx
const stripe = require("stripe")(process.env.STRIPE_SECRET_KEY);

It is running inside a getServerSideProps, as to not expose the secret key.
How can I use the stripe object outside of getServerSideProps, if i wanted to create a new customer through the object for example.
wide lake
#

Hello, best regards, I come from kick, tells me that I must change my IP address to solve a block I have on the account, could you help me do this? Thank you.

lime echo
#

How can i test a failed payment in stripe subscription api?

vocal wagon
#

Is there any guaranteed time to complete the transaction using saved card? Like 20 or 30 seconds? Assuming no 3DS is required and card have enough funds

void epoch
#

Hello,
Can anyone please help to get these status from account id, how can I get to know from API that current account is completed or enable or restricted?

vocal wagon
#

Hey all, does anyone know if it is possible to update this billing email(s) field(s) from the API?

#

I can seem to find it in the documentation 😛

summer kayak
#

Hey,

Are you planning of adding batch usage report option to Stripe? We report usages daily for 20k users and managing it in a loop with avoiding your API limitations is sub-optimal at best

vocal wagon
#

Hi! can someone tell me if stripe automatically configures invoices in woocommerce for purchases? i don't mean the "buy on invoice" but the invoice as an overview, for example after a purchase on credit installment.

dim condor
#

I need help with 'required_action' stage transactions

vocal wagon
#

Hello dear Team. I have a backend with django where I handle my webhooks. The things is that everything works fine, when a payment is succeed the invoice is generated well, but when I use a test card where 3D authentication is required and it is declined by the customer, the invoice is still generated with no charge. I am pretty sure that i am not creating an invoice at webhook which is generated as I only have a create_invoice function when event is invoice.payment_succeeded. Is there some thing that is taking place underhood from stripe that i am not cconsidering? Thanks in advance

quick frigate
#

Hi team,
I have got a subscription for which default payment method wasn't working due to some reason and there was no credit balance . So its invoice payment failed. Now that I have added some credit balance. How can I use that balance to pay the already created invoice?

vocal wagon
#

Hello,

I'm encountering an issue while trying to create a subscription with a free trial and a coupon code that provides a 100% discount on the next payment. However, when the free trial ends, the subscription is automatically canceled. I have properly set up the subscription with a valid payment method. Could you please assist me in identifying what might be causing the problem on my end?

Thank you.

hearty raven