Page MenuHomePhabricator

Ingenico Connect hosted checkouts - using broken URL?
Closed, ResolvedPublic1 Estimated Story Points

Description

This is from our new tech contact at Ingenico:

it looks like your system was trying to access the Connect HostedCheckout page without the HostedCheckout ID. For instance, every time yours system submits a new CreateHostedCheckout API, you will get a unique redirect URL which looks similar to

'https://payment.pay2.secured-by-ingenico.com/checkout/6570-946cbfe58771406d8b915d26b0fd2ecb:f3d310bc-f3d7-424f-bcd9-a807f83ce856:a052f54caa3d4f8980837a6fd4335996'

but it looks like sometimes your system will just put 'https://payment.pay2.secured-by-ingenico.com/checkout' in the iframe which had triggered a lot of the errors that we are seeing. Can you ask your development team to double check on this?

Let's start with a bunch of logging at least.

Event Timeline

Change 476984 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[mediawiki/extensions/DonationInterface@master] Log an error on too-short Ingenico iframe url

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

Change 476984 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@master] Log an error on too-short Ingenico iframe url

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

I see a patch merged @Ejegg. Is this pending deployment?

@mepps one patch to add logging is deployed, but we could add logging in a couple other places to catch other sorts of failures.

new DoD: someone adds some extra logging and maybe investigates this for a half day.

See email Re: Changes in Platform for Wikimedia Ref : ref:_00D57ri6p._5001i1yk5m:ref

Change 489700 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[mediawiki/extensions/DonationInterface@master] Front-end logging for Ingenico url too short

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

Change 489700 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@master] Front-end logging for Ingenico url too short

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

Change 494397 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[mediawiki/extensions/DonationInterface@deployment] Front-end logging for Ingenico url too short

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

Change 494397 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@deployment] Front-end logging for Ingenico url too short

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

Ejegg claimed this task.

More logging added, but we haven't actually fixed the problem. Should keep looking at the error logs.

Ejegg set the point value for this task to 1.Oct 28 2019, 4:01 PM