Closed rootpd closed 4 years ago
Sure, I will look into it a.s.a.p.
Thanks. In the meantime I'm trying to figure out why it's even there. Doesn't really make sense for offline (recurring) payments. https://github.com/csob/paymentgateway/issues/471
Please try again with 545eb8ab236ff3d9d10b35cf57e6e01c4086b11c, will it work? I added the clientIp parameter in oneclick/init method and also removed description and added merchantData parameters (which were also removed/added in API 1.8). Also I added paymentOneClickEcho method for calling oneclick/echo, which has somehow eluded me.
Looks good, payment got through correctly on the sandbox gateway. Seems that clientIp
is just for logging purposes as 127.0.0.1
went through just fine.
Thanks. Can you test it in production environment in near future so that we can be sure it really works OK? I'd tag it with new version then.
Deployed to production, it's working.
Thanks, closing.
Hi,
during testing of v1.8 we've found an issue when attempting to charge oneClick payment. The bank API responds with following body:
As this wasn't an issue before, we've checked why is this happening.
clientIp
parameter is mandatory. It's a bit counter-intuitive as you might do an offline charge, but seems like they don't care and require some IP address.Currently I don't see a way how to tell the library to include
clientIp
to the payload ofoneClickInit
request. Will you be able to look at it?Thanks!