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 AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
jthor26506435  
#1 Posted : Tuesday, November 8, 2022 12:03:49 PM(UTC)
jthor26506435

Rank: Newbie

Groups: Authorized User
Joined: 11/8/2022(UTC)
Posts: 0

I tried mkaing a manual payment but it just hang on processing. When I opend up the console I see that there an error.

Quote:

Uncaught ReferenceError: handleBraintree is not defined
at HTMLFormElement.PreCheckout (<anonymous>:18:25)
at Object.beforeSend (jqueryAjax?v=yWiSJlfkRWGOtjh38MIfwsmv_b3zyMucdfkOPGDhEoA1:1:1069)
at Function.ajax (jquery?v=235DeCRyc2KKtm5-u-WowaGmWHU3ft44y448NxHpMf41:1:79923)
at f (jqueryAjax?v=yWiSJlfkRWGOtjh38MIfwsmv_b3zyMucdfkOPGDhEoA1:1:1644)
at HTMLFormElement.<anonymous> (jqueryAjax?v=yWiSJlfkRWGOtjh38MIfwsmv_b3zyMucdfkOPGDhEoA1:1:2683)
at HTMLDocument.dispatch (jquery?v=235DeCRyc2KKtm5-u-WowaGmWHU3ft44y448NxHpMf41:1:49431)
at y.handle (jquery?v=235DeCRyc2KKtm5-u-WowaGmWHU3ft44y448NxHpMf41:1:47433)


Is this a bug? Is manual payment not working or is there some configuration I am missing. Payment via the checkout process is fine, I can see that the payment has been authorize.

My ablecommerce version

AbleCommerce for ASP.NET
VERSION: 9.0.6.7222
Release Label: 9.0.6
DATABASE: NHibernate.Dialect.MsSql2005Dialect
.NET CLR v4.0.30319.42000
ASP.NET TRUST: Unrestricted


Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

gdelorey2939345  
#2 Posted : Tuesday, November 22, 2022 4:28:31 PM(UTC)
gdelorey2939345

Rank: Member

Groups: Authorized User, Developers, Registered
Joined: 11/2/2021(UTC)
Posts: 13

Hi AC -

Any feedback on this?

Thanks,
Greg
Katie S  
#3 Posted : Tuesday, November 22, 2022 4:41:47 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi,

Can you provide some more information about how to reproduce the issue? Specifically, how you are configuring the manual payment.

Thanks
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
gdelorey2939345  
#4 Posted : Wednesday, December 14, 2022 5:19:23 PM(UTC)
gdelorey2939345

Rank: Member

Groups: Authorized User, Developers, Registered
Joined: 11/2/2021(UTC)
Posts: 13

Hi Katie -

Sorry, wasn't subscribed so I missed the update, here. We have configured Braintree payments which are working. I assume that the manual processing of a credit card via the admin interface (Order > Payments tab > Add Payment) would utilize the payment gateway that is configured for that payment card type, in this case Braintree. Is our expectation correct?

Thanks,
Greg
shaharyar  
#5 Posted : Thursday, December 15, 2022 7:21:43 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Hi,

I am able to reproduce the issue. I am reporting this issue.
Thanks for pointing this out.

As a workaround:

1- Open file: \Website\Areas\Admin\Views\Orders\_ProcessNewPaymentForm.cshtml
2- Search for:
Code:
<script type="text/javascript">

3- Replace with
Code:
<script type="text/javascript" src="@Url.Content("~/Scripts/braintree/braintree_payments.js")"></script>
<script type="text/javascript">

gdelorey2939345  
#6 Posted : Thursday, December 15, 2022 6:16:29 PM(UTC)
gdelorey2939345

Rank: Member

Groups: Authorized User, Developers, Registered
Joined: 11/2/2021(UTC)
Posts: 13

Excellent - that resolved the issue.

Thanks!
Greg
Users browsing this topic
Guest (3)
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.