[Skip to main content](#vessel-content)

#   Authorize.Net Accept.JS - suspecious AVS transations - verify vs pending

##

- **[speck2900](/forum/user/28879-speck2900 "View speck2900's Profile")**
- [![speck2900's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28879-speck2900 "View speck2900's Profile")
- [ Offline](/forum/user/28879-speck2900)

Less More

- Posts: 21
- Thank you received: 1
-
-

4 years 5 days ago [\#346668](#346668) by [speck2900](/forum/user/28879-speck2900 "View speck2900's Profile")  Replied by *[speck2900](/forum/user/28879-speck2900 "View speck2900's Profile")* on topic *[Authorize.Net Accept.JS - suspecious AVS transations - verify vs pending](/forum/29-payment-methods/904805-authorize-net-accept-js-suspecious-avs-transations-verify-vs-pending?start=20#346668 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 7.4.30 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : None  In the old Authorize.net plugin, if the AVS threshold was reached in Authorize.Net's merchant control panel, the order in HikaShop was sent to pending. This was with Instant Capture turned on. This allowed the store owner time to review and release or cancel as needed.  However with Accept.JS, it is set to verified regardless of when instant capture is on.  The store owner has asked if that same behavior could be in Accept.JS, per the store owner's request.  May be it has to do with how Accept.JS handles the status code returned by Authorize.net?  I've updated the to 1.0.4 (was on 1.0.2), so not sure if this was addressed in that update since I cannot find a changelog for the plugin.")*

The beta plug in is installed with website set to php 8.0 and so far its working. Will update if I have any issues.

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4MDUtYXV0aG9yaXplLW5ldC1hY2NlcHQtanMtc3VzcGVjaW91cy1hdnMtdHJhbnNhdGlvbnMtdmVyaWZ5LXZzLXBlbmRpbmc/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MonkeyT12](/forum/user/69401-monkeyt12 "View MonkeyT12's Profile")**
- [![MonkeyT12's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/69401-monkeyt12 "View MonkeyT12's Profile")
- [ Offline](/forum/user/69401-monkeyt12)

Less More

- Posts: 12
- Thank you received: 1
-
-

4 years 3 days ago [\#346702](#346702) by [MonkeyT12](/forum/user/69401-monkeyt12 "View MonkeyT12's Profile")  Replied by *[MonkeyT12](/forum/user/69401-monkeyt12 "View MonkeyT12's Profile")* on topic *[Authorize.Net Accept.JS - suspecious AVS transations - verify vs pending](/forum/29-payment-methods/904805-authorize-net-accept-js-suspecious-avs-transations-verify-vs-pending?start=20#346702 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 7.4.30 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : None  In the old Authorize.net plugin, if the AVS threshold was reached in Authorize.Net's merchant control panel, the order in HikaShop was sent to pending. This was with Instant Capture turned on. This allowed the store owner time to review and release or cancel as needed.  However with Accept.JS, it is set to verified regardless of when instant capture is on.  The store owner has asked if that same behavior could be in Accept.JS, per the store owner's request.  May be it has to do with how Accept.JS handles the status code returned by Authorize.net?  I've updated the to 1.0.4 (was on 1.0.2), so not sure if this was addressed in that update since I cannot find a changelog for the plugin.")*

Well, I've gone back to the originally downloaded **AuthorizeJS** plugin, patched the various deprecation errors and am communicating with Authorize.net sandbox, but still can't complete a transaction. I am examining the XML data that is serialized and sent to the sandbox (the **$xmlRequest** variable in the execute method of the **ApiOperationBase** object) and am having issues with the serializer failing to limit the number of decimal places being sent as the Amount. When it serializes the XML document, the value for **amount** includes more than 50 decimals places, whereas **the Authorize.net API can only accept a value with 15 digits**.  **The error in the result object is "A valid amount is required."** and sending the produced XML values to the sandbox's test interface manually processes correctly if I alter that **amount** value to include only 3 decimal places. I have included a **number\_format** command in the **processPaymentWithToken** method of **authorizejs.php**, which ensures that the value being placed into the **transaction request object**'s **setAmount** method has no more than 3 decimal places, but viewing the XML of the serialized XML request shows the long numerical string is still being produced.

From what info I can find on JSM Serializer, there is a way to ensure a numerical number is produced instead of the CDATA string value currently being produced, but I can't find how to do it in any forums, and documentation is almost nonexistent. (all the values in the plugin's serialized XML appear to be produced as CDATA text.)

Is there a way to limit the numeric values In the serialized XML to 2 decimals?

Again, I'll ask - can I get ahold of the beta plugin, seeing as the AuthorizeJS plugin I purchased seems to have issues?

(I have reverted this site to PHP 8.0, since the JMS Serializer GitHub discussions mentions issues with PHP 8.1 in several different places. I have also updated the HikaShop installation to 4.7)

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4MDUtYXV0aG9yaXplLW5ldC1hY2NlcHQtanMtc3VzcGVjaW91cy1hdnMtdHJhbnNhdGlvbnMtdmVyaWZ5LXZzLXBlbmRpbmc/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

4 years 2 days ago [\#346708](#346708) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Authorize.Net Accept.JS - suspecious AVS transations - verify vs pending](/forum/29-payment-methods/904805-authorize-net-accept-js-suspecious-avs-transations-verify-vs-pending?start=20#346708 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 7.4.30 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : None  In the old Authorize.net plugin, if the AVS threshold was reached in Authorize.Net's merchant control panel, the order in HikaShop was sent to pending. This was with Instant Capture turned on. This allowed the store owner time to review and release or cancel as needed.  However with Accept.JS, it is set to verified regardless of when instant capture is on.  The store owner has asked if that same behavior could be in Accept.JS, per the store owner's request.  May be it has to do with how Accept.JS handles the status code returned by Authorize.net?  I've updated the to 1.0.4 (was on 1.0.2), so not sure if this was addressed in that update since I cannot find a changelog for the plugin.")*

Hello MonkeyT12,

I can see that you made a lot of tests for the plugin.
And we are sending beta versions of the plugin to customers who're asking us via the "contact us" form.
As I explained 2 weeks ago in that message : [ www.hikashop.com/forum/payment-methods/9....html?start=0#346163](https://www.hikashop.com/forum/payment-methods/904805-authorize-net-accept-js-suspecious-avs-transations-verify-vs-pending.html?start=0#346163)

Since we got positive feedbacks, I do think that I would publish the plugin as "stable" in our website before the end of the month.
Feel free to contact us in order to test that version and send us your feedback too.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4MDUtYXV0aG9yaXplLW5ldC1hY2NlcHQtanMtc3VzcGVjaW91cy1hdnMtdHJhbnNhdGlvbnMtdmVyaWZ5LXZzLXBlbmRpbmc/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MonkeyT12](/forum/user/69401-monkeyt12 "View MonkeyT12's Profile")**
- [![MonkeyT12's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/69401-monkeyt12 "View MonkeyT12's Profile")
- [ Offline](/forum/user/69401-monkeyt12)

Less More

- Posts: 12
- Thank you received: 1
-
-

4 years 2 days ago [\#346726](#346726) by [MonkeyT12](/forum/user/69401-monkeyt12 "View MonkeyT12's Profile")  Replied by *[MonkeyT12](/forum/user/69401-monkeyt12 "View MonkeyT12's Profile")* on topic *[Authorize.Net Accept.JS - suspecious AVS transations - verify vs pending](/forum/29-payment-methods/904805-authorize-net-accept-js-suspecious-avs-transations-verify-vs-pending?start=20#346726 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 7.4.30 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : None  In the old Authorize.net plugin, if the AVS threshold was reached in Authorize.Net's merchant control panel, the order in HikaShop was sent to pending. This was with Instant Capture turned on. This allowed the store owner time to review and release or cancel as needed.  However with Accept.JS, it is set to verified regardless of when instant capture is on.  The store owner has asked if that same behavior could be in Accept.JS, per the store owner's request.  May be it has to do with how Accept.JS handles the status code returned by Authorize.net?  I've updated the to 1.0.4 (was on 1.0.2), so not sure if this was addressed in that update since I cannot find a changelog for the plugin.")*

Thank You.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ4MDUtYXV0aG9yaXplLW5ldC1hY2NlcHQtanMtc3VzcGVjaW91cy1hdnMtdHJhbnNhdGlvbnMtdmVyaWZ5LXZzLXBlbmRpbmc/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
