Calling Developers!
We are reenergizing our code contribution process! Learn More

Payone Credit card workflow with pre-authorization runs twice (?)

ingo.kaiser Spryker Solution Partner Posts: 5 🧑🏻‍🚀 - Cadet
edited August 2023 in Spryker Development


we are currently integrating PayOne as PSP with direct debit and credit card at the moment.

We followed the current documentation, where a PayoneCheckoutPostSavePlugin should be registered.

Its responsible for doing the authorization/ pre-authorization for credit card for example.

Also the OMS flow for credit card includes a Payone/PreAuthorize command plugin, which is doing exactly the same pre-authorize call.

And thats the problem. Doing it twice won't work for the second time and the checkout will end up in a fail whale. Payone says "reference already used" or so for the second call.

I think this is an error and pre-authorize should be excluded at least for any payment method that itself contains a pre-authorization, but i also can hardly imagine that this wasn't discovered before.

Unfortunately it seems, the integration docs are really outdated here or have massive typos.

Does somebody successfully integrated payone last time or know what i do miss?

Best regards

Best Answer


  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,034 ⚖️ - Guardians (admin)
    edited August 2023

    Heyhey @ingo.kaiser ,

    I hope somebody else can add their additional experience here.

    What you describing does sound strange to me as well. I suggest you create a bug-ticket via the support portal so the dedicated team can have a look and provide feedback and/or a fix.

    All the best,


  • ingo.kaiser
    ingo.kaiser Spryker Solution Partner Posts: 5 🧑🏻‍🚀 - Cadet

    Hi @fsmeier ,

    yes, i also created a support ticket before, but wanted to max out my possibilities^^sometimes somebody faced the same situation or can give a crucial hint. :)

    Best regards

  • ingo.kaiser
    ingo.kaiser Spryker Solution Partner Posts: 5 🧑🏻‍🚀 - Cadet

    Thanks a lot for digging deep into that topic quickly. I applied the fix already