Paypal for QC 1.3 loaded???

London mode Almelo

No avatar

2006-08-21 17:50

Claps thanc man, it's easy when somebody helps me :-)))

quiztoon

No avatar

2006-08-23 16:11

Hi all, first timer here. Just getting to grips with QC 1.3, what a great program.

I am a little confused though. I too want to add the paypal payment option to my cart. I have read through all the information above and in the thread noted at the top of this page, but I dont understand how the code makes the customer go to my paypal account to make the payment.

Is there something I am missing?

I ope you can tell me so I too can make my cart go live.

Thanks in advance

Claps

Avatar: Claps

2006-08-23 16:33

quiztoon- the following line from code discussed here makes your customer go to your paypal account:
<input type="hidden" name="business" value="$config[email]">

The variable $config[email] is updated from Admin->Configuration and it should be the mail address you used when you subscribed to paypal.

quiztoon

No avatar

2006-08-23 16:39

great thanks for your quick response.

Just so i understand it the email address in the configuration panel should be the same one i used for paypal? is this correct

quiztoon

No avatar

2006-08-23 16:42

All I have to do now is get it to work, which at the moment doesnt seem to be happening, I also getting the same problem as london, ie no paypal button. I also noticed that the code above is missing a bit from the instructions in http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=1533&page=1

I am now more confused than i was before

Claps

Avatar: Claps

2006-08-23 16:42

yes

quiztoon

No avatar

2006-08-23 16:49

This is what I have at the very top of my templates/messages.tpl file

<!-- BEGIN ORDER_PAYPAL -->
<div id="message">
<div id="ok">
<form target="paypal" name="_$iOrder" action="https://www.paypal.com/cgi-bin/webscr"; method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="$config[email]">
<input type="hidden" name="item_name" value="Order ID $iOrder">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="amount" value="$aList[fSummary]">
<input type="hidden" name="shipping" value="$aData[fCourierPrice]">
<input type="hidden" name="no_note" value="1">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but6.gif"; name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form><br />
$lang[Order_finished]<br />
<a href="javascript:windowNew( '?p=ordersWindowPrint&amp;iOrder=$iOrder' );">&raquo; $lang[Order_print]</a><br />
<a href="?p=">$lang[Homepage]</a>
</div>
</div>
<!-- END ORDER_PAYPAL -->




This is what I have in my actions_client/orders.php file


//--------- Start PayPal Code
$aData = throwOrder( $iOrder );
listBasket( $iOrder);
$aData['fSummary'] = sprintf( '%01.2f', $aData['fCourierPrice'] + $aList['fSummary'] );
if( $aData['fCourierPrice'] > 0 ){
$content .= $tpl->tbHtml( 'messages.tpl', 'ORDER_PAYPAL' );
}
else
//-------- End PayPal Code

quiztoon

No avatar

2006-08-23 16:50

Meant to ask if there is something else i must do to make it work?

Claps

Avatar: Claps

2006-08-23 17:00

quiztoon - no as far as I can tell, it should work.

quiztoon

No avatar

2006-08-23 17:10

does it work with the qc 1.3 loaded download? or only with the normal download


i will try and re-install everything

quiztoon

No avatar

2006-08-23 17:39

Nope no joy and no paypal button - I may have to look at an alternative solution for my cart, which is a shame because this is a nice clean and fresh looking shopping cart

Claps

Avatar: Claps

2006-08-23 18:16

quiztoon - i pasted the code from your post here:
http://opensolution.org/Quick.Cart/loaded/demo/ , only changed paypal site with sandbox, and it works.
I don' t know what to tell you more. Maybe read previous posts in this topic carefully.

quiztoon

No avatar

2006-08-23 18:35

I must be putting it in the wrong place then

quiztoon

No avatar

2006-08-23 18:50

I also noticed that when i click on the next button after filling the delivery details etc the page i go to looks nothing like the one on the demo site

I have turned off the htmlemail plugin and get the same page as your demo but still no paypalbutton

Claps

Avatar: Claps

2006-08-23 18:59

quiztoon - the text <!-- BEGIN ORDER_PAYPAL -->...<!-- END ORDER_PAYPAL --> in templates/messages.tpl file at the very top of file, and Begin PayPal Code ... End PayPal Code in actions_client/orders.php file, between :

saveOrder( $iOrder, $_POST );

// here code

$content .= $tpl->tbHtml( 'messages.tpl', 'ORDER_SAVED' );

~London Mode Almelo

No avatar

2006-08-24 09:24

@ quiztoon

I can mail you my message.tpl !!!

It works on my QuickCart store!!!

Give me your email address and it's coming to you!!!

Greetzzz London Mode Almelo

~London Mode Almelo

No avatar

2006-08-24 12:33

For the dutch store builders, i have made a manual to add Paypal in QuickCart 1.3!!!

It's in the QuickCart.nl forum at:

Greetzzz London Mode Almelo

quiztoon

No avatar

2006-08-24 20:08

Thanks london, its worth a try

email at quiztoon@hotmail.com (not my normal email address but dont really want the spiders using my real one. :)

Thanks

quiztoon

No avatar

2006-08-24 20:09

Yes claps, thats exactly where i have it. I just dont get it, if i had any hair i would be tearing it out by now

~London Mode Almelo

No avatar

2006-08-25 08:21

@ Quiztoon, i sent you the message.tpl

I hope it works out for you!!!

Greetzzz London Mode Almelo

Back to top
about us | contact