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.

Google Pay line items do not show when testing in emulator

See original GitHub issue

Before I have submitted the issue

[✓] I have read an installation guide
[✓] I know that for an iOS I need to install pods because I’ve read the installation guide
[✓] I have read a linking guide and checked that everything is OK like in manual linking guide
[✓] I know that before using tipsi-stripe I need to set options for my app as described in usage guide

The problem

Briefly describe the issue you are experiencing (or the feature you want to see added to tipsi-stripe). Tell us what you were trying to do and what happened instead.

After integrating a Google Pay button in my app using paymentRequestWithNativePay(options, items), there are no line items or a price shown in the Google Pay pop-up modal. I have created my options correctly as defined here in the documentation for paymentRequestWithNativePay().

Screen Shot 2020-10-05 at 9 50 00 AM

Note: I’m aware that the app may need to be approved first for some things to work, but as it is now, after clicking ‘continue’ I can successfully complete test charges via Stripe with this Google Pay modal. I’m just confused why no pricing or line items are displaying at all.

Environment

  • tipsi-stripe version: 8.0.0-beta.10
  • Last tipsi-stripe version where the issue was not reproduced (if applicable):
  • iOS or Android: Android
  • OS version:
  • React-Native version: ~0.61.4
  • (Android only) com.google.firebase:firebase-core version: 16.0.7
  • (Android only) com.google.android.gms:play-services-base version: com.google.android.gms:play-services-wallet:18.0.0

Links to logs and sources

Create a GIST which is a paste of your full logs or sources, and link them here. If you are reporting a bug, always include build or error logs!

For Android, please provide the following sections from android/app/build.gradle:

  • android.compileSdkVersion
  • android.buildToolsVersion
  • android.defaultConfig.minSdkVersion
  • android.defaultConfig.targetSdkVersion
  • android.defaultConfig.multiDexEnabled (if exists)

Screenshots, GIFs (Must to have)

Screen Shot 2020-10-05 at 9 50 00 AM

Code To Reproduce Issue (Good To Have)

Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
cybergrindcommented, Dec 27, 2020

@jcohenho I’m sorry, I couldn’t comment on all 200 closed issues. Stripe now has their own RN library and we want to encourage everyone to use it.

1reaction
jcohenhocommented, Dec 25, 2020

@cybergrind Why was this closed without any explanation?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to test In-app Billing on an emulator? - Stack Overflow
Install an emulator that has already google playstore installed, on a system image that supports google service api. My emulator spec:
Read more >
How To Test Google Play Billing on Simulator
Check your test email purchase​​ Be sure that you acknowledge the purchase in your code. And in this case you will receive an...
Read more >
Testing apps locally with the emulator | Cloud Pub/Sub ...
To develop and test your application locally, you can use the Pub/Sub emulator, which provides local emulation of the production Pub/Sub service.
Read more >
Fix payment issues on your account - Google Play Help
Try to pay with a different payment method · On your Android phone or tablet, open the Google Play Store app Google Play...
Read more >
Test your Google Play Billing Library integration
Ordinarily, the Google Play Billing Library is blocked for apps that aren't signed and uploaded to Google Play. License testers can bypass this ......
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