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.

Paypal redirection issue (in localhost)

  1. Hello,

    There is an situation, I have to work with gravity forms and their paypal add-ons.

    I'm doing the development in my localhost (xampp) server. I'm using paypal sandbox testing for this. But, I couldn't find the return URL is working with the sandbox testing.

    Please find the below URL which I'm getting once after the paypal process is completed.

    http://localhost/wp/zorbitz/?auth=AHOpCe0Ws5GmrnSofkLAakwXsfTraTtMkOQdZI2hoU-GE5tD4wQS9ctMj4QveiiNQ2YqwzRcgYwD6ONTndu0WQA&form_charset=UTF-8

    Exact purpose:-
    -------
    I have to do some process once after the paypal confirmation. So please do needful in supporting in this regards.

    I need the return url for getting the formid and entry id. I have to fetch these information by using any action hooks in paypal confirmation hooks.

    Please do support me in this regards.

    Thanks.

    Posted 11 years ago on Wednesday February 13, 2013 | Permalink
  2. For PayPal to access your localhost from the outside, your PC needs to be accessible (open a port on your router) and direct specific types of traffic (maybe port 80) to your internal machine; and, the IP address of your router needs to have a domain name (you can use a free account somewhere like DynDNS to accomplish this.)

    Your best bet would be to test on a machine that is publicly accessible, but you can configure your internal setup to allow traffic from the outside to reach your machine, including PayPal IPN

    Posted 11 years ago on Wednesday February 13, 2013 | Permalink
  3. Thanks for your quick reply.

    I understood that you are talking about accessing my localhost url from outside (through web).

    But, my question was to do the development in the localhost (xampp) for gravity forms with paypal. Its not about accessing the localhost URL globally.

    Please see through my request and let me know if you still needs any clarity of the request.

    Thanks again.

    Posted 11 years ago on Wednesday February 13, 2013 | Permalink
  4. I am still unclear on your request. I understand you are doing the development on localhost. Beyond that I need more clarification please. Sorry my first response was not helpful.

    Maybe if you share the code you are using where you need this URL we will be able to help more.

    Posted 11 years ago on Thursday February 14, 2013 | Permalink