Is is possible to Integrate Post Affiliate Pro into Form

  • product_london
    Asked on April 3, 2019 at 7:18 AM

    Hi, I'm trying to setup an affiliate program that will offer 20% recurring monthly commissions. I'm talking with Post Affiliate Pro who need to put some code into either the Payment button or thankyou page. They've come back with the following;

    I checked your Jotform setting and I am really unsure if their webhooks support also recurring payments. 

    Could you confirm if it would be possible? The form in question is;

    https://form.jotform.com/71593369205966

  • jonathan
    Replied on April 3, 2019 at 10:26 AM

    From what I understand, the Post Affiliate Pro integration does not require webhook. 

    https://www.postaffiliatepro.com/integration-methods/integration/jotform/

    It requires the form Send Post Data method ON instead.


    You can setup using the form redirect to your thank you page as you need to insert the Post Affiliate Pro snippet into your custom Thank you page.

    The recurring payment option could be a separate process versus the Post Affiliate Pro integration.

    After the form reaches post submission state (payment transaction successful), the recurring process will be handled by the payment processor (i.e. PayPal) and not by Post Affiliate Pro.

    I could be wrong though as the information available are limited.

    What I suggest is to make sure first the Post Affiliate Pro is up and running properly on the form. Then get back to us if there is anything in the form preventing the integration to work.

    We will wait for your updated response.

  • product_london
    Replied on April 4, 2019 at 5:54 AM

    Thanks for this. I think this is what we already know. The question is more about the recurring payment.

    Creating the initial commission from the Thank you page is not a problem. The problem is how to track the recurring payment. I guess my Jotform account is notified when the payment is processed again (recurrence) in PayPal so what we really need to know is how to read that notification and let Post Affiliate Pro know there was a recurrence.

    Normally, there is a callback option so when a specific action occurs (subscription paid) a callback URL is called (Post Affiliate Pro sale URL with params of the order) so Post Affiliate Pro could recur the commission too.

  • jonathan
    Replied on April 4, 2019 at 7:19 AM

    Thank you for providing us more information.

    The problem is how to track the recurring payment. I guess my Jotform account is notified when the payment is processed again (recurrence) in PayPal so what we really need to know is how to read that notification and let Post Affiliate Pro know there was a recurrence.

    Yes this is my understanding of the process as well. As I have mentioned, the problem with the recurrence is that it will no longer be initiated by JotForm -- it will be by PayPal. 

    Technically I do not see how the recurrence will be captured by JotForm again which will be the same with Post Affiliate Pro. Remember Post Affiliate will only be triggered on form post submission state -- via thank you page. 

    Anyway, I will do some test with recurring payment while using Post Affiliate Pro integration so I can also get more information about the process. I will also ask with higher team supports for ideas on how to make this work.

    But can you also setup Post Affiliate integration on your form https://www.jotform.com/71593369205966

    I can use it to get more information.

    I will get back to you with update on this as soon as I can.


  • product_london
    Replied on April 5, 2019 at 8:22 AM

    So, I'm in conversation with PAP and had this reply;

    Ah, so the thing is the PayPal is not connected to your Jotform? I thought there were notifications sent to Jotform about each recurrence. So if not, the question is how we could add a notification URL to the PayPal button in the form.

    The problem in this case that even if you send a data notification from PayPal to PAP, there will be no connection between the payment and the referring affiliate. PAP will know what was sold, how much to pay but won't know who to give that commission to. Normally, a hidden field ('custom') is added to PayPal button and the tracking cookie value is added there, and when the payment is done and a notification sent to PAP, it knows who was the referring affiliate. Is this possible with the current setup? An alternative would be to save the cookie value to notification URL field ('notify_url') as a GET parameter. However, this requires a modification of the PayPal form code again. Would that be possible? Please ask Jotform team.

  • Victoria_K
    Replied on April 5, 2019 at 1:03 PM

    Hello,

    I was trying to understand what is discussed on this thread upon jumping in and it seems to me that you would like to track recurring payments on your form and send some sort of POST messages for every payment reoccurrence. 

    Our PayPal integrations do not track every payment of subscription created by the form. Form only creates a subscription on your PayPal account. We get a notification about successful setup in order to mark a submission as completed and here our part is over. Afterwards, subscription must be managed with PayPal account and there is nothing we can do from our end to control it. 

    There is an option to POST some data from hidden fields to third parties, but only for initial form submission, not for payment reoccurrence in future billing periods. 

    The answer you have shared says that it would be required to modify PayPal form code. Please note that there is no option to do that and our forms do not support custom codes injects (except for CSS code).

  • product_london
    Replied on April 8, 2019 at 7:20 AM

    Hi Victoria,

    This is the reply I received from PAP;

    Do you know what did they mean with this?:
    "There is an option to POST some data from hidden fields to third parties, but only for initial form submission, not for payment reoccurrence in future billing periods."
    If we could use this to setup PayPal's 'custom' field, then the initial payment will be enough as in case of PayPal it is the initial payment that carries all the info.

  • jonathan
    Replied on April 8, 2019 at 8:36 AM

    Yes it is possible to pass custom field data to PayPal using the form.

    1. Add the Textbox field to the form (as it will only work using Textbox field)

    2. The option Fetch Data From a Text Field will become available in the Additional Gateway settings.

    Ex:

    1554726900zzz 2019 04 08 20 Screenshot 10

    I hope this help. Let us know if you need further assistance.

  • product_london
    Replied on April 8, 2019 at 10:40 AM

    Thank you for this. I checked the options of the payment form within my 'Product London Design - Social Media Followers' form and it does not look like the one in the screenshot. So it seems like the form I'm using is not a PayPal form, but something else? The option 'Fetch data from' is not there.

  • Richie JotForm Support
    Replied on April 8, 2019 at 12:03 PM

    I have checked your form and it seems you're using PayPal Pro and this option is unavailable for that integration.

    Is is possible to Integrate Post Affiliate Pro into Form  Image 1 Screenshot 40

    You may try to replace your Payment Integration with PayPal.

    I would suggest you clone your form, here is a guide:https://www.jotform.com/help/27-How-to-Clone-an-Existing-Form-from-Your-Account

    In your cloned form, remove the PayPal Pro Integration

    Is is possible to Integrate Post Affiliate Pro into Form  Image 2 Screenshot 51


    and add PayPal.

    Sample Screen cast:

    Is is possible to Integrate Post Affiliate Pro into Form  Image 3 Screenshot 62

    Hope this information helps.

  • product_london
    Replied on April 9, 2019 at 6:58 AM

    We set this up but it looks like it won't work. This is the reply I got from PAP;

    I was able to set it up the way it sends the custom data to PayPal and it looked promising but then I found out the custom value is enriched with some other values. Furthermore, when I tried to automate the filling of the custom field using a custom code added into a text field, it was removed automatically so this is a final proof that the integration won't work this way.

  • jonathan
    Replied on April 9, 2019 at 8:11 AM

    Thank you for sharing to us these information. Unfortunately it seems we have exhausted all possible means available to make the custom integration to work for what you need.

    An alternative option I can suggest is to discuss it also to our API team. You can send them an email at api@jotform.com . Perhaps the API team will have alternative resolution available that can work for your current requirement.


    Best Regards