HotcakesCommerce / hotcakes-commerce-core

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!
https://mmmcommerce.com
MIT License
69 stars 55 forks source link

Fix PayPal CheckOut Error #486

Closed libanlsilva closed 9 months ago

libanlsilva commented 9 months ago

Related to Issue

Fixes # Issues 484

Description

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

Checklist: