ptholt Posted July 8, 2008 Share Posted July 8, 2008 Hi folks, i am looking to add paypal to my site (dont use it currently) and i would like the customer to stay on my store to make this payment (so am guessing that ipn is the way to go there) HOWEVER i only wish paypal to be a selectable payment method providing the pricing is under a set amount AND in the product description the year is after 1953. Any ideas how i can achieve the above? Peter. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 8, 2008 Share Posted July 8, 2008 If you want the customer to stay on your site, then you have to use paypal pro, not ipn, and paypal charges for that (above the per item fee) so you may want to check that first. Once you get the module setup, the purchase limiter contribution will do what you want as far as the price is concenerd. It doesn't check the description but code for that could be added. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
ptholt Posted July 8, 2008 Author Share Posted July 8, 2008 It would be problematic. What happens if you have a buyer with three products, all of which come below your max paypal price, but 1 of which should not be paid via paypal? Does the whole order become not payable by paypal? Anyway, if you can, have a think about adjusting your products slightly by adding an extra column to the product db, saying "paypal" - and a tick box to give each product a value, "1" or "0" in the product adding/editing screen. 0 being yes, can be paid by paypal, 1 being no paypal allowed. Then you have a quick way to decide whether to show the paypal module, simply add the total of the paypal column in each order and if it is NOT zero, disable the module. You have raised some interesting points there, i need to have a little think about multiple purchases that may negate this option appearing. the extra db field and turning it on or off via that may indeed be a better option. Though how i link that to the existing paypal contributions im not so sure. Quote Link to comment Share on other sites More sharing options...
satish Posted July 8, 2008 Share Posted July 8, 2008 in paypal module. There is a concept of eable and disable. get cart total and apply condition and disable it. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
ptholt Posted July 8, 2008 Author Share Posted July 8, 2008 ok i have removed the pre 1953 issue by some category restructuring so now the only condition that needs to be met is the sub x price for paypal to be a viable option. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.