MyOnlineStore / omnipay-klarna-checkout

Klarna Checkout gateway for Omnipay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

completeAuthorization

danslo opened this issue · comments

Hello maintainer(s),

Most PSPs that implement Omnipay that I've seen so far support authorize -> completeAuthorize -> capture logic.

I noticed that Klarna calls this "acknowledge" instead. Would there be any chance that you would accept a PR that adds completeAuthorize to the gateway, that just calls acknowledge internally? They serve the same purpose (confirming the authorization), but then this module would return true (and behave normally) when calling $gateway->supportsCompleteAuthorize.

This way I don't have to add special logic for Klarna, in a project that uses multiple different Omnipay methods.