shopware5 / SwagPaymentPaypal

A PayPal integration for shopware
http://shopware.com
MIT License
5 stars 16 forks source link

Fix for Error 500 after successful PayPal-Payment #2

Closed oktupol closed 7 years ago

oktupol commented 8 years ago

I experienced, as described by another person in this thread on forum.shopware.com and issue SW-13531, the problem, that after the successful payment, the user gets redirected back to the PaymentPaypal-Controller and receives an error 500.

I wasn't able to pinpoint the exact location where this error was created, however, it must have something to do with Line 319 of the PaymentPaypal-Controller, because any log-statement before this line were executed, but none within the redirect-function of Enlight_Controller_Action.

By switching out the redirect-calls with equivalent calls of the forward-function, I was able to eliminate the error, which is why I opened this pull request.

shopwareBot commented 7 years ago

Hello,

thank you for creating this pull request. I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/PT-7218.

Please use this issue to track the state of your pull request.

mitelg commented 7 years ago

hey @oktupol we will close this PR for now. as @hlohaus mentioned this is not the behaviour we want to have. If you have still problems with this issue feel free to open an issue here: http://issues.shopware.com/