-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[payum] payum does not store details after user is returned from payment #1607
[payum] payum does not store details after user is returned from payment #1607
Conversation
$details['PAYMENTREQUEST_0_NOTIFYURL'] = $this->tokenFactory->createNotifyToken( | ||
$request->getToken()->getPaymentName(), | ||
$payment | ||
)->getTargetUrl(); | ||
$details['PAYMENTREQUEST_0_INVNUM'] = $order->getNumber().'-'.$payment->getId(); | ||
$details['PAYMENTREQUEST_0_CURRENCYCODE'] = $order->getCurrency(); | ||
$details['PAYMENTREQUEST_0_CURRENCYCODE'] = 'USD'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uhm?
Actually it should be $payment->getCurrenty()
as we rely on payment and not order anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
argh, my bad, I put it for debug purpose here to avoid multi-currency issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in dbf8b76
…ls-after-returning-back [payum] payum does not store details after user is returned from payment
Let's give it a try, thanks |
All good! |
Thanks! 👍 |
fixes #1602 and probably #1605
/cc @winzou