VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: baxterdown on October 02, 2019, 12:45:06 PM

Title: Won't get past Payment Method after 3.6.2 Upgrade. Help Please.
Post by: baxterdown on October 02, 2019, 12:45:06 PM
I updated VM to 3.6.2 last week and now the store is stuck on Payment Method. I cannot get past entering credit card information. Here's how to replicate the issue:

- Go to https://www.blaaia.com/membership/new-memberships
- Add Test Product to the cart
- Select credit card for form of payment (the system attempts to do something because a spinning wheel comes up)
- Add credit card information
- Click Terms of Service
- Credit card information gets wiped out
- Add credit card information again
- Click Confirm Purchase
- Screen changes to new screen asking for credit card information again
- Select credit card for form of payment (now the system selects the option correctly)
- Add credit card information (now for the third time)
- Click Save
- Screen goes back to cart. Credit card information is saved on the screen but empty credit card fields are still displaying
- Cart doesn't go past this point

The store places the credit card information into the cart but leaves the empty credit card fields still visible and will not get past that point. See attached screenshot for what it looks like.

Thank you in advance for your assistance
Title: Re: Won't get past Payment Method after 3.6.2 Upgrade. Help Please.
Post by: GJC Web Design on October 02, 2019, 13:35:10 PM
You don't say what payment method??

Perhaps follow this tread

http://forum.virtuemart.net/index.php?topic=143482.0
Title: Re: Won't get past Payment Method after 3.6.2 Upgrade. Help Please.
Post by: baxterdown on October 02, 2019, 13:48:44 PM
Apologies. It's credit card using Authorize.net.

I followed the thread and read that authorize.net is broken in 3.6.1 and 3.6.2. It looks like someone posted a fix but I'm not sure how to implement it.
Title: Re: Won't get past Payment Method after 3.6.2 Upgrade. Help Please.
Post by: inthysite on November 08, 2019, 21:41:40 PM
The fix posted in the thread http://forum.virtuemart.net/index.php?topic=143482.0 fixes an issue where you get the following error:
PHP Warning:  A non-numeric value encountered in /public_html/administrator/components/com_virtuemart/helpers/creditcard.php on line 133

I applied the fix they suggested (edited the creditcard.php file) and it does get rid of the PHP Warning, but I still cannot make a purchase.  The same issue that baxterdown reports still happens, so I believe this to be 2 separate issues.

Title: Re: Won't get past Payment Method after 3.6.2 Upgrade. Help Please.
Post by: inthysite on November 08, 2019, 21:50:43 PM
Found the answer here - https://forum.virtuemart.net/index.php?topic=143564.0

Basically you need to edit:

/plugins/vmpayment/authorizenet/authorizenet.php

Scroll to line 1043, change return 0 to  $return[0];