Page MenuHomePhabricator

Gpay errors
Closed, ResolvedPublic

Assigned To
None
Authored By
EMartin
Jul 19 2022, 4:53 PM
Referenced Files
F35402129: image.png
Aug 5 2022, 9:07 PM
F35402127: image.png
Aug 5 2022, 9:07 PM
F35402122: image.png
Aug 5 2022, 9:07 PM
F35402120: image.png
Aug 5 2022, 9:07 PM
F35402118: image.png
Aug 5 2022, 9:07 PM
F35393139: image.png
Aug 3 2022, 10:03 PM

Description

FrTech, the creative team ran into issues with Gpay as follows. Can we get some help with these?:

  1. For Spain, after clicking the Donate with GPay button on payments I get the message "This merchant is not enabled for Google Pay."

[Response From Adyen] When you get the error "This merchant is not enabled for Google Pay" the reasons may be many.
I would recommend to check the steps illustrated here. In particular, make sure that the step to deploy to production from GooglePay documentation is completed all the way including providing the screenshot of your checkout process to Google. Additionally, ensure you’ve added your shop domain to the GooglePay API console.
Furthermore, if you're using the Drop-In integration please check the following:

In your paywithgoogle.configuration object, ensure that you are using your Company or Merchant Account Code as the value for the gatewayMerchantId.
In the same object, if you are using a Drop-in or Components version later than V3.13.0, API version 64 or higher, and you specify the merchantName, you also need to specify the merchantId and gatewayMerchantId.

It looks like you are using v67, if true at the same time, would you please send a screenshot of the "Google Business Console" where the Merchant ID can be found in order to confirm.

  1. For Israel after trying to donate I got this error page with error reference 121611583.1. I'm not sure if this went through, the transaction popped up in the Google Pay app on my phone, but I don't see it in Civi and didn't receive a TY email

[Evelyn] I see your/this transaction in the Adyen console so it made it there. I am asking why you got the error message that being the case. I think we need to look internally to understand why no TY page was triggered.

  1. For the UK (just checking to see that still worked) I get the post-payments monthly convert modal after making a donation. Should this happen for Google Pay? I tried clicking "Yes" to add a monthly donation and it appeared to work, but I don't think it's actually gone through and I haven't had the extra TY email

[Evelyn] This was refused and didn't go through.

Event Timeline

Change 814900 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Check method to decide whether to show MC modal

https://gerrit.wikimedia.org/r/814900

Change 814900 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Check method to decide whether to show MC modal

https://gerrit.wikimedia.org/r/814900

Post-payment MC should now not show up for GPay in UK. Sorry about that! Still troubleshooting Spain disablement with Adyen on email and have not yet looked in to the IL failure.

@Ejegg Hi Elliott, Adyen is asking if we are filtering by markets. Can we respond? From Adyen: Everything from Adyen's side looks to be correct. The only factor here is when changing the country code to ES, the following error is displayed.
DEVELOPER_ERROR in loadPaymentData: You have not registered to use this API. Double check your Android app or web domain registration.
Are you limiting the countries you accept GooglePay in a regex or perhaps within Google business manager? Also contacting Google to double check the domain registration - even though it looks to be the same - isn't the issue on their side.

Associated thread: Gpay rollout errors

Re: Spain - I need to follow up with the Google Pay team at Google, it looks like.

Hi, just popping in to update on what countries have live banners right now incase it helps with prioritization.
Spain is no longer live (Bundle #1 ended today).
Countries live right now until August 30th: DK, IL, NO, PT, MY.

Can we enable Gpay in these markets while we continue to unblock Spain?

@EMartin I just sent an email to Google Pay support. I'll post some test links for those other countries here.

@HNordeenWMF Hi Haley, I ran a quick test on these links above. They look good. I'll ping you in Asana to see if we can get these in the banners. They look good!!

thanks @EMartin !
So you did not run into the same issue that Peter did for Israel?

@HNordeenWMF No, this was corrected by FRTech. The remaining issue surrounds Spain and FRTech is working with Google now to sort that one out.

@fr-tech. I processed a Gpay transaction yesterday and it didn't settle yet.

image.png (135×918 px, 19 KB)
. Others have but this one didn't (thinking back to the launch of Apple Pay where we had settlement issues so gun shy). Why might that be?
Also, the Banner team just gave me international links for Gpay and I am getting the following error across the board: Ocorreu um erro no processamento do seu pedido. Contacte os serviços de donativos em donate@wikimedia.org, por favor. Error reference: 126797657.2. Why are no markets working when the prior links (above) did? The transactions are not making it to the Adyen console so these appear to be up front rejects. Could "Peter Coombe" reference have any bearing on the matter? @Pcoombe

Banner link from Creative: https://no.wikipedia.org/wiki/Wikipedia?banner=pcoombe_mlWW_dsk_p1_lg_gpay&country=NO
https://pt.wikipedia.org/w/index.php?title=Wikip%C3%A9dia&banner=pcoombe_mlWW_dsk_p1_lg_gpayVector2022&country=PT

https://en.wikipedia.org/wiki/Wikipedia?banner=pcoombe_mlWW_dsk_p1_lg_gpay&country=MY
https://he.wikipedia.org/w/index.php?title=%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94&banner=pcoombe_mlWW_dsk_p1_lg_gpayVector2022&country=IL
https://da.wikipedia.org/wiki/Wikipedia?banner=pcoombe_mlWW_dsk_p1_lg_gpay&country=DK

@EMartin 126797657.2 was caught in the velocity filter.

The one you refer to as not settled is not even captured - we can look into that tomorrow

OK, the auth-but-not-captured one is also velocity filter

From Adyen:
I had a look at the different between the en-US and en-ES configuration and what stood out was the difference n the paymentMethodsResponse which is null on the en-ES site. I was able to resolve the 'This merchant is not enabled for Google Pay’ error by passing in the paymentMethodsResponse from the en-US site in the en-ES site.

To reproduce:

• visit US page (probably easiest on Safari)
• Inspect element >> On sources tab select index.php on left side
• open ES page in a different tab
• Inspect element >> On sources tab select index.php on left side
• create local override on response data and copy over the paymentMethodsResponse object from US to ES page
• refresh ES page and see Google Pay working

Successful GPay test transactions by market.
MYR -

image.png (106×993 px, 20 KB)

PT -
image.png (156×934 px, 20 KB)

NOK -
image.png (89×865 px, 17 KB)

DKK -
image.png (239×1 px, 34 KB)

ILS -
image.png (70×936 px, 19 KB)

Change 821350 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/SmashPig@master] Params for Adyen paymentMethods test script

https://gerrit.wikimedia.org/r/821350

Oh dang, we should have been able to do that debugging... So it seems to be giving the same empty paymentMethodsResponse for es-ES as well, not just the funky en-ES language code. We are passing through the raw JSON response from the Adyen API call, as far as I can tell. I'll do some more isolated calls to their payment method lookup API and see if I can figure out what the problem is.

Change 822461 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/SmashPig@master] Add Spain to NationalCurrencies list

https://gerrit.wikimedia.org/r/822461

Testing the payment method lookup in isolation gives normal-looking results for country=ES and currency=EUR, including the Google Pay option. I get those results no matter what language code I send.

Looks like the error is with an incomplete country list that we had been using for parameter validation. It's an embarrassing error but an easy fix.

Change 822462 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Log errors with payment method lookup

https://gerrit.wikimedia.org/r/822462

Change 822462 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Log errors with payment method lookup

https://gerrit.wikimedia.org/r/822462

Change 822461 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Add Spain to NationalCurrencies list

https://gerrit.wikimedia.org/r/822461

greg triaged this task as High priority.Aug 12 2022, 8:39 PM
XenoRyet set Final Story Points to 2.

Change 821350 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Params for Adyen paymentMethods test script

https://gerrit.wikimedia.org/r/821350