- 🇬🇧United Kingdom mwjansen Bristol
Country needs to be set on the Elavon developer website (https://developer.elavon.com) to 'United Kingdom' first.
Then 'API Docs' > 'Partner APIs' > 'Online Payments on Opayo'.Opayo 'Form', 'Server', 'Shared' and 'Direct' are under 'Legacy APIs'
- 🇬🇧United Kingdom mwjansen Bristol
There is a lot of 'new' stuff in the module I'm working on:
* Javascript to try to transparently deal with expiration of merchant session keys.
* Opayo want 'cardholder' field for tokenisation but additionally 'first name' and 'last name' for the strong customer authentication.
I've ended up adjusting the form fields to present this to the user in a hopefully reasonably intuitive way.
* Extra step to the checkout flow for 3D Secure authentication with associated custom CheckoutFlow plugin class and resolver
* New checkout pane to hold the iframe for 3DS
* Javascript to go along with 3DS.
* New entity to capture Opayo transaction info
* Trying to put in a lot of loggingWouldn't know where to start if I had to back-port all of that to the existing module.
Happy to share my source if somebody else wants to tackle that. - 🇬🇧United Kingdom c_archer Cumbria
Happy to have a look if you could share you code, how far along have you got?
- 🇬🇧United Kingdom mwjansen Bristol
I've got transactions working end-to-end for 'own form' Opayo pi method, including if there's a 3D secure step, on the test environment.
Lots left to do: refunds, reporting, testing all error cases and general tidying up. I'm guessing another 2-3 weeks.
Not doing repeat transactions because we don't need them at the moment.
There's a copy here: https://www.ihbristol.com/sites/default/files/commerce_opayo_pi.zip, but it's very much *not* production ready. - 🇬🇧United Kingdom c_archer Cumbria
Thanks had a look over the module and managed to get it working locally. Great work on putting this together, I agree this is different enough a new project would be easier. If you could set this up, I'd be happy to continue testing and work on resolving the remaining bug in the new issue queue.
- 🇬🇧United Kingdom mwjansen Bristol
@c_archer
Sent you a message about the new project (commerce_opayo_pi) →