Post by jackquake » Sat Aug 21, 2010 12:45 am

Q,

Ok, let me clarify the options issue.

On Paypal Express Checkout (from unbannable.com), the options do not come across during the checkout. Later this evening, I can post what is visible in Paypal, if you wish, but the Options section is blank.

On the Paypal Standard Checkout, I installed the RC4 on the post you indicated above and it worked, including giving the options in Paypal.

Thank you.

New member

Posts

Joined
Wed Oct 14, 2009 8:57 am

Post by Qphoria » Sat Aug 21, 2010 1:12 am

Paypal Standard has fields especially for options
name=ProductName
opt1: Color
optval1: Red
etc

Unfortunately paypal express doesn't support product options
https://cms.paypal.com/us/cgi-bin/?cmd= ... outDetails

Perhaps I can add it to the product name in Express at the end like

Product A - Color:Red, Size:Large

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jackquake » Sat Aug 21, 2010 11:52 am

Q,

That would definitely suffice! Thank you!

New member

Posts

Joined
Wed Oct 14, 2009 8:57 am

Post by kyuss » Sat Jul 04, 2015 3:42 am

@Qphoria: Could you do this for all your Paypal mods... both Express and Advanced?

I'm coming from ZenCart (using an almost 8 year old version of the site with Paypal checkout / express built-in) and I'm used to seeing all the product details on the Paypal payment page... it's a little disappointing that these paid mods still haven't been updated for this basic functionality in 5 years. :/

I'm really not trying to be dick, I understand OpenCart is still up-and-coming and developers are focused on making their money... but this is an important issue... the order data isn't recorded properly at Paypal, which means "it's incomplete proof" when a Paypal rep gets involved with a dispute... it also looks unprofessional on a buyers Paypal receipt. :/

Here's what my decade old ZenCart information looks like on Paypal pages / Paypal email receipts:

---------------------------------------------------------------------
Vintage Boondock Saints T-Shirt Size: X-Large Color: Blue
Item # Boondock Saints Cross T-Shirt
---------------------------------------------------------------------

Here's what my OpenCart Paypal pages / Paypal email receipts look like:

---------------------------------------------------------------------
Ouija Board - Occult Alchemy O
Item # Ouija Alchemy Occu
---------------------------------------------------------------------

The OpenCart sale above was for a "WOMENS - LARGE - BEIGE - Ouija Board T-Shirt"
But you wouldn't be able to tell any of that from the info above, especially that it was a "t-shirt"... never mind the "size", which is what a customer is most likely to dispute about.


You can easily see how this will cause issues while talking to a Paypal rep... it's downright incomplete data that has been truncated... it's not just missing the options, it's missing half the product title as well. :/

Any chance we could get these mods updated soon?

I'm not moving to OCv2 for quite a while (and I've been reading it has the same problems), so these older mods still need the attention... it's an important tweak to professional business owners that recognize a pitfall when they see it)... we all know Paypal is law.

This issue applies to both PaypalExpress and PaypalAdvanced mods... I've been running these mods on a new store from day one, both payment options have been used, and I don't have a single product listed properly in Paypal.

You might look to the ZenCart code for a quick idea on how they did it, rather than having to figure it out from scratch... but I imagine it's not that big of a deal to tweak these things... please update your mods. Thanks.

New member

Posts

Joined
Sat Dec 01, 2012 2:32 am

Post by Qphoria » Tue Jul 07, 2015 12:17 pm

I can only speak for my mods which have always supported options as long as the API supports it.
My Paypal Advanced and my Paypal Express mods have always had complete product names and options as part of the name since inception:
http://screencast.com/t/mJwAXvguI7Qs

My Paypal Hosted mod does not because paypal doesn't support itemization for that.

Paypal Standard in the core (2.0) supports proper options, but you are right.. there is code to substring it down to 20 chars max. This was actually added purposely, though I'm not sure why. Easy enough to replace:

Code: Select all

'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)
to

Code: Select all

'value' => $value

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by kyuss » Thu Jul 09, 2015 6:35 am

@qphoria I have both your Advanced and Express mods... I thought they both worked in the beginning during initial testing... but as I go back in my Paypal history, there isn't a single order that isn't truncated, all the way up to the most recent.

Strangely, the full title (and options) show up on the PAYPAL Cart page, implying the info is getting passed over... but I wonder if it has something to do with people NOT going to that cart page... for example, people who use Express don't need the Paypal Cart, they just wanna login and pay... and the way Paypal is setup, you only see that "full" Paypal Cart if you go create an account, otherwise it's just a straight login with no details except payment info.

Anyway, so confusing... I'm gonna do some deep testing again... thanks for pointing out your Options code, at least I know it SHOULD be working, that takes one question out of the equation... I'll hit ya up again if I discover anything.

Appreciate the response man!

New member

Posts

Joined
Sat Dec 01, 2012 2:32 am

Post by Qphoria » Sat Jul 11, 2015 11:47 am

I actually do truncate to 110 chars.
The max is 127 allowed:
http://screencast.com/t/K6MIn5beXaS

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 30 guests