shopware / app-php-sdk

Shopware APP SDK Independent of Frameworks
MIT License
12 stars 3 forks source link

PaymentResponse::authorized() not correctly transmitted #9

Closed jankal closed 1 year ago

jankal commented 1 year ago

The payment state authorized apparently does not exist in Shopware core.

Error message:

Illegal transition "authorized" from state "ed6ef84314b14802bd57fcb48b3ad7e8". Possible transitions are: authorize, cancel, do_pay, fail, paid, paid_partially, pay, pay_partially, process_unconfirmed, remind

So I suggest changing the state name in PaymentResponse.php#L47 to authorize which results in the correct state transition.

Showpare Issuetracker: NEXT-26749

shyim commented 1 year ago

Do you mind making a PR to change the name? :)

shyim commented 1 year ago

Is released https://github.com/shopware/app-php-sdk/releases/tag/1.0.4