Pages:

paypal

treewood (OpenSolution)

Avatar: treewood

2012-09-11 07:00

there is free simple plugin with paypal. plugin name is payment:
http://opensolution.org/download,en,18.html?sDir=Quick.Cart/plugins

and yes more advanced functions to paypal are in Quick.Cart.Ext

nadiesinweb

Avatar: nadiesinweb

2013-07-31 08:53

Hi cachousam.
I am trying your code in QC 4.2 but it doesn't work. Form to paypal is not showed when order is printed. I have tested your QC and it works fine, linking to paypal site.
May be I must change anything more in 4.2 version?
Please help me.
Thanks

free QuickCart 4.2

cachousam

Avatar: cachousam

2013-07-31 11:13

Hello
i m on job in this time.
i try to see your request soon.
Dominique

cachousam

Avatar: cachousam

2013-07-31 11:13

Hello
i m on job in this time.
i try to see your request soon.
Dominique

nadiesinweb

Avatar: nadiesinweb

2013-08-01 14:31

Testing it and I did it. I pasted code in a wrong site of templates/orders_print.tpl
Now it works fine.
Thanks

free QuickCart 4.2

cachousam

Avatar: cachousam

2013-08-01 15:16

I just finish to write the how to for qc4.2
But you dont need it now.
regards

bugur

Avatar: bugur

2013-08-29 19:03

Hi cachousam.
I'm new, help to apply for QC 4.2., Very necessary!

free QuickCart 4.2

cachousam

Avatar: cachousam

2013-09-02 13:33

Hi Bugur

Here is the solution

1 You must upload at the root of the site a logo of PAYPAL with name paypal.png

2 in the file config/general.php, before the line

/*
* Directories
*/

paste

/*
* PayPal
*/
$config['PayPal_email'] = "";


3 in the file lang/en.php or your site language , after the line

$config['charset'] = "utf-8";
?><?php

paste

$lang['PayPal_Email'] = "Email address for paypal";

and change this line
$lang['Order_sent'] = "Order was saved and sent.<br />Thank you.

to


$lang['Order_sent'] = "Order was saved and sent.<br />Thank you.If you choose to pay by paypal, please click on the logo below ";


4 in the file templates/admin/setting.tpl after the line

$lang['Mail_informing']
</th>
<td>
<input type="text" name="orders_email" value="$config[orders_email]" size="40" class="input" />
</td>
</tr>

paste

<tr>
<th>
$lang[PayPal_Email]
</th>
<td>
<input type="text" name="PayPal email" value="$config[PayPal_email]" size="35" />
</td>
</tr>


5 in the file templates/order_print.tpl after the line

<!-- BEGIN ORDER_PRINT -->
<div id="orderPrint">
<div class="message" id="ok">
<h3>$lang[Order_sent]</h3>
</div>


paste

<!-- BEGIN ORDER_PAYPAL -->
<div align="center">
<form target="paypal" name="_$aData[iOrder]" action="https://www.paypal.com/cgi-bin/webscr" &#187;; method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="$config[PayPal_email]">
<input type="hidden" name="item_name" value="Order N $aOrder[iOrder]">
<input type="hidden" name="currency_code" value="$config[currency_symbol]">
<input type="hidden" name="amount" value="$aData[sOrderSummary]">

<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 -->


That's all.

In the admin panel in setting, you must write your paypal address.

You must create a new payment calling PAYPAL and assign to your various carriers .

The customer must after finalizing the order, click on the paypal logo to be drawn from paypal for payment.


Bye

Pages:
Back to top
about us | contact