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.

Embed Url problem with PayPal Addon

  1. Carson
    Member

    I use {embed_url} in my form notification which should, I think, embed the URL of the page where the form is filled out. However, when I started using the PayPal addon the URL it returns is now this:
    http://getridofit.com/?page=gf_paypal_ipn

    Is there something I am doing wrong? Thanks.

    Posted 13 years ago on Friday April 22, 2011 | Permalink
  2. Where are you using the {embed_url} merge code? In which field? Or are you outputting it in the notification message body? That URL is your PayPal IPN URL and is used for PayPal communication so it shouldn't be displayed. Can you provide more details?

    Posted 13 years ago on Friday April 22, 2011 | Permalink
  3. Carson
    Member

    I use the {embed_URL} merge code in my notification message body to tell me where the form was filled out. (I use the same form on a bunch of pages).

    Posted 13 years ago on Friday April 22, 2011 | Permalink
  4. I know what the issue is. Notifications are set to be triggered when payment is received, which means the URL it's receiving is the IPN URL because that is what is triggering the notification to be sent. It makes sense because of how it executes. We will have to take a look and see how to correct this. Right now there is no solution, we'll have to take a look and make changes to the plugin itself.

    Posted 13 years ago on Friday April 22, 2011 | Permalink
  5. Carson
    Member

    Thanks for the update.

    Posted 13 years ago on Friday April 22, 2011 | Permalink
  6. Carson
    Member

    I was able to work around this pretty easily. I added a field to the form, made the default value {embed_url} and made it admin only. Then i use the merge code for that field in my notification.

    Posted 13 years ago on Friday April 22, 2011 | Permalink
  7. Yea, that would be the best work around. We are going to look at it and update it in the next release. It's getting the embed_url dynamically each time when really after the fact it can get it from the entry data.

    Posted 13 years ago on Friday April 22, 2011 | Permalink