to do this you need to register at http://developer.paypal.com/
which is a complete paypal mirror which isnt real and therefore allows you to go through the complete order process
now download the Paypal PHP Development Kit at http://paypal.sourceforge.net/
Config the kit to your webhost and add your paypal sandbox business account (one that can process creditcards)
now you can modfty orders_delivery.tpl
to "Post" the required variables to process.php in the paypal development kit //process.php takes the posted variables from orders_delivery.tpl and sends them to paypal(sandbox/developers version)
My version which is far from fully functional is avaliable here http://s105203764.websitehome.co.uk/paypal.tpl
there is a bit of javascript which simply calculates Tax at 17.5%
Postage in the template is fixed at Ł12 simply for convience
Because the template "posts" to process.php and not to "quick carts" order facility, therefore any orders made dont show up in quick carts administration it may be possible to "post" the information to both quick carts admin section and to paypal using two "
post" forms i havent tried this as it would be possible that a person could finish the order process on your website is sent to paypal to make the payment but decides not to buy. This would mean that quick cart would have logged the order but no payment would
have been made leading to confusion.
a further problem i have had is that you can only have one item in the shopping cart this is beacuse of the way quick cart displays multiple items on the order page using the same product name variable ( $aBasket[sName] ) if i insert this variable into
if there is only one item in the shopping cart then every thing is ok and when the customer presses submit they are sent to paypal where the correct product name is listed
how ever paypal doesnt support multiple items (easily) beacuse there is only one item varible (item_name)
this is ok if i could say list the shopping carts item names in a row but beacuse quick cart uses only one name varible which is changed if there are more than one item
eg $aBasket[sName] = Item number 1
$aBasket[sName] = Item number 2
$aBasket[sName] = Item number 3
_____________________________________________ example 2 <input name="item_name" type="hidden" id="item_name" value="$aBasket[sName]$aBasket[sName]$aBasket[sName]" size="40">
would be displayed as <input name="item_name" type="hidden" id="item_name" value="Item Number 3Item Number 3Item Number 3" size="40">
not as <input name="item_name" type="hidden" id="item_name" value="Item Number 1Item Number 2Item Number 3" size="40"> which would be fine
If any one as any idea what im on about i would appreciate all help
If anyone can think of a solution which allow me to post all item names to paypal then i would grately appreciate it
Edward301 - WOW ... do You know php well? if Yes then please go to download and get some plugins. See how it works and create plugin to paypal.
witaj.net
zzzcoder
2005-02-16 02:07
i would like to look at the code to see if i can help
zzz
m a t t z e r e@y a h o o.c o.u k
-Dj-
2005-02-16 06:49
PayPal has changed the way that customers check out with credit card details. Now the customer does not need to set up a PayPal account to pay!
Its now easier than ever to receive PayPal payments, so who wants to start the plugin !!!!!
hehe
WRStrong
2005-04-21 19:25
As it stands right now, there is really no way to take care of the cart once it's completed. What is needed is a paypal plugin. Anybody have one that works properly?
Bengan
2005-05-21 13:44
The only thing that had stopped me from getting into Paypal is that the customer have to create an account first.. But is that not a requeirement these days, it's even better! Unfortunately I'm not that good on PHP that I can create e plugin.. But I'd love the one who did! :)
bob
2005-05-21 16:31
try this
For those of you who want to include PayPal on the Cart do this:
name="submit" alt="Payable by PayPal it is for free , fast , and certainly !"> </form> <br /><br /> <a href='javascript:windowNew( "?p=windowPrintOrder&iOrder=$iOrder" );'><b>$lang[Order_print]
Hi, Looks like it works, only a small error (at least in qc v3.0). To print the order correct on the screen it must be: <a href='javascript:windowNew( "?p=ordersWindowPrint&iOrder=$iOrder" );'><b>$lang[Order_print]</b></a> <br /><br /><a href='?p='>$lang[Homepage]</a>
In short, only windowPrintOrder must be ordersWindowPrint
Bengan
2005-05-23 00:46
To -Dj- You wrote: "PayPal has changed the way that customers check out with credit card details. Now the customer does not need to set up a PayPal account to pay!" But is that true? When I click my own 'Pay now with paypal' after I ordered my things, I get to a page that says I have to create an account.. Please explain that to me!
Regards.
Cobra
2005-05-23 05:17
I think you need to have a Business Account to get the "No PayPal Required" be careful though, some fees are more with a Business Account too - I believe.
Bryan
PhantomV
2005-07-15 02:20
Whats the latest with the paypal integration? has anyone completed it yet and modified Quick.Cart for Multiple Items? "bob" post beofre worked well but has there been any further advances?
Well, when I do what bob said to do, it just prints out the code on the successful order page, it doesn't actually interpret the code. I'm not sure in which file to paste that code.
Olof
2005-07-26 13:09
Maybe it's time for a plugin to be created... ;-) Anyone that feels up for it?