0

I have recently migrated a site to Magento 2.

There i getting a strange issue with payment method.

I am using Payflow pro on website credit card payment method. Our store default currency is CAD and allowed currency is also CAD but when payment process it showing in USD in paypal manager.

I have tried to add currency directly in function this postRequest in file Magento\Paypal\Model\Payflow\Service\Gateway but no luck.

Any help is highly appreciated.

7
  • Have you solved your issue? – Abbas Sep 18 '18 at 4:50
  • Yes its resolved – Aman Alam Sep 18 '18 at 7:20
  • Can you please share the solution? – Abbas Sep 18 '18 at 7:22
  • Ok solution is bad but it works which currency you are using – Aman Alam Sep 18 '18 at 7:23
  • I am using the Canadian Dollar. – Abbas Sep 18 '18 at 7:27
0

Same problem here.

Never change core files! Magento 2 core are vendors and managed by composer. Any Magento update will override your custom changes.

I fixed this issue using a custom module with a Plugin that will override the Magento\Paypal\Model\Payflowpro::buildBasicRequest method

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.