AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
(Manual Payment) - Uncaught ReferenceError: handleBraintree is not defined
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
|
|
|
|
Rank: Member
Groups: Authorized User, Developers, Registered Joined: 11/2/2021(UTC) Posts: 13
|
Hi AC -
Any feedback on this?
Thanks, Greg
|
|
|
|
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 |
|
|
|
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
|
|
|
|
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">
|
|
|
|
Rank: Member
Groups: Authorized User, Developers, Registered Joined: 11/2/2021(UTC) Posts: 13
|
Excellent - that resolved the issue.
Thanks! Greg
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
(Manual Payment) - Uncaught ReferenceError: handleBraintree is not defined
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.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close