Basically, the problem im having is between php and javascript, where my php function is createPayment() I can’t put javascript variable so I can’t enter the amount ($) of the order I’m really stuck on what to do. Maybe a post event to the server to create payment via javascript but I don’t know how to do that Javascript: Server
Tag: stripe-payments
Stripe checkout: description in dashboard instead of pi
Can anyone help me? I migrate form v2 to v3 checkout. how can I send my custom description order in stripe dashboard description column? now I get only the payment id pi_1IrhQALKfdoxxl3X07seJ5anto with old API by description I would do: with the new API : Thank you Answer according to the stripe documentation : https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-description
Stripe API and PHP: Relationship of PAYOUTS to Payment Intent / Charges
I’m new with STRIPE, and I’ve been reading the documentation for STRIPE, and was task to create a list of payouts to a connected account (type is standard). Also, I have to show the details, under …
Stripe Unexpected token < in JSON at position 0
I am getting this error, it points to client.js line 21. It is the second .then of the fetch(create.php). The first response returns 200. So, not sure how to fix it. The whole code so far is as …
Stripe php integration Error: ReferenceError: sessionId is not defined
I’m stuck at integrating stripe’s prebuild payment gateway to my project. I’m coding very simple Eshop (without login/registration and shopping cart) just a simple project with a form and stripe …
Can you pass a shipping address to Stripe Checkout
I am 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 …
PHP – Proper JSON format not being returned?
I’m using the below code to return JSON data to my mobile application (I’m posting data to the Stripe server to create a customer and return a key to my iOS application). That said, when I post to …
PHP – Stripe Webhook is giving a TLS Error
I am trying to set up webhooks for Stripe. The webhook connects to https://authdomain.subd.com which then forwards the request (after adding a validation token) to http://www.workdomain.com Both these urls are hosted on the same server. Payment Intents generated from http://www.workdomain.com successfully go into Stripe. (Update: I can also query run successful Stripe commands like StripeCharge::all() from authdomain, which verifies that
Stripe, subscription without trial days
I created a plan with a billing period by month and a free trial of 30 days. But on some cases, I would like not to offer the free trial. So I create a Stripe Checkout Session with these options: $…
Trying to access data returned from Stripe API with Alamofire, but result is not valid JSON
I’m trying to interface a Swift app with the Stripe API, using Alamofire, but I’m having trouble with the returned results. I was expecting valid JSON, but I am getting the following: Stripe…