1998 Posts in 530 Topics by 433 members
|Go to End|
23 February 2009 at 6:52am
Am using SS 2.3.0 with the latest stable release (0.5.2) of the Ecommerce module, along with the new PayPal plug in created by Nicolaas. Having a number of difficulties, but mainly my products are only appearing as internal item numbers (which are quite random) when the info is sent through to PayPal. This makes it awkward, if not impossible, for the client to work out what they are supposed to dispatch. How can I get the info to send the product name or code?
I noticed in a previous post that 0.5.2 was incompatible with 2.3.0? I tried using the trunk but it didn't seem to work at all, and I need 2.3.0 because of the need to customise Tiny MCE.
Any suggestions appreciated.
10 March 2009 at 12:43pm
I'd like to know this too...
11 March 2009 at 12:54am
I contacted Nicholaas about this and basically the whole PayPal module is still in development and isn't really ready yet. Aside from the problem with it not submitting useful item names to PayPal, the whole reports section is incompatible with 2.3.0. and there are plenty of other bugs that I spent a couple of weeks trying to fix before I gave up. Apparently it's going to be ready soon - maybe the steaks will be raised now that 2.3.0 is a stable release...
What I did in the end was strip out all the fancy stuff and just added PayPal submission buttons to the Product.ss and ProductGroupItem.ss and Cart.ss templates. Instead of using static values in the button code for the submission of the item name and price I inserted SS variables:
<input type="hidden" name="item_name" value="$Title"/>
<input type="hidden" name="amount" value="$Price"/>
I've then removed the checkout and account pages so everything is done on through PayPal site. The only other thing that needs to be set up is the creation of 'successful' and 'cancel' pages that PayPal directs the user to when they exit.
It's rough and ready, but it works, and still allows the content manager to add new items without having to manually insert or edit any PayPal code.
Until we have a functioning PayPal module this is the only way to do it using 2.3.0 as far as I can see.
Hope that helps.
11 March 2009 at 1:20am
Thanks r-jake for getting back to me.
Do I need to change any other eCommerce code or files... or is it just the .ss templates?
Would you be able to provide me with the sample code you used for the Product.ss, ProductGroupItem.ss and/or Cart.ss to make sure that i'm understanding correctly?
Many thanks for your reply.
11 March 2009 at 1:47am
I've attached the templates that I used. As far as I remember (it was a couple of weeks ago now) you don't need to alter anything else, as all the SS payment processing stuff is bypassed and the user is sent straight to PayPal. You just have to create some extra pages for the users to return to.
You can see what I have done in action by going to:
These templates have been set up to use GBP as their currency, and the user is sent to the British PayPal site, so you will probably have to change this. They also just use the default PayPal button graphics, which you may want to change.
11 March 2009 at 2:05am
Great... thanks r_jake. I'll give this a shot tonight. Don't suppose you know how to add other attributes like colour and size? Just checking!
Thanks again. You've been a great help.
|Go to Top|