If this is your first visit, check our documentation. To post, register or login.
Forums / Zen Cart Code Suggestions / [Done]Admin Order Details - Paypal Refund message text box is not limited to 255 char

[Done]Admin Order Details - Paypal Refund message text box is not limited to 255 char

Started by torvista on 29 Nov 2013, 9:37 AM · Views: 71

Results 1 to 2 of 2
29 Nov 2013, 9:37 AM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

[Done]Admin Order Details - Paypal Refund message text box is not limited to 255 char

When doing a refund from the zc admin order details, you can add a message for the client.
This is limited by Paypal to 255 chars.

The text box in the ZC admin does not mention the limit nor limit the text.

Note that apostrophes in the text are escaped. The backslashes are passed to Paypal and add to the character count. This is an example of the text the client receives in the refund email.

We have found the inventory is out on this mounting kit and we don't have any left. It's a one-off adapter that cannot be made up from other kits. So, while we get an order together with the other items we need I've done a refund, as we won't get thes

I suggest this text area should be limited with a visual character counter.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

7 Dec 2015, 5:45 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: [Done]Admin Order Details - Paypal Refund message text box is not limited to 255 char

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.