Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Widgets

Discuss SilverStripe Widgets.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Donate Widget truncates URL in the payment field


Reply

2 Posts   1045 Views

Avatar
Larry7

31 May 2010 at 11:53am Community Member, 21 Posts

I am trying to use the Donate Widget in the Blog module in SS 2.4. The widget adds okay but when I try to add a URL for a Paypal payment, the module truncates the URL rendering it invalid. I then tried a TinyURL shortcut which isn't truncated but when clicked seems to send an invalid link to Paypal. But strangely that same TinyURL when pasted into a browser directly works fine.

Is there a known design limit on the length of the URL for the payment field and if so, how do people get over this for Paypal payments?

Thanks

Larry

Avatar
Larry7

1 June 2010 at 12:55pm Community Member, 21 Posts

My fault. I didn't realise till I looked at the code in the PHP script that this widget actually constructs the URL for Paypal and all you put in the Paypal field is your Paypal account name. So that seems to work.