No avatar

2004-11-09 02:03

I'll pay good money to anyone to get a Quick Cart Paypal plugin to work!

I have the Paypal developers kit and have been successful in getting some of the data into Paypal, however unable to figure out how to do multiple orders as well as moving the product info into Paypal.

Name your price!


No avatar

2004-12-15 03:59

How much you want to pay for it?


No avatar

2004-12-15 07:17

<-- I will review it.

ADSL = Auto Dis (and) SlowLy


No avatar

2004-12-15 14:09

I am no good at php as I have never used it.
But I have started to look at the paypal problem

This Is my first go at a plugin but I am sure it will not work yet with out more amenedments and work

The aim is to get order_delivery.tpl to send the details to paypal.php plugin.
Then on completion and payment taken by paypal return to cart and save order and do the backend work that order_delivery.tpl does now.

But if the payment is not made send customer to a cancelled page

All contributions advise on this would be accepted

this what I have so far:

Sat call this file paypal.php

and amend order_delivery.tpl

action= p?=p$ to paypal.php

//send order to paypal
<form name= "order" action="" method="post">

//this will return the customer back to cart
<input type="hidden" name="cmd" value="_ext-enter"><br>
<input type="hidden" name="redirect_cmd" value="_xclick"><br>

<input type="hidden" name="return"
value = ""><br>
<input type="hidden" name="cancel_return"
value = ""><br>
// now standard paypal info

//as paypal works on email account collect admin email address or enter paypal email account
<input type="hidden" name="business" value ="Email">
// Rather than collect each item detail collect site name from config
<input type="hidden" name="item_name" value="$config[title]">
// you need to tell paypal the currency used for purchase
<input type="hidden" name="currency_code" value="GBP">
// this line tells paypal not to ask for a shipping address
<input type="hidden" name="no_shipping" value="1">

//get values from previous page say order_delivery.tpl

$total = $HTTP_GET_VARS['fSummary'];
$email = $HTTP_GET_VARS['sMail'];
$firstname = $HTTP_GET_VARS['sFirstName'];
$lastname = $HTTP_GET_VARS['sLastName'];
$address = $HTTP_GET_VARS['sStreet'];
$city = $HTTP_GET_VARS['sCity'];
$pcode = $HTTP_GET_VARS['sZipCode'];

// now complete the form
echo "<input type="hidden" name="amount" value="$total"><br>n";
echo "<input type="hidden" name="email" value="$email"><br>n";
echo "<input type="hidden" name="first_name" value="$firstname"><br>n";
echo "<input type="hidden" name="last_name" value="$lastname"><br>n";
echo "<input type="hidden" name="address1" value = "$address"><br>n";
echo "<input type="hidden" name="city" value="$city"><br>n";
echo "<input type="hidden" name="zip" value="$pcode"><br>n";
<!-- end of form -->
<script type="text/javascript" language="JavaScript">
//submit form




No avatar

2004-12-15 17:33

Useful link at paypal



No avatar

2004-12-15 17:35

or this one



No avatar

2004-12-15 17:40

Above two links do not work as the link is an https://

and the forum adds http:// in the link add



No avatar

2005-01-20 05:57

Azzg would you make a plugin an make it easy for os ho dont know nice stuff like you do :)


No avatar

2005-01-22 21:17

Hey Martin its the same as om your site/shop :
it cost money ;-)

Martin hvis jeg skal sidde og programere et script sĺ koster det lige sĺ vel som dit biludstyr.
Der skal jo penge i kassen



No avatar

2006-01-11 01:53

I tried this solution but on paypal.php page ive got absolutely no values in every hidden input.
What's WRONG ? QC 0.3

Back to top
about us | contact