Im am a developer and i am having issues getting google pay to work on my account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been following the example on https://developer.paypal.com/docs/checkout/apm/google-pay/
Im most of the way there but struggling to get the Google pay config from the paypal object.
async function getGooglePaymentDataRequest() {
const googlePayConfig = await paypal.Googlepay().config();
const paymentDataRequest = Object.assign({}, baseRequest); paymentDataRequest.allowedPaymentMethods = googlePayConfig.allowedPaymentMethods; paymentDataRequest.transactionInfo = getGoogleTransactionInfo();
paymentDataRequest.merchantInfo = googlePayConfig.merchantInfo; paymentDataRequest.callbackIntents = ["PAYMENT_AUTHORIZATION"];
I think the issue is that google pay is not enabled in the account and when i go
- Log in to your PayPal Business account.
- Go to the "Settings" section.
- Under "Payment preferences" or "Payment settings," find the option for "Google Pay" or "Google Payment Methods."
- Enable Google Pay or add it as a payment method if it's not already enabled.
- Follow any additional instructions provided by PayPal to complete the setup process.
There is no option to enable it in Step 4. I just get
Payment preferences Managing Risk and FraudActivate tools to reduce your risk of fraud losses.Edit
Block paymentsLimit payments, add instructions and more.Update
VATSet up sales taxes for multiple regions.Update Account Updater
Automatically refresh outdated customer card details for uninterrupted payments.
Turn on Save PayPal and Venmo payment methodsSave customer PayPal and Venmo payment methods for future transactions.
These are the only options i can see.
this is the console output of paypal in the developer tools console
paypal.
- FUNDING:
- APPLEPAY: "applepay"
- BANCONTACT: "bancontact"
- BLIK: "blik"
- BOLETO: "boleto"
- BOLETOBANCARIO: "boletobancario"
- CARD: "card"
- CREDIT: "credit"
- EPS: "eps"
- GIROPAY: "giropay"
- IDEAL: "ideal"
- ITAU: "itau"
- MAXIMA: "maxima"
- MERCADOPAGO: "mercadopago"
- MULTIBANCO: "multibanco"
- MYBANK: "mybank"
- OXXO: "oxxo"
- P24: "p24"
- PAIDY: "paidy"
- PAYLATER: "paylater"
- PAYPAL: "paypal"
- PAYU: "payu"
- SATISPAY: "satispay"
- SEPA: "sepa"
- SOFORT: "sofort"
- TRUSTLY: "trustly"
- VENMO: "venmo"
- WECHATPAY: "wechatpay"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @TimmyGolding
Thank you for posting to the PayPal community.
I kindly request you to create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US .Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I cannot disable the eCheck payment method. in PayPal Payments Standard
- I need help with Sandbox Testing for my website in PayPal Payments Standard
- Visa card removal from an closed account in PayPal Reporting
- Need help to integrate PayPal Standard Checkout with Adyen? in PayPal Upgrade Community
- Something doesn't look right. Your payment to this merchant can't be completed using PayPal. in Sandbox Environment