Thanks for the kind words on the plugin. Sorry to hear that it didn’t work for you with the Cart Upload function though.
Just out of interest what do you think the fix would require? Maybe this could be placed in as a Feature Request as I would have expected the Simple Commerce Module to be able to handle multiple blocks of information.
Best wishes,
Mark
Thanks for the kind words on the plugin. Sorry to hear that it didn’t work for you with the Cart Upload function though. Just out of interest what do you think the fix would require? Maybe this could be placed in as a Feature Request as I would have expected the Simple Commerce Module to be able to handle multiple blocks of information.
Just to clarify, the cart plugin DOES work with the Paypal cart upload feature - purchases are processed fine. What doesn’t work is getting the ‘completed purchase values’ back into the Simple Commerce Module, so that your purchases show up in the list within the SCM control panel. (Hopefully that makes sense.)
As far as I can see, the reason for this is that the mod.simple_commerce.php file only handles values which are formatted as follows:
$this->post['item_name'] = $query->row['item_name'];
$this->post['item_number'] = $item_id;
$this->post['quantity'] = $qnty;
The values passed UP to the Cart Upload are in a slightly different format:
item_name_ item_number_ quantity_ amount_
Paypal claims (https://www.paypal.com/IntegrationCenter/ic_ipn-pdt-variable-reference.html) that they are passed BACK as:
item_name item_number quantity
There are a number of places within mod.simple_commerce.php where these values are handled, and despite my efforts (appending or removing underscores from the item_name variable), I was unable to fix it.
I think the value passed back in the IPN is in a format that the mod.simple_commerce.php file doesn’t recognise, so the function perform_actions (on line 597 of mod.simple_commerce.php, which seems to handle EE’s processing of transactions) never gets called.
Or possibly there is a class in another file that uses the variable? Like I said though, software engineering is not my thing, so I could be completely wrong!
Hope that helps. M.
Just to clarify, the cart plugin DOES work with the Paypal cart upload feature - purchases are processed fine. What doesn’t work is getting the ‘completed purchase values’ back into the Simple Commerce Module, so that your purchases show up in the list within the SCM control panel. (Hopefully that makes sense.) Hope that helps. M.
Absolutely makes sense 😉
I’m thinking I might put this one in as either a Feature Request myself or possibly a bug report? Would be nice for it to work so that the orders are logged as a lot of people use the Simple Commerce Module for allowing people to pay for a download-able item and then change their group upon the payment being successful and other things like that.
If the module can handle multiple items being sent back from PayPal if you add them one by one in the standard Simple Commerce Module way then I would have thought it could handle them coming back if you add all the items to the PayPal cart in one go. I can’t really see the difference there much.
I think I will go and place a bug report in about this one.
[quote author=”medek”}Mark, is this a commercially available plugin?
Hiya,
Yes this can be purchased. I shan’t discuss prices on the forum here as that isn’t allowed I believe so if you want to either PM me or e-mail me then I can let you know the cost.
Just to let anyone following this thread know exactly what the plugin can do then if you check out this site here you can see what it enables you to do. Please feel free to test out the system adding and deleting items but please don’t send any checkout forms along as this is a live client site.
The only thing that this plugin doesn’t handle is the checkout / payment process. This is literally just a plugin to handle storing the items a user wants to purchase whilst navigating your site. It is then up to the coder / designer to place a form or whatever else they need into the site to handle sending the information across to whatever payment processor they want.
Hope that helps a bit.
Best wishes,
Mark
First of all, sorry Derek and anyone else in this thread that gets the notification to this post.
Hi Matt,
Just wanted to let you know that you definitely can use the Simple Commerce Module, my plugin and PayPal all together in one. I did some pretty extensive testing on it and after a while (PayPal not sending the IPN every time on their Sandbox didn’t help much) got it all working. I did add in a couple more variables into my plugin, the most important one being item_id so that you have this number for passing to PayPal but just to say that it definitely can work.
Was just wondering if you yourself ever got any further to getting this working in the end. If you would like an updated version of the plugin then I can send it along to you if you like and also the template code that I used in the end to get a PayPal form working.
All I have to do now is get it all working with encrypted payments and I’ll be done for a while 😉
Best wishes,
Mark
Hiya,
That’s right you don’t get taken to PayPal. In fact the plugin that I created just allows you to create a shopping cart directly on the ExpressionEngine site so that people can store what they would like to purchase. At the checkout process it is then up to the designer / coder to create a form or integrate the output of the plugin in whichever way they want to send off / process the information.
You could most definitely link this up to PayPal though if you wanted in the exact same way that the PayPal buttons in the Simple Commerce Module work but in this case you would be able to send off all the multiple items at once instead of having to pop up a PayPal window every time you want to add an item to the cart.
Best wishes,
Mark
Hiya,
Well actually it isn’t listed as it’s only available by purchase. On this one it took me quite a while to get it working (still one function I want to add though) and it was for a client site so I wanted to make back a little bit on this one therefore I have put it out for sale.
I won’t discuss prices on the forum here although I don’t think it matters if I mention what I am charging for something I made but will just say if you send me an e-mail then I can discuss it through that medium if you are interested. There has already been 9 or so users who have purchased the plugin and are currently encompassing it in their sites so it definitely has a place 😉
Best wishes,
Mark
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.