Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Problem changing methods of payment and shipment

Problem changing methods of payment and shipment 11 years 3 months ago #2190

Good morning, we have realized that in the cart, when placing an order, if you select a shipping method and pay all goes well, however, if you want to change it to any other redirects you to a page without layout that provides customers the chance to return to active or finally change the method of payment or shipping.

I tried changing the parameters of the save button or select_shipment select_payment file, but I can not find the solution, perhaps the fault is in another file.
What may be the problem?

In another of our stores, using the same version of Joomla Virtuemart2 and not have this problem, we have found that anywhere that works added to the url: 'store / cart / checkout', while in the store that gives the fault is as follows: '/ Pendas'


The url is: Persorela


You buy any product, and pop up to show you bag to take you to active, the fact is that if on the same page choose a method, you can change it whenever you want in it, but the moment that advances a step in the purchase, and you'd like to change the selected, will give the faillure I mentioned earlier.

Access to the basket is:
User: buytry
Pass: Empresa1
Last Edit: 11 years 3 months ago by Jose Luis Blasco.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 3 months ago #2196

Hi,

I read your message like 4 times, browsed your website. I added products, selected shipping method, then changed it etc..

I don't see any thing wrong.
Can you please explain me the steps exactly to see the failure you mentioned?

Something like:

1- Go here: persorela.es/prendas/prendas/vestido/vestido-bandeau-algodon-spandex-1-comprar
2- Add the product
3- click the "show cart"
4- select shipping method
5- then change the shipping method to something else
6- Boom!! the error.

Got it? then i will follow your steps and able to see the when the corrupted layout comes out.

Regards.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 3 months ago #2197

1- Go here: persorela.es/prendas/prendas/vestido/vestido-bandeau-algodon-spandex-1-comprar
2- Add the product
3- click the "show cart"
4- select shipping method
5- Select paypal like payment method.
6- Confirm the buy and go to the next page (paypal login) when the paypal plugin show you the first page to log in, click on the link to go back and cancel (at the bottom)
7- Then the website will return to the basket, and if you try to change the payment method, or the shipment method, Boom!! the error. =(


sorry if I have not clearly explained before, the problem is when you return a step in the purchase, such as with paypal.

Thank you
Last Edit: 11 years 3 months ago by Jose Luis Blasco.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 3 months ago #2208

Okay, got it.

I am sure this is due to wrong Cancellation URL. (or not expected URL)
The cancellation URL must be the shopping cart URL something like this:
persorela.es/prendas/carro

But it is this: persorela.es/index.php?option=com_virtuemart&view=pluginresponse&task=pluginUserPaymentCancel&on=267e09&pm=3&Itemid=647

I am really surprised that you have noticed that failure it though. It looks like you are really picky. I am sure this can be changed through paypal payment plugin. Because the cancellation URL also being sent to paypal by the paypal payment plugin, so the paypal generates that link at the bottom to get back to website in case of canceling the transaction.

If you open this PHP file:
ROOt/plugins/vmpayment/paypal/paypal.php

and find this line:
"cancel_return"     => JROUTE::_ (JURI::root () . 'index.php?option=com_virtuemart&view=pluginresponse&task=pluginUserPaymentCancel&on=' . $order['details']['BT']->order_number . '&pm=' . $order['details']['BT']->virtuemart_paymentmethod_id . '&Itemid=' . JRequest::getInt ('Itemid')),

and change it to something like:
"cancel_return"     => JROUTE::_ (JURI::root () . 'index.php?option=com_virtuemart&view=cart&Itemid=' . JRequest::getInt ('Itemid')),

So the cancel_return link will go to the regular shopping cart, and i am sure there won't be any problem then.
BUT!! i haven't tried this before, It might somehow give you some other trouble to modifying this PHP file, because it is not okay to making changes in the CORE files. It is up to you to make this modification or leave it as it is.

This is all i can provide you now.

Regards.
Forum Support.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 3 months ago #2223

I changed this line but the problem still exists; I think this isn´t a problem of the paypal plugin because the problem isn´t only on the return of paypal, if you go back in any step of the purchase and try to change the shipment method or the payment method, you will find the same faillure.

The point is not that i´m picky, the costumer could make a mistake and want to change the method after confirm his order, so we have a problem.


We have already another webpage with the same configuration that this one and it works correctly: www.videos.eternitic.com, you can change your methods of shipment and payment with any kind of problem.

I thought the problem would be in the select_payment.php or select_shipment php files, on the button to change this methods.

Regards, and thank you for your time.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 3 months ago #2230

Hi,

What you mean by going back and changing the method?
If the buyer choose "paypal" or anything else, and then click the "Confirm checkout" button, then that is it. There is going to back.
Because once the "Confirm" button is clicked, the orderNumber has been generated, order has been placed (with "pending"), so the cart will become empty!

Once you go back (by clicking the "back" button from the browser) you are still seeing everything the same, it is because the computer saved the previously visited page in the temp internet files folder. Actually those things (the items in the cart, selected payment and shipping methods etc..) are not exist anymore. They are gone.

Try this: select any payment method and click "confirm" button and then click BACK (from the browser back button) then refresh the page while you are in the shopping cart. You will see the cart become empty. Because once the "confirm" button is clicked, there is no going back and changing things. The order number is generated, the process is completed. This is how Virtuemart is developed .. Actually it is a good thing. Otherwise there will be some unexpecting things, such as: visitor might be able to add/remove items afterwords. It would be unsecured!

Regards.
Forum Support.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 2 months ago #2709

Sorry , I sought the issue when I tried to change the payment method after clicking the checkout , but before confirming the buy ( this is the VM procedure) , but it not only happens in this moment. It hapens everytime you want to change something in the order before the checkout.

Please make a try and select one shipment method or payment and try to change it (if you were a buyer , you might have made a mistake) .
The real thing is that you have no posibilities to change options while you are in the order´s page.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 2 months ago #2724

I can't access your website anymore. The user account you have given before, doesn't work anymore.
Please try the same thing in our DEMO at checkout:

www.flexiblewebdesign.com/virtuemart-2-template-puremart

username: demo
password: demo

See. if the same failure is happening in our DEMO as well.

Regards.
Forum Support
The topic has been locked.

Problem changing methods of payment and shipment 11 years 1 month ago #2844

A few days ago, we found that the error occurs when friendly urls are enabled (Joomla, Global Configuration), so when we disable the friendly URLs the problem is solved, however, we need to have friendly urls enabled.

You developed the template, so you could give me a solution for the problem?

Is posible to enable friendly URLs only in the shopping cart page? Maybe a redirection?

Regards
The topic has been locked.

Problem changing methods of payment and shipment 11 years 1 month ago #2875

Okay, what problem you have found?
Can you give me a link and define the problem so i can browse your website and see the problem in action?
(leave the SEF enabled, so i will understand the problem)

Regards.
Forum Support.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 1 month ago #3152

I made a thread with more problems when SEO settings is enabled, I give you there the access to the website to make the necessary tests.

Here is the new thread: www.flexiblewebdesign.com/index.php?option=com_kunena&view=topic&catid=18&id=726&Itemid=234#3151

The issue we have treated here is on the point five of the new thread.
The topic has been locked.

Problem changing methods of payment and shipment 11 years 1 month ago #3158

Ok - will close and lock this one..

Thanks
The topic has been locked.
Time to create page: 0.135 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo