MyOnlineStore / omnipay-klarna-checkout

Klarna Checkout gateway for Omnipay
MIT License
13 stars 12 forks source link

completeAuthorization #69

Closed danslo closed 3 years ago

danslo commented 4 years ago

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.