Questions tagged [stripe-payments]
Stripe-payments refers to the libraries and API produced by the "Stripe" company for payment processing.
11,816
questions
0
votes
0
answers
16
views
Running Node.js in Docker container: Cannot find module
Overview: I'm trying to run Stripe's simple Node.js integration in a Docker container. It runs fine as a node app, outside of Docker, but when I start the container, it reports that it cannot find ...
0
votes
0
answers
33
views
Using "client_secret" returned by "'stripe checkout sessions create" API in the Elements Provider causing "Invalid value for elements()" issue
Can the client_secret returned by the stripe checkout sessions create API be used in the options of Elements Provider from "@stripe/react-stripe-js"?
If No, then what should be passed as a ...
1
vote
0
answers
68
views
Stripe Intent Confirm with Delphi FMX
I have an FMX app written in Delphi 10.3. I am using REST components to communicate to the APIs. First, I request a payment_intents from my backend, api.stripe.com. This returns a client_secret.
...
0
votes
0
answers
9
views
Successful Checkout condition with Firebase and Stripe "Run Payment with Stripe"
I need some help with my next.js application and I can't seem to find an answer that fully works. I am using Firebase as my backend, and using the "Run Payment with Stripe" extension to ...
0
votes
0
answers
13
views
How to use google secret key in firebase functions to init stripe?
I'm trying to init stipe as follow:
const { defineSecret } = require("firebase-functions/params");
const stripeSecretKey = defineSecret("STRIPE_SECRET_KEY");
const stripe = require(...
0
votes
1
answer
21
views
use Create a PaymentMethod with PaymentElement
I have used this tutorial to create an embedded payment form. This is my code in CheckoutForm.jsx,
const paymentElementOptions = {
layout: "tabs",
paymentMethodOrder: ['card'],
...
0
votes
0
answers
19
views
Those who have implemented Apple Pay - your server for token auth - Stripe for processing, how would you diagnose code 50 error?
For some reason the token isn't getting set to my server. I get code 50 as a print error, but I can't seem to narrow it down. Do any of you have any idea? Below you will see all the prints that I ...
0
votes
1
answer
19
views
How automatize adding a product in stripe
i'm trying to add stripe at my django project and i need to put a custom proce every time i want to buy something. Im doing a house rental type of site so i could do 2 things:
1- Automatize the ...
0
votes
0
answers
29
views
Uncaught TypeError with Stripe Buy Button in React: 'Cannot read properties of undefined (reading 'payload')'
I'm trying to integrate the Stripe Buy Button into my React application, but I'm encountering an Uncaught TypeError when the page is reloaded. The integration seems to work initially when I save my ...
0
votes
0
answers
13
views
setting up a stripe hosted sripe checkout with nextJS 13 app router
im building an online store and im having trouble in some of the final few steps of finishing this project with implementing stripe
ive been trying to follow this guide https://stripe.com/docs/...
0
votes
0
answers
34
views
Stripe useStripe() and useElements() both are null and elements do not render
I'm unable to get the to render and both useStripe() and useElements() have null null values within my payment form. I believe the issued is caused by the stripe promise which is not resolving but I ...
1
vote
1
answer
22
views
How to check stripe create session details in payment_intent.succeeded?
With the help of this function i am creating stripe checkout session which will give me payment url.
I am passing client_reference_id = sender_id in session how can i get this in my payment intent ...
0
votes
0
answers
14
views
Varify Webhook Signing secret
I am working with stripe and need to varify the signing secret provided by my customer
I have stored the siging secret provided by customer in my db.
As of moment, I am varifying the signing secret ...
0
votes
0
answers
21
views
createToken func is deprecated how to generate token from stripe in stripe 23.18.3?
i want to use the create token function but its deprecated but in kotlin its still working how can i fetch the token from stripe?
import UIKit
import Foundation
import Stripe
import StripePaymentsUI
...
0
votes
0
answers
8
views
Setting the description for a transfer in Stripe to a Connect Account
Create a PaymentIntent with the following fields according to the document.
application_fee_amount
transfer_data.destination
currency
description (only appears in the platform not for Connect Account)...
0
votes
1
answer
14
views
Stripe Subscription : Is it ok to finalize an invoice right away?
I'm wondering if it's ok to call "finalize" (https://stripe.com/docs/api/invoices/finalize) on an invoice for a subscription renewal right after it's created (I'd call it in the invoice....
0
votes
1
answer
12
views
stripe monthly subscription with coupon
we are using stripe java APIs for creating subscriptions in our application. There are yearly subscriptions and monthly subscriptions. I have to add a coupon for those subscriptions for only the first ...
0
votes
1
answer
55
views
How to pass a proper description into bank statement using Stripe payment gateway
Does anyone knows how to pass a proper description (the description to be displayed in bank statement) when user making payment using Stripe payment gateway?
I have a script for Stripe payment ...
0
votes
0
answers
8
views
I want to create a custom field on stripe checkout page and autopopulate that particular field
am trying to create a custom field on stripe and autopopulate that field when a clients selects a plan e.g I want to add a credit field (numeric) to stripe checkout page and I also want the credit ...
-1
votes
0
answers
33
views
Disabled Stripe Webhook listeners
I am working with stripe and connected a local listener in order to test.It was shown in the Dashboard -> Webhook section of Stripe. Now I want to remove the listener which has been disabled but ...
0
votes
0
answers
24
views
I am trying to setup of a webhook using Stripe and NextJS 14.0.3
This is my stripe webhook (I am using Next.js 14 and trying to implement payment using stripe)
this file is stripe-webhook and I double check the file path don't know the error
import { NextApiRequest,...
0
votes
1
answer
48
views
How to handle Stripe Webhook?
I have added a webhook endpoint for Stripe and I'm able to receive the webhook, but how can I handle the information send from Stripe?
E.g. I want to send an e-mail to my customer about the successful ...
-2
votes
1
answer
34
views
Why don't one-off stripe products with images show? [closed]
Everything works great with my checkout sessions except:
https://stripe.com/docs/api/checkout/sessions/create?lang=ruby#create_checkout_session-line_items-price_data-product_data-images
A list of up ...
-2
votes
0
answers
51
views
Implementing Stripe on Next.js Typescript with api Router and NextRequest, NextResponse [closed]
I am creating e-commerce website in next.js with prisma in Typescript. I'm trying to implement payment system with stripe but I can't find any information about connecting stripe to next.js in ...
0
votes
0
answers
14
views
Update an existing card with Twilio <Pay>
I have a service accessed by telephone for people with no internet. When a customer signs up they can subscribe to the premium service with a card over the phone. But I am not able to figure out a way ...
-2
votes
0
answers
21
views
Flutter stripe integration [closed]
According to new updates we can't send card details to our server. But I want to add card for customer for future payments too. But I'm stuck on frontend side how to get card token and send to server. ...
0
votes
1
answer
13
views
Stripe API checkoutSession creation with metadata fields is not consistent
Using the Stripe API, I realized that the checkoutSession creation is not consistent.
To recall: you can create a checkoutSession on your Server and when successful, then you get the payment ...
0
votes
1
answer
13
views
Stripe webhook events, customer.subscription.created and customer.subscription.updated are triggered at the same time
I'm using nextjs 13 api and stripe, after creating customer subscription two events are triggered at the same time, customer.subscription.created and customer.subscription.updated.
I need one event ...
0
votes
1
answer
49
views
Flutter Mobile money payment system [closed]
Does anyone know how to implement MOBILE MONEY PAYMENT SYSTEM (a payment system used only in some parts of Africa) in the mobile app in Flutter? Any Payment getway is welcomed.
I've searched for a ...
-2
votes
0
answers
24
views
Payment integration Amount has deducted but during the payment internet connection disconnect [closed]
I am integrate Razorpay payment API In eCommerce but scenario is that when customer is ordering some product and go to the payment but during the payment his account amount has deducted but during ...
0
votes
0
answers
19
views
Reactjs Firebase Stripe integration - Add users to stripe customer [closed]
I have created a ReactJS application and deployed it without Stripe. In my second deployment, I implemented Stripe. For users who registered after my second deployment, everything works fine. In ...
0
votes
1
answer
21
views
Stripe Api Error when trying update a subscription schedule
I am trying to perform a subscription change via the Stripe API. To do this, I create a subscription schedule with the current plan (monthly billing) and the future plan (annual billing).
Sometimes ...
0
votes
1
answer
23
views
Stripe API | Payment Links | Need to create a payment link with on runtime price
I need to create a stripe payment link to send to a customer. The price would be set on runtime and it's a service so parse there is no product.
My ultimate solution would be if i can simply do ...
0
votes
0
answers
18
views
Firebase stripe extension month to annual subscription
I have created a reactjs application connected to firebase and uses firebase stripe extension. i have followed the documentation and successfully implemented subscription.
I have a scenario wherein ...
-1
votes
0
answers
28
views
Resource Id #150 Error in PHP API, While firing Update query to Postgres Table
I am trying to Update a table in Postgres from a Stripe webhook api. But i keep getting Resource id #150 error.
Here is the code
<?php
require 'vendor/autoload.php';
include('../conn.php');
$...
0
votes
0
answers
20
views
How can I retrieve Stripe payment information after succesfull payment?
Stripe Controller
\Stripe\Stripe::setApiKey(config('stripe.sk'));
$session = \Stripe\Checkout\Session::create([
'payment_method_types' => ['ideal'],
'line_items' ...
0
votes
1
answer
42
views
Creating a Stripe Subscription via Java: POST /v1/customers
I have this class to create a Stripe Subscription:
HttpHeaders headers = new HttpHeaders();
headers.setBearerAuth(apiTestKey);
headers.setContentType(MediaType....
0
votes
0
answers
16
views
Stripe create multiple subscriptions with different intervals on a single authentication
Working with PHP language and integrating Stripe on my website. There are two plans on my site.
75$ - per year.
6$ - per month (kinda add-on that allows you to have more functionality)
The algorithm ...
1
vote
0
answers
65
views
Stripe payment method can't seem be working
I'm encountering issues with Stripe payment processing in a client-server application. On the frontend, I've built a checkout form using @stripe/react-stripe-js and send payment data to the backend. ...
0
votes
1
answer
40
views
Content Security Policy error when using react-stripe
I'm currently working on a react application that integrates Stripe payments using the @stripe/react-stripe-js (version "^1.9.0") and @stripe/stripe-js (version "^1.32.0") npm ...
1
vote
0
answers
29
views
django.db.utils.ProgrammingError: relation "djstripe_coupon" already exists
I am making an app for subscription using dj-stripe and DRF. when make a POST request 127.0.0.1:8000/subscription/subscription-success/?session_id={session_id}
i got this error:
return self.cursor....
0
votes
1
answer
27
views
How to set free trials with firebase stripe extension
I am wondering if it is currently possible to create free trials with the firebase stripe extension...
const sessionRef = await addDoc(
collection(db, "users", user.uid, "...
0
votes
0
answers
35
views
Error: Could not find Elements context; You need to wrap the part of your app that calls useStripe() in an <Elements> provider
I fallow to this documentation to enable P24Bank (Przelewy24) from Stripe react.
https://stripe.com/docs/payments/p24/accept-a-payment?platform=web&ui=element&client=react
First I create in @...
1
vote
1
answer
28
views
Stripe integration with Apple Pay
Sorry if this is a more generalized question, but I am hoping to get some understanding before I pay over $100 for an Apple developer membership.
I am working on Stripe.js integration as payment ...
-1
votes
1
answer
21
views
Stripe checkout session working on localhost, but not with live histinger nodejs
I have a react js eccomerce web with Stripe Session payment, the session works fine on localhost but when i create a build and run the website hosted by Hostinger. It doesn't work .Cart.js:84 Error: ...
0
votes
1
answer
34
views
How to enable P24 Payment method
For reference, here is ready payment integration form for Stripe Card Payment.
import {
CardCvcElement,
CardExpiryElement,
CardNumberElement,
} from "@stripe/react-stripe-js"
import {...
0
votes
0
answers
14
views
django-otp and dj-stripe conflict
i'm searching a way to implement django-otp and dj-stripe in a web project but i think there is a conflict because django-otp uses custom admin_site.register() to register models while dj-stripe uses ...
-1
votes
0
answers
13
views
Stripe Webhook being delivered to the wrong endpoint
I am building an application with fastapi and stripe. I have the following webhooks being handled through my application.
checkout.session.completed
checkout.session.expired
payment_intent.created
...
-1
votes
1
answer
18
views
Can we send amount to spacific account depend on order?
in my app, we have multiple franchises can we send money to a specific account depending on from where we got the order? Does any payment gateway provide this kind of solution?
ex. we have 4 ...
1
vote
0
answers
36
views
Integration of Stripe into Android Flutter app and an error in MainActivity.kt
I'm trying to add Stripe Payment to my Android Flutter app using flutter_stripe: ^9.5.0+1 and flutter_dotenv: ^5.1.0.
I followed the instructions; the issue I'm experiencing is in the file '...