I added this on the end of another thread, but it seems to be a hot topic, so I have posted it on its own. This is for Quick Cart v 0.3.1 and is the simplest way to get PayPal payment on the shop.
STEP TWO Create a new file >>>templates/default/orders_payment.tpl
That was it, thanks to Stormy for the original code. Hope it helps. Ste
sadman
2006-01-13 12:01
lol
I feel like im bangin my head up a brick wall here
if this is STEP 2 where is STEP 1
Dont you think it would be clever to post both steps (Doh!)
gigidagosta
2006-01-13 12:22
i think there is just an mistake ... the first code is step one and then came step two ...
the code is complete and it works fine
sadman
2006-01-13 12:35
Thanks i'll give it a go for the 10th time lol
dont know if anyone else has picked up on this but when you have checked out the cart empties automatically - can this be fix?
Ste707
2006-01-13 12:51
DUH! Yes my fault – the code is complete it’s just that the first step is STEP ONE!
Ste707
2006-01-13 12:58
I ma not sure why you would want to change the Empty -> Cart on checkout as this is so when the user visits again, the products have been deleted from the shop checkout page.
BTW - Today is the first time I came across this script and it sure Rocks.
sadman
2006-01-13 12:59
hi m8 - yeah i got it working now i must say that example is easier to understand then the others posted
also
dont know if anyone else has picked up on this but when you have checked out the cart empties automatically - can this be fix?
sadman
2006-01-13 13:02
i think that should be up to the user to do
'Empty Cart' option
if the browser is closed they loose all cart items too
needs a cookie set :0)
just an idea
pawe
2006-01-13 17:52
Ste707: You dont have the ability to make for v.1.0 aswell? :)
sadman
2006-01-13 18:15
yeah that would be nice lol
pawe
2006-01-14 00:59
yeah, shouldn't it? :)
Ashen
2006-01-14 08:13
Hey again sadman, the cart empties because the order is saved.
To do this you'd have to do the following:
- Find the function that saves the order and comment out the line that empties the cart. - Then create a new function that empties the cart, which you can access from a link.
Is 1.0 Working for you yet?
pawe
2006-01-14 15:37
When someone have a complete guide on how to get paypal to 1.0 please share it.. :)
sadman
2006-01-14 16:13
i aint got it working on that version
im sticking to the other version as there seems to be more plugind for that version
karma_b
2006-01-17 22:47
Hello. Does anyone know if any other plugins are known to prevent this from working? I added the code as directed but the checkout process is unaffected. I appreciate any thoughts on this. Thank you!
karma_b
2006-01-23 18:05
tax and discount
Chocolinx
2006-02-03 02:50
I can't seem to get this feature to work on my site. I'm using 0.3.0 QC. Everytime the customer checks out it just saves the order insteading of asking to pay through paypal.
I've tried making the shipping cost more than 0$ and it still doesn't work. From what I'm reading in the code, courier price must be greater than 0 no?
Chocolinx
2006-02-03 03:43
Okay I found the source of the problem. Like what karma_b said, taxanddiscount plugin is stopping us from getting the paypal working.
I've disabled my tax plugin and it works now but I need to add the taxes!
Any help on this would be GREAT!
wizzud
2006-02-03 09:30
For taxAndDiscount plugin: In STEP TWO above, instead of looking in actions_client/orders.php, look in actions_client/tax.php and try applying the same changes - MAKE SURE YOU HAVE A BACKUP FIRST! The reason being that taxAndDiscount redirects p=ordersDelivery requests to p=taxDelivery, so it never hits the 'delivery' code in orders.php, but goes to the equivalent code in tax.php.
Chocolinx
2006-02-04 23:42
Okay it seems to have worked but now I run into one more problem.
The paypal shows up now but when you click on paypal button it doesn't add in the tax to the total.
www.silenttweak.com you can try it out and see what I mean.