Category "stripe-payments"

How to use Stripe's secret key and publishable key?

I would like to connect with the Stripe API using a https call using the https library. var https = require('https'); I have gotten the secret key and publis

Stripe CardElement not rendering

I am attempting to integrate Stripe into my application, but I am having issues getting the CardElement to render within my Payment Form. Here is my code for my

Which Stripe webhooks confirm Subscription and Product payments?

The Stripe API is quite overwhelming. I found out, that there are some webhooks which are present because of backward compability (i.e.: Plan, Charge..) My inte

Why there is no billing address in stripe Checkout

I am using Stripe Checkout for credit card charging. But I don't see billing address in the popup window. How come they don't need a billing address? Why? Any o

How to force Stripe subscription charge

Does anybody know how I can force renewal (charge) subscription in Stripe? For example, we have 'past-due' subscription, and 3 tries to charge at this 'past-due

create stripe invoice with specific invoice items, excluding pending invoice items

I am trying to create manual stripe invoices but don't want it to create the invoice from pending invoice items. For example, I have 3 pending invoice items tha

Stripe 3D Secure when Saving Cards for future payments

Is it possible to use 3D Secure when saving cards for future payments? From Stripe's docs, https://stripe.com/docs/sources/three-d-secure. This seems to be the

Debugging Stripe Webhook Event

I spend my weekend trying to figure out Stripe Webhooks, but still haven't found a way to debug the response. This is my current code: http_response_code(200);

Top-level ‘await’ expressions are only allowed when the ‘module’ option is set to ‘esnext'

I am going through Stripes integration steps and have come across an error for my code found in step 2.1 (https://stripe.com/docs/connect/collect-then-transfer-

Vuejs and laravel - Template should only be responsible for mapping the state of the UI

There's some part of my project where i have some vuejs content inside of a blade template of course. But it gives me this error: " Templates should only be res

Stripe - add an invalid card to customer in test mode?

I would like to test invoice.payment_failed event with VCR Pseudocode: create a customer with invalid card create an invoice with invoice item (here the invoice

Stripe Invoice. Start/created and End date are all the same for first invoice

I am getting back the invoices from my API, and I am noticing that if there are 2 full month billing cycles, all good - but I always get back one in which the s

Stripe parameter_invalid_integer

I am trying to setup PaymentIntents API from Stripe and the amount needed to be passed to the API is very confusing. Stripe Docs: All API requests expect amount

StripeInvalidRequestError: You can only create new accounts if you've signed up for Connect

When trying to test Stripe Connect Api, I get the following error: 'StripeInvalidRequestError: You can only create new accounts if you've signed up for Connect

How can I put border styling with react-stripe-elements input component?

About this React component library. https://github.com/stripe/react-stripe-elements How can I put border styling with input component? <CardElement style={

Why is the response (payment Intent) after completing the payment undefined?

myReactApp/functions/index.js const functions = require("firebase-functions"); const express = require("express"); const cors = require("cors"); const stripe =

How to close the payment interface if the payment failed in Stripe Google pay?

Need to close the payment interface if the payment fails. Now it showing error instead of close. paymentRequest.on('paymentmethod', function(ev) { console.l

Stripe recurring/subscription billing best design/practices?

I'm coming off putting together my first site with stripe, but I feel like I could have designed my stripe integration much better than I had. The main issues t

Why "clientSecret is not a recognized parameter" in stripe

Im confused. The Stripe Docs to integrate stripe elements in react said here: const options = { // passing the client secret obtained from the server clientSe

The "client_reference_id" argument is not passed

I use Stripe Checkout (Stripe version 2016-07-06) and I want to recover a personalized data thanks to the argument "client_reference_id" but in the JSON I do no