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
0
votes
0 answers

Handle card information using Stripe on Client side

I'm developing an application using react native and Stripe api in order to handle all the sensitive information about the users and their credit cards. I'm trying to manage a digital wallet inside the application: one user can add/delete or see a…
TheGorgeousSeal
  • 103
  • 2
  • 8
0
votes
1 answer

Laravel Cashier - Stripe webhook handling

I am handling a webhook for failed payments and the webhook is being successfully called. However, from the Laravel documentation it appears that a subscription would be automatically cancelled after 3 failed payments. In my case it is not being…
Jonathan Hyams
  • 121
  • 1
  • 2
  • 14
0
votes
2 answers

Laravel Cashier - updateCard() - guidance

I am using Laravel Cashier with Stripe checkout (to avoid need for compliance). I cannot fathom how to allow customer to change their card details. I know the cashier syntax is $customer->updateCard($stripeToken) but how do we get there? Anyone…
Jonathan Hyams
  • 121
  • 1
  • 2
  • 14
0
votes
1 answer

When do I verify the email before creating a subscription with stripe?

I know stripe doesn't have anything to do with verifying emails. I have a form on my website where I collect a new user's email, password and cc info. As of now I do not verfiy the user's email. I simply create the user in my system and create the…
Gilberg
  • 2,514
  • 4
  • 31
  • 41
0
votes
1 answer

Stripe Start Date

How do you set the start date for a subscription? Many of our customers began using our service a few days before we could collect their payment information so we'd like to charge them for these additional days.
Will
  • 1,171
  • 2
  • 14
  • 26
0
votes
1 answer

Stripe checkout error

I am trying to implement stripe checkout to me store and I get an error saying: Here is my code: onToken = (token) => { fetch('/save-stripe-token', { method: 'POST', body: JSON.stringify(token), }).then(response => { …
malaika
  • 461
  • 3
  • 6
  • 17
0
votes
1 answer

Promise not sending any data. No error?

When this promise is run the browser just times out ( didn’t send any data. ERR_EMPTY_RESPONSE). There aren't any errors in the terminal. The first console.log is printed but nothing else. var createStripeCustomer = function(customer, source) { …
David
  • 944
  • 1
  • 13
  • 20
0
votes
1 answer

Payment Gateways: pay a percentage to two different accounts

For an e-commerce site I am building, for every transaction 90% needs to go to one account and 10% needs to go to another. It looks as though Stripe can handle this using the 'Express' account using 'Connect', but it seems this account type is…
Chris
  • 439
  • 4
  • 20
0
votes
1 answer

how can i get bank account number from source in stripe API?

I am using ACH payment for collecting money from customer as investment. I can add bank account using plaid and stripe. But how can i get bank account number from source in stripe API?
0
votes
1 answer

Get Card Information from Charge object in Stripe

I have integrated stripe payment method in website . I want to get Card Information. Everything is work fine .After successful payment i successfully retrived payment id from $charge->id variable .So my question is that when i print_r($charge) it…
Hashaam
  • 125
  • 1
  • 14
0
votes
1 answer

Setting up Stripe Elements in PHP? Seems like my php code is not communicating properly with my JS

I'm trying to set up Stripe Elements, and I'm quite new to this. So, I included every bit of JS which was on the stripe docs about elements, I installed the Stripe API, and required it, also linked to the Stripe JS. This is how far I came, the PHP…
lastnoob
  • 646
  • 12
  • 28
0
votes
1 answer

How to disable default payment method (Credit Card) in Stripe Checkout

I need only one Payment Method (AliPay). But I can't disable default payment method with Stripe Checkout (Credit Card). Of course, I read documentation, but I don't have any idea how I can make that. This is My code. var handler =…
lanycrost
  • 18
  • 1
  • 5
0
votes
1 answer

Stripe.js parsing individual information

I am trying to use my own input form to get credit card information and then use it to generate a token. In Stripe.js 3 this is apparently hard to achieve since it uses iframes to mount input fields to each div element. Apparently there is an…
0
votes
0 answers

How easy is it to 'upgrade' from Stripe to Stripe Connect?

I am the co-founder of an online business and having a little trouble with development. My development team have already implemented Stripe on the platform, so we are currently able to sell products, accept payments, etc. However, I want to…
0
votes
1 answer

Stripe Checkout with PHP/JS submits but doesn't show up in Stripe account

I am trying to get Stripe checkout with custom payment amounts to work. The pop up Stripe form will submit but nothing shows up in my Stripe account. In my actual code I do have my api keys entered. I am also not using composer.
user715564
  • 1,650
  • 2
  • 25
  • 60