#dashen0897_unexpected

1 messages · Page 1 of 1 (latest)

icy nymphBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1445600226445365321

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

valid scarab
#

hi there 👋 give me a moment to look into this

#

Are you using an Android emulator in your tests?

onyx haven
#

It uses the APK installation method.

valid scarab
#

If you are not using an emulator, do you also have the the Google Wallet app installed on your Android device? If not, please install it and let me know if the Google Pay button still doesnt display

onyx haven
#

Android mobile devices used

#

It's installed and I'm logged in, but I don't have a real payment card.

#

Because I want to use a test card to make a payment.

valid scarab
#

You will need a real card in your Google Wallet app.

#

If you are in a test environment, your real card will not be charged

onyx haven
#

So, getting the real card is a must, right?

#

Are there any other steps? Does the Google account require any configuration?

valid scarab
valid scarab
onyx haven
#

I just tested it, and even after binding the real card, it still didn't appear.

valid scarab
#

You are signed in into the Google Account on your Android device too, right?

onyx haven
#

Yes

valid scarab
#

Are you using React Natve?

#

If you don’t mind, could you also share your account id so that I can take a closer look at how your integration works? You can find your account id by logging in to https://dashboard.stripe.com/settings/account . It'll have the prefix acct_

onyx haven
valid scarab
#

can you share with the Stripe doc link to that image please

onyx haven
#

acct_1SQlloAlvNUvoZBQ

#

sanbox

#

Payment Integration Method:PaymentSheet

valid scarab
#

thank you

onyx haven
#

Do I need to configure anything in Google's backend management?

valid scarab
#

I am not sure what Google's backend management means..but we can first check its properly set up on Stripe's side first

#

Sorry, edited the above. The text styling was bad

onyx haven
#

Yes

#

Finished

valid scarab
#

Okay, next, could you check the AndroidManifest.xml file and see if you have added a <meta-data> tag under the <application> tag to enable Google Pay.

In AndroidManifest.xml, it should looks like this

<application>
  ...
  <meta-data
    android:name="com.google.android.gms.wallet.api.enabled"
    android:value="true" />
</application>

The AndroidManifest.xml file is usually located at /app/src/main/AndroidManifest.xml.

onyx haven
#

Completed

valid scarab
onyx haven
valid scarab
#

Thank you. That looks like a screenshot taken from desktop and the payment sheet looks like its open using an Android emulator - can you confirm?

onyx haven
#

This is a screenshot my colleague sent me after testing the actual device; I've copied it for you.

valid scarab
#

i see, okay thanks.

#

please share with me the code snippet for your PaymentSheet.GooglePayConfiguration

icy nymphBOT
#

🧑‍💻 How to format code on Discord

Inline code: wrap in single backticks (`)

This:

The variable `foo` contains the value `bar`.

Will turn into this:

The variable foo contains the value bar.

Code blocks: wrap in three backticks (```)

Also, you can specify the language after the first three backticks to get syntax highlighting.

This:

```javascript
function foo() {
return 'bar';
}
```

Will turn into this:

function foo() {
  return 'bar';
}```

Notes about **code blocks**:
- Specifying the language is optional (e.g., you can omit `javascript` in the example above)
  - If you don't specify the language you won't get syntax highlighting
- When you're inside a code block (after you type \`\`\`) the `Return`/`Enter` key will add a new line instead of sending your message
  - Once you end the code block `Return`/`Enter` works normally again

You can [read more about message formatting on Discord's website.](https://support.discord.com/hc/en-us/articles/210298617)
onyx haven
valid scarab
#

The country code does not look correct

#

acct_1SQlloAlvNUvoZBQ is an SG account

onyx haven
#

Do I need to replace them with sg and sgd?

valid scarab
#

Yes for countryCode, for currencyCode it depends on the currency you want to charge

#

Also, it looks like the currencyCode param is omitted in your screenshot. Is that intentional?

onyx haven
#

What should my merchant name be: BESTPLAY GAMES PTE. LTD. Sandbox?

valid scarab
#

merchant name can be any string you want

onyx haven
#

I'm just confirming that this is correct.

valid scarab
onyx haven
#

Thanks!!!

icy nymphBOT
#

⛔️ Stripe developers have stepped away for a short while

Please leave your questions here, and we’ll respond as soon as we're back! If you need help urgently, you can contact Stripe support for help.