13,166 questions
1
vote
0
answers
70
views
Partial.ly API adding application_fee to Stripe PaymentIntent when using direct API Key (not OAuth)
Problem
I am building a custom WooCommerce plugin that integrates with the Partial.ly
API to create installment payment plans. I am following the official Partial.ly
documentation for creating a ...
0
votes
1
answer
65
views
Can stripe.checkout.sessions.create(...) specify which webhook destination should be used?
I have a server application that handles checkout "post" from a user form. It create a session using stripe.checkout.sessions.create(...) and it works, meaning I can see the activity in the ...
0
votes
1
answer
108
views
Multiple Stripe account based on country
I have a WordPress (WooCommerce) website with Stripe integrated and connected to a Stripe account.
I want to use two Stripe accounts based on the customer’s billing country. For example, if a customer ...
0
votes
1
answer
54
views
Payment status shows ‘Incomplete’ after adding card during 14-day free trial
const session = await stripe().checkout.sessions.create({
mode: "subscription",
payment_method_collection: "if_required",
subscription_data: {
trial_period_days: 14,
}...
Best practices
0
votes
1
replies
89
views
Best way to check Stripe WebHooks
I have a question regarding testing Stripe webhooks for Stripe Connect.
When testing Stripe API endpoints, it is straightforward because you can simply use your API key and call the endpoints directly ...
Tooling
0
votes
0
replies
69
views
Best approach to build a service marketplace (Fiverr-like) as a solo beginner developer?
I want to build a service marketplace application (similar to Fiverr) where:
Sellers can create service listings
Buyers can purchase services
Payments are handled via Stripe Connect (split payments ...
0
votes
1
answer
52
views
How to add coupons to customers in stripe sdk
I’m trying to attach a coupon to an existing Stripe customer using the Stripe Java SDK.
In Stripe Java SDK v28.0.0, this was working fine using setCoupon() on CustomerUpdateParams.
However, after ...
Best practices
0
votes
2
replies
74
views
How to handle Stripe processing fees in Flutter when card country is unknown?
I’m building a Flutter app using Stripe for payments.
All prices are in GBP (£).
My requirement is:
Booking price is £10
Stripe charges a processing fee (varies by card country / FX)
I want the ...
0
votes
1
answer
111
views
Payment Intent not appearing under invoice
So I have been trying to setup a subscription (Save card now pay later)
Let me first show how I'm saving the card against the user
customer = await stripe.customers.create({
name: req....
1
vote
2
answers
99
views
Does Stripe SetupIntent validate card balance/availability, or is validation only done during actual payment?
I’m migrating from an older flow where I used to verify a customer’s card by creating a small authorization charge (e.g., $1) using a PaymentIntent. This helped ensure the card was valid, had ...
2
votes
1
answer
201
views
Access a CSS variable in JavaScript
I'm using PHP to generate my website's pages, Bootstrap 5 to style the pages and Stripe to process customer payments. I'd like to style Stripe's payment elements to match the underlying theme of my ...
Advice
0
votes
1
replies
34
views
How to handle partial refund in Stripe if split payment is not completed within a time limit (Flutter)
Question
I’m working on a Flutter app using Stripe for payments.
Use case:
A user makes a booking and can add a friend to split the bill.
Example:
Total booking price: $10
User pays $5 immediately
...
0
votes
1
answer
48
views
Stripe Java SDK: setCoupon() removed in v31 – how to attach coupon to existing customer?
I’m trying to attach a coupon to an existing Stripe customer using the Stripe Java SDK.
In Stripe Java SDK v28.0.0, this was working fine using setCoupon() on CustomerUpdateParams.
However, after ...
0
votes
1
answer
72
views
How to get Details on Discount from a Subscription in Stripe?
There is no API for querying discount information directly. When querying the subscription:
Stripe::Subscription.retrieve('my_sub_id')
# returns:
#<Stripe::Subscription:0xb8a80 JSON: {
..
"...
0
votes
1
answer
55
views
With the Pay gem using stripe, how do you subscribe to a subscription applying a discount?
Consider the following:
@user.payment_processor.subscribe(name: "default", plan: "monthly", quantity: 3)
How do you subscribe with a coupon code attached?
See: https://docs.stripe....