Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsPayPal Return / Cancel URLsPayPal Return / Cancel URLs
Previous
 
Next
New Post
4/14/2008 11:36 PM
 

I am having the same problem identified here - where the return cancel URLs are wrong.  It appears to work just as Mike has described for me as well, on my test site.

In IE, I watched the headers go past and it appears the return and cancel URLs are correct when passed to the sandbox (my test domain is passed) so it may be an issue with the paypal sandbox...

In addition to making the change mentioned above (adding the AddHTTP... code) I also had to hard-code the direct to the sandbox site in the EventPPEnroll.ascx.vb file as follows (lines 181 - 185):

 

'If CType(Settings("paypalurl"), String) <> "" Then

 

' ppurl = CType(Settings("paypalurl"), String) & "/cgi-bin/webscr?cmd=_xclick&business="

 

'Else

ppurl =

"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business="

 

'End If

 
New Post
4/15/2008 3:20 AM
 

Hi,

When checking the URLs being passed, make sure the Return and Cancel_Return URLs are correct (I've highlighted them back up this thread). I've seen this problem on Mike's site, but haven't been able to replicate. If you can give me host access to your test site, I'm happy to look further. My email address is 'shown' in one of the posts further up the thread. Of course it would be useful to have the unmodified 3.3.8 installed, so I can see the bug in action.

If you are having to hardcode the sandbox URL, then there is something wrong with your site. This should be taken from the PayPal URL (paypalurl in your code above) which is set in the Enrollment settings section of the Event Settings in the Module Settings. I'm not sure why it wouldn't be getting it from there, unless you have set the PayPal URL to blank, following the logic above.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
4/17/2008 11:34 PM
 

Ok, I have the module working with the PayPal sandbox - thanks for the clue to set it in the Module Settings, I was simply using the event edit screen.

I am seeing the same functionality as Mike - the URLs being passed are correct, but the Sandbox seems to encode the URL in some way.  When you click the encoded URL, it returns back to the correct page.

I have not tested this with the Production Paypal site yet.

Thanks again.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsPayPal Return / Cancel URLsPayPal Return / Cancel URLs


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out