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
cURL request (with Stripe API) slowing down page load times – optimal way to make the request?
I’m making a call at the beginning of each page of my site to Stripe (a payment/subscription service) using its API in PHP. I need to check if at any point the subscription has failed/changed so they lose access to the current page. The problem is that it seems to be slowing down my pages a lot, causing noticeable issues
Trying to connect to Stripe API could someone take me through what this webhook is doing step by step (php)
As the title says I’m trying to use webhooks to automate some of the Stripe events which occur when a customer goes through the subscription process. In my webhooks.php file these are the bits of code that I don’t understand: /* The are my comments */ // These are comments from the Stripe docs Answer It reads the request body
Stripe API Update DRAFT invoice for subscription (PHP)
I am using PHP and have a webhook generated with invoice.created. When the invoice is created, Stripe lets the draft invoice sit there for about an hour which gives us time to edit the invoice or adjust it. I use this time to check the database (via webhook) to see how many referrals this person has in the system to
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
How to create a customer, payment method, subscription all in one step in Stripe
Stripe has so many different methods it’s kinda confusing which one to used. I have a credit card form for the user after he/she has selected the subscription they want to purchase. From this point, I want to create the customer, setup payment and subscription all in one step. Do I do: Create customer Create payment method Create subscription OR
saving card information to stripe and charge customer later
I want my customers to fill the cc information through stripe without charging them initially but i would manually charge them later accordingly to the service i provide them. it is it possible to simply save their card information on the stripe itself so i could manually go and charge them through stripe internally? i am new to stripe so
Trigger Stripe SCA redirection for authentication
I have this stripe file StripePayment.php and i am charging the card like this This code is able to charge cards but can’t charge cards where 3D/SCA is required i.e European cards. My question, is there a way i can request stripe to redirect the user to the card issuing bank for authentication so that the user can authorize the
Stripe – adding new customers to an existing plan?
I have a simple form that registers users. The form also uses Stripe to process payments. Stripe’s API is super clean but for some reason I can’t seem to figure this out. Please tell me if i’m doing something wrong here. Right now I’m in a test account with Stripe, but every time I register a user in stripe it
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 …