-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Payflow Authorization currency missing #7719
Comments
Hi, @H3dz, thanks for reporting. This issue (internal ticket MAGETWO-58376) is already fixed on develop branch and fix will be available in Magento 2.1.4 version. Some notes: the |
Hi @joni-jones it's strange because it only started to work when I updated But I did cherry pick a lot of code from the develop branch to make my current installation work. I'll re-open this issue if the problem persists in 2.1.4. Thanks |
|
i have two websites one is with CAD the other is with USD, since the authorization is always in USD, the USD website works, but the CAD website's authorization is also in CAD, if I hard code it , wouldn't it cause a problem for the US website? |
@mariamghalleb You can refer to my PR at #22399, which would fix the problem with CAD. |
ACP2E-782: Introduce an alternative way to define fixtures using PHP8 Attributes
The currency is missing when doing an Authorization with Payflow.
The currency setting was already missing in other places and was fixed by @kriby in
337c63c
and was merged into the develop branch
152dbdc
but it seems that the Authorization code was forgotten.
Preconditions
Steps to reproduce
Expected result
Actual result
Fix
In app/code/Magento/Paypal/Model/Payflowpro.php in the buildBasicRequest method
Add
$request->setCurrency('CAD'); // Hardcoded to CAD
The text was updated successfully, but these errors were encountered: