PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Sandbox return url not correct

  1. I'm trying to set up a (recurring payment) test environment. It is a simple form with 3 fields (name+email).
    I have created a paypal sandbox, created buyer and seller accounts. Logged in as the seller, I have set the IPN to point back to my site.
    In GF I have set it in test mode, set the PP email address to be the seller's.

    I then visit the form, which takes me to PP, where I pay and confirm using the buyer's details. However, PP redirects me back to a different domain. The domain is hosted on the same IP address.

    Can anyone tell me where I need to look to fix this?

    Posted 12 years ago on Thursday October 20, 2011 | Permalink
  2. The IPN setting is with PayPal. Can you post a screenshot of that setting, and also a link to your site?

    Also, the IPN setting at PayPal is sort of a default, in case no IPN URL is sent with the transaction.

    http://www.gravityhelp.com/forums/topic/send-notification-url-vs-configuring-on-paypal#post-35212

    Do you have any other information about this domain, like maybe it was a development site or would have been entered into a configuration somewhere?

    It could also be web server configuration, but that would be a long shot.

    Posted 12 years ago on Thursday October 20, 2011 | Permalink
  3. Hi Chris

    Thanks for the reply.

    There were 2 issues. Firstly, I see the IPN call back url in my log files, but the item is still in Processing. Secondly the final yellow 'back to site' button on PP takes me back to the wrong site.

    You are correct in that a web server configuration was part of the problem. All http requests from PP were on a 'non-www', which I had not catered for (even though they contain full www in any settings I could find).

    The PP GF form I am using is really basic (fname, lname, email). If I can explicitly over-write any settings on the PP end by adding fields in GF that would be great. Is there a list of PP specific fields that can be (and it is a good idea to) set? Like return_url or ipn_url ? Can I force PP to use http://www.mydomain.com instead of domain.com ?

    My orders now move on from 'Processing' to 'Pending'. Is this correct behaviour? How do I get them set as 'Paid'?

    Posted 12 years ago on Friday October 21, 2011 | Permalink
  4. My issues with Pending -> Approved (Paid) were to do with incorrect currency set up in PP sandbox. In GF Entries there is a 'Pending reason' code listed. Not sure how one can access the full text description of that (I grepped the code to find it). My suggestion is that Rocket Genius make this bit of UI a little more prominent and user friendly :)

    The domain part of the PP IPN URL still foxes me. If there is a list of input fields that map well onto PP from GF somewhere, that would be very useful, IMHO.

    Posted 12 years ago on Friday October 21, 2011 | Permalink