question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apple pay succeed, but the stripe Gross volume is 0

See original GitHub issue

After test apple pay with ‘test publish key’ successfully, I changed to ‘live model’.

The payment process succeed on the phone, and I could see the log history on stripe dashboard.

Request POST body: { “muid”: “D1F9069E-2897-4063-9028-*****", “pk_token”: "”, “pk_token_instrument_name”: “Visa xxxx”, “pk_token_payment_network”: “Visa”, “pk_token_transaction_id”: “F58B134F3227E7A9A9DB279E83F3188C16EA4CA22D733AB2486D1xxxxxxx”, “time_on_page”: “320985” }

Response body: { “id”: “tok_1CRWBBLwxxxxxxxxxxxxx”, “object”: “token”, “card”: { “id”: “card_1CRWBALwWumfvT69xxxxxxxxxxxx”, “object”: “card”, “address_city”: null, “address_country”: null, “address_line1”: null, “address_line1_check”: null, “address_line2”: null, “address_state”: null, “address_zip”: null, “address_zip_check”: null, “brand”: “Visa”, “country”: “US”, “cvc_check”: null, “dynamic_last4”: “xxxx”, “exp_month”: 8, “exp_year”: 2022, “funding”: “debit”, “last4”: “xxxx”, “metadata”: { }, “name”: null, “tokenization_method”: “apple_pay” }, “client_ip”: “x.x.x.x”, “created”: 1526263969, “livemode”: true, “type”: “card”, “used”: false }

In the client side, I set the amount to $0.01

const items = [{
                label: 'Primary Coffee',
                amount: '0.01'
            }]

But the stripe does not receive the payment, and my card is not charged… I thought it should some configure problem in stripe account. But not sure.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
sydridgmLeecommented, May 27, 2018

@brilliantjc I figured it out ;]

The whole payment flow:

  1. use public key to get a token
  2. use this token with your private key to make payment

I just forget the second step… Hope it help you.

2reactions
sydridgmLeecommented, May 27, 2018

@brilliantjc you can but not recommend.

Just need to send a post request to Stripe. You can see the reference on Stripe web site.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apple Pay | Stripe Documentation
Allow customers to securely make payments using Apple Pay on their iPhone, iPad, and Apple Watch.
Read more >
The Collison Brothers Built Stripe Into A $95 Billion Unicorn ...
Its gross revenue, still mostly the 2% to 3% it collects on such volume, reached nearly $12 billion in 2021, according to sources...
Read more >
Should Startups Avoid Stripe? How We Got Our Account Back
It's also important that as a startup you provide multiple payment options for your clients. Not everyone likes PayPal but not everyone trusts ......
Read more >
Payments, Processors, & FinTech - doc .credit -suisse .com
payments volumes (credit, debit, pre-paid)… …but card issuing banks (which earn interchange) earn the majority.
Read more >
Stripe Payment Solutions - Fingate - Stanford University
Stripe provides a variety of payment products and methods (such as Visa, ApplePay, eCheck, etc.) and functions as an integrated solution for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found