VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: logicurl on December 28, 2012, 00:32:17 AM

Title: How to setup both Cash on delivery and PayPal
Post by: logicurl on December 28, 2012, 00:32:17 AM
Hi everybody,

I'm trying to setup a shop for my friend,  he accepts both cash on delivery and paypal, I have setup two payment methods, a standard delivery and a free delivery available only to cash on demand customers or customers who pay over 200AED, (Dubai currency) which it automatically qualifies at the checkout as "free delivery" when the product itself is priced 200AED+, the problem I'm having is that the user has to select the Shipment method and payment method manually at the checkout screen due to their being more than one payment and shipping type(otherwise it is automatically selected I assume). As you can probably imagine, the problem with this is that a customer can select paypal payment method and then choose "free delivery" as a shipping method when in fact if you want it delivered you have to pay Postage and packaging, how do I configure it so that when I select Cash on delivery (or COD as it's I've named it) it automatically qualifies the product as free delivery? For paypal payments, there is a standard delivery charge, for COD there is free delivery, how can I make it so that it distinguishes between the two when either one is selected  and the delivery charge is either added or not added?
Title: Re: How to setup both Cash on delivery and PayPal
Post by: jenkinhill on December 28, 2012, 12:37:42 PM
http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: How to setup both Cash on delivery and PayPal
Post by: logicurl on December 30, 2012, 01:58:40 AM
Apologies it's VM 2.0.4
Title: Re: How to setup both Cash on delivery and PayPal
Post by: jenkinhill on December 30, 2012, 16:32:29 PM
OK you are strongly advised to update - we are currently on 2.0.16, but you may be better waiting for 2.0.16a due within a week or so which has some minor issues fixed. As usual test the update on a backup copy of the site, especially as updating from such an early version may require any template overrides to be rewritten.

In later versions it is easier to set things up, but you cannot in any version yet specify a particular delivery plugin to be used for each payment plugin.