you must create a new language in the administration panel as 'sp' after you edit sp language and translate it a topîc on this question is already in the forum
thanks. the paypal button is visible also in case when customer choose other way of payment?
Jan
poldark77
2009-02-24 23:21
Can you please write a little tutorial describing how to do it? Which files have I to modify? What is the code you added and where? Thank you
poldark77
2009-03-10 19:01
The ones who managed to add this modification to their sites, can please explain how to do it? I have a site already done, completed in all his parts, so I wouldn't like to rebuild an entire site from zero. I need to modify my site with this plugin but I don't know how to do.. Thanks
For add paypal in QC3.3 or 3.2 you have to make this:
At the root of the site sending a paypal logo "paypal.png"
in file config/general.php write this:
$config['PayPal_email'] = "";
in file lang/fr.php and in file lang/en.php write this:
$lang['Paypal_email'] = "Email pour le paiement paypal"; $lang['PayPal_Email'] = "Email address for paypal";
and I recommend to write this
$lang['Order_sent'] = "La commande a été enregistrée. Si vous avez choisi de payer avec PAYPAL il est impératif de cliquer sur le logo ci-dessous afin d'être transféré sur leur site."; $lang['Order_sent'] = "Order was saved and sent.<br />Thank you.If you choose to pay with PayPal click the logo below ";
<input type="hidden" name="no_note" value="1"> <input type="image" src="paypal.png"; name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> </form> </div> <br></br> <!-- END ORDER_PAYPAL -->
Thats all
You can test this in
http://dftech.free.fr
login admin pass admin
phoebus
2009-11-23 21:43
Bonjour Cachousam, j'ai téléchargé votre version 3.3 pour Guppy.
J'ai voulu adapter le texte de confirmation de commande ainsi que celui pour les réservations de produits. Pour cela, il "suffit" de modifier le fichier fr.php ... sauf que quand j'upload le ficier modifié, j'ai un message d'erreur concernant order_sent ! je ne comprends pas d'où vient l'erreur d'autant que sui je remets l'original, ça refonctionne ... je uis chez Free : http://lescouteauxdubrian.free.fr merci de votre aide
Hi, can someone please explian me the difference between: $config['PayPal_email'] = ""; in config/general.php and $lang['Paypal_email'] = "Email pour le paiement paypal"; in lang/en.php.
When leaving $config['PayPal_email'] empty I will get an error message from paypal called: We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at www.paypal.com.
So, should $config['PayPal_email'] and $lang['Paypal_email'] have the same emailadress from my paypal account ?
@Kuzco: $lang['Paypal_email'] > part of the language file and the line after that is displayed in admin before the field to add your paypal e-mail.
Don't edit $config['PayPal_email'] and $lang['Paypal_email'] Just copy paste them into your code.
@Help1: Which QuickCart version you use? Did you already make lots of adjustments in your code? I have current and previous version with payal. Thanks to the code in this topic.