logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to forums.ablecommerce.com. Please use your AbleCommerce username and password to Login. Forums Registration.

Notification

Icon
Error

Options
Go to last post Go to first unread
jdepoy24549696  
#1 Posted : Tuesday, July 7, 2020 6:02:27 PM(UTC)
jdepoy24549696

Rank: Member

Groups: Authorized User, Developers, Registered
Joined: 4/17/2019(UTC)
Posts: 29

After returning from PayPal site to AC, the _PaymentWidget.cshtml file throws an error because the paymentAmount parameter is missing on line 102.

I didn't see a way to get the amount from the Basket so I changed the line to:
@Html.Action("_PayPalExpressPaymentForm", "PayPalExpress", new { orderId = Model.OrderId, basketId = Model.BasketId, paymentAmount = 0, paymentMethodId = Model.PaymentMethodId })

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. Forums Registration.

Naveed Ashraf  
#2 Posted : Wednesday, July 8, 2020 7:13:18 AM(UTC)
Naveed Ashraf

Rank: Advanced Member

Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User
Joined: 7/31/2019(UTC)
Posts: 62

Was thanked: 4 time(s) in 4 post(s)
Thanks for reporting the issue.
Thanks for your support!
Naveed Ashraf
Ablecommerce.com
Developer Assistance Available
Users browsing this topic
Similar Topics
PayPal Express Error (AbleCommerce 9 Bug Reports)
by rlopez397954 8/11/2020 10:34:35 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.