Author Topic: checkout select payment method loop [solved]  (Read 7325 times)

nickm321

  • Beginner
  • *
  • Posts: 8
checkout select payment method loop [solved]
« on: January 16, 2014, 17:19:17 pm »
Hi. My cart keeps looping on checkout. I click the Checkout button, it goes to the Select payment method screen, where Paypal, the only option, is already selected. I click Save, and it goes back to the cart screen.

http://scubascenetaunton.com/shop/cart

Joomla 2.5.15
Virtuemart 2.0.26d
Standard Paypal payment method.

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2045
    • alatak.net
Re: checkout select payment method loop
« Reply #1 on: January 17, 2014, 11:33:39 am »
HEllo
There was some changes in the cart layout. PLease look here
http://forum.virtuemart.net/index.php?topic=120943.0
You can also turn off the OPC in the Vm config, and it will work.

flynny

  • Beginner
  • *
  • Posts: 4
Re: checkout select payment method loop
« Reply #2 on: January 23, 2014, 04:45:07 am »
Thanks you.
I had the same issue. Turned the One Page Checkout option off as Alatak suggested and it works fine.

kmeyer

  • Beginner
  • *
  • Posts: 31
Re: checkout select payment method loop
« Reply #3 on: January 20, 2015, 21:04:35 pm »
Using Joomla 3.3.6, VM 3.02, site is test.kurtmeyer.com
I'm encountering the same loop, turning OPC off makes no difference. Thanks for any suggestions.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: checkout select payment method loop
« Reply #4 on: January 23, 2015, 18:19:28 pm »
Please be aware that the thread is a year old, which vm and joomla version you are using?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kmeyer

  • Beginner
  • *
  • Posts: 31
Re: checkout select payment method loop
« Reply #5 on: January 23, 2015, 22:52:47 pm »
I can open a new thread if you prefer. Here are my details:

I am using Joomla 3.3.6, VM 3.0.2, site is test.kurtmeyer.com. You can use the Products/Ornaments And Magnets/Friendship Stars menu to add an item, and you can use the test account "buyer", pwd="buyer" when trying the checkout.


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: checkout select payment method loop
« Reply #6 on: January 26, 2015, 14:41:40 pm »
Is not a problem to reuse it, but yes important to know your used version.

"Notice

Please accept the Terms of Service at the bottom of this page to proceed"

your layout override is broken, just remove it and use the original one.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kmeyer

  • Beginner
  • *
  • Posts: 31
Re: checkout select payment method loop
« Reply #7 on: January 26, 2015, 23:24:24 pm »
Milbo, thanks for your response.  I don't believe I have any layout overrides in place. To make sure, I renamed my language override files and I switched my template to a fresh copy of Purity III. I had modified one vm file (plugins\search\virtuemart\virtuemart.php) per another thread to correct a problem with search. To make sure I hadn't changed any other files, I have renamed com_virtuemart and com_virtuemart_allinone and then copied those folders from a fresh install. The problem persists, and I don't know where to look to find what is causing this. You can see the re-created site with the re-set template, no language overrides, and fresh virtuemart paths at test2.kurtmeyer.com.

By the way, I don't think the problem is coming from Purity III, I tried a quick test with a fresh install including Purity III and a single product, and did not see the loop. Extensions I am using are Akeeba and JCE, I've run some directory comparisons between my site and a fresh install to make sure I'm not overlooking something.  Am I missing something obvious?

By the way, I had upgraded VM from 2.9.9d (or maybe e) to 3.0.2, in case that might be an issue.

I will PM you the credentials in case you can take the time to look at the backend. Thank you for your time and help!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: checkout select payment method loop
« Reply #8 on: January 28, 2015, 13:16:43 pm »
Sorry got neither ticket, nor pm. I just noticed last test, that clicking the tos does not automatically set it to confirmed. you have at the top the message taht you should click the tos.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kmeyer

  • Beginner
  • *
  • Posts: 31
Re: checkout select payment method loop
« Reply #9 on: January 30, 2015, 19:24:02 pm »
After many experiments, testing, re-configuration, bashing of head against wall, etc., I found the problem, which I think is bizarre.

When I copied my API Signature credentials from PayPal's sandbox account screen (paypal.com/developer>Dashboard>Accounts, expand the sandbox merchant account, click Profile, select API Credentials tab on the Account Details pop-up) it was adding a couple of spaces at the end of the string, which I was then pasting into the VM PayPal Configuration screen. You can't tell because the entry is masked in the VM form. I only noticed the extra spaces because I tried setting up the PayPal configuration a second time, and on a whim tried pasting the API credentials into Notepad. I played around with that PayPal screen, and the spaces are only added if you select the Signature by dragging from the END of the string, not if you drag from the START of the string. Weird! I was using Firefox 35.0.1 to access that screen, perhaps other browsers would not have added the spaces.

When I stripped out the excess spaces, everything instantly worked. This makes me very happy, but I wish there had been a clearer indication SOMEWHERE that there was a problem with the API credentials. So many hours wasted on this problem!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9833
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: checkout select payment method loop
« Reply #10 on: January 31, 2015, 00:13:01 am »
marked as solved
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

alatak

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2045
    • alatak.net
Re: checkout select payment method loop [solved]
« Reply #11 on: January 31, 2015, 11:08:18 am »
Hello
Thank you for reporting this problem.
I have added the trim function everywhere one can do a copy/paste.
Quote
but I wish there had been a clearer indication SOMEWHERE that there was a problem with the API credentials.
It is impossible to check that the credentials are wrong in VM.
Quote
You can't tell because the entry is masked in the VM form.
This is a security issue: fields that should not be shared are of type "password". A lot of users do a screenshot of their configuration and then send it to the payment support.
you have developer tools, that can display the content of that field, but yes, it is true, it will be still difficult to find out that there is a space at the end.

kmeyer

  • Beginner
  • *
  • Posts: 31
Re: checkout select payment method loop [solved]
« Reply #12 on: January 31, 2015, 20:43:48 pm »
"It is impossible to check that the credentials are wrong in VM."

Hi alatak, perhaps instead of checking the credentials, it's worth looking at the flow--instead of simply coming back to the cart after a timeout from the payment system, with the TOS blanked back out and the message "Please accept TOS..." the flow should come back to the cart with the TOS preserved and the message "Timeout..." or some such. Not asking for this change, just suggesting it as something to think about.

Thanks for taking action to trim copy/paste locations!