The core of the e-commerce part of the overall solution. This is an ecommerce shopping cart solution built on top of the DNN (DotNetNuke) CMS. Anyone can do commerce online now!
The formatAmountmethod was applied to the amounts within the doDirectCheckout, CaptureAuthorizedOrder, and CapturesRefundmethods in RestPaypalApi service to adjust the currency format according to PayPal API requirements.
How Has This Been Tested?
The HCC module was installed with the changes made, providing a clean DNN solution. The PayPal payment method was set up, and multiple tests were conducted to ensure that everything worked correctly.
Screenshots (if appropriate):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Related to Issue
Fixes # Issues 484
Description
The
formatAmount
method was applied to the amounts within thedoDirectCheckout
,CaptureAuthorizedOrder
, andCapturesRefund
methods inRestPaypalApi
service to adjust the currency format according to PayPal API requirements.How Has This Been Tested?
The HCC module was installed with the changes made, providing a clean DNN solution. The PayPal payment method was set up, and multiple tests were conducted to ensure that everything worked correctly.
Screenshots (if appropriate):
Types of changes
Checklist: