11 questions
0 votes
1 answer
96 views
How can I update a Stripe subscription to restart the billing cycle from the payment date without creating a new invoice?
I’m using Stripe Subscriptions in PHP. If a renewal fails, the subscription becomes past_due or unpaid. When the user pays that failed invoice a few days later, I want to restart the billing period ...
0 votes
0 answers
179 views
How to Use Stripe Automatic Sales Tax with a Connected Account Based on the Account’s Location?
I’m working on a PHP project that uses Stripe to handle payments. Specifically, I’m using Stripe Connect to process payments on behalf of connected accounts. I need to calculate taxes automatically ...
1 vote
1 answer
601 views
Create subscriptions with a payment intent id
I have a scenario where people pay on my website through a checkout link and I can retrieve the payment intent. I was wondering if there is a way to create a subscription and attach that payment ...
1 vote
1 answer
2k views
How to retrieve all details of a stripe paymentintent?
I am using stipe php api for retrieving the details of a PaymentIntent that has previously been created. Using this $stripe->paymentIntents->retrieve( 'pi_1HC8egG7NsTelwXIddIlYyrX', [] ); ...
1 vote
1 answer
1k views
Why stripe sends payment_intent.succeeded event to my webhook before callback from the client when the payment completes
Hi I'm using stripe custom flow to accept payments online in my site. After submit the payment to stripe and when stripe redirects to the return_url when a payment is successful I save the payment ...
3 votes
2 answers
3k views
Creating Stripe price with custom ID via API
How do I create a Stripe price with a custom ID thru their API? I can create prices with custom IDs in the Stripe Dashboard, but when I create using the API I get this error: Received unknown ...
1 vote
1 answer
232 views
Stripe API PHP partial refund doesnt work
I try do partial refund in stripe php but all time do full refund instead. My code: public static function createRefund($id,$refundAmount){ $refundAmount = $refundAmount * 100; $...
0 votes
2 answers
1k views
Stripe API - Can not retrieve products purchased from a pricing table using webhook or api
From the Stripe dashboard, I create some Products (standard pricing, one-time purchase), and then I create a Pricing Table that includes those products. I then setup a webhook from Stripe to send the ...
0 votes
1 answer
221 views
Stripe Search API 400 Bad Request
I am trying to execute cURL in PHP to do a Stripe Subscription Search. But I am getting 400 Bad Request. Here is my PHP script: $ch = curl_init(); $created = 'created<' . strtotime('tomorrow'); $...
1 vote
0 answers
192 views
Stripe payment intent search api throwing error
I am getting an error:call to undefined method stripe\paymentintent::search() The code reference url is on search stripe payment intents using php library. $stripe = new \Stripe\StripeClient('...
5 votes
2 answers
3k views
Can you pass a shipping address to Stripe Checkout in PHP?
I'm using Stripe Checkout API to direct a website user to make payment. Is there a way to pass a shipping address to the hosted checkout page so it's gathered from the referrer rather then Stripe ...