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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Widgets /

Discuss SilverStripe Widgets.

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

Donate Widget truncates URL in the payment field


Go to End


2 Posts   1852 Views

Avatar
Larry7

Community Member, 21 Posts

31 May 2010 at 11:53am

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

Community Member, 21 Posts

1 June 2010 at 12:55pm

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.