Questions tagged [stripe.js]

Use this tag for Stripe.js. Stripe.js is Stripe's foundational JavaScript library for securely sending sensitive information to Stripe directly from the customer's browser.

Stripe.js is Stripe's foundational JavaScript library for securely sending sensitive information to Stripe directly from the customer's browser.

119 questions
1
vote
2 answers

how to create customer and charge subscription at same time?

I'm using stripe and had all my subscriptions working properly before. Just recently I am trying to move the same code to a different stripe account and I am receiving errors when trying to charge a subscription.
h0bb5
  • 609
  • 1
  • 7
  • 22
1
vote
1 answer

Stripe.js v3 card elements. How to change Input Type to password?

Stripe.js v3 inserts its own input fields to input card number. There are options to either use single input field (card-element) or separate them as cardExpiry or cardCVC etc. The problem is I want the cvc and expiry inputs to be of…
Prabhash
  • 73
  • 9
0
votes
2 answers

Integrating FireStore/Stripe/iOS/Cloud Functions

I am a newbie to all the technologies mentioned. So, I apologize in advance if this question shouldn't be here. So I am trying to write the firestore equivalent of the example stripe-firebase realtime database-cloud functions integration provided…
0
votes
1 answer

Cannot create subscription with timestamp using Stripe API

Background I have a script that creates subscriptions for customers using the Node.js Stripe API. Code After reading the documentation on how to create subscriptions I have arrived at the following code: var stripe = require( "stripe" )(…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
0
votes
0 answers

Laravel - Stripe.js Dont show card input

I'm new in somethings like payments. and i have the proyects for months. I put the code like the documentation but, the card input doesn't appear... I check the html, css, even JS and there does not seem to be any kind of problem. Please help…
FelixAVeras
  • 964
  • 9
  • 17
0
votes
0 answers

Stripe API with PHP must provide source or customer

Function of controller in Laravel: public function postCheckout(Request $request) { if(! Session::has('cart')){ return redirect()->route('product.shoppingCart'); } $oldCart = Session::get('cart'); $cart = new Cart($oldCart); …
0
votes
2 answers

Clarification on functionality of the stripe token

So I'm currently in the final stages of designing a small online shop and I'm having a bit of difficulty understanding what the stripe token contains, how to pick it up on the node.js server and that kind of thing. currently, my client-side code…
Jobalisk
  • 728
  • 1
  • 6
  • 17
0
votes
0 answers

Can't update Connected account with token

I tried to update a Connected Account using token like this : $account = \Stripe\Account::retrieve($_POST['stripe_connect_edd_user']); $account->account_token = $_POST['token_stripe_edd']; $account->save(); But I've got this error : Once a full…
Gildas Ross
  • 3,812
  • 5
  • 21
  • 31
0
votes
1 answer

Ionic 3 with stripe and woocommerce-api

I am working on an Ionic 3 app with WooCommerce api. Currently I am using stripe to handle payments...Been able to get a card token from stripe after initial card check but I am lost in creating a charge from the card. Piece of my…
CE0
  • 191
  • 3
  • 7
  • 18
0
votes
1 answer

Responce back after create charge in Stripe

I have below code in Ruby file which is post '/create_charge' do # Create the charge on Stripe's servers begin charge = Stripe::Charge.create( :amount => params[:amount], # this number should be in cents :currency => "usd", …
Arun
  • 2,271
  • 1
  • 14
  • 18
0
votes
2 answers

Using Webtask.io with Stripe for React-Static

I am building a small website using React-Static. Site is all built, but I need to integrate basic donation functionality. I have a few questions that have me stumped. Following the guide here by Thomasz Jancuk I've run into a few hurdles. 1.)…
Chris Porter
  • 143
  • 1
  • 13
0
votes
1 answer

Stripe - single-use cards and delayed charge

Our site currently asks customers to provide their CC data every time they put an order. Few days later we charge the card, very often with a different amount than shown during the checkout because of merging orders, changing shipment method and so…
Michał Fronczyk
  • 1,859
  • 4
  • 24
  • 29
0
votes
1 answer

Unable to store stripe webhook data in mysql database

I have set webhook in my stripe account and while doing test webhook from stripe dashboard, I am getting success result from the stripe. I can see the response in preview. But while doing that thing from the browser and hitting the same webhook url,…
tj cloud
  • 21
  • 7
0
votes
2 answers

Stripe - process multiple payments from same IP

We have a simple form that allows our customers to make payments for our services. We are using the "StripeCheckout" JS library and everything works as expected. Some of our customers provide us with the credit card information and want us to make…
maximus 69
  • 1,388
  • 4
  • 22
  • 35
0
votes
1 answer

How to remove close button from the Stripe Popup dynamically

I am working with Stripe code section, my requirement is to remove the "Close Button" from Stripe Modal Dynamically. Stripe popup is coming in Iframe on my page load. So how can i remove the button.
Anshul
  • 116
  • 1
  • 10